2016-12-08 08:52:44 -05:00
|
|
|
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
|
Copying //UE4/Dev-Core to //UE4/Main
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2783106 on 2015/11/30 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream2
Introduced GC UObject clusters. GC clusters provide means to create disregard for GC subsets at load time (e.g. Materials with material expressions and their textures).
- Saves about 25ms in reachability analysis (58ms -> 33ms)
- UObject classes/instances can now be marked as cluster root objects with CanBeClusterRoot() function override.
- Cluster creation is automatic. Clusters don't require any manual handling for GC to collect them when nothing is referencing them.
- Moved token stream processing to a new class FFastReferenceFinder to make it more generic and re-usable by other code
- Removed REFERENCE_INFO macro from GC code and replaced it with a local variable (saves about ~1.9ms: 33.2ms -> 31.3ms)
Change 2773094 on 2015/11/19 by Steve.Robb@Dev-Core
Multicast script delegate check for existing bindings replaced with ensure.
Multicast native delegate no longer checks for existing bindings.
Removal of old delegate code.
Some FORCEINLINEing to improve debugging experience of stepping into delegate code.
Change 2782180 on 2015/11/27 by Graeme.Thornton@GThornton_DesktopMaster
Make scoped seconds timer class available outside of stats build. Normal usage macros still remain guarded
Added SCOPE_SECONDS_COUNTER_RECURSION_SAFE which only times during the outmost instance of a recursive function
Added SCOPE_SECONDS_COUNTER_RECURSION_SAFE_BASE and SCOPE_SECONDS_COUNTER_BASE which are defined in all build types, for easy temporary timing in Test/Shipping builds.
Added a boolean parameter to the timer class which can be used to disable it without having to mess around with scoping the calling code
Change 2782635 on 2015/11/30 by Graeme.Thornton@GThornton_DesktopMaster
Added GetTimeStampPair() to the filemanager and platformfile interfaces. Requests timestamps for a pair of files where we assume that both files would always exist at the same wrapper level. Allows us to skip file system queries for localization package lookups where the native file is in a pak but the localized file doesn't exist.
Change 2775153 on 2015/11/20 by Jaroslaw.Surowiec@Stream.1.JarekSurowiec
CrashReportServer moved out of the not for licencees, a few fixes, removed RegisterPII
Change 2775560 on 2015/11/20 by Steve.Robb@Dev-Core
FDelegateBase::GetDelegateInstance deprecated and replaced with FDelegateBase::GetDelegateInstanceProtected.
Change 2781138 on 2015/11/25 by Jaroslaw.Surowiec@Stream.1.JarekSurowiec
Stats - Converted is using a new stats reader, a few more optimizations, should be 10x times faster
Change 2772990 on 2015/11/19 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream2
Fixing potential dead lock when suspending and resuming async loading multiple times
Change 2773023 on 2015/11/19 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream2
Support for references added through AddReferencedObjects in FArchiveReplaceObjectRef
Change 2781055 on 2015/11/25 by Steve.Robb@Dev-Core
Changes to IDelegateInstance reverted to allow licensees an easier time when upgrading their use of the now-deprecated GetDelegateInstance() code path.
New TryGetBoundFunctionName() to aid the debugging of delegate bindings in non-shipping configs.
Change 2773114 on 2015/11/19 by Steve.Robb@Dev-Core
FMath::IsPowerOfTwo is now templated to take any type.
Change 2773643 on 2015/11/19 by Steve.Robb@Dev-Core
GetDelegateInstance() calls replaced - delegate instances never compare equal unless you are comparing two unbound delegates (both null) or comparing a delegate with itself.
Change 2777686 on 2015/11/23 by Steve.Robb@Dev-Core
GitHub #1793 - File write flags argument
Change 2780590 on 2015/11/25 by Steve.Robb@Dev-Core
Fix for FArchiveProxy::operator<< overloads.
Change 2780845 on 2015/11/25 by Jaroslaw.Surowiec@Stream.1.JarekSurowiec
#jira UE-23358 - MDD relies on hard-coded P4 depot paths (fixed source context for streams)
Change 2780962 on 2015/11/25 by Jaroslaw.Surowiec@Stream.1.JarekSurowiec
Stats - Added FStatsWriteStream for basic saving stat messages into a stream, initial support for reading a regular stats file, minor performance optimization, coding standard fixes
#jira UECORE-170 - Improve profiler loading performance (wip)
Change 2781887 on 2015/11/26 by Jaroslaw.Surowiec@Stream.1.JarekSurowiec
Profiler/ProfilerClient - Removed unneeded synchronization points, replaces with task graph SendTo jobs, removed PROFILER_THREADED_LOAD, replaced with new stats loading mechanism, should be around 2x times faster (4x since the optimization pass)
#jira UECORE-170 - Improve profiler loading performance (wip)
Change 2781893 on 2015/11/26 by Steve.Robb@Dev-Core
TCachedOSPageAllocator abstracted from MallocBinned2.
Misc tidy-ups.
Change 2782198 on 2015/11/27 by Jaroslaw.Surowiec@Stream.1.JarekSurowiec
Profiler - Better indication of the loading progress, should no longer freeze without a progress bar
#jira UECORE-170 - Improve profiler loading performance (wip)
Change 2782446 on 2015/11/29 by Steve.Robb@Dev-Core
Warn when calling delegates' Create* functions when they're not assigned to anything.
#codereview robert.manuszewski
Change 2782538 on 2015/11/30 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1
#UE4 Removed DiskCachedAssetDataBuffer as it was not strictly necessary and was triggering a crash when loading the cached registry from disk. This data is now stored directly in DiskCachedAssetDataMap. It was already true that this map does not change outside of SerializeCache but now it is critical since NewCachedAssetDataMap keeps pointers directly to its values.
Asset registry fixes by Bob Tellez. Possible fix for UE-23783.
Change 2782564 on 2015/11/30 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1
FReferenceCollector::AddReferenceObjects performance improvements for TArrays. ARO will no longer call HandleObjectReference multiple times but instead will call HandleObjectReferences just once (currently only implemented for FGCCollector). Reduces the number of virtual function calls while GC'ing.
Change 2782716 on 2015/11/30 by Steve.Robb@Dev-Core
UObject serial number array initialized for debug visualization.
Change 2782933 on 2015/11/30 by Steve.Robb@Dev-Core
Critical sections are no longer copyable.
Change 2783061 on 2015/11/30 by Steve.Robb@Dev-Core
2015-12-03 14:21:29 -05:00
|
|
|
|
2016-12-09 11:36:14 -05:00
|
|
|
#include "../../../ThirdParty/zlib/v1.2.8/include/Win64/VS2013/zlib.h"
|
|
|
|
|
#pragma comment( lib, "../../../ThirdParty/zlib/v1.2.8/lib/Win64/VS2013/zlibstatic.lib" )
|
Copying //UE4/Dev-Core to //UE4/Main
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2783106 on 2015/11/30 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream2
Introduced GC UObject clusters. GC clusters provide means to create disregard for GC subsets at load time (e.g. Materials with material expressions and their textures).
- Saves about 25ms in reachability analysis (58ms -> 33ms)
- UObject classes/instances can now be marked as cluster root objects with CanBeClusterRoot() function override.
- Cluster creation is automatic. Clusters don't require any manual handling for GC to collect them when nothing is referencing them.
- Moved token stream processing to a new class FFastReferenceFinder to make it more generic and re-usable by other code
- Removed REFERENCE_INFO macro from GC code and replaced it with a local variable (saves about ~1.9ms: 33.2ms -> 31.3ms)
Change 2773094 on 2015/11/19 by Steve.Robb@Dev-Core
Multicast script delegate check for existing bindings replaced with ensure.
Multicast native delegate no longer checks for existing bindings.
Removal of old delegate code.
Some FORCEINLINEing to improve debugging experience of stepping into delegate code.
Change 2782180 on 2015/11/27 by Graeme.Thornton@GThornton_DesktopMaster
Make scoped seconds timer class available outside of stats build. Normal usage macros still remain guarded
Added SCOPE_SECONDS_COUNTER_RECURSION_SAFE which only times during the outmost instance of a recursive function
Added SCOPE_SECONDS_COUNTER_RECURSION_SAFE_BASE and SCOPE_SECONDS_COUNTER_BASE which are defined in all build types, for easy temporary timing in Test/Shipping builds.
Added a boolean parameter to the timer class which can be used to disable it without having to mess around with scoping the calling code
Change 2782635 on 2015/11/30 by Graeme.Thornton@GThornton_DesktopMaster
Added GetTimeStampPair() to the filemanager and platformfile interfaces. Requests timestamps for a pair of files where we assume that both files would always exist at the same wrapper level. Allows us to skip file system queries for localization package lookups where the native file is in a pak but the localized file doesn't exist.
Change 2775153 on 2015/11/20 by Jaroslaw.Surowiec@Stream.1.JarekSurowiec
CrashReportServer moved out of the not for licencees, a few fixes, removed RegisterPII
Change 2775560 on 2015/11/20 by Steve.Robb@Dev-Core
FDelegateBase::GetDelegateInstance deprecated and replaced with FDelegateBase::GetDelegateInstanceProtected.
Change 2781138 on 2015/11/25 by Jaroslaw.Surowiec@Stream.1.JarekSurowiec
Stats - Converted is using a new stats reader, a few more optimizations, should be 10x times faster
Change 2772990 on 2015/11/19 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream2
Fixing potential dead lock when suspending and resuming async loading multiple times
Change 2773023 on 2015/11/19 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream2
Support for references added through AddReferencedObjects in FArchiveReplaceObjectRef
Change 2781055 on 2015/11/25 by Steve.Robb@Dev-Core
Changes to IDelegateInstance reverted to allow licensees an easier time when upgrading their use of the now-deprecated GetDelegateInstance() code path.
New TryGetBoundFunctionName() to aid the debugging of delegate bindings in non-shipping configs.
Change 2773114 on 2015/11/19 by Steve.Robb@Dev-Core
FMath::IsPowerOfTwo is now templated to take any type.
Change 2773643 on 2015/11/19 by Steve.Robb@Dev-Core
GetDelegateInstance() calls replaced - delegate instances never compare equal unless you are comparing two unbound delegates (both null) or comparing a delegate with itself.
Change 2777686 on 2015/11/23 by Steve.Robb@Dev-Core
GitHub #1793 - File write flags argument
Change 2780590 on 2015/11/25 by Steve.Robb@Dev-Core
Fix for FArchiveProxy::operator<< overloads.
Change 2780845 on 2015/11/25 by Jaroslaw.Surowiec@Stream.1.JarekSurowiec
#jira UE-23358 - MDD relies on hard-coded P4 depot paths (fixed source context for streams)
Change 2780962 on 2015/11/25 by Jaroslaw.Surowiec@Stream.1.JarekSurowiec
Stats - Added FStatsWriteStream for basic saving stat messages into a stream, initial support for reading a regular stats file, minor performance optimization, coding standard fixes
#jira UECORE-170 - Improve profiler loading performance (wip)
Change 2781887 on 2015/11/26 by Jaroslaw.Surowiec@Stream.1.JarekSurowiec
Profiler/ProfilerClient - Removed unneeded synchronization points, replaces with task graph SendTo jobs, removed PROFILER_THREADED_LOAD, replaced with new stats loading mechanism, should be around 2x times faster (4x since the optimization pass)
#jira UECORE-170 - Improve profiler loading performance (wip)
Change 2781893 on 2015/11/26 by Steve.Robb@Dev-Core
TCachedOSPageAllocator abstracted from MallocBinned2.
Misc tidy-ups.
Change 2782198 on 2015/11/27 by Jaroslaw.Surowiec@Stream.1.JarekSurowiec
Profiler - Better indication of the loading progress, should no longer freeze without a progress bar
#jira UECORE-170 - Improve profiler loading performance (wip)
Change 2782446 on 2015/11/29 by Steve.Robb@Dev-Core
Warn when calling delegates' Create* functions when they're not assigned to anything.
#codereview robert.manuszewski
Change 2782538 on 2015/11/30 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1
#UE4 Removed DiskCachedAssetDataBuffer as it was not strictly necessary and was triggering a crash when loading the cached registry from disk. This data is now stored directly in DiskCachedAssetDataMap. It was already true that this map does not change outside of SerializeCache but now it is critical since NewCachedAssetDataMap keeps pointers directly to its values.
Asset registry fixes by Bob Tellez. Possible fix for UE-23783.
Change 2782564 on 2015/11/30 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1
FReferenceCollector::AddReferenceObjects performance improvements for TArrays. ARO will no longer call HandleObjectReference multiple times but instead will call HandleObjectReferences just once (currently only implemented for FGCCollector). Reduces the number of virtual function calls while GC'ing.
Change 2782716 on 2015/11/30 by Steve.Robb@Dev-Core
UObject serial number array initialized for debug visualization.
Change 2782933 on 2015/11/30 by Steve.Robb@Dev-Core
Critical sections are no longer copyable.
Change 2783061 on 2015/11/30 by Steve.Robb@Dev-Core
2015-12-03 14:21:29 -05:00
|
|
|
|
|
|
|
|
// Taken from GenericPlatform.h
|
|
|
|
|
|
|
|
|
|
// Unsigned base types.
|
|
|
|
|
typedef unsigned char uint8; // 8-bit unsigned.
|
|
|
|
|
typedef unsigned short int uint16; // 16-bit unsigned.
|
|
|
|
|
typedef unsigned int uint32; // 32-bit unsigned.
|
|
|
|
|
typedef unsigned long long uint64; // 64-bit unsigned.
|
|
|
|
|
|
|
|
|
|
// Signed base types.
|
|
|
|
|
typedef signed char int8; // 8-bit signed.
|
|
|
|
|
typedef signed short int int16; // 16-bit signed.
|
|
|
|
|
typedef signed int int32; // 32-bit signed.
|
|
|
|
|
typedef signed long long int64; // 64-bit signed.
|
|
|
|
|
|
|
|
|
|
// Taken from Compression.cpp
|
|
|
|
|
|
|
|
|
|
extern "C"
|
|
|
|
|
{
|
2016-12-09 11:36:14 -05:00
|
|
|
/**
|
|
|
|
|
* Thread-safe abstract decompression routine. Decompresses memory from compressed buffer and writes it to uncompressed
|
|
|
|
|
* buffer. Returns actual uncompressed data size or a negative error code.
|
|
|
|
|
*
|
|
|
|
|
* @param UncompressedBuffer Buffer containing uncompressed data
|
|
|
|
|
* @param UncompressedSize Size of uncompressed data in bytes
|
|
|
|
|
* @param CompressedBuffer Buffer compressed data is going to be read from
|
|
|
|
|
* @param CompressedSize Size of CompressedBuffer data in bytes
|
|
|
|
|
* @return Less than zero values are error codes if the uncompress fails, greater than zero is the uncompressed size in bytes
|
|
|
|
|
*/
|
Copying //UE4/Dev-Core to //UE4/Main
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2783106 on 2015/11/30 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream2
Introduced GC UObject clusters. GC clusters provide means to create disregard for GC subsets at load time (e.g. Materials with material expressions and their textures).
- Saves about 25ms in reachability analysis (58ms -> 33ms)
- UObject classes/instances can now be marked as cluster root objects with CanBeClusterRoot() function override.
- Cluster creation is automatic. Clusters don't require any manual handling for GC to collect them when nothing is referencing them.
- Moved token stream processing to a new class FFastReferenceFinder to make it more generic and re-usable by other code
- Removed REFERENCE_INFO macro from GC code and replaced it with a local variable (saves about ~1.9ms: 33.2ms -> 31.3ms)
Change 2773094 on 2015/11/19 by Steve.Robb@Dev-Core
Multicast script delegate check for existing bindings replaced with ensure.
Multicast native delegate no longer checks for existing bindings.
Removal of old delegate code.
Some FORCEINLINEing to improve debugging experience of stepping into delegate code.
Change 2782180 on 2015/11/27 by Graeme.Thornton@GThornton_DesktopMaster
Make scoped seconds timer class available outside of stats build. Normal usage macros still remain guarded
Added SCOPE_SECONDS_COUNTER_RECURSION_SAFE which only times during the outmost instance of a recursive function
Added SCOPE_SECONDS_COUNTER_RECURSION_SAFE_BASE and SCOPE_SECONDS_COUNTER_BASE which are defined in all build types, for easy temporary timing in Test/Shipping builds.
Added a boolean parameter to the timer class which can be used to disable it without having to mess around with scoping the calling code
Change 2782635 on 2015/11/30 by Graeme.Thornton@GThornton_DesktopMaster
Added GetTimeStampPair() to the filemanager and platformfile interfaces. Requests timestamps for a pair of files where we assume that both files would always exist at the same wrapper level. Allows us to skip file system queries for localization package lookups where the native file is in a pak but the localized file doesn't exist.
Change 2775153 on 2015/11/20 by Jaroslaw.Surowiec@Stream.1.JarekSurowiec
CrashReportServer moved out of the not for licencees, a few fixes, removed RegisterPII
Change 2775560 on 2015/11/20 by Steve.Robb@Dev-Core
FDelegateBase::GetDelegateInstance deprecated and replaced with FDelegateBase::GetDelegateInstanceProtected.
Change 2781138 on 2015/11/25 by Jaroslaw.Surowiec@Stream.1.JarekSurowiec
Stats - Converted is using a new stats reader, a few more optimizations, should be 10x times faster
Change 2772990 on 2015/11/19 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream2
Fixing potential dead lock when suspending and resuming async loading multiple times
Change 2773023 on 2015/11/19 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream2
Support for references added through AddReferencedObjects in FArchiveReplaceObjectRef
Change 2781055 on 2015/11/25 by Steve.Robb@Dev-Core
Changes to IDelegateInstance reverted to allow licensees an easier time when upgrading their use of the now-deprecated GetDelegateInstance() code path.
New TryGetBoundFunctionName() to aid the debugging of delegate bindings in non-shipping configs.
Change 2773114 on 2015/11/19 by Steve.Robb@Dev-Core
FMath::IsPowerOfTwo is now templated to take any type.
Change 2773643 on 2015/11/19 by Steve.Robb@Dev-Core
GetDelegateInstance() calls replaced - delegate instances never compare equal unless you are comparing two unbound delegates (both null) or comparing a delegate with itself.
Change 2777686 on 2015/11/23 by Steve.Robb@Dev-Core
GitHub #1793 - File write flags argument
Change 2780590 on 2015/11/25 by Steve.Robb@Dev-Core
Fix for FArchiveProxy::operator<< overloads.
Change 2780845 on 2015/11/25 by Jaroslaw.Surowiec@Stream.1.JarekSurowiec
#jira UE-23358 - MDD relies on hard-coded P4 depot paths (fixed source context for streams)
Change 2780962 on 2015/11/25 by Jaroslaw.Surowiec@Stream.1.JarekSurowiec
Stats - Added FStatsWriteStream for basic saving stat messages into a stream, initial support for reading a regular stats file, minor performance optimization, coding standard fixes
#jira UECORE-170 - Improve profiler loading performance (wip)
Change 2781887 on 2015/11/26 by Jaroslaw.Surowiec@Stream.1.JarekSurowiec
Profiler/ProfilerClient - Removed unneeded synchronization points, replaces with task graph SendTo jobs, removed PROFILER_THREADED_LOAD, replaced with new stats loading mechanism, should be around 2x times faster (4x since the optimization pass)
#jira UECORE-170 - Improve profiler loading performance (wip)
Change 2781893 on 2015/11/26 by Steve.Robb@Dev-Core
TCachedOSPageAllocator abstracted from MallocBinned2.
Misc tidy-ups.
Change 2782198 on 2015/11/27 by Jaroslaw.Surowiec@Stream.1.JarekSurowiec
Profiler - Better indication of the loading progress, should no longer freeze without a progress bar
#jira UECORE-170 - Improve profiler loading performance (wip)
Change 2782446 on 2015/11/29 by Steve.Robb@Dev-Core
Warn when calling delegates' Create* functions when they're not assigned to anything.
#codereview robert.manuszewski
Change 2782538 on 2015/11/30 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1
#UE4 Removed DiskCachedAssetDataBuffer as it was not strictly necessary and was triggering a crash when loading the cached registry from disk. This data is now stored directly in DiskCachedAssetDataMap. It was already true that this map does not change outside of SerializeCache but now it is critical since NewCachedAssetDataMap keeps pointers directly to its values.
Asset registry fixes by Bob Tellez. Possible fix for UE-23783.
Change 2782564 on 2015/11/30 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1
FReferenceCollector::AddReferenceObjects performance improvements for TArrays. ARO will no longer call HandleObjectReference multiple times but instead will call HandleObjectReferences just once (currently only implemented for FGCCollector). Reduces the number of virtual function calls while GC'ing.
Change 2782716 on 2015/11/30 by Steve.Robb@Dev-Core
UObject serial number array initialized for debug visualization.
Change 2782933 on 2015/11/30 by Steve.Robb@Dev-Core
Critical sections are no longer copyable.
Change 2783061 on 2015/11/30 by Steve.Robb@Dev-Core
2015-12-03 14:21:29 -05:00
|
|
|
__declspec(dllexport)
|
2016-04-28 13:50:05 -04:00
|
|
|
int32 __cdecl UE4UncompressMemoryZLIB(void* UncompressedBuffer, int32 UncompressedSize, const void* CompressedBuffer, int32 CompressedSize)
|
Copying //UE4/Dev-Core to //UE4/Main
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2783106 on 2015/11/30 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream2
Introduced GC UObject clusters. GC clusters provide means to create disregard for GC subsets at load time (e.g. Materials with material expressions and their textures).
- Saves about 25ms in reachability analysis (58ms -> 33ms)
- UObject classes/instances can now be marked as cluster root objects with CanBeClusterRoot() function override.
- Cluster creation is automatic. Clusters don't require any manual handling for GC to collect them when nothing is referencing them.
- Moved token stream processing to a new class FFastReferenceFinder to make it more generic and re-usable by other code
- Removed REFERENCE_INFO macro from GC code and replaced it with a local variable (saves about ~1.9ms: 33.2ms -> 31.3ms)
Change 2773094 on 2015/11/19 by Steve.Robb@Dev-Core
Multicast script delegate check for existing bindings replaced with ensure.
Multicast native delegate no longer checks for existing bindings.
Removal of old delegate code.
Some FORCEINLINEing to improve debugging experience of stepping into delegate code.
Change 2782180 on 2015/11/27 by Graeme.Thornton@GThornton_DesktopMaster
Make scoped seconds timer class available outside of stats build. Normal usage macros still remain guarded
Added SCOPE_SECONDS_COUNTER_RECURSION_SAFE which only times during the outmost instance of a recursive function
Added SCOPE_SECONDS_COUNTER_RECURSION_SAFE_BASE and SCOPE_SECONDS_COUNTER_BASE which are defined in all build types, for easy temporary timing in Test/Shipping builds.
Added a boolean parameter to the timer class which can be used to disable it without having to mess around with scoping the calling code
Change 2782635 on 2015/11/30 by Graeme.Thornton@GThornton_DesktopMaster
Added GetTimeStampPair() to the filemanager and platformfile interfaces. Requests timestamps for a pair of files where we assume that both files would always exist at the same wrapper level. Allows us to skip file system queries for localization package lookups where the native file is in a pak but the localized file doesn't exist.
Change 2775153 on 2015/11/20 by Jaroslaw.Surowiec@Stream.1.JarekSurowiec
CrashReportServer moved out of the not for licencees, a few fixes, removed RegisterPII
Change 2775560 on 2015/11/20 by Steve.Robb@Dev-Core
FDelegateBase::GetDelegateInstance deprecated and replaced with FDelegateBase::GetDelegateInstanceProtected.
Change 2781138 on 2015/11/25 by Jaroslaw.Surowiec@Stream.1.JarekSurowiec
Stats - Converted is using a new stats reader, a few more optimizations, should be 10x times faster
Change 2772990 on 2015/11/19 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream2
Fixing potential dead lock when suspending and resuming async loading multiple times
Change 2773023 on 2015/11/19 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream2
Support for references added through AddReferencedObjects in FArchiveReplaceObjectRef
Change 2781055 on 2015/11/25 by Steve.Robb@Dev-Core
Changes to IDelegateInstance reverted to allow licensees an easier time when upgrading their use of the now-deprecated GetDelegateInstance() code path.
New TryGetBoundFunctionName() to aid the debugging of delegate bindings in non-shipping configs.
Change 2773114 on 2015/11/19 by Steve.Robb@Dev-Core
FMath::IsPowerOfTwo is now templated to take any type.
Change 2773643 on 2015/11/19 by Steve.Robb@Dev-Core
GetDelegateInstance() calls replaced - delegate instances never compare equal unless you are comparing two unbound delegates (both null) or comparing a delegate with itself.
Change 2777686 on 2015/11/23 by Steve.Robb@Dev-Core
GitHub #1793 - File write flags argument
Change 2780590 on 2015/11/25 by Steve.Robb@Dev-Core
Fix for FArchiveProxy::operator<< overloads.
Change 2780845 on 2015/11/25 by Jaroslaw.Surowiec@Stream.1.JarekSurowiec
#jira UE-23358 - MDD relies on hard-coded P4 depot paths (fixed source context for streams)
Change 2780962 on 2015/11/25 by Jaroslaw.Surowiec@Stream.1.JarekSurowiec
Stats - Added FStatsWriteStream for basic saving stat messages into a stream, initial support for reading a regular stats file, minor performance optimization, coding standard fixes
#jira UECORE-170 - Improve profiler loading performance (wip)
Change 2781887 on 2015/11/26 by Jaroslaw.Surowiec@Stream.1.JarekSurowiec
Profiler/ProfilerClient - Removed unneeded synchronization points, replaces with task graph SendTo jobs, removed PROFILER_THREADED_LOAD, replaced with new stats loading mechanism, should be around 2x times faster (4x since the optimization pass)
#jira UECORE-170 - Improve profiler loading performance (wip)
Change 2781893 on 2015/11/26 by Steve.Robb@Dev-Core
TCachedOSPageAllocator abstracted from MallocBinned2.
Misc tidy-ups.
Change 2782198 on 2015/11/27 by Jaroslaw.Surowiec@Stream.1.JarekSurowiec
Profiler - Better indication of the loading progress, should no longer freeze without a progress bar
#jira UECORE-170 - Improve profiler loading performance (wip)
Change 2782446 on 2015/11/29 by Steve.Robb@Dev-Core
Warn when calling delegates' Create* functions when they're not assigned to anything.
#codereview robert.manuszewski
Change 2782538 on 2015/11/30 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1
#UE4 Removed DiskCachedAssetDataBuffer as it was not strictly necessary and was triggering a crash when loading the cached registry from disk. This data is now stored directly in DiskCachedAssetDataMap. It was already true that this map does not change outside of SerializeCache but now it is critical since NewCachedAssetDataMap keeps pointers directly to its values.
Asset registry fixes by Bob Tellez. Possible fix for UE-23783.
Change 2782564 on 2015/11/30 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1
FReferenceCollector::AddReferenceObjects performance improvements for TArrays. ARO will no longer call HandleObjectReference multiple times but instead will call HandleObjectReferences just once (currently only implemented for FGCCollector). Reduces the number of virtual function calls while GC'ing.
Change 2782716 on 2015/11/30 by Steve.Robb@Dev-Core
UObject serial number array initialized for debug visualization.
Change 2782933 on 2015/11/30 by Steve.Robb@Dev-Core
Critical sections are no longer copyable.
Change 2783061 on 2015/11/30 by Steve.Robb@Dev-Core
2015-12-03 14:21:29 -05:00
|
|
|
{
|
|
|
|
|
// Zlib wants to use unsigned long.
|
|
|
|
|
unsigned long ZCompressedSize = CompressedSize;
|
|
|
|
|
unsigned long ZUncompressedSize = UncompressedSize;
|
|
|
|
|
|
|
|
|
|
// Uncompress data.
|
2016-04-28 13:50:05 -04:00
|
|
|
int32 Result = uncompress((uint8*)UncompressedBuffer, &ZUncompressedSize, (const uint8*)CompressedBuffer, ZCompressedSize);
|
Copying //UE4/Dev-Core to //UE4/Main
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2783106 on 2015/11/30 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream2
Introduced GC UObject clusters. GC clusters provide means to create disregard for GC subsets at load time (e.g. Materials with material expressions and their textures).
- Saves about 25ms in reachability analysis (58ms -> 33ms)
- UObject classes/instances can now be marked as cluster root objects with CanBeClusterRoot() function override.
- Cluster creation is automatic. Clusters don't require any manual handling for GC to collect them when nothing is referencing them.
- Moved token stream processing to a new class FFastReferenceFinder to make it more generic and re-usable by other code
- Removed REFERENCE_INFO macro from GC code and replaced it with a local variable (saves about ~1.9ms: 33.2ms -> 31.3ms)
Change 2773094 on 2015/11/19 by Steve.Robb@Dev-Core
Multicast script delegate check for existing bindings replaced with ensure.
Multicast native delegate no longer checks for existing bindings.
Removal of old delegate code.
Some FORCEINLINEing to improve debugging experience of stepping into delegate code.
Change 2782180 on 2015/11/27 by Graeme.Thornton@GThornton_DesktopMaster
Make scoped seconds timer class available outside of stats build. Normal usage macros still remain guarded
Added SCOPE_SECONDS_COUNTER_RECURSION_SAFE which only times during the outmost instance of a recursive function
Added SCOPE_SECONDS_COUNTER_RECURSION_SAFE_BASE and SCOPE_SECONDS_COUNTER_BASE which are defined in all build types, for easy temporary timing in Test/Shipping builds.
Added a boolean parameter to the timer class which can be used to disable it without having to mess around with scoping the calling code
Change 2782635 on 2015/11/30 by Graeme.Thornton@GThornton_DesktopMaster
Added GetTimeStampPair() to the filemanager and platformfile interfaces. Requests timestamps for a pair of files where we assume that both files would always exist at the same wrapper level. Allows us to skip file system queries for localization package lookups where the native file is in a pak but the localized file doesn't exist.
Change 2775153 on 2015/11/20 by Jaroslaw.Surowiec@Stream.1.JarekSurowiec
CrashReportServer moved out of the not for licencees, a few fixes, removed RegisterPII
Change 2775560 on 2015/11/20 by Steve.Robb@Dev-Core
FDelegateBase::GetDelegateInstance deprecated and replaced with FDelegateBase::GetDelegateInstanceProtected.
Change 2781138 on 2015/11/25 by Jaroslaw.Surowiec@Stream.1.JarekSurowiec
Stats - Converted is using a new stats reader, a few more optimizations, should be 10x times faster
Change 2772990 on 2015/11/19 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream2
Fixing potential dead lock when suspending and resuming async loading multiple times
Change 2773023 on 2015/11/19 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream2
Support for references added through AddReferencedObjects in FArchiveReplaceObjectRef
Change 2781055 on 2015/11/25 by Steve.Robb@Dev-Core
Changes to IDelegateInstance reverted to allow licensees an easier time when upgrading their use of the now-deprecated GetDelegateInstance() code path.
New TryGetBoundFunctionName() to aid the debugging of delegate bindings in non-shipping configs.
Change 2773114 on 2015/11/19 by Steve.Robb@Dev-Core
FMath::IsPowerOfTwo is now templated to take any type.
Change 2773643 on 2015/11/19 by Steve.Robb@Dev-Core
GetDelegateInstance() calls replaced - delegate instances never compare equal unless you are comparing two unbound delegates (both null) or comparing a delegate with itself.
Change 2777686 on 2015/11/23 by Steve.Robb@Dev-Core
GitHub #1793 - File write flags argument
Change 2780590 on 2015/11/25 by Steve.Robb@Dev-Core
Fix for FArchiveProxy::operator<< overloads.
Change 2780845 on 2015/11/25 by Jaroslaw.Surowiec@Stream.1.JarekSurowiec
#jira UE-23358 - MDD relies on hard-coded P4 depot paths (fixed source context for streams)
Change 2780962 on 2015/11/25 by Jaroslaw.Surowiec@Stream.1.JarekSurowiec
Stats - Added FStatsWriteStream for basic saving stat messages into a stream, initial support for reading a regular stats file, minor performance optimization, coding standard fixes
#jira UECORE-170 - Improve profiler loading performance (wip)
Change 2781887 on 2015/11/26 by Jaroslaw.Surowiec@Stream.1.JarekSurowiec
Profiler/ProfilerClient - Removed unneeded synchronization points, replaces with task graph SendTo jobs, removed PROFILER_THREADED_LOAD, replaced with new stats loading mechanism, should be around 2x times faster (4x since the optimization pass)
#jira UECORE-170 - Improve profiler loading performance (wip)
Change 2781893 on 2015/11/26 by Steve.Robb@Dev-Core
TCachedOSPageAllocator abstracted from MallocBinned2.
Misc tidy-ups.
Change 2782198 on 2015/11/27 by Jaroslaw.Surowiec@Stream.1.JarekSurowiec
Profiler - Better indication of the loading progress, should no longer freeze without a progress bar
#jira UECORE-170 - Improve profiler loading performance (wip)
Change 2782446 on 2015/11/29 by Steve.Robb@Dev-Core
Warn when calling delegates' Create* functions when they're not assigned to anything.
#codereview robert.manuszewski
Change 2782538 on 2015/11/30 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1
#UE4 Removed DiskCachedAssetDataBuffer as it was not strictly necessary and was triggering a crash when loading the cached registry from disk. This data is now stored directly in DiskCachedAssetDataMap. It was already true that this map does not change outside of SerializeCache but now it is critical since NewCachedAssetDataMap keeps pointers directly to its values.
Asset registry fixes by Bob Tellez. Possible fix for UE-23783.
Change 2782564 on 2015/11/30 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1
FReferenceCollector::AddReferenceObjects performance improvements for TArrays. ARO will no longer call HandleObjectReference multiple times but instead will call HandleObjectReferences just once (currently only implemented for FGCCollector). Reduces the number of virtual function calls while GC'ing.
Change 2782716 on 2015/11/30 by Steve.Robb@Dev-Core
UObject serial number array initialized for debug visualization.
Change 2782933 on 2015/11/30 by Steve.Robb@Dev-Core
Critical sections are no longer copyable.
Change 2783061 on 2015/11/30 by Steve.Robb@Dev-Core
2015-12-03 14:21:29 -05:00
|
|
|
|
2016-04-28 13:50:05 -04:00
|
|
|
return (Result == Z_OK) ? (int32)ZUncompressedSize : Result;
|
Copying //UE4/Dev-Core to //UE4/Main
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2783106 on 2015/11/30 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream2
Introduced GC UObject clusters. GC clusters provide means to create disregard for GC subsets at load time (e.g. Materials with material expressions and their textures).
- Saves about 25ms in reachability analysis (58ms -> 33ms)
- UObject classes/instances can now be marked as cluster root objects with CanBeClusterRoot() function override.
- Cluster creation is automatic. Clusters don't require any manual handling for GC to collect them when nothing is referencing them.
- Moved token stream processing to a new class FFastReferenceFinder to make it more generic and re-usable by other code
- Removed REFERENCE_INFO macro from GC code and replaced it with a local variable (saves about ~1.9ms: 33.2ms -> 31.3ms)
Change 2773094 on 2015/11/19 by Steve.Robb@Dev-Core
Multicast script delegate check for existing bindings replaced with ensure.
Multicast native delegate no longer checks for existing bindings.
Removal of old delegate code.
Some FORCEINLINEing to improve debugging experience of stepping into delegate code.
Change 2782180 on 2015/11/27 by Graeme.Thornton@GThornton_DesktopMaster
Make scoped seconds timer class available outside of stats build. Normal usage macros still remain guarded
Added SCOPE_SECONDS_COUNTER_RECURSION_SAFE which only times during the outmost instance of a recursive function
Added SCOPE_SECONDS_COUNTER_RECURSION_SAFE_BASE and SCOPE_SECONDS_COUNTER_BASE which are defined in all build types, for easy temporary timing in Test/Shipping builds.
Added a boolean parameter to the timer class which can be used to disable it without having to mess around with scoping the calling code
Change 2782635 on 2015/11/30 by Graeme.Thornton@GThornton_DesktopMaster
Added GetTimeStampPair() to the filemanager and platformfile interfaces. Requests timestamps for a pair of files where we assume that both files would always exist at the same wrapper level. Allows us to skip file system queries for localization package lookups where the native file is in a pak but the localized file doesn't exist.
Change 2775153 on 2015/11/20 by Jaroslaw.Surowiec@Stream.1.JarekSurowiec
CrashReportServer moved out of the not for licencees, a few fixes, removed RegisterPII
Change 2775560 on 2015/11/20 by Steve.Robb@Dev-Core
FDelegateBase::GetDelegateInstance deprecated and replaced with FDelegateBase::GetDelegateInstanceProtected.
Change 2781138 on 2015/11/25 by Jaroslaw.Surowiec@Stream.1.JarekSurowiec
Stats - Converted is using a new stats reader, a few more optimizations, should be 10x times faster
Change 2772990 on 2015/11/19 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream2
Fixing potential dead lock when suspending and resuming async loading multiple times
Change 2773023 on 2015/11/19 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream2
Support for references added through AddReferencedObjects in FArchiveReplaceObjectRef
Change 2781055 on 2015/11/25 by Steve.Robb@Dev-Core
Changes to IDelegateInstance reverted to allow licensees an easier time when upgrading their use of the now-deprecated GetDelegateInstance() code path.
New TryGetBoundFunctionName() to aid the debugging of delegate bindings in non-shipping configs.
Change 2773114 on 2015/11/19 by Steve.Robb@Dev-Core
FMath::IsPowerOfTwo is now templated to take any type.
Change 2773643 on 2015/11/19 by Steve.Robb@Dev-Core
GetDelegateInstance() calls replaced - delegate instances never compare equal unless you are comparing two unbound delegates (both null) or comparing a delegate with itself.
Change 2777686 on 2015/11/23 by Steve.Robb@Dev-Core
GitHub #1793 - File write flags argument
Change 2780590 on 2015/11/25 by Steve.Robb@Dev-Core
Fix for FArchiveProxy::operator<< overloads.
Change 2780845 on 2015/11/25 by Jaroslaw.Surowiec@Stream.1.JarekSurowiec
#jira UE-23358 - MDD relies on hard-coded P4 depot paths (fixed source context for streams)
Change 2780962 on 2015/11/25 by Jaroslaw.Surowiec@Stream.1.JarekSurowiec
Stats - Added FStatsWriteStream for basic saving stat messages into a stream, initial support for reading a regular stats file, minor performance optimization, coding standard fixes
#jira UECORE-170 - Improve profiler loading performance (wip)
Change 2781887 on 2015/11/26 by Jaroslaw.Surowiec@Stream.1.JarekSurowiec
Profiler/ProfilerClient - Removed unneeded synchronization points, replaces with task graph SendTo jobs, removed PROFILER_THREADED_LOAD, replaced with new stats loading mechanism, should be around 2x times faster (4x since the optimization pass)
#jira UECORE-170 - Improve profiler loading performance (wip)
Change 2781893 on 2015/11/26 by Steve.Robb@Dev-Core
TCachedOSPageAllocator abstracted from MallocBinned2.
Misc tidy-ups.
Change 2782198 on 2015/11/27 by Jaroslaw.Surowiec@Stream.1.JarekSurowiec
Profiler - Better indication of the loading progress, should no longer freeze without a progress bar
#jira UECORE-170 - Improve profiler loading performance (wip)
Change 2782446 on 2015/11/29 by Steve.Robb@Dev-Core
Warn when calling delegates' Create* functions when they're not assigned to anything.
#codereview robert.manuszewski
Change 2782538 on 2015/11/30 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1
#UE4 Removed DiskCachedAssetDataBuffer as it was not strictly necessary and was triggering a crash when loading the cached registry from disk. This data is now stored directly in DiskCachedAssetDataMap. It was already true that this map does not change outside of SerializeCache but now it is critical since NewCachedAssetDataMap keeps pointers directly to its values.
Asset registry fixes by Bob Tellez. Possible fix for UE-23783.
Change 2782564 on 2015/11/30 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1
FReferenceCollector::AddReferenceObjects performance improvements for TArrays. ARO will no longer call HandleObjectReference multiple times but instead will call HandleObjectReferences just once (currently only implemented for FGCCollector). Reduces the number of virtual function calls while GC'ing.
Change 2782716 on 2015/11/30 by Steve.Robb@Dev-Core
UObject serial number array initialized for debug visualization.
Change 2782933 on 2015/11/30 by Steve.Robb@Dev-Core
Critical sections are no longer copyable.
Change 2783061 on 2015/11/30 by Steve.Robb@Dev-Core
2015-12-03 14:21:29 -05:00
|
|
|
}
|
|
|
|
|
|
2016-12-09 11:36:14 -05:00
|
|
|
/**
|
|
|
|
|
* Thread-safe abstract compression routine. Compresses memory from uncompressed buffer and writes it to compressed
|
|
|
|
|
* buffer. Returns actual compressed data size or a negative error code.
|
|
|
|
|
*
|
|
|
|
|
* @param CompressedBuffer Buffer compressed data
|
|
|
|
|
* @param CompressedSize Size of CompressedBuffer data in bytes
|
|
|
|
|
* @param UncompressedBuffer Buffer containing uncompressed data is going to be read from
|
|
|
|
|
* @param UncompressedSize Size of uncompressed data in bytes
|
|
|
|
|
* @return Less than zero values are error codes if the compress fails, greater than zero is the compressed size in bytes
|
|
|
|
|
*/
|
|
|
|
|
__declspec(dllexport)
|
|
|
|
|
int32 __cdecl UE4CompressMemoryZLIB(void* CompressedBuffer, int32 CompressedSize, const void* UncompressedBuffer, int32 UncompressedSize)
|
|
|
|
|
{
|
|
|
|
|
// Zlib wants to use unsigned long.
|
|
|
|
|
unsigned long ZCompressedSize = CompressedSize;
|
|
|
|
|
unsigned long ZUncompressedSize = UncompressedSize;
|
|
|
|
|
|
|
|
|
|
// Uncompress data.
|
|
|
|
|
int32 Result = compress2((uint8*)CompressedBuffer, &ZCompressedSize, (const uint8*)UncompressedBuffer, ZUncompressedSize, Z_DEFAULT_COMPRESSION);
|
|
|
|
|
|
|
|
|
|
return (Result == Z_OK) ? (int32)ZCompressedSize : Result;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Thread-safe file compression routine. Compresses memory from uncompressed buffer and writes it to compressed
|
|
|
|
|
* gzip file.
|
|
|
|
|
*
|
|
|
|
|
* @param Path File path to write a new compressed gzip file
|
|
|
|
|
* @param UncompressedBuffer Buffer containing uncompressed data is going to be read from
|
|
|
|
|
* @param UncompressedSize Size of uncompressed data in bytes
|
|
|
|
|
* @return Less than zero values are error codes if the compress fails, Z_OK if succeeded.
|
|
|
|
|
*/
|
|
|
|
|
__declspec(dllexport)
|
|
|
|
|
int32 __cdecl UE4CompressFileGZIP(const char* Path, const void* UncompressedBuffer, int32 UncompressedSize)
|
|
|
|
|
{
|
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 ReturnVal = Z_ERRNO;
|
|
|
|
|
|
2016-12-09 11:36:14 -05:00
|
|
|
// Zlib wants to use unsigned long.
|
|
|
|
|
unsigned ZUncompressedSize = UncompressedSize;
|
|
|
|
|
|
|
|
|
|
gzFile FilePtr = gzopen(Path, "wb");
|
|
|
|
|
if (FilePtr == nullptr)
|
|
|
|
|
{
|
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
|
|
|
return ReturnVal;
|
2016-12-09 11:36:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int ZCompressedSize = gzwrite(FilePtr, UncompressedBuffer, ZUncompressedSize);
|
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
|
|
|
|
2016-12-09 11:36:14 -05:00
|
|
|
if (ZCompressedSize == 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
|
|
|
// Compression error in gzwrite()
|
|
|
|
|
gzerror(FilePtr, &ReturnVal);
|
|
|
|
|
gzclose(FilePtr);
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
ReturnVal = gzclose(FilePtr);
|
2016-12-09 11:36:14 -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
|
|
|
return ReturnVal;
|
2016-12-09 11:36:14 -05:00
|
|
|
}
|
Copying //UE4/Dev-Core to //UE4/Main
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2783106 on 2015/11/30 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream2
Introduced GC UObject clusters. GC clusters provide means to create disregard for GC subsets at load time (e.g. Materials with material expressions and their textures).
- Saves about 25ms in reachability analysis (58ms -> 33ms)
- UObject classes/instances can now be marked as cluster root objects with CanBeClusterRoot() function override.
- Cluster creation is automatic. Clusters don't require any manual handling for GC to collect them when nothing is referencing them.
- Moved token stream processing to a new class FFastReferenceFinder to make it more generic and re-usable by other code
- Removed REFERENCE_INFO macro from GC code and replaced it with a local variable (saves about ~1.9ms: 33.2ms -> 31.3ms)
Change 2773094 on 2015/11/19 by Steve.Robb@Dev-Core
Multicast script delegate check for existing bindings replaced with ensure.
Multicast native delegate no longer checks for existing bindings.
Removal of old delegate code.
Some FORCEINLINEing to improve debugging experience of stepping into delegate code.
Change 2782180 on 2015/11/27 by Graeme.Thornton@GThornton_DesktopMaster
Make scoped seconds timer class available outside of stats build. Normal usage macros still remain guarded
Added SCOPE_SECONDS_COUNTER_RECURSION_SAFE which only times during the outmost instance of a recursive function
Added SCOPE_SECONDS_COUNTER_RECURSION_SAFE_BASE and SCOPE_SECONDS_COUNTER_BASE which are defined in all build types, for easy temporary timing in Test/Shipping builds.
Added a boolean parameter to the timer class which can be used to disable it without having to mess around with scoping the calling code
Change 2782635 on 2015/11/30 by Graeme.Thornton@GThornton_DesktopMaster
Added GetTimeStampPair() to the filemanager and platformfile interfaces. Requests timestamps for a pair of files where we assume that both files would always exist at the same wrapper level. Allows us to skip file system queries for localization package lookups where the native file is in a pak but the localized file doesn't exist.
Change 2775153 on 2015/11/20 by Jaroslaw.Surowiec@Stream.1.JarekSurowiec
CrashReportServer moved out of the not for licencees, a few fixes, removed RegisterPII
Change 2775560 on 2015/11/20 by Steve.Robb@Dev-Core
FDelegateBase::GetDelegateInstance deprecated and replaced with FDelegateBase::GetDelegateInstanceProtected.
Change 2781138 on 2015/11/25 by Jaroslaw.Surowiec@Stream.1.JarekSurowiec
Stats - Converted is using a new stats reader, a few more optimizations, should be 10x times faster
Change 2772990 on 2015/11/19 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream2
Fixing potential dead lock when suspending and resuming async loading multiple times
Change 2773023 on 2015/11/19 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream2
Support for references added through AddReferencedObjects in FArchiveReplaceObjectRef
Change 2781055 on 2015/11/25 by Steve.Robb@Dev-Core
Changes to IDelegateInstance reverted to allow licensees an easier time when upgrading their use of the now-deprecated GetDelegateInstance() code path.
New TryGetBoundFunctionName() to aid the debugging of delegate bindings in non-shipping configs.
Change 2773114 on 2015/11/19 by Steve.Robb@Dev-Core
FMath::IsPowerOfTwo is now templated to take any type.
Change 2773643 on 2015/11/19 by Steve.Robb@Dev-Core
GetDelegateInstance() calls replaced - delegate instances never compare equal unless you are comparing two unbound delegates (both null) or comparing a delegate with itself.
Change 2777686 on 2015/11/23 by Steve.Robb@Dev-Core
GitHub #1793 - File write flags argument
Change 2780590 on 2015/11/25 by Steve.Robb@Dev-Core
Fix for FArchiveProxy::operator<< overloads.
Change 2780845 on 2015/11/25 by Jaroslaw.Surowiec@Stream.1.JarekSurowiec
#jira UE-23358 - MDD relies on hard-coded P4 depot paths (fixed source context for streams)
Change 2780962 on 2015/11/25 by Jaroslaw.Surowiec@Stream.1.JarekSurowiec
Stats - Added FStatsWriteStream for basic saving stat messages into a stream, initial support for reading a regular stats file, minor performance optimization, coding standard fixes
#jira UECORE-170 - Improve profiler loading performance (wip)
Change 2781887 on 2015/11/26 by Jaroslaw.Surowiec@Stream.1.JarekSurowiec
Profiler/ProfilerClient - Removed unneeded synchronization points, replaces with task graph SendTo jobs, removed PROFILER_THREADED_LOAD, replaced with new stats loading mechanism, should be around 2x times faster (4x since the optimization pass)
#jira UECORE-170 - Improve profiler loading performance (wip)
Change 2781893 on 2015/11/26 by Steve.Robb@Dev-Core
TCachedOSPageAllocator abstracted from MallocBinned2.
Misc tidy-ups.
Change 2782198 on 2015/11/27 by Jaroslaw.Surowiec@Stream.1.JarekSurowiec
Profiler - Better indication of the loading progress, should no longer freeze without a progress bar
#jira UECORE-170 - Improve profiler loading performance (wip)
Change 2782446 on 2015/11/29 by Steve.Robb@Dev-Core
Warn when calling delegates' Create* functions when they're not assigned to anything.
#codereview robert.manuszewski
Change 2782538 on 2015/11/30 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1
#UE4 Removed DiskCachedAssetDataBuffer as it was not strictly necessary and was triggering a crash when loading the cached registry from disk. This data is now stored directly in DiskCachedAssetDataMap. It was already true that this map does not change outside of SerializeCache but now it is critical since NewCachedAssetDataMap keeps pointers directly to its values.
Asset registry fixes by Bob Tellez. Possible fix for UE-23783.
Change 2782564 on 2015/11/30 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1
FReferenceCollector::AddReferenceObjects performance improvements for TArrays. ARO will no longer call HandleObjectReference multiple times but instead will call HandleObjectReferences just once (currently only implemented for FGCCollector). Reduces the number of virtual function calls while GC'ing.
Change 2782716 on 2015/11/30 by Steve.Robb@Dev-Core
UObject serial number array initialized for debug visualization.
Change 2782933 on 2015/11/30 by Steve.Robb@Dev-Core
Critical sections are no longer copyable.
Change 2783061 on 2015/11/30 by Steve.Robb@Dev-Core
2015-12-03 14:21:29 -05:00
|
|
|
}
|