Commit Graph

32 Commits

Author SHA1 Message Date
Nick Darnell
7cc2a3ee25 Editor - Only showing notifications when cooking if it's an error, preventing warning spam. Fixing a bug in the message log, we were not properly checking a 1 higher severity level, like the comment indicated the severity filter parameter was for.
#codereview Daniel.Lamb

[CL 2524736 by Nick Darnell in Main branch]
2015-04-24 14:41:13 -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
Richard TalbotWatkin
c29eacc4a4 Allowed FTextTokens to create hyperlinks in the message log if they have had an OnMessageTokenActivated delegate supplied.
#jira UE-11453 - Hot reload compile error output is not clickable in VS output window
#reviewedby Matt.Kuhlenschmidt

[CL 2480341 by Richard TalbotWatkin in Main branch]
2015-03-16 14:03:28 -04:00
Gil Gribb
35cf42566a UE4 - merge GDC branch, code @2465640 to main
[CL 2468685 by Gil Gribb in Main branch]
2015-03-04 08:31:40 -05:00
Jeff Farris
3672452617 Added information to documentation links URLs to be able to gather stats about where users are coming from when they view documentation.
[CL 2406128 by Jeff Farris in Main branch]
2015-01-14 13:15:22 -05:00
Jamie Dale
a569f6b356 Fixed code relying on SLATE_TEXT_ATTRIBUTE for STextBlock.
UETOOL-213 - Minimize Slate FString -> FText conversion (remove SLATE_TEXT_ATTRIBUTE)

This fixes any editor/engine specific code that was passing text to Slate as FString rather than FText.

[CL 2399803 by Jamie Dale in Main branch]
2015-01-07 09:52:40 -05:00
Nick Darnell
90e793745c Slate - ESlateCheckBoxState has been renamed to ECheckBoxState.
[CL 2384008 by Nick Darnell in Main branch]
2014-12-10 14:24:09 -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
Chris Gagnon
0e6d657c3d Refactor to unify keyboard and controller input and focus.
Native controller navigation support.

[CL 2345039 by Chris Gagnon in Main branch]
2014-10-30 12:29:36 -04:00
Mike Beach
872cf11d3f [UE-2889] BP compiler errors can now be double clicked in the message log to focus on the problematic node.
[CL 2342901 by Mike Beach in Main branch]
2014-10-28 17:44:09 -04: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
Dan Hertzka
f3092790eb Window menu refactor & polish
- Window menu is now sectioned and labeled based on the current editor. There's now a local workspace root member in FTabManager and a workspace category in FAssetEditorToolkit (both are FWorkspaceItem objects). Individual editors attach their local category to the tab manager's local root. Workflow app modes have their own category members that are swapped out when the mode changes.

- Finally, the AssetEditorCategory of FWorkspaceMenuStructure has been removed entirely.

- Replaced the AddMenuSeparator() call in FTabManager::PopulateSpawnerMenu_Helper() with a section of the same title as the workspace category.

- Tab spawner menu entries for the local editor now properly show the icon of the associated tab. To accomplish this it was necessary to change FWorkflowTabFactory::TabIcon to be an FSlateIcon instead of an FSlateBrush*. All factory instances have been updated accordingly.

- Added & updated lots of icons! (those missing will be TTP'd)

- The nomad tab spawner section (named "General" in the menu) has been largely compressed into the Developer Tools submenu, which has also been organized into sections for readability.

- Unreal frontend options were also moved into a context menu within the General section

- Moved all experimental tools to their own section of the Window menu. When they're no longer experimental they should register as nomads in the appropriate category

- Undo history now under Edit menu

[CL 2324285 by Dan Hertzka in Main branch]
2014-10-09 12:34:55 -04:00
Max Preussner
7e8e50f85c MessageLog: Redesigned message log layout for a more condensed view; fixed some message texts
#CodeReview: ben.marsh, michael.noland

[CL 2310653 by Max Preussner in Main branch]
2014-09-25 22:34:19 -04:00
Thomas Sarkanen
35b955a637 Message log now opens the correct page when popped up
Handled log listing change broadcast message & selected the correct log.
Also corrected log list to use localized title.

TTP# 347358 - EDITOR: Message log (sometimes?) does not select the correct category

#codereview Max.Preussner

[CL 2306630 by Thomas Sarkanen in Main branch]
2014-09-23 04:32:48 -04:00
Max Preussner
e877227b67 MessageLog: Added message tokens for tutorials
[CL 2303315 by Max Preussner in Main branch]
2014-09-18 18:59:55 -04:00
Max Preussner
5c881d5dca clang fixes
[CL 2300022 by Max Preussner in Main branch]
2014-09-16 16:21:49 -04:00
Max Preussner
6abfab399d MessageLog: Message token layout tweak
[CL 2300000 by Max Preussner in Main branch]
2014-09-16 16:01:46 -04:00
Max Preussner
c30cfaee72 fixed tools build
#CodeReview: lina.halper

[CL 2299890 by Max Preussner in Main branch]
2014-09-16 15:01:50 -04:00
Max Preussner
385b3b3fba clang fix
#CodeReview: dmitry.rekman

[CL 2299877 by Max Preussner in Main branch]
2014-09-16 14:56:27 -04:00
Max Preussner
db2344f40e fixed assignment order
[CL 2299793 by Max Preussner in Main branch]
2014-09-16 14:21:27 -04:00
Max Preussner
9c7bd00423 MessageLog: Handling log category deslection properly
[CL 2299786 by Max Preussner in Main branch]
2014-09-16 14:11:15 -04:00
Max Preussner
bb6a7de1d7 MessageLog: Message log burst upgrades
- Redesigned the layout of the message log viewer
- Added 'Action' message token type for actionable items
- Started to remove message token delegates in favor of Action tokens
- NULL to nullptr

[CL 2299749 by Max Preussner in Main branch]
2014-09-16 13:46:20 -04:00
Eric Newman
a67ac37bf9 Fix to self-assignment typo caught by Mac build
#codereview Simon.Tovey

[CL 2272547 by Eric Newman in Main branch]
2014-08-26 15:00:55 -04:00
Simon Tovey
500b937055 - Removed UI for Dev/Release shaders in material editor. Dropped to a CVar and using release shaders by default.
- Removed UI for Built-In Stats. Martin didn't like the feature but I've left the code in just in case people miss it.
- Removed useless bar at the bottom of the stats window.
- Hackily canceled some unnessessary compilaton when opening the editor.

[CL 2272297 by Simon Tovey in Main branch]
2014-08-26 14:02:18 -04:00
Michael Trepka
5bd6255fde More Clang compile warning fixes
[CL 2237347 by Michael Trepka in Main branch]
2014-07-30 14:51:27 -04:00