Commit Graph

11777 Commits

Author SHA1 Message Date
382c760ea6 SCons: Apply new ruff/mypy fixes 2025-02-03 09:55:09 -06:00
49a004fc13 Spread direct lighting calculation for LightmapGI over several submissions to avoid TDR on Windows devices
Also add percentage progress for direct lighting step
2025-01-31 16:37:13 -08:00
4a7ce6070d Merge pull request #102128 from Faless/fix/ws_buffering_again
[WS] Fix wslay multi-frame message parsing (again)
2025-01-31 09:15:50 -06:00
a2f5eb9cf0 [WS] Fix wslay multi-frame message parsing (again)
We incorrectly assumed that the `payload_length` in the recv start
callback of wslay was the final message size, but according to the
WebSocket  protocol, the payload length always refers to the current
frame's payload size.

The protocol, in fact, do not include a "message payload" length on
purpose to allow sending messages of unknown size without forcing the
sender to buffer the whole message (RFC6455 Section 5.4).

This means a receiving peer has no way to know beforehand how long a
message will be, and needs instead to keep track of the length of each
frame until the FIN one is received to properly reconstruct the message
at the end.
2025-01-28 16:26:11 +01:00
b7deb853c9 Merge pull request #102029 from mihe/jolt/area-mass-properties
Override mass properties for `Area3D` when using Jolt Physics
2025-01-28 09:03:40 -06:00
2776715ace Merge pull request #101970 from raulsntos/dotnet/signal-obsolete-everything
[.NET] Add Obsolete attribute to signal trampolines and emitter functions
2025-01-27 09:46:26 -06:00
7bf6caaa29 Merge pull request #101791 from bruvzg/ts_emb_keys
[TextServer] Fix embedded object keys in substrings.
2025-01-27 09:46:13 -06:00
e5498020b6 Merge pull request #101815 from mihe/jolt/no-post-step
Refactor post-step operations in Jolt module to be done as needed
2025-01-26 11:49:21 -06:00
f380b00351 Override mass properties for Area3D when using Jolt Physics 2025-01-25 18:15:50 +01:00
a30410bbf5 Refactor post-step operations in Jolt module to be done as needed 2025-01-25 12:22:30 +01:00
0d7af5b0cb Merge pull request #101968 from kiroxas/FixSlightlyWrongPath
Fix wrong distance calculation in `NavMeshQueries3D::_query_task_build_path_corridor`
2025-01-24 09:05:38 -06:00
5a53ec55ec [.NET] Add Obsolete attribute to signal trampolines and emitter functions
If a signal is deprecated, make sure we also add the `[Obsolete]` attribute to that signal's trampoline and emitter functions.
2025-01-24 02:18:28 +01:00
7e9cbfbcb8 Remove erroneous squared version 2025-01-23 20:11:25 +01:00
d9d705d8ab Merge pull request #94479 from juanjp600/opt-in-path-rotation-tangent-fix
Add flag to enable use of accurate path tangents for polygon rotation in `CSGPolygon3D`
2025-01-20 16:25:49 -06:00
7a63dc94ae Merge pull request #101760 from Faless/ws/fix_endless_closing
[WS] Fix peer stuck in CLOSING state
2025-01-20 10:05:36 -06:00
f4288fb349 Fix kinematic bodies not synchronizing state when using Jolt Physics 2025-01-19 16:18:14 +01:00
7f4481284e [TextServer] Fix embedded object keys in substrings. 2025-01-19 10:22:46 +02:00
81181c5941 [WS] Fix peer stuck in CLOSING state
This was due by the buffer being cleared on close (including in closing
state) preventing further reads.

This commit changes the close logic to only clear the buffer when the
peer connection has been fully closed (acknowledged by the other end, or
closed due to a "broken" connection).
2025-01-18 16:01:40 +01:00
9630d4e2fc Merge pull request #101632 from bruvzg/gds_tween_property_crash
Fix GDScript editor crash on invalid `tween_property` arguments.
2025-01-17 10:16:55 -06:00
14093fdacf [TextServer] Fix ICU data incorrectly marked as loaded even if file was not found. 2025-01-17 15:46:04 +02:00
dd7bbcc837 Add flag to enable use of accurate path tangents for polygon rotation in CSGPolygon3D
The new property is called `path_rotation_accurate`.
2025-01-17 08:18:21 -03:00
86002e1a3c Merge pull request #100882 from smix8/node_navmesh_geo_parsers
Make nodes handle their respective navigation source geometry
2025-01-16 17:18:01 -06:00
fd88acc671 Merge pull request #101008 from Repiteo/scons/nocache-all-text
SCons: Properly `NoCache` all text files
2025-01-16 17:17:59 -06:00
73278bf35d SCons: Properly NoCache all text files 2025-01-16 16:59:12 -06:00
576892863c Fix GDScript editor crash on invalid tween_property arguments. 2025-01-16 10:40:13 +02:00
43bc44e3b0 [TextServer] Fix text buffer not processing strings added after shape. 2025-01-16 08:57:27 +02:00
33e16435f5 Replace some problematic uses of String::num to String::num_int64 2025-01-15 12:51:51 -05:00
67f54bd993 Merge pull request #101531 from akien-mga/scene-import-remove-unused-_get_import_flags
Remove unused `EditorSceneFormatImporter::_get_import_flags`
2025-01-14 18:29:40 +01:00
e67e8b8680 Merge pull request #100524 from BlueCube3310/ktx-etc
KTX: Add support for loading most ETC-compressed formats
2025-01-14 18:29:34 +01:00
21fcb56547 Remove unused EditorSceneFormatImporter::_get_import_flags
This has never been used since Godot was open sourced.

Import flags are used but directly through `_import_scene`.
2025-01-14 16:57:06 +01:00
a69ccee151 Merge pull request #101505 from smix8/region_bounds
Add functions to get axis-aligned bounds of navigation regions
2025-01-14 15:06:06 +01:00
488ee4f010 Merge pull request #100950 from HolonProduction/this-time-we-are-spec-compliant-i-think
JSONRPC: Convert ids to int if they are int by value
2025-01-14 15:05:51 +01:00
5608f6565f KTX: Add support for loading most ETC-compressed formats 2025-01-14 13:17:45 +01:00
336459168f Merge pull request #101455 from Calinou/editor-gridmap-update-preview-size
Make GridMap editor Preview Size setting take effect immediately after change
2025-01-14 12:09:05 +01:00
e8c5d99fea Merge pull request #101271 from aaronfranke/gltf-directional-light-no-range
GLTF: Don't write unused light properties
2025-01-14 12:09:01 +01:00
48715ff98b Merge pull request #101459 from brevven/patch-2
Docs: Fix typo in `AudioStreamSynchronized`
2025-01-14 00:22:14 +01:00
73f4ef51ff Merge pull request #101294 from devloglogan/openxr-api-update
Update `OpenXRAPI` memory management
2025-01-14 00:22:06 +01:00
bee5de61de Merge pull request #100365 from BlueCube3310/etc-decompress
Add support for decompressing ETC2
2025-01-14 00:21:55 +01:00
01a26c5c8b GLTF: Don't write unused light properties 2025-01-13 14:33:42 -08:00
c242cef627 Use vectors for OpenXRAPI memory management 2025-01-13 16:10:43 -06:00
d19147e09a Merge pull request #101503 from devloglogan/openxr-api-action-handle
Expose OpenXR action handles to GDExtension
2025-01-13 20:22:57 +01:00
a2971985e5 Merge pull request #101189 from mihe/jolt/defer-static-compound
Improve performance of changing compound shapes when using Jolt Physics
2025-01-13 20:22:04 +01:00
a7520fca6a Add functions to get axis-aligned bounds of navigation regions
Adds functions to get the navigation mesh Rect2 of a NavigationRegion2D or AABB of a NavigationRegion3D.
2025-01-13 20:18:33 +01:00
c5e40e11e9 Expose OpenXRAPI methods to get XrAction handles 2025-01-13 13:07:50 -06:00
c4fd9f9733 Add etcpak decompression functions 2025-01-12 18:48:03 +01:00
957097738f Merge pull request #101235 from Repiteo/style/editorconfig
Style: Unify `.editorconfig` logic
2025-01-12 18:07:16 +01:00
632c77e10b Merge pull request #84264 from HolonProduction/autocompletion-78003
Try to guess method return type even if subscript base has no value
2025-01-12 18:06:52 +01:00
9d0c41a489 Style: Unify .editorconfig logic 2025-01-12 08:49:01 -06:00
0ed2cb0439 Make nodes handle their respective navigation source geometry
Makes nodes handle their respective navigation source geometry.
2025-01-12 13:14:46 +01:00
cf414f777f Fix typo in AudioStreamSynchronized.xml
Fix a typo ("being" -> "begin")

Context:

>The streams begin at exactly the same time when play is pressed
2025-01-12 02:44:01 -08:00