Commit Graph

20 Commits

Author SHA1 Message Date
Nick Darnell
79e53e044e Editor - The settings system now creates a category if one did not exist when you attempt to add a new section to a category that did not previously exist, instead of ignoring your request.
[CL 2521783 by Nick Darnell in Main branch]
2015-04-22 17:05:01 -04:00
Nick Darnell
b95a622406 Editor - UDeveloperSettings is now available to create settings objects that can be auto-discovered by the editor without building a plugin or some other system to register the settings with the settings viewer.
[CL 2520193 by Nick Darnell in Main branch]
2015-04-21 18:12:25 -04:00
Andrew Rodham
789ab2faa3 Removed redundant function parameters
[CL 2517507 by Andrew Rodham in Main branch]
2015-04-20 09:35:49 -04:00
Andrew Rodham
3ac1e0da19 Added editor project setting to define whether to display units in imperial or metric (or not at all)
Also added a default input unit that is used when no units are specified on a text input.

This addresses UE-11863 and UE-9313

[CL 2499638 by Andrew Rodham in Main branch]
2015-04-02 05:30:34 -04:00
Mike Fricker
114458bf0f Clang warning fixes: Fixed missing 'override' specifiers
- Also removed some unreferenced functions that adding 'override' revealed

PR #1002 -- Thank you, Omar007!

[CL 2498415 by Mike Fricker in Main branch]
2015-04-01 07:20:55 -04: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
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Ben Marsh
8aae675956 Remove some forward declarations which only work because of delayed template instantiation by the compiler (ie. they fail to compile if the forward-declarared class is not fully defined elsewhere before the end of the translation unit). Produces errors if you ever include them in isolation.
[CL 2373678 by Ben Marsh in Main branch]
2014-12-02 09:07:38 -05:00
Max Preussner
f99126a600 Settings: Made private headers compilable individually
[CL 2340731 by Max Preussner in Main branch]
2014-10-27 07:54:08 -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
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
Jamie Dale
69ae594af9 Renamed the "Game" section under "Project Settings" to be "Project"
Suggested via an email discussion, as not everyone using UE4 is making a game.

#codereview Max.Preussner

[CL 2267272 by Jamie Dale in Main branch]
2014-08-22 07:18:30 -04:00
Max Preussner
cb49bac282 Settings: Removed file header comments; documentation cleanup pass
[CL 2239854 by Max Preussner in Main branch]
2014-08-01 10:42:38 -04:00
Max Preussner
3aece47882 Docs: Removed file comments and added missing code documentation
Please note that file comments had no purpose in nearly all cases and just added visual clutter. The two files that had meaningful file comments had their comments moved into the corresponding classes. There are still hundreds of file comments left in other files that will be removed over time.

Also cleaned up some random stuff along the way:
- relative paths to public headers within the same module are no longer necessary (automatically discovered by UBT now)
- header guards are deprecated, use #pragma once instead (all compilers support it now)
- space between multiple template brackets is no longer required (all compilers support >> now)
- NULL to nullptr, OVERRIDE to override
- spelling errors, whitespace, line breaks

[CL 2104067 by Max Preussner in Main branch]
2014-06-12 23:22:18 -04:00
Max Preussner
d055ad6eff Settings: Documentation cleanup pass
[CL 2095321 by Max Preussner in Main branch]
2014-06-04 23:08:39 -04:00
Max Preussner
1b3da8a50f Settings: Fix for setting Project Settings as default clears redirects (TTP# 334046)
To fix the loss of redirects we added corresponding UProperties in UEngine.
To fix the corruption of the Default INI on shutdown we are now only saving to Default from the Settings UI.

#CodeReview: thomas.sarkanen

[CL 2071719 by Max Preussner in Main branch]
2014-05-13 12:16:04 -04:00
Max Preussner
83b9cbb2e2 SettingsEditor: disabled the 'Set as Default' button for defaultconfig settings objects (which are always default already)
[CL 2066024 by Max Preussner in Main branch]
2014-05-07 16:31:16 -04:00
Max Preussner
5b1429eae3 Settings API: changed all occurences of NULL to nullptr
[CL 2040141 by Max Preussner in Main branch]
2014-04-23 17:36:26 -04:00
Ben Marsh
d1b60c96c9 Attempt to fix XB1 compile error. Compare against nullptr rather than NULL.
#codereview Steve.Robb

[CL 2040075 by Ben Marsh in Main branch]
2014-04-23 17:34:42 -04:00
Tim Sweeney
324683ce78 Engine source (Main branch up to CL 2026164) 2014-03-14 14:13:41 -04:00