Commit Graph

83555 Commits

Author SHA1 Message Date
Thaddeus Crews 599f2bd5b9 Merge pull request #118824 from hpvb/fix-118085
Fix a race in `ResourceLoader::load_threaded_request()`
2026-05-06 14:56:33 -05:00
Thaddeus Crews b786c890b6 Merge pull request #119252 from deralmas/wl/embedder-mods
Wayland Embedder: Track keyboard modifier keys
2026-05-06 14:56:32 -05:00
Thaddeus Crews bc3bc82706 Merge pull request #119210 from dalexeev/gds-compat-get-property-list
GDScript: Preserve compatibility for untyped return of `_get_property_list()`
2026-05-06 14:56:31 -05:00
Thaddeus Crews 05168e359c Merge pull request #119231 from Calinou/virtualjoystick-fix-joystick-tip-size-errors
Fix error spam when changing VirtualJoystick's Joystick Size or Tip Size
2026-05-06 14:56:31 -05:00
Thaddeus Crews 8699d855f7 Merge pull request #117846 from YeldhamDev/layout_dialog_fixes
Fix and improve the editor layout dialog
2026-05-06 14:56:30 -05:00
Thaddeus Crews a9de7afd05 Merge pull request #119218 from Goldenlion5648/fix-input-binding-bugs
Fix bugs with editing enter key shortcuts
2026-05-06 14:56:30 -05:00
Thaddeus Crews bd4003e581 Merge pull request #119173 from kleonc/tile_set_editor_terrain_icon_show_raw_color
Fix `TileSet` editor terrain preview icons in paint mode
2026-05-06 14:56:29 -05:00
Thaddeus Crews b6a10ee02b Merge pull request #119200 from Akosmo/fix-resource-picker-tooltip
Fix Resource picker tooltip text
2026-05-06 14:56:28 -05:00
Thaddeus Crews fddd45ea1c Merge pull request #119091 from ArchercatNEO/context-driver-surface-supports-hdr
HDR: Implement checking if surface supports HDR output.
2026-05-06 14:56:27 -05:00
ArchercatNEO 3f29efc8a2 HDR: Implement surface supports HDR output.
Previously the Wayland display server would attempt to enable
HDR output and try to detect if it failed afterwards which had some issues.
Now we can query the rendering driver for support and avoid ever enabling
HDR output when this would fail.
2026-05-06 19:51:54 +01:00
Thaddeus Crews 314bbd21a9 Merge pull request #119237 from Calinou/vulkan-improve-errors
Improve Vulkan error messages to be more user-friendly
2026-05-06 10:53:37 -05:00
Thaddeus Crews f8b84e0962 Merge pull request #119273 from syntaxerror247/more-devices
Refresh Android instrumented test devices
2026-05-06 10:53:37 -05:00
Thaddeus Crews ee959388f9 Merge pull request #119244 from calbebop/test-reference-rect
Add unit tests for `ReferenceRect`
2026-05-06 10:53:36 -05:00
Thaddeus Crews d0d34287f8 Merge pull request #119251 from SorkoPiko/fix/color-picker-warning-nonmac-visibility
Fix color picker permission box being visible on non-MacOS platforms
2026-05-06 10:53:36 -05:00
Thaddeus Crews 0067214c1e Merge pull request #119226 from dsnopek/openxr-foveation-subsampled-fixes
OpenXR: Fix composition layers with Vulkan subsampled images
2026-05-06 10:53:35 -05:00
Thaddeus Crews cb490e6e23 Merge pull request #119172 from syntaxerror247/gabe-ready-for-release
Remove experimental warning from `Use Gradle Build` option on Android
2026-05-06 10:53:35 -05:00
Thaddeus Crews 952d4860b2 Merge pull request #119278 from bruvzg/win2019_fx
[Windows] Force supported SDK with MSVC 2019, add Scons option to set SDK version.
2026-05-06 10:53:35 -05:00
Thaddeus Crews d8d45b8efa Merge pull request #119265 from DeeJayLSP/editor-property-size-flags-no-j
Remove unused loop counter from `EditorPropertySizeFlags::setup()`
2026-05-06 10:53:34 -05:00
Thaddeus Crews aaa63588f6 Merge pull request #119274 from bruvzg/exp_over
Fix incorrect feature overrides when exporting for Linux.
2026-05-06 10:53:34 -05:00
Thaddeus Crews efd7478385 Merge pull request #119259 from blueskythlikesclouds/shader-baker-crash-fix
Fix crash when baking shaders for D3D12 from Vulkan.
2026-05-06 10:53:33 -05:00
Thaddeus Crews 28bbccc483 Merge pull request #119258 from Calinou/editor-resource-save-improve-errors-i18n
Fix error names not being localized in editor resource saving error dialog
2026-05-06 10:53:33 -05:00
Thaddeus Crews 3033644920 Merge pull request #119254 from Ivorforce/casts-are-so-4.6
Deprecate GDExtension's `object_cast_to` and `classdb_get_class_tag`, in favour of `is_class` casts.
2026-05-06 10:53:32 -05:00
Thaddeus Crews a99bf0622c Merge pull request #119106 from 3ter/add-physics-interpolation-warning-to-class-ref-method-reparent
Add warning for physics interpolation when reparenting nodes
2026-05-06 10:53:32 -05:00
Pāvels Nadtočajevs 6e9d66d923 [Windows] Force supported SDK with MSVC 2019, add option Scons option to set SDK version. 2026-05-06 15:01:34 +03:00
Anish Kumar 9ecaf9307f Remove experimental warning from Use Gradle Build option on Android 2026-05-06 17:23:31 +05:30
Pāvels Nadtočajevs 873131973a Fix incorrect feature overrides when exporting for Linux. 2026-05-06 10:23:18 +03:00
Anish Kumar 0d09a09515 Refresh Android instrumented test devices 2026-05-06 12:09:02 +05:30
3ter ed2a094bda Add warning to reparent class reference 2026-05-06 07:07:08 +02:00
DeeJayLSP 995d280a1e Remove unused loop counter from EditorPropertySizeFlags::setup() 2026-05-05 20:42:31 -03:00
CalBebop 95811f6286 Add unit tests for ReferenceRect 2026-05-05 17:19:24 -05:00
Hugo Locurcio f2fc4473f0 Improve Vulkan error messages to be more user-friendly
- Mention that error codes are VkResult error codes
  (as opposed to Godot error codes).
- Mention passed values in more cases to help troubleshooting.
- Mention common causes of "Vulkan device lost" in crash message.
- Use consistent style across all errors.
2026-05-05 23:47:26 +02:00
Lukas Tenbrink 7c8df516ba Deprecate object_cast_to and classdb_get_class_tag, in favour of is_class. 2026-05-05 21:44:22 +02:00
Skyth ff64ee4f60 Fix crash when baking shaders for D3D12 from Vulkan. 2026-05-05 20:45:06 +03:00
Hugo Locurcio 425724aa86 Fix error names not being localized in editor resource saving error dialog 2026-05-05 18:06:25 +02:00
Thaddeus Crews 1f012286cf Merge pull request #119154 from kitbdev/fix-shader-editor-focus
Only focus the shader editor when directly opened
2026-05-05 10:30:07 -05:00
Thaddeus Crews 0481160701 Merge pull request #118878 from KoBeWi/gud_get
Fix wrong `_get()` code in class reference
2026-05-05 10:30:06 -05:00
Thaddeus Crews 83e42d041d Merge pull request #119126 from YeldhamDev/assetlib_version_fixes
Fix version querying problems in the asset store
2026-05-05 10:30:05 -05:00
Thaddeus Crews 9f30b78b98 Merge pull request #119222 from Calinou/doc-vector-distance-euclidean
Clarify that Vector `distance_to()` uses Euclidean distance
2026-05-05 10:30:05 -05:00
Thaddeus Crews d39dc7eb08 Merge pull request #118879 from KoBeWi/root_keeper
Fix Paste as Replacement replacing root
2026-05-05 10:30:04 -05:00
Thaddeus Crews 9345fd7ab2 Merge pull request #119239 from Calinou/editor-resource-save-improve-errors
Improve error messages when trying to save invalid resources in the editor
2026-05-05 10:30:03 -05:00
Thaddeus Crews 3646d97322 Merge pull request #119233 from syntaxerror247/signals-regression
Fix Android plugin issues
2026-05-05 10:30:03 -05:00
Thaddeus Crews 9d2246cb11 Merge pull request #119212 from blueskythlikesclouds/d3d12-fix-msaa-subpass-resolve
Fix subpass MSAA resolves with multiple layers not working on D3D12.
2026-05-05 10:30:02 -05:00
Thaddeus Crews d5d3a200df Merge pull request #119130 from leandro-benedet-garcia/queued_for_deletion-docs-fix
Clarify when `is_queued_for_deletion` returns true and added mention to `SceneTree.queue_delete`.
2026-05-05 10:30:02 -05:00
Thaddeus Crews 4a5321b5a7 Merge pull request #119168 from suhankins/better-dynamic-compression-error-message
Add better error message when trying to decompress ZSTD with `decompress_dynamic`
2026-05-05 10:30:01 -05:00
Anish Kumar 7338c3475b Fix Android plugin regression 2026-05-05 20:17:57 +05:30
Anish Kumar d8cfa71eaf Add tests to validate Android plugin signal 2026-05-05 20:17:57 +05:30
HP van Braam f63ab5fbd9 Fix a race in ResourceLoader::load_threaded_request()
When multiple threads try to load the same sub-resource the
ResourceLoader's anti-deadlock protection thinks that the other threads
loading the dependency are old threads blocked on a dependency.

The current thread will then immediately start to load the sub-resource
since they can't wait for it. This can then lead to multiple threads
loading the same resource concurrently.

We fix the problem by recording in the task when loading has ACTUALLY
started, and if so we simply wait.

This is no worse than before, at the point where we are waiting now we
previously re-started the load entirely.

Tested by running the MRP from the below issue (with and without asan
and msan), and loading and running various public and private Godot
projects.

This also fixes a use-after-free on resource_changed_connections when
multiple threads end up running the same import. This is a pre-existing
bug but this code widened the race window.

This also fixes a pre-existing memory leak in load_threaded_request,
when the user calls the function we capture the Ref<LoadToken> but
immediately drop the ref. Causing the refcount to go to 1. Later in
_run_load_task we unreference manually, bringing the refcount to 0. This
then later prevents the Ref<> from memdeleting the LoadToken.

This fixes #118085
2026-05-05 15:11:05 +02:00
SorkoPiko bcf4593bb8 fix: ensure color picker permission box is initially hidden 2026-05-05 21:07:25 +10:00
Dery Almas ef5a2569e7 Wayland Embedder: Track keyboard modifier keys
The Wayland spec says:

> The compositor must send the wl_keyboard.modifiers event after this
event.

We did not during "fake" focus changes (e.g. from/to embedded
applications), effectively resetting the modifier state.

This patch simply tracks keyboard modifiers and informs clients whenever
we send custom enter events.
2026-05-05 12:49:26 +02:00
Danil Alexeev 30f2a30f9b GDScript: Preserve compatibility for untyped return of _get_property_list() 2026-05-05 10:47:07 +03:00