Commit Graph

41 Commits

Author SHA1 Message Date
brian bekich
246949a72b Adding AppendReplayCommonAttributes to the replay streamer interface that calls new static INetworkReplayStreamer::OnReplayGetAnalyticsAttributes
Replay streamer interface adjustments for common analytics needs

#rb ryan.gerleve, jason.adcock

#ROBOMERGE-AUTHOR: brian.bekich
#ROBOMERGE-SOURCE: CL 19407565 via CL 19411318 via CL 19425242 via CL 19425363
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v930-19419903)

[CL 19429479 by brian bekich in ue5-main branch]
2022-03-17 19:06:28 -04:00
brian bekich
91f28d3bdd Removing deprecated replay streamer calls that were using user strings
(and thus, references to GWorld)

#rb ryan.gerleve, jon.nabozny


#ROBOMERGE-SOURCE: CL 11215614 via CL 11215622
#ROBOMERGE-BOT: (v644-11213502)

[CL 11224997 by brian bekich in Main branch]
2020-02-04 17:59:03 -05:00
ryan durand
0f0464a30e Updating copyright for Engine Runtime.
#rnx
#rb none


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

[CL 10870549 by ryan durand in Main branch]
2019-12-26 14:45:42 -05:00
brian bekich
c06f880faa Fixing circular dependency with engine and replay streamer interface
#ROBOMERGE-SOURCE: CL 6858558 via CL 6858559 via CL 6858601
#ROBOMERGE-BOT: (v366-6836689)

[CL 6858605 by brian bekich in Main branch]
2019-06-05 23:48:19 -04:00
brian bekich
38ff14554c Replay interface changes to pass the demo url into the streamer
#rb ryan.gerleve, evan.kinney


#ROBOMERGE-SOURCE: CL 6856445 via CL 6856586 via CL 6857764
#ROBOMERGE-BOT: (v366-6836689)

[CL 6857820 by brian bekich in Main branch]
2019-06-05 21:01:06 -04:00
brian bekich
ec03fb9952 Adding RequestEventGroupData to replay streamer API for batched requests
#rb ryan.gerleve, donal.maccarthy, luciano.ferraro


#ROBOMERGE-SOURCE: CL 6596568 via CL 6596573 via CL 6597505
#ROBOMERGE-BOT: (v351-6581450)

[CL 6597606 by brian bekich in Main branch]
2019-05-21 15:16:07 -04:00
brian bekich
2990a84cbf Add delta replay checkpoints (demo.WithDeltaCheckpoints, disabled by default), implemented for local file and http replay streamers
#rb ryan.gerleve


#ROBOMERGE-OWNER: brian.bekich
#ROBOMERGE-AUTHOR: brian.bekich
#ROBOMERGE-SOURCE: CL 4977682 via CL 4979505 via CL 4980018

[CL 4983195 by brian bekich in Main branch]
2019-02-13 12:29:24 -05:00
Ben Marsh
7598af0532 Update copyright notices to 2019.
#rb none
#lockdown Nick.Penwarden

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

[CL 4567513 by Ben Marsh in Main branch]
2018-11-14 19:05:13 -05:00
brian bekich
ab812ef197 Fix off by one issue with automatic demo filenames in null streamer
#jira UE-61003
#rnx
#rb ryan.gerleve

#ROBOMERGE-SOURCE: CL 4160106 in //UE4/Release-4.20/...
#ROBOMERGE-BOT: RELEASE (Release-4.20 -> Release-Staging-4.20)
#ROBOMERGE-AUTHOR: brian.bekich

[CL 4167200 by brian bekich in Staging-4.20 branch]
2018-06-27 16:14:34 -04:00
Marc Audy
d90da4ab1a Merge to Dev-Main for 4.20 @ 4090813
#rb
#rnx
#lockdown Nick.Penwarden

[CL 4091081 by Marc Audy in Main branch]
2018-05-23 21:04:31 -04:00
Ben Marsh
13d012685f Merging copyright update from 4.19 branch.
#rb none
#rnx
#jira

[CL 3818977 by Ben Marsh in Staging-4.19 branch]
2018-01-02 15:30:26 -05:00
Ben Marsh
f461ea68e9 Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3548365)
#lockdown Nick.Penwarden

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

Change 3494741 by Steve.Robb

	Generated code size savings.

	#jira UE-43048

Change 3495484 by Steve.Robb

	Fix for generated indices of static arrays when saving configs.

Change 3497926 by Robert.Manuszewski

	Removed FPackageFileSummary's CompressedChunks array as it was no longer being used by anything.

Change 3498077 by Robert.Manuszewski

	Only use the recursion guard in async loading code when the event driven loader is enabled.

Change 3498112 by Ben.Marsh

	UBT: Respect the option to not create debug info in the Android toolchain. This option is already being respected by the compiler, but the linker adds debug info of its own.

Change 3500239 by Robert.Manuszewski

	Made sure the Super Class token stream is also locked when assembling Class token stream with async loading thread enabled. This to to prevent race conditions when loading BP classes.

Change 3500395 by Steve.Robb

	Extra codegen savings when not in hot reload.

Change 3501004 by Steve.Robb

	EObjectFlags now have constexpr operators.

Change 3502079 by Ben.Marsh

	UBT: Pad multi-line error messages so that they align under the prefix for the first line, and include the timestamp if necessary.

Change 3502527 by Steve.Robb

	Fix for zero-sized array compile error in generated code when all functions are editor-only.

Change 3502542 by Ben.Marsh

	UAT: Remove the custom source parameter from log functions, and add support for a customizable indent instead.

Change 3502868 by Steve.Robb

	Workaround for inefficient generated code with stateless lambdas on Clang.

Change 3503550 by Steve.Robb

	Another generated code lambda optimization.

Change 3503582 by Ben.Marsh

	BuildGraph: Add support for nullable parameter types.

Change 3504424 by Steve.Robb

	New AllOf, AnyOf and NoneOf algorithms.

Change 3504712 by Ben.Marsh

	UAT: Less spammy log and error output from UAT.

	* Callstacks for AutomationExceptions are suppressed by default but still included in the log (the path to the log is noted in console output with the message from the exception).
	* Add a mechanism for any exceptions to be caught and rethrown with additional lines of context (CommandUtils.AddContext()) that will be appended to the error output by UAT. Avoids decaying the exception type or masking the inner exception message while still adding additional information.
	* AggregateExceptions resulting from exceptions on child threads are automatically unwrapped (full details are still appended to the log)
	* Name of the calling function is not included in console output by default, but still included in the log.

Change 3504808 by Ben.Marsh

	UAT: Suppress P4 output when running a recursive instance of UAT.

Change 3505044 by Steve.Robb

	Code generation improved for TCppClassType code.

Change 3505485 by Ben.Marsh

	Fix deterministic cooking issue; always use a pseudo-random number stream when compiling a module.

Change 3505699 by Ben.Marsh

	Plugins: Store the bEnabledByDefault flag exactly as it was read from disk rather than collapsing it to an absolute value based on the default for the location it was read from. This allows loading/saving plugin descriptors without any knowledge of whether they are game or engine plugins.

Change 3506055 by Ben.Marsh

	UAT: Add a class to apply a log indent for the lifetime of an object (ScopedLogIndent), and use it to apply an indent to MegaXGE/ParallelExecutor output.

Change 3507745 by Robert.Manuszewski

	Moved FSimpleObjectReferenceCollectorArchive and FSimpleObjectReferenceCollectorArchive to be internal archives used only by FReferenceCollector so that they are constructed only once per GC task instead of potentially multiple times per GC (as was the case with UDataTables and BlueprintGeneratedClasses).

Change 3507911 by Ben.Marsh

	Plugins: Minor changes to plugin descriptors.

	* Add a distinct setting for an unspecified EnabledByDefault setting in plugin descriptors.
	* Add a function to IPlugin to determine the effective EnabledByDefault setting, based on where the plugin was loaded from.

Change 3508669 by Ben.Marsh

	EC: Parse multi-line messages from UBT and UAT.

Change 3508691 by Ben.Marsh

	Fix double-spacing of cook stats.

Change 3509245 by Steve.Robb

	UHT makefiles removed.
	Flag audit removed.

Change 3509275 by Steve.Robb

	Fix for mismatched stat categories in AudioMixer.

	#jira UE-46129

Change 3509289 by Robert.Manuszewski

	Custom Version Container will no longer be always constructed in FArchive constructor. This reduces the number of the Custom Version Container allocations considerably.

Change 3509294 by Robert.Manuszewski

	UDataTable::AddReferencedObjects will no longer try to iterate over the RowMap if there's no UObject references in it.

Change 3509312 by Steve.Robb

	GitHub# 3679: Add TArray constructor that takes a raw pointer and a count

	Check improved for Append() to allow nullptr in empty ranges, and added to new constructor too.

	#jira UE-46136

Change 3509396 by Steve.Robb

	GitHub# 3676: Fix TUnion operator<< compile error

	#jira UE-46099

Change 3509633 by Steve.Robb

	Fix for line numbers on multiline macros.

Change 3509938 by Gil.Gribb

	UE4 - Fix rare assert involving cancelled precache requests and non-pak-file loading.

Change 3510593 by Daniel.Lamb

	Fixed up unsoilicited files getting populated with files which aren't finished being created yet.

	#test None

Change 3510594 by Daniel.Lamb

	Fixed up temp files directory for patching.

	Thanks David Yerkess @ Milestone
	#review@Ben.Marsh

Change 3511628 by Ben.Marsh

	PR #3707: Fixed UBT stack size (Contributed by gildor2)


Change 3511808 by Ben.Marsh

	Optimize checks for whether the game project contains source code. Now stops as soon as the first file is found and ignores directories beginning with a '.' character (eg. .git)

	#jira UE-46540

Change 3512017 by Ben.Marsh

	Plugins: Deprecate the QueryStatusForAllPlugins() function; the same functionality is available via the IPlugin interface.

Change 3513935 by Steve.Robb

	Reverted array iteration in FPropertyNode::PropagatePropertyChange as this is now covered in TProperty::InitializeValueInternal() as of CL# 3293477.

Change 3514142 by Steve.Robb

	MemoryProfiler2 added to generated solution.

Change 3516463 by Ben.Marsh

	Plugins: Create a manifest for each PAK file containing all the plugin descriptors in one place. Eliminates need to recurse through directories and read separate multiple files in serial at startup, and allows reading all plugin descriptors with one read. The "Mods" directory is excluded from the manifest, since these are intended to be installed separately by the user.

Change 3517860 by Ben.Marsh

	PR #3727: FString Dereference Fixes (Contributed by jovisgCL)


Change 3517967 by Ben.Marsh

	Suppress additional system error dialogs when loading DLLs if -unnattended is on the command line.

Change 3518070 by Steve.Robb

	Disable Binned2 stats in shipping non-editor builds.

Change 3520079 by Steve.Robb

	Fixed bad codegen TAssetPtrs being passed into BlueprintImplementableEvent functions.

	#jira UE-24034

Change 3520080 by Robert.Manuszewski

	Made max package summary size to be configurable with ini setting

Change 3520083 by Steve.Robb

	Force a GC after hot reload to clean up reinstanced objects which may still tick.

	#jira UE-40421

Change 3520480 by Robert.Manuszewski

	Improved assert message when the initial package read request was too small.

Change 3520590 by Graeme.Thornton

	SignedArchiveReader optimizations
	 - Loads more stats
	 - Stop chunk cache worker from waking up continuously to poll for work. Only wake up when triggered by the archive reader
	 - Signed archive reader just yields when waiting for buffers to finish loading, rather than sleeping for some arbitrary amount of time
	 - Track the number of pending read requests in an atomic counter, to save having to lock the request queue to check for new entries

Change 3521023 by Graeme.Thornton

	Remove spin from signed archive reader. Main thread waits on an event triggered by the chunk worker to indicate that new chunks are ready for processing

Change 3521787 by Ben.Marsh

	PR #3736: Small static code analysis fixes (Contributed by jovisgCL)


Change 3521789 by Ben.Marsh

	PR #3735: Fix case sensitivity issue in FWindowsPlatformProcess::IsApplicationRunning. (Contributed by samhocevar)


Change 3524721 by Ben.Marsh

	Move Linux SDL initialization into FLinuxPlatformApplicationMisc. Attempting to move functionality related to interactive applications (graphics, input, etc...) into a separate place, so it can ultimately be moved out of Core.

Change 3524741 by Ben.Marsh

	Move PumpMessages() into FPlatformApplicationMisc.

Change 3525399 by Ben.Marsh

	UGS: Use the default Perforce server port when opening P4V if there is not one set in the environment.

Change 3525743 by Ben.Marsh

	UAT: Add a parameter to allow updating version files without updating Version.h, to allow faster link times on incremental builds.

Change 3525746 by Ben.Marsh

	EC: Include the clobber option on new workspaces, to allow overriding version files when syncing.

Change 3526453 by Ben.Marsh

	UGS: Do not generate project files when syncing precompiled binaries.

Change 3527045 by Ben.Marsh

	Fix hot reload generating import libraries without DLLs. Now that they are produced by separate actions by default, it was removing DLLs from the action graph due to the bSkipLinkingWhenNothingToCompile setting.

Change 3527420 by Ben.Marsh

	UGS: Add additional search paths for UGS config files, and fix a few cosmetic issues (inability to display ampersands in tools menu, showing changelist -1 when running a tool without syncing).

	Config files are now read from:

	Engine/Programs/UnrealGameSync/UnrealGameSync.ini
	Engine/Programs/UnrealGameSync/NotForLicensees/UnrealGameSync.ini

	If a project is selected:

	<ProjectDir>/Build/UnrealGameSync.ini
	<ProjectDir>/Build/NotForLicensees/UnrealGameSync.ini

	If the .uprojectdirs file is selected:

	Engine/Programs/UnrealGameSync/DefaultProject.ini
	Engine/Programs/UnrealGameSync/NotForLicensees/DefaultProject.ini

Change 3528063 by Ben.Marsh

	Fix non-thread safe construction of FPluginManager singleton. Length of time spent in the constructor resulted in multiple instances being constructed at startup, making the time to enumerate plugins on slow media significantly worse.

Change 3528415 by Ben.Marsh

	UAT: Remove \r characters from the end of multiline log messages.

Change 3528427 by Ben.Marsh

	EC: Fix spaces being converted to tabs at start of line in failure emails (by Gmail), and wrap following lines at the same indent.

Change 3528485 by Ben.Marsh

	EC: Remove zero-width word break characters from slashes in notification emails; can cause really hard to debug problems when copy pasted into other places.

Change 3528505 by Steve.Robb

	PR #3755: MallocProfiler - Remove subfolder from profiling save directory (Contributed by Josef-CL)


	#jira UE-46819

Change 3528772 by Robert.Manuszewski

	Enabling actor and blueprint clustering in ShooterGame

Change 3528786 by Robert.Manuszewski

	PR #3760: Fix typo (Contributed by jesseyeh)


Change 3528792 by Steve.Robb

	PR #3764: MallocProfiler - Refactoring Scopelock (Contributed by Josef-CL)


	#jira UE-46962

Change 3528941 by Robert.Manuszewski

	Fixed lazy object pointers not being updated for streaming sub-levels in PIE. Fixed lazy pointers returning object that is still being loaded which could lead to undefined behavior when client code started modifying the returned object.

	#jira UE-44996

Change 3530241 by Ben.Marsh

	UAT: Only pass -submit or -nosubmit to child instances of UAT if they were specified on the original command line. BuildCookRun uses this flag to determine whether to submit, rather than just whether to allow submitting, so we shouldn't pass an inferred value.

Change 3531377 by Ben.Marsh

	Plugins: Allow plugins to specify a list of supported target platforms, which is propagated to any .uproject file that enables it.

	This has several advantages over the per-module platform whitelist/blacklist:

	* Platform-specific .uplugin files can now be excluded when staging other platforms. Previously, it was only possible to determine which platforms a plugin supports by reading the plugin descriptor itself. Now that information is copied into the .uproject file, so the runtime knows which plugins to ignore.
	* References to dependent plugins from platform-specific plugins can now be eliminated.
	* Plugins containing content can now be unambiguously disabled on a per-platform basis (having no modules for a platform does not confer that a plugin doesn't support that platform; now it is possible to specify supported platforms explicitly).
	* The editor can load any plugins without having to whitelist supported editor host platforms.

	UE4 targets which support loading plugins for target platforms can set TargetRules.bIncludePluginsForTargetPlatforms (true for the editor by default, false for any other target types). This defines the LOAD_PLUGINS_FOR_TARGET_PLATFORMS macro at runtime, which allows the plugin system to filter which plugins to look for at runtime.

	Any .uproject file will be updated at startup to contain the list of supported platforms for each referenced plugin if necessary.

Change 3531502 by Jin.Zhang

	Add support for GPUCrash #rb

Change 3531664 by Ben.Marsh

	UBT: Change output format from C# JSON writer to match output by the engine.

Change 3531848 by Ben.Marsh

	UAT: Add script to resaving all project descriptors under a folder, embedding information for any supported platforms for the plugins they enable.

Change 3531869 by Ben.Marsh

	UAT: Add parameter to the ResaveProjectDescriptors command to update the engine association field.

Change 3532474 by Ben.Marsh

	UBT: Use the same mechanism as UAT for logging exceptions.

Change 3532734 by Graeme.Thornton

	Initial VSCode Support
	 - Tasks generated for building all game/engine/program targets
	 - Debugging support for targets on Win64

Change 3532789 by Steve.Robb

	FScriptSet::Add and TScriptMap::Add now replace the element, matching the behavior of TSet and TMap.
	Set_Add and Map_Add no longer have a return value.
	FScriptSet::Find and FScriptMap::Find functions are now FindIndex.
	FScriptSetHelper::FindElementFromHash is now FindElementIndexFromHash.

Change 3532845 by Steve.Robb

	Obsolete UHT settings deleted.

Change 3532875 by Graeme.Thornton

	VSCode
	 - Add debug targets for different target configurations
	 - Choose between VS debugger (windows) and GDB (mac/linux)

Change 3532906 by Graeme.Thornton

	VSCode
	 - Point all builds directly at UBT rather than the batch files
	 - Adjust mac build tasks to run through mono

Change 3532924 by Ben.Marsh

	UAT: Set the UAT working directory immediately on startup. This ensures that any command line arguments containing paths are resolved consistently to the branch root.

Change 3535234 by Graeme.Thornton

	VSCode - Pass intellisense system a list of paths to use for header resolution

Change 3535247 by Graeme.Thornton

	UBT - Add a ToString to ProjectFile.Source file to help with debugger watch presentation

Change 3535376 by Graeme.Thornton

	VSCode
	 - Added build jobs for C# projects
	 - Linked launch tasks to relevant build task

Change 3537083 by Ben.Marsh

	EC: Change P4 swarm links to start at the changelist for a build.

Change 3537368 by Graeme.Thornton

	Fix for crash in FSignedArchiveReader when multithreading is disabled

Change 3537550 by Graeme.Thornton

	Fixed a crash in the taskgraph when running single threaded

Change 3537922 by Steve.Robb

	Missing PF_ATC_RGBA_I added to FOREACH_ENUM_EPIXELFORMAT.

Change 3539691 by Graeme.Thornton

	VSCode - Various updates to get PC and Mac C++ projects building and debugging.
	 - Some other changes to C# setup to allow compilation. Debugging doesn't work.

Change 3539775 by Ben.Marsh

	Plugins: Various fixes to settings for enabling plugins.

	* Fix crash on startup when trying to disable a missing plugin (was keeping pointers to elements in the project's plugin reference array, which may be modified if a plugin is disabled).
	* Revert fix to set PluginDescriptor.bRequiresBuildPlatform = true by default. This was the originally intended behavior, but it was accidentally defaulted to false during serialization unless specified in the .uplugin file. Many plugins may rely on this behavior (they may not declare asset classes otherwise, for example, which could result in loss of data), so change the default value to false instead. Also fixes popups to disable platform-specific plugins if platform SDKs are not installed.
	* Fix plugins which are referenced but do not exist not showing the appropriate prompt to disable them.

Change 3540788 by Ben.Marsh

	UBT: Add support for declaring custom pre-build steps and post-build steps from .target.cs files. Similarly to the custom build steps configurable from .uproject and .uplugin files, these specify commands which will be executed by the host platform's shell before or after a build. The following variables are expanded within the list of commands before execution: $(EngineDir), $(ProjectDir), $(TargetName), $(TargetPlatform), $(TargetConfiguration), $(TargetType), $(ProjectFile).

	Example usage:

	public class UnrealPakTarget : TargetRules
	{
		public UnrealPakTarget(TargetInfo Target) : base(Target)
		{
			Type = TargetType.Program;
			LinkType = TargetLinkType.Monolithic;
			LaunchModuleName = "UnrealPak";

			if(HostPlatform == UnrealTargetPlatform.Win64)
			{
				PreBuildSteps.Add("echo Before building:");
				PreBuildSteps.Add("echo This is $(TargetName) $(TargetConfiguration) $(TargetPlatform)");

				PostBuildSteps.Add("echo After building!");
				PostBuildSteps.Add("echo This is $(TargetName) $(TargetConfiguration) $(TargetPlatform)");
			}
		}
	}

Change 3541664 by Graeme.Thornton

	VSCode - Add problemMatcher tag to cpp build targets

Change 3541732 by Graeme.Thornton

	VSCode - Change UBT command line switch to "-vscode" for simplicity

Change 3541967 by Graeme.Thornton

	VSCode - Fixes for Mac/Linux build steps

Change 3541968 by Ben.Marsh

	CRP: Pass through the EnabledPlugins element in crash context XML files.

	#jira UE-46912

Change 3542519 by Ben.Marsh

	UBT: Add chain of references to error messages when configuring plugins.

Change 3542523 by Ben.Marsh

	UBT: Add more useful error message when attempt to parse a JSON object fails.

Change 3542658 by Ben.Marsh

	UBT: Include a chain of references when reporting errors instantiating modules.

Change 3543432 by Ben.Marsh

	Plugins: Fix plugins which are enabled by default not being enabled unless a project file is set.

Change 3543436 by Ben.Marsh

	UBT: Prevent recursing through the same module more than once when building out the referenced modules. Produces much shorter reference chains when something fails.

Change 3543536 by Ben.Marsh

	UBT: Downgrade message about redundant plugin references to a warning.

Change 3543871 by Gil.Gribb

	UE4 - Fixed a critical crash bug with non-EDL loading from pak files.

Change 3543924 by Robert.Manuszewski

	Fixed a crash on UnrealFrontend startup caused by re-assembling GC token stream for one of the classes.
	+Small optimization to token stream generation code.

Change 3544469 by Jin.Zhang

	Crashes page displays the list of plugins from the crash context #rb

Change 3544608 by Steve.Robb

	Fix for nativized generated code.

	#jira UE-47452

Change 3544612 by Ben.Marsh

	Add callback into FMacPlatformMisc::PumpMessages() from FMacPlatformApplicationMisc::PumpMessages().

	#jira UE-47449

Change 3545954 by Gil.Gribb

	Fixed a critical crash bug relating to a race condition in async package summary reading.

Change 3545968 by Ben.Marsh

	UAT: Fix incorrect username in BuildGraph <Submit> task. Should use the username from the Perforce environment, not assume the logged in user name is the same.

	#jira UE-47419

Change 3545976 by Ben.Marsh

	EC: Delete the AutoSDK client if the directory doesn't exist. When we format build machines, we need to force everything to be resynced from scratch.

Change 3546185 by Ben.Marsh

	Hacky fix for deployment on IOS/TVOS. Since deployment directly references the NonUFS manifest files that are written out, merge all the SystemNonUFS files back into the NonUFS list after the regular NonUFS files have been remapped.

Change 3547084 by Gil.Gribb

	Fixed a critical race condition in the new async loader. This was only reproducible on IOS, but may affect other platforms.

Change 3547968 by Gil.Gribb

	Fixed critical race which potentially could cause a crash in the pak precacher.

Change 3504722 by Ben.Marsh

	BuildGraph: Improved tracing for error messages. All errors are now propagated as exceptions, and are tagged with additional context information about the task currently being run.

	For example, throwing new AutomationException("Unable to write foo.txt") from SetVersionTask.Execute is now displayed in the log as:

	ERROR: Unable to write to foo.txt
	         while executing <SetVersion Change="0" CompatibleChange="0" Branch="Unknown" Promoted="True" />
	         at Engine\Build\InstalledEngineBuild.xml(91)
	       (see D:\P4 UE4\Engine\Programs\AutomationTool\Saved\Logs\UAT_Log.txt for full exception trace)

Change 3512255 by Ben.Marsh

	Rename FPaths functions with a "Game" prefix (GameDir(), GameContentDir(), etc...) to have a "Project" prefix (ProjectDir(), ProjectContentDir(), etc...) for clarity with non-game uses of UE4. Old functions still exist but are deprecated.

Change 3512332 by Ben.Marsh

	Rename "Game" functions in FApp to be "Project" functions (FApp::GetGameName() -> FApp::GetProjectName(), etc...) for clarity with non-game uses of UE4.

Change 3512393 by Ben.Marsh

	Rename FPaths::GameLogDir() to FPaths::ProjectLogDir().

Change 3513452 by Ben.Marsh

	Plugins: Rename EPluginLoadedFrom::GameProject to EPluginLoadedFrom::Project.

Change 3516262 by Ben.Marsh

	Add support for a "Mods" folder distinct from the project's "Plugins" folder, instead of using the bIsMod flag on the plugin descriptor.

	* Mods are enumerated similarly to regular plugins, but IPlugin::GetType() will return EPluginType::Mod.
	* The DLCName parameter to BuildCookRun and the cooker now correctly finds any plugin in the Plugins or Mods directory (or any subfolders).

Change 3517565 by Ben.Marsh

	Remove fixed engine version numbers from OSS plugins.

Change 3518005 by Ben.Marsh

	UAT: Remove the bUFSFile parameter from DeployLowerCaseFilenames(). Every platform returns false if the argument is false.

Change 3518054 by Ben.Marsh

	UAT: Use an enum to direct whether all directories should be searched when finding files to stage, rather than a bool. Having so many optional boolean arguments makes code unreadable and refactoring hard.

Change 3524496 by Ben.Marsh

	Start moving GUI application code into a separate static platform class, hopefully ultimately removing it from Core.

Change 3524641 by Ben.Marsh

	Move more functionality related to windowed/graphical applications into FPlatformApplicationMisc.

Change 3528723 by Steve.Robb

	MoveTemp now static asserts if passed a const reference or rvalue.
	MoveTempIfPossible still follows the old (std::move) rule, which is useful for templates where the nature of the argument is not obvious.
	Fixes to violations of these new rules.

Change 3528876 by Ben.Marsh

	Move FPlatformMisc::ClipboardCopy and FPlatformMisc::ClipboardPaste to FPlatformApplicationMisc::ClipboardCopy and FPlatformApplicationMisc::ClipboardPaste.

Change 3529073 by Ben.Marsh

	Add script to package ShooterGame for any platforms.

Change 3531493 by Ben.Marsh

	Update platform-specific plugins to declare the target platforms they support.

Change 3531611 by Ben.Marsh

	UAT: Add a ResavePluginDescriptors command, which resaves all plugin descriptors under a given folder, removing any outdated fields and rewrites them in a consistent style. Many plugins in the wild contain redundant or no-longer used fields due to using our plugins as templates.

Change 3531868 by Ben.Marsh

	Resaving project descriptors to remove invalid fields.

Change 3531983 by Ben.Marsh

	UAT: Simplify logic for staging code, and add validation against shipping files in restricted folders.

	* Added a new SystemNonUFS type for staged files, which excludes files from being remapped or renamed by the platform layer.
	* Replaced the DeplyomentContext.StageFiles() function with simpler overloads for particular use cases (options for remapping are replaced with the SystemNonUFS file type)
	* Config entries in the [Staging] category in DefaultGame.ini file allow remapping one directory to another, so restricted content can be made public in packaged builds (Example syntax: +RemapDirectory=(From="Foo/NoRedist", To="Foo"))
	* An error is output if any restricted folder names other than the output platform are in the staged output.

Change 3540315 by Ben.Marsh

	UAT: Moving StreamCopyDescription command into a NotForLicensees folder, since it's only meant to be used by engine developers.

Change 3542410 by Ben.Marsh

	UBT: Deprecate accessing properties through BuildConfiguration.* or UEBuildConfiguration.* from .target.cs files. These have been aliases to the current TargetRules instance for several releases already.

Change 3543018 by Ben.Marsh

	UBT: Deprecate the BuildConfiguration and UEBuildConfiguration aliases from the ModuleRules class. These have been implemented as an alias ot the ReadOnlyTargetRules instance passed to the constructor for several engine versions.

Change 3544371 by Steve.Robb

	Fixes to TSet_Add and TMap_Add BPs.

	#jira UE-47441

[CL 3548391 by Ben Marsh in Main branch]
2017-07-21 12:42:36 -04:00
Ben Marsh
20bf0eb6a1 Updating copyright notices to 2017 (copying from //Tasks/UE4/Dev-Copyright-2017).
#rb none
#lockdown Nick.Penwarden

[CL 3226823 by Ben Marsh in Main branch]
2016-12-08 08:52:44 -05:00
Ben Marsh
4ba423868f Copying //UE4/Dev-Build to //UE4/Dev-Main (Source: //UE4/Dev-Build @ 3209340)
#lockdown Nick.Penwarden
#rb none

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

Change 3209340 on 2016/11/23 by Ben.Marsh

	Convert UE4 codebase to an "include what you use" model - where every header just includes the dependencies it needs, rather than every source file including large monolithic headers like Engine.h and UnrealEd.h.

	Measured full rebuild times around 2x faster using XGE on Windows, and improvements of 25% or more for incremental builds and full rebuilds on most other platforms.

	  * Every header now includes everything it needs to compile.
	        * There's a CoreMinimal.h header that gets you a set of ubiquitous types from Core (eg. FString, FName, TArray, FVector, etc...). Most headers now include this first.
	        * There's a CoreTypes.h header that sets up primitive UE4 types and build macros (int32, PLATFORM_WIN64, etc...). All headers in Core include this first, as does CoreMinimal.h.
	  * Every .cpp file includes its matching .h file first.
	        * This helps validate that each header is including everything it needs to compile.
	  * No engine code includes a monolithic header such as Engine.h or UnrealEd.h any more.
	        * You will get a warning if you try to include one of these from the engine. They still exist for compatibility with game projects and do not produce warnings when included there.
	        * There have only been minor changes to our internal games down to accommodate these changes. The intent is for this to be as seamless as possible.
	  * No engine code explicitly includes a precompiled header any more.
	        * We still use PCHs, but they're force-included on the compiler command line by UnrealBuildTool instead. This lets us tune what they contain without breaking any existing include dependencies.
	        * PCHs are generated by a tool to get a statistical amount of coverage for the source files using it, and I've seeded the new shared PCHs to contain any header included by > 15% of source files.

	Tool used to generate this transform is at Engine\Source\Programs\IncludeTool.

[CL 3209342 by Ben Marsh in Main branch]
2016-11-23 15:48:37 -05:00
Ben Marsh
3e80336791 Copying //UE4/Dev-Build to //UE4/Dev-Main (Source: //UE4/Dev-Build @ 3092544)
#lockdown Nick.Penwarden
#rb none

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

Change 3079316 on 2016/08/05 by Ben.Marsh

	Better PCH selection in ShaderFormatOpenGL and MetalShaderFormat - make sure Core is the first included header.

Change 3080579 on 2016/08/08 by Ben.Marsh

	Slate: Move DEBUG_TAB_MANAGEMENT into SDockingTabStack.h to remove circular include dependency with DockingPrivate.h.

Change 3080587 on 2016/08/08 by Ben.Marsh

	StandaloneRenderer: Move platform includes into a separate header so we can make individual headers self-contained, without having a circular dependency on StandaloneRendererPrivate.h.

Change 3080789 on 2016/08/08 by Ben.Marsh

	Move BuildGraph tasks for chunking, posting builds, labeling builds, and merging manifests into the MCP project. While we do provide public interfaces for this functionality, we don't currently expect anyone outside Epic to be using them.

Change 3080815 on 2016/08/08 by Ben.Marsh

	BuildGraph: Add a -GenerateDocs option, which writes out an HTML file constructed from C# XML documentation containing all the task information.

Change 3081374 on 2016/08/08 by Ben.Marsh

	UBT: Invalidate the makefile if any UHT headers are deleted. Should fix issue where files are moved from one module to another, and the original module no longer contains any generated headers. Its include path needs to be removed from the compile environment.

Change 3083152 on 2016/08/09 by Ben.Marsh

	PR #2667: Add Intel C++ Compiler support to Windows build (Contributed by JeffRous)

Change 3084039 on 2016/08/10 by Ben.Marsh

	BuildGraph: Add additional markup for parameter attributes. Also improve some documation.

Change 3084240 on 2016/08/10 by Ben.Marsh

	Plugins: Allow plugins in the project folder to replace plugins in the engine folder with the same name. Prohibit multiple plugins with the same name at other times.

Change 3084337 on 2016/08/10 by Ben.Marsh

	UBT: Specify the -precompile option when generating project files for a target, so we include all valid modules for intellisense.

Change 3085594 on 2016/08/11 by Ben.Marsh

	Change modules which reference a public header for their PCH to use a private PCH instead, even if it just includes the public header for now.

Change 3085999 on 2016/08/11 by Ben.Marsh

	Add some missing #pragma once directives.

Change 3086146 on 2016/08/11 by Ben.Marsh

	Core: Move prototype and linkage specifier for ConsoleCommandLibrary_* functions into header matching cpp file.

Change 3086172 on 2016/08/11 by Ben.Marsh

	Fixup some C-style header guards to use #pragma once instead.

Change 3087289 on 2016/08/12 by Ben.Marsh

	Split out UPackage and UMetaData into their own headers (they're already implemented in separate CPP files)

Change 3087310 on 2016/08/12 by Ben.Marsh

	Move method stubs for FNullSlateSoundDevice into a CPP file, since they're exported from the SlateCore module.

Change 3087341 on 2016/08/12 by Ben.Marsh

	UdpMessaging: Move PCH before #if PLATFORM_DESKTOP; it will only be defined if the definition is included.

Change 3087457 on 2016/08/12 by Ben.Marsh

	Core: Reorganize the FTransform and FMatrix headers: Transform.h now includes TransformNonVectorized.h or TransformVectorized.h as appropriate, and UnrealMatrix.h is now Matrix.inl (and included from Matrix.h).

Change 3088407 on 2016/08/13 by Ben.Marsh

	Replace use of Windows SIZE_T define with the regular C++ size_t.

Change 3088416 on 2016/08/13 by Ben.Marsh

	Include a header from all .generated.cpp files (GeneratedCppIncludes.h) which includes all the basic types required to compile them, rather than assuming that the module PCH will include everything.

	Also include the real declarations of noexport classes in Object.h (now renamed to NoExportTypes.h for clarity) when the CPP macro is defined, so the .generated.deps.h file will automatically have the correct definitions for them at compile time rather than relying on them being in the private PCH.

	Finally, rename UObject.h to Object.h for consistency with the naming convention for all other UObject classes. UObject.h still exists for now, but outputs a deprecated message if included.

Change 3088544 on 2016/08/14 by Ben.Marsh

	Core: Move the definition of the TEXT() macro into Platform.h, to avoid having to include OS headers to get it.

Change 3088552 on 2016/08/14 by Ben.Marsh

	Fix compile errors for some modules that don't already include CoreUObject.h.

Change 3088925 on 2016/08/15 by Ben.Marsh

	Remove circular include dependencies from VulkanRHI.

Change 3088926 on 2016/08/15 by Ben.Marsh

	Remove duplicate definition for WITH_FIXED_AREA_ENTERING_COST from EngineDefines.h - always uses the definition from DetourNavMeshQuery.h instead.

Change 3088930 on 2016/08/15 by Ben.Marsh

	Remove circular include dependency from PhysX.

Change 3088935 on 2016/08/15 by Ben.Marsh

	OnlineSubsystemUtils: Move CPP files out of public header directory.

Change 3088965 on 2016/08/15 by Ben.Marsh

	Add private PCH to Landscape, MoviePlayer, TaskGraph, XAudio2 and RealtimeProfiler modules.

Change 3088966 on 2016/08/15 by Ben.Marsh

	Engine: Move CPP files out of public header directories.

Change 3089520 on 2016/08/15 by Ben.Marsh

	BuildGraph: Change documentation command to output markdown.

Change 3090299 on 2016/08/16 by Ben.Marsh

	D3D12RHI: Move around some implementations to fix circular header dependencies which are masked by delayed template instantiation.

Change 3090303 on 2016/08/16 by Ben.Marsh

	Engine: Add a template specialization for TPointerIsConvertibleFromTo<AActor, const volatile UObject> to fix dependency on complete AActor definition for static assert in TWeakPointer<AActor>, which only appears if including Level.h without Actor.h. Delayed template instantiation usually masks this issue.

Change 3091861 on 2016/08/17 by Ben.Marsh

	Remove circular header dependencies, and fix ambiguous include paths in OSVR.

Change 3092068 on 2016/08/17 by Ben.Marsh

	Moving VulkanDynamicRHI into its own header.

Change 3093133 on 2016/08/18 by Ben.Marsh

	EC: Include additional context lines for Clang errors.

Change 3093147 on 2016/08/18 by Ben.Marsh

	UBT: Add an error message when attempting to do a single-file compile with the wrong target selected.

Change 3093228 on 2016/08/18 by Ben.Marsh

	Remove redundant setting for remote server name from XML config, and set it to a valid machine in the engine config.

[CL 3093264 by Ben Marsh in Main branch]
2016-08-18 10:28:43 -04:00
Rob Cannaday
ce3a0b200f Copying //Tasks/UE4/Dev-Online-Plugins-v3 to //UE4/Dev-Main (Source: //Tasks/UE4/Dev-Online-Plugins-v3 @ 3047294)
#lockdown Nick.Penwarden
#rb rob.cannaday

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

Change 3025090 on 2016/06/23 by Rob.Cannaday

	Move OnlineSubsystemGooglePlay into plugins

Change 3025127 on 2016/06/23 by Rob.Cannaday

	Move OnlineSubsystemIOS into plugins

Change 3025314 on 2016/06/23 by Rob.Cannaday

	Move OnlineSubsystemWeChat into plugins

Change 3025380 on 2016/06/23 by Rob.Cannaday

	Move OnlineSubsystemMcp into plugins

Change 3025400 on 2016/06/23 by Rob.Cannaday

	Move PluginFlow into plugins

Change 3025430 on 2016/06/23 by Rob.Cannaday

	Move OnlineFramework (Hotfix, Lobby, Party, Qos) into plugins

Change 3025453 on 2016/06/23 by Rob.Cannaday

	Move OnlineSubsystem into plugins

Change 3025462 on 2016/06/23 by Rob.Cannaday

	Move OnlineSubsystemAmazon into plugins

Change 3025480 on 2016/06/23 by Rob.Cannaday

	Move OnlineSubsystemFacebook into plugins

Change 3025487 on 2016/06/23 by Rob.Cannaday

	Move OnlineSubsystemNull into plugins

Change 3025493 on 2016/06/23 by Rob.Cannaday

	Move OnlineSubsystemSteam into plugins

Change 3025512 on 2016/06/23 by Rob.Cannaday

	Move OnlineSubsystemUtils (OnlineBlueprintSupport, OnlineSubsystemUtils) into plugins

Change 3025520 on 2016/06/23 by Rob.Cannaday

	Move OnlineSubsystemPS4 into plugins

Change 3025526 on 2016/06/23 by Rob.Cannaday

	Move OnlineSubsystemLive into plugins

Change 3025542 on 2016/06/23 by Rob.Cannaday

	Move OnlineSubsystemThunderhead into plugins (disabled)

Change 3025547 on 2016/06/23 by Rob.Cannaday

	Delete NewsFeed

Change 3028420 on 2016/06/27 by Rob.Cannaday

	Online Subsystem pluginization changes

Change 3028457 on 2016/06/27 by Rob.Cannaday

	Add ShooterOnlineSessionClient.*
	Remove copy/paste from previous checkin

Change 3029282 on 2016/06/27 by Rob.Cannaday

	Merging //UE4/Dev-Main to Dev-Online-Plugins-v3 (//Tasks/UE4/Dev-Online-Plugins-v3) (around CL 3028391)

Change 3029363 on 2016/06/27 by Rob.Cannaday

	UT build fixes for pluginization

Change 3032885 on 2016/06/29 by Rob.Cannaday

	Remove bCompileMCPOss and bCompileSteamOss

Change 3033072 on 2016/06/29 by Rob.Cannaday

	Merging //UE4/Dev-Main to Dev-Online-Plugins-v3 (//Tasks/UE4/Dev-Online-Plugins-v3) (around CL 3032885)

Change 3033368 on 2016/06/29 by Rob.Cannaday

	Fix references to online subsystem files in their former location

Change 3037635 on 2016/07/05 by Rob.Cannaday

	Add online plugins to WEX uproject

Change 3038147 on 2016/07/05 by Rob.Cannaday

	Merging //UE4/Dev-Main to Dev-Online-Plugins-v3 (//Tasks/UE4/Dev-Online-Plugins-v3)
	Also adds Match3

Change 3038152 on 2016/07/05 by Rob.Cannaday

	Fixup UnrealMatch3 OSS references

Change 3044558 on 2016/07/11 by Rob.Cannaday

	Move OnlineBlueprintCallProxyBase to Engine/Public/Net to remove dependency for OnlineSubsystemUtils in Engine.

Change 3044596 on 2016/07/11 by Rob.Cannaday

	#jira OGSSOCIAL-226 Investigate Slate solution to fade per line instead of per message
	Allow users to add a custom FTextLayout to Text boxes

Change 3045306 on 2016/07/11 by Rob.Cannaday

	Merging //UE4/Dev-Main to Dev-Online-Plugins-v3 (//Tasks/UE4/Dev-Online-Plugins-v3)

Change 3045424 on 2016/07/11 by Rob.Cannaday

	Add OnlineSubsystem plugins to Ocean.uproject
	#jira OGS-391

Change 3045478 on 2016/07/11 by Rob.Cannaday

	Crash fix when creating a split screen player via DebugCreatePlayer 1
	null check UniqueId
	#jira OGS-392

Change 3046785 on 2016/07/12 by Rob.Cannaday

	Move new hotfix files into plugin

Change 3047014 on 2016/07/12 by Rob.Cannaday

	Fix for VOIP not working
	#jira OGS-393

Change 3047248 on 2016/07/12 by Rob.Cannaday

	Fix build warning of member variable initialiization order.

Change 3047294 on 2016/07/12 by Rob.Cannaday

	Fix for ensure on shutdown in Qos module
	#jira UE-33150

[CL 3047349 by Rob Cannaday in Main branch]
2016-07-12 22:27:19 -04:00
John Pollard
504d0bebbd Copying //UE4/Dev-Networking to //UE4/Main (Source: //UE4/Dev-Networking @3004032 )
==========================
MAJOR FEATURES + CHANGES
==========================

Change 2939164 on 2016/04/10 by John.Barrett

	Updated base UNetConnection netcode to be bit-based, rather than byte-based (to optimize packet size with PacketHandler's and Oodle) - this CL is interdependent with subsequent CL's.

	Fixed an issue with FBitReader, when inserting a non-byte-aligned number of bits, where it would fail to zero the unused bits, in the last byte - this led to corrupt reads, in the new termination bit code (subsequent CL).

	Added better overflow detection for FBitWriter - plus other additional asserts.

	Fixed a potential bug with control channel messages, where non-byte-aligned control channel messages that were queued for later sending, were stored as byte-aligned, causing bad (too large) data to be sent.

	Optimized MAX_PACKET_HEADER_BITS to save a bit.

Change 2939169 on 2016/04/10 by John.Barrett

	NetcodeUnitTest maintenance.

	Added unit test for testing bit reader/writer limits.

	Added 'LogHex' debug command, for logging a hex-editor-style dump of selected memory data - without requiring a dependency on NetcodeUnitTest.

Change 2939170 on 2016/04/10 by John.Barrett

	Added work-in-progress DoS/DDoS unit test.

Change 2943718 on 2016/04/14 by John.Pollard

	Allow override of replay session ID + start using match ID for replays

Change 2944678 on 2016/04/14 by Ryan.Gerleve

	Merging using Release-4.11_to_Dev-Networking:

	4.11 hotfix change: fix for an assert that can occur when network clients call AActor::SetReplicates. SetReplicates will now only modify RemoteRole if Role is Authority and warn otherwise.

	#jira UE-27646

Change 2946909 on 2016/04/18 by John.Pollard

	Misc seamless travel cleanup + sanity checks

	* Cleanup the naming of variables and logic used to pick which actors will transfer to new world during seamless travel to more explicitly convey intent
	* Warn when there is no context for a world when destroying actors, it's likely that this world is the floating world during seamless travel, and if we hit this case, something is likely in a bad state

Change 2948883 on 2016/04/19 by John.Pollard

	GitHub request: https://jira.ol.epicgames.net/browse/UE-29385

Change 2952109 on 2016/04/21 by John.Barrett

	Fixed false positive with FBitWriter overflow error log, in PackageMap code.

Change 2953639 on 2016/04/22 by John.Barrett

	Fixed shadowed local variable - UE-29829

Change 2958267 on 2016/04/27 by John.Pollard

	Make vision manager more resilient to bad network data from old replays

Change 2958410 on 2016/04/27 by John.Pollard

	Fix incorrect warning when ReceivedBunch fails for replays

Change 2958411 on 2016/04/27 by John.Pollard

	Replay backwards compatibility fixes.

	* Mark custom properties/RPC's as incompatible if there was an error reading them in the stream, and ignore from there on out.
	* Don't close connection when failing to read properties on clients now that we can skip over this info easily.

Change 2960134 on 2016/04/28 by Ryan.Gerleve

	Protect against adding null player controllers to the out list of UEngine::GetAllLocalPlayerControllers.
	See https://udn.unrealengine.com/questions/289948/uenginegetalllocalplayercontrollers-pushes-a-null.html

Change 2960617 on 2016/04/29 by John.Barrett

	Made way for engine version code refactor.

Change 2961050 on 2016/04/29 by John.Pollard

	Log when we send hello to server in pending net game

Change 2961468 on 2016/04/29 by John.Pollard

	ReplayCompat: Show name of incompatible property when logging + log when we don't read correct number of bits + cleanup

Change 2964357 on 2016/05/03 by John.Barrett

	Optimized netcode SerializeInt\WriteIntWrapped, to allow compile-time calculation of the data bit size.

	The runtime calculated version of these functions, has been adjusted to not assert on 1-bit sized writes - to fix a false positive in Paragon.

	Adjusted some FMath functions, to allow CONSTEXPR for compile-time calculation.

Change 2964361 on 2016/05/03 by John.Barrett

	Update unit test to work with new integer serialization code.

Change 2964831 on 2016/05/03 by John.Barrett

	Back out net serialization changes for now.

Change 2964832 on 2016/05/03 by John.Barrett

	Back out unit test net serialization change.

Change 2964838 on 2016/05/03 by John.Barrett

	Fix Paragon false positive netcode assert.

Change 2966257 on 2016/05/04 by John.Pollard

	Unify network version logic + move to core

	* Move network version logic to core
	* Formalized concept of compatible network/replay changelist
	* Fixed up UDemoNetDriver to work with new version concepts
	* Fixed up Orion/other samples in the same way
	* This is first step to officially supporting backwards compatility for replays, and possibly networking in general (would be opt-in if so)

Change 2966657 on 2016/05/04 by John.Pollard

	Deprecate GEngineNetVersion, GEngineMinNetVersion and GEngineNegotiationVersion

Change 2968945 on 2016/05/06 by John.Pollard

	Print name of object that has NULL level

Change 2970529 on 2016/05/09 by Bart.Bressler

	Add an optional "CapturePercentage" command line parameter that has a percentage chance of generating capture files per connection

Change 2971233 on 2016/05/09 by Bart.Bressler

	Update Oodle DLLs in Orion

Change 2975585 on 2016/05/12 by Bart.Bressler

	- Keep track of STAT_NumNetActors on clients as well as servers
	- Change STAT_NumActors to just be the world actor count instead of using FActorIterator (FActorIterator was causing a hitch)

Change 2979207 on 2016/05/16 by Bart.Bressler

	Remove FActorIterator loop around world actor count retrieval in UNetDriver::TickFlush

Change 2981198 on 2016/05/17 by John.Pollard

	Changes to support FN replays

	* Save streaming levels within network stream
	* Don't load streaming level if it's already in the list
	* Remove need for meta data

Change 2981201 on 2016/05/17 by John.Pollard

	Forgot to check in

Change 2982075 on 2016/05/18 by John.Pollard

	Cache network checksum so we don't spam log (we call this function more now)

Change 2982092 on 2016/05/18 by John.Pollard

	Lower verbosity of log

Change 2986571 on 2016/05/23 by Bart.Bressler

	Fix issue where oodle wasn't getting enabled in shipping correctly

Change 2988628 on 2016/05/24 by Bart.Bressler

	When processing captures with the Oodle commandlet, only check files that end with "ucap" (there might be gzipped files that have the exact same filenames, for example)

Change 2988838 on 2016/05/24 by Bart.Bressler

	- Add script to pull down captures from S3
	- Add script to do the whole process from pulling down captures to generating dictionaries

Change 2994575 on 2016/05/31 by John.Pollard

	Include networkversion.h in UnrealNetwork.h, this is so that older code will continue to compile that relied on network version code that used to be in this file

Change 2996026 on 2016/06/01 by John.Pollard

	Add network version to FArchive

Change 2996043 on 2016/06/01 by John.Pollard

	Store network version on NetConnection/Bunch, replays properly initialize these to current replay network versions

Change 2996081 on 2016/06/01 by John.Pollard

	Remove unused FInBunch constructor

Change 2996544 on 2016/06/01 by John.Pollard

	Make sure network version is correct for external data + set on connection after checkpoint

Change 2996731 on 2016/06/01 by John.Pollard

	Set game network version for Orion

Change 2997042 on 2016/06/01 by John.Pollard

	Fix issue when game server times out, and replay service turns off live replay flag, and we fail to download last chunk + more log info when replay http chunk downloading fails

Change 2997908 on 2016/06/02 by Ryan.Gerleve

	Use the smoothed mesh transform for characters when recording client replays.
	Since the root component's transform may only be updated periodically, this greatly improves the quality of character movement.

Change 2998001 on 2016/06/02 by Ryan.Gerleve

	Set the NetDriverName in the replay spectator's constructor.
	The replay spectator will always be associated with a DemoNetDriver and this fixes cases where GetNetMode could return the wrong value before the net driver name was set (such as during BeginPlay).
	Also inverted the logic in IsForPlayback() to make it more intuitive.

Change 2998636 on 2016/06/02 by John.Pollard

	If we don't have enough external replay samples, use the best one

Change 2998637 on 2016/06/02 by John.Pollard

	Clamp replay time

Change 2998705 on 2016/06/02 by John.Pollard

	Replay fixes:

	* Fix issue when scrubbing to time 0, and first chunk takes longer than normal to download
	* Better streaming logic that works better with new backend delay logic
	* Better handling when replay flips from live to not live
	* Don't update StreamTimeRangeStart/End unless we got those values in the header response
	* Handle when we fail to download a chunk and HighPriorityEndTime is active

Change 2998832 on 2016/06/02 by Ryan.Gerleve

	Fix an issue that could cause the replay spectator controller to not get the notification that the spectator class has been received while recording a client replay.

Change 2999054 on 2016/06/02 by Ryan.Gerleve

	Added ability to set a maximum desired time budget for replay recording. Once the budget is reached, remaining actors will have to wait until the next frame to try to replicate.

Change 2999057 on 2016/06/02 by Ryan.Gerleve

	Fixed an issue that could cause the main game world to use the incorrect vision manager when deathcam was enabled and the replay recording time budget was set very aggressively.
	In this case, AOrionVisionManager2::PostInitializeComponents would be called before the spectator player controller was spawned in the playback world, causing it to fail to find the local player and not initializing GKillcamVisionManager correctly.

Change 2999749 on 2016/06/03 by Ryan.Gerleve

	RPCs will now be recorded in client replays.
	Cleaned up actor role swapping logic for client recording and re-use it for RPCs.

Change 3000051 on 2016/06/03 by Ryan.Gerleve

	Fix Paragon server crash.

	#jira UE-31618

Change 3001361 on 2016/06/05 by Ryan.Gerleve

	Added support for prioritizing actors during replay recording to get better results when a maximum desired recording time is set.
	Added virtual function GetReplayPriority to Actor, similar to GetNetPriority, but allows different priorities for live networking and replays.
	Moved FCompareFActorPriority to a header so that the DemoNetDriver can use it.

Change 3001365 on 2016/06/05 by Ryan.Gerleve

	Paragon now uses a desired recording time limit and enables actor prioritization for recording the deathcam replay.

Change 3002094 on 2016/06/06 by Ryan.Gerleve

	Missed file from a main merge fixup.

Change 3002417 on 2016/06/06 by Ryan.Gerleve

	Disabling a check to work around UE-31636 for now.

Change 3002547 on 2016/06/06 by John.Barrett

	Added improved 'DebugDump' command option to the Oodle trainer commandlet - this takes UE4 .ucap capture files, and batch converts them into Oodle-example-code compatible .bin files.

	Use through the new BatchDebugDump.bat file.

Change 3002989 on 2016/06/06 by John.Pollard

	Add ability to skip missing/changed properties in FFastArraySerializer

Change 3003072 on 2016/06/06 by John.Pollard

	Fix crash related to new replay backwards compatibility changes

#lockdown Nick.Penwarden

[CL 3004618 by John Pollard in Main branch]
2016-06-07 16:19:22 -04:00
Matthew Griffin
bb70b349ce Merging CL 2804086 from //UE4/Release-4.11 to Dev-Main (//UE4/Dev-Main) to isolate copyright update
#lockdown Nick.Penwarden

[CL 2819020 by Matthew Griffin in Main branch]
2016-01-07 08:17:16 -05:00
Nick Penwarden
4ccf8be305 Mergine engine changes to //UE4/Main @ 2748007
[CL 2748770 by Nick Penwarden in Main branch]
2015-10-30 17:41:13 -04:00
Ryan Gerleve
e29507d847 [AUTOMERGE]
FNullNetworkReplayStreamer can now play back live replays.

--------
Integrated using branch UE4-Orion-To-UE4 of change#2677431 by Ryan.Gerleve on 2015/09/02 15:08:36.

[CL 2677495 by Ryan Gerleve in Main branch]
2015-09-02 15:38:17 -04:00
Ben Marsh
3b30d23ec5 Move GEngineVersion into FEngineVersion::Current(), and GCompatibleWithEngineVersion to FEngineVersion::CompatibleWith().
#platformnotify Josh.Adams

[CL 2655102 by Ben Marsh in Main branch]
2015-08-13 15:44:02 -04:00
Bart Bressler
581564b074 Merging replay streaming changes from Orion branch
2620313 - Fix issue where we would get disconnected from the replay server if we paused for too long. Fixes OR-2753.

2628891 - First pass on bug replay events:
- pressing J when in a game saves a bug event
- loading that replay enumerates all bug events and adds them to the timeline bar

2630827 - Bugs on the replay timeline are clickable and will teleport the camera to the location where the bug was entered. Code is messy and needs cleanup.

2638789 - Add text box to replay list widget that filters replays by an event group

[CL 2638900 by Bart Bressler in Main branch]
2015-07-30 12:17:05 -04:00
Bart Bressler
ce68aa7a6e Integrate 2626341 from UE4-Orion
Integrating PeteK changes to allow custom events in replays

2623455 - Replay changes to allow custom events

#codereview david.ratti

[CL 2635371 by Bart Bressler in Main branch]
2015-07-28 10:29:52 -04:00
Ryan Gerleve
7eecaf4b84 [AUTOMERGE]
The engine now notifies the replay system about players who join in progress.

--------
Integrated using branch UT_To_UE4 of change#2592351 by Ryan.Gerleve on 2015/06/18 14:22:24.

[CL 2592935 by Ryan Gerleve in Main branch]
2015-06-18 19:20:06 -04:00