summaryrefslogtreecommitdiff
path: root/scene
AgeCommit message (Collapse)Author
2022-02-08Merge pull request #57692 from YeldhamDev/popping_optionsRémi Verschelde
2022-02-08Merge pull request #40140 from hinlopen/tree-scroll-centerRémi Verschelde
2022-02-08Merge pull request #57796 from akien-mga/revert-sname-theme-settersRémi Verschelde
2022-02-08Merge pull request #57720 from akien-mga/prefer-cast-to-get_class-string-compareRémi Verschelde
2022-02-08Revert "Add missing SNAME macro optimization to all theme methods call"Rémi Verschelde
This reverts commit a988fad9a092053434545c32afae91ccbdfbe792. As discussed in #57725 and clarified in #57788, `SNAME` is not meant to be used everywhere but only in critical code paths. For theme methods specifically, it was by design that only getters use `SNAME` and not setters.
2022-02-08Refactor some object type checking code with `cast_to`Rémi Verschelde
Less stringly typed logic, and less String allocations and comparisons.
2022-02-08Fix RayCast{2,3}D.clear_exceptions clears parentHaoyu Qiu
2022-02-07Fix theming for floating window docksMichael Alexsander
2022-02-07Merge pull request #57741 from Chaosus/vs_fixesRémi Verschelde
2022-02-07Merge pull request #57725 from jmb462/missing-sname-theme-settersRémi Verschelde
2022-02-07Merge pull request #57684 from KoBeWi/todo_optimizeRémi Verschelde
2022-02-07Add some more fixes to visual shaderYuri Roubinsky
2022-02-06Make popups from `MenuButton`, `OptionButton`, and submenus obey the layout ↵Michael Alexsander
direction
2022-02-06Add missing SNAME macro optimization to all theme methods calljmb462
2022-02-06Merge pull request #57716 from Chaosus/vs_vector_3dRémi Verschelde
Rename `PORT_TYPE_VECTOR` to `PORT_TYPE_VECTOR_3D` in visual shaders
2022-02-06Merge pull request #57721 from YeldhamDev/separate_from_separatorsRémi Verschelde
Better handle icons and checkboxes with separators in `PopupMenu`
2022-02-06Better handle icons and checkboxes with separators in `PopupMenu`Michael Alexsander
2022-02-06Enhancements and fixes for `OptionButton` and `PopupMenu`Michael Alexsander
2022-02-06Rename `PORT_TYPE_VECTOR` to `PORT_TYPE_VECTOR_3D`Yuri Roubinsky
2022-02-06Add missing SNAME macro optimization in some function callsjmb462
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-05Merge pull request #48006 from KoBeWi/incognito_layerRémi Verschelde
Add visibility to CanvasLayer
2022-02-05Add visibility to CanvasLayerkobewi
2022-02-05Add shortcut_cell double click functionalityGer Hean
2022-02-05Center when scrolling to tree item.Stijn Hinlopen
2022-02-05Rework TextureButton stretchkobewi
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 #57562 from AnilBK/string-add-containsRémi Verschelde
String: Add contains().
2022-02-04String: Add contains().Anilforextra
2022-02-03Merge pull request #56992 from YeldhamDev/smarter_popmenu_focusRémi Verschelde
2022-02-03Merge pull request #56365 from aaronfranke/default-shape-sizeRémi Verschelde
2022-02-03Add auto-wrap mode property to the RichTextLabel, set default auto-wrap mode ↵bruvzg
to AUTOWRAP_WORD_SMART to match 3.x behavior.
2022-02-03Remove get_focus_owner() from Control, replaced by ↵Gilles Roudière
get_viewport()->gui_get_focus_owner()
2022-02-03Merge pull request #57517 from groud/viewport_expose_gui_focusRémi Verschelde
2022-02-02Merge pull request #57504 from Chaosus/vs_vector2Yuri Roubinsky
2022-02-02Merge pull request #56771 from mhilbrunner/unacceptableFabio Alessandrelli
Verify custom HTTP headers, fix off by one error
2022-02-02Add support for 2D vector type to visual shadersYuri Roubinsky
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-02[TextServer] Add function to change font, font size, and OpenType features ↵bruvzg
without invalidating line break points, justification points, or recreating shaped text buffer.
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