Age | Commit message (Collapse) | Author |
|
(cherry picked from commit c399d4f26c6f0836d90455defc7f2cee1d1b9678)
|
|
(cherry picked from commit 936c9e83b4db06215554ae6f6e888324655048d8)
|
|
(cherry picked from commit 5aa8b9ee61ca80f186d0f1dfed5418fe4278f157)
|
|
|
|
|
|
Improve Connection Dialog method list
|
|
And include #72377.
Co-authored-by: Wiktor Kocielski <withaust@gmail.com>
|
|
|
|
Reselect signal after tree update
|
|
Remove coupling between ConnectDialog and selected signal
|
|
|
|
|
|
|
|
Add method picker to signal connect dialog
|
|
[RichTextLabel] Match minimum size calculation of Label (proper content fitting)
|
|
Rearrange `editor/naming/*` project settings
|
|
Co-authored-by: Sam Pengilly <sam.pengilly@gmail.com>
|
|
|
|
- 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`.
|
|
Enable column clip content in ConnectionDock and FilesystemDock
|
|
|
|
(optional via fit_content property)
|
|
|
|
|
|
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".
|
|
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.
|
|
|
|
|
|
Do not allow editing Scene-inherited signal connections
|
|
Inherited connections are also highlighted with the warning color in the Node dock.
|
|
Add Editor Setting for default name when connecting signal to self
|
|
|
|
change warnings=all to use /W4.
|
|
|
|
|
|
|
|
For consistency. Every other exposed `one_shot` is spaced out like this.
|
|
AnimatedTexture.`oneshot` -> `one_shot`
For consistency. Every other exposed `one_shot` is spaced out like this.
|
|
|
|
|
|
`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`
|
|
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()`).
|
|
Rename `hint_tooltip` to `tooltip_text` & setter getter
|
|
|
|
`hint_tooltip` -> `tooltip_text`
`set_tooltip` -> `set_tooltip_text`
`_get_tooltip` -> `get_tooltip_text`
Updates documentation, too.
|
|
Add "Copy Name" option to signal menu
|
|
|
|
|
|
Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind().
Changed all uses of it to Callable.bind()
|
|
|