summaryrefslogtreecommitdiffstats
path: root/editor/editor_feature_profile.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Initialize class variables with default values in scene/ [2/2]Rafał Mikrut2021-02-091-5/+1
|
* 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 🎆
* Rename empty() to is_empty()Marcel Admiraal2020-12-281-1/+1
|
* Rename Control margin to offsetMarcel Admiraal2020-12-231-1/+1
|
* Rename AcceptDialog get_ok() to get_ok_button()Marcel Admiraal2020-12-141-1/+1
| | | | | | Also renames: - AcceptDialog add_cancel() to add_cancel_button() - ConfirmationDiaglog get_cancel() to get_cancel_button()
* doc: Sync classref with current sourceRémi Verschelde2020-09-041-1/+1
|
* Make the Import dock depend on the FileSystem dockAaron Franke2020-08-271-5/+12
|
* Resize dialogs (FileDialog, EditorFileDialog, Reparent, SceneTreeDialog and ↵Stijn Hinlopen2020-07-141-2/+2
| | | | resource depency dialogs).
* Remove String::find_last (same as rfind)Stijn Hinlopen2020-07-031-1/+1
|
* Fix build after merge of #37235Rémi Verschelde2020-05-251-2/+3
| | | | It used APIs that were changed after the PR was last rebased.
* Merge pull request #37235 from Calinou/improve-editor-feature-profilesRémi Verschelde2020-05-251-5/+30
|\ | | | | Improve the editor feature profiles UX
| * Improve the editor feature profiles UXHugo Locurcio2020-03-221-5/+30
| | | | | | | | | | | | | | | | | | | | | | - Add an help message when no profile is selected. - This replaces the class/property trees which are now hidden when no profile is selected. - Display `(none)` as the current profile when no profile is currently active. - Make the newly created/imported profile the current if it's the first profile to be added to the list. - Make more strings localizable.
* | Style: Enforce braces around if blocks and loopsRémi Verschelde2020-05-141-4/+8
| | | | | | | | | | Using clang-tidy's `readability-braces-around-statements`. https://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html
* | Style: Enforce separation line between function definitionsRémi Verschelde2020-05-141-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I couldn't find a tool that enforces it, so I went the manual route: ``` find -name "thirdparty" -prune \ -o -name "*.cpp" -o -name "*.h" -o -name "*.m" -o -name "*.mm" \ -o -name "*.glsl" > files perl -0777 -pi -e 's/\n}\n([^#])/\n}\n\n\1/g' $(cat files) misc/scripts/fix_style.sh -c ``` This adds a newline after all `}` on the first column, unless they are followed by `#` (typically `#endif`). This leads to having lots of places with two lines between function/class definitions, but clang-format then fixes it as we enforce max one line of separation. This doesn't fix potential occurrences of function definitions which are indented (e.g. for a helper class defined in a .cpp), but it's better than nothing. Also can't be made to run easily on CI/hooks so we'll have to be careful with new code. Part of #33027.
* | Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocksRémi Verschelde2020-05-141-31/+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-1/+1
| |
* | Popups are now windows also (broken!)Juan Linietsky2020-03-261-1/+1
| |
* | Working multiple window support, including editorJuan Linietsky2020-03-261-10/+10
|/
* Style: Set clang-format Standard to Cpp11Rémi Verschelde2020-03-171-1/+1
| | | | | | | | | | 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: Port connect calls to use callable_mpRémi Verschelde2020-02-281-25/+15
| | | | | | | | | 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.)
* Added StringName as a variant type.Juan Linietsky2020-02-211-5/+5
| | | | Also changed all relevant properties defined manually to StringName.
* Reworked signal connection system, added support for Callable and Signal ↵Juan Linietsky2020-02-201-15/+15
| | | | objects and made them default.
* Remove duplicate ERR_PRINT macro.Marcel Admiraal2020-02-051-3/+3
|
* Add ignoring of disabled recent and favorite classes in createPucklaMotzer092020-01-091-2/+8
|
* Update copyright statements to 2020Rémi Verschelde2020-01-011-2/+2
| | | | | | | | | | | 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.
* Makes more strings in editor translatableHaoyu Qiu2019-12-161-2/+2
| | | | | | * File type names in file dialogs * Layout option names * Visual shader editor UI
* Merge pull request #32051 from qarmin/some_error_explanationRémi Verschelde2019-09-251-4/+6
|\ | | | | Added some obvious errors explanations
| * Added some obvious errors explanationsqarmin2019-09-251-4/+6
| |
* | doc: Sync classref with current sourceRémi Verschelde2019-09-241-2/+2
|/ | | | Fix a few missing bindings or unspecified argument names and default values.
* Merge pull request #29493 from YeldhamDev/enhance_fix_feature_profileRémi Verschelde2019-06-191-7/+10
|\ | | | | Enhancements and fixes for the editor feature profile
| * Enhancements and fixes for the editor feature profileMichael Alexsander Silva Dias2019-06-121-7/+10
| |
* | Fix minor typosYuri Chornoivan2019-06-171-1/+1
|/
* Add missing license headersRémi Verschelde2019-06-111-0/+30
| | | | Make `fix_headers.py` script compatible with Python 3.
* Changes to to feature profile editorJuan Linietsky2019-04-081-3/+3
| | | | | Changed "Disable Editor" to "Contextual Editor Enabled" Do not show contextual editors for disabled classes.
* Add ability to edit editor feature profilesJuan Linietsky2019-04-081-0/+889
Allows enabling/disabling parts of the editor and storing/loading profiles for that.