summaryrefslogtreecommitdiffstats
path: root/editor/rename_dialog.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg2022-10-071-3/+3
| | | | change warnings=all to use /W4.
* Add `String.to_{camel,pascal,snake}_case` methodsDanil Alexeev2022-08-301-2/+2
|
* Rename `hint_tooltip` to `tooltip_text` & setgetMicky2022-08-271-13/+13
| | | | | | | | `hint_tooltip` -> `tooltip_text` `set_tooltip` -> `set_tooltip_text` `_get_tooltip` -> `get_tooltip_text` Updates documentation, too.
* Add per-scene UndoRedokobewi2022-08-221-2/+3
|
* Extract EditorResourceConversionPlugin into its own source files and clean ↵Yuri Sizov2022-07-311-0/+1
| | | | up editor includes
* Remove Signal connect bindsJuan Linietsky2022-07-291-9/+9
| | | | | Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind(). Changed all uses of it to Callable.bind()
* Add ok_button_text to AcceptDialog and cancel_button_text to ConfirmationDialogFireForge2022-07-091-1/+1
|
* Move duplicate AutoWrap, Overrun and VisibleChar behavior enums to the ↵bruvzg2022-06-161-1/+1
| | | | TextServer.
* popup deferred hide suppressed if reopenedderammo2022-05-131-0/+2
| | | | | | | | | popup no longer tries to close itself a second time popup no longer closes after having been reopened fixed bug in RenameDialog not calling base (by inspection) fixes #59181 fixes #60921 reverts #59287
* Make `TabBar/Container` default their alignments to the left instead of centerMichael Alexsander2022-03-171-1/+0
|
* Make `TabContainer` use `TabBar` internallyMichael Alexsander2022-03-031-1/+1
|
* Improve compilation speed (forward declarations/includes cleanup)Hendrik Brucker2022-02-121-4/+4
|
* Revert "Add missing SNAME macro optimization to all theme methods call"Rémi Verschelde2022-02-081-3/+3
| | | | | | | | 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.
* Add missing SNAME macro optimization to all theme methods calljmb4622022-02-061-3/+3
|
* Remove get_focus_owner() from Control, replaced by ↵Gilles Roudière2022-02-031-2/+2
| | | | get_viewport()->gui_get_focus_owner()
* Merge pull request #57205 from TechnoPorg/variant-template-castRémi Verschelde2022-01-271-1/+1
|\ | | | | Allow method binds to take Object subclasses as arguments
| * Allow method binds to take Object subclasses as argumentsTechnoPorg2022-01-251-1/+1
| | | | | | | | | | | | This commit adds a condition to VariantCaster that casts Variants of type OBJECT to any type T, if T is derived from Object. This change enables a fair bit of code cleanup. First, the Variant implicit cast operators for Node and Control can be removed, which allows for some invalid includes to be removed. Second, helper methods in Tree whose sole purpose was to cast arguments to TreeItem * are no longer necessary. A few small changes also had to be made to other files, due to the changes cascading down all the includes.
* | Merge pull request #52690 from nsrCodes/batch-rename-preview-wrapRémi Verschelde2022-01-201-0/+1
|\ \
| * | Added the smart word wrap property to preview labelNavdeep Singh Rathore2021-09-151-0/+1
| | |
* | | Fix various typosluz paz2022-01-131-1/+1
| |/ |/| | | Found via `codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,expct,fave,findn,gird,hist,inh,inout,leapyear,lod,nd,numer,ois,ony,paket,ro,seeked,sinc,switchs,te,uint,varn,vew`
* | Update copyright statements to 2022Rémi Verschelde2022-01-031-2/+2
| | | | | | | | Happy new year to the wonderful Godot community!
* | align to horizontal_alignment, valign to vertical_alignment, relatedNathan Franke2021-12-091-1/+1
| |
* | Modules: Make sure to include modules_enabled.gen.h where neededRémi Verschelde2021-11-121-0/+1
| |
* | Fix incorrect encoding (Latin-1 instead of UTF-8) used in `_error_handler` ↵bruvzg2021-11-081-3/+3
| | | | | | | | functions.
* | clang-format: Disable alignment of operands, too unreliableRémi Verschelde2021-10-281-1/+1
| | | | | | | | | | | | | | | | | | Sets `AlignOperands` to `DontAlign`. `clang-format` developers seem to mostly care about space-based indentation and every other version of clang-format breaks the bad mismatch of tabs and spaces that it seems to use for operand alignment. So it's better without, so that it respects our two-tabs `ContinuationIndentWidth`.
* | Implement toast notifications in the editorGilles Roudière2021-10-141-1/+1
| |
* | Allow disabling the RegEx module in the editorAaron Franke2021-09-151-7/+5
|/
* Optimize StringName usagereduz2021-07-181-5/+5
| | | | | | | | | | | * 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.
* Misc cleanup of header includesRémi Verschelde2021-07-151-1/+7
| | | | | Was looking for misuse of module headers without checking that the module is actually enabled and got carried away...
* Rename LineEdit caret_* properties getters and setters to match propertyMarcel Admiraal2021-04-171-1/+1
|
* Display scene file extensions in the editor only if there's ambiguityHugo Locurcio2021-03-201-1/+4
| | | | | This also simplifies the Editor Settings as the extension is now automatically shown to avoid ambiguity.
* 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 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()
* Reorganized core/ directory, it was too fatty alreadyreduz2020-11-071-1/+1
| | | | | | -Removed FuncRef, since Callable makes it obsolete -Removed int_types.h as its obsolete in c++11+ -Changed color names code
* Minor visual improvements to the "Batch Rename" dialogMichael Alexsander2020-08-141-20/+9
|
* Small naming and tooltip tweaksMichael Alexsander2020-07-231-10/+10
|
* Style: Enforce braces around if blocks and loopsRémi Verschelde2020-05-141-3/+6
| | | | | Using clang-tidy's `readability-braces-around-statements`. https://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html
* Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocksRémi Verschelde2020-05-141-19/+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.
* [Core] Rename linear_interpolate to lerpAaron Franke2020-04-291-1/+1
|
* Replace NULL with nullptrlupoDharkael2020-04-021-3/+3
|
* Popups are now windows also (broken!)Juan Linietsky2020-03-261-6/+6
|
* Working multiple window support, including editorJuan Linietsky2020-03-261-29/+29
|
* Signals: Port connect calls to use callable_mpRémi Verschelde2020-02-281-35/+29
| | | | | | | | | 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.)
* Reworked signal connection system, added support for Callable and Signal ↵Juan Linietsky2020-02-201-29/+29
| | | | objects and made them default.
* Remove duplicate ERR_PRINT macro.Marcel Admiraal2020-02-051-1/+1
|
* Improve the batch rename dialogHugo Locurcio2020-01-191-28/+23
| | | | | | | | | | | | - Use the editor-defined error, warning and success colors for preview texts. - Make the "Regular Expressions" option into a CheckButton (as it does something as soon as it's toggled) and move it out of the Advanced Options submenu. - Make it clearer that the error message originates from an invalid regular expression. - Clarify what the number means in the regex error message. - Tweak some strings' casing for consistency.
* Only create the editor theme onceHugo Locurcio2020-01-191-7/+1
| | | | | | | | | | This prevents the editor theme from being created twice. This speeds up the project editor and editor startup significantly; startup is now 1.3 times faster on average (tested on a debug build). RAM usage was also lowered by 7.5 MB on average. This partially addresses #35321.
* 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.
* Fixes tab height in Batch Rename dialogHaoyu Qiu2019-12-251-1/+2
|