passivestar
219035c5ea
Fix LightmapGI shadow leaks
2025-06-08 20:13:12 +04:00
Sat
fc4df4b17d
Added working version for user-defined function autocompletion
2025-06-08 07:01:35 -03:00
smix8
0ce53ffc69
Change 2D avoidance callbacks from Vector3 to Vector2
...
Changes 2D avoidance callbacks from Vector3 to Vector2.
2025-06-07 14:21:28 +02:00
smix8
03e5d64dd9
Match avoidance defaults for NavigationAgent and NavigationServer NavAgent
...
Matches avoidance defaults for NavigationAgent and NavigationServer NavAgent. The node had different properties than the server agent and the 2d version still used outdate defaults form the 3d version.
2025-06-07 13:49:12 +02:00
Rémi Verschelde
b05ae3e0bc
Merge pull request #107193 from aaronfranke/gltf-align-accessor-buffer
...
GLTF: Align accessor buffer `byteOffset` to multiple of component size
2025-06-07 00:43:58 +02:00
Rémi Verschelde
9786857bd9
Merge pull request #107194 from aaronfranke/gltf-no-zero-byte-offset
...
GLTF: Don't save unnecessary zero "byteOffset" on export
2025-06-06 17:38:08 +02:00
Rémi Verschelde
a54286197e
Merge pull request #107145 from BlueCube3310/light-shadowmask-sort
...
LightmapGI: Search for shadowmask light index only after sorting the lights
2025-06-06 17:37:29 +02:00
Micky
3613306bba
Fix miscellaneous oddities around the class reference (part 5)
2025-06-06 15:21:25 +02:00
kobewi
13f642d959
Replace XML codeblock spaces with tabs
2025-06-06 14:35:38 +02:00
Aaron Franke
902e7cc82b
GLTF: Don't save unnecessary zero "byteOffset"
2025-06-05 19:08:59 -07:00
Aaron Franke
968744e17e
GLTF: Align accessor buffer byteOffset to multiple of component size
2025-06-05 19:01:12 -07:00
Rémi Verschelde
b71d0a3671
libktx: Update to 4.4.0
2025-06-06 01:24:43 +02:00
Aaron Franke
61ff5f1bdd
GLTF: Support 64-bit sizes in glTF import and export
2025-06-05 12:40:21 -07:00
Rudolph Bester
9b00031886
Fix SH lightmap coefficients for direct lights
2025-06-05 20:38:13 +02:00
Rémi Verschelde
9a583485e2
openxr: Update to 1.1.48
2025-06-05 17:48:20 +02:00
BlueCube3310
6434c3d2c4
LightmapGI: Search for shadowmask light index only after sorting the lights
2025-06-05 15:55:48 +02:00
Haoyu Qiu
1ca5bc2d04
Doc: Add "required" qualifier to methods
2025-06-05 21:41:07 +08:00
Rémi Verschelde
61639d9574
Merge pull request #106996 from Ivorforce/no-oa-hashmap
...
Core: Remove `OAHashMap`, in favour of `AHashMap`
2025-06-05 13:12:34 +02:00
Rémi Verschelde
5d671accea
Merge pull request #106803 from aaronfranke/gltf-no-export-anim-player
...
GLTF: Don't export AnimationPlayer nodes as glTF nodes
2025-06-05 13:12:16 +02:00
Rémi Verschelde
0518bd5fee
Merge pull request #106683 from dalexeev/gds-remove-leftmost-rightmost-column
...
GDScript: Remove `leftmost_column` and `rightmost_column` fields
2025-06-05 13:12:02 +02:00
Rémi Verschelde
31c3c8d04b
Merge pull request #106159 from timothyqiu/enum-enum
...
[Docs] Remove redundant info on the enum types used
2025-06-05 13:11:30 +02:00
Rémi Verschelde
99943ee9fb
Merge pull request #106055 from BlueCube3310/dds-formats-no-convert
...
DDS: Load BGRA4 textures directly as RGBA4
2025-06-05 13:11:22 +02:00
Rémi Verschelde
7aee071097
Merge pull request #106013 from akien-mga/move-MovieWriterMJPEG-to-jpg-module
...
Move MovieWriterMJPEG class to `jpg` module it depends on
2025-06-05 13:11:18 +02:00
Rémi Verschelde
9d0b4ee74f
Merge pull request #105927 from Joy-less/Don't-create-unnecessary-arrays-in-C#
...
Don't create unnecessary arrays in C#
2025-06-05 13:11:06 +02:00
Rémi Verschelde
1f517a029d
Merge pull request #105746 from mihe/jolt/area-vs-static
...
Remove Jolt Physics project setting "Areas Detect Static Bodies"
2025-06-05 13:10:57 +02:00
Rémi Verschelde
088ef7b6f6
Merge pull request #100283 from devloglogan/vk-motion-vectors
...
Implement motion vectors in mobile renderer
2025-06-05 13:10:20 +02:00
Rémi Verschelde
8131883b16
Merge pull request #99504 from LunaCapra/audio-metadata
...
Add metadata tags to WAV and OGG audio streams
2025-06-05 13:10:12 +02:00
Rémi Verschelde
78eb0b68d3
Move MovieWriterMJPEG class to `jpg` module it depends on
...
Fixes #90932 .
2025-06-05 10:29:22 +02:00
Thaddeus Crews
0d88e17143
Merge pull request #105629 from aaronp64/list_sort
...
Reuse and optimize sorting logic for `List`, `SelfList`, and `HashMap`
2025-06-04 10:34:37 -05:00
Thaddeus Crews
46437d3c9f
Merge pull request #82083 from ronyeh/typo
...
Remove unnecessary spaces.
2025-06-04 10:34:26 -05:00
aaronp64
6b2674fe18
Reuse and optimize sorting logic for List, SelfList, and HashMap
...
Added SortList class, and updated List, SelfList, and HashMap sort methods to use it. Sorting is done with merge sort, with an initial check to optimize for already sorted lists, and sorted lists that were appended to.
2025-06-04 10:18:22 -04:00
Haoyu Qiu
1e82bafa3a
Remove redundant info on the enum types used
2025-06-04 08:21:47 +08:00
Thaddeus Crews
344b8ce1f1
Merge pull request #106190 from aaronfranke/compression64
...
Support 64-bit sizes in Compression
2025-06-03 15:30:24 -05:00
Pāvels Nadtočajevs
e928b2a5e5
[SVG in OT] Fix rendering of some glyphs using "defs" with "#glyphXXXXX.X" id.
2025-06-03 13:18:55 +03:00
Mikael Hermansson
e160040f0c
Remove Jolt Physics project setting "Areas Detect Static Bodies"
2025-06-03 09:52:57 +02:00
Aaron Franke
5777a88b76
Support 64-bit sizes in Compression
2025-06-03 00:03:01 -07:00
Thaddeus Crews
7a3d2f6779
Merge pull request #106606 from aaronfranke/pow2_64
...
Add 64-bit versions of core power of 2 functions
2025-06-02 18:51:56 -05:00
Thaddeus Crews
760b3522d7
Merge pull request #105571 from marcosc90/perf-ws-onmessage
...
[Web] Avoid extra copy when encoding string in WebSocket `_onmessage`
2025-06-02 18:51:55 -05:00
Thaddeus Crews
b6b8c32673
Merge pull request #106465 from Chubercik/manifold-3.1.0
...
manifold: Update to 3.1.1
2025-06-02 18:51:54 -05:00
Thaddeus Crews
5c2b9cd631
Merge pull request #106976 from Ivorforce/gdscript-tests-infinite-print
...
Fix infinite recursion on `GDScriptTests` if a script cannot be reloaded.
2025-06-02 18:51:52 -05:00
Thaddeus Crews
a6be6d1cd1
Merge pull request #106959 from bruvzg/w10_cleanup
...
[Windows] Drop support for Windows 7/8/8.1.
2025-06-02 18:51:46 -05:00
Thaddeus Crews
c2eb6a60f5
Merge pull request #103234 from dsnopek/pico4-ultra-controller
...
OpenXR: Add controller interaction profile for Pico 4 Ultra
2025-06-02 18:51:42 -05:00
Thaddeus Crews
eb85faa812
Merge pull request #106918 from mihe/jolt/area-ref-count
...
Fix Area3D signal emissions when using Jolt Physics
2025-06-02 18:51:33 -05:00
Thaddeus Crews
4f64eaef0c
Merge pull request #69012 from KoBeWi/settings_of_editor_project
...
Allow to override editor settings per project
2025-06-02 18:51:26 -05:00
Thaddeus Crews
04924c6e71
Merge pull request #106899 from roughbits01/line-edit-extra-queue-draw
...
Remove redundant `queue_redraw()` & fix typo
2025-06-02 18:51:24 -05:00
Thaddeus Crews
167a9e33d3
Merge pull request #106880 from dsnopek/meta-depth-api-nonhacks
...
Minor rendering and XR changes to allow Meta enivornment depth API to work entirely from GDExtension
2025-06-02 18:51:19 -05:00
kobewi
b41d6ecf8c
Allow to override editor settings per project
2025-06-02 17:51:26 +02:00
Aaron Franke
f6f1df7d73
Add 64-bit versions of core power of 2 functions
2025-06-01 23:11:12 -07:00
Pāvels Nadtočajevs
c464a3078a
Check script sample characters to filter out incorrect script support information.
2025-06-01 23:57:56 +03:00
David Snopek
fd220081c1
OpenXR: Add controller interaction profile for Pico 4 Ultra
2025-06-01 06:05:30 -05:00
Jakub Marcowski
f3da6201f8
manifold: Update to 3.1.1
2025-06-01 10:13:46 +02:00
Lukas Tenbrink
963c20565b
Remove `OAHashMap`, in favour of `AHashMap`.
...
The two types had (mostly) the same decisions, but `AHashMap` is a faster implementation, and is more consistent with `HashMap`.
2025-05-31 15:50:10 +02:00
Capry
20c0a0b489
Add metadata tags to WAV and OGG audio streams
2025-05-31 11:43:01 +02:00
Hugo Locurcio
be1f9a878b
Use SSE 4.2 as a baseline when compiling Godot
...
This lets the compiler do more optimizations, leading to increased
performance for demanding CPU tasks.
2025-05-30 23:49:47 +02:00
Lukas Tenbrink
a6664af0d6
Fix infinite recursion on `GDScriptTests` if a script cannot be reloaded.
2025-05-30 21:33:35 +02:00
devloglogan
3b70fbdc3c
Implement motion vectors in mobile renderer
2025-05-30 13:09:54 -05:00
Pāvels Nadtočajevs
617e12a6b4
[Windows] Drop support for Windows 7/8/8.1.
2025-05-30 17:30:23 +03:00
Mikael Hermansson
b3ddb88035
Fix Area3D signal emissions when using Jolt Physics
2025-05-30 11:53:17 +02:00
Marwen Azouzi
873833b4a7
Remove redundant `queue_redraw()` & fix typo
2025-05-29 17:22:32 +02:00
Thaddeus Crews
de37627404
Merge pull request #102552 from DarioSamo/shader-baker
...
Add shader baker to project exporter.
2025-05-28 17:09:38 -05:00
Thaddeus Crews
698dd2ade4
Merge pull request #106833 from avnotaklu/window-scaling-breaking-on-font-data-freed
...
Remove freed up FontForSize data from `oversampling_levels`
2025-05-28 09:47:40 -05:00
Thaddeus Crews
dcde70f409
Merge pull request #106693 from mihe/jolt/area-cleanup
...
Remove force enter/exit logic from `JoltArea3D`
2025-05-28 09:47:40 -05:00
Thaddeus Crews
bb47f01481
Merge pull request #106390 from akien-mga/linux-drop-ppc32
...
Linux: Drop `ppc32` (32-bit PowerPC) architecture support
2025-05-28 09:47:34 -05:00
Thaddeus Crews
eef13d5ae7
Merge pull request #105347 from HolonProduction/lsp-utf8
...
LSP: Account for unicode identifiers
2025-05-28 09:47:29 -05:00
avnotaklu
00beda9691
Fix: Removed freed up FontData's dangling data in Advanced and Fallback text server
2025-05-28 16:15:20 +05:30
David Snopek
0fd0feb772
Minor rendering and XR changes to allow Meta enivornment depth API to work entirely from GDExtension
2025-05-27 13:06:31 -05:00
Dario
5a30a7e7cd
Add shader baker to project exporter.
...
Metal Support contributed by Migeran (https://migeran.com ) and Stuart Carnie.
Co-authored-by: Stuart Carnie <stuart.carnie@gmail.com>
Co-authored-by: Gergely Kis <gergely.kis@migeran.com>
2025-05-27 12:45:27 -03:00
Thaddeus Crews
99f5a3d665
Merge pull request #106870 from timothyqiu/add-metadata-dialog-includes
...
Cleanup header includes for AddMetadataDialog
2025-05-27 09:39:37 -05:00
Thaddeus Crews
91b3a26438
Merge pull request #106848 from Faless/mp/rpc_config_revert
...
Expose `get_rpc_config` and `get_node_rpc_config`
2025-05-27 09:39:32 -05:00
Thaddeus Crews
05ceab6b7b
Merge pull request #106321 from elzewyr/shrink-factor
...
SoftBody3D: Add a property for scaling rest lengths of edge constraints
2025-05-27 09:39:29 -05:00
Thaddeus Crews
0f67c3e992
Merge pull request #104522 from Ivorforce/localvector-force-trivial-resize
...
Core: Add `resize_initialized` and `resize_uninitialized` to `Vector` and `LocalVector`
2025-05-27 09:39:27 -05:00
Thaddeus Crews
63dff62948
Merge pull request #100673 from RandomShaper/res_duplicate
...
Overhaul resource duplication
2025-05-27 09:39:25 -05:00
Haoyu Qiu
f0fc5ffd3e
Cleanup header includes for AddMetadataDialog
2025-05-27 21:45:00 +08:00
kit
f7c182371e
Remove build_array and build_dictionary from tests
2025-05-26 13:02:01 -04:00
Lukas Tenbrink
4cb8a0c77e
Add `resize_initialized` and `resize_uninitialized` to `Vector`. These functions serve as replacements for `resize`, to make sure the caller understands whether elements need to be initialized 'by hand' after the call.
2025-05-26 18:35:41 +02:00
Thaddeus Crews
6c9765d87e
Merge pull request #106738 from BastiaanOlij/openxr_add_future_result
...
OpenXR Futures: Add return value support
2025-05-26 11:24:47 -05:00
Thaddeus Crews
de2cd663fd
Merge pull request #100463 from PiCode9560/softbody-apply-force-and-impulse
...
Add ability to apply forces and impulses to `SoftBody3D`
2025-05-26 11:24:45 -05:00
Thaddeus Crews
76f28c4f63
Merge pull request #106666 from bruvzg/apple_em_blof
...
Add hardcoded baseline offset for Apple Color Emoji.
2025-05-26 11:24:32 -05:00
Thaddeus Crews
d52dc28324
Merge pull request #106779 from berarma/fix_theora_uv_offset
...
Theora: Fix UV channel offset when cropping region
2025-05-26 11:24:28 -05:00
Thaddeus Crews
66d20a24b4
Merge pull request #106008 from beicause/cs-byte-array-compress
...
C#: Expose byte array compress and decompress
2025-05-26 11:24:28 -05:00
Thaddeus Crews
b8be0f1634
Merge pull request #106761 from mihe/jolt/move-only-shape-ref
...
Change `JoltShapeInstance3D` to use move semantics
2025-05-26 11:24:22 -05:00
Pedro J. Estébanez
6841b45552
Add tests for resource duplication
2025-05-26 17:05:04 +02:00
Fabio Alessandrelli
c28d5d0058
Revert "Expose get_rpc_config and get_node_rpc_config"
...
This reverts commit 8835f326b1 .
2025-05-26 15:57:38 +02:00
Bastiaan Olij
16659e37c1
OpenXR Futures: Add return value support
2025-05-26 14:54:25 +10:00
Aaron Franke
528a0a551b
GLTF: Don't export AnimationPlayer nodes as glTF nodes
2025-05-25 12:30:51 -07:00
LuoZhihao
fc8328d5f1
C#: Expose byte array compress and decompress
2025-05-25 23:42:23 +08:00
Bernat Arlandis
78a66b4c16
Theora: Fix UV channel offset when cropping region
2025-05-24 20:00:41 +02:00
Mikael Hermansson
92da11f69c
Change `JoltShapeInstance3D` to use move semantics
2025-05-23 21:39:55 +02:00
PiCode
fe3aaa2ae3
Add functions to apply impulse and force to SoftBody on GodotPhysics and JoltPhysics
2025-05-23 22:04:52 +03:00
Pāvels Nadtočajevs
0aae67b6bb
Add hardcoded baseline offset for Apple Color Emoji.
2025-05-23 22:00:39 +03:00
Thaddeus Crews
a5e87dd202
Merge pull request #106725 from mihe/jolt/silent-degenerate-soft-bodies
...
Remove error for degenerate soft body faces when using Jolt Physics
2025-05-23 09:46:11 -05:00
Thaddeus Crews
ee82adcf04
Merge pull request #105413 from HolonProduction/gdscript-recover-match
...
GDScript: Do phrase level recovery for match
2025-05-23 09:46:10 -05:00
nikitalita
6909309ca0
Bump script bytecode version after token enum change
2025-05-23 00:33:49 -07:00
Mikael Hermansson
d153a267b0
Remove error for degenerate soft body faces when using Jolt Physics
2025-05-22 20:17:47 +02:00
Thaddeus Crews
7a0ab9d561
Merge pull request #106485 from limbonaut/fix-release-backtrace-line-numbers
...
Fix script backtrace reporting wrong line numbers in release exports
2025-05-22 12:15:10 -05:00
Thaddeus Crews
5b2525673a
Merge pull request #102360 from berarma/theora_seek
...
Implement seek operation for Theora video files, improve multi-channel audio resampling.
2025-05-22 12:15:07 -05:00
Thaddeus Crews
290a65de1e
Merge pull request #106691 from limbonaut/fix-crash-on-exit-with-call-stacks
...
Fix crash on exit due to GDScriptLanguage::CallStack mismatched deallocation
2025-05-22 12:15:04 -05:00
Aaron Franke
15de1d6c35
Use Grisu2 algorithm in String::num_scientific to fix serializing
2025-05-22 09:13:16 -07:00
Bernat Arlandis
b9bebf7081
Full Theora video support in VideoStreamPlayer
...
- Implement `set_stream_position` and `get_stream_length`.
- Don't show blank frame when stopping the video (smooth loops).
- Fix audio for videos with up to 8 channels.
- Improve internal audio handling.
2025-05-22 14:00:57 +02:00
kobewi
42249bb659
Add @export_file_path to export raw paths (no UID)
2025-05-22 13:25:17 +02:00
Mikael Hermansson
3d98aaf728
Remove force enter/exit logic from `JoltArea3D`
2025-05-21 21:40:40 +02:00
Serhii Snitsaruk
67d97dab5b
Fix crash on exit due to GDScript CallStack mismatched deallocation
2025-05-21 21:20:39 +02:00
Serhii Snitsaruk
e06541eb4c
Fix backtrace reporting wrong line numbers in release exports
2025-05-21 17:50:01 +02:00
Danil Alexeev
7aafa6ef18
GDScript: Remove `leftmost_column` and `rightmost_column` fields
2025-05-21 18:16:20 +03:00
Thaddeus Crews
c225686e82
Merge pull request #106490 from mihe/jolt/non-monitoring-area-performance
...
Improve performance with non-monitoring areas when using Jolt Physics
2025-05-21 09:06:26 -05:00
Thaddeus Crews
176a965e32
Merge pull request #106649 from patwork/fix-char-cast
...
Fix for implicit conversion from `char16_t` to `char32_t` in `TextServerAdvanced`
2025-05-21 09:06:25 -05:00
Rémi Verschelde
25a3c27c41
Merge pull request #105628 from rsanchezsaez/apple/ios-visionos-4.5
...
Native visionOS platform support
2025-05-20 23:09:07 +02:00
patwork
f9d28fc02f
Fix for implicit conversion from char16_t to char32_t
2025-05-20 23:08:20 +02:00
Thaddeus Crews
5d2074af6f
Merge pull request #105722 from aaronfranke/image-alpha-mode-is-not-a-bool
...
Explicitly handle Image AlphaMode enum instead of treating as bool
2025-05-20 11:37:26 -05:00
Aaron Franke
19e6bc68aa
Explicitly handle Image AlphaMode enum instead of treating as bool
...
Co-authored-by: K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>
2025-05-20 05:04:23 -07:00
Mikael Hermansson
617a39d5ea
Improve performance with non-monitoring areas when using Jolt Physics
2025-05-20 13:20:12 +02:00
Pāvels Nadtočajevs
7fc4521dd8
Adjust hex code box baseline calculation.
2025-05-20 08:53:40 +03:00
Ricardo Sanchez-Saez
457299449d
Introduce 'drivers/apple_embedded' abstract platform for code reuse
2025-05-19 15:37:13 -07:00
Thaddeus Crews
80d77d772a
Merge pull request #106572 from k1r4n8/dds-32bit-no-alpha
...
Add DDS loading of 32bit aligned data without alpha
2025-05-19 16:22:29 -05:00
Thaddeus Crews
42302f005b
Merge pull request #106584 from bruvzg/svg_in_ot_sc_and_bl
...
Adjust SVG in OT scaling and baseline.
2025-05-19 08:01:36 -05:00
Thaddeus Crews
2bf7ac76cf
Merge pull request #106456 from Repiteo/style/remove-DEBUG_METHODS_ENABLED
...
Style: Remove redundant `DEBUG_METHODS_ENABLED` macro
2025-05-19 08:01:35 -05:00
Thaddeus Crews
edce9fde3b
Merge pull request #103573 from BlueCube3310/etcpak-dec-align-fix
...
etcpak: Improve and fix decompression of mipmaps
2025-05-19 08:01:29 -05:00
Thaddeus Crews
23321951d7
Merge pull request #106374 from YYF233333/opt_script_get_keyword
...
Improve `ScriptLanguage` get keyword API
2025-05-19 08:01:27 -05:00
Thaddeus Crews
d57050c66d
Merge pull request #106502 from TCROC/fix-aot-crash
...
Fix crash on aot unloading
2025-05-19 08:01:26 -05:00
Pāvels Nadtočajevs
3460f623a2
Adjust SVG in OT scaling and baseline.
2025-05-19 09:32:41 +03:00
k1r4n8
3508257bc5
Add DDS loading of 32bit aligned data without alpha
2025-05-18 22:22:22 +02:00
Yufeng Ying
1384e82c2c
Improve ScriptLanguage get keyword API.
2025-05-17 18:43:19 +08:00
Travis Lange
15c684aad9
fix crash on aot unloading
2025-05-16 16:26:40 -04:00
Elzewyr
9f67bf96fa
SoftBody3D: Add a property for scaling rest lengths of edge constraints
2025-05-16 18:38:00 +03:00
smix8
db6a22cb59
Fix GridMap scenario crash when outside tree
...
Fixes GridMap scenario crash when outside tree.
2025-05-15 23:49:42 +02:00
Thaddeus Crews
d237e31a89
Style: Remove redundant `DEBUG_METHODS_ENABLED`
...
• Replaced with functionally identical and far more ubiquitous `DEBUG_ENABLED`
2025-05-15 13:09:41 -05:00
Thaddeus Crews
5538850d87
Core: Convert `Pair`/`KeyValue` to `constexpr`
2025-05-15 10:37:41 -05:00
Thaddeus Crews
5e27318b6c
Merge pull request #106366 from jrouwe/fix_106301
...
Jolt physics: Setting position instead of velocity in `JoltSoftBody3D::set_vertex_position`
2025-05-15 10:22:29 -05:00
Thaddeus Crews
b7c4f23203
Merge pull request #105819 from hexog/implicit-package-references
...
Mark referenced packages in SDK as implicitly defined
2025-05-15 10:22:25 -05:00
Haoyu Qiu
88d922c55e
Cleanup header includes in Tree
2025-05-15 14:28:00 +08:00
Thaddeus Crews
8b4dd7a34e
Merge pull request #105724 from dugramen/recovery/split-commit
...
Add inline color pickers to script editor
2025-05-14 09:44:16 -05:00
BlueCube3310
44bdadbe3a
DDS: Prevent crashing when unable to load image
2025-05-14 13:04:58 +02:00
Rémi Verschelde
1de9789806
Linux: Drop `ppc32` (32-bit PowerPC) architecture support
...
This was added together with `ppc64le` in #54490 , but seemingly only for the
purpose of getting it to compile on a Linux distro that aims at maximizing
support for all CPU architectures.
I don't think anyone has ever _run_ Godot on a `ppc32` system (do those even
support OpenGL ES 3.0?) and so I don't think we should aim to support it.
Debian dropped support for its PowerPC (`ppc32`) arch in Debian 9, released
in 2017.
2025-05-14 10:22:12 +02:00
dugramen
b9f59ae6ca
Add color pickers to script editor
2025-05-13 18:03:21 -04:00
Thaddeus Crews
4cd27d7fd4
Merge pull request #106094 from shiena/feature/support-android-camera
...
Add CameraFeed support for Android
2025-05-13 16:22:27 -05:00
Thaddeus Crews
f70420a8b1
Merge pull request #106346 from mihe/jolt/scu-support
...
Fix SCU build issues related to Jolt Physics
2025-05-13 16:22:26 -05:00
Thaddeus Crews
1c4b660312
Merge pull request #96611 from Dynamic-Pistol/master
...
Add `PROPERTY_HINT_INPUT_NAME` for use with `@export_custom` to allow using input actions
2025-05-13 16:22:25 -05:00
Thaddeus Crews
7d9c75d5e8
Merge pull request #106329 from aaronfranke/nav-2d
...
Rename nav_2d namespace to Nav2D to match Nav3D
2025-05-13 16:22:21 -05:00
Thaddeus Crews
d3cd48cb51
Merge pull request #106319 from adamscott/web-simd
...
[Web] Add WebAssembly SIMD support (`wasm_simd`) and enable it by default
2025-05-13 16:22:18 -05:00
Thaddeus Crews
b59d6bea4f
Merge pull request #67777 from aaronfranke/virtually-annotated
...
Add a keyword for abstract classes in GDScript
2025-05-13 16:22:16 -05:00
Thaddeus Crews
5db0aab505
Merge pull request #104857 from shiena/feature/discovery-continuity-camera
...
macOS: Allow users to select Continuity Camera
2025-05-13 16:22:12 -05:00
Jorrit Rouwe
c529f36532
Jolt physics: Setting position instead of velocity in JoltSoftBody3D::set_vertex_position
...
This fixes a discrepancy between godot physics and Jolt physics where in Jolt a vertex pinned to a body only gets its velocity updated while in godot it gets its position updated. This causes it to lag one frame behind.
Fixes #106301
2025-05-13 22:45:58 +02:00
Leo de Penning
296ca79b9d
Add CameraFeed support for Android
...
Co-authored-by: KOGA Mitsuhiro <shiena.jp@gmail.com>
2025-05-13 22:46:06 +09:00
Joyless
14783cd8b8
Fix array span constructors
2025-05-13 13:28:00 +01:00
Adam Scott
f114a8d1d1
Add WebAssembly SIMD support
2025-05-13 07:35:53 -04:00
Mikael Hermansson
9cea7ebc91
Fix SCU build issues related to Jolt Physics
2025-05-13 12:34:55 +02:00
Aaron Franke
6eedddbd3c
Rename nav_2d namespace to Nav2D to match Nav3D
2025-05-12 16:59:53 -07:00
Rémi Verschelde
599a956f6f
Merge pull request #106177 from eyalzus12/feature/stackalloc-Projection
...
C#: Use `stackalloc` to create the pivot arrays in `Projection.Inverse`
2025-05-13 01:05:00 +02:00
Rémi Verschelde
56937b8383
Merge pull request #105853 from youngminz/android-dotnet-skip-extraction
...
[.NET] Load assemblies directly from PCK on Android
2025-05-13 01:04:48 +02:00
Rémi Verschelde
b44aa1ad9d
Merge pull request #105104 from Joy-less/use-frozen-dictionary
...
Use `FrozenDictionary` for `NamedColors`
2025-05-13 01:04:39 +02:00
Rémi Verschelde
06a1e5a06b
Merge pull request #103709 from YYF233333/gds_call_state
...
Remove dead code in GDScript function `CallState`
2025-05-13 01:04:26 +02:00
Youngmin Koo
b99baa38f1
C#: Load assemblies directly from PCK on Android
...
Assemblies are now loaded directly from the PCK (`res://`) instead of
a cache directory. This prevents runtime failures that occurred when
the OS cleared cached files (e.g., under low storage), ensuring
the required assemblies are always available.
2025-05-12 19:31:44 +09:00
Yyf2333
21fc5cce5c
Use LocalVector<Glyph> to reduce reallocation.
2025-05-12 18:11:18 +08:00
Juan Pablo Arce
3d7c4b8012
Fix 'Script class can only be set together with base class name' error with .NET typed collections upon rebuild
2025-05-10 03:09:39 -03:00
Thaddeus Crews
3c90a0e913
Merge pull request #106110 from BlueCube3310/basisu-hdr-quality
...
BasisU: Configure HDR quality from the settings
2025-05-09 11:29:28 -05:00
Thaddeus Crews
43eeed5d54
Merge pull request #105594 from smix8/navlink_3d_gizmo_plugin
...
Move `NavigationLink3DGizmoPlugin` to `navigation_3d` module.
2025-05-09 11:29:27 -05:00
Thaddeus Crews
c85d6b3078
Merge pull request #103276 from BlueCube3310/bcdec-alignment-fix
...
bcdec: Fix decompressing mipmaps of non-power of 2 textures
2025-05-09 11:29:25 -05:00
Thaddeus Crews
461c45f2a1
Merge pull request #106188 from smix8/nav2d_editorplugins
...
Move 2d navigation related editor plugins to `navigation_2d` module.
2025-05-09 11:29:20 -05:00
Thaddeus Crews
0bf9d88797
Merge pull request #106167 from Faless/mbedtls/fix_enable_threading
...
mbedTLS: Fix concurrency issues with TLS
2025-05-09 11:29:17 -05:00
Yufeng Ying
5484ec0be2
Remove deadcode in GDScript function CallState.
2025-05-09 19:07:50 +08:00
BlueCube3310
9820d04a21
etcpak: Fix decompressing non-power of 2 mipmaps
2025-05-09 10:34:43 +02:00
smix8
cc1b51e8a2
Move 2d navigation related editor plugins to navigation_2d module
...
Moves 2d navigation related editor plugins to navigation_2d module.
2025-05-08 23:59:13 +02:00
BlueCube3310
8402a1d0bd
bcdec: Fix decompressing mipmaps of non-power-of-2 textures
2025-05-08 23:39:47 +02:00
smix8
e9a8c7e858
Move NavigationLink3DGizmoPlugin to navigation_3d module
...
Moves NavigationLink3DGizmoPlugin to navigation_3d module. Adds stub NavigationLink3DEditorPlugin.
2025-05-08 22:28:58 +02:00
kobewi
9e0203a58a
Don't synchronize scripts with errors
2025-05-08 17:29:15 +02:00
EyalZusiman
2ebfeef4a8
C#: use stackalloc to create the pivot arrays in Projection.Inverse
2025-05-08 18:27:32 +03:00
Thaddeus Crews
bd619b8d32
Merge pull request #106133 from fLindahl/stringname_movable_dict_fix
...
[.NET] Avoid heap alloc when using StringNames as key in a Dictionary
2025-05-08 07:19:38 -05:00
Thaddeus Crews
e36632a71d
Merge pull request #105588 from smix8/navobstacle_3d_plugin
...
Move `NavigationObstacle3DEditorPlugin` to `navigation_3d` module
2025-05-08 07:19:38 -05:00
Thaddeus Crews
288822e330
Merge pull request #105570 from kroketio/texture-extension-mipmaps
...
RenderingDevice: Pass mipmap count to `texture_create_from_extension()`
2025-05-08 07:19:16 -05:00
Fabio Alessandrelli
2c789788c0
mbedTLS: Fix concurrency issues with TLS
...
When we first integrated mbedTLS, we decided not to enable
MBEDTLS_THREADING_C (which adds mutex locking to calls modifying the
state), and instead to simply create separate contexts ("states") for
each connection.
This worked fine until recently.
Sadly, mbedTLS 3 added a global state for the new PSA crypto
functionalities (which are required to support TLSv1.3).
This results in TLSv1.3 connections to access and modify the global
state concurrently when running in threads.
This commit enables MBEDTLS_THREADING_C, and MBEDTLS_THREADING_C_ALT to
provide a generic Godot implementation using the engine Mutex class.
2025-05-08 11:45:00 +02:00
Fredrik Lindahl
01056f369a
[.NET] Avoid heap allocation when using StringNames as key in a Collection.Dictionary.
...
Changed StringName GetHashCode to call godot_string_name.GetHashCode instead of godot_string_name's (which was not overridden) as this otherwise leads to heap allocations when e.g. calling the indexer in a Dictionary with `StringName` type as Key.
2025-05-08 08:41:22 +02:00
Thaddeus Crews
e9ddf57791
Merge pull request #105593 from smix8/navregion_3d_gizmo_plugin
...
Move `NavigationRegion3DGizmoPlugin` to `navigation_3d` module.
2025-05-07 12:48:32 -05:00
Thaddeus Crews
5c0d33afd7
Merge pull request #96233 from aaronp64/textserver_inline
...
Remove `_FORCE_INLINE_` from `TextServer*::_ensure*` methods
2025-05-07 12:48:31 -05:00
Thaddeus Crews
aa1ca2b244
Merge pull request #93517 from Repiteo/core/nodiscard-strings
...
Core: Add `[[nodiscard]]` to string-like classes/structs
2025-05-07 12:48:27 -05:00
Thaddeus Crews
6d3f91896d
Merge pull request #104729 from Meorge/bugfix/warning-grammar-fixes
...
Fix a few GDScript warning messages for grammar and consistency
2025-05-07 12:48:25 -05:00
Thaddeus Crews
affbfa5b4e
Merge pull request #89746 from KoBeWi/NOTification
...
Remove `NOTIFICATION_ENTER_TREE` when `NOTIFICATION_THEME_CHANGED` is used
2025-05-07 12:48:21 -05:00
Thaddeus Crews
eb39839a42
Merge pull request #106129 from kitbdev/fix-solo-tests
...
Fix tests that fail when alone
2025-05-07 12:48:21 -05:00
Sander
6ae50cad17
RenderingDevice: introduce parameter 'mipmaps' for texture_create_from_extension()
2025-05-07 15:15:55 +03:00
Malcolm Anderson
d8db03e31a
Fix a few GDScript warning messages for grammar and consistency
...
Regenerate test results
Improve warning message for `INT_AS_ENUM_WITHOUT_CAST`
Improve `REDUNDANT_AWAIT` message and regenerate tests
Allow warning message for UNASSIGNED_VARIABLE_OP_ASSIGN to display specific operator
Remove "being" from some messages to make them consistent and clearer
Update expected test results
Use Variant::get_operator_name for determining string representation of operator instead of big switch-case
Update tests
Update modules/gdscript/gdscript_warning.cpp
Co-authored-by: Danil Alexeev <dalexeev12@yandex.ru>
Update tests... again
2025-05-06 20:28:01 -07:00
aaronp64
91931606f7
Remove _FORCE_INLINE_ from TextServer*::_ensure* methods
...
Reduces binary size by ~1.5 MB when compiling with TextServerAdvanced, and ~800 KB for TextServerFallback
2025-05-06 17:49:38 -04:00
smix8
3307be5038
Move NavigationObstacle3DEditorPlugin to navigation_3d module
...
Moves NavigationObstacle3DEditorPlugin to navigation_3d module.
2025-05-06 20:50:28 +02:00
smix8
63bd35e7cf
Move NavigationRegion3DGizmoPlugin to navigation_3d module
...
Moves NavigationRegion3DGizmoPlugin to navigation_3d module.
2025-05-06 20:49:42 +02:00
kit
6d56d2d05e
Fix tests that fail when alone
2025-05-06 13:48:16 -04:00
Thaddeus Crews
579feb387c
Core: Add `[[nodiscard]]` to string-like classes
2025-05-06 12:23:41 -05:00
Thaddeus Crews
75253b0815
Merge pull request #105592 from smix8/navregion_3d_plugin
...
Rename `NavigationMeshEditor` to `NavigationRegion3DEditor`
2025-05-06 08:38:07 -05:00
Thaddeus Crews
fd1168620f
Merge pull request #105718 from aaronfranke/nav-const-caps
...
Capitalize global navigation constants
2025-05-06 08:38:07 -05:00
Thaddeus Crews
bd22587170
Merge pull request #106093 from KoBeWi/deprecated_forever
...
Remove registration of deprecated classes
2025-05-06 08:38:05 -05:00
Thaddeus Crews
c4de8ef825
Merge pull request #105765 from smix8/navlink_iteration_id
...
Add function to get navigation link iteration id from NavigationServer
2025-05-06 08:38:00 -05:00
kobewi
d32d2e9b51
Remove NOTIFICATION_ENTER_TREE when NOTIFICATION_THEME_CHANGED is used
2025-05-06 15:28:03 +02:00
Mikael Hermansson
f539d0a447
Remove emitting of error in `JoltBody3D::_exit_all_areas`
2025-05-06 11:36:22 +02:00
BlueCube3310
894d3939cd
BasisU: Configure HDR quality from the settings
2025-05-05 23:56:24 +02:00
smix8
01e85c49e9
Rename NavigationMeshEditor to NavigationRegion3DEditor
...
Renames NavigationMeshEditor to NavigationRegion3DEditor to better describe its actual purpose.
2025-05-05 22:32:14 +02:00
Aaron Franke
783728fcb4
Capitalize global navigation constants
2025-05-05 12:08:15 -07:00
kobewi
242293c451
Remove registration of deprecated classes
2025-05-05 20:16:50 +02:00
Thaddeus Crews
5bc01f2994
Merge pull request #105080 from beicause/basisu-ktx2-settings
...
BasisU: Use KTX2 format and add import options to configure encoder
2025-05-05 11:24:20 -05:00
Thaddeus Crews
e939aefe2f
Merge pull request #105748 from mihe/jolt/body-pointer
...
Remove no-op locking in Jolt Physics module
2025-05-05 11:24:10 -05:00
BlueCube3310
2b8fcca343
DDS: Load BGRA4 textures directly as RGBA4
2025-05-03 16:02:29 +02:00
LuoZhihao
237597b01f
BasisU: Use KTX2 format and add import options to configure encoder
2025-05-03 01:45:38 +08:00
Danil Alexeev
2b30f23595
GDScript: Fix `Callable` call error text
2025-05-02 18:30:35 +03:00
Thaddeus Crews
1cf573f44d
Merge pull request #105887 from Repiteo/core/modernize-headers
...
Core: Modernize C headers with C++ equivalents
2025-05-02 09:25:29 -05:00
Thaddeus Crews
acf38b2292
Merge pull request #76560 from aaronfranke/node-set-string-name
...
Change Node `set_name` to use StringName, slightly improves performance
2025-05-02 09:25:25 -05:00
Thaddeus Crews
01fc9aee6c
Core: Modernize C headers with C++ equivalents
2025-05-02 08:23:01 -05:00
Daniel Kinsman
a0cc41b5ed
Use libjpeg-turbo for improved jpg compatibility and speed
...
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2025-05-02 11:47:56 +02:00
Aaron Franke
067704f1cd
Add a keyword for abstract classes in GDScript
...
Co-authored-by: Danil Alexeev <danil@alexeev.xyz>
2025-05-02 00:03:04 -07:00
Aaron Franke
a404b668a1
Change Node set_name to use StringName
2025-05-01 15:15:19 -07:00
Lukas Tenbrink
91362a61da
Simplify `StringName` to `bool` conversions.
...
Move `mutex` include of `string_name.h` to `string_name.cpp`.
2025-04-30 16:59:34 +02:00
Thaddeus Crews
f4f1471b57
Merge pull request #105910 from lawnjelly/global_get_fast4
...
Add `GLOBAL_GET` cached macros.
2025-04-30 09:18:44 -05:00
Thaddeus Crews
61d90a8422
Merge pull request #103020 from Scarface1809/allow_rotating_selected_cells
...
Allow rotating selected cells in GridMap
2025-04-30 09:18:42 -05:00
Thaddeus Crews
b2829f3256
Merge pull request #105897 from akien-mga/mingw-remove-undef-hacks
...
Remove WinAPI `#undef` hacks needed for mingw-std-threads
2025-04-30 09:18:42 -05:00
lawnjelly
f8f350a32a
Add `GLOBAL_GET` cached macros.
...
GLOBAL_GET is an expensive operation which should not be used each frame / tick.
This PR adds macros which do a cheaper revision check, and only call the expensive GLOBAL_GET when project settings have changed.
Co-authored-by: Lukas Tenbrink <lukas.tenbrink@gmail.com>
2025-04-30 15:08:50 +01:00
Scarface1809
93a366c9e5
Allow rotating selected cells in GridMap
2025-04-30 11:46:39 +01:00
Joyless
e9da0dfd30
Don't create unnecessary arrays in C#
2025-04-29 23:57:26 +01:00
Thaddeus Crews
2fd48c022a
Merge pull request #103283 from mashumafi/zip-compression-level
...
Add compression level support to Zip Module
2025-04-29 11:24:10 -05:00
Thaddeus Crews
83d98f02e3
Merge pull request #105415 from HolonProduction/hardcoded-braces
...
Autocompletion: Remove additional parenthesis from utility function options
2025-04-29 11:24:06 -05:00
Rémi Verschelde
c019b76523
Remove WinAPI `#undef` hacks needed for mingw-std-threads
...
Instead, we rename the conflicting symbols.
2025-04-29 14:24:03 +02:00
Mikael Hermansson
2b88477efc
Remove no-op locking in Jolt Physics module
2025-04-29 12:23:24 +02:00
Pāvels Nadtočajevs
6893b2b8e6
[TextServer] Fix outline size and image fonts with oversampling.
2025-04-28 19:10:56 +03:00
Thaddeus Crews
c87f23ce7d
Merge pull request #89324 from KoBeWi/pandora's_can_of_worms
...
Allow exporting variables of type Variant
2025-04-28 10:01:33 -05:00
Thaddeus Crews
2242bf9b3d
Merge pull request #105697 from akien-mga/scons-x86_32-mfpmath-sse
...
SCons: Explicitly enable `-mfpmath=sse -mstackrealign` for x86_32
2025-04-28 10:01:31 -05:00
Lukas Tenbrink
bfdb0f0ecf
Fix various sanitizer issues.
2025-04-28 15:23:35 +02:00
Thaddeus Crews
faab991792
Merge pull request #105842 from bruvzg/stack_leak
...
Fix GDScript stack leak.
2025-04-27 19:21:32 -05:00
Thaddeus Crews
1a2a1b07df
Merge pull request #105799 from Repiteo/scons/enum-conversion-warnings
...
SCons: Add enum conversion warning
2025-04-27 19:21:23 -05:00
Thaddeus Crews
3947cbe3b2
Merge pull request #104386 from Repiteo/core/cpp-math
...
Core: Replace C math headers with C++ equivalents
2025-04-27 19:21:22 -05:00
Thaddeus Crews
841bfbba5b
Merge pull request #105537 from RedMser/fix-get-returning-true
...
Fix cases where `_get` returned true erroneously
2025-04-27 19:21:21 -05:00
Thaddeus Crews
9ad16236dd
Merge pull request #105787 from zodywoolsey/fbx-runtime-fixing
...
Fix fbx runtime import not generating meshes properly
2025-04-27 19:21:19 -05:00
Thaddeus Crews
be994d59c9
Merge pull request #103968 from Chubercik/basis_universal-1.60
...
basis_universal: Update to 1.60
2025-04-27 19:21:17 -05:00
Pāvels Nadtočajevs
89c55f638d
Fix GDScript stack leak.
2025-04-27 23:15:35 +03:00
zodywoolsey
a54301ef75
fix fbx runtime import not generating meshes properly
...
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: K. S. Ernest (iFire) Lee <fire@users.noreply.github.com>
Co-authored-by: Naming-things-is-hard-btw <ahmadmhamad12331233@gmail.com>
2025-04-27 10:55:46 -06:00
Egor Nikulin
976e60ea24
Mark referenced packages in SDK as implicitly defined
...
Should improve package manager behavior
and fix errors in solutions using CPM.
https://github.com/NuGet/Home/issues/13529
https://github.com/dotnet/sdk/pull/43151/files#r1746148520
2025-04-27 14:00:55 +04:00
Danil Alexeev
2bacfc8b59
GDScript: Update `get_stack()`, `print_stack()`, and `print_debug()`
2025-04-26 21:10:41 +03:00
Thaddeus Crews
dc9c34f0c6
SCons: Add enum conversion warning
2025-04-26 12:06:20 -05:00
smix8
b002ade3ed
Add function to get navigation link iteration id from NavigationServer
...
Adds function to get navigation link iteration id from NavigationServer.
2025-04-25 20:59:10 +02:00
RedMser
143db328e7
Fix cases where _get returned true erroneously
2025-04-25 19:06:09 +02:00
Thaddeus Crews
7f7dd0d5e5
Merge pull request #104636 from Meorge/feat/export-syntax-error
...
Add specific errors for use of keywords removed in Godot 4
2025-04-25 11:36:07 -05:00
Thaddeus Crews
60726563c9
Merge pull request #105621 from Repiteo/scons/begin-decouple
...
SCons: Begin decoupling generation & build code
2025-04-25 11:36:04 -05:00
Thaddeus Crews
e2766d4501
Merge pull request #105734 from erodozer/fix-v4l2-camerafeed-id
...
Fix camera feed device order on Linux
2025-04-25 11:36:00 -05:00
Thaddeus Crews
ffdffe03c4
Merge pull request #101345 from akien-mga/embree-4.3.3
...
embree: Update to 4.4.0
2025-04-25 11:35:57 -05:00
Thaddeus Crews
5c9f93ce03
SCons: Begin decoupling generation & build code
2025-04-25 08:23:01 -05:00
Malcolm Anderson
5c662f7707
Add errors for keywords removed in Godot 4
...
Update modules/gdscript/gdscript_parser.cpp
Co-authored-by: Danil Alexeev <dalexeev12@yandex.ru>
Improve error message
Add tests
Add errors for other removed keywords
Remove very old keywords and improve wording of errors
2025-04-24 22:32:34 -07:00
Thaddeus Crews
28089c40c1
Merge pull request #91006 from reduz/live-backtrace
...
Ability to print and log script backtraces
2025-04-24 17:18:52 -05:00
Thaddeus Crews
500e0d5dc4
Merge pull request #93722 from aaronfranke/gltf-khr-node-visibility
...
Implement `KHR_node_visibility` in the GLTF module
2025-04-24 17:18:51 -05:00
Thaddeus Crews
71920b1d50
Merge pull request #104784 from aaronfranke/gltf-fallback-image
...
GLTF export: Allow using a PNG or JPEG fallback image
2025-04-24 17:18:48 -05:00
Thaddeus Crews
d1d4d5f39f
Merge pull request #105711 from dsnopek/openxr-wayland-no-opengl
...
OpenXR: Fix building with Wayland support and `opengl3=no`
2025-04-24 17:18:48 -05:00
Thaddeus Crews
157f18745d
Merge pull request #101027 from Ivorforce/localvector-reverse
...
Rename `LocalVector.invert()` -> `LocalVector.reverse()` to match the `Vector`, `String` and `List` APIs.
2025-04-24 17:18:45 -05:00
erodozer
5dc4ac2bb2
linux: respect order of device list when enumerating camera feeds
2025-04-24 17:00:15 -04:00
Lukas Tenbrink
d74ef8cb01
Rename `LocalVector.invert()` -> `LocalVector.reverse()` to match the `Vector`, `String` and `List` APIs.
2025-04-24 22:36:32 +02:00
reduz
d1dcb40d56
Ability to print and log script backtraces
...
Co-authored-by: Mikael Hermansson <mikael@hermansson.io>
2025-04-24 18:54:41 +02:00
Rémi Verschelde
57640dd806
embree: Update to 4.4.0
2025-04-24 17:51:03 +02:00
David Snopek
dc380f8915
OpenXR: Fix building with Wayland support and `opengl3=no`
2025-04-24 09:17:19 -05:00
Thaddeus Crews
5d697c31c1
Merge pull request #78837 from dalexeev/gds-const-array-and-dict-constructors
...
GDScript: Add constant `Array` and `Dictionary` constructors
2025-04-24 09:09:29 -05:00
David Snopek
1ca93726c7
OpenXR: Fix building foveation extension without Vulkan
2025-04-24 08:58:17 -05:00
Rémi Verschelde
08fa148310
SCons: Explicitly enable `-mfpmath=sse -mstackrealign` for x86_32
...
Passing `-msse2` doesn't seem to be sufficient to opt into SSE floating point math
instead of the less stable x87.
`-mstackrealign` also seems necessary when using SSE on x86_32.
2025-04-24 12:36:29 +02:00
Dynamic-Pistol
c8fed1e1d0
Add PROPERTY_HINT_INPUT_NAME
...
Added PROPERTY_HINT_INPUT_NAME for StringName based off https://github.com/godotengine/godot-proposals/discussions/7559
2025-04-23 22:23:44 +02:00
Thaddeus Crews
841c29d62c
Merge pull request #104985 from Ivorforce/stringname-always-string
...
Always use `String` as `StringName` backing internally.
2025-04-23 12:01:27 -05:00
Lukas Tenbrink
91fe434a86
Always use `String` as `StringName` backing internally.
2025-04-23 14:57:03 +02:00
Pāvels Nadtočajevs
5b49fd4207
Selectively apply `FOCUS_ACCESSIBILITY` to the `Label`s instead of setting it by default.
2025-04-23 12:47:31 +03:00
Thaddeus Crews
72717099d2
Merge pull request #105624 from dsnopek/openxr-action-map-uid-error
...
OpenXR: Fix saving action map when UID is used in project settings
2025-04-22 18:25:51 -05:00
smix8
1742901ae4
Fix GridMap move selection crashing on invalid MeshLibrary item
...
Fixes GridMap move selection crashing on invalid MeshLibrary item.
2025-04-22 22:27:35 +02:00
Thaddeus Crews
0ed1c192e8
Merge pull request #105565 from smix8/gridmap_list
...
Replace GridMap legacy use of `List` with `LocalVector`
2025-04-22 10:44:32 -05:00
Thaddeus Crews
5168214c48
Merge pull request #105329 from smix8/gridmap_octant_raster
...
Fix GridMap OctantKey cell rasterization
2025-04-22 10:44:30 -05:00
Thaddeus Crews
e49d04b72b
Merge pull request #104461 from lodetrick/action-map-ui
...
Editor: Replace TextEdit with EditorSpinSlider for XR Action Set Priority
2025-04-22 10:44:29 -05:00
Thaddeus Crews
6dcca1eb00
Merge pull request #102667 from BlueCube3310/betsy-its-ogre-now
...
Betsy: Remove OGRE aliases
2025-04-22 10:44:28 -05:00
Thaddeus Crews
1c51640a1c
Merge pull request #105563 from smix8/gridmap_get_quadrupled
...
Optimize GridMap rendering scenario quadruple-getters
2025-04-22 10:44:27 -05:00
Thaddeus Crews
2ffd5a3913
Merge pull request #104738 from YYF233333/cleanup_rid_owner
...
Use `LocalVector` in `RID_Owner::get_owned_list`
2025-04-22 10:44:25 -05:00
David Snopek
217333e7a0
OpenXR: Fix saving action map when UID is used in project settings
2025-04-22 09:28:03 -05:00
BlueCube3310
affa27d188
Betsy: Remove OGRE aliases
2025-04-22 14:54:57 +02:00
Thaddeus Crews
9f03bbf908
Merge pull request #100723 from spoxii/patch/gridmap/palette_item_cursor
...
Update cursor instance when calling `set_selected_palette_item`
2025-04-21 08:24:26 -05:00
Thaddeus Crews
4bd2724677
Merge pull request #105586 from smix8/gridmap_godotsphir
...
Remove GridMap godotsphir remarks
2025-04-21 08:24:25 -05:00
Thaddeus Crews
2a96e895e6
Merge pull request #105525 from BlueCube3310/light-probe-sh-impr
...
Scene shader: Improve and document SH diffuse evaluation for light probes
2025-04-21 08:24:20 -05:00
Yyf2333
1a70a06a43
Change RID_Owner::get_owned_list.
2025-04-21 01:04:27 +08:00
smix8
e2dec5146c
Remove GridMap godotsphir remarks
...
Removes GridMap godotsphir remarks.
2025-04-20 17:13:47 +02:00
Matthieu Bucchianeri
e3c215fc13
Add support for Direct3D 12 OpenXR backend.
...
This change adds support for running XR projects built with the `d3d12`
rendering backend. The XR backend hooks into the setup for the D3D12
render context in order to use the desired device and command queue for
submission to OpenXR. The XR backend takes care of importing the D3D12
swapchain images into the render context.
As part of this process, three issues are addressed:
- Ensuring that resource state transitions are only done on textures
that require them.
- Enabling view instancing in the PSOs for multiview render passes.
- Addressing a bug in the D3D12 runtime where PSO creation may fail
when front face detection is used.
Please refer to #86283 for additional discussions on the implementation
details.
2025-04-19 20:39:33 -07:00
Marcos Casagrande
f05b22c53e
Web: Avoid extra copy when encoding string in WebSocket _onmessage
2025-04-19 17:48:30 +02:00
smix8
aab8dd6488
Replace GridMap legacy use of List with LocalVector
...
Replaces GridMap legacy use of List with LocalVector.
2025-04-19 15:58:02 +02:00
BlueCube3310
5640ddd0a5
Scene shader: Improve and document SH evaluation for light probes
2025-04-19 15:08:02 +02:00
smix8
172fbe403a
Optimize GridMap rendering scenario quadruple-getters
...
Optimizes GridMap rendering scenario quadruple-getters.
2025-04-19 13:24:26 +02:00
Thaddeus Crews
2d3bdcac35
Merge pull request #105470 from clayjohn/RID-owner-limit
...
Increase chunk limit for known problematic RID_Owners.
2025-04-18 12:21:30 -05:00
Thaddeus Crews
2ddd9be11f
Merge pull request #105486 from beicause/csharp-stringname-alloc-obj-free
...
C#: Avoid StringName allocation in `GodotObject.Free`
2025-04-18 12:21:26 -05:00
Thaddeus Crews
146e405c48
Merge pull request #105412 from bruvzg/fix_fixedsize_img_fonts
...
Fix fixed size image fonts incorrectly getting oversampling applied if set to native size.
2025-04-18 12:21:24 -05:00
Thaddeus Crews
e61a0e8c61
Merge pull request #105344 from the-loki/master
...
Fix LSP not returning expected localization for API docs.
2025-04-18 12:21:23 -05:00
Logan Detrick
c67736e6a7
Replace TextEdit with EditorSpinSlider for the Action Set's priority
2025-04-17 12:52:51 -07:00
smix8
39db6c1d3c
Fix GridMap OctantKey cell rasterization
...
Fixes GridMap OctantKey cell rasterization that had octants at different sizes due to faulty integer division.
2025-04-17 17:57:34 +02:00
Thaddeus Crews
98aced4e65
Merge pull request #99768 from dsnopek/openxr-vulkan-foveated-rendering
...
OpenXR: Use the `XR_FB_foveation_vulkan` extension to get the density map for VRS
2025-04-17 09:14:23 -05:00
LuoZhihao
b0348d0e58
C#: Avoid StringName allocation in `GodotObject.Free`
2025-04-17 20:10:34 +08:00
clayjohn
941ad15724
Increase chunk limit for known problematic RID_Owners.
...
The default limit is fine for most RID_Owners but 3d instances, CanvasItems, and physics bodies need a higher limit.
There is a small memory cost to increasing the limit, so it should only be done where needed.
2025-04-16 17:03:47 -07:00
Thaddeus Crews
ad40939b6f
Core: Replace C math headers with C++ equivalents
...
- Minor restructuring to ensure `math_funcs.h` is the central point for math functions
2025-04-16 15:49:02 -05:00
Thaddeus Crews
0110048d46
Merge pull request #104826 from smix8/navregion_iteration_id
...
Add function to get navigation region iteration id from NavigationServer
2025-04-16 10:45:13 -05:00
Fredia Huya-Kouadio
b28e95c8b0
Request the `XR_KHR_LOADER_INIT_EXTENSION_NAME` extension
2025-04-15 17:51:57 -07:00
Clay John
dbddc9ef29
Merge pull request #105408 from bruvzg/fix_bmp_scale
...
Fix bitmap font scaling.
2025-04-15 12:06:20 -07:00
Thaddeus Crews
df4ac6b237
Merge pull request #105200 from Monstrofil/fix-dds-mipmap-size-compressed-v2
...
Fix importing compressed dds textures with non-power-of-two width or height
2025-04-15 12:28:48 -05:00
Thaddeus Crews
fa5dd77566
Merge pull request #105262 from raulsntos/dotnet/android-no-copy
...
[.NET] Add a preload hook to load .NET assemblies from the APK
2025-04-15 12:28:40 -05:00
Thaddeus Crews
2bf96fe18c
Merge pull request #105257 from smix8/navbuilder_linkpolys
...
Remove no longer needed link polygons from NavMapBuilder
2025-04-15 12:28:38 -05:00
smix8
2b8531d944
Add function to get navigation region iteration id from NavigationServer
...
Adds function to get navigation region iteration id from NavigationServer.
2025-04-15 19:17:45 +02:00
HolonProduction
3f0ff0417c
Autocompletion: Remove additional brace from utility function options
2025-04-15 13:25:28 +02:00
HolonProduction
4a0e40f6ea
GDScript: Do phrase level recovery for match
2025-04-15 13:00:43 +02:00
Pāvels Nadtočajevs
a3943f8ad4
Fix fixed size image fonts incorrectly getting oversampling applied if set to native size.
2025-04-15 13:39:48 +03:00
Pāvels Nadtočajevs
b55d3a2516
Fix bitmap font scaling.
2025-04-15 12:14:37 +03:00
HolonProduction
e213737d66
LSP: Account for unicode identifiers
2025-04-15 09:51:50 +02:00
Thaddeus Crews
15ed56315a
Merge pull request #105206 from adamscott/add-webxr-singleton-check
...
Add singleton check before adding webxr interface
2025-04-14 19:39:53 -05:00
Thaddeus Crews
561dc6ced6
Merge pull request #104689 from Delsin-Yu/csharp-getset-alloc-perf
...
[.Net] Avoid unnecessary StringName allocations on not implemented virtual _Get and _Set method call
2025-04-14 19:39:53 -05:00
Thaddeus Crews
e1509d533e
Merge pull request #105071 from smix8/map_changed
...
Make navigation maps emit map_changed directly
2025-04-14 19:39:52 -05:00
Thaddeus Crews
756053f05f
Merge pull request #105067 from smix8/navmesh_sync
...
Move NavigationServer navmesh sync from main() to process()
2025-04-14 19:39:51 -05:00
Thaddeus Crews
bef5d1e4f8
Merge pull request #102218 from HolonProduction/dictionary-recovery
...
GDScript: Do phrase level recovery when parsing faulty dictionaries
2025-04-14 19:39:50 -05:00
Thaddeus Crews
6989a0897c
Merge pull request #105287 from Calinou/doc-gdscript-nan
...
Improve documentation on `is_nan()` and `NAN` constant
2025-04-14 19:39:49 -05:00
Thaddeus Crews
af252823ac
Merge pull request #101291 from Ivorforce/stringname-to-bool
...
Change `StringName.operator const void *` to `explicit operator bool`.
2025-04-14 19:39:45 -05:00
Thaddeus Crews
9b6d92723d
Merge pull request #104872 from bruvzg/per_vp_os
...
Replace global oversampling with overrideable per-viewport oversampling.
2025-04-14 19:39:43 -05:00
smix8
c901f39cda
Remove no longer needed link polygons from NavMapBuilder
...
Removes no longer needed link polygons from NavMapBuilder.
2025-04-14 17:32:55 +02:00
Pāvels Nadtočajevs
4afeca3bcf
Replace global oversampling with overrideable per-viewport oversampling.
2025-04-14 13:43:09 +03:00
Aaron Franke
8459f4cdaf
Implement KHR_node_visibility in the GLTF module
2025-04-13 13:42:46 -07:00
Paul Joannon
88191b0b15
Fix extraction of C# default property values when negative
2025-04-13 17:57:20 +02:00
loki7
23a2481abc
Fix LSP not returning expected localization for API docs.
2025-04-13 19:51:16 +08:00
DE-YU_H14
f0ec392bb1
[.Net] Avoid StringName allocations if type does not defines `_Get` or `_Set`
2025-04-12 03:39:24 +08:00
Thaddeus Crews
addab4f001
Merge pull request #95916 from Repiteo/core/bit-field
...
Core: Add dedicated `BitField` template
2025-04-11 13:29:13 -05:00
Hugo Locurcio
a0b796218a
Improve documentation on `is_nan()` and `NAN` constant
2025-04-11 20:25:16 +02:00
Thaddeus Crews
0d267e7b1e
Core: Add dedicated `BitField` template
2025-04-11 11:53:26 -05:00
Lukas Tenbrink
e989d7bd89
Change `StringName.operator const void *` to `explicit operator bool`.
2025-04-11 18:34:01 +02:00
Zae
e8311840e4
[.NET] Fix `string.PathJoin` to be consistent with core
2025-04-11 23:21:29 +08:00
Thaddeus Crews
98c204a8f0
Merge pull request #104828 from van800/rider_fleet
...
C#: Separate Rider and Fleet options as external editors
2025-04-11 09:51:13 -05:00
Thaddeus Crews
9b3e445e47
Merge pull request #105073 from Mickeon/documentation-miscellaneous-oddities-part-4
...
Fix miscellaneous oddities around the class reference (part 4)
2025-04-11 09:51:11 -05:00
Thaddeus Crews
0d07a6330a
Merge pull request #105253 from smix8/nav3d_point
...
Replace NavigationServer3D `Point` struct with `Vector3`
2025-04-11 09:51:06 -05:00
Thaddeus Crews
3bcc45617b
Merge pull request #105252 from smix8/nav2d_point
...
Replace NavigationServer2D `Point` struct with `Vector2`
2025-04-11 09:51:05 -05:00
Thaddeus Crews
717df3ee88
Merge pull request #105249 from Repiteo/core/math-defs-namespace
...
Core: Use `Math` namespace for constants
2025-04-11 09:51:04 -05:00
Ivan Shakhov
45a07c1ab9
split Rider and Fleet as different external editors for Godot C#
...
Co-authored-by: Paul Joannon <437025+paulloz@users.noreply.github.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2025-04-11 13:21:50 +02:00
Thaddeus Crews
9e158215d1
Merge pull request #96375 from HolonProduction/completion-callable-braces
...
Autocompletion: Don't add parenthesis if `Callable` is expected
2025-04-10 16:53:45 -05:00
Thaddeus Crews
1aa0b5f2f7
Merge pull request #93636 from Nolkaloid/fix-const-callv
...
GDScript: Add tests for calling with wrong arguments in Callable.callv() when passing a readonly (const) Array
2025-04-10 16:53:41 -05:00
Thaddeus Crews
94282d88f9
Core: Use `Math` namespace for constants
2025-04-10 16:29:30 -05:00
Nolkaloid
c1cdaf7b16
Add gdscript tests for callv with const arrays
2025-04-10 23:13:01 +02:00
Priahoud
bf963e767e
Add Options, Functions and Settings to convert Node-Names and Strings to kebab-case
...
- refactored and renamed String::_camelcase_to_underscore to String:_separate_compound_words
- refactored String::to_snake_case to work with the refactored String::_separate_compound_words
- created char_utils::is_hyphen to catch all hyphen variants in kebab-case conversion
- created String::to_kebab_case using the new String::_separate_compound_words
- created corresponding Documentation in String and StringName
- simplified both switch statements in EditorNode and ProjectDialog
- added new kebab-casing Option for Node Names in ProjectSettings
- added missing camelCase Options to Scene- and Node-Names in ProjectSettings
- simplified Mono RuntimeInterop Functions
- hooked up the ConnectionsDialog
- created additional Unit Tests
2025-04-10 21:22:21 +02:00
Raul Santos
b941c2d013
[.NET] Add a preload hook to load .NET assemblies from the APK
...
Avoids using assemblies extracted to a temporary directory in Android.
2025-04-10 21:10:51 +02:00
smix8
af14aaecd4
Replace NavigationServer3D Point struct with Vector3
...
Replaces NavigationServer3D Point struct with Vector3.
2025-04-10 20:19:20 +02:00
smix8
1c03b15b4f
Replace NavigationServer2D Point struct with Vector2
...
Replaces NavigationServer2D Point struct with Vector2.
2025-04-10 20:18:54 +02:00
HolonProduction
e7487263ad
Autocompletion: Don't add parenthesis if `Callable` is expected
2025-04-10 18:40:32 +02:00
Micky
e935fb1ee2
Fix miscellaneous oddities around the class reference (part 4)
2025-04-10 17:56:58 +02:00
Thaddeus Crews
1be843f77a
Merge pull request #103798 from Rudolph-B/new-97712
...
Switch occlusion culling to be based on depth instead of Euclidean distance
2025-04-10 10:18:17 -05:00
Thaddeus Crews
cade15a163
Merge pull request #92475 from AThousandShips/string_replace_char
...
Add `String::replace_char(s)` methods for performance and convenience
2025-04-10 10:18:16 -05:00
Thaddeus Crews
ef3e8b1609
Merge pull request #102786 from Giganzo/top-toolbar-menu-button-styles
...
Fix MenuButton style in editor top menu bar
2025-04-10 10:18:10 -05:00
A Thousand Ships
889410dcda
Add `String::replace_char(s)` methods for performance and convenience
2025-04-10 13:08:45 +02:00
Thaddeus Crews
4636d0abc9
Merge pull request #105193 from Monstrofil/fix-dds-mipmap-size-uncompressed-dds
...
Fix incorrect mipmap size calculation for uncompressed DDS textures
2025-04-09 18:12:01 -05:00
Thaddeus Crews
f76190092d
Merge pull request #104780 from aaronfranke/gltf-fix-invalid-byte-stride
...
GLTF: Fix importing files with invalid buffer view byte strides
2025-04-09 18:12:00 -05:00
Thaddeus Crews
7a6c3b309f
Merge pull request #105130 from bruvzg/uri_fix_plus
...
Add uri_file_decode to handle + in file names.
2025-04-09 18:11:56 -05:00
Thaddeus Crews
d23329a0e4
Merge pull request #104213 from ryevdokimov/shortcuts-gridmap-mouse-captrued
...
Fix `GridMap` shortcuts being triggered during freelook (mouse captured)
2025-04-09 18:11:54 -05:00
Thaddeus Crews
1be28a7cb2
Merge pull request #102292 from HolonProduction/gizmo-capsule
...
Editor: Improve capsule gizmos
2025-04-09 18:11:54 -05:00
Thaddeus Crews
171187d1aa
Merge pull request #101011 from aaronfranke/limit-max-contacts-reported
...
Place a hard limit on the `max_contacts_reported` property in 2D/3D physics
2025-04-09 18:11:53 -05:00
Adam Scott
ab1757c4b9
Add singleton check before adding webxr interface
2025-04-09 12:54:30 -04:00
Oleksandr Shyshatskyi
65c9f44a2f
Fix incorrect mipmap size calculation for uncompressed DDS textures
...
Previously, the DDS texture loader incorrectly calculated mipmap dimensions
for uncompressed textures when the original dimensions
were non-power-of-two.
For example, given a 120×120 texture, the expected mipmap chain should be:
mipmap=0, size=120×120
mipmap=1, size=60×60
mipmap=2, size=30×30
mipmap=3, size=15×15
mipmap=4, size=7×7
mipmap=5, size=3×3
mipmap=6, size=1×1
But the loader was producing:
mipmap=0, size=120×120
mipmap=1, size=60×60
mipmap=2, size=30×30
mipmap=3, size=15×15
mipmap=4, size=8×8
mipmap=5, size=4×4
mipmap=6, size=2×2
This commit corrects the logic to properly compute width and height independently at each mip level.
Fixes issue #105136 .
2025-04-09 18:40:20 +03:00
Oleksandr Shyshatskyi
85a9c73a84
Fix the formula for calculation the size of compressed textures.
...
Accodring to the DDS documentation, the size of each mipmap level should
be:
max(1, ( (width + 3) / 4 ) ) x max(1, ( (height + 3) / 4 ) ) x 8(DXT1) or 16(DXT2-5)
But in dds loader a slightly different formula was used which
provided different results. Check gh issue #105136 and pull request for details.
2025-04-09 18:23:16 +03:00
Thaddeus Crews
ec675fc329
Merge pull request #100333 from YYF233333/reduce_list
...
Use `LocalVector` instead of `List` as arg of `Dictionary::get_key_list`
2025-04-09 08:51:45 -05:00
Thaddeus Crews
d7ced73997
Merge pull request #104939 from HolonProduction/json-rpc-notification-return-fix
...
JSONRPC: Fix notification return behavior
2025-04-09 08:51:44 -05:00
Thaddeus Crews
0563f4f978
Merge pull request #105166 from Ivorforce/get-class-static-stringname
...
Change `get_class_static` to return `StringName`.
2025-04-09 08:51:39 -05:00
Lukas Tenbrink
fbe64ffb45
Change `get_class_static` to return `StringName`.
...
Use that static `get_class_static` for `_get_class_namev` to avoid duplication.
2025-04-08 23:25:05 +02:00