Commit Graph

11 Commits

Author SHA1 Message Date
robert manuszewski
d1443992e1 Deprecating ANY_PACKAGE.
This change consists of multiple changes:

Core:
- Deprecation of ANY_PACKAGE macro. Added ANY_PACKAGE_DEPRECATED macro which can still be used for backwards compatibility purposes (only used in CoreUObject)
- Deprecation of StaticFindObjectFast* functions that take bAnyPackage parameter
- Added UStruct::GetStructPathName function that returns FTopLevelAssetPath representing the path name (package + object FName, super quick compared to UObject::GetPathName) + wrapper UClass::GetClassPathName to make it look better when used with UClasses
- Added (Static)FindFirstObject* functions that find a first object given its Name (no Outer). These functions are used in places I consider valid to do global UObject (UClass) lookups like parsing command line parameters / checking for unique object names
- Added static UClass::TryFindType function which serves a similar purpose as FindFirstObject however it's going to throw a warning (with a callstack / maybe ensure in the future?) if short class name is provided. This function is used  in places that used to use short class names but now should have been converted to use path names to catch any potential regressions and or edge cases I missed.
- Added static UClass::TryConvertShortNameToPathName utility function
- Added static UClass::TryFixShortClassNameExportPath utility function
- Object text export paths will now also include class path (Texture2D'/Game/Textures/Grass.Grass' -> /Script/Engine.Texture2D'/Game/Textures/Grass.Grass')
- All places that manually generated object export paths for objects will now use FObjectPropertyBase::GetExportPath
- Added a new startup test that checks for short type names in UClass/FProperty MetaData values

AssetRegistry:
- Deprecated any member variables (FAssetData / FARFilter) or functions that use FNames to represent class names and replaced them with FTopLevelAssetPath
- Added new member variables and new function overloads that use FTopLevelAssetPath to represent class names
- This also applies to a few other modules' APIs to match AssetRegistry changes

Everything else:
- Updated code that used ANY_PACKAGE (depending on the use case) to use FindObject(nullptr, PathToObject), UClass::TryFindType (used when path name is expected, warns if it's a short name) or FindFirstObject (usually for finding types based on user input but there's been a few legitimate use cases not related to user input)
- Updated code that used AssetRegistry API to use FTopLevelAssetPaths and USomeClass::StaticClass()->GetClassPathName() instead of GetFName()
- Updated meta data and hardcoded FindObject(ANY_PACKAGE, "EEnumNameOrClassName") calls to use path names

#jira UE-99463
#rb many.people
[FYI] Marcus.Wassmer
#preflight 629248ec2256738f75de9b32

#codereviewnumbers 20320742, 20320791, 20320799, 20320756, 20320809, 20320830, 20320840, 20320846, 20320851, 20320863, 20320780, 20320765, 20320876, 20320786

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 20430220 via CL 20433854 via CL 20435474 via CL 20435484
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20448496 by robert manuszewski in ue5-main branch]
2022-06-01 03:46:59 -04:00
Lauren Barnes
6248f8d412 Replacing legacy EditorStyle calls with AppStyle
#preflight 6272a74d2f6d177be3c6fdda
#rb Matt.Kuhlenschmidt

#ROBOMERGE-OWNER: Lauren.Barnes
#ROBOMERGE-AUTHOR: lauren.barnes
#ROBOMERGE-SOURCE: CL 20057269 via CL 20070159 via CL 20072035 via CL 20072203
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)
#ROBOMERGE-CONFLICT from-shelf

[CL 20105363 by Lauren Barnes in ue5-main branch]
2022-05-09 13:12:28 -04:00
michael nicolella
7839536cf5 added EBlueprintExceptionType::AbortException, when raised it sets a flag on the FFrame to signal that script execution should stop and return ASAP. It is currently only checked in the interpreter loop inside ProcessLocalScriptFunction.
- FBlueprintContextTracker::GetScriptStack is deprecated
- FBlueprintContextTracker::GetCurrentScriptStack() now returns a TArrayView so that the view of the stack remains const
- FBlueprintContextTracker::GetCurrentScriptStackWritable() added for uses that explicitly need writable access to the stack
- FBlueprintCoreDelegates::ThrowScriptException now needs a non-const FFrame to be able to set the abort flag

#rb matt.breindel julien.marchand phil.pizlo phillip.kavan
#preflight 626c710d2c01a675267ebcab

#ROBOMERGE-AUTHOR: michael.nicolella
#ROBOMERGE-SOURCE: CL 19992064 via CL 19992251 via CL 19992502 via CL 19992685
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 19995787 by michael nicolella in ue5-main branch]
2022-04-30 13:03:18 -04:00
jordan hoffmann
ae21068cb9 Merge the �Debug/Blueprint Debugger� and the �Window/Debug� windows together and revamp KismetDebuggingView
#jira UE-119541

[CL 17071910 by jordan hoffmann in ue5-main branch]
2021-08-05 13:38:19 -04:00
ryan durand
627baf970a Updating copyright for Engine Editor.
#rnx
#rb none


#ROBOMERGE-SOURCE: CL 10869241 via CL 10869527 via CL 10869904
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870586 by ryan durand in Main branch]
2019-12-26 15:33:43 -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
JeanMichel Dignard
e6d45383d5 Copying //UE4/Dev-Enterprise to //UE4/Dev-Main (Source: //UE4/Dev-Enterprise @ 4341740)
#lockdown Nick.Penwarden
#rb none

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

Change 4280523 by Patrick.Boutot

	Add option in AjaCustomTimeStep to wait until the frame to be ready. Previously, the frame was there but not yet processed so it was possible that it was not ready by the time we wanted to read it. It won't work with interlaced because the 2 fields are processed at the same time. In interlaced, will get a 30fps behaviour when we actually want a 60fps.
	Fix bug that didn't set and reset bIsOwned properly when it was first initialized as not owned.

Change 4280526 by Patrick.Boutot

	Add accessor to get the leaf media source or output.

Change 4280624 by Patrick.Boutot

	Add timecode acessor to media samples

Change 4280626 by Patrick.Boutot

	Rework the timing for AJA Media Player. Previously, we took the timing of the frame. That was a bad idea because if 2 incomings video frames were coming a the same time, you would only show one. Making the buffering system useless.
	That affects the Custom Time Step since it was waiting for the interrupt signal and in some behavior we would like the frame to be ready to be used by UE. Same the timecode in the MediaSample because we may not used it to stamps the frame.

Change 4283022 by Patrick.Boutot

	[EditorScriptingUtilitites] Check folder names invalid characters separatly from the object's name.
	#jira UE-59886,  UE-62333

Change 4283112 by Patrick.Boutot

	Remove MediaFrameworkUtilititesModule dependency to the Settings module at runtime.
	Rename TimemanagemenetEditor module names.

Change 4283426 by JeanLuc.Corenthin

	Fix crash with FBX file

	#jira UE-62501

Change 4284940 by Patrick.Boutot

	A widget that let you select a single permutation from a list. It groups the values into categories and removes duplicates inside that category.

Change 4285471 by Patrick.Boutot

	Remove MediaFrameworkUtilititesModule dependency to the Settings module at runtime.

Change 4286925 by Patrick.Boutot

	[AJA] Add support to read LTC from the reference In.
	Add more detail on video format and the device.
	MediaSource use the Permutations Selection widget to select his mode and device.
	Remove debugging option to trigger an AJA custom time step and timecode provider.
	Remove the UYVY pixel option from AJA. It's better do to the conversion on the AJA card that on the GPU.
	Change the tooltip and category for some AjaMediaSource properties.

Change 4287026 by Julien.StJean

	Modifed the file STimeCodeProviderTab.cpp to fix the position of a SComboButton that wasn't properly place.

Change 4287663 by Jon.Nabozny

	Add timecode messages into nDisplay, and sync those between Master and Slave

Change 4287884 by Jon.Nabozny

	Create a TimecodeProvider for SystemTime and introduce a notion for DefaultTimecodeProvider in Engine.

Change 4288050 by Jon.Nabozny

	Rework the TimeSynchronization implementation for usability and functionality.

Change 4288283 by Jon.Nabozny

	Fixed swapped MetaClass and DisplayName options on UEngine::DefaultTimecodeProviderClassName;

Change 4288352 by Jon.Nabozny

	Set TimecodeProviderClassName and DefaultTimecodeProviderClassName in BaseEngine.ini

Change 4288378 by Jon.Nabozny

	Fixup some issues in TimecodeSynchronizer where code was reset improperly due to multiple unshelves / resolves.

Change 4288394 by Jon.Nabozny

	Add TimeSync functionality into LiveLink. Also add test cases for this. This should allow us to easily synchronize multiple LiveLink sources together, as well as synchronize those to anything else using the sync system (Relies on CL-4235417)

Change 4288899 by Patrick.Boutot

	Fix initialization order of FMediaIOCorePlayerBase variables

Change 4289157 by Patrick.Boutot

	Allow the user to change the source of a capture without stopping the current capture.
	[AJA] AjaMediaCapture, add support for UpdateSceneViewport & UpdateRenderTarget
	@made by julien.stjean

Change 4291328 by Jon.Nabozny

	Report the Skeleton Guid with TimeSyncData and track sync state in LiveLinkTimeSynchronizationSource.
	This prevents a crash that can happen if a source is quickly cleared and reset before the next tick of Time Synchronization.

Change 4296294 by Jon.Nabozny

	Fixup errors when TimecodeProviderClassName is empty. It's valid to leave this empty.

Change 4297122 by Patrick.Boutot

	Media Profile with timecode provider & custom time step

Change 4301855 by Austin.Crismore

	Fix for movment scaling and virtual joystick controls. Movement scaling in for truck and dolly is locked to the world xy plane, and virtual joysticks use their own method for movement scaling now.

	#jira UE-61762, UE-62187

Change 4301856 by Austin.Crismore

	Virtual sequence level controller now listens to on object spawned, so that it can intercept the camera actor and disable attatching to HMD to prevent camera movement that isn't from the level sequence

	#jira UE-61766

Change 4301860 by Austin.Crismore

	Fix for touch scrubbing. Added default values back in. Added logic to only allow scrubbing when touch focus was off.

	#jira UE-61865

Change 4302294 by Jamie.Dale

	Added functions to get your the localized spoken and subtitle text from a dialogue wave

Change 4304393 by Jamie.Dale

	Added support for BlueprintAssignable properties in Python

Change 4305852 by Jamie.Dale

	Removed hard-dependency between EditorScriptingUtilities and PythonScriptPlugin

	Backed-out changelist 4259264 and query Python availability based on whether anything is available to handle the command

	#jira UE-62318

Change 4308550 by Jamie.Dale

	Fixed crash when passing a null world to Python actor iterators

Change 4311867 by Homam.Bahnassi

	Revit master material with exposed parameters matching the API when possible.

Change 4314428 by Francis.Hurteau

	Made the usage of the bBuildDeveloperTools switch independent of the bCompileAgainstEngine switch.
	Changed bBuildDeveloperTools TargetRule in UnrealBuildTool to a nullable to keep the old behavior in case where bBuildDeveloperTools wasn't explicitly set in TargetRules

Change 4315134 by Jamie.Dale

	Defer editable text focus selection until mouse-up to allow the user to make an initial selection

	#jira UE-58086

Change 4318615 by Johan.Duparc

	EditorFactories: consistent return values after asset import.

Change 4322459 by Jamie.Dale

	Made SequencerScripting an Editor plugin as it depends on PythonScriptPlugin which is an Editor plugin

	This was causing issues at runtime when SequencerScripting was enabled, as it failed to load PythonScriptPlugin (which hadn't been built).

Change 4323341 by Francis.Hurteau

	Implement proper message bus protocol version negociation with static nodes

Change 4323733 by Francis.Hurteau

	Fix VR Pausing Sequence Scrubbing just setting playback speed to 0.0

Change 4324319 by Jamie.Dale

	Exposed transactions to Blueprints

Change 4325847 by Alistair.White

	Copying //Tasks/UE4/Private-PixelStreaming@4325566 to Dev-Enterprise-Minimal (//UE4/Dev-Enterprise-Minimal)

	This adds the new experimental PixelStreaming plugin to allow streaming of an Unreal client's audio & video stream to a browser through the WebRTC protocol to support new uses for enterprise customers.

Change 4326282 by Simon.Tourangeau

	nDisplay native present handler

Change 4326581 by Jamie.Dale

	Replacing FDateTime with int64 Ticks value to workaround UE-63485

Change 4326599 by Homam.Bahnassi

	Moving texture coords outside UVEdit function to allow using different UV channels.

Change 4333250 by Francis.Hurteau

	Small TFuture changes:
	* cleans up TFuture::Then with usage of TUniqueFunction
	* added TFuture::Reset to invalidate it and remove continuation from a future shared state

Change 4333359 by Homam.Bahnassi

	Support scaling and rotating UVs around arbitrary pivot

Change 4333566 by Johan.Duparc

	Expose ProxyLOD functionalities to Scripting
	#jira UEENT-1788

Change 4333988 by Jamie.Dale

	Allow UHT to parse FText default parameter values

	INVTEXT, NSLOCTEXT, LOCTABLE, and FText::GetEmpty() are supported. LOCTEXT isn't as it relies on an external macro that is known to C++ but not to UHT (NSLOCTEXT can easily be used instead).

Change 4335020 by Francis.Hurteau

	Uncomment MessageBus::Send deprecation notice for 4.21
	Update MessageBus Send usage to new API

Change 4335195 by JeanMichel.Dignard

	Add a SetLodFromStaticMesh script utility function

	#jira UEENT-1789

Change 4335231 by Anousack.Kitisa

	Added functions to generate planar, cylindrical, box UV mapping.

	#jira UEENT-1598

Change 4335373 by Jamie.Dale

	Cleaned up some places creating empty literal texts

Change 4335458 by Jamie.Dale

	Allow UHT to parse FText() as an alias of FText::GetEmpty() when processing default values

Change 4335875 by Max.Chen

	Sequencer: Clear RF_Transient on pasted tracks/sections

	#jira UE-63537

Change 4336497 by Johan.Duparc

	ProxyLOD: Fix progress bar issue
	- removed duplicated code
	- removed duplicated LongTask object
	#jira UEENT-1788

Change 4336723 by Jamie.Dale

	Ensure that Python generated types create their CDO at the correct point

	#jira UE-62895

Change 4340594 by Ben.Marsh

	Fix manifest being invalidated when building two enterprise targets in a row. Fixes CIS error.

	#jira UE-63644

[CL 4342443 by JeanMichel Dignard in Main branch]
2018-09-04 16:35:02 -04:00
Marc Audy
f6f6f20a10 Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 4058146)
#lockdown Nick.Penwarden
#rb
============================
  MAJOR FEATURES & CHANGES
============================

Change 4007876 by Ben.Zeigler

	Add Inventory Level and Count, accessed as ItemData. Changed various places to read/write this, and switched Souls to be a proper inventory item instead of a variable on player controller
	The player starts with 0 souls, but I hooked up the + on the souls display to grant 50
	Change the way the Store items are calculated in game instance, GetStoreItems now returns hard pointers so it only loads them once at startup
	Add option to reset save data to the options screen, replaced restore purchases as that makes less sense with the current design

Change 4008251 by Mieszko.Zielinski

	PR #4668: UE-57857: Calling incorrect super function (Contributed by projectgheist)

	Also addresses #jira UE-57869


Change 4008530 by Ben.Zeigler

	Fix hang on startup when async loading component blueprints from game startup code. The component type registry will now load it's meshes on the next tick instead of on construction, as it caused a recursive load issue

Change 4008694 by Ben.Zeigler

	Add bAllowEngineTick option to FLoadingScreenAttributes. If set, it will run the main engine tick while waiting for a manually disabled loading screen to finish displaying. This allows latent actions such as level streaming to complete before stopping the load movie
	This option is disabled by default because game-specific tick functions may be doing unsafe slate operations

Change 4008698 by Ben.Zeigler

	Fix loading screen on map transfer to work properly. There are now options to have the screen be up until it is taken down, changed the game instance to use that
	This depends on engine tick working from the loading movie, a feature I just added

Change 4008699 by Ben.Zeigler

	Add SaveGame flag to gameplay tags so they can be used for native save systems

Change 4008941 by Ben.Zeigler

	Hook up Fireball using new functions that allow applying an effect container spec from a projectile
	Hook mana cost for player abilities, set to 10 but should be balanced and move to a curvetable. Cooldowns are next
	Rename some ability functions to make them shorter

Change 4008943 by Dan.Oconnor

	Make sure we don't drop LOAD_DeferDependencyLoads when loading data via import text
	#jira UE-56478

Change 4010465 by Marc.Audy

	Make the setting of bWasActive in OnUnregister consistent with SetTemplate. Fixes cases where a deactivated particle system can restart when renaming the owning actor between levels.

Change 4010508 by Marc.Audy

	PR #4660: UE-57775: IsEditorOnly components visible in details panel (Contributed by projectgheist)
	#jira UE-57775

Change 4010845 by Dan.Oconnor

	Avoid crashing trying to serialize a subobject that was create outside of a transaction

	#jira UE-57419

Change 4012148 by Phillip.Kavan

	PR #4552: Significantly optimized performance when refreshing the components tree in the Actor details panel.

	#jira UE-55988

Change 4012393 by mason.seay

	Test BP with 512 components

Change 4015966 by mason.seay

	Updated BP to add split pin debugging

Change 4016110 by Marc.Audy

	(4.19.2) PR #4678: Fix crash that occurs when the player controller's view target is in a sublevel instance that was unloaded (Contributed by hach-que)
	#jira UE-58009

Change 4016447 by Phillip.Kavan

	Allow Blueprints that implement a native C++ interface declaring one or more BlueprintNativeEvent methods to be nativized.

	Change summary:
	- UHT: Modified FNativeClassHeaderGenerator::ExportNativeFunctionHeader() to emit a PURE_VIRTUAL() expansion in place of "=0" for all BlueprintNativeEvent C++ implementations implicitly declared within a C++ interface class.

	#jira UE-52372

Change 4016463 by Phillip.Kavan

	CIS fix - back out changelist 4016447 (temp)

Change 4017382 by Dan.Oconnor

	Prevent LOAD_DeferDependencyLoads from being dropped when we preload an object in another linker

Change 4020602 by paulo.souza

	Lighting improvements and optmizations

Change 4020638 by paulo.souza

	Icons and launch screens on mobile (Android and iOS)

Change 4021340 by Ben.Zeigler

	Fix Map/Set add comments to be accurate, the return value was removed

Change 4021392 by Ben.Zeigler

	#jira UE-58087 Fix data loss issue where maps with a Value type of asset/soft object were broken in the 4.18 upgrade. This fix will only apply to 4.19/4.20 because it rides on top of another 4.19 category fixup

Change 4021480 by mason.seay

	Reorganized comments and nodes

Change 4025794 by mason.seay

	Cleared all watches

Change 4026141 by Mieszko.Zielinski

	Removed redundant NumExistingVerts variable/parameter from multiple places in RecastNavMeshGenerator.cpp #UE4

	In rare cases where NumExistingVerts != 0 the code was actually crashing. Found by UDN user:
	https://udn.unrealengine.com/questions/429286/crash-with-dynamic-navmesh.html

	#jira none

Change 4027427 by Dan.Oconnor

	Avoid crash when a subboject reference in the component instance data cache is cleared by a reference collector
	#jira UE-58115

Change 4027434 by Ben.Zeigler

	Clean up rest of ability headers, added struct initializers and UPROPERTY for several that were missing them
	Add a constructor for GameplayAbilitySpec that takes an ability class, which makes more sense than forcing the caller to extract a CDO
	Add explicit warning comment to GameplayAbilityTargetActor about it being not recommended
	Add macros to AttributeSet to declare accessors, a version of which is used by all of the Epic internal games

Change 4028656 by Ben.Zeigler

	Added comments and cleaned up ActionRPG code, done with primary features
	Add DefaultSlottedAbilities to Character, I need to update the blueprints to use this
	Add inventory interface that is used instead of having character explicitly cast to player controller

Change 4029079 by paulo.souza

	Fixes to camera rotation when using the AutoMode + UI changes

Change 4030066 by Phillip.Kavan

	Message (interface) call nodes no longer display the skeleton class name in the node subtitle.

	Change summary:
	- Modified UK2Node_Message::GetNodeTitle() to replace outdated title string formatting with the super class implementation for non-menu title queries.

	#jira nojira

Change 4031843 by Jim.Brown

	Action RPG Game full UI overhaul.

	Goals:
	- new layout and art
	- consolidate view to center of screen
	- make buttons appear more like interactible objects
	- update button placement for reach and usability
	- art pass for consistency of visual language (color, iconography, style)

	Still to do:
	- polish on some of the icons (temp art in several places)
	- audio pass
	- environment pass
	- scripting pass for comments/clarity (although everything looks pretty amazing from what I've seen so far, you guys rock)

Change 4033889 by Fred.Kimberley

	Fixed some watches that were incorrectly displayed as not in scope.

	Blueprint pins on some nodes were incorrectly being displayed as not in scope because they were not directly under the active object being debugged.

Change 4033921 by Fred.Kimberley

	Remove unnecessary cast and unused variable.

Change 4034094 by Phillip.Kavan

	Moved the Blueprint bookmarks feature out from under the experimental settings flag.

Change 4035553 by Marc.Audy

	Remove unneeded UFUNCTION declaration

	#jira UE-58030

Change 4035588 by Jim.Brown

	RPG Game:
	- Fixed a couple weapon icons (from temp art to more final version for review)
	- Created 1st pass audio for Guardian enemies (attack, death, roar, swing)
	- added reeeeeeeaally temp environmental audio (WIP)
	- Started on audio for Spider creature (not in engine yet)

Change 4036698 by Phillip.Kavan

	When blueprint debugging during PIE, step over and out commands no longer cause the mouse pointer to jump back to the game viewport after each step.

	Change summary:
	- Modified FKismetDebugUtilities::IsSingleStepping() to include step out/over state checking.
	- Modified LeaveDebuggingMode() to skip the FocusPIEViewport() call when single-stepping.

	#jira UE-52853

Change 4038454 by Marc.Audy

	Remove unneeded validation code for old UC state system
	Reinstitute proper rejection of UFUNCTION on function in subclass of same name as a ufunction in a parent class.

Change 4038487 by Jim.Brown

	RPG Game:
	- Icon work (still a couple placeholder, but almost done!)
	- Audio pass on Guardian creature
	- started audio on Spider creature (WIP)

Change 4040374 by Phillip.Kavan

	When blueprint debugging during PIE, also keep the mouse pointer from jumping back to the game viewport after choosing to stop play.

	Change summary:
	- Modified LeaveDebuggingMode() to include a pending PIE session exit so that clicking Stop in the BP editor also doesn't cause the cursor to jump.
	- Modified FKismetDebugUtilities::IsSingleStepping() to avoid multiple calls to FKismetDebugUtilitiesData::Get() (per review).

	#jira UE-52853

Change 4040727 by Ben.Zeigler

	Ability blueprint fixes
	Refactored melee execution to use the item slots for both enemies and players, the goblin has his melee placed in weapon slot 0
	Added cooldowns for skills and fixed it so melee/hit reacts would not interrupt skills and cause things like infinite slomo
	Added some comments

Change 4040812 by Fred.Kimberley

	Fix errors and warnings in blueprint editor tests.

	This came from a UDN thread (https://udn.unrealengine.com/questions/411330/test-systempromotioneditorblueprinteditor-aka-fblu.html).

Change 4041001 by Ben.Zeigler

	Hook up skill cooldown to ui, bump cooldown to 2 seconds

Change 4041021 by Marc.Audy

	PR #4703: UE-46077: Remove warning log about removed class variable (Contributed by projectgheist)
	#jira UE-46077
	#jira UE-58379

Change 4041038 by Fred.Kimberley

	Remove UFUNCTION macros in overridden functions to fix build errors.

Change 4041671 by Fred.Kimberley

	Added calls to delegates when a periodic effect executes a final time as it is being removed.

	PR #4607: Added missing Call to Delegates (Contributed by Nachtmahr87)


Change 4041792 by Dan.Oconnor

	Execution flow, blueprint call stack, and blueprint watchpoint viewer refactoring into a single Blueprint Debugger tab. Call stack viewer now indicates whether call stack is stale, watch point viewer layout now matches clal stack viewer

	#jira None

Change 4041796 by Dan.Oconnor

	SubAnim instance nodes can now orphan pins as expected, the actual fix for this issue is 3997164
	#jira UE-53734

Change 4041886 by Phillip.Kavan

	Editable Blueprint events now add 'const' to array type and reference parameter properties when compiled.

	Change summary:
	- Added UK2Node_EditablePinBase::ShouldUseConstRefParams() to replace explicit node type checks.
	- Removed redundant 'const' pin type flag assignment in FBlueprintGraphArgumentLayout::OnRefCheckStateChanged().
	- Modified FBlueprintGraphArgumentLayout::PinInfoChanged() to apply 'const' to array and reference pin types for event nodes.
	- Moved pin type fixup code out of UK2Node_CustomEvent::Serialize() and into UK2Node_EditablePinBase::Serialize().
	- Bumped object version so pin type fixup only needs to run for older assets when loaded in the editor.

	#jira UE-42333

Change 4042215 by Marc.Audy

	Copy fix for depth of field in to Dev-Framework
	#author Allan.Bentham

Change 4042732 by Marc.Audy

	Put the default value for bEnableGestureRecognizer in to BaseInput.ini to make it easier to see there is an option that can be set
	#jira UE-53965

Change 4042796 by Ben.Zeigler

	#jira UE-57831 Fix it so references inside blueprint function local variables of struct or soft object types are correctly tracked and fixed up when assets are moved. This now works identically to how BP pin default values are handled

Change 4042943 by Jim.Brown

	RPG Game:
	- replaced all existing audio
	- set up audio for all animations / matinee
	- will need some polish when real audio comes in, but placeholder is good reference. :)

Change 4043287 by Ben.Zeigler

	#jira UE-57309 Fix it so drag dropping invalid classes does not set class property to none
	#jira UE-57224 Fix it so pasting is correctly validated for soft object properties
	Refactor property handle internals so all object path setting goes through SetValueFromFormattedString and move UseSelected to the property handle instead of the value internal

Change 4043396 by Dan.Oconnor

	Fix crash when mousing over a variable that has been deleted and fix breakpoints on nodes in ForEachLoops being skipped
	#jira UE-58290

Change 4043708 by paulo.souza

	Enemy progression intial commit + cleanups

Change 4045083 by Phillip.Kavan

	Don't allow new bookmarks to be added when the name field is empty.

	#jira UE-58220

Change 4045504 by Phillip.Kavan

	The search bar is now functional in the Blueprint Bookmarks view.

	#jira UE-58421

Change 4045516 by Phillip.Kavan

	Fix incorrect original name display when renaming a bookmark in the Blueprint graph view (popup).

	#jira UE-55596

Change 4046707 by Jim.Brown

	Action RPG Game

	Guardians:
	- Removed delay before grunts attack (so they don't just stand there anymore)
	- Replaced idle animation with idle animation (was a scream, which they did every time they were idle)

	HUD:
	- Fixed skill meter not animating properly
	- Added pulsing reminder around skill button when it's ready and hasn't been used

	Character: (WIP)
	- Fixed missing anim notify in Attack02
	- Added missing notify (and sound) in a couple attacks
	- reduced forward movement component of first couple attacks in combo move

Change 4046868 by Dan.Oconnor

	Reparent blueprints before replacing references when using the 'delete and replace references' tool

	#jira UE-57355

Change 4047012 by Jose.Gonzalez

	Action RPG Game: Added new sounds for the abilities, made tiny adjustments to two anims to compensate.

Change 4047018 by Jose.Gonzalez

	Action RPG Game: Updated pitch and volume on player roll anim to compensate for new assets

Change 4047089 by paulo.souza

	Action RPG Game: Spider boss now uses the Ability System for ranged attacks + Fixes to enemy animations and physics

Change 4049741 by Jim.Brown

	Action RPG Game:

	- Set up Wave intro/outro screen
	- Added a some audio stingers (legal approved, no need to replace)
	- Content (music) file organization

Change 4050235 by Jim.Brown

	Action RPG:

	- Set up blocking volumes throughout entire map
	- aligned all volumes on major grid lines
	- turned off collision on all exterior rock meshes
	- full rebuild
	(should improve perf, collision, and pathing)

Change 4050440 by paulo.souza

	Action RPG Game: Fixes to Goblin death and hit animations + Nicer Melee and Skill functions

Change 4050910 by paulo.souza

	Action RPG Game: Changed some collision volumes to ignore camera channel traces to not interfere with the character's camera

Change 4050920 by paulo.souza

	Action RPG Game: Wave start and finish screen animation timing fix/polishing

Change 4050921 by paulo.souza

	Action RPG Game: FIX - Enemies could not follow the player when in auto-play mode

Change 4052161 by Jose.Gonzalez

	Added player character efforts.
	Adjusted soundcues for VO that plays during slow downs.
	Added anims to support different sounds for mana/health potions

	#jira UE-58598

Change 4052932 by Dan.Oconnor

	Add context menu so that we can restore blueprint debugger tabs that have been closed, moved Blueprint Debugger related code out of BlueprintEditorModule as it is now quite significant

	#jira UE-58605

Change 4053179 by Jim.Brown

	Action RPG Game:

	- New front end (background, logo, buttons, animations)
	- Updated HUD/UI with new art to match updated front end.

Change 4053187 by Marc.Audy

	Add method to invoke dynamic force feedback effects from native code without misusing the latent action mechanism.
	Fix latent dynamic force feedback effects not updating their values when instructed to.

	#jira UE-55921

Change 4053423 by Jose.Gonzalez

	Added Guardian footsteps and concurrency rules for them.
	Added new spawn sound and variant for Guardian, with concurrency rules to keep them in check.
	Added sword swings, adjusted volume per anim.
	Added power up for Firewave.
	Added Player Character footsteps.
	Added whoosh for slo-mo meteors.

	#jira UE-58598

Change 4053769 by Phillip.Kavan

	Remove associated local bookmarks when Blueprint assets are deleted.

	Change summary:
	- Added a UBlueprint::BeginDestroy() override (WITH_EDITOR only).
	- Added FBlueprintEditorUtils::RemoveAllLocalBookmarks().

	#jira UE-55606

Change 4053771 by Phillip.Kavan

	CIS fix (failed P4 resolve)

Change 4053849 by Jose.Gonzalez

	Spider large steps added, adjusted all anims and added them in the anims they weren't in.
	Character collapse added.
	Began work on Intro audio (creature sounds and timing)

	#jira UE-58598

Change 4054042 by Jose.Gonzalez

	Added Health and Mana cues, they now have seperate anims per item.
	Added all Guardian VO, setup sequences and anims with matching audio.
	Hammer and Axe swings added.
	Level up cue added, adjusted anim.
	Guardian swings and impacts added

	#jira UE-58598

Change 4054375 by Marc.Audy

	Ensure only that instanced IsEditorOnly components are displayed in the IWCE window
	#jira UE-57954

Change 4054518 by Phillip.Kavan

	For now, ignore older bookmark nodes that don't have a corresponding map entry during BP asset deletion.

	#jira UE-58738

Change 4054777 by Ben.Zeigler

	#jira UE-58750 Fix setting actor references in details panel, we need to pass in null as the owner object as it there may be multiple owner objects and we don't know what they are yet, and passing in the owning class is wrong

Change 4054796 by Fred.Kimberley

	Improved watch window.
	 - shows watches from multiple blueprints.
	 - better indication of instances being debugged vs watches that aren't currently valid

Change 4055112 by Fred.Kimberley

	PR #4273: Expose AIController public properties to BP (Contributed by Allar)


	#jira UE-53007

Change 4055126 by Dan.Oconnor

	Fix shadow variable
	#jira UE-58763

Change 4055253 by paulo.souza

	Action RPG Game - Fixes:
	Player can die properly;
	Should not be able to buy Souls;
	Margins for the iPhoneX notch;

Change 4055279 by Fred.Kimberley

	Added a helper function to make it easier to query containers for the presence of a single tag.

	PR #4620: FGameplayTagQuery match single tag shortcut (Contributed by Acren)


	#jira UE-57128

Change 4055511 by Ben.Zeigler

	Fix it so the Primary Asset load BP nodes can be safely called from a loop like path Async Load nodes. They now take WorldContextObjects, which should automatically convert
	Add UBlueprintAsyncActionBase::RegisterWithGameInstance, when called the action will not be garbage collected until the GameInstance goes away or it is unregistered

Change 4055981 by Jose.Gonzalez

	Spider completed

	#jira UE-58598

Change 4056011 by Jim.Brown

	RPG Game:
	- Fixed textures that weren't power of 2 for mobile
	- Updated main menu screens with better lighting/resolution
	- lighting tweaks to main level
	- Gameplay balance tweaks (should be a bit more difficult now)
	     - more enemies per wave
	     - tighter distribution of enemy levels
	- Differentiated enemies:
	     - Lvl 1 enemies are smaller w/ red effects
	     - Lvl 2 enemies are same size with yellow effects
	     - Lvl 3 enemies are larger with purplish effects
	- Added effects to lvl 3 enemy's weapon (torch)
	- Fixed color distrubution and transparency across buttons on the HUD
	- Fixed button text eating input from buttons
	- maybe some other stuff I forgot. :P

Change 4056192 by Dan.Oconnor

	Fix failure to propagate LOAD_DeferDependencyLoads when loading via FindImportedObject or StaticLoadObjectInternal

	#jira None

Change 4056224 by Fred.Kimberley

	Revert CL 4040812 for this file only. This change was not meant to be checked in.

	#jira UE-58785

Change 4056239 by Marc.Audy

	Components correctly display again.
	Sprite components of Instanced components do appear. Can't solve that for now.
	#jira UE-58747

Change 4056390 by Fred.Kimberley

	Call UGameUserSettings::SetToDefaults() after we've created the instance. This makes sure that classes that overrode this function will have the correct version called.

	#jira UE-56986

Change 4056397 by Fred.Kimberley

	Fix several minor issues with the watch window.
	 - Switched to more user friendly names for the instances being debugged
	 - Support copy and paste of multiple lines in the watch window
	 - Deselect whatever was currently selected when we use the hyperlink to jump to the object being debugged.

	#jira UE-55707, UE-58273, UE-58703

Change 4056410 by Michael.Noland

	Core: Added FUNC_Const to FUNC_FuncInherit

Change 4056515 by Phillip.Kavan

	Fix crash on load during serialization of function entry nodes if the generated class is not yet available.

	#jira UE-58783

Change 4056530 by Jose.Gonzalez

	Set up soundclasses for all soundcues.
	PSMs for Potions, Abilities, Slomo, and Enemy

	#jira UE-58598

Change 4056552 by Ben.Zeigler

	#jira UE-58753 Fix issue where TPropertyIterator would skip value properties when used on a map with struct keys but direct values

Change 4056554 by Ben.Zeigler

	Add a test for property iterator, reorganized the property path helpers test so it shares the structure and is enabled for cooked builds

Change 4056558 by paulo.souza

	Action RPG:
	- Fixed weapon switching bug
	- Added more time to play the game (added per wave)
	- AnimBP now resets to idle animation when in Inventory mode

Change 4056634 by Ben.Zeigler

	Stop error spam about loading null items

Change 4056638 by Ben.Zeigler

	Cleaned up GameInstance handling of loading screens
	Delete some unused assets and consolidate a physical material

Change 4056640 by Michael.Noland

	PR #4119: Expose bClientSimulatingViewTarget to BP (Contributed by Allar)
	#jira UE-51273

Change 4056641 by Michael.Noland

	PR #4128: Marked APawn::LastHitBy as BlueprintReadOnly (Contributed by Allar)
	#jira UE-51293

Change 4056642 by Michael.Noland

	PR #4339: Fix a typo in a comment in UPlayerInput::ProcessInputStack (Contributed by shrimpy56)

Change 4056644 by Michael.Noland

	PR #4462: Fixed a typo in name validation error messages where the name was already in use (Contributed by Dimpl)

Change 4056645 by Michael.Noland

	PR #4635: UE-57273: Only call PostProcessWorldToScreen if ProjectWorldToScreen was successful (Contributed by projectgheist)
	#jira UE-57273

Change 4056646 by Michael.Noland

	Blueprints: Prevent struct properties with an Identical type trait (e.g., FGameplayTagContainer) from showing up as different in a BP diff even if they were unmodified
	PR #4687: (Contributed by projectgheist)
	#jira UE-58082

Change 4056659 by Michael.Noland

	PR #4244: Fixed TargetPoint's Arrow component being too small to see (Contributed by LordNed)

Change 4056662 by Michael.Noland

	PR #4690: Dirty sprites when double-clicking to change the UV region (Contributed by projectgheist, modified slightly)
	#jira UE-58158, UE-58096

Change 4056664 by Michael.Noland

	PR #4126: Allow CanRestartPlayer to be BlueprintCallable (Contributed by Allar)
	#jira UE-51291

Change 4056665 by Michael.Noland

	PR #4641: UE-57415: Clamp value for time dilation (Contributed by projectgheist)

Change 4056696 by Michael.Noland

	PR #4127: Marked PlayerCanRestart in GameMode as BlueprintCallable (Contributed by Allar)

	#jira UE-51292

Change 4056716 by Michael.Noland

	PR #4192: Fix adding new collision or rendering shapes (box/sphere) being at the wrong position when a sprite is not at the origin in UV space (Contributed by Mmpuskas, with minor edits)

Change 4056720 by Michael.Noland

	PR #4718: Fixed collision generation for tile maps with non-orthogonal projections (Contributed by Rei-halycon)

Change 4056723 by Michael.Noland

	PR #4583: [Paper2D] Fixed yellow tint in tilemap editor & made tile grid color customizable (Contributed by krill-o-tron)

Change 4056744 by paulo.souza

	Action RPG:
	- Fixed null referenced assets
	- Reinstated the "Add Souls" button (for QA)
	- Reduced some UI images max cook resolution

Change 4056745 by Jose.Gonzalez

	UI and Ambient sounds added

	#jira UE-58598

Change 4057038 by Jim.Brown

	RPG Game:
	- Fixed broken title screen

Change 4057043 by Jim.Brown

	RPG Game:
	- Lowered footstep volume

Change 4057071 by Jim.Brown

	RPG Game: fixed broken logo/title widget

Change 4057079 by Michael.Noland

	Blueprints: Fixing a static analysis error in the watch window

Change 4057112 by Jim.Brown

	RPG Game: updated logo (downsized from 2048 to 1024 and improved quality)

Change 4057201 by Jim.Brown

	RPG Game: removed music pitch bending from slomo effect (kept ducking) as it sounded very odd in certain circumstances.

Change 4057245 by Jim.Brown

	RPG Game: Lowered pitch of sword swing

Change 4057443 by Marc.Audy

	Property counts will be different in cooked and uncooked builds due to the editor only properties

Change 4057515 by Jim.Brown

	Action RPG:
	- Replaced background image in main  menu with much higher quality art
	- Removed dynamic spotlight that was causing perf hitch in main map
	- Added slight animation to damage number pops
	- Audio tweaks

Change 4020341 by Phillip.Kavan

	(Revised) Allow Blueprints that implement a native C++ interface declaring one or more BlueprintNativeEvent methods to be nativized.

	Change summary:
	- Restored 4016447.
	- UHT: Modified FNativeClassHeaderGenerator::ExportNativeFunctionHeader() to construct a TEnumAsByte as the return value for non-class Enum types when emitting the PURE_VIRTUAL() syntax for BPNE interface methods.
	- Removed existing occurrences of explicit BPNE interface PVM stub implementations as these would otherwise conflict with the PURE_VIRTUAL() expansion.

	#jira UE-52372

Change 4024137 by Ben.Zeigler

	Clean up AbilitySystemComponent and GameplayAbility headers. Improved comments, reorganized functions, added virtual to useful places, and removed some dead functions
	Renamed EReplicationMode to EGameplayEffectReplicationMode as the old name was too general for a global enum
	Added UGameplayAbility::GetAbilitySystemComponentFromActorInfo
	Added UAbilitySystemComponent::AddGameplayEventTagContainerDelegate to allow binding a delegate to a gameplay event using a tag container allowing non-exact matches. Added option to AbilityTask_WaitGameplayEvent to allow non exact tags
	Fixed ActionRPG sample and internal games for changes. ActionRPG now only has game-specific ability system code

Change 4035540 by Marc.Audy

	Make UWidget::IsHovered virtual

Change 4043467 by Ben.Zeigler

	#jira UE-58516 Fix it so DirectoriesToNeverCook and DirectoriesToAlwaysCook can now include engine and plugin directories
	#jira UE-45710 Fix description for DirectoriesToNeverCook from PR #3654
	These are now stored as /game/foo instead of foo and use the in-editor UI instead of the platform directory UI

[CL 4058964 by Marc Audy in Main branch]
2018-05-08 18:03:43 -04:00
Ben Marsh
30f891786a 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
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
Marc Audy
1d07b2102d Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3779049)
#rb none
#lockdown Nick.Penwarden

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

Change 3626305 by Phillip.Kavan

	#jira UE-49269 - Workaround fix for crash after packaging a nativized QAGame build with all AnimBP assets disabled for nativization by default.

Change 3627162 by Phillip.Kavan

	#jira UE-49239 - Fix an invalid cast emitted to nativized codegen for converted AnimBP types.

	- Regression introduced in CL# 3613358.

Change 3756887 by Ben.Zeigler

	#jira UE-52380 Fix inconsistency with how FSoftObjectPtr case is managed between FLinkerSave and FArchiveSaveTagImports, which would cause a cook ensure under some circumstances
	Copy of CL #3756788

Change 3756888 by Ben.Zeigler

	#jira UE-45505 Fix issue where FCoreUObjectDelegates::OnAssetLoaded was being called from an inner loop inside EndLoad. Maps would register components from that callback, and if those registers started their own loads, those objects would be returned in a partially loaded state. We now defer the asset loaded callback to the very end of the loop so recursive loads work properly
	Copy of CL #3753986
	#thomas.sarkanen

Change 3759254 by Ben.Zeigler

	Disable the duplicate PrimaryAssetId for editor only types like Maps. This can happen if content folk copy maps using the content browser, and does not actually cause a runtime problem. It still ensures for cooked types

Change 3759278 by Ben.Zeigler

	Add IsTempPackage to FPackageName
	Fix issue where temp/memory packages shown in a content browser/asset audit window would spam the log when it failed to find source control info for them

Change 3759613 by Phillip.Kavan

	Add support for casting between mismatched soft pointer types in nativized Blueprint C++ assignment statements and function calls.

	Change summary:
	- Extended FEmitHelper::GenerateAutomaticCast() to consider soft pointer terms and inject C++ code to explicitly cast the RHS when needed.

	#jira UE-52205

Change 3760040 by Dan.Oconnor

	Add Call Stack control for viewing Blueprint call stacks when paused at a breakpoint, available from the Developer Tools menu

	#jira UE-2296

Change 3760955 by Phillip.Kavan

	Fix conditional (SA/CIS issue).

Change 3761356 by Ben.Zeigler

	Fix DLC staging rules to handle metadata correctly and remove debug log I accidentally added. The DLC staging now iterates in a similar way to the normal staging, it just may also excluded Engine

Change 3761859 by Zak.Middleton

	#ue4 - Fix crash in UStaticMesh::GetAssetRegistryTags() when FindObject is used during saving. Added Lex::ToString for physics enums ECollisionTraceFlag, EPhysicsType, and EBodyCollisionResponse.

	#jira UE-52478
	#tests QA game, content browser

Change 3761860 by mason.seay

	Submitting test content for Async Load issue

Change 3762559 by Ben.Zeigler

	#jira UE-52407 Fix it so FText can be specified in blueprint functions as default parameters. The UI showed up before but the data was lost
	Change GetDefaultsAsString on Pin to always return an internal string so it can correctly be import texted, add GetDefaultsAsText for display purposes

Change 3764459 by Marc.Audy

	PR #4224: Fix LoadLevelInstanceBySoftObjectPtr (Contributed by phlknght)
	#jira UE-52415

Change 3764580 by Ben.Zeigler

	Clean up delegates in UObjectGlobals.h, fixing several incorrect comments and moving some editor delegates into WITH_EDITOR

Change 3764602 by Ben.Zeigler

	#jira UE-52487 Fix it so OnAssetLoaded gets correctly called for Assets that were async loaded while in the editor/standalone editor game.
	This is necessary because they would not get registered with various editor systems for the rest of the editor session, even if opened manually

Change 3764603 by Ben.Zeigler

	Related to UE-52487, now that async loading blueprints in the editor properly registers them with the blueprint actions, we need to unregister them when automated tests want them to unload. Add a ClearEditorReferences function to UBlueprint that calls the OnUnloaded editor delegate, so EngineTest doesn't need to include the editor module

Change 3764768 by Ben.Zeigler

	#jira UE-52524 Fix null access crash when pasting an invalid macro instance node

Change 3766415 by Fred.Kimberley

	Removing invalid assets. Most of these are out  of date.

Change 3766417 by Fred.Kimberley

	Add warnings when we try to export a package without a type.

Change 3766514 by Fred.Kimberley

	Added a #include to fix the build.

Change 3766542 by Fred.Kimberley

	Added a #include to fix the build.

Change 3766558 by Fred.Kimberley

	Rename variables to avoid warnings about hiding previous variable declarations.

Change 3767619 by Marc.Audy

	bActorIsBeingDestroyed must be part of transaction history
	#jira UE-51796

Change 3767993 by Dan.Oconnor

	Preserve graph editor controls when clicking on a hyper link, this speeds up navigation via the debugger  'step' command and Find in Blueprints control
	#jira UE-52596

Change 3768146 by Marc.Audy

	Fix material instance dynamic not correctly finding object in details panel customization as a result soft path changes
	#jira UE-52488

Change 3769586 by Marc.Audy

	Fix expose on spawn related error messages

Change 3769863 by Dan.Oconnor

	Blueprint call stack now has access to frame offsets and can highlight nodes that are active on previous stack frames

	#jira UE-52452

Change 3771200 by Dan.Oconnor

	CIS fix - add missing DO_BLUEPRINT_GUARD

Change 3771555 by Ben.Zeigler

	Add transactions for several pin class changing actions which were missing them

Change 3771589 by Ben.Zeigler

	#jira UE-52665 Fix it so changing the type of a create widget or spawn actor node will correctly propagate the type change to reroute/wildcard nodes instead of disconnecting

Change 3771683 by Dan.Oconnor

	Call Stack polish: background color no longer changes when undocked, prettify-ing "ExecuteUbergraph_blahblah" in to "Event Graph", resizing works correctly, added overlay message when no call stack is available

	#jira UE-52567

Change 3771734 by Dan.Oconnor

	Add entries for native code in the blueprint call stack view, clarifying re-entrancy

Change 3774293 by Ben.Zeigler

	#jira UE-52665 Minimal fix for making sure type changes propagate through multiple rerout nodes, going to make a larger refactor in a second checkin

Change 3774328 by Ben.Zeigler

	#jira UE-52665 Refactor knot nodes so there is one type propagation function that takes a direction, this fixes an issue where the second knot node in a chain would not have it's type changed when input type changed

Change 3774342 by Ben.Zeigler

	#jira UE-52661 Fix crash when using blueprinted components created by a specialized subclass of UBlueprint, from PR #4249

Change 3774476 by Fred.Kimberley

	Add class and function info to pin names for async nodes. This fixes a problem where redirectors for async node pins did not work.

	https://udn.unrealengine.com/questions/402882/propertyredirect-fails-with-uk2node-latentgameplay.html?childToView=403808

Change 3774645 by Ben.Zeigler

	#jira UE-41743 Fix it so struct split pins handle renames correctly, both for user structs and native structs
	Refactor the variable rename checking in make/break struct to use the generic one I just added

Change 3775412 by Phillip.Kavan

	UX improvements for Blueprint single-step debugging and breakpoints. Also added Step Out and Step Over debugging commands.

	Change summary:
	- Remapped the existing Step In command from F10 to F11 hotkey.
	- Mapped existing Step Over command to F10 and existing Step Out command to ALT-SHIFT-F11 hotkeys.
	- Added new (repurposed) icon assets for single-step debugging toolbar commands.
	- Modified FPlayWorldCommands::BuildToolbar() to add new Step Over and Step Out commands to the toolbar.
	- Modified FCompilerResultsLog::CalculateStableIdentifierForLatentActionManager() to remove special-case code for intermediate Tunnel Instance nodes, as these are now reverse-mapped through FullSourceBacktrackMap.
	- Modified FKismetDebugUtilities::CheckBreakConditions() to more generally manage the current graph stack (i.e. not just for Blueprint Function graphs). Also fixed a bug where we had failed to reset the target graph stack depth after completing a Step Out/Over iteration.
	- Modified FBlueprintDebugData::FindAllCodeLocationsFromSourceNode() to remove the additional iteration for the special Macro source node table (no longer required).
	- Modified FBlueprintDebugData::RegisterNodeToCodeAssociation() to remove the Macro-specific parameters and the additional insertions into the special Macro tables (no longer required).
	- Modified UK2Node_MathExpression::ValidateNodeDuringCompilation() to remove the special-case for Macro Instance source nodes, as Macro source nodes are now being mapped through the same table.
	- Added FindMatchingTunnelInstanceNode() as a utility method for now in BlueprintConnectionDrawingPolicy.cpp in order to match up Macro/Composite graph source nodes with nested Tunnel Instance nodes at the current graph level. *** TODO: For 4.19 we probably should revert back to using a secondary table in the debug data to map Tunnel Instance node hierarchies to code offsets in order to result in a faster lookup time here. ***
	- Modified FKismetConnectionDrawingPolicy::BuilldExecutionRoadmap() to replace the special-case for Macro Instance source nodes with a more general check for Tunnel Instance nodes that also handles Composite source nodes.
	- Revised UK2Node_TunnelBoundary to strip out most of what was being used to support the profiler, while keeping its basic compiled goto behavior in order to still function as a NOP node.
	- Added FKismetCompilerContext::SpawnIntermediateTunnelBoundaryNodes().
	- Modified FKismetCompilerContext::ExpandTunnelsAndMacros() to no longer overwrite intermediate Macro source node mappings in the lookup table with the Macro Instance source node that triggered the Macro graph expansion. Also revised the TunnelNode case to spawn intermediate TunnelBoundary (NOP) nodes around Macro and Composite gateways; this allows breakpoints to hit on the Tunnel nodes around a source graph expansion.
	- Modified FScriptBuilderBase::EmitInstrumentation() to remove special-case handling for Macro and Tunnel source nodes. These are now being mapped directly through the SourceBacktrackMap instead.
	- Removed alternate breakpoint icon assets for Macro Instance and Composite nodes (no longer needed).
	- Removed UK2Node::GetActiveBreakpointToolTipText() and its UK2Node_MacroInstance override (no longer required).
	- Removed special case in SGraphNodeK2Base::GetOverlayBrushes() for Macro Instance and Composite nodes (no longer needed).
	- Removed special-case mappings and interface methods for Tunnel nodes in FCompilerResultsLog (no longer required).
	- Removed the LineNumberToMacroSourceNodeMap and LineNumberToMacroInstanceNodeMap members from the FDebuggingInfoForSingleFunction struct (no longer in use).
	- Removed FBlueprintDebugData::FindMacroSourceNodeFromCodeLocation() and FindMacroInstanceNodesFromCodeLocation().
	- Removed FKismetDebugUtilities::FindMacroSourceNodeForCodeLocation() (no longer in use).
	- Removed special-case handling for Macro Instance nodes in FKismetDebugUtilities::OnScriptException() (no longer required). Macro source nodes are no longer being mapped to code offsets through a separate table, and we don't need to worry about saving/restoring the Active Object when debugging with a Macro Graph in the active tab.

	#jira UE-2880
	#jira UE-16817

Change 3776606 by mason.seay

	Updated content to prevent warning from appearing

Change 3777051 by Dan.Oconnor

	ComponentTemplate references in UBlueprint can no be cleared after compiling the (blueprint defined) component
	#jira UE-52484

Change 3777108 by Dan.Oconnor

	Look up call stack frame source name when caching a script call stack for display. This relies on debug data being generated for event stubs

	#jira UE-52717, UE-52719

Change 3778277 by Marc.Audy

	Fixed potential null material reference causing crash.
	#jira UE-52803

Change 3778288 by Marc.Audy

	PR #3957: Making FAlphaBlend BlueprintType in order to fix a bunch of broken UPROPERTY's as of 4.17 (Contributed by ill)
	#jira UE-49082

Change 3778321 by Phillip.Kavan

	Fix for a regression in BP script execution behavior related to misidentified latent node expansions from a macro source graph.

	Change summary:
	- Removed FCompilerResultsLog::FullSourceBacktrackMap (no longer in use).
	- Restored FCompilerResultsLog::IntermediateTunnelNodeToTunnelInstanceMap (which was in place prior to CL# 37754112); this table was being used to map intermediate nodes resulting from a tunnel instance node expansion back to the outer tunnel instance node that triggered the expansion. Its once again being used for that reason, but I reduced the scope a bit to only include the execution path within the expansion, as that's the only mapping that we need.
	- Restored FCompilerResultsLog::RegisterIntermediateTunnelNode(), but renamed it to NotifyIntermediateTunnelNode() to be consistent with the other parts of the MessageLog interface, and also removed the part of the implementation that was adding to a secondary macro expansion-to-source backtrack map (since macro expansion node lookup is now done through the main source backtrack map).
	- Restored FCompilerResultsLog::GetIntermediateTunnelInstance().
	- Modified FCompilerResultsLog::NotifyIntermediateObjectCreation() to remove the part of the implementation that was adding to the secondary node-only-to-source backtrack map (it was previously just a redundant copy of the main one except in the case of macro expansions).
	- Modified FCompilerResultsLog::CalculateStableIdentifierForLatentActionManager() to restore the calculation of a stable UUID for nodes sourced from a macro expansion, where we had incorporated the outer intermediate tunnel instance node chain.

	#jira UE-52872

Change 3778329 by Marc.Audy

	PR #4241: Enforce calling superclass on ActorComponent::BeginPlay (Contributed by rlefebvre)
	#jira UE-52574

Change 3778349 by Marc.Audy

	Minor cleanup

Change 3759702 by Ben.Zeigler

	#jira UE-52287 Prevent cook metadata like DevelopmentAssetRegistry.bin from being packed into a shipping game, by moving it into a Metadata subdirectory and updating deployment scripts to avoid that directory.
	Right now it doesn't package them at all, we could change it to package them as Debug Non-UFS if desired
	Change it so the asset audit UI will only load DevelopmentAssetRegistry.bin files, the cooked registry files don't have enough information any more to be useful
	Remove ability for runtime game to load DevelopmentAssetRegistry.bin, this ended up not being useful
	#jira UE-52158 Fix it to refresh the list of possible asset audit platforms when the refresh button is pushed

Change 3766414 by Fred.Kimberley

	Data validation plugin

Change 3769923 by Ben.Zeigler

	#jira UE-30347 Change ResourceSize mode enum from Inclusive to EstimatedTotal, which includes UObject serialization data as well as data for any subobjects. It now does NOT include externally referenced assets, which it did for some assets but not others
	Fix Texture EstimatedTotal memory to handle LOD bias, it now reports the largest possible size in a cooked game of any platform
	Fix many GetResourceSizeEx calls to match the new definition and improve accuracy
	Switched several editor tools to use EstimatedTotal now that it is more useful, and removed some unused memory stats
	Remove ResourceSize from UObject asset registry tags as it was misleading and inaccurate, for now it is only possible to get this for loaded objects
	Remove MapFileSize from Worlds as it redundant with the generic file size. Fixed the generic file size to display using the Size format
	Several UI fixes for Asset Audit and Size Map to deal with this change. Asset Audit no longer has the memory size columns, and the memory size drop down in Size Map is disabled for cooked builds

Change 3771365 by Ben.Zeigler

	#jira UE-52670 Add project setting bValidateUnloadedSoftActorReferences that is true by default to match current behavior. If you set it to false it will no longer load packages to look for soft actor references when deleting/renaming actors.

[CL 3779057 by Marc Audy in Main branch]
2017-11-29 16:03:05 -05:00