summaryrefslogtreecommitdiff
path: root/editor/editor_settings.cpp
AgeCommit message (Collapse)Author
2022-08-19Merge pull request #64334 from YuriSizov/core-bind-property-revert-methodsYuri Sizov
Make `property_*_revert` methods multilevel and expose them for scripting
2022-08-18Implement `MenuBar` control to wrap `PopupMenu`s or native menu, use native ↵bruvzg
menu for editor.
2022-08-18Make `property_*_revert` methods multilevel and expose them for scriptingYuri Sizov
2022-08-03Rename visual shader editor setting category for proper capitalizationHugo Locurcio
2022-07-31Fix EditorSettings crashes due to nullptr dereferenceSean Kim
Fixes #45979 Noted a few places in this file that would have similar errors, so any access to the EditorSettings singleton has had a check added.
2022-07-29Swap arguments of ResourceSaver.save()kobewi
2022-07-29Move editor paths into the EditorPaths classAaron Franke
2022-07-25When selecting Nodes in the Scene Tree, if the current EditorPlugin is ↵Alfred R. Baudisch
"Script" and if text_editor/behavior/navigation/stay_in_script_editor_on_node_selected is true, force inspector_only in order to not switch the EditorPlugin to the Node's main plugin.
2022-07-22Rename directory for export templates from templates to export_templatesAaron Franke
2022-07-21Rename OSX to macOS and iPhoneOS to iOS.bruvzg
2022-07-06Refactor Font configuration and import UI, and Font resources.bruvzg
2022-07-03Add the ability to drag the code completion scrollbar using the mouse clickMinusKube
2022-06-26Add an option to drag'n'drop selected text in TextEditConteZero
2022-06-08i18n: Misc fixes translation stringsRémi Verschelde
Adds some translator comments to solve some questions raised on Weblate.
2022-06-03Merge pull request #61481 from Calinou/profiler-increase-frame-historyFabio Alessandrelli
Increase the editor profiler frame history default and maximum limit
2022-05-30Improve Graphedit connection linesHendrik Brucker
2022-05-28Increase the editor profiler frame history default and maximum limitHugo Locurcio
The new default value (1800) allows storing 30 seconds of profiling at 60 FPS. The new maximum value (10000) allows storing about 3 minutes of profiling at 60 FPS. The profiler graph will scale accordingly to the chosen setting, so the default value is kept relatively low to prevent the graph from looking too squished on narrow displays.
2022-05-23Increase saturation of accent color on the Gray editor theme presetHugo Locurcio
This also renames the Gray editor theme preset to use US spelling.
2022-05-19Use suffixes for units in nodes and resourcesAaron Franke
2022-05-19Use range iterators for RBSet in most casesAaron Record
2022-05-16Merge pull request #60463 from Geometror/improve-vs-1Rémi Verschelde
2022-05-16Replace most uses of Map by HashMapreduz
* Map is unnecessary and inefficient in almost every case. * Replaced by the new HashMap. * Renamed Map to RBMap and Set to RBSet for cases that still make sense (order matters) but use is discouraged. There were very few cases where replacing by HashMap was undesired because keeping the key order was intended. I tried to keep those (as RBMap) as much as possible, but might have missed some. Review appreciated!
2022-05-12Add a new HashMap implementationreduz
Adds a new, cleaned up, HashMap implementation. * Uses Robin Hood Hashing (https://en.wikipedia.org/wiki/Hash_table#Robin_Hood_hashing). * Keeps elements in a double linked list for simpler, ordered, iteration. * Allows keeping iterators for later use in removal (Unlike Map<>, it does not do much for performance vs keeping the key, but helps replace old code). * Uses a more modern C++ iterator API, deprecates the old one. * Supports custom allocator (in case there is a wish to use a paged one). This class aims to unify all the associative template usage and replace it by this one: * Map<> (whereas key order does not matter, which is 99% of cases) * HashMap<> * OrderedHashMap<> * OAHashMap<>
2022-04-30Improve the VisualShader/VisualScript editor UIHendrik Brucker
2022-04-20Avoid setting sub-window or started project window positions, if it's ↵bruvzg
impossible to get screen rect.
2022-04-12Merge pull request #54740 from ↵Rémi Verschelde
LightningAA/project-manager-sort-by-most-recent-as-default
2022-04-11Make FileAccess and DirAccess classes reference counted.bruvzg
2022-04-06Fix some issues found by cppcheck.bruvzg
2022-04-04Merge pull request #59866 from m4gr3d/update_default_display_scale_mainRémi Verschelde
2022-04-04Update the editor display scale based on the device's scaled densityFredia Huya-Kouadio
2022-04-03Fix TextEdit v_scroll_speed invalid values breaks wheel scrollingjmb462
2022-03-27Mark Editor SSL Certificates setting as require restartHaoyu Qiu
2022-03-25Convert the editor and default theme fonts to WOFF2 format to save space.bruvzg
2022-03-21Merge pull request #59373 from bruvzg/fix_editor_font_changeRémi Verschelde
[Editor] Fix reloading editor theme on font / font size setting change.
2022-03-21Merge pull request #59367 from Calinou/script-editor-decrease-line-spacingRémi Verschelde
Decrease the default line spacing in the script editor
2022-03-21Merge pull request #59366 from Calinou/editor-pseudolocalization-move-settingRémi Verschelde
Move the pseudolocalization editor setting to a debug section
2022-03-21[Editor] Fix reloading editor theme on font / font size setting change.bruvzg
2022-03-21Decrease the default line spacing in the script editorHugo Locurcio
This brings the level of line spacing closer to what it was like in Godot 3.x, which improves usability on small displays. This also decreases the default line spacing for fixed-width texts in the About dialog (license text).
2022-03-21Move the pseudolocalization editor setting to a debug sectionHugo Locurcio
This moves the setting in question to the bottom of the Editor Settings, which makes it less likely to be accidentally enabled.
2022-03-20Fix getaddrinfo failed with undefined proxy configTais P. Hansen
HTTPClientTCP expects proxy host to be empty or port to be -1 to ignore the proxy. When getting the proxy config from the settings file, the values will default to U"null" and 0, respectively, making HTTPClientTCP to attempt to use the values as a proxy, which causes getaddrinfo to fail looking up a "null" hostname. Setting the default config values seems like a good approach to prevent this issue. Fixes #59037
2022-03-13Improve scene tab close button optionskobewi
2022-03-12Initialize bools in the headers in editorAaron Franke
2022-03-11Convert uses of `DirAccess *` to `DirAccessRef` to prevent memleaksRémi Verschelde
`DirAccess *` needs to be deleted manually, and this is often forgotten especially when doing early returns with `ERR_FAIL_COND`. `DirAccessRef` is deleted automatically when it goes out of scope. Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2022-03-09Replace `TabBar`'s `min_width` with `max_tab_width` and expose itMichael Alexsander
2022-03-06Remove duplicate editor settings definitionskobewi
2022-03-05Added ability to retrieve array of changed settings changed when it is saved.Eric M
2022-02-15Editor: Cleanup some includes dependenciesRémi Verschelde
Removes some unnecessary includes from `editor_node.h`, and instead add those where they're used. Removes unnecessary `editor_node.h` includes in various editor classes. Renames `dynamicfont` to `dynamic_font` in a couple files. Misc cleanup while jumping through that rabbit hole.
2022-02-15Merge pull request #57877 from bruvzg/subpixel_gl_posRémi Verschelde
2022-02-14Improve completion scroll bar visibility in the script editorHugo Locurcio
This makes the scroll bar bar thicker and more opaque (roughly matching the editor theme's scroll bar by default).
2022-02-12Add sub-pixel glyph positioning support.bruvzg