Commit Graph

399 Commits

Author SHA1 Message Date
Hugo Locurcio 5b40f9fddc
Use Ctrl+Shift+C as the default FileSystem dock Copy Path shortcut
This closes #43396.
2020-11-08 19:44:52 +01:00
reduz 127458ed17 Reorganized core/ directory, it was too fatty already
-Removed FuncRef, since Callable makes it obsolete
-Removed int_types.h as its obsolete in c++11+
-Changed color names code
2020-11-07 20:17:12 -03:00
Gilles Roudière 6f696a5927 Improve file sorting 2020-10-26 09:22:35 +01:00
Gilles Roudière f7a8cd882a Allow sorting files by type 2020-10-19 23:22:08 +02:00
Eric M 54bef223fd Fixed expand/collapse folder option not showing in FileSystemDock 2020-09-07 22:09:53 +10:00
Hugo Locurcio e7ed287fda
Rename the "Delete" option in the FileSystem dock to "Move to Trash"
It actually moves files to the system trash instead of removing them
completely.
2020-08-14 20:43:31 +02:00
geekrelief ec33280809 Modified FileSystemDock so folders can be selected for reimport. 2020-08-14 00:04:37 -07:00
Stijn Hinlopen 929b98d24b Remove String::find_last (same as rfind) 2020-07-03 15:26:22 +02:00
Juan Linietsky f0e320decf Fix some popups menu missing screen transform.
Closes #38591
2020-07-01 14:44:19 -03:00
Rémi Verschelde 372136fe75 Environment: Refactor code for readability + more
- 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.
2020-07-01 14:44:45 +02:00
Hugo Locurcio 31b7f02a29
Remove ToolButton in favor of Button
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-19 20:49:49 +02:00
Tomasz Chabora b426d11d86 Allow duplicating files when holding Control 2020-06-07 21:36:48 +02:00
Rémi Verschelde 0ee0fa42e6 Style: Enforce braces around if blocks and loops
Using clang-tidy's `readability-braces-around-statements`.
https://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html
2020-05-14 21:57:34 +02:00
Rémi Verschelde 0be6d925dc Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks
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-14 16:54:55 +02:00
lupoDharkael 95a1400a2a Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
Juan Linietsky c7b4dcae2f Open sub-windows as embedded if the OS does not support them 2020-03-26 15:49:43 +01:00
Juan Linietsky 441f1a5fe9 Popups are now windows also (broken!) 2020-03-26 15:49:42 +01:00
Juan Linietsky 4758057f20 Working multiple window support, including editor 2020-03-26 15:49:40 +01:00
Juan Linietsky 9e08742de8 Added a Window node, and made it the scene root.
Still a lot of work to do.
2020-03-26 15:49:38 +01:00
Juan Linietsky f8a79a97c7 Effective DisplayServer separation, rename X11 -> LinuxBSD 2020-03-26 15:49:34 +01:00
Ignacio Etcheverry fe0b783e70 Expose FileSystemDock to the scripting API and fixed signals
Fixed FileSystemDock's `file_removed` and `folder_removed` signals not being
emitted because the emitted was using the wrong signal name.
2020-03-18 15:06:07 +01:00
Rémi Verschelde cb282c6ef0 Style: Set clang-format Standard to Cpp11
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-17 07:36:24 +01:00
Rémi Verschelde 48ed841dd0 Signals: Fix some regressions from #36426
- 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-03-03 11:44:06 +01:00
Rémi Verschelde 01afc442c7 Signals: Port connect calls to use callable_mp
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-28 14:24:09 +01:00
Rémi Verschelde 65429f11a6 Signals: Make callbacks non-const, callable_mp can't handle it 2020-02-23 23:48:44 +01:00
Juan Linietsky 69c95f4b4c Reworked signal connection system, added support for Callable and Signal objects and made them default. 2020-02-20 08:24:50 +01:00
Juan Linietsky 3205a92ad8 PoolVector is gone, replaced by Vector
Typed `PoolTypeArray` types are now renamed `PackedTypeArray` and are
sugar for `Vector<Type>`.
2020-02-18 10:10:36 +01:00
Juan Linietsky 3f335ce3d4 Texture refactor
-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-11 11:53:26 +01:00
Haoyu Qiu 9cff286de1 Fixes broken scene created via New Resource 2020-02-09 14:21:10 +08:00
Michael Alexsander 07a23e75fc Make some QOL improvements to move operations in the FileSystem dock 2020-02-04 19:31:48 -03:00
Gilles Roudière 76d87e6616 Fixes a memory leak in FileSystemDock
Co-authored-by: Rafał Mikrut <mikrutrafal54@gmail.com>
2020-01-15 21:45:13 +01:00
Michael Alexsander 8708d44a50 Add option to disable loading scripts in ScriptCreateDialog 2020-01-09 13:09:23 -03:00
volzhs 9495229315 Update file list in split view when setting main scene 2020-01-09 09:51:31 +09:00
Michael Alexsander f9d11120f7 Minor fixes for ScriptCreateDialog 2020-01-08 02:02:34 -03:00
volzhs a1ab8f8890 Show selected main scene in FileSystem split view 2020-01-08 02:19:54 +09:00
Rémi Verschelde a7f49ac9a1 Update copyright statements to 2020
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.
2020-01-01 11:16:22 +01:00
Rémi Verschelde f3f6268ee7
Merge pull request #34656 from volzhs/keep-selected-dir
Show selected directory in split mode when selecting a file
2019-12-30 17:58:20 +01:00
Rémi Verschelde ea3262ee9b
Merge pull request #34578 from timothyqiu/var-rename
Fixes variable naming in FileSystemDock
2019-12-30 17:11:42 +01:00
volzhs 4fb56d6694 Show selected directory in split mode when selecting a file 2019-12-29 04:07:56 +09:00
Haoyu Qiu 078c0d75f2 Cleans up headers included in editor_node.h 2019-12-24 21:46:05 +08:00
Haoyu Qiu 79a06e17bb Fixes variable naming in FileSystemDock 2019-12-24 14:51:33 +08:00
Tomasz Chabora 01d77842ee Unfold directories when showing in file system 2019-11-21 15:40:11 +01:00
Michael Alexsander 107c1969f5 Hide "Set As Main Scene" in FileSystem dock if the scene is already the main one 2019-11-11 12:41:46 -03:00
Andrii Doroshenko (Xrayez) 1f62318f92 Display icon for "Set As Main Scene" in filesystem popup 2019-11-11 12:58:15 +02:00
Silvano Cerza 469acbfd0c Folders in FileSystem are not expanded on project save anymore
If an item was selected in the FileSystem dock and its parent
was collapsed the folder would be expanded when saving the project.
2019-11-04 20:23:46 +01:00
volzhs bee6b94b77 Add "Set as main scene" on context menu in FileSystem panel 2019-10-30 03:31:33 +09:00
David Sichma f1265541ee Favorites dragable 2019-10-20 19:39:21 +02:00
Rémi Verschelde 7b433107f5
Merge pull request #32009 from Xrayez/fs-editor-icons
Display editor icons for filesystem dock popup menu options
2019-09-26 08:43:17 +02:00
Stefano Coratti d7b2ecacff Fixed Show in file system should clear current search 2019-09-25 16:07:46 +02:00
qarmin 17732fe698 Added some obvious errors explanations 2019-09-25 10:28:50 +02:00
Andrii Doroshenko (Xrayez) 407839daab Display editor icons for filesystem dock popup menu options 2019-09-06 14:57:51 +03:00
merumelu eac0af5892 Tree: fix and expose icon modulation 2019-08-24 17:37:22 +02:00
Michael Alexsander Silva Dias c5b45c9f09 Cleanup and minor changes in FileSystem Dock 2019-08-22 10:24:51 -03:00
Rémi Verschelde 4ab4d4a59b
Merge pull request #31489 from iwek7/removeRenameRootOption
Showing only working options in filesystem dock menu
2019-08-22 11:56:48 +02:00
Hugo Locurcio e1b9004b0f
Rename FileDialog's folder icon custom color to `folder_icon_modulate`
The custom color introduced in be8d569744
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-21 18:43:01 +02:00
iwek7 2b8d65761c Improvements and fixes of filesystem dock 2019-08-21 11:13:50 +02:00
Hugo Locurcio be8d569744
Use a different color for folder icons in file dialogs
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-20 00:10:27 +02:00
Braden Bodily 71d71d55b5 Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in 'core/' and 'editor/'
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-17 12:33:15 +02:00
Tomasz Chabora cedee8281b Allow to create scene from FileSystem dock 2019-08-15 19:47:21 +02:00
Emmanuel Barroga 2350af5e70 Fix losing scene modifications when renaming file
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-15 20:50:03 -07:00
qarmin 01cc7a996b Use reference to constant in functions 2019-07-10 11:54:12 +02:00
Rémi Verschelde c5ea4b27f9 FileSystem dock: Improve duplicate check for directory paths
Supersedes and closes #30225.
2019-07-04 11:42:40 +02:00
Rémi Verschelde d17eac735c
Merge pull request #29815 from NilsIrl/plus_file_1
Replace ` + "/" + ` with `String::file_add()`
2019-07-01 12:06:35 +02:00
qarmin 4e5310cc60 Some code changed with Clang-Tidy 2019-06-26 15:08:25 +02:00
Nils ANDRÉ-CHANG d2833d4f4d Replace ` + "/" + ` with `String::file_add()` 2019-06-23 13:33:50 +01:00
Rémi Verschelde 6d16f2f053 Fix error macro calls not ending with semicolon
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-11 14:49:34 +02:00
Hein-Pieter van Braam-Stewart 0ac7715a27 Fix moving and renaming files
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-06-04 16:24:32 +02:00
qarmin 392f6f89cd Fix memory leak in Text Editor and FileSystem Dock 2019-05-30 21:31:05 +02:00
Rémi Verschelde 8384582828
Merge pull request #27836 from turtletooth/right-click
Allow Right Click in Empty Space on FileSystemDock
2019-05-28 12:07:06 +02:00
Rémi Verschelde 2bf28f58ac
Merge pull request #28702 from Lisapple/fs-show-path-tooltip
Show file path in FileSystem dock tooltip
2019-05-24 16:22:45 +02:00
Rémi Verschelde e0574e1d98 Fix typos with codespell
Using codespell 1.15.0.

Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
doubleclick
leapyear
lod
merchantibility
nd
numer
ois
ony
que
seeked
synching
te
uint
unselect
webp
EOF

$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
2019-05-19 13:10:35 +02:00
Michael Alexsander Silva Dias dcf27c71b7 Make possible to create inherited scenes via the RMB menu in the FileSystem dock 2019-05-11 05:13:29 -03:00
Rémi Verschelde 89c37dae49
Merge pull request #28807 from bojidar-bg/28798-open-filesystem
Open selected folder when pressing the "Open" option in the menu
2019-05-11 09:49:34 +02:00
Bojidar Marinov fedf9cd379
Open selected folder when pressing the "Open" option in the menu
An attempt to fix #28798
2019-05-10 18:55:50 +03:00
volzhs 920403c489 Scroll back to top when changing directory in FileSystem dock
Fix #26041
2019-05-09 04:00:40 +09:00
Lisapple 182a04b1da Replacing filename with path in tooltip into FileSystem dock 2019-05-08 17:15:21 +02:00
Rémi Verschelde 36d4f86ed9
Merge pull request #27707 from Calinou/tweak-message-wording
Improve wording of various messages and make casing more consistent
2019-04-30 11:10:36 +02:00
Hugo Locurcio 35a0162167
Improve wording of various messages and make casing more consistent
This also adds the number of selected projects to the confirmation
dialog that appears before removing projects.
2019-04-21 14:37:14 +02:00
Juan Linietsky 04847ef5f9 Added ability for multiple images to be imported as an atlas
This adds support for groups in the import system, which point to a single file.
Add property hint for saving files in file field
2019-04-19 15:56:34 -03:00
Tomasz Chabora 331f922359 Save opened scenes when necessary 2019-04-15 22:17:49 +02:00
Jeremy Bullock 36bdf78927 Allow Right Click in Empty Space on FileSystemDock 2019-04-09 11:22:14 -06:00
Rémi Verschelde 3da2894d82 FS dock: Allow deselecting items by clicking empty space
Fixes #27546.
2019-04-09 14:54:41 +02:00
Juan Linietsky a20235aeb0 Add ability to edit editor feature profiles
Allows enabling/disabling parts of the editor and storing/loading profiles for that.
2019-04-08 19:18:51 -03:00
Daniel Kulas 22b861ad97 Fix "Show in File Manager" option 2019-04-06 23:01:59 +02:00
Michael Alexsander Silva Dias d819ad6f78 Small tooltip changes to filesystem-related UI componentes in editor 2019-03-27 01:50:50 -03:00
qarmin 8c4051819e Fix error when trying to enter to folder/node directly via address bar 2019-03-08 06:15:42 +01:00
Michael Alexsander Silva Dias 20b479aaef Fix FileSystem dock's item view button starting with the wrong icon 2019-03-05 15:05:53 -03:00
Michael Alexsander Silva Dias a292d1fefb Fix general issues with filesystem-related UI components in the editor 2019-03-05 10:12:06 -03:00
Bruno Lourenço ed7534a6aa Fix grid view button icon not showing on filesystem dock. 2019-03-03 15:02:51 +00:00
Gilles Roudiere 04fb1069cd Fixes layout loading 2019-02-27 21:36:12 +01:00
Gilles Roudiere de95493de2 Move the FileSystem dock layout properties to the per-project layout file 2019-02-25 23:39:49 +01:00
Rémi Verschelde 5fc86026ca Fix typos with codespell
Using codespell 1.14.0.

Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
doubleclick
lod
nd
numer
que
te
unselect
EOF
$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
2019-02-13 09:23:29 +01:00
groud d4de7cf186 Fixes crash in the Filesystem dock 2019-01-17 20:48:46 +01:00
Rémi Verschelde b16c309f82 Update copyright statements to 2019
Happy new year to the wonderful Godot community!
2019-01-01 12:58:10 +01:00
Michael Alexsander Silva Dias b86b497cec General fixes for the AnimationTree editor 2018-12-17 21:03:58 -02:00
groud c6329b4569 Add signals for files move/delete/rename to FileSystemDock 2018-12-06 21:35:21 +01:00
Mintormo 69bca28271 (#23480) Wrong directory path in filesystem dock when creating script.
When creating script and file selected in filesystem dock,
between file name and directory path there is no "/" symbol.
This commit fix that bug.
2018-11-05 17:27:48 +03:00
groud a821de2275 Hide some RMB options in the filesystem dock when files are searched 2018-11-03 18:37:57 +01:00
Juan Linietsky 03563c8ddf
Merge pull request #23061 from groud/remove_thumbnail_view
Remove the thumnail-only view from the filesystem dock
2018-11-02 13:09:09 -03:00
Rémi Verschelde 91e5782795
Merge pull request #23311 from YeldhamDev/editor_capitalization_fix
Small capitalization fixes across the editor
2018-11-01 21:37:33 +01:00
Chaosus 4f4bbfbb85 Fix small visual bug in filesystem dock 2018-10-29 16:21:55 +03:00
Michael Alexsander Silva Dias f3835282c4 Small capitalization fixes across the editor 2018-10-26 16:11:36 -03:00
Chaosus ba9d29ec62 Fix segfault on editor close up 2018-10-25 13:33:46 +03:00
Chaosus 3af11ff3d8 Update filesystem dock when theme changed 2018-10-23 12:37:00 +03:00
Rémi Verschelde 16b0191173
Merge pull request #23160 from groud/filesystem_favorites_fix
Make folders clicked in the filesystem dock open the selected folder
2018-10-20 11:15:38 +02:00
groud c029e82761 Make folders clicked in the filesystem dock open the selected folder 2018-10-19 22:43:48 +02:00
Silvano Cerza 0759760856 Enhanced error message on folder creation with invalid chars on Windows
If the user tried to create folder with *, | or > in its name it would
return a generic error "Could not create folder."
Now the same message is shown when creating a folder with /, \\, :, *,
|, > or ending with . or an empty space.
2018-10-18 21:19:16 +02:00
Zaven Muradyan ee74c7808b Update autoload references when moving files.
Prior to this, file references in autoload were not updated when a
script was moved or renamed. This adds extra logic to update the
autoload references when updating project settings.

Fixes #22995.
2018-10-16 18:57:21 -07:00
groud 8f3becafeb Remove the thumnail-only view from the filesystem dock 2018-10-16 22:08:00 +02:00
Dualtagh Murray fc0ae1d94d 22586: Dragging file icon on to another file causes "Error Moving" in FileSystem dock 2018-10-04 20:38:36 +01:00
groud 0829fdafb0 Adds the display of the favorites into the file list 2018-09-30 15:32:57 +02:00
groud 7d59e05ae8 Add thumbnails to the FileSystem file list 2018-09-28 13:26:36 +02:00
groud 4f998faa2d Fixes drag & drop in the file list 2018-09-27 13:54:09 +02:00
Rémi Verschelde 1f18a85ea1
Merge pull request #22398 from groud/fix_import_tab_update
Fix import tab not updating when selecting in the tree view
2018-09-24 15:26:23 +02:00
groud ed516a11ca Fix import tab not updating when selecting in the tree view 2018-09-24 14:26:26 +02:00
groud 43beed489a Allow the tree view of FileSystem to take more space 2018-09-24 12:01:20 +02:00
DualMatrix 6dc0120c60 Prevent built-in-scripts from being made from FileSystem dock
Prevent built-in-scripts from being made from FileSystem dock
2018-09-23 17:38:59 +02:00
groud f19dfc1aa8 Remove auto disabling of the split-view in the FileSystem dock 2018-09-21 12:19:50 +02:00
Rémi Verschelde f22f83f2df
Merge pull request #22308 from groud/fix_filesystem_setting
Fixes filesystem display mode not updating at startup
2018-09-21 10:28:05 +02:00
groud 77a6a467b3 Fixes filesystem display mode not updating at startup 2018-09-21 09:42:41 +02:00
Michael Alexsander Silva Dias ab2eac8e3f Make filesystem dock's path bar start with said path written 2018-09-21 04:05:50 -03:00
groud 76b2ae8dc6 Fixes favorites not updating and rename favorite_dirs to favorites 2018-09-18 14:02:59 +02:00
groud 59536b98b9 Bugfixes on the filesystem dock 2018-09-14 13:59:19 +02:00
groud 028813fb9c Add a display mode toggle button 2018-09-14 10:22:13 +02:00
groud 4ef4df54d0 Store tree collapse when searching 2018-09-14 10:22:13 +02:00
groud a5fba2aa79 Allow dragging files into the favorites section 2018-09-14 10:22:13 +02:00
groud 4731745deb Adds a filter in the tree view 2018-09-14 10:22:13 +02:00
groud d7b638ed32 Replace the -show in filesystem- button by a RMB entry 2018-09-14 10:22:13 +02:00
groud bc5dfdde78 Replace the favorite button by a RMB menu entry 2018-09-14 10:22:13 +02:00
groud 796418aa11 Merge the disable_split and show_files_in_tree settings 2018-09-14 10:22:07 +02:00
groud b2633a97b9 Add thumnails to the tree view 2018-09-14 10:14:33 +02:00
groud 5f3bbbdc81 Add support for files in the tree view 2018-09-14 10:14:33 +02:00
Rémi Verschelde 277b24dfb7 Make core/ includes absolute, remove subfolders from include path
This allows more consistency in the manner we include core headers,
where previously there would be a mix of absolute, relative and
include path-dependent includes.
2018-09-12 09:52:22 +02:00
Rémi Verschelde 52466d57e9 Make some debug prints verbose-only, remove others 2018-08-24 14:59:01 +02:00
Rémi Verschelde 1e49b2d720
Merge pull request #20997 from Gamblify/add_files_to_tree_view
Add a way to disable the split view in the FileSystem dock
2018-08-14 22:50:51 +02:00
Rémi Verschelde c50d7f7b84
Merge pull request #20915 from ivodopiviz/rmb-filesystem
Show in File Manager Clarification
2018-08-14 14:35:43 +02:00
Ivan Vodopiviz afb3c0c933 Show in File Manager Clarification
Changed the context menu 'Show in File Manager' action description to better reflect actual behavior. Fixes #20897
2018-08-14 11:50:04 +02:00
groud b3f02d0840 Add a way to disable the split view
Also add a parameter as the max height before split
2018-08-14 10:17:51 +02:00
Rémi Verschelde b68f186c46
Merge pull request #20971 from swarnimarun/new-resource-option
Fix for resource save dialog call
2018-08-13 16:32:22 +02:00
Swarnim Arun 48abe73fe2
Fix for resource save dialog call
to make sure the resource save opens in the current folder when using right click to do it.
2018-08-13 19:24:35 +05:30
Łukasz Rutkowski 81fb81de9d Do not use theme to set LineEdit right_icon 2018-08-11 12:04:26 +02:00
Łukasz Rutkowski e8a435c8cd Add clear text button to LineEdit
- Add pressed state to clear button
- Enable clear button on all inputs with search icon
- Remove duplicate clear buttons
- Fix rendering of icon for center and right alignments
- Add clear button to more search fields
- Add clear icon to default theme
- Add method to control enabled state of clear button
- Add property to enable clear button from inspector
2018-08-11 12:04:26 +02:00
Ian 1bb13e95a8 context menu improvements 2018-07-26 08:58:35 -04:00
steincodes a1dee44e21 Ability to add Resource from FileSystem Dock 2018-07-22 21:23:40 +05:30
Ibrahn Sahir 9e4a6a6be2 fix for moving file using filesystem dock context menu.
Updated a method binding to match parameter default of recently added
parameter.
2018-07-14 02:47:43 +01:00
Max Hilbrunner c41d322e11
Merge pull request #19183 from Nallebeorn/rename-main-scene
Update resource file project settings after renaming/moving the files
2018-07-05 00:44:23 +02:00
Max Hilbrunner 4f39d330cf
Merge pull request #19245 from swarnimarun/overwrite_fix
Fix overwrite of file/folder of same name without warning
2018-07-05 00:30:06 +02:00
Max Hilbrunner 82a2d2df3e
Merge pull request #19873 from volzhs/show-scene-file
Show current scene file in FileSystem dock
2018-07-03 18:46:23 +02:00
Benjamin 4cd69e91fc Update resource file project settings on rename 2018-07-03 18:08:41 +02:00
volzhs a9acb95ef4 Show current scene file in FileSystem dock 2018-07-01 11:47:34 +09:00
volzhs 9501acaee6 Re-scan only when actually moving file 2018-06-19 07:43:16 +09:00
steincodes 8ae652bd59 Fix for overwriting files and folders on move 2018-06-12 21:54:43 +05:30
Michael Alexsander Silva Dias 6c058040b7 Small tooltip changes. 2018-05-18 14:54:40 -03:00
Max Hilbrunner 27ac6846dc
Merge pull request #18471 from TheYokai/new_script_context_option
'New Script' Option Added to FileSystem Docker Right Click Menu
2018-05-05 06:52:37 +02:00
Felix Yang 164dceab28 Fix for Issue#18457 - Folder name with trailing space on Windows 2018-05-03 10:19:43 +02:00
Eoin O'Neill af1e2c7b21 Basic 'new script' feature added to File System browser 2018-04-27 22:55:48 -07:00
Hugo Locurcio 1c419531a0 Change ".." punctuation for "..." in editor strings (#16507) 2018-04-22 19:36:01 +02:00
Rémi Verschelde 9101a89510
Merge pull request #18054 from Mintormo/bugfix-inconsistent-sort-in-file-manager
Fixed bug #17929. Inconsistent sort in file manager.
2018-04-09 17:56:43 +02:00
Juan Linietsky 2ba01613a3
Merge pull request #17123 from Jason0214/BugFix_UpdataFavoriteListWhenMoveOrRenameDir
Editor: update favortite_dirs after move or rename a file in filesytem_dock
2018-04-08 11:36:55 -03:00
Mintormo 41a3929d25 Fixed bug #17929. Inconsistent sort in file manager.
This commit fix a bug #17929
(https://github.com/godotengine/godot/issues/17929)
in file manager. I'm just added sorting of files list
in method FileSystemDock::_update_files.
2018-04-08 13:18:01 +03:00
Rémi Verschelde e223702776
Merge pull request #17784 from Rubonnek/rename-shortcut
Added shortcut to rename files
2018-04-04 22:27:21 +02:00
Nikodem Lokatelj 836565b249 FIX: FILE_SHOW_IN_EXPLORER now correctly shows the file's directory 2018-03-28 11:34:46 +02:00
Wilson E. Alvarez f0db7fca79
Added shortcut to rename files 2018-03-27 05:55:51 -04:00
Hein-Pieter van Braam 900384a622
Merge pull request #17243 from delftswa2018/trailingDotFix
Fix being able to create folder name with ending '.' on Windows
2018-03-07 14:09:20 +01:00
Felix Yang 96f61b2d65 Added a check for trailing dot when creating folder.
Merge the trailing dot test into existing test. Removed OS test.
2018-03-07 11:11:19 +01:00
Jason0214 bfae02c4ce update favorite_dirs list after move or rename a dir 2018-02-28 15:14:12 -08:00
Stephen Traskal e790ca084d Fixing folder/file case sensitive renaming issue
Example:
Could not rename "Objects" to "objects" or vice versa
2018-02-19 21:46:58 +01:00
Rémi Verschelde eb2b04c6eb
Merge pull request #15379 from ianb96/delete_key_fix
Filesystem and Visual Script Members delete key fix
2018-02-14 17:06:31 +01:00
Guilherme Felipe 6e1c02b828 Make parent folder selectable. Fix #16253 2018-02-01 14:00:59 -02:00
Rémi Verschelde 7fdde54586
Merge pull request #16266 from volzhs/expand-root-dir-on-start
Expand project root directory on editor start
2018-02-01 14:18:11 +01:00
volzhs 127d1241bd Expand project root directory on editor start
close #16232
Option for expanding all directories on start up is a bit tricky and buggy.
2018-02-01 11:24:40 +09:00
Guilherme Felipe bb936b5503 Hide button tree when file system dock isn't in split mode 2018-01-31 17:47:23 -02:00
Ian bce2d2c297 Filesystem and Visual Script Members keyboard shortcuts fix 2018-01-06 15:46:32 -05:00
Rémi Verschelde 2a1ce0fbc4 i18n: Sync translation templates with current source 2018-01-06 14:32:21 +01:00
Rémi Verschelde e4213e66b2 Add missing copyright headers and fix formatting
Using `misc/scripts/fix_headers.py` on all Godot files.
Some missing header guards were added, and the header inclusion order
was fixed in the Bullet module.
2018-01-05 01:22:23 +01:00
Artem Varaksa 928ca10a7b Clean up \n from end of translation strings 2018-01-04 22:00:39 +03:00
Rémi Verschelde bc513dfa84
Merge pull request #15224 from volzhs/fix-duplicate-file
Fix duplicating file or folder
2018-01-03 12:52:19 +01:00
Rémi Verschelde b50a9114b1 Update copyright statements to 2018
Happy new year to the wonderful Godot community!
2018-01-01 14:40:47 +01:00
volzhs 0341070cde Fix duplicating file or folder
Fix #15206
2018-01-01 05:03:20 +09:00
Wilhem Barbier 03beb9ac7d Make filesystem search case-insensitive 2017-12-27 15:49:19 +00:00
Juan Linietsky 57061413eb Properly rename scenes and resources after renaming or moving files, should fix #13976
It's not tested, so please test.
2017-12-26 16:32:12 -03:00
volzhs d9e5be1d66 Fix open directory in FileSystem dock 2017-12-22 04:16:04 +09:00
volzhs c3d18aed8c Remove unnecessay update on FileSystem dock 2017-12-16 23:53:44 +09:00
volzhs 15e77b3b60 Enchance FileSystem dock
* Collapse / Uncollapse folder with double click
* Sync with tree and bottom panel
* Show selected folder in tree when changed
2017-12-16 23:26:43 +09:00
Rémi Verschelde 5b54690323
Merge pull request #13446 from gad-o/duplicate_file
Add  duplicate option to filesystem dock
2017-12-09 16:34:35 +01:00
sersoong 3cdcf02d1e Restored two items in filesystemdock menu 2017-12-09 10:38:16 +08:00
sersoong 82f896b1ee Enhanced 'open' menu in filesystemdock 2017-12-05 16:37:46 +08:00
Orkun 3e50748972 Add duplice option to filesystem dock
Add duplice option to filesystem dock based move option
2017-12-01 14:13:50 +03:00
Ian e718dd12be moving open scenes in filesystem update dependencies fix 2017-11-28 22:25:11 -05:00
Michael Alexsander Silva Dias 8987f932d6 Fix not being able to select an editor layout created in another language. 2017-11-26 13:27:48 -02:00
Rémi Verschelde 7c90d51b72
Merge pull request #13120 from MillionOstrich/filesystem-rmb-separator
Fix extra separator in filesystem dock right click menu
2017-11-21 08:14:01 +01:00
MillionOstrich 89f264c4a8 Fix extra separator in filesystem dock right click menu
Re-order add_separator calls to stop adding an extra separator if no item was selected.
It is possible for no items to be selected by right clicking the ".." item.
2017-11-20 23:45:26 +00:00
Dmitry Koteroff 09619b02c4 Added "Show in Explorer" besides "New Folder" to popup which appear when clicked anywhere on the files list (when no files under mouse cursor)
Small fix
2017-11-21 01:57:00 +03:00
Dmitry Koteroff d67b602f2f Add "New Folder.." to right mouse button click on project fileslist panel _WHEN_ no any file/folder is under mouse cursor. 2017-11-20 21:25:13 +03:00
Rémi Verschelde 3dad0ce8f4
Merge pull request #12942 from sersoong/master-test
3.0 - add open feture to dependency_editor.cpp(View Owner..)
2017-11-20 09:12:14 +01:00
Rémi Verschelde b44cb4e3b9
Merge pull request #12583 from volzhs/select-multiple-files
Not to be slow when select multiple files
2017-11-17 00:37:01 +01:00
sersoong 13b07fef81 add open feture to dependency_editor.cpp 2017-11-15 14:26:38 +08:00
Rémi Verschelde faf097d350
Merge pull request #12895 from volzhs/better-ttr-format
Better TTR format
2017-11-13 12:46:39 +01:00
volzhs 2e7345c00f Better TTR format 2017-11-13 20:37:28 +09:00
Rémi Verschelde 98d9423fa3
Merge pull request #12402 from MillionOstrich/filesystem-drag-move
Filesystem drag & drop moving fixes
2017-11-10 09:58:07 +01:00