summaryrefslogtreecommitdiffstats
path: root/editor/editor_feature_profile.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Rename String `plus_file` to `path_join`Aaron Franke2022-08-291-8/+8
|
* Rebuild the trees in the EditorFeatureProfile dialog when the editor theme ↵Yuri Sizov2022-08-051-0/+5
| | | | changes
* Merge pull request #63603 from aaronfranke/editor-pathsRémi Verschelde2022-07-291-12/+13
|\ | | | | Move editor paths into the EditorPaths class
| * Move editor paths into the EditorPaths classAaron Franke2022-07-291-12/+13
| |
* | Remove Signal connect bindsJuan Linietsky2022-07-291-8/+8
|/ | | | | Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind(). Changed all uses of it to Callable.bind()
* Merge pull request #62827 from fire-forge/ok-cancelRémi Verschelde2022-07-131-1/+1
|\ | | | | Add `ok_button_text` to AcceptDialog and `cancel_button_text` to ConfirmationDialog
| * Add ok_button_text to AcceptDialog and cancel_button_text to ConfirmationDialogFireForge2022-07-091-1/+1
| |
* | Seperate filter and description in FileDialog.add_filter()FireForge2022-07-091-2/+2
|/
* Add a new HashSet templatereduz2022-05-201-2/+2
| | | | | * Intended to replace RBSet in most cases. * Optimized for iteration speed
* Use range iterators for RBSet in most casesAaron Record2022-05-191-6/+6
|
* Replace most uses of Map by HashMapreduz2022-05-161-7/+7
| | | | | | | | | | | | * Map is unnecessary and inefficient in almost every case. * Replaced by the new HashMap. * Renamed Map to RBMap and Set to RBSet for cases that still make sense (order matters) but use is discouraged. There were very few cases where replacing by HashMap was undesired because keeping the key order was intended. I tried to keep those (as RBMap) as much as possible, but might have missed some. Review appreciated!
* Make FileAccess and DirAccess classes reference counted.bruvzg2022-04-111-7/+6
|
* Add property name style toggle to InspectorHaoyu Qiu2022-03-281-2/+8
|
* Initialize bools in the headers in editorAaron Franke2022-03-121-2/+0
|
* i18n: Make property paths and categories translatableHaoyu Qiu2022-03-031-1/+3
|
* Port existing _notification code to use switch statements (part 1/3)jmb4622022-02-161-11/+13
|
* Improve compilation speed (forward declarations/includes cleanup)Hendrik Brucker2022-02-121-2/+3
|
* Revert "Add missing SNAME macro optimization to all theme methods call"Rémi Verschelde2022-02-081-1/+1
| | | | | | | | This reverts commit a988fad9a092053434545c32afae91ccbdfbe792. As discussed in #57725 and clarified in #57788, `SNAME` is not meant to be used everywhere but only in critical code paths. For theme methods specifically, it was by design that only getters use `SNAME` and not setters.
* Merge pull request #57749 from timothyqiu/feature-class-propsRémi Verschelde2022-02-071-1/+9
|\
| * Don't display empty Class Properties in feature profileHaoyu Qiu2022-02-071-1/+9
| |
* | Add missing SNAME macro optimization to all theme methods calljmb4622022-02-061-1/+1
|/
* String: Add contains().Anilforextra2022-02-041-1/+1
|
* Update copyright statements to 2022Rémi Verschelde2022-01-031-2/+2
| | | | Happy new year to the wonderful Godot community!
* Replace String comparisons with "", String() to is_empty()Nathan Franke2021-12-091-17/+17
| | | | | | Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
* align to horizontal_alignment, valign to vertical_alignment, relatedNathan Franke2021-12-091-1/+1
|
* Use range iterators for `Map`Lightning_A2021-09-301-3/+3
|
* Fix various i18n failuresHaoyu Qiu2021-08-031-1/+1
|
* Put multiple colons back into translated stringsYuri Sizov2021-07-311-6/+6
|
* Use const references where possible for List range iteratorsRémi Verschelde2021-07-251-2/+2
|
* Use C++ iterators for Lists in many situationsAaron Franke2021-07-231-7/+6
|
* Optimize StringName usagereduz2021-07-181-2/+2
| | | | | | | | | | | * Added a new macro SNAME() that constructs and caches a local stringname. * Subsequent usages use the cached version. * Since these use a global static variable, a second refcounter of static usages need to be kept for cleanup time. * Replaced all theme usages by this new macro. * Replace all signal emission usages by this new macro. * Replace all call_deferred usages by this new macro. This is part of ongoing work to optimize GUI and the editor.
* Rename `instance()`->`instantiate()` when it's a verbLightning_A2021-06-191-5/+5
|
* Consolidate JSON, JSONParseResults and JSONParser into JSONMarcel Admiraal2021-06-191-22/+21
| | | | | Renames JSON.parse_string() to parse() Renames JSON.decode_data() to stringify()
* Core: Move DirAccess and FileAccess to `core/io`Rémi Verschelde2021-06-111-1/+1
| | | | | File handling APIs are typically considered part of I/O, and we did have most `FileAccess` implementations in `core/io` already.
* Improve the layout and texts of the Editor Feature Profiles dialogYuri Sizov2021-05-311-43/+88
|
* Fixed changing enabled classes resetting folding in manage editor features.Emre Aydin2021-05-271-0/+36
|
* 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.