summaryrefslogtreecommitdiff
path: root/editor/editor_file_system.cpp
AgeCommit message (Collapse)Author
2020-01-01Update copyright statements to 2020Rémi Verschelde
Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
2019-10-31Prevent crash when we can't write to editor cache or config pathRémi Verschelde
This can happen if users somehow got wrong user permissions assigned to their Godot cache, config or data paths (e.g. `~/.config/godot`). The error messages should give them a hint as to what the issue may be. Fixes #33199. There may be other situations that still lead to a crash, we need to review all uses of `FileAccess::open` with `FileAccess::WRITE` mode to ensure that proper pointer validation is done.
2019-10-02Revert "Fix plugin script classes defined even if inactive."Rémi Verschelde
2019-09-30Merge pull request #32434 from willnationsdev/script-class-no-pluginsRémi Verschelde
Fix plugin script classes defined even if inactive.
2019-09-30Fix plugin script classes defined even if inactive.willnationsdev
2019-09-25Added some obvious errors explanationsqarmin
2019-08-17Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in 'core/' and 'editor/'Braden Bodily
Condensed some if and ERR statements. Added dots to end of error messages Couldn't figure out EXPLAINC. These files gave me trouble: core/error_macros.h, core/io/file_access_buffered_fa.h (where is it?), core/os/memory.cpp, drivers/png/png_driver_common.cpp, drivers/xaudio2/audio_driver_xaudio2.cpp (where is it?)
2019-07-25DirAccess: Drop compat get_next(bool *is_dir) which was hiddenRémi Verschelde
Fixes this warning: ``` ./core/os/dir_access.h:74:17: warning: 'virtual String DirAccess::get_next(bool*)' was hidden [-Woverloaded-virtual] ``` Part of #30790.
2019-07-01Merge pull request #29815 from NilsIrl/plus_file_1Rémi Verschelde
Replace ` + "/" + ` with `String::file_add()`
2019-06-26Some code changed with Clang-Tidyqarmin
2019-06-23Replace ` + "/" + ` with `String::file_add()`Nils ANDRÉ-CHANG
2019-05-24fix file system not refresh on exFATXiaoLongHan
2019-05-19Fix typos with codespellRémi Verschelde
Using codespell 1.15.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang curvelinear doubleclick leapyear lod merchantibility nd numer ois ony que seeked synching te uint unselect webp EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ```
2019-04-19Added ability for multiple images to be imported as an atlasJuan Linietsky
This adds support for groups in the import system, which point to a single file. Add property hint for saving files in file field
2019-02-27Fixed issue where descriptor is left hanging, which causes file locked on ↵Juan Linietsky
Windows, closes #26342
2019-02-26-Properly handle missing ETC support on exportJuan Linietsky
-Added ability for resource importers to save metadata -Added ability for resource importers to validate depending on project settings
2019-02-20Add -Wshadow=local to warnings and fix reported issues.marxin
Fixes #25316.
2019-02-12Core: Ensure classes match their header filenameRémi Verschelde
Also drop some unused files. Renamed: - `core/dvector.h` -> `pool_vector.h` - `core/io/resource_import.h` -> `resource_importer.h` - `core/sort.h` -> `sort_array.h` - `core/string_db.h` -> `string_name.h` Dropped: - `core/allocators.h` - `core/os/shell.h` - `core/variant_construct_string.cpp`
2019-01-26Fix code style issuesRémi Verschelde
2019-01-21Add function to obtain filesystem type from DirAccess.Juan Linietsky
Change EditorFileSystem to not use directory modification times on FAT32, fixes #20946
2019-01-01Update copyright statements to 2019Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-12-15Added basic support for custom resource savers and loadersMarc Gilleron
2018-11-20Reworked how non-imported resources are reloaded on change, fixes #19852Juan Linietsky
2018-10-29Moved folding outside the resource files, now saved outside the project.Juan Linietsky
2018-10-05Fixes to baker, restored xatlas and fixed bake options.Juan Linietsky
2018-09-19Fix EditorSettings saving on draw callswillnationsdev
2018-09-14Refactor editor icon retrievalwillnationsdev
2018-09-13Merge pull request #21540 from YeldhamDev/image_reimp_error_fixRémi Verschelde
Fix error when reimporting an Image resource
2018-09-13Merge pull request #21982 from luzpaz/misc-typosRémi Verschelde
Misc. typos
2018-09-12Misc. typosluz.paz
Found via `codespell -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"`
2018-09-12Make core/ includes absolute, remove subfolders from include pathRémi Verschelde
This allows more consistency in the manner we include core headers, where previously there would be a mix of absolute, relative and include path-dependent includes.
2018-09-07Fix error when reimporting an Image resourceMichael Alexsander Silva Dias
2018-08-14Add custom icons to script classes.Will Nations
2018-08-08Add toggle for favorites in create_root_dialog.willnationsdev
2018-07-15Global class names (and GDScript support for it)Juan Linietsky
2018-03-14Merge pull request #17420 from marcelofg55/fscache_err_checksRémi Verschelde
Added error checks for fscache saving
2018-03-13Added error checks for fscache savingMarcelo Fernandez
2018-03-13Merge pull request #17138 from simedis/import_md5Rémi Verschelde
Make md5's not be in the same file as the import settings
2018-03-10Update preview on filesystem changeShyRed
Check and recreate a file's preview, if it has changes to it in the filesystem.
2018-03-01Moves the md5sum's from the <filename>.import file into .import/<filename>.md5Geoffrey
Saves asset md5sum's in a file that doesn't contain data that needs to be VC'd Now saves the md5s to a different file (.import.md5) Now reads the md5's from a separate file Now uses a file in the .import folder to store md5s
2018-01-05Make sure .import folder exists before importing, in case user deleted it ↵Juan Linietsky
manually. Fixes #15315
2018-01-05Add missing copyright headers and fix formattingRémi Verschelde
Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2017-12-27Reimport now checks source path changes and imported files and their md5, ↵Juan Linietsky
fixes #14728
2017-12-05Add context menu to editor file dialogs.Ray Koopa
2017-11-24Add a bit space around the .import [deps] tag to make it more readable.Juan Linietsky
2017-11-24Changed reimport logic to also check md5 before reimporting, fixes #13135Juan Linietsky
Has the nice side effect that you can share your .import folder or rename your project and godot wont reimport stuff.
2017-11-17EditorSettings: Rename settings_path to settings_dirRémi Verschelde
Also to prepare for upcoming refactoring for XDG support.
2017-11-15Make sure scan happens after all nodes enter scene (including plugins), ↵Juan Linietsky
fixes #9286
2017-11-12Update meshes when reimporting,Daniel J. Ramirez
Save scene preview even when not doing save and play.