Commit Graph

12 Commits

Author SHA1 Message Date
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
Nick Darnell
d5a5e56664 Copying //UE4/Dev-Editor to Dev-Main (//UE4/Dev-Main)
#lockdown nick.penwarden

Change 2889481 on 2016/03/02 by Richard.TalbotWatkin

	Fixed socket preview component in Static Mesh Editor so that it remains correctly attached if the socket is renamed (Contributed by Manny-MADE).
	PR #2094
	#jira UE-27338 - GitHub 2094 : BUGFIX: Socket preview component broken in Static Mesh Editor

FSlateAtlasedTextureResource

	Made changes to the Perforce source control provider so that operations can be cancelled with immediate effect if there is an issue connecting to the server.
	#jira UE-24632 - "Updating file(s) source control status..." dialog doesn't allow Cancel
	#RB Thomas.Sarkanen

Change 2890359 on 2016/03/02 by Nick.Darnell

	Jira Mirroring - Adding some tools for matching gits sha to perforce commits.  Also adding the program for scraping jira issues and pushing them elsewhere.

Change 2892008 on 2016/03/03 by Richard.TalbotWatkin

	Back out changelist 2813475

Change 2892086 on 2016/03/03 by Richard.TalbotWatkin

	Back out changelist 2813457

Change 2892117 on 2016/03/03 by Richard.TalbotWatkin

	Back out changelist 2812830

Change 2892316 on 2016/03/03 by Richard.TalbotWatkin

	Fixed conversion of brushes to volumes so that the original transform isn't lost.
	#jira UE-24404 - Convert Actor from BSP to volume can affect the actor transform

Change 2892765 on 2016/03/03 by Andrew.Rodham

	Changed public facing level editor classes to use ILevelEditor instead of SLevelEditor

	#codereview Mike.Fricker

Change 2894154 on 2016/03/04 by Richard.TalbotWatkin

	Fixed error in USplineComponent::GetSegmentLength when the segment is linear or constant.

Change 2894481 on 2016/03/04 by Cody.Albert

	#jira UE-27830

	Fixed mismatched layout name

Change 2896339 on 2016/03/06 by Richard.TalbotWatkin

	Fixed undo issues in texture paint mode.
	#jira UE-21206 - Texture Painting bugs

Change 2896713 on 2016/03/07 by Joe.Conley

	Replacing #ifndef with #pragma once

Change 2896955 on 2016/03/07 by Cody.Albert

	#jira UE-27711

	Added initialization for LastHighlightInteractionTime

Change 2898895 on 2016/03/08 by Richard.TalbotWatkin

	More optimizations to editing actors with a large number of components. Improved performance when executing construction scripts.
	#jira UE-24821 - Blueprints with thousands of components perform very badly when selected in the Level Viewport

Change 2900770 on 2016/03/09 by Joe.Conley

	Change #ifndef to #pragma once for headers under Runtime/Engine/Public

Change 2900835 on 2016/03/09 by Richard.TalbotWatkin

	Fixed issues with scrolling items into view in STileView. Also fixed bugs in STileView::ReGenerateItems.
	#jira UE-20441 - Hitting F2 to rename an asset in the Content Browser moves the asset out of view if the CB is at default size and location
	#jira UE-20807 - Browse to Asset in Content Browser focuses just on the text
	#codereview Nick.Atamas

Change 2900837 on 2016/03/09 by Richard.TalbotWatkin

	Added an OnKeyDownHandler to SSearchBox and SAssetSearchBox so that functionality for handling keypresses which is normally handled by SEditableText can be overridden.  Added custom behavior to SAssetPicker and SAssetSearchBox so that up/down cursor keys can be used to change focus from the text box to the menu.
	#jira UE-20567 - UX Regression on Open Asset Panel
	This also addresses a similar issue with the auto-complete popup in the Content Browser search bar.

Change 2900847 on 2016/03/09 by Richard.TalbotWatkin

	Fixed include dependency.

Change 2900951 on 2016/03/09 by Richard.TalbotWatkin

	Fixed non-dependent name lookup for superclass member access.

Change 2901325 on 2016/03/09 by Jamie.Dale

	PR #2107: Output Log Filtering (Contributed by phoboz-net)

Change 2901391 on 2016/03/09 by Jamie.Dale

	Some more output log filter improvements

	We now defer the search until you finish typing, and the filter list itself now uses toggle buttons (like the content browser) so that you can toggle multiple filters without having to re-open the menu.

Change 2901736 on 2016/03/09 by Alexis.Matte

	#jira UE-14632
	Export staticmeshactor which are base on blueprint class as a blueprint instead of exporting it as an actor.

	#codereview nick.darnell

Change 2903162 on 2016/03/10 by Alexis.Matte

	Fbx scene importer, Fix crash when changing the material base path in the material tab page

	#codereview nick.darnell

Change 2903903 on 2016/03/10 by Richard.TalbotWatkin

	Fixed crash when attempting to paste an object from the level viewport into the content browser.
	#jira UE-26100 - Crash when attempting to copy an object from the world into the content browser

Change 2903947 on 2016/03/10 by Richard.TalbotWatkin

[CL 2937134 by Nick Darnell in Main branch]
2016-04-07 16:16:52 -04:00
Nick Darnell
71d3d81e81 Back out Dev-Editor -> Main copy up.
#lockdown Nick.Penwarden

[CL 2936997 by Nick Darnell in Main branch]
2016-04-07 14:58:54 -04:00
Nick Darnell
03c1df75c3 Copying //UE4/Dev-Editor to Dev-Main (//UE4/Dev-Main)
#lockdown nick.penwarden

Change 2889481 on 2016/03/02 by Richard.TalbotWatkin

	Fixed socket preview component in Static Mesh Editor so that it remains correctly attached if the socket is renamed (Contributed by Manny-MADE).
	PR #2094
	#jira UE-27338 - GitHub 2094 : BUGFIX: Socket preview component broken in Static Mesh Editor

FSlateAtlasedTextureResource

	Made changes to the Perforce source control provider so that operations can be cancelled with immediate effect if there is an issue connecting to the server.
	#jira UE-24632 - "Updating file(s) source control status..." dialog doesn't allow Cancel
	#RB Thomas.Sarkanen

Change 2890359 on 2016/03/02 by Nick.Darnell

	Jira Mirroring - Adding some tools for matching gits sha to perforce commits.  Also adding the program for scraping jira issues and pushing them elsewhere.

Change 2892008 on 2016/03/03 by Richard.TalbotWatkin

	Back out changelist 2813475

Change 2892086 on 2016/03/03 by Richard.TalbotWatkin

	Back out changelist 2813457

Change 2892117 on 2016/03/03 by Richard.TalbotWatkin

	Back out changelist 2812830

Change 2892316 on 2016/03/03 by Richard.TalbotWatkin

	Fixed conversion of brushes to volumes so that the original transform isn't lost.
	#jira UE-24404 - Convert Actor from BSP to volume can affect the actor transform

Change 2892765 on 2016/03/03 by Andrew.Rodham

	Changed public facing level editor classes to use ILevelEditor instead of SLevelEditor

	#codereview Mike.Fricker

Change 2894154 on 2016/03/04 by Richard.TalbotWatkin

	Fixed error in USplineComponent::GetSegmentLength when the segment is linear or constant.

Change 2894481 on 2016/03/04 by Cody.Albert

	#jira UE-27830

	Fixed mismatched layout name

Change 2896339 on 2016/03/06 by Richard.TalbotWatkin

	Fixed undo issues in texture paint mode.
	#jira UE-21206 - Texture Painting bugs

Change 2896713 on 2016/03/07 by Joe.Conley

	Replacing #ifndef with #pragma once

Change 2896955 on 2016/03/07 by Cody.Albert

	#jira UE-27711

	Added initialization for LastHighlightInteractionTime

Change 2898895 on 2016/03/08 by Richard.TalbotWatkin

	More optimizations to editing actors with a large number of components. Improved performance when executing construction scripts.
	#jira UE-24821 - Blueprints with thousands of components perform very badly when selected in the Level Viewport

Change 2900770 on 2016/03/09 by Joe.Conley

	Change #ifndef to #pragma once for headers under Runtime/Engine/Public

Change 2900835 on 2016/03/09 by Richard.TalbotWatkin

	Fixed issues with scrolling items into view in STileView. Also fixed bugs in STileView::ReGenerateItems.
	#jira UE-20441 - Hitting F2 to rename an asset in the Content Browser moves the asset out of view if the CB is at default size and location
	#jira UE-20807 - Browse to Asset in Content Browser focuses just on the text
	#codereview Nick.Atamas

Change 2900837 on 2016/03/09 by Richard.TalbotWatkin

	Added an OnKeyDownHandler to SSearchBox and SAssetSearchBox so that functionality for handling keypresses which is normally handled by SEditableText can be overridden.  Added custom behavior to SAssetPicker and SAssetSearchBox so that up/down cursor keys can be used to change focus from the text box to the menu.
	#jira UE-20567 - UX Regression on Open Asset Panel
	This also addresses a similar issue with the auto-complete popup in the Content Browser search bar.

Change 2900847 on 2016/03/09 by Richard.TalbotWatkin

	Fixed include dependency.

Change 2900951 on 2016/03/09 by Richard.TalbotWatkin

	Fixed non-dependent name lookup for superclass member access.

Change 2901325 on 2016/03/09 by Jamie.Dale

	PR #2107: Output Log Filtering (Contributed by phoboz-net)

Change 2901391 on 2016/03/09 by Jamie.Dale

	Some more output log filter improvements

	We now defer the search until you finish typing, and the filter list itself now uses toggle buttons (like the content browser) so that you can toggle multiple filters without having to re-open the menu.

Change 2901736 on 2016/03/09 by Alexis.Matte

	#jira UE-14632
	Export staticmeshactor which are base on blueprint class as a blueprint instead of exporting it as an actor.

	#codereview nick.darnell

Change 2903162 on 2016/03/10 by Alexis.Matte

	Fbx scene importer, Fix crash when changing the material base path in the material tab page

	#codereview nick.darnell

Change 2903903 on 2016/03/10 by Richard.TalbotWatkin

	Fixed crash when attempting to paste an object from the level viewport into the content browser.
	#jira UE-26100 - Crash when attempting to copy an object from the world into the content browser

Change 2903947 on 2016/03/10 by Richard.TalbotWatkin

[CL 2936966 by Nick Darnell in Main branch]
2016-04-07 14:48:06 -04:00
Matthew Griffin
755f725131 Merging //UE4/Release-4.11 to //UE4/Main (up to CL#2852902)
==========================
MAJOR FEATURES + CHANGES
==========================

Change 2835191 on 2016/01/19 by Nick.Whiting

	Invert the y-axis on the SteamVR controllers to match the convention of the engine and the rest of the gamepads

	#jira UE-22705

Change 2835686 on 2016/01/20 by Gareth.Martin

	Fixed landscape material instances not being updated if holes are painted on a landscape that doesn't have the landscape visibility mask node in the material and then the visibility mask node is added to the material later.
	#jira UE-18187

Change 2835767 on 2016/01/20 by Richard.Hinckley

	#jira UE-25499 Added a cursor to TopDown template (C++ version) to match the BP version.

Change 2835772 on 2016/01/20 by Richard.Hinckley

	#jira UE-25499 Adding the material asset for the C++ TopDown template's cursor.

Change 2835811 on 2016/01/20 by Taizyd.Korambayil

	#jira UE-25699 Added Validity Checks in BP logic, unchecked CDO for Pixel Ship, to Fix Log Warnings
	#jira UE-25704 Adjusted Matinee to happen at Box Location
	#jira UE-25688 Adjusted Player Starts
	#jira UE-25693 Adjusted Player Starts

Change 2835863 on 2016/01/20 by Gareth.Martin

	Fixed crash in the landscape ramp and mirror tools if the streaming level containing the landscape is hidden (or possibly if the landscape actor is deleted)
	#jira UE-24883

Change 2835889 on 2016/01/20 by Taizyd.Korambayil

	#jira UE-25698 Enabled V-sync, also fixed up player Respawn Issue

Change 2835995 on 2016/01/20 by Jamie.Dale

	The output log now hard-wraps lines to prevent long lines causing performance issues

	#jira UE-24187

Change 2836052 on 2016/01/20 by Taizyd.Korambayil

	#jira UE-25675 Added Blocking Volume to prevent Player from Falling off map
	#jira UE-25676 Added Blocking Volumes so that the Player doesn't get stucl at awkward corners under the Bridge

Change 2836137 on 2016/01/20 by Chad.Taylor

	Vehicle and VehicleAdv template content fixes for new VR camera

	#jira UE-25507

Change 2836166 on 2016/01/20 by Gareth.Martin

	Fixed hiding a streaming level containing a landscape causing the landscape editor to switch to the "New Landscape" tool instead of exiting
	#jira UE-25093

Change 2836174 on 2016/01/20 by Chad.Taylor

	IHeadMountedDisplay crash fix associated with accessing a dangling pointer.

	#jira UE-25272

Change 2836179 on 2016/01/20 by Jamie.Dale

	Optimized FShapedGlyphSequence reverse look-up

	There's now a reverse look-up map of cluster indices to their glyph data in order to avoid brute force looping

	#jira UE-24187

Change 2836286 on 2016/01/20 by Chris.Babcock

	Update Qualcomm TextureConverter for OSX
	#jira UE-22092
	#ue4
	#android

Change 2836328 on 2016/01/20 by Nick.Darnell

	Fixing a problem with widget components crashing on destruction with the render commands to pre/post render for window render commands needing access to the policy, but it potentially being deleted.  Inserting a NoOp command that keeps the shared ptr alive through the RHI render process.

	#jira UE-25752

Change 2836342 on 2016/01/20 by Nick.Darnell

	Depending on shutdown order, the Slate Renderer may go away, and then render data handles may not be collected correctly because they are trying to reference a pointer that's no longer valid and cause a crash on exit. The correct approach would be to have render handles actually have a pointer back to who owns them, in this case the RHI Resource Manager, which is still alive and well at this point in the pipeline.  Then if the resource manager is collected, it forces all handles to get cleaned up correctly, or if the handles are collected first, they can be sure they've got a valid pointer back to the resource manager.

	#jira UE-25753

Change 2836358 on 2016/01/20 by Taizyd.Korambayil

	#jira UE-25710 Replaced Deprecated Nodes

Change 2836510 on 2016/01/20 by Taizyd.Korambayil

	#jira UE-25718 Adjsuted BP to make pointer decal rotate in the direction of surface

Change 2836564 on 2016/01/20 by Taizyd.Korambayil

	#jira UE-25716 Added bool to store last Moved Direction

Change 2836697 on 2016/01/20 by Taizyd.Korambayil

	#jira UE-25740 Removed unused VR Nodes to remove Log errors on Mac

Change 2836725 on 2016/01/20 by Peter.Sauerbrei

	workaround for thread race when trying to release the TargetDeviceService endpoint after an unclaim message is sent
	#jira UE-25123

Change 2836782 on 2016/01/20 by Jamie.Dale

	Added FTextLayout::AddLines

	This is similar to AddLine, however it allows you to add multiple lines in a single call, thus avoiding the re-justification cost associated with each call to AddLine.

	AddLine has also been changed to take the same structure type as AddLines (which takes an array of these structures), and the existing version of AddLine has been deprecated.

	#jira UE-24187

Change 2836801 on 2016/01/20 by Jeff.Campeau

[CL 2857187 by Matthew Griffin in Main branch]
2016-02-05 11:54:00 -05: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
Frank Fella
62629773a5 Prevent a crash on shutdown in windows in open gl by setting the current gl display context to null when the current device context is being released back to the system. This also required a small change to frame profiling to guard against the null context, and a change to the slate font texture which could end up processing a texture with a null context.
[CL 2553538 by Frank Fella in Main branch]
2015-05-15 17:01:47 -04:00
Frank Fella
dc1f7871da MainFrame - Add a low risk hack for 4.8 which doesn't force the window to close immediately in the choose project window to avoid a shut down crash when using opengl in windows. A proper fix is coming for 4.9.
[CL 2553283 by Frank Fella in Main branch]
2015-05-15 14:21:51 -04:00
Andrew Rodham
8ff0d8b98b Added config migration path for newer versions of the engine.
Newly installed versions of the engine will now attempt to copy the project-agnostic config settings from a previous engine installation. This happens by way of a versioned manifest that copies old versions when the manifest does not exist, or is a different version. This code path is benign for non-installed versions of the engine (or FPaths::ShouldSaveToUserDir() is false).

EditorGameAgnosticSettings and EditorUserSettings ini paths have been renamed to EditorSettings and EditorPerProjectUserSettings respectively to better convey their purpose. In general, most settings should be saved in EditorSettings (project-agnostic) so that they apply regardless of which project is open. We have some way to go migrating existing settings for this to be the case, however.

Some previously per-project configuration files are now project-agnostic (such as Editor.ini, EditorKeyBindings.ini, and EditorLayout.ini)

GEditor->Access...Settings and GEditor->Get...Settings have been removed in favor of direct access of the CDO through GetMutableDefault<> and GetDefault<> respectively. Global config ini filenames that are not set up are now neither loaded nor saved on build machines, to handle the problem of indeterminate state more generically.

This addresses UETOOL-270 (Most editor preferences should be project-agnostic)

[CL 2517558 by Andrew Rodham in Main branch]
2015-04-20 10:12:55 -04:00
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Wes Hunt
31e2bb00ac Removed a bunch of stuff from Slate standard include, created SlateBasics.h
* Moved Slate.h into SlateBasics.h and began shifting less commonly used headers into SlateExtras.h.
* Slate.h now simply includes SlateBasics.h and SlateExtras.h.
* Slate.h includes a deprecated warning now to indicate that SlateBasics.h + specific includes should be used instead.
* Moved dozens of inlined functions using Slate widgets into .cpp files to avoid header dependencies.
* All code samples now include SlateBasics.h and SlateExtras.h so future shifts will not break most those projects, but not trigger the deprecation warning of including Slate.h.
#BUN

[CL 2329610 by Wes Hunt in Main branch]
2014-10-14 22:50:06 -04:00