1
0
Fork 0
Commit Graph

13135 Commits

Author SHA1 Message Date
Aaron Franke 62acc21bf5
GLTF: Move accessor encoding functions to GLTFAccessor 2025-10-21 08:42:29 -07:00
Thaddeus Crews 7d7d479162
Merge pull request #111615 from aaronfranke/gltf-anim-ptr-int-erpolate
GLTF: Enforce `STEP` interpolation for integer and boolean animations
2025-10-21 10:27:14 -05:00
Thaddeus Crews 80d06f166d
Merge pull request #111341 from aaronfranke/gltf-animate-visibility
GLTF: Support animating node visibility
2025-10-21 10:27:11 -05:00
Thaddeus Crews 0fce9b0439
Merge pull request #111684 from ultsi/fix-lsp-non-existing-values-dict-access
LSP: Use safe methods to get data from dictionaries
2025-10-21 10:27:03 -05:00
Thaddeus Crews 8f7cb0712a
Merge pull request #109475 from nikitalita/preserve-gltf-names
Preserve mesh, material, and texture names in GLTF export
2025-10-21 10:27:00 -05:00
Thaddeus Crews 563036185f
Merge pull request #108320 from aaronfranke/gltf-buf-accessor-dict
GLTF: Move accessor and buffer view Dictionary conversion into those classes
2025-10-21 10:26:59 -05:00
Thaddeus Crews f50d7fa1e8
Merge pull request #110709 from DeeJayLSP/dict-reserve
Add `reserve()` to `Dictionary`, apply to constructors on GDScript VM
2025-10-20 18:09:58 -05:00
Thaddeus Crews 414a4977d8
Merge pull request #108489 from raulsntos/dotnet/fix-bindgen-errors
[.NET] Fix various errors in bindings generator
2025-10-20 18:09:47 -05:00
Thaddeus Crews 3f4c15283e
Merge pull request #108487 from raulsntos/dotnet/remove-efs-update
[.NET] Remove EFS update on reloading assemblies
2025-10-20 18:09:44 -05:00
Haoyu Qiu 7af7ac6785 Fix crash when operating on newly created font RIDs 2025-10-19 10:46:28 +08:00
David Snopek 30d2a8a14c OpenXRExtensionWrapper: Document how to safely work when rendering with "Separate" thread model 2025-10-18 06:55:46 -05:00
Thaddeus Crews 6ae1caecaf
Merge pull request #109431 from dsnopek/openxr-composition-layer-safe-multithreaded-rendering
Make `OpenXRCompositionLayer` and its children safe for multithreaded rendering
2025-10-17 09:07:44 -05:00
Thaddeus Crews 769505fef3
Merge pull request #111703 from timothyqiu/glsl-utf8
Fix error when compute shaders contain Unicode comment
2025-10-16 12:48:10 -05:00
Thaddeus Crews 13404515fb
Merge pull request #111523 from Joy-less/fix-IsStaticallyResolvable
Fix `IsStaticallyResolvable`
2025-10-16 12:48:03 -05:00
Joonas Ulmanen c5aedff514 LSP: Fix dict[] uses where the key might not exist 2025-10-16 11:02:59 +03:00
Haoyu Qiu 73afe696d2 Fix error when compute shaders contain Unicode comment 2025-10-16 11:21:14 +08:00
Aaron Franke 74a03b4cfa Preserve mesh, material, and texture names in GLTF export 2025-10-15 10:57:11 -07:00
Thaddeus Crews 79e533679c
Merge pull request #111620 from Ivorforce/node-no-display-server
Remove `display_server.h` transitive include from `node.h`.
2025-10-14 10:31:25 -05:00
Thaddeus Crews e825169957
Merge pull request #107836 from aaronfranke/gltf-without-nodes
GLTF: Allow parsing glTF files without nodes
2025-10-13 19:29:03 -05:00
Thaddeus Crews 4ae535b3b9
Merge pull request #111419 from YeldhamDev/numbers_numbers_numbers
Add source lines to file locations on POT generation
2025-10-13 19:29:01 -05:00
Thaddeus Crews 8be090c03a
Merge pull request #111569 from DeeJayLSP/harfbuzz-update
Update HarfBuzz to 12.1.0
2025-10-13 19:28:49 -05:00
Thaddeus Crews 21a6488c7f
Merge pull request #109421 from aaronfranke/gltf-export-mesh-name
GLTF: Preserve mesh names on export
2025-10-13 19:28:46 -05:00
Thaddeus Crews 3dbd7d36d0
Merge pull request #111461 from DeeJayLSP/fthb
Use HarfBuzz to fix variant hinting in `TextServerAdvanced`
2025-10-13 19:28:44 -05:00
Lukas Tenbrink 1e0b41ab27 Remove `display_server.h` transitive include from `node.h`. 2025-10-14 00:43:02 +02:00
Aaron Franke 963b33ac40
GLTF: Enforce `STEP` interpolation for integer and boolean animations 2025-10-13 12:47:41 -07:00
Aaron Franke 02182b1087
GLTF: Move accessor and buffer view Dictionary conversion into classes 2025-10-13 11:51:25 -07:00
DeeJayLSP 276e1c222c Update HarfBuzz to 12.1.0 2025-10-13 15:12:33 -03:00
Aaron Franke b2e9bbfe01
GLTF: Support animating node visibility 2025-10-13 10:38:32 -07:00
Thaddeus Crews c9b72fcfb6
Merge pull request #111481 from Ivorforce/texture-less-includes
Remove extraneous includes from `texture.h`.
2025-10-13 12:30:13 -05:00
Thaddeus Crews 094eb99a43
Merge pull request #111601 from AThousandShips/fix_build_objprof
Fix use of outdated macros in ObjectDBProfiler
2025-10-13 12:30:09 -05:00
Thaddeus Crews 1274facd44
Merge pull request #111434 from ChristophHaag/initialize_XrRenderModelPropertiesEXT_type
Ensure `XrRenderModelPropertiesEXT::type` is initialized
2025-10-13 12:30:04 -05:00
A Thousand Ships ac05ce5226
Fix use of outdated macros in ObjectDBProfiler
These were renamed but were missed in this PR and fails with disable
deprecated.
2025-10-13 17:25:45 +02:00
Joyless a5ce9c3706 Fix IsStaticallyResolvable 2025-10-11 21:20:01 +01:00
DeeJayLSP 70f180975b Use HarfBuzz to fix variant hinting in `TextServerAdvanced` 2025-10-10 18:01:03 -03:00
HolonProduction bf7d580e29 Remove raw base pointer from `GDScript` 2025-10-10 21:55:25 +02:00
Lukas Tenbrink 985e6178b4 Remove extraneous includes from `texture.h`. 2025-10-10 18:39:16 +02:00
Thaddeus Crews 16a11ac88b
Merge pull request #111358 from Ivorforce/no-variant-hasher
Remove `VariantHasher` and `VariantComparator` in favour of specialising `HashMapHasherDefault` and `HashMapComparatorDefault`.
2025-10-10 10:26:12 -05:00
Thaddeus Crews e33f89fe27
Merge pull request #111323 from HolonProduction/rm-script
Remove `Object::script`
2025-10-10 10:26:09 -05:00
HolonProduction 87bbad5e8c LSP: Fix goto native declaration 2025-10-10 15:43:48 +02:00
Thaddeus Crews 092b7c6427
Merge pull request #110799 from AR-DEV-1/master
Update Godot's .NET version from 6.0 to 8.0
2025-10-09 11:46:51 -05:00
Thaddeus Crews 4ab22026b6
Merge pull request #111405 from Ivorforce/node-no-mesh
Remove transitive rendering includes from `node.h`
2025-10-09 11:46:49 -05:00
Christoph Haag e33e069508 initialize XrRenderModelPropertiesEXT 2025-10-09 18:45:13 +02:00
BlueCube3310 04860bb41a Betsy: Generate BC1 tables once during compression 2025-10-09 00:02:44 +02:00
Michael Alexsander 0de3f8b21f
Add source lines to file locations on POT generation 2025-10-08 16:43:22 -03:00
Thaddeus Crews 9a5d6d1049
Merge pull request #111389 from nikitalita/gltf-fix-export-prop
Fix segfault in GLTFDocument::export_object_model_property
2025-10-08 13:56:42 -05:00
Thaddeus Crews e20acd3fe3
Merge pull request #111289 from HolonProduction/rm-has-named-classes
Move deprecated `has_named_classes` from `ScriptLanguage` to `ScriptLanguageExtension`
2025-10-08 13:56:37 -05:00
Onebit d223b0ccbc Fix GDScript translation parser for FileDialog.add_filter() two-parameter format
The parser only handled the single-parameter semicolon format and thew
an error with two-parameter format. This fix supports both formats.

Co-authored-by: Danil Alexeev <dalexeev12@yandex.ru>
2025-10-08 19:45:21 +02:00
Lukas Tenbrink 33689d7beb Remove transitive `mesh.h`, `rendering_server.h` and `shader.h` includes from `node.h`. 2025-10-08 12:16:52 +02:00
nikitalita bca701f0eb fix segfault in GLTFDocument::export_object_model_property 2025-10-07 18:42:54 -07:00
Thaddeus Crews 651d278e1d
Merge pull request #110965 from mihe/jolt/v5.4.0
Jolt: Update to 5.4.0
2025-10-07 11:54:39 -05:00
Thaddeus Crews b95024752a
SCons: Remove system includes 2025-10-07 08:11:29 -05:00
Rémi Verschelde 56d5624e88
Merge pull request #111355 from bruvzg/zero_w_2
Enforce zero width spaces and joiners with missing font. Do not warn about missing non-visual characters.
2025-10-07 14:34:10 +02:00
Rémi Verschelde e1a6334b56
Merge pull request #111001 from bruvzg/ts_no_ft
Fix text servers build with disabled FreeType.
2025-10-07 14:33:55 +02:00
Lukas Tenbrink d2ee378d1c Remove `VariantHasher` and `VariantComparator` in favour of specializing `HashMapHasherDefault` and `HashMapComparatorDefault`. 2025-10-07 13:47:39 +02:00
Mikael Hermansson cf75064c71 Jolt: Update to 5.4.0 2025-10-07 13:43:40 +02:00
Rémi Verschelde 9052d31c68
Merge pull request #111331 from Repiteo/scons/revert-cppextpath
Revert "SCons: Add `CPPEXTPATH` for external includes"
2025-10-07 13:07:19 +02:00
Pāvels Nadtočajevs fda161f976
Enforce zero width spaces and joiners with missing font. Do not warn about missing non-visual characters. 2025-10-07 13:10:24 +03:00
Thaddeus Crews e437cfa280
Merge pull request #111307 from BastiaanOlij/openxr_persistence_layout_issue
Fix small code layout issue in persistence scope initialisation
2025-10-06 14:34:09 -05:00
Thaddeus Crews b17aa3343a
Revert "SCons: Add `CPPEXTPATH` for external includes" 2025-10-06 13:09:22 -05:00
David Snopek 093d191909 Make `OpenXRCompositionLayer` and its children safe for multithreaded rendering 2025-10-06 10:51:20 -05:00
HolonProduction 2adecffbc3 Remove `Object::script` 2025-10-06 16:27:53 +02:00
Thaddeus Crews 5935a32e32
Core: Cleanup headers in `core/config`
- `MainLoop` now forward-declared in `OS`
2025-10-06 09:20:56 -05:00
Thaddeus Crews d1d28c0bcf
Merge pull request #111223 from Ivorforce/remove-iterator-include
Replace `std::size` usage with `std_size` to avoid `<iterator>` include.
2025-10-06 09:06:49 -05:00
Thaddeus Crews 788745e5b8
Merge pull request #108644 from bnjmntmm/secure-android-surface
Use of `XrSwapchainCreateFlags` for `OpenXRCompositionLayer`
2025-10-06 09:06:45 -05:00
Thaddeus Crews 686b56fae9
Merge pull request #106434 from Ivorforce/invert-hashfuncs
Reduce cross project includes by rewriting `HashMapHasherDefault`.
2025-10-06 09:06:37 -05:00
Thaddeus Crews 30a0a41982
Merge pull request #111274 from chocola-mint/include-optimization-logger
Remove `file_access.h` and `script_backtrace.h` includes from `logger.h`.
2025-10-06 09:06:32 -05:00
Thaddeus Crews 5b2d91ef31
Merge pull request #111270 from chocola-mint/include-optimization-control
Remove `timer.h` include from `control.h`.
2025-10-06 09:06:31 -05:00
Thaddeus Crews ef5ecd95d7
Merge pull request #111254 from Ivorforce/object-no-rb-rw
Remove `rw_lock.h` and `rb_map.h` includes from `object.h`.
2025-10-06 09:06:29 -05:00
Thaddeus Crews 3b04c8464c
Merge pull request #107273 from DexterFstone/add-game-speed-controls
Add game speed controls to the embedded game window
2025-10-06 09:06:24 -05:00
Rémi Verschelde bc0342b3ef
Merge pull request #111290 from HolonProduction/lsp-restart
LSP: Fix repeated restart attempts
2025-10-06 14:08:12 +02:00
Bastiaan Olij e2a8e93005 Fix small code layout issue in persistence scope initialisation 2025-10-06 13:07:33 +11:00
Aaron Franke 5d492e1aed
GLTF: Allow parsing glTF files without nodes 2025-10-05 17:39:49 -07:00
Lukas Tenbrink 9d44b68867 Remove `rw_lock.h` and `rb_map.h` includes from `object.h`. 2025-10-05 23:29:04 +02:00
HolonProduction abeb9c654e Move deprecated `has_named_classes` from `ScriptLanguage` to `ScriptLanguageExtension` 2025-10-05 16:55:06 +02:00
HolonProduction 400c77f170 LSP: Fix repeated restart attempts 2025-10-05 16:09:21 +02:00
chocola-mint ead282ff13 Remove `file_access.h` and `script_backtrace.h` includes from `logger.h`. 2025-10-05 17:49:23 +09:00
DexterFstone 7ddce8ab26 Add game speed controls to the embedded game window 2025-10-05 11:13:15 +05:30
chocola-mint 19c47c5d99 Remove `#include "scene/main/timer.h"` from `control.h` 2025-10-05 14:41:06 +09:00
Lukas Tenbrink ad600125df Rewrite `HashMapHasherDefault` based on type traits - it is now possible to declare a default hashing function for any type.
Remove cross-project includes from `hashfuncs.h`.
Improve hashing function for `Color` (based on values instead of `String`).
Move `Variant` comparison from `hash_map.h` to `dictionary.cpp` (`VariantComparatorDictionary`), where it's used.
Remove now unnecessary `HashableHasher`.
2025-10-05 01:49:11 +02:00
Lukas Tenbrink 1db0a60dc0 Replace `std::size` usage with `std_size` to avoid `<iterator>` include. 2025-10-05 00:26:11 +02:00
Thaddeus Crews f6aa5ba23c
Merge pull request #97210 from AleksLitynski/object-snapshot-debugger
Add an ObjectDB Profiling Tool
2025-10-03 12:01:11 -05:00
Thaddeus Crews 38af23a654
Merge pull request #89409 from aaronfranke/server-folders
Move server files into their subfolders
2025-10-03 12:01:00 -05:00
Thaddeus Crews 9281613e76
Merge pull request #98061 from dalexeev/gds-remove-unnecessary-bools
GDScript: Remove some unnecessary booleans
2025-10-02 15:11:56 -05:00
HolonProduction c06063d962 Remove unused `GDScript::subclass_count` 2025-10-02 19:16:41 +02:00
Danil Alexeev 5f0ecf4c8c
GDScript: Remove some unnecessary booleans
Co-authored-by: HolonProduction <holonproduction@gmail.com>
2025-10-02 13:36:03 +03:00
Thaddeus Crews 8f386fd9c4
Merge pull request #110775 from fstxz/preload-comma
Allow trailing comma in `preload`
2025-10-01 17:54:19 -05:00
Thaddeus Crews 6f014135c4
Merge pull request #110317 from bruvzg/ts_zero_w
[TextServer] Do not add extra spacing to zero-width glyphs.
2025-10-01 13:12:38 -05:00
Aaron Franke 3d1c9fd5de
Move server files into their subfolders 2025-09-30 19:39:39 -07:00
Thaddeus Crews d705613db3
Merge pull request #110964 from mihe/jolt/invalid-test-motion
Fix crash when calling `move_and_collide` with a null `jolt_body`
2025-09-30 20:10:49 -05:00
Thaddeus Crews 45502d1f04
Merge pull request #104510 from fstxz/gridmap-preview-scale
GridMap: fix cell scale not applying to the cursor mesh
2025-09-30 20:10:43 -05:00
Thaddeus Crews 7b5ee98474
Merge pull request #94118 from CrazyRoka/optimize-gdscript-notifications
Optimize `GDScriptInstance::notification` for better performance
2025-09-30 20:10:36 -05:00
Thaddeus Crews 7aa229cc8a
Merge pull request #111014 from bruvzg/lbl_sp_x
[TextServer] Enforce zero width spaces and joiners to actually be zero width and not fallback to regular space.
2025-09-30 20:10:34 -05:00
Thaddeus Crews b9730c0b2e
Merge pull request #110240 from westenral/add_int_division_warnings
Add checks for integer vectors for integer division warning
2025-09-30 20:10:33 -05:00
Aaron Franke 9fbf5808a0
Rename server "free" functions to "free_rid" to match exposed API 2025-09-30 16:52:25 -07:00
Thaddeus Crews 1f7bf131b0
Merge pull request #109298 from HolonProduction/autocompletion-cleanup
Autocompletion: Remove duplicate code
2025-09-30 18:35:24 -05:00
Thaddeus Crews 7ca521eda1
Merge pull request #109533 from dsnopek/openxr-api-prevent-updating-extension-lists
OpenXR: Prevent adding/removing extension wrappers after session start
2025-09-30 18:35:18 -05:00
Thaddeus Crews 4f66d53068
Merge pull request #109532 from dsnopek/openxr-api-environment-blend-mode-thread-safe
OpenXR: Safely set environment blend mode when rendering on a separate thread
2025-09-30 18:35:17 -05:00
Thaddeus Crews 8bc1dd63f4
Merge pull request #107936 from mihe/missing-await-warning
Add opt-in GDScript warning for when calling coroutine without `await`
2025-09-30 18:35:05 -05:00
CrazyRoka bcc0922a20 Optimize GDScriptInstance::notification for better performance 2025-09-30 19:57:35 +01:00
Thaddeus Crews 21fd4faf1b
Merge pull request #107469 from Ivorforce/vector-localvector-explicit-span-conversions
Remove implicit conversions between `LocalVector` and `Vector`
2025-09-30 11:19:17 -05:00
Thaddeus Crews 7974cf00e7
Merge pull request #110952 from aaronfranke/skip-cons-then-copy
Skip copying values constructed immediately before returning
2025-09-30 11:19:15 -05:00
Thaddeus Crews 62933b683e
Merge pull request #105928 from Ivorforce/cowdata-reserve-capacity
Core: Add `reserve` function to `Array`, `Vector`, and `String`
2025-09-30 11:19:13 -05:00
Thaddeus Crews e256771e86
Merge pull request #108836 from aaronfranke/json-grisu
Use num_scientific (Grisu2) when stringifying JSON with full precision
2025-09-30 11:19:12 -05:00
Thaddeus Crews 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
Thaddeus Crews 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
Thaddeus Crews fdf32d1b2a
Merge pull request #108577 from YYF233333/global_class_list
Simplify `ScriptServer::get_global_class_list`
2025-09-30 11:19:10 -05:00
Rahi 5a0f29f316 Option to enable cvtt and betsy compression in exported builds 2025-09-30 09:19:59 +03: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
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
Pāvels Nadtočajevs e59a55e645
Fix text servers build with disabled FreeType. 2025-09-28 17:08:51 +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
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
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
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 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
Bryce Hutchings cd198f7517 Remove static lifetime object to avoid late destruction 2025-09-25 10:11:08 -07:00
A Thousand Ships bd65cfa876
Revert "Replace many uses of `is_class` with `derives_from`."
This reverts commit 78b743cf4a.
2025-09-25 13:48:53 +02:00
Aaron Franke da9a77ce42
GLTF: Preserve mesh name on export 2025-09-24 20:28:52 -07:00
Aaron Franke 9993438a9e
Use explicit public access modifier in C# code 2025-09-24 14:32:38 -07:00
Edward Moulsdale e366471fdc Add GDSOFTCLASS to deeper inheritors of Object 2025-09-24 19:15:56 +01:00
Aaron Franke a238af4d20
Use num_scientific (Grisu2) when stringifying JSON with full precision 2025-09-24 08:21:37 -07:00
Thaddeus Crews 78b743cf4a
Merge pull request #110832 from Ivorforce/is-class-to-derives-from
Replace many uses of `is_class` with `derives_from`.
2025-09-24 09:59:09 -05:00
Bryce Hutchings 58ecb8ade5 Fix D3D12 using the wrong clip space projection matrix. Remove error-prone/unnecessary graphicsApi parameter. 2025-09-23 16:58:39 -07:00
DeeJayLSP 8a7a0faa75 Add `reserve()` to `Dictionary`, apply to constructors on GDScript VM 2025-09-23 16:57:52 -03:00
Thaddeus Crews b7c5fcaf1e
Merge pull request #110815 from AThousandShips/fix_nav_2d
[Navigation 2D] Fix sign of cross product
2025-09-23 14:51:54 -05:00
Lukas Tenbrink 8ef4a43ada Replace many uses of `is_class` with `derives_from`. 2025-09-23 19:59:00 +02:00
Thaddeus Crews aa2c4fe654
Merge pull request #110717 from Shadows-of-Fire/elide-copy-typed-collection
GDScript: Elide unnecessary copies in `CONSTRUCT_TYPED_*` opcodes
2025-09-23 12:08:53 -05:00
Thaddeus Crews 6010f0f2b0
Merge pull request #110777 from BastiaanOlij/openxr_1_1_52
OpenXR: Update to OpenXR 1.1.52
2025-09-23 12:08:52 -05:00
Thaddeus Crews cd3a6c88fd
Merge pull request #106200 from BlueCube3310/image-16-u16
Image: Implement 16-bit unorm and uint formats
2025-09-23 12:08:46 -05:00
AR-DEV-1 1036bfd7ad Update .NET version to 8.0 & lang version to 12 2025-09-23 21:04:05 +05:00
A Thousand Ships f8d72ba783
[Navigation 2D] Fix sign of cross product
Regression from splitting the servers. Also replaces the method for
getting the triangle area.
2025-09-23 14:55:17 +02:00
Thaddeus Crews 491ecff31e
Merge pull request #99195 from shitake2333/csharp_translation_parser_support
Add c# translation parser support
2025-09-22 21:01:01 -05:00
Thaddeus Crews 6dddb6e6d6
Merge pull request #110194 from bruvzg/emoji_run
[TextServer] Shape emojis as separate runs.
2025-09-22 21:00:58 -05:00
Michael Alexsander f16ff829f0
Allow to use sliders for integers in `EditorSpinSlider` 2025-09-22 11:23:15 -03:00
Thaddeus Crews ba0da90ba6
Merge pull request #108254 from KoBeWi/ENABLE_HINT_GROUP_PROPERTY_HINT
Add more `PROPERTY_HINT_GROUP_ENABLE` uses
2025-09-22 08:50:12 -05:00
Thaddeus Crews d8b057d06d
Merge pull request #108974 from Joy-less/Improve-`IsNormalized()`
Improve `IsNormalized()` in C#
2025-09-22 08:50:06 -05:00
Thaddeus Crews 9b7a723aac
Merge pull request #107721 from YYF233333/ps_include
Remove dependency of `variant.h` in `print_string.h`
2025-09-22 08:50:04 -05:00
Thaddeus Crews 94dbc42a56
Merge pull request #62083 from KoBeWi/string_slice'n_dice
Improve usage of `String.split()` vs `get_slice()`
2025-09-22 08:50:01 -05:00
Thaddeus Crews 0e2b54e1da
Merge pull request #109216 from Ryan-000/improve_rpc_error_messages
Improve RPC Error messages
2025-09-22 08:49:58 -05:00
Bastiaan Olij d9c0183bd7 OpenXR: Update to OpenXR 1.1.52 2025-09-22 21:25:45 +10:00
Artemy Fedotov a3e0f8dee2
Allow trailing comma in `preload` 2025-09-22 14:15:12 +04:00
kobewi 98a4b46b6a Add more PROPERTY_HINT_GROUP_ENABLE uses 2025-09-20 21:11:12 +02:00
Thaddeus Crews 7738626d25
Merge pull request #107800 from Joy-less/add-ROS-overload-for-Callable.Call
Add `ReadOnlySpan<Variant>` overload for `Callable.Call`
2025-09-20 13:41:36 -05:00
Thaddeus Crews 00574d4ba5
Merge pull request #81701 from Repiteo/c#-attribute-interface-doc
C#: Add documentation for Interfaces and Attributes
2025-09-20 13:41:32 -05:00
Shadows_of_Fire b18beb2cc2 Elide unnecessary copies in `CONSTRUCT_TYPED_*` opcodes 2025-09-20 00:00:18 -07:00
Thaddeus Crews e15210b466
Merge pull request #98268 from Calinou/import-export-bake-fps-add-range-hint
Add a property range hint to `bake_fps` in the scene glTF export dialog
2025-09-19 20:54:32 -05:00
Thaddeus Crews 1e5b4a1aae
Merge pull request #109944 from DanielKinsman/headless-blender-import-hang
Fix hang when importing blender files in headless mode
2025-09-19 20:54:29 -05:00
Thaddeus Crews 34609db10b
Merge pull request #109969 from dsnopek/openxr-validation-errors
OpenXR: Fix errors reported by `XrApiLayer_core_validation`
2025-09-19 20:54:28 -05:00
Thaddeus Crews 597c5d413f
Merge pull request #109611 from devloglogan/hand-tracking-microgestures
Add XR_META_hand_tracking_microgestures action paths
2025-09-19 20:54:25 -05:00
Thaddeus Crews 8265bb8b6a
Merge pull request #110097 from aaronp64/array_tests
Add more `Array` tests
2025-09-19 13:07:13 -05:00
Thaddeus Crews 2a7e01e4fc
Merge pull request #80427 from MewPurPur/rework-noise-texture-icons
Rework icons of noise-related classes
2025-09-19 13:07:07 -05:00
Thaddeus Crews 9a76f55518
[C#] Add documentation for Interfaces/Attributes 2025-09-19 11:57:42 -05:00
kobewi d61a337a70 Improve usage of String.split() vs get_slice() 2025-09-19 16:31:55 +02:00
Yufeng Ying 05dae23f18 Remove dependency of variant.h in print_string.h
Co-authored-by: Lukas Tenbrink <lukas.tenbrink@gmail.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2025-09-19 14:57:36 +08:00
molingyu da8f647fa1 feat: Add c# translation parser support
Use semantic model to analyze the method to be selected

Support translation comment

Make C# multi-line comments also ignore translation

Add  preprocessor symbols support
2025-09-19 13:46:01 +08:00
Thaddeus Crews be11bf1d6b
Merge pull request #110540 from akien-mga/linux-system-libturbojpeg
Linux: Allow unbundling libjpeg-turbo to use system package
2025-09-18 21:02:31 -05:00
Rémi Verschelde b9cdc74b2b
Vorbis: Add details to warning about invalid comment header 2025-09-18 12:19:25 +02:00
Thaddeus Crews 8b4b93a82e
Merge pull request #105950 from Joy-less/Fix-array-span-constructors
Fix array span constructors in C#
2025-09-17 11:34:19 -05:00
Thaddeus Crews 38d80598f5
Merge pull request #108121 from Repiteo/core/disabled-class-rework
Core: Handle disabled class detection in `ClassDB`
2025-09-17 11:34:16 -05:00
Thaddeus Crews d51c13fdd4
Merge pull request #110397 from mooflu/syntaxhi-110390
Don't reset color if the previous token is a number ending with a dot.
2025-09-16 20:29:00 -05:00
Thaddeus Crews 00699ec29e
Merge pull request #110329 from beicause/jolt-orphan-string-name
JoltPhysics: Fix orphan StringName
2025-09-16 20:28:57 -05:00
Lukas Tenbrink abe3b481ae Make conversions from `LocalVector` to `Vector` explicit. 2025-09-16 21:41:28 +02:00
Thaddeus Crews f73d3db412
Merge pull request #108527 from raulsntos/dotnet/enum-variant-conversion
[.NET] Fix enum from/to Variant conversion
2025-09-16 11:44:50 -05:00
Thaddeus Crews 4dec6af2c8
Merge pull request #108613 from Repiteo/scons/fix-defines
SCons: Ensure `CPPDEFINES` is properly utilized
2025-09-16 11:44:45 -05:00
Yufeng Ying a50fc5acd8 Change ClassDB::get_class_list and related stuff. 2025-09-16 15:00:33 +08:00
Rémi Verschelde 6d8aa8582f
Linux: Allow unbundling libjpeg-turbo to use system package 2025-09-15 23:52:48 +02:00
Thaddeus Crews c2141e0aa5
Bump version to 4.6-dev 2025-09-15 15:50:22 -05:00
Lukas Tenbrink 4c0026b053 Update links to the contributing section of the docs to the appropriate new sections. 2025-09-12 01:04:14 +02:00
Frank Becker aa8acd1a04 Don't reset color if the previous token is a number ending with a dot. 2025-09-11 11:40:15 -07:00
Hugo Locurcio f6895c4150
Fix MDN link for XRReferenceSpaceType in WebXRInterface class documentation 2025-09-10 01:13:09 +02:00
Luo Zhihao 793228f171
JoltPhysics: Fix orphan StringName 2025-09-08 22:18:46 +08:00
Raul Santos f0c9253bec
[.NET] Require `net9.0` for Android exports
To ensure Android exports are compatible with the new Play Store
requirement that all `.so` libraries included are aligned to 16k,
we now require C# projects to target `net9.0` which uses the
correct alignment (as opposed to the current one of 4k).

The thirdparty jar library has also been updated to the one from
the 9.0.4 runtime package so it's compatible with non-gradle
builds targeting `net9.0`.

Non-android projects are not affect, the minimum TFM is still
`net8.0`.
2025-09-05 04:14:27 +02:00
westenral 565e1aaeb9 Add checks for integer vectors for integer division warning
Remove warnings for invalid Vectori combinations

Co-authored-by: kleonc <9283098+kleonc@users.noreply.github.com>
2025-09-04 10:13:05 -04:00
Pāvels Nadtočajevs ddde1c07a6
[TextServer] Shape emojis as separate runs. 2025-09-02 13:03:50 +03:00
aaronp64 2b855d831d Add more Array tests
Added more tests for Array, focusing on methods exposed to gdscript that didn't have tests.
2025-08-30 13:12:16 -04:00
Volker Schlecht 54eb2799da
Fix build on OpenBSD
Like FreeBSD, OpenBSD cannot build the camera module because it uses interfaces only provided by Linux
2025-08-30 15:02:01 +02:00
jitspoe 9a4ec179e4 Default mjpeg avi movie writer to 16 bit audio and add an editor option so it can still write 32 bit. 2025-08-29 03:18:03 -04:00
Thaddeus Crews e0f17b408b
Merge pull request #109685 from nikitalita/fix-gltf-infinite-loop
Fix infinite loop in GLTFDocument::_convert_animation_node_track
2025-08-26 19:01:12 -05:00
Thaddeus Crews 555e7ad073
Core: Handle disabled class detection in ClassDB 2025-08-26 09:31:14 -05:00
David Snopek f9c76d026d OpenXR: Fix errors reported by XrApiLayer_core_validation 2025-08-25 15:54:54 -05:00
Daniel Kinsman a001026dbb
Update modules/gltf/editor/editor_scene_importer_blend.cpp
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2025-08-25 22:00:13 +10:00
Daniel Kinsman 0cace15d72
better error message 2025-08-25 21:23:44 +10:00
Daniel Kinsman c75a33aa5d Fix hang when importing blender files in headless mode 2025-08-25 11:30:56 +10:00
Thaddeus Crews 6281245e86
Merge pull request #109929 from jrouwe/issue_109883
Fixed crash when rendering a soft body 3d
2025-08-24 14:23:05 -05:00
Thaddeus Crews 37a48c89f9
Merge pull request #106744 from L2750558108/fix-@-error-in-c#
Fix source generator exceptions appearing when use "@+internal keyword" as type or namespace name in C# script
2025-08-24 11:04:31 -05:00
Jorrit Rouwe 09fcaa7db4 Fixed crash when rendering a soft body 3d
When a mesh is provided that has vertices that are not referenced by any face, these vertices will be discarded. In the internal 'mesh_to_physics' map, this led to uninitialized data which could result in a crash. Now we initialize the map with -1 and report an error when users try to manipulate these vertices.

Fixes #109883
2025-08-24 15:38:11 +02:00
Aaron Franke 11a13154de
GLTF: Fix minor niche edge case issues with accessors 2025-08-23 00:17:58 -07:00
Thaddeus Crews 8e458d19cb
Merge pull request #109152 from bruvzg/font_fb_no_msdf
Use non-MSDF fallback for MSDF fonts if fallback is a color or non-scalable font.
2025-08-22 12:35:36 -05:00
David Snopek 13a643d78a OpenXR: Safely set environment blend mode when rendering on a separate thread 2025-08-22 08:11:04 -05:00
David Snopek 4a24de208f OpenXR: Prevent adding/removing extension wrappers after session start 2025-08-22 08:04:03 -05:00
Bastiaan Olij ccceb2ac60 OpenXR: Fix default action map entry for Vive Focus 3 2025-08-22 16:28:25 +10:00
Thaddeus Crews b432e108d5
Merge pull request #109791 from Talkashie/master
Typo cleanup pass
2025-08-21 18:39:37 -05:00
Arti Chhabra e7214c229b Fix the issue by resetting the reloading false first and then returning error directly instead of calling Macro
Fix the review comment

Fix the clang format

Update as per review comment
2025-08-21 13:13:11 -07:00
Thaddeus Crews d5ad0556a2
Merge pull request #109630 from aaronfranke/openxr-gltf-doc-ext
OpenXR: Use GLTFDocument function to get supported extension names
2025-08-21 06:24:28 -05:00
Thaddeus Crews fc245d69d2
Merge pull request #109304 from HolonProduction/parse-annoation-early-end-stop
GDScript: Don't stop annotation argument parsing at file end
2025-08-20 12:07:16 -05:00
Talkashie bc7e68dfd1 Typos 2025-08-19 18:32:59 -05:00
Thaddeus Crews 8ebf8ae23c
Merge pull request #109666 from aaronfranke/import-mesh-validate-indices-mult-3
ImporterMesh: Validate triangle indices array size is a multiple of 3
2025-08-18 20:36:49 -05:00
Thaddeus Crews 4d107c1f56
Merge pull request #109561 from aaronfranke/gdscript-error-message
Improve error messages for lambda functions without a body
2025-08-18 20:36:47 -05:00
Aaron Franke ba92af7d07
ImporterMesh: Validate triangle indices array size is a multiple of 3 2025-08-18 06:36:21 -07:00
Aaron Franke b73597292b
Improve error messages for lambda functions without a body 2025-08-18 06:29:20 -07:00
Thaddeus Crews 3797c1e456
Merge pull request #109647 from m4gr3d/fix_composition_layer_provider_setup
Fix missing layer provider setup when setting Surface after visibility
2025-08-18 08:29:11 -05:00
nikitalita 32a59bbdf4 Fix infinite loop in GLTFDocument::_convert_animation_node_track 2025-08-17 13:53:35 -07:00
Mauricio Narvaez ca798bf94d Add missing layer provider setup when setting Surface after visibility 2025-08-16 07:55:15 -07:00
Aaron Franke 7be711ecb7
OpenXR: Use GLTFDocument function to get supported extension names 2025-08-15 12:58:53 -07:00
Jens Pitkanen 4808c25c2e Fix light values on blend import when using non-physical light units 2025-08-15 21:30:08 +03:00
Thaddeus Crews 0c51ede243
Merge pull request #109625 from aaronfranke/gltf-texture-sampler-crash
GLTF: Fix crash reading texture sampler for non-existent texture
2025-08-15 12:58:48 -05:00
devloglogan 1a864595cf Add XR_META_hand_tracking_microgestures actions 2025-08-15 10:37:29 -05:00
Aaron Franke 821fecd933
GLTF: Fix crash reading texture sampler for non-existent texture 2025-08-14 19:25:32 -07:00
Mikael Hermansson 6c907c2d37 Fix `move_and_slide` forcing synchronization with physics thread
Co-authored-by: Ricardo Buring <ricardo.buring@gmail.com>
2025-08-14 18:58:36 +02:00
kobewi a33ae0be0e Add has_extension() method to String 2025-08-12 13:15:16 +02:00
Thaddeus Crews ca452113d4
Merge pull request #109437 from bruvzg/msdf_no_t
Use MSDF instead of MTSDF for font rendering.
2025-08-11 09:55:28 -05:00
Pāvels Nadtočajevs 86e61a311f
Use MSDF instead of MTSDF for font rendering.
Co-authored-by: K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>
2025-08-09 10:41:16 +03:00
2750558108 f192430921 Fix source generator exceptions appearing when use "@+internal keyword" as type or namespace name in C# script 2025-08-09 13:25:54 +08:00
KOGA Mitsuhiro 49e3eba008 Consolidate frame_changed signal into CameraFeed 2025-08-09 04:12:27 +09:00
Thaddeus Crews 7f96fc568e
Merge pull request #108165 from shiena/feature/improve-camera-server
Add `CameraServer` `feeds_updated` signal, and document async behavior
2025-08-08 12:28:07 -05:00
Pāvels Nadtočajevs b21e6529e6
[GDScript] Fix `range` helper method using 32-bit ints for arguments. 2025-08-08 20:22:24 +03:00
KOGA Mitsuhiro 2560ddbce0 Add CameraServer camera_feeds_updated signal, and document async behavior 2025-08-08 03:53:41 +09:00
Ryan 0f870fd286 Improve RPC Error messages
Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2025-08-06 17:14:18 -04:00
Thaddeus Crews 395b0f0a3d
Merge pull request #103635 from BlueCube3310/rgb565-fix
Fix Image format RGB565 conversion and rendering
2025-08-06 12:01:17 -05:00
Thaddeus Crews ce330e61a2
Merge pull request #109297 from HolonProduction/completion-dont-call
Autocompletion: Don't call const functions
2025-08-06 12:01:16 -05:00
Thaddeus Crews 8b017296ef
Merge pull request #109289 from BastiaanOlij/openxr_fix_actionmap_tooltip
OpenXR: Fix required extension tooltip
2025-08-06 12:01:12 -05:00
HolonProduction 97b1bc6bda Autocompletion: Don't call const functions 2025-08-05 09:03:10 +02:00
Thaddeus Crews bb02ab2909
Merge pull request #107436 from timothyqiu/action-button-icon
Fix some inspector action buttons not updating icon when theme changes
2025-08-04 12:04:19 -05:00
HolonProduction 0e92dc7b8c GDScript: Don't stop annotation argument parsing at file end 2025-08-04 17:28:45 +02:00
HolonProduction 8ec31b7b3d Autocompletion: Remove duplicate code 2025-08-04 12:59:22 +02:00
Haoyu Qiu 5593ac4e3b Fix some inspector action buttons not updating icon when theme changes 2025-08-04 15:30:36 +08:00
Bastiaan Olij cb8c0512bd OpenXR: fixed required extension tooltip 2025-08-04 13:10:36 +10:00
Raul Santos dd662f9c6a
[.NET] Fix `Quaternion(Vector3, Vector3)` constructor when vectors are the same. 2025-08-03 20:26:20 +02:00
Thaddeus Crews 0d6c1c37e2
Merge pull request #109196 from smix8/pppedgecentered
Fix path post-processing edgecentered
2025-08-03 10:51:10 -05:00
BlueCube3310 638c6a5659 Fix Image format RGB565 conversion 2025-08-03 16:28:13 +02:00
Thaddeus Crews cce10e0b22
Merge pull request #109181 from nikitalita/gltf-dedupe-images
Dedupe images during GLTF Export
2025-08-01 11:45:21 -05:00
Thaddeus Crews 975bcaa90a
Merge pull request #109094 from Repiteo/tests/error-output-fix
Fix unfiltered error output in tests
2025-08-01 11:45:16 -05:00
smix8 a3f393a3e1 Fix path post-processing edgecentered
Fixes path post-processing edgecentered.
2025-08-01 15:06:30 +02:00
nikitalita 7fcc7e19f3 Dedupe images during GLTF Export 2025-07-31 17:35:04 -07:00
Hugo Locurcio a3179a0b3c
Improve documentation related to GridMap mesh/lightmap baking 2025-07-31 16:30:32 +02:00
Pāvels Nadtočajevs 738dd2fd10
Use non-MSDF fallback for MSDF fonts if fallback is a color or non-scalable font. 2025-07-31 09:40:10 +03:00
Thaddeus Crews 5c3990c173
Merge pull request #106579 from timothyqiu/add-button-text
Fix i18n for array property custom add button text
2025-07-30 09:03:47 -05:00
Thaddeus Crews 33c257c081
Merge pull request #95414 from jsjtxietian/inside-tree
Fix `!is_inside_tree` in csg node when reloading a scene
2025-07-30 09:03:45 -05:00
Thaddeus Crews 5f6849534a
Merge pull request #108959 from bruvzg/empty_lines
Fix font fallback for lines with only non-visual/control characters.
2025-07-30 09:03:43 -05:00
Thaddeus Crews cfc58710b7
Merge pull request #108697 from clayjohn/pump-task
Ensure that threads only process one pump task
2025-07-30 09:03:42 -05:00