Files
UnrealEngineUWP/Engine/Source/Programs/UnrealBuildTool/System/Unity.cs

386 lines
15 KiB
C#
Raw Normal View History

// Copyright Epic Games, Inc. All Rights Reserved.
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
Merging UE4-Pretest @ 2042161 to UE4 Change 1996384 by Andrew Brown: 322252 - EDITOR: Asset picker displays incorrect text when there are no filter results. Change 1996385 by Andrew Brown: 321858 - CRASH: Assertion failed: (Index >= 0) Function: STransformViewportToolBar::GetLocationGridLabel() STextBlock::CacheDesiredSize() Change 1996977 by Andrew Brown: 309685 - UE4: Adding an event/renaming an event on an event track in Matinee does not update the MatineeActor node in blueprint Change 2034873 by Jaroslaw Palczynski: More robust VS installation detection. Change 2039693 by Jaroslaw Palczynski: 327268 - RocketGDC: POSTLAUNCH: DEV: Make engine more robust against bad Visual Studio environment variables Change 1978978 by Jaroslaw Surowiec: - Removed obsolete AllowEliminatingReferences from the FArchive Change 2020326 by Maciej Mroz: pretest BP K2Node: RemovePinsFromOldPins function moved from K2Node to RemovePinsFromOldPins Change 2017608 by Maciej Mroz: pretest Some changes in SFortMissionEventSelector caused by FPinTypeTreeInfo Change 2017463 by Maciej Mroz: PinTypeSelector can lins unloaded UDStructs Change 2019979 by Maciej Mroz: pretest BP: Crash when performing Diff against Depot with blueprints containing Format Text nodes Change 2024469 by Maciej Mroz: MemberReference variable added to PinType. It's necessary for delegate's signature. Change 2024049 by Maciej Mroz: HasExternalBlueprintDependencies added to UK2Node_DynamicCast Change 2024586 by Maciej Mroz: FillSimpleMemberReference fix Change 2024472 by Maciej Mroz: workaround for delegates signature in pintype removed. Change 2023997 by Maciej Mroz: BP, UDStruc: Class UserDefinedStructEditorData added. It fixes many problems with undo/redo. Change 2021934 by Maciej Mroz: typo in a comment Change 2020355 by Maciej Mroz: Back out changelist 2020342 Change 2022178 by Maciej Mroz: CRASH: PRETEST: EDITOR: UDS: Crash when undo then redo new variable in struct that is used by blueprint Change 2021958 by Maciej Mroz: CRASH: PRETEST: EDITOR: UDS: Crash using variable of a type of copied struct in blueprint Change 1986247 by Maciej Mroz: User Defined Structures: circle dependency fixed. Early version. Change 1985107 by Maciej Mroz: UserDefinedStruct cannot have a field of a non-native type Change 1986278 by Maciej Mroz: pretest ensureMsgf in Struct::link Change 1986250 by Maciej Mroz: User Defined Struct: Non native classes are accepted types od values in structures. Change 1980955 by Maciej Mroz: Using AssetPtr and LazyPtr as UFunction parameter (intput or return) is explicitly disallowed. Change 2041215 by Maciej Mroz: ttp331249 BLOCKER: PRETEST: UI: Survive the Storm is missing the Mission HUD. Change 1984316 by Maciej Mroz: New User Defined Structure. WIP - there are still problems with circular dependencies. Change 2011616 by Maciej Mroz: UserDefinedStructures - various problems fixed. Change 2011609 by Maciej Mroz: more robust HasExternalBlueprintDependencies implementation Change 2016697 by Maciej Mroz: pretest BP: UDStruct - default value propagation in cooked build Change 2016288 by Maciej Mroz: pretest BP: UDStruct: Renaming variables wont break links from make/break nodes Change 1987637 by Maciej Mroz: CustomStruct icons placeholders Change 1987422 by Maciej Mroz: Better tooltips for variables in MyBlueprint Change 1991387 by Maciej Mroz: UDStructures fixes: Change 2029165 by Maciej Mroz: BP: better comment for incomatible pins Change 2030016 by Maciej Mroz: 8PRETEST: EDITOR: UDS: Defaults values aren't updated in struct type variables in blueprints Change 2030017 by Maciej Mroz: Unused UDStructure code removed (PPF_UseDefaultsForUDStructures) Change 2028856 by Maciej Mroz: BP: Pins with PC_Struct type are compatible only with exactly the same structure. (No derived structures are not handled as compatible). Change 2026701 by Maciej Mroz: k2: odd error on an add item node within a function (see attached image in details) Change 2028160 by Maciej Mroz: PRETEST: EDITOR: UDS: When deleting structures just after creating there is always some references in the memory Change 2028165 by Maciej Mroz: BP: BreakHitResult function has proper icon. Change 2033340 by Maciej Mroz: ttp330786 PRETEST: EDITOR: UDS: Changes of default values aren't apllied to breeak nodes for text type of variables Change 2034255 by Maciej Mroz: EDITOR: UDS: Changes of default values aren't apllied to make nodes for text type of variables ttp#330620 Change 2037682 by Maciej Mroz: ttp331309 BLOCKER: PRETEST: CRASH: EDITOR: Crash occurs when performing Diff Against Depot on any Blueprint Change 2033142 by Maciej Mroz: CreateDelegate Node uses internally FMemberReference. Refactor. Change 2032329 by Maciej Mroz: ttp330608 CRASH: PRETEST: EDITOR: UDS: Crash when trying to use struct named 'Color' in blueprint Change 2032420 by Maciej Mroz: ttp330620 PRETEST: EDITOR: UDS: Changes of default values aren't apllied to make nodes for text type of variables Change 2033139 by Maciej Mroz: Functions generated from CustomEvents can be also identified by GUID Change 2026631 by Maciej Mroz: BP. UDStruct: Invalid structs are handled better. Change 2025344 by Maciej Mroz: UDStruct enabled by default Change 2026672 by Maciej Mroz: EDITOR: BP: Can't easily remove 'pass-by-reference' pins on ReturnNodes Change 2026411 by Maciej Mroz: ExposeOnSpawn updated, it supports UDStructs, custom native Structs, and it throws compiler error. Change 2025342 by Maciej Mroz: GenerateBlueprintSkeleton moved from BLueprint::Serialize to RegenerateBlueprintClass, because SkeletonClass compilation requires all external dependencies to be loaded and linked. Change 2025570 by Steve Robb: Moved dependency processing to its own function. Change 2033235 by Steve Robb: String improvements Change 2035830 by Steve Robb: Workaround for FriendsAndChat crash in Fortnite. Change 2035115 by Steve Robb: UBT build time regression fixes. Change 2034162 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere Change 2034181 by Steve Robb: Removal of any references to .generated.inl Change 2020165 by Steve Robb: BuildPublicAndPrivateUObjectHeaders factored out into its own function. Change 2020187 by Steve Robb: CreateModuleCompileEnvironment function factored out. Change 2020055 by Steve Robb: Refactoring of Unity.cs to remove complex and duplicate iteration. Change 2020083 by Steve Robb: Another use of dictionary utilities. Change 2031049 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere Change 2025728 by Steve Robb: Refactored the application of a shared PCH file to multiple file into a single ApplySharedPCH function. Change 2020068 by Steve Robb: A couple of helpful utility functions for populating dictionaries. Change 2032307 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere [CL 2054495 by Robert Manuszewski in Main branch]
2014-04-23 20:18:55 -04:00
using System.Linq;
using EpicGames.Core;
using UnrealBuildBase;
namespace UnrealBuildTool
{
Copying //UE4/Dev-Build to //UE4/Dev-Main (Source: //UE4/Dev-Build @ 3277940) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3233612 on 2016/12/13 by Ben.Marsh UGS: Fix cases where precompiled binaries are submitted for a content change. Change 3235584 on 2016/12/14 by Ben.Marsh UBT: Deprecate the overridable TargetRules.ShouldUseSharedBuildEnvironment() function; targets should specify which build environment to use by setting the BuildEnvironment field in their constructor instead. Change 3235741 on 2016/12/14 by Ben.Marsh UBT: Deprecate the SetupBinaries() callback on the TargetRules class. Instead of overriding this, targets may override their launch module through the "LaunchModuleName" property in their constructor, and add extra modules to the "ExtraModuleNames" field on the TargetRules object itself. Change 3238176 on 2016/12/16 by Ben.Marsh UBT: New XML config file parser. Now reads once at startup and can be applied to instanced objects rather than global fields, and caches parsed output in a binary form for quicker initialization on subsequent runs. Change 3238249 on 2016/12/16 by Ben.Marsh UBT: Add attribute-driven command line parser. Change 3238462 on 2016/12/16 by Ben.Marsh UBT: Include the Platform, Configuration and Architecture on the TargetRules. Add a constructor which takes the TargetInfo object and deprecate the parameterless one; these fields are currently initialized before invoking the constructor in RulesAssembly. Change 3238564 on 2016/12/16 by Ben.Marsh UBT: Deprecate the ModuleRules constructor which takes a TargetInfo argument. Replace it with a read-only wrapper around the target rules instead, so target-specific configuration options can be read without needing to access global static variables. Also require that it's passed to the base class constructor. Change 3239919 on 2016/12/19 by Ben.Marsh UBT: Remove the "PreferredSubPlatform" property. This is only used for Windows XP support, which is being retired anyway. Having the target define its own architecture is an awkward contractiction to maintain support for, since the target rules are constructed after the architecture already has been determined. Change 3240061 on 2016/12/19 by Ben.Marsh UBT: Remove ThirdPartyHeaderFinder. I don't think anything is using this any more. Change 3240175 on 2016/12/19 by Ben.Marsh UBT: Add the target name and project file location to the target rules. Change 3240490 on 2016/12/19 by Ben.Marsh UAT: Remove Mac staging code that requires UAT to compile and construct .target.cs files when packaging, to check bUseSteam and bUseCEF3 flags. libsteam_api.dylib is now staged at build time by adding it as a bundle resource, CEF3 is already marked as a runtime dependency by CEF3.build.cs, and UnrealCEFSubProcess.app is already marked as a runtime dependency from WebBrowser.build.cs. Change 3240717 on 2016/12/20 by Ben.Marsh UAT: Allow configuring UAT to run as if on a build machine by passing the -buildmachine argument on the command line. Change 3240718 on 2016/12/20 by Ben.Marsh UAT: Remove target-specific properties that are no longer used by staging (bUsesSlate, bUsesCEF3, etc...). This stuff should all be handled inside UBT. Change 3241002 on 2016/12/20 by Ben.Marsh UBT: Move most target configuration settings from UEBuildConfiguration to TargetRules. This encapsulates target specific settings that will allow instancing multiple targets in the future. To facilitate migration of settings to their new location, "UEBuildConfiguration" is now a property that returns the current target rules instance. Change 3241027 on 2016/12/20 by Ben.Marsh Only copy the Steamworks dylib into the app bundle for monolithic builds. For all other times, just add it as a runtime dependency. Change 3241055 on 2016/12/20 by Ben.Marsh UBT: Only store a ReadOnlyTargetRules object on the instanced build target; finalize the configuration before it's instantiated. Change 3241156 on 2016/12/20 by Ben.Marsh Update SwarmInterface.csproj to .NET framework 4.5, to match what all other C# tools are using. Change 3241205 on 2016/12/20 by Ben.Marsh Replace all uses of TargetRules.TargetType with TargetType. Change 3241881 on 2016/12/21 by Ben.Marsh UBT: Remove project file information from UEBuildContext base class. As configurable properties are moved on to the TargetRules object, it will no longer be a dependency to instantiate the platform with this path. Change 3241895 on 2016/12/21 by Ben.Marsh UBT: Remove toolchain support for Windows XP. Change 3241908 on 2016/12/21 by Ben.Marsh UBT: Move settings for windows targets into a WindowsTargetRules class, which is exposed for targets to modify via the TargetRules.WindowsPlatform field. Change 3242835 on 2016/12/22 by Ben.Marsh UBT: Fix multiple binaries being created if plugins specify module names more than once. MfMedia.uplugin has MfMediaFactory listed twice. Change 3242837 on 2016/12/22 by Ben.Marsh Change UE4EditorServices to include MacSystemIncludes rather than Cocoa.h directly; causes FVector to be defined incorrectly in non-unity builds. Change 3242923 on 2016/12/22 by Ben.Marsh Build: Fixes for conforming incremental workspaces: * P4 have table is now reset before deleting all the files. This prevents Perforce being out of sync if the delete fails for some reason. * Incremental workspaces are skipped when running a clean operation, because they do not have a workspace capture file (causing a full re-sync, always). The "P4 Clean" option is still effective for cleaning these workspaces. Change 3242961 on 2016/12/22 by Ben.Marsh UBT: Move entry points from PreBuildSync() and PostBuildSync() from UEToolChain to UEBuildPlatform, and make the original toolchain versions static. These functions are already at odds with the rest of the data flow within UBT because they rely on global state cached outside the toolchain instance, making assumptions that UBT is only ever going to be invoked with one target that's constructed in the same run and that nothing is being cached (eg. UBT makefiles). Moving them onto UEBuildPlatform simplifies the toolchain lifecycle for other platforms without leaving Mac and IOS any more limited than they were before. Change 3242981 on 2016/12/22 by Ben.Marsh UBT: Remove symbol server handling code into UAT's platform library, since it's never needed from inside UBT. Change 3242999 on 2016/12/22 by Ben.Marsh UBT: Remove the StripSymbols() function from the UEToolChain base class. This functionality is only required by UAT, so it's better suited to being exposed through UAT's modular platform classes. Change 3243022 on 2016/12/22 by Ben.Marsh UBT: Require an instance of the target rules to be able to construct a toolchain in UBT. This will allow configuring toolchain-specific options from the target, using reflection from config files, and the command line. Change 3243083 on 2016/12/22 by Ben.Marsh UBT: Move settings for the Windows compiler version to use onto the Windows-specific target rules. Change 3243090 on 2016/12/22 by Ben.Marsh UBT: Change the third party paths in UEBuildConfiguration to constants. Changing these would not work. Change 3243423 on 2016/12/23 by Ben.Marsh UBT: Move a lot of settings from BuildConfiguration to TargetRules. This allows different targets to have different settings, naturally, and moves converts argument parsing and config to be driven by attributes. Change 3243516 on 2016/12/23 by Ben.Marsh UBT: Remove the ValidateUEBuildConfiguration callback, which is no longer used. (XGE settings validation occurs in XGE.cs) Change 3244020 on 2016/12/28 by Ben.Marsh UBT: Remove the BaseIntermediatePath static property. Precursor to removing RelativeEnginePath and IntermediateFolder properties. Change 3244074 on 2016/12/28 by Ben.Marsh UBT: Remove the RelativeEnginePath variable from BuildConfiguration. UnrealBuildTool.EngineDirectory gives the absolute path, and can be used to construct a relative path when necessary. Change 3244076 on 2016/12/28 by Ben.Marsh UBT: Remove BuildConfiguration.BaseIntermediateFolder; just use a fixed directory everywhere instead. Change 3244083 on 2016/12/28 by Ben.Marsh UBT: Replace FileReference and DirectoryReference instance methods for manipulating files and directories with static methods, to mirror the System.IO.File and System.IO.Directory classes. Change 3244441 on 2016/12/31 by Ben.Marsh UBT: Remove code to force PDBs when building with no debug info under XGE. Verified described symptoms (that it causes PCH generation to be serialized) no longer occur. Change 3244687 on 2017/01/03 by Matthew.Griffin Changed Exception to use FirstInclude.IncludeName as PrecompiledHeaderIncludeFilename can be null when this occurs Change 3246112 on 2017/01/04 by Ben.Marsh UBT: Fix UHT failures building some targets with the -useprecompiled option, due to differences in the order that circularly dependent modules are parsed. Precompiled binaries are now kept in the regular AppBinaries list, but are excluded from the build at the last minute. Also change some checks from IsEngineInstalled() to bUsePrecompiled, to prevent headers being overwritten when running in a non-installed precompiled build. Change 3246223 on 2017/01/04 by Ben.Marsh UBT: Prevent version manifests being overridden if a file is not being built as part of the target. Change 3246387 on 2017/01/04 by Ben.Marsh UBT: Remove BuildConfiguration settings for UnrealCodeAnalyzer. This tool isn't used at the moment, but it's configured using global variables accessed from all over the UBT codebase, making it difficult to refactor the build options into an instanced object. If we bring this tool back from the dead in the future, it should be possible to implement it using the exported JSON target definition or the XGE manifest, similarly to how IncludeTool uses it. Change 3247004 on 2017/01/04 by Ben.Marsh UBT: Simplify the logic for cleaning targets in UBT. Now uses FileReference/DirectoryReference objects everywhere, doesn't require the compile/link environment, and does all the checking to avoid deleting precompiled binaries in one place. Change 3247250 on 2017/01/04 by Ben.Marsh UBT: Prevent precompiled binaries being added to the list of app binaries twice. Change 3247594 on 2017/01/05 by Ben.Marsh Build: Run sample and template editors on the same agents as the other incremental builds. Remove ProtoStar, which does not have any non-precompiled editor target to build. Change 3247763 on 2017/01/05 by Ben.Marsh UBT: Allow the toolchain to update the list of build products for each module linked into a binary. Allows Mac to add dylibs and bundle resources specified per-module without having to construct a link environment and try to link them. Change 3247775 on 2017/01/05 by Ben.Marsh UBT: Instance the target compile and link environments when they are required during building, and don't persist them on the UEBuildTarget instance. Change 3247811 on 2017/01/05 by Ben.Marsh EC: Add a batch file for testing postp filters. Change 3247839 on 2017/01/05 by Ben.Marsh EC: Include the name of the file being compiled when parsing MSVC errors and warnings. Change 3248101 on 2017/01/05 by Ben.Marsh UBT: Fix Android support for force included headers. Change 3248533 on 2017/01/05 by Ben.Marsh PR #3097: UBT project supports optional platforms (Contributed by PrimalJohnScott) Change 3249205 on 2017/01/06 by Ben.Marsh UAT: Fix ParseTaggedP4Output throwing an exception if the same key name is specified more than once. This can happen when parsing the output from "P4 INFO", where multiple brokers are present. Change 3249249 on 2017/01/06 by Ben.Marsh UBT: Check for the existance of AndroidManifest.xml within extracted AAR directories, rather than just checking for the existance of the directory itself. Perforce does not remove empty directories when cleaning a workspace unless the rmdir option is on the workspace, so this can cause incremental build failures to fail on build machines. Change 3249486 on 2017/01/06 by Ben.Marsh UBT: Use relative paths in unity files when compiling for Mac/IOS, rather than generating a separate local/remote version of the file for gathering include dependencies. Absolute paths are only used to work around the way that MSVC concatenates paths internally; we don't hit the same problems when checking dependencies. Change 3249736 on 2017/01/06 by Ben.Marsh UBT: Rename CPPEnvironment to CppCompileEnvironment, and remove the separate CPPEnvironmentConfiguration object. All settings are now stored directly on the CppCompileEnvironment object. Change 3250179 on 2017/01/07 by Ben.Marsh Fix creating installed build when root directory contains a space in the name. Change 3250181 on 2017/01/07 by Ben.Marsh UBT: Remove some esoteric (and unused, AFAIK) options for orthogonally building different platforms. Change 3250223 on 2017/01/07 by Ben.Marsh UBT: Merge the LinkEnvironment and LinkEnvironmentConfiguration classes together. Change 3250233 on 2017/01/07 by Ben.Marsh UGS: Allow specifying a workspace-specific sync filter, which is applied on top of the standard filter. Also fix filter being cleared if the cancel button is pressed, and help text being stripped out. Change 3250241 on 2017/01/07 by Ben.Marsh UBT: Move the options for specifying additional Android architectures to target onto an Android-specific object on the TargetRules. Change 3250400 on 2017/01/08 by Ben.Marsh UBT: Move executor config settings onto the executor instances. Change 3257708 on 2017/01/13 by Ben.Marsh UBT: Remove the ThirdPartySourceDirectory constant; there are many places which hard-code or assume this location anyway, and it's not going to change. Change 3260535 on 2017/01/17 by Ben.Marsh Add an optional "RequiredSubmittedChange" setting to EC settings files. Allows a scheduled job to run even if there have been no code changes submitted. Test with the utilization capture job. Change 3260875 on 2017/01/17 by Ben.Marsh EC: Fix workspaces getting out of sync wrt. newly added files when jobs are aborted during a sync. In such cases, the P4 have table indicates the new files have been synced locally, but the workspace is forced back to a state before it had them due to the capture file. When a following sync tries to add them again, P4 believes the workspace already has them synced. To work around this, we now write an additional file to the root folder of a workspace containing the last CL that was captured, and sync back to it before doing the reconcile. Change 3261724 on 2017/01/18 by Ben.Marsh Allow filtering job types from the list view in EC. Hide the utilization capture job by default. Also set up notifications for the utilization capture job. Change 3261756 on 2017/01/18 by Ben.Marsh IncludeTool: Prevent matching a full enum declaration as a forward declaration. Change 3261932 on 2017/01/18 by Ben.Marsh EC: Add support for specifying days of the week in schedules. The following syntaxes are supported: "Monday, Tuesday and Wednesday at 10:30" "Daily except Sunday and Wednesday at 14:30" Also tweak display of dates relative to now to handle dates/times in the future, and include the date when specifying a day name. #jira UEB-729 Change 3262676 on 2017/01/18 by Ben.Marsh UBT: Split UBTMakefile into its own file. (From PR #3106) Change 3263893 on 2017/01/19 by Ben.Marsh UBT: Stop exporting platform classes from UBT, as well as all the referenced classes that have to be made public as a result. Any platform-specific functionality that needs to be shared with UAT is now exposed through wrappers in separate public classes, eg. WindowsExports.cs, IOSExports.cs, etc... Change 3264291 on 2017/01/19 by Ben.Marsh UBT: Fix errors generating documentation in UBT, and enable it by default. Will catch more errors with new code being added. Originally in PR #3106, but redone due to conflicts. Change 3264534 on 2017/01/19 by Ben.Marsh UBT: Include plugin config files in generated projects. Change 3264571 on 2017/01/19 by Ben.Marsh UBT: Prevent overwriting .modules files if nothing has changed. On builders, it's common to build multiple editors in the same workspace, and changing the last modified timestamp causes BuildGraph to fail due to tampered files. Change 3265745 on 2017/01/20 by Ben.Marsh UGS: Automatically open UGS when running the launcher for a second time, rather than prompting to close the original instance. Change 3265777 on 2017/01/20 by Ben.Marsh UGS: Automatically close and reopen when UGS is re-ran with the shift key held down to switch into unstable mode. Change 3268314 on 2017/01/23 by Ben.Marsh UBT: Make sure version manifests are stable by sorting the list of build products, so they are only touched if the contents have really changed. Change 3269601 on 2017/01/24 by Ben.Marsh UBT: Fix symbol files being added to manifest for some platforms even though debug info is disabled. Change 3269607 on 2017/01/24 by Ben.Marsh UBT: Fix bug where UBT would need to be invoked when switching between two editors sharing the same engine binaries on Mac. The location of the .modules file cannot be guessed on Mac by looking in the same directory as the primary output executable because it's an .app bundle, and the actual modules are nested several directories below that. Change 3269608 on 2017/01/24 by Ben.Marsh UBT: Fix additional files copied into the app bundle always being updated on Mac. Now uses rsync --checksum to make sure only modified files are updated. Change 3271062 on 2017/01/24 by Ben.Marsh UBT: Fixes for bugs detected by PVS Studio (PR #3161) Change 3272421 on 2017/01/25 by Ben.Marsh Fix commends regarding DDC in BaseEngine.ini #jira UE-41076 Change 3272810 on 2017/01/25 by Ben.Marsh Fix VS2017 being displayed as 'Visual Studio 15' in the Windows target settings panel. Change 3272935 on 2017/01/25 by Ben.Marsh Fix Metal errors launching on Mac due to use of OSX environment settings before they are initialized. Toolchain settings are now constructed on demand in a separate class, for Mac, iOS and TVOS. Change 3274167 on 2017/01/26 by Ben.Marsh Fix resource files not being compiled in installed builds on Windows. Was causing metadata not to be embedded into executables. #jira UE-36457 Change 3275557 on 2017/01/27 by Ben.Marsh Expand checks for propagation of restricted folder names to include source files, and to ensure that each restricted folder is represented in the output. Also improve messaging to show the dependency chain leading to a restricted folder being referenced, and which folder it is. Change 3275628 on 2017/01/27 by Ben.Marsh UBT: Splitting configuration files into one class per-file. Change 3276784 on 2017/01/29 by Ben.Marsh Add an authoritative list of confidential folder names, and expose it through global BuildGraph properties ($(RestrictedFolderNames) and $(RestrictedFolderFilter)). Also switch existing scripts to use it. Change 3276792 on 2017/01/29 by Ben.Marsh UBT: Use UE4CSharp.prog files to indicate which projects should be included in the solution without having to hard-code a list of them in UBT. Change 3277263 on 2017/01/30 by Ben.Marsh IncludeTool: Merging various fixes. * Fix warnings about #include directives after first code block from parsing monolithic headers. * Fix exception on startup if the intermediate directory does not already exist. * Add a special case for ignoring missing header guards from MonolithicHeaderBoilerplate.h, rather than marking it as an inline header. Marking it as inline prevents parsing include directives, which results in including CoreTypes.h from the wrong location. * Create job objects for spawned compiler instances to prevent them trying allocating more memory than the system can spare. * Remove (unused) code which makes assumptions about files ending with "Classes.h". * Add a verbose per-file output log to aid with debugging. * Negate the MakeStandalone command line option, which was added to allow tweaking forward declarations in already optimized files, so the optimized output does not have missing headers by default. * Fix missing headers when creating standalone files, due to incorrect list of previous files being passed in to the OutputFile constructor. Now passes the original list of included files, not the output list. * Fix initial header for a cpp file sometimes being removed. Forcibly including a header at the start of the file does not use the normal pathway for spidering through includes, so a second include of the same file was being generated. Any includes of that header were being forced into output, and the earlier include was then removed due to being redundant. * Prevent forward declaring enums which have to be parsed by UHT. UHT relies on includes to determine a parse order, and will fail if the enum definition has not been parsed first. * Use a relative path for private includes in the same module if there are any. Fixes some incorrect paths, and makes it clearer that we're doing something we shouldn't. Change 3277307 on 2017/01/30 by Ben.Marsh UBT: Fix private PCHs not using correct header. Causes custom definitions to be excluded from the command line. [CL 3278101 by Ben Marsh in Main branch]
2017-01-30 16:52:08 -05:00
class Unity
{
Copying //UE4/Orion-Staging to //UE4/Main (Source: //Orion/Dev-General @ 3196521) #lockdown Nick.Penwarden Change 3196499 on 2016/11/14 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 34.3 @ CL 3196473 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3196498 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3195674 on 2016/11/11 by Laurent.Delayen Fix for twinblast ult mesh not disappearing at lower lods. (curves not getting properly update with URO) Fixes https://jira.it.epicgames.net/browse/OR-31509 #rb lina.halper #tests twinblast ult multiPIE Change 3195245 on 2016/11/11 by Dan.Hertzka Card crafting progress - Device responds to UI actions appropriately and infinitely - Backing out of device screen goes to card details first (i.e. doesn't take you all the way out of the screen) - CraftingDevice and CraftingDeviceNode now have a few natively-controlled timelines for reversible states - Non-reversible timelines all now play from start (so they work more than once) Engine-side: - Added an overload to UTimelineComponent::SetOnTimelineFinishedFunc() that takes a native (non-dynamic) delegate - Added a way to set the owning player of a UUserWidget via a local PlayerController (since ULocalPlayer isn't a BP type) - used to establish the owner of a WidgetComponent's widget #rb none #tests PIE crafting Change 3194616 on 2016/11/11 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 34.3 @ CL 3194604 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3194615 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3193875 on 2016/11/10 by Andrew.Grant Removed GameThreadWaitForTask fatal timeout if running in editor (assumption is that some operations can cause significant blocks, and that's ok.. #jira UE-38496 #tests compiled #rb none #c0dereview Marcus.Wassmer Change 3193368 on 2016/11/10 by Mieszko.Zielinski Fixed a bug in UCharacterMovementComponent::OnMovementModeChanged making UPathFollowingComponent::OnStartedFalling being sent too late #UE4 #rb Lukasz.Furman #test golden path Change 3193280 on 2016/11/10 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 34.2 @ CL 3193232 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3193279 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3192376 on 2016/11/09 by Laurent.Delayen RootMotion Sources: removed second check, as that was a perfectly valid case. Fixes https://jira.it.epicgames.net/browse/OR-31490 #rb none #tests riftmage blackhold multiPIE Change 3192243 on 2016/11/09 by Laurent.Delayen UAbilityTask_ApplyRootMotionMoveToActorForce replicates TimeMappingCurve to potentially fix https://jira.it.epicgames.net/browse/OR-31266 #rb none #tests Jump pads on Sovereign2 multiPIE Change 3191985 on 2016/11/09 by Laurent.Delayen Additional debug info for https://jira.it.epicgames.net/browse/OR-31300 #rb none #tests compiles Change 3191565 on 2016/11/09 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 34.2 @ CL 3191371 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3191564 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3190702 on 2016/11/08 by David.Ratti Fix PIE autologgin mcp problem #rb JoshM #tests PIE autologgin Change 3190591 on 2016/11/08 by Mieszko.Zielinski Added a way to RecastNavMesh to retrieve navigation links in a given tile #UE4 #rb Lukasz.Furman #test golden path Change 3190363 on 2016/11/08 by Frank.Gigliotti Root motion velocity clamping and bug fixes; * Added option to clamp velocity when ending MoveToActorForce, MoveToForce, and RadialForce root motions. * Disabled partial ticking on the FRootMotionSource_ConstantForce when applying the finishing velocity or clamping velocity on root motion ability tasks. This ensures the desired velocity is set correctly. * Added AbilityTask_ApplyRootMotion_Base as a base class for all root motion ability tasks. #RB David.Ratti, Zak.Middleton #c0dereview Zak.Middleton #Tests PIE - Multiple heroes with root motion abilities Change 3190344 on 2016/11/08 by Laurent.Delayen RootMotionSources: Tracking down https://jira.it.epicgames.net/browse/OR-31266 Testing for 'Matches' rule in more places, to track down where it breaks. Added more info. Switched check to ensure, so it doesn't prevent playtests. Minor tweaks: - Test for ID before TimeStamp - Changed auto to proper type. - Trim RootMotionIDMappings of outdated mappings since we can iterate over that array quite a bit. #rb none #tests multiPIE Change 3190217 on 2016/11/08 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 34.2 @ CL 3190009 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3190216 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3188560 on 2016/11/07 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 34.2 @ CL 3187796 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3188499 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3188012 on 2016/11/05 by Andrew.Grant Merging using ROBO://Orion/Main->//Orion/Dev-General #rb #tests na Change 3187818 on 2016/11/04 by Michael.Noland Editor: Refactored the game instance PIE creation hooks, allowing them to pass an error message back that will be displayed to the user explaining why PIE was aborted/failed to start - Fixed a potential crash trying to tear down a null world when UGameInstance::StartPlayInEditorGameInstance fails Upgrade notes: - UGameInstance::InitializePIE overrides should now override InitializeForPlayInEditor instead - UGameInstance::StartPIEGameInstance overrides should now override StartPlayInEditorGameInstance instead - These methods return a FGameInstancePIEResult which can be created via FGameInstancePIEResult::Success() or FGameInstancePIEResult::Failure(), and take a parameter struct to make it easier to send additional information in the future without breaking the signature again #rb matt.kuhlenscmidt #tests Tested various PIE configurations in Paragon Change 3187756 on 2016/11/04 by Michael.Noland Editor: Added support for games to respond to Play in Editor setting changes (by properly calling PostEditChange when the PIE/SIE menu options are picked/toggled) #tests Tested in Paragon by binding to FCoreUObjectDelegates::OnObjectPropertyChanged #rb ben.ziegler Change 3187258 on 2016/11/04 by Dan.Hertzka - UTextBlock::SetText is now virtual - OrionTextBlock has a property ("All Caps") that, if true, will always convert all text it's given to ALL CAPS #c0dereview Sean.Smith, Philip.Buuck, Marcel.Swanepoel, Bryan.Rathman #rb none #tests PIE Change 3187157 on 2016/11/04 by Jason.Bestimt #R0B0MERGE-AUTHOR: andrew.grant Case fix for staged files #rb Ben.Marsh #tests preflighted #R0B0MERGE-SOURCE: CL 3187153 in //Orion/Release-34/... via CL 3187154 via CL 3187155 via CL 3187156 #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3186870 on 2016/11/04 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 34.2 @ CL 3186846 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3186855 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3186243 on 2016/11/03 by Michael.Noland Engine: Fixed reporting of ScreenPct when the cvar is set directly rather than via game user settings - Also fixed a place that was using ScreenPct as an integer instead of a float in the OSVR plugin #jira OR-23184 #tests Tested by setting r.screenpercentage directly to a different value and inspecting the chart results #rb ben.ziegler Change 3185134 on 2016/11/03 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 34.2 @ CL 3185065 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3185131 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3183689 on 2016/11/02 by Aaron.McLeran OR-31091 Implementing 3175639 in Dev-General #rb zak.middleton #tests unplug headphones and observe no log spam or other issues Change 3183292 on 2016/11/02 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 34.2 @ CL 3182926 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3183084 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3182323 on 2016/11/01 by Dan.Hertzka Fix crash in sequencer when opening a widget BP with the sequencer tab closed (failed to null check) #c0dereview Nick.Darnell #rb Stephan.Jiang #tests none Change 3182295 on 2016/11/01 by Daniel.Lamb Fixed up routing BeginDestroy. #rb Andrew.Grant #jira OR-31043 #test Paragon win64 -game Change 3181975 on 2016/11/01 by Daniel.Lamb Make sure to remove safe zone delegate when canvas is destroyed. Moved registration of safe zone delegate to constructor. #rb Michael.Noland #jira OR-31043 #test Paragon win64 -game Change 3181895 on 2016/11/01 by Daniel.Lamb Make sure to remove safe zone delegate when canvas is destroyed. Moved registration of safe zone delegate to constructor. #rb Michael.Noland #jira OR-31043 #test Paragon win64 -game Change 3181892 on 2016/11/01 by Michael.Trepka Copy of CL 3162466 By default, do not compile Mac OpenGL and Metal SM4 shaders while cooking #rb Mark.Satterthwaite #jira UE-37088 #tests Cooked MacNoEditor data on Windows Change 3181624 on 2016/11/01 by David.Ratti Pass attribute value by reference through SetNumericValue_Internal so that the final/clamped value is what is broadcasted to attribute change delegates #rb none #tests golden path w/ extra logging to verify final value is what is broadcasted #c0dereview Billy.Bramer, Fred.Kimberley Change 3181574 on 2016/11/01 by Jason.Bestimt #ORION_DG - Fixing up R0B0MERGE issue #RB:none #Tests:none Change 3180859 on 2016/10/31 by Brian.Karis Removed SSAO from hair Change 3180320 on 2016/10/31 by Daniel.Lamb Added support for rebuild lighting commandlet to read maps to rebuild from ini file. #rb Andrew.Grant #test Paragon rebuild lighting #jira OR-30841 Change 3180227 on 2016/10/31 by Laurent.Delayen Disabled Warning to fix https://jira.it.epicgames.net/browse/OR-30965 Will be turned into a warning message in the BP editor. #c0dereview benn.gallagher #rb none #tests none Change 3179903 on 2016/10/31 by jason.bestimt #ORION_MAIN - Merge 34.2 @ CL 3179886 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3179895 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3177903 on 2016/10/28 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 34 @ CL 3177869 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3177901 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3175548 on 2016/10/26 by Michael.Noland GameplayAbilities: Change it so that delegates registered via RegisterGameplayAttributeEvent are still called on the client when there is no aggregator entry #rb david.ratti #c0dereview billy.bramer #tests Tested in multiplayer PIE client with a new minion callback and golden path in -game Change 3175544 on 2016/10/26 by Bart.Hawthorne Draft in replays improvements: - Marker added to timeline bar that shows when the level change happens - Added "Skip Draft" button when loading a replay which will bypass the draft - Only PvP matches will record replays - Added "Exit Replay" button to hamburger menu while in draft - No longer load hero data before viewing a replay if not skipping draft - Enable replay recording in PvP #rb john.pollard #c0dereview paul.moore #tests nomcp golden path up to spawnpoint, created and loaded several replays Change 3175533 on 2016/10/26 by Michael.Noland Fix for FMallocBinned::GetAllocationSize() for aligned allocations. #jira UE-37249 #jira UE-37243 #rb robert.manuszewski #lockdown robert.manuszewski [reimplementing CL# 3165739 from Release-4.13] #tests Compiled Change 3175311 on 2016/10/26 by Daniel.Lamb Added support for safe zone change. Messed up files in last checkin #test Ps4 paragon #jira OR-30506 #rb Matt.Kuhlenschmidt Change 3175298 on 2016/10/26 by Daniel.Lamb Added support for updating safe area #rb Matt.Kuhlenschmidt #c0dereview Andrew.Grant Nick.Darnell #test Ps4 paragon #jira OR-30506 Change 3175209 on 2016/10/26 by David.Ratti Fix a few cases where default gameplay cue parameters weren't initialized properly and could not be translated by the skin system. Fixes some mayan steel issues. #rb none #tests pie Change 3174858 on 2016/10/26 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 34/33.2 @ CL 3174784 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3174857 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3174822 on 2016/10/26 by Marcus.Wassmer Duplicate 3174187 #jira UE-37020 #rb marc.audy #test create/destroy effects with HQ lights in editor. Change 3174344 on 2016/10/25 by Ryan.Gerleve Added a bIsNetStartupComponent flag to UActorComponent. This will be set for components that are owned by an actor when that actor's bNetStartup flag is set. #rb john.pollard #tests golden path Change 3174270 on 2016/10/25 by Marcus.Wassmer Add LightingChannel control to High Quality particle lights. #rb none #test tested different lighting channels. Change 3173855 on 2016/10/25 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 34 @ CL 3173292 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3173361 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3173843 on 2016/10/25 by Michael.Trepka Update custom window controls on toggle fullscreen and make sure that when we switch to windowed mode we don't use window size that wouldn't fit on desktop #rb Matt.Kuhlenschmidt #tests Tested in editor build on PC Change 3173783 on 2016/10/25 by Dan.Youhon Add VelocityOnFinish mode options to RootMotionRadialForce so that designers can control what happens to a character's velocity when the ability task ends (part of #OR-30249) #rb None #tests MultiPIE Change 3173734 on 2016/10/25 by Dan.Youhon Protect against invalid Duration in FRootMotionSource_MoveToDynamicForce on simulated clients #OR-27128 #rb None #tests MultiPIE Change 3173714 on 2016/10/25 by David.Ratti Add Game and Engine Compat versions for replays #coderview John.Pollard #rb Lietz #tests golden path, replays Change 3173681 on 2016/10/25 by Bart.Hawthorne Implement drafting in replays. A replay spectator is spawned in the draft lobby so that the draft is saved out to the replay server, and clients are now able to travel in replays both when they occur "naturally" (at the same time as if they were a client), and also by scrubbing to a place in the timeline that's a different level. The feature is implemented but currently disabled by default - turn on by setting CVarEnableDraftInReplays to 1. Replays should function the same as before. Also fixed a warning on the dedicated server related to abandoning a draft. #rb john.pollard #c0dereview josh.markiewicz, paul.moore #tests nomcp golden path (up to spawning), recorded multiple replays and played back with lots of scrubbing Change 3173677 on 2016/10/25 by Andrew.Grant Reenabled audio thread Added safety wrapper to prevent code accidentally using events after they are returned to the pool. #tests na #rb Gil.Gribb Change 3173588 on 2016/10/25 by Ryan.Gerleve Added a replication condition to skip replays. #tests golden path #rb john.pollard Change 3172692 on 2016/10/24 by Marcus.Wassmer Fix OR-30390 caused by missing mutex lock #rb none #test compile ps4 Change 3172025 on 2016/10/24 by Matt.Kuhlenschmidt Fix blur widget not respecting clip rects #rb none #tests paragon blur widget clipping bugs Change 3171570 on 2016/10/23 by Mieszko.Zielinski Moved Bots' enemy selection eqs query triggering to native code #Orion Did this to be able to manually trigger enemy selection when current enemy dies, to avoid having a "null" enemy in BB for couple of ticks. Also, made couple of tweaks to positioning and tower attacking behavior of melee bots #rb none #test golden path Change 3171100 on 2016/10/21 by Aaron.Eady FGameplayCueTagDetails; Adding a check for if the RawStructData.Num > 0 before trying to use it. There was a case where you could crash the editor if you create a new GC tag inside of a BP, compile the BP, click Add New, select a GC type, then when the file is created, click away from it in the content browser. This repro wasn't 100% but often enough to caus a problem. #rb David.Ratti (actually wrote the code) #tests PIE Change 3171060 on 2016/10/21 by Ryan.Gerleve Some cleanup and fixes for deathcam: The recording demo net driver for the deathcam replay now uses checkpoint amortization to smooth out spikes. Converted UOrionKillcamPlayback::IsKillcamWorld to IsKillcamActor, since IsKillWorld isn't useful for the new single-world implementation. Converted a GetValueOnGameThread to GetValueOnAnyThread (wasn't in the merge) so that deathcam replay recording can happen on a thread. Added comment to UAbilitySystemComponent::OnComponentDestroyed. #rb john.pollard #tests golden path, enabled deathcam Change 3171041 on 2016/10/21 by Ryan.Gerleve Make the CheckpointSaveMaxMSPerFrame value a member of UDemoNetDriver so it can be set per instance, and convert the demo.CheckpointSaveMaxMSPerFrame cvar into an override for this value. #rb john.pollard #tests golden path Change 3170917 on 2016/10/21 by Mieszko.Zielinski Made a change to OrionBTTask_ObjectiveGraphMove to make it fallback to regular move if the destination is in the same or second-closest objective graph node #Orion #rb none #test golden path Change 3170914 on 2016/10/21 by Mieszko.Zielinski Fixed EQS scoring bug resulting in some items getting NaN scored #UE4 The NaN was happening when scoring but not filtering using a bool-based test, or when unintentionally skipping items by moving item iterator without doing any work. Removed a bunch of deprecated code while there #rb Lukasz.Furman #test golden path Change 3170912 on 2016/10/21 by Mieszko.Zielinski Manual merge of crucial BT fixed over from //Fortnite/Main #UE4 Original CL#3159145 , CL#3159892 #rb Lukasz.Furman #test golden path Change 3170478 on 2016/10/21 by David.Ratti fix editor crash related to recompiling gamplay cue blueprint while a preview animation is playing that invokes that gameplay cue. #rb none #tests editor Change 3170231 on 2016/10/21 by Ryan.Gerleve Fix for an issue that was preventing moving your hero after spawning in PIE in Agora: set the net driver on static level collections as well. #tests golden path, PIE #c0dereview john.pollard #rb none Change 3170074 on 2016/10/20 by Ryan.Gerleve Merging support for recording client replays in a task parallel with Slate (optimization for deathcam) from UE4/Dev-Networking. CL 3169209 #tests golden path, replays #rb none Change 3170019 on 2016/10/20 by Ryan.Gerleve Merging support for deathcam memory optimizations (level collection work) from UE4/Main and UE4/Dev-Networking. CLs: 3134499 3134771 3135279 3137140 3138081 3140413 3150142 3142515 3162189 3162194 #tests golden path #rb none Change 3169686 on 2016/10/20 by Michael.Trepka Fixed a Windows-specific problem with parts of the custom window buttons not accepting mouse clicks when the window is maximized due to window region used by FWindowsWindow::IsPointInWindow() being offset by border size. #rb Jeff.Campeau #tests Tested in editor build on PC Change 3169668 on 2016/10/20 by Max.Chen Sequencer - Don't crash when a bool track or visibility track has a null runtime object. Copy from Odin #rb none #tests opened a recorded sequence Change 3169657 on 2016/10/20 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_33 - Fix for localization export of web data Fixed export of localized formatted text - Removed the super-specific GetSourceTextsFromFormatHistory, and replaced it with the more-generic GetHistoricFormatData to get information about an FText that was generated via FText::Format. - Added GetHistoricNumericData to get information about an FText that was generated via FText::AsNumber or FText::AsPercent. - Updated the translation picker to use GetHistoricFormatData. - Removed the code from FMultiLocHelper that used GetSourceTextsFromFormatHistory as it wasn't actually needed. - Added code to FGameDataExporter to correctly localize a formatted text for a given culture, and re-format the result for export. [c0dereviewed]: jamie.dale #RB:none #Tests:Exported game data! #R0B0MERGE-SOURCE: CL 3169653 in //Orion/Release-33/... via CL 3169654 via CL 3169655 via CL 3169656 #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3169616 on 2016/10/20 by David.Ratti missed file #rb none #tests none Change 3169597 on 2016/10/20 by David.Ratti Missed include #rb DanH #tests none Change 3169393 on 2016/10/20 by David.Ratti AbilitySystem.GlobalAbilityScale cvar to help design iterate on animation/duration based tweaks #rb none #tests pie Change 3168287 on 2016/10/19 by Mieszko.Zielinski Expanded EQS info logged with vlog #UE4 #rb none #test golden path Change 3168282 on 2016/10/19 by David.Ratti Restore warning when multiple GC notifies try to handle the same tag. #rb none #tests compile, launch editor, see warnings, cry Change 3168196 on 2016/10/19 by Jon.Lietz compile fix, removing the int version of FirstActiveIndex and leaving the in32 version. #RB none #tests compiles Change 3168041 on 2016/10/19 by Michael.Trepka Don't restore saved resolution on window activation in non-fullscreen modes #rb Matt.Kuhlenschmidt #tests Tested in editor build on PC Change 3167859 on 2016/10/19 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Implementing in Dev-General for Joey since he needs the fix ASAP. #rb Jeff.Campeau #tests perform tests described in JIRA bug. Change 3167790 on 2016/10/19 by Andrew.Grant Duplication of 3167569 from //Odion/Main for Paragon cinematics #rb none #tests compiled Change 3167682 on 2016/10/19 by Laurent.Delayen Integrated #ORION_33.1 - Disabled WindSources on Cloth and AnimDynamics, as it's not safe to access from the GameThread. https://jira.it.epicgames.net/browse/OR-30473 #rb ori.cohen, benn.gallagher #tests Vamp, Kwang, Chains in Persona and PIE with WindActor in level. Change 3167466 on 2016/10/19 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 33.2 @ CL 3167368 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3167456 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3167312 on 2016/10/19 by Mieszko.Zielinski Fixed EQS template cache issues with multiple query run modes #UE4 #rb Lukasz.Furman #test golden path #jira UE-37496 Change 3166784 on 2016/10/18 by Laurent.Delayen Don't leave PhysicsBodies::bWindEnabled uninitialized in case Wind is not enabled (Persona) #rb none #c0dereview benn.gallagher #test Chains in Persona Change 3166641 on 2016/10/18 by Mieszko.Zielinski Made the value span used for EQS item score normalization configurable #UE4 #rb Lukasz.Furman #test golden path Change 3166632 on 2016/10/18 by Jason.Bestimt #R0B0MERGE-AUTHOR: andrew.grant Added support for multiple deployment sandboxes on PS4. BuildCookRun -deploy=SomeDir ps4.elf -deployedbuild=SomeDir Omitting name in -deploy/-deployedbuild falls back to previous default of using 'GameName' as the deployment sandbox. #tests BuildCookRun with -deploy and -deploy=Orion_v33, Ran PS4 with -deployedbuild and -deployedbuild=Orion_v33 [c0dereviewed] Marcus.Wassmer, Luke.Thatcher #rb none #R0B0MERGE-SOURCE: CL 3166622 in //Orion/Release-33/... via CL 3166629 via CL 3166630 via CL 3166631 #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3166494 on 2016/10/18 by Michael.Noland Engine: Removed irrelevant GPU stats from FPS chart server analytics reports #jira OR-13877 #rb david.ratti #tests Ran golden path on uncooked Win64, used forcewinmatch, and inspected the analytics arrays Change 3166476 on 2016/10/18 by Michael.Noland Cooker: Deleting dead GenerateManifestInfo methods #tests Compiled #rb none #c0dereview daniel.lamb Change 3166471 on 2016/10/18 by Michael.Noland Making sure DebugWorlds/DebugWorldNames are in sync, since we expect an index from one to match the other (fixes an issue where users could select a debug world and the wrong one was chosen). [reimplementing CL# 3157138 by Mike.Beach] #jira UE-37107 #rb Dan.OConnor #tests Tested multiplayer PIE and opening an anim BP Change 3166460 on 2016/10/18 by Michael.Noland Particles: Prevent log spam on servers about stripped emitters #rb graeme.thornton [reimplementing CL# 3157862 by Simon.Tovey] #tests Ran an uncooked server and tested golden path Change 3166339 on 2016/10/18 by Laurent.Delayen oops, this file got away. #rb none #tests none Change 3166337 on 2016/10/18 by Laurent.Delayen Fix for AnimDynamics Wind crash. https://jira.it.epicgames.net/browse/OR-30351 Access WindParameters on GameThread. Also minor optimization: don't iterate over bodies every frame if wind is off. #rb benn.gallagher #c0dereview lina.halper, thomas.sarkanen #tests Vamp Change 3166207 on 2016/10/18 by Mieszko.Zielinski Bot perception work #Orion Added a new sense that makes bots know about enemies visible on the minimap Made jungle minions do not register as sight sources Cleaned up bot perception component a bit #rb none #test golden path Change 3166138 on 2016/10/18 by Michael.Noland Blueprints: Converted a crash with the debug world name in the BP editor to an ensure until it can be fixed properly (see OR-29650) #c0dereview dan.oconnor #rb none #tests Tested opening an anim BP during multiplayer PIE Change 3165860 on 2016/10/18 by David.Ratti remove some debug code that wasn't intended to be checked in #rb none #tests compile Change 3165288 on 2016/10/17 by Ian.Fox #XMPP - Add correlation id attribute to outgoing stanzas #RB Rob.Cannaday #Tests Correlation IDs come back in responses to xmpp messages we send #JIRA OGS-409 Change 3165096 on 2016/10/17 by David.Ratti Fix issue where gameplay tags net indices would be out of sync on cooked PS4 client playing on uncooked windows servers. Would cause some effects to not play. #rb none #tests PS4/PC crossplay Change 3164973 on 2016/10/17 by Dan.Hertzka Fix link error #rb #tests compile Change 3164910 on 2016/10/17 by Lukasz.Furman fixed bug in merging behavior tree searches copy of CL 3164903 #ue4 #rb Mieszko.Zielinski #tests none Change 3164908 on 2016/10/17 by Dan.Hertzka Exposing the blur widget for use in Paragon ** Use OrionBlurWidget, not the base BackgroundBlurWidget - Added it to the hero and default tooltips for reference #rb none #c0dereview Marcel.Swanepoel, Sean.Smith, Bryan.Rathman #tests PIE Change 3164482 on 2016/10/17 by David.Ratti Editor loadtime improvements * Refactor GameplayCue manager to support two distinct object library sets: Runtime and Editor. Editor library operates on all valid gameplay cue paths but never loads or scans, only reflects what asset registry has found. Runtime library is the initial loaded paths + any explicit requests. These scan when needed and async load at startup. * Wrote UOrionAsyncLoadRequestQueue to feed the async load queue with requests at startup. This is to avoid submitting 300+ requests at startup and have them flushed by a sync load. The editor will wait until it is fully initialized before kicking these off. * Changed UOrionUIManagerWidget to weakly reference all of its state widgets. In non editor builds these are all loaded at startup like before. In editor builds, we sync load them on demand. This allows us to not load everything in order to PIE. * Added options for loading various pieces of data at editor startup: HUDwidget V4, last used hero data, and shared gameplay cues. * -game -nomcp will now properly async load initial set of data * BeginLoadAsyncData no longer takes netmode as parameter since it is confusing and can just use IsDedicatedServer() internally * Added new log category: LogOrionStartup #rb none #c0dereview Dan.Hertzka #tests pie, golden path, cooked PS4 Change 3163635 on 2016/10/14 by Laurent.Delayen AnimInstance: Pass a few FNames by reference instead of by value. Added CalcSlotMontageLocalWeight to get local a slot's local weight without a frame a lag. Fixed Montage update happening after native update on gamethread, but before native update on worker thread. Now happens before both, so we can reliably get montage weights without a frame of lag regardless of where we access it. #rb none #c0dereview martin.wilson, thomas.sarkanen #tests fixes Twinblast's primary fire blend out having a frame a lag. Change 3163620 on 2016/10/14 by Laurent.Delayen AnimNode_Slot debug: Show actual slot local weight, instead of always 1. #rb none #c0dereview martin.wilson #tests twinblast debug Change 3163061 on 2016/10/14 by Andrew.Grant Pulling test framework changes into seprate CL #rb #tests na Change 3162675 on 2016/10/13 by Jason.Bestimt #R0B0MERGE-AUTHOR: andrew.grant Merging test framework changes down early. #rb #tests na #R0B0MERGE-SOURCE: CL 3162674 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3162062 on 2016/10/13 by Michael.Trepka Replaced FWindowsCursor hack for warping the mouse cursor to the center of the viewport with a better fix for the original problem (users being able to resize the window while the cursor is hidden and the mouse controls the camera). This change removes round window corners in borderless window mode and disables window resizing when the cursor is hidden. #rb Matt.Kuhlenschmidt #tests Tested in editor build on PC Change 3161489 on 2016/10/13 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 33.2 @ CL 3161453 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3161473 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3160664 on 2016/10/12 by Ben.Salem Fix logic order error fuzzy matching on automated tests - we were only allowing one match per filter instead of one match per test. #rb adric.worley #tests Ran All Ftests that start with S Change 3159866 on 2016/10/12 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 33.2 @ CL 3159727 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3159865 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3158870 on 2016/10/11 by John.Barrett Fixed issue where some PacketHandler parsing errors, would not stop NetConnection processing of packets, and would not trigger a disconnect. #JIRA OR-29219 #rb none #tests compiles, client/server Change 3158336 on 2016/10/11 by Lukasz.Furman string pulling for local navigation grids #ue4 #rb Mieszko.Zielinski #tests PIE Change 3158203 on 2016/10/11 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 33.2 @ CL 3158043 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3158154 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3158162 on 2016/10/11 by Matt.Kuhlenschmidt Added a blur widget to umg that applies a blur effect to whatever is behind the widget - The widget has a content slot that can be used to display unblurred content on top of the blur - The widget has a low quality mode brush that can be applied instead of the background blur. This is enabled by the cvar Slate.ForceBackgroundBlurLowQualityOverride=1 - This widget is currently expermental and must be subclassed to be used #tests Tested on PS4, PC, Mac (opengl and metal) #rb nick.darnell Change 3157232 on 2016/10/10 by Lukasz.Furman added local navigation grids: dynamic obstacles on static navmesh #ue4 #rb Mieszko.Zielinski #tests none, disabled by default Change 3157112 on 2016/10/10 by Laurent.Delayen Removed my layer anim node fix, since Martin did a similar fix. #rb none #tests compiles #c0dereview martin.wilson Change 3156789 on 2016/10/10 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 33.2 @ CL 3156726 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3156788 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3156717 on 2016/10/10 by Jason.Bestimt #R0B0MERGE-AUTHOR: andrew.grant Merging 3156681 from //Orion/Release-33 to Main #rb #tests na #R0B0MERGE-SOURCE: CL 3156713 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3156596 on 2016/10/10 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node (recreated from dev-framework CL 3112086) #Jira OR-30017 #rb Lina.Halper #tests Tested affected anim nodes in editor Change 3156149 on 2016/10/08 by Jason.Bestimt #R0B0MERGE-AUTHOR: andrew.grant Merging test framework changes from //Orion/Release-33.2 to Main (//Orion/Main) #rb #tests na #R0B0MERGE-SOURCE: CL 3156148 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3155444 on 2016/10/07 by David.Ratti -Fix crashes from FScalableFloats caching raw curve pointers by invalidating cache on curve table swaps -Removed the old code that was trying to do this in the editor on reimport, which never actually worked properly. #rb none #tests golden path Change 3155228 on 2016/10/07 by Michael.Trepka Partial (Windows implementation only) copy of CL 3151851 from //UE4/Main Added DesktopRect and WorkArea to FMonitorInfo for desktop platforms and used that to fix an issue in SceneViewport where windowed fullscreen mode would be forced to primary monitor and incorrectly positioned on desktops where a taskbar/dock/etc. was on the left #rb Dmitry.Rekman #tests Tested in editor build on PC Change 3154910 on 2016/10/07 by Lukasz.Furman added new accessors in TSimpleCellGrid and inlined bunch of functions #ue4 #rb none #tests none Change 3154906 on 2016/10/07 by Lukasz.Furman adjusted comments for FGraphAStar #ue4 #rb none #tests none Change 3154679 on 2016/10/07 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 33 @ CL 3154662 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3154677 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3153638 on 2016/10/06 by Andrew.Grant Duplicating fix for UE-36087 from UE4 #rb #tests na Change 3153325 on 2016/10/06 by David.Ratti CurveTableSets: support for multiple spread sheets -Sovereign data located in Sovereign subfolder, cloned from base data. #rb none #tests PIE, golden path Change 3153318 on 2016/10/06 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge DUI @ CL 3152667 #RB:none #Tests:none [c0dereviewed]: kerrington.smith, matt.schembari #R0B0MERGE-SOURCE: CL 3153310 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3153268 on 2016/10/06 by David.Ratti Missed file for engine changes #rb none #tests none Change 3153264 on 2016/10/06 by David.Ratti Move some DetailCustomziation classes to public folder so that games can override/extend them. Also made some virtual functions to override the things paragon needs to. #rb none #tests paragon editor Change 3153204 on 2016/10/06 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 32.2/33 @ CL 3152587 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3153171 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3152699 on 2016/10/05 by Andrew.Grant I apologize for the mega-checkin but there are a lot of dependencies here, the work spiralled, and I've been cranking to get this in for the v33 branch. Please review and comment on what you know about and don't worry about the rest :) -Added options-struct to MallocLeak detection to allow filtering open callstacks by frame range and size. This is now used in Paragon automatic tests to dump out memory left loaded by the previous map. -PS4StackWalk now uses lowercase filenames as this is how non-UFS files are staged -Renamed Orion.Foo.cs test scripts to OrionTest.Foo.cs -Split some Orion tests into seprate scripts -Added concept of "TestControllers". These are constructed by OrionEngine based on the -test= commandline and provide a super-simple way to implent state-based logic and checks by overriding base class functions. -Added controllers for Boot, Soak, and Leak checks -Renamed SimpleSolo bot to SimpleSoak. Moved a lot of logic about match composition and state to OrionTestControllerSoak -Added new MatchStarted/MatchEnded delegates to OrionGameState for clients -Fixed issues where OrionGameState_Base::HasMatchStarted would return true for WaitingForPlayers and MatchCountdown -OrionBot code no longer caches command line since some TestControllers set it at runtime -Added some ensures in Draft logic to catch/guard against a crash being triggered by bots. #rb none #tests verified all of the above and much more! #c0dereview David.Ratti, Marcus.Wasmer,Michael.Noland Change 3152605 on 2016/10/05 by Andrew.Grant Suppressed warning about missing parent if parent package was in the KnownMissingPackageList Added Editor ScaleRef stuff to Orion to suppress cooked warning #rb none #c0dereview Marcus.Wassmer #tests Verified warning about ScaleRef being missing is gone Change 3152596 on 2016/10/05 by Andrew.Grant Made ASLR an option that can be disabled. Disabled ASLR for Paragon PS4 Test builds so symbol lookup is available for diagnostics. Made "don't optimize adaptive unity files" an official feature, off by default but turned on in Paragon #c0dereview Luke.Thatcher #rb none #tests Verified test build has symbols that can be resolved. Verified an adaptive unity file is non-optimized, but non-adaptive files are optimized as normal Change 3152399 on 2016/10/05 by Josh.Markiewicz #UE4 - temporary fix for OSS R0B0MERGE issue #rb david.nikdel #test compiles Change 3150916 on 2016/10/04 by Daniel.Lamb Removed warning when shader compiler is in a bad state. #rb Andrew.Grant #jira OR-29580 #test Cook paragon Change 3150889 on 2016/10/04 by Ben.Salem Add log feedback to automation harness when processing commands, including syntax helpers when an unhandled command is added. #rb adric.worley #tests Ran several commands to see log output. Change 3150844 on 2016/10/04 by Lukasz.Furman compilation fix #rb none #tests none Change 3150759 on 2016/10/04 by Lukasz.Furman added "hidden" state to gameplay debugger category #ue4 #rb Mieszko.Zielinski #tests config changes and PIE Change 3150758 on 2016/10/04 by Lukasz.Furman pass on SimpleCellGrid template to make it usable for local navigation grids #orion #rb Mieszko.Zielinski #tests PIE on agora, AI tactics debug on agora Change 3150567 on 2016/10/04 by Dan.Hertzka Rough initial implementation of a generic UI layer for moving widgets around to and from arbitrary locations. Lots of possible uses. For example, equipping a card in the card shop that then animates down into the correct hand slot. - Not in actual use anywhere yet #rb none #tests PIE Change 3150307 on 2016/10/04 by Laurent.Delayen Removed check() not considering SimulatedRootMotion for RemoteClients. #rb none #tests compiles Change 3150236 on 2016/10/04 by Josh.Markiewicz #UE4 - added documentation to FNetworkNotify interface - fixed bad UE_LOG category while double checking the above #rb none #tests compiles Change 3150206 on 2016/10/04 by Josh.Markiewicz #UE4 - moved ClientTravelToSession out of AGameSession and into UGameInstance - removed similar function from UGameInstanceCommon - more common usage location #rb none #c0dereview paul.moore #tests rejoin vectors and golden path Change 3150073 on 2016/10/04 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 32.2/33 @ CL 3150010 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3150072 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3150031 on 2016/10/04 by Mieszko.Zielinski New AIData provider that generated random numbers #UE4 #rb Lukasz.Furman #test golden path Change 3149946 on 2016/10/04 by Ben.Woodhouse Make UPrimitiveComponents (and derived variants) take proxy memory into account in GetResourceSize() We do this by dereferencing the SceneProxy directly, but this should be safe, since we NULL it on the gamethread before the proxy is released. #jira OR-26778 #rb luke.thatcher #tests compile, run Win64 with -game, run editor Change 3149743 on 2016/10/03 by Ben.Salem Null check for blank test names when making functional tests to repair crash on server. #rb nick.darnell #tests Ran multiple FTests Change 3149460 on 2016/10/03 by Laurent.Delayen Refactored TickCharacterPose. Now calls 'ShouldTickPose' so it can get properly obey bPauseAnims, MeshComponentUpdateFlag and other conditions. Still forces updates when playing networked root motion montages, and that check is now done inside of USkeletalMeshComponent::ShouldTickPose(). Fixes human players always calling TickPose regardless of settings on dedicated servers. Also addresses Jira UE-34720 #rb martin.wilson #tests networked Vamp x2 + golden path Change 3149435 on 2016/10/03 by Mieszko.Zielinski Fixed a bug in EQS item score normalization for the purposes of drawing #UE4 Also, made printed out scores not normalized since seeing original EQS calculated score desirable #rb Lukasz.Furman #test golden path Change 3148550 on 2016/10/03 by John.Barrett Fixed bad/blocking ensure added in FBitReader. OR-29219 #tests compile #rb none Change 3147460 on 2016/09/30 by Laurent.Delayen Fixed AOrionChar::UpdateAnimationTicking never setting EMeshComponentUpdateFlag::OnlyTickPoseWhenRendered, because OnMontageEnded() is called before the MontageInstance is actually removed and deleted. Added OnAllMontageInstancesEnded to AnimInstance, and used that to call UpdateAnimationTicking. #rb michael.noland #tests Golden Path Change 3146677 on 2016/09/30 by Jamie.Dale Fixed UGatherTextFromSourceCommandlet::ParseSourceText being able to underflow while parsing #rb Andrew.Rodham #tests Ran the gather Change 3146555 on 2016/09/30 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 32.2 @ CL 3146524 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3146553 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3146129 on 2016/09/29 by Michael.Noland Engine: Fixed the spectator camera (used in ToggleDebugCamera) so it moves consistently regardless of the slomo value by using the raw frame delta rather than trying to counter-correct for time dilation #c0dereview marc.audy #rb none #tests Tested ToggleDebugCamera with slomo 0.00001 Change 3145574 on 2016/09/29 by Adric.Worley Fix FunctionalTestingManager not compiling when included #tests compile #rb mieszko.zielinski Change 3145224 on 2016/09/29 by Michael.Trepka Better check for whether or not PreFullscreenWindowPlacement in FWindowsWindow is valid #rb Dmitry.Rekman #tests Tested editor build on PC Change 3145132 on 2016/09/29 by Alexis.Matte Make sure we use GetMesh instead of the SkeletalMeshPtr variable. #jira OR-29617 #rb matt.kuhlenschmidt #test none Change 3144926 on 2016/09/29 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 32.2 @ CL 3144835 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3144925 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3144920 on 2016/09/29 by Benn.Gallagher Added "Reset Clothing Sim" anim notify to trigger a clothing reset from an animation, to help with issues arising from extreme movements in animations. #rb James.Golding #tests Editor + -game vamp RMB abilities using new notify Change 3144055 on 2016/09/28 by Jason.Bestimt #R0B0MERGE-AUTHOR: ben.marsh BuildGraph: Fix builds created with preconditions on nodes behind triggers, causing nightly builds to run forever due to conditions never evaluating to true. #rb none #tests Compared exported job definition before and after #R0B0MERGE-SOURCE: CL 3143992 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3143801 on 2016/09/28 by Mieszko.Zielinski Made UAIBlueprintHelperLibrary::CreateMoveToProxyObject deduce WorldContextObject from Pawn if not received from BP #Orion Also, made failing to do so not fails a check #rb Lukasz.Furman #test golden path #c0dereview Aaron.Eady Change 3142377 on 2016/09/27 by Jason.Bestimt #R0B0MERGE-AUTHOR: marcus.wassmer Fix crashes when using GBuffer resources in simpleforward mode. #rb Daniel.Wright #test vamp Q on low settings. #R0B0MERGE-SOURCE: CL 3142376 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3141628 on 2016/09/27 by David.Ratti Guard against recursion in WaitGameplayEffectApplied ability task #rb none #tests pie crash case Change 3141497 on 2016/09/27 by Marcus.Wassmer Duplicate 3123743 Separate skeletal/static mesh lod interfaces #rb none #test created an LOD for vamp locally. Change 3140832 on 2016/09/26 by Jason.Bestimt #R0B0MERGE-AUTHOR: marcus.wassmer Remove dubious non-threadsafe GBuffer reference adjustments. Possibly fix OR-29506 #rb none #test PC on all settings #R0B0MERGE-SOURCE: CL 3140831 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3140828 on 2016/09/26 by Uriel.Doyon Workaround (reverting previous attemp) at fixing issue with FTextRenderSceneProxy when running command let. #rb marcus.wassmer #tests running lighting build with command let & loading editor Change 3140331 on 2016/09/26 by Jason.Bestimt #R0B0MERGE-AUTHOR: andrew.grant Cloning fix for UE-36253 from //UE4/Dev-Framework/... #rb #tests na #R0B0MERGE-SOURCE: CL 3140329 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3139976 on 2016/09/26 by David.Ratti balance tweaker + some prep for multiple data tables support #rb none #tests pie, golden path Change 3139904 on 2016/09/26 by Jason.Bestimt #R0B0MERGE-AUTHOR: andrew.grant Adding code to log name of package that refuses to load... #rb none #tests compiled #R0B0MERGE-SOURCE: CL 3139902 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3139871 on 2016/09/26 by Jason.Bestimt #R0B0MERGE-AUTHOR: andrew.grant Fixes for OR-29229 and OR-29413 #rb #tests na #R0B0MERGE-SOURCE: CL 3139870 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3139751 on 2016/09/26 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 32.2 @ CL 3139692 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3139740 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3139451 on 2016/09/25 by Uriel.Doyon Submitted a workaround for the lighting build command let crash. #rb none #tests loaded editor, built lighting command let Change 3138304 on 2016/09/23 by David.Ratti Fix checkslow in Debug editor #rb none #tests debug editor #c0dereview Martin.Wilson Change 3138068 on 2016/09/23 by Laurent.Delayen Don't try to match invalid GUIDs in FSmartNameMapping::GetNameByGuid. Fixes Steel's curves all getting matched to 'DistanceCurve' #rb martin.wilson #tests Steel's curve are not all 'DistanceCurve' Change 3137830 on 2016/09/23 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 32.2 @ CL 3137699 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3137746 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3137657 on 2016/09/23 by Ben.Marsh Fix initialization order warning. #rb none #tests none Change 3137628 on 2016/09/23 by bruce.nesbit Fixed non-unity compiles in LandscapeSplines and LandscapeSplineRaster #rb none #tests Compiled NU Change 3137538 on 2016/09/23 by Thomas.Sarkanen Fix crash rendering sequence with keyframed material parameters Ported Frank F's fix from Dev-Sequencer. Original CL 3136577: Sequencer - Always use a unique name when creating dynamic material instances for animation to prevent reuse and resource issues. #tests Rendered out problematic sequence successfully multiple times #rb none #jira UE-36175 - Keyframing material parameters can cause crashes when rendering #c0dereview Frank.Fella Change 3136580 on 2016/09/22 by Ben.Marsh Merging CL 3136158 to fix support for generating project files with Visual Studio Express. #rb none #tests none Change 3136574 on 2016/09/22 by Michael.Trepka Fixed a crash caused by trying to redraw window contents while switching from fullscreen to windowed mode #rb Marcus.Wassmer #tests Tested editor build on PC Change 3136293 on 2016/09/22 by Adric.Worley Add BlueprintType to EFunctionalTestResult #tests editor #rb ben.salem #c0dereview nick.darnell Change 3136240 on 2016/09/22 by Andrew.Grant Merging from //UE4/Main @ 3135156 #rb none #tests QA pass and local golden path Change 3136197 on 2016/09/22 by Jamie.Dale Merging CL# 3094477 and CL# 3111827 to fix some tesselated landscape crashes #rb Gareth.Martin #tests Loaded the map that was crashing Change 3135914 on 2016/09/22 by Dan.Youhon Fixed CharacterMovementComponent impulse net correction handling during additive root motion (part of #OR-5545) - Fixes #OR-28478, heroes tethered by Kwang cannot be knocked up - Fixes #OR-18985, Gideon R ability negating knockback/knockup effects (including Howitzer E) #rb None #tests MultiPIE #R0B0MERGE: MAIN, 32.2, 32.1 Change 3135893 on 2016/09/22 by David.Ratti GameplayCueeditir Change override type from a checkbox to a combobox to make things a little clearer #rb none #tests gameplaycue editor Change 3135843 on 2016/09/22 by jason.bestimt #ORION_MAIN - Merge 32.2 @ CL 3135756 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3135820 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) #R0B0MERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. //Orion/Dev-General/OrionGame/Content/Balance/HeroData.uasset - can't integrate exclusive file already opened //Orion/Dev-General/OrionGame/Content/Cards/Effects/P_ThunderCleaver.uasset - can't integrate exclusive file already opened //Orion/Dev-General/OrionGame/DataTables/HeroData.xlsm - can't integrate exclusive file already opened #c0dereview: jason.bestimt Change 3134639 on 2016/09/21 by jason.bestimt #ORION_MAIN - Merge 32.2 @ CL 3133910 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3134086 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) #R0B0MERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. #c0dereview: jason.bestimt Change 3134367 on 2016/09/21 by Ben.Woodhouse More complete fix for SSAO issues. Disable vertex fogging automatically if forward shading is disabled #rb daniel.wright #tests none Change 3134176 on 2016/09/21 by Jason.Bestimt #ORION_DG - UnrealPak speed improvements Moving shelved CL to DG and submitting for DanielL #RB:none #Tests:none #c0dereview: andrew.grant, daniel.lamb Change 3134129 on 2016/09/21 by Jamie.Dale Added the "unattended" flag when running the localzation commandlets via UAT #rb none #tests Built UAT Change 3133864 on 2016/09/21 by Ben.Woodhouse Default r.VertexFoggingForOpaque to 0, since it only makes sense for forward shading. This was causing fog to be modulated by SSAO in Orion. Note: this setting is overridden to 1 in Odin's DefaultEngine.ini, so it should work in that case. #c0dereview daniel.wright #rb luke.thatcher #jira OR-29262 #tests yes Change 3133849 on 2016/09/21 by Martin.Wilson Fix pose blending for on non-additive pose blending + remove normalising of weights for weights less than 1 #rb Jurre.DeBaare #tests Editor tests with mambo pose asset #jira UE-36189 Change 3133546 on 2016/09/20 by Jason.Bestimt #R0B0MERGE-AUTHOR: marcus.wassmer Null merge of 3131588. Fix from 31.1 is unncecessary as a more complete fix came from the engine integration that's in v32. #rb none #tests none [c0dereviewed] Jason.Bestimt #R0B0MERGE-SOURCE: CL 3132617 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3133487 on 2016/09/20 by Michael.Noland Automation: Added Automation to the manual autocomplete list Change 3133363 on 2016/09/20 by Daniel.Lamb Added Jaymee Sanford and Tony Oliva to the rebuild lighting email list. #rb Trivial #test Compile automation tool Change 3132956 on 2016/09/20 by Benn.Gallagher Fixed crash when importing clothing with mismatching number of triangles when compared to the original render data #tests Editor, apex reimport #rb none Change 3132403 on 2016/09/20 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 32.2 @ CL 3132254 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3132353 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3132332 on 2016/09/20 by Andrew.Grant Replicated UE4/Main fix for missing materials pane #rb none #tests verified material pane shows Change 3132131 on 2016/09/20 by Jason.Bestimt #R0B0MERGE-AUTHOR: andrew.grant Merging automation work from //Orion/Release-32.2 to Main #rb none #tests verified functionality #R0B0MERGE-SOURCE: CL 3132130 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3131698 on 2016/09/19 by Andrew.Grant Qucik fix to unblock build. Will follow up correct way tomorrow #rb none #tests blueprint compiles Change 3131489 on 2016/09/19 by Andrew.Grant Merging from //UE4/Orion-Staging (Source: //UE4/Main @ 3111290) #rb none #tests QA pass in Orion-Staging, Golden path post merge Change 3131350 on 2016/09/19 by Adric.Worley Fix functional test reporting typo #tests PIE #rb ben.salem Change 3130959 on 2016/09/19 by Mieszko.Zielinski Compilation fix #UE4 #rb none #test compilation Change 3130904 on 2016/09/19 by Mieszko.Zielinski Couple of generic AI perception fixes #UE4 Made unregistering AI sight source broadcast "no longer visible" information to all observers currently "seeing" the source Fixed FActorPerceptionInfo::GetLastStimulusLocation not carying whether selected stimulus was successfully sensed Fixed dominant sense not really working if not set with UAIPerceptionComponent::SetDominantSense call #rb Lukasz.Furman #test golden path Change 3130304 on 2016/09/19 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 32.2 @ CL 3130115 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3130164 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) [CL 3205566 by Andrew Grant in Main branch]
2016-11-20 21:35:35 -05:00
/// <summary>
/// Prefix used for all dynamically created Unity modules
/// </summary>
public const string ModulePrefix = "Module.";
Copying //UE4/Orion-Staging to //UE4/Main (Source: //Orion/Dev-General @ 3196521) #lockdown Nick.Penwarden Change 3196499 on 2016/11/14 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 34.3 @ CL 3196473 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3196498 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3195674 on 2016/11/11 by Laurent.Delayen Fix for twinblast ult mesh not disappearing at lower lods. (curves not getting properly update with URO) Fixes https://jira.it.epicgames.net/browse/OR-31509 #rb lina.halper #tests twinblast ult multiPIE Change 3195245 on 2016/11/11 by Dan.Hertzka Card crafting progress - Device responds to UI actions appropriately and infinitely - Backing out of device screen goes to card details first (i.e. doesn't take you all the way out of the screen) - CraftingDevice and CraftingDeviceNode now have a few natively-controlled timelines for reversible states - Non-reversible timelines all now play from start (so they work more than once) Engine-side: - Added an overload to UTimelineComponent::SetOnTimelineFinishedFunc() that takes a native (non-dynamic) delegate - Added a way to set the owning player of a UUserWidget via a local PlayerController (since ULocalPlayer isn't a BP type) - used to establish the owner of a WidgetComponent's widget #rb none #tests PIE crafting Change 3194616 on 2016/11/11 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 34.3 @ CL 3194604 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3194615 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3193875 on 2016/11/10 by Andrew.Grant Removed GameThreadWaitForTask fatal timeout if running in editor (assumption is that some operations can cause significant blocks, and that's ok.. #jira UE-38496 #tests compiled #rb none #c0dereview Marcus.Wassmer Change 3193368 on 2016/11/10 by Mieszko.Zielinski Fixed a bug in UCharacterMovementComponent::OnMovementModeChanged making UPathFollowingComponent::OnStartedFalling being sent too late #UE4 #rb Lukasz.Furman #test golden path Change 3193280 on 2016/11/10 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 34.2 @ CL 3193232 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3193279 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3192376 on 2016/11/09 by Laurent.Delayen RootMotion Sources: removed second check, as that was a perfectly valid case. Fixes https://jira.it.epicgames.net/browse/OR-31490 #rb none #tests riftmage blackhold multiPIE Change 3192243 on 2016/11/09 by Laurent.Delayen UAbilityTask_ApplyRootMotionMoveToActorForce replicates TimeMappingCurve to potentially fix https://jira.it.epicgames.net/browse/OR-31266 #rb none #tests Jump pads on Sovereign2 multiPIE Change 3191985 on 2016/11/09 by Laurent.Delayen Additional debug info for https://jira.it.epicgames.net/browse/OR-31300 #rb none #tests compiles Change 3191565 on 2016/11/09 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 34.2 @ CL 3191371 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3191564 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3190702 on 2016/11/08 by David.Ratti Fix PIE autologgin mcp problem #rb JoshM #tests PIE autologgin Change 3190591 on 2016/11/08 by Mieszko.Zielinski Added a way to RecastNavMesh to retrieve navigation links in a given tile #UE4 #rb Lukasz.Furman #test golden path Change 3190363 on 2016/11/08 by Frank.Gigliotti Root motion velocity clamping and bug fixes; * Added option to clamp velocity when ending MoveToActorForce, MoveToForce, and RadialForce root motions. * Disabled partial ticking on the FRootMotionSource_ConstantForce when applying the finishing velocity or clamping velocity on root motion ability tasks. This ensures the desired velocity is set correctly. * Added AbilityTask_ApplyRootMotion_Base as a base class for all root motion ability tasks. #RB David.Ratti, Zak.Middleton #c0dereview Zak.Middleton #Tests PIE - Multiple heroes with root motion abilities Change 3190344 on 2016/11/08 by Laurent.Delayen RootMotionSources: Tracking down https://jira.it.epicgames.net/browse/OR-31266 Testing for 'Matches' rule in more places, to track down where it breaks. Added more info. Switched check to ensure, so it doesn't prevent playtests. Minor tweaks: - Test for ID before TimeStamp - Changed auto to proper type. - Trim RootMotionIDMappings of outdated mappings since we can iterate over that array quite a bit. #rb none #tests multiPIE Change 3190217 on 2016/11/08 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 34.2 @ CL 3190009 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3190216 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3188560 on 2016/11/07 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 34.2 @ CL 3187796 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3188499 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3188012 on 2016/11/05 by Andrew.Grant Merging using ROBO://Orion/Main->//Orion/Dev-General #rb #tests na Change 3187818 on 2016/11/04 by Michael.Noland Editor: Refactored the game instance PIE creation hooks, allowing them to pass an error message back that will be displayed to the user explaining why PIE was aborted/failed to start - Fixed a potential crash trying to tear down a null world when UGameInstance::StartPlayInEditorGameInstance fails Upgrade notes: - UGameInstance::InitializePIE overrides should now override InitializeForPlayInEditor instead - UGameInstance::StartPIEGameInstance overrides should now override StartPlayInEditorGameInstance instead - These methods return a FGameInstancePIEResult which can be created via FGameInstancePIEResult::Success() or FGameInstancePIEResult::Failure(), and take a parameter struct to make it easier to send additional information in the future without breaking the signature again #rb matt.kuhlenscmidt #tests Tested various PIE configurations in Paragon Change 3187756 on 2016/11/04 by Michael.Noland Editor: Added support for games to respond to Play in Editor setting changes (by properly calling PostEditChange when the PIE/SIE menu options are picked/toggled) #tests Tested in Paragon by binding to FCoreUObjectDelegates::OnObjectPropertyChanged #rb ben.ziegler Change 3187258 on 2016/11/04 by Dan.Hertzka - UTextBlock::SetText is now virtual - OrionTextBlock has a property ("All Caps") that, if true, will always convert all text it's given to ALL CAPS #c0dereview Sean.Smith, Philip.Buuck, Marcel.Swanepoel, Bryan.Rathman #rb none #tests PIE Change 3187157 on 2016/11/04 by Jason.Bestimt #R0B0MERGE-AUTHOR: andrew.grant Case fix for staged files #rb Ben.Marsh #tests preflighted #R0B0MERGE-SOURCE: CL 3187153 in //Orion/Release-34/... via CL 3187154 via CL 3187155 via CL 3187156 #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3186870 on 2016/11/04 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 34.2 @ CL 3186846 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3186855 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3186243 on 2016/11/03 by Michael.Noland Engine: Fixed reporting of ScreenPct when the cvar is set directly rather than via game user settings - Also fixed a place that was using ScreenPct as an integer instead of a float in the OSVR plugin #jira OR-23184 #tests Tested by setting r.screenpercentage directly to a different value and inspecting the chart results #rb ben.ziegler Change 3185134 on 2016/11/03 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 34.2 @ CL 3185065 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3185131 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3183689 on 2016/11/02 by Aaron.McLeran OR-31091 Implementing 3175639 in Dev-General #rb zak.middleton #tests unplug headphones and observe no log spam or other issues Change 3183292 on 2016/11/02 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 34.2 @ CL 3182926 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3183084 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3182323 on 2016/11/01 by Dan.Hertzka Fix crash in sequencer when opening a widget BP with the sequencer tab closed (failed to null check) #c0dereview Nick.Darnell #rb Stephan.Jiang #tests none Change 3182295 on 2016/11/01 by Daniel.Lamb Fixed up routing BeginDestroy. #rb Andrew.Grant #jira OR-31043 #test Paragon win64 -game Change 3181975 on 2016/11/01 by Daniel.Lamb Make sure to remove safe zone delegate when canvas is destroyed. Moved registration of safe zone delegate to constructor. #rb Michael.Noland #jira OR-31043 #test Paragon win64 -game Change 3181895 on 2016/11/01 by Daniel.Lamb Make sure to remove safe zone delegate when canvas is destroyed. Moved registration of safe zone delegate to constructor. #rb Michael.Noland #jira OR-31043 #test Paragon win64 -game Change 3181892 on 2016/11/01 by Michael.Trepka Copy of CL 3162466 By default, do not compile Mac OpenGL and Metal SM4 shaders while cooking #rb Mark.Satterthwaite #jira UE-37088 #tests Cooked MacNoEditor data on Windows Change 3181624 on 2016/11/01 by David.Ratti Pass attribute value by reference through SetNumericValue_Internal so that the final/clamped value is what is broadcasted to attribute change delegates #rb none #tests golden path w/ extra logging to verify final value is what is broadcasted #c0dereview Billy.Bramer, Fred.Kimberley Change 3181574 on 2016/11/01 by Jason.Bestimt #ORION_DG - Fixing up R0B0MERGE issue #RB:none #Tests:none Change 3180859 on 2016/10/31 by Brian.Karis Removed SSAO from hair Change 3180320 on 2016/10/31 by Daniel.Lamb Added support for rebuild lighting commandlet to read maps to rebuild from ini file. #rb Andrew.Grant #test Paragon rebuild lighting #jira OR-30841 Change 3180227 on 2016/10/31 by Laurent.Delayen Disabled Warning to fix https://jira.it.epicgames.net/browse/OR-30965 Will be turned into a warning message in the BP editor. #c0dereview benn.gallagher #rb none #tests none Change 3179903 on 2016/10/31 by jason.bestimt #ORION_MAIN - Merge 34.2 @ CL 3179886 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3179895 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3177903 on 2016/10/28 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 34 @ CL 3177869 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3177901 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3175548 on 2016/10/26 by Michael.Noland GameplayAbilities: Change it so that delegates registered via RegisterGameplayAttributeEvent are still called on the client when there is no aggregator entry #rb david.ratti #c0dereview billy.bramer #tests Tested in multiplayer PIE client with a new minion callback and golden path in -game Change 3175544 on 2016/10/26 by Bart.Hawthorne Draft in replays improvements: - Marker added to timeline bar that shows when the level change happens - Added "Skip Draft" button when loading a replay which will bypass the draft - Only PvP matches will record replays - Added "Exit Replay" button to hamburger menu while in draft - No longer load hero data before viewing a replay if not skipping draft - Enable replay recording in PvP #rb john.pollard #c0dereview paul.moore #tests nomcp golden path up to spawnpoint, created and loaded several replays Change 3175533 on 2016/10/26 by Michael.Noland Fix for FMallocBinned::GetAllocationSize() for aligned allocations. #jira UE-37249 #jira UE-37243 #rb robert.manuszewski #lockdown robert.manuszewski [reimplementing CL# 3165739 from Release-4.13] #tests Compiled Change 3175311 on 2016/10/26 by Daniel.Lamb Added support for safe zone change. Messed up files in last checkin #test Ps4 paragon #jira OR-30506 #rb Matt.Kuhlenschmidt Change 3175298 on 2016/10/26 by Daniel.Lamb Added support for updating safe area #rb Matt.Kuhlenschmidt #c0dereview Andrew.Grant Nick.Darnell #test Ps4 paragon #jira OR-30506 Change 3175209 on 2016/10/26 by David.Ratti Fix a few cases where default gameplay cue parameters weren't initialized properly and could not be translated by the skin system. Fixes some mayan steel issues. #rb none #tests pie Change 3174858 on 2016/10/26 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 34/33.2 @ CL 3174784 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3174857 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3174822 on 2016/10/26 by Marcus.Wassmer Duplicate 3174187 #jira UE-37020 #rb marc.audy #test create/destroy effects with HQ lights in editor. Change 3174344 on 2016/10/25 by Ryan.Gerleve Added a bIsNetStartupComponent flag to UActorComponent. This will be set for components that are owned by an actor when that actor's bNetStartup flag is set. #rb john.pollard #tests golden path Change 3174270 on 2016/10/25 by Marcus.Wassmer Add LightingChannel control to High Quality particle lights. #rb none #test tested different lighting channels. Change 3173855 on 2016/10/25 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 34 @ CL 3173292 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3173361 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3173843 on 2016/10/25 by Michael.Trepka Update custom window controls on toggle fullscreen and make sure that when we switch to windowed mode we don't use window size that wouldn't fit on desktop #rb Matt.Kuhlenschmidt #tests Tested in editor build on PC Change 3173783 on 2016/10/25 by Dan.Youhon Add VelocityOnFinish mode options to RootMotionRadialForce so that designers can control what happens to a character's velocity when the ability task ends (part of #OR-30249) #rb None #tests MultiPIE Change 3173734 on 2016/10/25 by Dan.Youhon Protect against invalid Duration in FRootMotionSource_MoveToDynamicForce on simulated clients #OR-27128 #rb None #tests MultiPIE Change 3173714 on 2016/10/25 by David.Ratti Add Game and Engine Compat versions for replays #coderview John.Pollard #rb Lietz #tests golden path, replays Change 3173681 on 2016/10/25 by Bart.Hawthorne Implement drafting in replays. A replay spectator is spawned in the draft lobby so that the draft is saved out to the replay server, and clients are now able to travel in replays both when they occur "naturally" (at the same time as if they were a client), and also by scrubbing to a place in the timeline that's a different level. The feature is implemented but currently disabled by default - turn on by setting CVarEnableDraftInReplays to 1. Replays should function the same as before. Also fixed a warning on the dedicated server related to abandoning a draft. #rb john.pollard #c0dereview josh.markiewicz, paul.moore #tests nomcp golden path (up to spawning), recorded multiple replays and played back with lots of scrubbing Change 3173677 on 2016/10/25 by Andrew.Grant Reenabled audio thread Added safety wrapper to prevent code accidentally using events after they are returned to the pool. #tests na #rb Gil.Gribb Change 3173588 on 2016/10/25 by Ryan.Gerleve Added a replication condition to skip replays. #tests golden path #rb john.pollard Change 3172692 on 2016/10/24 by Marcus.Wassmer Fix OR-30390 caused by missing mutex lock #rb none #test compile ps4 Change 3172025 on 2016/10/24 by Matt.Kuhlenschmidt Fix blur widget not respecting clip rects #rb none #tests paragon blur widget clipping bugs Change 3171570 on 2016/10/23 by Mieszko.Zielinski Moved Bots' enemy selection eqs query triggering to native code #Orion Did this to be able to manually trigger enemy selection when current enemy dies, to avoid having a "null" enemy in BB for couple of ticks. Also, made couple of tweaks to positioning and tower attacking behavior of melee bots #rb none #test golden path Change 3171100 on 2016/10/21 by Aaron.Eady FGameplayCueTagDetails; Adding a check for if the RawStructData.Num > 0 before trying to use it. There was a case where you could crash the editor if you create a new GC tag inside of a BP, compile the BP, click Add New, select a GC type, then when the file is created, click away from it in the content browser. This repro wasn't 100% but often enough to caus a problem. #rb David.Ratti (actually wrote the code) #tests PIE Change 3171060 on 2016/10/21 by Ryan.Gerleve Some cleanup and fixes for deathcam: The recording demo net driver for the deathcam replay now uses checkpoint amortization to smooth out spikes. Converted UOrionKillcamPlayback::IsKillcamWorld to IsKillcamActor, since IsKillWorld isn't useful for the new single-world implementation. Converted a GetValueOnGameThread to GetValueOnAnyThread (wasn't in the merge) so that deathcam replay recording can happen on a thread. Added comment to UAbilitySystemComponent::OnComponentDestroyed. #rb john.pollard #tests golden path, enabled deathcam Change 3171041 on 2016/10/21 by Ryan.Gerleve Make the CheckpointSaveMaxMSPerFrame value a member of UDemoNetDriver so it can be set per instance, and convert the demo.CheckpointSaveMaxMSPerFrame cvar into an override for this value. #rb john.pollard #tests golden path Change 3170917 on 2016/10/21 by Mieszko.Zielinski Made a change to OrionBTTask_ObjectiveGraphMove to make it fallback to regular move if the destination is in the same or second-closest objective graph node #Orion #rb none #test golden path Change 3170914 on 2016/10/21 by Mieszko.Zielinski Fixed EQS scoring bug resulting in some items getting NaN scored #UE4 The NaN was happening when scoring but not filtering using a bool-based test, or when unintentionally skipping items by moving item iterator without doing any work. Removed a bunch of deprecated code while there #rb Lukasz.Furman #test golden path Change 3170912 on 2016/10/21 by Mieszko.Zielinski Manual merge of crucial BT fixed over from //Fortnite/Main #UE4 Original CL#3159145 , CL#3159892 #rb Lukasz.Furman #test golden path Change 3170478 on 2016/10/21 by David.Ratti fix editor crash related to recompiling gamplay cue blueprint while a preview animation is playing that invokes that gameplay cue. #rb none #tests editor Change 3170231 on 2016/10/21 by Ryan.Gerleve Fix for an issue that was preventing moving your hero after spawning in PIE in Agora: set the net driver on static level collections as well. #tests golden path, PIE #c0dereview john.pollard #rb none Change 3170074 on 2016/10/20 by Ryan.Gerleve Merging support for recording client replays in a task parallel with Slate (optimization for deathcam) from UE4/Dev-Networking. CL 3169209 #tests golden path, replays #rb none Change 3170019 on 2016/10/20 by Ryan.Gerleve Merging support for deathcam memory optimizations (level collection work) from UE4/Main and UE4/Dev-Networking. CLs: 3134499 3134771 3135279 3137140 3138081 3140413 3150142 3142515 3162189 3162194 #tests golden path #rb none Change 3169686 on 2016/10/20 by Michael.Trepka Fixed a Windows-specific problem with parts of the custom window buttons not accepting mouse clicks when the window is maximized due to window region used by FWindowsWindow::IsPointInWindow() being offset by border size. #rb Jeff.Campeau #tests Tested in editor build on PC Change 3169668 on 2016/10/20 by Max.Chen Sequencer - Don't crash when a bool track or visibility track has a null runtime object. Copy from Odin #rb none #tests opened a recorded sequence Change 3169657 on 2016/10/20 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_33 - Fix for localization export of web data Fixed export of localized formatted text - Removed the super-specific GetSourceTextsFromFormatHistory, and replaced it with the more-generic GetHistoricFormatData to get information about an FText that was generated via FText::Format. - Added GetHistoricNumericData to get information about an FText that was generated via FText::AsNumber or FText::AsPercent. - Updated the translation picker to use GetHistoricFormatData. - Removed the code from FMultiLocHelper that used GetSourceTextsFromFormatHistory as it wasn't actually needed. - Added code to FGameDataExporter to correctly localize a formatted text for a given culture, and re-format the result for export. [c0dereviewed]: jamie.dale #RB:none #Tests:Exported game data! #R0B0MERGE-SOURCE: CL 3169653 in //Orion/Release-33/... via CL 3169654 via CL 3169655 via CL 3169656 #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3169616 on 2016/10/20 by David.Ratti missed file #rb none #tests none Change 3169597 on 2016/10/20 by David.Ratti Missed include #rb DanH #tests none Change 3169393 on 2016/10/20 by David.Ratti AbilitySystem.GlobalAbilityScale cvar to help design iterate on animation/duration based tweaks #rb none #tests pie Change 3168287 on 2016/10/19 by Mieszko.Zielinski Expanded EQS info logged with vlog #UE4 #rb none #test golden path Change 3168282 on 2016/10/19 by David.Ratti Restore warning when multiple GC notifies try to handle the same tag. #rb none #tests compile, launch editor, see warnings, cry Change 3168196 on 2016/10/19 by Jon.Lietz compile fix, removing the int version of FirstActiveIndex and leaving the in32 version. #RB none #tests compiles Change 3168041 on 2016/10/19 by Michael.Trepka Don't restore saved resolution on window activation in non-fullscreen modes #rb Matt.Kuhlenschmidt #tests Tested in editor build on PC Change 3167859 on 2016/10/19 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Implementing in Dev-General for Joey since he needs the fix ASAP. #rb Jeff.Campeau #tests perform tests described in JIRA bug. Change 3167790 on 2016/10/19 by Andrew.Grant Duplication of 3167569 from //Odion/Main for Paragon cinematics #rb none #tests compiled Change 3167682 on 2016/10/19 by Laurent.Delayen Integrated #ORION_33.1 - Disabled WindSources on Cloth and AnimDynamics, as it's not safe to access from the GameThread. https://jira.it.epicgames.net/browse/OR-30473 #rb ori.cohen, benn.gallagher #tests Vamp, Kwang, Chains in Persona and PIE with WindActor in level. Change 3167466 on 2016/10/19 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 33.2 @ CL 3167368 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3167456 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3167312 on 2016/10/19 by Mieszko.Zielinski Fixed EQS template cache issues with multiple query run modes #UE4 #rb Lukasz.Furman #test golden path #jira UE-37496 Change 3166784 on 2016/10/18 by Laurent.Delayen Don't leave PhysicsBodies::bWindEnabled uninitialized in case Wind is not enabled (Persona) #rb none #c0dereview benn.gallagher #test Chains in Persona Change 3166641 on 2016/10/18 by Mieszko.Zielinski Made the value span used for EQS item score normalization configurable #UE4 #rb Lukasz.Furman #test golden path Change 3166632 on 2016/10/18 by Jason.Bestimt #R0B0MERGE-AUTHOR: andrew.grant Added support for multiple deployment sandboxes on PS4. BuildCookRun -deploy=SomeDir ps4.elf -deployedbuild=SomeDir Omitting name in -deploy/-deployedbuild falls back to previous default of using 'GameName' as the deployment sandbox. #tests BuildCookRun with -deploy and -deploy=Orion_v33, Ran PS4 with -deployedbuild and -deployedbuild=Orion_v33 [c0dereviewed] Marcus.Wassmer, Luke.Thatcher #rb none #R0B0MERGE-SOURCE: CL 3166622 in //Orion/Release-33/... via CL 3166629 via CL 3166630 via CL 3166631 #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3166494 on 2016/10/18 by Michael.Noland Engine: Removed irrelevant GPU stats from FPS chart server analytics reports #jira OR-13877 #rb david.ratti #tests Ran golden path on uncooked Win64, used forcewinmatch, and inspected the analytics arrays Change 3166476 on 2016/10/18 by Michael.Noland Cooker: Deleting dead GenerateManifestInfo methods #tests Compiled #rb none #c0dereview daniel.lamb Change 3166471 on 2016/10/18 by Michael.Noland Making sure DebugWorlds/DebugWorldNames are in sync, since we expect an index from one to match the other (fixes an issue where users could select a debug world and the wrong one was chosen). [reimplementing CL# 3157138 by Mike.Beach] #jira UE-37107 #rb Dan.OConnor #tests Tested multiplayer PIE and opening an anim BP Change 3166460 on 2016/10/18 by Michael.Noland Particles: Prevent log spam on servers about stripped emitters #rb graeme.thornton [reimplementing CL# 3157862 by Simon.Tovey] #tests Ran an uncooked server and tested golden path Change 3166339 on 2016/10/18 by Laurent.Delayen oops, this file got away. #rb none #tests none Change 3166337 on 2016/10/18 by Laurent.Delayen Fix for AnimDynamics Wind crash. https://jira.it.epicgames.net/browse/OR-30351 Access WindParameters on GameThread. Also minor optimization: don't iterate over bodies every frame if wind is off. #rb benn.gallagher #c0dereview lina.halper, thomas.sarkanen #tests Vamp Change 3166207 on 2016/10/18 by Mieszko.Zielinski Bot perception work #Orion Added a new sense that makes bots know about enemies visible on the minimap Made jungle minions do not register as sight sources Cleaned up bot perception component a bit #rb none #test golden path Change 3166138 on 2016/10/18 by Michael.Noland Blueprints: Converted a crash with the debug world name in the BP editor to an ensure until it can be fixed properly (see OR-29650) #c0dereview dan.oconnor #rb none #tests Tested opening an anim BP during multiplayer PIE Change 3165860 on 2016/10/18 by David.Ratti remove some debug code that wasn't intended to be checked in #rb none #tests compile Change 3165288 on 2016/10/17 by Ian.Fox #XMPP - Add correlation id attribute to outgoing stanzas #RB Rob.Cannaday #Tests Correlation IDs come back in responses to xmpp messages we send #JIRA OGS-409 Change 3165096 on 2016/10/17 by David.Ratti Fix issue where gameplay tags net indices would be out of sync on cooked PS4 client playing on uncooked windows servers. Would cause some effects to not play. #rb none #tests PS4/PC crossplay Change 3164973 on 2016/10/17 by Dan.Hertzka Fix link error #rb #tests compile Change 3164910 on 2016/10/17 by Lukasz.Furman fixed bug in merging behavior tree searches copy of CL 3164903 #ue4 #rb Mieszko.Zielinski #tests none Change 3164908 on 2016/10/17 by Dan.Hertzka Exposing the blur widget for use in Paragon ** Use OrionBlurWidget, not the base BackgroundBlurWidget - Added it to the hero and default tooltips for reference #rb none #c0dereview Marcel.Swanepoel, Sean.Smith, Bryan.Rathman #tests PIE Change 3164482 on 2016/10/17 by David.Ratti Editor loadtime improvements * Refactor GameplayCue manager to support two distinct object library sets: Runtime and Editor. Editor library operates on all valid gameplay cue paths but never loads or scans, only reflects what asset registry has found. Runtime library is the initial loaded paths + any explicit requests. These scan when needed and async load at startup. * Wrote UOrionAsyncLoadRequestQueue to feed the async load queue with requests at startup. This is to avoid submitting 300+ requests at startup and have them flushed by a sync load. The editor will wait until it is fully initialized before kicking these off. * Changed UOrionUIManagerWidget to weakly reference all of its state widgets. In non editor builds these are all loaded at startup like before. In editor builds, we sync load them on demand. This allows us to not load everything in order to PIE. * Added options for loading various pieces of data at editor startup: HUDwidget V4, last used hero data, and shared gameplay cues. * -game -nomcp will now properly async load initial set of data * BeginLoadAsyncData no longer takes netmode as parameter since it is confusing and can just use IsDedicatedServer() internally * Added new log category: LogOrionStartup #rb none #c0dereview Dan.Hertzka #tests pie, golden path, cooked PS4 Change 3163635 on 2016/10/14 by Laurent.Delayen AnimInstance: Pass a few FNames by reference instead of by value. Added CalcSlotMontageLocalWeight to get local a slot's local weight without a frame a lag. Fixed Montage update happening after native update on gamethread, but before native update on worker thread. Now happens before both, so we can reliably get montage weights without a frame of lag regardless of where we access it. #rb none #c0dereview martin.wilson, thomas.sarkanen #tests fixes Twinblast's primary fire blend out having a frame a lag. Change 3163620 on 2016/10/14 by Laurent.Delayen AnimNode_Slot debug: Show actual slot local weight, instead of always 1. #rb none #c0dereview martin.wilson #tests twinblast debug Change 3163061 on 2016/10/14 by Andrew.Grant Pulling test framework changes into seprate CL #rb #tests na Change 3162675 on 2016/10/13 by Jason.Bestimt #R0B0MERGE-AUTHOR: andrew.grant Merging test framework changes down early. #rb #tests na #R0B0MERGE-SOURCE: CL 3162674 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3162062 on 2016/10/13 by Michael.Trepka Replaced FWindowsCursor hack for warping the mouse cursor to the center of the viewport with a better fix for the original problem (users being able to resize the window while the cursor is hidden and the mouse controls the camera). This change removes round window corners in borderless window mode and disables window resizing when the cursor is hidden. #rb Matt.Kuhlenschmidt #tests Tested in editor build on PC Change 3161489 on 2016/10/13 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 33.2 @ CL 3161453 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3161473 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3160664 on 2016/10/12 by Ben.Salem Fix logic order error fuzzy matching on automated tests - we were only allowing one match per filter instead of one match per test. #rb adric.worley #tests Ran All Ftests that start with S Change 3159866 on 2016/10/12 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 33.2 @ CL 3159727 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3159865 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3158870 on 2016/10/11 by John.Barrett Fixed issue where some PacketHandler parsing errors, would not stop NetConnection processing of packets, and would not trigger a disconnect. #JIRA OR-29219 #rb none #tests compiles, client/server Change 3158336 on 2016/10/11 by Lukasz.Furman string pulling for local navigation grids #ue4 #rb Mieszko.Zielinski #tests PIE Change 3158203 on 2016/10/11 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 33.2 @ CL 3158043 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3158154 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3158162 on 2016/10/11 by Matt.Kuhlenschmidt Added a blur widget to umg that applies a blur effect to whatever is behind the widget - The widget has a content slot that can be used to display unblurred content on top of the blur - The widget has a low quality mode brush that can be applied instead of the background blur. This is enabled by the cvar Slate.ForceBackgroundBlurLowQualityOverride=1 - This widget is currently expermental and must be subclassed to be used #tests Tested on PS4, PC, Mac (opengl and metal) #rb nick.darnell Change 3157232 on 2016/10/10 by Lukasz.Furman added local navigation grids: dynamic obstacles on static navmesh #ue4 #rb Mieszko.Zielinski #tests none, disabled by default Change 3157112 on 2016/10/10 by Laurent.Delayen Removed my layer anim node fix, since Martin did a similar fix. #rb none #tests compiles #c0dereview martin.wilson Change 3156789 on 2016/10/10 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 33.2 @ CL 3156726 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3156788 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3156717 on 2016/10/10 by Jason.Bestimt #R0B0MERGE-AUTHOR: andrew.grant Merging 3156681 from //Orion/Release-33 to Main #rb #tests na #R0B0MERGE-SOURCE: CL 3156713 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3156596 on 2016/10/10 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node (recreated from dev-framework CL 3112086) #Jira OR-30017 #rb Lina.Halper #tests Tested affected anim nodes in editor Change 3156149 on 2016/10/08 by Jason.Bestimt #R0B0MERGE-AUTHOR: andrew.grant Merging test framework changes from //Orion/Release-33.2 to Main (//Orion/Main) #rb #tests na #R0B0MERGE-SOURCE: CL 3156148 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3155444 on 2016/10/07 by David.Ratti -Fix crashes from FScalableFloats caching raw curve pointers by invalidating cache on curve table swaps -Removed the old code that was trying to do this in the editor on reimport, which never actually worked properly. #rb none #tests golden path Change 3155228 on 2016/10/07 by Michael.Trepka Partial (Windows implementation only) copy of CL 3151851 from //UE4/Main Added DesktopRect and WorkArea to FMonitorInfo for desktop platforms and used that to fix an issue in SceneViewport where windowed fullscreen mode would be forced to primary monitor and incorrectly positioned on desktops where a taskbar/dock/etc. was on the left #rb Dmitry.Rekman #tests Tested in editor build on PC Change 3154910 on 2016/10/07 by Lukasz.Furman added new accessors in TSimpleCellGrid and inlined bunch of functions #ue4 #rb none #tests none Change 3154906 on 2016/10/07 by Lukasz.Furman adjusted comments for FGraphAStar #ue4 #rb none #tests none Change 3154679 on 2016/10/07 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 33 @ CL 3154662 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3154677 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3153638 on 2016/10/06 by Andrew.Grant Duplicating fix for UE-36087 from UE4 #rb #tests na Change 3153325 on 2016/10/06 by David.Ratti CurveTableSets: support for multiple spread sheets -Sovereign data located in Sovereign subfolder, cloned from base data. #rb none #tests PIE, golden path Change 3153318 on 2016/10/06 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge DUI @ CL 3152667 #RB:none #Tests:none [c0dereviewed]: kerrington.smith, matt.schembari #R0B0MERGE-SOURCE: CL 3153310 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3153268 on 2016/10/06 by David.Ratti Missed file for engine changes #rb none #tests none Change 3153264 on 2016/10/06 by David.Ratti Move some DetailCustomziation classes to public folder so that games can override/extend them. Also made some virtual functions to override the things paragon needs to. #rb none #tests paragon editor Change 3153204 on 2016/10/06 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 32.2/33 @ CL 3152587 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3153171 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3152699 on 2016/10/05 by Andrew.Grant I apologize for the mega-checkin but there are a lot of dependencies here, the work spiralled, and I've been cranking to get this in for the v33 branch. Please review and comment on what you know about and don't worry about the rest :) -Added options-struct to MallocLeak detection to allow filtering open callstacks by frame range and size. This is now used in Paragon automatic tests to dump out memory left loaded by the previous map. -PS4StackWalk now uses lowercase filenames as this is how non-UFS files are staged -Renamed Orion.Foo.cs test scripts to OrionTest.Foo.cs -Split some Orion tests into seprate scripts -Added concept of "TestControllers". These are constructed by OrionEngine based on the -test= commandline and provide a super-simple way to implent state-based logic and checks by overriding base class functions. -Added controllers for Boot, Soak, and Leak checks -Renamed SimpleSolo bot to SimpleSoak. Moved a lot of logic about match composition and state to OrionTestControllerSoak -Added new MatchStarted/MatchEnded delegates to OrionGameState for clients -Fixed issues where OrionGameState_Base::HasMatchStarted would return true for WaitingForPlayers and MatchCountdown -OrionBot code no longer caches command line since some TestControllers set it at runtime -Added some ensures in Draft logic to catch/guard against a crash being triggered by bots. #rb none #tests verified all of the above and much more! #c0dereview David.Ratti, Marcus.Wasmer,Michael.Noland Change 3152605 on 2016/10/05 by Andrew.Grant Suppressed warning about missing parent if parent package was in the KnownMissingPackageList Added Editor ScaleRef stuff to Orion to suppress cooked warning #rb none #c0dereview Marcus.Wassmer #tests Verified warning about ScaleRef being missing is gone Change 3152596 on 2016/10/05 by Andrew.Grant Made ASLR an option that can be disabled. Disabled ASLR for Paragon PS4 Test builds so symbol lookup is available for diagnostics. Made "don't optimize adaptive unity files" an official feature, off by default but turned on in Paragon #c0dereview Luke.Thatcher #rb none #tests Verified test build has symbols that can be resolved. Verified an adaptive unity file is non-optimized, but non-adaptive files are optimized as normal Change 3152399 on 2016/10/05 by Josh.Markiewicz #UE4 - temporary fix for OSS R0B0MERGE issue #rb david.nikdel #test compiles Change 3150916 on 2016/10/04 by Daniel.Lamb Removed warning when shader compiler is in a bad state. #rb Andrew.Grant #jira OR-29580 #test Cook paragon Change 3150889 on 2016/10/04 by Ben.Salem Add log feedback to automation harness when processing commands, including syntax helpers when an unhandled command is added. #rb adric.worley #tests Ran several commands to see log output. Change 3150844 on 2016/10/04 by Lukasz.Furman compilation fix #rb none #tests none Change 3150759 on 2016/10/04 by Lukasz.Furman added "hidden" state to gameplay debugger category #ue4 #rb Mieszko.Zielinski #tests config changes and PIE Change 3150758 on 2016/10/04 by Lukasz.Furman pass on SimpleCellGrid template to make it usable for local navigation grids #orion #rb Mieszko.Zielinski #tests PIE on agora, AI tactics debug on agora Change 3150567 on 2016/10/04 by Dan.Hertzka Rough initial implementation of a generic UI layer for moving widgets around to and from arbitrary locations. Lots of possible uses. For example, equipping a card in the card shop that then animates down into the correct hand slot. - Not in actual use anywhere yet #rb none #tests PIE Change 3150307 on 2016/10/04 by Laurent.Delayen Removed check() not considering SimulatedRootMotion for RemoteClients. #rb none #tests compiles Change 3150236 on 2016/10/04 by Josh.Markiewicz #UE4 - added documentation to FNetworkNotify interface - fixed bad UE_LOG category while double checking the above #rb none #tests compiles Change 3150206 on 2016/10/04 by Josh.Markiewicz #UE4 - moved ClientTravelToSession out of AGameSession and into UGameInstance - removed similar function from UGameInstanceCommon - more common usage location #rb none #c0dereview paul.moore #tests rejoin vectors and golden path Change 3150073 on 2016/10/04 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 32.2/33 @ CL 3150010 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3150072 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3150031 on 2016/10/04 by Mieszko.Zielinski New AIData provider that generated random numbers #UE4 #rb Lukasz.Furman #test golden path Change 3149946 on 2016/10/04 by Ben.Woodhouse Make UPrimitiveComponents (and derived variants) take proxy memory into account in GetResourceSize() We do this by dereferencing the SceneProxy directly, but this should be safe, since we NULL it on the gamethread before the proxy is released. #jira OR-26778 #rb luke.thatcher #tests compile, run Win64 with -game, run editor Change 3149743 on 2016/10/03 by Ben.Salem Null check for blank test names when making functional tests to repair crash on server. #rb nick.darnell #tests Ran multiple FTests Change 3149460 on 2016/10/03 by Laurent.Delayen Refactored TickCharacterPose. Now calls 'ShouldTickPose' so it can get properly obey bPauseAnims, MeshComponentUpdateFlag and other conditions. Still forces updates when playing networked root motion montages, and that check is now done inside of USkeletalMeshComponent::ShouldTickPose(). Fixes human players always calling TickPose regardless of settings on dedicated servers. Also addresses Jira UE-34720 #rb martin.wilson #tests networked Vamp x2 + golden path Change 3149435 on 2016/10/03 by Mieszko.Zielinski Fixed a bug in EQS item score normalization for the purposes of drawing #UE4 Also, made printed out scores not normalized since seeing original EQS calculated score desirable #rb Lukasz.Furman #test golden path Change 3148550 on 2016/10/03 by John.Barrett Fixed bad/blocking ensure added in FBitReader. OR-29219 #tests compile #rb none Change 3147460 on 2016/09/30 by Laurent.Delayen Fixed AOrionChar::UpdateAnimationTicking never setting EMeshComponentUpdateFlag::OnlyTickPoseWhenRendered, because OnMontageEnded() is called before the MontageInstance is actually removed and deleted. Added OnAllMontageInstancesEnded to AnimInstance, and used that to call UpdateAnimationTicking. #rb michael.noland #tests Golden Path Change 3146677 on 2016/09/30 by Jamie.Dale Fixed UGatherTextFromSourceCommandlet::ParseSourceText being able to underflow while parsing #rb Andrew.Rodham #tests Ran the gather Change 3146555 on 2016/09/30 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 32.2 @ CL 3146524 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3146553 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3146129 on 2016/09/29 by Michael.Noland Engine: Fixed the spectator camera (used in ToggleDebugCamera) so it moves consistently regardless of the slomo value by using the raw frame delta rather than trying to counter-correct for time dilation #c0dereview marc.audy #rb none #tests Tested ToggleDebugCamera with slomo 0.00001 Change 3145574 on 2016/09/29 by Adric.Worley Fix FunctionalTestingManager not compiling when included #tests compile #rb mieszko.zielinski Change 3145224 on 2016/09/29 by Michael.Trepka Better check for whether or not PreFullscreenWindowPlacement in FWindowsWindow is valid #rb Dmitry.Rekman #tests Tested editor build on PC Change 3145132 on 2016/09/29 by Alexis.Matte Make sure we use GetMesh instead of the SkeletalMeshPtr variable. #jira OR-29617 #rb matt.kuhlenschmidt #test none Change 3144926 on 2016/09/29 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 32.2 @ CL 3144835 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3144925 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3144920 on 2016/09/29 by Benn.Gallagher Added "Reset Clothing Sim" anim notify to trigger a clothing reset from an animation, to help with issues arising from extreme movements in animations. #rb James.Golding #tests Editor + -game vamp RMB abilities using new notify Change 3144055 on 2016/09/28 by Jason.Bestimt #R0B0MERGE-AUTHOR: ben.marsh BuildGraph: Fix builds created with preconditions on nodes behind triggers, causing nightly builds to run forever due to conditions never evaluating to true. #rb none #tests Compared exported job definition before and after #R0B0MERGE-SOURCE: CL 3143992 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3143801 on 2016/09/28 by Mieszko.Zielinski Made UAIBlueprintHelperLibrary::CreateMoveToProxyObject deduce WorldContextObject from Pawn if not received from BP #Orion Also, made failing to do so not fails a check #rb Lukasz.Furman #test golden path #c0dereview Aaron.Eady Change 3142377 on 2016/09/27 by Jason.Bestimt #R0B0MERGE-AUTHOR: marcus.wassmer Fix crashes when using GBuffer resources in simpleforward mode. #rb Daniel.Wright #test vamp Q on low settings. #R0B0MERGE-SOURCE: CL 3142376 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3141628 on 2016/09/27 by David.Ratti Guard against recursion in WaitGameplayEffectApplied ability task #rb none #tests pie crash case Change 3141497 on 2016/09/27 by Marcus.Wassmer Duplicate 3123743 Separate skeletal/static mesh lod interfaces #rb none #test created an LOD for vamp locally. Change 3140832 on 2016/09/26 by Jason.Bestimt #R0B0MERGE-AUTHOR: marcus.wassmer Remove dubious non-threadsafe GBuffer reference adjustments. Possibly fix OR-29506 #rb none #test PC on all settings #R0B0MERGE-SOURCE: CL 3140831 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3140828 on 2016/09/26 by Uriel.Doyon Workaround (reverting previous attemp) at fixing issue with FTextRenderSceneProxy when running command let. #rb marcus.wassmer #tests running lighting build with command let & loading editor Change 3140331 on 2016/09/26 by Jason.Bestimt #R0B0MERGE-AUTHOR: andrew.grant Cloning fix for UE-36253 from //UE4/Dev-Framework/... #rb #tests na #R0B0MERGE-SOURCE: CL 3140329 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3139976 on 2016/09/26 by David.Ratti balance tweaker + some prep for multiple data tables support #rb none #tests pie, golden path Change 3139904 on 2016/09/26 by Jason.Bestimt #R0B0MERGE-AUTHOR: andrew.grant Adding code to log name of package that refuses to load... #rb none #tests compiled #R0B0MERGE-SOURCE: CL 3139902 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3139871 on 2016/09/26 by Jason.Bestimt #R0B0MERGE-AUTHOR: andrew.grant Fixes for OR-29229 and OR-29413 #rb #tests na #R0B0MERGE-SOURCE: CL 3139870 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3139751 on 2016/09/26 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 32.2 @ CL 3139692 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3139740 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3139451 on 2016/09/25 by Uriel.Doyon Submitted a workaround for the lighting build command let crash. #rb none #tests loaded editor, built lighting command let Change 3138304 on 2016/09/23 by David.Ratti Fix checkslow in Debug editor #rb none #tests debug editor #c0dereview Martin.Wilson Change 3138068 on 2016/09/23 by Laurent.Delayen Don't try to match invalid GUIDs in FSmartNameMapping::GetNameByGuid. Fixes Steel's curves all getting matched to 'DistanceCurve' #rb martin.wilson #tests Steel's curve are not all 'DistanceCurve' Change 3137830 on 2016/09/23 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 32.2 @ CL 3137699 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3137746 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3137657 on 2016/09/23 by Ben.Marsh Fix initialization order warning. #rb none #tests none Change 3137628 on 2016/09/23 by bruce.nesbit Fixed non-unity compiles in LandscapeSplines and LandscapeSplineRaster #rb none #tests Compiled NU Change 3137538 on 2016/09/23 by Thomas.Sarkanen Fix crash rendering sequence with keyframed material parameters Ported Frank F's fix from Dev-Sequencer. Original CL 3136577: Sequencer - Always use a unique name when creating dynamic material instances for animation to prevent reuse and resource issues. #tests Rendered out problematic sequence successfully multiple times #rb none #jira UE-36175 - Keyframing material parameters can cause crashes when rendering #c0dereview Frank.Fella Change 3136580 on 2016/09/22 by Ben.Marsh Merging CL 3136158 to fix support for generating project files with Visual Studio Express. #rb none #tests none Change 3136574 on 2016/09/22 by Michael.Trepka Fixed a crash caused by trying to redraw window contents while switching from fullscreen to windowed mode #rb Marcus.Wassmer #tests Tested editor build on PC Change 3136293 on 2016/09/22 by Adric.Worley Add BlueprintType to EFunctionalTestResult #tests editor #rb ben.salem #c0dereview nick.darnell Change 3136240 on 2016/09/22 by Andrew.Grant Merging from //UE4/Main @ 3135156 #rb none #tests QA pass and local golden path Change 3136197 on 2016/09/22 by Jamie.Dale Merging CL# 3094477 and CL# 3111827 to fix some tesselated landscape crashes #rb Gareth.Martin #tests Loaded the map that was crashing Change 3135914 on 2016/09/22 by Dan.Youhon Fixed CharacterMovementComponent impulse net correction handling during additive root motion (part of #OR-5545) - Fixes #OR-28478, heroes tethered by Kwang cannot be knocked up - Fixes #OR-18985, Gideon R ability negating knockback/knockup effects (including Howitzer E) #rb None #tests MultiPIE #R0B0MERGE: MAIN, 32.2, 32.1 Change 3135893 on 2016/09/22 by David.Ratti GameplayCueeditir Change override type from a checkbox to a combobox to make things a little clearer #rb none #tests gameplaycue editor Change 3135843 on 2016/09/22 by jason.bestimt #ORION_MAIN - Merge 32.2 @ CL 3135756 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3135820 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) #R0B0MERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. //Orion/Dev-General/OrionGame/Content/Balance/HeroData.uasset - can't integrate exclusive file already opened //Orion/Dev-General/OrionGame/Content/Cards/Effects/P_ThunderCleaver.uasset - can't integrate exclusive file already opened //Orion/Dev-General/OrionGame/DataTables/HeroData.xlsm - can't integrate exclusive file already opened #c0dereview: jason.bestimt Change 3134639 on 2016/09/21 by jason.bestimt #ORION_MAIN - Merge 32.2 @ CL 3133910 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3134086 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) #R0B0MERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. #c0dereview: jason.bestimt Change 3134367 on 2016/09/21 by Ben.Woodhouse More complete fix for SSAO issues. Disable vertex fogging automatically if forward shading is disabled #rb daniel.wright #tests none Change 3134176 on 2016/09/21 by Jason.Bestimt #ORION_DG - UnrealPak speed improvements Moving shelved CL to DG and submitting for DanielL #RB:none #Tests:none #c0dereview: andrew.grant, daniel.lamb Change 3134129 on 2016/09/21 by Jamie.Dale Added the "unattended" flag when running the localzation commandlets via UAT #rb none #tests Built UAT Change 3133864 on 2016/09/21 by Ben.Woodhouse Default r.VertexFoggingForOpaque to 0, since it only makes sense for forward shading. This was causing fog to be modulated by SSAO in Orion. Note: this setting is overridden to 1 in Odin's DefaultEngine.ini, so it should work in that case. #c0dereview daniel.wright #rb luke.thatcher #jira OR-29262 #tests yes Change 3133849 on 2016/09/21 by Martin.Wilson Fix pose blending for on non-additive pose blending + remove normalising of weights for weights less than 1 #rb Jurre.DeBaare #tests Editor tests with mambo pose asset #jira UE-36189 Change 3133546 on 2016/09/20 by Jason.Bestimt #R0B0MERGE-AUTHOR: marcus.wassmer Null merge of 3131588. Fix from 31.1 is unncecessary as a more complete fix came from the engine integration that's in v32. #rb none #tests none [c0dereviewed] Jason.Bestimt #R0B0MERGE-SOURCE: CL 3132617 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3133487 on 2016/09/20 by Michael.Noland Automation: Added Automation to the manual autocomplete list Change 3133363 on 2016/09/20 by Daniel.Lamb Added Jaymee Sanford and Tony Oliva to the rebuild lighting email list. #rb Trivial #test Compile automation tool Change 3132956 on 2016/09/20 by Benn.Gallagher Fixed crash when importing clothing with mismatching number of triangles when compared to the original render data #tests Editor, apex reimport #rb none Change 3132403 on 2016/09/20 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 32.2 @ CL 3132254 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3132353 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3132332 on 2016/09/20 by Andrew.Grant Replicated UE4/Main fix for missing materials pane #rb none #tests verified material pane shows Change 3132131 on 2016/09/20 by Jason.Bestimt #R0B0MERGE-AUTHOR: andrew.grant Merging automation work from //Orion/Release-32.2 to Main #rb none #tests verified functionality #R0B0MERGE-SOURCE: CL 3132130 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3131698 on 2016/09/19 by Andrew.Grant Qucik fix to unblock build. Will follow up correct way tomorrow #rb none #tests blueprint compiles Change 3131489 on 2016/09/19 by Andrew.Grant Merging from //UE4/Orion-Staging (Source: //UE4/Main @ 3111290) #rb none #tests QA pass in Orion-Staging, Golden path post merge Change 3131350 on 2016/09/19 by Adric.Worley Fix functional test reporting typo #tests PIE #rb ben.salem Change 3130959 on 2016/09/19 by Mieszko.Zielinski Compilation fix #UE4 #rb none #test compilation Change 3130904 on 2016/09/19 by Mieszko.Zielinski Couple of generic AI perception fixes #UE4 Made unregistering AI sight source broadcast "no longer visible" information to all observers currently "seeing" the source Fixed FActorPerceptionInfo::GetLastStimulusLocation not carying whether selected stimulus was successfully sensed Fixed dominant sense not really working if not set with UAIPerceptionComponent::SetDominantSense call #rb Lukasz.Furman #test golden path Change 3130304 on 2016/09/19 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 32.2 @ CL 3130115 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3130164 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) [CL 3205566 by Andrew Grant in Main branch]
2016-11-20 21:35:35 -05:00
Merging UE4-Pretest @ 2042161 to UE4 Change 1996384 by Andrew Brown: 322252 - EDITOR: Asset picker displays incorrect text when there are no filter results. Change 1996385 by Andrew Brown: 321858 - CRASH: Assertion failed: (Index >= 0) Function: STransformViewportToolBar::GetLocationGridLabel() STextBlock::CacheDesiredSize() Change 1996977 by Andrew Brown: 309685 - UE4: Adding an event/renaming an event on an event track in Matinee does not update the MatineeActor node in blueprint Change 2034873 by Jaroslaw Palczynski: More robust VS installation detection. Change 2039693 by Jaroslaw Palczynski: 327268 - RocketGDC: POSTLAUNCH: DEV: Make engine more robust against bad Visual Studio environment variables Change 1978978 by Jaroslaw Surowiec: - Removed obsolete AllowEliminatingReferences from the FArchive Change 2020326 by Maciej Mroz: pretest BP K2Node: RemovePinsFromOldPins function moved from K2Node to RemovePinsFromOldPins Change 2017608 by Maciej Mroz: pretest Some changes in SFortMissionEventSelector caused by FPinTypeTreeInfo Change 2017463 by Maciej Mroz: PinTypeSelector can lins unloaded UDStructs Change 2019979 by Maciej Mroz: pretest BP: Crash when performing Diff against Depot with blueprints containing Format Text nodes Change 2024469 by Maciej Mroz: MemberReference variable added to PinType. It's necessary for delegate's signature. Change 2024049 by Maciej Mroz: HasExternalBlueprintDependencies added to UK2Node_DynamicCast Change 2024586 by Maciej Mroz: FillSimpleMemberReference fix Change 2024472 by Maciej Mroz: workaround for delegates signature in pintype removed. Change 2023997 by Maciej Mroz: BP, UDStruc: Class UserDefinedStructEditorData added. It fixes many problems with undo/redo. Change 2021934 by Maciej Mroz: typo in a comment Change 2020355 by Maciej Mroz: Back out changelist 2020342 Change 2022178 by Maciej Mroz: CRASH: PRETEST: EDITOR: UDS: Crash when undo then redo new variable in struct that is used by blueprint Change 2021958 by Maciej Mroz: CRASH: PRETEST: EDITOR: UDS: Crash using variable of a type of copied struct in blueprint Change 1986247 by Maciej Mroz: User Defined Structures: circle dependency fixed. Early version. Change 1985107 by Maciej Mroz: UserDefinedStruct cannot have a field of a non-native type Change 1986278 by Maciej Mroz: pretest ensureMsgf in Struct::link Change 1986250 by Maciej Mroz: User Defined Struct: Non native classes are accepted types od values in structures. Change 1980955 by Maciej Mroz: Using AssetPtr and LazyPtr as UFunction parameter (intput or return) is explicitly disallowed. Change 2041215 by Maciej Mroz: ttp331249 BLOCKER: PRETEST: UI: Survive the Storm is missing the Mission HUD. Change 1984316 by Maciej Mroz: New User Defined Structure. WIP - there are still problems with circular dependencies. Change 2011616 by Maciej Mroz: UserDefinedStructures - various problems fixed. Change 2011609 by Maciej Mroz: more robust HasExternalBlueprintDependencies implementation Change 2016697 by Maciej Mroz: pretest BP: UDStruct - default value propagation in cooked build Change 2016288 by Maciej Mroz: pretest BP: UDStruct: Renaming variables wont break links from make/break nodes Change 1987637 by Maciej Mroz: CustomStruct icons placeholders Change 1987422 by Maciej Mroz: Better tooltips for variables in MyBlueprint Change 1991387 by Maciej Mroz: UDStructures fixes: Change 2029165 by Maciej Mroz: BP: better comment for incomatible pins Change 2030016 by Maciej Mroz: 8PRETEST: EDITOR: UDS: Defaults values aren't updated in struct type variables in blueprints Change 2030017 by Maciej Mroz: Unused UDStructure code removed (PPF_UseDefaultsForUDStructures) Change 2028856 by Maciej Mroz: BP: Pins with PC_Struct type are compatible only with exactly the same structure. (No derived structures are not handled as compatible). Change 2026701 by Maciej Mroz: k2: odd error on an add item node within a function (see attached image in details) Change 2028160 by Maciej Mroz: PRETEST: EDITOR: UDS: When deleting structures just after creating there is always some references in the memory Change 2028165 by Maciej Mroz: BP: BreakHitResult function has proper icon. Change 2033340 by Maciej Mroz: ttp330786 PRETEST: EDITOR: UDS: Changes of default values aren't apllied to breeak nodes for text type of variables Change 2034255 by Maciej Mroz: EDITOR: UDS: Changes of default values aren't apllied to make nodes for text type of variables ttp#330620 Change 2037682 by Maciej Mroz: ttp331309 BLOCKER: PRETEST: CRASH: EDITOR: Crash occurs when performing Diff Against Depot on any Blueprint Change 2033142 by Maciej Mroz: CreateDelegate Node uses internally FMemberReference. Refactor. Change 2032329 by Maciej Mroz: ttp330608 CRASH: PRETEST: EDITOR: UDS: Crash when trying to use struct named 'Color' in blueprint Change 2032420 by Maciej Mroz: ttp330620 PRETEST: EDITOR: UDS: Changes of default values aren't apllied to make nodes for text type of variables Change 2033139 by Maciej Mroz: Functions generated from CustomEvents can be also identified by GUID Change 2026631 by Maciej Mroz: BP. UDStruct: Invalid structs are handled better. Change 2025344 by Maciej Mroz: UDStruct enabled by default Change 2026672 by Maciej Mroz: EDITOR: BP: Can't easily remove 'pass-by-reference' pins on ReturnNodes Change 2026411 by Maciej Mroz: ExposeOnSpawn updated, it supports UDStructs, custom native Structs, and it throws compiler error. Change 2025342 by Maciej Mroz: GenerateBlueprintSkeleton moved from BLueprint::Serialize to RegenerateBlueprintClass, because SkeletonClass compilation requires all external dependencies to be loaded and linked. Change 2025570 by Steve Robb: Moved dependency processing to its own function. Change 2033235 by Steve Robb: String improvements Change 2035830 by Steve Robb: Workaround for FriendsAndChat crash in Fortnite. Change 2035115 by Steve Robb: UBT build time regression fixes. Change 2034162 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere Change 2034181 by Steve Robb: Removal of any references to .generated.inl Change 2020165 by Steve Robb: BuildPublicAndPrivateUObjectHeaders factored out into its own function. Change 2020187 by Steve Robb: CreateModuleCompileEnvironment function factored out. Change 2020055 by Steve Robb: Refactoring of Unity.cs to remove complex and duplicate iteration. Change 2020083 by Steve Robb: Another use of dictionary utilities. Change 2031049 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere Change 2025728 by Steve Robb: Refactored the application of a shared PCH file to multiple file into a single ApplySharedPCH function. Change 2020068 by Steve Robb: A couple of helpful utility functions for populating dictionaries. Change 2032307 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere [CL 2054495 by Robert Manuszewski in Main branch]
2014-04-23 20:18:55 -04:00
/// <summary>
/// A class which represents a list of files and the sum of their lengths.
/// </summary>
public class FileCollection
{
public List<FileItem> Files { get; private set; }
public List<FileItem> VirtualFiles { get; private set; }
public long TotalLength { get; private set; }
Merging UE4-Pretest @ 2042161 to UE4 Change 1996384 by Andrew Brown: 322252 - EDITOR: Asset picker displays incorrect text when there are no filter results. Change 1996385 by Andrew Brown: 321858 - CRASH: Assertion failed: (Index >= 0) Function: STransformViewportToolBar::GetLocationGridLabel() STextBlock::CacheDesiredSize() Change 1996977 by Andrew Brown: 309685 - UE4: Adding an event/renaming an event on an event track in Matinee does not update the MatineeActor node in blueprint Change 2034873 by Jaroslaw Palczynski: More robust VS installation detection. Change 2039693 by Jaroslaw Palczynski: 327268 - RocketGDC: POSTLAUNCH: DEV: Make engine more robust against bad Visual Studio environment variables Change 1978978 by Jaroslaw Surowiec: - Removed obsolete AllowEliminatingReferences from the FArchive Change 2020326 by Maciej Mroz: pretest BP K2Node: RemovePinsFromOldPins function moved from K2Node to RemovePinsFromOldPins Change 2017608 by Maciej Mroz: pretest Some changes in SFortMissionEventSelector caused by FPinTypeTreeInfo Change 2017463 by Maciej Mroz: PinTypeSelector can lins unloaded UDStructs Change 2019979 by Maciej Mroz: pretest BP: Crash when performing Diff against Depot with blueprints containing Format Text nodes Change 2024469 by Maciej Mroz: MemberReference variable added to PinType. It's necessary for delegate's signature. Change 2024049 by Maciej Mroz: HasExternalBlueprintDependencies added to UK2Node_DynamicCast Change 2024586 by Maciej Mroz: FillSimpleMemberReference fix Change 2024472 by Maciej Mroz: workaround for delegates signature in pintype removed. Change 2023997 by Maciej Mroz: BP, UDStruc: Class UserDefinedStructEditorData added. It fixes many problems with undo/redo. Change 2021934 by Maciej Mroz: typo in a comment Change 2020355 by Maciej Mroz: Back out changelist 2020342 Change 2022178 by Maciej Mroz: CRASH: PRETEST: EDITOR: UDS: Crash when undo then redo new variable in struct that is used by blueprint Change 2021958 by Maciej Mroz: CRASH: PRETEST: EDITOR: UDS: Crash using variable of a type of copied struct in blueprint Change 1986247 by Maciej Mroz: User Defined Structures: circle dependency fixed. Early version. Change 1985107 by Maciej Mroz: UserDefinedStruct cannot have a field of a non-native type Change 1986278 by Maciej Mroz: pretest ensureMsgf in Struct::link Change 1986250 by Maciej Mroz: User Defined Struct: Non native classes are accepted types od values in structures. Change 1980955 by Maciej Mroz: Using AssetPtr and LazyPtr as UFunction parameter (intput or return) is explicitly disallowed. Change 2041215 by Maciej Mroz: ttp331249 BLOCKER: PRETEST: UI: Survive the Storm is missing the Mission HUD. Change 1984316 by Maciej Mroz: New User Defined Structure. WIP - there are still problems with circular dependencies. Change 2011616 by Maciej Mroz: UserDefinedStructures - various problems fixed. Change 2011609 by Maciej Mroz: more robust HasExternalBlueprintDependencies implementation Change 2016697 by Maciej Mroz: pretest BP: UDStruct - default value propagation in cooked build Change 2016288 by Maciej Mroz: pretest BP: UDStruct: Renaming variables wont break links from make/break nodes Change 1987637 by Maciej Mroz: CustomStruct icons placeholders Change 1987422 by Maciej Mroz: Better tooltips for variables in MyBlueprint Change 1991387 by Maciej Mroz: UDStructures fixes: Change 2029165 by Maciej Mroz: BP: better comment for incomatible pins Change 2030016 by Maciej Mroz: 8PRETEST: EDITOR: UDS: Defaults values aren't updated in struct type variables in blueprints Change 2030017 by Maciej Mroz: Unused UDStructure code removed (PPF_UseDefaultsForUDStructures) Change 2028856 by Maciej Mroz: BP: Pins with PC_Struct type are compatible only with exactly the same structure. (No derived structures are not handled as compatible). Change 2026701 by Maciej Mroz: k2: odd error on an add item node within a function (see attached image in details) Change 2028160 by Maciej Mroz: PRETEST: EDITOR: UDS: When deleting structures just after creating there is always some references in the memory Change 2028165 by Maciej Mroz: BP: BreakHitResult function has proper icon. Change 2033340 by Maciej Mroz: ttp330786 PRETEST: EDITOR: UDS: Changes of default values aren't apllied to breeak nodes for text type of variables Change 2034255 by Maciej Mroz: EDITOR: UDS: Changes of default values aren't apllied to make nodes for text type of variables ttp#330620 Change 2037682 by Maciej Mroz: ttp331309 BLOCKER: PRETEST: CRASH: EDITOR: Crash occurs when performing Diff Against Depot on any Blueprint Change 2033142 by Maciej Mroz: CreateDelegate Node uses internally FMemberReference. Refactor. Change 2032329 by Maciej Mroz: ttp330608 CRASH: PRETEST: EDITOR: UDS: Crash when trying to use struct named 'Color' in blueprint Change 2032420 by Maciej Mroz: ttp330620 PRETEST: EDITOR: UDS: Changes of default values aren't apllied to make nodes for text type of variables Change 2033139 by Maciej Mroz: Functions generated from CustomEvents can be also identified by GUID Change 2026631 by Maciej Mroz: BP. UDStruct: Invalid structs are handled better. Change 2025344 by Maciej Mroz: UDStruct enabled by default Change 2026672 by Maciej Mroz: EDITOR: BP: Can't easily remove 'pass-by-reference' pins on ReturnNodes Change 2026411 by Maciej Mroz: ExposeOnSpawn updated, it supports UDStructs, custom native Structs, and it throws compiler error. Change 2025342 by Maciej Mroz: GenerateBlueprintSkeleton moved from BLueprint::Serialize to RegenerateBlueprintClass, because SkeletonClass compilation requires all external dependencies to be loaded and linked. Change 2025570 by Steve Robb: Moved dependency processing to its own function. Change 2033235 by Steve Robb: String improvements Change 2035830 by Steve Robb: Workaround for FriendsAndChat crash in Fortnite. Change 2035115 by Steve Robb: UBT build time regression fixes. Change 2034162 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere Change 2034181 by Steve Robb: Removal of any references to .generated.inl Change 2020165 by Steve Robb: BuildPublicAndPrivateUObjectHeaders factored out into its own function. Change 2020187 by Steve Robb: CreateModuleCompileEnvironment function factored out. Change 2020055 by Steve Robb: Refactoring of Unity.cs to remove complex and duplicate iteration. Change 2020083 by Steve Robb: Another use of dictionary utilities. Change 2031049 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere Change 2025728 by Steve Robb: Refactored the application of a shared PCH file to multiple file into a single ApplySharedPCH function. Change 2020068 by Steve Robb: A couple of helpful utility functions for populating dictionaries. Change 2032307 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere [CL 2054495 by Robert Manuszewski in Main branch]
2014-04-23 20:18:55 -04:00
/// The length of this file collection, plus any additional virtual space needed for bUseAdapativeUnityBuild.
/// See the comment above AddVirtualFile() below for more information.
public long VirtualLength { get; private set; }
Merging UE4-Pretest @ 2042161 to UE4 Change 1996384 by Andrew Brown: 322252 - EDITOR: Asset picker displays incorrect text when there are no filter results. Change 1996385 by Andrew Brown: 321858 - CRASH: Assertion failed: (Index >= 0) Function: STransformViewportToolBar::GetLocationGridLabel() STextBlock::CacheDesiredSize() Change 1996977 by Andrew Brown: 309685 - UE4: Adding an event/renaming an event on an event track in Matinee does not update the MatineeActor node in blueprint Change 2034873 by Jaroslaw Palczynski: More robust VS installation detection. Change 2039693 by Jaroslaw Palczynski: 327268 - RocketGDC: POSTLAUNCH: DEV: Make engine more robust against bad Visual Studio environment variables Change 1978978 by Jaroslaw Surowiec: - Removed obsolete AllowEliminatingReferences from the FArchive Change 2020326 by Maciej Mroz: pretest BP K2Node: RemovePinsFromOldPins function moved from K2Node to RemovePinsFromOldPins Change 2017608 by Maciej Mroz: pretest Some changes in SFortMissionEventSelector caused by FPinTypeTreeInfo Change 2017463 by Maciej Mroz: PinTypeSelector can lins unloaded UDStructs Change 2019979 by Maciej Mroz: pretest BP: Crash when performing Diff against Depot with blueprints containing Format Text nodes Change 2024469 by Maciej Mroz: MemberReference variable added to PinType. It's necessary for delegate's signature. Change 2024049 by Maciej Mroz: HasExternalBlueprintDependencies added to UK2Node_DynamicCast Change 2024586 by Maciej Mroz: FillSimpleMemberReference fix Change 2024472 by Maciej Mroz: workaround for delegates signature in pintype removed. Change 2023997 by Maciej Mroz: BP, UDStruc: Class UserDefinedStructEditorData added. It fixes many problems with undo/redo. Change 2021934 by Maciej Mroz: typo in a comment Change 2020355 by Maciej Mroz: Back out changelist 2020342 Change 2022178 by Maciej Mroz: CRASH: PRETEST: EDITOR: UDS: Crash when undo then redo new variable in struct that is used by blueprint Change 2021958 by Maciej Mroz: CRASH: PRETEST: EDITOR: UDS: Crash using variable of a type of copied struct in blueprint Change 1986247 by Maciej Mroz: User Defined Structures: circle dependency fixed. Early version. Change 1985107 by Maciej Mroz: UserDefinedStruct cannot have a field of a non-native type Change 1986278 by Maciej Mroz: pretest ensureMsgf in Struct::link Change 1986250 by Maciej Mroz: User Defined Struct: Non native classes are accepted types od values in structures. Change 1980955 by Maciej Mroz: Using AssetPtr and LazyPtr as UFunction parameter (intput or return) is explicitly disallowed. Change 2041215 by Maciej Mroz: ttp331249 BLOCKER: PRETEST: UI: Survive the Storm is missing the Mission HUD. Change 1984316 by Maciej Mroz: New User Defined Structure. WIP - there are still problems with circular dependencies. Change 2011616 by Maciej Mroz: UserDefinedStructures - various problems fixed. Change 2011609 by Maciej Mroz: more robust HasExternalBlueprintDependencies implementation Change 2016697 by Maciej Mroz: pretest BP: UDStruct - default value propagation in cooked build Change 2016288 by Maciej Mroz: pretest BP: UDStruct: Renaming variables wont break links from make/break nodes Change 1987637 by Maciej Mroz: CustomStruct icons placeholders Change 1987422 by Maciej Mroz: Better tooltips for variables in MyBlueprint Change 1991387 by Maciej Mroz: UDStructures fixes: Change 2029165 by Maciej Mroz: BP: better comment for incomatible pins Change 2030016 by Maciej Mroz: 8PRETEST: EDITOR: UDS: Defaults values aren't updated in struct type variables in blueprints Change 2030017 by Maciej Mroz: Unused UDStructure code removed (PPF_UseDefaultsForUDStructures) Change 2028856 by Maciej Mroz: BP: Pins with PC_Struct type are compatible only with exactly the same structure. (No derived structures are not handled as compatible). Change 2026701 by Maciej Mroz: k2: odd error on an add item node within a function (see attached image in details) Change 2028160 by Maciej Mroz: PRETEST: EDITOR: UDS: When deleting structures just after creating there is always some references in the memory Change 2028165 by Maciej Mroz: BP: BreakHitResult function has proper icon. Change 2033340 by Maciej Mroz: ttp330786 PRETEST: EDITOR: UDS: Changes of default values aren't apllied to breeak nodes for text type of variables Change 2034255 by Maciej Mroz: EDITOR: UDS: Changes of default values aren't apllied to make nodes for text type of variables ttp#330620 Change 2037682 by Maciej Mroz: ttp331309 BLOCKER: PRETEST: CRASH: EDITOR: Crash occurs when performing Diff Against Depot on any Blueprint Change 2033142 by Maciej Mroz: CreateDelegate Node uses internally FMemberReference. Refactor. Change 2032329 by Maciej Mroz: ttp330608 CRASH: PRETEST: EDITOR: UDS: Crash when trying to use struct named 'Color' in blueprint Change 2032420 by Maciej Mroz: ttp330620 PRETEST: EDITOR: UDS: Changes of default values aren't apllied to make nodes for text type of variables Change 2033139 by Maciej Mroz: Functions generated from CustomEvents can be also identified by GUID Change 2026631 by Maciej Mroz: BP. UDStruct: Invalid structs are handled better. Change 2025344 by Maciej Mroz: UDStruct enabled by default Change 2026672 by Maciej Mroz: EDITOR: BP: Can't easily remove 'pass-by-reference' pins on ReturnNodes Change 2026411 by Maciej Mroz: ExposeOnSpawn updated, it supports UDStructs, custom native Structs, and it throws compiler error. Change 2025342 by Maciej Mroz: GenerateBlueprintSkeleton moved from BLueprint::Serialize to RegenerateBlueprintClass, because SkeletonClass compilation requires all external dependencies to be loaded and linked. Change 2025570 by Steve Robb: Moved dependency processing to its own function. Change 2033235 by Steve Robb: String improvements Change 2035830 by Steve Robb: Workaround for FriendsAndChat crash in Fortnite. Change 2035115 by Steve Robb: UBT build time regression fixes. Change 2034162 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere Change 2034181 by Steve Robb: Removal of any references to .generated.inl Change 2020165 by Steve Robb: BuildPublicAndPrivateUObjectHeaders factored out into its own function. Change 2020187 by Steve Robb: CreateModuleCompileEnvironment function factored out. Change 2020055 by Steve Robb: Refactoring of Unity.cs to remove complex and duplicate iteration. Change 2020083 by Steve Robb: Another use of dictionary utilities. Change 2031049 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere Change 2025728 by Steve Robb: Refactored the application of a shared PCH file to multiple file into a single ApplySharedPCH function. Change 2020068 by Steve Robb: A couple of helpful utility functions for populating dictionaries. Change 2032307 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere [CL 2054495 by Robert Manuszewski in Main branch]
2014-04-23 20:18:55 -04:00
public FileCollection()
{
Files = new List<FileItem>();
VirtualFiles = new List<FileItem>();
Merging UE4-Pretest @ 2042161 to UE4 Change 1996384 by Andrew Brown: 322252 - EDITOR: Asset picker displays incorrect text when there are no filter results. Change 1996385 by Andrew Brown: 321858 - CRASH: Assertion failed: (Index >= 0) Function: STransformViewportToolBar::GetLocationGridLabel() STextBlock::CacheDesiredSize() Change 1996977 by Andrew Brown: 309685 - UE4: Adding an event/renaming an event on an event track in Matinee does not update the MatineeActor node in blueprint Change 2034873 by Jaroslaw Palczynski: More robust VS installation detection. Change 2039693 by Jaroslaw Palczynski: 327268 - RocketGDC: POSTLAUNCH: DEV: Make engine more robust against bad Visual Studio environment variables Change 1978978 by Jaroslaw Surowiec: - Removed obsolete AllowEliminatingReferences from the FArchive Change 2020326 by Maciej Mroz: pretest BP K2Node: RemovePinsFromOldPins function moved from K2Node to RemovePinsFromOldPins Change 2017608 by Maciej Mroz: pretest Some changes in SFortMissionEventSelector caused by FPinTypeTreeInfo Change 2017463 by Maciej Mroz: PinTypeSelector can lins unloaded UDStructs Change 2019979 by Maciej Mroz: pretest BP: Crash when performing Diff against Depot with blueprints containing Format Text nodes Change 2024469 by Maciej Mroz: MemberReference variable added to PinType. It's necessary for delegate's signature. Change 2024049 by Maciej Mroz: HasExternalBlueprintDependencies added to UK2Node_DynamicCast Change 2024586 by Maciej Mroz: FillSimpleMemberReference fix Change 2024472 by Maciej Mroz: workaround for delegates signature in pintype removed. Change 2023997 by Maciej Mroz: BP, UDStruc: Class UserDefinedStructEditorData added. It fixes many problems with undo/redo. Change 2021934 by Maciej Mroz: typo in a comment Change 2020355 by Maciej Mroz: Back out changelist 2020342 Change 2022178 by Maciej Mroz: CRASH: PRETEST: EDITOR: UDS: Crash when undo then redo new variable in struct that is used by blueprint Change 2021958 by Maciej Mroz: CRASH: PRETEST: EDITOR: UDS: Crash using variable of a type of copied struct in blueprint Change 1986247 by Maciej Mroz: User Defined Structures: circle dependency fixed. Early version. Change 1985107 by Maciej Mroz: UserDefinedStruct cannot have a field of a non-native type Change 1986278 by Maciej Mroz: pretest ensureMsgf in Struct::link Change 1986250 by Maciej Mroz: User Defined Struct: Non native classes are accepted types od values in structures. Change 1980955 by Maciej Mroz: Using AssetPtr and LazyPtr as UFunction parameter (intput or return) is explicitly disallowed. Change 2041215 by Maciej Mroz: ttp331249 BLOCKER: PRETEST: UI: Survive the Storm is missing the Mission HUD. Change 1984316 by Maciej Mroz: New User Defined Structure. WIP - there are still problems with circular dependencies. Change 2011616 by Maciej Mroz: UserDefinedStructures - various problems fixed. Change 2011609 by Maciej Mroz: more robust HasExternalBlueprintDependencies implementation Change 2016697 by Maciej Mroz: pretest BP: UDStruct - default value propagation in cooked build Change 2016288 by Maciej Mroz: pretest BP: UDStruct: Renaming variables wont break links from make/break nodes Change 1987637 by Maciej Mroz: CustomStruct icons placeholders Change 1987422 by Maciej Mroz: Better tooltips for variables in MyBlueprint Change 1991387 by Maciej Mroz: UDStructures fixes: Change 2029165 by Maciej Mroz: BP: better comment for incomatible pins Change 2030016 by Maciej Mroz: 8PRETEST: EDITOR: UDS: Defaults values aren't updated in struct type variables in blueprints Change 2030017 by Maciej Mroz: Unused UDStructure code removed (PPF_UseDefaultsForUDStructures) Change 2028856 by Maciej Mroz: BP: Pins with PC_Struct type are compatible only with exactly the same structure. (No derived structures are not handled as compatible). Change 2026701 by Maciej Mroz: k2: odd error on an add item node within a function (see attached image in details) Change 2028160 by Maciej Mroz: PRETEST: EDITOR: UDS: When deleting structures just after creating there is always some references in the memory Change 2028165 by Maciej Mroz: BP: BreakHitResult function has proper icon. Change 2033340 by Maciej Mroz: ttp330786 PRETEST: EDITOR: UDS: Changes of default values aren't apllied to breeak nodes for text type of variables Change 2034255 by Maciej Mroz: EDITOR: UDS: Changes of default values aren't apllied to make nodes for text type of variables ttp#330620 Change 2037682 by Maciej Mroz: ttp331309 BLOCKER: PRETEST: CRASH: EDITOR: Crash occurs when performing Diff Against Depot on any Blueprint Change 2033142 by Maciej Mroz: CreateDelegate Node uses internally FMemberReference. Refactor. Change 2032329 by Maciej Mroz: ttp330608 CRASH: PRETEST: EDITOR: UDS: Crash when trying to use struct named 'Color' in blueprint Change 2032420 by Maciej Mroz: ttp330620 PRETEST: EDITOR: UDS: Changes of default values aren't apllied to make nodes for text type of variables Change 2033139 by Maciej Mroz: Functions generated from CustomEvents can be also identified by GUID Change 2026631 by Maciej Mroz: BP. UDStruct: Invalid structs are handled better. Change 2025344 by Maciej Mroz: UDStruct enabled by default Change 2026672 by Maciej Mroz: EDITOR: BP: Can't easily remove 'pass-by-reference' pins on ReturnNodes Change 2026411 by Maciej Mroz: ExposeOnSpawn updated, it supports UDStructs, custom native Structs, and it throws compiler error. Change 2025342 by Maciej Mroz: GenerateBlueprintSkeleton moved from BLueprint::Serialize to RegenerateBlueprintClass, because SkeletonClass compilation requires all external dependencies to be loaded and linked. Change 2025570 by Steve Robb: Moved dependency processing to its own function. Change 2033235 by Steve Robb: String improvements Change 2035830 by Steve Robb: Workaround for FriendsAndChat crash in Fortnite. Change 2035115 by Steve Robb: UBT build time regression fixes. Change 2034162 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere Change 2034181 by Steve Robb: Removal of any references to .generated.inl Change 2020165 by Steve Robb: BuildPublicAndPrivateUObjectHeaders factored out into its own function. Change 2020187 by Steve Robb: CreateModuleCompileEnvironment function factored out. Change 2020055 by Steve Robb: Refactoring of Unity.cs to remove complex and duplicate iteration. Change 2020083 by Steve Robb: Another use of dictionary utilities. Change 2031049 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere Change 2025728 by Steve Robb: Refactored the application of a shared PCH file to multiple file into a single ApplySharedPCH function. Change 2020068 by Steve Robb: A couple of helpful utility functions for populating dictionaries. Change 2032307 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere [CL 2054495 by Robert Manuszewski in Main branch]
2014-04-23 20:18:55 -04:00
TotalLength = 0;
VirtualLength = 0;
Merging UE4-Pretest @ 2042161 to UE4 Change 1996384 by Andrew Brown: 322252 - EDITOR: Asset picker displays incorrect text when there are no filter results. Change 1996385 by Andrew Brown: 321858 - CRASH: Assertion failed: (Index >= 0) Function: STransformViewportToolBar::GetLocationGridLabel() STextBlock::CacheDesiredSize() Change 1996977 by Andrew Brown: 309685 - UE4: Adding an event/renaming an event on an event track in Matinee does not update the MatineeActor node in blueprint Change 2034873 by Jaroslaw Palczynski: More robust VS installation detection. Change 2039693 by Jaroslaw Palczynski: 327268 - RocketGDC: POSTLAUNCH: DEV: Make engine more robust against bad Visual Studio environment variables Change 1978978 by Jaroslaw Surowiec: - Removed obsolete AllowEliminatingReferences from the FArchive Change 2020326 by Maciej Mroz: pretest BP K2Node: RemovePinsFromOldPins function moved from K2Node to RemovePinsFromOldPins Change 2017608 by Maciej Mroz: pretest Some changes in SFortMissionEventSelector caused by FPinTypeTreeInfo Change 2017463 by Maciej Mroz: PinTypeSelector can lins unloaded UDStructs Change 2019979 by Maciej Mroz: pretest BP: Crash when performing Diff against Depot with blueprints containing Format Text nodes Change 2024469 by Maciej Mroz: MemberReference variable added to PinType. It's necessary for delegate's signature. Change 2024049 by Maciej Mroz: HasExternalBlueprintDependencies added to UK2Node_DynamicCast Change 2024586 by Maciej Mroz: FillSimpleMemberReference fix Change 2024472 by Maciej Mroz: workaround for delegates signature in pintype removed. Change 2023997 by Maciej Mroz: BP, UDStruc: Class UserDefinedStructEditorData added. It fixes many problems with undo/redo. Change 2021934 by Maciej Mroz: typo in a comment Change 2020355 by Maciej Mroz: Back out changelist 2020342 Change 2022178 by Maciej Mroz: CRASH: PRETEST: EDITOR: UDS: Crash when undo then redo new variable in struct that is used by blueprint Change 2021958 by Maciej Mroz: CRASH: PRETEST: EDITOR: UDS: Crash using variable of a type of copied struct in blueprint Change 1986247 by Maciej Mroz: User Defined Structures: circle dependency fixed. Early version. Change 1985107 by Maciej Mroz: UserDefinedStruct cannot have a field of a non-native type Change 1986278 by Maciej Mroz: pretest ensureMsgf in Struct::link Change 1986250 by Maciej Mroz: User Defined Struct: Non native classes are accepted types od values in structures. Change 1980955 by Maciej Mroz: Using AssetPtr and LazyPtr as UFunction parameter (intput or return) is explicitly disallowed. Change 2041215 by Maciej Mroz: ttp331249 BLOCKER: PRETEST: UI: Survive the Storm is missing the Mission HUD. Change 1984316 by Maciej Mroz: New User Defined Structure. WIP - there are still problems with circular dependencies. Change 2011616 by Maciej Mroz: UserDefinedStructures - various problems fixed. Change 2011609 by Maciej Mroz: more robust HasExternalBlueprintDependencies implementation Change 2016697 by Maciej Mroz: pretest BP: UDStruct - default value propagation in cooked build Change 2016288 by Maciej Mroz: pretest BP: UDStruct: Renaming variables wont break links from make/break nodes Change 1987637 by Maciej Mroz: CustomStruct icons placeholders Change 1987422 by Maciej Mroz: Better tooltips for variables in MyBlueprint Change 1991387 by Maciej Mroz: UDStructures fixes: Change 2029165 by Maciej Mroz: BP: better comment for incomatible pins Change 2030016 by Maciej Mroz: 8PRETEST: EDITOR: UDS: Defaults values aren't updated in struct type variables in blueprints Change 2030017 by Maciej Mroz: Unused UDStructure code removed (PPF_UseDefaultsForUDStructures) Change 2028856 by Maciej Mroz: BP: Pins with PC_Struct type are compatible only with exactly the same structure. (No derived structures are not handled as compatible). Change 2026701 by Maciej Mroz: k2: odd error on an add item node within a function (see attached image in details) Change 2028160 by Maciej Mroz: PRETEST: EDITOR: UDS: When deleting structures just after creating there is always some references in the memory Change 2028165 by Maciej Mroz: BP: BreakHitResult function has proper icon. Change 2033340 by Maciej Mroz: ttp330786 PRETEST: EDITOR: UDS: Changes of default values aren't apllied to breeak nodes for text type of variables Change 2034255 by Maciej Mroz: EDITOR: UDS: Changes of default values aren't apllied to make nodes for text type of variables ttp#330620 Change 2037682 by Maciej Mroz: ttp331309 BLOCKER: PRETEST: CRASH: EDITOR: Crash occurs when performing Diff Against Depot on any Blueprint Change 2033142 by Maciej Mroz: CreateDelegate Node uses internally FMemberReference. Refactor. Change 2032329 by Maciej Mroz: ttp330608 CRASH: PRETEST: EDITOR: UDS: Crash when trying to use struct named 'Color' in blueprint Change 2032420 by Maciej Mroz: ttp330620 PRETEST: EDITOR: UDS: Changes of default values aren't apllied to make nodes for text type of variables Change 2033139 by Maciej Mroz: Functions generated from CustomEvents can be also identified by GUID Change 2026631 by Maciej Mroz: BP. UDStruct: Invalid structs are handled better. Change 2025344 by Maciej Mroz: UDStruct enabled by default Change 2026672 by Maciej Mroz: EDITOR: BP: Can't easily remove 'pass-by-reference' pins on ReturnNodes Change 2026411 by Maciej Mroz: ExposeOnSpawn updated, it supports UDStructs, custom native Structs, and it throws compiler error. Change 2025342 by Maciej Mroz: GenerateBlueprintSkeleton moved from BLueprint::Serialize to RegenerateBlueprintClass, because SkeletonClass compilation requires all external dependencies to be loaded and linked. Change 2025570 by Steve Robb: Moved dependency processing to its own function. Change 2033235 by Steve Robb: String improvements Change 2035830 by Steve Robb: Workaround for FriendsAndChat crash in Fortnite. Change 2035115 by Steve Robb: UBT build time regression fixes. Change 2034162 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere Change 2034181 by Steve Robb: Removal of any references to .generated.inl Change 2020165 by Steve Robb: BuildPublicAndPrivateUObjectHeaders factored out into its own function. Change 2020187 by Steve Robb: CreateModuleCompileEnvironment function factored out. Change 2020055 by Steve Robb: Refactoring of Unity.cs to remove complex and duplicate iteration. Change 2020083 by Steve Robb: Another use of dictionary utilities. Change 2031049 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere Change 2025728 by Steve Robb: Refactored the application of a shared PCH file to multiple file into a single ApplySharedPCH function. Change 2020068 by Steve Robb: A couple of helpful utility functions for populating dictionaries. Change 2032307 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere [CL 2054495 by Robert Manuszewski in Main branch]
2014-04-23 20:18:55 -04:00
}
public void AddFile(FileItem File)
{
Files.Add(File);
long FileLength = File.Length;
TotalLength += FileLength;
VirtualLength += FileLength;
}
/// <summary>
/// Doesn't actually add a file, but instead reserves space. This is used with "bUseAdaptiveUnityBuild", to prevent
/// other compiled unity blobs in the module's numbered set from having to be recompiled after we eject source files
/// one of that module's unity blobs. Basically, it can prevent dozens of files from being recompiled after the first
/// time building after your working set of source files changes
/// </summary>
/// <param name="File">The virtual file to add to the collection</param>
public void AddVirtualFile(FileItem File)
{
VirtualFiles.Add(File);
VirtualLength += File.Length;
Merging UE4-Pretest @ 2042161 to UE4 Change 1996384 by Andrew Brown: 322252 - EDITOR: Asset picker displays incorrect text when there are no filter results. Change 1996385 by Andrew Brown: 321858 - CRASH: Assertion failed: (Index >= 0) Function: STransformViewportToolBar::GetLocationGridLabel() STextBlock::CacheDesiredSize() Change 1996977 by Andrew Brown: 309685 - UE4: Adding an event/renaming an event on an event track in Matinee does not update the MatineeActor node in blueprint Change 2034873 by Jaroslaw Palczynski: More robust VS installation detection. Change 2039693 by Jaroslaw Palczynski: 327268 - RocketGDC: POSTLAUNCH: DEV: Make engine more robust against bad Visual Studio environment variables Change 1978978 by Jaroslaw Surowiec: - Removed obsolete AllowEliminatingReferences from the FArchive Change 2020326 by Maciej Mroz: pretest BP K2Node: RemovePinsFromOldPins function moved from K2Node to RemovePinsFromOldPins Change 2017608 by Maciej Mroz: pretest Some changes in SFortMissionEventSelector caused by FPinTypeTreeInfo Change 2017463 by Maciej Mroz: PinTypeSelector can lins unloaded UDStructs Change 2019979 by Maciej Mroz: pretest BP: Crash when performing Diff against Depot with blueprints containing Format Text nodes Change 2024469 by Maciej Mroz: MemberReference variable added to PinType. It's necessary for delegate's signature. Change 2024049 by Maciej Mroz: HasExternalBlueprintDependencies added to UK2Node_DynamicCast Change 2024586 by Maciej Mroz: FillSimpleMemberReference fix Change 2024472 by Maciej Mroz: workaround for delegates signature in pintype removed. Change 2023997 by Maciej Mroz: BP, UDStruc: Class UserDefinedStructEditorData added. It fixes many problems with undo/redo. Change 2021934 by Maciej Mroz: typo in a comment Change 2020355 by Maciej Mroz: Back out changelist 2020342 Change 2022178 by Maciej Mroz: CRASH: PRETEST: EDITOR: UDS: Crash when undo then redo new variable in struct that is used by blueprint Change 2021958 by Maciej Mroz: CRASH: PRETEST: EDITOR: UDS: Crash using variable of a type of copied struct in blueprint Change 1986247 by Maciej Mroz: User Defined Structures: circle dependency fixed. Early version. Change 1985107 by Maciej Mroz: UserDefinedStruct cannot have a field of a non-native type Change 1986278 by Maciej Mroz: pretest ensureMsgf in Struct::link Change 1986250 by Maciej Mroz: User Defined Struct: Non native classes are accepted types od values in structures. Change 1980955 by Maciej Mroz: Using AssetPtr and LazyPtr as UFunction parameter (intput or return) is explicitly disallowed. Change 2041215 by Maciej Mroz: ttp331249 BLOCKER: PRETEST: UI: Survive the Storm is missing the Mission HUD. Change 1984316 by Maciej Mroz: New User Defined Structure. WIP - there are still problems with circular dependencies. Change 2011616 by Maciej Mroz: UserDefinedStructures - various problems fixed. Change 2011609 by Maciej Mroz: more robust HasExternalBlueprintDependencies implementation Change 2016697 by Maciej Mroz: pretest BP: UDStruct - default value propagation in cooked build Change 2016288 by Maciej Mroz: pretest BP: UDStruct: Renaming variables wont break links from make/break nodes Change 1987637 by Maciej Mroz: CustomStruct icons placeholders Change 1987422 by Maciej Mroz: Better tooltips for variables in MyBlueprint Change 1991387 by Maciej Mroz: UDStructures fixes: Change 2029165 by Maciej Mroz: BP: better comment for incomatible pins Change 2030016 by Maciej Mroz: 8PRETEST: EDITOR: UDS: Defaults values aren't updated in struct type variables in blueprints Change 2030017 by Maciej Mroz: Unused UDStructure code removed (PPF_UseDefaultsForUDStructures) Change 2028856 by Maciej Mroz: BP: Pins with PC_Struct type are compatible only with exactly the same structure. (No derived structures are not handled as compatible). Change 2026701 by Maciej Mroz: k2: odd error on an add item node within a function (see attached image in details) Change 2028160 by Maciej Mroz: PRETEST: EDITOR: UDS: When deleting structures just after creating there is always some references in the memory Change 2028165 by Maciej Mroz: BP: BreakHitResult function has proper icon. Change 2033340 by Maciej Mroz: ttp330786 PRETEST: EDITOR: UDS: Changes of default values aren't apllied to breeak nodes for text type of variables Change 2034255 by Maciej Mroz: EDITOR: UDS: Changes of default values aren't apllied to make nodes for text type of variables ttp#330620 Change 2037682 by Maciej Mroz: ttp331309 BLOCKER: PRETEST: CRASH: EDITOR: Crash occurs when performing Diff Against Depot on any Blueprint Change 2033142 by Maciej Mroz: CreateDelegate Node uses internally FMemberReference. Refactor. Change 2032329 by Maciej Mroz: ttp330608 CRASH: PRETEST: EDITOR: UDS: Crash when trying to use struct named 'Color' in blueprint Change 2032420 by Maciej Mroz: ttp330620 PRETEST: EDITOR: UDS: Changes of default values aren't apllied to make nodes for text type of variables Change 2033139 by Maciej Mroz: Functions generated from CustomEvents can be also identified by GUID Change 2026631 by Maciej Mroz: BP. UDStruct: Invalid structs are handled better. Change 2025344 by Maciej Mroz: UDStruct enabled by default Change 2026672 by Maciej Mroz: EDITOR: BP: Can't easily remove 'pass-by-reference' pins on ReturnNodes Change 2026411 by Maciej Mroz: ExposeOnSpawn updated, it supports UDStructs, custom native Structs, and it throws compiler error. Change 2025342 by Maciej Mroz: GenerateBlueprintSkeleton moved from BLueprint::Serialize to RegenerateBlueprintClass, because SkeletonClass compilation requires all external dependencies to be loaded and linked. Change 2025570 by Steve Robb: Moved dependency processing to its own function. Change 2033235 by Steve Robb: String improvements Change 2035830 by Steve Robb: Workaround for FriendsAndChat crash in Fortnite. Change 2035115 by Steve Robb: UBT build time regression fixes. Change 2034162 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere Change 2034181 by Steve Robb: Removal of any references to .generated.inl Change 2020165 by Steve Robb: BuildPublicAndPrivateUObjectHeaders factored out into its own function. Change 2020187 by Steve Robb: CreateModuleCompileEnvironment function factored out. Change 2020055 by Steve Robb: Refactoring of Unity.cs to remove complex and duplicate iteration. Change 2020083 by Steve Robb: Another use of dictionary utilities. Change 2031049 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere Change 2025728 by Steve Robb: Refactored the application of a shared PCH file to multiple file into a single ApplySharedPCH function. Change 2020068 by Steve Robb: A couple of helpful utility functions for populating dictionaries. Change 2032307 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere [CL 2054495 by Robert Manuszewski in Main branch]
2014-04-23 20:18:55 -04:00
}
}
/// <summary>
/// A class for building up a set of unity files. You add files one-by-one using AddFile then call EndCurrentUnityFile to finish that one and
/// (perhaps) begin a new one.
/// </summary>
public class UnityFileBuilder
{
private List<FileCollection> UnityFiles;
private FileCollection CurrentCollection;
private int SplitLength;
Merging UE4-Pretest @ 2042161 to UE4 Change 1996384 by Andrew Brown: 322252 - EDITOR: Asset picker displays incorrect text when there are no filter results. Change 1996385 by Andrew Brown: 321858 - CRASH: Assertion failed: (Index >= 0) Function: STransformViewportToolBar::GetLocationGridLabel() STextBlock::CacheDesiredSize() Change 1996977 by Andrew Brown: 309685 - UE4: Adding an event/renaming an event on an event track in Matinee does not update the MatineeActor node in blueprint Change 2034873 by Jaroslaw Palczynski: More robust VS installation detection. Change 2039693 by Jaroslaw Palczynski: 327268 - RocketGDC: POSTLAUNCH: DEV: Make engine more robust against bad Visual Studio environment variables Change 1978978 by Jaroslaw Surowiec: - Removed obsolete AllowEliminatingReferences from the FArchive Change 2020326 by Maciej Mroz: pretest BP K2Node: RemovePinsFromOldPins function moved from K2Node to RemovePinsFromOldPins Change 2017608 by Maciej Mroz: pretest Some changes in SFortMissionEventSelector caused by FPinTypeTreeInfo Change 2017463 by Maciej Mroz: PinTypeSelector can lins unloaded UDStructs Change 2019979 by Maciej Mroz: pretest BP: Crash when performing Diff against Depot with blueprints containing Format Text nodes Change 2024469 by Maciej Mroz: MemberReference variable added to PinType. It's necessary for delegate's signature. Change 2024049 by Maciej Mroz: HasExternalBlueprintDependencies added to UK2Node_DynamicCast Change 2024586 by Maciej Mroz: FillSimpleMemberReference fix Change 2024472 by Maciej Mroz: workaround for delegates signature in pintype removed. Change 2023997 by Maciej Mroz: BP, UDStruc: Class UserDefinedStructEditorData added. It fixes many problems with undo/redo. Change 2021934 by Maciej Mroz: typo in a comment Change 2020355 by Maciej Mroz: Back out changelist 2020342 Change 2022178 by Maciej Mroz: CRASH: PRETEST: EDITOR: UDS: Crash when undo then redo new variable in struct that is used by blueprint Change 2021958 by Maciej Mroz: CRASH: PRETEST: EDITOR: UDS: Crash using variable of a type of copied struct in blueprint Change 1986247 by Maciej Mroz: User Defined Structures: circle dependency fixed. Early version. Change 1985107 by Maciej Mroz: UserDefinedStruct cannot have a field of a non-native type Change 1986278 by Maciej Mroz: pretest ensureMsgf in Struct::link Change 1986250 by Maciej Mroz: User Defined Struct: Non native classes are accepted types od values in structures. Change 1980955 by Maciej Mroz: Using AssetPtr and LazyPtr as UFunction parameter (intput or return) is explicitly disallowed. Change 2041215 by Maciej Mroz: ttp331249 BLOCKER: PRETEST: UI: Survive the Storm is missing the Mission HUD. Change 1984316 by Maciej Mroz: New User Defined Structure. WIP - there are still problems with circular dependencies. Change 2011616 by Maciej Mroz: UserDefinedStructures - various problems fixed. Change 2011609 by Maciej Mroz: more robust HasExternalBlueprintDependencies implementation Change 2016697 by Maciej Mroz: pretest BP: UDStruct - default value propagation in cooked build Change 2016288 by Maciej Mroz: pretest BP: UDStruct: Renaming variables wont break links from make/break nodes Change 1987637 by Maciej Mroz: CustomStruct icons placeholders Change 1987422 by Maciej Mroz: Better tooltips for variables in MyBlueprint Change 1991387 by Maciej Mroz: UDStructures fixes: Change 2029165 by Maciej Mroz: BP: better comment for incomatible pins Change 2030016 by Maciej Mroz: 8PRETEST: EDITOR: UDS: Defaults values aren't updated in struct type variables in blueprints Change 2030017 by Maciej Mroz: Unused UDStructure code removed (PPF_UseDefaultsForUDStructures) Change 2028856 by Maciej Mroz: BP: Pins with PC_Struct type are compatible only with exactly the same structure. (No derived structures are not handled as compatible). Change 2026701 by Maciej Mroz: k2: odd error on an add item node within a function (see attached image in details) Change 2028160 by Maciej Mroz: PRETEST: EDITOR: UDS: When deleting structures just after creating there is always some references in the memory Change 2028165 by Maciej Mroz: BP: BreakHitResult function has proper icon. Change 2033340 by Maciej Mroz: ttp330786 PRETEST: EDITOR: UDS: Changes of default values aren't apllied to breeak nodes for text type of variables Change 2034255 by Maciej Mroz: EDITOR: UDS: Changes of default values aren't apllied to make nodes for text type of variables ttp#330620 Change 2037682 by Maciej Mroz: ttp331309 BLOCKER: PRETEST: CRASH: EDITOR: Crash occurs when performing Diff Against Depot on any Blueprint Change 2033142 by Maciej Mroz: CreateDelegate Node uses internally FMemberReference. Refactor. Change 2032329 by Maciej Mroz: ttp330608 CRASH: PRETEST: EDITOR: UDS: Crash when trying to use struct named 'Color' in blueprint Change 2032420 by Maciej Mroz: ttp330620 PRETEST: EDITOR: UDS: Changes of default values aren't apllied to make nodes for text type of variables Change 2033139 by Maciej Mroz: Functions generated from CustomEvents can be also identified by GUID Change 2026631 by Maciej Mroz: BP. UDStruct: Invalid structs are handled better. Change 2025344 by Maciej Mroz: UDStruct enabled by default Change 2026672 by Maciej Mroz: EDITOR: BP: Can't easily remove 'pass-by-reference' pins on ReturnNodes Change 2026411 by Maciej Mroz: ExposeOnSpawn updated, it supports UDStructs, custom native Structs, and it throws compiler error. Change 2025342 by Maciej Mroz: GenerateBlueprintSkeleton moved from BLueprint::Serialize to RegenerateBlueprintClass, because SkeletonClass compilation requires all external dependencies to be loaded and linked. Change 2025570 by Steve Robb: Moved dependency processing to its own function. Change 2033235 by Steve Robb: String improvements Change 2035830 by Steve Robb: Workaround for FriendsAndChat crash in Fortnite. Change 2035115 by Steve Robb: UBT build time regression fixes. Change 2034162 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere Change 2034181 by Steve Robb: Removal of any references to .generated.inl Change 2020165 by Steve Robb: BuildPublicAndPrivateUObjectHeaders factored out into its own function. Change 2020187 by Steve Robb: CreateModuleCompileEnvironment function factored out. Change 2020055 by Steve Robb: Refactoring of Unity.cs to remove complex and duplicate iteration. Change 2020083 by Steve Robb: Another use of dictionary utilities. Change 2031049 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere Change 2025728 by Steve Robb: Refactored the application of a shared PCH file to multiple file into a single ApplySharedPCH function. Change 2020068 by Steve Robb: A couple of helpful utility functions for populating dictionaries. Change 2032307 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere [CL 2054495 by Robert Manuszewski in Main branch]
2014-04-23 20:18:55 -04:00
/// <summary>
/// Constructs a new UnityFileBuilder.
/// </summary>
/// <param name="InSplitLength">The accumulated length at which to automatically split a unity file, or -1 to disable automatic splitting.</param>
public UnityFileBuilder(int InSplitLength)
{
UnityFiles = new List<FileCollection>();
Merging UE4-Pretest @ 2042161 to UE4 Change 1996384 by Andrew Brown: 322252 - EDITOR: Asset picker displays incorrect text when there are no filter results. Change 1996385 by Andrew Brown: 321858 - CRASH: Assertion failed: (Index >= 0) Function: STransformViewportToolBar::GetLocationGridLabel() STextBlock::CacheDesiredSize() Change 1996977 by Andrew Brown: 309685 - UE4: Adding an event/renaming an event on an event track in Matinee does not update the MatineeActor node in blueprint Change 2034873 by Jaroslaw Palczynski: More robust VS installation detection. Change 2039693 by Jaroslaw Palczynski: 327268 - RocketGDC: POSTLAUNCH: DEV: Make engine more robust against bad Visual Studio environment variables Change 1978978 by Jaroslaw Surowiec: - Removed obsolete AllowEliminatingReferences from the FArchive Change 2020326 by Maciej Mroz: pretest BP K2Node: RemovePinsFromOldPins function moved from K2Node to RemovePinsFromOldPins Change 2017608 by Maciej Mroz: pretest Some changes in SFortMissionEventSelector caused by FPinTypeTreeInfo Change 2017463 by Maciej Mroz: PinTypeSelector can lins unloaded UDStructs Change 2019979 by Maciej Mroz: pretest BP: Crash when performing Diff against Depot with blueprints containing Format Text nodes Change 2024469 by Maciej Mroz: MemberReference variable added to PinType. It's necessary for delegate's signature. Change 2024049 by Maciej Mroz: HasExternalBlueprintDependencies added to UK2Node_DynamicCast Change 2024586 by Maciej Mroz: FillSimpleMemberReference fix Change 2024472 by Maciej Mroz: workaround for delegates signature in pintype removed. Change 2023997 by Maciej Mroz: BP, UDStruc: Class UserDefinedStructEditorData added. It fixes many problems with undo/redo. Change 2021934 by Maciej Mroz: typo in a comment Change 2020355 by Maciej Mroz: Back out changelist 2020342 Change 2022178 by Maciej Mroz: CRASH: PRETEST: EDITOR: UDS: Crash when undo then redo new variable in struct that is used by blueprint Change 2021958 by Maciej Mroz: CRASH: PRETEST: EDITOR: UDS: Crash using variable of a type of copied struct in blueprint Change 1986247 by Maciej Mroz: User Defined Structures: circle dependency fixed. Early version. Change 1985107 by Maciej Mroz: UserDefinedStruct cannot have a field of a non-native type Change 1986278 by Maciej Mroz: pretest ensureMsgf in Struct::link Change 1986250 by Maciej Mroz: User Defined Struct: Non native classes are accepted types od values in structures. Change 1980955 by Maciej Mroz: Using AssetPtr and LazyPtr as UFunction parameter (intput or return) is explicitly disallowed. Change 2041215 by Maciej Mroz: ttp331249 BLOCKER: PRETEST: UI: Survive the Storm is missing the Mission HUD. Change 1984316 by Maciej Mroz: New User Defined Structure. WIP - there are still problems with circular dependencies. Change 2011616 by Maciej Mroz: UserDefinedStructures - various problems fixed. Change 2011609 by Maciej Mroz: more robust HasExternalBlueprintDependencies implementation Change 2016697 by Maciej Mroz: pretest BP: UDStruct - default value propagation in cooked build Change 2016288 by Maciej Mroz: pretest BP: UDStruct: Renaming variables wont break links from make/break nodes Change 1987637 by Maciej Mroz: CustomStruct icons placeholders Change 1987422 by Maciej Mroz: Better tooltips for variables in MyBlueprint Change 1991387 by Maciej Mroz: UDStructures fixes: Change 2029165 by Maciej Mroz: BP: better comment for incomatible pins Change 2030016 by Maciej Mroz: 8PRETEST: EDITOR: UDS: Defaults values aren't updated in struct type variables in blueprints Change 2030017 by Maciej Mroz: Unused UDStructure code removed (PPF_UseDefaultsForUDStructures) Change 2028856 by Maciej Mroz: BP: Pins with PC_Struct type are compatible only with exactly the same structure. (No derived structures are not handled as compatible). Change 2026701 by Maciej Mroz: k2: odd error on an add item node within a function (see attached image in details) Change 2028160 by Maciej Mroz: PRETEST: EDITOR: UDS: When deleting structures just after creating there is always some references in the memory Change 2028165 by Maciej Mroz: BP: BreakHitResult function has proper icon. Change 2033340 by Maciej Mroz: ttp330786 PRETEST: EDITOR: UDS: Changes of default values aren't apllied to breeak nodes for text type of variables Change 2034255 by Maciej Mroz: EDITOR: UDS: Changes of default values aren't apllied to make nodes for text type of variables ttp#330620 Change 2037682 by Maciej Mroz: ttp331309 BLOCKER: PRETEST: CRASH: EDITOR: Crash occurs when performing Diff Against Depot on any Blueprint Change 2033142 by Maciej Mroz: CreateDelegate Node uses internally FMemberReference. Refactor. Change 2032329 by Maciej Mroz: ttp330608 CRASH: PRETEST: EDITOR: UDS: Crash when trying to use struct named 'Color' in blueprint Change 2032420 by Maciej Mroz: ttp330620 PRETEST: EDITOR: UDS: Changes of default values aren't apllied to make nodes for text type of variables Change 2033139 by Maciej Mroz: Functions generated from CustomEvents can be also identified by GUID Change 2026631 by Maciej Mroz: BP. UDStruct: Invalid structs are handled better. Change 2025344 by Maciej Mroz: UDStruct enabled by default Change 2026672 by Maciej Mroz: EDITOR: BP: Can't easily remove 'pass-by-reference' pins on ReturnNodes Change 2026411 by Maciej Mroz: ExposeOnSpawn updated, it supports UDStructs, custom native Structs, and it throws compiler error. Change 2025342 by Maciej Mroz: GenerateBlueprintSkeleton moved from BLueprint::Serialize to RegenerateBlueprintClass, because SkeletonClass compilation requires all external dependencies to be loaded and linked. Change 2025570 by Steve Robb: Moved dependency processing to its own function. Change 2033235 by Steve Robb: String improvements Change 2035830 by Steve Robb: Workaround for FriendsAndChat crash in Fortnite. Change 2035115 by Steve Robb: UBT build time regression fixes. Change 2034162 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere Change 2034181 by Steve Robb: Removal of any references to .generated.inl Change 2020165 by Steve Robb: BuildPublicAndPrivateUObjectHeaders factored out into its own function. Change 2020187 by Steve Robb: CreateModuleCompileEnvironment function factored out. Change 2020055 by Steve Robb: Refactoring of Unity.cs to remove complex and duplicate iteration. Change 2020083 by Steve Robb: Another use of dictionary utilities. Change 2031049 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere Change 2025728 by Steve Robb: Refactored the application of a shared PCH file to multiple file into a single ApplySharedPCH function. Change 2020068 by Steve Robb: A couple of helpful utility functions for populating dictionaries. Change 2032307 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere [CL 2054495 by Robert Manuszewski in Main branch]
2014-04-23 20:18:55 -04:00
CurrentCollection = new FileCollection();
SplitLength = InSplitLength;
Merging UE4-Pretest @ 2042161 to UE4 Change 1996384 by Andrew Brown: 322252 - EDITOR: Asset picker displays incorrect text when there are no filter results. Change 1996385 by Andrew Brown: 321858 - CRASH: Assertion failed: (Index >= 0) Function: STransformViewportToolBar::GetLocationGridLabel() STextBlock::CacheDesiredSize() Change 1996977 by Andrew Brown: 309685 - UE4: Adding an event/renaming an event on an event track in Matinee does not update the MatineeActor node in blueprint Change 2034873 by Jaroslaw Palczynski: More robust VS installation detection. Change 2039693 by Jaroslaw Palczynski: 327268 - RocketGDC: POSTLAUNCH: DEV: Make engine more robust against bad Visual Studio environment variables Change 1978978 by Jaroslaw Surowiec: - Removed obsolete AllowEliminatingReferences from the FArchive Change 2020326 by Maciej Mroz: pretest BP K2Node: RemovePinsFromOldPins function moved from K2Node to RemovePinsFromOldPins Change 2017608 by Maciej Mroz: pretest Some changes in SFortMissionEventSelector caused by FPinTypeTreeInfo Change 2017463 by Maciej Mroz: PinTypeSelector can lins unloaded UDStructs Change 2019979 by Maciej Mroz: pretest BP: Crash when performing Diff against Depot with blueprints containing Format Text nodes Change 2024469 by Maciej Mroz: MemberReference variable added to PinType. It's necessary for delegate's signature. Change 2024049 by Maciej Mroz: HasExternalBlueprintDependencies added to UK2Node_DynamicCast Change 2024586 by Maciej Mroz: FillSimpleMemberReference fix Change 2024472 by Maciej Mroz: workaround for delegates signature in pintype removed. Change 2023997 by Maciej Mroz: BP, UDStruc: Class UserDefinedStructEditorData added. It fixes many problems with undo/redo. Change 2021934 by Maciej Mroz: typo in a comment Change 2020355 by Maciej Mroz: Back out changelist 2020342 Change 2022178 by Maciej Mroz: CRASH: PRETEST: EDITOR: UDS: Crash when undo then redo new variable in struct that is used by blueprint Change 2021958 by Maciej Mroz: CRASH: PRETEST: EDITOR: UDS: Crash using variable of a type of copied struct in blueprint Change 1986247 by Maciej Mroz: User Defined Structures: circle dependency fixed. Early version. Change 1985107 by Maciej Mroz: UserDefinedStruct cannot have a field of a non-native type Change 1986278 by Maciej Mroz: pretest ensureMsgf in Struct::link Change 1986250 by Maciej Mroz: User Defined Struct: Non native classes are accepted types od values in structures. Change 1980955 by Maciej Mroz: Using AssetPtr and LazyPtr as UFunction parameter (intput or return) is explicitly disallowed. Change 2041215 by Maciej Mroz: ttp331249 BLOCKER: PRETEST: UI: Survive the Storm is missing the Mission HUD. Change 1984316 by Maciej Mroz: New User Defined Structure. WIP - there are still problems with circular dependencies. Change 2011616 by Maciej Mroz: UserDefinedStructures - various problems fixed. Change 2011609 by Maciej Mroz: more robust HasExternalBlueprintDependencies implementation Change 2016697 by Maciej Mroz: pretest BP: UDStruct - default value propagation in cooked build Change 2016288 by Maciej Mroz: pretest BP: UDStruct: Renaming variables wont break links from make/break nodes Change 1987637 by Maciej Mroz: CustomStruct icons placeholders Change 1987422 by Maciej Mroz: Better tooltips for variables in MyBlueprint Change 1991387 by Maciej Mroz: UDStructures fixes: Change 2029165 by Maciej Mroz: BP: better comment for incomatible pins Change 2030016 by Maciej Mroz: 8PRETEST: EDITOR: UDS: Defaults values aren't updated in struct type variables in blueprints Change 2030017 by Maciej Mroz: Unused UDStructure code removed (PPF_UseDefaultsForUDStructures) Change 2028856 by Maciej Mroz: BP: Pins with PC_Struct type are compatible only with exactly the same structure. (No derived structures are not handled as compatible). Change 2026701 by Maciej Mroz: k2: odd error on an add item node within a function (see attached image in details) Change 2028160 by Maciej Mroz: PRETEST: EDITOR: UDS: When deleting structures just after creating there is always some references in the memory Change 2028165 by Maciej Mroz: BP: BreakHitResult function has proper icon. Change 2033340 by Maciej Mroz: ttp330786 PRETEST: EDITOR: UDS: Changes of default values aren't apllied to breeak nodes for text type of variables Change 2034255 by Maciej Mroz: EDITOR: UDS: Changes of default values aren't apllied to make nodes for text type of variables ttp#330620 Change 2037682 by Maciej Mroz: ttp331309 BLOCKER: PRETEST: CRASH: EDITOR: Crash occurs when performing Diff Against Depot on any Blueprint Change 2033142 by Maciej Mroz: CreateDelegate Node uses internally FMemberReference. Refactor. Change 2032329 by Maciej Mroz: ttp330608 CRASH: PRETEST: EDITOR: UDS: Crash when trying to use struct named 'Color' in blueprint Change 2032420 by Maciej Mroz: ttp330620 PRETEST: EDITOR: UDS: Changes of default values aren't apllied to make nodes for text type of variables Change 2033139 by Maciej Mroz: Functions generated from CustomEvents can be also identified by GUID Change 2026631 by Maciej Mroz: BP. UDStruct: Invalid structs are handled better. Change 2025344 by Maciej Mroz: UDStruct enabled by default Change 2026672 by Maciej Mroz: EDITOR: BP: Can't easily remove 'pass-by-reference' pins on ReturnNodes Change 2026411 by Maciej Mroz: ExposeOnSpawn updated, it supports UDStructs, custom native Structs, and it throws compiler error. Change 2025342 by Maciej Mroz: GenerateBlueprintSkeleton moved from BLueprint::Serialize to RegenerateBlueprintClass, because SkeletonClass compilation requires all external dependencies to be loaded and linked. Change 2025570 by Steve Robb: Moved dependency processing to its own function. Change 2033235 by Steve Robb: String improvements Change 2035830 by Steve Robb: Workaround for FriendsAndChat crash in Fortnite. Change 2035115 by Steve Robb: UBT build time regression fixes. Change 2034162 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere Change 2034181 by Steve Robb: Removal of any references to .generated.inl Change 2020165 by Steve Robb: BuildPublicAndPrivateUObjectHeaders factored out into its own function. Change 2020187 by Steve Robb: CreateModuleCompileEnvironment function factored out. Change 2020055 by Steve Robb: Refactoring of Unity.cs to remove complex and duplicate iteration. Change 2020083 by Steve Robb: Another use of dictionary utilities. Change 2031049 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere Change 2025728 by Steve Robb: Refactored the application of a shared PCH file to multiple file into a single ApplySharedPCH function. Change 2020068 by Steve Robb: A couple of helpful utility functions for populating dictionaries. Change 2032307 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere [CL 2054495 by Robert Manuszewski in Main branch]
2014-04-23 20:18:55 -04:00
}
/// <summary>
/// Adds a file to the current unity file. If splitting is required and the total size of the
/// unity file exceeds the split limit, then a new file is automatically started.
/// </summary>
/// <param name="File">The file to add.</param>
public void AddFile(FileItem File)
{
CurrentCollection.AddFile(File);
if (SplitLength != -1 && CurrentCollection.VirtualLength > SplitLength)
Merging UE4-Pretest @ 2042161 to UE4 Change 1996384 by Andrew Brown: 322252 - EDITOR: Asset picker displays incorrect text when there are no filter results. Change 1996385 by Andrew Brown: 321858 - CRASH: Assertion failed: (Index >= 0) Function: STransformViewportToolBar::GetLocationGridLabel() STextBlock::CacheDesiredSize() Change 1996977 by Andrew Brown: 309685 - UE4: Adding an event/renaming an event on an event track in Matinee does not update the MatineeActor node in blueprint Change 2034873 by Jaroslaw Palczynski: More robust VS installation detection. Change 2039693 by Jaroslaw Palczynski: 327268 - RocketGDC: POSTLAUNCH: DEV: Make engine more robust against bad Visual Studio environment variables Change 1978978 by Jaroslaw Surowiec: - Removed obsolete AllowEliminatingReferences from the FArchive Change 2020326 by Maciej Mroz: pretest BP K2Node: RemovePinsFromOldPins function moved from K2Node to RemovePinsFromOldPins Change 2017608 by Maciej Mroz: pretest Some changes in SFortMissionEventSelector caused by FPinTypeTreeInfo Change 2017463 by Maciej Mroz: PinTypeSelector can lins unloaded UDStructs Change 2019979 by Maciej Mroz: pretest BP: Crash when performing Diff against Depot with blueprints containing Format Text nodes Change 2024469 by Maciej Mroz: MemberReference variable added to PinType. It's necessary for delegate's signature. Change 2024049 by Maciej Mroz: HasExternalBlueprintDependencies added to UK2Node_DynamicCast Change 2024586 by Maciej Mroz: FillSimpleMemberReference fix Change 2024472 by Maciej Mroz: workaround for delegates signature in pintype removed. Change 2023997 by Maciej Mroz: BP, UDStruc: Class UserDefinedStructEditorData added. It fixes many problems with undo/redo. Change 2021934 by Maciej Mroz: typo in a comment Change 2020355 by Maciej Mroz: Back out changelist 2020342 Change 2022178 by Maciej Mroz: CRASH: PRETEST: EDITOR: UDS: Crash when undo then redo new variable in struct that is used by blueprint Change 2021958 by Maciej Mroz: CRASH: PRETEST: EDITOR: UDS: Crash using variable of a type of copied struct in blueprint Change 1986247 by Maciej Mroz: User Defined Structures: circle dependency fixed. Early version. Change 1985107 by Maciej Mroz: UserDefinedStruct cannot have a field of a non-native type Change 1986278 by Maciej Mroz: pretest ensureMsgf in Struct::link Change 1986250 by Maciej Mroz: User Defined Struct: Non native classes are accepted types od values in structures. Change 1980955 by Maciej Mroz: Using AssetPtr and LazyPtr as UFunction parameter (intput or return) is explicitly disallowed. Change 2041215 by Maciej Mroz: ttp331249 BLOCKER: PRETEST: UI: Survive the Storm is missing the Mission HUD. Change 1984316 by Maciej Mroz: New User Defined Structure. WIP - there are still problems with circular dependencies. Change 2011616 by Maciej Mroz: UserDefinedStructures - various problems fixed. Change 2011609 by Maciej Mroz: more robust HasExternalBlueprintDependencies implementation Change 2016697 by Maciej Mroz: pretest BP: UDStruct - default value propagation in cooked build Change 2016288 by Maciej Mroz: pretest BP: UDStruct: Renaming variables wont break links from make/break nodes Change 1987637 by Maciej Mroz: CustomStruct icons placeholders Change 1987422 by Maciej Mroz: Better tooltips for variables in MyBlueprint Change 1991387 by Maciej Mroz: UDStructures fixes: Change 2029165 by Maciej Mroz: BP: better comment for incomatible pins Change 2030016 by Maciej Mroz: 8PRETEST: EDITOR: UDS: Defaults values aren't updated in struct type variables in blueprints Change 2030017 by Maciej Mroz: Unused UDStructure code removed (PPF_UseDefaultsForUDStructures) Change 2028856 by Maciej Mroz: BP: Pins with PC_Struct type are compatible only with exactly the same structure. (No derived structures are not handled as compatible). Change 2026701 by Maciej Mroz: k2: odd error on an add item node within a function (see attached image in details) Change 2028160 by Maciej Mroz: PRETEST: EDITOR: UDS: When deleting structures just after creating there is always some references in the memory Change 2028165 by Maciej Mroz: BP: BreakHitResult function has proper icon. Change 2033340 by Maciej Mroz: ttp330786 PRETEST: EDITOR: UDS: Changes of default values aren't apllied to breeak nodes for text type of variables Change 2034255 by Maciej Mroz: EDITOR: UDS: Changes of default values aren't apllied to make nodes for text type of variables ttp#330620 Change 2037682 by Maciej Mroz: ttp331309 BLOCKER: PRETEST: CRASH: EDITOR: Crash occurs when performing Diff Against Depot on any Blueprint Change 2033142 by Maciej Mroz: CreateDelegate Node uses internally FMemberReference. Refactor. Change 2032329 by Maciej Mroz: ttp330608 CRASH: PRETEST: EDITOR: UDS: Crash when trying to use struct named 'Color' in blueprint Change 2032420 by Maciej Mroz: ttp330620 PRETEST: EDITOR: UDS: Changes of default values aren't apllied to make nodes for text type of variables Change 2033139 by Maciej Mroz: Functions generated from CustomEvents can be also identified by GUID Change 2026631 by Maciej Mroz: BP. UDStruct: Invalid structs are handled better. Change 2025344 by Maciej Mroz: UDStruct enabled by default Change 2026672 by Maciej Mroz: EDITOR: BP: Can't easily remove 'pass-by-reference' pins on ReturnNodes Change 2026411 by Maciej Mroz: ExposeOnSpawn updated, it supports UDStructs, custom native Structs, and it throws compiler error. Change 2025342 by Maciej Mroz: GenerateBlueprintSkeleton moved from BLueprint::Serialize to RegenerateBlueprintClass, because SkeletonClass compilation requires all external dependencies to be loaded and linked. Change 2025570 by Steve Robb: Moved dependency processing to its own function. Change 2033235 by Steve Robb: String improvements Change 2035830 by Steve Robb: Workaround for FriendsAndChat crash in Fortnite. Change 2035115 by Steve Robb: UBT build time regression fixes. Change 2034162 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere Change 2034181 by Steve Robb: Removal of any references to .generated.inl Change 2020165 by Steve Robb: BuildPublicAndPrivateUObjectHeaders factored out into its own function. Change 2020187 by Steve Robb: CreateModuleCompileEnvironment function factored out. Change 2020055 by Steve Robb: Refactoring of Unity.cs to remove complex and duplicate iteration. Change 2020083 by Steve Robb: Another use of dictionary utilities. Change 2031049 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere Change 2025728 by Steve Robb: Refactored the application of a shared PCH file to multiple file into a single ApplySharedPCH function. Change 2020068 by Steve Robb: A couple of helpful utility functions for populating dictionaries. Change 2032307 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere [CL 2054495 by Robert Manuszewski in Main branch]
2014-04-23 20:18:55 -04:00
{
EndCurrentUnityFile();
}
}
/// <summary>
/// Doesn't actually add a file, but instead reserves space, then splits the unity blob normally as if it
/// was a real file that was added. See the comment above FileCollection.AddVirtualFile() for more info.
/// </summary>
/// <param name="File">The file to add virtually. Only the size of the file is tracked.</param>
public void AddVirtualFile(FileItem File)
{
CurrentCollection.AddVirtualFile(File);
if (SplitLength != -1 && CurrentCollection.VirtualLength > SplitLength)
{
EndCurrentUnityFile();
}
}
Merging UE4-Pretest @ 2042161 to UE4 Change 1996384 by Andrew Brown: 322252 - EDITOR: Asset picker displays incorrect text when there are no filter results. Change 1996385 by Andrew Brown: 321858 - CRASH: Assertion failed: (Index >= 0) Function: STransformViewportToolBar::GetLocationGridLabel() STextBlock::CacheDesiredSize() Change 1996977 by Andrew Brown: 309685 - UE4: Adding an event/renaming an event on an event track in Matinee does not update the MatineeActor node in blueprint Change 2034873 by Jaroslaw Palczynski: More robust VS installation detection. Change 2039693 by Jaroslaw Palczynski: 327268 - RocketGDC: POSTLAUNCH: DEV: Make engine more robust against bad Visual Studio environment variables Change 1978978 by Jaroslaw Surowiec: - Removed obsolete AllowEliminatingReferences from the FArchive Change 2020326 by Maciej Mroz: pretest BP K2Node: RemovePinsFromOldPins function moved from K2Node to RemovePinsFromOldPins Change 2017608 by Maciej Mroz: pretest Some changes in SFortMissionEventSelector caused by FPinTypeTreeInfo Change 2017463 by Maciej Mroz: PinTypeSelector can lins unloaded UDStructs Change 2019979 by Maciej Mroz: pretest BP: Crash when performing Diff against Depot with blueprints containing Format Text nodes Change 2024469 by Maciej Mroz: MemberReference variable added to PinType. It's necessary for delegate's signature. Change 2024049 by Maciej Mroz: HasExternalBlueprintDependencies added to UK2Node_DynamicCast Change 2024586 by Maciej Mroz: FillSimpleMemberReference fix Change 2024472 by Maciej Mroz: workaround for delegates signature in pintype removed. Change 2023997 by Maciej Mroz: BP, UDStruc: Class UserDefinedStructEditorData added. It fixes many problems with undo/redo. Change 2021934 by Maciej Mroz: typo in a comment Change 2020355 by Maciej Mroz: Back out changelist 2020342 Change 2022178 by Maciej Mroz: CRASH: PRETEST: EDITOR: UDS: Crash when undo then redo new variable in struct that is used by blueprint Change 2021958 by Maciej Mroz: CRASH: PRETEST: EDITOR: UDS: Crash using variable of a type of copied struct in blueprint Change 1986247 by Maciej Mroz: User Defined Structures: circle dependency fixed. Early version. Change 1985107 by Maciej Mroz: UserDefinedStruct cannot have a field of a non-native type Change 1986278 by Maciej Mroz: pretest ensureMsgf in Struct::link Change 1986250 by Maciej Mroz: User Defined Struct: Non native classes are accepted types od values in structures. Change 1980955 by Maciej Mroz: Using AssetPtr and LazyPtr as UFunction parameter (intput or return) is explicitly disallowed. Change 2041215 by Maciej Mroz: ttp331249 BLOCKER: PRETEST: UI: Survive the Storm is missing the Mission HUD. Change 1984316 by Maciej Mroz: New User Defined Structure. WIP - there are still problems with circular dependencies. Change 2011616 by Maciej Mroz: UserDefinedStructures - various problems fixed. Change 2011609 by Maciej Mroz: more robust HasExternalBlueprintDependencies implementation Change 2016697 by Maciej Mroz: pretest BP: UDStruct - default value propagation in cooked build Change 2016288 by Maciej Mroz: pretest BP: UDStruct: Renaming variables wont break links from make/break nodes Change 1987637 by Maciej Mroz: CustomStruct icons placeholders Change 1987422 by Maciej Mroz: Better tooltips for variables in MyBlueprint Change 1991387 by Maciej Mroz: UDStructures fixes: Change 2029165 by Maciej Mroz: BP: better comment for incomatible pins Change 2030016 by Maciej Mroz: 8PRETEST: EDITOR: UDS: Defaults values aren't updated in struct type variables in blueprints Change 2030017 by Maciej Mroz: Unused UDStructure code removed (PPF_UseDefaultsForUDStructures) Change 2028856 by Maciej Mroz: BP: Pins with PC_Struct type are compatible only with exactly the same structure. (No derived structures are not handled as compatible). Change 2026701 by Maciej Mroz: k2: odd error on an add item node within a function (see attached image in details) Change 2028160 by Maciej Mroz: PRETEST: EDITOR: UDS: When deleting structures just after creating there is always some references in the memory Change 2028165 by Maciej Mroz: BP: BreakHitResult function has proper icon. Change 2033340 by Maciej Mroz: ttp330786 PRETEST: EDITOR: UDS: Changes of default values aren't apllied to breeak nodes for text type of variables Change 2034255 by Maciej Mroz: EDITOR: UDS: Changes of default values aren't apllied to make nodes for text type of variables ttp#330620 Change 2037682 by Maciej Mroz: ttp331309 BLOCKER: PRETEST: CRASH: EDITOR: Crash occurs when performing Diff Against Depot on any Blueprint Change 2033142 by Maciej Mroz: CreateDelegate Node uses internally FMemberReference. Refactor. Change 2032329 by Maciej Mroz: ttp330608 CRASH: PRETEST: EDITOR: UDS: Crash when trying to use struct named 'Color' in blueprint Change 2032420 by Maciej Mroz: ttp330620 PRETEST: EDITOR: UDS: Changes of default values aren't apllied to make nodes for text type of variables Change 2033139 by Maciej Mroz: Functions generated from CustomEvents can be also identified by GUID Change 2026631 by Maciej Mroz: BP. UDStruct: Invalid structs are handled better. Change 2025344 by Maciej Mroz: UDStruct enabled by default Change 2026672 by Maciej Mroz: EDITOR: BP: Can't easily remove 'pass-by-reference' pins on ReturnNodes Change 2026411 by Maciej Mroz: ExposeOnSpawn updated, it supports UDStructs, custom native Structs, and it throws compiler error. Change 2025342 by Maciej Mroz: GenerateBlueprintSkeleton moved from BLueprint::Serialize to RegenerateBlueprintClass, because SkeletonClass compilation requires all external dependencies to be loaded and linked. Change 2025570 by Steve Robb: Moved dependency processing to its own function. Change 2033235 by Steve Robb: String improvements Change 2035830 by Steve Robb: Workaround for FriendsAndChat crash in Fortnite. Change 2035115 by Steve Robb: UBT build time regression fixes. Change 2034162 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere Change 2034181 by Steve Robb: Removal of any references to .generated.inl Change 2020165 by Steve Robb: BuildPublicAndPrivateUObjectHeaders factored out into its own function. Change 2020187 by Steve Robb: CreateModuleCompileEnvironment function factored out. Change 2020055 by Steve Robb: Refactoring of Unity.cs to remove complex and duplicate iteration. Change 2020083 by Steve Robb: Another use of dictionary utilities. Change 2031049 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere Change 2025728 by Steve Robb: Refactored the application of a shared PCH file to multiple file into a single ApplySharedPCH function. Change 2020068 by Steve Robb: A couple of helpful utility functions for populating dictionaries. Change 2032307 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere [CL 2054495 by Robert Manuszewski in Main branch]
2014-04-23 20:18:55 -04:00
/// <summary>
/// Starts a new unity file. If the current unity file contains no files, this function has no effect, i.e. you will not get an empty unity file.
/// </summary>
public void EndCurrentUnityFile()
{
if (CurrentCollection.Files.Count == 0)
return;
UnityFiles.Add(CurrentCollection);
CurrentCollection = new FileCollection();
}
/// <summary>
/// Returns the list of built unity files. The UnityFileBuilder is unusable after this.
/// </summary>
/// <returns></returns>
public List<FileCollection> GetUnityFiles()
{
EndCurrentUnityFile();
Copying //UE4/Dev-Build to //UE4/Main ========================== MAJOR FEATURES + CHANGES ========================== Change 2864843 on 2016/02/12 by Ben.Marsh Add individual 'status', 'outcome', and 'error_code' fields to parsed jobsteps. Should fix grid view not being able to display 'pending' icons. Change 2865161 on 2016/02/12 by Ben.Marsh Stop storing a reference to UEBuildTarget from UEBuildModule. It creates an awkward cyclic data dependency, and makes it easy for people to write lazy code that just reaches into the internal state of the build. Change 2865643 on 2016/02/12 by Ben.Marsh Rename UEBuildModuleType to UHTModuleType, and move implementation into ExternalExecution. Change 2874408 on 2016/02/19 by Ben.Marsh Automatically sort nodes in the dashboard grid view by a weight derived from the node's order in the build graph, summed across all the jobs in which it was present. Change 2879572 on 2016/02/24 by Ben.Marsh Allow spoofing a Git merge from a given commit, using a changelist description containing the tag "git merge <branch> <changelist>", where <branch> is the name of a branch on Git (eg. master, 4.11, etc..), and <changelist> is the changelist being merged in. Change 2883216 on 2016/02/26 by Ben.Marsh Prevent Jira tickets being incorrectly updated with 'Main CL' fields which are after the 'Fix CL' fields. Change 2883755 on 2016/02/26 by Ben.Marsh Fix solution files having a Shipping configuration, even when -NoShippingConfigs is passed on the command line. Change 2886223 on 2016/02/29 by Ben.Marsh Ignore SignTool errors - we can recover from them. Change 2887414 on 2016/03/01 by Ben.Marsh Dump all the *.crash files produced while running commandlets, to make it easier to diagnose build system crashes cooking on Mac. Change 2888235 on 2016/03/01 by Ben.Marsh Add overloads for methods in FileFilter which take FileReference and DirectoryReference objects. Change 2889602 on 2016/03/02 by Ben.Marsh Treat shaders as code in UGS. Don't sync them as part of content-only syncs, and don't allow syncing past them without updated binaries. Change 2889610 on 2016/03/02 by Ben.Marsh Fix setting for using incremental builds not being saved. Also hide command to do incremental builds if the 'use incremental builds' option is not checked. Change 2891866 on 2016/03/03 by Matthew.Griffin Removed Rocket specific batch files and made sure installed build won't try to include them Removed last use of RocketGenerateProjectFiles.sh by using UBT directly instead Change 2893349 on 2016/03/03 by Ben.Marsh Add derived ReplicatedBranch to support mirroring the VR editor branch to GitHub. Change 2894703 on 2016/03/04 by Ben.Marsh Include *.usf when looking for the last code changelist. Also update version to 1.68. Change 2897991 on 2016/03/07 by Ben.Marsh Copy the changelist number to the clipboard when the user presses Ctrl-C. Update version number to 1.69. Change 2898005 on 2016/03/07 by Ben.Marsh Minor changes to support BuildGraph: * UE4Build now has a static function that can update version files. * Adding FileReference/DirectoryReference methods to FileFilter and CommandUtils. * FileFilter treats any pattern containing a slash as implictly starting from the root directory, unless it begins with "...". Change 2898095 on 2016/03/07 by Ben.Marsh UAT - Don't retry builds if we're using local executor; we don't encounter failures due to timeouts. Change 2898248 on 2016/03/07 by Ben.Marsh UBT - Add the standard game include paths back in to plugin modules. Existing game code relies on this. Change 2898615 on 2016/03/08 by Matthew.Griffin Removed last uses of RunningRocket function All seemed to be overly cautious about people using an Installed build to do non standard things, don't see any ill effects in the most common circumstances. Change 2898681 on 2016/03/08 by Matthew.Griffin Removed Automation.RunningRocket function as there are no more uses Changed the majority of comments referencing Rocket mode that are now either about the engine being installed or from the Launcher etc. #lockdown Nick.Penwarden [CL 2898813 by Matthew Griffin in Main branch]
2016-03-08 09:00:48 -05:00
List<FileCollection> Result = UnityFiles;
Merging UE4-Pretest @ 2042161 to UE4 Change 1996384 by Andrew Brown: 322252 - EDITOR: Asset picker displays incorrect text when there are no filter results. Change 1996385 by Andrew Brown: 321858 - CRASH: Assertion failed: (Index >= 0) Function: STransformViewportToolBar::GetLocationGridLabel() STextBlock::CacheDesiredSize() Change 1996977 by Andrew Brown: 309685 - UE4: Adding an event/renaming an event on an event track in Matinee does not update the MatineeActor node in blueprint Change 2034873 by Jaroslaw Palczynski: More robust VS installation detection. Change 2039693 by Jaroslaw Palczynski: 327268 - RocketGDC: POSTLAUNCH: DEV: Make engine more robust against bad Visual Studio environment variables Change 1978978 by Jaroslaw Surowiec: - Removed obsolete AllowEliminatingReferences from the FArchive Change 2020326 by Maciej Mroz: pretest BP K2Node: RemovePinsFromOldPins function moved from K2Node to RemovePinsFromOldPins Change 2017608 by Maciej Mroz: pretest Some changes in SFortMissionEventSelector caused by FPinTypeTreeInfo Change 2017463 by Maciej Mroz: PinTypeSelector can lins unloaded UDStructs Change 2019979 by Maciej Mroz: pretest BP: Crash when performing Diff against Depot with blueprints containing Format Text nodes Change 2024469 by Maciej Mroz: MemberReference variable added to PinType. It's necessary for delegate's signature. Change 2024049 by Maciej Mroz: HasExternalBlueprintDependencies added to UK2Node_DynamicCast Change 2024586 by Maciej Mroz: FillSimpleMemberReference fix Change 2024472 by Maciej Mroz: workaround for delegates signature in pintype removed. Change 2023997 by Maciej Mroz: BP, UDStruc: Class UserDefinedStructEditorData added. It fixes many problems with undo/redo. Change 2021934 by Maciej Mroz: typo in a comment Change 2020355 by Maciej Mroz: Back out changelist 2020342 Change 2022178 by Maciej Mroz: CRASH: PRETEST: EDITOR: UDS: Crash when undo then redo new variable in struct that is used by blueprint Change 2021958 by Maciej Mroz: CRASH: PRETEST: EDITOR: UDS: Crash using variable of a type of copied struct in blueprint Change 1986247 by Maciej Mroz: User Defined Structures: circle dependency fixed. Early version. Change 1985107 by Maciej Mroz: UserDefinedStruct cannot have a field of a non-native type Change 1986278 by Maciej Mroz: pretest ensureMsgf in Struct::link Change 1986250 by Maciej Mroz: User Defined Struct: Non native classes are accepted types od values in structures. Change 1980955 by Maciej Mroz: Using AssetPtr and LazyPtr as UFunction parameter (intput or return) is explicitly disallowed. Change 2041215 by Maciej Mroz: ttp331249 BLOCKER: PRETEST: UI: Survive the Storm is missing the Mission HUD. Change 1984316 by Maciej Mroz: New User Defined Structure. WIP - there are still problems with circular dependencies. Change 2011616 by Maciej Mroz: UserDefinedStructures - various problems fixed. Change 2011609 by Maciej Mroz: more robust HasExternalBlueprintDependencies implementation Change 2016697 by Maciej Mroz: pretest BP: UDStruct - default value propagation in cooked build Change 2016288 by Maciej Mroz: pretest BP: UDStruct: Renaming variables wont break links from make/break nodes Change 1987637 by Maciej Mroz: CustomStruct icons placeholders Change 1987422 by Maciej Mroz: Better tooltips for variables in MyBlueprint Change 1991387 by Maciej Mroz: UDStructures fixes: Change 2029165 by Maciej Mroz: BP: better comment for incomatible pins Change 2030016 by Maciej Mroz: 8PRETEST: EDITOR: UDS: Defaults values aren't updated in struct type variables in blueprints Change 2030017 by Maciej Mroz: Unused UDStructure code removed (PPF_UseDefaultsForUDStructures) Change 2028856 by Maciej Mroz: BP: Pins with PC_Struct type are compatible only with exactly the same structure. (No derived structures are not handled as compatible). Change 2026701 by Maciej Mroz: k2: odd error on an add item node within a function (see attached image in details) Change 2028160 by Maciej Mroz: PRETEST: EDITOR: UDS: When deleting structures just after creating there is always some references in the memory Change 2028165 by Maciej Mroz: BP: BreakHitResult function has proper icon. Change 2033340 by Maciej Mroz: ttp330786 PRETEST: EDITOR: UDS: Changes of default values aren't apllied to breeak nodes for text type of variables Change 2034255 by Maciej Mroz: EDITOR: UDS: Changes of default values aren't apllied to make nodes for text type of variables ttp#330620 Change 2037682 by Maciej Mroz: ttp331309 BLOCKER: PRETEST: CRASH: EDITOR: Crash occurs when performing Diff Against Depot on any Blueprint Change 2033142 by Maciej Mroz: CreateDelegate Node uses internally FMemberReference. Refactor. Change 2032329 by Maciej Mroz: ttp330608 CRASH: PRETEST: EDITOR: UDS: Crash when trying to use struct named 'Color' in blueprint Change 2032420 by Maciej Mroz: ttp330620 PRETEST: EDITOR: UDS: Changes of default values aren't apllied to make nodes for text type of variables Change 2033139 by Maciej Mroz: Functions generated from CustomEvents can be also identified by GUID Change 2026631 by Maciej Mroz: BP. UDStruct: Invalid structs are handled better. Change 2025344 by Maciej Mroz: UDStruct enabled by default Change 2026672 by Maciej Mroz: EDITOR: BP: Can't easily remove 'pass-by-reference' pins on ReturnNodes Change 2026411 by Maciej Mroz: ExposeOnSpawn updated, it supports UDStructs, custom native Structs, and it throws compiler error. Change 2025342 by Maciej Mroz: GenerateBlueprintSkeleton moved from BLueprint::Serialize to RegenerateBlueprintClass, because SkeletonClass compilation requires all external dependencies to be loaded and linked. Change 2025570 by Steve Robb: Moved dependency processing to its own function. Change 2033235 by Steve Robb: String improvements Change 2035830 by Steve Robb: Workaround for FriendsAndChat crash in Fortnite. Change 2035115 by Steve Robb: UBT build time regression fixes. Change 2034162 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere Change 2034181 by Steve Robb: Removal of any references to .generated.inl Change 2020165 by Steve Robb: BuildPublicAndPrivateUObjectHeaders factored out into its own function. Change 2020187 by Steve Robb: CreateModuleCompileEnvironment function factored out. Change 2020055 by Steve Robb: Refactoring of Unity.cs to remove complex and duplicate iteration. Change 2020083 by Steve Robb: Another use of dictionary utilities. Change 2031049 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere Change 2025728 by Steve Robb: Refactored the application of a shared PCH file to multiple file into a single ApplySharedPCH function. Change 2020068 by Steve Robb: A couple of helpful utility functions for populating dictionaries. Change 2032307 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere [CL 2054495 by Robert Manuszewski in Main branch]
2014-04-23 20:18:55 -04:00
// Null everything to ensure that failure will occur if you accidentally reuse this object.
CurrentCollection = null!;
UnityFiles = null!;
Merging UE4-Pretest @ 2042161 to UE4 Change 1996384 by Andrew Brown: 322252 - EDITOR: Asset picker displays incorrect text when there are no filter results. Change 1996385 by Andrew Brown: 321858 - CRASH: Assertion failed: (Index >= 0) Function: STransformViewportToolBar::GetLocationGridLabel() STextBlock::CacheDesiredSize() Change 1996977 by Andrew Brown: 309685 - UE4: Adding an event/renaming an event on an event track in Matinee does not update the MatineeActor node in blueprint Change 2034873 by Jaroslaw Palczynski: More robust VS installation detection. Change 2039693 by Jaroslaw Palczynski: 327268 - RocketGDC: POSTLAUNCH: DEV: Make engine more robust against bad Visual Studio environment variables Change 1978978 by Jaroslaw Surowiec: - Removed obsolete AllowEliminatingReferences from the FArchive Change 2020326 by Maciej Mroz: pretest BP K2Node: RemovePinsFromOldPins function moved from K2Node to RemovePinsFromOldPins Change 2017608 by Maciej Mroz: pretest Some changes in SFortMissionEventSelector caused by FPinTypeTreeInfo Change 2017463 by Maciej Mroz: PinTypeSelector can lins unloaded UDStructs Change 2019979 by Maciej Mroz: pretest BP: Crash when performing Diff against Depot with blueprints containing Format Text nodes Change 2024469 by Maciej Mroz: MemberReference variable added to PinType. It's necessary for delegate's signature. Change 2024049 by Maciej Mroz: HasExternalBlueprintDependencies added to UK2Node_DynamicCast Change 2024586 by Maciej Mroz: FillSimpleMemberReference fix Change 2024472 by Maciej Mroz: workaround for delegates signature in pintype removed. Change 2023997 by Maciej Mroz: BP, UDStruc: Class UserDefinedStructEditorData added. It fixes many problems with undo/redo. Change 2021934 by Maciej Mroz: typo in a comment Change 2020355 by Maciej Mroz: Back out changelist 2020342 Change 2022178 by Maciej Mroz: CRASH: PRETEST: EDITOR: UDS: Crash when undo then redo new variable in struct that is used by blueprint Change 2021958 by Maciej Mroz: CRASH: PRETEST: EDITOR: UDS: Crash using variable of a type of copied struct in blueprint Change 1986247 by Maciej Mroz: User Defined Structures: circle dependency fixed. Early version. Change 1985107 by Maciej Mroz: UserDefinedStruct cannot have a field of a non-native type Change 1986278 by Maciej Mroz: pretest ensureMsgf in Struct::link Change 1986250 by Maciej Mroz: User Defined Struct: Non native classes are accepted types od values in structures. Change 1980955 by Maciej Mroz: Using AssetPtr and LazyPtr as UFunction parameter (intput or return) is explicitly disallowed. Change 2041215 by Maciej Mroz: ttp331249 BLOCKER: PRETEST: UI: Survive the Storm is missing the Mission HUD. Change 1984316 by Maciej Mroz: New User Defined Structure. WIP - there are still problems with circular dependencies. Change 2011616 by Maciej Mroz: UserDefinedStructures - various problems fixed. Change 2011609 by Maciej Mroz: more robust HasExternalBlueprintDependencies implementation Change 2016697 by Maciej Mroz: pretest BP: UDStruct - default value propagation in cooked build Change 2016288 by Maciej Mroz: pretest BP: UDStruct: Renaming variables wont break links from make/break nodes Change 1987637 by Maciej Mroz: CustomStruct icons placeholders Change 1987422 by Maciej Mroz: Better tooltips for variables in MyBlueprint Change 1991387 by Maciej Mroz: UDStructures fixes: Change 2029165 by Maciej Mroz: BP: better comment for incomatible pins Change 2030016 by Maciej Mroz: 8PRETEST: EDITOR: UDS: Defaults values aren't updated in struct type variables in blueprints Change 2030017 by Maciej Mroz: Unused UDStructure code removed (PPF_UseDefaultsForUDStructures) Change 2028856 by Maciej Mroz: BP: Pins with PC_Struct type are compatible only with exactly the same structure. (No derived structures are not handled as compatible). Change 2026701 by Maciej Mroz: k2: odd error on an add item node within a function (see attached image in details) Change 2028160 by Maciej Mroz: PRETEST: EDITOR: UDS: When deleting structures just after creating there is always some references in the memory Change 2028165 by Maciej Mroz: BP: BreakHitResult function has proper icon. Change 2033340 by Maciej Mroz: ttp330786 PRETEST: EDITOR: UDS: Changes of default values aren't apllied to breeak nodes for text type of variables Change 2034255 by Maciej Mroz: EDITOR: UDS: Changes of default values aren't apllied to make nodes for text type of variables ttp#330620 Change 2037682 by Maciej Mroz: ttp331309 BLOCKER: PRETEST: CRASH: EDITOR: Crash occurs when performing Diff Against Depot on any Blueprint Change 2033142 by Maciej Mroz: CreateDelegate Node uses internally FMemberReference. Refactor. Change 2032329 by Maciej Mroz: ttp330608 CRASH: PRETEST: EDITOR: UDS: Crash when trying to use struct named 'Color' in blueprint Change 2032420 by Maciej Mroz: ttp330620 PRETEST: EDITOR: UDS: Changes of default values aren't apllied to make nodes for text type of variables Change 2033139 by Maciej Mroz: Functions generated from CustomEvents can be also identified by GUID Change 2026631 by Maciej Mroz: BP. UDStruct: Invalid structs are handled better. Change 2025344 by Maciej Mroz: UDStruct enabled by default Change 2026672 by Maciej Mroz: EDITOR: BP: Can't easily remove 'pass-by-reference' pins on ReturnNodes Change 2026411 by Maciej Mroz: ExposeOnSpawn updated, it supports UDStructs, custom native Structs, and it throws compiler error. Change 2025342 by Maciej Mroz: GenerateBlueprintSkeleton moved from BLueprint::Serialize to RegenerateBlueprintClass, because SkeletonClass compilation requires all external dependencies to be loaded and linked. Change 2025570 by Steve Robb: Moved dependency processing to its own function. Change 2033235 by Steve Robb: String improvements Change 2035830 by Steve Robb: Workaround for FriendsAndChat crash in Fortnite. Change 2035115 by Steve Robb: UBT build time regression fixes. Change 2034162 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere Change 2034181 by Steve Robb: Removal of any references to .generated.inl Change 2020165 by Steve Robb: BuildPublicAndPrivateUObjectHeaders factored out into its own function. Change 2020187 by Steve Robb: CreateModuleCompileEnvironment function factored out. Change 2020055 by Steve Robb: Refactoring of Unity.cs to remove complex and duplicate iteration. Change 2020083 by Steve Robb: Another use of dictionary utilities. Change 2031049 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere Change 2025728 by Steve Robb: Refactored the application of a shared PCH file to multiple file into a single ApplySharedPCH function. Change 2020068 by Steve Robb: A couple of helpful utility functions for populating dictionaries. Change 2032307 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere [CL 2054495 by Robert Manuszewski in Main branch]
2014-04-23 20:18:55 -04:00
return Result;
}
}
/// <summary>
/// Given a set of C++ files, generates another set of C++ files that #include all the original
/// files, the goal being to compile the same code in fewer translation units.
/// The "unity" files are written to the IntermediateDirectory.
/// </summary>
UnrealBuildTool: Experimental fast C++ include dependency scanning - Adds experimental super-fast C++ outdated file checking - This feature is turned off for now as we continue to test and improve it - You can try it out by enabling "bUseExperimentalFastDependencyScan" option in your BuildConfiguration.xml - Here is the basic idea: - We no longer exhaustively scan all includes and build up a big graph every invocation - Instead, source files whose build products are missing have their includes scanned asynchronously while being compiled - The flat list of dependent includes for every outdated C++ is saved into a new cache file ("FlatCPPIncludes.bin") - On the next run, we quickly load that up and "just know" which files to check timestamps on to determine what is out of date - Lots of "@todo fastubt" comments were added to UnrealBuildTool for potential performance optimizations and further improvements on this feature. UnrealBuildTool: Determination of which modules have UObjects is now faster - We now cache which modules have UObjects and load those for the next session UnrealBuildTool: Module "shared" precompiled header determination is now much faster - We no longer scan all C++ includes for a module to figure out which "shared" PCH to use - Instead, we use the module dependencies specified in the module's *.Build.cs file - For example, if your module depends on "Engine" and "UnrealEd", we choose "UnrealEd"'s shared PCH Other UBT optimizations: - Reduced calls to string formatting functions when setting up API definitions for all modules - Added new performance diagnostics when bPrintPerformanceInfo is enabled in BuildConfiguration.xml - We no longer check for "external" headers when scanning includes (this code didn't work at all) - Optimized CleanDirectorySeparators() utility function to avoid string copies Fixed UnrealBuildTool not saving DependencyCache under a platform-named folder [CL 2238266 by Mike Fricker in Main branch]
2014-07-31 09:34:11 -04:00
/// <param name="Target">The target we're building</param>
/// <param name="CPPFiles">The C++ files to #include.</param>
/// <param name="HeaderFiles">The header files that might correspond to the C++ files.</param>
/// <param name="CompileEnvironment">The environment that is used to compile the C++ files.</param>
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
/// <param name="WorkingSet">Interface to query files which belong to the working set</param>
/// <param name="BaseName">Base name to use for the Unity files</param>
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3847469) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3805828 by Gil.Gribb UE4 - Fixed a bug in the lock free stalling task queue and adjusted a comment. The code is not current used, so this is not actually change the way the code works. Change 3806784 by Ben.Marsh UAT: Remove code to compile UBT when using UE4Build. It should already be compiled as a dependency of UAT. Change 3807549 by Graeme.Thornton Add a cook timer around VerifyCanCookPackage. A licensee reports this taking a lot of time so it'll be good to account for it. Change 3807727 by Graeme.Thornton Unhide the text asset format experimental editor option Change 3807746 by Josh.Engebretson Remove WER from iOS platform Change 3807928 by Robert.Manuszewski When async loading, GC Clusters will be created after packages have been processed to avoid situations where some of the objects that are being added to a cluster haven't been fully loaded yet Change 3808221 by Steve.Robb GitHub #4307 - Made GetModulePtr() thread safe by not using GetModule() ^ I'm not convinced by how much thread-safer this is really, but it's tidier anyway. Change 3809233 by Graeme.Thornton TBA: Misc changes to text asset commandlet - Rename mode to "loadsave" - Add -outputFormat option which can be assigned "text" or "binary" - When saving binary, use a differentiated filename so that source assets aren't overwritten Change 3809518 by Ben.Marsh Remove the outdated UnrealSync automation script. Change 3809643 by Steve.Robb GitHub #4277 : fix bug; FMath::FormatIntToHumanReadable 3rd comma and negative value #jira UE-53037 Change 3809862 by Steve.Robb GitHub #3342 : [FRotator.h] Fix to DecompressAxisFromByte to be more efficient and reflect its intent accurately #jira UE-42593 Change 3811190 by Graeme.Thornton Add support for writing specific log channels to their own files Change 3811197 by Graeme.Thornton Minor updates to output formatting and timing for the text asset commandlet Change 3811257 by Robert.Manuszewski Cluster creation will now be time-sliced Change 3811565 by Steve.Robb Define out non-monolithic module functions. Change 3812561 by Steve.Robb GitHub #3886 : Enable Brace-Initialization for Declaring Variables Incorrect semi-colon search removed after discussion with author. Test added. #jira UE-48242 Change 3812864 by Steve.Robb Removal of some unproven code which was supposed to fix hot reloading BP class functions in plugins. See: https://udn.unrealengine.com/questions/376978/aitask-blueprint-nodes-disappear-when-their-module.html #jira UE-53089 Change 3820358 by Ben.Marsh PR #4358: Incredibuild use ShowAgent by default (Contributed by projectgheist) Change 3822594 by Ben.Marsh UAT: Improvements to log file handling. - Always create log files in the final location, rather than writing to a temp directory and copying in later. - Now supports -Verbose and -VeryVerbose for increasing log verbosity, rather than -Verbose=XXX. - Keep a backlog of log output before the log system is initialized, and flush it to the log file once it is. - Allow buildmachines to specify the uebp_FinalLogFolder environment variable, which is used to form paths for display. When build machines copy log files elsewhere after UAT finishes (eg. a network share), this allows error messages to display the right location. Change 3823695 by Ben.Marsh UGS: Fix issue where precompiled binaries would not be shown as available for a change until scrolling the last submitted code change into the buffer (other symptoms, like de-focussing the main window would cause it to go back to an unavailable state, since the changes buffer was shrunk). Now always queries changes up to the last change for which zipped binaries are available. Change 3823845 by Ben.Marsh UBT: Exclude C# projects for unsupported platforms when generating project files. Change 3824180 by Ben.Marsh UGS: Add an option to show changes by build machines, and move the "only show reviewed" option in there too (Options > Show Changes). #jira Change 3825777 by Steve.Robb Fix to return value of StringToBytes. Change 3825810 by Ben.Marsh UBT: Reduce length of include paths for MSVC toolchain. Change 3825822 by Robert.Manuszewski Optimized PIE lazy pointer fixup. Should be up to 8x faster now. Change 3826734 by Ben.Marsh Remove code to disable TextureFormatAndroid on Linux. It seems to be an editor dependency. Change 3827730 by Steve.Robb Try to avoid decltype(auto) if it's not supported. See: https://udn.unrealengine.com/questions/395644/build-417-with-c11-on-linux-ttuple-errors.html Change 3827745 by Steve.Robb Initializer list support for TMap. Change 3827770 by Steve.Robb GitHub #4399 : Added a CONSTEXPR qualifiers to FVariant::GetType() #jira UE-53813 Change 3829189 by Ben.Marsh UBT: Now always writes a minimal log file. By default, just contains the regular console output and any reasons why actions are outdated and needed to be executed. UAT directs child UBT instances to output logs into its own log folder, so that build machines can save them off. Change 3830444 by Steve.Robb BuildVersion and ModuleManifest moved to Core, and parsing of these files reimplemented to avoid a JSON library. This should be revisited when Core has its own JSON library. Change 3830718 by Ben.Marsh Fix incorrect group name being returned by FStatNameAndInfo::GetGroupName() for stat groups. The editor populates the viewport stats list by calling this for every registered stat and stat group (via FLevelViewportCommands::HandleNewStatGroup). The menu entry attempts to show the stat name with STAT_XXX stripped from the start as the menu item label, with the free-form text description as a tooltip. For stat groups, the it would previously just return the stat group name as "Groups" (due to the raw naming convention of "//Groups//STATGROUP_Foo//..."). Since this didn't match the expected naming convention in FLevelViewportCommands::HandleNewStat (ie. STAT_XXX or STATGROUP_XXX), it would fail to add it. When the first actual stat belonging to that group is added, it would add a menu entry for the group based on that, but the stat description no longer makes sense as a tooltip for the group. As a result, all the editor tooltips were junk. #jira UE-53845 Change 3831064 by Ben.Marsh Fix log file contention when spawning UBT recursively. Change 3832654 by Ben.Marsh UGS: Fix error panel not being selected when opened, and weird alignment/color issues on it. Change 3832680 by Ben.Marsh UGS: Fix failing to detect workspace if synced to a different stream. Seems to be a regression caused by recent P4D upgrade. Change 3832695 by Ben.Marsh UGS: Invert the options in the 'Show Changes' submenu for simplicity. Change 3833528 by Ben.Marsh UAT: Script to rewrite source files with public include paths relative to the 'Public' folder. Usage is: RebasePublicIncludePaths -UpdateDir=<Dir> [-Project=<Dir>] [-Write]. Change 3833543 by Ben.Marsh UBT: Allow targets to opt-out of having public include paths added for every dependent module. This reduces the command line length when building a target, which has recently become a problem with larger games (due to Microsoft's compiler embedding the command line into each object file, with a maximum length of 64kb). All engine modules are compiled with this enabled; games may opt into it by setting bLegacyPublicIncludePaths = false; from their .target.cs, as may individual modules. Change 3834354 by Robert.Manuszewski Archetype pointer will now be cached to avoid locking the object tables when acquiring its info. It should also be faster this way regardless of any locks. #jira UE-52035 Change 3834400 by Robert.Manuszewski Fixing crash on exit caused by cached archetypes not being cleaned up before static exit cleanup. #jira UE-52035 Change 3834947 by Steve.Robb USE_FORMAT_STRING_TYPE_CHECKING removed from FMsg::Logf and FMsg::Logf_Internal. Change 3835004 by Ben.Marsh Fix code that relies on dubious behavior of requiring referenced "include path only" modules having their _API macros set to be empty, even if the module is actually implemented in a separate DLL. Change 3835340 by Ben.Marsh Fix errors making installed build from directories with spaces in the name. Change 3835972 by Ben.Marsh UBT: Improved diagnostic message for targets which don't need a version file. Change 3836019 by Ben.Marsh UBT: Fix warnings caused by defining linkage macros for third party libraries. Change 3836269 by Ben.Marsh Fix message box larger than the screen height being created when a large number of modules are incompatible on startup. Change 3836543 by Ben.Marsh Enable SoundMod plugin on Linux, since it's already supported through the editor. Change 3836546 by Ben.Marsh PR #4412: fix type mismatch (Contributed by nakapon) Change 3836805 by Ben.Marsh Fix commandlet to compile marketplace plugins. Change 3836829 by Ben.Marsh UBT: Fix ability to precompile plugins from installed engine builds. Change 3837036 by Ben.Marsh UBT: Write the previous and new contents of intermediate files to the log if they change. Makes it easier to debug unexpected rebuilds. Change 3837037 by Ben.Marsh UBT: Fix engine modules having inconsistent definitions depending on whether modules are only referenced for their include paths vs being linked into a binary (due to different _API macro). Change 3837040 by Ben.Marsh UBT: Remove code that initializes members in ModuleRules and TargetRules objects before the constructor is run. This is no longer necessary, now that the backwards-compatible default constructors have been removed. Change 3837247 by Ben.Marsh UBT: Remove UELinkerFixups module, now that plugins and precompiled modules do not require hacks to force initialization (since they're linked in as object files). Encryption and signing keys are now set via macros expanded from the IMPLEMENT_PRIMARY_GAME_MODULE macro, via project-specific macros added in the TargetRules constructor. Change 3837262 by Ben.Marsh UBT: Set whether a module is an engine module or not via a default value for the rules assembly. All non-program engine and enterprise modules are created with this flag set to true; program targets and modules are now created from a different assembly that sets it to false. This removes hacks from UEBuildModule needed to adjust behavior for different module types based on the directory containing the module. Also add a bUseBackwardsCompatibleDefaults flag to the TargetRules class, also initialized to a default value from a setting passed to the RulesAssembly constructor. This controls whether modules created for the target should be configured to allow breaking changes to default settings, and is set to false for all engine targets, and true for all project targets. Change 3837343 by Ben.Marsh UBT: Remove the OverrideExecutableFileExtension target property. Change the only current use for this (the MayaLiveLinkPlugin target) to use a post build step to copy the file instead. Change 3837356 by Ben.Marsh Fix invalid character encodings. Change 3837727 by Graeme.Thornton UnrealPak: KeyGenerator: Only generate prime table when required, not all the time Change 3837823 by Ben.Marsh UBT: Output warnings and errors when compiling module rules assembly in a way that allows them to be double-clicked in the Visual Studio output window. Change 3837831 by Graeme.Thornton UBT: When parsing crypto settings, always load legacy data first, then allow the new system to override it. Provides the same key backwards compatibility that the editor settings class gives Change 3837857 by Robert.Manuszewski PR #4404: Make FGCArrayPool singleton global instead of per-CU (Contributed by mhutch) Change 3837943 by Robert.Manuszewski PR #4405: Fix FGarbageCollectionTracer (Contributed by mhutch) Change 3838451 by Ben.Marsh UBT: Fix exceptions thrown on a background thread while caching C++ includes not being caught and logged correctly. Now captures exceptions and re-throws on the main thread. #jira UE-53996 Change 3839519 by Ben.Marsh UBT: Simplify configuring bPrecompile and bUsePrecompile settings for modules. Each rules assembly can now be configured as installed, which defaults the module rules it creates to use precompiled data. Change 3843790 by Graeme.Thornton UnrealPak: Log the size of all encrypted data Change 3844258 by Ben.Marsh Fix plugin compile failure when created via new plugin wizard. Passing -plugin on the command line is unnecessary, and is now reserved for packaging external plugins for the marketplace. Also extend the length of time that the error toast stays visible, and don't delete the plugin on failure. #jira UE-54157 Change 3845796 by Ben.Marsh Workaround for slow performance of String.EndsWith() on Mono. Change 3845823 by Ben.Marsh Fix case sensitive matching of platform names in -TargetPlatform=X argument to BuildCookRun. #jira UE-54123 Change 3845901 by Arciel.Rekman Linux: fix crash due to lambda lifetime issues (UE-54040). - The lambda goes out of scope in FBufferVisualizationMenuCommands::CreateVisualizationCommands, crashing the editor if compiled with a recent clang (5.0+). (Edigrating 3819174 to Dev-Core) Change 3846439 by Ben.Marsh Revert CL 3822742 to always call Process.WaitForExit(). The Android target platform module in the editor spawns ADB.EXE, which inherits the editor's stdout/stderr handles and forks itself. Process.WaitForExit() waits for EOF on those pipes, which never occurs because the forked process never terminates. Proper fix is probably to have the engine explicitly duplicate stdout/stderr handles for new pipes to output process, but too risky before copying up to Main. Change 3816608 by Ben.Marsh UBT: Use DirectoryReference objects for all include paths. Change 3816954 by Ben.Marsh UBT: Remove bIncludeDependentLibrariesInLibrary option. This is not widely supported by platform toolchains, and is not used anywhere. Change 3816986 by Ben.Marsh UBT: Remove UEBuildBinaryConfig; UEBuildBinary objects are now just created directly. Change 3816991 by Ben.Marsh UBT: Deprecate PlatformSpecificDynamicallyLoadedModules. We no longer have any special behavior for these modules. Change 3823090 by Ben.Marsh UAT: Improve logging for child UAT instances. - Calling RunUAT now requires an identifier for prefixing into the parent log, which is also used to determine the name of the log folder. - Stdout is no longer written to its own output file, since it's written to the parent stdout, the parent log file, and the child log file anyway. - Log folders for child UAT instances are left intact, rather than being copied to the parent folder. The derived names for the copied names were confusing and hard to read. - Output from UAT is no longer returned as a string. It should not be parsed anyway (but may be huge!). ProcessResult now supports running without capturing output. Change 3826082 by Ben.Marsh UBT: Add a check to make sure that all modules that are precompiled are correctly marked to enable it, even if they are part of the build target. Change 3827025 by Ben.Marsh UBT: Move the compile output directory into a property on the module, and explicitly pass it to the toolchain when compiling. Change 3829927 by James.Hopkin Made HTTP interface const correct Change 3833533 by Ben.Marsh Rewrite engine source files to base include paths relative to the "Public" directory. This allows reducing the number of public include paths that have to be added for engine modules. Change 3835826 by Ben.Marsh UBT: Precompiled targets now generate a separate manifest for each precompiled module, rather than adding object files to a library. This fixes issues where object files from static libraries would not be linked into a target if a symbol in them was not referenced. Change 3835969 by Ben.Marsh UBT: Fix cases where text is being written directly to the console rather than via logging functions. Change 3837777 by Steve.Robb Format string type checking added to FOutputDevice::Logf. Fixes for those. Change 3838569 by Steve.Robb Algo moved up a folder. [CL 3847482 by Ben Marsh in Main branch]
2018-01-20 11:19:29 -05:00
/// <param name="IntermediateDirectory">Intermediate directory for unity cpp files</param>
/// <param name="Graph">The makefile being built</param>
/// <param name="SourceFileToUnityFile">Receives a mapping of source file to unity file</param>
/// <param name="NormalFiles">Receives the files to compile using the normal configuration.</param>
/// <param name="AdaptiveFiles">Receives the files to compile using the adaptive unity configuration.</param>
public static void GenerateUnityCPPs(
Copying //UE4/Dev-Build to //UE4/Dev-Main (Source: //UE4/Dev-Build @ 3277940) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3233612 on 2016/12/13 by Ben.Marsh UGS: Fix cases where precompiled binaries are submitted for a content change. Change 3235584 on 2016/12/14 by Ben.Marsh UBT: Deprecate the overridable TargetRules.ShouldUseSharedBuildEnvironment() function; targets should specify which build environment to use by setting the BuildEnvironment field in their constructor instead. Change 3235741 on 2016/12/14 by Ben.Marsh UBT: Deprecate the SetupBinaries() callback on the TargetRules class. Instead of overriding this, targets may override their launch module through the "LaunchModuleName" property in their constructor, and add extra modules to the "ExtraModuleNames" field on the TargetRules object itself. Change 3238176 on 2016/12/16 by Ben.Marsh UBT: New XML config file parser. Now reads once at startup and can be applied to instanced objects rather than global fields, and caches parsed output in a binary form for quicker initialization on subsequent runs. Change 3238249 on 2016/12/16 by Ben.Marsh UBT: Add attribute-driven command line parser. Change 3238462 on 2016/12/16 by Ben.Marsh UBT: Include the Platform, Configuration and Architecture on the TargetRules. Add a constructor which takes the TargetInfo object and deprecate the parameterless one; these fields are currently initialized before invoking the constructor in RulesAssembly. Change 3238564 on 2016/12/16 by Ben.Marsh UBT: Deprecate the ModuleRules constructor which takes a TargetInfo argument. Replace it with a read-only wrapper around the target rules instead, so target-specific configuration options can be read without needing to access global static variables. Also require that it's passed to the base class constructor. Change 3239919 on 2016/12/19 by Ben.Marsh UBT: Remove the "PreferredSubPlatform" property. This is only used for Windows XP support, which is being retired anyway. Having the target define its own architecture is an awkward contractiction to maintain support for, since the target rules are constructed after the architecture already has been determined. Change 3240061 on 2016/12/19 by Ben.Marsh UBT: Remove ThirdPartyHeaderFinder. I don't think anything is using this any more. Change 3240175 on 2016/12/19 by Ben.Marsh UBT: Add the target name and project file location to the target rules. Change 3240490 on 2016/12/19 by Ben.Marsh UAT: Remove Mac staging code that requires UAT to compile and construct .target.cs files when packaging, to check bUseSteam and bUseCEF3 flags. libsteam_api.dylib is now staged at build time by adding it as a bundle resource, CEF3 is already marked as a runtime dependency by CEF3.build.cs, and UnrealCEFSubProcess.app is already marked as a runtime dependency from WebBrowser.build.cs. Change 3240717 on 2016/12/20 by Ben.Marsh UAT: Allow configuring UAT to run as if on a build machine by passing the -buildmachine argument on the command line. Change 3240718 on 2016/12/20 by Ben.Marsh UAT: Remove target-specific properties that are no longer used by staging (bUsesSlate, bUsesCEF3, etc...). This stuff should all be handled inside UBT. Change 3241002 on 2016/12/20 by Ben.Marsh UBT: Move most target configuration settings from UEBuildConfiguration to TargetRules. This encapsulates target specific settings that will allow instancing multiple targets in the future. To facilitate migration of settings to their new location, "UEBuildConfiguration" is now a property that returns the current target rules instance. Change 3241027 on 2016/12/20 by Ben.Marsh Only copy the Steamworks dylib into the app bundle for monolithic builds. For all other times, just add it as a runtime dependency. Change 3241055 on 2016/12/20 by Ben.Marsh UBT: Only store a ReadOnlyTargetRules object on the instanced build target; finalize the configuration before it's instantiated. Change 3241156 on 2016/12/20 by Ben.Marsh Update SwarmInterface.csproj to .NET framework 4.5, to match what all other C# tools are using. Change 3241205 on 2016/12/20 by Ben.Marsh Replace all uses of TargetRules.TargetType with TargetType. Change 3241881 on 2016/12/21 by Ben.Marsh UBT: Remove project file information from UEBuildContext base class. As configurable properties are moved on to the TargetRules object, it will no longer be a dependency to instantiate the platform with this path. Change 3241895 on 2016/12/21 by Ben.Marsh UBT: Remove toolchain support for Windows XP. Change 3241908 on 2016/12/21 by Ben.Marsh UBT: Move settings for windows targets into a WindowsTargetRules class, which is exposed for targets to modify via the TargetRules.WindowsPlatform field. Change 3242835 on 2016/12/22 by Ben.Marsh UBT: Fix multiple binaries being created if plugins specify module names more than once. MfMedia.uplugin has MfMediaFactory listed twice. Change 3242837 on 2016/12/22 by Ben.Marsh Change UE4EditorServices to include MacSystemIncludes rather than Cocoa.h directly; causes FVector to be defined incorrectly in non-unity builds. Change 3242923 on 2016/12/22 by Ben.Marsh Build: Fixes for conforming incremental workspaces: * P4 have table is now reset before deleting all the files. This prevents Perforce being out of sync if the delete fails for some reason. * Incremental workspaces are skipped when running a clean operation, because they do not have a workspace capture file (causing a full re-sync, always). The "P4 Clean" option is still effective for cleaning these workspaces. Change 3242961 on 2016/12/22 by Ben.Marsh UBT: Move entry points from PreBuildSync() and PostBuildSync() from UEToolChain to UEBuildPlatform, and make the original toolchain versions static. These functions are already at odds with the rest of the data flow within UBT because they rely on global state cached outside the toolchain instance, making assumptions that UBT is only ever going to be invoked with one target that's constructed in the same run and that nothing is being cached (eg. UBT makefiles). Moving them onto UEBuildPlatform simplifies the toolchain lifecycle for other platforms without leaving Mac and IOS any more limited than they were before. Change 3242981 on 2016/12/22 by Ben.Marsh UBT: Remove symbol server handling code into UAT's platform library, since it's never needed from inside UBT. Change 3242999 on 2016/12/22 by Ben.Marsh UBT: Remove the StripSymbols() function from the UEToolChain base class. This functionality is only required by UAT, so it's better suited to being exposed through UAT's modular platform classes. Change 3243022 on 2016/12/22 by Ben.Marsh UBT: Require an instance of the target rules to be able to construct a toolchain in UBT. This will allow configuring toolchain-specific options from the target, using reflection from config files, and the command line. Change 3243083 on 2016/12/22 by Ben.Marsh UBT: Move settings for the Windows compiler version to use onto the Windows-specific target rules. Change 3243090 on 2016/12/22 by Ben.Marsh UBT: Change the third party paths in UEBuildConfiguration to constants. Changing these would not work. Change 3243423 on 2016/12/23 by Ben.Marsh UBT: Move a lot of settings from BuildConfiguration to TargetRules. This allows different targets to have different settings, naturally, and moves converts argument parsing and config to be driven by attributes. Change 3243516 on 2016/12/23 by Ben.Marsh UBT: Remove the ValidateUEBuildConfiguration callback, which is no longer used. (XGE settings validation occurs in XGE.cs) Change 3244020 on 2016/12/28 by Ben.Marsh UBT: Remove the BaseIntermediatePath static property. Precursor to removing RelativeEnginePath and IntermediateFolder properties. Change 3244074 on 2016/12/28 by Ben.Marsh UBT: Remove the RelativeEnginePath variable from BuildConfiguration. UnrealBuildTool.EngineDirectory gives the absolute path, and can be used to construct a relative path when necessary. Change 3244076 on 2016/12/28 by Ben.Marsh UBT: Remove BuildConfiguration.BaseIntermediateFolder; just use a fixed directory everywhere instead. Change 3244083 on 2016/12/28 by Ben.Marsh UBT: Replace FileReference and DirectoryReference instance methods for manipulating files and directories with static methods, to mirror the System.IO.File and System.IO.Directory classes. Change 3244441 on 2016/12/31 by Ben.Marsh UBT: Remove code to force PDBs when building with no debug info under XGE. Verified described symptoms (that it causes PCH generation to be serialized) no longer occur. Change 3244687 on 2017/01/03 by Matthew.Griffin Changed Exception to use FirstInclude.IncludeName as PrecompiledHeaderIncludeFilename can be null when this occurs Change 3246112 on 2017/01/04 by Ben.Marsh UBT: Fix UHT failures building some targets with the -useprecompiled option, due to differences in the order that circularly dependent modules are parsed. Precompiled binaries are now kept in the regular AppBinaries list, but are excluded from the build at the last minute. Also change some checks from IsEngineInstalled() to bUsePrecompiled, to prevent headers being overwritten when running in a non-installed precompiled build. Change 3246223 on 2017/01/04 by Ben.Marsh UBT: Prevent version manifests being overridden if a file is not being built as part of the target. Change 3246387 on 2017/01/04 by Ben.Marsh UBT: Remove BuildConfiguration settings for UnrealCodeAnalyzer. This tool isn't used at the moment, but it's configured using global variables accessed from all over the UBT codebase, making it difficult to refactor the build options into an instanced object. If we bring this tool back from the dead in the future, it should be possible to implement it using the exported JSON target definition or the XGE manifest, similarly to how IncludeTool uses it. Change 3247004 on 2017/01/04 by Ben.Marsh UBT: Simplify the logic for cleaning targets in UBT. Now uses FileReference/DirectoryReference objects everywhere, doesn't require the compile/link environment, and does all the checking to avoid deleting precompiled binaries in one place. Change 3247250 on 2017/01/04 by Ben.Marsh UBT: Prevent precompiled binaries being added to the list of app binaries twice. Change 3247594 on 2017/01/05 by Ben.Marsh Build: Run sample and template editors on the same agents as the other incremental builds. Remove ProtoStar, which does not have any non-precompiled editor target to build. Change 3247763 on 2017/01/05 by Ben.Marsh UBT: Allow the toolchain to update the list of build products for each module linked into a binary. Allows Mac to add dylibs and bundle resources specified per-module without having to construct a link environment and try to link them. Change 3247775 on 2017/01/05 by Ben.Marsh UBT: Instance the target compile and link environments when they are required during building, and don't persist them on the UEBuildTarget instance. Change 3247811 on 2017/01/05 by Ben.Marsh EC: Add a batch file for testing postp filters. Change 3247839 on 2017/01/05 by Ben.Marsh EC: Include the name of the file being compiled when parsing MSVC errors and warnings. Change 3248101 on 2017/01/05 by Ben.Marsh UBT: Fix Android support for force included headers. Change 3248533 on 2017/01/05 by Ben.Marsh PR #3097: UBT project supports optional platforms (Contributed by PrimalJohnScott) Change 3249205 on 2017/01/06 by Ben.Marsh UAT: Fix ParseTaggedP4Output throwing an exception if the same key name is specified more than once. This can happen when parsing the output from "P4 INFO", where multiple brokers are present. Change 3249249 on 2017/01/06 by Ben.Marsh UBT: Check for the existance of AndroidManifest.xml within extracted AAR directories, rather than just checking for the existance of the directory itself. Perforce does not remove empty directories when cleaning a workspace unless the rmdir option is on the workspace, so this can cause incremental build failures to fail on build machines. Change 3249486 on 2017/01/06 by Ben.Marsh UBT: Use relative paths in unity files when compiling for Mac/IOS, rather than generating a separate local/remote version of the file for gathering include dependencies. Absolute paths are only used to work around the way that MSVC concatenates paths internally; we don't hit the same problems when checking dependencies. Change 3249736 on 2017/01/06 by Ben.Marsh UBT: Rename CPPEnvironment to CppCompileEnvironment, and remove the separate CPPEnvironmentConfiguration object. All settings are now stored directly on the CppCompileEnvironment object. Change 3250179 on 2017/01/07 by Ben.Marsh Fix creating installed build when root directory contains a space in the name. Change 3250181 on 2017/01/07 by Ben.Marsh UBT: Remove some esoteric (and unused, AFAIK) options for orthogonally building different platforms. Change 3250223 on 2017/01/07 by Ben.Marsh UBT: Merge the LinkEnvironment and LinkEnvironmentConfiguration classes together. Change 3250233 on 2017/01/07 by Ben.Marsh UGS: Allow specifying a workspace-specific sync filter, which is applied on top of the standard filter. Also fix filter being cleared if the cancel button is pressed, and help text being stripped out. Change 3250241 on 2017/01/07 by Ben.Marsh UBT: Move the options for specifying additional Android architectures to target onto an Android-specific object on the TargetRules. Change 3250400 on 2017/01/08 by Ben.Marsh UBT: Move executor config settings onto the executor instances. Change 3257708 on 2017/01/13 by Ben.Marsh UBT: Remove the ThirdPartySourceDirectory constant; there are many places which hard-code or assume this location anyway, and it's not going to change. Change 3260535 on 2017/01/17 by Ben.Marsh Add an optional "RequiredSubmittedChange" setting to EC settings files. Allows a scheduled job to run even if there have been no code changes submitted. Test with the utilization capture job. Change 3260875 on 2017/01/17 by Ben.Marsh EC: Fix workspaces getting out of sync wrt. newly added files when jobs are aborted during a sync. In such cases, the P4 have table indicates the new files have been synced locally, but the workspace is forced back to a state before it had them due to the capture file. When a following sync tries to add them again, P4 believes the workspace already has them synced. To work around this, we now write an additional file to the root folder of a workspace containing the last CL that was captured, and sync back to it before doing the reconcile. Change 3261724 on 2017/01/18 by Ben.Marsh Allow filtering job types from the list view in EC. Hide the utilization capture job by default. Also set up notifications for the utilization capture job. Change 3261756 on 2017/01/18 by Ben.Marsh IncludeTool: Prevent matching a full enum declaration as a forward declaration. Change 3261932 on 2017/01/18 by Ben.Marsh EC: Add support for specifying days of the week in schedules. The following syntaxes are supported: "Monday, Tuesday and Wednesday at 10:30" "Daily except Sunday and Wednesday at 14:30" Also tweak display of dates relative to now to handle dates/times in the future, and include the date when specifying a day name. #jira UEB-729 Change 3262676 on 2017/01/18 by Ben.Marsh UBT: Split UBTMakefile into its own file. (From PR #3106) Change 3263893 on 2017/01/19 by Ben.Marsh UBT: Stop exporting platform classes from UBT, as well as all the referenced classes that have to be made public as a result. Any platform-specific functionality that needs to be shared with UAT is now exposed through wrappers in separate public classes, eg. WindowsExports.cs, IOSExports.cs, etc... Change 3264291 on 2017/01/19 by Ben.Marsh UBT: Fix errors generating documentation in UBT, and enable it by default. Will catch more errors with new code being added. Originally in PR #3106, but redone due to conflicts. Change 3264534 on 2017/01/19 by Ben.Marsh UBT: Include plugin config files in generated projects. Change 3264571 on 2017/01/19 by Ben.Marsh UBT: Prevent overwriting .modules files if nothing has changed. On builders, it's common to build multiple editors in the same workspace, and changing the last modified timestamp causes BuildGraph to fail due to tampered files. Change 3265745 on 2017/01/20 by Ben.Marsh UGS: Automatically open UGS when running the launcher for a second time, rather than prompting to close the original instance. Change 3265777 on 2017/01/20 by Ben.Marsh UGS: Automatically close and reopen when UGS is re-ran with the shift key held down to switch into unstable mode. Change 3268314 on 2017/01/23 by Ben.Marsh UBT: Make sure version manifests are stable by sorting the list of build products, so they are only touched if the contents have really changed. Change 3269601 on 2017/01/24 by Ben.Marsh UBT: Fix symbol files being added to manifest for some platforms even though debug info is disabled. Change 3269607 on 2017/01/24 by Ben.Marsh UBT: Fix bug where UBT would need to be invoked when switching between two editors sharing the same engine binaries on Mac. The location of the .modules file cannot be guessed on Mac by looking in the same directory as the primary output executable because it's an .app bundle, and the actual modules are nested several directories below that. Change 3269608 on 2017/01/24 by Ben.Marsh UBT: Fix additional files copied into the app bundle always being updated on Mac. Now uses rsync --checksum to make sure only modified files are updated. Change 3271062 on 2017/01/24 by Ben.Marsh UBT: Fixes for bugs detected by PVS Studio (PR #3161) Change 3272421 on 2017/01/25 by Ben.Marsh Fix commends regarding DDC in BaseEngine.ini #jira UE-41076 Change 3272810 on 2017/01/25 by Ben.Marsh Fix VS2017 being displayed as 'Visual Studio 15' in the Windows target settings panel. Change 3272935 on 2017/01/25 by Ben.Marsh Fix Metal errors launching on Mac due to use of OSX environment settings before they are initialized. Toolchain settings are now constructed on demand in a separate class, for Mac, iOS and TVOS. Change 3274167 on 2017/01/26 by Ben.Marsh Fix resource files not being compiled in installed builds on Windows. Was causing metadata not to be embedded into executables. #jira UE-36457 Change 3275557 on 2017/01/27 by Ben.Marsh Expand checks for propagation of restricted folder names to include source files, and to ensure that each restricted folder is represented in the output. Also improve messaging to show the dependency chain leading to a restricted folder being referenced, and which folder it is. Change 3275628 on 2017/01/27 by Ben.Marsh UBT: Splitting configuration files into one class per-file. Change 3276784 on 2017/01/29 by Ben.Marsh Add an authoritative list of confidential folder names, and expose it through global BuildGraph properties ($(RestrictedFolderNames) and $(RestrictedFolderFilter)). Also switch existing scripts to use it. Change 3276792 on 2017/01/29 by Ben.Marsh UBT: Use UE4CSharp.prog files to indicate which projects should be included in the solution without having to hard-code a list of them in UBT. Change 3277263 on 2017/01/30 by Ben.Marsh IncludeTool: Merging various fixes. * Fix warnings about #include directives after first code block from parsing monolithic headers. * Fix exception on startup if the intermediate directory does not already exist. * Add a special case for ignoring missing header guards from MonolithicHeaderBoilerplate.h, rather than marking it as an inline header. Marking it as inline prevents parsing include directives, which results in including CoreTypes.h from the wrong location. * Create job objects for spawned compiler instances to prevent them trying allocating more memory than the system can spare. * Remove (unused) code which makes assumptions about files ending with "Classes.h". * Add a verbose per-file output log to aid with debugging. * Negate the MakeStandalone command line option, which was added to allow tweaking forward declarations in already optimized files, so the optimized output does not have missing headers by default. * Fix missing headers when creating standalone files, due to incorrect list of previous files being passed in to the OutputFile constructor. Now passes the original list of included files, not the output list. * Fix initial header for a cpp file sometimes being removed. Forcibly including a header at the start of the file does not use the normal pathway for spidering through includes, so a second include of the same file was being generated. Any includes of that header were being forced into output, and the earlier include was then removed due to being redundant. * Prevent forward declaring enums which have to be parsed by UHT. UHT relies on includes to determine a parse order, and will fail if the enum definition has not been parsed first. * Use a relative path for private includes in the same module if there are any. Fixes some incorrect paths, and makes it clearer that we're doing something we shouldn't. Change 3277307 on 2017/01/30 by Ben.Marsh UBT: Fix private PCHs not using correct header. Causes custom definitions to be excluded from the command line. [CL 3278101 by Ben Marsh in Main branch]
2017-01-30 16:52:08 -05:00
ReadOnlyTargetRules Target,
List<FileItem> CPPFiles,
List<FileItem> HeaderFiles,
Copying //UE4/Dev-Build to //UE4/Dev-Main (Source: //UE4/Dev-Build @ 3277940) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3233612 on 2016/12/13 by Ben.Marsh UGS: Fix cases where precompiled binaries are submitted for a content change. Change 3235584 on 2016/12/14 by Ben.Marsh UBT: Deprecate the overridable TargetRules.ShouldUseSharedBuildEnvironment() function; targets should specify which build environment to use by setting the BuildEnvironment field in their constructor instead. Change 3235741 on 2016/12/14 by Ben.Marsh UBT: Deprecate the SetupBinaries() callback on the TargetRules class. Instead of overriding this, targets may override their launch module through the "LaunchModuleName" property in their constructor, and add extra modules to the "ExtraModuleNames" field on the TargetRules object itself. Change 3238176 on 2016/12/16 by Ben.Marsh UBT: New XML config file parser. Now reads once at startup and can be applied to instanced objects rather than global fields, and caches parsed output in a binary form for quicker initialization on subsequent runs. Change 3238249 on 2016/12/16 by Ben.Marsh UBT: Add attribute-driven command line parser. Change 3238462 on 2016/12/16 by Ben.Marsh UBT: Include the Platform, Configuration and Architecture on the TargetRules. Add a constructor which takes the TargetInfo object and deprecate the parameterless one; these fields are currently initialized before invoking the constructor in RulesAssembly. Change 3238564 on 2016/12/16 by Ben.Marsh UBT: Deprecate the ModuleRules constructor which takes a TargetInfo argument. Replace it with a read-only wrapper around the target rules instead, so target-specific configuration options can be read without needing to access global static variables. Also require that it's passed to the base class constructor. Change 3239919 on 2016/12/19 by Ben.Marsh UBT: Remove the "PreferredSubPlatform" property. This is only used for Windows XP support, which is being retired anyway. Having the target define its own architecture is an awkward contractiction to maintain support for, since the target rules are constructed after the architecture already has been determined. Change 3240061 on 2016/12/19 by Ben.Marsh UBT: Remove ThirdPartyHeaderFinder. I don't think anything is using this any more. Change 3240175 on 2016/12/19 by Ben.Marsh UBT: Add the target name and project file location to the target rules. Change 3240490 on 2016/12/19 by Ben.Marsh UAT: Remove Mac staging code that requires UAT to compile and construct .target.cs files when packaging, to check bUseSteam and bUseCEF3 flags. libsteam_api.dylib is now staged at build time by adding it as a bundle resource, CEF3 is already marked as a runtime dependency by CEF3.build.cs, and UnrealCEFSubProcess.app is already marked as a runtime dependency from WebBrowser.build.cs. Change 3240717 on 2016/12/20 by Ben.Marsh UAT: Allow configuring UAT to run as if on a build machine by passing the -buildmachine argument on the command line. Change 3240718 on 2016/12/20 by Ben.Marsh UAT: Remove target-specific properties that are no longer used by staging (bUsesSlate, bUsesCEF3, etc...). This stuff should all be handled inside UBT. Change 3241002 on 2016/12/20 by Ben.Marsh UBT: Move most target configuration settings from UEBuildConfiguration to TargetRules. This encapsulates target specific settings that will allow instancing multiple targets in the future. To facilitate migration of settings to their new location, "UEBuildConfiguration" is now a property that returns the current target rules instance. Change 3241027 on 2016/12/20 by Ben.Marsh Only copy the Steamworks dylib into the app bundle for monolithic builds. For all other times, just add it as a runtime dependency. Change 3241055 on 2016/12/20 by Ben.Marsh UBT: Only store a ReadOnlyTargetRules object on the instanced build target; finalize the configuration before it's instantiated. Change 3241156 on 2016/12/20 by Ben.Marsh Update SwarmInterface.csproj to .NET framework 4.5, to match what all other C# tools are using. Change 3241205 on 2016/12/20 by Ben.Marsh Replace all uses of TargetRules.TargetType with TargetType. Change 3241881 on 2016/12/21 by Ben.Marsh UBT: Remove project file information from UEBuildContext base class. As configurable properties are moved on to the TargetRules object, it will no longer be a dependency to instantiate the platform with this path. Change 3241895 on 2016/12/21 by Ben.Marsh UBT: Remove toolchain support for Windows XP. Change 3241908 on 2016/12/21 by Ben.Marsh UBT: Move settings for windows targets into a WindowsTargetRules class, which is exposed for targets to modify via the TargetRules.WindowsPlatform field. Change 3242835 on 2016/12/22 by Ben.Marsh UBT: Fix multiple binaries being created if plugins specify module names more than once. MfMedia.uplugin has MfMediaFactory listed twice. Change 3242837 on 2016/12/22 by Ben.Marsh Change UE4EditorServices to include MacSystemIncludes rather than Cocoa.h directly; causes FVector to be defined incorrectly in non-unity builds. Change 3242923 on 2016/12/22 by Ben.Marsh Build: Fixes for conforming incremental workspaces: * P4 have table is now reset before deleting all the files. This prevents Perforce being out of sync if the delete fails for some reason. * Incremental workspaces are skipped when running a clean operation, because they do not have a workspace capture file (causing a full re-sync, always). The "P4 Clean" option is still effective for cleaning these workspaces. Change 3242961 on 2016/12/22 by Ben.Marsh UBT: Move entry points from PreBuildSync() and PostBuildSync() from UEToolChain to UEBuildPlatform, and make the original toolchain versions static. These functions are already at odds with the rest of the data flow within UBT because they rely on global state cached outside the toolchain instance, making assumptions that UBT is only ever going to be invoked with one target that's constructed in the same run and that nothing is being cached (eg. UBT makefiles). Moving them onto UEBuildPlatform simplifies the toolchain lifecycle for other platforms without leaving Mac and IOS any more limited than they were before. Change 3242981 on 2016/12/22 by Ben.Marsh UBT: Remove symbol server handling code into UAT's platform library, since it's never needed from inside UBT. Change 3242999 on 2016/12/22 by Ben.Marsh UBT: Remove the StripSymbols() function from the UEToolChain base class. This functionality is only required by UAT, so it's better suited to being exposed through UAT's modular platform classes. Change 3243022 on 2016/12/22 by Ben.Marsh UBT: Require an instance of the target rules to be able to construct a toolchain in UBT. This will allow configuring toolchain-specific options from the target, using reflection from config files, and the command line. Change 3243083 on 2016/12/22 by Ben.Marsh UBT: Move settings for the Windows compiler version to use onto the Windows-specific target rules. Change 3243090 on 2016/12/22 by Ben.Marsh UBT: Change the third party paths in UEBuildConfiguration to constants. Changing these would not work. Change 3243423 on 2016/12/23 by Ben.Marsh UBT: Move a lot of settings from BuildConfiguration to TargetRules. This allows different targets to have different settings, naturally, and moves converts argument parsing and config to be driven by attributes. Change 3243516 on 2016/12/23 by Ben.Marsh UBT: Remove the ValidateUEBuildConfiguration callback, which is no longer used. (XGE settings validation occurs in XGE.cs) Change 3244020 on 2016/12/28 by Ben.Marsh UBT: Remove the BaseIntermediatePath static property. Precursor to removing RelativeEnginePath and IntermediateFolder properties. Change 3244074 on 2016/12/28 by Ben.Marsh UBT: Remove the RelativeEnginePath variable from BuildConfiguration. UnrealBuildTool.EngineDirectory gives the absolute path, and can be used to construct a relative path when necessary. Change 3244076 on 2016/12/28 by Ben.Marsh UBT: Remove BuildConfiguration.BaseIntermediateFolder; just use a fixed directory everywhere instead. Change 3244083 on 2016/12/28 by Ben.Marsh UBT: Replace FileReference and DirectoryReference instance methods for manipulating files and directories with static methods, to mirror the System.IO.File and System.IO.Directory classes. Change 3244441 on 2016/12/31 by Ben.Marsh UBT: Remove code to force PDBs when building with no debug info under XGE. Verified described symptoms (that it causes PCH generation to be serialized) no longer occur. Change 3244687 on 2017/01/03 by Matthew.Griffin Changed Exception to use FirstInclude.IncludeName as PrecompiledHeaderIncludeFilename can be null when this occurs Change 3246112 on 2017/01/04 by Ben.Marsh UBT: Fix UHT failures building some targets with the -useprecompiled option, due to differences in the order that circularly dependent modules are parsed. Precompiled binaries are now kept in the regular AppBinaries list, but are excluded from the build at the last minute. Also change some checks from IsEngineInstalled() to bUsePrecompiled, to prevent headers being overwritten when running in a non-installed precompiled build. Change 3246223 on 2017/01/04 by Ben.Marsh UBT: Prevent version manifests being overridden if a file is not being built as part of the target. Change 3246387 on 2017/01/04 by Ben.Marsh UBT: Remove BuildConfiguration settings for UnrealCodeAnalyzer. This tool isn't used at the moment, but it's configured using global variables accessed from all over the UBT codebase, making it difficult to refactor the build options into an instanced object. If we bring this tool back from the dead in the future, it should be possible to implement it using the exported JSON target definition or the XGE manifest, similarly to how IncludeTool uses it. Change 3247004 on 2017/01/04 by Ben.Marsh UBT: Simplify the logic for cleaning targets in UBT. Now uses FileReference/DirectoryReference objects everywhere, doesn't require the compile/link environment, and does all the checking to avoid deleting precompiled binaries in one place. Change 3247250 on 2017/01/04 by Ben.Marsh UBT: Prevent precompiled binaries being added to the list of app binaries twice. Change 3247594 on 2017/01/05 by Ben.Marsh Build: Run sample and template editors on the same agents as the other incremental builds. Remove ProtoStar, which does not have any non-precompiled editor target to build. Change 3247763 on 2017/01/05 by Ben.Marsh UBT: Allow the toolchain to update the list of build products for each module linked into a binary. Allows Mac to add dylibs and bundle resources specified per-module without having to construct a link environment and try to link them. Change 3247775 on 2017/01/05 by Ben.Marsh UBT: Instance the target compile and link environments when they are required during building, and don't persist them on the UEBuildTarget instance. Change 3247811 on 2017/01/05 by Ben.Marsh EC: Add a batch file for testing postp filters. Change 3247839 on 2017/01/05 by Ben.Marsh EC: Include the name of the file being compiled when parsing MSVC errors and warnings. Change 3248101 on 2017/01/05 by Ben.Marsh UBT: Fix Android support for force included headers. Change 3248533 on 2017/01/05 by Ben.Marsh PR #3097: UBT project supports optional platforms (Contributed by PrimalJohnScott) Change 3249205 on 2017/01/06 by Ben.Marsh UAT: Fix ParseTaggedP4Output throwing an exception if the same key name is specified more than once. This can happen when parsing the output from "P4 INFO", where multiple brokers are present. Change 3249249 on 2017/01/06 by Ben.Marsh UBT: Check for the existance of AndroidManifest.xml within extracted AAR directories, rather than just checking for the existance of the directory itself. Perforce does not remove empty directories when cleaning a workspace unless the rmdir option is on the workspace, so this can cause incremental build failures to fail on build machines. Change 3249486 on 2017/01/06 by Ben.Marsh UBT: Use relative paths in unity files when compiling for Mac/IOS, rather than generating a separate local/remote version of the file for gathering include dependencies. Absolute paths are only used to work around the way that MSVC concatenates paths internally; we don't hit the same problems when checking dependencies. Change 3249736 on 2017/01/06 by Ben.Marsh UBT: Rename CPPEnvironment to CppCompileEnvironment, and remove the separate CPPEnvironmentConfiguration object. All settings are now stored directly on the CppCompileEnvironment object. Change 3250179 on 2017/01/07 by Ben.Marsh Fix creating installed build when root directory contains a space in the name. Change 3250181 on 2017/01/07 by Ben.Marsh UBT: Remove some esoteric (and unused, AFAIK) options for orthogonally building different platforms. Change 3250223 on 2017/01/07 by Ben.Marsh UBT: Merge the LinkEnvironment and LinkEnvironmentConfiguration classes together. Change 3250233 on 2017/01/07 by Ben.Marsh UGS: Allow specifying a workspace-specific sync filter, which is applied on top of the standard filter. Also fix filter being cleared if the cancel button is pressed, and help text being stripped out. Change 3250241 on 2017/01/07 by Ben.Marsh UBT: Move the options for specifying additional Android architectures to target onto an Android-specific object on the TargetRules. Change 3250400 on 2017/01/08 by Ben.Marsh UBT: Move executor config settings onto the executor instances. Change 3257708 on 2017/01/13 by Ben.Marsh UBT: Remove the ThirdPartySourceDirectory constant; there are many places which hard-code or assume this location anyway, and it's not going to change. Change 3260535 on 2017/01/17 by Ben.Marsh Add an optional "RequiredSubmittedChange" setting to EC settings files. Allows a scheduled job to run even if there have been no code changes submitted. Test with the utilization capture job. Change 3260875 on 2017/01/17 by Ben.Marsh EC: Fix workspaces getting out of sync wrt. newly added files when jobs are aborted during a sync. In such cases, the P4 have table indicates the new files have been synced locally, but the workspace is forced back to a state before it had them due to the capture file. When a following sync tries to add them again, P4 believes the workspace already has them synced. To work around this, we now write an additional file to the root folder of a workspace containing the last CL that was captured, and sync back to it before doing the reconcile. Change 3261724 on 2017/01/18 by Ben.Marsh Allow filtering job types from the list view in EC. Hide the utilization capture job by default. Also set up notifications for the utilization capture job. Change 3261756 on 2017/01/18 by Ben.Marsh IncludeTool: Prevent matching a full enum declaration as a forward declaration. Change 3261932 on 2017/01/18 by Ben.Marsh EC: Add support for specifying days of the week in schedules. The following syntaxes are supported: "Monday, Tuesday and Wednesday at 10:30" "Daily except Sunday and Wednesday at 14:30" Also tweak display of dates relative to now to handle dates/times in the future, and include the date when specifying a day name. #jira UEB-729 Change 3262676 on 2017/01/18 by Ben.Marsh UBT: Split UBTMakefile into its own file. (From PR #3106) Change 3263893 on 2017/01/19 by Ben.Marsh UBT: Stop exporting platform classes from UBT, as well as all the referenced classes that have to be made public as a result. Any platform-specific functionality that needs to be shared with UAT is now exposed through wrappers in separate public classes, eg. WindowsExports.cs, IOSExports.cs, etc... Change 3264291 on 2017/01/19 by Ben.Marsh UBT: Fix errors generating documentation in UBT, and enable it by default. Will catch more errors with new code being added. Originally in PR #3106, but redone due to conflicts. Change 3264534 on 2017/01/19 by Ben.Marsh UBT: Include plugin config files in generated projects. Change 3264571 on 2017/01/19 by Ben.Marsh UBT: Prevent overwriting .modules files if nothing has changed. On builders, it's common to build multiple editors in the same workspace, and changing the last modified timestamp causes BuildGraph to fail due to tampered files. Change 3265745 on 2017/01/20 by Ben.Marsh UGS: Automatically open UGS when running the launcher for a second time, rather than prompting to close the original instance. Change 3265777 on 2017/01/20 by Ben.Marsh UGS: Automatically close and reopen when UGS is re-ran with the shift key held down to switch into unstable mode. Change 3268314 on 2017/01/23 by Ben.Marsh UBT: Make sure version manifests are stable by sorting the list of build products, so they are only touched if the contents have really changed. Change 3269601 on 2017/01/24 by Ben.Marsh UBT: Fix symbol files being added to manifest for some platforms even though debug info is disabled. Change 3269607 on 2017/01/24 by Ben.Marsh UBT: Fix bug where UBT would need to be invoked when switching between two editors sharing the same engine binaries on Mac. The location of the .modules file cannot be guessed on Mac by looking in the same directory as the primary output executable because it's an .app bundle, and the actual modules are nested several directories below that. Change 3269608 on 2017/01/24 by Ben.Marsh UBT: Fix additional files copied into the app bundle always being updated on Mac. Now uses rsync --checksum to make sure only modified files are updated. Change 3271062 on 2017/01/24 by Ben.Marsh UBT: Fixes for bugs detected by PVS Studio (PR #3161) Change 3272421 on 2017/01/25 by Ben.Marsh Fix commends regarding DDC in BaseEngine.ini #jira UE-41076 Change 3272810 on 2017/01/25 by Ben.Marsh Fix VS2017 being displayed as 'Visual Studio 15' in the Windows target settings panel. Change 3272935 on 2017/01/25 by Ben.Marsh Fix Metal errors launching on Mac due to use of OSX environment settings before they are initialized. Toolchain settings are now constructed on demand in a separate class, for Mac, iOS and TVOS. Change 3274167 on 2017/01/26 by Ben.Marsh Fix resource files not being compiled in installed builds on Windows. Was causing metadata not to be embedded into executables. #jira UE-36457 Change 3275557 on 2017/01/27 by Ben.Marsh Expand checks for propagation of restricted folder names to include source files, and to ensure that each restricted folder is represented in the output. Also improve messaging to show the dependency chain leading to a restricted folder being referenced, and which folder it is. Change 3275628 on 2017/01/27 by Ben.Marsh UBT: Splitting configuration files into one class per-file. Change 3276784 on 2017/01/29 by Ben.Marsh Add an authoritative list of confidential folder names, and expose it through global BuildGraph properties ($(RestrictedFolderNames) and $(RestrictedFolderFilter)). Also switch existing scripts to use it. Change 3276792 on 2017/01/29 by Ben.Marsh UBT: Use UE4CSharp.prog files to indicate which projects should be included in the solution without having to hard-code a list of them in UBT. Change 3277263 on 2017/01/30 by Ben.Marsh IncludeTool: Merging various fixes. * Fix warnings about #include directives after first code block from parsing monolithic headers. * Fix exception on startup if the intermediate directory does not already exist. * Add a special case for ignoring missing header guards from MonolithicHeaderBoilerplate.h, rather than marking it as an inline header. Marking it as inline prevents parsing include directives, which results in including CoreTypes.h from the wrong location. * Create job objects for spawned compiler instances to prevent them trying allocating more memory than the system can spare. * Remove (unused) code which makes assumptions about files ending with "Classes.h". * Add a verbose per-file output log to aid with debugging. * Negate the MakeStandalone command line option, which was added to allow tweaking forward declarations in already optimized files, so the optimized output does not have missing headers by default. * Fix missing headers when creating standalone files, due to incorrect list of previous files being passed in to the OutputFile constructor. Now passes the original list of included files, not the output list. * Fix initial header for a cpp file sometimes being removed. Forcibly including a header at the start of the file does not use the normal pathway for spidering through includes, so a second include of the same file was being generated. Any includes of that header were being forced into output, and the earlier include was then removed due to being redundant. * Prevent forward declaring enums which have to be parsed by UHT. UHT relies on includes to determine a parse order, and will fail if the enum definition has not been parsed first. * Use a relative path for private includes in the same module if there are any. Fixes some incorrect paths, and makes it clearer that we're doing something we shouldn't. Change 3277307 on 2017/01/30 by Ben.Marsh UBT: Fix private PCHs not using correct header. Causes custom definitions to be excluded from the command line. [CL 3278101 by Ben Marsh in Main branch]
2017-01-30 16:52:08 -05:00
CppCompileEnvironment CompileEnvironment,
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
ISourceFileWorkingSet WorkingSet,
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3847469) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3805828 by Gil.Gribb UE4 - Fixed a bug in the lock free stalling task queue and adjusted a comment. The code is not current used, so this is not actually change the way the code works. Change 3806784 by Ben.Marsh UAT: Remove code to compile UBT when using UE4Build. It should already be compiled as a dependency of UAT. Change 3807549 by Graeme.Thornton Add a cook timer around VerifyCanCookPackage. A licensee reports this taking a lot of time so it'll be good to account for it. Change 3807727 by Graeme.Thornton Unhide the text asset format experimental editor option Change 3807746 by Josh.Engebretson Remove WER from iOS platform Change 3807928 by Robert.Manuszewski When async loading, GC Clusters will be created after packages have been processed to avoid situations where some of the objects that are being added to a cluster haven't been fully loaded yet Change 3808221 by Steve.Robb GitHub #4307 - Made GetModulePtr() thread safe by not using GetModule() ^ I'm not convinced by how much thread-safer this is really, but it's tidier anyway. Change 3809233 by Graeme.Thornton TBA: Misc changes to text asset commandlet - Rename mode to "loadsave" - Add -outputFormat option which can be assigned "text" or "binary" - When saving binary, use a differentiated filename so that source assets aren't overwritten Change 3809518 by Ben.Marsh Remove the outdated UnrealSync automation script. Change 3809643 by Steve.Robb GitHub #4277 : fix bug; FMath::FormatIntToHumanReadable 3rd comma and negative value #jira UE-53037 Change 3809862 by Steve.Robb GitHub #3342 : [FRotator.h] Fix to DecompressAxisFromByte to be more efficient and reflect its intent accurately #jira UE-42593 Change 3811190 by Graeme.Thornton Add support for writing specific log channels to their own files Change 3811197 by Graeme.Thornton Minor updates to output formatting and timing for the text asset commandlet Change 3811257 by Robert.Manuszewski Cluster creation will now be time-sliced Change 3811565 by Steve.Robb Define out non-monolithic module functions. Change 3812561 by Steve.Robb GitHub #3886 : Enable Brace-Initialization for Declaring Variables Incorrect semi-colon search removed after discussion with author. Test added. #jira UE-48242 Change 3812864 by Steve.Robb Removal of some unproven code which was supposed to fix hot reloading BP class functions in plugins. See: https://udn.unrealengine.com/questions/376978/aitask-blueprint-nodes-disappear-when-their-module.html #jira UE-53089 Change 3820358 by Ben.Marsh PR #4358: Incredibuild use ShowAgent by default (Contributed by projectgheist) Change 3822594 by Ben.Marsh UAT: Improvements to log file handling. - Always create log files in the final location, rather than writing to a temp directory and copying in later. - Now supports -Verbose and -VeryVerbose for increasing log verbosity, rather than -Verbose=XXX. - Keep a backlog of log output before the log system is initialized, and flush it to the log file once it is. - Allow buildmachines to specify the uebp_FinalLogFolder environment variable, which is used to form paths for display. When build machines copy log files elsewhere after UAT finishes (eg. a network share), this allows error messages to display the right location. Change 3823695 by Ben.Marsh UGS: Fix issue where precompiled binaries would not be shown as available for a change until scrolling the last submitted code change into the buffer (other symptoms, like de-focussing the main window would cause it to go back to an unavailable state, since the changes buffer was shrunk). Now always queries changes up to the last change for which zipped binaries are available. Change 3823845 by Ben.Marsh UBT: Exclude C# projects for unsupported platforms when generating project files. Change 3824180 by Ben.Marsh UGS: Add an option to show changes by build machines, and move the "only show reviewed" option in there too (Options > Show Changes). #jira Change 3825777 by Steve.Robb Fix to return value of StringToBytes. Change 3825810 by Ben.Marsh UBT: Reduce length of include paths for MSVC toolchain. Change 3825822 by Robert.Manuszewski Optimized PIE lazy pointer fixup. Should be up to 8x faster now. Change 3826734 by Ben.Marsh Remove code to disable TextureFormatAndroid on Linux. It seems to be an editor dependency. Change 3827730 by Steve.Robb Try to avoid decltype(auto) if it's not supported. See: https://udn.unrealengine.com/questions/395644/build-417-with-c11-on-linux-ttuple-errors.html Change 3827745 by Steve.Robb Initializer list support for TMap. Change 3827770 by Steve.Robb GitHub #4399 : Added a CONSTEXPR qualifiers to FVariant::GetType() #jira UE-53813 Change 3829189 by Ben.Marsh UBT: Now always writes a minimal log file. By default, just contains the regular console output and any reasons why actions are outdated and needed to be executed. UAT directs child UBT instances to output logs into its own log folder, so that build machines can save them off. Change 3830444 by Steve.Robb BuildVersion and ModuleManifest moved to Core, and parsing of these files reimplemented to avoid a JSON library. This should be revisited when Core has its own JSON library. Change 3830718 by Ben.Marsh Fix incorrect group name being returned by FStatNameAndInfo::GetGroupName() for stat groups. The editor populates the viewport stats list by calling this for every registered stat and stat group (via FLevelViewportCommands::HandleNewStatGroup). The menu entry attempts to show the stat name with STAT_XXX stripped from the start as the menu item label, with the free-form text description as a tooltip. For stat groups, the it would previously just return the stat group name as "Groups" (due to the raw naming convention of "//Groups//STATGROUP_Foo//..."). Since this didn't match the expected naming convention in FLevelViewportCommands::HandleNewStat (ie. STAT_XXX or STATGROUP_XXX), it would fail to add it. When the first actual stat belonging to that group is added, it would add a menu entry for the group based on that, but the stat description no longer makes sense as a tooltip for the group. As a result, all the editor tooltips were junk. #jira UE-53845 Change 3831064 by Ben.Marsh Fix log file contention when spawning UBT recursively. Change 3832654 by Ben.Marsh UGS: Fix error panel not being selected when opened, and weird alignment/color issues on it. Change 3832680 by Ben.Marsh UGS: Fix failing to detect workspace if synced to a different stream. Seems to be a regression caused by recent P4D upgrade. Change 3832695 by Ben.Marsh UGS: Invert the options in the 'Show Changes' submenu for simplicity. Change 3833528 by Ben.Marsh UAT: Script to rewrite source files with public include paths relative to the 'Public' folder. Usage is: RebasePublicIncludePaths -UpdateDir=<Dir> [-Project=<Dir>] [-Write]. Change 3833543 by Ben.Marsh UBT: Allow targets to opt-out of having public include paths added for every dependent module. This reduces the command line length when building a target, which has recently become a problem with larger games (due to Microsoft's compiler embedding the command line into each object file, with a maximum length of 64kb). All engine modules are compiled with this enabled; games may opt into it by setting bLegacyPublicIncludePaths = false; from their .target.cs, as may individual modules. Change 3834354 by Robert.Manuszewski Archetype pointer will now be cached to avoid locking the object tables when acquiring its info. It should also be faster this way regardless of any locks. #jira UE-52035 Change 3834400 by Robert.Manuszewski Fixing crash on exit caused by cached archetypes not being cleaned up before static exit cleanup. #jira UE-52035 Change 3834947 by Steve.Robb USE_FORMAT_STRING_TYPE_CHECKING removed from FMsg::Logf and FMsg::Logf_Internal. Change 3835004 by Ben.Marsh Fix code that relies on dubious behavior of requiring referenced "include path only" modules having their _API macros set to be empty, even if the module is actually implemented in a separate DLL. Change 3835340 by Ben.Marsh Fix errors making installed build from directories with spaces in the name. Change 3835972 by Ben.Marsh UBT: Improved diagnostic message for targets which don't need a version file. Change 3836019 by Ben.Marsh UBT: Fix warnings caused by defining linkage macros for third party libraries. Change 3836269 by Ben.Marsh Fix message box larger than the screen height being created when a large number of modules are incompatible on startup. Change 3836543 by Ben.Marsh Enable SoundMod plugin on Linux, since it's already supported through the editor. Change 3836546 by Ben.Marsh PR #4412: fix type mismatch (Contributed by nakapon) Change 3836805 by Ben.Marsh Fix commandlet to compile marketplace plugins. Change 3836829 by Ben.Marsh UBT: Fix ability to precompile plugins from installed engine builds. Change 3837036 by Ben.Marsh UBT: Write the previous and new contents of intermediate files to the log if they change. Makes it easier to debug unexpected rebuilds. Change 3837037 by Ben.Marsh UBT: Fix engine modules having inconsistent definitions depending on whether modules are only referenced for their include paths vs being linked into a binary (due to different _API macro). Change 3837040 by Ben.Marsh UBT: Remove code that initializes members in ModuleRules and TargetRules objects before the constructor is run. This is no longer necessary, now that the backwards-compatible default constructors have been removed. Change 3837247 by Ben.Marsh UBT: Remove UELinkerFixups module, now that plugins and precompiled modules do not require hacks to force initialization (since they're linked in as object files). Encryption and signing keys are now set via macros expanded from the IMPLEMENT_PRIMARY_GAME_MODULE macro, via project-specific macros added in the TargetRules constructor. Change 3837262 by Ben.Marsh UBT: Set whether a module is an engine module or not via a default value for the rules assembly. All non-program engine and enterprise modules are created with this flag set to true; program targets and modules are now created from a different assembly that sets it to false. This removes hacks from UEBuildModule needed to adjust behavior for different module types based on the directory containing the module. Also add a bUseBackwardsCompatibleDefaults flag to the TargetRules class, also initialized to a default value from a setting passed to the RulesAssembly constructor. This controls whether modules created for the target should be configured to allow breaking changes to default settings, and is set to false for all engine targets, and true for all project targets. Change 3837343 by Ben.Marsh UBT: Remove the OverrideExecutableFileExtension target property. Change the only current use for this (the MayaLiveLinkPlugin target) to use a post build step to copy the file instead. Change 3837356 by Ben.Marsh Fix invalid character encodings. Change 3837727 by Graeme.Thornton UnrealPak: KeyGenerator: Only generate prime table when required, not all the time Change 3837823 by Ben.Marsh UBT: Output warnings and errors when compiling module rules assembly in a way that allows them to be double-clicked in the Visual Studio output window. Change 3837831 by Graeme.Thornton UBT: When parsing crypto settings, always load legacy data first, then allow the new system to override it. Provides the same key backwards compatibility that the editor settings class gives Change 3837857 by Robert.Manuszewski PR #4404: Make FGCArrayPool singleton global instead of per-CU (Contributed by mhutch) Change 3837943 by Robert.Manuszewski PR #4405: Fix FGarbageCollectionTracer (Contributed by mhutch) Change 3838451 by Ben.Marsh UBT: Fix exceptions thrown on a background thread while caching C++ includes not being caught and logged correctly. Now captures exceptions and re-throws on the main thread. #jira UE-53996 Change 3839519 by Ben.Marsh UBT: Simplify configuring bPrecompile and bUsePrecompile settings for modules. Each rules assembly can now be configured as installed, which defaults the module rules it creates to use precompiled data. Change 3843790 by Graeme.Thornton UnrealPak: Log the size of all encrypted data Change 3844258 by Ben.Marsh Fix plugin compile failure when created via new plugin wizard. Passing -plugin on the command line is unnecessary, and is now reserved for packaging external plugins for the marketplace. Also extend the length of time that the error toast stays visible, and don't delete the plugin on failure. #jira UE-54157 Change 3845796 by Ben.Marsh Workaround for slow performance of String.EndsWith() on Mono. Change 3845823 by Ben.Marsh Fix case sensitive matching of platform names in -TargetPlatform=X argument to BuildCookRun. #jira UE-54123 Change 3845901 by Arciel.Rekman Linux: fix crash due to lambda lifetime issues (UE-54040). - The lambda goes out of scope in FBufferVisualizationMenuCommands::CreateVisualizationCommands, crashing the editor if compiled with a recent clang (5.0+). (Edigrating 3819174 to Dev-Core) Change 3846439 by Ben.Marsh Revert CL 3822742 to always call Process.WaitForExit(). The Android target platform module in the editor spawns ADB.EXE, which inherits the editor's stdout/stderr handles and forks itself. Process.WaitForExit() waits for EOF on those pipes, which never occurs because the forked process never terminates. Proper fix is probably to have the engine explicitly duplicate stdout/stderr handles for new pipes to output process, but too risky before copying up to Main. Change 3816608 by Ben.Marsh UBT: Use DirectoryReference objects for all include paths. Change 3816954 by Ben.Marsh UBT: Remove bIncludeDependentLibrariesInLibrary option. This is not widely supported by platform toolchains, and is not used anywhere. Change 3816986 by Ben.Marsh UBT: Remove UEBuildBinaryConfig; UEBuildBinary objects are now just created directly. Change 3816991 by Ben.Marsh UBT: Deprecate PlatformSpecificDynamicallyLoadedModules. We no longer have any special behavior for these modules. Change 3823090 by Ben.Marsh UAT: Improve logging for child UAT instances. - Calling RunUAT now requires an identifier for prefixing into the parent log, which is also used to determine the name of the log folder. - Stdout is no longer written to its own output file, since it's written to the parent stdout, the parent log file, and the child log file anyway. - Log folders for child UAT instances are left intact, rather than being copied to the parent folder. The derived names for the copied names were confusing and hard to read. - Output from UAT is no longer returned as a string. It should not be parsed anyway (but may be huge!). ProcessResult now supports running without capturing output. Change 3826082 by Ben.Marsh UBT: Add a check to make sure that all modules that are precompiled are correctly marked to enable it, even if they are part of the build target. Change 3827025 by Ben.Marsh UBT: Move the compile output directory into a property on the module, and explicitly pass it to the toolchain when compiling. Change 3829927 by James.Hopkin Made HTTP interface const correct Change 3833533 by Ben.Marsh Rewrite engine source files to base include paths relative to the "Public" directory. This allows reducing the number of public include paths that have to be added for engine modules. Change 3835826 by Ben.Marsh UBT: Precompiled targets now generate a separate manifest for each precompiled module, rather than adding object files to a library. This fixes issues where object files from static libraries would not be linked into a target if a symbol in them was not referenced. Change 3835969 by Ben.Marsh UBT: Fix cases where text is being written directly to the console rather than via logging functions. Change 3837777 by Steve.Robb Format string type checking added to FOutputDevice::Logf. Fixes for those. Change 3838569 by Steve.Robb Algo moved up a folder. [CL 3847482 by Ben Marsh in Main branch]
2018-01-20 11:19:29 -05:00
string BaseName,
DirectoryReference IntermediateDirectory,
IActionGraphBuilder Graph,
Dictionary<FileItem, FileItem> SourceFileToUnityFile,
out List<FileItem> NormalFiles,
out List<FileItem> AdaptiveFiles)
{
Copying //UE4/Dev-Build to //UE4/Main ========================== MAJOR FEATURES + CHANGES ========================== Change 2864843 on 2016/02/12 by Ben.Marsh Add individual 'status', 'outcome', and 'error_code' fields to parsed jobsteps. Should fix grid view not being able to display 'pending' icons. Change 2865161 on 2016/02/12 by Ben.Marsh Stop storing a reference to UEBuildTarget from UEBuildModule. It creates an awkward cyclic data dependency, and makes it easy for people to write lazy code that just reaches into the internal state of the build. Change 2865643 on 2016/02/12 by Ben.Marsh Rename UEBuildModuleType to UHTModuleType, and move implementation into ExternalExecution. Change 2874408 on 2016/02/19 by Ben.Marsh Automatically sort nodes in the dashboard grid view by a weight derived from the node's order in the build graph, summed across all the jobs in which it was present. Change 2879572 on 2016/02/24 by Ben.Marsh Allow spoofing a Git merge from a given commit, using a changelist description containing the tag "git merge <branch> <changelist>", where <branch> is the name of a branch on Git (eg. master, 4.11, etc..), and <changelist> is the changelist being merged in. Change 2883216 on 2016/02/26 by Ben.Marsh Prevent Jira tickets being incorrectly updated with 'Main CL' fields which are after the 'Fix CL' fields. Change 2883755 on 2016/02/26 by Ben.Marsh Fix solution files having a Shipping configuration, even when -NoShippingConfigs is passed on the command line. Change 2886223 on 2016/02/29 by Ben.Marsh Ignore SignTool errors - we can recover from them. Change 2887414 on 2016/03/01 by Ben.Marsh Dump all the *.crash files produced while running commandlets, to make it easier to diagnose build system crashes cooking on Mac. Change 2888235 on 2016/03/01 by Ben.Marsh Add overloads for methods in FileFilter which take FileReference and DirectoryReference objects. Change 2889602 on 2016/03/02 by Ben.Marsh Treat shaders as code in UGS. Don't sync them as part of content-only syncs, and don't allow syncing past them without updated binaries. Change 2889610 on 2016/03/02 by Ben.Marsh Fix setting for using incremental builds not being saved. Also hide command to do incremental builds if the 'use incremental builds' option is not checked. Change 2891866 on 2016/03/03 by Matthew.Griffin Removed Rocket specific batch files and made sure installed build won't try to include them Removed last use of RocketGenerateProjectFiles.sh by using UBT directly instead Change 2893349 on 2016/03/03 by Ben.Marsh Add derived ReplicatedBranch to support mirroring the VR editor branch to GitHub. Change 2894703 on 2016/03/04 by Ben.Marsh Include *.usf when looking for the last code changelist. Also update version to 1.68. Change 2897991 on 2016/03/07 by Ben.Marsh Copy the changelist number to the clipboard when the user presses Ctrl-C. Update version number to 1.69. Change 2898005 on 2016/03/07 by Ben.Marsh Minor changes to support BuildGraph: * UE4Build now has a static function that can update version files. * Adding FileReference/DirectoryReference methods to FileFilter and CommandUtils. * FileFilter treats any pattern containing a slash as implictly starting from the root directory, unless it begins with "...". Change 2898095 on 2016/03/07 by Ben.Marsh UAT - Don't retry builds if we're using local executor; we don't encounter failures due to timeouts. Change 2898248 on 2016/03/07 by Ben.Marsh UBT - Add the standard game include paths back in to plugin modules. Existing game code relies on this. Change 2898615 on 2016/03/08 by Matthew.Griffin Removed last uses of RunningRocket function All seemed to be overly cautious about people using an Installed build to do non standard things, don't see any ill effects in the most common circumstances. Change 2898681 on 2016/03/08 by Matthew.Griffin Removed Automation.RunningRocket function as there are no more uses Changed the majority of comments referencing Rocket mode that are now either about the engine being installed or from the Launcher etc. #lockdown Nick.Penwarden [CL 2898813 by Matthew Griffin in Main branch]
2016-03-08 09:00:48 -05:00
List<FileItem> NewCPPFiles = new List<FileItem>();
// Figure out size of all input files combined. We use this to determine whether to use larger unity threshold or not.
long TotalBytesInCPPFiles = CPPFiles.Sum(F => F.Length);
// We have an increased threshold for unity file size if, and only if, all files fit into the same unity file. This
// is beneficial when dealing with PCH files. The default PCH creation limit is X unity files so if we generate < X
// this could be fairly slow and we'd rather bump the limit a bit to group them all into the same unity file.
// Optimization only makes sense if PCH files are enabled.
Copying //UE4/Dev-Build to //UE4/Dev-Main (Source: //UE4/Dev-Build @ 3277940) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3233612 on 2016/12/13 by Ben.Marsh UGS: Fix cases where precompiled binaries are submitted for a content change. Change 3235584 on 2016/12/14 by Ben.Marsh UBT: Deprecate the overridable TargetRules.ShouldUseSharedBuildEnvironment() function; targets should specify which build environment to use by setting the BuildEnvironment field in their constructor instead. Change 3235741 on 2016/12/14 by Ben.Marsh UBT: Deprecate the SetupBinaries() callback on the TargetRules class. Instead of overriding this, targets may override their launch module through the "LaunchModuleName" property in their constructor, and add extra modules to the "ExtraModuleNames" field on the TargetRules object itself. Change 3238176 on 2016/12/16 by Ben.Marsh UBT: New XML config file parser. Now reads once at startup and can be applied to instanced objects rather than global fields, and caches parsed output in a binary form for quicker initialization on subsequent runs. Change 3238249 on 2016/12/16 by Ben.Marsh UBT: Add attribute-driven command line parser. Change 3238462 on 2016/12/16 by Ben.Marsh UBT: Include the Platform, Configuration and Architecture on the TargetRules. Add a constructor which takes the TargetInfo object and deprecate the parameterless one; these fields are currently initialized before invoking the constructor in RulesAssembly. Change 3238564 on 2016/12/16 by Ben.Marsh UBT: Deprecate the ModuleRules constructor which takes a TargetInfo argument. Replace it with a read-only wrapper around the target rules instead, so target-specific configuration options can be read without needing to access global static variables. Also require that it's passed to the base class constructor. Change 3239919 on 2016/12/19 by Ben.Marsh UBT: Remove the "PreferredSubPlatform" property. This is only used for Windows XP support, which is being retired anyway. Having the target define its own architecture is an awkward contractiction to maintain support for, since the target rules are constructed after the architecture already has been determined. Change 3240061 on 2016/12/19 by Ben.Marsh UBT: Remove ThirdPartyHeaderFinder. I don't think anything is using this any more. Change 3240175 on 2016/12/19 by Ben.Marsh UBT: Add the target name and project file location to the target rules. Change 3240490 on 2016/12/19 by Ben.Marsh UAT: Remove Mac staging code that requires UAT to compile and construct .target.cs files when packaging, to check bUseSteam and bUseCEF3 flags. libsteam_api.dylib is now staged at build time by adding it as a bundle resource, CEF3 is already marked as a runtime dependency by CEF3.build.cs, and UnrealCEFSubProcess.app is already marked as a runtime dependency from WebBrowser.build.cs. Change 3240717 on 2016/12/20 by Ben.Marsh UAT: Allow configuring UAT to run as if on a build machine by passing the -buildmachine argument on the command line. Change 3240718 on 2016/12/20 by Ben.Marsh UAT: Remove target-specific properties that are no longer used by staging (bUsesSlate, bUsesCEF3, etc...). This stuff should all be handled inside UBT. Change 3241002 on 2016/12/20 by Ben.Marsh UBT: Move most target configuration settings from UEBuildConfiguration to TargetRules. This encapsulates target specific settings that will allow instancing multiple targets in the future. To facilitate migration of settings to their new location, "UEBuildConfiguration" is now a property that returns the current target rules instance. Change 3241027 on 2016/12/20 by Ben.Marsh Only copy the Steamworks dylib into the app bundle for monolithic builds. For all other times, just add it as a runtime dependency. Change 3241055 on 2016/12/20 by Ben.Marsh UBT: Only store a ReadOnlyTargetRules object on the instanced build target; finalize the configuration before it's instantiated. Change 3241156 on 2016/12/20 by Ben.Marsh Update SwarmInterface.csproj to .NET framework 4.5, to match what all other C# tools are using. Change 3241205 on 2016/12/20 by Ben.Marsh Replace all uses of TargetRules.TargetType with TargetType. Change 3241881 on 2016/12/21 by Ben.Marsh UBT: Remove project file information from UEBuildContext base class. As configurable properties are moved on to the TargetRules object, it will no longer be a dependency to instantiate the platform with this path. Change 3241895 on 2016/12/21 by Ben.Marsh UBT: Remove toolchain support for Windows XP. Change 3241908 on 2016/12/21 by Ben.Marsh UBT: Move settings for windows targets into a WindowsTargetRules class, which is exposed for targets to modify via the TargetRules.WindowsPlatform field. Change 3242835 on 2016/12/22 by Ben.Marsh UBT: Fix multiple binaries being created if plugins specify module names more than once. MfMedia.uplugin has MfMediaFactory listed twice. Change 3242837 on 2016/12/22 by Ben.Marsh Change UE4EditorServices to include MacSystemIncludes rather than Cocoa.h directly; causes FVector to be defined incorrectly in non-unity builds. Change 3242923 on 2016/12/22 by Ben.Marsh Build: Fixes for conforming incremental workspaces: * P4 have table is now reset before deleting all the files. This prevents Perforce being out of sync if the delete fails for some reason. * Incremental workspaces are skipped when running a clean operation, because they do not have a workspace capture file (causing a full re-sync, always). The "P4 Clean" option is still effective for cleaning these workspaces. Change 3242961 on 2016/12/22 by Ben.Marsh UBT: Move entry points from PreBuildSync() and PostBuildSync() from UEToolChain to UEBuildPlatform, and make the original toolchain versions static. These functions are already at odds with the rest of the data flow within UBT because they rely on global state cached outside the toolchain instance, making assumptions that UBT is only ever going to be invoked with one target that's constructed in the same run and that nothing is being cached (eg. UBT makefiles). Moving them onto UEBuildPlatform simplifies the toolchain lifecycle for other platforms without leaving Mac and IOS any more limited than they were before. Change 3242981 on 2016/12/22 by Ben.Marsh UBT: Remove symbol server handling code into UAT's platform library, since it's never needed from inside UBT. Change 3242999 on 2016/12/22 by Ben.Marsh UBT: Remove the StripSymbols() function from the UEToolChain base class. This functionality is only required by UAT, so it's better suited to being exposed through UAT's modular platform classes. Change 3243022 on 2016/12/22 by Ben.Marsh UBT: Require an instance of the target rules to be able to construct a toolchain in UBT. This will allow configuring toolchain-specific options from the target, using reflection from config files, and the command line. Change 3243083 on 2016/12/22 by Ben.Marsh UBT: Move settings for the Windows compiler version to use onto the Windows-specific target rules. Change 3243090 on 2016/12/22 by Ben.Marsh UBT: Change the third party paths in UEBuildConfiguration to constants. Changing these would not work. Change 3243423 on 2016/12/23 by Ben.Marsh UBT: Move a lot of settings from BuildConfiguration to TargetRules. This allows different targets to have different settings, naturally, and moves converts argument parsing and config to be driven by attributes. Change 3243516 on 2016/12/23 by Ben.Marsh UBT: Remove the ValidateUEBuildConfiguration callback, which is no longer used. (XGE settings validation occurs in XGE.cs) Change 3244020 on 2016/12/28 by Ben.Marsh UBT: Remove the BaseIntermediatePath static property. Precursor to removing RelativeEnginePath and IntermediateFolder properties. Change 3244074 on 2016/12/28 by Ben.Marsh UBT: Remove the RelativeEnginePath variable from BuildConfiguration. UnrealBuildTool.EngineDirectory gives the absolute path, and can be used to construct a relative path when necessary. Change 3244076 on 2016/12/28 by Ben.Marsh UBT: Remove BuildConfiguration.BaseIntermediateFolder; just use a fixed directory everywhere instead. Change 3244083 on 2016/12/28 by Ben.Marsh UBT: Replace FileReference and DirectoryReference instance methods for manipulating files and directories with static methods, to mirror the System.IO.File and System.IO.Directory classes. Change 3244441 on 2016/12/31 by Ben.Marsh UBT: Remove code to force PDBs when building with no debug info under XGE. Verified described symptoms (that it causes PCH generation to be serialized) no longer occur. Change 3244687 on 2017/01/03 by Matthew.Griffin Changed Exception to use FirstInclude.IncludeName as PrecompiledHeaderIncludeFilename can be null when this occurs Change 3246112 on 2017/01/04 by Ben.Marsh UBT: Fix UHT failures building some targets with the -useprecompiled option, due to differences in the order that circularly dependent modules are parsed. Precompiled binaries are now kept in the regular AppBinaries list, but are excluded from the build at the last minute. Also change some checks from IsEngineInstalled() to bUsePrecompiled, to prevent headers being overwritten when running in a non-installed precompiled build. Change 3246223 on 2017/01/04 by Ben.Marsh UBT: Prevent version manifests being overridden if a file is not being built as part of the target. Change 3246387 on 2017/01/04 by Ben.Marsh UBT: Remove BuildConfiguration settings for UnrealCodeAnalyzer. This tool isn't used at the moment, but it's configured using global variables accessed from all over the UBT codebase, making it difficult to refactor the build options into an instanced object. If we bring this tool back from the dead in the future, it should be possible to implement it using the exported JSON target definition or the XGE manifest, similarly to how IncludeTool uses it. Change 3247004 on 2017/01/04 by Ben.Marsh UBT: Simplify the logic for cleaning targets in UBT. Now uses FileReference/DirectoryReference objects everywhere, doesn't require the compile/link environment, and does all the checking to avoid deleting precompiled binaries in one place. Change 3247250 on 2017/01/04 by Ben.Marsh UBT: Prevent precompiled binaries being added to the list of app binaries twice. Change 3247594 on 2017/01/05 by Ben.Marsh Build: Run sample and template editors on the same agents as the other incremental builds. Remove ProtoStar, which does not have any non-precompiled editor target to build. Change 3247763 on 2017/01/05 by Ben.Marsh UBT: Allow the toolchain to update the list of build products for each module linked into a binary. Allows Mac to add dylibs and bundle resources specified per-module without having to construct a link environment and try to link them. Change 3247775 on 2017/01/05 by Ben.Marsh UBT: Instance the target compile and link environments when they are required during building, and don't persist them on the UEBuildTarget instance. Change 3247811 on 2017/01/05 by Ben.Marsh EC: Add a batch file for testing postp filters. Change 3247839 on 2017/01/05 by Ben.Marsh EC: Include the name of the file being compiled when parsing MSVC errors and warnings. Change 3248101 on 2017/01/05 by Ben.Marsh UBT: Fix Android support for force included headers. Change 3248533 on 2017/01/05 by Ben.Marsh PR #3097: UBT project supports optional platforms (Contributed by PrimalJohnScott) Change 3249205 on 2017/01/06 by Ben.Marsh UAT: Fix ParseTaggedP4Output throwing an exception if the same key name is specified more than once. This can happen when parsing the output from "P4 INFO", where multiple brokers are present. Change 3249249 on 2017/01/06 by Ben.Marsh UBT: Check for the existance of AndroidManifest.xml within extracted AAR directories, rather than just checking for the existance of the directory itself. Perforce does not remove empty directories when cleaning a workspace unless the rmdir option is on the workspace, so this can cause incremental build failures to fail on build machines. Change 3249486 on 2017/01/06 by Ben.Marsh UBT: Use relative paths in unity files when compiling for Mac/IOS, rather than generating a separate local/remote version of the file for gathering include dependencies. Absolute paths are only used to work around the way that MSVC concatenates paths internally; we don't hit the same problems when checking dependencies. Change 3249736 on 2017/01/06 by Ben.Marsh UBT: Rename CPPEnvironment to CppCompileEnvironment, and remove the separate CPPEnvironmentConfiguration object. All settings are now stored directly on the CppCompileEnvironment object. Change 3250179 on 2017/01/07 by Ben.Marsh Fix creating installed build when root directory contains a space in the name. Change 3250181 on 2017/01/07 by Ben.Marsh UBT: Remove some esoteric (and unused, AFAIK) options for orthogonally building different platforms. Change 3250223 on 2017/01/07 by Ben.Marsh UBT: Merge the LinkEnvironment and LinkEnvironmentConfiguration classes together. Change 3250233 on 2017/01/07 by Ben.Marsh UGS: Allow specifying a workspace-specific sync filter, which is applied on top of the standard filter. Also fix filter being cleared if the cancel button is pressed, and help text being stripped out. Change 3250241 on 2017/01/07 by Ben.Marsh UBT: Move the options for specifying additional Android architectures to target onto an Android-specific object on the TargetRules. Change 3250400 on 2017/01/08 by Ben.Marsh UBT: Move executor config settings onto the executor instances. Change 3257708 on 2017/01/13 by Ben.Marsh UBT: Remove the ThirdPartySourceDirectory constant; there are many places which hard-code or assume this location anyway, and it's not going to change. Change 3260535 on 2017/01/17 by Ben.Marsh Add an optional "RequiredSubmittedChange" setting to EC settings files. Allows a scheduled job to run even if there have been no code changes submitted. Test with the utilization capture job. Change 3260875 on 2017/01/17 by Ben.Marsh EC: Fix workspaces getting out of sync wrt. newly added files when jobs are aborted during a sync. In such cases, the P4 have table indicates the new files have been synced locally, but the workspace is forced back to a state before it had them due to the capture file. When a following sync tries to add them again, P4 believes the workspace already has them synced. To work around this, we now write an additional file to the root folder of a workspace containing the last CL that was captured, and sync back to it before doing the reconcile. Change 3261724 on 2017/01/18 by Ben.Marsh Allow filtering job types from the list view in EC. Hide the utilization capture job by default. Also set up notifications for the utilization capture job. Change 3261756 on 2017/01/18 by Ben.Marsh IncludeTool: Prevent matching a full enum declaration as a forward declaration. Change 3261932 on 2017/01/18 by Ben.Marsh EC: Add support for specifying days of the week in schedules. The following syntaxes are supported: "Monday, Tuesday and Wednesday at 10:30" "Daily except Sunday and Wednesday at 14:30" Also tweak display of dates relative to now to handle dates/times in the future, and include the date when specifying a day name. #jira UEB-729 Change 3262676 on 2017/01/18 by Ben.Marsh UBT: Split UBTMakefile into its own file. (From PR #3106) Change 3263893 on 2017/01/19 by Ben.Marsh UBT: Stop exporting platform classes from UBT, as well as all the referenced classes that have to be made public as a result. Any platform-specific functionality that needs to be shared with UAT is now exposed through wrappers in separate public classes, eg. WindowsExports.cs, IOSExports.cs, etc... Change 3264291 on 2017/01/19 by Ben.Marsh UBT: Fix errors generating documentation in UBT, and enable it by default. Will catch more errors with new code being added. Originally in PR #3106, but redone due to conflicts. Change 3264534 on 2017/01/19 by Ben.Marsh UBT: Include plugin config files in generated projects. Change 3264571 on 2017/01/19 by Ben.Marsh UBT: Prevent overwriting .modules files if nothing has changed. On builders, it's common to build multiple editors in the same workspace, and changing the last modified timestamp causes BuildGraph to fail due to tampered files. Change 3265745 on 2017/01/20 by Ben.Marsh UGS: Automatically open UGS when running the launcher for a second time, rather than prompting to close the original instance. Change 3265777 on 2017/01/20 by Ben.Marsh UGS: Automatically close and reopen when UGS is re-ran with the shift key held down to switch into unstable mode. Change 3268314 on 2017/01/23 by Ben.Marsh UBT: Make sure version manifests are stable by sorting the list of build products, so they are only touched if the contents have really changed. Change 3269601 on 2017/01/24 by Ben.Marsh UBT: Fix symbol files being added to manifest for some platforms even though debug info is disabled. Change 3269607 on 2017/01/24 by Ben.Marsh UBT: Fix bug where UBT would need to be invoked when switching between two editors sharing the same engine binaries on Mac. The location of the .modules file cannot be guessed on Mac by looking in the same directory as the primary output executable because it's an .app bundle, and the actual modules are nested several directories below that. Change 3269608 on 2017/01/24 by Ben.Marsh UBT: Fix additional files copied into the app bundle always being updated on Mac. Now uses rsync --checksum to make sure only modified files are updated. Change 3271062 on 2017/01/24 by Ben.Marsh UBT: Fixes for bugs detected by PVS Studio (PR #3161) Change 3272421 on 2017/01/25 by Ben.Marsh Fix commends regarding DDC in BaseEngine.ini #jira UE-41076 Change 3272810 on 2017/01/25 by Ben.Marsh Fix VS2017 being displayed as 'Visual Studio 15' in the Windows target settings panel. Change 3272935 on 2017/01/25 by Ben.Marsh Fix Metal errors launching on Mac due to use of OSX environment settings before they are initialized. Toolchain settings are now constructed on demand in a separate class, for Mac, iOS and TVOS. Change 3274167 on 2017/01/26 by Ben.Marsh Fix resource files not being compiled in installed builds on Windows. Was causing metadata not to be embedded into executables. #jira UE-36457 Change 3275557 on 2017/01/27 by Ben.Marsh Expand checks for propagation of restricted folder names to include source files, and to ensure that each restricted folder is represented in the output. Also improve messaging to show the dependency chain leading to a restricted folder being referenced, and which folder it is. Change 3275628 on 2017/01/27 by Ben.Marsh UBT: Splitting configuration files into one class per-file. Change 3276784 on 2017/01/29 by Ben.Marsh Add an authoritative list of confidential folder names, and expose it through global BuildGraph properties ($(RestrictedFolderNames) and $(RestrictedFolderFilter)). Also switch existing scripts to use it. Change 3276792 on 2017/01/29 by Ben.Marsh UBT: Use UE4CSharp.prog files to indicate which projects should be included in the solution without having to hard-code a list of them in UBT. Change 3277263 on 2017/01/30 by Ben.Marsh IncludeTool: Merging various fixes. * Fix warnings about #include directives after first code block from parsing monolithic headers. * Fix exception on startup if the intermediate directory does not already exist. * Add a special case for ignoring missing header guards from MonolithicHeaderBoilerplate.h, rather than marking it as an inline header. Marking it as inline prevents parsing include directives, which results in including CoreTypes.h from the wrong location. * Create job objects for spawned compiler instances to prevent them trying allocating more memory than the system can spare. * Remove (unused) code which makes assumptions about files ending with "Classes.h". * Add a verbose per-file output log to aid with debugging. * Negate the MakeStandalone command line option, which was added to allow tweaking forward declarations in already optimized files, so the optimized output does not have missing headers by default. * Fix missing headers when creating standalone files, due to incorrect list of previous files being passed in to the OutputFile constructor. Now passes the original list of included files, not the output list. * Fix initial header for a cpp file sometimes being removed. Forcibly including a header at the start of the file does not use the normal pathway for spidering through includes, so a second include of the same file was being generated. Any includes of that header were being forced into output, and the earlier include was then removed due to being redundant. * Prevent forward declaring enums which have to be parsed by UHT. UHT relies on includes to determine a parse order, and will fail if the enum definition has not been parsed first. * Use a relative path for private includes in the same module if there are any. Fixes some incorrect paths, and makes it clearer that we're doing something we shouldn't. Change 3277307 on 2017/01/30 by Ben.Marsh UBT: Fix private PCHs not using correct header. Causes custom definitions to be excluded from the command line. [CL 3278101 by Ben Marsh in Main branch]
2017-01-30 16:52:08 -05:00
bool bForceIntoSingleUnityFile = Target.bStressTestUnity || (TotalBytesInCPPFiles < Target.NumIncludedBytesPerUnityCPP * 2 && Target.bUsePCHFiles);
// Every single file in the module appears in the working set. Don't bother using adaptive unity for this module.
// Otherwise it would make full builds really slow.
GetAdaptiveFiles(Target, CPPFiles, HeaderFiles, CompileEnvironment, WorkingSet, BaseName, IntermediateDirectory, Graph, out NormalFiles, out AdaptiveFiles);
if (NormalFiles.Count == 0)
{
NormalFiles = CPPFiles;
AdaptiveFiles.RemoveAll(new HashSet<FileItem>(NormalFiles).Contains);
}
Merging UE4-Pretest @ 2042161 to UE4 Change 1996384 by Andrew Brown: 322252 - EDITOR: Asset picker displays incorrect text when there are no filter results. Change 1996385 by Andrew Brown: 321858 - CRASH: Assertion failed: (Index >= 0) Function: STransformViewportToolBar::GetLocationGridLabel() STextBlock::CacheDesiredSize() Change 1996977 by Andrew Brown: 309685 - UE4: Adding an event/renaming an event on an event track in Matinee does not update the MatineeActor node in blueprint Change 2034873 by Jaroslaw Palczynski: More robust VS installation detection. Change 2039693 by Jaroslaw Palczynski: 327268 - RocketGDC: POSTLAUNCH: DEV: Make engine more robust against bad Visual Studio environment variables Change 1978978 by Jaroslaw Surowiec: - Removed obsolete AllowEliminatingReferences from the FArchive Change 2020326 by Maciej Mroz: pretest BP K2Node: RemovePinsFromOldPins function moved from K2Node to RemovePinsFromOldPins Change 2017608 by Maciej Mroz: pretest Some changes in SFortMissionEventSelector caused by FPinTypeTreeInfo Change 2017463 by Maciej Mroz: PinTypeSelector can lins unloaded UDStructs Change 2019979 by Maciej Mroz: pretest BP: Crash when performing Diff against Depot with blueprints containing Format Text nodes Change 2024469 by Maciej Mroz: MemberReference variable added to PinType. It's necessary for delegate's signature. Change 2024049 by Maciej Mroz: HasExternalBlueprintDependencies added to UK2Node_DynamicCast Change 2024586 by Maciej Mroz: FillSimpleMemberReference fix Change 2024472 by Maciej Mroz: workaround for delegates signature in pintype removed. Change 2023997 by Maciej Mroz: BP, UDStruc: Class UserDefinedStructEditorData added. It fixes many problems with undo/redo. Change 2021934 by Maciej Mroz: typo in a comment Change 2020355 by Maciej Mroz: Back out changelist 2020342 Change 2022178 by Maciej Mroz: CRASH: PRETEST: EDITOR: UDS: Crash when undo then redo new variable in struct that is used by blueprint Change 2021958 by Maciej Mroz: CRASH: PRETEST: EDITOR: UDS: Crash using variable of a type of copied struct in blueprint Change 1986247 by Maciej Mroz: User Defined Structures: circle dependency fixed. Early version. Change 1985107 by Maciej Mroz: UserDefinedStruct cannot have a field of a non-native type Change 1986278 by Maciej Mroz: pretest ensureMsgf in Struct::link Change 1986250 by Maciej Mroz: User Defined Struct: Non native classes are accepted types od values in structures. Change 1980955 by Maciej Mroz: Using AssetPtr and LazyPtr as UFunction parameter (intput or return) is explicitly disallowed. Change 2041215 by Maciej Mroz: ttp331249 BLOCKER: PRETEST: UI: Survive the Storm is missing the Mission HUD. Change 1984316 by Maciej Mroz: New User Defined Structure. WIP - there are still problems with circular dependencies. Change 2011616 by Maciej Mroz: UserDefinedStructures - various problems fixed. Change 2011609 by Maciej Mroz: more robust HasExternalBlueprintDependencies implementation Change 2016697 by Maciej Mroz: pretest BP: UDStruct - default value propagation in cooked build Change 2016288 by Maciej Mroz: pretest BP: UDStruct: Renaming variables wont break links from make/break nodes Change 1987637 by Maciej Mroz: CustomStruct icons placeholders Change 1987422 by Maciej Mroz: Better tooltips for variables in MyBlueprint Change 1991387 by Maciej Mroz: UDStructures fixes: Change 2029165 by Maciej Mroz: BP: better comment for incomatible pins Change 2030016 by Maciej Mroz: 8PRETEST: EDITOR: UDS: Defaults values aren't updated in struct type variables in blueprints Change 2030017 by Maciej Mroz: Unused UDStructure code removed (PPF_UseDefaultsForUDStructures) Change 2028856 by Maciej Mroz: BP: Pins with PC_Struct type are compatible only with exactly the same structure. (No derived structures are not handled as compatible). Change 2026701 by Maciej Mroz: k2: odd error on an add item node within a function (see attached image in details) Change 2028160 by Maciej Mroz: PRETEST: EDITOR: UDS: When deleting structures just after creating there is always some references in the memory Change 2028165 by Maciej Mroz: BP: BreakHitResult function has proper icon. Change 2033340 by Maciej Mroz: ttp330786 PRETEST: EDITOR: UDS: Changes of default values aren't apllied to breeak nodes for text type of variables Change 2034255 by Maciej Mroz: EDITOR: UDS: Changes of default values aren't apllied to make nodes for text type of variables ttp#330620 Change 2037682 by Maciej Mroz: ttp331309 BLOCKER: PRETEST: CRASH: EDITOR: Crash occurs when performing Diff Against Depot on any Blueprint Change 2033142 by Maciej Mroz: CreateDelegate Node uses internally FMemberReference. Refactor. Change 2032329 by Maciej Mroz: ttp330608 CRASH: PRETEST: EDITOR: UDS: Crash when trying to use struct named 'Color' in blueprint Change 2032420 by Maciej Mroz: ttp330620 PRETEST: EDITOR: UDS: Changes of default values aren't apllied to make nodes for text type of variables Change 2033139 by Maciej Mroz: Functions generated from CustomEvents can be also identified by GUID Change 2026631 by Maciej Mroz: BP. UDStruct: Invalid structs are handled better. Change 2025344 by Maciej Mroz: UDStruct enabled by default Change 2026672 by Maciej Mroz: EDITOR: BP: Can't easily remove 'pass-by-reference' pins on ReturnNodes Change 2026411 by Maciej Mroz: ExposeOnSpawn updated, it supports UDStructs, custom native Structs, and it throws compiler error. Change 2025342 by Maciej Mroz: GenerateBlueprintSkeleton moved from BLueprint::Serialize to RegenerateBlueprintClass, because SkeletonClass compilation requires all external dependencies to be loaded and linked. Change 2025570 by Steve Robb: Moved dependency processing to its own function. Change 2033235 by Steve Robb: String improvements Change 2035830 by Steve Robb: Workaround for FriendsAndChat crash in Fortnite. Change 2035115 by Steve Robb: UBT build time regression fixes. Change 2034162 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere Change 2034181 by Steve Robb: Removal of any references to .generated.inl Change 2020165 by Steve Robb: BuildPublicAndPrivateUObjectHeaders factored out into its own function. Change 2020187 by Steve Robb: CreateModuleCompileEnvironment function factored out. Change 2020055 by Steve Robb: Refactoring of Unity.cs to remove complex and duplicate iteration. Change 2020083 by Steve Robb: Another use of dictionary utilities. Change 2031049 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere Change 2025728 by Steve Robb: Refactored the application of a shared PCH file to multiple file into a single ApplySharedPCH function. Change 2020068 by Steve Robb: A couple of helpful utility functions for populating dictionaries. Change 2032307 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere [CL 2054495 by Robert Manuszewski in Main branch]
2014-04-23 20:18:55 -04:00
// Build the list of unity files.
List<FileCollection> AllUnityFiles;
{
// Sort the incoming file paths lexicographically, so there will be consistency in unity blobs across multiple machines.
// Note that we're relying on this not only sorting files within each directory, but also the directories
// themselves, so the whole list of file paths is the same across computers.
// Case-insensitive file path compare, because you never know what is going on with local file systems.
List<FileItem> SortedCPPFiles = CPPFiles.OrderBy(File => File.AbsolutePath, StringComparer.OrdinalIgnoreCase).ToList();
HashSet<FileItem> AdaptiveFileSet = new HashSet<FileItem>(AdaptiveFiles);
Copying //UE4/Dev-Build to //UE4/Dev-Main (Source: //UE4/Dev-Build @ 3277940) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3233612 on 2016/12/13 by Ben.Marsh UGS: Fix cases where precompiled binaries are submitted for a content change. Change 3235584 on 2016/12/14 by Ben.Marsh UBT: Deprecate the overridable TargetRules.ShouldUseSharedBuildEnvironment() function; targets should specify which build environment to use by setting the BuildEnvironment field in their constructor instead. Change 3235741 on 2016/12/14 by Ben.Marsh UBT: Deprecate the SetupBinaries() callback on the TargetRules class. Instead of overriding this, targets may override their launch module through the "LaunchModuleName" property in their constructor, and add extra modules to the "ExtraModuleNames" field on the TargetRules object itself. Change 3238176 on 2016/12/16 by Ben.Marsh UBT: New XML config file parser. Now reads once at startup and can be applied to instanced objects rather than global fields, and caches parsed output in a binary form for quicker initialization on subsequent runs. Change 3238249 on 2016/12/16 by Ben.Marsh UBT: Add attribute-driven command line parser. Change 3238462 on 2016/12/16 by Ben.Marsh UBT: Include the Platform, Configuration and Architecture on the TargetRules. Add a constructor which takes the TargetInfo object and deprecate the parameterless one; these fields are currently initialized before invoking the constructor in RulesAssembly. Change 3238564 on 2016/12/16 by Ben.Marsh UBT: Deprecate the ModuleRules constructor which takes a TargetInfo argument. Replace it with a read-only wrapper around the target rules instead, so target-specific configuration options can be read without needing to access global static variables. Also require that it's passed to the base class constructor. Change 3239919 on 2016/12/19 by Ben.Marsh UBT: Remove the "PreferredSubPlatform" property. This is only used for Windows XP support, which is being retired anyway. Having the target define its own architecture is an awkward contractiction to maintain support for, since the target rules are constructed after the architecture already has been determined. Change 3240061 on 2016/12/19 by Ben.Marsh UBT: Remove ThirdPartyHeaderFinder. I don't think anything is using this any more. Change 3240175 on 2016/12/19 by Ben.Marsh UBT: Add the target name and project file location to the target rules. Change 3240490 on 2016/12/19 by Ben.Marsh UAT: Remove Mac staging code that requires UAT to compile and construct .target.cs files when packaging, to check bUseSteam and bUseCEF3 flags. libsteam_api.dylib is now staged at build time by adding it as a bundle resource, CEF3 is already marked as a runtime dependency by CEF3.build.cs, and UnrealCEFSubProcess.app is already marked as a runtime dependency from WebBrowser.build.cs. Change 3240717 on 2016/12/20 by Ben.Marsh UAT: Allow configuring UAT to run as if on a build machine by passing the -buildmachine argument on the command line. Change 3240718 on 2016/12/20 by Ben.Marsh UAT: Remove target-specific properties that are no longer used by staging (bUsesSlate, bUsesCEF3, etc...). This stuff should all be handled inside UBT. Change 3241002 on 2016/12/20 by Ben.Marsh UBT: Move most target configuration settings from UEBuildConfiguration to TargetRules. This encapsulates target specific settings that will allow instancing multiple targets in the future. To facilitate migration of settings to their new location, "UEBuildConfiguration" is now a property that returns the current target rules instance. Change 3241027 on 2016/12/20 by Ben.Marsh Only copy the Steamworks dylib into the app bundle for monolithic builds. For all other times, just add it as a runtime dependency. Change 3241055 on 2016/12/20 by Ben.Marsh UBT: Only store a ReadOnlyTargetRules object on the instanced build target; finalize the configuration before it's instantiated. Change 3241156 on 2016/12/20 by Ben.Marsh Update SwarmInterface.csproj to .NET framework 4.5, to match what all other C# tools are using. Change 3241205 on 2016/12/20 by Ben.Marsh Replace all uses of TargetRules.TargetType with TargetType. Change 3241881 on 2016/12/21 by Ben.Marsh UBT: Remove project file information from UEBuildContext base class. As configurable properties are moved on to the TargetRules object, it will no longer be a dependency to instantiate the platform with this path. Change 3241895 on 2016/12/21 by Ben.Marsh UBT: Remove toolchain support for Windows XP. Change 3241908 on 2016/12/21 by Ben.Marsh UBT: Move settings for windows targets into a WindowsTargetRules class, which is exposed for targets to modify via the TargetRules.WindowsPlatform field. Change 3242835 on 2016/12/22 by Ben.Marsh UBT: Fix multiple binaries being created if plugins specify module names more than once. MfMedia.uplugin has MfMediaFactory listed twice. Change 3242837 on 2016/12/22 by Ben.Marsh Change UE4EditorServices to include MacSystemIncludes rather than Cocoa.h directly; causes FVector to be defined incorrectly in non-unity builds. Change 3242923 on 2016/12/22 by Ben.Marsh Build: Fixes for conforming incremental workspaces: * P4 have table is now reset before deleting all the files. This prevents Perforce being out of sync if the delete fails for some reason. * Incremental workspaces are skipped when running a clean operation, because they do not have a workspace capture file (causing a full re-sync, always). The "P4 Clean" option is still effective for cleaning these workspaces. Change 3242961 on 2016/12/22 by Ben.Marsh UBT: Move entry points from PreBuildSync() and PostBuildSync() from UEToolChain to UEBuildPlatform, and make the original toolchain versions static. These functions are already at odds with the rest of the data flow within UBT because they rely on global state cached outside the toolchain instance, making assumptions that UBT is only ever going to be invoked with one target that's constructed in the same run and that nothing is being cached (eg. UBT makefiles). Moving them onto UEBuildPlatform simplifies the toolchain lifecycle for other platforms without leaving Mac and IOS any more limited than they were before. Change 3242981 on 2016/12/22 by Ben.Marsh UBT: Remove symbol server handling code into UAT's platform library, since it's never needed from inside UBT. Change 3242999 on 2016/12/22 by Ben.Marsh UBT: Remove the StripSymbols() function from the UEToolChain base class. This functionality is only required by UAT, so it's better suited to being exposed through UAT's modular platform classes. Change 3243022 on 2016/12/22 by Ben.Marsh UBT: Require an instance of the target rules to be able to construct a toolchain in UBT. This will allow configuring toolchain-specific options from the target, using reflection from config files, and the command line. Change 3243083 on 2016/12/22 by Ben.Marsh UBT: Move settings for the Windows compiler version to use onto the Windows-specific target rules. Change 3243090 on 2016/12/22 by Ben.Marsh UBT: Change the third party paths in UEBuildConfiguration to constants. Changing these would not work. Change 3243423 on 2016/12/23 by Ben.Marsh UBT: Move a lot of settings from BuildConfiguration to TargetRules. This allows different targets to have different settings, naturally, and moves converts argument parsing and config to be driven by attributes. Change 3243516 on 2016/12/23 by Ben.Marsh UBT: Remove the ValidateUEBuildConfiguration callback, which is no longer used. (XGE settings validation occurs in XGE.cs) Change 3244020 on 2016/12/28 by Ben.Marsh UBT: Remove the BaseIntermediatePath static property. Precursor to removing RelativeEnginePath and IntermediateFolder properties. Change 3244074 on 2016/12/28 by Ben.Marsh UBT: Remove the RelativeEnginePath variable from BuildConfiguration. UnrealBuildTool.EngineDirectory gives the absolute path, and can be used to construct a relative path when necessary. Change 3244076 on 2016/12/28 by Ben.Marsh UBT: Remove BuildConfiguration.BaseIntermediateFolder; just use a fixed directory everywhere instead. Change 3244083 on 2016/12/28 by Ben.Marsh UBT: Replace FileReference and DirectoryReference instance methods for manipulating files and directories with static methods, to mirror the System.IO.File and System.IO.Directory classes. Change 3244441 on 2016/12/31 by Ben.Marsh UBT: Remove code to force PDBs when building with no debug info under XGE. Verified described symptoms (that it causes PCH generation to be serialized) no longer occur. Change 3244687 on 2017/01/03 by Matthew.Griffin Changed Exception to use FirstInclude.IncludeName as PrecompiledHeaderIncludeFilename can be null when this occurs Change 3246112 on 2017/01/04 by Ben.Marsh UBT: Fix UHT failures building some targets with the -useprecompiled option, due to differences in the order that circularly dependent modules are parsed. Precompiled binaries are now kept in the regular AppBinaries list, but are excluded from the build at the last minute. Also change some checks from IsEngineInstalled() to bUsePrecompiled, to prevent headers being overwritten when running in a non-installed precompiled build. Change 3246223 on 2017/01/04 by Ben.Marsh UBT: Prevent version manifests being overridden if a file is not being built as part of the target. Change 3246387 on 2017/01/04 by Ben.Marsh UBT: Remove BuildConfiguration settings for UnrealCodeAnalyzer. This tool isn't used at the moment, but it's configured using global variables accessed from all over the UBT codebase, making it difficult to refactor the build options into an instanced object. If we bring this tool back from the dead in the future, it should be possible to implement it using the exported JSON target definition or the XGE manifest, similarly to how IncludeTool uses it. Change 3247004 on 2017/01/04 by Ben.Marsh UBT: Simplify the logic for cleaning targets in UBT. Now uses FileReference/DirectoryReference objects everywhere, doesn't require the compile/link environment, and does all the checking to avoid deleting precompiled binaries in one place. Change 3247250 on 2017/01/04 by Ben.Marsh UBT: Prevent precompiled binaries being added to the list of app binaries twice. Change 3247594 on 2017/01/05 by Ben.Marsh Build: Run sample and template editors on the same agents as the other incremental builds. Remove ProtoStar, which does not have any non-precompiled editor target to build. Change 3247763 on 2017/01/05 by Ben.Marsh UBT: Allow the toolchain to update the list of build products for each module linked into a binary. Allows Mac to add dylibs and bundle resources specified per-module without having to construct a link environment and try to link them. Change 3247775 on 2017/01/05 by Ben.Marsh UBT: Instance the target compile and link environments when they are required during building, and don't persist them on the UEBuildTarget instance. Change 3247811 on 2017/01/05 by Ben.Marsh EC: Add a batch file for testing postp filters. Change 3247839 on 2017/01/05 by Ben.Marsh EC: Include the name of the file being compiled when parsing MSVC errors and warnings. Change 3248101 on 2017/01/05 by Ben.Marsh UBT: Fix Android support for force included headers. Change 3248533 on 2017/01/05 by Ben.Marsh PR #3097: UBT project supports optional platforms (Contributed by PrimalJohnScott) Change 3249205 on 2017/01/06 by Ben.Marsh UAT: Fix ParseTaggedP4Output throwing an exception if the same key name is specified more than once. This can happen when parsing the output from "P4 INFO", where multiple brokers are present. Change 3249249 on 2017/01/06 by Ben.Marsh UBT: Check for the existance of AndroidManifest.xml within extracted AAR directories, rather than just checking for the existance of the directory itself. Perforce does not remove empty directories when cleaning a workspace unless the rmdir option is on the workspace, so this can cause incremental build failures to fail on build machines. Change 3249486 on 2017/01/06 by Ben.Marsh UBT: Use relative paths in unity files when compiling for Mac/IOS, rather than generating a separate local/remote version of the file for gathering include dependencies. Absolute paths are only used to work around the way that MSVC concatenates paths internally; we don't hit the same problems when checking dependencies. Change 3249736 on 2017/01/06 by Ben.Marsh UBT: Rename CPPEnvironment to CppCompileEnvironment, and remove the separate CPPEnvironmentConfiguration object. All settings are now stored directly on the CppCompileEnvironment object. Change 3250179 on 2017/01/07 by Ben.Marsh Fix creating installed build when root directory contains a space in the name. Change 3250181 on 2017/01/07 by Ben.Marsh UBT: Remove some esoteric (and unused, AFAIK) options for orthogonally building different platforms. Change 3250223 on 2017/01/07 by Ben.Marsh UBT: Merge the LinkEnvironment and LinkEnvironmentConfiguration classes together. Change 3250233 on 2017/01/07 by Ben.Marsh UGS: Allow specifying a workspace-specific sync filter, which is applied on top of the standard filter. Also fix filter being cleared if the cancel button is pressed, and help text being stripped out. Change 3250241 on 2017/01/07 by Ben.Marsh UBT: Move the options for specifying additional Android architectures to target onto an Android-specific object on the TargetRules. Change 3250400 on 2017/01/08 by Ben.Marsh UBT: Move executor config settings onto the executor instances. Change 3257708 on 2017/01/13 by Ben.Marsh UBT: Remove the ThirdPartySourceDirectory constant; there are many places which hard-code or assume this location anyway, and it's not going to change. Change 3260535 on 2017/01/17 by Ben.Marsh Add an optional "RequiredSubmittedChange" setting to EC settings files. Allows a scheduled job to run even if there have been no code changes submitted. Test with the utilization capture job. Change 3260875 on 2017/01/17 by Ben.Marsh EC: Fix workspaces getting out of sync wrt. newly added files when jobs are aborted during a sync. In such cases, the P4 have table indicates the new files have been synced locally, but the workspace is forced back to a state before it had them due to the capture file. When a following sync tries to add them again, P4 believes the workspace already has them synced. To work around this, we now write an additional file to the root folder of a workspace containing the last CL that was captured, and sync back to it before doing the reconcile. Change 3261724 on 2017/01/18 by Ben.Marsh Allow filtering job types from the list view in EC. Hide the utilization capture job by default. Also set up notifications for the utilization capture job. Change 3261756 on 2017/01/18 by Ben.Marsh IncludeTool: Prevent matching a full enum declaration as a forward declaration. Change 3261932 on 2017/01/18 by Ben.Marsh EC: Add support for specifying days of the week in schedules. The following syntaxes are supported: "Monday, Tuesday and Wednesday at 10:30" "Daily except Sunday and Wednesday at 14:30" Also tweak display of dates relative to now to handle dates/times in the future, and include the date when specifying a day name. #jira UEB-729 Change 3262676 on 2017/01/18 by Ben.Marsh UBT: Split UBTMakefile into its own file. (From PR #3106) Change 3263893 on 2017/01/19 by Ben.Marsh UBT: Stop exporting platform classes from UBT, as well as all the referenced classes that have to be made public as a result. Any platform-specific functionality that needs to be shared with UAT is now exposed through wrappers in separate public classes, eg. WindowsExports.cs, IOSExports.cs, etc... Change 3264291 on 2017/01/19 by Ben.Marsh UBT: Fix errors generating documentation in UBT, and enable it by default. Will catch more errors with new code being added. Originally in PR #3106, but redone due to conflicts. Change 3264534 on 2017/01/19 by Ben.Marsh UBT: Include plugin config files in generated projects. Change 3264571 on 2017/01/19 by Ben.Marsh UBT: Prevent overwriting .modules files if nothing has changed. On builders, it's common to build multiple editors in the same workspace, and changing the last modified timestamp causes BuildGraph to fail due to tampered files. Change 3265745 on 2017/01/20 by Ben.Marsh UGS: Automatically open UGS when running the launcher for a second time, rather than prompting to close the original instance. Change 3265777 on 2017/01/20 by Ben.Marsh UGS: Automatically close and reopen when UGS is re-ran with the shift key held down to switch into unstable mode. Change 3268314 on 2017/01/23 by Ben.Marsh UBT: Make sure version manifests are stable by sorting the list of build products, so they are only touched if the contents have really changed. Change 3269601 on 2017/01/24 by Ben.Marsh UBT: Fix symbol files being added to manifest for some platforms even though debug info is disabled. Change 3269607 on 2017/01/24 by Ben.Marsh UBT: Fix bug where UBT would need to be invoked when switching between two editors sharing the same engine binaries on Mac. The location of the .modules file cannot be guessed on Mac by looking in the same directory as the primary output executable because it's an .app bundle, and the actual modules are nested several directories below that. Change 3269608 on 2017/01/24 by Ben.Marsh UBT: Fix additional files copied into the app bundle always being updated on Mac. Now uses rsync --checksum to make sure only modified files are updated. Change 3271062 on 2017/01/24 by Ben.Marsh UBT: Fixes for bugs detected by PVS Studio (PR #3161) Change 3272421 on 2017/01/25 by Ben.Marsh Fix commends regarding DDC in BaseEngine.ini #jira UE-41076 Change 3272810 on 2017/01/25 by Ben.Marsh Fix VS2017 being displayed as 'Visual Studio 15' in the Windows target settings panel. Change 3272935 on 2017/01/25 by Ben.Marsh Fix Metal errors launching on Mac due to use of OSX environment settings before they are initialized. Toolchain settings are now constructed on demand in a separate class, for Mac, iOS and TVOS. Change 3274167 on 2017/01/26 by Ben.Marsh Fix resource files not being compiled in installed builds on Windows. Was causing metadata not to be embedded into executables. #jira UE-36457 Change 3275557 on 2017/01/27 by Ben.Marsh Expand checks for propagation of restricted folder names to include source files, and to ensure that each restricted folder is represented in the output. Also improve messaging to show the dependency chain leading to a restricted folder being referenced, and which folder it is. Change 3275628 on 2017/01/27 by Ben.Marsh UBT: Splitting configuration files into one class per-file. Change 3276784 on 2017/01/29 by Ben.Marsh Add an authoritative list of confidential folder names, and expose it through global BuildGraph properties ($(RestrictedFolderNames) and $(RestrictedFolderFilter)). Also switch existing scripts to use it. Change 3276792 on 2017/01/29 by Ben.Marsh UBT: Use UE4CSharp.prog files to indicate which projects should be included in the solution without having to hard-code a list of them in UBT. Change 3277263 on 2017/01/30 by Ben.Marsh IncludeTool: Merging various fixes. * Fix warnings about #include directives after first code block from parsing monolithic headers. * Fix exception on startup if the intermediate directory does not already exist. * Add a special case for ignoring missing header guards from MonolithicHeaderBoilerplate.h, rather than marking it as an inline header. Marking it as inline prevents parsing include directives, which results in including CoreTypes.h from the wrong location. * Create job objects for spawned compiler instances to prevent them trying allocating more memory than the system can spare. * Remove (unused) code which makes assumptions about files ending with "Classes.h". * Add a verbose per-file output log to aid with debugging. * Negate the MakeStandalone command line option, which was added to allow tweaking forward declarations in already optimized files, so the optimized output does not have missing headers by default. * Fix missing headers when creating standalone files, due to incorrect list of previous files being passed in to the OutputFile constructor. Now passes the original list of included files, not the output list. * Fix initial header for a cpp file sometimes being removed. Forcibly including a header at the start of the file does not use the normal pathway for spidering through includes, so a second include of the same file was being generated. Any includes of that header were being forced into output, and the earlier include was then removed due to being redundant. * Prevent forward declaring enums which have to be parsed by UHT. UHT relies on includes to determine a parse order, and will fail if the enum definition has not been parsed first. * Use a relative path for private includes in the same module if there are any. Fixes some incorrect paths, and makes it clearer that we're doing something we shouldn't. Change 3277307 on 2017/01/30 by Ben.Marsh UBT: Fix private PCHs not using correct header. Causes custom definitions to be excluded from the command line. [CL 3278101 by Ben Marsh in Main branch]
2017-01-30 16:52:08 -05:00
UnityFileBuilder CPPUnityFileBuilder = new UnityFileBuilder(bForceIntoSingleUnityFile ? -1 : Target.NumIncludedBytesPerUnityCPP);
Copying //UE4/Dev-Build to //UE4/Main ========================== MAJOR FEATURES + CHANGES ========================== Change 2864843 on 2016/02/12 by Ben.Marsh Add individual 'status', 'outcome', and 'error_code' fields to parsed jobsteps. Should fix grid view not being able to display 'pending' icons. Change 2865161 on 2016/02/12 by Ben.Marsh Stop storing a reference to UEBuildTarget from UEBuildModule. It creates an awkward cyclic data dependency, and makes it easy for people to write lazy code that just reaches into the internal state of the build. Change 2865643 on 2016/02/12 by Ben.Marsh Rename UEBuildModuleType to UHTModuleType, and move implementation into ExternalExecution. Change 2874408 on 2016/02/19 by Ben.Marsh Automatically sort nodes in the dashboard grid view by a weight derived from the node's order in the build graph, summed across all the jobs in which it was present. Change 2879572 on 2016/02/24 by Ben.Marsh Allow spoofing a Git merge from a given commit, using a changelist description containing the tag "git merge <branch> <changelist>", where <branch> is the name of a branch on Git (eg. master, 4.11, etc..), and <changelist> is the changelist being merged in. Change 2883216 on 2016/02/26 by Ben.Marsh Prevent Jira tickets being incorrectly updated with 'Main CL' fields which are after the 'Fix CL' fields. Change 2883755 on 2016/02/26 by Ben.Marsh Fix solution files having a Shipping configuration, even when -NoShippingConfigs is passed on the command line. Change 2886223 on 2016/02/29 by Ben.Marsh Ignore SignTool errors - we can recover from them. Change 2887414 on 2016/03/01 by Ben.Marsh Dump all the *.crash files produced while running commandlets, to make it easier to diagnose build system crashes cooking on Mac. Change 2888235 on 2016/03/01 by Ben.Marsh Add overloads for methods in FileFilter which take FileReference and DirectoryReference objects. Change 2889602 on 2016/03/02 by Ben.Marsh Treat shaders as code in UGS. Don't sync them as part of content-only syncs, and don't allow syncing past them without updated binaries. Change 2889610 on 2016/03/02 by Ben.Marsh Fix setting for using incremental builds not being saved. Also hide command to do incremental builds if the 'use incremental builds' option is not checked. Change 2891866 on 2016/03/03 by Matthew.Griffin Removed Rocket specific batch files and made sure installed build won't try to include them Removed last use of RocketGenerateProjectFiles.sh by using UBT directly instead Change 2893349 on 2016/03/03 by Ben.Marsh Add derived ReplicatedBranch to support mirroring the VR editor branch to GitHub. Change 2894703 on 2016/03/04 by Ben.Marsh Include *.usf when looking for the last code changelist. Also update version to 1.68. Change 2897991 on 2016/03/07 by Ben.Marsh Copy the changelist number to the clipboard when the user presses Ctrl-C. Update version number to 1.69. Change 2898005 on 2016/03/07 by Ben.Marsh Minor changes to support BuildGraph: * UE4Build now has a static function that can update version files. * Adding FileReference/DirectoryReference methods to FileFilter and CommandUtils. * FileFilter treats any pattern containing a slash as implictly starting from the root directory, unless it begins with "...". Change 2898095 on 2016/03/07 by Ben.Marsh UAT - Don't retry builds if we're using local executor; we don't encounter failures due to timeouts. Change 2898248 on 2016/03/07 by Ben.Marsh UBT - Add the standard game include paths back in to plugin modules. Existing game code relies on this. Change 2898615 on 2016/03/08 by Matthew.Griffin Removed last uses of RunningRocket function All seemed to be overly cautious about people using an Installed build to do non standard things, don't see any ill effects in the most common circumstances. Change 2898681 on 2016/03/08 by Matthew.Griffin Removed Automation.RunningRocket function as there are no more uses Changed the majority of comments referencing Rocket mode that are now either about the engine being installed or from the Launcher etc. #lockdown Nick.Penwarden [CL 2898813 by Matthew Griffin in Main branch]
2016-03-08 09:00:48 -05:00
foreach (FileItem CPPFile in SortedCPPFiles)
{
if (!bForceIntoSingleUnityFile && CPPFile.AbsolutePath.IndexOf(".GeneratedWrapper.", StringComparison.InvariantCultureIgnoreCase) != -1)
Merging UE4-Pretest @ 2042161 to UE4 Change 1996384 by Andrew Brown: 322252 - EDITOR: Asset picker displays incorrect text when there are no filter results. Change 1996385 by Andrew Brown: 321858 - CRASH: Assertion failed: (Index >= 0) Function: STransformViewportToolBar::GetLocationGridLabel() STextBlock::CacheDesiredSize() Change 1996977 by Andrew Brown: 309685 - UE4: Adding an event/renaming an event on an event track in Matinee does not update the MatineeActor node in blueprint Change 2034873 by Jaroslaw Palczynski: More robust VS installation detection. Change 2039693 by Jaroslaw Palczynski: 327268 - RocketGDC: POSTLAUNCH: DEV: Make engine more robust against bad Visual Studio environment variables Change 1978978 by Jaroslaw Surowiec: - Removed obsolete AllowEliminatingReferences from the FArchive Change 2020326 by Maciej Mroz: pretest BP K2Node: RemovePinsFromOldPins function moved from K2Node to RemovePinsFromOldPins Change 2017608 by Maciej Mroz: pretest Some changes in SFortMissionEventSelector caused by FPinTypeTreeInfo Change 2017463 by Maciej Mroz: PinTypeSelector can lins unloaded UDStructs Change 2019979 by Maciej Mroz: pretest BP: Crash when performing Diff against Depot with blueprints containing Format Text nodes Change 2024469 by Maciej Mroz: MemberReference variable added to PinType. It's necessary for delegate's signature. Change 2024049 by Maciej Mroz: HasExternalBlueprintDependencies added to UK2Node_DynamicCast Change 2024586 by Maciej Mroz: FillSimpleMemberReference fix Change 2024472 by Maciej Mroz: workaround for delegates signature in pintype removed. Change 2023997 by Maciej Mroz: BP, UDStruc: Class UserDefinedStructEditorData added. It fixes many problems with undo/redo. Change 2021934 by Maciej Mroz: typo in a comment Change 2020355 by Maciej Mroz: Back out changelist 2020342 Change 2022178 by Maciej Mroz: CRASH: PRETEST: EDITOR: UDS: Crash when undo then redo new variable in struct that is used by blueprint Change 2021958 by Maciej Mroz: CRASH: PRETEST: EDITOR: UDS: Crash using variable of a type of copied struct in blueprint Change 1986247 by Maciej Mroz: User Defined Structures: circle dependency fixed. Early version. Change 1985107 by Maciej Mroz: UserDefinedStruct cannot have a field of a non-native type Change 1986278 by Maciej Mroz: pretest ensureMsgf in Struct::link Change 1986250 by Maciej Mroz: User Defined Struct: Non native classes are accepted types od values in structures. Change 1980955 by Maciej Mroz: Using AssetPtr and LazyPtr as UFunction parameter (intput or return) is explicitly disallowed. Change 2041215 by Maciej Mroz: ttp331249 BLOCKER: PRETEST: UI: Survive the Storm is missing the Mission HUD. Change 1984316 by Maciej Mroz: New User Defined Structure. WIP - there are still problems with circular dependencies. Change 2011616 by Maciej Mroz: UserDefinedStructures - various problems fixed. Change 2011609 by Maciej Mroz: more robust HasExternalBlueprintDependencies implementation Change 2016697 by Maciej Mroz: pretest BP: UDStruct - default value propagation in cooked build Change 2016288 by Maciej Mroz: pretest BP: UDStruct: Renaming variables wont break links from make/break nodes Change 1987637 by Maciej Mroz: CustomStruct icons placeholders Change 1987422 by Maciej Mroz: Better tooltips for variables in MyBlueprint Change 1991387 by Maciej Mroz: UDStructures fixes: Change 2029165 by Maciej Mroz: BP: better comment for incomatible pins Change 2030016 by Maciej Mroz: 8PRETEST: EDITOR: UDS: Defaults values aren't updated in struct type variables in blueprints Change 2030017 by Maciej Mroz: Unused UDStructure code removed (PPF_UseDefaultsForUDStructures) Change 2028856 by Maciej Mroz: BP: Pins with PC_Struct type are compatible only with exactly the same structure. (No derived structures are not handled as compatible). Change 2026701 by Maciej Mroz: k2: odd error on an add item node within a function (see attached image in details) Change 2028160 by Maciej Mroz: PRETEST: EDITOR: UDS: When deleting structures just after creating there is always some references in the memory Change 2028165 by Maciej Mroz: BP: BreakHitResult function has proper icon. Change 2033340 by Maciej Mroz: ttp330786 PRETEST: EDITOR: UDS: Changes of default values aren't apllied to breeak nodes for text type of variables Change 2034255 by Maciej Mroz: EDITOR: UDS: Changes of default values aren't apllied to make nodes for text type of variables ttp#330620 Change 2037682 by Maciej Mroz: ttp331309 BLOCKER: PRETEST: CRASH: EDITOR: Crash occurs when performing Diff Against Depot on any Blueprint Change 2033142 by Maciej Mroz: CreateDelegate Node uses internally FMemberReference. Refactor. Change 2032329 by Maciej Mroz: ttp330608 CRASH: PRETEST: EDITOR: UDS: Crash when trying to use struct named 'Color' in blueprint Change 2032420 by Maciej Mroz: ttp330620 PRETEST: EDITOR: UDS: Changes of default values aren't apllied to make nodes for text type of variables Change 2033139 by Maciej Mroz: Functions generated from CustomEvents can be also identified by GUID Change 2026631 by Maciej Mroz: BP. UDStruct: Invalid structs are handled better. Change 2025344 by Maciej Mroz: UDStruct enabled by default Change 2026672 by Maciej Mroz: EDITOR: BP: Can't easily remove 'pass-by-reference' pins on ReturnNodes Change 2026411 by Maciej Mroz: ExposeOnSpawn updated, it supports UDStructs, custom native Structs, and it throws compiler error. Change 2025342 by Maciej Mroz: GenerateBlueprintSkeleton moved from BLueprint::Serialize to RegenerateBlueprintClass, because SkeletonClass compilation requires all external dependencies to be loaded and linked. Change 2025570 by Steve Robb: Moved dependency processing to its own function. Change 2033235 by Steve Robb: String improvements Change 2035830 by Steve Robb: Workaround for FriendsAndChat crash in Fortnite. Change 2035115 by Steve Robb: UBT build time regression fixes. Change 2034162 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere Change 2034181 by Steve Robb: Removal of any references to .generated.inl Change 2020165 by Steve Robb: BuildPublicAndPrivateUObjectHeaders factored out into its own function. Change 2020187 by Steve Robb: CreateModuleCompileEnvironment function factored out. Change 2020055 by Steve Robb: Refactoring of Unity.cs to remove complex and duplicate iteration. Change 2020083 by Steve Robb: Another use of dictionary utilities. Change 2031049 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere Change 2025728 by Steve Robb: Refactored the application of a shared PCH file to multiple file into a single ApplySharedPCH function. Change 2020068 by Steve Robb: A couple of helpful utility functions for populating dictionaries. Change 2032307 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere [CL 2054495 by Robert Manuszewski in Main branch]
2014-04-23 20:18:55 -04:00
{
NewCPPFiles.Add(CPPFile);
Merging UE4-Pretest @ 2042161 to UE4 Change 1996384 by Andrew Brown: 322252 - EDITOR: Asset picker displays incorrect text when there are no filter results. Change 1996385 by Andrew Brown: 321858 - CRASH: Assertion failed: (Index >= 0) Function: STransformViewportToolBar::GetLocationGridLabel() STextBlock::CacheDesiredSize() Change 1996977 by Andrew Brown: 309685 - UE4: Adding an event/renaming an event on an event track in Matinee does not update the MatineeActor node in blueprint Change 2034873 by Jaroslaw Palczynski: More robust VS installation detection. Change 2039693 by Jaroslaw Palczynski: 327268 - RocketGDC: POSTLAUNCH: DEV: Make engine more robust against bad Visual Studio environment variables Change 1978978 by Jaroslaw Surowiec: - Removed obsolete AllowEliminatingReferences from the FArchive Change 2020326 by Maciej Mroz: pretest BP K2Node: RemovePinsFromOldPins function moved from K2Node to RemovePinsFromOldPins Change 2017608 by Maciej Mroz: pretest Some changes in SFortMissionEventSelector caused by FPinTypeTreeInfo Change 2017463 by Maciej Mroz: PinTypeSelector can lins unloaded UDStructs Change 2019979 by Maciej Mroz: pretest BP: Crash when performing Diff against Depot with blueprints containing Format Text nodes Change 2024469 by Maciej Mroz: MemberReference variable added to PinType. It's necessary for delegate's signature. Change 2024049 by Maciej Mroz: HasExternalBlueprintDependencies added to UK2Node_DynamicCast Change 2024586 by Maciej Mroz: FillSimpleMemberReference fix Change 2024472 by Maciej Mroz: workaround for delegates signature in pintype removed. Change 2023997 by Maciej Mroz: BP, UDStruc: Class UserDefinedStructEditorData added. It fixes many problems with undo/redo. Change 2021934 by Maciej Mroz: typo in a comment Change 2020355 by Maciej Mroz: Back out changelist 2020342 Change 2022178 by Maciej Mroz: CRASH: PRETEST: EDITOR: UDS: Crash when undo then redo new variable in struct that is used by blueprint Change 2021958 by Maciej Mroz: CRASH: PRETEST: EDITOR: UDS: Crash using variable of a type of copied struct in blueprint Change 1986247 by Maciej Mroz: User Defined Structures: circle dependency fixed. Early version. Change 1985107 by Maciej Mroz: UserDefinedStruct cannot have a field of a non-native type Change 1986278 by Maciej Mroz: pretest ensureMsgf in Struct::link Change 1986250 by Maciej Mroz: User Defined Struct: Non native classes are accepted types od values in structures. Change 1980955 by Maciej Mroz: Using AssetPtr and LazyPtr as UFunction parameter (intput or return) is explicitly disallowed. Change 2041215 by Maciej Mroz: ttp331249 BLOCKER: PRETEST: UI: Survive the Storm is missing the Mission HUD. Change 1984316 by Maciej Mroz: New User Defined Structure. WIP - there are still problems with circular dependencies. Change 2011616 by Maciej Mroz: UserDefinedStructures - various problems fixed. Change 2011609 by Maciej Mroz: more robust HasExternalBlueprintDependencies implementation Change 2016697 by Maciej Mroz: pretest BP: UDStruct - default value propagation in cooked build Change 2016288 by Maciej Mroz: pretest BP: UDStruct: Renaming variables wont break links from make/break nodes Change 1987637 by Maciej Mroz: CustomStruct icons placeholders Change 1987422 by Maciej Mroz: Better tooltips for variables in MyBlueprint Change 1991387 by Maciej Mroz: UDStructures fixes: Change 2029165 by Maciej Mroz: BP: better comment for incomatible pins Change 2030016 by Maciej Mroz: 8PRETEST: EDITOR: UDS: Defaults values aren't updated in struct type variables in blueprints Change 2030017 by Maciej Mroz: Unused UDStructure code removed (PPF_UseDefaultsForUDStructures) Change 2028856 by Maciej Mroz: BP: Pins with PC_Struct type are compatible only with exactly the same structure. (No derived structures are not handled as compatible). Change 2026701 by Maciej Mroz: k2: odd error on an add item node within a function (see attached image in details) Change 2028160 by Maciej Mroz: PRETEST: EDITOR: UDS: When deleting structures just after creating there is always some references in the memory Change 2028165 by Maciej Mroz: BP: BreakHitResult function has proper icon. Change 2033340 by Maciej Mroz: ttp330786 PRETEST: EDITOR: UDS: Changes of default values aren't apllied to breeak nodes for text type of variables Change 2034255 by Maciej Mroz: EDITOR: UDS: Changes of default values aren't apllied to make nodes for text type of variables ttp#330620 Change 2037682 by Maciej Mroz: ttp331309 BLOCKER: PRETEST: CRASH: EDITOR: Crash occurs when performing Diff Against Depot on any Blueprint Change 2033142 by Maciej Mroz: CreateDelegate Node uses internally FMemberReference. Refactor. Change 2032329 by Maciej Mroz: ttp330608 CRASH: PRETEST: EDITOR: UDS: Crash when trying to use struct named 'Color' in blueprint Change 2032420 by Maciej Mroz: ttp330620 PRETEST: EDITOR: UDS: Changes of default values aren't apllied to make nodes for text type of variables Change 2033139 by Maciej Mroz: Functions generated from CustomEvents can be also identified by GUID Change 2026631 by Maciej Mroz: BP. UDStruct: Invalid structs are handled better. Change 2025344 by Maciej Mroz: UDStruct enabled by default Change 2026672 by Maciej Mroz: EDITOR: BP: Can't easily remove 'pass-by-reference' pins on ReturnNodes Change 2026411 by Maciej Mroz: ExposeOnSpawn updated, it supports UDStructs, custom native Structs, and it throws compiler error. Change 2025342 by Maciej Mroz: GenerateBlueprintSkeleton moved from BLueprint::Serialize to RegenerateBlueprintClass, because SkeletonClass compilation requires all external dependencies to be loaded and linked. Change 2025570 by Steve Robb: Moved dependency processing to its own function. Change 2033235 by Steve Robb: String improvements Change 2035830 by Steve Robb: Workaround for FriendsAndChat crash in Fortnite. Change 2035115 by Steve Robb: UBT build time regression fixes. Change 2034162 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere Change 2034181 by Steve Robb: Removal of any references to .generated.inl Change 2020165 by Steve Robb: BuildPublicAndPrivateUObjectHeaders factored out into its own function. Change 2020187 by Steve Robb: CreateModuleCompileEnvironment function factored out. Change 2020055 by Steve Robb: Refactoring of Unity.cs to remove complex and duplicate iteration. Change 2020083 by Steve Robb: Another use of dictionary utilities. Change 2031049 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere Change 2025728 by Steve Robb: Refactored the application of a shared PCH file to multiple file into a single ApplySharedPCH function. Change 2020068 by Steve Robb: A couple of helpful utility functions for populating dictionaries. Change 2032307 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere [CL 2054495 by Robert Manuszewski in Main branch]
2014-04-23 20:18:55 -04:00
}
UnrealBuildTool: Experimental fast C++ include dependency scanning - Adds experimental super-fast C++ outdated file checking - This feature is turned off for now as we continue to test and improve it - You can try it out by enabling "bUseExperimentalFastDependencyScan" option in your BuildConfiguration.xml - Here is the basic idea: - We no longer exhaustively scan all includes and build up a big graph every invocation - Instead, source files whose build products are missing have their includes scanned asynchronously while being compiled - The flat list of dependent includes for every outdated C++ is saved into a new cache file ("FlatCPPIncludes.bin") - On the next run, we quickly load that up and "just know" which files to check timestamps on to determine what is out of date - Lots of "@todo fastubt" comments were added to UnrealBuildTool for potential performance optimizations and further improvements on this feature. UnrealBuildTool: Determination of which modules have UObjects is now faster - We now cache which modules have UObjects and load those for the next session UnrealBuildTool: Module "shared" precompiled header determination is now much faster - We no longer scan all C++ includes for a module to figure out which "shared" PCH to use - Instead, we use the module dependencies specified in the module's *.Build.cs file - For example, if your module depends on "Engine" and "UnrealEd", we choose "UnrealEd"'s shared PCH Other UBT optimizations: - Reduced calls to string formatting functions when setting up API definitions for all modules - Added new performance diagnostics when bPrintPerformanceInfo is enabled in BuildConfiguration.xml - We no longer check for "external" headers when scanning includes (this code didn't work at all) - Optimized CleanDirectorySeparators() utility function to avoid string copies Fixed UnrealBuildTool not saving DependencyCache under a platform-named folder [CL 2238266 by Mike Fricker in Main branch]
2014-07-31 09:34:11 -04:00
// When adaptive unity is enabled, go ahead and exclude any source files that we're actively working with
if (AdaptiveFileSet.Contains(CPPFile))
{
// Let the unity file builder know about the file, so that we can retain the existing size of the unity blobs.
// This won't actually make the source file part of the unity blob, but it will keep track of how big the
// file is so that other existing unity blobs from the same module won't be invalidated. This prevents much
// longer compile times the first time you build after your working file set changes.
CPPUnityFileBuilder.AddVirtualFile(CPPFile);
}
else
{
// Compile this file as part of the unity blob
CPPUnityFileBuilder.AddFile(CPPFile);
}
Merging UE4-Pretest @ 2042161 to UE4 Change 1996384 by Andrew Brown: 322252 - EDITOR: Asset picker displays incorrect text when there are no filter results. Change 1996385 by Andrew Brown: 321858 - CRASH: Assertion failed: (Index >= 0) Function: STransformViewportToolBar::GetLocationGridLabel() STextBlock::CacheDesiredSize() Change 1996977 by Andrew Brown: 309685 - UE4: Adding an event/renaming an event on an event track in Matinee does not update the MatineeActor node in blueprint Change 2034873 by Jaroslaw Palczynski: More robust VS installation detection. Change 2039693 by Jaroslaw Palczynski: 327268 - RocketGDC: POSTLAUNCH: DEV: Make engine more robust against bad Visual Studio environment variables Change 1978978 by Jaroslaw Surowiec: - Removed obsolete AllowEliminatingReferences from the FArchive Change 2020326 by Maciej Mroz: pretest BP K2Node: RemovePinsFromOldPins function moved from K2Node to RemovePinsFromOldPins Change 2017608 by Maciej Mroz: pretest Some changes in SFortMissionEventSelector caused by FPinTypeTreeInfo Change 2017463 by Maciej Mroz: PinTypeSelector can lins unloaded UDStructs Change 2019979 by Maciej Mroz: pretest BP: Crash when performing Diff against Depot with blueprints containing Format Text nodes Change 2024469 by Maciej Mroz: MemberReference variable added to PinType. It's necessary for delegate's signature. Change 2024049 by Maciej Mroz: HasExternalBlueprintDependencies added to UK2Node_DynamicCast Change 2024586 by Maciej Mroz: FillSimpleMemberReference fix Change 2024472 by Maciej Mroz: workaround for delegates signature in pintype removed. Change 2023997 by Maciej Mroz: BP, UDStruc: Class UserDefinedStructEditorData added. It fixes many problems with undo/redo. Change 2021934 by Maciej Mroz: typo in a comment Change 2020355 by Maciej Mroz: Back out changelist 2020342 Change 2022178 by Maciej Mroz: CRASH: PRETEST: EDITOR: UDS: Crash when undo then redo new variable in struct that is used by blueprint Change 2021958 by Maciej Mroz: CRASH: PRETEST: EDITOR: UDS: Crash using variable of a type of copied struct in blueprint Change 1986247 by Maciej Mroz: User Defined Structures: circle dependency fixed. Early version. Change 1985107 by Maciej Mroz: UserDefinedStruct cannot have a field of a non-native type Change 1986278 by Maciej Mroz: pretest ensureMsgf in Struct::link Change 1986250 by Maciej Mroz: User Defined Struct: Non native classes are accepted types od values in structures. Change 1980955 by Maciej Mroz: Using AssetPtr and LazyPtr as UFunction parameter (intput or return) is explicitly disallowed. Change 2041215 by Maciej Mroz: ttp331249 BLOCKER: PRETEST: UI: Survive the Storm is missing the Mission HUD. Change 1984316 by Maciej Mroz: New User Defined Structure. WIP - there are still problems with circular dependencies. Change 2011616 by Maciej Mroz: UserDefinedStructures - various problems fixed. Change 2011609 by Maciej Mroz: more robust HasExternalBlueprintDependencies implementation Change 2016697 by Maciej Mroz: pretest BP: UDStruct - default value propagation in cooked build Change 2016288 by Maciej Mroz: pretest BP: UDStruct: Renaming variables wont break links from make/break nodes Change 1987637 by Maciej Mroz: CustomStruct icons placeholders Change 1987422 by Maciej Mroz: Better tooltips for variables in MyBlueprint Change 1991387 by Maciej Mroz: UDStructures fixes: Change 2029165 by Maciej Mroz: BP: better comment for incomatible pins Change 2030016 by Maciej Mroz: 8PRETEST: EDITOR: UDS: Defaults values aren't updated in struct type variables in blueprints Change 2030017 by Maciej Mroz: Unused UDStructure code removed (PPF_UseDefaultsForUDStructures) Change 2028856 by Maciej Mroz: BP: Pins with PC_Struct type are compatible only with exactly the same structure. (No derived structures are not handled as compatible). Change 2026701 by Maciej Mroz: k2: odd error on an add item node within a function (see attached image in details) Change 2028160 by Maciej Mroz: PRETEST: EDITOR: UDS: When deleting structures just after creating there is always some references in the memory Change 2028165 by Maciej Mroz: BP: BreakHitResult function has proper icon. Change 2033340 by Maciej Mroz: ttp330786 PRETEST: EDITOR: UDS: Changes of default values aren't apllied to breeak nodes for text type of variables Change 2034255 by Maciej Mroz: EDITOR: UDS: Changes of default values aren't apllied to make nodes for text type of variables ttp#330620 Change 2037682 by Maciej Mroz: ttp331309 BLOCKER: PRETEST: CRASH: EDITOR: Crash occurs when performing Diff Against Depot on any Blueprint Change 2033142 by Maciej Mroz: CreateDelegate Node uses internally FMemberReference. Refactor. Change 2032329 by Maciej Mroz: ttp330608 CRASH: PRETEST: EDITOR: UDS: Crash when trying to use struct named 'Color' in blueprint Change 2032420 by Maciej Mroz: ttp330620 PRETEST: EDITOR: UDS: Changes of default values aren't apllied to make nodes for text type of variables Change 2033139 by Maciej Mroz: Functions generated from CustomEvents can be also identified by GUID Change 2026631 by Maciej Mroz: BP. UDStruct: Invalid structs are handled better. Change 2025344 by Maciej Mroz: UDStruct enabled by default Change 2026672 by Maciej Mroz: EDITOR: BP: Can't easily remove 'pass-by-reference' pins on ReturnNodes Change 2026411 by Maciej Mroz: ExposeOnSpawn updated, it supports UDStructs, custom native Structs, and it throws compiler error. Change 2025342 by Maciej Mroz: GenerateBlueprintSkeleton moved from BLueprint::Serialize to RegenerateBlueprintClass, because SkeletonClass compilation requires all external dependencies to be loaded and linked. Change 2025570 by Steve Robb: Moved dependency processing to its own function. Change 2033235 by Steve Robb: String improvements Change 2035830 by Steve Robb: Workaround for FriendsAndChat crash in Fortnite. Change 2035115 by Steve Robb: UBT build time regression fixes. Change 2034162 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere Change 2034181 by Steve Robb: Removal of any references to .generated.inl Change 2020165 by Steve Robb: BuildPublicAndPrivateUObjectHeaders factored out into its own function. Change 2020187 by Steve Robb: CreateModuleCompileEnvironment function factored out. Change 2020055 by Steve Robb: Refactoring of Unity.cs to remove complex and duplicate iteration. Change 2020083 by Steve Robb: Another use of dictionary utilities. Change 2031049 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere Change 2025728 by Steve Robb: Refactored the application of a shared PCH file to multiple file into a single ApplySharedPCH function. Change 2020068 by Steve Robb: A couple of helpful utility functions for populating dictionaries. Change 2032307 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere [CL 2054495 by Robert Manuszewski in Main branch]
2014-04-23 20:18:55 -04:00
}
Merging UE4-Pretest @ 2042161 to UE4 Change 1996384 by Andrew Brown: 322252 - EDITOR: Asset picker displays incorrect text when there are no filter results. Change 1996385 by Andrew Brown: 321858 - CRASH: Assertion failed: (Index >= 0) Function: STransformViewportToolBar::GetLocationGridLabel() STextBlock::CacheDesiredSize() Change 1996977 by Andrew Brown: 309685 - UE4: Adding an event/renaming an event on an event track in Matinee does not update the MatineeActor node in blueprint Change 2034873 by Jaroslaw Palczynski: More robust VS installation detection. Change 2039693 by Jaroslaw Palczynski: 327268 - RocketGDC: POSTLAUNCH: DEV: Make engine more robust against bad Visual Studio environment variables Change 1978978 by Jaroslaw Surowiec: - Removed obsolete AllowEliminatingReferences from the FArchive Change 2020326 by Maciej Mroz: pretest BP K2Node: RemovePinsFromOldPins function moved from K2Node to RemovePinsFromOldPins Change 2017608 by Maciej Mroz: pretest Some changes in SFortMissionEventSelector caused by FPinTypeTreeInfo Change 2017463 by Maciej Mroz: PinTypeSelector can lins unloaded UDStructs Change 2019979 by Maciej Mroz: pretest BP: Crash when performing Diff against Depot with blueprints containing Format Text nodes Change 2024469 by Maciej Mroz: MemberReference variable added to PinType. It's necessary for delegate's signature. Change 2024049 by Maciej Mroz: HasExternalBlueprintDependencies added to UK2Node_DynamicCast Change 2024586 by Maciej Mroz: FillSimpleMemberReference fix Change 2024472 by Maciej Mroz: workaround for delegates signature in pintype removed. Change 2023997 by Maciej Mroz: BP, UDStruc: Class UserDefinedStructEditorData added. It fixes many problems with undo/redo. Change 2021934 by Maciej Mroz: typo in a comment Change 2020355 by Maciej Mroz: Back out changelist 2020342 Change 2022178 by Maciej Mroz: CRASH: PRETEST: EDITOR: UDS: Crash when undo then redo new variable in struct that is used by blueprint Change 2021958 by Maciej Mroz: CRASH: PRETEST: EDITOR: UDS: Crash using variable of a type of copied struct in blueprint Change 1986247 by Maciej Mroz: User Defined Structures: circle dependency fixed. Early version. Change 1985107 by Maciej Mroz: UserDefinedStruct cannot have a field of a non-native type Change 1986278 by Maciej Mroz: pretest ensureMsgf in Struct::link Change 1986250 by Maciej Mroz: User Defined Struct: Non native classes are accepted types od values in structures. Change 1980955 by Maciej Mroz: Using AssetPtr and LazyPtr as UFunction parameter (intput or return) is explicitly disallowed. Change 2041215 by Maciej Mroz: ttp331249 BLOCKER: PRETEST: UI: Survive the Storm is missing the Mission HUD. Change 1984316 by Maciej Mroz: New User Defined Structure. WIP - there are still problems with circular dependencies. Change 2011616 by Maciej Mroz: UserDefinedStructures - various problems fixed. Change 2011609 by Maciej Mroz: more robust HasExternalBlueprintDependencies implementation Change 2016697 by Maciej Mroz: pretest BP: UDStruct - default value propagation in cooked build Change 2016288 by Maciej Mroz: pretest BP: UDStruct: Renaming variables wont break links from make/break nodes Change 1987637 by Maciej Mroz: CustomStruct icons placeholders Change 1987422 by Maciej Mroz: Better tooltips for variables in MyBlueprint Change 1991387 by Maciej Mroz: UDStructures fixes: Change 2029165 by Maciej Mroz: BP: better comment for incomatible pins Change 2030016 by Maciej Mroz: 8PRETEST: EDITOR: UDS: Defaults values aren't updated in struct type variables in blueprints Change 2030017 by Maciej Mroz: Unused UDStructure code removed (PPF_UseDefaultsForUDStructures) Change 2028856 by Maciej Mroz: BP: Pins with PC_Struct type are compatible only with exactly the same structure. (No derived structures are not handled as compatible). Change 2026701 by Maciej Mroz: k2: odd error on an add item node within a function (see attached image in details) Change 2028160 by Maciej Mroz: PRETEST: EDITOR: UDS: When deleting structures just after creating there is always some references in the memory Change 2028165 by Maciej Mroz: BP: BreakHitResult function has proper icon. Change 2033340 by Maciej Mroz: ttp330786 PRETEST: EDITOR: UDS: Changes of default values aren't apllied to breeak nodes for text type of variables Change 2034255 by Maciej Mroz: EDITOR: UDS: Changes of default values aren't apllied to make nodes for text type of variables ttp#330620 Change 2037682 by Maciej Mroz: ttp331309 BLOCKER: PRETEST: CRASH: EDITOR: Crash occurs when performing Diff Against Depot on any Blueprint Change 2033142 by Maciej Mroz: CreateDelegate Node uses internally FMemberReference. Refactor. Change 2032329 by Maciej Mroz: ttp330608 CRASH: PRETEST: EDITOR: UDS: Crash when trying to use struct named 'Color' in blueprint Change 2032420 by Maciej Mroz: ttp330620 PRETEST: EDITOR: UDS: Changes of default values aren't apllied to make nodes for text type of variables Change 2033139 by Maciej Mroz: Functions generated from CustomEvents can be also identified by GUID Change 2026631 by Maciej Mroz: BP. UDStruct: Invalid structs are handled better. Change 2025344 by Maciej Mroz: UDStruct enabled by default Change 2026672 by Maciej Mroz: EDITOR: BP: Can't easily remove 'pass-by-reference' pins on ReturnNodes Change 2026411 by Maciej Mroz: ExposeOnSpawn updated, it supports UDStructs, custom native Structs, and it throws compiler error. Change 2025342 by Maciej Mroz: GenerateBlueprintSkeleton moved from BLueprint::Serialize to RegenerateBlueprintClass, because SkeletonClass compilation requires all external dependencies to be loaded and linked. Change 2025570 by Steve Robb: Moved dependency processing to its own function. Change 2033235 by Steve Robb: String improvements Change 2035830 by Steve Robb: Workaround for FriendsAndChat crash in Fortnite. Change 2035115 by Steve Robb: UBT build time regression fixes. Change 2034162 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere Change 2034181 by Steve Robb: Removal of any references to .generated.inl Change 2020165 by Steve Robb: BuildPublicAndPrivateUObjectHeaders factored out into its own function. Change 2020187 by Steve Robb: CreateModuleCompileEnvironment function factored out. Change 2020055 by Steve Robb: Refactoring of Unity.cs to remove complex and duplicate iteration. Change 2020083 by Steve Robb: Another use of dictionary utilities. Change 2031049 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere Change 2025728 by Steve Robb: Refactored the application of a shared PCH file to multiple file into a single ApplySharedPCH function. Change 2020068 by Steve Robb: A couple of helpful utility functions for populating dictionaries. Change 2032307 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere [CL 2054495 by Robert Manuszewski in Main branch]
2014-04-23 20:18:55 -04:00
AllUnityFiles = CPPUnityFileBuilder.GetUnityFiles();
}
Merging UE4-Pretest @ 2042161 to UE4 Change 1996384 by Andrew Brown: 322252 - EDITOR: Asset picker displays incorrect text when there are no filter results. Change 1996385 by Andrew Brown: 321858 - CRASH: Assertion failed: (Index >= 0) Function: STransformViewportToolBar::GetLocationGridLabel() STextBlock::CacheDesiredSize() Change 1996977 by Andrew Brown: 309685 - UE4: Adding an event/renaming an event on an event track in Matinee does not update the MatineeActor node in blueprint Change 2034873 by Jaroslaw Palczynski: More robust VS installation detection. Change 2039693 by Jaroslaw Palczynski: 327268 - RocketGDC: POSTLAUNCH: DEV: Make engine more robust against bad Visual Studio environment variables Change 1978978 by Jaroslaw Surowiec: - Removed obsolete AllowEliminatingReferences from the FArchive Change 2020326 by Maciej Mroz: pretest BP K2Node: RemovePinsFromOldPins function moved from K2Node to RemovePinsFromOldPins Change 2017608 by Maciej Mroz: pretest Some changes in SFortMissionEventSelector caused by FPinTypeTreeInfo Change 2017463 by Maciej Mroz: PinTypeSelector can lins unloaded UDStructs Change 2019979 by Maciej Mroz: pretest BP: Crash when performing Diff against Depot with blueprints containing Format Text nodes Change 2024469 by Maciej Mroz: MemberReference variable added to PinType. It's necessary for delegate's signature. Change 2024049 by Maciej Mroz: HasExternalBlueprintDependencies added to UK2Node_DynamicCast Change 2024586 by Maciej Mroz: FillSimpleMemberReference fix Change 2024472 by Maciej Mroz: workaround for delegates signature in pintype removed. Change 2023997 by Maciej Mroz: BP, UDStruc: Class UserDefinedStructEditorData added. It fixes many problems with undo/redo. Change 2021934 by Maciej Mroz: typo in a comment Change 2020355 by Maciej Mroz: Back out changelist 2020342 Change 2022178 by Maciej Mroz: CRASH: PRETEST: EDITOR: UDS: Crash when undo then redo new variable in struct that is used by blueprint Change 2021958 by Maciej Mroz: CRASH: PRETEST: EDITOR: UDS: Crash using variable of a type of copied struct in blueprint Change 1986247 by Maciej Mroz: User Defined Structures: circle dependency fixed. Early version. Change 1985107 by Maciej Mroz: UserDefinedStruct cannot have a field of a non-native type Change 1986278 by Maciej Mroz: pretest ensureMsgf in Struct::link Change 1986250 by Maciej Mroz: User Defined Struct: Non native classes are accepted types od values in structures. Change 1980955 by Maciej Mroz: Using AssetPtr and LazyPtr as UFunction parameter (intput or return) is explicitly disallowed. Change 2041215 by Maciej Mroz: ttp331249 BLOCKER: PRETEST: UI: Survive the Storm is missing the Mission HUD. Change 1984316 by Maciej Mroz: New User Defined Structure. WIP - there are still problems with circular dependencies. Change 2011616 by Maciej Mroz: UserDefinedStructures - various problems fixed. Change 2011609 by Maciej Mroz: more robust HasExternalBlueprintDependencies implementation Change 2016697 by Maciej Mroz: pretest BP: UDStruct - default value propagation in cooked build Change 2016288 by Maciej Mroz: pretest BP: UDStruct: Renaming variables wont break links from make/break nodes Change 1987637 by Maciej Mroz: CustomStruct icons placeholders Change 1987422 by Maciej Mroz: Better tooltips for variables in MyBlueprint Change 1991387 by Maciej Mroz: UDStructures fixes: Change 2029165 by Maciej Mroz: BP: better comment for incomatible pins Change 2030016 by Maciej Mroz: 8PRETEST: EDITOR: UDS: Defaults values aren't updated in struct type variables in blueprints Change 2030017 by Maciej Mroz: Unused UDStructure code removed (PPF_UseDefaultsForUDStructures) Change 2028856 by Maciej Mroz: BP: Pins with PC_Struct type are compatible only with exactly the same structure. (No derived structures are not handled as compatible). Change 2026701 by Maciej Mroz: k2: odd error on an add item node within a function (see attached image in details) Change 2028160 by Maciej Mroz: PRETEST: EDITOR: UDS: When deleting structures just after creating there is always some references in the memory Change 2028165 by Maciej Mroz: BP: BreakHitResult function has proper icon. Change 2033340 by Maciej Mroz: ttp330786 PRETEST: EDITOR: UDS: Changes of default values aren't apllied to breeak nodes for text type of variables Change 2034255 by Maciej Mroz: EDITOR: UDS: Changes of default values aren't apllied to make nodes for text type of variables ttp#330620 Change 2037682 by Maciej Mroz: ttp331309 BLOCKER: PRETEST: CRASH: EDITOR: Crash occurs when performing Diff Against Depot on any Blueprint Change 2033142 by Maciej Mroz: CreateDelegate Node uses internally FMemberReference. Refactor. Change 2032329 by Maciej Mroz: ttp330608 CRASH: PRETEST: EDITOR: UDS: Crash when trying to use struct named 'Color' in blueprint Change 2032420 by Maciej Mroz: ttp330620 PRETEST: EDITOR: UDS: Changes of default values aren't apllied to make nodes for text type of variables Change 2033139 by Maciej Mroz: Functions generated from CustomEvents can be also identified by GUID Change 2026631 by Maciej Mroz: BP. UDStruct: Invalid structs are handled better. Change 2025344 by Maciej Mroz: UDStruct enabled by default Change 2026672 by Maciej Mroz: EDITOR: BP: Can't easily remove 'pass-by-reference' pins on ReturnNodes Change 2026411 by Maciej Mroz: ExposeOnSpawn updated, it supports UDStructs, custom native Structs, and it throws compiler error. Change 2025342 by Maciej Mroz: GenerateBlueprintSkeleton moved from BLueprint::Serialize to RegenerateBlueprintClass, because SkeletonClass compilation requires all external dependencies to be loaded and linked. Change 2025570 by Steve Robb: Moved dependency processing to its own function. Change 2033235 by Steve Robb: String improvements Change 2035830 by Steve Robb: Workaround for FriendsAndChat crash in Fortnite. Change 2035115 by Steve Robb: UBT build time regression fixes. Change 2034162 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere Change 2034181 by Steve Robb: Removal of any references to .generated.inl Change 2020165 by Steve Robb: BuildPublicAndPrivateUObjectHeaders factored out into its own function. Change 2020187 by Steve Robb: CreateModuleCompileEnvironment function factored out. Change 2020055 by Steve Robb: Refactoring of Unity.cs to remove complex and duplicate iteration. Change 2020083 by Steve Robb: Another use of dictionary utilities. Change 2031049 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere Change 2025728 by Steve Robb: Refactored the application of a shared PCH file to multiple file into a single ApplySharedPCH function. Change 2020068 by Steve Robb: A couple of helpful utility functions for populating dictionaries. Change 2032307 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere [CL 2054495 by Robert Manuszewski in Main branch]
2014-04-23 20:18:55 -04:00
// Create a set of CPP files that combine smaller CPP files into larger compilation units, along with the corresponding
// actions to compile them.
int CurrentUnityFileCount = 0;
Copying //UE4/Dev-Build to //UE4/Main ========================== MAJOR FEATURES + CHANGES ========================== Change 2864843 on 2016/02/12 by Ben.Marsh Add individual 'status', 'outcome', and 'error_code' fields to parsed jobsteps. Should fix grid view not being able to display 'pending' icons. Change 2865161 on 2016/02/12 by Ben.Marsh Stop storing a reference to UEBuildTarget from UEBuildModule. It creates an awkward cyclic data dependency, and makes it easy for people to write lazy code that just reaches into the internal state of the build. Change 2865643 on 2016/02/12 by Ben.Marsh Rename UEBuildModuleType to UHTModuleType, and move implementation into ExternalExecution. Change 2874408 on 2016/02/19 by Ben.Marsh Automatically sort nodes in the dashboard grid view by a weight derived from the node's order in the build graph, summed across all the jobs in which it was present. Change 2879572 on 2016/02/24 by Ben.Marsh Allow spoofing a Git merge from a given commit, using a changelist description containing the tag "git merge <branch> <changelist>", where <branch> is the name of a branch on Git (eg. master, 4.11, etc..), and <changelist> is the changelist being merged in. Change 2883216 on 2016/02/26 by Ben.Marsh Prevent Jira tickets being incorrectly updated with 'Main CL' fields which are after the 'Fix CL' fields. Change 2883755 on 2016/02/26 by Ben.Marsh Fix solution files having a Shipping configuration, even when -NoShippingConfigs is passed on the command line. Change 2886223 on 2016/02/29 by Ben.Marsh Ignore SignTool errors - we can recover from them. Change 2887414 on 2016/03/01 by Ben.Marsh Dump all the *.crash files produced while running commandlets, to make it easier to diagnose build system crashes cooking on Mac. Change 2888235 on 2016/03/01 by Ben.Marsh Add overloads for methods in FileFilter which take FileReference and DirectoryReference objects. Change 2889602 on 2016/03/02 by Ben.Marsh Treat shaders as code in UGS. Don't sync them as part of content-only syncs, and don't allow syncing past them without updated binaries. Change 2889610 on 2016/03/02 by Ben.Marsh Fix setting for using incremental builds not being saved. Also hide command to do incremental builds if the 'use incremental builds' option is not checked. Change 2891866 on 2016/03/03 by Matthew.Griffin Removed Rocket specific batch files and made sure installed build won't try to include them Removed last use of RocketGenerateProjectFiles.sh by using UBT directly instead Change 2893349 on 2016/03/03 by Ben.Marsh Add derived ReplicatedBranch to support mirroring the VR editor branch to GitHub. Change 2894703 on 2016/03/04 by Ben.Marsh Include *.usf when looking for the last code changelist. Also update version to 1.68. Change 2897991 on 2016/03/07 by Ben.Marsh Copy the changelist number to the clipboard when the user presses Ctrl-C. Update version number to 1.69. Change 2898005 on 2016/03/07 by Ben.Marsh Minor changes to support BuildGraph: * UE4Build now has a static function that can update version files. * Adding FileReference/DirectoryReference methods to FileFilter and CommandUtils. * FileFilter treats any pattern containing a slash as implictly starting from the root directory, unless it begins with "...". Change 2898095 on 2016/03/07 by Ben.Marsh UAT - Don't retry builds if we're using local executor; we don't encounter failures due to timeouts. Change 2898248 on 2016/03/07 by Ben.Marsh UBT - Add the standard game include paths back in to plugin modules. Existing game code relies on this. Change 2898615 on 2016/03/08 by Matthew.Griffin Removed last uses of RunningRocket function All seemed to be overly cautious about people using an Installed build to do non standard things, don't see any ill effects in the most common circumstances. Change 2898681 on 2016/03/08 by Matthew.Griffin Removed Automation.RunningRocket function as there are no more uses Changed the majority of comments referencing Rocket mode that are now either about the engine being installed or from the Launcher etc. #lockdown Nick.Penwarden [CL 2898813 by Matthew Griffin in Main branch]
2016-03-08 09:00:48 -05:00
foreach (FileCollection UnityFile in AllUnityFiles)
{
Merging UE4-Pretest @ 2042161 to UE4 Change 1996384 by Andrew Brown: 322252 - EDITOR: Asset picker displays incorrect text when there are no filter results. Change 1996385 by Andrew Brown: 321858 - CRASH: Assertion failed: (Index >= 0) Function: STransformViewportToolBar::GetLocationGridLabel() STextBlock::CacheDesiredSize() Change 1996977 by Andrew Brown: 309685 - UE4: Adding an event/renaming an event on an event track in Matinee does not update the MatineeActor node in blueprint Change 2034873 by Jaroslaw Palczynski: More robust VS installation detection. Change 2039693 by Jaroslaw Palczynski: 327268 - RocketGDC: POSTLAUNCH: DEV: Make engine more robust against bad Visual Studio environment variables Change 1978978 by Jaroslaw Surowiec: - Removed obsolete AllowEliminatingReferences from the FArchive Change 2020326 by Maciej Mroz: pretest BP K2Node: RemovePinsFromOldPins function moved from K2Node to RemovePinsFromOldPins Change 2017608 by Maciej Mroz: pretest Some changes in SFortMissionEventSelector caused by FPinTypeTreeInfo Change 2017463 by Maciej Mroz: PinTypeSelector can lins unloaded UDStructs Change 2019979 by Maciej Mroz: pretest BP: Crash when performing Diff against Depot with blueprints containing Format Text nodes Change 2024469 by Maciej Mroz: MemberReference variable added to PinType. It's necessary for delegate's signature. Change 2024049 by Maciej Mroz: HasExternalBlueprintDependencies added to UK2Node_DynamicCast Change 2024586 by Maciej Mroz: FillSimpleMemberReference fix Change 2024472 by Maciej Mroz: workaround for delegates signature in pintype removed. Change 2023997 by Maciej Mroz: BP, UDStruc: Class UserDefinedStructEditorData added. It fixes many problems with undo/redo. Change 2021934 by Maciej Mroz: typo in a comment Change 2020355 by Maciej Mroz: Back out changelist 2020342 Change 2022178 by Maciej Mroz: CRASH: PRETEST: EDITOR: UDS: Crash when undo then redo new variable in struct that is used by blueprint Change 2021958 by Maciej Mroz: CRASH: PRETEST: EDITOR: UDS: Crash using variable of a type of copied struct in blueprint Change 1986247 by Maciej Mroz: User Defined Structures: circle dependency fixed. Early version. Change 1985107 by Maciej Mroz: UserDefinedStruct cannot have a field of a non-native type Change 1986278 by Maciej Mroz: pretest ensureMsgf in Struct::link Change 1986250 by Maciej Mroz: User Defined Struct: Non native classes are accepted types od values in structures. Change 1980955 by Maciej Mroz: Using AssetPtr and LazyPtr as UFunction parameter (intput or return) is explicitly disallowed. Change 2041215 by Maciej Mroz: ttp331249 BLOCKER: PRETEST: UI: Survive the Storm is missing the Mission HUD. Change 1984316 by Maciej Mroz: New User Defined Structure. WIP - there are still problems with circular dependencies. Change 2011616 by Maciej Mroz: UserDefinedStructures - various problems fixed. Change 2011609 by Maciej Mroz: more robust HasExternalBlueprintDependencies implementation Change 2016697 by Maciej Mroz: pretest BP: UDStruct - default value propagation in cooked build Change 2016288 by Maciej Mroz: pretest BP: UDStruct: Renaming variables wont break links from make/break nodes Change 1987637 by Maciej Mroz: CustomStruct icons placeholders Change 1987422 by Maciej Mroz: Better tooltips for variables in MyBlueprint Change 1991387 by Maciej Mroz: UDStructures fixes: Change 2029165 by Maciej Mroz: BP: better comment for incomatible pins Change 2030016 by Maciej Mroz: 8PRETEST: EDITOR: UDS: Defaults values aren't updated in struct type variables in blueprints Change 2030017 by Maciej Mroz: Unused UDStructure code removed (PPF_UseDefaultsForUDStructures) Change 2028856 by Maciej Mroz: BP: Pins with PC_Struct type are compatible only with exactly the same structure. (No derived structures are not handled as compatible). Change 2026701 by Maciej Mroz: k2: odd error on an add item node within a function (see attached image in details) Change 2028160 by Maciej Mroz: PRETEST: EDITOR: UDS: When deleting structures just after creating there is always some references in the memory Change 2028165 by Maciej Mroz: BP: BreakHitResult function has proper icon. Change 2033340 by Maciej Mroz: ttp330786 PRETEST: EDITOR: UDS: Changes of default values aren't apllied to breeak nodes for text type of variables Change 2034255 by Maciej Mroz: EDITOR: UDS: Changes of default values aren't apllied to make nodes for text type of variables ttp#330620 Change 2037682 by Maciej Mroz: ttp331309 BLOCKER: PRETEST: CRASH: EDITOR: Crash occurs when performing Diff Against Depot on any Blueprint Change 2033142 by Maciej Mroz: CreateDelegate Node uses internally FMemberReference. Refactor. Change 2032329 by Maciej Mroz: ttp330608 CRASH: PRETEST: EDITOR: UDS: Crash when trying to use struct named 'Color' in blueprint Change 2032420 by Maciej Mroz: ttp330620 PRETEST: EDITOR: UDS: Changes of default values aren't apllied to make nodes for text type of variables Change 2033139 by Maciej Mroz: Functions generated from CustomEvents can be also identified by GUID Change 2026631 by Maciej Mroz: BP. UDStruct: Invalid structs are handled better. Change 2025344 by Maciej Mroz: UDStruct enabled by default Change 2026672 by Maciej Mroz: EDITOR: BP: Can't easily remove 'pass-by-reference' pins on ReturnNodes Change 2026411 by Maciej Mroz: ExposeOnSpawn updated, it supports UDStructs, custom native Structs, and it throws compiler error. Change 2025342 by Maciej Mroz: GenerateBlueprintSkeleton moved from BLueprint::Serialize to RegenerateBlueprintClass, because SkeletonClass compilation requires all external dependencies to be loaded and linked. Change 2025570 by Steve Robb: Moved dependency processing to its own function. Change 2033235 by Steve Robb: String improvements Change 2035830 by Steve Robb: Workaround for FriendsAndChat crash in Fortnite. Change 2035115 by Steve Robb: UBT build time regression fixes. Change 2034162 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere Change 2034181 by Steve Robb: Removal of any references to .generated.inl Change 2020165 by Steve Robb: BuildPublicAndPrivateUObjectHeaders factored out into its own function. Change 2020187 by Steve Robb: CreateModuleCompileEnvironment function factored out. Change 2020055 by Steve Robb: Refactoring of Unity.cs to remove complex and duplicate iteration. Change 2020083 by Steve Robb: Another use of dictionary utilities. Change 2031049 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere Change 2025728 by Steve Robb: Refactored the application of a shared PCH file to multiple file into a single ApplySharedPCH function. Change 2020068 by Steve Robb: A couple of helpful utility functions for populating dictionaries. Change 2032307 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere [CL 2054495 by Robert Manuszewski in Main branch]
2014-04-23 20:18:55 -04:00
++CurrentUnityFileCount;
StringWriter OutputUnityCPPWriter = new StringWriter();
OutputUnityCPPWriter.WriteLine("// This file is automatically generated at compile-time to include some subset of the user-created cpp files.");
Merging UE4-Pretest @ 2042161 to UE4 Change 1996384 by Andrew Brown: 322252 - EDITOR: Asset picker displays incorrect text when there are no filter results. Change 1996385 by Andrew Brown: 321858 - CRASH: Assertion failed: (Index >= 0) Function: STransformViewportToolBar::GetLocationGridLabel() STextBlock::CacheDesiredSize() Change 1996977 by Andrew Brown: 309685 - UE4: Adding an event/renaming an event on an event track in Matinee does not update the MatineeActor node in blueprint Change 2034873 by Jaroslaw Palczynski: More robust VS installation detection. Change 2039693 by Jaroslaw Palczynski: 327268 - RocketGDC: POSTLAUNCH: DEV: Make engine more robust against bad Visual Studio environment variables Change 1978978 by Jaroslaw Surowiec: - Removed obsolete AllowEliminatingReferences from the FArchive Change 2020326 by Maciej Mroz: pretest BP K2Node: RemovePinsFromOldPins function moved from K2Node to RemovePinsFromOldPins Change 2017608 by Maciej Mroz: pretest Some changes in SFortMissionEventSelector caused by FPinTypeTreeInfo Change 2017463 by Maciej Mroz: PinTypeSelector can lins unloaded UDStructs Change 2019979 by Maciej Mroz: pretest BP: Crash when performing Diff against Depot with blueprints containing Format Text nodes Change 2024469 by Maciej Mroz: MemberReference variable added to PinType. It's necessary for delegate's signature. Change 2024049 by Maciej Mroz: HasExternalBlueprintDependencies added to UK2Node_DynamicCast Change 2024586 by Maciej Mroz: FillSimpleMemberReference fix Change 2024472 by Maciej Mroz: workaround for delegates signature in pintype removed. Change 2023997 by Maciej Mroz: BP, UDStruc: Class UserDefinedStructEditorData added. It fixes many problems with undo/redo. Change 2021934 by Maciej Mroz: typo in a comment Change 2020355 by Maciej Mroz: Back out changelist 2020342 Change 2022178 by Maciej Mroz: CRASH: PRETEST: EDITOR: UDS: Crash when undo then redo new variable in struct that is used by blueprint Change 2021958 by Maciej Mroz: CRASH: PRETEST: EDITOR: UDS: Crash using variable of a type of copied struct in blueprint Change 1986247 by Maciej Mroz: User Defined Structures: circle dependency fixed. Early version. Change 1985107 by Maciej Mroz: UserDefinedStruct cannot have a field of a non-native type Change 1986278 by Maciej Mroz: pretest ensureMsgf in Struct::link Change 1986250 by Maciej Mroz: User Defined Struct: Non native classes are accepted types od values in structures. Change 1980955 by Maciej Mroz: Using AssetPtr and LazyPtr as UFunction parameter (intput or return) is explicitly disallowed. Change 2041215 by Maciej Mroz: ttp331249 BLOCKER: PRETEST: UI: Survive the Storm is missing the Mission HUD. Change 1984316 by Maciej Mroz: New User Defined Structure. WIP - there are still problems with circular dependencies. Change 2011616 by Maciej Mroz: UserDefinedStructures - various problems fixed. Change 2011609 by Maciej Mroz: more robust HasExternalBlueprintDependencies implementation Change 2016697 by Maciej Mroz: pretest BP: UDStruct - default value propagation in cooked build Change 2016288 by Maciej Mroz: pretest BP: UDStruct: Renaming variables wont break links from make/break nodes Change 1987637 by Maciej Mroz: CustomStruct icons placeholders Change 1987422 by Maciej Mroz: Better tooltips for variables in MyBlueprint Change 1991387 by Maciej Mroz: UDStructures fixes: Change 2029165 by Maciej Mroz: BP: better comment for incomatible pins Change 2030016 by Maciej Mroz: 8PRETEST: EDITOR: UDS: Defaults values aren't updated in struct type variables in blueprints Change 2030017 by Maciej Mroz: Unused UDStructure code removed (PPF_UseDefaultsForUDStructures) Change 2028856 by Maciej Mroz: BP: Pins with PC_Struct type are compatible only with exactly the same structure. (No derived structures are not handled as compatible). Change 2026701 by Maciej Mroz: k2: odd error on an add item node within a function (see attached image in details) Change 2028160 by Maciej Mroz: PRETEST: EDITOR: UDS: When deleting structures just after creating there is always some references in the memory Change 2028165 by Maciej Mroz: BP: BreakHitResult function has proper icon. Change 2033340 by Maciej Mroz: ttp330786 PRETEST: EDITOR: UDS: Changes of default values aren't apllied to breeak nodes for text type of variables Change 2034255 by Maciej Mroz: EDITOR: UDS: Changes of default values aren't apllied to make nodes for text type of variables ttp#330620 Change 2037682 by Maciej Mroz: ttp331309 BLOCKER: PRETEST: CRASH: EDITOR: Crash occurs when performing Diff Against Depot on any Blueprint Change 2033142 by Maciej Mroz: CreateDelegate Node uses internally FMemberReference. Refactor. Change 2032329 by Maciej Mroz: ttp330608 CRASH: PRETEST: EDITOR: UDS: Crash when trying to use struct named 'Color' in blueprint Change 2032420 by Maciej Mroz: ttp330620 PRETEST: EDITOR: UDS: Changes of default values aren't apllied to make nodes for text type of variables Change 2033139 by Maciej Mroz: Functions generated from CustomEvents can be also identified by GUID Change 2026631 by Maciej Mroz: BP. UDStruct: Invalid structs are handled better. Change 2025344 by Maciej Mroz: UDStruct enabled by default Change 2026672 by Maciej Mroz: EDITOR: BP: Can't easily remove 'pass-by-reference' pins on ReturnNodes Change 2026411 by Maciej Mroz: ExposeOnSpawn updated, it supports UDStructs, custom native Structs, and it throws compiler error. Change 2025342 by Maciej Mroz: GenerateBlueprintSkeleton moved from BLueprint::Serialize to RegenerateBlueprintClass, because SkeletonClass compilation requires all external dependencies to be loaded and linked. Change 2025570 by Steve Robb: Moved dependency processing to its own function. Change 2033235 by Steve Robb: String improvements Change 2035830 by Steve Robb: Workaround for FriendsAndChat crash in Fortnite. Change 2035115 by Steve Robb: UBT build time regression fixes. Change 2034162 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere Change 2034181 by Steve Robb: Removal of any references to .generated.inl Change 2020165 by Steve Robb: BuildPublicAndPrivateUObjectHeaders factored out into its own function. Change 2020187 by Steve Robb: CreateModuleCompileEnvironment function factored out. Change 2020055 by Steve Robb: Refactoring of Unity.cs to remove complex and duplicate iteration. Change 2020083 by Steve Robb: Another use of dictionary utilities. Change 2031049 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere Change 2025728 by Steve Robb: Refactored the application of a shared PCH file to multiple file into a single ApplySharedPCH function. Change 2020068 by Steve Robb: A couple of helpful utility functions for populating dictionaries. Change 2032307 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere [CL 2054495 by Robert Manuszewski in Main branch]
2014-04-23 20:18:55 -04:00
// Determine unity file path name
string UnityCPPFileName;
Merging UE4-Pretest @ 2042161 to UE4 Change 1996384 by Andrew Brown: 322252 - EDITOR: Asset picker displays incorrect text when there are no filter results. Change 1996385 by Andrew Brown: 321858 - CRASH: Assertion failed: (Index >= 0) Function: STransformViewportToolBar::GetLocationGridLabel() STextBlock::CacheDesiredSize() Change 1996977 by Andrew Brown: 309685 - UE4: Adding an event/renaming an event on an event track in Matinee does not update the MatineeActor node in blueprint Change 2034873 by Jaroslaw Palczynski: More robust VS installation detection. Change 2039693 by Jaroslaw Palczynski: 327268 - RocketGDC: POSTLAUNCH: DEV: Make engine more robust against bad Visual Studio environment variables Change 1978978 by Jaroslaw Surowiec: - Removed obsolete AllowEliminatingReferences from the FArchive Change 2020326 by Maciej Mroz: pretest BP K2Node: RemovePinsFromOldPins function moved from K2Node to RemovePinsFromOldPins Change 2017608 by Maciej Mroz: pretest Some changes in SFortMissionEventSelector caused by FPinTypeTreeInfo Change 2017463 by Maciej Mroz: PinTypeSelector can lins unloaded UDStructs Change 2019979 by Maciej Mroz: pretest BP: Crash when performing Diff against Depot with blueprints containing Format Text nodes Change 2024469 by Maciej Mroz: MemberReference variable added to PinType. It's necessary for delegate's signature. Change 2024049 by Maciej Mroz: HasExternalBlueprintDependencies added to UK2Node_DynamicCast Change 2024586 by Maciej Mroz: FillSimpleMemberReference fix Change 2024472 by Maciej Mroz: workaround for delegates signature in pintype removed. Change 2023997 by Maciej Mroz: BP, UDStruc: Class UserDefinedStructEditorData added. It fixes many problems with undo/redo. Change 2021934 by Maciej Mroz: typo in a comment Change 2020355 by Maciej Mroz: Back out changelist 2020342 Change 2022178 by Maciej Mroz: CRASH: PRETEST: EDITOR: UDS: Crash when undo then redo new variable in struct that is used by blueprint Change 2021958 by Maciej Mroz: CRASH: PRETEST: EDITOR: UDS: Crash using variable of a type of copied struct in blueprint Change 1986247 by Maciej Mroz: User Defined Structures: circle dependency fixed. Early version. Change 1985107 by Maciej Mroz: UserDefinedStruct cannot have a field of a non-native type Change 1986278 by Maciej Mroz: pretest ensureMsgf in Struct::link Change 1986250 by Maciej Mroz: User Defined Struct: Non native classes are accepted types od values in structures. Change 1980955 by Maciej Mroz: Using AssetPtr and LazyPtr as UFunction parameter (intput or return) is explicitly disallowed. Change 2041215 by Maciej Mroz: ttp331249 BLOCKER: PRETEST: UI: Survive the Storm is missing the Mission HUD. Change 1984316 by Maciej Mroz: New User Defined Structure. WIP - there are still problems with circular dependencies. Change 2011616 by Maciej Mroz: UserDefinedStructures - various problems fixed. Change 2011609 by Maciej Mroz: more robust HasExternalBlueprintDependencies implementation Change 2016697 by Maciej Mroz: pretest BP: UDStruct - default value propagation in cooked build Change 2016288 by Maciej Mroz: pretest BP: UDStruct: Renaming variables wont break links from make/break nodes Change 1987637 by Maciej Mroz: CustomStruct icons placeholders Change 1987422 by Maciej Mroz: Better tooltips for variables in MyBlueprint Change 1991387 by Maciej Mroz: UDStructures fixes: Change 2029165 by Maciej Mroz: BP: better comment for incomatible pins Change 2030016 by Maciej Mroz: 8PRETEST: EDITOR: UDS: Defaults values aren't updated in struct type variables in blueprints Change 2030017 by Maciej Mroz: Unused UDStructure code removed (PPF_UseDefaultsForUDStructures) Change 2028856 by Maciej Mroz: BP: Pins with PC_Struct type are compatible only with exactly the same structure. (No derived structures are not handled as compatible). Change 2026701 by Maciej Mroz: k2: odd error on an add item node within a function (see attached image in details) Change 2028160 by Maciej Mroz: PRETEST: EDITOR: UDS: When deleting structures just after creating there is always some references in the memory Change 2028165 by Maciej Mroz: BP: BreakHitResult function has proper icon. Change 2033340 by Maciej Mroz: ttp330786 PRETEST: EDITOR: UDS: Changes of default values aren't apllied to breeak nodes for text type of variables Change 2034255 by Maciej Mroz: EDITOR: UDS: Changes of default values aren't apllied to make nodes for text type of variables ttp#330620 Change 2037682 by Maciej Mroz: ttp331309 BLOCKER: PRETEST: CRASH: EDITOR: Crash occurs when performing Diff Against Depot on any Blueprint Change 2033142 by Maciej Mroz: CreateDelegate Node uses internally FMemberReference. Refactor. Change 2032329 by Maciej Mroz: ttp330608 CRASH: PRETEST: EDITOR: UDS: Crash when trying to use struct named 'Color' in blueprint Change 2032420 by Maciej Mroz: ttp330620 PRETEST: EDITOR: UDS: Changes of default values aren't apllied to make nodes for text type of variables Change 2033139 by Maciej Mroz: Functions generated from CustomEvents can be also identified by GUID Change 2026631 by Maciej Mroz: BP. UDStruct: Invalid structs are handled better. Change 2025344 by Maciej Mroz: UDStruct enabled by default Change 2026672 by Maciej Mroz: EDITOR: BP: Can't easily remove 'pass-by-reference' pins on ReturnNodes Change 2026411 by Maciej Mroz: ExposeOnSpawn updated, it supports UDStructs, custom native Structs, and it throws compiler error. Change 2025342 by Maciej Mroz: GenerateBlueprintSkeleton moved from BLueprint::Serialize to RegenerateBlueprintClass, because SkeletonClass compilation requires all external dependencies to be loaded and linked. Change 2025570 by Steve Robb: Moved dependency processing to its own function. Change 2033235 by Steve Robb: String improvements Change 2035830 by Steve Robb: Workaround for FriendsAndChat crash in Fortnite. Change 2035115 by Steve Robb: UBT build time regression fixes. Change 2034162 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere Change 2034181 by Steve Robb: Removal of any references to .generated.inl Change 2020165 by Steve Robb: BuildPublicAndPrivateUObjectHeaders factored out into its own function. Change 2020187 by Steve Robb: CreateModuleCompileEnvironment function factored out. Change 2020055 by Steve Robb: Refactoring of Unity.cs to remove complex and duplicate iteration. Change 2020083 by Steve Robb: Another use of dictionary utilities. Change 2031049 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere Change 2025728 by Steve Robb: Refactored the application of a shared PCH file to multiple file into a single ApplySharedPCH function. Change 2020068 by Steve Robb: A couple of helpful utility functions for populating dictionaries. Change 2032307 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere [CL 2054495 by Robert Manuszewski in Main branch]
2014-04-23 20:18:55 -04:00
if (AllUnityFiles.Count > 1)
{
Copying //UE4/Orion-Staging to //UE4/Main (Source: //Orion/Dev-General @ 3196521) #lockdown Nick.Penwarden Change 3196499 on 2016/11/14 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 34.3 @ CL 3196473 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3196498 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3195674 on 2016/11/11 by Laurent.Delayen Fix for twinblast ult mesh not disappearing at lower lods. (curves not getting properly update with URO) Fixes https://jira.it.epicgames.net/browse/OR-31509 #rb lina.halper #tests twinblast ult multiPIE Change 3195245 on 2016/11/11 by Dan.Hertzka Card crafting progress - Device responds to UI actions appropriately and infinitely - Backing out of device screen goes to card details first (i.e. doesn't take you all the way out of the screen) - CraftingDevice and CraftingDeviceNode now have a few natively-controlled timelines for reversible states - Non-reversible timelines all now play from start (so they work more than once) Engine-side: - Added an overload to UTimelineComponent::SetOnTimelineFinishedFunc() that takes a native (non-dynamic) delegate - Added a way to set the owning player of a UUserWidget via a local PlayerController (since ULocalPlayer isn't a BP type) - used to establish the owner of a WidgetComponent's widget #rb none #tests PIE crafting Change 3194616 on 2016/11/11 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 34.3 @ CL 3194604 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3194615 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3193875 on 2016/11/10 by Andrew.Grant Removed GameThreadWaitForTask fatal timeout if running in editor (assumption is that some operations can cause significant blocks, and that's ok.. #jira UE-38496 #tests compiled #rb none #c0dereview Marcus.Wassmer Change 3193368 on 2016/11/10 by Mieszko.Zielinski Fixed a bug in UCharacterMovementComponent::OnMovementModeChanged making UPathFollowingComponent::OnStartedFalling being sent too late #UE4 #rb Lukasz.Furman #test golden path Change 3193280 on 2016/11/10 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 34.2 @ CL 3193232 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3193279 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3192376 on 2016/11/09 by Laurent.Delayen RootMotion Sources: removed second check, as that was a perfectly valid case. Fixes https://jira.it.epicgames.net/browse/OR-31490 #rb none #tests riftmage blackhold multiPIE Change 3192243 on 2016/11/09 by Laurent.Delayen UAbilityTask_ApplyRootMotionMoveToActorForce replicates TimeMappingCurve to potentially fix https://jira.it.epicgames.net/browse/OR-31266 #rb none #tests Jump pads on Sovereign2 multiPIE Change 3191985 on 2016/11/09 by Laurent.Delayen Additional debug info for https://jira.it.epicgames.net/browse/OR-31300 #rb none #tests compiles Change 3191565 on 2016/11/09 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 34.2 @ CL 3191371 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3191564 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3190702 on 2016/11/08 by David.Ratti Fix PIE autologgin mcp problem #rb JoshM #tests PIE autologgin Change 3190591 on 2016/11/08 by Mieszko.Zielinski Added a way to RecastNavMesh to retrieve navigation links in a given tile #UE4 #rb Lukasz.Furman #test golden path Change 3190363 on 2016/11/08 by Frank.Gigliotti Root motion velocity clamping and bug fixes; * Added option to clamp velocity when ending MoveToActorForce, MoveToForce, and RadialForce root motions. * Disabled partial ticking on the FRootMotionSource_ConstantForce when applying the finishing velocity or clamping velocity on root motion ability tasks. This ensures the desired velocity is set correctly. * Added AbilityTask_ApplyRootMotion_Base as a base class for all root motion ability tasks. #RB David.Ratti, Zak.Middleton #c0dereview Zak.Middleton #Tests PIE - Multiple heroes with root motion abilities Change 3190344 on 2016/11/08 by Laurent.Delayen RootMotionSources: Tracking down https://jira.it.epicgames.net/browse/OR-31266 Testing for 'Matches' rule in more places, to track down where it breaks. Added more info. Switched check to ensure, so it doesn't prevent playtests. Minor tweaks: - Test for ID before TimeStamp - Changed auto to proper type. - Trim RootMotionIDMappings of outdated mappings since we can iterate over that array quite a bit. #rb none #tests multiPIE Change 3190217 on 2016/11/08 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 34.2 @ CL 3190009 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3190216 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3188560 on 2016/11/07 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 34.2 @ CL 3187796 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3188499 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3188012 on 2016/11/05 by Andrew.Grant Merging using ROBO://Orion/Main->//Orion/Dev-General #rb #tests na Change 3187818 on 2016/11/04 by Michael.Noland Editor: Refactored the game instance PIE creation hooks, allowing them to pass an error message back that will be displayed to the user explaining why PIE was aborted/failed to start - Fixed a potential crash trying to tear down a null world when UGameInstance::StartPlayInEditorGameInstance fails Upgrade notes: - UGameInstance::InitializePIE overrides should now override InitializeForPlayInEditor instead - UGameInstance::StartPIEGameInstance overrides should now override StartPlayInEditorGameInstance instead - These methods return a FGameInstancePIEResult which can be created via FGameInstancePIEResult::Success() or FGameInstancePIEResult::Failure(), and take a parameter struct to make it easier to send additional information in the future without breaking the signature again #rb matt.kuhlenscmidt #tests Tested various PIE configurations in Paragon Change 3187756 on 2016/11/04 by Michael.Noland Editor: Added support for games to respond to Play in Editor setting changes (by properly calling PostEditChange when the PIE/SIE menu options are picked/toggled) #tests Tested in Paragon by binding to FCoreUObjectDelegates::OnObjectPropertyChanged #rb ben.ziegler Change 3187258 on 2016/11/04 by Dan.Hertzka - UTextBlock::SetText is now virtual - OrionTextBlock has a property ("All Caps") that, if true, will always convert all text it's given to ALL CAPS #c0dereview Sean.Smith, Philip.Buuck, Marcel.Swanepoel, Bryan.Rathman #rb none #tests PIE Change 3187157 on 2016/11/04 by Jason.Bestimt #R0B0MERGE-AUTHOR: andrew.grant Case fix for staged files #rb Ben.Marsh #tests preflighted #R0B0MERGE-SOURCE: CL 3187153 in //Orion/Release-34/... via CL 3187154 via CL 3187155 via CL 3187156 #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3186870 on 2016/11/04 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 34.2 @ CL 3186846 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3186855 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3186243 on 2016/11/03 by Michael.Noland Engine: Fixed reporting of ScreenPct when the cvar is set directly rather than via game user settings - Also fixed a place that was using ScreenPct as an integer instead of a float in the OSVR plugin #jira OR-23184 #tests Tested by setting r.screenpercentage directly to a different value and inspecting the chart results #rb ben.ziegler Change 3185134 on 2016/11/03 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 34.2 @ CL 3185065 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3185131 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3183689 on 2016/11/02 by Aaron.McLeran OR-31091 Implementing 3175639 in Dev-General #rb zak.middleton #tests unplug headphones and observe no log spam or other issues Change 3183292 on 2016/11/02 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 34.2 @ CL 3182926 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3183084 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3182323 on 2016/11/01 by Dan.Hertzka Fix crash in sequencer when opening a widget BP with the sequencer tab closed (failed to null check) #c0dereview Nick.Darnell #rb Stephan.Jiang #tests none Change 3182295 on 2016/11/01 by Daniel.Lamb Fixed up routing BeginDestroy. #rb Andrew.Grant #jira OR-31043 #test Paragon win64 -game Change 3181975 on 2016/11/01 by Daniel.Lamb Make sure to remove safe zone delegate when canvas is destroyed. Moved registration of safe zone delegate to constructor. #rb Michael.Noland #jira OR-31043 #test Paragon win64 -game Change 3181895 on 2016/11/01 by Daniel.Lamb Make sure to remove safe zone delegate when canvas is destroyed. Moved registration of safe zone delegate to constructor. #rb Michael.Noland #jira OR-31043 #test Paragon win64 -game Change 3181892 on 2016/11/01 by Michael.Trepka Copy of CL 3162466 By default, do not compile Mac OpenGL and Metal SM4 shaders while cooking #rb Mark.Satterthwaite #jira UE-37088 #tests Cooked MacNoEditor data on Windows Change 3181624 on 2016/11/01 by David.Ratti Pass attribute value by reference through SetNumericValue_Internal so that the final/clamped value is what is broadcasted to attribute change delegates #rb none #tests golden path w/ extra logging to verify final value is what is broadcasted #c0dereview Billy.Bramer, Fred.Kimberley Change 3181574 on 2016/11/01 by Jason.Bestimt #ORION_DG - Fixing up R0B0MERGE issue #RB:none #Tests:none Change 3180859 on 2016/10/31 by Brian.Karis Removed SSAO from hair Change 3180320 on 2016/10/31 by Daniel.Lamb Added support for rebuild lighting commandlet to read maps to rebuild from ini file. #rb Andrew.Grant #test Paragon rebuild lighting #jira OR-30841 Change 3180227 on 2016/10/31 by Laurent.Delayen Disabled Warning to fix https://jira.it.epicgames.net/browse/OR-30965 Will be turned into a warning message in the BP editor. #c0dereview benn.gallagher #rb none #tests none Change 3179903 on 2016/10/31 by jason.bestimt #ORION_MAIN - Merge 34.2 @ CL 3179886 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3179895 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3177903 on 2016/10/28 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 34 @ CL 3177869 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3177901 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3175548 on 2016/10/26 by Michael.Noland GameplayAbilities: Change it so that delegates registered via RegisterGameplayAttributeEvent are still called on the client when there is no aggregator entry #rb david.ratti #c0dereview billy.bramer #tests Tested in multiplayer PIE client with a new minion callback and golden path in -game Change 3175544 on 2016/10/26 by Bart.Hawthorne Draft in replays improvements: - Marker added to timeline bar that shows when the level change happens - Added "Skip Draft" button when loading a replay which will bypass the draft - Only PvP matches will record replays - Added "Exit Replay" button to hamburger menu while in draft - No longer load hero data before viewing a replay if not skipping draft - Enable replay recording in PvP #rb john.pollard #c0dereview paul.moore #tests nomcp golden path up to spawnpoint, created and loaded several replays Change 3175533 on 2016/10/26 by Michael.Noland Fix for FMallocBinned::GetAllocationSize() for aligned allocations. #jira UE-37249 #jira UE-37243 #rb robert.manuszewski #lockdown robert.manuszewski [reimplementing CL# 3165739 from Release-4.13] #tests Compiled Change 3175311 on 2016/10/26 by Daniel.Lamb Added support for safe zone change. Messed up files in last checkin #test Ps4 paragon #jira OR-30506 #rb Matt.Kuhlenschmidt Change 3175298 on 2016/10/26 by Daniel.Lamb Added support for updating safe area #rb Matt.Kuhlenschmidt #c0dereview Andrew.Grant Nick.Darnell #test Ps4 paragon #jira OR-30506 Change 3175209 on 2016/10/26 by David.Ratti Fix a few cases where default gameplay cue parameters weren't initialized properly and could not be translated by the skin system. Fixes some mayan steel issues. #rb none #tests pie Change 3174858 on 2016/10/26 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 34/33.2 @ CL 3174784 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3174857 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3174822 on 2016/10/26 by Marcus.Wassmer Duplicate 3174187 #jira UE-37020 #rb marc.audy #test create/destroy effects with HQ lights in editor. Change 3174344 on 2016/10/25 by Ryan.Gerleve Added a bIsNetStartupComponent flag to UActorComponent. This will be set for components that are owned by an actor when that actor's bNetStartup flag is set. #rb john.pollard #tests golden path Change 3174270 on 2016/10/25 by Marcus.Wassmer Add LightingChannel control to High Quality particle lights. #rb none #test tested different lighting channels. Change 3173855 on 2016/10/25 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 34 @ CL 3173292 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3173361 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3173843 on 2016/10/25 by Michael.Trepka Update custom window controls on toggle fullscreen and make sure that when we switch to windowed mode we don't use window size that wouldn't fit on desktop #rb Matt.Kuhlenschmidt #tests Tested in editor build on PC Change 3173783 on 2016/10/25 by Dan.Youhon Add VelocityOnFinish mode options to RootMotionRadialForce so that designers can control what happens to a character's velocity when the ability task ends (part of #OR-30249) #rb None #tests MultiPIE Change 3173734 on 2016/10/25 by Dan.Youhon Protect against invalid Duration in FRootMotionSource_MoveToDynamicForce on simulated clients #OR-27128 #rb None #tests MultiPIE Change 3173714 on 2016/10/25 by David.Ratti Add Game and Engine Compat versions for replays #coderview John.Pollard #rb Lietz #tests golden path, replays Change 3173681 on 2016/10/25 by Bart.Hawthorne Implement drafting in replays. A replay spectator is spawned in the draft lobby so that the draft is saved out to the replay server, and clients are now able to travel in replays both when they occur "naturally" (at the same time as if they were a client), and also by scrubbing to a place in the timeline that's a different level. The feature is implemented but currently disabled by default - turn on by setting CVarEnableDraftInReplays to 1. Replays should function the same as before. Also fixed a warning on the dedicated server related to abandoning a draft. #rb john.pollard #c0dereview josh.markiewicz, paul.moore #tests nomcp golden path (up to spawning), recorded multiple replays and played back with lots of scrubbing Change 3173677 on 2016/10/25 by Andrew.Grant Reenabled audio thread Added safety wrapper to prevent code accidentally using events after they are returned to the pool. #tests na #rb Gil.Gribb Change 3173588 on 2016/10/25 by Ryan.Gerleve Added a replication condition to skip replays. #tests golden path #rb john.pollard Change 3172692 on 2016/10/24 by Marcus.Wassmer Fix OR-30390 caused by missing mutex lock #rb none #test compile ps4 Change 3172025 on 2016/10/24 by Matt.Kuhlenschmidt Fix blur widget not respecting clip rects #rb none #tests paragon blur widget clipping bugs Change 3171570 on 2016/10/23 by Mieszko.Zielinski Moved Bots' enemy selection eqs query triggering to native code #Orion Did this to be able to manually trigger enemy selection when current enemy dies, to avoid having a "null" enemy in BB for couple of ticks. Also, made couple of tweaks to positioning and tower attacking behavior of melee bots #rb none #test golden path Change 3171100 on 2016/10/21 by Aaron.Eady FGameplayCueTagDetails; Adding a check for if the RawStructData.Num > 0 before trying to use it. There was a case where you could crash the editor if you create a new GC tag inside of a BP, compile the BP, click Add New, select a GC type, then when the file is created, click away from it in the content browser. This repro wasn't 100% but often enough to caus a problem. #rb David.Ratti (actually wrote the code) #tests PIE Change 3171060 on 2016/10/21 by Ryan.Gerleve Some cleanup and fixes for deathcam: The recording demo net driver for the deathcam replay now uses checkpoint amortization to smooth out spikes. Converted UOrionKillcamPlayback::IsKillcamWorld to IsKillcamActor, since IsKillWorld isn't useful for the new single-world implementation. Converted a GetValueOnGameThread to GetValueOnAnyThread (wasn't in the merge) so that deathcam replay recording can happen on a thread. Added comment to UAbilitySystemComponent::OnComponentDestroyed. #rb john.pollard #tests golden path, enabled deathcam Change 3171041 on 2016/10/21 by Ryan.Gerleve Make the CheckpointSaveMaxMSPerFrame value a member of UDemoNetDriver so it can be set per instance, and convert the demo.CheckpointSaveMaxMSPerFrame cvar into an override for this value. #rb john.pollard #tests golden path Change 3170917 on 2016/10/21 by Mieszko.Zielinski Made a change to OrionBTTask_ObjectiveGraphMove to make it fallback to regular move if the destination is in the same or second-closest objective graph node #Orion #rb none #test golden path Change 3170914 on 2016/10/21 by Mieszko.Zielinski Fixed EQS scoring bug resulting in some items getting NaN scored #UE4 The NaN was happening when scoring but not filtering using a bool-based test, or when unintentionally skipping items by moving item iterator without doing any work. Removed a bunch of deprecated code while there #rb Lukasz.Furman #test golden path Change 3170912 on 2016/10/21 by Mieszko.Zielinski Manual merge of crucial BT fixed over from //Fortnite/Main #UE4 Original CL#3159145 , CL#3159892 #rb Lukasz.Furman #test golden path Change 3170478 on 2016/10/21 by David.Ratti fix editor crash related to recompiling gamplay cue blueprint while a preview animation is playing that invokes that gameplay cue. #rb none #tests editor Change 3170231 on 2016/10/21 by Ryan.Gerleve Fix for an issue that was preventing moving your hero after spawning in PIE in Agora: set the net driver on static level collections as well. #tests golden path, PIE #c0dereview john.pollard #rb none Change 3170074 on 2016/10/20 by Ryan.Gerleve Merging support for recording client replays in a task parallel with Slate (optimization for deathcam) from UE4/Dev-Networking. CL 3169209 #tests golden path, replays #rb none Change 3170019 on 2016/10/20 by Ryan.Gerleve Merging support for deathcam memory optimizations (level collection work) from UE4/Main and UE4/Dev-Networking. CLs: 3134499 3134771 3135279 3137140 3138081 3140413 3150142 3142515 3162189 3162194 #tests golden path #rb none Change 3169686 on 2016/10/20 by Michael.Trepka Fixed a Windows-specific problem with parts of the custom window buttons not accepting mouse clicks when the window is maximized due to window region used by FWindowsWindow::IsPointInWindow() being offset by border size. #rb Jeff.Campeau #tests Tested in editor build on PC Change 3169668 on 2016/10/20 by Max.Chen Sequencer - Don't crash when a bool track or visibility track has a null runtime object. Copy from Odin #rb none #tests opened a recorded sequence Change 3169657 on 2016/10/20 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_33 - Fix for localization export of web data Fixed export of localized formatted text - Removed the super-specific GetSourceTextsFromFormatHistory, and replaced it with the more-generic GetHistoricFormatData to get information about an FText that was generated via FText::Format. - Added GetHistoricNumericData to get information about an FText that was generated via FText::AsNumber or FText::AsPercent. - Updated the translation picker to use GetHistoricFormatData. - Removed the code from FMultiLocHelper that used GetSourceTextsFromFormatHistory as it wasn't actually needed. - Added code to FGameDataExporter to correctly localize a formatted text for a given culture, and re-format the result for export. [c0dereviewed]: jamie.dale #RB:none #Tests:Exported game data! #R0B0MERGE-SOURCE: CL 3169653 in //Orion/Release-33/... via CL 3169654 via CL 3169655 via CL 3169656 #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3169616 on 2016/10/20 by David.Ratti missed file #rb none #tests none Change 3169597 on 2016/10/20 by David.Ratti Missed include #rb DanH #tests none Change 3169393 on 2016/10/20 by David.Ratti AbilitySystem.GlobalAbilityScale cvar to help design iterate on animation/duration based tweaks #rb none #tests pie Change 3168287 on 2016/10/19 by Mieszko.Zielinski Expanded EQS info logged with vlog #UE4 #rb none #test golden path Change 3168282 on 2016/10/19 by David.Ratti Restore warning when multiple GC notifies try to handle the same tag. #rb none #tests compile, launch editor, see warnings, cry Change 3168196 on 2016/10/19 by Jon.Lietz compile fix, removing the int version of FirstActiveIndex and leaving the in32 version. #RB none #tests compiles Change 3168041 on 2016/10/19 by Michael.Trepka Don't restore saved resolution on window activation in non-fullscreen modes #rb Matt.Kuhlenschmidt #tests Tested in editor build on PC Change 3167859 on 2016/10/19 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Implementing in Dev-General for Joey since he needs the fix ASAP. #rb Jeff.Campeau #tests perform tests described in JIRA bug. Change 3167790 on 2016/10/19 by Andrew.Grant Duplication of 3167569 from //Odion/Main for Paragon cinematics #rb none #tests compiled Change 3167682 on 2016/10/19 by Laurent.Delayen Integrated #ORION_33.1 - Disabled WindSources on Cloth and AnimDynamics, as it's not safe to access from the GameThread. https://jira.it.epicgames.net/browse/OR-30473 #rb ori.cohen, benn.gallagher #tests Vamp, Kwang, Chains in Persona and PIE with WindActor in level. Change 3167466 on 2016/10/19 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 33.2 @ CL 3167368 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3167456 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3167312 on 2016/10/19 by Mieszko.Zielinski Fixed EQS template cache issues with multiple query run modes #UE4 #rb Lukasz.Furman #test golden path #jira UE-37496 Change 3166784 on 2016/10/18 by Laurent.Delayen Don't leave PhysicsBodies::bWindEnabled uninitialized in case Wind is not enabled (Persona) #rb none #c0dereview benn.gallagher #test Chains in Persona Change 3166641 on 2016/10/18 by Mieszko.Zielinski Made the value span used for EQS item score normalization configurable #UE4 #rb Lukasz.Furman #test golden path Change 3166632 on 2016/10/18 by Jason.Bestimt #R0B0MERGE-AUTHOR: andrew.grant Added support for multiple deployment sandboxes on PS4. BuildCookRun -deploy=SomeDir ps4.elf -deployedbuild=SomeDir Omitting name in -deploy/-deployedbuild falls back to previous default of using 'GameName' as the deployment sandbox. #tests BuildCookRun with -deploy and -deploy=Orion_v33, Ran PS4 with -deployedbuild and -deployedbuild=Orion_v33 [c0dereviewed] Marcus.Wassmer, Luke.Thatcher #rb none #R0B0MERGE-SOURCE: CL 3166622 in //Orion/Release-33/... via CL 3166629 via CL 3166630 via CL 3166631 #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3166494 on 2016/10/18 by Michael.Noland Engine: Removed irrelevant GPU stats from FPS chart server analytics reports #jira OR-13877 #rb david.ratti #tests Ran golden path on uncooked Win64, used forcewinmatch, and inspected the analytics arrays Change 3166476 on 2016/10/18 by Michael.Noland Cooker: Deleting dead GenerateManifestInfo methods #tests Compiled #rb none #c0dereview daniel.lamb Change 3166471 on 2016/10/18 by Michael.Noland Making sure DebugWorlds/DebugWorldNames are in sync, since we expect an index from one to match the other (fixes an issue where users could select a debug world and the wrong one was chosen). [reimplementing CL# 3157138 by Mike.Beach] #jira UE-37107 #rb Dan.OConnor #tests Tested multiplayer PIE and opening an anim BP Change 3166460 on 2016/10/18 by Michael.Noland Particles: Prevent log spam on servers about stripped emitters #rb graeme.thornton [reimplementing CL# 3157862 by Simon.Tovey] #tests Ran an uncooked server and tested golden path Change 3166339 on 2016/10/18 by Laurent.Delayen oops, this file got away. #rb none #tests none Change 3166337 on 2016/10/18 by Laurent.Delayen Fix for AnimDynamics Wind crash. https://jira.it.epicgames.net/browse/OR-30351 Access WindParameters on GameThread. Also minor optimization: don't iterate over bodies every frame if wind is off. #rb benn.gallagher #c0dereview lina.halper, thomas.sarkanen #tests Vamp Change 3166207 on 2016/10/18 by Mieszko.Zielinski Bot perception work #Orion Added a new sense that makes bots know about enemies visible on the minimap Made jungle minions do not register as sight sources Cleaned up bot perception component a bit #rb none #test golden path Change 3166138 on 2016/10/18 by Michael.Noland Blueprints: Converted a crash with the debug world name in the BP editor to an ensure until it can be fixed properly (see OR-29650) #c0dereview dan.oconnor #rb none #tests Tested opening an anim BP during multiplayer PIE Change 3165860 on 2016/10/18 by David.Ratti remove some debug code that wasn't intended to be checked in #rb none #tests compile Change 3165288 on 2016/10/17 by Ian.Fox #XMPP - Add correlation id attribute to outgoing stanzas #RB Rob.Cannaday #Tests Correlation IDs come back in responses to xmpp messages we send #JIRA OGS-409 Change 3165096 on 2016/10/17 by David.Ratti Fix issue where gameplay tags net indices would be out of sync on cooked PS4 client playing on uncooked windows servers. Would cause some effects to not play. #rb none #tests PS4/PC crossplay Change 3164973 on 2016/10/17 by Dan.Hertzka Fix link error #rb #tests compile Change 3164910 on 2016/10/17 by Lukasz.Furman fixed bug in merging behavior tree searches copy of CL 3164903 #ue4 #rb Mieszko.Zielinski #tests none Change 3164908 on 2016/10/17 by Dan.Hertzka Exposing the blur widget for use in Paragon ** Use OrionBlurWidget, not the base BackgroundBlurWidget - Added it to the hero and default tooltips for reference #rb none #c0dereview Marcel.Swanepoel, Sean.Smith, Bryan.Rathman #tests PIE Change 3164482 on 2016/10/17 by David.Ratti Editor loadtime improvements * Refactor GameplayCue manager to support two distinct object library sets: Runtime and Editor. Editor library operates on all valid gameplay cue paths but never loads or scans, only reflects what asset registry has found. Runtime library is the initial loaded paths + any explicit requests. These scan when needed and async load at startup. * Wrote UOrionAsyncLoadRequestQueue to feed the async load queue with requests at startup. This is to avoid submitting 300+ requests at startup and have them flushed by a sync load. The editor will wait until it is fully initialized before kicking these off. * Changed UOrionUIManagerWidget to weakly reference all of its state widgets. In non editor builds these are all loaded at startup like before. In editor builds, we sync load them on demand. This allows us to not load everything in order to PIE. * Added options for loading various pieces of data at editor startup: HUDwidget V4, last used hero data, and shared gameplay cues. * -game -nomcp will now properly async load initial set of data * BeginLoadAsyncData no longer takes netmode as parameter since it is confusing and can just use IsDedicatedServer() internally * Added new log category: LogOrionStartup #rb none #c0dereview Dan.Hertzka #tests pie, golden path, cooked PS4 Change 3163635 on 2016/10/14 by Laurent.Delayen AnimInstance: Pass a few FNames by reference instead of by value. Added CalcSlotMontageLocalWeight to get local a slot's local weight without a frame a lag. Fixed Montage update happening after native update on gamethread, but before native update on worker thread. Now happens before both, so we can reliably get montage weights without a frame of lag regardless of where we access it. #rb none #c0dereview martin.wilson, thomas.sarkanen #tests fixes Twinblast's primary fire blend out having a frame a lag. Change 3163620 on 2016/10/14 by Laurent.Delayen AnimNode_Slot debug: Show actual slot local weight, instead of always 1. #rb none #c0dereview martin.wilson #tests twinblast debug Change 3163061 on 2016/10/14 by Andrew.Grant Pulling test framework changes into seprate CL #rb #tests na Change 3162675 on 2016/10/13 by Jason.Bestimt #R0B0MERGE-AUTHOR: andrew.grant Merging test framework changes down early. #rb #tests na #R0B0MERGE-SOURCE: CL 3162674 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3162062 on 2016/10/13 by Michael.Trepka Replaced FWindowsCursor hack for warping the mouse cursor to the center of the viewport with a better fix for the original problem (users being able to resize the window while the cursor is hidden and the mouse controls the camera). This change removes round window corners in borderless window mode and disables window resizing when the cursor is hidden. #rb Matt.Kuhlenschmidt #tests Tested in editor build on PC Change 3161489 on 2016/10/13 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 33.2 @ CL 3161453 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3161473 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3160664 on 2016/10/12 by Ben.Salem Fix logic order error fuzzy matching on automated tests - we were only allowing one match per filter instead of one match per test. #rb adric.worley #tests Ran All Ftests that start with S Change 3159866 on 2016/10/12 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 33.2 @ CL 3159727 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3159865 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3158870 on 2016/10/11 by John.Barrett Fixed issue where some PacketHandler parsing errors, would not stop NetConnection processing of packets, and would not trigger a disconnect. #JIRA OR-29219 #rb none #tests compiles, client/server Change 3158336 on 2016/10/11 by Lukasz.Furman string pulling for local navigation grids #ue4 #rb Mieszko.Zielinski #tests PIE Change 3158203 on 2016/10/11 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 33.2 @ CL 3158043 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3158154 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3158162 on 2016/10/11 by Matt.Kuhlenschmidt Added a blur widget to umg that applies a blur effect to whatever is behind the widget - The widget has a content slot that can be used to display unblurred content on top of the blur - The widget has a low quality mode brush that can be applied instead of the background blur. This is enabled by the cvar Slate.ForceBackgroundBlurLowQualityOverride=1 - This widget is currently expermental and must be subclassed to be used #tests Tested on PS4, PC, Mac (opengl and metal) #rb nick.darnell Change 3157232 on 2016/10/10 by Lukasz.Furman added local navigation grids: dynamic obstacles on static navmesh #ue4 #rb Mieszko.Zielinski #tests none, disabled by default Change 3157112 on 2016/10/10 by Laurent.Delayen Removed my layer anim node fix, since Martin did a similar fix. #rb none #tests compiles #c0dereview martin.wilson Change 3156789 on 2016/10/10 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 33.2 @ CL 3156726 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3156788 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3156717 on 2016/10/10 by Jason.Bestimt #R0B0MERGE-AUTHOR: andrew.grant Merging 3156681 from //Orion/Release-33 to Main #rb #tests na #R0B0MERGE-SOURCE: CL 3156713 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3156596 on 2016/10/10 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node (recreated from dev-framework CL 3112086) #Jira OR-30017 #rb Lina.Halper #tests Tested affected anim nodes in editor Change 3156149 on 2016/10/08 by Jason.Bestimt #R0B0MERGE-AUTHOR: andrew.grant Merging test framework changes from //Orion/Release-33.2 to Main (//Orion/Main) #rb #tests na #R0B0MERGE-SOURCE: CL 3156148 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3155444 on 2016/10/07 by David.Ratti -Fix crashes from FScalableFloats caching raw curve pointers by invalidating cache on curve table swaps -Removed the old code that was trying to do this in the editor on reimport, which never actually worked properly. #rb none #tests golden path Change 3155228 on 2016/10/07 by Michael.Trepka Partial (Windows implementation only) copy of CL 3151851 from //UE4/Main Added DesktopRect and WorkArea to FMonitorInfo for desktop platforms and used that to fix an issue in SceneViewport where windowed fullscreen mode would be forced to primary monitor and incorrectly positioned on desktops where a taskbar/dock/etc. was on the left #rb Dmitry.Rekman #tests Tested in editor build on PC Change 3154910 on 2016/10/07 by Lukasz.Furman added new accessors in TSimpleCellGrid and inlined bunch of functions #ue4 #rb none #tests none Change 3154906 on 2016/10/07 by Lukasz.Furman adjusted comments for FGraphAStar #ue4 #rb none #tests none Change 3154679 on 2016/10/07 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 33 @ CL 3154662 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3154677 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3153638 on 2016/10/06 by Andrew.Grant Duplicating fix for UE-36087 from UE4 #rb #tests na Change 3153325 on 2016/10/06 by David.Ratti CurveTableSets: support for multiple spread sheets -Sovereign data located in Sovereign subfolder, cloned from base data. #rb none #tests PIE, golden path Change 3153318 on 2016/10/06 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge DUI @ CL 3152667 #RB:none #Tests:none [c0dereviewed]: kerrington.smith, matt.schembari #R0B0MERGE-SOURCE: CL 3153310 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3153268 on 2016/10/06 by David.Ratti Missed file for engine changes #rb none #tests none Change 3153264 on 2016/10/06 by David.Ratti Move some DetailCustomziation classes to public folder so that games can override/extend them. Also made some virtual functions to override the things paragon needs to. #rb none #tests paragon editor Change 3153204 on 2016/10/06 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 32.2/33 @ CL 3152587 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3153171 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3152699 on 2016/10/05 by Andrew.Grant I apologize for the mega-checkin but there are a lot of dependencies here, the work spiralled, and I've been cranking to get this in for the v33 branch. Please review and comment on what you know about and don't worry about the rest :) -Added options-struct to MallocLeak detection to allow filtering open callstacks by frame range and size. This is now used in Paragon automatic tests to dump out memory left loaded by the previous map. -PS4StackWalk now uses lowercase filenames as this is how non-UFS files are staged -Renamed Orion.Foo.cs test scripts to OrionTest.Foo.cs -Split some Orion tests into seprate scripts -Added concept of "TestControllers". These are constructed by OrionEngine based on the -test= commandline and provide a super-simple way to implent state-based logic and checks by overriding base class functions. -Added controllers for Boot, Soak, and Leak checks -Renamed SimpleSolo bot to SimpleSoak. Moved a lot of logic about match composition and state to OrionTestControllerSoak -Added new MatchStarted/MatchEnded delegates to OrionGameState for clients -Fixed issues where OrionGameState_Base::HasMatchStarted would return true for WaitingForPlayers and MatchCountdown -OrionBot code no longer caches command line since some TestControllers set it at runtime -Added some ensures in Draft logic to catch/guard against a crash being triggered by bots. #rb none #tests verified all of the above and much more! #c0dereview David.Ratti, Marcus.Wasmer,Michael.Noland Change 3152605 on 2016/10/05 by Andrew.Grant Suppressed warning about missing parent if parent package was in the KnownMissingPackageList Added Editor ScaleRef stuff to Orion to suppress cooked warning #rb none #c0dereview Marcus.Wassmer #tests Verified warning about ScaleRef being missing is gone Change 3152596 on 2016/10/05 by Andrew.Grant Made ASLR an option that can be disabled. Disabled ASLR for Paragon PS4 Test builds so symbol lookup is available for diagnostics. Made "don't optimize adaptive unity files" an official feature, off by default but turned on in Paragon #c0dereview Luke.Thatcher #rb none #tests Verified test build has symbols that can be resolved. Verified an adaptive unity file is non-optimized, but non-adaptive files are optimized as normal Change 3152399 on 2016/10/05 by Josh.Markiewicz #UE4 - temporary fix for OSS R0B0MERGE issue #rb david.nikdel #test compiles Change 3150916 on 2016/10/04 by Daniel.Lamb Removed warning when shader compiler is in a bad state. #rb Andrew.Grant #jira OR-29580 #test Cook paragon Change 3150889 on 2016/10/04 by Ben.Salem Add log feedback to automation harness when processing commands, including syntax helpers when an unhandled command is added. #rb adric.worley #tests Ran several commands to see log output. Change 3150844 on 2016/10/04 by Lukasz.Furman compilation fix #rb none #tests none Change 3150759 on 2016/10/04 by Lukasz.Furman added "hidden" state to gameplay debugger category #ue4 #rb Mieszko.Zielinski #tests config changes and PIE Change 3150758 on 2016/10/04 by Lukasz.Furman pass on SimpleCellGrid template to make it usable for local navigation grids #orion #rb Mieszko.Zielinski #tests PIE on agora, AI tactics debug on agora Change 3150567 on 2016/10/04 by Dan.Hertzka Rough initial implementation of a generic UI layer for moving widgets around to and from arbitrary locations. Lots of possible uses. For example, equipping a card in the card shop that then animates down into the correct hand slot. - Not in actual use anywhere yet #rb none #tests PIE Change 3150307 on 2016/10/04 by Laurent.Delayen Removed check() not considering SimulatedRootMotion for RemoteClients. #rb none #tests compiles Change 3150236 on 2016/10/04 by Josh.Markiewicz #UE4 - added documentation to FNetworkNotify interface - fixed bad UE_LOG category while double checking the above #rb none #tests compiles Change 3150206 on 2016/10/04 by Josh.Markiewicz #UE4 - moved ClientTravelToSession out of AGameSession and into UGameInstance - removed similar function from UGameInstanceCommon - more common usage location #rb none #c0dereview paul.moore #tests rejoin vectors and golden path Change 3150073 on 2016/10/04 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 32.2/33 @ CL 3150010 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3150072 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3150031 on 2016/10/04 by Mieszko.Zielinski New AIData provider that generated random numbers #UE4 #rb Lukasz.Furman #test golden path Change 3149946 on 2016/10/04 by Ben.Woodhouse Make UPrimitiveComponents (and derived variants) take proxy memory into account in GetResourceSize() We do this by dereferencing the SceneProxy directly, but this should be safe, since we NULL it on the gamethread before the proxy is released. #jira OR-26778 #rb luke.thatcher #tests compile, run Win64 with -game, run editor Change 3149743 on 2016/10/03 by Ben.Salem Null check for blank test names when making functional tests to repair crash on server. #rb nick.darnell #tests Ran multiple FTests Change 3149460 on 2016/10/03 by Laurent.Delayen Refactored TickCharacterPose. Now calls 'ShouldTickPose' so it can get properly obey bPauseAnims, MeshComponentUpdateFlag and other conditions. Still forces updates when playing networked root motion montages, and that check is now done inside of USkeletalMeshComponent::ShouldTickPose(). Fixes human players always calling TickPose regardless of settings on dedicated servers. Also addresses Jira UE-34720 #rb martin.wilson #tests networked Vamp x2 + golden path Change 3149435 on 2016/10/03 by Mieszko.Zielinski Fixed a bug in EQS item score normalization for the purposes of drawing #UE4 Also, made printed out scores not normalized since seeing original EQS calculated score desirable #rb Lukasz.Furman #test golden path Change 3148550 on 2016/10/03 by John.Barrett Fixed bad/blocking ensure added in FBitReader. OR-29219 #tests compile #rb none Change 3147460 on 2016/09/30 by Laurent.Delayen Fixed AOrionChar::UpdateAnimationTicking never setting EMeshComponentUpdateFlag::OnlyTickPoseWhenRendered, because OnMontageEnded() is called before the MontageInstance is actually removed and deleted. Added OnAllMontageInstancesEnded to AnimInstance, and used that to call UpdateAnimationTicking. #rb michael.noland #tests Golden Path Change 3146677 on 2016/09/30 by Jamie.Dale Fixed UGatherTextFromSourceCommandlet::ParseSourceText being able to underflow while parsing #rb Andrew.Rodham #tests Ran the gather Change 3146555 on 2016/09/30 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 32.2 @ CL 3146524 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3146553 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3146129 on 2016/09/29 by Michael.Noland Engine: Fixed the spectator camera (used in ToggleDebugCamera) so it moves consistently regardless of the slomo value by using the raw frame delta rather than trying to counter-correct for time dilation #c0dereview marc.audy #rb none #tests Tested ToggleDebugCamera with slomo 0.00001 Change 3145574 on 2016/09/29 by Adric.Worley Fix FunctionalTestingManager not compiling when included #tests compile #rb mieszko.zielinski Change 3145224 on 2016/09/29 by Michael.Trepka Better check for whether or not PreFullscreenWindowPlacement in FWindowsWindow is valid #rb Dmitry.Rekman #tests Tested editor build on PC Change 3145132 on 2016/09/29 by Alexis.Matte Make sure we use GetMesh instead of the SkeletalMeshPtr variable. #jira OR-29617 #rb matt.kuhlenschmidt #test none Change 3144926 on 2016/09/29 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 32.2 @ CL 3144835 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3144925 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3144920 on 2016/09/29 by Benn.Gallagher Added "Reset Clothing Sim" anim notify to trigger a clothing reset from an animation, to help with issues arising from extreme movements in animations. #rb James.Golding #tests Editor + -game vamp RMB abilities using new notify Change 3144055 on 2016/09/28 by Jason.Bestimt #R0B0MERGE-AUTHOR: ben.marsh BuildGraph: Fix builds created with preconditions on nodes behind triggers, causing nightly builds to run forever due to conditions never evaluating to true. #rb none #tests Compared exported job definition before and after #R0B0MERGE-SOURCE: CL 3143992 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3143801 on 2016/09/28 by Mieszko.Zielinski Made UAIBlueprintHelperLibrary::CreateMoveToProxyObject deduce WorldContextObject from Pawn if not received from BP #Orion Also, made failing to do so not fails a check #rb Lukasz.Furman #test golden path #c0dereview Aaron.Eady Change 3142377 on 2016/09/27 by Jason.Bestimt #R0B0MERGE-AUTHOR: marcus.wassmer Fix crashes when using GBuffer resources in simpleforward mode. #rb Daniel.Wright #test vamp Q on low settings. #R0B0MERGE-SOURCE: CL 3142376 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3141628 on 2016/09/27 by David.Ratti Guard against recursion in WaitGameplayEffectApplied ability task #rb none #tests pie crash case Change 3141497 on 2016/09/27 by Marcus.Wassmer Duplicate 3123743 Separate skeletal/static mesh lod interfaces #rb none #test created an LOD for vamp locally. Change 3140832 on 2016/09/26 by Jason.Bestimt #R0B0MERGE-AUTHOR: marcus.wassmer Remove dubious non-threadsafe GBuffer reference adjustments. Possibly fix OR-29506 #rb none #test PC on all settings #R0B0MERGE-SOURCE: CL 3140831 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3140828 on 2016/09/26 by Uriel.Doyon Workaround (reverting previous attemp) at fixing issue with FTextRenderSceneProxy when running command let. #rb marcus.wassmer #tests running lighting build with command let & loading editor Change 3140331 on 2016/09/26 by Jason.Bestimt #R0B0MERGE-AUTHOR: andrew.grant Cloning fix for UE-36253 from //UE4/Dev-Framework/... #rb #tests na #R0B0MERGE-SOURCE: CL 3140329 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3139976 on 2016/09/26 by David.Ratti balance tweaker + some prep for multiple data tables support #rb none #tests pie, golden path Change 3139904 on 2016/09/26 by Jason.Bestimt #R0B0MERGE-AUTHOR: andrew.grant Adding code to log name of package that refuses to load... #rb none #tests compiled #R0B0MERGE-SOURCE: CL 3139902 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3139871 on 2016/09/26 by Jason.Bestimt #R0B0MERGE-AUTHOR: andrew.grant Fixes for OR-29229 and OR-29413 #rb #tests na #R0B0MERGE-SOURCE: CL 3139870 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3139751 on 2016/09/26 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 32.2 @ CL 3139692 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3139740 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3139451 on 2016/09/25 by Uriel.Doyon Submitted a workaround for the lighting build command let crash. #rb none #tests loaded editor, built lighting command let Change 3138304 on 2016/09/23 by David.Ratti Fix checkslow in Debug editor #rb none #tests debug editor #c0dereview Martin.Wilson Change 3138068 on 2016/09/23 by Laurent.Delayen Don't try to match invalid GUIDs in FSmartNameMapping::GetNameByGuid. Fixes Steel's curves all getting matched to 'DistanceCurve' #rb martin.wilson #tests Steel's curve are not all 'DistanceCurve' Change 3137830 on 2016/09/23 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 32.2 @ CL 3137699 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3137746 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3137657 on 2016/09/23 by Ben.Marsh Fix initialization order warning. #rb none #tests none Change 3137628 on 2016/09/23 by bruce.nesbit Fixed non-unity compiles in LandscapeSplines and LandscapeSplineRaster #rb none #tests Compiled NU Change 3137538 on 2016/09/23 by Thomas.Sarkanen Fix crash rendering sequence with keyframed material parameters Ported Frank F's fix from Dev-Sequencer. Original CL 3136577: Sequencer - Always use a unique name when creating dynamic material instances for animation to prevent reuse and resource issues. #tests Rendered out problematic sequence successfully multiple times #rb none #jira UE-36175 - Keyframing material parameters can cause crashes when rendering #c0dereview Frank.Fella Change 3136580 on 2016/09/22 by Ben.Marsh Merging CL 3136158 to fix support for generating project files with Visual Studio Express. #rb none #tests none Change 3136574 on 2016/09/22 by Michael.Trepka Fixed a crash caused by trying to redraw window contents while switching from fullscreen to windowed mode #rb Marcus.Wassmer #tests Tested editor build on PC Change 3136293 on 2016/09/22 by Adric.Worley Add BlueprintType to EFunctionalTestResult #tests editor #rb ben.salem #c0dereview nick.darnell Change 3136240 on 2016/09/22 by Andrew.Grant Merging from //UE4/Main @ 3135156 #rb none #tests QA pass and local golden path Change 3136197 on 2016/09/22 by Jamie.Dale Merging CL# 3094477 and CL# 3111827 to fix some tesselated landscape crashes #rb Gareth.Martin #tests Loaded the map that was crashing Change 3135914 on 2016/09/22 by Dan.Youhon Fixed CharacterMovementComponent impulse net correction handling during additive root motion (part of #OR-5545) - Fixes #OR-28478, heroes tethered by Kwang cannot be knocked up - Fixes #OR-18985, Gideon R ability negating knockback/knockup effects (including Howitzer E) #rb None #tests MultiPIE #R0B0MERGE: MAIN, 32.2, 32.1 Change 3135893 on 2016/09/22 by David.Ratti GameplayCueeditir Change override type from a checkbox to a combobox to make things a little clearer #rb none #tests gameplaycue editor Change 3135843 on 2016/09/22 by jason.bestimt #ORION_MAIN - Merge 32.2 @ CL 3135756 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3135820 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) #R0B0MERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. //Orion/Dev-General/OrionGame/Content/Balance/HeroData.uasset - can't integrate exclusive file already opened //Orion/Dev-General/OrionGame/Content/Cards/Effects/P_ThunderCleaver.uasset - can't integrate exclusive file already opened //Orion/Dev-General/OrionGame/DataTables/HeroData.xlsm - can't integrate exclusive file already opened #c0dereview: jason.bestimt Change 3134639 on 2016/09/21 by jason.bestimt #ORION_MAIN - Merge 32.2 @ CL 3133910 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3134086 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) #R0B0MERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. #c0dereview: jason.bestimt Change 3134367 on 2016/09/21 by Ben.Woodhouse More complete fix for SSAO issues. Disable vertex fogging automatically if forward shading is disabled #rb daniel.wright #tests none Change 3134176 on 2016/09/21 by Jason.Bestimt #ORION_DG - UnrealPak speed improvements Moving shelved CL to DG and submitting for DanielL #RB:none #Tests:none #c0dereview: andrew.grant, daniel.lamb Change 3134129 on 2016/09/21 by Jamie.Dale Added the "unattended" flag when running the localzation commandlets via UAT #rb none #tests Built UAT Change 3133864 on 2016/09/21 by Ben.Woodhouse Default r.VertexFoggingForOpaque to 0, since it only makes sense for forward shading. This was causing fog to be modulated by SSAO in Orion. Note: this setting is overridden to 1 in Odin's DefaultEngine.ini, so it should work in that case. #c0dereview daniel.wright #rb luke.thatcher #jira OR-29262 #tests yes Change 3133849 on 2016/09/21 by Martin.Wilson Fix pose blending for on non-additive pose blending + remove normalising of weights for weights less than 1 #rb Jurre.DeBaare #tests Editor tests with mambo pose asset #jira UE-36189 Change 3133546 on 2016/09/20 by Jason.Bestimt #R0B0MERGE-AUTHOR: marcus.wassmer Null merge of 3131588. Fix from 31.1 is unncecessary as a more complete fix came from the engine integration that's in v32. #rb none #tests none [c0dereviewed] Jason.Bestimt #R0B0MERGE-SOURCE: CL 3132617 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3133487 on 2016/09/20 by Michael.Noland Automation: Added Automation to the manual autocomplete list Change 3133363 on 2016/09/20 by Daniel.Lamb Added Jaymee Sanford and Tony Oliva to the rebuild lighting email list. #rb Trivial #test Compile automation tool Change 3132956 on 2016/09/20 by Benn.Gallagher Fixed crash when importing clothing with mismatching number of triangles when compared to the original render data #tests Editor, apex reimport #rb none Change 3132403 on 2016/09/20 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 32.2 @ CL 3132254 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3132353 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3132332 on 2016/09/20 by Andrew.Grant Replicated UE4/Main fix for missing materials pane #rb none #tests verified material pane shows Change 3132131 on 2016/09/20 by Jason.Bestimt #R0B0MERGE-AUTHOR: andrew.grant Merging automation work from //Orion/Release-32.2 to Main #rb none #tests verified functionality #R0B0MERGE-SOURCE: CL 3132130 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3131698 on 2016/09/19 by Andrew.Grant Qucik fix to unblock build. Will follow up correct way tomorrow #rb none #tests blueprint compiles Change 3131489 on 2016/09/19 by Andrew.Grant Merging from //UE4/Orion-Staging (Source: //UE4/Main @ 3111290) #rb none #tests QA pass in Orion-Staging, Golden path post merge Change 3131350 on 2016/09/19 by Adric.Worley Fix functional test reporting typo #tests PIE #rb ben.salem Change 3130959 on 2016/09/19 by Mieszko.Zielinski Compilation fix #UE4 #rb none #test compilation Change 3130904 on 2016/09/19 by Mieszko.Zielinski Couple of generic AI perception fixes #UE4 Made unregistering AI sight source broadcast "no longer visible" information to all observers currently "seeing" the source Fixed FActorPerceptionInfo::GetLastStimulusLocation not carying whether selected stimulus was successfully sensed Fixed dominant sense not really working if not set with UAIPerceptionComponent::SetDominantSense call #rb Lukasz.Furman #test golden path Change 3130304 on 2016/09/19 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 32.2 @ CL 3130115 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3130164 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) [CL 3205566 by Andrew Grant in Main branch]
2016-11-20 21:35:35 -05:00
UnityCPPFileName = string.Format("{0}{1}.{2}_of_{3}.cpp", ModulePrefix, BaseName, CurrentUnityFileCount, AllUnityFiles.Count);
Merging UE4-Pretest @ 2042161 to UE4 Change 1996384 by Andrew Brown: 322252 - EDITOR: Asset picker displays incorrect text when there are no filter results. Change 1996385 by Andrew Brown: 321858 - CRASH: Assertion failed: (Index >= 0) Function: STransformViewportToolBar::GetLocationGridLabel() STextBlock::CacheDesiredSize() Change 1996977 by Andrew Brown: 309685 - UE4: Adding an event/renaming an event on an event track in Matinee does not update the MatineeActor node in blueprint Change 2034873 by Jaroslaw Palczynski: More robust VS installation detection. Change 2039693 by Jaroslaw Palczynski: 327268 - RocketGDC: POSTLAUNCH: DEV: Make engine more robust against bad Visual Studio environment variables Change 1978978 by Jaroslaw Surowiec: - Removed obsolete AllowEliminatingReferences from the FArchive Change 2020326 by Maciej Mroz: pretest BP K2Node: RemovePinsFromOldPins function moved from K2Node to RemovePinsFromOldPins Change 2017608 by Maciej Mroz: pretest Some changes in SFortMissionEventSelector caused by FPinTypeTreeInfo Change 2017463 by Maciej Mroz: PinTypeSelector can lins unloaded UDStructs Change 2019979 by Maciej Mroz: pretest BP: Crash when performing Diff against Depot with blueprints containing Format Text nodes Change 2024469 by Maciej Mroz: MemberReference variable added to PinType. It's necessary for delegate's signature. Change 2024049 by Maciej Mroz: HasExternalBlueprintDependencies added to UK2Node_DynamicCast Change 2024586 by Maciej Mroz: FillSimpleMemberReference fix Change 2024472 by Maciej Mroz: workaround for delegates signature in pintype removed. Change 2023997 by Maciej Mroz: BP, UDStruc: Class UserDefinedStructEditorData added. It fixes many problems with undo/redo. Change 2021934 by Maciej Mroz: typo in a comment Change 2020355 by Maciej Mroz: Back out changelist 2020342 Change 2022178 by Maciej Mroz: CRASH: PRETEST: EDITOR: UDS: Crash when undo then redo new variable in struct that is used by blueprint Change 2021958 by Maciej Mroz: CRASH: PRETEST: EDITOR: UDS: Crash using variable of a type of copied struct in blueprint Change 1986247 by Maciej Mroz: User Defined Structures: circle dependency fixed. Early version. Change 1985107 by Maciej Mroz: UserDefinedStruct cannot have a field of a non-native type Change 1986278 by Maciej Mroz: pretest ensureMsgf in Struct::link Change 1986250 by Maciej Mroz: User Defined Struct: Non native classes are accepted types od values in structures. Change 1980955 by Maciej Mroz: Using AssetPtr and LazyPtr as UFunction parameter (intput or return) is explicitly disallowed. Change 2041215 by Maciej Mroz: ttp331249 BLOCKER: PRETEST: UI: Survive the Storm is missing the Mission HUD. Change 1984316 by Maciej Mroz: New User Defined Structure. WIP - there are still problems with circular dependencies. Change 2011616 by Maciej Mroz: UserDefinedStructures - various problems fixed. Change 2011609 by Maciej Mroz: more robust HasExternalBlueprintDependencies implementation Change 2016697 by Maciej Mroz: pretest BP: UDStruct - default value propagation in cooked build Change 2016288 by Maciej Mroz: pretest BP: UDStruct: Renaming variables wont break links from make/break nodes Change 1987637 by Maciej Mroz: CustomStruct icons placeholders Change 1987422 by Maciej Mroz: Better tooltips for variables in MyBlueprint Change 1991387 by Maciej Mroz: UDStructures fixes: Change 2029165 by Maciej Mroz: BP: better comment for incomatible pins Change 2030016 by Maciej Mroz: 8PRETEST: EDITOR: UDS: Defaults values aren't updated in struct type variables in blueprints Change 2030017 by Maciej Mroz: Unused UDStructure code removed (PPF_UseDefaultsForUDStructures) Change 2028856 by Maciej Mroz: BP: Pins with PC_Struct type are compatible only with exactly the same structure. (No derived structures are not handled as compatible). Change 2026701 by Maciej Mroz: k2: odd error on an add item node within a function (see attached image in details) Change 2028160 by Maciej Mroz: PRETEST: EDITOR: UDS: When deleting structures just after creating there is always some references in the memory Change 2028165 by Maciej Mroz: BP: BreakHitResult function has proper icon. Change 2033340 by Maciej Mroz: ttp330786 PRETEST: EDITOR: UDS: Changes of default values aren't apllied to breeak nodes for text type of variables Change 2034255 by Maciej Mroz: EDITOR: UDS: Changes of default values aren't apllied to make nodes for text type of variables ttp#330620 Change 2037682 by Maciej Mroz: ttp331309 BLOCKER: PRETEST: CRASH: EDITOR: Crash occurs when performing Diff Against Depot on any Blueprint Change 2033142 by Maciej Mroz: CreateDelegate Node uses internally FMemberReference. Refactor. Change 2032329 by Maciej Mroz: ttp330608 CRASH: PRETEST: EDITOR: UDS: Crash when trying to use struct named 'Color' in blueprint Change 2032420 by Maciej Mroz: ttp330620 PRETEST: EDITOR: UDS: Changes of default values aren't apllied to make nodes for text type of variables Change 2033139 by Maciej Mroz: Functions generated from CustomEvents can be also identified by GUID Change 2026631 by Maciej Mroz: BP. UDStruct: Invalid structs are handled better. Change 2025344 by Maciej Mroz: UDStruct enabled by default Change 2026672 by Maciej Mroz: EDITOR: BP: Can't easily remove 'pass-by-reference' pins on ReturnNodes Change 2026411 by Maciej Mroz: ExposeOnSpawn updated, it supports UDStructs, custom native Structs, and it throws compiler error. Change 2025342 by Maciej Mroz: GenerateBlueprintSkeleton moved from BLueprint::Serialize to RegenerateBlueprintClass, because SkeletonClass compilation requires all external dependencies to be loaded and linked. Change 2025570 by Steve Robb: Moved dependency processing to its own function. Change 2033235 by Steve Robb: String improvements Change 2035830 by Steve Robb: Workaround for FriendsAndChat crash in Fortnite. Change 2035115 by Steve Robb: UBT build time regression fixes. Change 2034162 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere Change 2034181 by Steve Robb: Removal of any references to .generated.inl Change 2020165 by Steve Robb: BuildPublicAndPrivateUObjectHeaders factored out into its own function. Change 2020187 by Steve Robb: CreateModuleCompileEnvironment function factored out. Change 2020055 by Steve Robb: Refactoring of Unity.cs to remove complex and duplicate iteration. Change 2020083 by Steve Robb: Another use of dictionary utilities. Change 2031049 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere Change 2025728 by Steve Robb: Refactored the application of a shared PCH file to multiple file into a single ApplySharedPCH function. Change 2020068 by Steve Robb: A couple of helpful utility functions for populating dictionaries. Change 2032307 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere [CL 2054495 by Robert Manuszewski in Main branch]
2014-04-23 20:18:55 -04:00
}
else
{
Copying //UE4/Orion-Staging to //UE4/Main (Source: //Orion/Dev-General @ 3196521) #lockdown Nick.Penwarden Change 3196499 on 2016/11/14 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 34.3 @ CL 3196473 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3196498 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3195674 on 2016/11/11 by Laurent.Delayen Fix for twinblast ult mesh not disappearing at lower lods. (curves not getting properly update with URO) Fixes https://jira.it.epicgames.net/browse/OR-31509 #rb lina.halper #tests twinblast ult multiPIE Change 3195245 on 2016/11/11 by Dan.Hertzka Card crafting progress - Device responds to UI actions appropriately and infinitely - Backing out of device screen goes to card details first (i.e. doesn't take you all the way out of the screen) - CraftingDevice and CraftingDeviceNode now have a few natively-controlled timelines for reversible states - Non-reversible timelines all now play from start (so they work more than once) Engine-side: - Added an overload to UTimelineComponent::SetOnTimelineFinishedFunc() that takes a native (non-dynamic) delegate - Added a way to set the owning player of a UUserWidget via a local PlayerController (since ULocalPlayer isn't a BP type) - used to establish the owner of a WidgetComponent's widget #rb none #tests PIE crafting Change 3194616 on 2016/11/11 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 34.3 @ CL 3194604 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3194615 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3193875 on 2016/11/10 by Andrew.Grant Removed GameThreadWaitForTask fatal timeout if running in editor (assumption is that some operations can cause significant blocks, and that's ok.. #jira UE-38496 #tests compiled #rb none #c0dereview Marcus.Wassmer Change 3193368 on 2016/11/10 by Mieszko.Zielinski Fixed a bug in UCharacterMovementComponent::OnMovementModeChanged making UPathFollowingComponent::OnStartedFalling being sent too late #UE4 #rb Lukasz.Furman #test golden path Change 3193280 on 2016/11/10 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 34.2 @ CL 3193232 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3193279 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3192376 on 2016/11/09 by Laurent.Delayen RootMotion Sources: removed second check, as that was a perfectly valid case. Fixes https://jira.it.epicgames.net/browse/OR-31490 #rb none #tests riftmage blackhold multiPIE Change 3192243 on 2016/11/09 by Laurent.Delayen UAbilityTask_ApplyRootMotionMoveToActorForce replicates TimeMappingCurve to potentially fix https://jira.it.epicgames.net/browse/OR-31266 #rb none #tests Jump pads on Sovereign2 multiPIE Change 3191985 on 2016/11/09 by Laurent.Delayen Additional debug info for https://jira.it.epicgames.net/browse/OR-31300 #rb none #tests compiles Change 3191565 on 2016/11/09 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 34.2 @ CL 3191371 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3191564 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3190702 on 2016/11/08 by David.Ratti Fix PIE autologgin mcp problem #rb JoshM #tests PIE autologgin Change 3190591 on 2016/11/08 by Mieszko.Zielinski Added a way to RecastNavMesh to retrieve navigation links in a given tile #UE4 #rb Lukasz.Furman #test golden path Change 3190363 on 2016/11/08 by Frank.Gigliotti Root motion velocity clamping and bug fixes; * Added option to clamp velocity when ending MoveToActorForce, MoveToForce, and RadialForce root motions. * Disabled partial ticking on the FRootMotionSource_ConstantForce when applying the finishing velocity or clamping velocity on root motion ability tasks. This ensures the desired velocity is set correctly. * Added AbilityTask_ApplyRootMotion_Base as a base class for all root motion ability tasks. #RB David.Ratti, Zak.Middleton #c0dereview Zak.Middleton #Tests PIE - Multiple heroes with root motion abilities Change 3190344 on 2016/11/08 by Laurent.Delayen RootMotionSources: Tracking down https://jira.it.epicgames.net/browse/OR-31266 Testing for 'Matches' rule in more places, to track down where it breaks. Added more info. Switched check to ensure, so it doesn't prevent playtests. Minor tweaks: - Test for ID before TimeStamp - Changed auto to proper type. - Trim RootMotionIDMappings of outdated mappings since we can iterate over that array quite a bit. #rb none #tests multiPIE Change 3190217 on 2016/11/08 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 34.2 @ CL 3190009 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3190216 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3188560 on 2016/11/07 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 34.2 @ CL 3187796 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3188499 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3188012 on 2016/11/05 by Andrew.Grant Merging using ROBO://Orion/Main->//Orion/Dev-General #rb #tests na Change 3187818 on 2016/11/04 by Michael.Noland Editor: Refactored the game instance PIE creation hooks, allowing them to pass an error message back that will be displayed to the user explaining why PIE was aborted/failed to start - Fixed a potential crash trying to tear down a null world when UGameInstance::StartPlayInEditorGameInstance fails Upgrade notes: - UGameInstance::InitializePIE overrides should now override InitializeForPlayInEditor instead - UGameInstance::StartPIEGameInstance overrides should now override StartPlayInEditorGameInstance instead - These methods return a FGameInstancePIEResult which can be created via FGameInstancePIEResult::Success() or FGameInstancePIEResult::Failure(), and take a parameter struct to make it easier to send additional information in the future without breaking the signature again #rb matt.kuhlenscmidt #tests Tested various PIE configurations in Paragon Change 3187756 on 2016/11/04 by Michael.Noland Editor: Added support for games to respond to Play in Editor setting changes (by properly calling PostEditChange when the PIE/SIE menu options are picked/toggled) #tests Tested in Paragon by binding to FCoreUObjectDelegates::OnObjectPropertyChanged #rb ben.ziegler Change 3187258 on 2016/11/04 by Dan.Hertzka - UTextBlock::SetText is now virtual - OrionTextBlock has a property ("All Caps") that, if true, will always convert all text it's given to ALL CAPS #c0dereview Sean.Smith, Philip.Buuck, Marcel.Swanepoel, Bryan.Rathman #rb none #tests PIE Change 3187157 on 2016/11/04 by Jason.Bestimt #R0B0MERGE-AUTHOR: andrew.grant Case fix for staged files #rb Ben.Marsh #tests preflighted #R0B0MERGE-SOURCE: CL 3187153 in //Orion/Release-34/... via CL 3187154 via CL 3187155 via CL 3187156 #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3186870 on 2016/11/04 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 34.2 @ CL 3186846 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3186855 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3186243 on 2016/11/03 by Michael.Noland Engine: Fixed reporting of ScreenPct when the cvar is set directly rather than via game user settings - Also fixed a place that was using ScreenPct as an integer instead of a float in the OSVR plugin #jira OR-23184 #tests Tested by setting r.screenpercentage directly to a different value and inspecting the chart results #rb ben.ziegler Change 3185134 on 2016/11/03 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 34.2 @ CL 3185065 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3185131 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3183689 on 2016/11/02 by Aaron.McLeran OR-31091 Implementing 3175639 in Dev-General #rb zak.middleton #tests unplug headphones and observe no log spam or other issues Change 3183292 on 2016/11/02 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 34.2 @ CL 3182926 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3183084 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3182323 on 2016/11/01 by Dan.Hertzka Fix crash in sequencer when opening a widget BP with the sequencer tab closed (failed to null check) #c0dereview Nick.Darnell #rb Stephan.Jiang #tests none Change 3182295 on 2016/11/01 by Daniel.Lamb Fixed up routing BeginDestroy. #rb Andrew.Grant #jira OR-31043 #test Paragon win64 -game Change 3181975 on 2016/11/01 by Daniel.Lamb Make sure to remove safe zone delegate when canvas is destroyed. Moved registration of safe zone delegate to constructor. #rb Michael.Noland #jira OR-31043 #test Paragon win64 -game Change 3181895 on 2016/11/01 by Daniel.Lamb Make sure to remove safe zone delegate when canvas is destroyed. Moved registration of safe zone delegate to constructor. #rb Michael.Noland #jira OR-31043 #test Paragon win64 -game Change 3181892 on 2016/11/01 by Michael.Trepka Copy of CL 3162466 By default, do not compile Mac OpenGL and Metal SM4 shaders while cooking #rb Mark.Satterthwaite #jira UE-37088 #tests Cooked MacNoEditor data on Windows Change 3181624 on 2016/11/01 by David.Ratti Pass attribute value by reference through SetNumericValue_Internal so that the final/clamped value is what is broadcasted to attribute change delegates #rb none #tests golden path w/ extra logging to verify final value is what is broadcasted #c0dereview Billy.Bramer, Fred.Kimberley Change 3181574 on 2016/11/01 by Jason.Bestimt #ORION_DG - Fixing up R0B0MERGE issue #RB:none #Tests:none Change 3180859 on 2016/10/31 by Brian.Karis Removed SSAO from hair Change 3180320 on 2016/10/31 by Daniel.Lamb Added support for rebuild lighting commandlet to read maps to rebuild from ini file. #rb Andrew.Grant #test Paragon rebuild lighting #jira OR-30841 Change 3180227 on 2016/10/31 by Laurent.Delayen Disabled Warning to fix https://jira.it.epicgames.net/browse/OR-30965 Will be turned into a warning message in the BP editor. #c0dereview benn.gallagher #rb none #tests none Change 3179903 on 2016/10/31 by jason.bestimt #ORION_MAIN - Merge 34.2 @ CL 3179886 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3179895 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3177903 on 2016/10/28 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 34 @ CL 3177869 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3177901 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3175548 on 2016/10/26 by Michael.Noland GameplayAbilities: Change it so that delegates registered via RegisterGameplayAttributeEvent are still called on the client when there is no aggregator entry #rb david.ratti #c0dereview billy.bramer #tests Tested in multiplayer PIE client with a new minion callback and golden path in -game Change 3175544 on 2016/10/26 by Bart.Hawthorne Draft in replays improvements: - Marker added to timeline bar that shows when the level change happens - Added "Skip Draft" button when loading a replay which will bypass the draft - Only PvP matches will record replays - Added "Exit Replay" button to hamburger menu while in draft - No longer load hero data before viewing a replay if not skipping draft - Enable replay recording in PvP #rb john.pollard #c0dereview paul.moore #tests nomcp golden path up to spawnpoint, created and loaded several replays Change 3175533 on 2016/10/26 by Michael.Noland Fix for FMallocBinned::GetAllocationSize() for aligned allocations. #jira UE-37249 #jira UE-37243 #rb robert.manuszewski #lockdown robert.manuszewski [reimplementing CL# 3165739 from Release-4.13] #tests Compiled Change 3175311 on 2016/10/26 by Daniel.Lamb Added support for safe zone change. Messed up files in last checkin #test Ps4 paragon #jira OR-30506 #rb Matt.Kuhlenschmidt Change 3175298 on 2016/10/26 by Daniel.Lamb Added support for updating safe area #rb Matt.Kuhlenschmidt #c0dereview Andrew.Grant Nick.Darnell #test Ps4 paragon #jira OR-30506 Change 3175209 on 2016/10/26 by David.Ratti Fix a few cases where default gameplay cue parameters weren't initialized properly and could not be translated by the skin system. Fixes some mayan steel issues. #rb none #tests pie Change 3174858 on 2016/10/26 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 34/33.2 @ CL 3174784 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3174857 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3174822 on 2016/10/26 by Marcus.Wassmer Duplicate 3174187 #jira UE-37020 #rb marc.audy #test create/destroy effects with HQ lights in editor. Change 3174344 on 2016/10/25 by Ryan.Gerleve Added a bIsNetStartupComponent flag to UActorComponent. This will be set for components that are owned by an actor when that actor's bNetStartup flag is set. #rb john.pollard #tests golden path Change 3174270 on 2016/10/25 by Marcus.Wassmer Add LightingChannel control to High Quality particle lights. #rb none #test tested different lighting channels. Change 3173855 on 2016/10/25 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 34 @ CL 3173292 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3173361 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3173843 on 2016/10/25 by Michael.Trepka Update custom window controls on toggle fullscreen and make sure that when we switch to windowed mode we don't use window size that wouldn't fit on desktop #rb Matt.Kuhlenschmidt #tests Tested in editor build on PC Change 3173783 on 2016/10/25 by Dan.Youhon Add VelocityOnFinish mode options to RootMotionRadialForce so that designers can control what happens to a character's velocity when the ability task ends (part of #OR-30249) #rb None #tests MultiPIE Change 3173734 on 2016/10/25 by Dan.Youhon Protect against invalid Duration in FRootMotionSource_MoveToDynamicForce on simulated clients #OR-27128 #rb None #tests MultiPIE Change 3173714 on 2016/10/25 by David.Ratti Add Game and Engine Compat versions for replays #coderview John.Pollard #rb Lietz #tests golden path, replays Change 3173681 on 2016/10/25 by Bart.Hawthorne Implement drafting in replays. A replay spectator is spawned in the draft lobby so that the draft is saved out to the replay server, and clients are now able to travel in replays both when they occur "naturally" (at the same time as if they were a client), and also by scrubbing to a place in the timeline that's a different level. The feature is implemented but currently disabled by default - turn on by setting CVarEnableDraftInReplays to 1. Replays should function the same as before. Also fixed a warning on the dedicated server related to abandoning a draft. #rb john.pollard #c0dereview josh.markiewicz, paul.moore #tests nomcp golden path (up to spawning), recorded multiple replays and played back with lots of scrubbing Change 3173677 on 2016/10/25 by Andrew.Grant Reenabled audio thread Added safety wrapper to prevent code accidentally using events after they are returned to the pool. #tests na #rb Gil.Gribb Change 3173588 on 2016/10/25 by Ryan.Gerleve Added a replication condition to skip replays. #tests golden path #rb john.pollard Change 3172692 on 2016/10/24 by Marcus.Wassmer Fix OR-30390 caused by missing mutex lock #rb none #test compile ps4 Change 3172025 on 2016/10/24 by Matt.Kuhlenschmidt Fix blur widget not respecting clip rects #rb none #tests paragon blur widget clipping bugs Change 3171570 on 2016/10/23 by Mieszko.Zielinski Moved Bots' enemy selection eqs query triggering to native code #Orion Did this to be able to manually trigger enemy selection when current enemy dies, to avoid having a "null" enemy in BB for couple of ticks. Also, made couple of tweaks to positioning and tower attacking behavior of melee bots #rb none #test golden path Change 3171100 on 2016/10/21 by Aaron.Eady FGameplayCueTagDetails; Adding a check for if the RawStructData.Num > 0 before trying to use it. There was a case where you could crash the editor if you create a new GC tag inside of a BP, compile the BP, click Add New, select a GC type, then when the file is created, click away from it in the content browser. This repro wasn't 100% but often enough to caus a problem. #rb David.Ratti (actually wrote the code) #tests PIE Change 3171060 on 2016/10/21 by Ryan.Gerleve Some cleanup and fixes for deathcam: The recording demo net driver for the deathcam replay now uses checkpoint amortization to smooth out spikes. Converted UOrionKillcamPlayback::IsKillcamWorld to IsKillcamActor, since IsKillWorld isn't useful for the new single-world implementation. Converted a GetValueOnGameThread to GetValueOnAnyThread (wasn't in the merge) so that deathcam replay recording can happen on a thread. Added comment to UAbilitySystemComponent::OnComponentDestroyed. #rb john.pollard #tests golden path, enabled deathcam Change 3171041 on 2016/10/21 by Ryan.Gerleve Make the CheckpointSaveMaxMSPerFrame value a member of UDemoNetDriver so it can be set per instance, and convert the demo.CheckpointSaveMaxMSPerFrame cvar into an override for this value. #rb john.pollard #tests golden path Change 3170917 on 2016/10/21 by Mieszko.Zielinski Made a change to OrionBTTask_ObjectiveGraphMove to make it fallback to regular move if the destination is in the same or second-closest objective graph node #Orion #rb none #test golden path Change 3170914 on 2016/10/21 by Mieszko.Zielinski Fixed EQS scoring bug resulting in some items getting NaN scored #UE4 The NaN was happening when scoring but not filtering using a bool-based test, or when unintentionally skipping items by moving item iterator without doing any work. Removed a bunch of deprecated code while there #rb Lukasz.Furman #test golden path Change 3170912 on 2016/10/21 by Mieszko.Zielinski Manual merge of crucial BT fixed over from //Fortnite/Main #UE4 Original CL#3159145 , CL#3159892 #rb Lukasz.Furman #test golden path Change 3170478 on 2016/10/21 by David.Ratti fix editor crash related to recompiling gamplay cue blueprint while a preview animation is playing that invokes that gameplay cue. #rb none #tests editor Change 3170231 on 2016/10/21 by Ryan.Gerleve Fix for an issue that was preventing moving your hero after spawning in PIE in Agora: set the net driver on static level collections as well. #tests golden path, PIE #c0dereview john.pollard #rb none Change 3170074 on 2016/10/20 by Ryan.Gerleve Merging support for recording client replays in a task parallel with Slate (optimization for deathcam) from UE4/Dev-Networking. CL 3169209 #tests golden path, replays #rb none Change 3170019 on 2016/10/20 by Ryan.Gerleve Merging support for deathcam memory optimizations (level collection work) from UE4/Main and UE4/Dev-Networking. CLs: 3134499 3134771 3135279 3137140 3138081 3140413 3150142 3142515 3162189 3162194 #tests golden path #rb none Change 3169686 on 2016/10/20 by Michael.Trepka Fixed a Windows-specific problem with parts of the custom window buttons not accepting mouse clicks when the window is maximized due to window region used by FWindowsWindow::IsPointInWindow() being offset by border size. #rb Jeff.Campeau #tests Tested in editor build on PC Change 3169668 on 2016/10/20 by Max.Chen Sequencer - Don't crash when a bool track or visibility track has a null runtime object. Copy from Odin #rb none #tests opened a recorded sequence Change 3169657 on 2016/10/20 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_33 - Fix for localization export of web data Fixed export of localized formatted text - Removed the super-specific GetSourceTextsFromFormatHistory, and replaced it with the more-generic GetHistoricFormatData to get information about an FText that was generated via FText::Format. - Added GetHistoricNumericData to get information about an FText that was generated via FText::AsNumber or FText::AsPercent. - Updated the translation picker to use GetHistoricFormatData. - Removed the code from FMultiLocHelper that used GetSourceTextsFromFormatHistory as it wasn't actually needed. - Added code to FGameDataExporter to correctly localize a formatted text for a given culture, and re-format the result for export. [c0dereviewed]: jamie.dale #RB:none #Tests:Exported game data! #R0B0MERGE-SOURCE: CL 3169653 in //Orion/Release-33/... via CL 3169654 via CL 3169655 via CL 3169656 #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3169616 on 2016/10/20 by David.Ratti missed file #rb none #tests none Change 3169597 on 2016/10/20 by David.Ratti Missed include #rb DanH #tests none Change 3169393 on 2016/10/20 by David.Ratti AbilitySystem.GlobalAbilityScale cvar to help design iterate on animation/duration based tweaks #rb none #tests pie Change 3168287 on 2016/10/19 by Mieszko.Zielinski Expanded EQS info logged with vlog #UE4 #rb none #test golden path Change 3168282 on 2016/10/19 by David.Ratti Restore warning when multiple GC notifies try to handle the same tag. #rb none #tests compile, launch editor, see warnings, cry Change 3168196 on 2016/10/19 by Jon.Lietz compile fix, removing the int version of FirstActiveIndex and leaving the in32 version. #RB none #tests compiles Change 3168041 on 2016/10/19 by Michael.Trepka Don't restore saved resolution on window activation in non-fullscreen modes #rb Matt.Kuhlenschmidt #tests Tested in editor build on PC Change 3167859 on 2016/10/19 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Implementing in Dev-General for Joey since he needs the fix ASAP. #rb Jeff.Campeau #tests perform tests described in JIRA bug. Change 3167790 on 2016/10/19 by Andrew.Grant Duplication of 3167569 from //Odion/Main for Paragon cinematics #rb none #tests compiled Change 3167682 on 2016/10/19 by Laurent.Delayen Integrated #ORION_33.1 - Disabled WindSources on Cloth and AnimDynamics, as it's not safe to access from the GameThread. https://jira.it.epicgames.net/browse/OR-30473 #rb ori.cohen, benn.gallagher #tests Vamp, Kwang, Chains in Persona and PIE with WindActor in level. Change 3167466 on 2016/10/19 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 33.2 @ CL 3167368 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3167456 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3167312 on 2016/10/19 by Mieszko.Zielinski Fixed EQS template cache issues with multiple query run modes #UE4 #rb Lukasz.Furman #test golden path #jira UE-37496 Change 3166784 on 2016/10/18 by Laurent.Delayen Don't leave PhysicsBodies::bWindEnabled uninitialized in case Wind is not enabled (Persona) #rb none #c0dereview benn.gallagher #test Chains in Persona Change 3166641 on 2016/10/18 by Mieszko.Zielinski Made the value span used for EQS item score normalization configurable #UE4 #rb Lukasz.Furman #test golden path Change 3166632 on 2016/10/18 by Jason.Bestimt #R0B0MERGE-AUTHOR: andrew.grant Added support for multiple deployment sandboxes on PS4. BuildCookRun -deploy=SomeDir ps4.elf -deployedbuild=SomeDir Omitting name in -deploy/-deployedbuild falls back to previous default of using 'GameName' as the deployment sandbox. #tests BuildCookRun with -deploy and -deploy=Orion_v33, Ran PS4 with -deployedbuild and -deployedbuild=Orion_v33 [c0dereviewed] Marcus.Wassmer, Luke.Thatcher #rb none #R0B0MERGE-SOURCE: CL 3166622 in //Orion/Release-33/... via CL 3166629 via CL 3166630 via CL 3166631 #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3166494 on 2016/10/18 by Michael.Noland Engine: Removed irrelevant GPU stats from FPS chart server analytics reports #jira OR-13877 #rb david.ratti #tests Ran golden path on uncooked Win64, used forcewinmatch, and inspected the analytics arrays Change 3166476 on 2016/10/18 by Michael.Noland Cooker: Deleting dead GenerateManifestInfo methods #tests Compiled #rb none #c0dereview daniel.lamb Change 3166471 on 2016/10/18 by Michael.Noland Making sure DebugWorlds/DebugWorldNames are in sync, since we expect an index from one to match the other (fixes an issue where users could select a debug world and the wrong one was chosen). [reimplementing CL# 3157138 by Mike.Beach] #jira UE-37107 #rb Dan.OConnor #tests Tested multiplayer PIE and opening an anim BP Change 3166460 on 2016/10/18 by Michael.Noland Particles: Prevent log spam on servers about stripped emitters #rb graeme.thornton [reimplementing CL# 3157862 by Simon.Tovey] #tests Ran an uncooked server and tested golden path Change 3166339 on 2016/10/18 by Laurent.Delayen oops, this file got away. #rb none #tests none Change 3166337 on 2016/10/18 by Laurent.Delayen Fix for AnimDynamics Wind crash. https://jira.it.epicgames.net/browse/OR-30351 Access WindParameters on GameThread. Also minor optimization: don't iterate over bodies every frame if wind is off. #rb benn.gallagher #c0dereview lina.halper, thomas.sarkanen #tests Vamp Change 3166207 on 2016/10/18 by Mieszko.Zielinski Bot perception work #Orion Added a new sense that makes bots know about enemies visible on the minimap Made jungle minions do not register as sight sources Cleaned up bot perception component a bit #rb none #test golden path Change 3166138 on 2016/10/18 by Michael.Noland Blueprints: Converted a crash with the debug world name in the BP editor to an ensure until it can be fixed properly (see OR-29650) #c0dereview dan.oconnor #rb none #tests Tested opening an anim BP during multiplayer PIE Change 3165860 on 2016/10/18 by David.Ratti remove some debug code that wasn't intended to be checked in #rb none #tests compile Change 3165288 on 2016/10/17 by Ian.Fox #XMPP - Add correlation id attribute to outgoing stanzas #RB Rob.Cannaday #Tests Correlation IDs come back in responses to xmpp messages we send #JIRA OGS-409 Change 3165096 on 2016/10/17 by David.Ratti Fix issue where gameplay tags net indices would be out of sync on cooked PS4 client playing on uncooked windows servers. Would cause some effects to not play. #rb none #tests PS4/PC crossplay Change 3164973 on 2016/10/17 by Dan.Hertzka Fix link error #rb #tests compile Change 3164910 on 2016/10/17 by Lukasz.Furman fixed bug in merging behavior tree searches copy of CL 3164903 #ue4 #rb Mieszko.Zielinski #tests none Change 3164908 on 2016/10/17 by Dan.Hertzka Exposing the blur widget for use in Paragon ** Use OrionBlurWidget, not the base BackgroundBlurWidget - Added it to the hero and default tooltips for reference #rb none #c0dereview Marcel.Swanepoel, Sean.Smith, Bryan.Rathman #tests PIE Change 3164482 on 2016/10/17 by David.Ratti Editor loadtime improvements * Refactor GameplayCue manager to support two distinct object library sets: Runtime and Editor. Editor library operates on all valid gameplay cue paths but never loads or scans, only reflects what asset registry has found. Runtime library is the initial loaded paths + any explicit requests. These scan when needed and async load at startup. * Wrote UOrionAsyncLoadRequestQueue to feed the async load queue with requests at startup. This is to avoid submitting 300+ requests at startup and have them flushed by a sync load. The editor will wait until it is fully initialized before kicking these off. * Changed UOrionUIManagerWidget to weakly reference all of its state widgets. In non editor builds these are all loaded at startup like before. In editor builds, we sync load them on demand. This allows us to not load everything in order to PIE. * Added options for loading various pieces of data at editor startup: HUDwidget V4, last used hero data, and shared gameplay cues. * -game -nomcp will now properly async load initial set of data * BeginLoadAsyncData no longer takes netmode as parameter since it is confusing and can just use IsDedicatedServer() internally * Added new log category: LogOrionStartup #rb none #c0dereview Dan.Hertzka #tests pie, golden path, cooked PS4 Change 3163635 on 2016/10/14 by Laurent.Delayen AnimInstance: Pass a few FNames by reference instead of by value. Added CalcSlotMontageLocalWeight to get local a slot's local weight without a frame a lag. Fixed Montage update happening after native update on gamethread, but before native update on worker thread. Now happens before both, so we can reliably get montage weights without a frame of lag regardless of where we access it. #rb none #c0dereview martin.wilson, thomas.sarkanen #tests fixes Twinblast's primary fire blend out having a frame a lag. Change 3163620 on 2016/10/14 by Laurent.Delayen AnimNode_Slot debug: Show actual slot local weight, instead of always 1. #rb none #c0dereview martin.wilson #tests twinblast debug Change 3163061 on 2016/10/14 by Andrew.Grant Pulling test framework changes into seprate CL #rb #tests na Change 3162675 on 2016/10/13 by Jason.Bestimt #R0B0MERGE-AUTHOR: andrew.grant Merging test framework changes down early. #rb #tests na #R0B0MERGE-SOURCE: CL 3162674 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3162062 on 2016/10/13 by Michael.Trepka Replaced FWindowsCursor hack for warping the mouse cursor to the center of the viewport with a better fix for the original problem (users being able to resize the window while the cursor is hidden and the mouse controls the camera). This change removes round window corners in borderless window mode and disables window resizing when the cursor is hidden. #rb Matt.Kuhlenschmidt #tests Tested in editor build on PC Change 3161489 on 2016/10/13 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 33.2 @ CL 3161453 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3161473 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3160664 on 2016/10/12 by Ben.Salem Fix logic order error fuzzy matching on automated tests - we were only allowing one match per filter instead of one match per test. #rb adric.worley #tests Ran All Ftests that start with S Change 3159866 on 2016/10/12 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 33.2 @ CL 3159727 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3159865 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3158870 on 2016/10/11 by John.Barrett Fixed issue where some PacketHandler parsing errors, would not stop NetConnection processing of packets, and would not trigger a disconnect. #JIRA OR-29219 #rb none #tests compiles, client/server Change 3158336 on 2016/10/11 by Lukasz.Furman string pulling for local navigation grids #ue4 #rb Mieszko.Zielinski #tests PIE Change 3158203 on 2016/10/11 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 33.2 @ CL 3158043 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3158154 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3158162 on 2016/10/11 by Matt.Kuhlenschmidt Added a blur widget to umg that applies a blur effect to whatever is behind the widget - The widget has a content slot that can be used to display unblurred content on top of the blur - The widget has a low quality mode brush that can be applied instead of the background blur. This is enabled by the cvar Slate.ForceBackgroundBlurLowQualityOverride=1 - This widget is currently expermental and must be subclassed to be used #tests Tested on PS4, PC, Mac (opengl and metal) #rb nick.darnell Change 3157232 on 2016/10/10 by Lukasz.Furman added local navigation grids: dynamic obstacles on static navmesh #ue4 #rb Mieszko.Zielinski #tests none, disabled by default Change 3157112 on 2016/10/10 by Laurent.Delayen Removed my layer anim node fix, since Martin did a similar fix. #rb none #tests compiles #c0dereview martin.wilson Change 3156789 on 2016/10/10 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 33.2 @ CL 3156726 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3156788 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3156717 on 2016/10/10 by Jason.Bestimt #R0B0MERGE-AUTHOR: andrew.grant Merging 3156681 from //Orion/Release-33 to Main #rb #tests na #R0B0MERGE-SOURCE: CL 3156713 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3156596 on 2016/10/10 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node (recreated from dev-framework CL 3112086) #Jira OR-30017 #rb Lina.Halper #tests Tested affected anim nodes in editor Change 3156149 on 2016/10/08 by Jason.Bestimt #R0B0MERGE-AUTHOR: andrew.grant Merging test framework changes from //Orion/Release-33.2 to Main (//Orion/Main) #rb #tests na #R0B0MERGE-SOURCE: CL 3156148 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3155444 on 2016/10/07 by David.Ratti -Fix crashes from FScalableFloats caching raw curve pointers by invalidating cache on curve table swaps -Removed the old code that was trying to do this in the editor on reimport, which never actually worked properly. #rb none #tests golden path Change 3155228 on 2016/10/07 by Michael.Trepka Partial (Windows implementation only) copy of CL 3151851 from //UE4/Main Added DesktopRect and WorkArea to FMonitorInfo for desktop platforms and used that to fix an issue in SceneViewport where windowed fullscreen mode would be forced to primary monitor and incorrectly positioned on desktops where a taskbar/dock/etc. was on the left #rb Dmitry.Rekman #tests Tested in editor build on PC Change 3154910 on 2016/10/07 by Lukasz.Furman added new accessors in TSimpleCellGrid and inlined bunch of functions #ue4 #rb none #tests none Change 3154906 on 2016/10/07 by Lukasz.Furman adjusted comments for FGraphAStar #ue4 #rb none #tests none Change 3154679 on 2016/10/07 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 33 @ CL 3154662 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3154677 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3153638 on 2016/10/06 by Andrew.Grant Duplicating fix for UE-36087 from UE4 #rb #tests na Change 3153325 on 2016/10/06 by David.Ratti CurveTableSets: support for multiple spread sheets -Sovereign data located in Sovereign subfolder, cloned from base data. #rb none #tests PIE, golden path Change 3153318 on 2016/10/06 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge DUI @ CL 3152667 #RB:none #Tests:none [c0dereviewed]: kerrington.smith, matt.schembari #R0B0MERGE-SOURCE: CL 3153310 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3153268 on 2016/10/06 by David.Ratti Missed file for engine changes #rb none #tests none Change 3153264 on 2016/10/06 by David.Ratti Move some DetailCustomziation classes to public folder so that games can override/extend them. Also made some virtual functions to override the things paragon needs to. #rb none #tests paragon editor Change 3153204 on 2016/10/06 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 32.2/33 @ CL 3152587 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3153171 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3152699 on 2016/10/05 by Andrew.Grant I apologize for the mega-checkin but there are a lot of dependencies here, the work spiralled, and I've been cranking to get this in for the v33 branch. Please review and comment on what you know about and don't worry about the rest :) -Added options-struct to MallocLeak detection to allow filtering open callstacks by frame range and size. This is now used in Paragon automatic tests to dump out memory left loaded by the previous map. -PS4StackWalk now uses lowercase filenames as this is how non-UFS files are staged -Renamed Orion.Foo.cs test scripts to OrionTest.Foo.cs -Split some Orion tests into seprate scripts -Added concept of "TestControllers". These are constructed by OrionEngine based on the -test= commandline and provide a super-simple way to implent state-based logic and checks by overriding base class functions. -Added controllers for Boot, Soak, and Leak checks -Renamed SimpleSolo bot to SimpleSoak. Moved a lot of logic about match composition and state to OrionTestControllerSoak -Added new MatchStarted/MatchEnded delegates to OrionGameState for clients -Fixed issues where OrionGameState_Base::HasMatchStarted would return true for WaitingForPlayers and MatchCountdown -OrionBot code no longer caches command line since some TestControllers set it at runtime -Added some ensures in Draft logic to catch/guard against a crash being triggered by bots. #rb none #tests verified all of the above and much more! #c0dereview David.Ratti, Marcus.Wasmer,Michael.Noland Change 3152605 on 2016/10/05 by Andrew.Grant Suppressed warning about missing parent if parent package was in the KnownMissingPackageList Added Editor ScaleRef stuff to Orion to suppress cooked warning #rb none #c0dereview Marcus.Wassmer #tests Verified warning about ScaleRef being missing is gone Change 3152596 on 2016/10/05 by Andrew.Grant Made ASLR an option that can be disabled. Disabled ASLR for Paragon PS4 Test builds so symbol lookup is available for diagnostics. Made "don't optimize adaptive unity files" an official feature, off by default but turned on in Paragon #c0dereview Luke.Thatcher #rb none #tests Verified test build has symbols that can be resolved. Verified an adaptive unity file is non-optimized, but non-adaptive files are optimized as normal Change 3152399 on 2016/10/05 by Josh.Markiewicz #UE4 - temporary fix for OSS R0B0MERGE issue #rb david.nikdel #test compiles Change 3150916 on 2016/10/04 by Daniel.Lamb Removed warning when shader compiler is in a bad state. #rb Andrew.Grant #jira OR-29580 #test Cook paragon Change 3150889 on 2016/10/04 by Ben.Salem Add log feedback to automation harness when processing commands, including syntax helpers when an unhandled command is added. #rb adric.worley #tests Ran several commands to see log output. Change 3150844 on 2016/10/04 by Lukasz.Furman compilation fix #rb none #tests none Change 3150759 on 2016/10/04 by Lukasz.Furman added "hidden" state to gameplay debugger category #ue4 #rb Mieszko.Zielinski #tests config changes and PIE Change 3150758 on 2016/10/04 by Lukasz.Furman pass on SimpleCellGrid template to make it usable for local navigation grids #orion #rb Mieszko.Zielinski #tests PIE on agora, AI tactics debug on agora Change 3150567 on 2016/10/04 by Dan.Hertzka Rough initial implementation of a generic UI layer for moving widgets around to and from arbitrary locations. Lots of possible uses. For example, equipping a card in the card shop that then animates down into the correct hand slot. - Not in actual use anywhere yet #rb none #tests PIE Change 3150307 on 2016/10/04 by Laurent.Delayen Removed check() not considering SimulatedRootMotion for RemoteClients. #rb none #tests compiles Change 3150236 on 2016/10/04 by Josh.Markiewicz #UE4 - added documentation to FNetworkNotify interface - fixed bad UE_LOG category while double checking the above #rb none #tests compiles Change 3150206 on 2016/10/04 by Josh.Markiewicz #UE4 - moved ClientTravelToSession out of AGameSession and into UGameInstance - removed similar function from UGameInstanceCommon - more common usage location #rb none #c0dereview paul.moore #tests rejoin vectors and golden path Change 3150073 on 2016/10/04 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 32.2/33 @ CL 3150010 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3150072 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3150031 on 2016/10/04 by Mieszko.Zielinski New AIData provider that generated random numbers #UE4 #rb Lukasz.Furman #test golden path Change 3149946 on 2016/10/04 by Ben.Woodhouse Make UPrimitiveComponents (and derived variants) take proxy memory into account in GetResourceSize() We do this by dereferencing the SceneProxy directly, but this should be safe, since we NULL it on the gamethread before the proxy is released. #jira OR-26778 #rb luke.thatcher #tests compile, run Win64 with -game, run editor Change 3149743 on 2016/10/03 by Ben.Salem Null check for blank test names when making functional tests to repair crash on server. #rb nick.darnell #tests Ran multiple FTests Change 3149460 on 2016/10/03 by Laurent.Delayen Refactored TickCharacterPose. Now calls 'ShouldTickPose' so it can get properly obey bPauseAnims, MeshComponentUpdateFlag and other conditions. Still forces updates when playing networked root motion montages, and that check is now done inside of USkeletalMeshComponent::ShouldTickPose(). Fixes human players always calling TickPose regardless of settings on dedicated servers. Also addresses Jira UE-34720 #rb martin.wilson #tests networked Vamp x2 + golden path Change 3149435 on 2016/10/03 by Mieszko.Zielinski Fixed a bug in EQS item score normalization for the purposes of drawing #UE4 Also, made printed out scores not normalized since seeing original EQS calculated score desirable #rb Lukasz.Furman #test golden path Change 3148550 on 2016/10/03 by John.Barrett Fixed bad/blocking ensure added in FBitReader. OR-29219 #tests compile #rb none Change 3147460 on 2016/09/30 by Laurent.Delayen Fixed AOrionChar::UpdateAnimationTicking never setting EMeshComponentUpdateFlag::OnlyTickPoseWhenRendered, because OnMontageEnded() is called before the MontageInstance is actually removed and deleted. Added OnAllMontageInstancesEnded to AnimInstance, and used that to call UpdateAnimationTicking. #rb michael.noland #tests Golden Path Change 3146677 on 2016/09/30 by Jamie.Dale Fixed UGatherTextFromSourceCommandlet::ParseSourceText being able to underflow while parsing #rb Andrew.Rodham #tests Ran the gather Change 3146555 on 2016/09/30 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 32.2 @ CL 3146524 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3146553 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3146129 on 2016/09/29 by Michael.Noland Engine: Fixed the spectator camera (used in ToggleDebugCamera) so it moves consistently regardless of the slomo value by using the raw frame delta rather than trying to counter-correct for time dilation #c0dereview marc.audy #rb none #tests Tested ToggleDebugCamera with slomo 0.00001 Change 3145574 on 2016/09/29 by Adric.Worley Fix FunctionalTestingManager not compiling when included #tests compile #rb mieszko.zielinski Change 3145224 on 2016/09/29 by Michael.Trepka Better check for whether or not PreFullscreenWindowPlacement in FWindowsWindow is valid #rb Dmitry.Rekman #tests Tested editor build on PC Change 3145132 on 2016/09/29 by Alexis.Matte Make sure we use GetMesh instead of the SkeletalMeshPtr variable. #jira OR-29617 #rb matt.kuhlenschmidt #test none Change 3144926 on 2016/09/29 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 32.2 @ CL 3144835 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3144925 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3144920 on 2016/09/29 by Benn.Gallagher Added "Reset Clothing Sim" anim notify to trigger a clothing reset from an animation, to help with issues arising from extreme movements in animations. #rb James.Golding #tests Editor + -game vamp RMB abilities using new notify Change 3144055 on 2016/09/28 by Jason.Bestimt #R0B0MERGE-AUTHOR: ben.marsh BuildGraph: Fix builds created with preconditions on nodes behind triggers, causing nightly builds to run forever due to conditions never evaluating to true. #rb none #tests Compared exported job definition before and after #R0B0MERGE-SOURCE: CL 3143992 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3143801 on 2016/09/28 by Mieszko.Zielinski Made UAIBlueprintHelperLibrary::CreateMoveToProxyObject deduce WorldContextObject from Pawn if not received from BP #Orion Also, made failing to do so not fails a check #rb Lukasz.Furman #test golden path #c0dereview Aaron.Eady Change 3142377 on 2016/09/27 by Jason.Bestimt #R0B0MERGE-AUTHOR: marcus.wassmer Fix crashes when using GBuffer resources in simpleforward mode. #rb Daniel.Wright #test vamp Q on low settings. #R0B0MERGE-SOURCE: CL 3142376 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3141628 on 2016/09/27 by David.Ratti Guard against recursion in WaitGameplayEffectApplied ability task #rb none #tests pie crash case Change 3141497 on 2016/09/27 by Marcus.Wassmer Duplicate 3123743 Separate skeletal/static mesh lod interfaces #rb none #test created an LOD for vamp locally. Change 3140832 on 2016/09/26 by Jason.Bestimt #R0B0MERGE-AUTHOR: marcus.wassmer Remove dubious non-threadsafe GBuffer reference adjustments. Possibly fix OR-29506 #rb none #test PC on all settings #R0B0MERGE-SOURCE: CL 3140831 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3140828 on 2016/09/26 by Uriel.Doyon Workaround (reverting previous attemp) at fixing issue with FTextRenderSceneProxy when running command let. #rb marcus.wassmer #tests running lighting build with command let & loading editor Change 3140331 on 2016/09/26 by Jason.Bestimt #R0B0MERGE-AUTHOR: andrew.grant Cloning fix for UE-36253 from //UE4/Dev-Framework/... #rb #tests na #R0B0MERGE-SOURCE: CL 3140329 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3139976 on 2016/09/26 by David.Ratti balance tweaker + some prep for multiple data tables support #rb none #tests pie, golden path Change 3139904 on 2016/09/26 by Jason.Bestimt #R0B0MERGE-AUTHOR: andrew.grant Adding code to log name of package that refuses to load... #rb none #tests compiled #R0B0MERGE-SOURCE: CL 3139902 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3139871 on 2016/09/26 by Jason.Bestimt #R0B0MERGE-AUTHOR: andrew.grant Fixes for OR-29229 and OR-29413 #rb #tests na #R0B0MERGE-SOURCE: CL 3139870 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3139751 on 2016/09/26 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 32.2 @ CL 3139692 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3139740 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3139451 on 2016/09/25 by Uriel.Doyon Submitted a workaround for the lighting build command let crash. #rb none #tests loaded editor, built lighting command let Change 3138304 on 2016/09/23 by David.Ratti Fix checkslow in Debug editor #rb none #tests debug editor #c0dereview Martin.Wilson Change 3138068 on 2016/09/23 by Laurent.Delayen Don't try to match invalid GUIDs in FSmartNameMapping::GetNameByGuid. Fixes Steel's curves all getting matched to 'DistanceCurve' #rb martin.wilson #tests Steel's curve are not all 'DistanceCurve' Change 3137830 on 2016/09/23 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 32.2 @ CL 3137699 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3137746 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3137657 on 2016/09/23 by Ben.Marsh Fix initialization order warning. #rb none #tests none Change 3137628 on 2016/09/23 by bruce.nesbit Fixed non-unity compiles in LandscapeSplines and LandscapeSplineRaster #rb none #tests Compiled NU Change 3137538 on 2016/09/23 by Thomas.Sarkanen Fix crash rendering sequence with keyframed material parameters Ported Frank F's fix from Dev-Sequencer. Original CL 3136577: Sequencer - Always use a unique name when creating dynamic material instances for animation to prevent reuse and resource issues. #tests Rendered out problematic sequence successfully multiple times #rb none #jira UE-36175 - Keyframing material parameters can cause crashes when rendering #c0dereview Frank.Fella Change 3136580 on 2016/09/22 by Ben.Marsh Merging CL 3136158 to fix support for generating project files with Visual Studio Express. #rb none #tests none Change 3136574 on 2016/09/22 by Michael.Trepka Fixed a crash caused by trying to redraw window contents while switching from fullscreen to windowed mode #rb Marcus.Wassmer #tests Tested editor build on PC Change 3136293 on 2016/09/22 by Adric.Worley Add BlueprintType to EFunctionalTestResult #tests editor #rb ben.salem #c0dereview nick.darnell Change 3136240 on 2016/09/22 by Andrew.Grant Merging from //UE4/Main @ 3135156 #rb none #tests QA pass and local golden path Change 3136197 on 2016/09/22 by Jamie.Dale Merging CL# 3094477 and CL# 3111827 to fix some tesselated landscape crashes #rb Gareth.Martin #tests Loaded the map that was crashing Change 3135914 on 2016/09/22 by Dan.Youhon Fixed CharacterMovementComponent impulse net correction handling during additive root motion (part of #OR-5545) - Fixes #OR-28478, heroes tethered by Kwang cannot be knocked up - Fixes #OR-18985, Gideon R ability negating knockback/knockup effects (including Howitzer E) #rb None #tests MultiPIE #R0B0MERGE: MAIN, 32.2, 32.1 Change 3135893 on 2016/09/22 by David.Ratti GameplayCueeditir Change override type from a checkbox to a combobox to make things a little clearer #rb none #tests gameplaycue editor Change 3135843 on 2016/09/22 by jason.bestimt #ORION_MAIN - Merge 32.2 @ CL 3135756 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3135820 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) #R0B0MERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. //Orion/Dev-General/OrionGame/Content/Balance/HeroData.uasset - can't integrate exclusive file already opened //Orion/Dev-General/OrionGame/Content/Cards/Effects/P_ThunderCleaver.uasset - can't integrate exclusive file already opened //Orion/Dev-General/OrionGame/DataTables/HeroData.xlsm - can't integrate exclusive file already opened #c0dereview: jason.bestimt Change 3134639 on 2016/09/21 by jason.bestimt #ORION_MAIN - Merge 32.2 @ CL 3133910 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3134086 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) #R0B0MERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. #c0dereview: jason.bestimt Change 3134367 on 2016/09/21 by Ben.Woodhouse More complete fix for SSAO issues. Disable vertex fogging automatically if forward shading is disabled #rb daniel.wright #tests none Change 3134176 on 2016/09/21 by Jason.Bestimt #ORION_DG - UnrealPak speed improvements Moving shelved CL to DG and submitting for DanielL #RB:none #Tests:none #c0dereview: andrew.grant, daniel.lamb Change 3134129 on 2016/09/21 by Jamie.Dale Added the "unattended" flag when running the localzation commandlets via UAT #rb none #tests Built UAT Change 3133864 on 2016/09/21 by Ben.Woodhouse Default r.VertexFoggingForOpaque to 0, since it only makes sense for forward shading. This was causing fog to be modulated by SSAO in Orion. Note: this setting is overridden to 1 in Odin's DefaultEngine.ini, so it should work in that case. #c0dereview daniel.wright #rb luke.thatcher #jira OR-29262 #tests yes Change 3133849 on 2016/09/21 by Martin.Wilson Fix pose blending for on non-additive pose blending + remove normalising of weights for weights less than 1 #rb Jurre.DeBaare #tests Editor tests with mambo pose asset #jira UE-36189 Change 3133546 on 2016/09/20 by Jason.Bestimt #R0B0MERGE-AUTHOR: marcus.wassmer Null merge of 3131588. Fix from 31.1 is unncecessary as a more complete fix came from the engine integration that's in v32. #rb none #tests none [c0dereviewed] Jason.Bestimt #R0B0MERGE-SOURCE: CL 3132617 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3133487 on 2016/09/20 by Michael.Noland Automation: Added Automation to the manual autocomplete list Change 3133363 on 2016/09/20 by Daniel.Lamb Added Jaymee Sanford and Tony Oliva to the rebuild lighting email list. #rb Trivial #test Compile automation tool Change 3132956 on 2016/09/20 by Benn.Gallagher Fixed crash when importing clothing with mismatching number of triangles when compared to the original render data #tests Editor, apex reimport #rb none Change 3132403 on 2016/09/20 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 32.2 @ CL 3132254 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3132353 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3132332 on 2016/09/20 by Andrew.Grant Replicated UE4/Main fix for missing materials pane #rb none #tests verified material pane shows Change 3132131 on 2016/09/20 by Jason.Bestimt #R0B0MERGE-AUTHOR: andrew.grant Merging automation work from //Orion/Release-32.2 to Main #rb none #tests verified functionality #R0B0MERGE-SOURCE: CL 3132130 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) Change 3131698 on 2016/09/19 by Andrew.Grant Qucik fix to unblock build. Will follow up correct way tomorrow #rb none #tests blueprint compiles Change 3131489 on 2016/09/19 by Andrew.Grant Merging from //UE4/Orion-Staging (Source: //UE4/Main @ 3111290) #rb none #tests QA pass in Orion-Staging, Golden path post merge Change 3131350 on 2016/09/19 by Adric.Worley Fix functional test reporting typo #tests PIE #rb ben.salem Change 3130959 on 2016/09/19 by Mieszko.Zielinski Compilation fix #UE4 #rb none #test compilation Change 3130904 on 2016/09/19 by Mieszko.Zielinski Couple of generic AI perception fixes #UE4 Made unregistering AI sight source broadcast "no longer visible" information to all observers currently "seeing" the source Fixed FActorPerceptionInfo::GetLastStimulusLocation not carying whether selected stimulus was successfully sensed Fixed dominant sense not really working if not set with UAIPerceptionComponent::SetDominantSense call #rb Lukasz.Furman #test golden path Change 3130304 on 2016/09/19 by Jason.Bestimt #R0B0MERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 32.2 @ CL 3130115 #RB:none #Tests:none #R0B0MERGE-SOURCE: CL 3130164 in //Orion/Main/... #R0B0MERGE-BOT: ORION (Main -> Dev-General) [CL 3205566 by Andrew Grant in Main branch]
2016-11-20 21:35:35 -05:00
UnityCPPFileName = string.Format("{0}{1}.cpp", ModulePrefix, BaseName);
Merging UE4-Pretest @ 2042161 to UE4 Change 1996384 by Andrew Brown: 322252 - EDITOR: Asset picker displays incorrect text when there are no filter results. Change 1996385 by Andrew Brown: 321858 - CRASH: Assertion failed: (Index >= 0) Function: STransformViewportToolBar::GetLocationGridLabel() STextBlock::CacheDesiredSize() Change 1996977 by Andrew Brown: 309685 - UE4: Adding an event/renaming an event on an event track in Matinee does not update the MatineeActor node in blueprint Change 2034873 by Jaroslaw Palczynski: More robust VS installation detection. Change 2039693 by Jaroslaw Palczynski: 327268 - RocketGDC: POSTLAUNCH: DEV: Make engine more robust against bad Visual Studio environment variables Change 1978978 by Jaroslaw Surowiec: - Removed obsolete AllowEliminatingReferences from the FArchive Change 2020326 by Maciej Mroz: pretest BP K2Node: RemovePinsFromOldPins function moved from K2Node to RemovePinsFromOldPins Change 2017608 by Maciej Mroz: pretest Some changes in SFortMissionEventSelector caused by FPinTypeTreeInfo Change 2017463 by Maciej Mroz: PinTypeSelector can lins unloaded UDStructs Change 2019979 by Maciej Mroz: pretest BP: Crash when performing Diff against Depot with blueprints containing Format Text nodes Change 2024469 by Maciej Mroz: MemberReference variable added to PinType. It's necessary for delegate's signature. Change 2024049 by Maciej Mroz: HasExternalBlueprintDependencies added to UK2Node_DynamicCast Change 2024586 by Maciej Mroz: FillSimpleMemberReference fix Change 2024472 by Maciej Mroz: workaround for delegates signature in pintype removed. Change 2023997 by Maciej Mroz: BP, UDStruc: Class UserDefinedStructEditorData added. It fixes many problems with undo/redo. Change 2021934 by Maciej Mroz: typo in a comment Change 2020355 by Maciej Mroz: Back out changelist 2020342 Change 2022178 by Maciej Mroz: CRASH: PRETEST: EDITOR: UDS: Crash when undo then redo new variable in struct that is used by blueprint Change 2021958 by Maciej Mroz: CRASH: PRETEST: EDITOR: UDS: Crash using variable of a type of copied struct in blueprint Change 1986247 by Maciej Mroz: User Defined Structures: circle dependency fixed. Early version. Change 1985107 by Maciej Mroz: UserDefinedStruct cannot have a field of a non-native type Change 1986278 by Maciej Mroz: pretest ensureMsgf in Struct::link Change 1986250 by Maciej Mroz: User Defined Struct: Non native classes are accepted types od values in structures. Change 1980955 by Maciej Mroz: Using AssetPtr and LazyPtr as UFunction parameter (intput or return) is explicitly disallowed. Change 2041215 by Maciej Mroz: ttp331249 BLOCKER: PRETEST: UI: Survive the Storm is missing the Mission HUD. Change 1984316 by Maciej Mroz: New User Defined Structure. WIP - there are still problems with circular dependencies. Change 2011616 by Maciej Mroz: UserDefinedStructures - various problems fixed. Change 2011609 by Maciej Mroz: more robust HasExternalBlueprintDependencies implementation Change 2016697 by Maciej Mroz: pretest BP: UDStruct - default value propagation in cooked build Change 2016288 by Maciej Mroz: pretest BP: UDStruct: Renaming variables wont break links from make/break nodes Change 1987637 by Maciej Mroz: CustomStruct icons placeholders Change 1987422 by Maciej Mroz: Better tooltips for variables in MyBlueprint Change 1991387 by Maciej Mroz: UDStructures fixes: Change 2029165 by Maciej Mroz: BP: better comment for incomatible pins Change 2030016 by Maciej Mroz: 8PRETEST: EDITOR: UDS: Defaults values aren't updated in struct type variables in blueprints Change 2030017 by Maciej Mroz: Unused UDStructure code removed (PPF_UseDefaultsForUDStructures) Change 2028856 by Maciej Mroz: BP: Pins with PC_Struct type are compatible only with exactly the same structure. (No derived structures are not handled as compatible). Change 2026701 by Maciej Mroz: k2: odd error on an add item node within a function (see attached image in details) Change 2028160 by Maciej Mroz: PRETEST: EDITOR: UDS: When deleting structures just after creating there is always some references in the memory Change 2028165 by Maciej Mroz: BP: BreakHitResult function has proper icon. Change 2033340 by Maciej Mroz: ttp330786 PRETEST: EDITOR: UDS: Changes of default values aren't apllied to breeak nodes for text type of variables Change 2034255 by Maciej Mroz: EDITOR: UDS: Changes of default values aren't apllied to make nodes for text type of variables ttp#330620 Change 2037682 by Maciej Mroz: ttp331309 BLOCKER: PRETEST: CRASH: EDITOR: Crash occurs when performing Diff Against Depot on any Blueprint Change 2033142 by Maciej Mroz: CreateDelegate Node uses internally FMemberReference. Refactor. Change 2032329 by Maciej Mroz: ttp330608 CRASH: PRETEST: EDITOR: UDS: Crash when trying to use struct named 'Color' in blueprint Change 2032420 by Maciej Mroz: ttp330620 PRETEST: EDITOR: UDS: Changes of default values aren't apllied to make nodes for text type of variables Change 2033139 by Maciej Mroz: Functions generated from CustomEvents can be also identified by GUID Change 2026631 by Maciej Mroz: BP. UDStruct: Invalid structs are handled better. Change 2025344 by Maciej Mroz: UDStruct enabled by default Change 2026672 by Maciej Mroz: EDITOR: BP: Can't easily remove 'pass-by-reference' pins on ReturnNodes Change 2026411 by Maciej Mroz: ExposeOnSpawn updated, it supports UDStructs, custom native Structs, and it throws compiler error. Change 2025342 by Maciej Mroz: GenerateBlueprintSkeleton moved from BLueprint::Serialize to RegenerateBlueprintClass, because SkeletonClass compilation requires all external dependencies to be loaded and linked. Change 2025570 by Steve Robb: Moved dependency processing to its own function. Change 2033235 by Steve Robb: String improvements Change 2035830 by Steve Robb: Workaround for FriendsAndChat crash in Fortnite. Change 2035115 by Steve Robb: UBT build time regression fixes. Change 2034162 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere Change 2034181 by Steve Robb: Removal of any references to .generated.inl Change 2020165 by Steve Robb: BuildPublicAndPrivateUObjectHeaders factored out into its own function. Change 2020187 by Steve Robb: CreateModuleCompileEnvironment function factored out. Change 2020055 by Steve Robb: Refactoring of Unity.cs to remove complex and duplicate iteration. Change 2020083 by Steve Robb: Another use of dictionary utilities. Change 2031049 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere Change 2025728 by Steve Robb: Refactored the application of a shared PCH file to multiple file into a single ApplySharedPCH function. Change 2020068 by Steve Robb: A couple of helpful utility functions for populating dictionaries. Change 2032307 by Steve Robb: 312775: UObject improvement: Ensure that *.generated.inl is included somewhere [CL 2054495 by Robert Manuszewski in Main branch]
2014-04-23 20:18:55 -04:00
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3847469) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3805828 by Gil.Gribb UE4 - Fixed a bug in the lock free stalling task queue and adjusted a comment. The code is not current used, so this is not actually change the way the code works. Change 3806784 by Ben.Marsh UAT: Remove code to compile UBT when using UE4Build. It should already be compiled as a dependency of UAT. Change 3807549 by Graeme.Thornton Add a cook timer around VerifyCanCookPackage. A licensee reports this taking a lot of time so it'll be good to account for it. Change 3807727 by Graeme.Thornton Unhide the text asset format experimental editor option Change 3807746 by Josh.Engebretson Remove WER from iOS platform Change 3807928 by Robert.Manuszewski When async loading, GC Clusters will be created after packages have been processed to avoid situations where some of the objects that are being added to a cluster haven't been fully loaded yet Change 3808221 by Steve.Robb GitHub #4307 - Made GetModulePtr() thread safe by not using GetModule() ^ I'm not convinced by how much thread-safer this is really, but it's tidier anyway. Change 3809233 by Graeme.Thornton TBA: Misc changes to text asset commandlet - Rename mode to "loadsave" - Add -outputFormat option which can be assigned "text" or "binary" - When saving binary, use a differentiated filename so that source assets aren't overwritten Change 3809518 by Ben.Marsh Remove the outdated UnrealSync automation script. Change 3809643 by Steve.Robb GitHub #4277 : fix bug; FMath::FormatIntToHumanReadable 3rd comma and negative value #jira UE-53037 Change 3809862 by Steve.Robb GitHub #3342 : [FRotator.h] Fix to DecompressAxisFromByte to be more efficient and reflect its intent accurately #jira UE-42593 Change 3811190 by Graeme.Thornton Add support for writing specific log channels to their own files Change 3811197 by Graeme.Thornton Minor updates to output formatting and timing for the text asset commandlet Change 3811257 by Robert.Manuszewski Cluster creation will now be time-sliced Change 3811565 by Steve.Robb Define out non-monolithic module functions. Change 3812561 by Steve.Robb GitHub #3886 : Enable Brace-Initialization for Declaring Variables Incorrect semi-colon search removed after discussion with author. Test added. #jira UE-48242 Change 3812864 by Steve.Robb Removal of some unproven code which was supposed to fix hot reloading BP class functions in plugins. See: https://udn.unrealengine.com/questions/376978/aitask-blueprint-nodes-disappear-when-their-module.html #jira UE-53089 Change 3820358 by Ben.Marsh PR #4358: Incredibuild use ShowAgent by default (Contributed by projectgheist) Change 3822594 by Ben.Marsh UAT: Improvements to log file handling. - Always create log files in the final location, rather than writing to a temp directory and copying in later. - Now supports -Verbose and -VeryVerbose for increasing log verbosity, rather than -Verbose=XXX. - Keep a backlog of log output before the log system is initialized, and flush it to the log file once it is. - Allow buildmachines to specify the uebp_FinalLogFolder environment variable, which is used to form paths for display. When build machines copy log files elsewhere after UAT finishes (eg. a network share), this allows error messages to display the right location. Change 3823695 by Ben.Marsh UGS: Fix issue where precompiled binaries would not be shown as available for a change until scrolling the last submitted code change into the buffer (other symptoms, like de-focussing the main window would cause it to go back to an unavailable state, since the changes buffer was shrunk). Now always queries changes up to the last change for which zipped binaries are available. Change 3823845 by Ben.Marsh UBT: Exclude C# projects for unsupported platforms when generating project files. Change 3824180 by Ben.Marsh UGS: Add an option to show changes by build machines, and move the "only show reviewed" option in there too (Options > Show Changes). #jira Change 3825777 by Steve.Robb Fix to return value of StringToBytes. Change 3825810 by Ben.Marsh UBT: Reduce length of include paths for MSVC toolchain. Change 3825822 by Robert.Manuszewski Optimized PIE lazy pointer fixup. Should be up to 8x faster now. Change 3826734 by Ben.Marsh Remove code to disable TextureFormatAndroid on Linux. It seems to be an editor dependency. Change 3827730 by Steve.Robb Try to avoid decltype(auto) if it's not supported. See: https://udn.unrealengine.com/questions/395644/build-417-with-c11-on-linux-ttuple-errors.html Change 3827745 by Steve.Robb Initializer list support for TMap. Change 3827770 by Steve.Robb GitHub #4399 : Added a CONSTEXPR qualifiers to FVariant::GetType() #jira UE-53813 Change 3829189 by Ben.Marsh UBT: Now always writes a minimal log file. By default, just contains the regular console output and any reasons why actions are outdated and needed to be executed. UAT directs child UBT instances to output logs into its own log folder, so that build machines can save them off. Change 3830444 by Steve.Robb BuildVersion and ModuleManifest moved to Core, and parsing of these files reimplemented to avoid a JSON library. This should be revisited when Core has its own JSON library. Change 3830718 by Ben.Marsh Fix incorrect group name being returned by FStatNameAndInfo::GetGroupName() for stat groups. The editor populates the viewport stats list by calling this for every registered stat and stat group (via FLevelViewportCommands::HandleNewStatGroup). The menu entry attempts to show the stat name with STAT_XXX stripped from the start as the menu item label, with the free-form text description as a tooltip. For stat groups, the it would previously just return the stat group name as "Groups" (due to the raw naming convention of "//Groups//STATGROUP_Foo//..."). Since this didn't match the expected naming convention in FLevelViewportCommands::HandleNewStat (ie. STAT_XXX or STATGROUP_XXX), it would fail to add it. When the first actual stat belonging to that group is added, it would add a menu entry for the group based on that, but the stat description no longer makes sense as a tooltip for the group. As a result, all the editor tooltips were junk. #jira UE-53845 Change 3831064 by Ben.Marsh Fix log file contention when spawning UBT recursively. Change 3832654 by Ben.Marsh UGS: Fix error panel not being selected when opened, and weird alignment/color issues on it. Change 3832680 by Ben.Marsh UGS: Fix failing to detect workspace if synced to a different stream. Seems to be a regression caused by recent P4D upgrade. Change 3832695 by Ben.Marsh UGS: Invert the options in the 'Show Changes' submenu for simplicity. Change 3833528 by Ben.Marsh UAT: Script to rewrite source files with public include paths relative to the 'Public' folder. Usage is: RebasePublicIncludePaths -UpdateDir=<Dir> [-Project=<Dir>] [-Write]. Change 3833543 by Ben.Marsh UBT: Allow targets to opt-out of having public include paths added for every dependent module. This reduces the command line length when building a target, which has recently become a problem with larger games (due to Microsoft's compiler embedding the command line into each object file, with a maximum length of 64kb). All engine modules are compiled with this enabled; games may opt into it by setting bLegacyPublicIncludePaths = false; from their .target.cs, as may individual modules. Change 3834354 by Robert.Manuszewski Archetype pointer will now be cached to avoid locking the object tables when acquiring its info. It should also be faster this way regardless of any locks. #jira UE-52035 Change 3834400 by Robert.Manuszewski Fixing crash on exit caused by cached archetypes not being cleaned up before static exit cleanup. #jira UE-52035 Change 3834947 by Steve.Robb USE_FORMAT_STRING_TYPE_CHECKING removed from FMsg::Logf and FMsg::Logf_Internal. Change 3835004 by Ben.Marsh Fix code that relies on dubious behavior of requiring referenced "include path only" modules having their _API macros set to be empty, even if the module is actually implemented in a separate DLL. Change 3835340 by Ben.Marsh Fix errors making installed build from directories with spaces in the name. Change 3835972 by Ben.Marsh UBT: Improved diagnostic message for targets which don't need a version file. Change 3836019 by Ben.Marsh UBT: Fix warnings caused by defining linkage macros for third party libraries. Change 3836269 by Ben.Marsh Fix message box larger than the screen height being created when a large number of modules are incompatible on startup. Change 3836543 by Ben.Marsh Enable SoundMod plugin on Linux, since it's already supported through the editor. Change 3836546 by Ben.Marsh PR #4412: fix type mismatch (Contributed by nakapon) Change 3836805 by Ben.Marsh Fix commandlet to compile marketplace plugins. Change 3836829 by Ben.Marsh UBT: Fix ability to precompile plugins from installed engine builds. Change 3837036 by Ben.Marsh UBT: Write the previous and new contents of intermediate files to the log if they change. Makes it easier to debug unexpected rebuilds. Change 3837037 by Ben.Marsh UBT: Fix engine modules having inconsistent definitions depending on whether modules are only referenced for their include paths vs being linked into a binary (due to different _API macro). Change 3837040 by Ben.Marsh UBT: Remove code that initializes members in ModuleRules and TargetRules objects before the constructor is run. This is no longer necessary, now that the backwards-compatible default constructors have been removed. Change 3837247 by Ben.Marsh UBT: Remove UELinkerFixups module, now that plugins and precompiled modules do not require hacks to force initialization (since they're linked in as object files). Encryption and signing keys are now set via macros expanded from the IMPLEMENT_PRIMARY_GAME_MODULE macro, via project-specific macros added in the TargetRules constructor. Change 3837262 by Ben.Marsh UBT: Set whether a module is an engine module or not via a default value for the rules assembly. All non-program engine and enterprise modules are created with this flag set to true; program targets and modules are now created from a different assembly that sets it to false. This removes hacks from UEBuildModule needed to adjust behavior for different module types based on the directory containing the module. Also add a bUseBackwardsCompatibleDefaults flag to the TargetRules class, also initialized to a default value from a setting passed to the RulesAssembly constructor. This controls whether modules created for the target should be configured to allow breaking changes to default settings, and is set to false for all engine targets, and true for all project targets. Change 3837343 by Ben.Marsh UBT: Remove the OverrideExecutableFileExtension target property. Change the only current use for this (the MayaLiveLinkPlugin target) to use a post build step to copy the file instead. Change 3837356 by Ben.Marsh Fix invalid character encodings. Change 3837727 by Graeme.Thornton UnrealPak: KeyGenerator: Only generate prime table when required, not all the time Change 3837823 by Ben.Marsh UBT: Output warnings and errors when compiling module rules assembly in a way that allows them to be double-clicked in the Visual Studio output window. Change 3837831 by Graeme.Thornton UBT: When parsing crypto settings, always load legacy data first, then allow the new system to override it. Provides the same key backwards compatibility that the editor settings class gives Change 3837857 by Robert.Manuszewski PR #4404: Make FGCArrayPool singleton global instead of per-CU (Contributed by mhutch) Change 3837943 by Robert.Manuszewski PR #4405: Fix FGarbageCollectionTracer (Contributed by mhutch) Change 3838451 by Ben.Marsh UBT: Fix exceptions thrown on a background thread while caching C++ includes not being caught and logged correctly. Now captures exceptions and re-throws on the main thread. #jira UE-53996 Change 3839519 by Ben.Marsh UBT: Simplify configuring bPrecompile and bUsePrecompile settings for modules. Each rules assembly can now be configured as installed, which defaults the module rules it creates to use precompiled data. Change 3843790 by Graeme.Thornton UnrealPak: Log the size of all encrypted data Change 3844258 by Ben.Marsh Fix plugin compile failure when created via new plugin wizard. Passing -plugin on the command line is unnecessary, and is now reserved for packaging external plugins for the marketplace. Also extend the length of time that the error toast stays visible, and don't delete the plugin on failure. #jira UE-54157 Change 3845796 by Ben.Marsh Workaround for slow performance of String.EndsWith() on Mono. Change 3845823 by Ben.Marsh Fix case sensitive matching of platform names in -TargetPlatform=X argument to BuildCookRun. #jira UE-54123 Change 3845901 by Arciel.Rekman Linux: fix crash due to lambda lifetime issues (UE-54040). - The lambda goes out of scope in FBufferVisualizationMenuCommands::CreateVisualizationCommands, crashing the editor if compiled with a recent clang (5.0+). (Edigrating 3819174 to Dev-Core) Change 3846439 by Ben.Marsh Revert CL 3822742 to always call Process.WaitForExit(). The Android target platform module in the editor spawns ADB.EXE, which inherits the editor's stdout/stderr handles and forks itself. Process.WaitForExit() waits for EOF on those pipes, which never occurs because the forked process never terminates. Proper fix is probably to have the engine explicitly duplicate stdout/stderr handles for new pipes to output process, but too risky before copying up to Main. Change 3816608 by Ben.Marsh UBT: Use DirectoryReference objects for all include paths. Change 3816954 by Ben.Marsh UBT: Remove bIncludeDependentLibrariesInLibrary option. This is not widely supported by platform toolchains, and is not used anywhere. Change 3816986 by Ben.Marsh UBT: Remove UEBuildBinaryConfig; UEBuildBinary objects are now just created directly. Change 3816991 by Ben.Marsh UBT: Deprecate PlatformSpecificDynamicallyLoadedModules. We no longer have any special behavior for these modules. Change 3823090 by Ben.Marsh UAT: Improve logging for child UAT instances. - Calling RunUAT now requires an identifier for prefixing into the parent log, which is also used to determine the name of the log folder. - Stdout is no longer written to its own output file, since it's written to the parent stdout, the parent log file, and the child log file anyway. - Log folders for child UAT instances are left intact, rather than being copied to the parent folder. The derived names for the copied names were confusing and hard to read. - Output from UAT is no longer returned as a string. It should not be parsed anyway (but may be huge!). ProcessResult now supports running without capturing output. Change 3826082 by Ben.Marsh UBT: Add a check to make sure that all modules that are precompiled are correctly marked to enable it, even if they are part of the build target. Change 3827025 by Ben.Marsh UBT: Move the compile output directory into a property on the module, and explicitly pass it to the toolchain when compiling. Change 3829927 by James.Hopkin Made HTTP interface const correct Change 3833533 by Ben.Marsh Rewrite engine source files to base include paths relative to the "Public" directory. This allows reducing the number of public include paths that have to be added for engine modules. Change 3835826 by Ben.Marsh UBT: Precompiled targets now generate a separate manifest for each precompiled module, rather than adding object files to a library. This fixes issues where object files from static libraries would not be linked into a target if a symbol in them was not referenced. Change 3835969 by Ben.Marsh UBT: Fix cases where text is being written directly to the console rather than via logging functions. Change 3837777 by Steve.Robb Format string type checking added to FOutputDevice::Logf. Fixes for those. Change 3838569 by Steve.Robb Algo moved up a folder. [CL 3847482 by Ben Marsh in Main branch]
2018-01-20 11:19:29 -05:00
FileReference UnityCPPFilePath = FileReference.Combine(IntermediateDirectory, UnityCPPFileName);
// Add source files to the unity file
foreach (FileItem CPPFile in UnityFile.Files)
{
string CPPFileString = CPPFile.AbsolutePath;
if (CPPFile.Location.IsUnderDirectory(Unreal.RootDirectory))
{
CPPFileString = CPPFile.Location.MakeRelativeTo(UnrealBuildTool.EngineSourceDirectory);
}
OutputUnityCPPWriter.WriteLine("#include \"{0}\"", CPPFileString.Replace('\\', '/'));
}
// Write the unity file to the intermediate folder.
FileItem UnityCPPFile = Graph.CreateIntermediateTextFile(UnityCPPFilePath, OutputUnityCPPWriter.ToString());
NewCPPFiles.Add(UnityCPPFile);
// Store the mapping of source files to unity files in the makefile
foreach(FileItem SourceFile in UnityFile.Files)
{
SourceFileToUnityFile[SourceFile] = UnityCPPFile;
}
foreach (FileItem SourceFile in UnityFile.VirtualFiles)
{
SourceFileToUnityFile[SourceFile] = UnityCPPFile;
}
}
NormalFiles = NewCPPFiles;
}
public static void GetAdaptiveFiles(
ReadOnlyTargetRules Target,
List<FileItem> CPPFiles,
List<FileItem> HeaderFiles,
CppCompileEnvironment CompileEnvironment,
ISourceFileWorkingSet WorkingSet,
string BaseName,
DirectoryReference IntermediateDirectory,
IActionGraphBuilder Graph,
out List<FileItem> NormalFiles,
out List<FileItem> AdaptiveFiles)
{
NormalFiles = new List<FileItem>();
AdaptiveFiles = new List<FileItem>();
if (!Target.bUseAdaptiveUnityBuild)
{
NormalFiles = CPPFiles;
return;
}
HashSet<FileItem> HeaderFilesInWorkingSet = new HashSet<FileItem>(HeaderFiles.Where(WorkingSet.Contains));
// Figure out which uniquely-named header files are in the working set.
// Unique names are important to avoid ambiguity about which header a source file includes.
Dictionary<string, FileItem> NameToHeaderFileInWorkingSet = new Dictionary<string, FileItem>();
List<string> DuplicateHeaderNames = new List<string>();
HashSet<string> HeaderNames = new HashSet<string>();
foreach (FileItem HeaderFile in HeaderFiles)
{
string HeaderFileName = HeaderFile.Location.GetFileName();
if (!HeaderNames.Add(HeaderFileName))
{
DuplicateHeaderNames.Add(HeaderFileName);
}
else if (HeaderFilesInWorkingSet.Contains(HeaderFile))
{
NameToHeaderFileInWorkingSet[HeaderFileName] = HeaderFile;
}
}
foreach (string Name in DuplicateHeaderNames)
{
NameToHeaderFileInWorkingSet.Remove(Name);
}
// Add source files to the adaptive set if they or their first included header are in the working set.
foreach (FileItem CPPFile in CPPFiles)
{
bool bHeaderInWorkingSet = false;
if (CompileEnvironment.MetadataCache.GetFirstInclude(CPPFile) is string FirstInclude &&
NameToHeaderFileInWorkingSet.TryGetValue(Path.GetFileName(FirstInclude), out FileItem? HeaderFile))
{
bHeaderInWorkingSet = true;
HeaderFilesInWorkingSet.Remove(HeaderFile);
}
bool bAdaptive = bHeaderInWorkingSet || WorkingSet.Contains(CPPFile);
List<FileItem> Files = bAdaptive ? AdaptiveFiles : NormalFiles;
Files.Add(CPPFile);
}
// Add header files in the working set to the adaptive files if they are not the first include of a source file.
if (Target.bAdaptiveUnityCompilesHeaderFiles)
{
foreach (FileItem HeaderFile in HeaderFilesInWorkingSet)
{
StringWriter OutputHeaderCPPWriter = new StringWriter();
OutputHeaderCPPWriter.WriteLine("// This file is automatically generated at compile-time to include a modified header file.");
OutputHeaderCPPWriter.WriteLine($"#include \"{HeaderFile.AbsolutePath.Replace('\\', '/')}\"");
string HeaderCPPFileName = string.Format($"{ModulePrefix}{BaseName}.Header.{Path.GetFileNameWithoutExtension(HeaderFile.AbsolutePath)}.cpp");
FileReference HeaderCPPFilePath = FileReference.Combine(IntermediateDirectory, HeaderCPPFileName);
FileItem HeaderCPPFile = Graph.CreateIntermediateTextFile(HeaderCPPFilePath, OutputHeaderCPPWriter.ToString());
AdaptiveFiles.Add(HeaderCPPFile);
}
}
// Add adaptive files to the working set that will invalidate the makefile if it changes.
foreach (FileItem File in AdaptiveFiles)
{
Graph.AddFileToWorkingSet(File);
}
HashSet<FileItem> CandidateAdaptiveFiles = new HashSet<FileItem>();
CandidateAdaptiveFiles.UnionWith(CPPFiles);
CandidateAdaptiveFiles.UnionWith(HeaderFiles);
CandidateAdaptiveFiles.ExceptWith(AdaptiveFiles);
foreach (FileItem File in CandidateAdaptiveFiles)
{
Graph.AddCandidateForWorkingSet(File);
}
}
static void AddUniqueDiagnostic(TargetMakefile Makefile, string Message)
{
if(!Makefile.Diagnostics.Contains(Message, StringComparer.Ordinal))
{
Makefile.Diagnostics.Add(Message);
}
}
}
}