summaryrefslogtreecommitdiffstats
path: root/editor/filesystem_dock.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Style: Apply clang-tidy's `readability-braces-around-statements`Rémi Verschelde2021-04-051-2/+4
|
* Merge pull request #46991 from madmiraal/rename-invert-reverseRémi Verschelde2021-04-011-3/+3
|\ | | | | Rename Array.invert() to Array.reverse()
| * Rename Array.invert() to Array.reverse()Marcel Admiraal2021-03-211-3/+3
| | | | | | | | | | Does the same internally for List and Vector<>, which includes all PackedArray types.
* | edit if statement in FileSystemDock::_select_file()James Castanho2021-03-241-1/+1
| |
* | Remove FileSystem dock errors on unimported filesJuan Linietsky2021-03-231-1/+19
| | | | | | | | | | | | * Removes error shown when file is in 'keep' mode * Display a warning when attempting to open the file * Closes #47296
* | Improved 3D Scene ImporterJuan Linietsky2021-03-221-1/+19
|/ | | | | | | | | | | | * Added option for importers to show an Advanced settings dialog * Created advanced settings dialog for Scene Importer * Cleaned up importers (remove many old/unused options) * Added the ability to customize every node, material, mesh and animation individually * Saving to animations and meshes to files is now a manual process, making it more predictable * Added the ability for materials to be replaced by external files (or to be made external, up to you). * When doubleclicking an impoted scene in the filesystem dock, it automatically shows the import settings instead of asking to open it. WARNING: Lightmap UV unwrap is not working, it needs to be re-made.
* Use OS-specific terminology for "Move to Trash" in the editor filesystemHugo Locurcio2021-03-141-0/+15
| | | | This closes https://github.com/godotengine/godot-proposals/issues/2460.
* Make FileSystem dock set its path to the base folder of files after changesMichael Alexsander2021-02-091-3/+15
|
* Merge pull request #44887 from ↵Rémi Verschelde2021-01-261-0/+3
|\ | | | | | | | | gongpha/crash!-on-expand-or-collapse-folder-in-filesystem-tree Fix crash on FileSystemDock's tree when trying to collapse or expand folder
| * Fix crash on FileSystemDock's tree when trying to collapse or expand foldergongpha2021-01-041-0/+3
| |
* | Update path in the FileSystem dock after doing file operationsMichael Alexsander2021-01-161-0/+12
| |
* | Fix cases of resources destroyed too earlyPedro J. Estébanez2021-01-061-6/+3
| |
* | Update copyright statements to 2021Rémi Verschelde2021-01-011-2/+2
|/ | | | | | | | | | | | | | Happy new year to the wonderful Godot community! 2020 has been a tough year for most of us personally, but a good year for Godot development nonetheless with a huge amount of work done towards Godot 4.0 and great improvements backported to the long-lived 3.2 branch. We've had close to 400 contributors to engine code this year, authoring near 7,000 commit! (And that's only for the `master` branch and for the engine code, there's a lot more when counting docs, demos and other first-party repos.) Here's to a great year 2021 for all Godot users 🎆
* Merge pull request #44569 from madmiraal/rename-unselect-deselectRémi Verschelde2020-12-281-1/+1
|\ | | | | Rename unselect to deselect
| * Rename unselect to deselectMarcel Admiraal2020-12-211-1/+1
| |
* | Rename empty() to is_empty()Marcel Admiraal2020-12-281-16/+16
|/
* Rename AcceptDialog get_ok() to get_ok_button()Marcel Admiraal2020-12-141-4/+4
| | | | | | Also renames: - AcceptDialog add_cancel() to add_cancel_button() - ConfirmationDiaglog get_cancel() to get_cancel_button()
* FileSystemDock: List conflicting files on moveRémi Verschelde2020-12-101-9/+12
| | | | Fixes #24167.
* Made keyboard shortcuts for FileSystemDock visible in popupEric M2020-12-031-6/+6
|
* Added F2 shortcuts for renaming files & folders.Eric M2020-12-031-1/+9
|
* [Complex Text Layouts] Refactor Font class, default themes and controls to ↵bruvzg2020-11-261-4/+19
| | | | | | | | use Text Server interface. Implement interface mirroring. Add TextLine and TextParagraph classes. Handle UTF-16 input on macOS and Windows.
* Merge pull request #41263 from Calinou/filesystem-dock-rename-delete-optionRémi Verschelde2020-11-161-1/+1
|\ | | | | Rename the "Delete" option in the FileSystem dock to "Move to Trash"
| * Rename the "Delete" option in the FileSystem dock to "Move to Trash"Hugo Locurcio2020-08-141-1/+1
| | | | | | | | | | It actually moves files to the system trash instead of removing them completely.
* | Use Ctrl+Shift+C as the default FileSystem dock Copy Path shortcutHugo Locurcio2020-11-081-1/+2
| | | | | | | | This closes #43396.
* | Reorganized core/ directory, it was too fatty alreadyreduz2020-11-071-2/+2
| | | | | | | | | | | | -Removed FuncRef, since Callable makes it obsolete -Removed int_types.h as its obsolete in c++11+ -Changed color names code
* | Improve file sortingGilles Roudière2020-10-261-10/+69
| |
* | Allow sorting files by typeGilles Roudière2020-10-191-20/+86
| |
* | Fixed expand/collapse folder option not showing in FileSystemDockEric M2020-09-071-1/+1
|/
* Modified FileSystemDock so folders can be selected for reimport.geekrelief2020-08-141-16/+31
|
* Remove String::find_last (same as rfind)Stijn Hinlopen2020-07-031-2/+2
|
* Fix some popups menu missing screen transform.Juan Linietsky2020-07-011-1/+1
| | | | Closes #38591
* Environment: Refactor code for readability + moreRémi Verschelde2020-07-011-4/+4
| | | | | | | | | | | | - Makes all boolean setters/getters consistent. - Fixes bug where `glow_hdr_bleed_scale` was not used. - Split CameraEffects to their own source file. - Reorder all Environment method and properties declarations, definitions and bindings to be consistent with each other and with the order of property bindings. - Bind missing enum values added with SDFGI. - Remove unused SDFGI enhance_ssr boolean. - Sync doc changes after SDFGI merge and other misc changes.
* Remove ToolButton in favor of ButtonHugo Locurcio2020-06-191-3/+6
| | | | | | | | | | | 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.
* Allow duplicating files when holding ControlTomasz Chabora2020-06-071-1/+26
|
* 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