Commit graph

51 commits

Author SHA1 Message Date
Nathan Franke
14e3d478e1 dependency editor: set current directory to closest existing directory
(cherry picked from commit 905c431191)
2022-07-25 11:42:42 +02:00
kobewi
fe13b94a14 Improve title of DependencyEditorOwners
(cherry picked from commit 847eee71df)
2022-06-09 10:55:17 +02:00
Rémi Verschelde
a627cdafc5
Update copyright statements to 2022
Happy new year to the wonderful Godot community!
2022-01-13 15:54:13 +01:00
Rémi Verschelde
ea0116b01f
Dependency editor: Edit message about move to trash
Fixes #47106.

(cherry picked from commit 41ed695ba2)
2021-08-03 09:33:25 +02:00
Rémi Verschelde
140350d767
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
2021-05-05 15:02:01 +02:00
Rémi Verschelde
a828398655
Style: Replaces uses of 0/NULL by nullptr (C++11)
Using clang-tidy's `modernize-use-nullptr`.
https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-nullptr.html
2021-05-04 16:30:23 +02:00
Rémi Verschelde
b5e1e05ef2
Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
Rémi Verschelde
6e600cb3f0
Style: Set clang-format Standard to c++14 2021-05-04 14:45:15 +02:00
Rémi Verschelde
49646383f1
Update copyright statements to 2021
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 🎆

(cherry picked from commit b5334d14f7)
2021-01-13 16:17:06 +01:00
Hugo Locurcio
c9a694a11d
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.

(cherry picked from commit e7ed287fda)
2020-11-17 12:01:59 +01: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
Haoyu Qiu
078c0d75f2 Cleans up headers included in editor_node.h 2019-12-24 21:46:05 +08:00
Rafał Mikrut
ed1c4bc77d Removed unused variables, add some constants numbers 2019-12-10 05:13:02 +01:00
Hugo Locurcio
859478251f
Fix the dependency error dialog being too small on hiDPI displays
This closes #32770.
2019-10-12 15:54:16 +02:00
Sayan Nandan
70ba9ef612
Improve localization
This commit improves localization and clarifies that once removed, the file cannot be restored
2019-07-06 11:13:03 +05:30
Michael Alexsander Silva Dias
b3ae58d117 Minor enhancements to the dependency editor 2019-06-15 04:12:23 -03:00
Michael Alexsander Silva Dias
fc23c8f941 Add tooltip for the dependencies buttons in the orphan explorer dialog 2019-06-06 02:47:56 -03: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
lupoDharkael
650b698f51 Allow default audio bus layout modification 2019-04-05 17:19:25 +02:00
qarmin
4cee053f7c Fix deleting properties after deleting files 2019-03-16 22:05:24 +01:00
qarmin
f6c59cf48d Fix error when deleting default environment 2019-02-20 10:40:41 +01:00
qarmin
5b9662a2c5 Rescan files and folders deleting them 2019-02-09 14:36:16 +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
groud
c6329b4569 Add signals for files move/delete/rename to FileSystemDock 2018-12-06 21:35:21 +01:00
Thomas Winderweedle
f2e7a650c7 Clear application/run/main_scene if that file is deleted
Fixes #22473
2018-12-06 16:28:27 +01:00
Pedro J. Estébanez
d2b0f69a64 Let user fix dependencies in resources 2018-11-02 04:44:40 +01:00
Rémi Verschelde
69ee33896a
Merge pull request #21426 from groud/add_files_to_tree_view
Add files to tree view
2018-09-20 18:32:13 +02:00
groud
76b2ae8dc6 Fixes favorites not updating and rename favorite_dirs to favorites 2018-09-18 14:02:59 +02:00
willnationsdev
5436abefe4 Refactor editor icon retrieval 2018-09-14 09:27:56 -05: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
Marcin Zawiejski
9ecc26ce59 fix for removing files 2018-05-11 21:37:08 +02:00
Jason0214
b11d1196c4 remove favorited dirs if original dir deleted 2018-05-02 08:57:56 +08:00
Rémi Verschelde
9f479f096c Fix typos in code and docs with codespell
Using v1.11.0 from https://github.com/lucasdemarchi/codespell
2018-01-18 22:01:42 +01:00
Bernhard Liebl
42d59f4c5d Fix files section size in dependency error dialog 2018-01-13 17:00:00 +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
b50a9114b1 Update copyright statements to 2018
Happy new year to the wonderful Godot community!
2018-01-01 14:40:47 +01:00
Daniel J. Ramirez
dcad7042dc Updated icons
[ciskip]
2017-12-14 15:49:27 -06:00
sersoong
13b07fef81 add open feture to dependency_editor.cpp 2017-11-15 14:26:38 +08:00
Rémi Verschelde
35683b9f32 Merge pull request #12031 from NathanWarden/export_cancel_to_done
Changed the export and fix dependencies dialog cancel button names to "Close"

[ci skip]
2017-10-21 00:15:48 +02:00
Nathan Warden
cedd95ba85 Changed the export/dependencies dialog button names from "Cancel" to "Close" 2017-10-11 13:21:05 -05: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
Marcelo Fernandez
20918587d3 FileSystemDock will now remove files/dirs to trashcan using OS::move_to_trash 2017-09-25 21:49:01 -03:00
Nathan Warden
db3776e1fd Changed the text from "Cancel" to "Done" in the "Fix Dependencies" dialog. 2017-09-09 22:00:57 -05:00
Rémi Verschelde
bd282ff43f Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
Hein-Pieter van Braam
cacced7e50 Convert Object::cast_to() to the static version
Currently we rely on some undefined behavior when Object->cast_to() gets
called with a Null pointer. This used to work fine with GCC < 6 but
newer versions of GCC remove all codepaths in which the this pointer is
Null. However, the non-static cast_to() was supposed to be null safe.

This patch makes cast_to() Null safe and removes the now redundant Null
checks where they existed.

It is explained in this article: https://www.viva64.com/en/b/0226/
2017-08-24 23:08:24 +02:00
Rémi Verschelde
df61dc4b2b Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
Rémi Verschelde
5dbf1809c6 A Whole New World (clang-format edition)
I can show you the code
Pretty, with proper whitespace
Tell me, coder, now when did
You last write readable code?

I can open your eyes
Make you see your bad indent
Force you to respect the style
The core devs agreed upon

A whole new world
A new fantastic code format
A de facto standard
With some sugar
Enforced with clang-format

A whole new world
A dazzling style we all dreamed of
And when we read it through
It's crystal clear
That now we're in a whole new world of code
2017-03-05 16:44:50 +01:00