summaryrefslogtreecommitdiff
path: root/editor/filesystem_dock.cpp
AgeCommit message (Collapse)Author
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-06-07Allow duplicating files when holding ControlTomasz Chabora
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: 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-04-02Replace NULL with nullptrlupoDharkael
2020-03-26Open sub-windows as embedded if the OS does not support themJuan Linietsky
2020-03-26Popups are now windows also (broken!)Juan Linietsky
2020-03-26Working multiple window support, including editorJuan Linietsky
2020-03-26Added a Window node, and made it the scene root.Juan Linietsky
Still a lot of work to do.
2020-03-26Effective DisplayServer separation, rename X11 -> LinuxBSDJuan Linietsky
2020-03-18Expose FileSystemDock to the scripting API and fixed signalsIgnacio Etcheverry
Fixed FileSystemDock's `file_removed` and `folder_removed` signals not being emitted because the emitted was using the wrong signal name.
2020-03-17Style: Set clang-format Standard to Cpp11Rémi Verschelde
For us, it practically only changes the fact that `A<A<int>>` is now used instead of the C++03 compatible `A<A<int> >`. Note: clang-format 10+ changed the `Standard` arguments to fully specified `c++11`, `c++14`, etc. versions, but we can't use `c++17` now if we want to preserve compatibility with clang-format 8 and 9. `Cpp11` is still supported as deprecated alias for `Latest`.
2020-03-03Signals: Fix some regressions from #36426Rémi Verschelde
- Fix `callable_mp` bindings to methods which used to have default arguments passed to `bind_method`. We now have to re-specify them manually when connecting. - Re-add `GroupsEditor::update_tree` binding. - Misc code quality changes along the way.
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-23Signals: Make callbacks non-const, callable_mp can't handle itRémi Verschelde
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-02-09Fixes broken scene created via New ResourceHaoyu Qiu
2020-02-04Make some QOL improvements to move operations in the FileSystem dockMichael Alexsander
2020-01-15Fixes a memory leak in FileSystemDockGilles Roudière
Co-authored-by: Rafał Mikrut <mikrutrafal54@gmail.com>
2020-01-09Add option to disable loading scripts in ScriptCreateDialogMichael Alexsander
2020-01-09Update file list in split view when setting main scenevolzhs
2020-01-08Minor fixes for ScriptCreateDialogMichael Alexsander
2020-01-08Show selected main scene in FileSystem split viewvolzhs
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-30Merge pull request #34656 from volzhs/keep-selected-dirRémi Verschelde
Show selected directory in split mode when selecting a file
2019-12-30Merge pull request #34578 from timothyqiu/var-renameRémi Verschelde
Fixes variable naming in FileSystemDock
2019-12-29Show selected directory in split mode when selecting a filevolzhs
2019-12-24Cleans up headers included in editor_node.hHaoyu Qiu
2019-12-24Fixes variable naming in FileSystemDockHaoyu Qiu
2019-11-21Unfold directories when showing in file systemTomasz Chabora
2019-11-11Hide "Set As Main Scene" in FileSystem dock if the scene is already the main oneMichael Alexsander
2019-11-11Display icon for "Set As Main Scene" in filesystem popupAndrii Doroshenko (Xrayez)
2019-11-04Folders in FileSystem are not expanded on project save anymoreSilvano Cerza
If an item was selected in the FileSystem dock and its parent was collapsed the folder would be expanded when saving the project.
2019-10-30Add "Set as main scene" on context menu in FileSystem panelvolzhs
2019-10-20Favorites dragableDavid Sichma
2019-09-26Merge pull request #32009 from Xrayez/fs-editor-iconsRémi Verschelde
Display editor icons for filesystem dock popup menu options
2019-09-25Fixed Show in file system should clear current searchStefano Coratti
2019-09-25Added some obvious errors explanationsqarmin
2019-09-06Display editor icons for filesystem dock popup menu optionsAndrii Doroshenko (Xrayez)
2019-08-24Tree: fix and expose icon modulationmerumelu
2019-08-22Cleanup and minor changes in FileSystem DockMichael Alexsander Silva Dias
2019-08-22Merge pull request #31489 from iwek7/removeRenameRootOptionRémi Verschelde
Showing only working options in filesystem dock menu
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-21Improvements and fixes of filesystem dockiwek7
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-08-17Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in 'core/' and 'editor/'Braden Bodily
Condensed some if and ERR statements. Added dots to end of error messages Couldn't figure out EXPLAINC. These files gave me trouble: core/error_macros.h, core/io/file_access_buffered_fa.h (where is it?), core/os/memory.cpp, drivers/png/png_driver_common.cpp, drivers/xaudio2/audio_driver_xaudio2.cpp (where is it?)
2019-08-15Allow to create scene from FileSystem dockTomasz Chabora
2019-07-15Fix losing scene modifications when renaming fileEmmanuel Barroga
Closes: #30436 When renaming/moving a file in the filesystem docker, changes on a scene that has dependencies on the file being renamed/moved are lost. To resolve this, this patch saves the scenes that depend on the file first, to save its current state.