Yuri Sizov
691450bc08
Reorganize project manager code
...
- Extract individual components to their own files.
- Improve order of declarations and definitions within those files.
- ProjectDialog is only extracted as there are upcoming
PRs touching on it.
2024-01-16 19:57:36 +01:00
Yuri Sizov
95b27fe8c7
Reorganize code related to editor theming
...
This change introduces a new EditorThemeManager class
to abstract theme generatio and its subroutines.
Logic related to EditorTheme, EditorColorMap, and editor
icons has been extracted into their respective files with
includes cleaned up.
All related files have been moved to a separate folder to
better scope them in the project. This includes relevant
generated files as well.
2024-01-16 11:57:45 +01:00
kobewi
0e8f90f4c8
Update deferred calls to use Callables
2024-01-09 16:11:47 +01:00
A Thousand Ships
0a2ddaa6bd
Fix incorrect check on importing project
2024-01-07 00:52:16 +01:00
Rémi Verschelde
6c390b620d
Merge pull request #84445 from Rubonnek/add-const-references-clang-tidy
...
Add const references detected by clang-tidy
2024-01-04 14:25:33 +01:00
Yuri Sizov
5f641541ea
Merge pull request #86271 from YuriSizov/pm-optimize-multiple-ways-of-scanning
...
Optimize scanning routines in the project manager
2023-12-20 15:08:06 +01:00
Yuri Sizov
416e594eb3
Correctly enforce minimum window size in editor
...
Also set the maximum size for the language
picked in the project manager.
2023-12-20 13:19:21 +01:00
Yuri Sizov
3d4b33df33
Optimize scanning routines in the project manager
2023-12-20 13:16:46 +01:00
Yuri Sizov
02d4579fa2
Merge pull request #85000 from bruvzg/ed_ui_direction
...
[Editor] Add option to override editor UI layout direction.
2023-12-19 13:01:35 +01:00
Wilson E. Alvarez
a3cb1b096f
Add const references detected by clang-tidy
2023-12-16 13:36:44 -05:00
Yuri Sizov
d9677be0ca
Make sure Window
's title is respected before we compute the size
...
Also removes some suspicious and outdated code that forced this particular
dialog to change size when the warning message changed.
2023-11-24 16:31:41 +01:00
jsjtxietian
b8d7a43f73
Fix project name being overwrite everytime show_dialog
is called
2023-11-21 19:50:01 +08:00
bruvzg
932174fedf
[Editor] Add option to override editor UI layout direction.
2023-11-17 14:56:45 +02:00
Yuri Sizov
215e036600
Add bulk change guards to successive theme overrides in Editor and GUI
2023-10-19 18:14:14 +02:00
Yuri Sizov
582ed157b5
Fix StringName leaks in GDExtension, core, and editor themes
2023-10-18 17:36:20 +02:00
Alfred Reinold Baudisch
0c584ddde1
Handle "Enter" when the search box is focused
2023-10-13 08:54:35 +02:00
A Thousand Ships
f18aa00e85
Replace ERR_FAIL_COND
with ERR_FAIL_NULL
where applicable
2023-10-08 17:23:33 +02:00
ajreckof
6afadbaa9f
Replace Ctrl in editor shortcuts with Cmd or Ctrl depending on platform
2023-09-19 10:29:07 +02:00
kobewi
6de34fde27
Add EditorStringNames singleton
2023-09-03 19:58:18 +02:00
Igor
4b8163586b
Streamline the project import workflow
2023-08-29 09:50:03 +02:00
Igor
40eeeb9191
Project manager button rearrangement
2023-07-25 20:58:14 +04:00
Hendrik Brucker
7e21eb7e00
Extract and reorganize texture resource classes
2023-07-14 20:04:21 +02:00
Aaron Franke
95ccbdea4b
Improve text in popup warning, remove "upgrade or downgrade" text
2023-07-10 11:52:48 -05:00
Rémi Verschelde
349e44091d
Merge pull request #79118 from aaronfranke/friendly-upgrades
...
Improve user-friendliness of project version mismatch message
2023-07-10 15:33:15 +02:00
Rémi Verschelde
8a06ec979e
Change explicit 'Godot 4.0' references to 'Godot 4'
...
Fixes #79276 .
2023-07-10 13:08:11 +02:00
Rémi Verschelde
19c6294a66
Merge pull request #78795 from akien-mga/project-converter-keep-rendering-driver
...
Project converter: Use same rendering driver as Project Manager
2023-07-08 18:18:10 +02:00
Aaron Franke
3b8a81d361
Improve user-friendliness of project version mismatch message
2023-07-06 19:27:48 -05:00
Rémi Verschelde
53c78b2cac
Project converter: Use same rendering driver as Project Manager
...
Which means by default OpenGL 3, but it can still be overridden from the command line.
Fixes #76303 .
2023-06-28 15:07:37 +02:00
Aaron Franke
d667402461
Sort project tags before saving
2023-06-27 18:22:33 -05:00
Rémi Verschelde
b6bb244aad
Merge pull request #78042 from timothyqiu/phantom
...
Fix heap-use-after-free when editing project tags
2023-06-09 13:44:51 +02:00
Haoyu Qiu
fade92e4a8
Fix heap-use-after-free when editing project tags
2023-06-09 18:34:07 +08:00
Haoyu Qiu
59f60dc4e5
Disable auto translate for some controls in Project Manager
2023-06-09 18:18:53 +08:00
lawnjelly
b69c8b4791
Single Compilation Unit build.
...
Adds support for simple SCU build (DEV_ENABLED only).
This speeds up compilation by compiling multiple cpp files within a single translation unit.
2023-06-06 15:36:51 +01:00
kobewi
e767ff5695
Add project tags
2023-05-30 00:53:02 +02:00
Fredia Huya-Kouadio
831b4a5366
Improve startup benchmarking
...
Move the benchmarking measuring methods from `Engine` to `OS` to allow for platform specific overrides (e.g: can be used to hook into platform specific benchmarking and tracing capabilities).
2023-05-23 13:22:35 -07:00
jpcerrone
0985019c28
Fix Input Map key assignments missing after project conversion
...
Fixes #76336 (Input Map keys missing).
Moves the project.godot config_version stamping from the project manager
to the project converter. Now there's no difference between converting through
the project manager and the CLI tool.
Fixes being prompted to re-convert the project in the project manager after
having done so through the CLI tool.
2023-05-16 14:39:04 -03:00
Rémi Verschelde
e54ebaf0eb
Merge pull request #76421 from timothyqiu/editor-dialog
...
Fix inconsistent file dialog settings usage
2023-04-25 10:01:06 +02:00
Rémi Verschelde
76d33d187f
Merge pull request #69698 from Daylily-Zeleen/daylily-zeleen/show_in_explorer
...
Implement and expose OS::shell_show_in_file_manager()
2023-04-25 09:57:27 +02:00
Daylily-Zeleen
b12ced0a26
Implement and expose OS::shell_show_in_file_manager()
2023-04-25 11:29:32 +08:00
Haoyu Qiu
2ccc9e1456
Fix inconsistent file dialog settings usage
...
* Project Manager ignores display mode settings.
* EditorFileDialog's default display mode and show hidden files settings
are not updated when corresponding editor settings change.
2023-04-25 09:11:57 +08:00
clayjohn
48ebae7812
Validate renderer selection in project manager and change default renderer editor setting to expose an enum to users
2023-04-21 16:51:57 -07:00
Rémi Verschelde
c5d9470c7c
Merge pull request #75765 from YuriSizov/editor-node-optimize-includes
...
Improve includes of `EditorNode` (and everything else)
2023-04-11 19:40:24 +02:00
kobewi
71011e0855
Adjust size of some dialogs
2023-04-10 17:04:53 +02:00
Yuri Sizov
4154039832
Improve includes of EditorNode (and everything else)
...
Also start organizing editor-specific GUI components
into a dedicated folder, `editor/gui`.
Also move `editor_file_server` next to the rest of debugger classes.
2023-04-07 18:59:49 +02:00
Yuri Sizov
632423f969
Improve selection handling in the project manager
...
Also clean up some unused methods and method names
2023-04-04 15:27:13 +02:00
Yuri Sizov
d4c3cc4146
Improve drawing and layout logic of the project list in the Project Manager
2023-03-16 12:36:27 +01:00
Yuri Sizov
aa47427cc7
Improve theming support in the Project Manager
2023-03-16 12:36:26 +01:00
Yuri Sizov
10420f91ba
Reorganize ProjectManager code to be more idiomatic
2023-03-16 12:36:26 +01:00
clayjohn
45a26ff292
Disallow creating a project in the Home or Documents folder
...
Also don't prompt users to delete the project folder for now.
This is a temporary fix to ensure that users do not delete their entire home folders by mistake
2023-03-15 16:38:30 -07:00
Haoyu Qiu
e03bfd6f7f
Fix "Convert Full Project" button not translated
...
Also fixes a typo in the CHANGELOG.
2023-03-02 16:19:30 +08:00