1
0
Fork 0
Commit Graph

571 Commits

Author SHA1 Message Date
Thaddeus Crews bad1287b62
Merge pull request #112665 from Giganzo/quick-cursor
Fix cursor shape in the quick open dialog
2025-11-12 11:24:17 -06:00
DexterFstone cd943d18b2 Keep the bottom panel size separate. 2025-11-12 01:49:35 +03:30
Giganzo 189e2767a7 Fix cursor shape in the quick open dialog 2025-11-11 21:25:17 +01:00
Thaddeus Crews 8327dfa215
Merge pull request #112092 from timothyqiu/ts-nums
Move localized number formatting methods to `TranslationServer`
2025-11-10 17:47:09 -06:00
kobewi 98141c3d73 Replace repetitive meta/ctrl condition with a method 2025-11-10 16:23:28 +01:00
Pāvels Nadtočajevs adf18ff44d
Update rect after `_pre_popup` in `popup_centered_*`. 2025-11-10 11:24:37 +02:00
Haoyu Qiu 72d437c030 Move localized number formatting methods to TranslationServer
Co-Authored-By: Pāvels Nadtočajevs <7645683+bruvzg@users.noreply.github.com>
2025-11-10 15:01:22 +08:00
Malcolm Anderson ab49047604 Add error message to Quick Open dialog if callback is invalid 2025-11-08 12:17:35 -08:00
kobewi e64c66c51e Prevent emitting signals when previewing resource 2025-11-08 17:04:10 +01:00
Logan Detrick e50cf880c3 Allow tab_rmb_clicked signal to always be emitted 2025-11-07 11:10:09 -08:00
Thaddeus Crews 522fa8d9bc
Merge pull request #106164 from lodetrick/refactor-bottom-panel
Refactor editor `EditorBottomPanel` to be a `TabContainer`
2025-11-07 10:32:35 -06:00
Logan Detrick e2caff9a06 Refactor Bottom Panel to be a TabContainer 2025-11-06 13:39:52 -08:00
Thaddeus Crews 3b4239d649
Merge pull request #111288 from bruvzg/move_input
[Window] Add unfiltered input handler signal for custom decorations.
2025-11-05 11:48:06 -06:00
Michael Alexsander e32b9274a3
Fix UI focus being shown when it shouldn't 2025-11-03 17:00:05 -03:00
kobewi a54b8b48a0 Fix EditorSpinSlider ignoring step 2025-11-01 23:16:38 +01:00
Michael Alexsander e06f015f95
Add a new editor theme
Co-authored-by: passivestar <60579014+passivestar@users.noreply.github.com>
2025-10-30 00:31:54 -03:00
Thaddeus Crews 6d32d3df75
Merge pull request #111766 from kitbdev/speed_up_spinbox_creation
Improve performance of SpinBox creation
2025-10-27 10:01:35 -05:00
Thaddeus Crews b137476eb5
Merge pull request #109998 from aaronfranke/shader-toggle-files-organize
Organize toggle files button logic in shader editor
2025-10-24 11:23:12 -05:00
kobewi 33ccc5110e Remove side menu functionality in EditorFileDialog 2025-10-22 12:29:26 +02:00
Thaddeus Crews e9d4b259fb
Merge pull request #110942 from KoBeWi/the_what_array
Fix Script editor state types
2025-10-21 15:11:05 -05:00
Thaddeus Crews fe9cdea92c
Merge pull request #106947 from Meorge/feat/quick-load-preview
Allow Quick Open dialog to preview change in scene
2025-10-21 15:11:04 -05:00
Thaddeus Crews 06c0985fee
Merge pull request #105450 from raulsntos/MissingNode/default_properties
Make `MissingNode`/`MissingResource` non-virtual and hide from dialogs
2025-10-20 18:09:55 -05:00
Jason Weiler 877468ab35 Adding a vertical splitter to the create node dialog so the descriptions are easier to read
Adding a vertical splitter to the create node dialog so the descriptions are easier to read

clang-format conformity
2025-10-20 11:55:47 -04:00
kit e232484a37 Improve performance of SpinBox creation 2025-10-17 13:11:21 -04:00
Thaddeus Crews 58894136b7
Merge pull request #107395 from lodetrick/bottom-panel-margin-fixes
Fix TabContainer Editor theming and remove Debugger style hacks
2025-10-13 19:28:39 -05:00
Pāvels Nadtočajevs 101fbbbd1f
[Window] Add unfiltered input handler signal for custom decorations. 2025-10-12 21:15:46 +03:00
Raul Santos 6faa4e369a
Make `MissingNode`/`MissingResource` non-virtual and hide from dialogs
This allows ClassDB to get the default values for inherited properties.
The `MissingNode` and `MissingResource` types are excluded from the create
dialog and the inspector's Resource selector.
2025-10-12 09:58:50 +02:00
Rémi Verschelde 7abe27ba09
Merge pull request #111068 from KoBeWi/bruh💀
Fix Quick Open history
2025-10-07 14:34:00 +02:00
Thaddeus Crews d1d28c0bcf
Merge pull request #111223 from Ivorforce/remove-iterator-include
Replace `std::size` usage with `std_size` to avoid `<iterator>` include.
2025-10-06 09:06:49 -05:00
Lukas Tenbrink 1db0a60dc0 Replace `std::size` usage with `std_size` to avoid `<iterator>` include. 2025-10-05 00:26:11 +02:00
Aaron Franke 3d1c9fd5de
Move server files into their subfolders 2025-09-30 19:39:39 -07:00
Thaddeus Crews fdf32d1b2a
Merge pull request #108577 from YYF233333/global_class_list
Simplify `ScriptServer::get_global_class_list`
2025-09-30 11:19:10 -05:00
kobewi be53dd3d04 Fix Quick Open history 2025-09-30 14:26:14 +02:00
Malcolm Anderson 2f1e8dad74 Add Instant Preview to Quick Open dialog
Add toggle for instant preview

Always keep search box selected so that keyboard navigation works

Add default setting for Instant Preview

Directly set property value for resource via Quick Load menu (no undo/redo or dirty-scene functionality yet)

Add undo/redo functionality

Update class reference

Update doc/classes/EditorSettings.xml

Co-authored-by: Micky <66727710+Mickeon@users.noreply.github.com>

Slight improvement(?) to wording of setting

Allow previewing without committing change

Address various suggestions/improvements

Only allow Instant Preview to be used if Quick Open menu is being used to modify a property

Only allow property-based Quick Load when resource to modify is defined (otherwise default to old behavior)

Apply suggestions from code review

Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>

Address comments/suggestions

Get rid of duplicated code and use original callback strategy

(Attempt to) fix Instant Preview for editing multiple nodes at once and undo/redo stack for single nodes

Fix cancelling Quick Open when multiple nodes are selected

Prevent initially selected item in Quick Open dialog from overwriting the currently selected property

Apply suggestions from code review

Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>

Make a few changes/improvements based on feedback

- Combine some duplicated code into `_finish_dialog_setup()`
- Move `ERR_FAIL_NULL(p_obj);` to top of checks
- Fix renaming of `is_instant_preview_enabled()` across code, and remove now-redundant conditions where it is used
- Make `EditorResourcePicker::property_path` be `StringName` not `String`
2025-09-29 15:12:21 -07:00
kobewi e68b171aaa Fix Script editor state types 2025-09-26 21:38:12 +02:00
Aaron Franke 23fa9d8508
Organize toggle files button logic in shader editor 2025-09-24 17:55:39 -07:00
kobewi eae9ef2292 Change preview methods to take Callable 2025-09-23 20:13:00 +02:00
Thaddeus Crews a20ca7bbfe
Merge pull request #110459 from YeldhamDev/let_the_poor_ints_slide
Allow to use sliders for integers in `EditorSpinSlider`
2025-09-22 13:28:52 -05:00
Thaddeus Crews be421bcdd4
Merge pull request #110250 from YeldhamDev/i_just_cant_keep_focused
Hide `Control` focus when given via mouse input
2025-09-22 13:28:44 -05:00
Michael Alexsander f16ff829f0
Allow to use sliders for integers in `EditorSpinSlider` 2025-09-22 11:23:15 -03:00
Thaddeus Crews c852872cb2
Merge pull request #108804 from bruvzg/mac_bundle_icon
[macOS] Use "file" icon for bundles in the file dialogs.
2025-09-22 08:50:02 -05:00
Thaddeus Crews 60c33a222c
Merge pull request #108929 from Giganzo/spin-slider-suffix
Add suffix to EditorSpinSlider tooltips
2025-09-22 08:49:59 -05:00
Michael Alexsander aeb3a45c97
Hide `Control` focus when given via mouse input 2025-09-19 13:43:29 -03:00
Mounir Tohami b9837e4ada Fix scrolling to bottom panel selected button.
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2025-09-19 17:43:06 +03:00
Yufeng Ying a50fc5acd8 Change ClassDB::get_class_list and related stuff. 2025-09-16 15:00:33 +08:00
Giganzo c21a03361a Add hover styles to buttons in Script/Shader editor 2025-08-16 15:05:07 +02:00
Elise 8835ac2a2a Fix inheriting from abstract classes dialog 2025-08-06 08:43:22 +10:00
Lazy-Rabbit-2001 251d037c18 Optimize the callback argument of popup_create_dialog() 2025-07-29 20:57:31 +08:00
Mounir Tohami 1cc459d86f Fix Editor wayland first scan task error.
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2025-07-25 01:05:15 +03:00
Giganzo 3d6b4f9038 Add suffix to EditorSpinSlider tooltips 2025-07-24 21:51:45 +02:00
kit 0d18575ad1 Fix error when toggling comment with empty lines 2025-07-22 15:37:54 -04:00
Pāvels Nadtočajevs 37ae7d4420
[macOS] Use "file" icon for bundles in the file dialogs. 2025-07-20 20:44:33 +03:00
Logan Detrick 78045df591 Fix TabBar corner radius and generalize Debugger hack 2025-07-07 16:50:12 -07:00
A Thousand Ships f11aff3841
Editor: Restructure editor code
Moving various editor files into sub folders to reduce clutter
2025-07-04 18:18:22 +02:00
Thaddeus Crews 639c41d086
Merge pull request #107850 from beicause/Fix-Resource-doesn't-update-when-overwritten-in-editor
Fix Resource doesn't update when overwritten in editor
2025-07-01 17:57:52 -05:00
LuoZhihao 0c74c0978f Fix Resource doesn't update when overwritten in editor 2025-06-29 01:08:11 +08:00
Pāvels Nadtočajevs a272376f89
Cleanup accessibility names. 2025-06-23 11:08:36 +03:00
Thaddeus Crews c825fcf43f
Merge pull request #107624 from timothyqiu/top-bottom-atr
Improve auto-translation of editor's top & bottom bars
2025-06-18 18:14:06 -05:00
Haoyu Qiu 1301343f42 Improve auto-translation of editor's top & bottom bars
- The main menu
- The run bar
- The update spinner
- The bottom panel buttons
2025-06-18 21:11:32 +08:00
Haoyu Qiu 0a1fa10315 Fix game view window not updating title when translation changes 2025-06-16 09:35:25 +08:00
Rémi Verschelde 4c5c577612
Merge pull request #107368 from Meorge/docs/what-is-fuzzy-2
Improve description of fuzzy matching in editor settings documentation
2025-06-13 18:37:30 +02:00
Malcolm Anderson cf56390e81 Improve description of fuzzy matching in editor settings documentation
Update doc/classes/EditorSettings.xml

Co-authored-by: Micky <66727710+Mickeon@users.noreply.github.com>

Update `max_fuzzy_misses` docs and "Fuzzy Search" tooltip to match `enable_fuzzy_matching`

Improve examples used and remove "middle of the filename" description

Apply suggestions from code review

Co-authored-by: Micky <66727710+Mickeon@users.noreply.github.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>

Update doc/classes/EditorSettings.xml

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>

Improve phrasing for `enable_fuzzy_matching` description

Update doc/classes/EditorSettings.xml

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>

Semicolons
2025-06-13 08:28:36 -07:00
Rémi Verschelde 22702244f8
Merge pull request #105414 from KoBeWi/disable_uid_here
Add `@export_file_path` to export raw paths (no UID)
2025-06-13 01:30:24 +02:00
Rémi Verschelde 7842a042ae
Merge pull request #103125 from Giganzo/editor-object-selector-popup
Fix EditorObjectSelector popup size
2025-06-12 23:32:32 +02:00
Giganzo d8376e6256
Fix EditorObjectSelector popup size 2025-06-12 17:30:01 +02:00
kobewi 1725231e14 Fix favorite folder colors 2025-06-12 16:48:46 +02:00
David Snopek c2d3a05a87 Unhide `one-click deploy` button on Android and XR editor.
This reverts commit eb5f1c3484.
2025-06-10 15:54:28 -05:00
Rémi Verschelde 8bae32e6dd
Merge pull request #107196 from timothyqiu/events-improvements
Improve Input Map and Shortcuts editor
2025-06-09 00:45:02 +02:00
Pāvels Nadtočajevs 22b5a2fc5c
Change editor button focus mode to `FOCUS_ACCESSIBILITY`. 2025-06-08 15:53:27 +03:00
Haoyu Qiu 146599d3b2 Improve Input Map and Shortcuts editor
- Fixes not being able to search by pressing ESC.
- Removes double translations.
- Cleans up `InputEventConfigurationDialog` for auto-translation.
- Adapts to editor theme change.
- Unifies search bar boilerplate code.
- Shortcuts: disable the "erase" button if there is no event to remove.
- Input Map: always include built-in actions when searching.
2025-06-07 17:51:41 +08:00
Rémi Verschelde 1dc398885a
Merge pull request #107108 from Meorge/feat/what-is-fuzzy
Describe "Fuzzy Search" in Quick Open tooltip
2025-06-05 13:13:44 +02:00
Rémi Verschelde 61639d9574
Merge pull request #106996 from Ivorforce/no-oa-hashmap
Core: Remove `OAHashMap`, in favour of `AHashMap`
2025-06-05 13:12:34 +02:00
Malcolm Anderson 24a1d2d11c Provide a description of fuzzy search
Update editor/gui/editor_quick_open_dialog.cpp

Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2025-06-04 08:18:52 -07:00
Thaddeus Crews 4f64eaef0c
Merge pull request #69012 from KoBeWi/settings_of_editor_project
Allow to override editor settings per project
2025-06-02 18:51:26 -05:00
Thaddeus Crews 2d950c8d2e
Merge pull request #106624 from timothyqiu/custom-base
Fix error when closing all scene tabs on the last tab
2025-06-02 18:51:21 -05:00
kobewi b41d6ecf8c Allow to override editor settings per project 2025-06-02 17:51:26 +02:00
Lukas Tenbrink 963c20565b Remove `OAHashMap`, in favour of `AHashMap`.
The two types had (mostly) the same decisions, but `AHashMap` is a faster implementation, and is more consistent with `HashMap`.
2025-05-31 15:50:10 +02:00
Haoyu Qiu 19226d77ed Improve Variant type menus in the editor 2025-05-28 23:05:34 +08:00
Malcolm Anderson e6038335b2 Add dropdown to Movie Maker button in editor run bar to access settings
Display Movie Maker button as "pressed" when Movie Maker mode is enabled

Fix Movie Maker button colors

Use enum for Movie Maker menu options

Fix Movie Maker button background when switching themes

Apply suggestions from code review

Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>

Use a theme variation for button colors

Update editor/gui/editor_run_bar.h

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2025-05-27 10:36:11 -07:00
Haoyu Qiu 8d93b6a54c Add translation preview in editor 2025-05-27 07:59:28 +08:00
kobewi 42249bb659 Add @export_file_path to export raw paths (no UID) 2025-05-22 13:25:17 +02:00
Haoyu Qiu 787d7c8b53 Fix error when closing all scene tabs on the last tab 2025-05-20 15:10:54 +08:00
Wilson E. Alvarez 8bd1b5fce9
Do not grab focus on filename LineEdit in EditorFileDialog when outside the tree 2025-05-18 13:06:02 -04:00
Haoyu Qiu 88d922c55e Cleanup header includes in Tree 2025-05-15 14:28:00 +08:00
Thaddeus Crews c714743bb1
Merge pull request #105944 from syntaxerror247/main-menu
Add editor setting to collapse main menu into a `MenuButton`
2025-05-07 12:48:29 -05:00
Anish Mishra e03942a6ef Add editor setting to collapse main menu 2025-05-07 08:39:21 +05:30
kobewi d32d2e9b51 Remove NOTIFICATION_ENTER_TREE when NOTIFICATION_THEME_CHANGED is used 2025-05-06 15:28:03 +02:00
Fredia Huya-Kouadio d320b92352 Enable XR play mode options in the regular editor
The feature is necessary for XR projects with regular scenes, or hybrid app projects.
2025-05-04 12:54:06 -07:00
Rémi Verschelde 694d034d5b
Rename editor "File" MenuOption enums for clarity 2025-04-30 16:32:11 +02:00
Thaddeus Crews eb3d0604ba
Merge pull request #105876 from KoBeWi/dynamic_outline
Inline static variables (part 1)
2025-04-29 16:05:16 -05:00
kobewi 5af4bef46f Inline static variables (part 1) 2025-04-29 18:10:44 +02:00
Haoyu Qiu f7a0b6b7cf Fix group name completion for `get_node_count_in_group` 2025-04-28 19:42:01 +08:00
Thaddeus Crews f8a8d6cf04
Merge pull request #105700 from dementive/config-file-get-improvement
Improve ConfigFile get_sections and get_section_keys by returning Vector<String>
2025-04-27 19:21:31 -05:00
Thaddeus Crews 3947cbe3b2
Merge pull request #104386 from Repiteo/core/cpp-math
Core: Replace C math headers with C++ equivalents
2025-04-27 19:21:22 -05:00
dementive b8e44a0000 Improve ConfigFile get_sections and get_section_keys by returning Vector<String> 2025-04-24 20:10:31 -04:00
Thaddeus Crews 9ac753c916
Merge pull request #105636 from syntaxerror247/one-click-deploy
Hide `one-click deploy` button on Android and XR editor
2025-04-24 09:09:24 -05:00
Pāvels Nadtočajevs 5b49fd4207
Selectively apply `FOCUS_ACCESSIBILITY` to the `Label`s instead of setting it by default. 2025-04-23 12:47:31 +03:00
Anish Mishra eb5f1c3484 Hide `one-click deploy` button on Android and XR editor. 2025-04-22 20:21:18 +05:30
Thaddeus Crews aadeef1892
Merge pull request #105578 from BrotherShort/scenetree-auto-trans2
Improve SceneTree auto-translation. Fix TreeItem tooltips and the Filter.
2025-04-21 08:24:24 -05:00
BrotherShort 1e1b0913bc Improve SceneTree auto-translation 2025-04-20 11:12:07 +08:00