Age | Commit message (Collapse) | Author |
|
* Remove unused `EditorPropertyMember` and related hints, previouly used by
VisualScript. Such logic should be implemented in the VS module itself.
* As the above broke compatibility with the VS module, clean up the other
hacks that were still in core in support of VisualScript.
* `PROPERTY_USAGE_INTERNATIONALIZED` was only used in Object's
`get_translatable_strings()`, which is a legacy function not used anywhere.
So both are removed.
* Reordered some usage flags after the above removal to minimize the diff.
* General clean up.
Fixes #30203.
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
|
|
|
|
|
|
Use BitField<> in core type masks
|
|
Use BitField<> hint for Mesh.ArrayFormat and Control.SizeFlags
|
|
* All core types masks are now correctly marked as bitfields.
* The enum hacks in MouseButtonMask and many other types are gone. This ensures that binders to other languages non C++ can actually implement type safe bitmasks.
* Most bitmask operations replaced by functions in BitField<>
* Key is still a problem because its enum and mask at the same time. While it kind of works in C++, this most likely can't be implemented safely in other languages and will have to be changed at some point. Mostly left as-is.
* Documentation and API dump updated to reflect bitfields in core types.
|
|
This was missing in the conversion of bitflags to BitField<>.
|
|
|
|
Add reparent methods to Node
|
|
Add PropertyInfo overload for GLOBAL_DEF
|
|
|
|
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".
|
|
Update GraphEdit to automatically arrange nodes if nothing is selected
|
|
|
|
|
|
Fix file dialog crash on forward click when history is empty.
|
|
Fix hovering-color of MenuBar entries when reentering MenuBar
|
|
Fix Scene Tree Editor icons shift when the pane is small
|
|
|
|
drawing
The horizontal scrollbar was used before, which is not correct as it has no influence to the drawing width
Also fixed the other wrong locations
|
|
When reentering MenuBar with the mouse cursor, the hovering-color was
not set, because the previously hovered entry was still referenced in
selected_menu. This PR resets selected_menu on mouse-exit.
|
|
|
|
[RTL] Fix push bold or italics not using bold_italics_font when required
|
|
|
|
Add configuration warning when ButtonGroup is used with non-toggleable buttons
|
|
[RTL] Rename remove_line() to remove_paragraph() for naming consistancy.
|
|
Also fix ambiguous documentation of ButtonGroup.
|
|
Fixed Issue #68194 involving ColorPicker being allowed to align horizontally when it shouldn't
|
|
|
|
|
|
Fix autocomplete with autobrace completion not adding closing pair
|
|
|
|
By popular demand, restoring the helper properties to rotate objects in degrees.
Affected are local and global rotations for:
* Node2D
* Node3D
* Control
|
|
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
|
|
Fix autocomplete box placement
|
|
|
|
|
|
Fix color picker showing incorrect number of digits when changing display scale
|
|
|
|
|
|
and placeholder is set.
|
|
|
|
Fix infinite loop when calling `Control.popup_centered_minsize()`
|
|
Fix errors while deselecting all tree items; issue #65185
|
|
|
|
Fix glyph_flags typo.
|
|
Make sure the popup editor is hidden when selected
|
|
|
|
Copy local theme overrides from `Control` to `Window`
|
|
This commit decouples the type of cursor used when the underline
of meta tag is set to False. Previous to this commit setting the
meta underline to false in the RichTextLabel would also make it
show the arrow cursor instead of the hand cursor.
Making the meta tag with no underline should not have any effect
on the type of cursor, since the text will still be clickable it
should be expected to have a hand cursor.
The same behavior is seen in other languages, like HTML+CSS, where
the setting "text-decoration" to "none" for the links, disables
the underline but maintains the clickable cursor.
Fixes godotengine/godot-proposals#3193
|