summaryrefslogtreecommitdiffstats
path: root/editor/filesystem_dock.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix copyright headers referring to GodotSpartan3222024-10-271-2/+2
|
* Rebrand preambles to RedotSpartan3222024-10-131-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | (cherry picked from commit e8542b06acca3c1bdeee4b528411771f0819f084) Credits: Co-authored-by: Skogi <skogi.b@gmail.com> Co-authored-by: Spartan322 <Megacake1234@gmail.com> Co-authored-by: swashberry <swashdev@pm.me> Co-authored-by: Christoffer Sundbom <christoffer_karlsson@live.se> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: McDubh <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: radenthefolf <radenthefolf@gmail.com> Co-authored-by: John Knight <80524176+Tekisasu-JohnK@users.noreply.github.com> Co-authored-by: Adam Vondersaar <adam.vondersaar@uphold.com> Co-authored-by: decryptedchaos <nixgod@gmail.com> Co-authored-by: zaftnotameni <122100803+zaftnotameni@users.noreply.github.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: wesam <108880473+wesamdev@users.noreply.github.com> Co-authored-by: Mister Puma <MisterPuma80@gmail.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: SingleError <isaaconeoneone@gmail.com> Co-authored-by: Bioblaze Payne <BioblazePayne@gmail.com>
* Rebrand Godot 4.3 to RedotTrashguy2024-10-131-1/+1
|
* [Editor] Don't show popup when clicking empty in FavoritesA Thousand Ships2024-09-171-0/+5
| | | | (cherry picked from commit d2a8b330d881ca50fa238805dee9a1e4b71fb9b0)
* Fix huge tscn icon in FileSystem split mode using list viewGiganzo2024-09-161-1/+2
| | | | (cherry picked from commit 36c9d31a9e31525de05396fa775808e8ab7c2c79)
* Fix `EditorInterface.get_selected_paths()` working incorrectly when ↵Artemy Fedotov2024-09-161-1/+18
| | | | | | FileSystemDock is in split mode (cherry picked from commit b55e97cd852d3bc8b0dd101f932beb306ac63ae1)
* Merge pull request #92303 from Hilderin/fix-synchronization-global-class-nameRémi Verschelde2024-06-281-1/+1
|\ | | | | | | Fix synchronization of global class name
| * Fix synchronization of global class nameHilderin2024-06-251-1/+1
| |
* | Update import dock when select resource in resource paneljsjtxietian2024-06-241-0/+2
|/
* Merge pull request #93147 from Hilderin/fix-freeze-after-saveRémi Verschelde2024-06-211-33/+4
|\ | | | | | | Fix noticeable freeze after saving a scene
| * Fix Noticeable freeze after saving a scene #93104Hilderin2024-06-201-33/+4
| |
* | [Scene] Add `SceneStringNames::text/value_changed`A Thousand Ships2024-06-191-2/+2
| |
* | [Scene] Add `SceneStringNames::confirmed`A Thousand Ships2024-06-191-3/+3
|/
* Revert "Fix FileSystem dock won't show any file folders"Rémi Verschelde2024-06-111-15/+4
| | | | | | This reverts commit 72856d633a6be5c596d4a3231acab009828a2efe. Fixes #93022.
* Fix FileSystem dock won't show any file foldersHilderin2024-06-101-4/+15
|
* Fix Huge .tscn Icon and icon in background of File System panelHilderin2024-06-021-0/+3
|
* [Scene] Add `SceneStringNames::panel`A Thousand Ships2024-05-301-1/+1
|
* [Scene] Add `SceneStringNames::id_pressed`A Thousand Ships2024-05-301-5/+5
|
* Merge pull request #90570 from timothyqiu/at-lastRémi Verschelde2024-05-291-6/+6
|\ | | | | | | Rearrange "Open In" menu items of FileSystem dock
| * Rearrange Open In menu items of FileSystem dockHaoyu Qiu2024-04-131-6/+6
| |
* | SCons: Minor fixes/adjustments for web compilationThaddeus Crews2024-05-241-1/+1
| |
* | Fix Tree and FileSystemList edit popup double events and ESC behavior.bruvzg2024-05-171-1/+15
| |
* | [Scene] Add SceneStringNames::pressedA Thousand Ships2024-05-141-7/+7
| |
* | Use Core/Scene stringnames consistentlykobewi2024-05-131-4/+4
| |
* | Merge pull request #91471 from aaronp64/filesystemdock_previewsRémi Verschelde2024-05-111-1/+1
|\ \ | | | | | | | | | Fix `FileSystemDock` thumbnails sometimes not displaying
| * | Fix FileSystemDock thumbnails sometimes not displayingaaronp642024-05-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There were (at least) three cases where thumbnails would not display, if they were generated while the FileSystemDock was not visible: - current_path == "Favorites", due to p_path not starting with "Favorites" - current_path == "res://", due to current_path having last "/" trimmed for comparison - current_path pointing to a selected file instead of folder, since it no longer matches p_path's base directory This change removes the current_path and is_visible_in_tree checks when determining whether to update the file's icon. Fixes #90801 Fixes #91432
* | | Replace `find` with `contains/has` where applicableA Thousand Ships2024-05-081-3/+3
| | | | | | | | | | | | | | | | | | | | | * Replaces `find(...) != -1` with `contains` for `String` * Replaces `find(...) == -1` with `!contains` for `String` * Replaces `find(...) != -1` with `has` for containers * Replaces `find(...) == -1` with `!has` for containers
* | | Make handling of rename line-edit popups more robustPedro J. Estébanez2024-05-071-3/+1
| | |
* | | Merge pull request #90705 from AThousandShips/foreach_listRémi Verschelde2024-05-071-5/+5
|\ \ \ | | | | | | | | | | | | Reduce and prevent unnecessary random-access to `List`
| * | | Reduce and prevent unnecessary random-access to `List`A Thousand Ships2024-05-041-5/+5
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | Random-access access to `List` when iterating is `O(n^2)` (`O(n)` when accessing a single element) * Removed subscript operator, in favor of a more explicit `get` * Added conversion from `Iterator` to `ConstIterator` * Remade existing operations into other solutions when applicable
* / / [Editor] Don't open `AnimationLibrary` as a sceneA Thousand Ships2024-05-031-1/+3
|/ /
* | Remove code duplication for adding global script classkobewi2024-05-011-28/+1
| |
* | Merge pull request #77069 from ↵Rémi Verschelde2024-04-261-0/+1
|\ \ | | | | | | | | | | | | | | | KoBeWi/turning_tooltips_into_music_player_BECAUSE_WHY_NOT Add tooltip plugin for AudioStream
| * | Add tooltip plugin for AudioStreamkobewi2024-04-151-0/+1
| | |
* | | Merge pull request #91158 from Arnklit/show-in-filesystem-favoritesRémi Verschelde2024-04-261-1/+32
|\ \ \ | | | | | | | | | | | | Add show in filesystem option for file favorites
| * | | Add show in filesystem option for file favoritesKasper Frandsen2024-04-261-1/+32
| | |/ | |/|
* | | Merge pull request #88660 from MajorMcDoom/tokenized-file-searchRémi Verschelde2024-04-191-18/+31
|\ \ \ | | | | | | | | | | | | Add tokenized search support to Quick Open dialog and FileSystem filter
| * | | Added tokenized search support to Quick Open dialog and FileSystem filter.Zi Ye2024-04-171-18/+31
| | |/ | |/|
* | | Merge pull request #90829 from timothyqiu/remove-sub-colorRémi Verschelde2024-04-181-4/+13
|\ \ \ | | | | | | | | | | | | Fix folder color not cleared for removed subfolders
| * | | Fix folder color not cleared for removed subfoldersHaoyu Qiu2024-04-181-4/+13
| |/ /
* / / Fix folder colors not present in editor dir dialogMuller-Castro2024-04-161-6/+9
|/ /
* / Fix folder colors not saving after project.godot is modifed externallykobewi2024-04-121-0/+5
|/
* Add option to copy absolute path in file system dock popupChristian Feuz2024-04-091-0/+14
|
* Merge pull request #89803 from timothyqiu/xfce4-terminalRémi Verschelde2024-04-091-0/+2
|\ | | | | | | Add necessary flags when opening directory with xfce4-terminal
| * Add necessary flags when opening directory with xfce4-terminalHaoyu Qiu2024-03-231-0/+2
| |
* | Merge pull request #90186 from Maran23/error-when-rename-moveRémi Verschelde2024-04-061-6/+48
|\ \ | | | | | | | | | Fix errors when renaming/moving/deleting global scripts
| * | Fix errors when renaming/moving/deleting global scriptsMarius Hanl2024-04-051-6/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When renaming or moving global scripts, the following errors can appear: - Attempt to open script 'xxx' resulted in error 'File not found'. - Failed loading resource: xxx. Make sure resources have been imported by opening the project in the editor at least once. - Parser Error: Class 'xxx' hides a global script class. When deleting scripts, errors appear when opening the 'Create Node Dialog' as the script cache still contains the removed global scripts. The following errors can appear: - Attempt to open script 'xxx' resulted in error 'File not found'. - Failed loading resource: xxx. Make sure resources have been imported by opening the project in the editor at least once. editor/create_dialog.cpp:241 - Condition "scr.is_null()" is true. All this errors can be fixed by correctly handling the cases. They involves removing the old path and adding the new one (if not deleted) to the ScriptServer. This is somewhat similar if the file is moved or deleted outside Godot and detected by the file watcher, but more specialized for this particular usecase, since we know the old and the new path / correctly know what the user just did.
* | | Fix FileSystemDock behavior when dropping an item in the current folderAlexOtsuka2024-04-041-25/+39
|/ /
* | Merge pull request #89599 from timothyqiu/vegetateRémi Verschelde2024-03-231-0/+1
|\ \ | | | | | | Fix unexpected auto translation of editor `Tree` content
| * | Fix unexpected auto translation of Tree contentHaoyu Qiu2024-03-181-0/+1
| |/