summaryrefslogtreecommitdiffstats
path: root/editor/editor_file_system.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix sorting of files/dirs in dialogsA Thousand Ships2024-03-201-11/+7
| | | | Sorts leading `_` before other characters except `.`.
* [Import] Add "skip file" import option to skip (and exclude from export) ↵bruvzg2024-03-121-4/+4
| | | | importable formats, auto set it for the images used by bitmap font.
* Refactor how file cache entries are storedkobewi2024-03-081-14/+18
|
* EditorFileSystem: Add verbose print for file being (re)importedRémi Verschelde2024-02-281-0/+5
| | | | Also print the time it took for each file.
* Add const lvalue ref to editor/* container parametersMuller-Castro2024-02-261-2/+2
|
* Fix data race against EditorFileSystem.scanning_changes_doneWilson E. Alvarez2024-02-091-4/+4
|
* Add THREADS_ENABLED macro in order to compile Godot to run on the main threadAdam Scott2024-01-171-0/+8
|
* Update deferred calls to use Callableskobewi2024-01-091-1/+1
|
* Merge pull request #84445 from Rubonnek/add-const-references-clang-tidyRémi Verschelde2024-01-041-2/+2
|\ | | | | | | Add const references detected by clang-tidy
| * Add const references detected by clang-tidyWilson E. Alvarez2023-12-161-2/+2
| |
* | gltf: fix three bugs which prevented extracted textures from being refreshed.Lyuma2023-12-251-1/+7
| | | | | | | | | | | | 1. Extracted texture paths in `GLTFDocument::_parse_image_save_image` at the project root started with res:/// which broke cache invalidation 2. md5 hashes were not being written to generator_parameters for new imports, which led Godot to think the file was manually created. 3. `EditorFileSystem::reimport_append` must emit the `resources_reimported` signal in order for the resource cache to be updated.
* | Implement project-wide node groupsStanislav Labzyuk2023-12-191-0/+85
|/
* Prevent overriding file info of another file when reimport creates filesBartłomiej T. Listwon2023-12-081-0/+3
|
* Remove EditorFileDialog warning when skipping project directoriesRémi Verschelde2023-11-121-1/+3
| | | | | | | | We might need better UX to handle this in EditorFileDialog, showing the directories as greyed out with a tooltip, but for now this silences a warning that users have no control over. We keep the warning only in the initial project scan.
* Merge pull request #83081 from Rindbee/fix-wrong-splitRémi Verschelde2023-11-091-1/+2
|\ | | | | | | Fix `EditorFileSystemDirectory::get_file_deps()` may return wrong result
| * Fix `EditorFileSystemDirectory::get_file_deps()` may return wrong results风青山2023-10-101-1/+2
| | | | | | | | | | | | | | | | Limit the maxsplit to `8` to get complete `deps`. `deps` caches the return value of `ResourceLoader::get_dependencies()`, which is also separated by "::". "::" is quite popular as a splitter.
* | Implement glTF compat version system for files from older Godot versionsAaron Franke2023-11-031-0/+5
|/
* Remove I/O error popup when failing to load/unload extensionMikael Hermansson2023-10-061-6/+2
|
* Fix various typos with codespellRémi Verschelde2023-10-061-1/+1
| | | | Using 2.2.7.dev5+g2af65969.
* Merge pull request #78567 from NiskashY/masterYuri Sizov2023-07-121-1/+1
|\ | | | | | | Fix reimporting files with non lowercase name extension
| * Fix reimporting files with non lowercase name extensionNiskashY2023-07-121-1/+1
| |
* | C#: Fix command line exportingRedworkDE2023-07-071-0/+1
|/
* Fix filesystem cache split errorkobewi2023-06-161-1/+1
|
* Merge pull request #75798 from KoBeWi/let's_fix_this_hack_with_yet_another_hackRémi Verschelde2023-06-121-0/+1
|\ | | | | | | Make sure script cache is created after reimport
| * Make sure script cache is created after reimportkobewi2023-04-071-0/+1
| |
* | Avoid error spam on first opening of a not yet imported projectPedro J. Estébanez2023-05-201-0/+10
| |
* | Print a warning when a nested project is detectedkobewi2023-05-151-2/+3
| |
* | Fix wait for thread not startedSamuele Panzeri2023-04-271-1/+3
|/
* Exposing more project settings for documentationNinni Pipping2023-03-151-2/+1
|
* Merge pull request #71850 from WesleyElliott/fix-custom-node-exportYuri Sizov2023-02-181-1/+1
|\
| * Use path instead of file name when updating script classesWesley Elliott2023-01-221-1/+1
| | | | | | | | | | | | | | | | | | | | The _script_class_file_to_path contains a map of paths to classes, but when updating the script classes for new class names, the file name is used instead. This meant new classes weren't able to be used in exported variables until the project is reloaded (as the _script_class_file_to_path is initially set with the full path) Fixes #70718
* | Prevent recursive importing (hack)Juan Linietsky2023-02-131-3/+21
| | | | | | | | | | | | | | | | Prevents recursion when importing files due to the ill nature of EditorProgress. The progress dialog will have to be entirely rewritten after 4.0 is out due to it being a constant source of bugs. In the meantime, this fixes the problem. Fixes #53871. Supersedes #73159.
* | Emit reimport signal in reimport_file_with_custom_parametersSaracenOne2023-02-091-0/+5
| | | | | | | | | | method to fix resources not updating when reimported from the advanced import menu.
* | Use reimport_append api for importing embedded gltf imagesLyuma2023-02-061-30/+32
| | | | | | | | Co-authored-by: K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>
* | Merge pull request #72455 from reduz/allow-reimport-appendingRémi Verschelde2023-02-061-11/+25
|\ \ | | | | | | | | | Support reimport appending
| * | Support reimport appendingJuan Linietsky2023-02-011-11/+25
| | | | | | | | | | | | | | | | | | | | | * Add API: `EditorFileSystem::reimport_append(path)`, thread safe, what can be used from importers when they generate new files within the import process. * Added a `remap.gen_param` custom value to .import files, which can be used by importers to store data needed to generate this file again or not. This API is added to allow the GLTF2 importer to properly extract png files as textures.
* | | Always create global class list, even if emptyRémi Verschelde2023-01-311-1/+1
|/ / | | | | | | Fixes #72451.
* | Restore script class cache if removedJuan Linietsky2023-01-311-0/+5
| | | | | | | | | | | | I have no idea why anyone would do this, but this fixes it. Fixes #72154. Depends on #72444 being merged to function properly.
* | Merge pull request #71783 from Bartkk0/parse-check-deletedRémi Verschelde2023-01-221-0/+5
|\ \ | |/ |/| | | Check if file was removed when parsing documentation
| * Check if file was removed when parsing documentationBartkk2023-01-211-0/+5
| |
* | Support script global resource name in EditorFileSystemJuan Linietsky2023-01-211-2/+24
|/ | | | | | | | | | * Works for binary and text files. * Makes EditorQuickOpen work with custom resources again. * Information is cached and easily accessible. Properly fixes #66179. Supersedes #66215 and supersedes #62417 **WARNING**: This required breaking backwards binary compatibility (.res and .scn files). Files saved after this PR is merged will no longer open in any earlier versions of Godot.
* Further fixes to global script class parsingJuan Linietsky2023-01-191-7/+29
| | | | | | Bugs were introduced on first parse by #71628 This should fix everything remaining. No errors of any type were observed.
* Clean up EditorFileSystem script parsingJuan Linietsky2023-01-181-52/+65
| | | | | * Optimize only update modified/added/removed files. * Clean up documentation parsing.
* Merge pull request #70668 from KoBeWi/never_give_upRémi Verschelde2023-01-161-0/+2
|\ | | | | | | Retry loading addons after filesystem scan
| * Retry loading addons after filesystem scankobewi2022-12-281-0/+2
| |
* | Ability to change a resource UID from APIJuan Linietsky2023-01-091-4/+4
| | | | | | | | | | | | | | | | | | | | * Works for text, binary and imported resources * Allows better clean up of duplicate files. TODO (future PRs): * Use this API for assigning new UIDs to copied files. * Use this API for UID conflict on FS scanning (if more than one file has the same UID, the newer one(s) should get assigned a different UID).
* | One Copyright Update to rule them allRémi Verschelde2023-01-051-29/+29
|/ | | | | | | | | | | | | | | | | | | | As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
* Rename all gdnative occurences to gdextensionGilles Roudière2022-12-121-11/+11
| | | | | | | | | | | | | Non-exhaustive list of case-sensitive renames: GDExtension -> GDNative GDNATIVE -> GDEXTENSION gdextension -> gdnative ExtensionExtension ->Extension (for where there was GDNativeExtension) EXTENSION_EXTENSION ->EXTENSION (for where there was GDNATIVE_EXTENSION) gdnlib -> gdextension gdn_interface -> gde_interface gdni -> gde_interface
* Merge pull request #68324 from AThousandShips/group_import_uidRémi Verschelde2022-12-051-9/+48
|\ | | | | Fix group reimport bug
| * Fix group reimport bugNinni Pipping2022-11-271-9/+48
| |