Commit Graph

80742 Commits

Author SHA1 Message Date
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
Jesusemora b22eba1285 Show theme_type_variations in the inspector on Controls that inherit a theme
`theme_type_variation`s are now shown in the children and children of children
that inherit a theme from a parent `Control` node.
2025-05-13 00:56:06 +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
Hugo Locurcio 3a7425968a Improve SpinBox class documentation
- Describe the class's interactivity in more detail.
- Clarify behavior of `apply()`.
- Mention that expressions can be evaluated.
- Mention caveat with `update_on_text_changed` regarding expressions.
2025-05-13 00:30:24 +02:00
kobewi e0e8bd5394 Optimize unsaved history checking 2025-05-13 00:13:12 +02: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
Rudolph Bester d41fe74342 Change Occlusion Culling Buffer debug view to use log scaling 2025-05-12 20:46:18 +02: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
Alex Onceanu 1bdf237558 Fix Camera2D right and bottom limit to depend on bottom right corner 2025-05-12 19:05:08 +02:00
Wilson E. Alvarez 90328e921f Improve Timer::start error message. 2025-05-12 11:06:56 -04: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
Rémi Verschelde 06b8d05eda Preserve CRLF line terminators for MSVS project template 2025-05-12 13:24:23 +02:00
Haoyu Qiu bbc6643e4c Remove translation loading logic that was never used 2025-05-12 19:05:20 +08:00
Capry 9828c365c3 Add support for bent normals for indirect lighting and specular occlusion 2025-05-12 12:52:04 +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
Yufeng Ying 55a61cbd4a Optimize InputMap::get_actions. 2025-05-12 17:51:27 +08:00
Pāvels Nadtočajevs 870fb5f74b [Accessibility] Account for window scaling transform when setting node bounds. 2025-05-12 09:12:55 +03:00
Riteo c3b04e6e1e Wayland: fix error spam when closing popup
Previously we did not check whether the value actually changed or not
and thus would get constant errors for no reason.
2025-05-12 05:11:24 +02:00
Danni 54c8d64892 Add ruler width editor setting to 2D editor 2025-05-11 20:00:50 -04:00
Stuart Carnie f658161619 macOS: Embedded window can be dismissed by clicking close
- Installed a SIGINT handler to terminate the application gracefully.
- Handle varying display scaling
2025-05-12 07:09:42 +10:00
Raul Santos 6464347157 [Android] Store native libraries uncompressed in APK 2025-05-11 21:02:44 +02:00
Pāvels Nadtočajevs 5441a82cfb Do not call accessibility_set_window_rect on Wayland, fix main windows accessibility context creation. 2025-05-11 12:51:46 +03:00
lawnjelly 39b16bcc3c SCU - hide SCU folders by adding "." to foldername 2025-05-11 07:02:36 +01:00
Pāvels Nadtočajevs 44400b1419 Fix EditorNode::drag_resource crash. 2025-05-10 20:49:19 +03:00
BrotherShort a52a7a4a48 Make the position and the size of FileSystem controls more precise 2025-05-11 00:31:49 +08:00
Chaosus 16f51d4671 Remove duplicated entries from shader built-ins 2025-05-10 19:24:20 +03:00