Commit graph

131 commits

Author SHA1 Message Date
Rémi Verschelde
f7238de9d4
Merge pull request #13994 from ISylvox/caret-blink
Set Caret Blinking Enabled by Default
2017-12-09 15:15:19 +01:00
Paulb23
48ad133cf9 Changed current line draw order and added code folding color 2017-12-07 19:17:43 +00:00
Gilles Roudiere
7b02f5591d Moves the guides colors to editor settings 2017-12-05 21:44:52 +01:00
Indah Sylvia
0102c861da Caret blinking is now enabled by default 2017-12-05 16:28:00 +07:00
Daniel J. Ramirez
4b80bc3303 Fixed editor settings disappearing (caused by uninitialized variable). 2017-11-29 22:04:41 -06:00
Juan Linietsky
22415e5a31
Merge pull request #12572 from RandomShaper/onion-skinning
Onion skinning
2017-11-26 15:13:35 -03:00
Hugo Locurcio
e3fc6fcaa6
Tweak the default editor camera settings
- The default FOV is now 70
- The default Z-near plane is now at 0.05 meters
2017-11-25 23:03:26 +01:00
Pedro J. Estébanez
d0e09d84f0 Implement onion skinning for the animation editor 2017-11-25 13:25:14 +01:00
Juan Linietsky
bc2e8d99e5 Made Vector::ptrw explicit for writing, compiler was sometimes using the wrong function,
leading to unnecesary copy on writes and reduced performance.
2017-11-25 00:09:40 -03:00
Rémi Verschelde
5ff84070ca
Merge pull request #13119 from YeldhamDev/export_path
Fixed not being able to use the "Open a Directory" dialog with the "Default Export Path" setting
2017-11-21 00:16:58 +01:00
Michael Alexsander Silva Dias
3fc684a111 Fixed not being able to use the "Open a Directory" dialog with the "Default Export Path" setting. 2017-11-20 21:10:42 -02:00
Ricardo Maes
77f21b63e9 Add simple spacebar panning setting for 2D editor 2017-11-20 22:53:14 +01:00
Daniel J. Ramirez
e07b9a8920 Fixed runtime EDITOR_DEFs being dropped. 2017-11-20 11:53:44 -06:00
Rémi Verschelde
d3889ad1b4 EditorSettings: Dehardcode major in config file name
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-20 07:40:06 +01:00
sersoong
fcbec6331c Change editor_settings.tres to editor_settings-3.tres 2017-11-20 11:02:34 +08:00
Rémi Verschelde
ecf80fbbba
Merge pull request #12988 from akien-mga/xdg-home-paths
Add support for XDG Base Directory spec
2017-11-20 00:42:51 +01:00
Rémi Verschelde
6e3f2f44af Use new XDG folders to dehardcode paths 2017-11-19 20:54:26 +01:00
Rémi Verschelde
32c12a92a5 Add initial support for the 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.
2017-11-19 20:54:24 +01:00
Ian
d350f506a0 TextEdit code folding 2017-11-17 21:49:43 -05:00
Daniel J. Ramirez
7154baa010 Avoid spamming the console for editor settings initial sets. 2017-11-17 14:23:44 -06:00
Rémi Verschelde
ad199c3964 EditorSettings: Rename settings_path to settings_dir
Also to prepare for upcoming refactoring for XDG support.
2017-11-17 20:55:09 +01:00
Daniel J. Ramirez
c57fc8ee7d Fixed editor settings disappearing.
Some items that are no longer defined may disappear, but thats expected i guess.
2017-11-09 22:10:48 -06:00
Rémi Verschelde
0438f4875d Some more harmonization of EditorSettings code 2017-10-31 23:36:03 +01:00
Rémi Verschelde
2d5de0b185 Reorder EditorSettings code for better legibility
No functional change, only moving stuff around.
2017-10-31 15:16:37 +01:00
Rémi Verschelde
981ef0be59 Add support for non-ISO locale identifiers via renames map
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-30 00:02:55 +01:00
Rémi Verschelde
4af59c5b3f Merge pull request #12340 from homer666/orbit-inertia-toned-down
Reduce default orbit inertia value

[ci skip]
2017-10-24 09:11:50 +02:00
homer666
0be1c893b0 Reduce default orbit inertia value 2017-10-23 16:18:15 +11:00
Paulb23
45670df354 Added setting to toggle current line highlighting 2017-10-22 13:42:08 +01:00
Marc Gilleron
de42e53671 Freelook interpolation fixes
- 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-10 02:38:17 +02:00
Poommetee Ketson
59def13b74 EditorSettings: remove duplicate set_favorite_dirs 2017-10-06 20:22:05 +07:00
Juan Linietsky
3d87b70f7a Added the set/get_setting function in Editor/Project settings. Renamed has() to has_setting. Fixes #11844 2017-10-05 15:34:34 -03:00
Poommetee Ketson
34ea271380 Merge pull request #11646 from djrm/pr_visual_improvements
Several visual improvements.
2017-10-02 23:49:44 +07:00
Andreas Haas
20eb17a685
EditorSettings: Move interface/ properties to interface/editor
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-29 18:52:56 +02:00
Daniel J. Ramirez
15986ea343 Several visual improvements.
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-28 15:00:43 -05:00
volzhs
3e0d18b9c0 Update theme property respectively 2017-09-26 20:08:25 +09:00
Daniel J. Ramirez
e2861a3b7c Removed transparency from spatial editor grid. 2017-09-25 21:45:53 -05:00
Daniel J. Ramirez
5676c42ae0 Added the ability to revert to initial value in editor settings. 2017-09-24 22:29:59 -05:00
Juan Linietsky
d3ea92257d -Fixed redraw always on 3D viewprot bug
-Changed manipulation inertia default values. Do not touch them again or I'll cut your fingers and eat them.
2017-09-23 17:28:28 -03:00
Marc Gilleron
b7bc339011 Allow to set a custom DynamicFont in editor settings 2017-09-23 16:17:44 +02:00
Unknown
9b50155009 freelook_base_speed calibration
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-22 09:09:23 +02:00
Unknown
267c942121 rotation orbit modifier defaults to none 2017-09-21 17:45:42 +02:00
Rémi Verschelde
2f82da7f72 Merge pull request #11222 from toger5/spatial_scrolling
Spatial scrolling update + better default inertia values
2017-09-21 10:35:25 +02:00
Rémi Verschelde
34c4c8046c Merge pull request #11221 from toger5/editor_spacing
added editor spacing
2017-09-21 10:25:40 +02:00
Rémi Verschelde
752a116847 Merge pull request #11256 from djrm/pr_visual_improvements
Visual improvements and new look for VS
2017-09-19 23:44:09 +02:00
toger5
f328a356ae settings 'editors/3d' organized, sorted, new_defaults 2017-09-19 02:44:26 +02:00
toger5
117eb16adb update inertia/freelook settings values + renamed free_orbit... to
oribit...
2017-09-19 02:34:44 +02:00
toger5
81245a634b zoom inertia uses its own setting (not the same then translation) 2017-09-19 01:30:14 +02:00
toger5
8f460bb73d added editor spacing 2017-09-19 00:37:54 +02:00
Fabio Alessandrelli
72b4a09a14 Do not allow link-local addresses to be used by editor debugger
Default editor debugger address is now 127.0.0.1
2017-09-18 00:48:16 +02:00
Daniel J. Ramirez
ba11dc3f48 Added adaptive text editor theme, this includes the shader editor 2017-09-15 16:08:22 -05:00