Commit Graph

67391 Commits

Author SHA1 Message Date
Fabio Alessandrelli
32e4ab91e8 [MP] Fix broken RPCs after dictionary keys type change
As part of RPCs processing, they need to be sorted reliably across all
peers, so that unique IDs can be assigned to greatly optimize the
network layer.

The RPC configuration nodes are stored in dictionaries which, until
recently, always casted StringName keys to String.

Since method names (keys) in the RPC configuration were StringName,
a side effect of the above change is that sorting the dictionary keys no
longer sort them alphabetically by default (StringName are compared
using their pointers).

This commit changes the RPC processing logic to use sort_custom to
provide a function that can handle the StringName comparison.
2024-09-12 16:38:14 +02:00
Rémi Verschelde
83d54ab2ad
Merge pull request #96708 from bruvzg/lbl3d_os
[Label3D] Fix updating labels in subvieports on oversampling change.
2024-09-12 10:28:52 +02:00
Rémi Verschelde
cc52112144
Merge pull request #96643 from bruvzg/fs_links
[FileSystem Dock] Add symlink indicator and tooltip.
2024-09-12 10:28:44 +02:00
Rémi Verschelde
6b9f4418bb
Merge pull request #96900 from bruvzg/fd_startup
Fix native file dialog showing on loading project in editor.
2024-09-12 09:57:35 +02:00
Rémi Verschelde
a8904b9622
Merge pull request #96753 from Dowsley/realtime-animation-player-bezier-property-changes
Update AnimationPlayer in real-time when bezier curve properties or bezier editor changes
2024-09-12 09:57:29 +02:00
bruvzg
0a3a483ca7 Fix native file dialog showing on loading project in editor. 2024-09-12 10:49:50 +03:00
Dowsley
9d0944b673
Update AnimationPlayer in real-time when bezier curve properties or bezier editor changes 2024-09-12 09:34:05 +02:00
Rémi Verschelde
b214aa8faf
Merge pull request #96880 from zeux/fix-vcache-nontri
Fix a crash in `ImporterMesh::create_shadow_mesh` for non-triangle surfaces
2024-09-12 09:26:01 +02:00
Rémi Verschelde
ae50e9ef7b
Merge pull request #96878 from bruvzg/rtl_font_reload
[RTL] Fix font not updated for some spans.
2024-09-12 09:25:57 +02:00
Rémi Verschelde
573badf150
Merge pull request #96875 from stuartcarnie/sgc/small_optimisations
[Editor, Servers] Minor optimizations
2024-09-12 09:25:53 +02:00
Rémi Verschelde
f1742991dc
Merge pull request #96870 from IntangibleMatter/patch-1
Remove "default font" from `ResourceImporterDynamicFont` Documentation
2024-09-12 09:25:50 +02:00
Rémi Verschelde
55f1ae0d41
Merge pull request #96868 from dsnopek/android-editor-launching-xr-app-fix
Fix launching XR apps from the Android editor
2024-09-12 09:25:46 +02:00
Rémi Verschelde
60ffa9645a
Merge pull request #96864 from KoBeWi/dictionerrory
Fix `Dictionary.merge()` type validation
2024-09-12 09:25:42 +02:00
Rémi Verschelde
f8b29d54a3
Merge pull request #96863 from BlueCube3310/gles-align-fix
Compatibility: Fix alignment of compressed textures when retrieving
2024-09-12 09:25:39 +02:00
Rémi Verschelde
feb31176d4
Merge pull request #96830 from Hilderin/fix-popup-load-errors-showing-on-every-progress
Fix load error popup showing on every progress dialog
2024-09-12 09:25:35 +02:00
Rémi Verschelde
b998cb1335
Merge pull request #96768 from DeeJayLSP/wav-end
WAV: Fix one frame overflow at the end
2024-09-12 09:25:31 +02:00
Rémi Verschelde
cee14dbff2
Merge pull request #96301 from scgm0/Delete-old-C#-data
C#: Clear existing data directory extracted from PCK
2024-09-12 09:25:27 +02:00
Rémi Verschelde
ea9ad8d6a1
Merge pull request #96185 from dsnopek/openxr-composition-layer-android-surface
OpenXR: Support composition layers based on Android surfaces
2024-09-12 09:25:23 +02:00
Rémi Verschelde
f8fbb860f5
Merge pull request #95840 from raulsntos/char_metadata
Add metadata for `char16_t` and `char32_t`
2024-09-12 09:25:19 +02:00
Rémi Verschelde
612d4ea8f4
Merge pull request #95773 from tetrapod00/document-normal-texture-compositor
Add documentation for need for normal roughness texture conversion for CompositorEffects
2024-09-12 09:25:15 +02:00
Rémi Verschelde
b9b07d619f
Merge pull request #94783 from TokageItLab/validate-gltf-anim-name
Add validation to glTF importer for Blendshape and Animation
2024-09-12 09:25:10 +02:00
Rémi Verschelde
23e51c3cb5
Merge pull request #92888 from Hilderin/fix-unable-to-use-resourceLoader-in-c#-after-threaded-load
Fix inability to use ResourceLoader in C# after threaded load in GDScript
2024-09-12 09:25:05 +02:00
Rémi Verschelde
18cdfb8101
Merge pull request #96789 from SaracenOne/bezier_fixes
Fix errors when creating bezier component tracks.
2024-09-12 09:17:54 +02:00
Rémi Verschelde
f33a81977b
Merge pull request #96742 from m4gr3d/check_openxr_automatic_permissions_request
[Android editor] Limit when OpenXR runtime permissions are requested
2024-09-12 09:17:51 +02:00
Rémi Verschelde
33dd105119
Merge pull request #96305 from Jordyfel/scroll-container-min-size
Fix scroll container min size calculation
2024-09-12 09:17:47 +02:00
Rémi Verschelde
8d9a446397
Merge pull request #95473 from Chaosus/shader_fix_switch_bugs
Fix shader incorrectly expects `int` on `uint` and vice-versa in cases
2024-09-12 09:17:43 +02:00
Rémi Verschelde
cd9da3344f
Merge pull request #95292 from aaronp64/is_parent_class_perf
Improve `ClassDB::_is_parent_class` performance
2024-09-12 09:17:39 +02:00
Rémi Verschelde
f5bf9b60bd
Merge pull request #92916 from Naros/expose-update-docs-from-script
Expose `update_docs_from_script` method
2024-09-12 09:17:35 +02:00
David Snopek
3afa26834a OpenXR: Support composition layers based on Android surfaces 2024-09-11 21:15:22 -05:00
DeeJayLSP
147accdf74 WAV: Fix one frame overflow at the end 2024-09-11 21:57:14 -03:00
Raul Santos
aaffab8afb
Add metadata for char16_t and char32_t
We don't seem to expose any API that uses `char16_t` yet, but I added it anyway since we make the type info for it.

I didn't add anything for `wchar_t` because we are not making a type info so maybe we don't have a need for it yet, it could be added in the future.

To prevent breaking compatibility with the C# bindings, we ignore the `char32_t` metadata and still use `System.Int64`.
2024-09-12 02:15:55 +02:00
scgm0
a29ddd4674 C#: Clear existing data directory extracted from PCK 2024-09-12 07:12:01 +08:00
Hilderin
27d1fb63e1 Fix Unable to use ResourceLoader in C# after threaded load in GDScript #92798 2024-09-11 19:03:55 -04:00
Hilderin
47703c7005 Fix load error popup showing on every progress dialog 2024-09-11 18:58:21 -04:00
Fredia Huya-Kouadio
3ff95ef12a Only request OpenXR permissions for a XR game running off the Android editor when the xr/openxr/extensions/automatically_request_runtime_permissions project setting is enabled 2024-09-11 14:47:08 -07:00
Stuart Carnie
5cfacc8767
[Editor,Servers]: Minor optimizations 2024-09-12 06:22:04 +10:00
Arseny Kapoulkine
7d7b43bca2 Fix a crash in ImporterMesh::create_shadow_mesh for non-triangle surfaces
optimize_vertex_cache_func assumes the input is a triangle mesh; when an
imported mesh contains points/lines/triangle strips, this code should be
disabled.
2024-09-11 13:18:58 -07:00
bruvzg
e517eaf053
[RTL] Fix font not updated for some spans. 2024-09-11 23:02:00 +03:00
Rémi Verschelde
2c136e6170
Merge pull request #92797 from stuartcarnie/sgc/canvas_batching
Add batching to `RendererCanvasRenderRD`
2024-09-11 21:56:36 +02:00
David Snopek
30a63396e5 Fix launching XR apps from the Android editor 2024-09-11 14:31:54 -05:00
Stuart Carnie
a657ea42f1
2D: Add batching to RendererCanvasRenderRD 2024-09-12 05:26:06 +10:00
Lyric Moysey-Rubin
0089915c65
Remove "default font" from ResourceImporterDynamicFont Documentation
The Docs for ResourceImporterDynamicFont's `multichannel_signed_distance_field` option appears to have been copy pasted from the version in ProjectSettings, including mentioning it's the "default font", instead of just "font" as it should in this class.
2024-09-11 11:05:27 -07:00
Rémi Verschelde
14a7e0abb3
Merge pull request #96861 from KoBeWi/it's_3_to_4_again
Add simple minor version migration
2024-09-11 18:28:53 +02:00
Rémi Verschelde
db977eaf13
Merge pull request #96858 from Chaosus/shader_fix_conditional_op
Fix shader crash when using unary minus in expression
2024-09-11 18:28:50 +02:00
Rémi Verschelde
86d2435605
Merge pull request #96855 from mihe/deterministic-tokens
Fix issue with GDScript binary tokens being non-deterministic
2024-09-11 18:28:46 +02:00
Rémi Verschelde
41828e6d43
Merge pull request #96752 from AThousandShips/cache_clean_improve
[Buildsystem] Improve cache handling
2024-09-11 18:28:43 +02:00
Rémi Verschelde
2cfd8f707e
Merge pull request #86652 from cmumme/patch-1
Fix typo in XRInterface comment
2024-09-11 18:28:36 +02:00
TypeChecked
a8fc5e30a2
Fix typo in XRInterface comment 2024-09-11 18:18:26 +02:00
BlueCube3310
0182294b37 Compatibility: Fix alignment of compressed textures when retrieving 2024-09-11 18:15:26 +02:00
kobewi
c435a8f37b Add simple minor version migration 2024-09-11 17:28:42 +02:00