Commit Graph

39 Commits

Author SHA1 Message Date
Mikael Hermansson 12a3d85433 Fix newly imported files not having existing UID assigned 2026-03-31 15:58:02 +02:00
StarryWorm 9ffc7d9f99 Split CacheMode from ResourceFormatLoader 2026-03-27 07:16:20 -04:00
StarryWorm 4ae336740d Add missing resource_*.h includes
Add missing `resource_importer.h` includes
Add missing `resource_loader.h` includes
Add missing `resource_saver.h` includes
2026-03-27 07:03:39 -04: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
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
Rémi Verschelde a447ac95ec Move DisplayServer enums and typedefs to DisplayServerEnums
This will allow decoupling `display_server.h` from a number of headers in the
codebase which only require those enums and not all the DisplayServer API.
2026-03-03 12:44:02 +01:00
StarryWorm 357fa00a4a rm class_db.h from resource.h 2026-02-27 19:08:29 -05:00
Thaddeus Crews e380a41752 Style: Add class_db.h includes explicitly 2026-02-26 15:50:28 -06:00
Lukas Tenbrink c9249346c4 Change HashSet copy constructor from implicit to explicit. 2026-02-16 23:10:33 +01:00
Thaddeus Crews 1fbbd665c6 Revert "Rearrange project loading init"
This reverts commit f5c27569f0.
2026-02-11 08:30:48 -06:00
Thaddeus Crews 807ece13af Merge pull request #112887 from nikitalita/bind-editor-file-system-is-importing
Bind `EditorFileSystem::is_importing()`
2026-02-09 15:07:05 -06:00
Jesse f5c27569f0 Rearrange project loading init to fix #115618 2026-02-09 05:48:34 +00:00
Rémi Verschelde 429750f60b Merge pull request #115093 from Ivorforce/hashmap-explicit-copy
Change copy constructors of `HashMap` and `AHashMap` from implicit to explicit
2026-01-31 22:50:51 +01:00
Lukas Tenbrink 1825e89787 Change copy constructors of HashMap and AHashMap from implicit to explicit. 2026-01-21 13:01:23 +01:00
Luca 03b67fd697 Reworked EditorQuickOpenDialog to use UIDs internally and validate resource validity on init fixing issues when files are moved or removed. 2026-01-17 18:30:00 +01:00
Edgar 2c29a37840 Add clarifying comment explaining threads block file system scanning on web. 2025-12-28 21:35:21 -05:00
Edgar 7278190c71 Disable threaded scanning and importing on Web platform. 2025-12-28 21:29:16 -05:00
Edgar J San Martin 4532cbe006 Disable threaded imports when WorkerThreadPool has insufficient threads. 2025-12-28 01:11:15 -05:00
fish 08427e198d Propagate errors through EditorFileSystem::copy_file 2025-12-08 22:45:43 -08:00
nikitalita 03d6e70dba Bind EditorFileSystem::is_importing() 2025-11-17 12:03:19 -08:00
Isaac Clerencia 31610b058b Fix texture atlas import deadlock 2025-11-14 08:16:32 -05:00
Thaddeus Crews e172334ee4 Merge pull request #108236 from timothyqiu/simplify-while
EditorFileSystem: Simplify resource loading logic on startup
2025-11-04 16:32:47 -06:00
风青山 aed8f32e72 Don't assign a uid when copying resource file whose importer name
is `keep` or `skip`
2025-11-03 16:21:46 +08:00
kobewi afe87983e0 Fix file duplication making random UID 2025-10-24 23:03:52 +02:00
Thaddeus Crews fdf32d1b2a Merge pull request #108577 from YYF233333/global_class_list
Simplify `ScriptServer::get_global_class_list`
2025-09-30 11:19:10 -05:00
Yufeng Ying a50fc5acd8 Change ClassDB::get_class_list and related stuff. 2025-09-16 15:00:33 +08:00
Kamil Tokarski 6aae7d7345 Fix editor crash cause by EditorFileSystem::get_singleton access in theme initialization path 2025-09-04 18:11:55 +02:00
Thaddeus Crews c263b209ec Merge pull request #109735 from mihe/infinite-doc-regen
Fix/remove error about "Can't update documentation" when saving script
2025-08-19 10:29:41 -05:00
Mikael Hermansson c43425a209 Fix/remove error about "Can't update documentation" when saving script 2025-08-18 13:31:38 +02:00
h1v9 54619b3176 Strip empty deps when loading filesystem cache 2025-08-14 18:40:29 +03:00
Anish Mishra ae678b4085 Android: Misc changes 2025-08-03 13:09:10 +05:30
Thaddeus Crews 711ecb5921 Merge pull request #108816 from Rindbee/save-the-changes-before-duplicating-resource-files
Save the changes before duplicating resource files
2025-07-30 09:03:38 -05:00
风青山 cfb6dc4dc0 Save the changes before duplicating resource files
First synchronize the in-memory data to the file, and then copy the file.
This can avoid differences between the copied file and the source file.
2025-07-25 21:27:07 +08:00
Thaddeus Crews 052baba905 Merge pull request #107685 from KoBeWi/useless_documentation
Don't update script documentation when exporting
2025-07-24 14:23:43 -05:00
h1v9 33a199d1cb Calculate md5 of import files when cache is missing. Prevents "forced" reimport 2025-07-17 19:26:21 +03:00
kobewi 0a94243d60 Don't update script documentation when exporting 2025-07-16 18:16:39 +02:00
Haoyu Qiu 181f2a2d70 EditorFileSystem: Simplify resource loading logic on startup 2025-07-05 14:02:04 +08: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