Commit graph

13268 commits

Author SHA1 Message Date
Thaddeus Crews
657d06a8f3
Merge pull request #115305 from jrouwe/115169_v3
Jolt Physics: Rework how gravity is applied to dynamic bodies to prevent energy increase on elastic collisions
2026-01-26 15:01:56 -06:00
Thaddeus Crews
8a9e559008
Merge pull request #114655 from HolonProduction/gdscript/back-to-the-roots
GDScript: Only move root scripts in cache
2026-01-26 15:01:53 -06:00
Thaddeus Crews
5c31213797
Merge pull request #114620 from HolonProduction/gdscript/its-OK-to-be-not-OK
GDScript: Don't return wrong result for already completed solving state
2026-01-26 15:01:50 -06:00
Thaddeus Crews
b1e863f363
Merge pull request #115194 from YeldhamDev/snapshot_resource_fix
Check if a resource from a snapshot exists before loading it
2026-01-26 13:14:36 -06:00
Thaddeus Crews
032f5bea89
Merge pull request #115302 from cdemirer/fix-super-at-end-error-messages
GDScript: Push multiline at the correct time when parsing `super`
2026-01-26 13:14:30 -06:00
Thaddeus Crews
982eaef37d
Merge pull request #115278 from MattiaZir/fix-while-null-node-condition
Parser: Fix "trying to resolve type of null node" when missing condition.
2026-01-26 13:14:25 -06:00
Thaddeus Crews
f5d21bfa9c
Merge pull request #113228 from dalexeev/gds-improve-const-eval-array-dict
GDScript: Improve evaluation of constant expressions with arrays/dictionaries
2026-01-26 13:14:24 -06:00
Thaddeus Crews
5173422b1e
Merge pull request #115364 from mihe/jolt/limit-body-activation
Fix transform updates sometimes being discarded when using Jolt
2026-01-26 13:14:19 -06:00
Thaddeus Crews
013fffa10d
Merge pull request #114834 from Faless/net/enet/dtls_memory_management
ENet: Fix DTLS server leaking peers
2026-01-26 13:14:16 -06:00
Thaddeus Crews
e093c96688
Merge pull request #114951 from LanzaSchneider/fix-gdscript-lsp-tests-link-error
Fix GDScript LSP test link errors when `websocket` is disabled
2026-01-26 13:14:14 -06:00
Mattia Zirpoli
372c522ce1 Parser: Fix "trying to resolve type of null node" when missing condition. 2026-01-26 18:14:50 +01:00
Rémi Verschelde
6b441ab6a4
Bump version to 4.7-dev 2026-01-26 17:40:46 +01:00
Mikael Hermansson
e7cf2f42cc Fix transform updates sometimes being discarded when using Jolt
Co-authored-by: Jorrit Rouwe <jrouwe@gmail.com>
2026-01-25 16:44:08 +01:00
Jorrit Rouwe
be27d23116 Jolt Physics: Reworked how gravity is applied to dynamic bodies to prevent energy increase on elastic collisions 2026-01-23 20:08:05 +01:00
cdemirer
3694d22db3 Push multiline at the correct time when parsing super 2026-01-23 17:15:29 +03:00
Raul Santos
46436c1278
Hide signals prefixed by underscore 2026-01-21 02:56:28 +01:00
Michael Alexsander
b658e6824c
Check if a resource from a snapshot exists before loading it 2026-01-20 18:12:48 -03:00
Fredia Huya-Kouadio
7bebe1b1b1 Fix XR build regression reported in https://github.com/GodotVR/godot_openxr_vendors/issues/429 2026-01-19 19:09:33 -08:00
Bastiaan Olij
998c876f36 OpenXR: Allow setting a specific version of OpenXR to initialize. 2026-01-19 20:41:37 +11:00
LanzaSchneider
3ad42d859e Fix: GDScript LSP test compilation condition 2026-01-15 21:27:27 +08:00
Bastiaan Olij
34a0ab7de4 OpenXR: change profile name for Valve Frame Controller 2026-01-15 07:52:29 +11:00
Rémi Verschelde
4ae6057987
Merge pull request #114659 from aaronfranke/default-naming-version-to-latest
Default 3D model importer naming versions to the latest version
2026-01-13 11:06:15 +01:00
Rémi Verschelde
ddda31d363
Merge pull request #114253 from Calinou/doc-regex-create-from-string
Document `RegEx.create_from_string()` in RegEx class description
2026-01-13 11:06:05 +01:00
Rémi Verschelde
8d69b6b89e
Merge pull request #114801 from HolonProduction/gdscrip/explicit-leak
GDScript: Don't clean up other scripts
2026-01-13 00:08:53 +01:00
Danil Alexeev
6d06b3a7d6
GDScript: Improve evaluation of constant expressions with arrays/dictionaries 2026-01-12 11:59:38 +03:00
Rémi Verschelde
e9bb99a3bb
Merge pull request #114839 from akien-mga/basisu-no-strict-aliasing
BasisUniversal: Disable strict aliasing to fix GCC optimization issue
2026-01-11 08:44:28 +01:00
Rémi Verschelde
ab6bbf1c59
Merge pull request #114742 from kleonc/tile_navigation_preserve_winding_order
Preserve winding order for transformed tiles' navigation polygons
2026-01-10 23:48:16 +01:00
Rémi Verschelde
16daea3622
BasisUniversal: Disable strict aliasing to fix GCC optimization issue
This is flagged by upstream as something important in `basisu.h`.
And indeed, we've now seen why with a regression appearing with mingw-gcc 15.

Fixes #114803.
2026-01-10 23:15:22 +01:00
Fabio Alessandrelli
d4f06d4983 ENet: Fix DTLS server leaking peers
Our DTLS ENet implementation has always been quite hacky and
experimental since ENet itself lacks a proper API for DTLS.

This commit adds two more DTLS methods to our builtin ENet to allow
peer-connections lifecycle management for the DTLS server.

This means the DTLS server is now notified (by our module) when ENet
accepts or disconnects a peer, allowing it to handle timeouts and
higher-level disconnections.
2026-01-10 18:35:34 +01:00
Rémi Verschelde
2d0a589777
Merge pull request #114808 from dalexeev/core-fix-implicit-conv-in-container-type-validate
Core: Fix implicit conversions in `ContainerTypeValidate`
2026-01-09 22:57:20 +01:00
Rémi Verschelde
dc19eb6ed8
Merge pull request #114791 from HolonProduction/lsp/reuse-stale-parsers-in-request
LSP: Reuse stale parsers in request
2026-01-09 22:57:15 +01:00
Rémi Verschelde
2a67a76f92
Merge pull request #114697 from brycehutchings/bryceh_fix_depth_view_dropped
Fix OpenXR depth submission data dropped
2026-01-09 22:57:07 +01:00
Bryce Hutchings
14b6ca17fe Fix 'depth_views' dropped from 'next' chain 2026-01-09 12:51:01 -08:00
Danil Alexeev
37f09e579e
Core: Fix implicit conversions in ContainerTypeValidate 2026-01-09 22:54:08 +03:00
HolonProduction
970aeae3a0 GDScript: Don't cleanup other scripts 2026-01-09 17:38:52 +01:00
HolonProduction
9d90a6794c LSP: Reuse stale parsers in request 2026-01-09 15:45:18 +01:00
kleonc
5a275eae38 Preserve winding order for transformed tiles' navigation polygons 2026-01-08 19:41:56 +01:00
Rémi Verschelde
dfbb272bd7
Merge pull request #114695 from HolonProduction/gdscript/cache-errored-script
GDScript: Cache invalid scripts
2026-01-08 15:17:08 +01:00
HolonProduction
ae68ee4940 GDScript: Cache invalid scripts 2026-01-07 18:16:26 +01:00
Rémi Verschelde
b94ca9b0bc
Merge pull request #114665 from YeldhamDev/objectdb_theme_fix
Fix theming issues with the ObjectDB profiler
2026-01-07 01:42:17 +01:00
Rémi Verschelde
9009a6636c
Merge pull request #114366 from KoBeWi/uh
Add EditorDock's own DockSlot enum
2026-01-07 01:41:50 +01:00
Michael Alexsander
ce648d13e3
Fix theming issues with the ObjectDB profiler 2026-01-06 20:19:57 -03:00
Aaron Franke
b5c15ed150
Default 3D model importer naming versions to the latest 2026-01-06 12:03:06 -08:00
KOGA Mitsuhiro
07a9f91863 Android: Fix camera feed switching and stride-aligned buffer handling
- Handle stride-aligned YUV planes from camera driver
- Fix callback context to support multiple camera feeds
- Synchronize camera session closure before device close
- Prevent image buffer stall when switching feeds
- Deactivate camera feeds before removal
- Replace auto with explicit type in callbacks

Fixes #110711
Fixes #114468
2026-01-07 03:01:37 +09:00
HolonProduction
43a1a9464f GDScript: Only move root scripts in cache 2026-01-06 18:45:16 +01:00
Ashwin Balasubramaniyan
b987c430d7 Reword OpenXR initialization failure alert message
Changes account for the following
1. OpenXR initialization can fail if a required extension is unsupported.
2. Logs contain more detailed info regarding failure.
3. Add additional newlines to separate message into 4 sections
   Error encountered
   Editor specific hint to developer
   WMR specific hint
   Consequence
2026-01-06 03:57:20 +00:00
HolonProduction
83409fc50f GDScript: Don't return wrong result for already completed solving state 2026-01-05 12:23:16 +01:00
Rémi Verschelde
4e18022442
Merge pull request #114581 from nikitalita/gltf-fix-animation-track-path
GLTF: Fix getting animation track path
2026-01-05 11:45:31 +01:00
KOGA Mitsuhiro
0918da0122 Improve error handling in macOS camera module
- Add null check for pixelBuffer in camera callback
- Return nil from capture session init on input/output failure
- Fix activate_feed return value and handle permission denied/restricted
- Deactivate camera feeds before removal

Add plane count check before accessing pixel buffer planes to handle
unexpected buffer formats gracefully. Also improve null checks to use
one-time logging and properly unlock the buffer before returning on
error.
2026-01-05 18:39:34 +09:00
nikitalita
33ce7441f8 GLTF: fix getting animation track path 2026-01-03 15:51:12 -08:00