summaryrefslogtreecommitdiff
path: root/scene/main
AgeCommit message (Collapse)Author
2022-12-07Copy local theme overrides from Control to WindowYuri Sizov
2022-12-07Rename `window_get_real_size` to `window_get_size_with_decorations`, add ↵bruvzg
`window_get_position_with_decorations`.
2022-11-30Fix routing of InputEventScreenDrag events to Control nodesFredia Huya-Kouadio
2022-11-29Move z_index, z_as_relative and y_sort_enabled from Node2D to CanvasItemHendrik Brucker
2022-11-28Merge pull request #68874 from TokageItLab/fix-unique-path-keyingRémi Verschelde
Added option to `get_path_to()` to get the shortest path considering unique name
2022-11-28Merge pull request #68836 from ↵Rémi Verschelde
Calinou/projectsettings-vrs-texture-allow-more-formats Allow all lossless image formats to be used for VRS texture project setting
2022-11-28Merge pull request #59801 from Sauermann/fix-node2d-viewport-root-orderRémi Verschelde
Fix Viewport root order after Node2D raise
2022-11-27Revert "`SceneTree` Fix storing removed nodes to be skipped by the group calls"Rémi Verschelde
2022-11-25Merge pull request #68447 from Grimmr/clean-tooltips-on-WM-focus-offRémi Verschelde
Viewport cancels existing tooltip when window looses focus
2022-11-25Viewport cancels existing tooltip when window looses focusgrimmr
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-24Merge pull request #68566 from Mickeon/node-print-orphans-staticRémi Verschelde
Make `Node.print_orphan_nodes()` static
2022-11-23Merge pull request #68568 from Mickeon/node-parent-busy-errorRémi Verschelde
Update "Parent node is busy" errors to use `Callable.call_deferred()`
2022-11-23Update "Parent node is busy" errors to use `Callable.call_deferred()`Micky
Also fixes outdated method names in the messages.
2022-11-22Fix CanvasTransform on RenderingServer when Viewport enters TreeMarkus Sauermann
Previously the Viewport didn't initialize its canvas transform in the RenderingServer.
2022-11-20[Net] Fix HTTPRequest gzip with high compression ratio.Fabio Alessandrelli
Decompress each body chunk over multiple iterations, this causes more reallocations, but it ensures decompression will not fail no matter the compression ratio.
2022-11-19Add option to get_path_to() to get the shortest path with unique nameSilc Renew
2022-11-18Allow all lossless image formats to be used for VRS texture project settingHugo Locurcio
WebP can also be lossy, but the class reference now warns about the requirement to use a lossless format for the VRS texture to work correctly.
2022-11-18Fixed _get_drag_data getting incorrect position on scaled controlsUxeron
2022-11-16Merge pull request #68709 from MewPurPur/instance-begone-part3Rémi Verschelde
Remove more instances of 'instance' being used as a verb
2022-11-16Remove more instances of 'instance' being used as a verbVolTer
2022-11-15Fix crash of queue_free() when main loop is not SceneTreeHaoyu Qiu
2022-11-14Merge pull request #67831 from kleonc/scene-tree-fix-storing-removed-nodesRémi Verschelde
`SceneTree` Fix storing removed nodes to be skipped by the group calls
2022-11-14Merge pull request #68564 from Mickeon/node-no-remove-group-errorRémi Verschelde
Strip ERR_FAIL from `Node.remove_from_group()`
2022-11-14Remove redundant Variant-types initializationsMarkus Sauermann
2022-11-14Merge pull request #68272 from Sauermann/fix-windowfocus-on-resizeRémi Verschelde
Fix Windowfocus on resizing
2022-11-14Drop physics mouseover as soon as the mouse moves over a ControlMarkus Sauermann
2022-11-13Strip ERR_FAIL from `Node.remove_from_group()`Micky
Also simplifies group check removing unnecessary `!data.grouped.has`
2022-11-12Make `Node.print_orphan_nodes()` staticMicky
2022-11-11Merge pull request #68418 from Sauermann/fix-escape-dndRémi Verschelde
Allow canceling Drag and Drop with the Escape-Key
2022-11-08Allow canceling Drag and Drop with the Escape-KeyMarkus 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-07Fix SubViewport with default size being pinkMarkus 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-04Fix Windowfocus on resizingMarkus 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-02Fixup Clang -Wtype-limits warnings introduced by #52350Rémi Verschelde
2022-11-02Fix Viewport root order after Node2D raiseMarkus Sauermann
2022-11-02Merge pull request #67917 from Faless/mp/4.x_authRémi Verschelde
[MP] Add peer authentication support to the default MultiplayerAPI.
2022-11-02Merge pull request #52350 from BimDav/viewport_canvas_cullRémi Verschelde
Added Viewport canvas cull mask feature
2022-11-02[MP] Remove connection state signals from MultiplayerPeer.Fabio Alessandrelli
Now handled directly by the MultiplayerAPI implementation.
2022-11-02Merge pull request #59479 from Sauermann/fix-rootorder-on-layerchangeRémi Verschelde
Update root order on layer change
2022-11-01Merge pull request #67982 from Faless/mp/4.x_disconnect_closeFabio Alessandrelli
[MP] Add MultiplayerPeer disconnect_peer, close.
2022-10-31Viewport canvas cull mask featureBimDav
Co-authored-by: Valentin Zagura <puthre@gmail.com>
2022-10-31Merge pull request #67578 from KoBeWi/GEDITORRémi Verschelde
Unify usage of GLOBAL/EDITOR_GET
2022-10-31Merge pull request #67710 from KoBeWi/a_bit_local_global_transformRémi Verschelde
Remove error condition from get_global_transform()
2022-10-31Merge pull request #67588 from KoBeWi/if(!GDVIRTUAL_CALL)don'tRémi Verschelde
Simplify GDVIRTUAL_CALL calls
2022-10-31Merge pull request #67046 from Cykyrios/fix-invalid-tooltip-positionRémi Verschelde
Fix invalid tooltip position
2022-10-31Merge pull request #67445 from Zylann/rename_queue_deleteRémi Verschelde
Rename queue_delete => queue_free
2022-10-31Merge pull request #67467 from timothyqiu/who-ami-iRémi Verschelde
Fix get_path() error when calling get_node()
2022-10-28[MP] Add MultiplayerPeer disconnect_peer, close.Fabio Alessandrelli
Update ENet, WebRTC, and WebSocket to support peer disconnection and unify the close function.
2022-10-28Fix spacing of few PROPERTY_HINT_ENUM hint_stringsMicky
2022-10-27Merge pull request #64710 from MinusKube/window-size-crashClay John
Prevent windows from having a size greater than device limit
2022-10-27Merge pull request #67043 from clayjohn/clip_childrenClay John
Improve behaviour of clip_children by clipping to parent alpha value but still retaining parent color