Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-01-11 | Merge pull request #71183 from YuriSizov/control-refresh-layouts-by-parents | Rémi Verschelde | |
Ensure that the cached layout mode is in sync | |||
2023-01-10 | Ensure that the cached layout mode is in sync | Yuri Sizov | |
2023-01-10 | Change set_drag_forwarding() to use callables. | Juan Linietsky | |
* 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 | |||
2023-01-09 | Fix inconsistent state of Controls when editing and running scenes | Yuri Sizov | |
2023-01-08 | Use BitField<> hint for ArrayFormat | Juan Linietsky | |
This was missing in the conversion of bitflags to BitField<>. | |||
2023-01-07 | Merge pull request #36301 from KoBeWi/daddy_node | Rémi Verschelde | |
Add reparent methods to Node | |||
2023-01-05 | One Copyright Update to rule them all | Ré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-19 | Restore 'rotation_degrees' properties. | Juan Linietsky | |
By popular demand, restoring the helper properties to rotate objects in degrees. Affected are local and global rotations for: * Node2D * Node3D * Control | |||
2022-12-12 | Merge pull request #61855 from Calinou/popup-centered-minsize-fix-freeze | Rémi Verschelde | |
Fix infinite loop when calling `Control.popup_centered_minsize()` | |||
2022-12-07 | Copy local theme overrides from Control to Window | Yuri Sizov | |
2022-11-30 | Display transform properties of contained controls | kobewi | |
2022-11-29 | Move z_index, z_as_relative and y_sort_enabled from Node2D to CanvasItem | Hendrik Brucker | |
2022-11-28 | Merge pull request #59801 from Sauermann/fix-node2d-viewport-root-order | Rémi Verschelde | |
Fix Viewport root order after Node2D raise | |||
2022-11-17 | Add `Control::localize_numeral_system` property to toggle automatic numeral ↵ | bruvzg | |
system conversion. | |||
2022-11-02 | Fix Viewport root order after Node2D raise | Markus Sauermann | |
2022-10-31 | Merge pull request #67578 from KoBeWi/GEDITOR | Rémi Verschelde | |
Unify usage of GLOBAL/EDITOR_GET | |||
2022-10-31 | Merge pull request #67588 from KoBeWi/if(!GDVIRTUAL_CALL)don't | Rémi Verschelde | |
Simplify GDVIRTUAL_CALL calls | |||
2022-10-23 | Merge pull request #67566 from Sauermann/fix-code-simplifications | Clay John | |
Code simplifications | |||
2022-10-19 | Merge pull request #66279 from aaronfranke/control-min-size | Max Hilbrunner | |
Revert `custom_minimum_size` type back to `Vector2` instead of `Vector2i` | |||
2022-10-19 | Simplify GDVIRTUAL_CALL calls | kobewi | |
2022-10-18 | Unify usage of GLOBAL/EDITOR_GET | kobewi | |
2022-10-18 | Code simplifications | Markus Sauermann | |
1. Viewport::get_visible_rect().position is always zero. So Control::get_window_rect is identical to Control::get_global_rect. Remove Control::get_window_rect since it is not used in the source code. 2. sqrt(a * a) = abs(a) for doubles 3. Simplify affine_inverse combination 4. Simplify calculation in shaders | |||
2022-10-13 | Move Shortcut Context to Control and ensure that `shortcut_input` adheres to ↵ | Eric M | |
contexts. Also ensure that controls with no context are only triggered AFTER nodes which do have a context. | |||
2022-10-13 | Merge pull request #66953 from Sauermann/fix-top-level-connect-error | Rémi Verschelde | |
Fix Control node not disconnecting from signal | |||
2022-10-07 | Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵ | bruvzg | |
change warnings=all to use /W4. | |||
2022-10-05 | Fix Control not disconnecting signal | Markus Sauermann | |
If a Control has not parent CanvasItem and is set as top_level, then it does not disconnect from the "size_changed" signal when it leaves the Canvas. This patch corrects this. | |||
2022-09-28 | Merge pull request #58995 from Sauermann/fix-mouse-cursor-change-2 | Rémi Verschelde | |
Update mouse cursor shape after changes | |||
2022-09-22 | Revert custom_minimum_size type back to Vector2 instead of Vector2i | Aaron Franke | |
2022-09-19 | Change return type of `get_configuration_warnings` to `PackedStringArray` | Marc Gilleron | |
2022-09-18 | Update mouse cursor shape after changes | Markus Sauermann | |
This fixes some cases where the mouse cursor shape did not change automatically, but instead required a MouseMove to update. | |||
2022-09-08 | Make `Vector2i` values paired with `EDSCALE` be just `Vector2` | Michael Alexsander | |
2022-09-06 | Rename CONNECT_ONESHOT TO CONNECT_ONE_SHOT | Micky | |
For consistency. Every other exposed `one_shot` is spaced out like this. | |||
2022-09-02 | Merge pull request #65250 from YuriSizov/theme-owner-rises | Rémi Verschelde | |
2022-09-02 | Un-defer the initial theme changed notification | Yuri Sizov | |
Co-authored-by: Rindbee <idleman@yeah.net> | |||
2022-09-02 | Add ThemeOwner type for managing theme propagation and lookup | Yuri Sizov | |
2022-09-02 | Rename `or_lesser` range property hint to `or_less` | Hugo Locurcio | |
"less" should be used for quantity, rather than "lesser". Existing scripts that use `or_lesser` in `_get_property_list()` will need to be updated to account for this change. | |||
2022-09-01 | Add a lifecycle method for manual theme item caching to Control | Yuri Sizov | |
2022-08-29 | Rename `CanvasItem.update()` to `queue_redraw()` | Micky | |
Affects a lot of classes. Very thoroughly checked signal connections and deferred calls to this method, add_do_method/add_undo_method calls, and so on. Also renames the internal `_update_callback()` to `_redraw_callback()` for consistency. Just a few comments have also been changed to say "redraw". In CPUParticles2D, there was a private variable with the same name. It has been renamed to `do_redraw`. | |||
2022-08-29 | Merge pull request #64119 from YuriSizov/theme-init-database | Rémi Verschelde | |
2022-08-27 | Rename `hint_tooltip` to `tooltip_text` & setget | Micky | |
`hint_tooltip` -> `tooltip_text` `set_tooltip` -> `set_tooltip_text` `_get_tooltip` -> `get_tooltip_text` Updates documentation, too. | |||
2022-08-26 | Add ThemeDB, expose previously static Theme methods | Yuri Sizov | |
2022-08-25 | Refactor and remove excessive calls of `NOTIFICATION_THEME_CHANGED` | Aaron Record | |
2022-08-24 | Disconnect Control from theme resources to avoid issues on destruction | Yuri Sizov | |
2022-08-23 | Add some codes, returnes directly if the value is not changed. | 风青山 | |
Avoid executing the following value-changed logics if the value does not really change. | |||
2022-08-22 | Replace Array return types with TypedArray | kobewi | |
2022-08-22 | Merge pull request #64339 from YuriSizov/core-multilevel-validate-property | Rémi Verschelde | |
2022-08-22 | Make `_validate_property` a multilevel method | Yuri Sizov | |
2022-08-19 | Replace meta properties with regular properties in `Control` | Yuri Sizov | |
2022-08-16 | Add methods for node reparenting | Tomasz Chabora | |
2022-08-12 | Add dumb theme item cache to Control | Yuri Sizov | |