Commit graph

74210 commits

Author SHA1 Message Date
Thaddeus Crews
a2b49d0800
Merge pull request #93883 from TV4Fun/variant_join
Consolidate and simplify string joining code in `VariantUtilityFunctions`
2025-05-13 16:22:13 -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
Thaddeus Crews
172794337c
Merge pull request #99985 from allenwp/release-only-crash-99797
Print error message when index is out of range in `Variant::iter_get`
2025-05-13 16:22:11 -05:00
Thaddeus Crews
88c0552077
Merge pull request #104462 from solidpixel/astcenc_5.3.0
Update astcenc to the upstream 5.3.0 release
2025-05-13 16:22:10 -05:00
Thaddeus Crews
30a0e46f1f
Merge pull request #103689 from timothyqiu/text-file
EditorHelpBit: Fix symbol type name capitalization for text files
2025-05-13 16:22:09 -05:00
Allen Pestaluky
5657ecc542 Print error message when index is out of range in Variant::iter_get of DEBUG_ENABLED builds.
Mitigates #99797
2025-05-13 13:57:16 -04:00
Rémi Verschelde
209a446e36
Merge pull request #106349 from bruvzg/mac_resize
[macOS] Fix embedded window position when host control is moved, but not resized.
2025-05-13 13:30:45 +02:00
Pāvels Nadtočajevs
ddefe73c41
[macOS] Fix embedded window position when host control is moved, but not resized. 2025-05-13 14:17:45 +03:00
Rémi Verschelde
af62a09b42
Merge pull request #106348 from akien-mga/macos-fix-template_debug-build
macOS: Fix `template_debug` build after #105884
2025-05-13 12:49:11 +02:00
Rémi Verschelde
20f279cd34
Merge pull request #106345 from bruvzg/gl_leak
[X11] Fix GL init memory leak when transparency is enabled.
2025-05-13 12:49:08 +02:00
Rémi Verschelde
29f13d8cd8
Merge pull request #106340 from bruvzg/trasn_emb_bg
Draw checkerboard (or clear color) under embedded window.
2025-05-13 12:49:04 +02:00
Rémi Verschelde
3e2c064302
macOS: Fix template_debug build after #105884 2025-05-13 12:42:13 +02:00
Pāvels Nadtočajevs
a12503b88c
[X11] Fix GL init memory leak when transparency is enabled. 2025-05-13 13:20:02 +03:00
Pāvels Nadtočajevs
6a118b5027
Draw checkerboard (or clear color) under embedded window. 2025-05-13 13:16:22 +03:00
Rémi Verschelde
c0ebba60de
Merge pull request #106166 from stuartcarnie/macos_embed_fixes
macOS: Embedded window fixes
2025-05-13 12:11:35 +02:00
Rémi Verschelde
db66343528
Merge pull request #106317 from stuartcarnie/sgc_macos_first_click
macOS: Process first click event without requiring focus
2025-05-13 01:05:53 +02:00
Rémi Verschelde
8b93b67e14
Merge pull request #106315 from Riteo/popping-up-everywhere
Wayland: Fix error spam when closing popup
2025-05-13 01:05:49 +02:00
Rémi Verschelde
620206b0ae
Merge pull request #106309 from aaronp64/string_chr_appends
Avoid single character `String` allocations when appending characters
2025-05-13 01:05:45 +02:00
Rémi Verschelde
cc102dc5a9
Merge pull request #106302 from akien-mga/msvs-crlf
Preserve CRLF line terminators for MSVS project template
2025-05-13 01:05:41 +02:00
Rémi Verschelde
1f2f144ce7
Merge pull request #106298 from bruvzg/ac_win_transform
[Accessibility] Account for window scaling transform when setting node bounds.
2025-05-13 01:05:38 +02:00
Rémi Verschelde
13a0e28f5b
Merge pull request #106297 from GlitchedCode922/GodotWarningFix/master
Make errors override warnings in script line coloring
2025-05-13 01:05:34 +02:00
Rémi Verschelde
03cae12314
Merge pull request #106295 from timothyqiu/legacy-l10n
Remove translation loading logic that was never used
2025-05-13 01:05:31 +02:00
Rémi Verschelde
cc07dc4273
Merge pull request #106288 from raulsntos/android/store_so_uncompressed
[Android] Store native libraries uncompressed in APK
2025-05-13 01:05:27 +02:00
Rémi Verschelde
c4c28f8f62
Merge pull request #106281 from KoBeWi/false
Fix wrong children range when duplicating node
2025-05-13 01:05:23 +02:00
Rémi Verschelde
502e15724f
Merge pull request #106269 from lawnjelly/scu_hide_folder
SCons: Hide SCU folders by adding "." to foldername
2025-05-13 01:05:19 +02:00
Rémi Verschelde
cb01fabdf1
Merge pull request #106252 from bruvzg/ed_prev_drag_fix
Fix `EditorNode::drag_resource` crash.
2025-05-13 01:05:15 +02:00
Rémi Verschelde
9bf6b774b8
Merge pull request #106248 from Chaosus/shader_remove_duplicated_builtins
Remove duplicated entries from shader built-ins
2025-05-13 01:05:12 +02:00
Rémi Verschelde
f23d1968b4
Merge pull request #106247 from bruvzg/ac_wl_resize
Do not call `accessibility_set_window_rect` on Wayland, fix main windows accessibility context creation.
2025-05-13 01:05:08 +02:00
Rémi Verschelde
a377f50cc6
Merge pull request #106226 from lawnjelly/faster_get_child_count
Faster `Node::get_child_count()`
2025-05-13 01:05:04 +02: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
4c62c8aceb
Merge pull request #106020 from Ivorforce/hashmap-duplicate-hash
Optimize `HashMap` insertion by removing duplicate computation of hash and position
2025-05-13 01:04:57 +02:00
Rémi Verschelde
c1d3746a67
Merge pull request #105992 from uno1982/4.5-dev-fix-android-controller
Fix issues with Android controller input handling
2025-05-13 01:04:52 +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
7d363c2d5c
Merge pull request #105560 from BrotherShort/Make-controls-more-precise
Make the position and the size of FileSystem controls more precise
2025-05-13 01:04:43 +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
b7f75578db
Merge pull request #104419 from Ryan-000/fix_animation_mixer_errors
Remove incorrect errors in AnimationMixer
2025-05-13 01:04:33 +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
Rémi Verschelde
ca8f99a4d8
Merge pull request #101950 from YYF233333/vector_glyph
Use `LocalVector<Glyph>` in `TextServerAdvanced` to reduce reallocation
2025-05-13 01:04:23 +02:00
Rémi Verschelde
a529abc361
Merge pull request #101339 from Ivorforce/remove-nothing
Remove unintentional use of zero-width space.
2025-05-13 01:04:19 +02:00
Rémi Verschelde
2b037e8989
Merge pull request #93276 from mashumafi/avoid-vec-copy
Avoid unnecessary copy-on-write Vector/Array
2025-05-13 01:04:16 +02:00
Rémi Verschelde
b8fba34c17
Merge pull request #75629 from RedworkDE/non-atomic-error-macros
Remove pointless use of atomics in error macros
2025-05-13 01:04:12 +02:00
Joel Croteau
981f1e9298 Rename VariantUtilityFunctions::join() to join_string() 2025-05-12 17:51:09 -05:00
Joel Croteau
8be7ad32e7 Consolidate and simplify string joining code in VariantUtilityFunctions
`variant_utility.cpp` has 8 different copies of the exact same loop to join
vararg strings together. This is bad coding process and makes the codebase
needlessly cluttered. Also, the loop itself has an i == 0 check that is
unnecessary since String is auto-initialized to be empty and String::operator+=
already checks if it is empty before appending. This is a non-functional change
that only reorganizes the code to be a bit more readable.
2025-05-12 17:47:14 -05:00
aaronp64
8fb3697916 Avoid single character String allocations when appending characters
Removed calls to String::chr() when appending characters to Strings in Expression, Resource, and VariantParser, to avoid creating temporary Strings for each character.  Also updated the Resource case to resize String up front, since size is known.
2025-05-12 17:35:42 -04:00
Lukas Tenbrink
e8c3409d40 Remove 4 unintentional uses of zero-width space and zero-width non-joiner. 2025-05-12 22:00:37 +02:00
Stuart Carnie
544ab4ccab macOS: Process first click event without requiring focus
This improves the user experience for macOS users, to be consistent with
other macOS applications. When a Godot window is not focused, and the
user clicks on the window, the event is forwarded to the receiving
control to be processed as if the window was already focused.
2025-05-13 05:21:51 +10:00
kobewi
258062e312 Fix wrong children range when duplicating node 2025-05-12 20:21:40 +02:00
GlitchedCode
4b3c5336cd Make errors override warnings in script line coloring 2025-05-12 17:55:51 +00:00
RedworkDE
c5777c43d9 Remove pointless use of atomics in error macros 2025-05-12 17:06:19 +02:00
mashumafi
b73346ef19 Avoid copy-on-write when reading vectors 2025-05-12 16:08:05 +02:00