Commit Graph

293 Commits

Author SHA1 Message Date
kobewi
0875523f6b Remove corresponding .uid file when removing file 2024-11-12 21:38:46 +01:00
Thaddeus Crews
2ed6d12652
Merge pull request #97363 from reduz/deterministic-gen-suberesources-id
Allow passing UID to importer
2024-11-11 14:18:30 -06:00
Juan
d57846087b
Universalize UID support in all resource types
Ensures all resource types support UIDs in a project.

This is required to fix:
* Scripts and many other resource types can't be referenced by UID and when refactored the references are lost.
* Path export properties can't use UID for unsupported types.
* Refactoring problems when files are moved outside the editor (this PR effectively fixes it).
* Editor properly refreshing paths if they changed externally while opened (as example, git update).
  This needs to be addressed in a subsequent PR, but this one effectively sets the prerequisites.

Resource types that do not support UID will get a .uid file appended to them (this includes .gd, .gdshader, .gdextension, etc. files).
2024-11-11 15:59:56 +01:00
Juan
fe34c45d2a
Allow passing UID to importer
This helps, for importers spitting out new resources to the res://
filesystem to actually hash them to generate deterministic UIDs.

This PR also fixes the determinism for translations.
2024-11-11 15:22:42 +01:00
Aaron Franke
0b7354dfa9
GLTF: Don't give up loading image if import fails 2024-11-04 19:28:18 -08:00
Nazarii
01d1f10845 Emit filesystem_changed only once per frame 2024-10-28 09:09:52 +02:00
Thaddeus Crews
6ad513b0e8
Merge pull request #97090 from KoBeWi/secret_cloning_research
Don't rescan filesystem when duplicating
2024-10-25 13:04:03 -05:00
Hilderin
fbd1643176 Fix lost of gdextension on editor startup.
Co-authored-by: NetroScript <noreply@enostrion.com>"
2024-10-20 18:39:31 -04:00
kobewi
7377ca8d7d Don't rescan filesystem when duplicating 2024-10-04 16:15:32 +02:00
ocean
0ad55e964f Fix GDScript docs not updating when modified externally 2024-10-01 20:06:28 -04:00
Rémi Verschelde
a83ea6b57d
Fix EditorFileSystem crash when fetching icons for unknown file types
Fixes crash reported in https://github.com/godotengine/godot/pull/97421#issuecomment-2376684690.
2024-09-26 16:01:23 +02:00
Rémi Verschelde
841061d50e
Merge pull request #97421 from SaNeOr/fix#97387
Fix GDExtension classes inheriting from Resource not using icons in FileSystem
2024-09-26 12:45:46 +02:00
Rémi Verschelde
ef7547384c
Merge pull request #95678 from Hilderin/fix-slow-load-on-large-project-v2
Fix slow editor load on large projects (v2)
2024-09-26 12:45:31 +02:00
Hilderin
21f7c8a25f Fix slow editor load on large projects (v2) 2024-09-25 17:36:39 -04:00
SaNeOr
e4cf4fcb2f fix GDExtension classes inheriting from Resource are not using icons in FileSystem 2024-09-25 04:09:09 +08:00
Rémi Verschelde
621cadcf65
Merge pull request #97168 from Hilderin/fix-reloading-scripts-already-in-use
Some checks are pending
🔗 GHA / 📊 Static checks (push) Waiting to run
🔗 GHA / 🤖 Android (push) Blocked by required conditions
🔗 GHA / 🍏 iOS (push) Blocked by required conditions
🔗 GHA / 🐧 Linux (push) Blocked by required conditions
🔗 GHA / 🍎 macOS (push) Blocked by required conditions
🔗 GHA / 🏁 Windows (push) Blocked by required conditions
🔗 GHA / 🌐 Web (push) Blocked by required conditions
🔗 GHA / 🪲 Godot CPP (push) Blocked by required conditions
Fix reloading scripts already in use
2024-09-20 21:35:08 +02:00
Hilderin
9638220473 Fix reloading scripts already in use 2024-09-20 12:12:24 -04:00
Rémi Verschelde
ff2b5a5422
Merge pull request #97075 from KoBeWi/better_new_folder_(not_to_be_confused_with_new_better_folder)
Rework creating new folders in editor
2024-09-19 17:13:39 +02:00
Rémi Verschelde
8ba3c2aeb4
Merge pull request #92972 from ogapo/pr/warn-on-duplicate-uids
Editor: Warn on UID duplicates
2024-09-18 17:40:49 +02:00
kobewi
ad99c79472 Rework creating new folders in editor 2024-09-17 12:40:25 +02:00
Rémi Verschelde
9fd431f078
Merge pull request #96002 from Hilderin/fix-resource-script-reload-external-editor
Fix script properties reload from external editor
2024-09-16 13:34:30 +02:00
Rémi Verschelde
5b2eececfd
Merge pull request #93372 from KoBeWi/instant_folders,_like_instant_noodles,_but_for_storing_files
Don't rescan filesystem when adding new directory
2024-09-16 13:34:09 +02:00
Hilderin
46edd6df55 Fix script properties reload from external editor 2024-09-14 15:07:53 -04:00
bruvzg
22b19c433f
[FileSystem Dock] Add option to show some unsupported files in the dock. 2024-09-05 18:29:29 +03:00
Rémi Verschelde
df44d6a2e7
Merge pull request #96551 from DCTewi/fix-editor-progress-error
Fix ProcessDialog errors appeared after rebuilding .NET project
2024-09-04 17:12:13 +02:00
Rémi Verschelde
8d120a5d08
Merge pull request #95965 from Hilderin/update-script-documentation-file-remove-on-startup
Update script documentation removed files on startup
2024-09-04 17:11:54 +02:00
Hilderin
1c3bc2f980 Update script documentation removed files on startup 2024-09-04 06:12:22 -04:00
DCTewi
5bfd8db7b7
Fix ProcessDialog errors appeared after rebuilding .NET project 2024-09-04 14:26:48 +08:00
Rémi Verschelde
866099684c
Merge pull request #92667 from Hilderin/fix-addon-requires-editor-restart
Fix Addon requires editor restart to become functional
2024-09-03 11:42:52 +02:00
Hilderin
7dd235905e Fix Addon requires editor restart to become functional 2024-09-02 16:54:45 -04:00
Rémi Verschelde
909629d9f9
Merge pull request #96166 from AThousandShips/more_lock_raii
Use `MutexLock` in more places
2024-08-30 09:59:19 +02:00
A Thousand Ships
e33fdb4296
Use MutexLock in more places 2024-08-29 14:12:59 +02:00
Hilderin
ef6f873938 Fix editor needs restart after adding GDExtensions 2024-08-29 06:15:32 -04:00
Hilderin
ce42d9dcfe Fix slow importation when window is unfocused 2024-08-27 19:57:38 -04:00
Rémi Verschelde
7c02e067cc
Merge pull request #93611 from KoBeWi/path_rush
Optimize `get_path()` in EditorFileSystemDirectory
2024-08-28 00:11:16 +02:00
Rémi Verschelde
b78da13e2a
Merge pull request #93064 from Hilderin/fix-fileSystem-dock-wont-show-any-file-folders
Fix FileSystem dock won't show any file folders (v2)
2024-08-26 22:45:04 +02:00
Rémi Verschelde
04f6321ecc
Merge pull request #91166 from raulsntos/gdextension/loader
GDExtension: Implement `GDExtensionLoader` concept
2024-08-26 10:51:21 +02:00
Raul Santos
4dd6e8eca5
GDExtension: Implement GDExtensionLoader concept
- Implements the concept of GDExtension loaders that can be used to customize how GDExtensions are loaded and initialized.
- Moves the parsing of `.gdextension` config files to the new `GDExtensionLibraryLoader`.
- `GDExtensionManager` is now meant to be the main way to load/unload extensions and can optionally take a `GDExtensionLoader`.
- `EditorFileSystem` avoids unloading extensions if the file still exists, this should prevent unloading extensions that are outside the user project.
2024-08-22 05:29:11 +02:00
Hilderin
1b0c5cbc01 Fix FileSystem dock won't show any file folders (v2) 2024-08-20 21:23:13 -04:00
Hilderin
b1c97313e0 Fix uid:// Paths Fail to Load at Editor Startup 2024-08-17 07:19:08 -04:00
Rémi Verschelde
58020c8e0d
Merge pull request #94854 from ianmccleary/custom-resource-icon-fix
Fix custom resources using incorrect icons
2024-08-16 14:32:38 +02:00
Hilderin
a0cc8c5c3b Fix FileSystem not updated on file deletion 2024-08-14 18:24:46 -04:00
Ian McCleary
140f9dc3e7 Fix custom resources using incorrect icons 2024-08-14 12:18:01 -05:00
Hilderin
1ed723bd19 Fix global class cache file not present when no class name 2024-07-31 16:57:25 -04:00
Rémi Verschelde
5914023be9
Fix reimporting textures after changing import project settings
Fixes #94882.
2024-07-31 13:48:42 +02:00
Rémi Verschelde
7acb61d346
Android Editor: Disable file reimport when .import changes
This is disabling the logic added in #84974 which caused #94416.
That issue still needs to be debugged further, but this works around
the regression and should have minimal usability impact on Android.
2024-07-24 12:07:59 +02:00
kobewi
8f3d66eef1 Increase threshold for displaying scene group update progress 2024-07-21 19:45:09 +02:00
Rémi Verschelde
50eee00180
Merge pull request #94093 from Yahkub-R/94056-fix
Fix instanced .blend/GLTF scenes lose all children after update until .tscn is reopened
2024-07-19 17:31:39 +02:00
Yahkub-R
66822a8948 Fix instanced .blend/GLTF scenes lose all children after update until .tscn is reopened
Co-Authored-By: Tomek <kobewi4e@gmail.com>
Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-Authored-By: Hilderin <81109165+Hilderin@users.noreply.github.com>
2024-07-19 08:51:23 -04:00
Rémi Verschelde
4d97269e11
Merge pull request #94357 from KoBeWi/your_file_is_broken._just_saying
Don't attempt to re-import broken files if they didn't change
2024-07-17 15:45:07 +02:00