summaryrefslogtreecommitdiffstats
path: root/editor/filesystem_dock.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Style: Enforce braces around if blocks and loopsRémi Verschelde2020-05-141-38/+74
| | | | | Using clang-tidy's `readability-braces-around-statements`. https://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html
* Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocksRémi Verschelde2020-05-141-11/+0
| | | | | | | | | | | | | | 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.
* Replace NULL with nullptrlupoDharkael2020-04-021-3/+3
|
* Open sub-windows as embedded if the OS does not support themJuan Linietsky2020-03-261-4/+0
|
* Popups are now windows also (broken!)Juan Linietsky2020-03-261-70/+71
|
* Working multiple window support, including editorJuan Linietsky2020-03-261-5/+5
|
* Added a Window node, and made it the scene root.Juan Linietsky2020-03-261-1/+1
| | | | Still a lot of work to do.
* Effective DisplayServer separation, rename X11 -> LinuxBSDJuan Linietsky2020-03-261-1/+2
|
* Expose FileSystemDock to the scripting API and fixed signalsIgnacio Etcheverry2020-03-181-6/+6
| | | | | Fixed FileSystemDock's `file_removed` and `folder_removed` signals not being emitted because the emitted was using the wrong signal name.
* Style: Set clang-format Standard to Cpp11Rémi Verschelde2020-03-171-2/+2
| | | | | | | | | | 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`.
* Signals: Fix some regressions from #36426Rémi Verschelde2020-03-031-4/+4
| | | | | | | | - 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.
* Signals: Port connect calls to use callable_mpRémi Verschelde2020-02-281-71/+33
| | | | | | | | | 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.)
* Signals: Make callbacks non-const, callable_mp can't handle itRémi Verschelde2020-02-231-1/+1
|
* Reworked signal connection system, added support for Callable and Signal ↵Juan Linietsky2020-02-201-33/+33
| | | | objects and made them default.
* PoolVector is gone, replaced by VectorJuan Linietsky2020-02-181-1/+1
| | | | | Typed `PoolTypeArray` types are now renamed `PackedTypeArray` and are sugar for `Vector<Type>`.
* Texture refactorJuan Linietsky2020-02-111-13/+13
| | | | | | | | -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
* Fixes broken scene created via New ResourceHaoyu Qiu2020-02-091-0/+8
|
* Make some QOL improvements to move operations in the FileSystem dockMichael Alexsander2020-02-041-9/+13
|
* Fixes a memory leak in FileSystemDockGilles Roudière2020-01-151-0/+1
| | | | Co-authored-by: Rafał Mikrut <mikrutrafal54@gmail.com>
* Add option to disable loading scripts in ScriptCreateDialogMichael Alexsander2020-01-091-1/+1
|
* Update file list in split view when setting main scenevolzhs2020-01-091-0/+1
|
* Minor fixes for ScriptCreateDialogMichael Alexsander2020-01-081-1/+1
|
* Show selected main scene in FileSystem split viewvolzhs2020-01-081-1/+6
|
* Update copyright statements to 2020Rémi Verschelde2020-01-011-2/+2
| | | | | | | | | | | 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.
* Merge pull request #34656 from volzhs/keep-selected-dirRémi Verschelde2019-12-301-0/+5
|\ | | | | Show selected directory in split mode when selecting a file
| * Show selected directory in split mode when selecting a filevolzhs2019-12-291-0/+5
| |
* | Merge pull request #34578 from timothyqiu/var-renameRémi Verschelde2019-12-301-5/+5
|\ \ | | | | | | Fixes variable naming in FileSystemDock
| * | Fixes variable naming in FileSystemDockHaoyu Qiu2019-12-241-5/+5
| |/
* / Cleans up headers included in editor_node.hHaoyu Qiu2019-12-241-0/+4
|/
* Unfold directories when showing in file systemTomasz Chabora2019-11-211-9/+14
|
* Hide "Set As Main Scene" in FileSystem dock if the scene is already the main oneMichael Alexsander2019-11-111-1/+3
|
* Display icon for "Set As Main Scene" in filesystem popupAndrii Doroshenko (Xrayez)2019-11-111-1/+1
|
* Folders in FileSystem are not expanded on project save anymoreSilvano Cerza2019-11-041-5/+1
| | | | | If an item was selected in the FileSystem dock and its parent was collapsed the folder would be expanded when saving the project.
* Add "Set as main scene" on context menu in FileSystem panelvolzhs2019-10-301-0/+14
|
* Favorites dragableDavid Sichma2019-10-201-11/+17
|
* Merge pull request #32009 from Xrayez/fs-editor-iconsRémi Verschelde2019-09-261-29/+30
|\ | | | | Display editor icons for filesystem dock popup menu options
| * Display editor icons for filesystem dock popup menu optionsAndrii Doroshenko (Xrayez)2019-09-061-29/+30
| |
* | Fixed Show in file system should clear current searchStefano Coratti2019-09-251-0/+1
| |
* | Added some obvious errors explanationsqarmin2019-09-251-2/+2
|/
* Tree: fix and expose icon modulationmerumelu2019-08-241-2/+2
|
* Cleanup and minor changes in FileSystem DockMichael Alexsander Silva Dias2019-08-221-178/+122
|
* Merge pull request #31489 from iwek7/removeRenameRootOptionRémi Verschelde2019-08-221-11/+24
|\ | | | | Showing only working options in filesystem dock menu
| * Improvements and fixes of filesystem dockiwek72019-08-211-11/+24
| |
* | Rename FileDialog's folder icon custom color to `folder_icon_modulate`Hugo Locurcio2019-08-211-3/+3
| | | | | | | | | | | | | | | | 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.
* | Use a different color for folder icons in file dialogsHugo Locurcio2019-08-201-0/+10
|/ | | | | | | | | 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.
* Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in 'core/' and 'editor/'Braden Bodily2019-08-171-2/+1
| | | | | | | | | 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?)
* Allow to create scene from FileSystem dockTomasz Chabora2019-08-151-0/+65
|
* Fix losing scene modifications when renaming fileEmmanuel Barroga2019-07-151-2/+2
| | | | | | | 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.
* Use reference to constant in functionsqarmin2019-07-101-3/+3
|
* FileSystem dock: Improve duplicate check for directory pathsRémi Verschelde2019-07-041-5/+5
| | | | Supersedes and closes #30225.