summaryrefslogtreecommitdiff
path: root/scene/gui/file_dialog.cpp
AgeCommit message (Collapse)Author
2020-02-20Reworked signal connection system, added support for Callable and Signal ↵Juan Linietsky
objects and made them default.
2020-02-18PoolVector is gone, replaced by VectorJuan Linietsky
Typed `PoolTypeArray` types are now renamed `PackedTypeArray` and are sugar for `Vector<Type>`.
2020-02-11Texture refactorJuan Linietsky
-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
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-12-06Add spaces after commas and strip extra ones in *FileDialog filter menuMichael Alexsander
2019-12-06Remove extra spaces from parenthesis in *FileDialog's filter menuMichael Alexsander
2019-10-29Merge pull request #33091 from MCrafterzz/fix10567Rémi Verschelde
Improved project creation UX
2019-10-29Improved UX of selecting directories in (Editor)FileDialog by hiding unused ↵MCrafterzz
gui elements and moving the drive selection
2019-10-24Scroll back to the top after opening a directory in FileDialogHugo Locurcio
This also changes the behavior in EditorFileDialog. This closes #26041.
2019-10-14Fix color of FileDialog iconsYuri Roubinsky
2019-10-05Fix crash in Control functionsqarmin
2019-08-24Tree: fix and expose icon modulationmerumelu
2019-08-21Rename FileDialog's folder icon custom color to `folder_icon_modulate`Hugo Locurcio
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.
2019-08-20Use a different color for folder icons in file dialogsHugo Locurcio
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.
2019-07-26Small adjustments to tooltips in '(Editor)FileDialog'Michael Alexsander Silva Dias
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-06-28Auto-change file extension in EditorFileDialog when filter changesChaosus
2019-06-26Some code changed with Clang-Tidyqarmin
2019-06-10Add toggle for hidden file visibility in FileDialogMichael Alexsander Silva Dias
2019-05-29Remove some redundant linesJames Buck
2019-04-09Style: Apply new changes from clang-format 8.0Rémi Verschelde
It seems to stay compatible with formatting done by clang-format 6.0 and 7.0, so contributors can keep using those versions for now (they will not undo those changes).
2019-03-05Fix general issues with filesystem-related UI components in the editorMichael Alexsander Silva Dias
2019-01-01Update copyright statements to 2019Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-12-14Prevent FileDialog from stealing focus when setting current file in editorKanabenki
2018-09-27Fix warnings about unhandled enum value in switch [-Wswitch]Rémi Verschelde
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.
2018-09-21Make EditorFileDialog be able to pick a folder when entering itMichael Alexsander Silva Dias
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-08-25Merge pull request #21231 from AlexHolly/filedialog-fix-multi-selectionRémi Verschelde
Check all selected items on OPEN_MANY/OPEN_FILES in FileDialog, also …
2018-08-20Check all selected items on OPEN_MANY/OPEN_FILES in FileDialog, also changed ↵Alexander Holland
confusing naming.
2018-08-18Fixed !is_inside_tree() errors in file dialogDualMatrix
Fixed !is_inside_tree() errors appearing when current_file has a . in it.
2018-06-06expose lineeditAlexander Holland
2018-02-21Fixed disappearing text on filedialog buttonsMax
2018-02-20Fixed "Open" button being enabled when nothing is selected in a FileDialog ↵Michael Alexsander Silva Dias
while in "Open folder" mode.
2018-01-12Bind many more properties to scriptsBojidar Marinov
Notable potentially breaking changes: - PROPERTY_USAGE_NOEDITOR is now PROPERTY_USAGE_STORAGE | PROPERTY_USAGE_NETWORK, without PROPERTY_USAGE_INTERNAL - Some properties were renamed, and sometimes even shadowed by new ones - New getter methods (some virtual) were added
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-09Merge pull request #13847 from YeldhamDev/filedialog_titleRémi Verschelde
Added "mode_overrides_title" property to FileDialog
2017-12-03Added "mode_overrides_title" property to FileDialog.Michael Alexsander Silva Dias
2017-12-02Fixed FileDialog's "parent folder" button not having a texture.Michael Alexsander Silva Dias
2017-11-27Some improvements to file/dir open/save dialogs:Dmitry Koteroff
1. Removed "..", instead you now will see "Select Current Folder" and "Select this Folder" buttons. 2. Added "go to parent folder" (^) button to Save a File dialog. 3. Tree.cpp: "nothing_selected" signal has been re-made (previous implementation, merged in #13308, wasn't optimal in context of performance) 4. Fixed issue in Project Export dialog: MODE_SAVE_FILE wasn't set when you click "Export". 5. Now you can deselect items by clicking on empty space in Open a Directory dialog.
2017-11-24A few small adjustments to file dialogs:Dmitry Koteroff
a) Added Backspace key support for Tree-based file dialog. b) Fixed issue inability to select a folder in project manager (always previous folder was selected instead). c) Open Directory mode: changed "Open" to "Select Current Folder" d) Block "Open" button when inappropriate content is selected (for example, file when in open folder mode, or folder when in open files mode)
2017-11-21Remove the "." from file manage dialog (open scene, open file, ...)Dmitry Koteroff
Also removed the "." from game control's FileDialog component. Also remove the "/" at the end of folders name.
2017-10-22FileDialog: enlarge the file list a bitPoommetee Ketson
2017-10-06FileDialog: fix select index out of rangePoommetee Ketson
2017-10-04Match file dialog drive with the current folder.Daniel J. Ramirez
2017-09-08Remove assignment and declarations in if statementsHein-Pieter van Braam
After discussing with @reduz and @akien-mga it was decided that we do not allow assignments or declarations in if statements. This PR removes the instances of this I could find by automated means.
2017-08-27Use HTTPS URL for Godot's website in the headersRémi Verschelde
2017-08-20ClassDB: Provide the enum name of integer constantsIgnacio Etcheverry
2017-08-18Rename localization method to `tr` againRémi Verschelde
Partial revert of #10380 based on contributor ~~bullying~~ feedback.
2017-08-17Rename `XL_MESSAGE` aka `tr` to `localize`Rémi Verschelde
Also renames `set_message_translation` to `set_message_localization` for consistency.