Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-01-16 | Merge pull request #69598 from Sauermann/fix-focus-inverse | Rémi Verschelde | |
Calculate the mouse focus inverse transform only when needed | |||
2023-01-16 | Add `WINDOW_FLAG_MOUSE_PASSTHROUGH` flag and enabled it for tooltips. Expose ↵ | bruvzg | |
`window_set_mouse_passthrough` to `Window`. | |||
2023-01-09 | Calculate the mouse focus inverse transform only when needed | Markus Sauermann | |
Revival of #49158 Co-authored-by: Marcel Admiraal <madmiraal@users.noreply.github.com> | |||
2023-01-08 | Use BitField<> in core type masks | Juan Linietsky | |
* 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. | |||
2023-01-07 | Add support for the custom initial screen for the main window, fix primary ↵ | bruvzg | |
screen detection. | |||
2023-01-06 | Merge pull request #68429 from KoBeWi/PropertySettings | Rémi Verschelde | |
Add PropertyInfo overload for GLOBAL_DEF | |||
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-29 | Add safety-checks before some servers `free()` | Adam Scott | |
2022-12-19 | Merge pull request #59682 from Sauermann/fix-following-viewport-transform | Rémi Verschelde | |
Include the follow-viewport-transform into CanvasLayer transform calculations | |||
2022-12-18 | Include the following-viewport-transform into CanvasLayer transforms | Markus Sauermann | |
The following-viewport-transform was missing from several calculations | |||
2022-12-11 | Add PropertyInfo overload for GLOBAL_DEF | kobewi | |
2022-11-30 | Fix routing of InputEventScreenDrag events to Control nodes | Fredia Huya-Kouadio | |
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-25 | Merge pull request #68447 from Grimmr/clean-tooltips-on-WM-focus-off | Rémi Verschelde | |
Viewport cancels existing tooltip when window looses focus | |||
2022-11-25 | Viewport cancels existing tooltip when window looses focus | grimmr | |
fixes #68197 when NOTIFICATION_WM_WINDOW_FOCUS_OUT is recieved by a viewport it will now call _gui_cancel_tooltip() to avoid it hanging around after the mouse events stop coming in | |||
2022-11-22 | Fix CanvasTransform on RenderingServer when Viewport enters Tree | Markus Sauermann | |
Previously the Viewport didn't initialize its canvas transform in the RenderingServer. | |||
2022-11-18 | Fixed _get_drag_data getting incorrect position on scaled controls | Uxeron | |
2022-11-14 | Remove redundant Variant-types initializations | Markus Sauermann | |
2022-11-14 | Merge pull request #68272 from Sauermann/fix-windowfocus-on-resize | Rémi Verschelde | |
Fix Windowfocus on resizing | |||
2022-11-14 | Drop physics mouseover as soon as the mouse moves over a Control | Markus Sauermann | |
2022-11-11 | Merge pull request #68418 from Sauermann/fix-escape-dnd | Rémi Verschelde | |
Allow canceling Drag and Drop with the Escape-Key | |||
2022-11-08 | Allow canceling Drag and Drop with the Escape-Key | Markus Sauermann | |
This patch implements the functionality to cancel Drag and Drop by using the escape key or more general, the ui_cancel action. Since this would be the third location, where the finalization of Drag and Drop would have to be implemented, that functionality was put into the private function _perform_drop. Simplified gui.drag_data.get_type() != Variant::NIL to gui.dragging because they are equivalent. | |||
2022-11-07 | Fix SubViewport with default size being pink | Markus Sauermann | |
A SubViewport with default-size doesn't display its content, but shows pink color, until it is resized. This patch makes sure, that the size gets set during initialization. | |||
2022-11-04 | Fix Windowfocus on resizing | Markus Sauermann | |
When resizing a non-focused window, the previously focused Window got resized. This patch grabs focus for the actually resized window, before starting with the resizing. | |||
2022-11-02 | Fixup Clang -Wtype-limits warnings introduced by #52350 | Rémi Verschelde | |
2022-11-02 | Fix Viewport root order after Node2D raise | Markus Sauermann | |
2022-11-02 | Merge pull request #52350 from BimDav/viewport_canvas_cull | Rémi Verschelde | |
Added Viewport canvas cull mask feature | |||
2022-10-31 | Viewport canvas cull mask feature | BimDav | |
Co-authored-by: Valentin Zagura <puthre@gmail.com> | |||
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 #67046 from Cykyrios/fix-invalid-tooltip-position | Rémi Verschelde | |
Fix invalid tooltip position | |||
2022-10-31 | Merge pull request #67445 from Zylann/rename_queue_delete | Rémi Verschelde | |
Rename queue_delete => queue_free | |||
2022-10-27 | Merge pull request #64710 from MinusKube/window-size-crash | Clay John | |
Prevent windows from having a size greater than device limit | |||
2022-10-24 | Rename queue_delete => queue_free | Marc Gilleron | |
# Conflicts: # editor/plugins/tiles/tiles_editor_plugin.cpp | |||
2022-10-24 | Remove unnecessary casts | Markus Sauermann | |
button_add_item and button_add are both Button p_parent is a Node3D CanvasItem can never be cast to Viewport | |||
2022-10-18 | Unify usage of GLOBAL/EDITOR_GET | kobewi | |
2022-10-15 | Expose Viewport::get_screen_transform to GDScript | Markus Sauermann | |
2022-10-14 | Always update Viewport's last_mosue_position | Markus Sauermann | |
When the mouse cursor is over a embedded Window, the Viewport's last_mouse_position did not get updated. This patch makes sure that the update happens on every InputEventMouse. Document canvas layer of embedded Windows. | |||
2022-10-07 | Fix invalid tooltip position | Cykyrios | |
2022-10-07 | Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵ | bruvzg | |
change warnings=all to use /W4. | |||
2022-10-04 | Merge pull request #66869 from Sauermann/fix-transform-det-0-spam | Rémi Verschelde | |
Fix Transform2D det == 0 spam for SubViewports | |||
2022-10-04 | Fix Transform2D det == 0 spam for SubViewports | Markus Sauermann | |
2022-10-04 | Make sure to reset the tooltip of its gui_parent when the viewport is removed | Rindbee | |
2022-10-02 | Allow shortcut input to be JoypadButton. | EricEzaM | |
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-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-14 | Fix XR rendering in 'opengl3' driver and expose true size via the Viewport node | David Snopek | |
2022-09-06 | Rename raise() to move_to_front() | kobewi | |
2022-09-04 | Prevent windows from having a size greater than device limit | MinusKube | |
2022-09-02 | Merge pull request #64735 from KoBeWi/viewportshifter | Rémi Verschelde | |