summaryrefslogtreecommitdiff
path: root/editor/filesystem_dock.cpp
AgeCommit message (Collapse)Author
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.
2019-07-10Use reference to constant in functionsqarmin
2019-07-04FileSystem dock: Improve duplicate check for directory pathsRémi Verschelde
Supersedes and closes #30225.
2019-07-01Merge pull request #29815 from NilsIrl/plus_file_1Rémi Verschelde
Replace ` + "/" + ` with `String::file_add()`
2019-06-26Some code changed with Clang-Tidyqarmin
2019-06-23Replace ` + "/" + ` with `String::file_add()`Nils ANDRÉ-CHANG
2019-06-11Fix error macro calls not ending with semicolonRémi Verschelde
It's not necessary, but the vast majority of calls of error macros do have an ending semicolon, so it's best to be consistent. Most WARN_DEPRECATED calls did *not* have a semicolon, but there's no reason for them to be treated differently.
2019-06-04Fix moving and renaming filesHein-Pieter van Braam-Stewart
This commit fixes several issues related to moving scenes and resources in an open project. * Don't try to reload scenes while not all scenes are updated yet. * Don't use the UndoRedo system to update non-user initiated editor state. * Resave scenes after moving files and updating resource path(s).
2019-05-30Fix memory leak in Text Editor and FileSystem Dockqarmin
2019-05-28Merge pull request #27836 from turtletooth/right-clickRémi Verschelde
Allow Right Click in Empty Space on FileSystemDock
2019-05-24Merge pull request #28702 from Lisapple/fs-show-path-tooltipRémi Verschelde
Show file path in FileSystem dock tooltip