summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
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
2023-02-08Merge pull request #72866 from Sauermann/fix-release-button-maskRémi Verschelde
Fix mouse-button-mask on button release in unit test
2023-02-08Use GDExtensionBool in GDExtension interfaceHaoyu Qiu
2023-02-08Fix mouse-button-mask on button release in unit testMarkus Sauermann
On mouse-button release, the mask is 0.
2023-02-07Prepare for moving editor and classref translations to godot-editor-l10n repoHaoyu Qiu
- Separate editor interface and property translations. - Add property translation in TranslationServer. - The split and merge of the POT/PO/Makefiles and extract scripts is done directly in godot-editor-l10n, the files will be removed in the next commit. - Remove the hardcoded "to_include" lists from the SCsub, we'll only commit the files which are ready to inclue.
2023-02-07Expose `_err_print_error` with message parameter to GDExtensionMikael Hermansson
2023-02-06Merge pull request #72740 from Sauermann/fix-event-device-idRémi Verschelde
Fix mouse/drag/touch InputEvents having no device id
2023-02-06Fix mouse/drag/touch InputEvents having no device idMarkus Sauermann
Some internally created emulated/instantiated events didn't have a device id. This PR sets for these cases a device id. Also rename `DEVICE_ID_TOUCH_MOUSE` to the more generic `DEVICE_ID_EMULATION`.
2023-02-06Merge pull request #72786 from timothyqiu/no-libcRémi Verschelde
Remove unnecessary `stdio.h` from gdextension interface
2023-02-06Merge pull request #72546 from vonagam/fix-typed-array-can-referenceYuri Sizov
GDScript: Fix can_reference check for typed arrays
2023-02-06GDScript: Fix can_reference check for typed arraysDmitrii Maganov
2023-02-06Merge pull request #72703 from lyuma/stringname_constructor_mistakeRémi Verschelde
StringName: fix returning dangling data from char constructor.
2023-02-06StringName: fix returning dangling data from char constructor.Lyuma
Fixes a copy paste mistake in the `StringName(const char *,bool)` constructor, to match the same form as the other two constrcutors. This fixes a case where this constructor can return a dangling pointer and cause use-after-free.
2023-02-06Remove unnecessary stdio.h from gdextension interfaceHaoyu Qiu