summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
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
2023-02-01Remove unused `has_slashes` from NodePathAaron Franke
2023-02-01More codespell fixes, do more changes from previous ignore listRémi Verschelde
2023-02-01Fix various typos with codespellRémi Verschelde
Finally do the childs -> children rename too.
2023-02-01Merge pull request #72492 from maiself/fix-binary-res-typed-arrayRémi Verschelde
Fix loading of binary resources with typed arrays
2023-02-01Merge pull request #71479 from raulsntos/virtual-return-typeRémi Verschelde
Use enum instead of int in virtual methods return type
2023-02-01Merge pull request #71322 from ↵Rémi Verschelde
EricEzaM/55856-proj-settings-initial-array-dict-shared-instance Fix Project Settings array/dicts initial value being shared instances of the current value.
2023-02-01Fix loading of binary resources with typed arraysMai Lavelle
2023-01-31Use enum instead of int in virtual methods return typeRaul Santos
2023-01-31Merge pull request #72452 from akien-mga/global_class_always_createRémi Verschelde
Always create global class list, even if empty
2023-01-31Merge pull request #64423 from RandomShaper/safe_input_synthRémi Verschelde
Warn users about unsafe usage of `InputEvent`
2023-01-31Always create global class list, even if emptyRémi Verschelde
Fixes #72451.
2023-01-31Warn users about unsafe usage of InputEventPedro J. Estébanez
2023-01-31Merge pull request #72445 from reduz/restore-script-class-cache-if-removedRémi Verschelde
Restore script class cache if removed
2023-01-31Restore script class cache if removedJuan Linietsky
I have no idea why anyone would do this, but this fixes it. Fixes #72154. Depends on #72444 being merged to function properly.
2023-01-31GDScript: Fix issues with typed arraysDmitrii Maganov
2023-01-30Refactor high quality texture importJuan Linietsky
* Only two texture import modes for low/high quality now: * S3TC/BPTC * ETC2/ASTC * Makes sense given this is the general preferred and most compatible combination in most platforms. * Removed lossy_quality from VRAM texture compression options. It was unused everywhere. * Added a new "high_quality" option to texture import. When enabled, it uses BPTC/ASTC (BC7/ASTC4x4) instead of S3TC/ETC2 (DXT1-5/ETC2,ETCA). * Changed MacOS export settings so required texture formats depend on the architecture selected. This solves the following problems: * Makes it simpler to import textures as high quality, without having to worry about the specific format used. * As the editor can now run on platforms such as web, Mac OS with Apple Silicion and Android, it should no longer be assumed that S3TC/BPTC is available by default for it.
2023-01-30Merge pull request #71989 from bruvzg/set_typed_moveRémi Verschelde
Move Array:set_typed to internal GDExtension structure and unexposed it.