Commit graph

79 commits

Author SHA1 Message Date
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
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
MillionOstrich
f6ca9d34a2 Improve file/folder drag preview on filesystem dock
Added icons for files/folders in drag preview
Fixed folders getting an empty string label
Don't show "1 more file(s)" label instead of the file
Added "more folders" case if moving folders exclusively
Merged drag_files and drag_files_and_dirs to reduce code duplication
Simplified get_drag_data_fw and removed commented out code
2017-11-03 21:39:53 +00:00
MillionOstrich
078371cfb6 Fix dragging a resource onto filesystem dock
Call push_item before save_resource_as because the save button uses editor_history current.
Reject the drop in can_drop_data if it isn't on a folder or the files list.
Removed some duplicated code
2017-11-03 20:50:51 +00:00
MillionOstrich
9c65924b3d Don't try to move if dragging a folder into itself
If a folder would be moved to an invalid location disallow the drag
Don't treat dragging a file/folder to its current location as invalid
Allow dragging onto empty space / files in the files list
Fix dragging a folder onto "Favourites" starting an invalid move
2017-11-03 20:49:36 +00:00
volzhs
3babb19515 Not to be slow when select multiple files 2017-11-02 23:47:07 +09:00
Cradmon
93e8468d92 Fix to issue #12554, due to error in refactoring in PR #10261 2017-11-01 11:31:13 +00:00
Cradmon
2aef4ce0fe Make file system dock more user friendly.
Edited files:
editor/filesystem_dock.h
editor/filesystem_dock.cpp
2017-10-22 15:41:52 +01:00
MillionOstrich
0939c0a9ce Add right click option to create folders. 2017-10-09 15:11:44 +01:00
MillionOstrich
40d1866b05 Rework DependencyRemoveDialog for deleting folders
DependencyRemoveDialog now takes two lists (files and folders) to delete.
Sort the folders above files in DependencyRemoveDialog & use some more icons.
Stop files which will be deleted from also being listed as having broken dependencies.
Add right-click option for removing folder to filesystem folder tree.
2017-10-09 15:10:40 +01:00
MillionOstrich
716e5b2943 Reworked rename & move for files & folders.
Move/rename don't depend on the path variable anymore.
Fixed dependencies not updating correctly when dragging folders in the folder tree.
Dependencies will only update for files which sucessfully moved.
Reduced code duplication between move & rename.
Added rename & move options to folders tree.
2017-10-09 15:07:36 +01:00
MillionOstrich
e1fb38e891 Can now right click folders in filesystem dock.
Disallow selecting ".." in the file-system dock.
Show In Explorer just uses this->path rather than trying to work it out from the item.
Add support for copy to path to folders .
Removed old commented out code.
2017-10-09 14:59:48 +01:00
Marcelo Fernandez
20918587d3 FileSystemDock will now remove files/dirs to trashcan using OS::move_to_trash 2017-09-25 21:49:01 -03:00
letheed
5ad9be4c24 Rename pos to position in user facing methods and variables
Rename user facing methods and variables as well as the corresponding
C++ methods according to the folloming changes:

* pos -> position
* rot -> rotation
* loc -> location

C++ variables are left as is.
2017-09-20 13:11:10 +02:00
Daniel J. Ramirez
957e85dcac Fixed a lot of HiDPI metrics. 2017-09-18 14:48:15 -05:00
Rémi Verschelde
8a6b023cb3 Merge pull request #11200 from SaracenOne/filesystem_tooltip_fix
Added missing file system display toggle button.
2017-09-13 20:20:48 +02:00
Rémi Verschelde
22d9e56c71 Merge pull request #11199 from SaracenOne/filesystem_dirs
Add option to always show directories in filesystem dock
2017-09-13 20:20:35 +02:00
Daniel J. Ramirez
3a05bdbaab Improved alternative size thumbnail generation 2017-09-12 13:16:47 -05:00
SaracenOne
cc6dce375f Added missing file system display toggle button. 2017-09-12 18:30:16 +01:00
SaracenOne
7b5a1f6481 Add option to always show directories in filesystem dock 2017-09-12 18:23:16 +01:00
Daniel J. Ramirez
e298f931a6 Fixed some metrics (some issues caused by the new Noto Sans font).
plus other minor fixes
2017-09-03 01:49:31 -05:00
Juan Linietsky
ce28452109 -Fixed EditorDirDialog, which was really old and needed to use EditorFileSystem
-Fixed refactoring tools to work with imported scenes (properly move .import files)
2017-09-03 00:24:36 -03:00