Age | Commit message (Collapse) | Author |
|
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).
|
|
|
|
Add support for XDG Base Directory spec
|
|
|
|
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.
|
|
|
|
|
|
Also to prepare for upcoming refactoring for XDG support.
|
|
Some items that are no longer defined may disappear, but thats expected i guess.
|
|
|
|
No functional change, only moving stuff around.
|
|
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.
|
|
Reduce default orbit inertia value
[ci skip]
|
|
|
|
|
|
- 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
|
|
|
|
to has_setting. Fixes #11844
|
|
Several visual improvements.
|
|
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.
|
|
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.
|
|
|
|
|
|
|
|
-Changed manipulation inertia default values. Do not touch them again or I'll cut your fingers and eat them.
|
|
|
|
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
|
|
|
|
Spatial scrolling update + better default inertia values
|
|
added editor spacing
|
|
Visual improvements and new look for VS
|
|
|
|
oribit...
|
|
|
|
|
|
Default editor debugger address is now 127.0.0.1
|
|
|
|
|
|
Improved style
Fixed editor help issues
Added editor help index
|
|
Add option to always show directories in filesystem dock
|
|
|
|
|
|
- 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.
|
|
StyleBoxSupport for RichTextLabel and cleanup for script+docs backgrounds fixes #10685
|
|
This reverts commit ce4eb307789eb86261afecc1400de5e5b0832400.
|
|
|
|
Adds default directory for default_project_path
|
|
|
|
|
|
- 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
|