Commit Graph

11166 Commits

Author SHA1 Message Date
Rémi Verschelde b030638863
Merge pull request #97252 from dsnopek/gdext-android-surface-swapchain
OpenXR: Allow extending Android surface swapchain creation from GDExtension
2024-09-23 12:28:07 +02:00
Rémi Verschelde 833be1f00d
Merge pull request #97139 from akien-mga/miniupnpc-2.2.8
miniupnpc: Update to 2.2.8 (new major 18)
2024-09-23 12:28:03 +02:00
Rémi Verschelde dd71bc2d3b
Merge pull request #95252 from rburing/3d_physics_module
Move Godot Physics 3D into a module; add dummy 3D physics server
2024-09-23 12:27:55 +02:00
Rémi Verschelde c65ab71230
Merge pull request #94953 from raulsntos/dotnet/signals-with-typed-arrays
C#: Generate signal delegates with typed arrays
2024-09-23 12:27:45 +02:00
Ricardo Buring 0333648cea Move Godot Physics 3D into a module; add dummy 3D physics server
If the module is enabled (default), 3D physics works as it did before.

If the module is disabled and no other 3D physics server is registered
(via a module or GDExtension), then we fall back to a dummy
implementation which effectively disables 3D physics functionality (and
a warning is printed).

The dummy 3D physics server can also be selected explicitly, in which
case no warning is printed.
2024-09-21 21:19:45 +02:00
Rémi Verschelde f246419c58
Merge pull request #97259 from alesliehughes/openxr_copy_paste
OpenXR: Correctly set the Depth swapchain name
2024-09-21 11:50:49 +02:00
Alistair Leslie-Hughes daa4704c44 openxr: Correct set the Depth swapchain name
Introduced in 08ffa5d89e.
2024-09-21 10:00:08 +10:00
David Snopek f7e5e7a400 OpenXR: Allow extending Android surface swapchain creation from GDExtension 2024-09-20 15:42:27 -05:00
Thaddeus Crews fdc6ffd264
Style: Update `ruff` & `mypy` to latest versions 2024-09-20 09:36:09 -05:00
Rémi Verschelde 5070db2575
Merge pull request #97208 from kleonc/transform3d_aabb_multiplication_fix_csharp
Fix C# `operator *(Transform3D, Aabb)`
2024-09-20 16:06:56 +02:00
Rémi Verschelde 2f078e501c
Merge pull request #97198 from raulsntos/dotnet/open-visual-studio-with-dotnet-cli
C#: Use dotnet CLI to launch `OpenVisualStudio.dll`
2024-09-20 16:06:46 +02:00
Rémi Verschelde 90a119225e
Merge pull request #97194 from RobProductions/godot-sharp-error-improvement
Add error messages to `BindingsGenerator`
2024-09-20 16:06:42 +02:00
Rémi Verschelde 99a1eb7147
Merge pull request #95482 from kleonc/bmp_import_1_2_4_bpp_of_any_size
Support importing 1/2/4-bpp BMP images of size non-divisible by 8/4/2
2024-09-20 16:06:18 +02:00
Thaddeus Crews b37fc1014a
Style: Apply new `clang-format` changes 2024-09-20 08:09:48 -05:00
kleonc 3bfadeff25 Fix C# operator *(Transform3D, AABB) 2024-09-20 00:18:54 +02:00
Matt Enad d6c0a53ecf Add error messages to binding generator 2024-09-19 13:31:05 -04:00
Raul Santos ec189b1574
C#: Use dotnet CLI to launch OpenVisualStudio.dll
Use the DLL instead of the EXE, so we can rely on the dotnet CLI handling the architecture.
2024-09-19 19:23:01 +02:00
Rémi Verschelde ae872a4ed5
Merge pull request #97014 from hayahane/fix_script_property_order
Reorder C# script properties to fix editor serialization
2024-09-19 17:13:34 +02:00
Rémi Verschelde b1b4c5da4b
Merge pull request #96928 from dsnopek/rename-and-expose-texture-create-external
Expose a function to create textures from a native handle in the compatibility renderer
2024-09-19 17:13:27 +02:00
David Snopek 7d56b09f23 Expose a function to create textures from a native handle in the compatibility renderer 2024-09-19 09:05:32 -05:00
alpacat 7df5b78aca Reorder C# script properties to fix editor serialization 2024-09-19 12:49:15 +08:00
Rémi Verschelde 4c72d599f0
miniupnpc: Update to 2.2.8 (new major 18)
Keep support for major 17 by using a version check for the changed API.

Fixes #93907.
2024-09-18 11:50:54 +02:00
Rémi Verschelde 26dde5c21a
Merge pull request #97026 from DeeJayLSP/mp3-local
AudioStreamMP3: Use a LocalVector to store data
2024-09-17 21:02:03 +02:00
Rémi Verschelde a181d00af4
Merge pull request #96465 from aaronfranke/gltf-pre-gen-post-conv
GLTF: Add `import_pre_generate` and `export_post_convert` extension steps
2024-09-17 21:01:54 +02:00
Raul Santos 5860ec553d
C#: Use `char *` with CoreCLR/MonoVM APIs 2024-09-17 17:51:17 +02:00
Aaron Franke 5972907612
GLTF: Add import_pre_generate and export_post_convert extension steps 2024-09-17 04:00:07 -07:00
Rémi Verschelde cf539911f1
Merge pull request #97087 from aaronp64/lambda_capture_alloc
Speed up lambda capture handling
2024-09-17 09:18:11 +02:00
Rémi Verschelde 0eea8728b5
Merge pull request #88803 from raulsntos/dotnet/android-monovm
C#: Fallback to CoreCLR/MonoVM hosting APIs when hostfxr/NativeAOT fails
2024-09-17 09:17:39 +02:00
Rémi Verschelde e72a70de8e
Merge pull request #87150 from demolke/bones
Add per-bone meta to Skeleton3D
2024-09-17 09:17:35 +02:00
aaronp64 e2b6d92e27 Speed up lambda capture handling
Updated GDScriptLambdaCallable::call and GDScriptLambdaSelfCallable::call to use alloca instead of Vector when using captures, to avoid extra allocation/copy_on_write calls on each lambda function call.
2024-09-16 15:47:58 -04:00
Raul Santos 0aa46e19c5
C#: Fallback to CoreCLR/MonoVM hosting APIs when hostfxr/NativeAOT fails
Some platforms don't support hostfxr but we can use the coreclr/monosgen library directly to initialize the runtime.

Android exports now use the `android` runtime identifier instead of `linux-bionic`, this removes the restrictions we previously had:
- Adds support for all Android architectures (arm32, arm64, x32, and x64), previously only the 64-bit architectures were supported.
- Loads `System.Security.Cryptography.Native.Android` (the .NET library that binds to the Android OS crypto functions).
2024-09-16 17:07:03 +02:00
demolke 0468bea899 Add per-bone meta to Skeleton3D
Individual bones are not represented as `Node`s in Godot, in order to support meta functionality for them the skeleton has to carry the information similarly to how other per-bone properties are handled.
- Also adds support for GLTF import/export
2024-09-16 16:26:15 +02:00
Rémi Verschelde 964a9ec03b
Merge pull request #96684 from HolonProduction/that-was-a-bit-too-smart
LSP: Don't use smart resolve for completion
2024-09-16 15:25:44 +02:00
Rémi Verschelde b573994730
Merge pull request #97045 from Calinou/doc-scenemultiplayer-auth-timeout
Document SceneMultiplayer `auth_timeout` being in seconds
2024-09-16 13:36:02 +02:00
Rémi Verschelde 41066484ff
Merge pull request #96965 from Repiteo/style/gdscript-editorconfig
Style: Consolidate & migrate GDScript `.editorconfig`
2024-09-16 13:35:25 +02:00
Rémi Verschelde f7daa0fb2f
Merge pull request #96856 from RandomShaper/selfdestruct_correctness
Object: Let debug lock handle callee destruction within call chain gracefully
2024-09-16 13:35:06 +02:00
Rémi Verschelde 08c5ce1d9c
Merge pull request #96797 from Repiteo/core/typed-dictionary-bracket-fix
Core: Fix `operator[]` for typed dictionaries
2024-09-16 13:35:02 +02:00
Rémi Verschelde 3b714ded01
Merge pull request #96725 from HolonProduction/lsp-omit
LSP: Omit some values based on specification version 3.17
2024-09-16 13:34:50 +02:00
Rémi Verschelde a9364a9e75
Merge pull request #96468 from aaronfranke/gltf-append-node
GLTF: Add `append_gltf_node` to GLTFState
2024-09-16 13:34:46 +02:00
Rémi Verschelde 4d35402c1c
Merge pull request #96400 from Maran23/inputmap-usage-for-filter-and-corresponding-refactor
Use InputMap actions consistently across all LineEdit's that filter an underlying Tree or ItemList.
2024-09-16 13:34:38 +02:00
Rémi Verschelde 8ebfd89359
Merge pull request #96024 from Ryan-000/expose_get_rpc_config
Expose `get_rpc_config` and `get_node_rpc_config`
2024-09-16 13:34:34 +02:00
Rémi Verschelde 9fd431f078
Merge pull request #96002 from Hilderin/fix-resource-script-reload-external-editor
Fix script properties reload from external editor
2024-09-16 13:34:30 +02:00
Rémi Verschelde 67c9708eb8
Merge pull request #95915 from BlueCube3310/betsy-bc1
Betsy: Add caching and BC1 compression support
2024-09-16 13:34:26 +02:00
Pedro J. Estébanez bb77520599 Object: Add tests about the safety of tail destruction 2024-09-16 09:58:47 +02:00
Hugo Locurcio 212c34029e
Document SceneMultiplayer `auth_timeout` being in seconds 2024-09-15 17:49:38 +02:00
DeeJayLSP e3f3daac6f AudioStreamMP3: Use a LocalVector to store data 2024-09-14 19:14:47 -03:00
Hilderin 46edd6df55 Fix script properties reload from external editor 2024-09-14 15:07:53 -04:00
Thaddeus Crews bf811db6c8
Style: Consolidate & migrate GDScript `.editorconfig`
• Moved to test project root so a new `.editorconfig` isn't constantly generated.
• Disable attributes only in the files which use invalid syntax deliberately
2024-09-13 11:12:17 -05:00
Rémi Verschelde 97843116f6
Merge pull request #96759 from Geometror/implement-autostart-profilers
Implement autostart for all profilers
2024-09-13 11:21:54 +02:00
Rémi Verschelde 40d8d82b85
Merge pull request #93779 from hayahane/fix_get_property_cs
[C#] Fix `get_property_list` get wrong order of properties
2024-09-13 11:21:37 +02:00