Commit Graph

13 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
Max Chen
ae0758d031 Copying //UE4/Dev-Sequencer to //UE4/Dev-Main (Source: //UE4/Dev-Sequencer @ 3148965)
#lockdown Nick.Penwarden
#rb none

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

Change 2883376 on 2016/02/26 by Max.Chen

	Sequencer: Refactored track instance API to better deal with invalid object bindings (fixes UE-27286)

Change 3117044 on 2016/09/07 by Max.Chen

	Cine Camera: Add GetCineCameraComponent function from Cine Camera Actor.

	#jira UE-34036

Change 3117127 on 2016/09/07 by Max.Preussner

	MediaAssets: File media source path improvements

Change 3117128 on 2016/09/07 by Max.Preussner

	PS4Media: Copied memory allocator fixes (CL# 3114158)

Change 3117142 on 2016/09/07 by Max.Preussner

	MediaPlayerEditor: Normalizing paths of drag & drop media files

Change 3117143 on 2016/09/07 by Max.Preussner

	Media: Made media player name accessible via IMediaPlayer

Change 3117161 on 2016/09/07 by Max.Preussner

	PS4Media: Fixed CPU/GPU may crash due to race condition in destructor (UE-35696)
	Copied from Release-4.13 CL# 3117159

Change 3117184 on 2016/09/08 by Max.Chen

	Sequencer: Update sequencer selection on undo so that the sequencer selection stays in sync with the scene selection.

	Clear cached set of spawned objects in the spawn register only for spawned objects, rather than completely. This fixes an issue where deleting a selected spawnable and then undoing doesn't restore the
spawnable as selected because the cached spawned objects gets cleared wholesale.

	#jira UE-27683

Change 3117831 on 2016/09/08 by Max.Chen

	Sequencer: Add option to create sub sequences for each master sequence shot.

	#jira UE-35378

Change 3118467 on 2016/09/08 by Max.Preussner

	Slate: ScrollyZoomy documentation cleanup pass

Change 3118468 on 2016/09/08 by Max.Preussner

	MediaPlayerEditor: Added OriginalSize viewport mode (UE-35560)

	#jira UE-35560

Change 3118700 on 2016/09/08 by Max.Preussner

	Media: Removed still image tracks and sinks (UE-35767)

	#jira UE-35767

Change 3118987 on 2016/09/09 by Max.Chen

	Sequencer: Initialize player on post initialize components  of level sequence actor. This is a speculative fix for GetSequencePlayer not initialized in Actor::BeginPlay before a Begin Play event in a level
blueprint is invoked.

	#jira UE-34439

Change 3119896 on 2016/09/09 by Max.Preussner

	MediaAssets: Logging URL when failing to validate media source

Change 3119921 on 2016/09/09 by Max.Preussner

	MediaAssets: Verbose logging sink shutdown in media texture

Change 3120173 on 2016/09/09 by Max.Preussner

	WmfMedia: Refactored playback topology handling to support multiple tracks & track switching

	#jira UE-35383
	#jira UE-35385
	#jira UE-32582

Change 3120587 on 2016/09/11 by Max.Chen

	Fbx Export: Fix double transforms on an exported mesh.

	Added an option to map the skeletal motion to the root bone. In General Settings (Miscellaneous).

	#jira UE-35174

Change 3120685 on 2016/09/11 by Max.Chen

	Sequencer: Subtitles

	#jira UE-35824

Change 3121957 on 2016/09/12 by Max.Preussner

	MediaAssets: Replaced legacy texture sink shutdown code to fix race condition

Change 3122113 on 2016/09/12 by Max.Preussner

	Media: Renamed Script track type to Text

Change 3122386 on 2016/09/13 by Max.Chen

	Sequencer: Render movies with handles

	#jira UETOOL-733

Change 3124278 on 2016/09/14 by Max.Chen

	Sequencer: Add nullptr check for camera anim.

	#jira UE-35911

Change 3127211 on 2016/09/15 by Max.Preussner

	MediaAssets: Implemented Per-platform media player overrides in MediaAsset derived classes (UE-35478)

	#jira UE-35478

Change 3127536 on 2016/09/15 by Max.Preussner

	MediaAssets: Renamed platform player overrides property

	#jira UE-35478

Change 3127539 on 2016/09/15 by Max.Preussner

	MediaPlayerEditor: Implemented platform player overrides details customization for media assets (UE-35478)

	#jira UE-35478

Change 3127614 on 2016/09/15 by Max.Preussner

	MediaAssets: Fixed MediaSource serialization (UE-35478)

	#jira UE-35478

Change 3127617 on 2016/09/15 by Max.Preussner

	MediaAssets: Implemented PlatformMediaSource (UE-35387)

	#jira UE-35387

Change 3127626 on 2016/09/15 by Max.Preussner

	MediaAssets: Started to implement PlatformMediaSource customization (UE-35387)

	#jira UE-35387

Change 3128686 on 2016/09/16 by Max.Preussner

	WmfMedia: Added QuickTime to known video sub types

Change 3128703 on 2016/09/16 by Max.Preussner

	WmfMedia: Fixed GuidToString printing incorrect byte sequence

Change 3128705 on 2016/09/16 by Max.Preussner

	Core: Slightly more complicated unit test for TripleBuffer

Change 3129281 on 2016/09/16 by Max.Preussner

	MediaPlayerEditor: Finished customization for PlatformMediaSource (UE-35387)

	#jira UE-35387

Change 3129291 on 2016/09/16 by Max.Preussner

	MediaAssets: Added verbose logging for dropped video frames

Change 3130495 on 2016/09/19 by Max.Preussner

	PropertyEditor: Added missing forward declarations; code and documentation cleanup pass.

Change 3131531 on 2016/09/19 by Max.Preussner

	Core: Accepting comma in milliseconds separator when parsing FTimespan

Change 3131533 on 2016/09/19 by Max.Preussner

	Media: Started to implement subtitle support

Change 3132468 on 2016/09/20 by Max.Preussner

	Core: Fixed TMap deserialization in struct serializer & updated unit tests

Change 3132846 on 2016/09/20 by Max.Preussner

	SlateRemoteServer: Fixed Editor freezes and leaks memory when slate remote enabled (UE-35907)

	#jira UE-35907

Change 3136577 on 2016/09/22 by Frank.Fella

	Sequencer - Always use a unique name when creating dynamic material instances for animation to prevent reuse and resource issues.

Change 3136661 on 2016/09/22 by Max.Preussner

	WmfMedia: Fixed memory leak while playing videos (UE-36289)

	#jira UE-36289

Change 3137035 on 2016/09/22 by Cody.Albert

	Changed FMovieScene3DTransformTrackInstance::Update to update ComponentVelocity

Change 3137155 on 2016/09/22 by Max.Preussner

	MediaAssets: Added OpenFile method to MediaPlayer.

Change 3138413 on 2016/09/23 by Cody.Albert

	Fixed ComponentVelocity to use UpdateData instead of FApp::GetDeltaTime()

Change 3138627 on 2016/09/23 by Max.Preussner

	WmfMedia: Fixed FourCC types printing in reverse order

Change 3139020 on 2016/09/23 by Max.Preussner

	MediaAssets: Fixed Crash when after playing media that requires a different conversion shader (UE-36393)

	#jira UE-36393

Change 3139028 on 2016/09/23 by Max.Preussner

	MediaPlayerEditor: Trimming leading & trailing whitespace in URL text box

Change 3139046 on 2016/09/23 by Max.Preussner

	MediaPlayerEditor: Implemented statistics tab

	#jira UE-35395

Change 3139072 on 2016/09/23 by Max.Preussner

	MediaPlayerEditor: Stats and Info tab UI polish

Change 3142667 on 2016/09/27 by Max.Preussner

	MediaAssets: Fixed serialization of older assets

Change 3142669 on 2016/09/27 by Max.Preussner

	Automation:  Allowing movie files to be renamed to match platform requirements
	Merged from Fortnite-Main CL# 3140907

Change 3145836 on 2016/09/29 by andrew.porter

	Adding and updating media framework test content

Change 3145920 on 2016/09/29 by tim.gautier

	Added Media Audio actor to level QA-Media

Change 3145979 on 2016/09/29 by andrew.porter

	Updating media player test content

Change 3146311 on 2016/09/30 by Andrew.Rodham

	Sequencer: Fixed cursor jumping around inconsistently when ending a drag

	  - The time slider controller was using a mixture of GetScreenSpacePosition and GetLastScreenSpacePosition when calculating times. It now only uses the current screen position.

	#jira UE-34738

Change 3147838 on 2016/09/30 by Max.Chen

	Sequencer: Fix crash when rendering with handle frames = 0.

	#jira UE-36708

Change 3147875 on 2016/10/01 by Max.Chen

	Sequencer - Don't crash when a bool track or visibility track has a null runtime object.

	#jira UE-36707

Change 3148176 on 2016/10/01 by Max.Chen

	Sequencer: When keep playback range in section bounds, infinite sections should be bounded by their keyframe times.

	#jira UE-36666

Change 3148824 on 2016/10/03 by Max.Preussner

	Media: Continued to implement subtitle tracks

	UpgradeNotes:
	- caption tracks were split into captions, subtitles, and generic text tracks
	- added IMediaOverlaySink
	- IMediaOutput::SetCaptionSink renamed to SetOverlaySink

[CL 3149180 by Max Chen in Main branch]
2016-10-03 14:40:19 -04:00
Matthew Griffin
bb70b349ce Merging CL 2804086 from //UE4/Release-4.11 to Dev-Main (//UE4/Dev-Main) to isolate copyright update
#lockdown Nick.Penwarden

[CL 2819020 by Matthew Griffin in Main branch]
2016-01-07 08:17:16 -05:00
Dan Hertzka
c042ddcb94 ---- Merging with SlateDev branch ----
Introduces the concept of "Active Ticking" to allow Slate to go to sleep when there is no need to update the UI.

While asleep, Slate will skip the Tick & Paint pass for that frame entirely.
- There are TWO ways to "wake" Slate and cause a Tick/Paint pass:
    1. Provide some sort of input (mouse movement, clicks, and key presses). Slate will always tick when the user is active.
        - Therefore, if the logic in a given widget's Tick is only relevant in response to user action, there is no need to register an active tick.
    2. Register an Active Tick. Currently this is an all-or-nothing situation, so if a single active tick needs to execute, all of Slate will be ticked.

- The purpose of an Active Tick is to allow a widget to "drive" Slate and guarantee a Tick/Paint pass in the absence of any user action.
    - Examples include animation, async operations that update periodically, progress updates, loading bars, etc.

- An empty active tick is registered for viewports when they are real-time, so game project widgets are unaffected by this change and should continue to work as before.

- An Active Tick is registered by creating an FWidgetActiveTickDelegate and passing it to SWidget::RegisterActiveTick()
    - There are THREE ways to unregister an active tick:
        1. Return EActiveTickReturnType::StopTicking from the active tick function
        2. Pass the FActiveTickHandle returned by RegisterActiveTick() to SWidget::UnregisterActiveTick()
        3. Destroy the widget responsible for the active tick

- Sleeping is currently disabled, can be enabled with Slate.AllowSlateToSleep cvar
- There is currently a little buffer time during which Slate continues to tick following any input. Long-term, this is planned to be removed.
    - The duration of the buffer can be adjusted using Slate.SleepBufferPostInput cvar (defaults to 1.0f)

- The FCurveSequence API has been updated to work with the active tick system
    - Playing a curve sequence now requires that you pass the widget being animated by the sequence
    - The active tick will automatically be registered on behalf of the widget and unregister when the sequence is complete
    - GetLerpLooping() has been removed. Instead, pass true as the second param to Play() to indicate that the animation will loop. This causes the active tick to be registered indefinitely until paused or jumped to the start/end.

[CL 2391669 by Dan Hertzka in Main branch]
2014-12-17 16:07:57 -05: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
Jamie Dale
df8547d860 Atlas visualizer improvements, and added a font atlas visualizer
Moved the existing atlas visualizer out of the Slate RHI renderer and instead made the resource manager for each renderer implement the ISlateAtlasProvider interface to provide information about its current texture atlases. FSlateFontCache implements ISlateAtlasProvider for the font atlas viewer.

Improved the atlas visualizer and added support for zooming and panning of the atlas pages. This helps greatly when viewing font atlases as they can be as large as 2048x2048.

#codereview Matt.Kuhlenschmidt

[CL 2371483 by Jamie Dale in Main branch]
2014-11-27 07:36:04 -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
Fred Kimberley
27c0402283 Integrating changes from the Fortnite branch up to CL 2318231.
Merging using UE4-Fortnite-To-UE4

[CL 2321212 by Fred Kimberley in Main branch]
2014-10-07 09:53:56 -04:00
Frank Fella
15707af583 SlateApplication - Add support for multitouch mouse capture.
#codereview nick.atamas

[CL 2303087 by Frank Fella in Main branch]
2014-09-18 16:59:22 -04:00
Max Preussner
172fba9ab6 Slate: Removed file header comments
Also:
- NULL to nullptr
- removed redundant documentation
- consistent line spacing
- added/fixed comments

[CL 2239470 by Max Preussner in Main branch]
2014-08-01 02:25:53 -04:00
Mikolaj Sieluzycki
45c031d576 #ttp 331438 UE4: PlatformMath refactor
#proj core
#branch UE4
#summary Rename Trunc, Round, Floor, Ceil to TruncToInt, RoundToInt, FloorToInt, CeilToInt. Added *ToFloat versions. Repeated for FGenericPlatformMath and all derived classes for all platforms wherever applicable. Corrected comment in Fractional and added Frac() which does HLSL-style fractional (x - floor(x)). Checked for compilation on all projects (with cooking levels wherever applicable). Didn't change Fractional to Frac, this will be done in second commit.
#codereview robert.manuszewski

[CL 2064306 by Mikolaj Sieluzycki in Main branch]
2014-05-06 06:26:25 -04:00
Max Preussner
dde6e568e1 Slate: Reorganized private Slate files; proper pre-compiled header for all files.
Notes:
- LandscapeEditor pulls in private MultiBox include files; temporarily made those public

[CL 2057183 by Max Preussner in Main branch]
2014-04-26 20:23:08 -04:00