summaryrefslogtreecommitdiffstats
path: root/editor/editor_file_dialog.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge pull request #36699 from dreamsComeTrue/fix-extension-file-dialogRémi Verschelde2020-03-041-1/+1
|\ \ | | | | | | Take correct part of extension with File Dialog
| * | Take correct part of extension with File DialogDominik 'dreamsComeTrue' Jasiński2020-03-011-1/+1
| |/ | | | | | | Fixes #36697
* / Double click on a folder didn't open it (editor)Gil Arasa Verge2020-03-031-0/+1
|/ | | | | | | Same behavior as #36684. Removed by mistake in #36426. Fixes #36757.
* Signals: Port connect calls to use callable_mpRémi Verschelde2020-02-281-59/+31
| | | | | | | | | Remove now unnecessary bindings of signal callbacks in the public API. There might be some false positives that need rebinding if they were meant to be public. No regular expressions were harmed in the making of this commit. (Nah, just kidding.)
* Reworked signal connection system, added support for Callable and Signal ↵Juan Linietsky2020-02-201-31/+31
| | | | objects and made them default.
* PoolVector is gone, replaced by VectorJuan Linietsky2020-02-181-2/+2
| | | | | Typed `PoolTypeArray` types are now renamed `PackedTypeArray` and are sugar for `Vector<Type>`.
* Texture refactorJuan Linietsky2020-02-111-11/+11
| | | | | | | | -Texture renamed to Texture2D -TextureLayered as base now inherits 2Darray, cubemap and cubemap array -Removed all references to flags in textures (they will go in the shader) -Texture3D gone for now (will come back later done properly) -Create base rasterizer for RenderDevice, RasterizerRD
* Update copyright statements to 2020Rémi Verschelde2020-01-011-2/+2
| | | | | | | | | | | 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.
* Fixed issues with using a relative path in the export window.Catchawink2019-12-161-0/+2
| | | | Before this fix, opening relative export paths inside of an EditorFileDialog was not possible. This was fixed by modifying String::path_to_file() to save relative paths in EditorExportPreset::set_export_path() more appropriately and changing EditorFileDialog::set_current_dir() to open relative paths.
* Add spaces after commas and strip extra ones in *FileDialog filter menuMichael Alexsander2019-12-061-2/+2
|
* Remove extra spaces from parenthesis in *FileDialog's filter menuMichael Alexsander2019-12-061-3/+3
|
* Merge pull request #33091 from MCrafterzz/fix10567Rémi Verschelde2019-10-291-6/+12
|\ | | | | Improved project creation UX
| * Improved UX of selecting directories in (Editor)FileDialog by hiding unused ↵MCrafterzz2019-10-291-6/+12
| | | | | | | | gui elements and moving the drive selection
* | Scroll back to the top after opening a directory in FileDialogHugo Locurcio2019-10-241-0/+3
|/ | | | | | This also changes the behavior in EditorFileDialog. This closes #26041.
* Create new folder from save dialog now update filesystem dock.dankan18902019-09-261-1/+2
| | | | Fix #32167.
* Rename FileDialog's folder icon custom color to `folder_icon_modulate`Hugo Locurcio2019-08-211-3/+3
| | | | | | | | The custom color introduced in be8d569744e4eed9acb313d355d96e6989e92087 had the same name as the "folder" icon, which could cause conflicts in the generated documentation. The new name is also more self-explanatory.
* Use a different color for folder icons in file dialogsHugo Locurcio2019-08-201-0/+6
| | | | | | | | | This makes them easier to distinguish from files for quick visual grepping. This can also be used in projects by setting the FileDialog "folder" color. The default value (`Color(1, 1, 1)`) has no visual impact, for compatibility with existing projects.
* Fix filter crash in EditorFileDialog for MeshLib/TileSet conversionChaosus2019-07-291-1/+6
|
* Small adjustments to tooltips in '(Editor)FileDialog'Michael Alexsander Silva Dias2019-07-261-4/+4
|
* DirAccess: Drop compat get_next(bool *is_dir) which was hiddenRémi Verschelde2019-07-251-7/+4
| | | | | | | | | Fixes this warning: ``` ./core/os/dir_access.h:74:17: warning: 'virtual String DirAccess::get_next(bool*)' was hidden [-Woverloaded-virtual] ``` Part of #30790.
* Auto-change file extension in EditorFileDialog when filter changesChaosus2019-06-281-1/+14
|
* Merge pull request #29644 from YeldhamDev/editor_file_recent_reselectRémi Verschelde2019-06-131-4/+8
|\ | | | | Make possible to reselect an item in the "Recent" list in the EditorFileDialog
| * Make possible to reselect an item in the "Recent" list in the EditorFileDialogMichael Alexsander Silva Dias2019-06-091-4/+8
| |
* | Merge pull request #29638 from YeldhamDev/editor_file_hidden_toggleRémi Verschelde2019-06-131-12/+20
|\ \ | | | | | | Add button for toggling hidden files in EditorFileDialog
| * | Add button for toggling hidden files in EditorFileDialogMichael Alexsander Silva Dias2019-06-101-12/+20
| |/
* / Apply a better fix for the EditorFileDialog crash on favoriteMichael Alexsander Silva Dias2019-06-091-10/+2
|/
* Fix crash when selecting favorate directory on EditorFileDialogvolzhs2019-06-101-1/+8
| | | | | | | The problem was that favorite tool button kept to change pressed and unpressed state with toggled event. This is a quick fix for crash. EditorFileDialog might need to be refactor later.
* Remove some redundant linesJames Buck2019-05-291-6/+1
|
* Fixes to make exporting more responsive.Juan Linietsky2019-04-241-5/+5
| | | | | | -Process and drop input in step functions. -Hide editor file dialog right after pressing ok -Use actual editor file dialogs for project export.
* Small tooltip changes to filesystem-related UI componentes in editorMichael Alexsander Silva Dias2019-03-271-1/+1
|
* Fix "Favorite" button not being toggled when navigating to a faved folder ↵Michael Alexsander Silva Dias2019-03-071-1/+1
| | | | manually
* Fix general issues with filesystem-related UI components in the editorMichael Alexsander Silva Dias2019-03-051-6/+13
|
* Fix preview in file dialogPaul Trojahn2019-03-021-3/+2
| | | | | | | | If the preview is already cached, queue_ressource_preview calls _thumbnail_done immediately, so preview_waiting is never set to false again. The progress wheel isn't rendered, because the WaitPreview icons don't exist. This should probably be Progress. Fixes #25749
* Update copyright statements to 2019Rémi Verschelde2019-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Change EditorLineEditFileChooser to use the "Folder" iconMichael Alexsander Silva Dias2018-12-131-1/+6
|
* Make thumbnail cache less tasking on the message queueBojidar Marinov2018-12-061-2/+3
| | | | Fixes #23567
* Small capitalization fixes across the editorMichael Alexsander Silva Dias2018-10-261-2/+2
|
* Fixes favorites not working in the open dialoggroud2018-10-241-11/+14
|
* Remove redundant "== false" codeAaron Franke2018-10-061-1/+1
| | | | | | Some of this code has been re-organized. f
* Fix warnings about unhandled enum value in switch [-Wswitch]Rémi Verschelde2018-09-271-0/+9
| | | | | | | | | | | Fixes GCC 5 warnings of the form: core/io/http_client.cpp:288:9: warning: enumeration value 'STATUS_SSL_HANDSHAKE_ERROR' not handled in switch [-Wswitch] core/io/marshalls.cpp:806:9: warning: enumeration value 'AABB' not handled in switch [-Wswitch] Those can be trivial cases where adding a default fallback is the solution, or more complex issues/hidden bugs where missed values are actually meant to be handled.
* Make EditorFileDialog be able to pick a folder when entering itMichael Alexsander Silva Dias2018-09-211-2/+14
|
* Fixes favorites not updating and rename favorite_dirs to favoritesgroud2018-09-181-8/+8
|
* Add thumnails to the tree viewgroud2018-09-141-2/+2
|
* Make core/ includes absolute, remove subfolders from include pathRémi Verschelde2018-09-121-4/+4
| | | | | | 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.
* Show in File Manager ClarificationIvan Vodopiviz2018-08-141-2/+4
| | | | Changed the context menu 'Show in File Manager' action description to better reflect actual behavior. Fixes #20897
* Reduce unnecessary COW on Vector by make writing explicitHein-Pieter van Braam2018-07-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | This commit makes operator[] on Vector const and adds a write proxy to it. From now on writes to Vectors need to happen through the .write proxy. So for instance: Vector<int> vec; vec.push_back(10); std::cout << vec[0] << std::endl; vec.write[0] = 20; Failing to use the .write proxy will cause a compilation error. In addition COWable datatypes can now embed a CowData pointer to their data. This means that String, CharString, and VMap no longer use or derive from Vector. _ALWAYS_INLINE_ and _FORCE_INLINE_ are now equivalent for debug and non-debug builds. This is a lot faster for Vector in the editor and while running tests. The reason why this difference used to exist is because force-inlined methods used to give a bad debugging experience. After extensive testing with modern compilers this is no longer the case.
* Merge pull request #17059 from Jason0214/BugFix_favorite_updatingRémi Verschelde2018-05-021-0/+1
|\ | | | | Editor: update favorite dirs when dir got deleted
| * remove favorited dirs if original dir deletedJason02142018-05-021-0/+1
| |
* | Change ".." punctuation for "..." in editor strings (#16507)Hugo Locurcio2018-04-221-1/+1
|/
* Icons updateDaniel J. Ramirez2018-02-211-1/+1
| | | | includes new enum, MeshInstance2D, Skeleton2D, Cut, Copy and Paste icons.