Raul Santos
8d41b5a582
[.NET] Upgrade user project's TargetFramework to `net8.0`
...
- Upgrades the TFM for new created projects to `net8.0`.
- Implements system to upgrade TFM for existing projects to `net8.0`.
2024-12-18 02:44:32 +01:00
Rémi Verschelde
6e2cf2aa7b
Merge pull request #100533 from mihe/jolt/sleeping-contacts
...
Stop reporting contacts for sleeping bodies when using Jolt Physics
2024-12-18 00:39:59 +01:00
Mikael Hermansson
5bbdb4a770
Stop reporting contacts for sleeping bodies when using Jolt Physics
2024-12-17 23:20:00 +01:00
Rémi Verschelde
32c634a381
Merge pull request #100526 from fire/vsk-csg-warnings-update
...
Update the warnings for CSGShape3D.
2024-12-17 23:00:17 +01:00
Rémi Verschelde
f1cf8ebfd6
Merge pull request #100506 from akien-mga/dotnet-8.0-fix-GodotSharp-build
...
.NET: Downgrade Microsoft.CodeAnalysis.CSharp to 4.8.0 for compat with SDK 8.0.1xy
2024-12-17 23:00:13 +01:00
Rémi Verschelde
3dd60ba82f
Merge pull request #100406 from smix8/gridmap_edge_debug
...
Fix GridMap freeing edge connection debug mesh too early
2024-12-17 23:00:07 +01:00
Rémi Verschelde
cb0d731daf
Merge pull request #100351 from raulsntos/dotnet/android-gradle-fix
...
[.NET] Fix gradle builds for multiple ABIs
2024-12-17 22:59:58 +01:00
Hugo Locurcio
7a04d85ec3
Only allow valid types in Decal, Light3D projector, PointLight2D texture and CSGMesh3D mesh
...
If an invalid type is supplied (which can still be done from a script),
a warning is printed (along with a workaround for ViewportTexture).
This also adds support for "negative" resource hints such as
"Texture2D,-ViewportTexture" to exclude one or more subclasses
from a class hint.
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2024-12-17 20:41:12 +01:00
K. S. Ernest (iFire) Lee
46b02f08c6
Update the warnings for CSGShape3D.
2024-12-17 11:02:38 -08:00
Rémi Verschelde
7bccc82721
Merge pull request #100401 from kiroxas/Simplify_NavMeshQueries3D_simplify_path_segment
...
Simplify `NavMeshQueries3D::simplify_path_segment`
2024-12-17 16:19:15 +01:00
Rémi Verschelde
8385a12ba8
Merge pull request #100361 from fire/vsk-csg-warning-4.4
...
Push some warnings for CSG non manifold and other errors.
2024-12-17 16:19:12 +01:00
Rémi Verschelde
4866c4a8c5
Merge pull request #99925 from Mickeon/documentation-no-static-typing-yet
...
Remove uses of static typing from the documentation
2024-12-17 16:19:08 +01:00
Rémi Verschelde
076d126bc7
Merge pull request #99639 from badsectoracula/get-selected-gridmap-cells
...
Expose GridMapEditorPlugin to scripts and add methods to manipulate to the selection and selected palette item
2024-12-17 16:18:54 +01:00
Rémi Verschelde
182b4741ea
Merge pull request #93479 from Repiteo/scons/better-colored-output
...
SCons: Improve colored output
2024-12-17 16:18:41 +01:00
Rémi Verschelde
4047e4b894
.NET: Downgrade Microsoft.CodeAnalysis.CSharp to 4.8.0 for compat with SDK 8.0.1xy
...
And for CI, set up .NET SDK 8.0.100 explicitly to test our min supported version.
2024-12-17 15:56:56 +01:00
K. S. Ernest (iFire) Lee
441c440bf4
Push some warnings for CSG non manifold and other errors.
...
In the scene tree add warnings.
2024-12-16 12:49:51 -08:00
Bad Sector
baf03e4fb6
Expose GridMapEditorPlugin to scripts and add methods to manipulate the selection and selected palette item
2024-12-16 21:31:05 +02:00
Kiro
774e91470c
Simplify `NavMeshQueries3D::simplify_path_segment`
2024-12-16 20:05:41 +01:00
Thaddeus Crews
4364ed6ccd
Merge pull request #100471 from dsnopek/openxr-xrsim-composition-layer-crash
...
OpenXR: Fix crash with composition layers in non-dev builds
2024-12-16 12:10:08 -06:00
Thaddeus Crews
7efe038eed
Merge pull request #97492 from Geometror/profiler-autostart-indicator
...
Add profiler autostart indicator to EditorRunBar
2024-12-16 12:09:59 -06:00
Thaddeus Crews
02e196eb41
Merge pull request #98132 from aaronfranke/editor-plugin-get-plugin-icon-name
...
Rename internal EditorPlugin icon/name to match exposed methods
2024-12-16 12:09:57 -06:00
Thaddeus Crews
d51fae25a7
Merge pull request #98872 from BastiaanOlij/openxr_khr_metal_enable
...
OpenXR: Add Metal support
2024-12-16 12:09:47 -06:00
Thaddeus Crews
9c9af038d5
Merge pull request #91060 from dalexeev/code-edit-add-doc-tooltips
...
Code Editor: Add documentation tooltips
2024-12-16 12:09:45 -06:00
David Snopek
20d8bddd38
OpenXR: Fix crash with composition layers in non-dev builds
2024-12-16 08:44:49 -06:00
Hendrik Brucker
9f8bbe43ee
Add profiler autostart indicator to EditorRunBar
2024-12-16 10:15:24 +01:00
Aaron Franke
de87ca5084
GLTF: Fix bad pointer to ImporterMeshInstance3D root node at runtime
2024-12-15 18:05:57 -08:00
Aaron Franke
0ab3dc273e
Rename internal EditorPlugin icon/name to match exposed methods
2024-12-15 17:31:01 -08:00
Danil Alexeev
80d11500b5
Code Editor: Add documentation tooltips
2024-12-15 10:51:33 +03:00
Rémi Verschelde
863a24ac86
Merge pull request #100405 from BlueCube3310/bcdec-fix-v200
...
bcdec: Fix logic for detecting incomplete blocks
2024-12-14 18:25:49 +01:00
smix8
c09855627f
Fix GridMap freeing edge connection debug mesh too early
...
Fixes GridMap freeing edge connection debug mesh too early.
2024-12-14 18:15:28 +01:00
BlueCube3310
8f9673eeff
bcdec: Fix logic for detecting incomplete blocks
2024-12-14 17:57:44 +01:00
Thaddeus Crews
b68675e518
Merge pull request #100342 from mihe/jolt/thread-safe-rids
...
Make `RID` allocation thread-safe when using Jolt Physics
2024-12-13 16:19:35 -06:00
Thaddeus Crews
c58fbaf751
Merge pull request #100340 from smix8/csg_3d_child_notify
...
Fix 3D CSG not reacting to child node order changes
2024-12-13 16:19:33 -06:00
Rémi Verschelde
7f5c469292
Merge pull request #92131 from paulloz/net8
...
C#: Move GodotSharp to .NET8
2024-12-13 15:31:59 +01:00
Paul Joannon
fb8553e4d7
Move to .NET8
...
- Change TFM and LangVersion
- Better exception throwing (CA1510, CA1512, CA1513)
- Better exception utility method definition (CA1859)
- Prefer comparing `.Count` over calling `.Any()` (CA1860)
- Prefer `.AsSpan()` over `.Substring()` (CA1846)
- Add a few more `scoped`
- Use `RuntimeHelpers.GetUninitializedObject()` instead of `FormatterServices.GetUninitializedObject()`
- Use delegate instead of delegate pointer in variant generic conversions
- Enable EnforceExtendedAnalyzerRules in source generator projects
- Disable CS8981 on structs named movable in Godot.NativeInterop
2024-12-13 14:00:13 +01:00
Pedro J. Estébanez
4f8dd96b3d
Rationalize busy waits
2024-12-13 10:14:26 +01:00
Raul Santos
d526d523b4
[.NET] Fix gradle builds for multiple ABIs
...
Include the needed .NET jar in the Godot templates so it's always available, then we don't need to include the jar from a .NET publish which could fail when exporting to multiple architectures because it would attempt to add the same jar for each architecture.
2024-12-13 08:01:13 +01:00
Mikael Hermansson
f6126badba
Make RID allocation thread-safe when using Jolt Physics
2024-12-13 00:39:42 +01:00
smix8
20c519d0fa
Fix 3D CSG not reacting to child node order changes
...
Fixes 3D CSG not reacting to child node order changes.
2024-12-13 00:28:42 +01:00
Thaddeus Crews
bfc66f0608
Merge pull request #100282 from devloglogan/motion-vectors-openxr
...
Add renderer motion vectors API for use with OpenXR
2024-12-12 16:13:36 -06:00
Thaddeus Crews
ed8b4ab060
Merge pull request #100337 from akien-mga/scons-sse2-baseline
...
SCons: Properly set SSE2 as baseline on x86_32
2024-12-12 16:13:31 -06:00
Thaddeus Crews
6acb58d95a
Merge pull request #100331 from akien-mga/jolt-fix-mingw-lto-multiple-definitions
...
Jolt: Fix multiple definition LTO linking issue with mingw-gcc
2024-12-12 16:13:29 -06:00
Thaddeus Crews
9c290c4c56
Merge pull request #100033 from Daylily-Zeleen/daylily-zeleen/optimize_callable_to_string
...
Optimize callable's stringify text.
2024-12-12 16:13:23 -06:00
Rémi Verschelde
f86b3696f6
SCons: Properly set SSE2 as baseline on x86_32
...
Setting it only for release templates on Windows and macOS was inconsistent,
and Jolt requires it as a minimum.
Drop the `-mxsave` flag from the raycast module, this doesn't seem to be
used explicitly by Embree, and unnecessarily makes our config and baseline
muddy.
2024-12-12 22:44:44 +01:00
Rémi Verschelde
0ba875ec29
Jolt: Fix multiple definition LTO linking issue with mingw-gcc
2024-12-12 21:31:34 +01:00
RedworkDE
f0b6b24d9e
C#: Update to net7.0
...
Because of ref safety changes in the languages, all methods that return an interop struct have to have all other reference parameters marked as scoped to signal the the method does not capture that reference.
The variant change is necessary, because for some reason a type of the exact shape godot_variant is in, crashes the .NET 7 JIT, but when changing it to be sequential with the same effective layout it works.
2024-12-12 17:42:39 +01:00
Rémi Verschelde
1e1e862204
Merge pull request #98100 from BlueCube3310/image-cleanup-more
...
Image: More cleanup and reduced code duplication
2024-12-12 14:09:49 +01:00
Rémi Verschelde
d1b683d413
Merge pull request #97140 from BastiaanOlij/xr_action_map_enhancements
...
OpenXR: Add support for binding modifiers
2024-12-12 14:09:41 +01:00
Rémi Verschelde
0e5c337453
Merge pull request #85653 from BlueCube3310/lightmap-gi-shadowmask
...
Implement LightmapGI shadowmasks
2024-12-12 14:09:30 +01:00
BlueCube3310
335077a03f
Image: More cleanup and reduced code duplication.
2024-12-12 11:52:59 +01:00
BlueCube3310
189c8eb671
Implement shadowmasks for LightmapGI
...
Co-authored-by: dearthdev <nathandearthdev@gmail.com>
2024-12-12 11:00:28 +01:00
Thaddeus Crews
ab208af781
Merge pull request #100174 from Calinou/gdscript-add-deprecated-experimental-annotations
...
Tweak unknown annotation GDScript error for `@deprecated`/`@experimental`/`@tutorial`
2024-12-11 17:35:50 -06:00
Bastiaan Olij
0a61ebdcea
OpenXR: Add support for binding modifiers
2024-12-12 09:46:19 +11:00
smix8
476479419b
Despaghettify NavigationServer path queries
...
Despaghettify NavigationServer path queries.
2024-12-11 22:29:48 +01:00
Rémi Verschelde
44dfa7e710
Merge pull request #99895 from mihe/jolt-physics
...
Add Jolt Physics as an alternative 3D physics engine
2024-12-11 14:53:57 +01:00
Mikael Hermansson
d470c2ac6a
Add Jolt Physics as an alternative 3D physics engine
...
Co-authored-by: Jorrit Rouwe <jrouwe@gmail.com>
2024-12-11 13:57:25 +01:00
devloglogan
3deb5884d7
Renderer agnostic motion vector rendering/OpenXR changes
2024-12-10 15:59:17 -06:00
Thaddeus Crews
ae38cdbb6d
Merge pull request #95839 from GustJc/interactive_audio_current_playback
...
Expose `AudioStreamPlaybackInteractive::get_current_clip_index()`.
2024-12-10 14:16:04 -06:00
Thaddeus Crews
f962fdce0e
Merge pull request #100185 from Repiteo/scons/fix-thirdparty-warnings
...
SCons: Fix MSVC bypassing disabled warnings
2024-12-10 14:16:02 -06:00
Thaddeus Crews
b789935a13
Merge pull request #100049 from Chaosus/flat_button_sname
...
[Scene] Add `SceneStringName::FlatButton`
2024-12-10 14:16:01 -06:00
Thaddeus Crews
1f0eeea7b5
Merge pull request #99902 from Repiteo/dotnet/ci-warnings
...
C#: Fix warnings caught by new problem-matchers
2024-12-10 14:15:57 -06:00
Thaddeus Crews
8f16f864a6
Merge pull request #99765 from dalexeev/core-fix-json-from-to-native
...
Core: Fix `JSON.{from,to}_native()` issues
2024-12-10 14:15:53 -06:00
Thaddeus Crews
79dd5179e3
Merge pull request #99887 from JackErb/gdscript-parser-error-fix
...
Improve misleading `Unexpected "x" in class body.` GDScript parser error
2024-12-10 14:15:50 -06:00
Thaddeus Crews
57d08dbec3
C#: Fix warnings caught by new problem-matchers
...
• Restore MSVC problem matcher for Linux builds
2024-12-10 14:04:35 -06:00
Thaddeus Crews
d8761f2c79
SCons: Improve colored output
2024-12-10 11:44:48 -06:00
Gustavo Jaruga Cruz
12f682bdc2
Exposes interactive audio playback current playing clip.
2024-12-10 07:34:02 -03:00
Chaosus
ba39b078f5
[Scene] Add `SceneStringName::FlatButton`
2024-12-10 11:12:26 +03:00
JackErb
13fcb05e7b
Improve GDScript "unexpected token in class body" parser error
...
This parser error was misleading.
Fixes:
1. Now points at correct line
2. For identifiers, prints out `Identifier "%s"`
2024-12-09 21:01:46 -08:00
Bastiaan Olij
08ced813a9
OpenXR: Add Metal support
2024-12-10 11:41:59 +11:00
Hugo Locurcio
6095a37d64
Tweak unknown annotation GDScript error for `@deprecated`/`@experimental`/`@tutorial`
...
These annotations don't exist at a source level, so the error messages
point to the documentation comment syntax.
2024-12-09 22:18:35 +01:00
Thaddeus Crews
a372214a4a
Merge pull request #76020 from dalexeev/gds-warning-ignore-regions
...
GDScript: Add `@warning_ignore_start` and `@warning_ignore_restore` annotations
2024-12-09 14:33:38 -06:00
Thaddeus Crews
b4bd38444b
Merge pull request #98545 from juanjp600/dotnet-generic-collections-set-typed
...
Fix generic arrays and dictionaries in .NET not calling `set_typed`
2024-12-09 14:33:37 -06:00
Thaddeus Crews
a607bca2fd
Merge pull request #100024 from Ivorforce/optimize-string-single-char
...
Optimize string single char contains calls.
2024-12-09 14:33:24 -06:00
Thaddeus Crews
101b78fbea
Merge pull request #100020 from Lielay9/mend-round-primitives
...
Mend gaps in meshes caused by trigonometric funcs.
2024-12-09 14:33:23 -06:00
Thaddeus Crews
6931930029
Merge pull request #99860 from akien-mga/basisu-clarify-encoder-only-deps
...
basis_universal: Clarify encoder-only dependencies, only used in editor builds
2024-12-09 14:33:12 -06:00
Thaddeus Crews
94caf59b71
Merge pull request #100105 from smix8/dirty_mold
...
Fix avoidance dirty flag regression
2024-12-09 14:33:09 -06:00
Thaddeus Crews
533091ae22
Merge pull request #99974 from Flarkk/improve_occlusion_jitter
...
Optimize Occlusion culling jitter
2024-12-09 14:33:08 -06:00
Thaddeus Crews
070aeb5688
SCons: Fix MSVC bypassing disabled warnings
2024-12-09 11:49:42 -06:00
Juan Pablo Arce
8ab27a7ccf
Fix generic arrays and dictionaries not calling set_typed
2024-12-08 01:01:19 -03:00
Lukas Tenbrink
b5c31ebb41
Add contains_char() for single-character 'contains' calls.
2024-12-06 20:23:35 +01:00
smix8
4de615d1ae
Fix avoidance dirty flag regression
...
The dirty flag can also still be set by some legacy functions triggered by the agents and obstacles.
2024-12-06 16:20:59 +01:00
Hei
b4c6f9b3d9
Mend gaps in meshes caused by trigonometric funcs.
2024-12-06 17:10:12 +02:00
Danil Alexeev
7d65d0a908
GDScript: Add `@warning_ignore_start` and `@warning_ignore_restore` annotations
2024-12-06 15:37:02 +03:00
Thaddeus Crews
eb5103093c
Merge pull request #99327 from colinator27/sync-bar-beats
...
Implement `AudioStreamSynchronized::get_bar_beats()`, fix division by zero
2024-12-05 14:12:26 -06:00
Thaddeus Crews
4b91e98656
Merge pull request #99959 from fire/vsk-csg-error-and-ctd
...
Print better manifold errors and avoid crash on non manifold csg input.
2024-12-05 14:12:25 -06:00
Thaddeus Crews
7bff6c827f
Merge pull request #99186 from PhairZ/wheels-of-the-bus-go-round-and-round
...
Fix `fade_beats` defined as `int` in `audio_stream_interactive.h`
2024-12-05 14:12:24 -06:00
Thaddeus Crews
4d0ce3ce76
Merge pull request #100060 from Rudolph-B/Issue-100032
...
Fixed occlusion culling buffer getting overwritten in larger scenes
2024-12-05 14:12:17 -06:00
Thaddeus Crews
49e033f8e2
Merge pull request #100047 from MBCX/fix-freebsd-compilation
...
Make Godot compile on `FreeBSD`
2024-12-05 14:12:11 -06:00
Thaddeus Crews
ec7ffdcb15
Merge pull request #100008 from Chubercik/thorvg-0.15.5
...
thorvg: Update to 0.15.5
2024-12-05 14:11:50 -06:00
Rémi Verschelde
fbde06e4c8
basis_universal: Clarify encoder-only dependencies, only used in editor builds
2024-12-05 21:01:58 +01:00
Rudolph Bester
329d25b1fa
Fixed occlusion culling buffer getting overwritten in larger scenes
2024-12-05 18:54:13 +02:00
MBCX
6bc80effbb
Make Godot compile on FreeBSD
2024-12-05 12:33:55 -04:00
Daylily-Zeleen
614a51f293
Optimize callable's stringify text.
2024-12-05 14:24:39 +08:00
Thaddeus Crews
ab58a339df
Merge pull request #99712 from KoBeWi/bug_spawner_spawns_new_bugs_to_fix
...
Fix UID support in MultiplayerSpawner
2024-12-04 11:02:02 -06:00
Florent Guiocheau
c7895ca226
Optimize Occlusion jitter
2024-12-04 17:39:51 +01:00
Jakub Marcowski
5318008ce6
thorvg: Update to 0.15.5
2024-12-04 17:24:43 +01:00
K. S. Ernest (iFire) Lee
6cf1d3c13e
Print better manifold errors and avoid crash on non manifold csg input.
...
* Manifold does not have a snap property.
* Tolerance means simplification amount.
* CSG snap has been removed
* Add better error messages.
* Verbose print manifold meshgl64 properties as json.
* Update manifold for error fixes
2024-12-03 20:19:47 -08:00
kobewi
67b95f341e
Fix UID support in MultiplayerSpawner
2024-12-03 22:11:43 +01:00
Thaddeus Crews
47bc374edf
Merge pull request #99325 from Calinou/doc-zipreader-extract-all
...
Add a code sample that extracts all files to ZIPReader documentation
2024-12-03 14:41:08 -06:00
Thaddeus Crews
1719f8ed3d
Merge pull request #99834 from kiroxas/passLengthToParseUTF8
...
Ensure `parse_utf8` has length of string passed in when available
2024-12-03 14:41:06 -06:00