Commit Graph

77458 Commits

Author SHA1 Message Date
54e8c8eecc Merge pull request #110948 from aaronfranke/const-ref-param-openxr
Use const ref parameters in the OpenXR module
2025-09-30 11:19:11 -05:00
0e7bb92b1d Merge pull request #110977 from aaronfranke/const-ref-param-webrtc
Use const ref parameters in the Web modules
2025-09-30 11:19:11 -05:00
fdf32d1b2a Merge pull request #108577 from YYF233333/global_class_list
Simplify `ScriptServer::get_global_class_list`
2025-09-30 11:19:10 -05:00
084783e92b Reduce code duplication in material conversion 2025-09-30 16:56:05 +02:00
8fef9a689e Implement motion vectors in compatibility renderer 2025-09-30 09:42:17 -05:00
a9673e2bfc Remove unused multiplayer member from Node 2025-09-30 14:02:00 +02:00
6e33e3b7af makerst: Skip generated header for translations
This reduces diff size on branch updates for godot-docs-l10n.

(cherry picked from commit eca3785100)
2025-09-30 13:32:46 +02:00
cf6da2a12e i18n: Sync translations with Weblate
(cherry picked from commit d488e962df)
2025-09-30 13:32:35 +02:00
c79fe58939 Always show settings to enable DOF near + far 2025-09-29 22:29:24 -07:00
aa8bc0b56d Prompt editor restart when reflection probe size is updated
Also formally deprecate the RS function for updating an individual probes size. The functionality was removed in 4.0, but the function itself was mistakenly left exposed.
2025-09-29 18:35:34 -07:00
5021b3e6e5 Sort render list correctly in RD renderers 2025-09-29 17:22:26 -07:00
f00df0ad1e Fix incorrect usage of Color::from_hsv() that was exposed by newer compiler warnings 2025-09-29 18:18:51 -04:00
6ebef31b3c Make Node::orphan_node_count thread-safe 2025-09-29 17:54:41 -04:00
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
743e0edfd7 Remove unused import_path member from Node 2025-09-29 21:40:01 +02:00
0534423c58 Fix unreachable code warning in double-precision builds 2025-09-29 18:36:00 +02:00
97b398cba1 Rework editor docks 2025-09-29 17:30:41 +02:00
d1246b099e Fix d3d12 stencil buffer not clearing 2025-09-29 13:16:29 +02:00
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
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
2914a870af [TextServer] Do not add extra spacing to zero-width glyphs. 2025-09-28 21:39:44 +03:00
ac2e01684c Use const ref parameters in the Web modules 2025-09-28 08:13:13 -07:00
c3e6002c6e Use const ref parameters in the OpenXR module 2025-09-28 08:10:03 -07:00
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
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
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
f6fc2f4a08 Core: Remove skip_cr argument from String 2025-09-28 10:07:24 -05:00
f3db297fd1 Make extended SkeletonModifiers retrieve interpolated global transform 2025-09-28 13:35:10 +09:00
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
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
720dfdde7d GUI: Fix nullptr deref in TextServer 2025-09-27 10:56:01 -05:00
a285ab6bcf Fix crash when calling move_and_collide with a null jolt_body 2025-09-27 13:30:04 +02:00
14b60f2264 Optimize vertex shader using mat3x4 to reduce bandwidth, load/store operations and ALUs 2025-09-26 23:20:08 -07:00
eeac57075c OpenXR: Implement spatial entities extension 2025-09-27 12:23:33 +10:00
754d49ac81 Skip copying values constructed immediately before returning 2025-09-26 19:13:58 -07:00
1a7be001d2 Use const Array ref in set_structured_text_bidi_override_options 2025-09-26 14:31:38 -07:00
835383d46b Fix region folding not loading properly 2025-09-26 23:29:31 +02:00
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
3a16864c33 Merge pull request #107075 from m4gr3d/implement_javaclasswrapper_has_method
[Android] `JavaClassWrapper` bug fixes
2025-09-26 13:47:31 -05:00
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
1c59038555 Change macos.permission.RECORD_SCREEN version check from 10.15 to 11.0. 2025-09-26 19:25:49 +03:00
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
6a3d37ef1c Android: Ensure proper cleanup of the fragment 2025-09-26 10:18:11 -03:00
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
0590c974c1 Fix CCD bodies adding multiple contact manifolds when using Jolt 2025-09-26 01:17:11 +02:00
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
1f7630f1bf Merge pull request #110841 from smix8/raster_casual
Make navmesh rasterization errors more lenient
2025-09-25 14:57:11 -05:00
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
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
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