summaryrefslogtreecommitdiff
path: root/scene/main
AgeCommit message (Collapse)Author
2023-01-15Fix change_scene memory leak due to duplicate instantiationRémi Verschelde
Regression from #71105. Fixes #71363.
2023-01-13Improve dashed line alignment and make it optional.bruvzg
2023-01-13Merge pull request #71209 from bruvzg/ed_progress_reparentRémi Verschelde
Automatically reparent editor progress dialog to avoid error spam.
2023-01-11Merge pull request #71105 from reduz/unload-current-sceneRémi Verschelde
Add SceneTree.unload_current_scene()
2023-01-11Automatically reparent editor progress dialog to avoid error spam.bruvzg
2023-01-10Add SceneTree.unload_current_scene()Juan Linietsky
Provides an obvious way to unload the currently loaded scene (which is nowhere to be found in the docs). The SceneTree.change_scene_to() method must now always provide a valid PackedScene. Fixes #63565.
2023-01-10Add Node::get_window() method.bruvzg
2023-01-09Merge pull request #70863 from bruvzg/win_init_minRémi Verschelde
Set main window min. size via Window object instead of DisplayServer to preserve it during window updates.
2023-01-09Clarify some parent item checks in CanvasItemYuri Sizov
2023-01-08Use BitField<> in core type masksJuan Linietsky
* All core types masks are now correctly marked as bitfields. * The enum hacks in MouseButtonMask and many other types are gone. This ensures that binders to other languages non C++ can actually implement type safe bitmasks. * Most bitmask operations replaced by functions in BitField<> * Key is still a problem because its enum and mask at the same time. While it kind of works in C++, this most likely can't be implemented safely in other languages and will have to be changed at some point. Mostly left as-is. * Documentation and API dump updated to reflect bitfields in core types.
2023-01-07Merge pull request #70939 from bruvzg/win_screen_2Rémi Verschelde
Add support for the custom initial screen for the main window, fix primary screen detection.
2023-01-07Merge pull request #36301 from KoBeWi/daddy_nodeRémi Verschelde
Add reparent methods to Node
2023-01-07Add support for the custom initial screen for the main window, fix primary ↵bruvzg
screen detection.
2023-01-06Merge pull request #68429 from KoBeWi/PropertySettingsRémi Verschelde
Add PropertyInfo overload for GLOBAL_DEF
2023-01-05One Copyright Update to rule them allRémi Verschelde
As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
2023-01-03Merge pull request #70624 from bruvzg/cur_scRémi Verschelde
Improve `window_set_current_screen` and fix secondary window initial mode and positions.
2023-01-03Set main window min. size via Window object instead of DisplayServer to ↵bruvzg
preserve it during window updates.
2022-12-29Add safety-checks before some servers `free()`Adam Scott
2022-12-29Improve `window_set_current_screen` and fix secondary window initial mode ↵bruvzg
and positions.
2022-12-19Fix CanvasItem Z-index referring to Node2DAaron Franke
2022-12-19Merge pull request #70219 from bruvzg/msdf_outline_scalingRémi Verschelde
Scale MSDF font outline with the font size and MSDF source size to match dynamic font behavior.
2022-12-19Merge pull request #59682 from Sauermann/fix-following-viewport-transformRémi Verschelde
Include the follow-viewport-transform into CanvasLayer transform calculations
2022-12-18Include the following-viewport-transform into CanvasLayer transformsMarkus Sauermann
The following-viewport-transform was missing from several calculations
2022-12-17Scale MSDF font outline with the font size and MSDF source size to match ↵bruvzg
dynamic font behavior.
2022-12-17Merge pull request #70202 from ↵Rémi Verschelde
Calinou/viewport-transparent-background-rename-project-setting Move transparent background project setting to a subsection
2022-12-17Move transparent background project setting to a subsectionHugo Locurcio
This prevents the project setting from being located directly within a root category, which is confusing from an UX perspective in the project settings editor.
2022-12-16Merge pull request #70075 from Sauermann/fix-missing-shortcut-handled-checkRémi Verschelde
Fix missing check if shortcut event is handled for Control-nodes
2022-12-15Fix possible Tween leak on exitHaoyu Qiu
2022-12-14Fix missing check if shortcut event is handled for Control-nodesMarkus Sauermann
Control-nodes without a shortcut-context were missing a check if the event was handled, so that a single shortcut-event was passed to multiple Control-nodes.
2022-12-12Merge pull request #69718 from groud/finally_rename_gdnative_to_gdextensionRémi Verschelde
Rename all gdnative occurences to gdextension
2022-12-12Rename all gdnative occurences to gdextensionGilles Roudière
Non-exhaustive list of case-sensitive renames: GDExtension -> GDNative GDNATIVE -> GDEXTENSION gdextension -> gdnative ExtensionExtension ->Extension (for where there was GDNativeExtension) EXTENSION_EXTENSION ->EXTENSION (for where there was GDNATIVE_EXTENSION) gdnlib -> gdextension gdn_interface -> gde_interface gdni -> gde_interface
2022-12-11Add PropertyInfo overload for GLOBAL_DEFkobewi
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