Commit Graph

155 Commits

Author SHA1 Message Date
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
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
Rémi Verschelde f00760b22c Merge pull request #10382 from toger5/dark_icons
Light Theme
2017-08-31 11:47:18 +02:00
toger5 7793bfc544 added icon updating to most ui elements 2017-08-30 21:47:09 +02:00
Juan Linietsky 181420f3b2 Added nice icon to show when a file is broken on import. 2017-08-29 20:17:59 -03:00
Rémi Verschelde bd282ff43f Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
Andreas Haas 6134d8741d Editor: Add some more translatable strings. 2017-08-25 18:49:45 +02:00
Wilson E. Alvarez 738d2ab969 Removed unnecessary assignments 2017-08-21 15:15:55 -04:00
Rémi Verschelde 81dde2687f Merge pull request #10164 from djrm/pr_theme_fixes
Visual polishing
2017-08-10 10:46:05 +02:00
Daniel J. Ramirez 273d2ab9d4 Several ui improvements (mostly margins)
Improved colors

Added some missing icons
2017-08-08 11:44:37 -05:00
Thomas Herzog 12a2d7ee6e Merge pull request #10068 from Cradmon/fix-resource-docker-thumbnail-bug
Fix resource docker thumbnail bug
2017-08-07 23:05:09 +02:00
homer666 e32abe8072 Adjust FileSystem split mode's height threshold 2017-08-07 13:44:34 +10:00
Cradmon b8a31d6563 Fix resource docker thumbnail bug 2017-08-04 20:11:17 +01:00
Rémi Verschelde 76005a8e75 Style: Apply clang-format on all files
Thus fixing some invalid changes that had still made it to the master branch.
2017-07-30 22:53:40 +02:00
Rémi Verschelde e3aa9b5191 Merge pull request #9706 from djrm/theme_fixes
Icons can now be added inside line edits (Search icon).
2017-07-23 13:03:53 +02:00
Juan Linietsky 25678b1876 -Renamed GlobalConfig to ProjectSettings, makes more sense.
-Added system for feature overrides, it's pretty cool :)
2017-07-19 17:06:03 -03:00
Daniel J. Ramirez 95f55c8f0d Icons can now be added inside line edits (Search icon).
Fixed window title bar margins.

fixed compilation error
2017-07-19 13:23:16 -05:00
Daniel J. Ramirez 12db63df14 Added some missing icons, fixed some ui icons 2017-07-12 14:11:56 -05:00
Rémi Verschelde 231511b2a6 Merge pull request #8631 from volzhs/editor-theme-custom
New customizable editor theme
2017-05-20 07:16:11 +02:00
Juan Linietsky 98a3296702 Removal of Image from Variant, converted to a Resource. 2017-05-17 07:37:45 -03:00
volzhs bb81293047 New customizable editor theme 2017-05-09 17:46:54 +09:00
volzhs 17e8e343fb Revert "Add new editor and default theme (WIP)"
This reverts commit f045efe007.
2017-05-03 06:19:15 +09:00
volzhs be454ba2d6 Update editor theme 2017-04-28 11:01:17 +09:00
Rémi Verschelde d730ee66a4 Merge pull request #8515 from attilix/folder-file-manager
Right-clicking a folder now gives the option Show in file manager
2017-04-27 08:11:05 +02:00
Daniel J. Ramirez f045efe007 Add new editor and default theme (WIP) 2017-04-27 08:04:57 +02:00
Attilio Oliva 0af6c39f36 Right-clicking a folder in the FileSystem panel now gives the option Show in file manager 2017-04-24 22:18:24 +02:00