1
0
Fork 0
Commit Graph

71216 Commits

Author SHA1 Message Date
Fabio Alessandrelli 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
Thaddeus Crews 6dc78c8aa1
Merge pull request #101771 from bruvzg/lbl_line_valign
Fix Label vertical line alignment.
2025-01-27 09:46:27 -06:00
Thaddeus Crews 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
Thaddeus Crews 0dc6b7c056
Merge pull request #101280 from Sauermann/fix-focus-rect-meta-access
Fix `__focus_rect` meta access error when resizing `Tree`
2025-01-27 09:46:23 -06:00
Thaddeus Crews 82199a83ce
Merge pull request #101998 from stuartcarnie/2d_buffer_overwrite
2D: Fix rendering artifacts when using `BackBufferCopy`.
2025-01-27 09:46:22 -06:00
Thaddeus Crews 1a2ad2fb5f
Merge pull request #102022 from akien-mga/glslang-fix-gcc15
Add missing `cstdint` includes for GCC 15
2025-01-27 09:46:21 -06:00
Thaddeus Crews 7d185473bf
Merge pull request #96623 from ajreckof/avoid-bubbling-up-changed-notification-when-on-new-item/key-of-dictionaries-to-avoid-inspector-whipeout-
Avoid bubbling up changed notification when on new item/key of dictionaries to avoid inspector wipeout.
2025-01-27 09:46:19 -06:00
Thaddeus Crews 1c0bff54a1
Merge pull request #93792 from kitbdev/fix-center-viewport-horizontal
Fix center viewport not working horizontally
2025-01-27 09:46:18 -06:00
Thaddeus Crews a366f23f3d
Merge pull request #102027 from YeldhamDev/missing_game_view_metadata
Add missing metadata saving for embed size mode
2025-01-27 09:46:17 -06:00
Thaddeus Crews 4793965c1f
Merge pull request #102045 from Hilderin/fix-bad-window-error-when-stopping-embedded-game
Fix BadWindow error when stopping embedded game on Linux
2025-01-27 09:46:16 -06:00
Thaddeus Crews c019f3d4a5
Merge pull request #102049 from timothyqiu/editor-i18n
Fix several i18n issues in editor
2025-01-27 09:46:15 -06:00
Thaddeus Crews 69c5b03070
Merge pull request #101625 from Rindbee/fix-follow-focus-in-rotated-ScrollContainer
Fix Follow Focus in a rotated `ScrollContainer`
2025-01-27 09:46:14 -06:00
Thaddeus Crews 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
Thaddeus Crews ecbd90d022
Merge pull request #101825 from ryevdokimov/spin-box-drag-accept-event
Fix spinbox input events propagating during dragging, breaking focus
2025-01-27 09:46:11 -06:00
Thaddeus Crews 07ceb0f5cf
Merge pull request #102069 from goatchurchprime/gtch/pamaxlength
Initialize pa_buffer_attr.maxlength to -1
2025-01-27 09:46:10 -06:00
Thaddeus Crews 583b6aef9c
Merge pull request #101818 from Yelloween10/update-subviewport-doc
Update SubViewport documentations to include a note about input behaviour
2025-01-27 09:46:08 -06:00
Thaddeus Crews 4129a09a5c
Merge pull request #102080 from bruvzg/fd_open_any
Fix FILE_MODE_OPEN_ANY file dialog not selecting folders.
2025-01-27 09:46:06 -06:00
Thaddeus Crews 7ce0828c5b
Merge pull request #101883 from ProgrammerOnCoffee/cpuparticles-doc
Fix incorrect `CPUParticles2D` and `CPUParticles3D` documentation
2025-01-27 09:45:56 -06:00
Pāvels Nadtočajevs adceb32177 Fix FILE_MODE_OPEN_ANY file dialog not selecting folders. 2025-01-27 10:43:11 +02:00
Julian Todd b5622e9f78 Initialize pa_buffer_attr.maxlength to -1 2025-01-27 07:57:57 +00:00
Thaddeus Crews 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
Thaddeus Crews 6fdf91cc2f
Merge pull request #101616 from KoBeWi/how_was_it_even_functional
Rework script external modification tracking
2025-01-26 11:49:20 -06:00
Thaddeus Crews 46434b0f2e
Merge pull request #101726 from akien-mga/scons-platform-custom-tools-v2
SCons: Fix handling of platform-specific tools, notably `mingw`
2025-01-26 11:49:19 -06:00
Haoyu Qiu 4c4f29a490 Fix several i18n issues in editor 2025-01-26 16:41:10 +08:00
Hilderin 725dd4930e Fix BadWindow error when stopping embedded game on Linux 2025-01-25 20:30:40 -05:00
kit 46fa85891b Fix center viewport not working horizontally 2025-01-25 17:53:53 -05:00
Michael Alexsander d5eab41b00
Add missing metadata saving for embed size mode 2025-01-25 13:25:56 -03:00
Rémi Verschelde 1823460787 Add missing `cstdint` includes for GCC 15 2025-01-25 14:59:28 +01:00
Rémi Verschelde 90208f7dd4 SCons: Fix handling of platform-specific tools, notably `mingw`
Add optional `detect.py` `get_tools` method to let platforms register SCons
tools they need.

This helps move this logic out of SConstruct, keeping platforms more self
contained, and helping thirdparty platforms define their own custom tools.

This logic was also unreliable (the `use_mingw` one would only work if
passed manually on the command line, not in e.g. `get_flags`).

Co-authored-by: Thaddeus Crews <repiteo@outlook.com>
2025-01-25 13:59:30 +01:00
Mikael Hermansson a30410bbf5 Refactor post-step operations in Jolt module to be done as needed 2025-01-25 12:22:30 +01:00
ProgrammerOnCoffee 0e7de3a1d9
Fix incorrect CPUParticles2D documentation
Fixes incorrect documentation for CPUParticles2D.color_initial_ramp
2025-01-25 12:18:42 +01:00
Stuart Carnie 2510fefebd 2D: Fix rendering artefacts when using `BackBufferCopy`.
Fixes both GLES3 and RendererRD implementations
2025-01-25 10:22:07 +11:00
Thaddeus Crews b15b24b087
Merge pull request #101688 from TCROC/fix-gpu-particles-2d-set_one_shot-seed-randomization
Fix `gpu_particles_2d` not randomizing seed when `set_one_shot` is called
2025-01-24 09:05:44 -06:00
Thaddeus Crews b298f6f479
Merge pull request #101936 from Hilderin/disable-game-embedding-single-window-mode
Disable Game Embedding in Single Window Mode
2025-01-24 09:05:41 -06:00
Thaddeus Crews a7363946b2
Merge pull request #101911 from rburing/fti_2d_particles_on_target
`CPUParticles2D` - Add ability to follow physics interpolated target
2025-01-24 09:05:40 -06:00
Thaddeus Crews a5015ca8f6
Merge pull request #101957 from arkology/texture-progress-minimum-size
`TextureProgressBar` minimum size selection as maximum among all textures
2025-01-24 09:05:39 -06:00
Thaddeus Crews 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
Thaddeus Crews 7625d6d9f6
Merge pull request #101940 from mihe/jolt/zero-sized-box
Update Jolt Physics `BoxShape` to allow for zero-sized boxes
2025-01-24 09:05:37 -06:00
Thaddeus Crews 802cb0fed8
Merge pull request #101909 from BlueCube3310/compat-rgtc-arr
WebGL2: Fix 2D array textures with RGTC compression not rendering
2025-01-24 09:05:36 -06:00
Thaddeus Crews 21e1115ed3
Merge pull request #101931 from stuartcarnie/canvas_texture_cache
2D: Fix `CanvasTexture` rendering when updating channels
2025-01-24 09:05:35 -06:00
Thaddeus Crews 1ffb40c7ca
Merge pull request #101972 from darksylinc/matias-vma-slowdown
Vulkan: Fix performance regression introduced in buffer creation
2025-01-24 09:05:34 -06:00
Thaddeus Crews b381d1b0e5
Merge pull request #101943 from gofastlily/fix-101907-save-branch-as-scene-reset-scale
Fix SceneTreeDock::_new_scene_from()'s reset_scale in 3D
2025-01-24 09:05:33 -06:00
Ricardo Buring 56fc0fd175 CPUParticles2D - Add ability to follow physics interpolated target
Allows a non-interpolated particle system to closely follow an interpolated target without tracking ahead of the target, by performing fixed timestep interpolation on the particle system global transform, and using this for emission.

Co-authored-by: lawnjelly <lawnjelly@gmail.com>
2025-01-24 14:13:20 +01:00
Matias N. Goldberg c30eff5986 Fix performance regression introduced in #90993
PR #90993 needed to get rid of VMA_MEMORY_USAGE_AUTO_PREFER_HOST because
we no longer used vmaCreateBuffer so we could specify the allocation
callbacks.

This however resulted in the wrong memory pool being chosen, causing
signficant performance slowdown.

Indicate additional preferred flags to help VMA select the proper pool.

Fixes #101905
2025-01-24 00:08:29 -03:00
Raul Santos 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
Stuart Carnie 663917449b 2D: Fix `CanvasTexture` rendering when updating channels 2025-01-24 07:01:37 +11:00
Kiro 7e9cbfbcb8 Remove erroneous squared version 2025-01-23 20:11:25 +01:00
arkology 046793b260 `TextureProgressBar` minimum size selection as maximum among all textures 2025-01-23 07:14:11 +00:00
Lily 721f8e793e Fix SceneTreeDock::_new_scene_from()'s reset_scale in 3D 2025-01-22 20:31:45 -05:00
Mikael Hermansson 41afe2de56 Update Jolt Physics `BoxShape` to allow for zero-sized boxes 2025-01-22 23:46:28 +01:00