summaryrefslogtreecommitdiff
path: root/scene/main
AgeCommit message (Collapse)Author
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-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()
2022-09-08Merge pull request #63596 from Jayman2000/issue-27640Rémi Verschelde
Rename `change_scene()` and `change_scene_to()`
2022-09-08Merge pull request #65460 from Faless/net/4.x_ssl_to_tls_moreRémi Verschelde
[Net] Rename "ssl" references to "tls" in methods and members.
2022-09-08[Net] Rename "ssl" references to "tls" in methods and members.Fabio Alessandrelli
2022-09-07Rename change_scene() and change_scene_to()Jason Yundt
Before this change, the SceneTree had methods named “change_scene” and “change_scene_to”. One of them accepted a String as a parameter and the other accepted a PackedScene, but you couldn’t tell which one was which just by looking at their names. This change renames those two methods to “change_scene_to_file” and “change_scene_to_packed”. These new names came from this suggestion [1]. These new names make the difference between the two methods more clear and hint at the fact that there’s more than one change_scene method. [1]: <https://github.com/godotengine/godot/issues/27640#issuecomment-1081870955> Fixes #27640.
2022-09-07Fix MOUSE_MODE_CAPTURED not working correctly with popupsMinusKube
2022-09-07Remove / Replace old Navigation Debug Visualizationsmix8
- removes / replaces leftovers from old navigation debug code - cleanes SceneTree and ProjectSettings from old navigation debug
2022-09-07Rename `legible_unique_name` param to `force_readable_name`Micky
With the introduction of Scene Unique Nodes, `is_unique_in_owner`, "Unique Name in Scene" and other descriptions related to the feature, the second parameter of add_child() and add_simbling() could be misunderstood to be related, at first glance.
2022-09-06Rename raise() to move_to_front()kobewi
2022-09-03Merge pull request #65285 from YuriSizov/window-theme-change-is-imminentRémi Verschelde
Un-defer the initial theme changed notification in `Window`