summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
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-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
2023-02-04Expose and document ProjectSettings.get_global_class_list()bitsawer
2023-02-04Merge pull request #71786 from raulsntos/dotnet/arrayRémi Verschelde
Sync C# Array with Core
2023-02-03Avoid losing references to objects in the native-scripting boundaryPedro J. Estébanez
2023-02-04Fix scaled_orthogonal() & subgizmo global scalingSilc Renew
2023-02-03Remove unused has_global_classes()kobewi
2023-02-02GDScript: Improve usability of setter chainsGeorge Marques
- Consider PackedArrays non-shared since they are copied on C++/script boundaries. - Add error messages in the analyzer when assigning to read-only properties. - Add specific error message at runtime when assignment fails because the property is read-only.
2023-02-02Fix String.split() with empty string and delimeterVolTer