Commit Graph

85 Commits

Author SHA1 Message Date
Rémi Verschelde 6d309c858e Remove unused includes in modules with clangd-tidy 2026-03-16 16:40:39 +01:00
Rémi Verschelde 2dd1f4ef60 Decouple node.h from scene_tree.h, minimize its other includes 2026-03-05 13:54:46 +01:00
Rémi Verschelde eabb9a63d4 Rename callable_method_pointer.h to callable_mp.h and include it explicitly
This allows removing it from `class_db.h`, significantly reducing the amount of files
that include it transitively.

Also includes some include cleanup in `control.h` and `rich_text_label.h` done while
ensure they don't depend on `callable_mp`.
2026-03-04 16:23:23 +01:00
Thaddeus Crews e380a41752 Style: Add class_db.h includes explicitly 2026-02-26 15:50:28 -06:00
Rémi Verschelde d364a63b88 Merge pull request #113396 from KoBeWi/Grock
Change GridMap and Replication to EditorDock
2026-02-20 11:16:26 +01:00
Michael Alexsander 6862edcede Move RuntimeNodeSelect to its own files 2026-01-29 11:02:25 -03:00
kobewi fbcb94cf19 Change GridMap and Replication to EditorDock 2026-01-26 13:19:48 +01:00
Michael Alexsander 5246b5fba9 Add leftover scroll hints, and panels for scrollables without hints 2025-12-12 10:59:03 -03:00
kobewi 448a605cec Improve auto-translation of Debugger 2025-11-17 20:11:35 +01:00
Haoyu Qiu cbd3528e01 Improve auto-translation of the replication editor
Texts in `ReplicationEditor`, `SceneTreeDialog`, `PropertySelector`.

Also the "Copy Text" button in the general warning dialog.
2025-11-15 10:22:35 +08:00
chocola-mint 19c47c5d99 Remove #include "scene/main/timer.h" from control.h 2025-10-05 14:41:06 +09:00
A Thousand Ships bd65cfa876 Revert "Replace many uses of is_class with derives_from."
This reverts commit 78b743cf4a.
2025-09-25 13:48:53 +02:00
Lukas Tenbrink 8ef4a43ada Replace many uses of is_class with derives_from. 2025-09-23 19:59:00 +02: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
Pāvels Nadtočajevs a272376f89 Cleanup accessibility names. 2025-06-23 11:08:36 +03: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
Lukas Tenbrink e2931a5c19 Make conversions from NodePath to String explicit. 2025-06-11 16:50:27 +02:00
Haoyu Qiu 88d922c55e Cleanup header includes in Tree 2025-05-15 14:28:00 +08:00
Pāvels Nadtočajevs 5b49fd4207 Selectively apply FOCUS_ACCESSIBILITY to the Labels instead of setting it by default. 2025-04-23 12:47:31 +03:00
Pāvels Nadtočajevs 302fa831cc Initial editor accessibility. 2025-04-08 20:25:48 +03:00
kobewi 6f25babd6b Remove empty constructors and destructors from editor/ 2025-03-17 21:20:02 +01:00
Thaddeus Crews 324512e11c Style: Replace header guards with #pragma once 2025-03-07 17:33:47 -06:00
arkology c7ef85a92f Use FlowContainer for EditorNetworkProfiler bar 2025-02-08 12:42:54 +03:00
A Thousand Ships a1846b27ea Improve use of Ref.is_null/valid
Use `is_null` over `!is_valid` and vice versa.
2024-12-23 16:35:02 -05:00
Yufeng Ying 33817b186f Remove unused header in drivers and modules.
Co-authored-by: Thaddeus Crews <repiteo@outlook.com>
2024-12-24 00:40:47 +08:00
Haoyu Qiu bf4e5cca3f Make editor's shortcut names translated on-site 2024-12-18 13:00:30 +08:00
Hendrik Brucker 9f8bbe43ee Add profiler autostart indicator to EditorRunBar 2024-12-16 10:15:24 +01:00
Chaosus ba39b078f5 [Scene] Add SceneStringName::FlatButton 2024-12-10 11:12:26 +03:00
A Thousand Ships af56d6e8e8 Use SceneStringName in more places 2024-12-02 14:39:16 +01:00
A Thousand Ships 68f638cf02 Use (r)find_char instead of (r)find for single characters 2024-11-17 10:02:18 +01:00
Aaron Franke 562c666e3d Rename internal Button icon to button_icon to match exposed methods 2024-10-29 16:23:03 -07:00
aryan-11825114 7d7e0344ee Fix Network Profiler not disabling buttons 2024-09-17 13:19:15 +05:30
Rémi Verschelde 4d35402c1c Merge pull request #96400 from Maran23/inputmap-usage-for-filter-and-corresponding-refactor
Use InputMap actions consistently across all LineEdit's that filter an underlying Tree or ItemList.
2024-09-16 13:34:38 +02:00
Hendrik Brucker c53fd9c7be Implement Autostart Feature for Profiler / Visual Profiler / Network Profiler
Co-authored-by: stmSi <stm1998sithumyo@gmail.com>
2024-09-10 19:40:42 +02:00
Fabio Alessandrelli 042b264c55 [MP] Fix division by zero in network profiler
The debugger reports synchronizers with empty state to the editor
even if no data is being sent to other peers.

The editor conditional to avoid division by zero was checking the wrong
variable.
2024-09-02 13:29:38 +02:00
Marius Hanl 74f64aaf98 Use InputMap actions consistently across all LineEdit's that filter an underlying Tree or ItemList.
- Instead of checking for Key::UP, Key::DOWN, Key::PAGEUP, Key::PAGEDOWN etc., we rather check for the action like 'ui_up' or 'ui_down'.
- Also use AcceptDialog's 'register_text_enter' functionality to consistently close a dialog when ENTER is pressed while the LineEdit has focus (instead of redirecting ENTER keys to e.g. the underlying Tree).
- Unify the LineEdit filter behavior for the SceneTreeDialog and corresponding usages
- Improve OK Button disablement (something should be selected)
2024-08-31 21:10:27 +02:00
Dommi aebcd699fe Fixed undo not updating spawn checkbox in replication editor
When pressing undo the value was set to the same as it was before in the ui. It was saved correctly in the config but not updated in the editor.
2024-08-06 15:50:48 +02:00
A Thousand Ships fbb879debd [Scene] Add SceneStringNames::text/value_changed 2024-06-19 09:44:38 +02:00
A Thousand Ships ca18a06ecb [Scene] Add SceneStringNames::confirmed 2024-06-19 09:40:54 +02:00
A Thousand Ships d519715d94 [Scene] Add SceneStringNames::font(_size/_color) 2024-06-18 17:24:27 +02:00
A Thousand Ships 926afccbd8 [Scene] Add SceneStringNames::panel 2024-05-30 22:54:50 +02:00
A Thousand Ships ee79386f7b [Scene] Add SceneStringNames::pressed 2024-05-14 15:51:28 +02:00
A Thousand Ships b4c6cc7d82 [Core] Add case-insensitive String::containsn 2024-05-08 12:48:01 +02:00
K. S. Ernest (iFire) Lee f9b488508c Add PackedVector4Array Variant type
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-05-03 00:58:27 +02:00
Aaron Franke 1bcbbe96c4 Organize existing code for editor plugins 2024-04-27 11:59:58 -07:00
Rémi Verschelde c97885be7d Merge pull request #89811 from timothyqiu/missing-i18n
Fix missing i18n for some editor strings
2024-04-04 14:31:43 +02:00
Haoyu Qiu 91204f6f3f Fix missing i18n for some editor strings 2024-04-03 16:42:28 +08:00
RedMser 9cd30208d6 Improve SceneTreeEditor usability
- Mark contextually relevant node
- Remember/Clear selection as appropriate
- Scroll to marked/selected node
2024-03-31 21:35:10 +02:00
Haoyu Qiu 8cfded5934 Improve replication editor's pin button
- When unpressed, only hide the editor if MultiplayerSynchronizer is not
  selected.
- Add tooltip text.
2024-03-25 23:12:26 +08:00
Hugo Locurcio 8221e7546b Add editor shortcuts to toggle bottom panel visibility
Default shortcuts use the first or second letter of each word.

This also adds a new shortcut to toggle the last opened bottom panel.
On editor startup, this defaults to the first panel in the list
(which is the Output panel).
2024-03-05 15:53:15 +01:00