Age | Commit message (Collapse) | Author |
|
Fix confusion about TreeItem.add_button ambiguity between id and index
|
|
|
|
Button shortcuts no longer "press" the Button.
|
|
|
|
* Button shortcuts were treated as generic input events on buttons. This means that to activate a button shortcut you had to press and release.
* This logic is removed and now shortcuts always activate on press.
* This makes the editor feel more responsive and solves problems related to this behavior.
Fixes #45033 and possibly others.
|
|
Add expand modes to TextureRect
|
|
|
|
Fix crash in RichTextLabel table parsing
|
|
Fixed with help of feedback from bruvzg. Prevents invalid items getting to stack.
|
|
|
|
EricEzaM/68176-codeedit_update_code_completion_options_crash
Fix crash in CodeEdit when caret column exceeds line length.
|
|
|
|
Ensure that the cached layout mode is in sync
|
|
Change set_drag_forwarding() to use callables.
|
|
marzecdawid/only-cursor-multiselect-tree-text-search
Fix text search in Tree with multiselect
|
|
|
|
* This solution is much cleaner than the one in 3.x thanks to the use of callables.
* Works without issues in any language (no need to worry about camel or snake case).
* Editor code uses a compatibility function (too much work to redo).
Fixes #59899
|
|
Expose Tree::deselect_all to GDScript
|
|
* 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.
|
|
A TreeItem button has an id and an index, which can be distinct.
This leads to confusion.
This PR documents the distinction between id and index.
|
|
|
|
[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
|
|
|