summaryrefslogtreecommitdiff
path: root/scene/main
AgeCommit message (Collapse)Author
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
2022-01-12Refactor CanvasItem show/hide/set_visibleStijn Hinlopen
2022-01-11Merge pull request #56667 from Ice-Cube69/fix_incorrect_property_typesRémi Verschelde
2022-01-11Fixed incorrect property typesArnav Vijaywargiya
2022-01-11Merge pull request #56322 from madmiraal/fix-42450Rémi Verschelde
2022-01-09Fix Tween pause behaviorkobewi
2022-01-07Merge pull request #53419 from TechnoPorg/rework-subwindowsRémi Verschelde
2022-01-06Update the minimum size of ViewportContainerTomasz Chabora
2022-01-05Clear only owners that are no longer in the same treePedro J. Estébanez
2022-01-05Merge pull request #55512 from RandomShaper/better_node_deleteRémi Verschelde
2022-01-04Merge pull request #56305 from Calinou/rename-lod-thresholdRémi Verschelde
2022-01-04Merge pull request #54987 from KoBeWi/@@Node2D@@69@@420@@@Rémi Verschelde
2022-01-04Merge pull request #51206 from clayjohn/Vulkan-ASSGIRémi Verschelde
2022-01-03Update copyright statements to 2022Rémi Verschelde
Happy new year to the wonderful Godot community!
2021-12-29Rename speed to velocity when it's a directional VectorMarcel Admiraal
2021-12-29Rename Lod Threshold to Mesh Lod ThresholdHugo Locurcio
This makes it more obvious that the setting only affects mesh LOD, not manual (H)LOD achieved using visibility ranges.
2021-12-17add 2d scale factor propertyAnsraer
2021-12-16Merge pull request #55747 from timothyqiu/editor-proxyFabio Alessandrelli
Add proxy support for the editor
2021-12-13Added check for SceneTree being nullvitika9
2021-12-12Fix bad mouse offset to show tooltips in Treejmb462
2021-12-09Replace String comparisons with "", String() to is_empty()Nathan Franke
Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
2021-12-09align to horizontal_alignment, valign to vertical_alignment, relatedNathan Franke
2021-12-09Add proxy support for the editorHaoyu Qiu
* Adds proxy support for `HTTPRequest`. * Adds `network/http_proxy/{host,port}` editor settings. * Labeled as "HTTP Proxy" and it will be used for both HTTP and HTTPS requests. This is the same convention as seen in Android Studio's proxy settings. * Makes Asset Library and Export Template Manager use proxy according to the editor settings.
2021-12-06Merge pull request #55659 from timothyqiu/boomRémi Verschelde
Fix crash when `update()` is called inside `_draw()`
2021-12-06Fix bad popups offset in editor with single window offjmb462
Co-authored-by: Gil Arasa Verge <gilarasaverge@gmail.com> Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2021-12-06Fix crash when update() is called inside _draw()Haoyu Qiu
2021-12-03Fix mouse cursor and notification for force draggingHaoyu Qiu
2021-12-01Rationalize Node removals and deletionsPedro J. Estébanez
- Regarding preservation of owner, `free()` and `remove_child()` now behave the same: owner is kept during `tree_exiting` signal and `null` during `tree_exited`. - `tree_exited` is emitted in the same order as `tree_exiting`. - Superfluous code to handle cancelation of ownership is removed.
2021-11-30Merge pull request #55486 from nekomatata/physics-contacts-debugRémi Verschelde
2021-11-30Fix physics 2D/3D contact points renderingPouleyKetchoupp
Physics internal process was removed by mistake, it's needed for contact points to be updated each frame. Fixed some multimesh parameters to allow 3D contact points to be drawn, although it's still not working well in 3D as only some of the contact points are drawn, and some of them keep being drawn when the number of visible instances drops to 0 instead of hiding them all.
2021-11-29Don't obtain a reference to a subwindowTechnoPorg
Fixes the wrong location being accessed after changing the order of embedded windows. This commit also removes an unused variable.
2021-11-29Don't show tooltips for paused controlskobewi
2021-11-25Merge pull request #52387 from Calinou/node-rename-path-changed-notificationMax Hilbrunner
Rename Node's `NOTIFICATION_PATH_CHANGED` to `NOTIFICATION_PATH_RENAMED`
2021-11-24Merge pull request #51679 from Je06jm/fsrRémi Verschelde
AMD FidelityFX Super Resolution
2021-11-23Rename `remove()` to `remove_at()` when removing by indexLightning_A