Commit Graph

42 Commits

Author SHA1 Message Date
Nick Darnell
a130a41a99 Editor - Fixing non-unity editor build, not including header file for DeveloperSettings.h
#lockdown Zachary.EdgertonJones

[CL 2521846 by Nick Darnell in Main branch]
2015-04-22 17:28:39 -04:00
Nick Darnell
844fa8d574 Editor - Continuing to itterate on editor settings autodiscovery.
[CL 2521761 by Nick Darnell in Main branch]
2015-04-22 16:58:17 -04:00
Nick Darnell
d7f2257ae3 Editor - Continuing to tweak the settings auto registration system, moving the logic into the SettingsEditor and letting it manage it, since it knows when widgets exist and the information actually needs to be refreshed. Making several old settings use the new UDeveloperSettings class.
[CL 2521606 by Nick Darnell in Main branch]
2015-04-22 15:56:47 -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
James Hopkin
599c7e1d02 Added confirmation message box to "Save as Defaults"
[CL 2489049 by James Hopkin in Main branch]
2015-03-24 05:18:30 -04:00
Jamie Dale
47ce6c9c99 Added a ConfigRestartRequired meta-data property to allow you to tag config properties as requring an application restart before they take effect
UE-9022 - IWCE: Had to restart editor after toggling Blueprintable Components option for anything to work

[CL 2446904 by Jamie Dale in Main branch]
2015-02-16 07:54:27 -05:00
Ben Marsh
bf75048443 [INTEGRATE] Change 2411119 by Matt.Kuhlenschmidt@matt_kuhlenschmidt_main on 2015/01/19 13:39:29
Fixed up the details panel name area to be aware of in world component editing.
	Fixed up usage of the details panel name area to use new enum based usage flag for name areas

[CL 2419254 by Ben Marsh in Main branch]
2015-01-26 17:14:50 -05:00
Josh Adams
9cf8c67c77 - Generate AndroidManifest.xml from ProjectSettings
- Moved some Android settings to ProjectSettings, re-enabled SDK settings
- Removed SigningConfig.xml, and moved those settings into project settings
- Added concept of NotForLicensees and NoRedist engine and project config settings
- Removed BaseInternalGame.ini, replaced with NotForLicensees/BaseGame.ini
- Moved User*.ini to end of .ini hierarchy
- Added support for CLASS_GlobalUserConfig, so their settings will be saved to <AppData>/.../User*.ini (useful for SDK paths, etc)
- Enabled AndroidPlatformEditor module on Mac
- Changed Mac Build.sh to allow for Android on the commandline (just pass through if it's not an Xcode platform name)
- Iterative Android packaging now looks at just the important .ini sections, NOT entire .ini files

#codereview jamie.dale,james.moran,michael.trepka,robert.jones,chris.babcock

[CL 2413870 by Josh Adams in Main branch]
2015-01-21 11:17:55 -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
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
Max Preussner
f41be7ca18 SettingsEditor: API improvements
- made public headers compilable individually
- moved interfaces to public root
- removed module singleton getter
- code and documentation cleanup

#UpgradeNotes:
- instead of ISettingsEditorModule::GetRef() use FModuleManager::GetModuleChecked<ISettingsModule>("SettingsModule")
- instead of including SettingsEditor.h include the interface headers you actually use

[CL 2340730 by Max Preussner in Main branch]
2014-10-27 07:53:55 -04:00
Max Preussner
9884344213 Settings: Various improvements to the API
- made public headers compilable individually
- easier access to settings section delegates
- removed module singleton accessor
- moved non-trivial definitions into cpp files
- code & documentation cleanup

#UpgradeNotes:

- instead of ISettingsModule::Get() use FModuleManager::GetModulePtr<ISettingsModule>("Settings")
- instead of using FSettingsSectionDelegates assign delegates directly through the new ISettingsSection methods

[CL 2340711 by Max Preussner in Main branch]
2014-10-27 07:53:18 -04:00
Justin Sargent
ae3e08710c I18N/L10N: Removed the CoreDelegates::OnCultureChanged and replaced it with event FInternationalization::Get().OnCultureChanged() and added FTextLocalizationManager::Get().OnTranslationsChanged().
[CL 2332239 by Justin Sargent in Main branch]
2014-10-16 18:29:50 -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
Andrew Rodham
525b290de8 More work to tidy up the target hardware section of the project settings
Applied settings are now written as a string rather than an int
Also added UObject::GetDefaultConfigFilename()

[CL 2305291 by Andrew Rodham in Main branch]
2014-09-22 09:41:38 -04:00
Michael Noland
2863e44464 Editor: Further reduce excess padding in settings editor (40->16)
[CL 2304574 by Michael Noland in Main branch]
2014-09-19 18:15:51 -04:00
Michael Noland
859c0fe02a Editor: Various settings editor fixes
- Fix SSettingsEditor reload config object regression
- Remove double-padding when editing a settings page that has a checkout prompt
- Fix pending hardware targeting settings not showing up if you change pages and come back
- Fix height pop in SSetingsEditorCheckoutNotice when status query finishes

[CL 2303657 by Michael Noland in Main branch]
2014-09-19 00:46:17 -04:00
Michael Noland
f9a1a1361f Editor: Update hardware targetting to use SSettingsEditorCheckoutNotice and devolved much of the bookkeeping in SSettingsEditor into SSettingsEditorCheckoutNotice
#codereview andrew.rodham

[CL 2303634 by Michael Noland in Main branch]
2014-09-19 00:01:10 -04:00
Michael Noland
afce366747 Editor: Start extracting SSettingsEditorCheckoutNotice out as a standalone widget (WIP)
[CL 2303546 by Michael Noland in Main branch]
2014-09-18 23:05:52 -04:00
Michael Noland
7dde40c236 Editor: Some small improvements to project settings dialog
- Change checkout notice for settings ini files to go green when they are editable
- Reworded messages to include the actual ini file name
- Hid 'reset to default' and 'set as default' options when editing a default ini file, since they make no sense in this context and were always disabled
#codereview max.preussner

[CL 2301866 by Michael Noland in Main branch]
2014-09-17 19:13:07 -04:00
Max Preussner
1e1bc2b3fa Settings: layout tweak
[CL 2291031 by Max Preussner in Main branch]
2014-09-09 12:35:07 -04:00
Max Preussner
1c4b5e2683 Settings: Removed category icons and the corresponding APIs
The placeholder category icons were never replaced with actual icons, and hence they do not fulfill any purpose. Icons as a visual language for categories also conflicts with their usage as interactive UI elements, such as buttons and toolbar options.

[CL 2290057 by Max Preussner in Main branch]
2014-09-09 12:13:47 -04:00
Nick Atamas
badf62c330 Slate slots now use a common base class, which has a private '.Widget' member; use GetWidget() instead.
Slate TPanelChildren, TSlotlessChildren are no longer full-fledged arrays; removed any unused Array API.
Fixed up a lot of improper use cases.

This better encapsulates the action of adding/removing Slate Widgets from the runtime tree as a Slate Core concern.
Alows us to add parent pointers in the future with significantly less effort.

#codereview Wes.Hunt
#codereview Nick.Darnell
#codereview Matt.Kuhlendschmidt
#codereview Justin.Sargent

[CL 2234301 by Nick Atamas in Main branch]
2014-07-28 06:53:40 -04:00
Matt Kuhlenschmidt
10126adc7d Record when a preference is changed for analytics. The value of the field is not sent.
[CL 2223627 by Matt Kuhlenschmidt in Main branch]
2014-07-18 14:18:55 -04:00