7997 Commits

Author SHA1 Message Date
Rémi Verschelde
4d7c448a0a
Merge pull request #102059 from AThousandShips/fix_cowdata_performance
[4.4] [Core] Fix performance issues in some `CowData` methods
2025-04-09 13:49:11 +02:00
Pāvels Nadtočajevs
c477d248c6
Fix icons with non-ASCII file names in project manager.
(cherry picked from commit abe413ff8c8962be2063fa6659d3a0e53dd0e9ec)
2025-03-20 16:43:47 +01:00
Pāvels Nadtočajevs
5c6f4a4ac6
Use single RNG instance for FileAccessEncrypted IV generation.
(cherry picked from commit cf18cf163092c9586f81a46e690e8f790282ca0a)
2025-03-19 12:58:09 +01:00
Pāvels Nadtočajevs
a2b01e420d
Sync display/window/size/initial_position_type and Window::WINDOW_INITIAL_POSITION_ enum.
(cherry picked from commit d990f594a05da37252b737fa21deab9f460201bb)
2025-03-19 12:56:47 +01:00
A Thousand Ships
dbaf8f3e7a
[Core] Fix performance issues in some CowData methods
These relied on `get` which does a bounds check each time on debug
builds
2025-03-15 19:20:48 +01:00
Pāvels Nadtočajevs
b56668fd12
Fix Invalid Task ID errors in ResourceLoader.
(cherry picked from commit d1b63ae16cd89054bfc37f442f18409deec9b969)
2025-03-14 00:24:50 +01:00
Pāvels Nadtočajevs
11c7d225fa
[ResourceLoader] Do not wait for the main thread during initial reimport.
(cherry picked from commit 16865b69178f0c653dac07c3713a6088e508e966)
2025-03-14 00:19:34 +01:00
Hotkey
04c7f54e31
Fix crash when calling get_argument_count() on invalid Callable
https://github.com/godotengine/godot/issues/103438
(cherry picked from commit 7bc030172e9d90e5c90b32f05624d5cf5070ab6d)
2025-03-12 14:59:03 +01:00
Pāvels Nadtočajevs
14d7775217
[Linux/BSD] Offload RenderingDevice creation test to subprocess.
(cherry picked from commit 6ed12bfc5d1f8e541134b1440ed51e514490d347)
2025-03-12 14:59:03 +01:00
Pāvels Nadtočajevs
9e5292c6cf
Use separate WorkThreadPool for shader compiler.
(cherry picked from commit 53bb897458a9761d00936ad53ea95bd78b4a6b0b)
2025-03-12 12:22:46 +01:00
Rémi Verschelde
c01b9de703
Merge pull request #103364 from akien-mga/input-deadzone-ui-0.5
Input: Change default deadzone back to 0.5 for `ui_*` actions and axis `pressed` state
2025-02-27 22:17:01 +01:00
Rémi Verschelde
672fe2487f
Input: Change default deadzone back to 0.5 for ui_* actions and axis pressed state
Fixes #103360.
Partial revert of changes in #97281 and #99135.
2025-02-27 17:30:48 +01:00
Pāvels Nadtočajevs
f9c7d348c3 Add bound checks to Array/Packed*Array variant call get and set methods. 2025-02-27 17:54:40 +02:00
Rémi Verschelde
01545c995b
Merge pull request #103298 from bruvzg/comque_race
Use atomic flag to prevent `flush_if_pending` from reading unlocked `command_mem`.
2025-02-26 00:27:55 +01:00
David Snopek
e0370b9596 Bind new core METHOD_FLAG_VIRTUAL_REQUIRED bitfield 2025-02-25 16:46:50 -06:00
Pāvels Nadtočajevs
bdb5d522d1 Use atomic flag to prevent flush_if_pending from reading unlocked command_mem. 2025-02-25 23:26:43 +02:00
Pāvels Nadtočajevs
ab717497ef [Windows] Offload RenderingDevice creation test to subprocess. 2025-02-24 19:40:10 +02:00
Anish Mishra
93bababb8c Android: Inform that sensors must be enabled in ProjectSettings 2025-02-21 23:04:01 +05:30
Thaddeus Crews
24dccd40c1
Merge pull request #99479 from Sauermann/fix-remove-project-conversion
Remove temporary project conversion
2025-02-18 07:55:56 -06:00
Pāvels Nadtočajevs
9ae5f09c20 Fix editor UI showing empty string for unknown locales. 2025-02-13 08:07:26 +02:00
Thaddeus Crews
78f1918bd4
Merge pull request #102668 from jkirsteins/janiskirsteins/ios-aspect-fill-splash
[iOS] Sync the boot splash and the launch screen image scale modes
2025-02-12 12:56:26 -06:00
Jānis Kiršteins
0e266b0099
[iOS] Sync the boot splash and the launch screen image scale modes 2025-02-12 17:41:18 +01:00
Thaddeus Crews
a0f10a28a6
Merge pull request #100933 from Synzorasize/fix_100889
Fix parsing Resource type as value type of a Dictionary
2025-02-11 09:13:18 -06:00
Rémi Verschelde
62d22ffa6b Merge pull request #98216 from pafuent/fixing_log_rotation
Fix file logging log rotation
2025-02-11 10:54:01 +01:00
Pablo Andres Fuente
d1338528f9 Fix file loggin log rotation
Fixes #97066

`RBSet` were used on `RotatedFileLogger` because it guarantees that
iterating it is done via `operator<`. This is important because
`RotatedFileLogger` depends on this behavior to delete the oldest log file.
On #61194 `HashSet` was added and all `RBSet` uses were replaced by
`HashSet`.
When that happened, the iteration in order is guaranteed to be the insertion
order, wich made that `RotatedFileLogger` delete the newest log file.
As a bonus, I added unit test for `RotatedFileLogger` and `CompositeLogger`.
2025-02-10 21:57:07 +01:00
Rémi Verschelde
261e7d32d3 Merge pull request #102649 from bruvzg/fb_loc
Use fallback locale from project settings instead of hardcoded "en" for TextServer.
2025-02-10 10:50:02 +01:00
Pāvels Nadtočajevs
e9fd760357 Use fallback locale from project settings instead of hardcoded "en" for TextServer. 2025-02-10 08:55:50 +02:00
Hilderin
9457666bba Fix accessing UID before first scan 2025-02-08 20:04:32 -05:00
Pāvels Nadtočajevs
1bc86c2626 Fix PackedStringArray.to_byte_array() to return UTF-8 encoded data instead of pointers. 2025-02-07 10:19:32 +02:00
Rémi Verschelde
161abe7bdd Merge pull request #102489 from KoBeWi/uid_file_factory_regulations
Improve UID file creation condition
2025-02-07 01:39:55 +01:00
kobewi
65509ae4ff Improve UID file creation condition 2025-02-06 17:08:00 +01:00
bruvzg
a6ff518763 Add ZWSP to the list of space characters. 2025-02-06 10:31:32 +02:00
Pāvels Nadtočajevs
b50d9742c2 Fix is_valid_float, Variant parser, Expression parser, script highlighter, and TextServer not handing capital E in scientific notation. 2025-02-05 18:39:40 +02:00
bruvzg
3be46a69c4 Fix uppercase B and X parsing in the integer literals. 2025-02-05 16:02:06 +02:00
Thaddeus Crews
acddf31c39
Merge pull request #101489 from RandomShaper/optimize_classnames_enumeration
Optimize classnames enumeration
2025-02-04 09:03:59 -06:00
Pāvels Nadtočajevs
e6e108d091 Implement get_length() for pipes. 2025-02-03 16:50:00 +02:00
Thaddeus Crews
4fcd9598de
Merge pull request #102144 from Cwazywierdo/get-euler-epsilon
Core: Fix `Basis::get_euler` incorrectly simplifying rotations in some cases.
2025-02-03 08:15:42 -06:00
Thaddeus Crews
699237d243
Merge pull request #102131 from dsnopek/classdb-bind-method-custom-leak
Fix memory leak when `ClassDB::bind_method_custom()` fails
2025-01-30 11:39:04 -06:00
lawnjelly
5c6d7bfb98 Change VariantUtility to prevent undef print_verbose
Changes the `VariantUtility` function from `print_verbose` to `_print_verbose`, eliminating the need for undefining the `print_verbose` macro, which caused compilation problems.
2025-01-30 10:29:11 +00:00
Thaddeus Crews
424487869e
Merge pull request #90726 from Chubercik/ucaps-exorcism
Update `ucaps.h` to contain proper case matchings
2025-01-29 17:45:14 -06:00
Adam
d56cbd374b Fix Basis::get_euler incorrectly simplifying rotations in some cases. 2025-01-29 16:13:29 -06:00
Jakub Marcowski
104857687c
Update ucaps.h to contain proper case matchings 2025-01-29 12:37:33 +01:00
Pedro J. Estébanez
318af42020 Include more attributes in the global class names cache 2025-01-29 09:39:50 +01:00
Thaddeus Crews
3c80c14092
Merge pull request #101924 from adamscott/game-editor-non-cached-mouse-mode
Delegate handling `mouse_mode` to the `DisplayServer`
2025-01-28 16:08:56 -06:00
David Snopek
e904c0c014 Fix memory leak when ClassDB::bind_method_custom() fails 2025-01-28 11:10:35 -06:00
Adam Scott
47f553ae0b
Delegate to the DisplayServer the task of handling mouse_mode
- Add `MOUSE_MODE_MAX` and various index checks
2025-01-28 11:22:27 -05:00
Thaddeus Crews
1aed2f577e
Merge pull request #100904 from kiroxas/fixVariantMSVCWorkaround
Fix MSVC Variant Workaround
2025-01-28 09:03:33 -06:00
Thaddeus Crews
376b1c9de9
Merge pull request #101752 from MTareqAzim/fix-resource-loader-cache-uid
Fix ResourceLoader.has_cached() and ResourceLoader.get_cached_ref() not handling UIDs.
2025-01-22 16:32:24 -06:00
Tareq Anuar
9014cdb596
Fix ResourceLoader.has_cached() and ResourceLoader.get_cached_ref() not handling UIDs. 2025-01-20 20:36:23 +08:00
Silc Lizard (Tokage) Renew
27e23280c5 Fix Quaternion arc constructor to check dot & Add test for same vec3s 2025-01-20 18:16:53 +09:00