Commit Graph

13675 Commits

Author SHA1 Message Date
Thaddeus Crews a3b1272962 Merge pull request #118867 from YeldhamDev/gridmap_navmesh_optimize
Improve `GridMap` collider navmesh baking performance when using bake bounds
2026-04-23 08:34:59 -05:00
Thaddeus Crews e2115157f1 Merge pull request #118785 from bruvzg/hb_1420
Update HarfBuzz to 14.2.0 and ICU4C to 78.3
2026-04-23 08:34:58 -05:00
Michael Alexsander d243f7c6d4 Improve GridMap collider navmesh baking performance when using bake bounds
Co-authored-by: smix8 <52464204+smix8@users.noreply.github.com>
2026-04-22 19:40:01 -03:00
Thaddeus Crews 0e25644655 Merge pull request #118796 from deralmas/gotta-go-wrap
Buildsystem: Simplify `format_buffer` utility method
2026-04-22 09:58:29 -05:00
Thaddeus Crews 864f0b12cc Merge pull request #118805 from dsnopek/webxr-proxy-to-pthread3
Fix `disable_xr=yes` disabling the WebXR module
2026-04-21 16:46:07 -05:00
Dery Almas e4dcf1d852 Buildsystem: Simplify format_buffer utility method
This method is used to generate headers for embedding files into the binary
(think about the new `#embed` feature in C23 and C++26).

While the stringification step itself was plenty fast, it then proceeded
to wrap everything using the `textwrap` module. `textwrap` is *very*
slow, as it's apparently optimized for human text.

This patch reimplements the wrapping logic using a simple regex,
resulting in a tremendous speed improvement (~6x), and switches to `map`
for the stringification itself (thanks Rémi!)

It also removes a (practically) unused argument, `initial_indent`.

The generated files are pretty much the same, with a tiny difference in
line length (for some reason the old logic overshot the requested line
length)
2026-04-21 23:18:42 +02:00
Thaddeus Crews e998e94ff1 Merge pull request #118002 from dalexeev/gds-warn-confusable-temp-mod
GDScript: Add `CONFUSABLE_TEMPORARY_MODIFICATION` warning
2026-04-21 08:48:12 -05:00
Thaddeus Crews 24e54e743f Merge pull request #118032 from dalexeev/gds-fix-type-deduction-func-without-return
GDScript: Fix type deduction for functions without `return` statements
2026-04-21 08:48:10 -05:00
David Snopek 9930bd750f Fix disable_xr=yes disabling the WebXR module 2026-04-21 04:57:52 -05:00
Thaddeus Crews bee85a1057 Merge pull request #118780 from dsnopek/webxr-proxy-to-pthread2
Disable the WebXR module if `proxy_to_pthread` is enabled
2026-04-20 14:32:00 -05:00
Pāvels Nadtočajevs f9d5c544c8 Update HarfBuzz to 14.2.0 and ICU4C to 78.3 2026-04-20 21:25:32 +03:00
Thaddeus Crews 1b49449749 Merge pull request #118259 from bruvzg/hb_transform
[TextServer] Fix variable font transform.
2026-04-20 09:15:34 -05:00
David Snopek 5c7bdbe491 Disable the WebXR module if proxy_to_pthread is enabled 2026-04-20 08:39:02 -05:00
NoctemCat 55df36126f Add missing includes for web single thread 2026-04-20 19:00:14 +09:00
Danil Alexeev 8299b03c1a GDScript: Fix type deduction for functions without return statements 2026-04-19 12:11:58 +03:00
Thaddeus Crews e2355e8e0b Merge pull request #118648 from YeldhamDev/meshlib_editor_focus_fix
Fix `MeshLibrary` editor taking priority over `GridMap` when it shouldn't
2026-04-16 21:46:56 -05:00
Michael Alexsander a76a7d83b4 Fix MeshLibrary editor taking priority over GridMap when it shouldn't 2026-04-16 12:51:06 -03:00
Thaddeus Crews 2dc3039d56 Merge pull request #118128 from dhoverb/update_spatial_entities_apis
Make OpenXR Spatial Entities easier to extend
2026-04-16 09:41:09 -05:00
Kaleb Reid f973e3e346 Remove p_ and add r_ prefixes to argument names 2026-04-15 13:47:15 -07:00
dhoverb d72e8691f2 Update spatial entities APIs 2026-04-15 13:43:34 +00:00
Rémi Verschelde c1c88f88c1 Merge pull request #118372 from mrTag/noise_tex_threadpool
Switch NoiseTexture2D/3D from using Threads to WorkerThreadPool
2026-04-15 12:41:03 +02:00
Thaddeus Crews 90113707f2 Merge pull request #117887 from ryevdokimov/collision-vertex-snap
Add vertex snap to collision shape vertices in 3D editor
2026-04-14 15:44:30 -05:00
Thaddeus Crews 3aa4ebc418 Merge pull request #118415 from Chaosus/vs_fixes
Fix few typos in visual shader editor
2026-04-14 15:44:25 -05:00
Thaddeus Crews 31aaec1f2b Merge pull request #118546 from mieko/gltf-importer-deprecated-fix
EditorSceneFormatImporterGLTF: Fix build with `deprecated=no`
2026-04-14 07:10:59 -05:00
Thaddeus Crews 7ce1853014 Merge pull request #108219 from CookieBadger/area-light-integration
Add Rectangular Area Light Source
2026-04-14 07:10:56 -05:00
Mike Owens fb5724341b EditorSceneFormatImporterGLTF: Fix build with deprecated=no 2026-04-13 17:55:49 -04:00
Thaddeus Crews e15961f681 Merge pull request #118516 from raulsntos/dotnet/fix_GodotVersionConstants_property_name
Fix GodotVersionConstants property name
2026-04-13 15:52:17 -05:00
Thaddeus Crews c481829ef4 Merge pull request #118420 from mihe/godot-physics-area-detection
Fix Godot Physics missing area overlaps after `area_set_space`
2026-04-13 15:52:14 -05:00
Thaddeus Crews bafe886286 Merge pull request #115788 from Calinou/gltfdocument-expose-import-flags
Expose import flags in GLTFDocument, mark EditorSceneFormatImporter flags as bitfield
2026-04-13 15:52:10 -05:00
Thaddeus Crews 87898da27f Merge pull request #96748 from aaronfranke/gltf-tex-coord
GLTF: Read material texture "texCoord" property on import
2026-04-13 11:46:12 -05:00
Thaddeus Crews a4dfadd269 Merge pull request #113247 from aaronfranke/gltf-property-list
GLTF: Add `export_get_property_list` to GLTFDocumentExtension
2026-04-13 11:46:11 -05:00
Thaddeus Crews a4982318a4 Merge pull request #118333 from Joy-less/improve-MoveToward-doc
Improve `MoveToward` docs in C#
2026-04-13 11:46:08 -05:00
Thaddeus Crews 8d80b74623 Merge pull request #118514 from bruvzg/be
Remove unused and broken big endian support code.
2026-04-13 11:46:02 -05:00
Thaddeus Crews 2788762844 Merge pull request #118494 from fire/fix/ubsan-dds-put-u32
DDS: Use `put_u32` for unsigned writes.
2026-04-13 11:46:01 -05:00
Thaddeus Crews 935e7bc10e Merge pull request #118421 from KoBeWi/to_be_or_not_to_be
Check for class existence before getting enum constants
2026-04-13 11:45:59 -05:00
Raul Santos 4d9ca8c410 Fix GodotVersionConstants property name 2026-04-13 14:43:56 +02:00
Pāvels Nadtočajevs cdd274199e Remove unused and broken big endian support code. 2026-04-13 12:41:46 +03:00
K. S. Ernest (iFire) Lee 65ca207d2c dds: Use put_u32 for unsigned integer puts.
UBSan reports:
  image_saver_dds.cpp:417: implicit conversion from type 'uint32_t'
  of value 4278190080 to type 'int32_t' changed the value to -16777216
  stream_peer.cpp:184: implicit conversion from type 'int32_t'
  of value -16777216 to type 'uint32_t' changed the value to 4278190080

The DDS pixel format masks (r/g/b/a_mask) are uint32_t but put_32
takes int32_t. Use put_u32 to avoid the round-trip conversion that
UBSan flags when the high bit is set (e.g. a_mask = 0xFF000000).

This fix found a large class of uses where we put unsigned integer values into
integer puts.
2026-04-12 12:04:56 -07:00
kobewi b223598200 Check for class existence before getting enum constants 2026-04-12 12:39:06 +02:00
Mikael Hermansson 84e2889454 Fix Godot Physics missing area overlaps after area_set_space 2026-04-11 19:42:31 +02:00
Chaosus ac5977e30b Fix few typos in visual shader editor 2026-04-11 18:34:15 +03:00
Aaron Franke eb8ec10951 GLTF: Read material texture "texCoord" property on import 2026-04-11 02:21:25 -07:00
HolonProduction 97091c639b Deprecate ScriptLanguage::instance_has 2026-04-10 20:00:34 +02:00
ryevdokimov c375f0b6b3 Add vertex snap to collision shape vertices in 3D editor 2026-04-10 13:33:31 -04:00
Thaddeus Crews 85650dea09 Merge pull request #113129 from TheSofox/blender-vertex-colours-enum
Update Blender importer to handle more Vertex Color options
2026-04-10 10:32:37 -05:00
Thaddeus Crews 2a1ccc077d Merge pull request #118186 from HolonProduction/gdscript/instances-self-list
GDScript: Use linked list for instance tracking.
2026-04-10 10:32:33 -05:00
Thaddeus Crews 78a31b2aec Merge pull request #118280 from YeldhamDev/gridmap_octant_query
Add octant querying to `GridMap`
2026-04-10 10:32:19 -05:00
Thaddeus Crews c83925eaf0 Merge pull request #117399 from devloglogan/expose-interaction-profile-metadata
Expose `OpenXRInteractionProfileMetadata` singleton
2026-04-10 10:32:16 -05:00
Dominik 23aabbeb8d NoiseTexture2D/3D uses WorkerThreadPool for the noise generation instead of new Threads each 2026-04-10 10:54:44 +02:00
Thaddeus Crews 9cde903388 Merge pull request #118314 from dalexeev/gds-improve-prop-hint-arr-dict-type
GDScript: Improve `PROPERTY_HINT_{ARRAY,DICTIONARY}_TYPE` handling
2026-04-09 17:41:14 -05:00