summaryrefslogtreecommitdiff
path: root/editor/editor_settings.cpp
AgeCommit message (Collapse)Author
2017-11-20EditorSettings: Dehardcode major in config file nameRémi Verschelde
It was readded in panic after I mistakenly removed the hardcoded "-3" in #12988, forgetting that Windows would still use the same path and thus conflict with 2.1 (contrarily to macOS and Linux).
2017-11-20Change editor_settings.tres to editor_settings-3.tressersoong
2017-11-20Merge pull request #12988 from akien-mga/xdg-home-pathsRémi Verschelde
Add support for XDG Base Directory spec
2017-11-19Use new XDG folders to dehardcode pathsRémi Verschelde
2017-11-19Add initial support for the XDG Base Directory specRémi Verschelde
Spec version 0.7 from https://standards.freedesktop.org/basedir-spec/basedir-spec-0.7.html (latest as of this commit). Three virtual methods are added to OS for the various XDG paths we will use: - OS::get_data_path gives XDG_DATA_HOME, or if missing: ~/.local/share on X11, ~/Library/Application Support/ on macOS and %APPDATA% on Windows - OS::get_config_path gives XDG_CONFIG_HOME, or if missing: ~/.config on X11, ~/Library/Application Support/ on macOS and %APPDATA% on Windows - OS::get_cache_path gives XDG_CACHE_HOME, or if missing: ~/.cache on X11, ~/Library/Caches on macOS and %APPDATA% on Windows So for Windows there are no changes, for Linux we follow the full split spec and for macOS stuff will move from ~/.godot to ~/Library/Application Support/Godot. Support for system-wide installation of templates on Unix was removed for now, as it's a bit hackish and I don't think anyone uses it. user:// will still be OS::get_data_path() + "/godot/app_userdata/$name" by default, but when using the application/config/use_shared_user_dir option it will now use XDG_DATA_HOME/$name, e.g. ~/.local/share/MyGame. For now everything still goes in EditorSettings::get_settings_dir(), but this will be changed in a later commit to make use of the new splitting where relevant. Part of #3513.
2017-11-17TextEdit code foldingIan
2017-11-17Avoid spamming the console for editor settings initial sets.Daniel J. Ramirez
2017-11-17EditorSettings: Rename settings_path to settings_dirRémi Verschelde
Also to prepare for upcoming refactoring for XDG support.
2017-11-09Fixed editor settings disappearing.Daniel J. Ramirez
Some items that are no longer defined may disappear, but thats expected i guess.
2017-10-31Some more harmonization of EditorSettings codeRémi Verschelde
2017-10-31Reorder EditorSettings code for better legibilityRémi Verschelde
No functional change, only moving stuff around.
2017-10-30Add support for non-ISO locale identifiers via renames mapRémi Verschelde
Windows apparently uses "no" for Norwegian Bokmål, even though its ISO 639-1 language code is "nb"... Closes #12479. Also did some non-intrusive cleanup while at it.
2017-10-24Merge pull request #12340 from homer666/orbit-inertia-toned-downRémi Verschelde
Reduce default orbit inertia value [ci skip]
2017-10-23Reduce default orbit inertia valuehomer666
2017-10-22Added setting to toggle current line highlightingPaulb23
2017-10-10Freelook interpolation fixesMarc Gilleron
- Smooth freelook position more explicitely - Don't let orbit zoom produce translation when it shouldn't - Make base speed framerate-independent (and tweaked setting for that) - Don't rely on camera for calculations because it no longer reflect immediate state - Avoid potential divide-by-zero with zoom inertia - Make speed/zoom relation optional (if enabled, speed is adjusted from zoom) - Never change zoom distance when freelook is active - Orbit inertia also applies on freelook
2017-10-06EditorSettings: remove duplicate set_favorite_dirsPoommetee Ketson
2017-10-05Added the set/get_setting function in Editor/Project settings. Renamed has() ↵Juan Linietsky
to has_setting. Fixes #11844
2017-10-02Merge pull request #11646 from djrm/pr_visual_improvementsPoommetee Ketson
Several visual improvements.
2017-09-29EditorSettings: Move interface/ properties to interface/editorAndreas Haas
Fixes inconsistent behaviour where clicking on the "Interface" in the Editor Settings wouldn't collapse the category as is the case for all the other categories.
2017-09-28Several visual improvements.Daniel J. Ramirez
Added proper label sizing Improved text editor status bar Fixed some issues with ItemList and also some style fixes Added background to color picker samples (the mrcdk fix) Fixed slider ticks. Added VS breakpoint and error styleboxes.
2017-09-26Update theme property respectivelyvolzhs
2017-09-25Removed transparency from spatial editor grid.Daniel J. Ramirez
2017-09-24Added the ability to revert to initial value in editor settings.Daniel J. Ramirez
2017-09-23-Fixed redraw always on 3D viewprot bugJuan Linietsky
-Changed manipulation inertia default values. Do not touch them again or I'll cut your fingers and eat them.
2017-09-23Allow to set a custom DynamicFont in editor settingsMarc Gilleron
2017-09-22freelook_base_speed calibrationUnknown
freelook_base_speed changed from 0.5 to 0.1 Also precision changed from 0.1 to 0.01 so it's possible to set values lower than 0.1
2017-09-21rotation orbit modifier defaults to noneUnknown
2017-09-21Merge pull request #11222 from toger5/spatial_scrollingRémi Verschelde
Spatial scrolling update + better default inertia values
2017-09-21Merge pull request #11221 from toger5/editor_spacingRémi Verschelde
added editor spacing
2017-09-19Merge pull request #11256 from djrm/pr_visual_improvementsRémi Verschelde
Visual improvements and new look for VS
2017-09-19settings 'editors/3d' organized, sorted, new_defaultstoger5
2017-09-19update inertia/freelook settings values + renamed free_orbit... totoger5
oribit...
2017-09-19zoom inertia uses its own setting (not the same then translation)toger5
2017-09-19 added editor spacingtoger5
2017-09-18Do not allow link-local addresses to be used by editor debuggerFabio Alessandrelli
Default editor debugger address is now 127.0.0.1
2017-09-15Added adaptive text editor theme, this includes the shader editorDaniel J. Ramirez
2017-09-14Improved VisualScriptEditorDaniel J. Ramirez
2017-09-14Several fixed to editor doc.Daniel J. Ramirez
Improved style Fixed editor help issues Added editor help index
2017-09-13Merge pull request #11199 from SaracenOne/filesystem_dirsRémi Verschelde
Add option to always show directories in filesystem dock
2017-09-12Improved theme generation, and other fixesDaniel J. Ramirez
2017-09-12Add option to always show directories in filesystem dockSaracenOne
2017-09-07Modify inertia implementation for freelook and orbittoger5
- freelook now uses position based inertia (holding a key for a specific time always rults in the same distance traveled independent of inertia setting) - orbit inertia now is angle bases. (not transformation based) -> camera always takes the same path. - added setting for orbit inertia - added setting hints for freelook settings.
2017-09-04Merge pull request #10901 from toger5/script_background_cleanupRémi Verschelde
StyleBoxSupport for RichTextLabel and cleanup for script+docs backgrounds fixes #10685
2017-09-02Revert "added setting to override the theme background with editor theme color"toger5
This reverts commit ce4eb307789eb86261afecc1400de5e5b0832400.
2017-08-31Added setting to toggle auto indentPaulb23
2017-08-31Merge pull request #10766 from poke1024/project-manager-dirRémi Verschelde
Adds default directory for default_project_path
2017-08-31Adds default directory for default_project_pathpoke1024
2017-08-30added setting for icon/font color: auto,dark,lighttoger5
2017-08-30White Themetoger5
- almost all the colors are generated now. They get adapted based on the theme color. All the correct icons are used - error label now uses error color - added missing button colors in editor theme