summaryrefslogtreecommitdiff
path: root/editor/editor_file_dialog.cpp
AgeCommit message (Collapse)Author
2020-11-26[Complex Text Layouts] Refactor Font class, default themes and controls to ↵bruvzg
use Text Server interface. Implement interface mirroring. Add TextLine and TextParagraph classes. Handle UTF-16 input on macOS and Windows.
2020-11-07Reorganized core/ directory, it was too fatty alreadyreduz
-Removed FuncRef, since Callable makes it obsolete -Removed int_types.h as its obsolete in c++11+ -Changed color names code
2020-10-06Update the setting when clicking Show hidden filesTomasz Chabora
2020-10-02Updated getters and setters names for toplevelDuroxxigar
2020-09-28Rename the ".import" folder to ".godot/imported"Aaron Franke
2020-07-23Small naming and tooltip tweaksMichael Alexsander
2020-07-14Resize dialogs (FileDialog, EditorFileDialog, Reparent, SceneTreeDialog and ↵Stijn Hinlopen
resource depency dialogs).
2020-07-03Change how default fonts are created, fixes #39235Juan Linietsky
Also fixes file dialog icons.
2020-07-03Remove String::find_last (same as rfind)Stijn Hinlopen
2020-06-19Remove ToolButton in favor of ButtonHugo Locurcio
ToolButton has no redeeming differences with Button; it's just a Button with the Flat property enabled by default. Removing it avoids some confusion when creating GUIs. Existing ToolButtons will be converted to Buttons, but the Flat property won't be enabled automatically. This closes https://github.com/godotengine/godot-proposals/issues/1081.
2020-05-14Style: Enforce braces around if blocks and loopsRémi Verschelde
Using clang-tidy's `readability-braces-around-statements`. https://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html
2020-05-14Style: Enforce separation line between function definitionsRémi Verschelde
I couldn't find a tool that enforces it, so I went the manual route: ``` find -name "thirdparty" -prune \ -o -name "*.cpp" -o -name "*.h" -o -name "*.m" -o -name "*.mm" \ -o -name "*.glsl" > files perl -0777 -pi -e 's/\n}\n([^#])/\n}\n\n\1/g' $(cat files) misc/scripts/fix_style.sh -c ``` This adds a newline after all `}` on the first column, unless they are followed by `#` (typically `#endif`). This leads to having lots of places with two lines between function/class definitions, but clang-format then fixes it as we enforce max one line of separation. This doesn't fix potential occurrences of function definitions which are indented (e.g. for a helper class defined in a .cpp), but it's better than nothing. Also can't be made to run easily on CI/hooks so we'll have to be careful with new code. Part of #33027.
2020-05-14Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocksRémi Verschelde
Which means that reduz' beloved style which we all became used to will now be changed automatically to remove the first empty line. This makes us lean closer to 1TBS (the one true brace style) instead of hybridating it with some Allman-inspired spacing. There's still the case of braces around single-statement blocks that needs to be addressed (but clang-format can't help with that, but clang-tidy may if we agree about it). Part of #33027.
2020-05-10Style: clang-format: Disable AllowShortIfStatementsOnASingleLineRémi Verschelde
Part of #33027, also discussed in #29848. Enforcing the use of brackets even on single line statements would be preferred, but `clang-format` doesn't have this functionality yet.
2020-04-07Merge pull request #37592 from Anutrix/dissolving_classRémi Verschelde
Dissolving class EditorLineEditFileChooser into EditorAutoloadSettings.
2020-04-06Fixes leaks when running editorqarmin
2020-04-05Dissolving class EditorLineEditFileChooser into EditorAutoloadSettings.unknown
2020-04-02Replace NULL with nullptrlupoDharkael
2020-03-26Popups are now windows also (broken!)Juan Linietsky
2020-03-26Working multiple window support, including editorJuan Linietsky
2020-03-26Effective DisplayServer separation, rename X11 -> LinuxBSDJuan Linietsky
2020-03-04Merge pull request #36069 from RandomShaper/imvu/improve_drives_uxRémi Verschelde
Improve UX of drive letters
2020-03-04Merge pull request #36699 from dreamsComeTrue/fix-extension-file-dialogRémi Verschelde
Take correct part of extension with File Dialog
2020-03-03Double click on a folder didn't open it (editor)Gil Arasa Verge
Same behavior as #36684. Removed by mistake in #36426. Fixes #36757.
2020-03-03Improve UX of drive lettersPedro J. Estébanez
Namely, move the drive dropdown to just the left of the path text box and don't include the former in the latter. This improves the UX on Windows. In the UNIX case, since its concept of drives is (ab)used to provide shortcuts to useful paths, its dropdown is kept at the original location.
2020-03-01Take correct part of extension with File DialogDominik 'dreamsComeTrue' Jasiński
Fixes #36697
2020-02-28Signals: Port connect calls to use callable_mpRémi Verschelde
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.)
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-16Fixed issues with using a relative path in the export window.Catchawink
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.
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-09-26Create new folder from save dialog now update filesystem dock.dankan1890
Fix #32167.
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-29Fix filter crash in EditorFileDialog for MeshLib/TileSet conversionChaosus
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-13Merge pull request #29644 from YeldhamDev/editor_file_recent_reselectRémi Verschelde
Make possible to reselect an item in the "Recent" list in the EditorFileDialog
2019-06-13Merge pull request #29638 from YeldhamDev/editor_file_hidden_toggleRémi Verschelde
Add button for toggling hidden files in EditorFileDialog
2019-06-10Add button for toggling hidden files in EditorFileDialogMichael Alexsander Silva Dias
2019-06-09Make possible to reselect an item in the "Recent" list in the EditorFileDialogMichael Alexsander Silva Dias
2019-06-09Apply a better fix for the EditorFileDialog crash on favoriteMichael Alexsander Silva Dias
2019-06-10Fix crash when selecting favorate directory on EditorFileDialogvolzhs
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.