summaryrefslogtreecommitdiff
path: root/scene/main
AgeCommit message (Collapse)Author
2022-02-22Fix invisible CanvasItem visibility issueMarkus Sauermann
2022-02-19Fix CanvasItem visibility propagationkobewi
2022-02-19Update variable name to reflect usageMarkus Sauermann
2022-02-19Merge pull request #58042 from Sauermann/fix-viewport-border-notificationsRémi Verschelde
Fix Viewport mouse enter+exit notifications
2022-02-17Change 'find_node' to 'find_nodes' and Add 'type' parameterdiddykonga
Changed 'find_node' to 'find_nodes' which now returns an 'TypedArray<Node>', as well as Added a 'type' parameter to match against specific node types, which supports inheritance.
2022-02-15Connect notifications from Container to ViewportMarkus Sauermann
mouse enter+exit
2022-02-15Use `switch` consistently in `_notification` (`scene` folder)Rémi Verschelde
2022-02-15Merge pull request #58147 from Geometror/fix-tooltip-flickerRémi Verschelde
2022-02-15Fix tooltip flickering in some casesHendrik Brucker
2022-02-15Added show and hide methods and updated doc API.Wagner Scholl Lemos
2022-02-12Merge pull request #56953 from bruvzg/ex_wndRémi Verschelde
2022-02-12Improve compilation speed (forward declarations/includes cleanup)Hendrik Brucker
2022-02-12Add exclusive window handling to DisplayServer (on macOS and Windows).bruvzg
2022-02-10Fix crash calling `_activate()` on ShaderGlobalsOverride out of treeRémi Verschelde
Fixes #45984.
2022-02-09[Net] Allow to use strings as method name in RPC.Fabio Alessandrelli
Node::rpc and Node::rpc_id will now also accepts Strings instead of only accepting StringNames.
2022-02-06Rework CanvasItem visibility propagationkobewi
2022-02-05Merge pull request #57646 from Faless/mp/4.x_interfacesRémi Verschelde
[Net] Move RPC, Node cache out of MultiplayerAPI.
2022-02-05Add visibility to CanvasLayerkobewi
2022-02-05[Net] Move RPC, Node cache out of MultiplayerAPI.Fabio Alessandrelli
Now uses two interfaces so it can be overridden in the future, and core no longer depends on Node. The interfaces are implements in scene/multiplayer. Replaces root_node with root_path. Remove all Node references from MultiplayerAPI.
2022-02-04Merge pull request #55950 from Faless/mp/4.x_replication_nodesRémi Verschelde
2022-02-04[Net] New replication interface, spawner and synchronizer nodes.Fabio Alessandrelli
Initial implementation of the MultiplayerReplicationInterface and its default implementation (SceneReplicationInterface). New MultiplayerSpawner node helps dealing with instantiation of scenes on remote peers (e.g. clients). It supports both custom spawns via a `_spawn_custom` virtual function, and optional auto-spawn of known scenes via a TypedArray<PackedScenes> property. New MultiplayerSynchornizer helps synchronizing states between the local and remote peers, supports both sync and spawn properties and is configured via a `SceneReplicationConfig` resource. It can also sync via path (i.e. without being spawned by a MultiplayerSpawner if both peers has it in tree, but will not send the spawn state in that case, only the sync one.
2022-02-04Merge pull request #57341 from bruvzg/win_multiwin_fsRémi Verschelde
2022-02-04[Windows] Add WS_BORDER flag to windows in WINDOW_MODE_FULLSCREEN mode to ↵bruvzg
allow multi-window interface in full-screen. [Windows] Add WINDOW_MODE_EXCLUSIVE_FULLSCREEN without WS_BORDER flag enabled (no multi-window support).
2022-02-04Cleanup and move char functions to the `char_utils.h` header.bruvzg
2022-02-04Merge pull request #57541 from reduz/node-add-remove-hookRémi Verschelde
2022-02-03Merge pull request #57517 from groud/viewport_expose_gui_focusRémi Verschelde
2022-02-02Merge pull request #56771 from mhilbrunner/unacceptableFabio Alessandrelli
Verify custom HTTP headers, fix off by one error
2022-02-02Add a signal to notify when children nodes enter or exit treereduz
-Allows more fine grained notifications (hence better performance) than using the global scene tree signals (node added and removed). -Required for #55950
2022-02-02Merge pull request #48156 from madmiraal/fix-46438Rémi Verschelde
Fix `mouse_over` not dropped when mouse leaves window
2022-02-02Vectors: Use clear() and has().Anilforextra
Use clear() instead of resize(0). Use has() instead of "find(p_val) != -1".
2022-02-01Fix mouse_over not dropped when mouse leaves windowMarcel Admiraal
2022-02-01Exposes gui_release_focus and gui_get_focus_owner to ViewportGilles Roudière
2022-01-27Verify custom HTTP headers, fix off by one errorMax Hilbrunner
2022-01-27HTTP comment cleanupMax Hilbrunner
2022-01-24[Net] Fix HTTPRequest memory leak in compressed responses.Fabio Alessandrelli
When accept_gzip = true.
2022-01-23Bring reusable variables out of while looprafallus
2022-01-23Fix mouse position not being scaled when window size is changedMarcel Admiraal
2022-01-21Fix main window title translation.bruvzg
2022-01-20Merge pull request #52134 from RandomShaper/fix_namingRémi Verschelde
2022-01-20Rename Variant::is_ref() to is_ref_counted()Pedro J. Estébanez
2022-01-20Merge pull request #56972 from lawnjelly/warn_unusedRémi Verschelde
2022-01-20Add nodiscard to core math classes to catch c++ errors.lawnjelly
A common source of errors is to call functions (such as round()) expecting them to work in place, but them actually being designed only to return the processed value. Not using the return value in this case in indicative of a bug, and can be flagged as a warning by using the [[nodiscard]] attribute.
2022-01-20Merge pull request #56957 from Pineapple/get-node-error-check-optimizationRémi Verschelde
Rework Node::get_node to omit is_absolute() check in best case scenario
2022-01-19Rework Node::get_node to omit is_absolute() check in best case scenarioBartłomiej T. Listwon
2022-01-19Merge pull request #56935 from V-Sekai/window_theme_changed_signalRémi Verschelde
2022-01-19Merge pull request #56825 from bruvzg/macos_fix_fullscr_multiwindowRémi Verschelde
2022-01-19Add missing 'theme_changed' signal to Window classSaracenOne
2022-01-18Window management improvements.bruvzg
[macOS] Fix transient windows not working in the full-screen mode. [macOS] Fix moving transient windows to the other screen than parent window. [macOS] Fix popup menu switch on hover. [macOS] Use content origin rect for windows position (to ensure `DS.mouse_get_position` is equal to `DS.window_get_position` + mouse position from the input events). [macOS] Fix incorrect input coordinates, when external display with different scaling in connected/disconnected. [macOS/Windows] Fix moving fullscreen windows between the screens. Add auto refocusing of the parent window, when the focused transient window is closed. Remove redundant `DS.mouse_get_absolute_position` function (returns mouse position in the screen coordinates, same as `DS.mouse_get_position`).
2022-01-17Allow embedded windows to be non-resizableMario Liebisch
This fixes issue #56869.
2022-01-16Replicate load-as-placeholder state on node duplicationHaoyu Qiu