summaryrefslogtreecommitdiff
path: root/editor/connections_dialog.cpp
AgeCommit message (Collapse)Author
2023-01-27Merge pull request #71874 from KoBeWi/relesetcRémi Verschelde
Reselect signal after tree update
2023-01-26Merge pull request #71883 from MinusKube/script-editor-members-real-bugRémi Verschelde
Remove coupling between ConnectDialog and selected signal
2023-01-26Fix signal disconnect undo not workingMinusKube
2023-01-26Remove coupling between ConnectDialog and selected signalMinusKube
2023-01-26Connection dialog tweakskobewi
2023-01-25Merge pull request #66313 from KoBeWi/connecting_methodicallyRémi Verschelde
Add method picker to signal connect dialog
2023-01-25Merge pull request #71330 from Geometror/richtextlabel-fit-contentRémi Verschelde
[RichTextLabel] Match minimum size calculation of Label (proper content fitting)
2023-01-24Merge pull request #65137 from dalexeev/editor-namingYuri Sizov
Rearrange `editor/naming/*` project settings
2023-01-24Add method picker to signal connect dialogkobewi
Co-authored-by: Sam Pengilly <sam.pengilly@gmail.com>
2023-01-22Reselect signal after tree updatekobewi
2023-01-19Clean-up, harmonize, and improve StyleBox APIYuri Sizov
- Make all margin properties follow the same naming convention (their getter and setter too). - Remove a virtual counterpart of `get_style_margin` from API. - Allow to override `get_minimum_size` from scripting and remove `get_center_size`.
2023-01-18Merge pull request #71025 from DarkMessiah/enable_column_clip_contentRémi Verschelde
Enable column clip content in ConnectionDock and FilesystemDock
2023-01-16Add EditorUndoRedoManager singletonkobewi
2023-01-13[RichTextLabel] Match minimum size calculation of LabelHendrik Brucker
(optional via fit_content property)
2023-01-12Rearrange `editor/naming/*` project settingsDanil Alexeev
2023-01-07Enable column clip content in ConnectionDock and FilesystemDockStanislav Labzyuk
2023-01-05One Copyright Update to rule them allRémi Verschelde
As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
2022-12-08Fix unable to disconnect signal in Editor once createdMicky
Adds a CONNECT_INHERITED flag to connections, only available in editor builds. This flag denotes that the signal has been inherited from a previous Scene in the instancing hierarchy.
2022-11-29Use forward-declarations in big editor classestrollodel
2022-11-02Fix crash in connection dialogkobewi
2022-10-14Merge pull request #66665 from Mickeon/editor-do-not-edit-inherited-signalsRémi Verschelde
Do not allow editing Scene-inherited signal connections
2022-10-13Do not allow editing Scene-inherited signal connectionsMicky
Inherited connections are also highlighted with the warning color in the Node dock.
2022-10-11Merge pull request #67018 from Mickeon/try-connections-dialog-self-connectionRémi Verschelde
Add Editor Setting for default name when connecting signal to self
2022-10-09Add Editor Setting for default name when connecting signal to selfMicky
2022-10-07Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg
change warnings=all to use /W4.
2022-09-25Remember advanced state of connection dialogkobewi
2022-09-19Reorganize connection dialogkobewi
2022-09-18Port remaining connections to callable_mpTomasz Chabora
2022-09-06Rename CONNECT_ONESHOT TO CONNECT_ONE_SHOTMicky
For consistency. Every other exposed `one_shot` is spaced out like this.
2022-09-01Rename AnimatedTexture `oneshot` to `one_shot`Micky
AnimatedTexture.`oneshot` -> `one_shot` For consistency. Every other exposed `one_shot` is spaced out like this.
2022-08-30Merge pull request #63902 from dalexeev/string-casesRémi Verschelde
2022-08-30Add `String.to_{camel,pascal,snake}_case` methodsDanil Alexeev
2022-08-30Rename TreeItem's `set_tooltip` to `set_tooltip_text`Micky
`set_tooltip` -> `set_tooltip_text` `get_tooltip` -> `get_tooltip_text` For consistency: `get_button_tooltip` -> `get_button_tooltip_text` And the `tooltip` parameter in `add_button` was renamed to `tooltip_text`
2022-08-29Revert "Remove NOTIFICATION_ENTER_TREE when paired with ↵Rémi Verschelde
NOTIFICATION_THEME_CHANGED" This reverts commit 4b817a565cab8af648c88cfc7ab6481e86ee3625. Fixes #64988. Fixes #64997. This caused several regressions (#64988, #64997, https://github.com/godotengine/godot/issues/64997#issuecomment-1229970605) which point at a flaw in the current logic: - `Control::NOTIFICATION_ENTER_TREE` triggers a *deferred* notification with `NOTIFCATION_THEME_CHANGED` as introduced in #62845. - Some classes use their `THEME_CHANGED` to cache theme items in member variables (e.g. `style_normal`, etc.), and use those member variables in `ENTER_TREE`, `READY`, `DRAW`, etc. Since the `THEME_CHANGE` notification is now deferred, they end up accessing invalid state and this can lead to not applying theme properly (e.g. for EditorHelp) or crashing (e.g. for EditorLog or CodeEdit). So we need to go back to the drawing board and see if `THEME_CHANGED` can be called earlier so that the previous logic still works? Or can we refactor all engine code to make sure that: - `ENTER_TREE` and similar do not depend on theme properties cached in member variables. - Or `THEME_CHANGE` does trigger a general UI update to make sure that any bad theme handling in `ENTER_TREE` and co. gets fixed when `THEME_CHANGE` does arrive for the first time. But that means having a temporary invalid (and possibly still crashing) state, and doing some computations twice which might be heavy (e.g. `EditorHelp::_update_doc()`).
2022-08-28Merge pull request #64885 from Mickeon/rename-tooltip-hintRémi Verschelde
Rename `hint_tooltip` to `tooltip_text` & setter getter
2022-08-27Remove NOTIFICATION_ENTER_TREE when paired with NOTIFICATION_THEME_CHANGEDAaron Record
2022-08-27Rename `hint_tooltip` to `tooltip_text` & setgetMicky
`hint_tooltip` -> `tooltip_text` `set_tooltip` -> `set_tooltip_text` `_get_tooltip` -> `get_tooltip_text` Updates documentation, too.
2022-08-26Merge pull request #64573 from KoBeWi/signal_name_plagiarismRémi Verschelde
Add "Copy Name" option to signal menu
2022-08-22Add per-scene UndoRedokobewi
2022-08-18Add "Copy Name" option to signal menukobewi
2022-07-29Remove Signal connect bindsJuan Linietsky
Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind(). Changed all uses of it to Callable.bind()
2022-07-09Add ok_button_text to AcceptDialog and cancel_button_text to ConfirmationDialogFireForge
2022-05-28Use consistent casing in editor filter/search barsFireForge
2022-05-21Add the button pressed to some signals in Treetrollodel
2022-05-16Replace most uses of Map by HashMapreduz
* 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!
2022-05-05Add missing types to connections dialogFireForge
- Add all types to list (except Nil, Object, Callable, Signal, and RID) - Add icons
2022-04-28Limit the maximum value of unbinds to signal_argument_sizeRindbee
Update editor/connections_dialog.cpp Co-authored-by: Tomek <kobewi4e@gmail.com>
2022-03-09Remove VARIANT_ARG* macrosreduz
* Very old macros from the time Godot was created. * Limited arguments to 5 (then later changed to 8) in many places. * They were replaced by C++11 Variadic Templates. * Renamed methods that take argument pointers to have a "p" suffix. This was used in some places and not in others, so made it standard. * Also added a dereference check for Variant*. Helped catch a couple of bugs.
2022-02-16Port existing _notification code to use switch statements (part 1/3)jmb462
2022-02-15Editor: Cleanup some includes dependenciesRémi Verschelde
Removes some unnecessary includes from `editor_node.h`, and instead add those where they're used. Removes unnecessary `editor_node.h` includes in various editor classes. Renames `dynamicfont` to `dynamic_font` in a couple files. Misc cleanup while jumping through that rabbit hole.