1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00
Commit Graph

516 Commits

Author SHA1 Message Date
David Snopek
66b40a710f Project manager: Add option to backup project when it will be changed 2025-04-16 09:27:06 -05:00
kobewi
e6edf3b3b3 Improve Project Manager auto-translation 2025-04-12 09:29:18 +02:00
Thaddeus Crews
e6a61b1ecc Merge pull request #76829 from bruvzg/ac_kit_direct
Implement screen reader support using AccessKit library.
2025-04-08 12:32:47 -05:00
Pāvels Nadtočajevs
302fa831cc Initial editor accessibility. 2025-04-08 20:25:48 +03:00
Pāvels Nadtočajevs
539e54567b Add custom sort to center tab bar in the editor and project manager. 2025-04-08 00:05:22 +03:00
Pāvels Nadtočajevs
2f8b96e8a2 Make swap_cancel_ok setting 3-state instead of boolean. 2025-04-03 13:08:11 +03:00
Yufeng Ying
4f4031a675 Replace size() == 0 with is_empty(). 2025-04-02 19:18:43 +08:00
Michael Alexsander
5ad414d046 Allow to compile templates without physics servers 2025-03-28 11:00:44 -03:00
Rémi Verschelde
3fe69cdf74 Merge pull request #104698 from bruvzg/loc_dir
Fix editor layout direction change on translation change.
2025-03-28 14:34:52 +01:00
Rémi Verschelde
d560d5c5c7 Merge pull request #103875 from Meorge/feat/verbose-project-manager
Allow opening a project in verbose mode from the Project Manager
2025-03-28 14:32:08 +01:00
Yyf2333
22b5ec17fb Using iterator pattern instead of List::Element *.
Co-authored-by: Adam Scott <ascott.ca@gmail.com>
2025-03-28 13:29:15 +08:00
Pāvels Nadtočajevs
c3921954f2 Fix editor layout direction change on translation change. 2025-03-27 17:35:21 +02:00
Malcolm Anderson
b2ab89677b Add option to "Edit" in Project Manager for verbose mode
Add "Edit" button dropdown item for "Edit in verbose mode"

Remove ability to hold Alt key to change "Edit" and "Run" buttons to verbose mode counterparts

Update editor/project_manager.cpp

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

Remove code for running project in verbose mode
2025-03-26 21:41:19 -07:00
Pāvels Nadtočajevs
f6891b0305 [DisplayServer] Decouple show_window(MAIN_WINDOW_ID) from DisplayServer constructor, update project manager size/position after DS init. 2025-03-19 11:23:04 +02:00
Aaron Franke
97ee05e9b7 Rename version defines to GODOT_VERSION_* to match GDExtension godot-cpp 2025-03-12 11:11:38 -07:00
Haoyu Qiu
7c8f81f1d0 Set editor's translation domain at root node 2025-03-02 08:52:27 +08:00
Thaddeus Crews
7dba09882a Merge pull request #101557 from btgs-0/empty-project-window-flowcontainer-101530
Make the `empty_list_actions` HBoxContainer into a FlowContainer.
2025-01-16 17:17:55 -06:00
Rémi Verschelde
5718845d99 Merge pull request #101576 from bruvzg/pm_size_fix
Fix project manager window size when `EDSCALE` is not 1.0.
2025-01-16 01:49:15 +01:00
Mateus Elias
0158efc153 Fix ProjectManager::_open_selected_projects_check_recovery_mode() method
Check if at least one project is selected.
2025-01-15 10:18:31 -03:00
Pāvels Nadtočajevs
934668a69a Fix project manager window size when EDSCALE is not 1.0. 2025-01-15 12:39:02 +02:00
BT
0b06df10e9 Make the empty_list_actions HBoxContainer into a FlowContainer. 2025-01-15 07:04:09 +10:30
Hugo Locurcio
cc86322d8d Increase the project manager's default window size
This makes the project manager feel less cramped when many
projects are imported, or when browsing templates in the asset library.

On displays smaller than 1152x800 (e.g. 1366x768), window height is
automatically limited by DisplayServer when setting the window size.

This also tweaks splash screen size when starting the project manager
to match the project manager's default window size, and allows the
`--resolution` and `--position` CLI arguments to affect the project
manager.

Lastly, this increases the minimum width slightly to prevent the UI
from being cut off with the default theme.
2025-01-11 18:25:24 +01:00
Ricardo Subtil
b77aa473a1 Implement a "Recovery Mode" for recovering crashing/hanging projects during initialization 2025-01-03 10:50:15 +00:00
Rémi Verschelde
c3c0c24d1e Merge pull request #100863 from larspet/project-list-placeholder
ProjectManager: Update project list placeholder when project is created
2025-01-03 02:01:32 +01:00
Lars Pettersson
c5b61d4d82 ProjectManager: Update project list placeholder when project created or imported. 2024-12-27 23:31:50 +01:00
Maxime Delorme
e4e966b0f2 Fix #100727 by giving the project manager title to the node instead of DisplayServer 2024-12-23 19:44:18 +01:00
Haoyu Qiu
bf4e5cca3f Make editor's shortcut names translated on-site 2024-12-18 13:00:30 +08:00
Rémi Verschelde
43ef253024 Merge pull request #95600 from MajorMcDoom/project-dialog-optional-edit
Add an `Edit Now` option to project dialog to allow opting out of immediately opening a project after creation/import/install
2024-12-12 14:09:37 +01:00
Lukas Tenbrink
b5c31ebb41 Add contains_char() for single-character 'contains' calls. 2024-12-06 20:23:35 +01:00
A Thousand Ships
af56d6e8e8 Use SceneStringName in more places 2024-12-02 14:39:16 +01:00
Haoyu Qiu
84e6330e85 Remove unnecessary array construction when initializing the project manager 2024-11-14 13:52:49 +08:00
Aaron Franke
562c666e3d Rename internal Button icon to button_icon to match exposed methods 2024-10-29 16:23:03 -07:00
Haoyu Qiu
38579a1e84 Unify editor version buttons 2024-09-28 23:26:23 +08:00
Haoyu Qiu
818acb4290 Make editor use translation domains
How editor plugins use this feature:
1. Pick a unique translation domain name.
2. `_enter_tree()`: load translations into that translation domain.
3. Call `set_translation_domain()` for its root UI node.
4. `_exit_tree()`: remove that translation domain.

Plugins can also set the translation domain to `godot.editor` for
nested nodes that should use editor translations. `EditorFileDialog`
automatically does this.
2024-09-17 13:09:44 +08:00
kobewi
c435a8f37b Add simple minor version migration 2024-09-11 17:28:42 +02:00
Rémi Verschelde
012ccbc301 Merge pull request #95048 from KoBeWi/keep_the_party_going
Add `keep_screen_on` editor setting
2024-08-27 22:27:35 +02:00
Rémi Verschelde
091212b4f1 Merge pull request #93602 from aaronp64/inspector_latency
Improve Editor Inspector/Theme item lookup performance
2024-08-22 00:10:26 +02:00
aaronp64
7593e55527 Improve Editor Inspector/Theme item lookup performance
Changes to reduce the latency between changing node selection in the editor and seeing the new node reflected in the Inspector tab

- Use Vector instead of List for ThemeOwner::get_theme_type_dependencies and related functions
- Use Vector instead of List for ThemeContext::themes, set_themes(), and get_themes()
- Add ClassDB:get_inheritance_chain_nocheck to get all parent/ancestor classes at once, to avoid repeated ClassDB locking overhead
- Update BIND_THEME_ITEM macros and ThemeDB::update_class_instance_items to use provided StringNames for call to ThemeItemSetter, instead of creating a new StringName in each call

These changes reduce the time taken by EditorInspector::update_tree by around 30-35%
2024-08-20 13:39:40 -04:00
Zi Ye
3669eb0b69 Added an "Edit Now" option to project dialog. 2024-08-15 18:54:05 -05:00
kobewi
ab4c23583a Add keep_screen_on editor setting 2024-08-02 03:44:29 +02:00
Fredia Huya-Kouadio
5e59819727 Cleanup Android input on render thread settings
Follow up to https://github.com/godotengine/godot/pull/93933
Clean up the set of settings use to control whether Android input should be dispatched on the render thread.

Addresses comments in https://github.com/godotengine/godot/pull/93933#issuecomment-2210437977
2024-07-09 09:15:18 -07:00
kobewi
8041dc6a55 Make project naming setting available in project manager 2024-06-21 15:53:06 +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
d9e2fc74c7 [Scene] Add SceneStringNames::item_selected 2024-06-19 09:39:05 +02:00
A Thousand Ships
d519715d94 [Scene] Add SceneStringNames::font(_size/_color) 2024-06-18 17:24:27 +02:00
Rémi Verschelde
9c87e8c7b4 Merge pull request #91953 from AThousandShips/use_normal_sname
Use `CoreStringNames::normal` in more places
2024-05-31 14:16:05 +02:00
A Thousand Ships
cade5b88d9 Use CoreStringNames::normal in more places 2024-05-30 22:57:54 +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