Commit Graph

467 Commits

Author SHA1 Message Date
ee79386f7b [Scene] Add SceneStringNames::pressed 2024-05-14 15:51:28 +02:00
413c11357d Use Core/Scene stringnames consistently 2024-05-13 23:41:07 +02:00
4324d01c8e Allow loading custom ProjectSettings instance 2024-04-26 11:34:37 +02:00
a00527e415 Fix folder scan replacing project list 2024-04-18 13:03:21 +02:00
49e69fabba Add automatic checking for engine updates 2024-04-15 15:08:27 +02:00
225761868a [macOS] Use "expand_to_title" for the project manager. 2024-03-24 00:23:16 +02:00
2130f1121a Automatically create folder in project manager create/import/install 2024-03-08 12:27:50 -06:00
67e9ccdbc4 Display the build date in the editor and when starting the engine
This can be used to quickly see how recent a development build is,
without having to look up the commit date manually.
When juggling around with various builds (e.g. for benchmarking),
this can also be used to ensure that you're actually running the
binary you intended to run.

The date stored is the date of the Git commit that is built, not
the current date at the time of building the binary. This ensures
binaries can remain reproducible.

The version timestamp can be accessed using the `timestamp` key
of the `Engine.get_version_info()` return value.
2024-02-27 20:39:17 +01:00
684752e75b Replace error checks against size with is_empty 2024-02-09 12:50:15 +01:00
f923b58f88 Correctly handle failures to open a project 2024-01-30 17:52:31 +01:00
28e8a4c0ee Replace empty list dialog with an integrated panel 2024-01-30 17:52:25 +01:00
068c0d2699 Implement a quick settings dialog for the project manager
Currently it allows to adjust language, theme preset,
UI scaling, and network mode.
Project manager has been updated to support
dynamic theme updates.
2024-01-30 17:52:19 +01:00
4d97c33503 Add a network mode setting to bring the editor offline
This PR also adds default font styles for RichTextLabels
in the editor, and improves the introduction dialog
when you don't have any local projects available.

The offline mode is implemented in the asset library
plugin, alongside some code improvements.
2024-01-30 17:52:08 +01:00
bac037b1e0 Improve the project manager UI 2024-01-30 17:52:01 +01:00
15369fdb1d Remove unnecessary this-> expressions 2024-01-29 09:59:18 +01:00
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
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
0e8f90f4c8 Update deferred calls to use Callables 2024-01-09 16:11:47 +01:00
0a2ddaa6bd Fix incorrect check on importing project 2024-01-07 00:52:16 +01:00
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
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
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
3d4b33df33 Optimize scanning routines in the project manager 2023-12-20 13:16:46 +01:00
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
a3cb1b096f Add const references detected by clang-tidy 2023-12-16 13:36:44 -05:00
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
b8d7a43f73 Fix project name being overwrite everytime show_dialog is called 2023-11-21 19:50:01 +08:00
932174fedf [Editor] Add option to override editor UI layout direction. 2023-11-17 14:56:45 +02:00
215e036600 Add bulk change guards to successive theme overrides in Editor and GUI 2023-10-19 18:14:14 +02:00
582ed157b5 Fix StringName leaks in GDExtension, core, and editor themes 2023-10-18 17:36:20 +02:00
0c584ddde1 Handle "Enter" when the search box is focused 2023-10-13 08:54:35 +02:00
f18aa00e85 Replace ERR_FAIL_COND with ERR_FAIL_NULL where applicable 2023-10-08 17:23:33 +02:00
6afadbaa9f Replace Ctrl in editor shortcuts with Cmd or Ctrl depending on platform 2023-09-19 10:29:07 +02:00
6de34fde27 Add EditorStringNames singleton 2023-09-03 19:58:18 +02:00
4b8163586b Streamline the project import workflow 2023-08-29 09:50:03 +02:00
40eeeb9191 Project manager button rearrangement 2023-07-25 20:58:14 +04:00
7e21eb7e00 Extract and reorganize texture resource classes 2023-07-14 20:04:21 +02:00
95ccbdea4b Improve text in popup warning, remove "upgrade or downgrade" text 2023-07-10 11:52:48 -05:00
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
8a06ec979e Change explicit 'Godot 4.0' references to 'Godot 4'
Fixes #79276.
2023-07-10 13:08:11 +02:00
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
3b8a81d361 Improve user-friendliness of project version mismatch message 2023-07-06 19:27:48 -05:00
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
d667402461 Sort project tags before saving 2023-06-27 18:22:33 -05:00
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
fade92e4a8 Fix heap-use-after-free when editing project tags 2023-06-09 18:34:07 +08:00
59f60dc4e5 Disable auto translate for some controls in Project Manager 2023-06-09 18:18:53 +08:00
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
e767ff5695 Add project tags 2023-05-30 00:53:02 +02:00
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