Commit Graph
84195 Commits
Author SHA1 Message Date
Lukas Tenbrink 17cd7dbac7 Make it impossible to have more than one main thread.
(cherry picked from commit 2ff661cd8d9b229b6a8d0e64ccd9cb52e92c1315)
2026-07-30 11:26:19 -05:00
Lukas Tenbrink f9aa898e74 Add set_if_clear() and clear_if_set() to SafeFlag, to conditionally trigger the flag.
(cherry picked from commit 1f18494d0241169422ee1c7f4d104a35738e8ec3)
2026-07-30 11:26:19 -05:00
Thaddeus Crews 73635de7f9 Merge pull request #121759 from Faless/mbedtls/always_use_our_entropy
[4.7] mbedTLS: Always use Godot's OS as entropy source
2026-07-30 10:43:55 -05:00
Thaddeus Crews 8df813a09b Merge pull request #121722 from Repiteo/4.7.2-cherry-picks-1
[4.7] Cherry-picks for the 4.7 branch (future 4.7.2) - 1st batch
2026-07-27 16:06:32 -05:00
Hugo Locurcio 364304d372 Fix performance issues when moving the mouse with high polling rate on Windows
Co-authored-by: Pāvels Nadtočajevs <7645683+bruvzg@users.noreply.github.com>
Co-authored-by: Jon Tamayo <volsungn@gmail.com>
(cherry picked from commit 8caf6fd456ccdcc2cbfc3c8f2e601597911a1959)
2026-07-25 13:20:05 -05:00
jack-klein-5 dcabf2e4db Fix simultaneous shift release
Fixes #120217 where releasing both left and right shift keys
simultaneously would result in one of the shift keys not receiving the
KEYUP event. Previously an edge case was implemented that handled
shift key release with WM_INPUT for when a shift key was released while
the other was held. This change would handle all shift key release with
WM_INPUT instead of partially with WM_INPUT and partially with WM_KEYUP
for consistent handling.

(cherry picked from commit 1d9f732bc4cc1f71d39ea2c5c8d32e0025728dd9)
2026-07-25 13:20:05 -05:00
Komariarii 146e3be4a7 Move set zoom above script init
(cherry picked from commit 429a75ea78e6838c0138767eb708a6d367fd4792)
2026-07-25 13:19:52 -05:00
Thiago-Weiss f697eea0a4 Fix godot crash in SpriteFrames in the AnimatedSprite2D and 3D
(cherry picked from commit f03e744178d4dce8d607211e8c5cd8e123dcb5f5)
2026-07-25 13:19:51 -05:00
Cyklon_3000 e81a78b11d Fix error handling for negative values in RandomPCG::rand_weighted
(cherry picked from commit f80a9820afa420e08448213cbf89a3578b8109af)
2026-07-25 13:19:51 -05:00
XpolioN 2140b03695 fix: Fix Visual Profiler cursor not appearing when graph is partially filled
(cherry picked from commit 6443c2640cb2ef1fb6add9475743b4b4f34b4d6a)
2026-07-25 13:19:51 -05:00
AegisTTN 69309c0227 Fix GLTFDocument.import_object_model_property crash
(cherry picked from commit 3f4372917cacbd2afebf67448cad7f6c4f7160bd)
2026-07-25 13:19:51 -05:00
Anish Kumar 2618343165 Fix BaseButton input when enable_long_press_as_right_click is true
(cherry picked from commit 74a8b10a1cdbca20a71e9c32a6aa90d415e37668)
2026-07-25 13:19:51 -05:00
GabCoolGuy 8ef3779eed Fix incorrect freed autoload check
To check if an autoload was freed, it currently checks for `scene_file_path` by using `Node::is_instance()`, and not if it was actually freed or not. I fixed it by checking if the node is inside the tree, as a freed node cannot be inside the tree anyway.

This sometimes caused crashes when plugins handle their autoloads weirdly (e.g PhantomCamera), which this fixes.

(cherry picked from commit 6848ea595e91cf6a1d5dc4f88c964f8d1f6de178)
2026-07-25 13:19:50 -05:00
Pāvels Nadtočajevs 7627405336 [macOS] Fix initial window flags.
(cherry picked from commit 3f03764fffa04deac8cfb54ef4dc19b058fbacf5)
2026-07-25 13:19:50 -05:00
Shaderman b704c576e5 Fix use-after-free crash in TileSet atlas editor
(cherry picked from commit 5fc0d2d01439d87176126b607c06ea4326aea3f2)
2026-07-25 13:19:50 -05:00
TrueJole efd70f3e04 Add null checking to append_gltf_node
(cherry picked from commit 3078674600bcf971cde0f3e1abed65e65b18b593)
2026-07-25 13:19:50 -05:00
VewDev ad96f9d95f Editor: Fix autocomplete icon for CODE_COMPLETION_KIND_CLASS
(cherry picked from commit 3001c50acd5522e5580cf1295529af29b521342c)
2026-07-25 13:19:50 -05:00
Skyth 83713504e4 Fix PCSS shadows using shadow range begin in the wrong space.
(cherry picked from commit 5afc91103c4ba88c668b42a887742ea81ee6d009)
2026-07-25 13:19:49 -05:00
Sander Vanhove 1cb4bb5817 Fix peers stopping replication on deleting node they spawned
(cherry picked from commit 73c95baa5266edf7bf83804756bb740a28243dfe)
2026-07-25 13:19:49 -05:00
Claire Blackshaw c1bef1e2c4 [Render] Crash Fix use-after-return instance shader parameter lists
(cherry picked from commit 1b414da560e2d02f41b448d6c016eea032d38a89)
2026-07-25 13:19:49 -05:00
Skyth 1f04e42d85 Fix local billboard particles running copy twice.
Co-authored-by: Qbieshay <cislaghi.ilaria@gmail.com>
(cherry picked from commit 87535e8f99d43b531d874105578ff9f96b9d0fa0)
2026-07-25 13:19:49 -05:00
Fredia Huya-Kouadio 1edc952740 Fix issue causing the engine to crash when starting while the screen is off.
(cherry picked from commit dd94c2c5af4126b46ecc90fcd173c6e9513e52b7)
2026-07-25 13:19:49 -05:00
Dery Almas 53aaf6a0ef Wayland: Improve pointer contraining
(cherry picked from commit b258d76bf5faaf7c7a2f1c8018abf1906bd87e8e)
2026-07-25 13:19:48 -05:00
Pāvels Nadtočajevs 75c331b098 Update AccessKit to 0.22.3
(cherry picked from commit 98284a8f10b04631acc42953b9cc43434ee17ab2)
2026-07-25 11:39:49 -05:00
Aaron Franke 5bea0666b4 Fix more MSVC warnings for potential mod by 0 (C4724)
(cherry picked from commit 6f072b22896fee293b99100fd83d0b9e2a183058)
2026-07-25 11:39:49 -05:00
Thaddeus Crews 3095452b86 CI: Update all GitHub Actions to latest versions
(cherry picked from commit 0f005e708a1c2de5df21e52cd5ebf9dc34bbd5e4)
2026-07-25 11:39:31 -05:00
Fabio Alessandrelli 2feb964541 mbedTLS: Always use Godot's OS as entropy source
mbedTLS < 4 provides internal platform functions to seed the random
number generator with entropy from the OS.

Historically we have been relying on this when the mbedTLS module is
enabled, while we have been using the OS::get_entropy when building
without the module.

Given we had issues on some platform with the built-in implementation,
this commit forces the use of OS::get_entropy in all cases (module or
not).

This is already the case when using mbedTLS 4 (Godot 4.8+).
2026-07-25 10:19:08 +02:00
Thaddeus Crews c050c09b10 Bump version to 4.7.2-rc 2026-07-13 16:00:28 -05:00
Thaddeus Crews a13da4feb8 Bump version to 4.7.1-stable \o/
See the release page for details: https://godotengine.org/article/maintenance-release-godot-4-7-1/
2026-07-13 16:00:28 -05:00
Thaddeus Crews b2788f95a4 Add changelog for 4.7.1 2026-07-13 16:00:28 -05:00
Thaddeus Crews 07cb117920 Merge pull request #121331 from Repiteo/4.7.1-cherry-picks-3
[4.7] Cherry-picks for the 4.7 branch (future 4.7.1) - 4th batch
2026-07-13 12:54:08 -05:00
AegisTTN 60eb2824bd Fix crash in GLTFNode.get_scene_node_path
(cherry picked from commit c77ba84d6fee2dfcaa5fe0ece77ce1f687053acb)
2026-07-13 10:56:07 -05:00
Pāvels Nadtočajevs 1ba7fea71f Fix EditorContextMenuPluginManager crash in Project Manager.
(cherry picked from commit a2150f1efd8b92a2c72a6b3d40a4248ec1471546)
2026-07-13 10:56:07 -05:00
Bryce Hutchings f0da549104 commit to method ptr once to avoid corrupting another thread in certain race conditions
(cherry picked from commit bc5dee8f27de51c9f27ac8b886c1381d8f491a4f)
2026-07-13 10:56:07 -05:00
Anish Kumar 9722b3d6e9 Fix crash in org.godotengine.godot.GodotActivity.updatePiPParams
(cherry picked from commit 899de04acbb717f9cc55fe1dd42bc679372aa355)
2026-07-13 10:56:06 -05:00
Thaddeus Crews 61fe4ec801 Core: Fix MSVC compilation with Tracy
(cherry picked from commit 2aaa46b9d18ff42c315a32043274039b08b3448f)
2026-07-13 10:56:06 -05:00
Michael Alexsander 29c0132a5b Set the Asset Store's default sorting to highest scored
(cherry picked from commit 07ab13f08aa620bbb332553d581d42d3bf3b2067)
2026-07-13 10:56:06 -05:00
Thaddeus Crews 7eae03352a Merge pull request #121129 from bruvzg/47_mac_ver
[4.7] Update macOS/iOS min. versions in plist and exporter.
2026-07-10 10:32:13 -05:00
Thaddeus Crews 9a59ab148e Merge pull request #121140 from Repiteo/4.7-wrap-long-title
[4.7] Editor: Wrap Long Project Title
2026-07-10 09:32:41 -05:00
unit-tick 2575428deb Editor: Wrap Long Project Title
Wraps project titles above 800px (on 100% Editor Scale) to prevent
SideBar being pushed beyond Project Manager boundaries.

(cherry picked from commit bb1bd267b9b78acb31421d13eca0d3d996b72a3a)
2026-07-09 13:02:42 -05:00
Pāvels Nadtočajevs c237730200 [4.7] Update macOS/iOS min. versions in plist and exporter. 2026-07-09 12:02:07 +03:00
Thaddeus Crews d6096250e5 Merge pull request #121055 from Faless/mbedtls/3.6.7
[4.7] mbedtls: Update to 3.6.7
2026-07-07 18:58:40 -05:00
Thaddeus Crews 7b97b90e14 Merge pull request #120917 from Repiteo/4.7-cherry-picks-3
[4.7] Cherry-picks for the 4.7 branch (future 4.7.1) - 3rd batch
2026-07-07 18:57:38 -05:00
Fabio Alessandrelli 1de7e257ff mbedTLS: Update to 3.6.7 2026-07-07 19:50:36 +02:00
Fabio Alessandrelli 2254d70d71 Crypto: Tests for sign/verify, encrypt/decrypt, EC
(cherry picked from commit 8b3827a886f896f1617becdc48f3ed84a916e18b)
2026-07-07 18:09:03 +02:00
Fabio Alessandrelli 745094c9e7 Crypto: Add tests for AESContext
Consolidate core crypto tests under `tests/core/crypto`

(cherry picked from commit c9899fcf9d47b02070e4e6e928c348b3207f661b)
2026-07-07 18:07:59 +02:00
kobewi 1cc36e3afb Fix ownership issues when pasting as replacement
(cherry picked from commit 204249c9d6417576865a10a4d33d6bf953a2240a)
2026-07-04 11:03:33 -05:00
NoNormalDev 5c53faeeaa Clean up one statement using an already defined variable
(cherry picked from commit 59a32793d25035c1ae564741b9b9d59d41162ea3)
2026-07-04 11:03:33 -05:00
Aaron Franke 79c8c6a972 Guard against non-main-thread emission of EditorFileSystem changed signal
(cherry picked from commit 4f898b498fab5dc2691a88934be78b78698c6401)
2026-07-04 11:03:33 -05:00
Prawnya 11e511d477 Don't select floating script editor when using floating game workspace
(cherry picked from commit cddcc406d78e610f3c39692fd047399e5eefcf48)
2026-07-04 11:03:33 -05:00