summaryrefslogtreecommitdiffstats
path: root/scene/gui/file_dialog.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Style: Apply new changes from clang-format 8.0Rémi Verschelde2019-04-091-1/+3
| | | | | | 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).
* Fix general issues with filesystem-related UI components in the editorMichael Alexsander Silva Dias2019-03-051-1/+2
|
* Update copyright statements to 2019Rémi Verschelde2019-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Prevent FileDialog from stealing focus when setting current file in editorKanabenki2018-12-141-1/+2
|
* Fix warnings about unhandled enum value in switch [-Wswitch]Rémi Verschelde2018-09-271-0/+4
| | | | | | | | | | | 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-1/+1
|
* Make core/ includes absolute, remove subfolders from include pathRémi Verschelde2018-09-121-2/+2
| | | | | | 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.
* Merge pull request #21231 from AlexHolly/filedialog-fix-multi-selectionRémi Verschelde2018-08-251-2/+14
|\ | | | | Check all selected items on OPEN_MANY/OPEN_FILES in FileDialog, also …
| * Check all selected items on OPEN_MANY/OPEN_FILES in FileDialog, also changed ↵Alexander Holland2018-08-201-2/+14
| | | | | | | | confusing naming.
* | Fixed !is_inside_tree() errors in file dialogDualMatrix2018-08-181-1/+2
|/ | | | Fixed !is_inside_tree() errors appearing when current_file has a . in it.
* expose lineeditAlexander Holland2018-06-061-0/+1
|
* Fixed disappearing text on filedialog buttonsMax2018-02-211-4/+4
|
* Fixed "Open" button being enabled when nothing is selected in a FileDialog ↵Michael Alexsander Silva Dias2018-02-201-11/+7
| | | | while in "Open folder" mode.
* Bind many more properties to scriptsBojidar Marinov2018-01-121-6/+9
| | | | | | | 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
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-051-0/+1
| | | | | | 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.
* Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Merge pull request #13847 from YeldhamDev/filedialog_titleRémi Verschelde2017-12-091-5/+23
|\ | | | | Added "mode_overrides_title" property to FileDialog
| * Added "mode_overrides_title" property to FileDialog.Michael Alexsander Silva Dias2017-12-031-5/+23
| |
* | Fixed FileDialog's "parent folder" button not having a texture.Michael Alexsander Silva Dias2017-12-021-7/+1
|/
* Some improvements to file/dir open/save dialogs:Dmitry Koteroff2017-11-271-6/+51
| | | | | | | | 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.
* A few small adjustments to file dialogs:Dmitry Koteroff2017-11-241-2/+28
| | | | | | | 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)
* Remove the "." from file manage dialog (open scene, open file, ...)Dmitry Koteroff2017-11-211-1/+4
| | | | | | Also removed the "." from game control's FileDialog component. Also remove the "/" at the end of folders name.
* FileDialog: enlarge the file list a bitPoommetee Ketson2017-10-221-12/+16
|
* FileDialog: fix select index out of rangePoommetee Ketson2017-10-061-2/+3
|
* Match file dialog drive with the current folder.Daniel J. Ramirez2017-10-041-0/+1
|
* Remove assignment and declarations in if statementsHein-Pieter van Braam2017-09-081-2/+2
| | | | | | 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.
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-271-1/+1
|
* ClassDB: Provide the enum name of integer constantsIgnacio Etcheverry2017-08-201-10/+9
|
* Rename localization method to `tr` againRémi Verschelde2017-08-181-1/+1
| | | | Partial revert of #10380 based on contributor ~~bullying~~ feedback.
* Rename `XL_MESSAGE` aka `tr` to `localize`Rémi Verschelde2017-08-171-1/+1
| | | | | Also renames `set_message_translation` to `set_message_localization` for consistency.
* Removes type information from method bindsIgnacio Etcheverry2017-08-101-4/+4
|
* Removal of InputEvent as built-in Variant type..Juan Linietsky2017-05-201-7/+6
| | | | this might cause bugs I haven't found yet..
* Fix natural sorting order in EditorFileDialog, FileDialog and ↵Damian Day2017-05-121-2/+2
| | | | | | | | | | EditorFileSystemDirectory Make EditorFileDialog, FileDialog and EditorFileSystemDirectory alphanumerical sorting more natural Added a new method 'naturalnocasecmp_to' and comparator 'NaturalNoCaseComparator' to String. Fixes #8712.
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-081-0/+1
|
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-051-308/+285
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Rename the _MD macro to D_METHODHein-Pieter van Braam2017-02-131-40/+40
| | | | | | This new name also makes its purpose a little clearer This is a step towards fixing #56
* Remove use of _SCS from ADD_METHODHein-Pieter van Braam2017-02-131-4/+4
| | | | This saves typing and is a step towards fixing #56
* New API for visibility in both CanvasItem and SpatialJuan Linietsky2017-01-131-1/+1
| | | | | | visible (property) - access set_visible(bool) is_visible() is_visible_in_tree() - true when visible and parents visible show() hide() - for convenience
* Type renames:Juan Linietsky2017-01-111-2/+2
| | | | | | | | | | | | Matrix32 -> Transform2D Matrix3 -> Basis AABB -> Rect3 RawArray -> PoolByteArray IntArray -> PoolIntArray FloatArray -> PoolFloatArray Vector2Array -> PoolVector2Array Vector3Array -> PoolVector3Array ColorArray -> PoolColorArray
* Removed the set_child_rect() in AcceptDialog. AcceptDialog now works as a ↵Juan Linietsky2017-01-101-2/+2
| | | | container!
* Memory pool vectors (DVector) have been enormously simplified in code, and ↵Juan Linietsky2017-01-071-1/+1
| | | | renamed to PoolVector
* ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky2017-01-021-40/+40
| | | | | | | | 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()
* Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-011-1/+1
| | | | | | | | 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!
* Select exactly matched file automatically in FileDialogvolzhs2016-11-171-3/+4
|
* Show '.' in the tree of file_dialogYing-Ruei Liang(KK)2016-09-261-16/+18
|
* Exposed mode, access, filters, and show hidden files to the editor. Also, ↵Ovnuniarchos2016-07-171-1/+18
| | | | two functions to get/set the filter list.
* Make ".." always appear even if dir is unlistable (likely lacking ↵Juan Linietsky2016-06-181-0/+5
| | | | permissions), closes #1938
* rtr instead ttrDimOkGamer2016-06-071-18/+18
|
* Fixed localization in file dialogsDimOkGamer2016-06-071-18/+18
| | | | | and two more lines. 2 fixes in ru.po.
* FileDialog: reset mkdir label after use (#4500)Rémi Verschelde2016-05-011-1/+1
| | | Closes #1686.