Ninni Pipping
b43f847808
Fix `Array.slice()` rounding for `abs(step) != 1`
...
(cherry picked from commit 10f385fb79
)
2023-03-27 17:31:05 +02:00
Ninni Pipping
7fe9c48e2b
Fix type check for max/min
...
(cherry picked from commit c8c43997c7
)
2023-03-27 17:23:58 +02:00
Ninni Pipping
4da5fc9203
Fix Variant hashing for floats
...
Incorrectly hashed floats as single precision
(cherry picked from commit e6a9e0cdec
)
2023-03-27 17:18:16 +02:00
bitsawer
6782cd7291
Fix several clang-tidy bool literal conversion warnings
...
(cherry picked from commit 1736137bc9
)
2023-03-27 17:03:22 +02:00
Yuri Rubinsky
a397474bd0
Fix randfn to prevent generating of nan values
...
(cherry picked from commit d11bb866ff
)
2023-03-27 16:59:46 +02:00
Pedro J. Estébanez
46d475b067
Fix crash in resource load
...
(cherry picked from commit 047671df0f
)
2023-03-27 16:57:35 +02:00
myaaaaaaaaa
6ed9e03449
Fix data races in startup/teardown
...
(cherry picked from commit d337ed1c64
)
2023-03-27 16:43:47 +02:00
bruvzg
db3fadc560
Improve layout direction/locale automatic selection.
...
(cherry picked from commit 82d7923c65
)
2023-03-27 16:36:53 +02:00
Jakub Mateusz Marcowski
5a7624e50f
Modify JSON.stringify so that it doesn't create unnecessary empty lines from empty arrays
...
(cherry picked from commit 0a55a32085
)
2023-03-14 13:59:03 +01:00
Ninni Pipping
8dca093d97
Document `editor/naming/scene_name_casing` setting
...
Moved definitions of editor related project settings to `editor/register_editor_types.cpp` to make documentation work.
(cherry picked from commit 3de5332fcb
)
2023-03-13 14:25:46 +01:00
Haoyu Qiu
2d0d07f51b
Fix crash when dumping extension API in a non-writable directory
...
(cherry picked from commit 49400e0c1c
)
2023-03-13 14:11:24 +01:00
Rémi Verschelde
491ded1898
Minor typo and docs URL fixes
2023-02-28 13:38:01 +01:00
Rémi Verschelde
20d6a698c7
Sync controller mappings DB with SDL2 community repo
...
Synced with gabomdq/SDL_GameControllerDB@436c7e3d54
2023-02-27 15:59:50 +01:00
voidedWarranties
bd5ab9f9b4
Remove unused `ScriptLanguage` methods
2023-02-26 22:30:56 -08:00
Pedro J. Estébanez
b60197d1c6
Fix deadlock in cyclic resource load
2023-02-26 17:19:48 +01:00
Rémi Verschelde
3863199ab9
Merge pull request #73881 from vnen/max-min-only-for-numbers
...
Make max() and min() global functions only accept numbers
2023-02-25 01:36:19 +01:00
Dmitrii Maganov
c5f7a89b0f
Core: Identity compare objects by id, not by pointers
2023-02-24 23:33:29 +02:00
George Marques
ed81b165eb
Make max() and min() global functions only accept numbers
...
The behavior for those are not well defined for non-numeric arguments.
To avoid confusion the other types are forbidden.
2023-02-24 14:06:11 -03:00
Rémi Verschelde
b87f9f679e
Merge pull request #73647 from RandomShaper/fix_threaded_load
...
Fix threading issues in resource loading
2023-02-23 11:04:55 +01:00
bitsawer
c56058fe9a
Fix FileAccess last open error flag update
2023-02-21 17:02:21 +02:00
Rémi Verschelde
6acc7f03ed
Merge pull request #73595 from KoBeWi/missingno
...
Fix missing directories when exporting from cmd
2023-02-21 11:14:34 +01:00
Rémi Verschelde
e693a3debb
Merge pull request #73422 from bruvzg/no_alt
...
[macOS] Replace all `Alt/Option+Letter/Number` default shortcuts to avoid conflicts with special character input.
2023-02-20 22:31:11 +01:00
Pedro J. Estébanez
b862fc8c9b
Fix cases of resource load tasks not being awaitable
2023-02-20 21:20:05 +01:00
Pedro J. Estébanez
618bb173ba
Fix race condition in resource loader when a load task is reused
2023-02-20 21:20:05 +01:00
bruvzg
b3c64675cc
[macOS] Replace all `Alt/Option+Letter/Number` default shortcuts to avoid conflicts with special character input.
2023-02-20 22:02:47 +02:00
Pedro J. Estébanez
daa29d1007
Implement ConditionVariable
2023-02-20 20:43:31 +01:00
kobewi
ff42cb0d1e
Fix missing directories when exporting from cmd
2023-02-20 17:39:38 +01:00
lawnjelly
f42a837e92
BVH - fix lockguards for multithread mode
...
Due to a lack of variable name, the BVH lock guards lifetimes previously did not cover the whole function call.
This is fixed, and the warning message for contention is removed as multithread mode seems to be desired in production in 4.x.
2023-02-20 15:15:18 +00:00
Rémi Verschelde
2057d7344e
Merge pull request #73590 from vnen/gdscript-global-scope-enums
...
Make global scope enums accessible as types in GDScript
2023-02-20 15:41:45 +01:00
Rémi Verschelde
32a29977fb
Merge pull request #73616 from voidedWarranties/resourcecache_thread_safe
...
Make `ResourceCache::get_cached_resources` thread-safe
2023-02-20 11:29:08 +01:00
voidedWarranties
c586835541
Make `ResourceCache::get_cached_resources` thread-safe
2023-02-20 01:02:08 -08:00
Michael Alexsander
9a25d56ed9
Revert `Input.get_vector()` back to checking raw strength
2023-02-19 22:52:35 -03:00
George Marques
75f16b8167
Make global scope enums accessible as types in GDScript
...
Add functions to CoreConstant so enums can be properly deduced. Also add
the enums in release builds to make consistent with ClassDB enums and
avoid differences in script compilation between debug and release.
2023-02-19 13:00:07 -03:00
Rémi Verschelde
be3e5c5b8c
Merge pull request #73254 from j8r/fix-standard-gamepad-triggers
...
Fix Standard Gamepad Mapping triggers
2023-02-19 01:01:52 +01:00
Rémi Verschelde
e80e21b5e8
Merge pull request #73460 from myaaaaaaaaa/merge-unordered
...
Fix PagedArray.merge_unordered() sometimes dropping pages
2023-02-17 13:42:01 +01:00
Rémi Verschelde
b2584629c8
Merge pull request #73195 from timothyqiu/weblate-comments
...
Improvements and fixes based on Weblate comments
2023-02-17 09:55:39 +01:00
myaaaaaaaaa
6b0f253a45
Fix PagedArray.merge_unordered() dropping pages
2023-02-16 19:58:27 -05:00
bruvzg
bc95b0b171
Restore FileAccess.close method.
2023-02-16 15:34:20 +02:00
voidedWarranties
0a58025e40
Add missing virtual bind for `ScriptExtension::_get_global_name`
2023-02-15 19:48:01 -08:00
Rémi Verschelde
570b04dec4
Merge pull request #73265 from clayjohn/tangent-oct
...
Bias octahedral tangent y axis to avoid errors around 0
2023-02-14 11:05:52 +01:00
clayjohn
5a800e68f1
Bias octahedral tangent y axis to avoid errors around 0
2023-02-13 19:24:14 -08:00
Julien Reichardt
0cec4fcc65
Fix Standard Gamepad Mapping triggers
2023-02-13 23:44:43 +01:00
Dmitrii Maganov
9cb2da89d6
GDScript: Fix usage of ints with typed array of floats
2023-02-13 22:06:38 +02:00
Ricardo Subtil
e841f13cdc
Change message of unknown joypad property from error to warning
2023-02-13 14:30:57 +00:00
Rémi Verschelde
4a2c2170b4
Merge pull request #62921 from cdemirer/fix-variant-in
...
Fix `Variant::in()` error on invalid `evaluate`
2023-02-13 12:59:02 +01:00
Rémi Verschelde
edc2686687
Merge pull request #49469 from groud/remove_variant_operator
...
Make sure Variant is not implicitely cast when using operator[]
2023-02-13 12:57:04 +01:00
cdemirer
44b2747dfd
Fix `Variant::in()` error on invalid `evaluate`
2023-02-13 12:37:41 +01:00
Gilles Roudière
a825f955ab
Make sure Variant is not implicitely cast when using operator[]
...
Co-authored-by: Hein-Pieter van Braam-Stewart <hp@tmm.cx>
2023-02-13 10:50:22 +01:00
Haoyu Qiu
84aee17901
Improvements and fixes based on Weblate comments
...
* Description of `ui_text_submit` action should be "Submit Text" instead of "Text Submitted".
* Spell out "Animation" instead of using "Anim.".
* Treat "Max" as regular word instead of writing "Max.".
* Use generic "Set %s" for action name instead of a dedicated "Set target_position".
* Add translator comment for:
* "Inclusive" and "Self" in the profiler.
* Places where it needs the context about being an editor progress label.
* "Duplicated Animation Name" since it's refering to the new name of a duplicated animation.
* Disambiguation of "View Plane Transform", "Paste Selects" and "Display Normal".
* Fix wrong undo action name for renaming an input action.
* Fix missing end quote in a shader error message.
* In class reference:
* Fix duplicated "if" in the description of `signf()`.
* Fix mismatched example output in `String.operator %()`.
* Fix typo in the description of `Decal.texture_emission`.
* Unify description of `String.match()` and `StringName.match()`.
2023-02-13 15:22:18 +08:00
Rémi Verschelde
27b2260460
Merge pull request #73179 from akien-mga/sync-gamecontrollerdb
...
Sync controller mappings DB with SDL2 community repo
2023-02-12 22:35:27 +01:00