Commit Graph

11193 Commits

Author SHA1 Message Date
Danil Alexeev 85dfd89653 Add `@export_tool_button` annotation for easily creating inspector buttons
Co-authored-by: jordi <creptthrust@gmail.com>
Co-authored-by: K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>
Co-authored-by: Mack <86566939+Macksaur@users.noreply.github.com>
2024-09-27 22:24:15 +01:00
Rémi Verschelde 543fa16b4c
Merge pull request #68233 from raulsntos/dotnet/raise-events
C#: Generate strongly-typed method to raise signal events and fix event accessibility
2024-09-27 13:53:11 +02:00
Raul Santos da37998dc8
C#: Generate On{EventName} method to raise signal events 2024-09-26 20:10:53 +02:00
Rémi Verschelde 807136b679
Merge pull request #97425 from CrayolaEater/better-description-multiplayer-spawner-signals
Better description for multiplayer spawner signals
2024-09-26 18:45:42 +02:00
Fabio Alessandrelli 8ffb7699af [mbedTLS] Enable TLS 1.3 support
Move library initialization to module registration functions.

Only set library debug threshold when verbose output is enabled.

TLSv1.3 functions seems to be a bit more verbose then expected, and
generate a lot of noise. Yet, some level of debugging without
recompiling the engine would be nice. We should discuss this upstream.
2024-09-26 17:37:38 +02:00
Rémi Verschelde a4c1804cab
Merge pull request #97483 from akien-mga/clang-format-19.1.0
CI: Update `clang-format` pre-commit hook to 19.1.0
2024-09-26 12:46:04 +02:00
Rémi Verschelde 8493a39e91
Merge pull request #97479 from dustdfg/csg_redudant_3d_disabled_check
Remove redundant `_3D_DISABLED` check from csg module
2024-09-26 12:45:58 +02:00
Rémi Verschelde 991e6c92ab
Merge pull request #96923 from Repiteo/style/warning-admonition
Style: Add `WARNING:` as new comment admonition
2024-09-26 12:45:38 +02:00
Rémi Verschelde c92a6c7e27
CI: Update `clang-format` pre-commit hook to 19.1.0 2024-09-26 11:46:12 +02:00
Yevhen Babiichuk (DustDFG) e3eb5ee607 Remove redudant _3D_DISABLED check from csg module
It even won't be considered for building so there is no any sense
for compile time checks

Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
2024-09-26 10:24:10 +03:00
Thaddeus Crews 32c83a228d
Style: Add `WARNING:` as new comment admonition 2024-09-25 09:44:42 -05:00
Thaddeus Crews 9f9ee0c813
SCons: Add unobtrusive type hints in SCons files 2024-09-25 09:34:35 -05:00
Rémi Verschelde 5d5cdc02c5
Merge pull request #97392 from BastiaanOlij/xr_cleanup_action_map_dialogs
Cleanup of action map dialogs
2024-09-25 12:39:25 +02:00
Rémi Verschelde 95e7e653f2
Merge pull request #97101 from aryan-11825114/fix-network-profiler-not-disabling-buttons
Fix Network Profiler not disabling buttons
2024-09-25 12:39:14 +02:00
Paweł b88585abfc Add linux camera support 2024-09-25 12:08:06 +02:00
Bogdan Inculet 2cfe6d9f64 Better description for multiplayer spawner signals 2024-09-24 23:15:51 +03:00
Rémi Verschelde 39115be8eb
Merge pull request #95261 from rburing/2d_physics_module
Move Godot Physics 2D into a module; add dummy 2D physics server
2024-09-24 12:56:59 +02:00
Rémi Verschelde 6bea41d68f
Merge pull request #88363 from Delsin-Yu/master
C#: Implement proper generic type name printing for Godot Editor
2024-09-24 12:56:52 +02:00
Ricardo Buring 7c4c4b9987 Move Godot Physics 2D into a module; add dummy 2D physics server
If the module is enabled (default), 2D physics works as it did before.

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

The dummy 2D physics server can also be selected explicitly, in which
case no warning is printed.
2024-09-23 17:33:45 +02:00
Rémi Verschelde 4254946de9
Merge pull request #97323 from timothyqiu/drop-unicode-identifier
Fix script editor wrongly replaces and quotes non-ASCII letters
2024-09-23 16:14:08 +02:00
Rémi Verschelde ea8d20d35b
Merge pull request #96955 from Delsin-Yu/generator-based-CreateManagedForGodotObjectBinding
[.NET] Replace Reflection-Based implementation with Generated one in `CreateManagedForGodotObjectBinding`
2024-09-23 16:13:49 +02:00
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
DE-YU_H14 b5cd06b9ae C#: Implement proper generic type name printing for Godot Editor
Co-authored-by: Raul Santos <raulsntos@gmail.com>
2024-09-23 15:32:10 +08:00
Raul Santos 445e822bcf
C#: Generate signal event with the same accessibility as the delegate 2024-09-23 03:38:18 +02:00
Haoyu Qiu a751c05b15 Fix script editor wrongly replaces and quotes non-ASCII letters 2024-09-23 00:05:16 +08:00
DE YU 307224927c Replace Reflection-Based implementation with Generated one
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-09-22 18:01:14 +08: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
Bastiaan Olij 660ba0578d Cleanup of action map dialogs 2024-09-18 10:55:36 +10: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