summaryrefslogtreecommitdiff
path: root/scene/gui/file_dialog.cpp
AgeCommit message (Collapse)Author
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.
2017-08-10Removes type information from method bindsIgnacio Etcheverry
2017-05-20Removal of InputEvent as built-in Variant type..Juan Linietsky
this might cause bugs I haven't found yet..
2017-05-12Fix natural sorting order in EditorFileDialog, FileDialog and ↵Damian Day
EditorFileSystemDirectory Make EditorFileDialog, FileDialog and EditorFileSystemDirectory alphanumerical sorting more natural Added a new method 'naturalnocasecmp_to' and comparator 'NaturalNoCaseComparator' to String. Fixes #8712.
2017-04-08Add "Godot Engine contributors" copyright lineRémi Verschelde
2017-03-05A Whole New World (clang-format edition)Rémi Verschelde
I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
2017-02-13Rename the _MD macro to D_METHODHein-Pieter van Braam
This new name also makes its purpose a little clearer This is a step towards fixing #56
2017-02-13Remove use of _SCS from ADD_METHODHein-Pieter van Braam
This saves typing and is a step towards fixing #56
2017-01-13New API for visibility in both CanvasItem and SpatialJuan Linietsky
visible (property) - access set_visible(bool) is_visible() is_visible_in_tree() - true when visible and parents visible show() hide() - for convenience
2017-01-11Type renames:Juan Linietsky
Matrix32 -> Transform2D Matrix3 -> Basis AABB -> Rect3 RawArray -> PoolByteArray IntArray -> PoolIntArray FloatArray -> PoolFloatArray Vector2Array -> PoolVector2Array Vector3Array -> PoolVector3Array ColorArray -> PoolColorArray
2017-01-10Removed the set_child_rect() in AcceptDialog. AcceptDialog now works as a ↵Juan Linietsky
container!
2017-01-07Memory pool vectors (DVector) have been enormously simplified in code, and ↵Juan Linietsky
renamed to PoolVector
2017-01-02ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky
Variant. All usages of "type" to refer to classes were renamed to "class" ClassDB has been exposed to GDScript. OBJ_TYPE() macro is now GDCLASS()
2017-01-01Welcome in 2017, dear changelog reader!Rémi Verschelde
That year should bring the long-awaited OpenGL ES 3.0 compatible renderer with state-of-the-art rendering techniques tuned to work as low as middle end handheld devices - without compromising with the possibilities given for higher end desktop games of course. Great times ahead for the Godot community and the gamers that will play our games!
2016-11-17Select exactly matched file automatically in FileDialogvolzhs
2016-09-26Show '.' in the tree of file_dialogYing-Ruei Liang(KK)
2016-07-17Exposed mode, access, filters, and show hidden files to the editor. Also, ↵Ovnuniarchos
two functions to get/set the filter list.
2016-06-18Make ".." always appear even if dir is unlistable (likely lacking ↵Juan Linietsky
permissions), closes #1938