Commit Graph

69961 Commits

Author SHA1 Message Date
Thaddeus Crews
9535cd064f
Merge pull request #97810 from pafuent/getting_ccache_working_on_mac
Improve detection of ccache on macOS
2024-12-13 16:19:32 -06:00
Thaddeus Crews
244f7931d2
Merge pull request #100369 from Calinou/doc-gpuparticles-emit-subparticle
Document `GPUParticles.emit_particle()` only working on Forward+ and Mobile
2024-12-13 16:19:31 -06:00
Thaddeus Crews
3c6896fd2a
Merge pull request #99181 from GuilhermeGSousa/animation-node-extension
Add animation node extension
2024-12-13 16:19:30 -06:00
Thaddeus Crews
28c02a8491
Merge pull request #100334 from Sauermann/fix-editor-shortcut-reconversion
Introduce a conversion for editor shortcuts
2024-12-13 16:19:28 -06:00
Thaddeus Crews
d7e4b9e31b
Merge pull request #95660 from Meorge/remove-texturebutton-needs-normal-texture
Remove incorrect statement about TextureButton normal texture
2024-12-13 16:19:27 -06:00
Thaddeus Crews
9f0c6231c7
Merge pull request #100236 from Flarkk/fix_spot_clustering
Fix wide `SpotLight3D` clustering
2024-12-13 16:19:26 -06:00
Thaddeus Crews
5527bcbfbe
Merge pull request #100363 from RandomShaper/fix_mtl_mt_deadlock_4.4
Fix deadlock possibility in threaded load of materials
2024-12-13 16:19:24 -06:00
Thaddeus Crews
f2c8f17906
Merge pull request #100325 from hpvb/fix-rendering-alignment
Fix several ubsan reported misaligned accesses
2024-12-13 16:19:20 -06:00
Thaddeus Crews
80ae6fc1ee
Merge pull request #100324 from YYF233333/codestyle
Remove dead code in `AnimationNodeStateMachine`
2024-12-13 16:19:18 -06:00
Hugo Locurcio
49ca40cdbf
Document GPUParticles.emit_particle() only working on Forward+ and Mobile 2024-12-13 16:41:41 +01:00
HP van Braam
e674379764 Fix several ubsan reported misaligned accesses
These misaligned accesses are shown in all of our CI hooks. It turned
out to not be difficult to fix.

It is likely that this will improve performance for aarch64.
2024-12-13 15:32:35 +01: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
Pablo Andres Fuente
7c4c1100e0 Improving detection of ccache on Mac
Before this commit, ccache where only used on Mac when
`OSXCROSS_ROOT` was defined. Now, it could be used even
when that envirnment variable is not defined.
2024-12-13 09:50:27 -03:00
Pedro J. Estébanez
4bfc6f8d70 Fix deadlock possibility in threaded load of materials 2024-12-13 12:49:10 +01:00
Florent Guiocheau
02f05cf0ac Fix wide angle spotlight clustering 2024-12-13 11:28:42 +01:00
Rémi Verschelde
691d8bee2b
Merge pull request #100344 from clayjohn/refprobe-blend
Small fixups for the new reflection probe blending
2024-12-13 09:48:50 +01:00
clayjohn
356fa37f89 Small fixups for the new reflection probe blending 2024-12-12 17:29:21 -08:00
Malcolm Anderson
46c9089ddc Remove incorrect statement that TextureButton needs a texture for normal state in docs
Update doc/classes/TextureButton.xml

Co-authored-by: Micky <66727710+Mickeon@users.noreply.github.com>

Improve explanation of texture fallback behaviors for TextureButton

Remove a bit of incorrect information from TextureButton documentation

Most other state textures are not overlaid (only `texture_focused`)

Apply suggestions from code review
2024-12-12 15:34:38 -08:00
Thaddeus Crews
ba2c5c1e61
Merge pull request #100318 from dsnopek/stream-peer-extension-put-partial-data-bug
Fix `StreamPeerExtension::put_partial_data()` to call `_put_partial_data()`
2024-12-12 16:13:38 -06:00
Thaddeus Crews
c34a3f1ed2
Merge pull request #100059 from Calinou/editor-default-enable-emulate-numpad
Enable Emulate Numpad by default in the 3D editor settings
2024-12-12 16:13:37 -06: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
91dc363dca
Merge pull request #100120 from allenwp/make-editor-shortcuts-global
Force fixed undo history to make editor shortcuts use global history.
2024-12-12 16:13:34 -06:00
Thaddeus Crews
e0968eee8c
Merge pull request #91064 from KoBeWi/scan_everything
Make scan for projects threaded
2024-12-12 16:13:33 -06:00
Thaddeus Crews
7c015a768f
Merge pull request #99958 from lander-vr/reflection-probe-blend-property
Add Blend Distance property to ReflectionProbe
2024-12-12 16:13:32 -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
9fba62a938
Merge pull request #100239 from Ivorforce/cowdata-move-constructor
Add move constructor and move assignment to `CowData`, `String`, `Char16String`, `CharString`, and `Vector`.
2024-12-12 16:13:30 -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
cc078036f7
Merge pull request #100327 from BlueCube3310/lightmap-compress-default
LightmapGI: Automatically compress new lightmaps
2024-12-12 16:13:28 -06:00
Thaddeus Crews
376980ebda
Merge pull request #100315 from hpvb/renegerate-x11-0.7
Regenerate X11 wrappers with dynload-wrapper 0.7
2024-12-12 16:13:27 -06:00
Thaddeus Crews
31bc6afcad
Merge pull request #96802 from dsnopek/expose-resource-importer-get-format-version
Expose `ResourceImporter::get_format_version` via `EditorImportPlugin::_get_format_version()`
2024-12-12 16:13:26 -06:00
Thaddeus Crews
b7501d219c
Merge pull request #100322 from darksylinc/matias-tf-comment-fix
Fix grammar / spelling in comments
2024-12-12 16:13:25 -06:00
Thaddeus Crews
c5f0d571b5
Merge pull request #97985 from RobProductions/add-tablet-nav-preset
Add `Tablet/Trackpad` 3D navigation preset
2024-12-12 16:13:24 -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
kobewi
cb4ceb823c Make scan for projects threaded 2024-12-12 22:31:32 +01:00
Rémi Verschelde
0ba875ec29
Jolt: Fix multiple definition LTO linking issue with mingw-gcc 2024-12-12 21:31:34 +01:00
Markus Sauermann
cfc0a87099 Introduce a conversion for editor shortcuts
This is temporary code for reverting effects, that were caused
by the reverted 97707.
2024-12-12 20:21:30 +01:00
BlueCube3310
85e4d1b9d3 LightmapGI: Automatically compress new lightmaps 2024-12-12 17:43:47 +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
Matias N. Goldberg
a1b44ec7a7 Fix grammar / spelling in comments
Minor fixes for changes introduced in #99257 that could not be fixed in
time as the PR needed to be expedited.
2024-12-12 12:47:08 -03:00
Yufeng Ying
180c1b1cfa Remove dead code. 2024-12-12 23:40:25 +08:00
David Snopek
8c01fc2274 Fix StreamPeerExtension::put_partial_data() to call _put_partial_data() 2024-12-12 08:31:12 -06:00
David Snopek
af47df1005 Expose ResourceImporter::get_format_version via EditorImportPlugin::_get_format_version() 2024-12-12 08:15:28 -06:00
HP van Braam
dbbacf3d0e Regenerate X11 wrappers with dynload-wrapper 0.7
Dynload-wrapper 0.7 introduces the --include-dir option which lets us restrict
what headers are considered for generation.

In this case it removes the `XFreeThreads` Xlib function which does not
exist on Ubuntu 22.04 and older.
2024-12-12 14:57:26 +01:00
Rémi Verschelde
19e003bc08
Merge pull request #100306 from Uumutunal/master
Fix 3D editor snap setting values not being displayed correctly
2024-12-12 14:10:28 +01:00
Rémi Verschelde
562dd1ad85
Merge pull request #100305 from clayjohn/directional-light-2d-mask
Remove positional light mask from directional lights in Canvas Item shaders.
2024-12-12 14:10:24 +01:00
Rémi Verschelde
7b15c0622e
Merge pull request #100295 from Ivorforce/string-builder-inplace
Optimize `StringBuilder.as_string` by constructing the string in-place and skipping unnecessary checks.
2024-12-12 14:10:21 +01:00
Rémi Verschelde
321bd35317
Merge pull request #100294 from Ivorforce/count-no-realloc
Optimize `String.count` and `String.countn` by avoiding repeated reallocations.
2024-12-12 14:10:17 +01:00
Rémi Verschelde
4cf1b0d94c
Merge pull request #100135 from Lazy-Rabbit-2001/expose-create-dialog-new
Add `popup_create_dialog()` for `EditorInterface` to create custom create dialog
2024-12-12 14:10:13 +01:00