summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
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-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-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.
2023-01-30Merge pull request #71995 from Faless/net/4.x_tls_verifyRémi Verschelde
[NET] Refactor TLS configuration.
2023-01-30Move Array:set_typed to internal GDExtension structure and unexposed it.bruvzg
2023-01-30Sync C# Array with CoreRaul Santos
- Add `AddRange` method. - Add `Fill` method. - Add `Max` and `Min` methods. - Add `PickRandom` method. - Add `Reverse` method. - Add `RecursiveEqual` method. - Add `Sort` method. - Add `Slice` and `GetSliceRange` methods. - Add `IndexOf` overload that takes an index parameter. - Add `LastIndexOf` method. - Add `BinarySearch` method. - Add/update documentation.
2023-01-29Merge pull request #72287 from aaronfranke/tr2d-interpRémi Verschelde
Add support for interpolating skewed Transform2Ds
2023-01-28Fix `Resource::duplicate()` missing packed arraysAdam Scott
2023-01-28Add support for interpolating skewed transformsAaron Franke
2023-01-28[Net] Remove StreamPeerTLS.blocking_handshake option.Fabio Alessandrelli
Which was unused internally, and can be replaced by: ``` while tls.get_status() == tls.STATUS_HANDSHAKING: tls.poll() ```
2023-01-28[NET] Refactor TLS configuration.Fabio Alessandrelli
Use a TLSOptions configuration object which is created via static functions. - "TLSOptions.client": uses the standard CA and common name verification. - "TLSOptions.client_unsafe": uses optional CA verification (i.e. if specified) - "TLSOptions.server": is the standard server configuration (chain + key) This will allow us to expand the TLS configuration options to include e.g. mutual authentication without bloating the classes that uses StreamPeerTLS and PacketPeerDTLS as underlying peers.
2023-01-27Fix code style and consistency of RWLock and SemaphorePedro J. Estébanez
2023-01-27Merge pull request #72170 from Chaosus/astar_fixYuri Rubinsky
2023-01-27Merge pull request #72111 from raulsntos/method-info-metadataRémi Verschelde
Add `GodotTypeInfo::Metadata` to `MethodInfo`
2023-01-27Merge pull request #72168 from RandomShaper/sensible_lock_returnRémi Verschelde
Booleanize various sync primitives' wait & locking methods
2023-01-27Enchance the performance of AStar by using a LocalVector(2)Yuri Rubinsky
2023-01-27Merge pull request #62499 from fire/gltf-binary-img-compressionRémi Verschelde
Handle gltf binary images
2023-01-27Booleanize various sync primitives' wait & locking methodsPedro J. Estébanez
2023-01-27Handle gltf binaryK. S. Ernest (iFire) Lee
[ Ignore and Warn | Extract Textures (default) | Optimize Loading Embedded as Basisu ] Enable compressed mip maps from Basis Universal for faster compressions. Increase the quality of Basis to avoid corruption. To keep compatibility use the first mip of the previous internal Godot format. Because texture names may have invalid filename characters, adds String::validate_filename to sanitize filenames for import pipeline use.
2023-01-27Merge pull request #67783 from EricEzaM/67715-input-event-action-as-textRémi Verschelde
Make InputEventAction as_text() return the text of the first valid event for the action.