Commit Graph

77383 Commits

Author SHA1 Message Date
MBCX
f00df0ad1e Fix incorrect usage of Color::from_hsv() that was exposed by newer compiler warnings 2025-09-29 18:18:51 -04:00
Ryan
6ebef31b3c Make Node::orphan_node_count thread-safe 2025-09-29 17:54:41 -04:00
Stuart Carnie
65e8b0951b Renderer: Move reflect_spirv to RenderingShaderContainer
This change introduces a new protected type, `ReflectedShaderStage` to
`RenderingShaderContainer` that derived types use to access SPIR-V and
the reflected module, `SpvReflectShaderModule` allowing implementations
to use the reflection information to compile their platform-specific
module.

* Fixes memory leak in `reflect_spirv` that would not deallocate the
  `SpvReflectShaderModule` if an error occurred.
* Removes unnecessary allocation when creating `SpvReflectShaderModule`
  by passing `NO_COPY` flag to `spvReflectCreateShaderModule2`
  constructor function.
* Replaces `VectorView` with `Span` for consistency
* Fixes unnecessary allocations in D3D12 shader container in
  `_convert_spirv_to_nir` and `_convert_spirv_to_dxil` which implicitly
  converted the old `VectorView` to a `Vector`
2025-09-30 06:40:14 +10:00
HolonProduction
743e0edfd7 Remove unused import_path member from Node 2025-09-29 21:40:01 +02:00
Marc Gilleron
0534423c58 Fix unreachable code warning in double-precision builds 2025-09-29 18:36:00 +02:00
Jonas Seidl
d1246b099e Fix d3d12 stencil buffer not clearing 2025-09-29 13:16:29 +02:00
Pāvels Nadtočajevs
3f84820711 [TextServer] Enforce zero width spaces and joiners to actually be zero width and not fallback to regular space. 2025-09-29 00:52:34 +03:00
Hugo Locurcio
90a171d278 Document compress() not being supported in exported builds in Image
This also clarifies various parts of the Image class reference.
2025-09-28 23:02:15 +02:00
Pāvels Nadtočajevs
2914a870af [TextServer] Do not add extra spacing to zero-width glyphs. 2025-09-28 21:39:44 +03:00
Aaron Franke
ac2e01684c Use const ref parameters in the Web modules 2025-09-28 08:13:13 -07:00
Aaron Franke
c3e6002c6e Use const ref parameters in the OpenXR module 2025-09-28 08:10:03 -07:00
Thaddeus Crews
8d8041bd4d Merge pull request #107391 from BastiaanOlij/openxr_spatial_entities_ext
OpenXR: Add support for spatial entities extension
2025-09-28 10:07:49 -05:00
Thaddeus Crews
ef4863ab97 Merge pull request #109764 from ydeltastar/android-fragment-fix
Android: Ensure proper cleanup of the fragment
2025-09-28 10:07:48 -05:00
Thaddeus Crews
781a37420f Merge pull request #110867 from Repiteo/core/deprecate-skip-cr
Core: Remove `skip_cr` argument from `String`
2025-09-28 10:07:47 -05:00
Thaddeus Crews
f6fc2f4a08 Core: Remove skip_cr argument from String 2025-09-28 10:07:24 -05:00
Silc Lizard (Tokage) Renew
f3db297fd1 Make extended SkeletonModifiers retrieve interpolated global transform 2025-09-28 13:35:10 +09:00
Thaddeus Crews
b4472f4670 Merge pull request #110970 from Repiteo/gui/fix-nullptr-deref
GUI: Fix `nullptr` deref in TextServer
2025-09-27 13:42:32 -05:00
Pāvels Nadtočajevs
9a1fbff651 [RTL] Fix outline_size=0 and font/otf tags with invalid arguments breaking tag stack and spamming errors. 2025-09-27 20:42:05 +03:00
Thaddeus Crews
720dfdde7d GUI: Fix nullptr deref in TextServer 2025-09-27 10:56:01 -05:00
Mikael Hermansson
a285ab6bcf Fix crash when calling move_and_collide with a null jolt_body 2025-09-27 13:30:04 +02:00
clayjohn
14b60f2264 Optimize vertex shader using mat3x4 to reduce bandwidth, load/store operations and ALUs 2025-09-26 23:20:08 -07:00
Bastiaan Olij
eeac57075c OpenXR: Implement spatial entities extension 2025-09-27 12:23:33 +10:00
Aaron Franke
754d49ac81 Skip copying values constructed immediately before returning 2025-09-26 19:13:58 -07:00
Aaron Franke
1a7be001d2 Use const Array ref in set_structured_text_bidi_override_options 2025-09-26 14:31:38 -07:00
kobewi
835383d46b Fix region folding not loading properly 2025-09-26 23:29:31 +02:00
Thaddeus Crews
9283328fe7 Merge pull request #109491 from syntaxerror247/window-color
Android: Add method to set root window color at runtime
2025-09-26 13:47:32 -05:00
Thaddeus Crews
3a16864c33 Merge pull request #107075 from m4gr3d/implement_javaclasswrapper_has_method
[Android] `JavaClassWrapper` bug fixes
2025-09-26 13:47:31 -05:00
Thaddeus Crews
e9cd9a9c35 Merge pull request #110914 from mihe/jolt/multiple-contact-callbacks
Fix CCD bodies adding multiple contact manifolds when using Jolt
2025-09-26 13:47:30 -05:00
Pāvels Nadtočajevs
1c59038555 Change macos.permission.RECORD_SCREEN version check from 10.15 to 11.0. 2025-09-26 19:25:49 +03:00
Hugo Locurcio
c4bbf27cb5 Use Jolt Physics by default in newly created projects
This also adds infrastructure to make specific settings the default, but only
in projects created after this point (so that existing projects
are not affected). This can be used for progressive upgrades in the future.

This applies to both the project creation dialog and creating projects
through the command line using `touch project.godot`.
2025-09-26 17:16:28 +02:00
ydeltastar
6a3d37ef1c Android: Ensure proper cleanup of the fragment 2025-09-26 10:18:11 -03:00
Luo Zhihao
727066fe1f Free script and extension instance before object deconstructing
Co-Authored-By: Lukas Tenbrink <lukas.tenbrink@gmail.com>
2025-09-26 18:15:08 +08:00
Mikael Hermansson
0590c974c1 Fix CCD bodies adding multiple contact manifolds when using Jolt 2025-09-26 01:17:11 +02:00
Lukas Tenbrink
1bf821c1e1 Store current capacity in CowData buffers, and rewrite most of it.
Add `reserve` to `CowData`, `Vector` and `Array`.

# Conflicts:
#	core/os/memory.h
#	core/templates/cowdata.h
2025-09-25 22:00:17 +02:00
Thaddeus Crews
1f7630f1bf Merge pull request #110841 from smix8/raster_casual
Make navmesh rasterization errors more lenient
2025-09-25 14:57:11 -05:00
Thaddeus Crews
e49e73e160 Merge pull request #110868 from brycehutchings/openxr_late_destruction_crash_fix
Fix late destruction access violation with OpenXRAPIExtension object
2025-09-25 14:57:11 -05:00
Thaddeus Crews
121b1b7d58 Merge pull request #110420 from fstxz/fix-folder-nullptr
Fix crash due to null pointer dereference when moving/renaming folders in `FileSystemDock`
2025-09-25 14:57:10 -05:00
Thaddeus Crews
5fda92451d Merge pull request #100145 from Ivorforce/memory-offset-func
Add `mem_aligned_address` to simplify data offset constants.
2025-09-25 14:57:09 -05:00
Thaddeus Crews
5088a93024 Merge pull request #110415 from fstxz/fix_favorites
Fix favorite folders that are outside of the project being displayed in `FileSystemDock`'s file list
2025-09-25 14:57:08 -05:00
Stuart Carnie
7227fdd805 Core: Add UNIX domain socket support
> [!NOTE]
>
> Later versions of Windows has support for `AF_UNIX`, so it could be
> added.
2025-09-26 05:46:19 +10:00
Lukas Tenbrink
3ac159094f Add memory_get_offset to simplify data offset constants. 2025-09-25 20:55:33 +02:00
smix8
19df15f1dc Make navmesh rasterization errors more lenient
Make navmesh rasterization on the navigation regions and map more lenient by starting out with a lower internal cell scale by default and changing the merge error to just warning that can be toggled.
2025-09-25 20:18:18 +02:00
Thaddeus Crews
a078895ad2 Merge pull request #109243 from precup/tile-map-optimizations
Avoid unnecessary updates in `TileMapLayer`
2025-09-25 12:13:57 -05:00
Thaddeus Crews
c32c2606f4 Merge pull request #110837 from wheatear-dev/add-gdsoftclass-deeper
Add `GDSOFTCLASS` to deeper inheritors of `Object`
2025-09-25 12:13:56 -05:00
Thaddeus Crews
5aa220efee Merge pull request #110865 from brycehutchings/openxr_d3d12_near_far_fix
Fix OpenXR with D3D12 using the wrong clip space projection matrix
2025-09-25 12:13:55 -05:00
Thaddeus Crews
6af2341894 Merge pull request #108743 from Nodragem/fix-jump-when-cutting
Fix jump when cutting a selection in Gridmap
2025-09-25 12:13:54 -05:00
Thaddeus Crews
d5848e2232 Merge pull request #110882 from nikitalita/patch-4
Fix HashMap/HashSet in natvis after member renames
2025-09-25 12:13:53 -05:00
Bryce Hutchings
cd198f7517 Remove static lifetime object to avoid late destruction 2025-09-25 10:11:08 -07:00
Hugo Locurcio
f277add285 Fix and improve Node2D.move_local_{x,y}() description
The `delta` parameter name refers to a generic distance parameter here,
rather than the process or physics process time.
2025-09-25 18:52:11 +02:00
Jojo-1000
71723f74b7 Mark necessary EditorImportPlugin functions as required 2025-09-25 17:15:32 +02:00