summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2023-02-25Merge pull request #73881 from vnen/max-min-only-for-numbersRémi Verschelde
Make max() and min() global functions only accept numbers
2023-02-24Core: Identity compare objects by id, not by pointersDmitrii Maganov
2023-02-24Make max() and min() global functions only accept numbersGeorge Marques
The behavior for those are not well defined for non-numeric arguments. To avoid confusion the other types are forbidden.
2023-02-23Merge pull request #73647 from RandomShaper/fix_threaded_loadRémi Verschelde
Fix threading issues in resource loading
2023-02-21Fix FileAccess last open error flag updatebitsawer
2023-02-21Merge pull request #73595 from KoBeWi/missingnoRémi Verschelde
Fix missing directories when exporting from cmd
2023-02-20Merge pull request #73422 from bruvzg/no_altRémi Verschelde
[macOS] Replace all `Alt/Option+Letter/Number` default shortcuts to avoid conflicts with special character input.
2023-02-20Fix cases of resource load tasks not being awaitablePedro J. Estébanez
2023-02-20Fix race condition in resource loader when a load task is reusedPedro J. Estébanez
2023-02-20[macOS] Replace all `Alt/Option+Letter/Number` default shortcuts to avoid ↵bruvzg
conflicts with special character input.
2023-02-20Implement ConditionVariablePedro J. Estébanez
2023-02-20Fix missing directories when exporting from cmdkobewi
2023-02-20BVH - fix lockguards for multithread modelawnjelly
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-20Merge pull request #73590 from vnen/gdscript-global-scope-enumsRémi Verschelde
Make global scope enums accessible as types in GDScript
2023-02-20Merge pull request #73616 from voidedWarranties/resourcecache_thread_safeRémi Verschelde
Make `ResourceCache::get_cached_resources` thread-safe
2023-02-20Make `ResourceCache::get_cached_resources` thread-safevoidedWarranties
2023-02-19Revert `Input.get_vector()` back to checking raw strengthMichael Alexsander
2023-02-19Make global scope enums accessible as types in GDScriptGeorge Marques
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-19Merge pull request #73254 from j8r/fix-standard-gamepad-triggersRémi Verschelde
Fix Standard Gamepad Mapping triggers
2023-02-17Merge pull request #73460 from myaaaaaaaaa/merge-unorderedRémi Verschelde
Fix PagedArray.merge_unordered() sometimes dropping pages
2023-02-17Merge pull request #73195 from timothyqiu/weblate-commentsRémi Verschelde
Improvements and fixes based on Weblate comments
2023-02-16Fix PagedArray.merge_unordered() dropping pagesmyaaaaaaaaa
2023-02-16Restore FileAccess.close method.bruvzg
2023-02-15Add missing virtual bind for `ScriptExtension::_get_global_name`voidedWarranties
2023-02-14Merge pull request #73265 from clayjohn/tangent-octRémi Verschelde
Bias octahedral tangent y axis to avoid errors around 0
2023-02-13Bias octahedral tangent y axis to avoid errors around 0clayjohn
2023-02-13Fix Standard Gamepad Mapping triggersJulien Reichardt
2023-02-13GDScript: Fix usage of ints with typed array of floatsDmitrii Maganov
2023-02-13Change message of unknown joypad property from error to warningRicardo Subtil
2023-02-13Merge pull request #62921 from cdemirer/fix-variant-inRémi Verschelde
Fix `Variant::in()` error on invalid `evaluate`
2023-02-13Merge pull request #49469 from groud/remove_variant_operatorRémi Verschelde
Make sure Variant is not implicitely cast when using operator[]
2023-02-13Fix `Variant::in()` error on invalid `evaluate`cdemirer
2023-02-13Make sure Variant is not implicitely cast when using operator[]Gilles Roudière
Co-authored-by: Hein-Pieter van Braam-Stewart <hp@tmm.cx>
2023-02-13Improvements and fixes based on Weblate commentsHaoyu Qiu
* 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-12Merge pull request #73179 from akien-mga/sync-gamecontrollerdbRémi Verschelde
Sync controller mappings DB with SDL2 community repo
2023-02-12Sync controller mappings DB with SDL2 community repoRémi Verschelde
Synced with gabomdq/SDL_GameControllerDB@2e7bc45a45c3e4dcb7eb991e893b87e46d85fc76
2023-02-12Add PS3 controller guide buttonJulien Reichardt
2023-02-11Improve error reporting when the Message Queue is out of Memory.AndreaCatania
The function `statistics()`, called when the MessageQueue is out of memory, will still use the MessageQueue so it crashes. Moving the error above will improve the behavior since the developer will find the crash reasons and the instruction on how to fix it.
2023-02-11Merge pull request #72316 from 0xafbf/component-wise-minmaxRémi Verschelde
Added component-wise `min` and `max` functions for vectors
2023-02-11Added component-wise `min` and `max` functions for vectorsAndrés Botero
2023-02-11Math: Prevent division by zero in posmodRémi Verschelde
Fixes #43932. Co-authored-by: David Hoppenbrouwers <david@salt-inc.org>
2023-02-11Merge pull request #72654 from RandomShaper/ptrcall_ret_raw_objRémi Verschelde
Avoid losing references to objects in the native-scripting boundary
2023-02-11Merge pull request #73075 from timothyqiu/ttrn-singleRémi Verschelde
Don't warn when using `TTRN()` in a language without plurals
2023-02-11Don't warn when using TTRN() in a language without pluralsHaoyu Qiu
2023-02-10Add Engine::unregister_script_language and make ↵Emmanuel Leblond
Engine::register_script_language returns a Error
2023-02-10Add some missing translatable editor stringsHaoyu Qiu
2023-02-09Merge pull request #72964 from AThousandShips/input_early_exitRémi Verschelde
Perform early exit in Input::is_anything_pressed
2023-02-09Merge pull request #72547 from MewPurPur/string-split-fixRémi Verschelde
Fix String.split() with empty string and delimeter
2023-02-09Perform early exit in Input::is_anything_pressedNinni Pipping
2023-02-08GDExtension: array_set_typed() accepts enum instead of uint32_tJan Haller