summaryrefslogtreecommitdiff
path: root/scene/main
AgeCommit message (Collapse)Author
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
2022-10-27Merge pull request #67926 from Rindbee/fix_call_shortcut_inputClay John
Fix calling `_call_shortcut_input` on a node that has been removed
2022-10-27Merge pull request #67832 from Sauermann/fix-remove-unnecessary-castsClay John
Remove unnecessary casts
2022-10-27[MP] Let MultiplayerAPI handle packet relaying and peer signaling.Fabio Alessandrelli
MultiplayerPeer changes: - Adds is_server_relay_supported virtual method Informs the upper MultiplayerAPI layer if it can signal peers connected to the server to other clients, and perform packet relaying among them. - Adds get_packet_channel and get_packet_mode virtual methods Allows the MultiplayerAPI to retrieve the channel and transfer modes to use when relaying the last received packet. SceneMultiplayerPeer changes: - Implement peer signaling and packet relaying when the MultiplayerPeer advertise they are supported. ENet, WebRTC, WebSocket changes: - Removed custom code for relaying from WebSocket and ENet, and let it be handled by the upper layer. - Update WebRTC to split create_client, create_server, and create_mesh, with the latter behaving like the old initialize with "server_compatibility = false", and the first two supporting the upper layer relaying protocol.
2022-10-27Fix calling `_call_shortcut_input` on a node that has been removedRindbee
Nodes may have been deleted by shortcuts. For example, when switching scenes with `Ctrl` + `Tab` / `Ctrl` + `Shift` + `Tab`, some controls will be deleted and recreated.
2022-10-24Remove unnecessary castsMarkus Sauermann
button_add_item and button_add are both Button p_parent is a Node3D CanvasItem can never be cast to Viewport
2022-10-19Add methods to get target filter and repeatkobewi
2022-10-15Expose Viewport::get_screen_transform to GDScriptMarkus Sauermann
2022-10-14Rename pos -> index on NodeMiguel Gonzalez Sanchez
2022-10-14Implement multiple clip_children modes for CanvasItemsclayjohn
2022-10-14Always update Viewport's last_mosue_positionMarkus 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-13Merge pull request #67348 from Mickeon/salvage-a-dear-commentRémi Verschelde
Comment not to remove `data` structs in some Nodes
2022-10-13Comment not to remove `data` structs in some NodesMicky
2022-10-13Move 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-12Merge pull request #67232 from bruvzg/popup_editRémi Verschelde
Improve Popup / Window behavior in the edited scene tree.
2022-10-11Set window size after setting new limitsNikola Bunjevac
Otherwise this can fail as the size may not fit into current limits. This is problematic at least on X11.
2022-10-11Merge pull request #67104 from Calinou/add-viewport-transparent-project-settingRémi Verschelde
Add a project setting to make the root viewport transparent
2022-10-11Prevent `Popup`s it the edited scene tree from closing on focus loss. Hide ↵bruvzg
irrelevant `Popup` flags from the editor inspector.
2022-10-10Fix node name casing issueskobewi
Co-authored-by: ryburnj <jordanryburn@gmail.com>
2022-10-09Add a project setting to make the root viewport transparentHugo Locurcio
This allows recording videos with a transparent background without having to create a script.
2022-10-07Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg
change warnings=all to use /W4.
2022-10-04Merge pull request #66869 from Sauermann/fix-transform-det-0-spamRémi Verschelde
Fix Transform2D det == 0 spam for SubViewports
2022-10-04Fix Transform2D det == 0 spam for SubViewportsMarkus Sauermann
2022-10-04Merge pull request #66712 from Cykyrios/fix-invalid-popup-positionRémi Verschelde
Fix invalid popup position for embedded popups
2022-10-04Merge pull request #66859 from Rindbee/reset-gui_parentRémi Verschelde
Make sure to reset the tooltip of its gui_parent when the viewport is removed
2022-10-04Make sure to reset the tooltip of its gui_parent when the viewport is removedRindbee
2022-10-03Fix invalid popup position for embedded popupsCykyrios
2022-10-03Unix: Remove now unnecessary I/O defines, cleanupRémi Verschelde
- `LIBC_FILEIO_ENABLED` wasn't defined anywhere, even in _other platforms_. - `NO_NETWORK` is also never defined. It probably isn't enough anyway to disable network APIs in the current codebase. - `UNIX_SOCKET_UNAVAILABLE` is never defined in this code but used by some other platforms, clarify that. - `NO_STATVFS` can be removed as Android supports it since API level 19, which is our current min SDK level. It's also only used for `DirAccessUnix::get_space_left()` which is anyway overridden by `DirAccessJAndroid::get_space_left()` so it shouldn't make a difference. * Fixed documentation for `DirAccess.get_space_left()`. - `NO_FCNTL` is likely also a remnant of early Android days, in current NDK r23 it seems to be available. Also cleaned up unused `fcntl.h` includes. - `NO_ALLOCA` is never defined, and we use alloca in many places now.
2022-10-02Allow shortcut input to be JoypadButton.EricEzaM
2022-09-28Merge pull request #58995 from Sauermann/fix-mouse-cursor-change-2Rémi Verschelde
Update mouse cursor shape after changes
2022-09-27Merge pull request #66160 from dpalais/double_timeRémi Verschelde
Use double instead of real_t type for time-related parameters and variables
2022-09-26Change time parameters and variables to double typeDave Palais
Addresses #65313
2022-09-26Force window position if spawned outside screenkobewi
2022-09-22[macOS extend-to-title] Add scene/project name to the editor title, fix ↵bruvzg
incorrect window button position/order when system primary language is RTL.
2022-09-20Merge pull request #63740 from Faless/net/4.x_http_request_decompressRémi Verschelde
[HTTP] Implement streaming decompression.
2022-09-20[HTTPRequest] Cleanup, refactor deferred call.Fabio Alessandrelli
2022-09-20[HTTPRequest] Body streaming decompresison.Fabio Alessandrelli
Using a StreamPeerGZIP (which acts as a ringbuffer).
2022-09-19Change return type of `get_configuration_warnings` to `PackedStringArray`Marc Gilleron
2022-09-18Update mouse cursor shape after changesMarkus Sauermann
This fixes some cases where the mouse cursor shape did not change automatically, but instead required a MouseMove to update.
2022-09-16Merge pull request #65496 from MinusKube/popup-capture-mouse-bugRémi Verschelde
Fix MOUSE_MODE_CAPTURED not working correctly with popups
2022-09-16Merge pull request #65550 from MinusKube/small-popup-bugRémi Verschelde
Use embedding viewport instead of parent viewport to determine popup rect
2022-09-14Fix XR rendering in 'opengl3' driver and expose true size via the Viewport nodeDavid Snopek
2022-09-11Add ability to flag classes as experimental or deprecated.SaracenOne
2022-09-10Merge pull request #65595 from KoBeWi/minus_childrenRémi Verschelde
Allow negative indices in `move_child()`
2022-09-10Allow negative indices in move_child()kobewi
2022-09-09Remove Remove and SkipVolTer
2022-09-09Use embedding viewport instead of parent viewport to determine popup rectMinusKube
2022-09-08Merge pull request #60108 from KoBeWi/arise_to_topRémi Verschelde
Rename raise() to move_to_front()