Commit Graph

12339 Commits

Author SHA1 Message Date
599a956f6f Merge pull request #106177 from eyalzus12/feature/stackalloc-Projection
C#: Use `stackalloc` to create the pivot arrays in `Projection.Inverse`
2025-05-13 01:05:00 +02:00
56937b8383 Merge pull request #105853 from youngminz/android-dotnet-skip-extraction
[.NET] Load assemblies directly from PCK on Android
2025-05-13 01:04:48 +02:00
b44aa1ad9d Merge pull request #105104 from Joy-less/use-frozen-dictionary
Use `FrozenDictionary` for `NamedColors`
2025-05-13 01:04:39 +02:00
06a1e5a06b Merge pull request #103709 from YYF233333/gds_call_state
Remove dead code in GDScript function `CallState`
2025-05-13 01:04:26 +02:00
b99baa38f1 C#: Load assemblies directly from PCK on Android
Assemblies are now loaded directly from the PCK (`res://`) instead of
a cache directory. This prevents runtime failures that occurred when
the OS cleared cached files (e.g., under low storage), ensuring
the required assemblies are always available.
2025-05-12 19:31:44 +09:00
21fc5cce5c Use LocalVector<Glyph> to reduce reallocation. 2025-05-12 18:11:18 +08:00
3c90a0e913 Merge pull request #106110 from BlueCube3310/basisu-hdr-quality
BasisU: Configure HDR quality from the settings
2025-05-09 11:29:28 -05:00
43eeed5d54 Merge pull request #105594 from smix8/navlink_3d_gizmo_plugin
Move `NavigationLink3DGizmoPlugin` to `navigation_3d` module.
2025-05-09 11:29:27 -05:00
c85d6b3078 Merge pull request #103276 from BlueCube3310/bcdec-alignment-fix
bcdec: Fix decompressing mipmaps of non-power of 2 textures
2025-05-09 11:29:25 -05:00
461c45f2a1 Merge pull request #106188 from smix8/nav2d_editorplugins
Move 2d navigation related editor plugins to `navigation_2d` module.
2025-05-09 11:29:20 -05:00
0bf9d88797 Merge pull request #106167 from Faless/mbedtls/fix_enable_threading
mbedTLS: Fix concurrency issues with TLS
2025-05-09 11:29:17 -05:00
5484ec0be2 Remove deadcode in GDScript function CallState. 2025-05-09 19:07:50 +08:00
9820d04a21 etcpak: Fix decompressing non-power of 2 mipmaps 2025-05-09 10:34:43 +02:00
cc1b51e8a2 Move 2d navigation related editor plugins to navigation_2d module
Moves 2d navigation related editor plugins to navigation_2d module.
2025-05-08 23:59:13 +02:00
8402a1d0bd bcdec: Fix decompressing mipmaps of non-power-of-2 textures 2025-05-08 23:39:47 +02:00
e9a8c7e858 Move NavigationLink3DGizmoPlugin to navigation_3d module
Moves NavigationLink3DGizmoPlugin to navigation_3d module. Adds stub NavigationLink3DEditorPlugin.
2025-05-08 22:28:58 +02:00
9e0203a58a Don't synchronize scripts with errors 2025-05-08 17:29:15 +02:00
2ebfeef4a8 C#: use stackalloc to create the pivot arrays in Projection.Inverse 2025-05-08 18:27:32 +03:00
bd619b8d32 Merge pull request #106133 from fLindahl/stringname_movable_dict_fix
[.NET] Avoid heap alloc when using StringNames as key in a Dictionary
2025-05-08 07:19:38 -05:00
e36632a71d Merge pull request #105588 from smix8/navobstacle_3d_plugin
Move `NavigationObstacle3DEditorPlugin` to `navigation_3d` module
2025-05-08 07:19:38 -05:00
288822e330 Merge pull request #105570 from kroketio/texture-extension-mipmaps
RenderingDevice: Pass mipmap count to `texture_create_from_extension()`
2025-05-08 07:19:16 -05:00
2c789788c0 mbedTLS: Fix concurrency issues with TLS
When we first integrated mbedTLS, we decided not to enable
MBEDTLS_THREADING_C (which adds mutex locking to calls modifying the
state), and instead to simply create separate contexts ("states") for
each connection.

This worked fine until recently.
Sadly, mbedTLS 3 added a global state for the new PSA crypto
functionalities (which are required to support TLSv1.3).
This results in TLSv1.3 connections to access and modify the global
state concurrently when running in threads.

This commit enables MBEDTLS_THREADING_C, and MBEDTLS_THREADING_C_ALT to
provide a generic Godot implementation using the engine Mutex class.
2025-05-08 11:45:00 +02:00
01056f369a [.NET] Avoid heap allocation when using StringNames as key in a Collection.Dictionary.
Changed StringName GetHashCode to call godot_string_name.GetHashCode instead of godot_string_name's (which was not overridden) as this otherwise leads to heap allocations when e.g. calling the indexer in a Dictionary with `StringName` type as Key.
2025-05-08 08:41:22 +02:00
e9ddf57791 Merge pull request #105593 from smix8/navregion_3d_gizmo_plugin
Move `NavigationRegion3DGizmoPlugin` to `navigation_3d` module.
2025-05-07 12:48:32 -05:00
5c0d33afd7 Merge pull request #96233 from aaronp64/textserver_inline
Remove `_FORCE_INLINE_` from `TextServer*::_ensure*` methods
2025-05-07 12:48:31 -05:00
aa1ca2b244 Merge pull request #93517 from Repiteo/core/nodiscard-strings
Core: Add `[[nodiscard]]` to string-like classes/structs
2025-05-07 12:48:27 -05:00
6d3f91896d Merge pull request #104729 from Meorge/bugfix/warning-grammar-fixes
Fix a few GDScript warning messages for grammar and consistency
2025-05-07 12:48:25 -05:00
affbfa5b4e Merge pull request #89746 from KoBeWi/NOTification
Remove `NOTIFICATION_ENTER_TREE` when `NOTIFICATION_THEME_CHANGED` is used
2025-05-07 12:48:21 -05:00
eb39839a42 Merge pull request #106129 from kitbdev/fix-solo-tests
Fix tests that fail when alone
2025-05-07 12:48:21 -05:00
6ae50cad17 RenderingDevice: introduce parameter 'mipmaps' for texture_create_from_extension() 2025-05-07 15:15:55 +03:00
d8db03e31a Fix a few GDScript warning messages for grammar and consistency
Regenerate test results

Improve warning message for `INT_AS_ENUM_WITHOUT_CAST`

Improve `REDUNDANT_AWAIT` message and regenerate tests

Allow warning message for UNASSIGNED_VARIABLE_OP_ASSIGN to display specific operator

Remove "being" from some messages to make them consistent and clearer

Update expected test results

Use Variant::get_operator_name for determining string representation of operator instead of big switch-case

Update tests

Update modules/gdscript/gdscript_warning.cpp

Co-authored-by: Danil Alexeev <dalexeev12@yandex.ru>

Update tests... again
2025-05-06 20:28:01 -07:00
91931606f7 Remove _FORCE_INLINE_ from TextServer*::_ensure* methods
Reduces binary size by ~1.5 MB when compiling with TextServerAdvanced, and ~800 KB for TextServerFallback
2025-05-06 17:49:38 -04:00
3307be5038 Move NavigationObstacle3DEditorPlugin to navigation_3d module
Moves NavigationObstacle3DEditorPlugin to navigation_3d module.
2025-05-06 20:50:28 +02:00
63bd35e7cf Move NavigationRegion3DGizmoPlugin to navigation_3d module
Moves NavigationRegion3DGizmoPlugin to navigation_3d module.
2025-05-06 20:49:42 +02:00
kit
6d56d2d05e Fix tests that fail when alone 2025-05-06 13:48:16 -04:00
579feb387c Core: Add [[nodiscard]] to string-like classes 2025-05-06 12:23:41 -05:00
75253b0815 Merge pull request #105592 from smix8/navregion_3d_plugin
Rename `NavigationMeshEditor` to `NavigationRegion3DEditor`
2025-05-06 08:38:07 -05:00
fd1168620f Merge pull request #105718 from aaronfranke/nav-const-caps
Capitalize global navigation constants
2025-05-06 08:38:07 -05:00
bd22587170 Merge pull request #106093 from KoBeWi/deprecated_forever
Remove registration of deprecated classes
2025-05-06 08:38:05 -05:00
c4de8ef825 Merge pull request #105765 from smix8/navlink_iteration_id
Add function to get navigation link iteration id from NavigationServer
2025-05-06 08:38:00 -05:00
d32d2e9b51 Remove NOTIFICATION_ENTER_TREE when NOTIFICATION_THEME_CHANGED is used 2025-05-06 15:28:03 +02:00
f539d0a447 Remove emitting of error in JoltBody3D::_exit_all_areas 2025-05-06 11:36:22 +02:00
894d3939cd BasisU: Configure HDR quality from the settings 2025-05-05 23:56:24 +02:00
01e85c49e9 Rename NavigationMeshEditor to NavigationRegion3DEditor
Renames NavigationMeshEditor to NavigationRegion3DEditor to better describe its actual purpose.
2025-05-05 22:32:14 +02:00
783728fcb4 Capitalize global navigation constants 2025-05-05 12:08:15 -07:00
242293c451 Remove registration of deprecated classes 2025-05-05 20:16:50 +02:00
5bc01f2994 Merge pull request #105080 from beicause/basisu-ktx2-settings
BasisU: Use KTX2 format and add import options to configure encoder
2025-05-05 11:24:20 -05:00
e939aefe2f Merge pull request #105748 from mihe/jolt/body-pointer
Remove no-op locking in Jolt Physics module
2025-05-05 11:24:10 -05:00
237597b01f BasisU: Use KTX2 format and add import options to configure encoder 2025-05-03 01:45:38 +08:00
1cf573f44d Merge pull request #105887 from Repiteo/core/modernize-headers
Core: Modernize C headers with C++ equivalents
2025-05-02 09:25:29 -05:00