Commit Graph

62 Commits

Author SHA1 Message Date
Enzo Novoselic 7b82c0fe01 Remove unnecessary class_db.h includes 2026-05-02 13:08:34 -04:00
unit-tick 79a9ea2a38 Editor: Fix Tag Container Clipping Project Title and Breaking UI
Removed project_title->set_clip_text (default behaviour is false).
Changed horizontal_size_flag to SIZE_FILL so it only occupies the space up to its
title.

Converted tag_container from HBoxContainer to HFlowContainer, enabling
tag_controls to wrap. Set its alignment to end, so it fills from the
right. Set horizontal_size_flags to SIZE_EXPAND_FILL so it uses up all
relevant space, it doesn't spread horizontally otherwise.

Added Maximum Size to Tag Button to prevent Project Title Clipping due
to overly long names. Added tooltip to show full name of tag.
2026-04-23 05:03:01 -04:00
Rémi Verschelde 005e054245 Remove unused includes in editor with clangd-tidy
Also includes the few changes flagged in `main`.
2026-03-15 20:47:05 +01:00
Thaddeus Crews a209e26690 Merge pull request #111528 from Meorge/feat/project-manager-upgrade
Depict version discrepancies in Project Manager
2026-03-06 12:40:02 -06:00
Thaddeus Crews 371282b28e Merge pull request #92984 from adamscott/reveal-me
Customize the file manager label for each platform
2026-03-04 11:20:31 -06:00
Malcolm Anderson d1ed959e9d Display icon next to project's Godot version in Project Manager if its version differs from current version
Handle Godot 3.x projects

Update editor/project_manager/project_list.h

Add icons, major/minor recognition support, and note for downgrading

Apply suggestions from code review

# Conflicts:
#	editor/project_manager/project_list.h

Update editor/project_manager/project_list.cpp

Add convert option

# Conflicts:
#	editor/project_manager/project_list.cpp

Apply suggestions from code review

Update editor/project_manager/project_list.cpp

Use blue for upgrade and yellow for downgrade

Remove "unknown version" case, move it to unsupported features/warning indicator

Update editor/project_manager/project_list.h

Co-authored-by: Geometror <hendrik.brucker@mail.de>
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2026-03-04 08:20:55 -08: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
Rémi Verschelde 727b06a79f Move ProcessID typedef out of OS
This allows decoupling a number of files from `os.h`.
2026-03-04 15:00:45 +01:00
Rémi Verschelde 8c0f175c94 Decouple RenderingServer from as much of the codebase as possible
Notably decouples it from:
- AccessibilityServer
- DisplayServer
- Viewport
- Window
2026-03-03 12:48:07 +01:00
Adam Scott f441172719 Customize the file manager for each platform 2026-03-02 09:42:13 -05:00
Pāvels Nadtočajevs 1306221592 Move accessibility methods/enums from DisplayServer to the AccessibilityServer dedicated singleton. 2026-03-02 13:48:29 +02:00
Thaddeus Crews e380a41752 Style: Add class_db.h includes explicitly 2026-02-26 15:50:28 -06:00
Jordyfel 68c2afee6e Fix buttons for opening project in file manager 2026-01-31 20:23:17 +02:00
Nintorch eb019511ed Optimize files that #include input.h header 2026-01-28 14:21:00 +05:00
Jordyfel 320bfeb819 Fix project manager drawing focus on right click 2026-01-15 00:58:01 +02:00
passivestar 092bfca4dc Minor fixes for the project list item UI 2026-01-13 20:51:08 +04:00
passivestar 1ff0239c0c Fix right clicking on a project draws focus outline 2026-01-11 15:01:41 +04:00
passivestar 8e20f4c289 Finalize colors of modern theme 2025-12-20 07:17:46 +04:00
Rémi Verschelde 7a228b4b91 Merge pull request #113473 from ndarilek/fix-favorite-button-accessibility-label
Editor: Add accessibility label to project favorite button
2025-12-03 09:50:05 +01:00
Nolan Darilek 8eba8bda85 Editor: Add accessibility label to project favorite button 2025-12-02 16:23:37 -05:00
Michael Alexsander d94914417a Hide mouse focus from project list 2025-12-02 10:03:26 -03:00
Thaddeus Crews 09bc1ca327 Merge pull request #77292 from Calinou/project-manager-add-select-all-none-shortcuts
Add Ctrl + A and Ctrl + Shift + A to (de)select all projects in project manager
2025-11-20 16:47:01 -06:00
Thaddeus Crews bf99866abe Merge pull request #112825 from KoBeWi/why_would_you_do_that
Don't save editor settings on startup
2025-11-17 10:56:47 -06:00
kobewi 141a49b090 Don't save editor settings on startup 2025-11-15 20:39:49 +01:00
Malcolm Anderson 9c1375f6be Use American spelling of "favorite" in Project Manager code 2025-11-14 13:10:56 -08:00
Thaddeus Crews bd2ca13c6f Merge pull request #112733 from KoBeWi/press_right_to_context
Add a right click menu to the project manager
2025-11-13 20:52:27 -06:00
kobewi f51f97aaec Add a right click menu to the project manager 2025-11-14 00:57:00 +01:00
Hugo Locurcio 226d726b05 Add Ctrl + A and Ctrl + Shift + A to (de)select all projects in project manager
These keyboard shortcuts are commonly used in applications to (de)select
all entries in a list.
2025-11-13 22:22:07 +01:00
风青山 630e2c9fe5 Improve Project Manager UI navigation
Provide a focus stylebox for navigable controls.

Add shortcuts for explore (`E`) and favorite (`F`).

In particular, when switching favorites (clicking the favorite button with
the mouse or pressing the `F` key), pressing `ALT` will follow the item.
2025-11-06 10:08:21 +08:00
arkology 57b1848e8c ProjectManager: Change favorite button tooltip to toggle 2025-09-26 06:19:16 +00: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 879059453f Fix double translations in Project Manager 2025-05-30 12:00:59 +08:00
Thaddeus Crews 34cf5a03a2 Merge pull request #103833 from nobbele/projectmanager-local-time
Make project manager's "last edited" field display use local time instead of UTC
2025-05-26 11:24:27 -05:00
nobbele acc8fbee34 project_manager: Display last edited time using local timezone instead of UTC 2025-05-24 13:51:30 +02:00
dementive b8e44a0000 Improve ConfigFile get_sections and get_section_keys by returning Vector<String> 2025-04-24 20:10:31 -04: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
kobewi e6edf3b3b3 Improve Project Manager auto-translation 2025-04-12 09:29:18 +02:00
Pāvels Nadtočajevs 302fa831cc Initial editor accessibility. 2025-04-08 20:25:48 +03:00
Yufeng Ying 4f4031a675 Replace size() == 0 with is_empty(). 2025-04-02 19:18:43 +08:00
Aaron Franke 97ee05e9b7 Rename version defines to GODOT_VERSION_* to match GDExtension godot-cpp 2025-03-12 11:11:38 -07:00
A Thousand Ships 466590d0ec Use get_slicec instead of get_slice for single character splitters 2025-03-08 20:36:37 +01:00
arkology 92c6920272 Restore "Show in File Manager" button functionality in ProjectManager
- now "Show in File Manager" button is invisible on Android and web (as it should be) when project path is valid.
- tooltip is visible again.
2025-03-04 20:50:23 +03:00
kobewi 266b569641 Silence missing icon error if UID cache is missing 2025-02-10 17:09:34 +01:00
Ricardo Subtil b77aa473a1 Implement a "Recovery Mode" for recovering crashing/hanging projects during initialization 2025-01-03 10:50:15 +00:00
kobewi 81b1138a7f Fix icon UIDs in Project Manager 2024-12-26 14:54:09 +01:00
kobewi cb4ceb823c Make scan for projects threaded 2024-12-12 22:31:32 +01:00
Lukas Tenbrink b5c31ebb41 Add contains_char() for single-character 'contains' calls. 2024-12-06 20:23:35 +01:00
Aaron Franke 562c666e3d Rename internal Button icon to button_icon to match exposed methods 2024-10-29 16:23:03 -07:00
David Giardi ebe1a2d7ec Add hover state to Tree items display 2024-10-17 00:21:52 +02:00