Commit Graph

8592 Commits

Author SHA1 Message Date
Rémi Verschelde 94d7a54fea Merge pull request #107402 from mihe/lsp-uid-bug
Stop `FileAccess::fix_path` from emitting errors for invalid UIDs
2025-06-12 23:32:51 +02:00
Rémi Verschelde 6eb6e3e6e0 Merge pull request #107457 from akien-mga/improve-error-message-call-single-argument
Improve error messages for method calls expecting only 1 argument
2025-06-12 22:49:36 +02:00
Rémi Verschelde e90fd0b3af Merge pull request #107444 from Ivorforce/smoke-test-span
Add a smoke test for non-empty `nullptr` `Span`
2025-06-12 22:49:12 +02:00
Rémi Verschelde ae484828bb Merge pull request #107408 from Ivorforce/node-path-string-explicit
Make conversions from `NodePath` to `String` explicit.
2025-06-12 22:49:03 +02:00
Rémi Verschelde 1a64b6b5b6 Merge pull request #106913 from Ivorforce/string-resize-uninitialized
Rename `String::resize` to `resize_uninitialized`
2025-06-12 22:48:45 +02:00
Mikael Hermansson d160d71796 Stop FileAccess::fix_path from emitting errors for invalid UIDs 2025-06-12 17:21:44 +02:00
OsakiTsukiko 805ad87340 Add PackedByteArray conversion to PackedVector2Array, PackedVector3Array, PackedVector4Array and PackedColorArray 2025-06-12 17:05:57 +02:00
Rémi Verschelde d1083c9722 Improve error messages for method calls expecting only 1 argument 2025-06-12 17:02:59 +02:00
Lukas Tenbrink 2d0ff9774d Add a smoke test to Span in debug builds to recover from non-empty nullptr Span. 2025-06-12 12:19:21 +02:00
Rémi Verschelde e9f5bd8e51 Merge pull request #107355 from beicause/fix-resource-script-property-save
Fix `script` property of custom resources inherited from scripts are not saved
2025-06-12 11:56:46 +02:00
Rémi Verschelde d9cd011e2f Merge pull request #107406 from Ivorforce/ip-to-string-explicit
Core: Remove implicit conversions from `IPAddress` to `String`, to avoid accidental conversions
2025-06-12 01:15:53 +02:00
Danil Alexeev f864d0ce11 GDScript: Re-add ord() function 2025-06-11 21:01:13 +03:00
Lukas Tenbrink b13a0e1834 Rename String::resize to resize_uninitialized, to better communicate to callers that new characters must be initialized. 2025-06-11 18:13:02 +02:00
Lukas Tenbrink e2931a5c19 Make conversions from NodePath to String explicit. 2025-06-11 16:50:27 +02:00
Lukas Tenbrink 1498eb327f Make IPAddress to String conversion explicit. 2025-06-11 15:44:16 +02:00
Thaddeus Crews cb6c7c63de Merge pull request #107379 from Ivorforce/callable-signal-explicit-string
Core: Remove implicit conversions from `Callable` and `Signal` to `String`, to avoid accidental conversions
2025-06-10 19:22:41 -05:00
Lukas Tenbrink d2f9d31270 Make more types (Callable, Signal) conversion to String explicit. 2025-06-10 23:55:35 +02:00
LuoZhihao 784823ada1 Fix script property of custom resources inherited from scripts are not saved 2025-06-10 23:03:13 +08:00
smix8 877da269d8 Change navigation region and link updates to an async process
Changes navigation region and link updates to an async process.
2025-06-10 14:18:47 +02:00
Rémi Verschelde b6668cf37c Merge pull request #107309 from akien-mga/scons-encryption-key-info-message
SCons: Identify build clearly when using AES256 encryption key
2025-06-10 12:30:41 +02:00
Rémi Verschelde e9775a0c57 Merge pull request #106030 from raulsntos/gdextension/main-loop-callbacks
[GDExtension] Add function to register main loop callbacks
2025-06-10 12:29:52 +02:00
Rémi Verschelde 40b251ba8e Merge pull request #103899 from Ivorforce/idiomatic-template-vargs
Use idiomatic templating vargs in a few places to reduce code.
2025-06-10 12:29:40 +02:00
Raul Santos 73488f5afd [GDExtension] Add function to register main loop callbacks 2025-06-10 04:55:20 +02:00
Thaddeus Crews 0f05e91889 Merge pull request #82808 from dalexeev/gds-vararg
GDScript: Add support for variadic functions
2025-06-09 17:08:48 -05:00
Thaddeus Crews d3956ea0f2 Merge pull request #103979 from ydeltastar/evaluator-global-classes
Fix global classes can't be used in the Evaluator
2025-06-09 17:08:44 -05:00
Thaddeus Crews 8ecc6da249 Merge pull request #100899 from dalexeev/core-unify-display-of-error-type-prefixes
Core: Unify display of error type prefixes
2025-06-09 17:08:41 -05:00
Danil Alexeev ee121ef80e GDScript: Add support for variadic functions 2025-06-09 21:53:05 +03:00
Thaddeus Crews 86415f1732 Merge pull request #99150 from dalexeev/gds-fix-callable-call-errror-text
GDScript: Fix `Callable` call error text
2025-06-09 12:31:39 -05:00
Thaddeus Crews c10c656ea7 Merge pull request #99133 from dsnopek/gdextension-reloadable-when-not-createable
GDExtension: Check if class without recreate callback is creatable, before marking whole extension as unreloadable
2025-06-09 12:31:36 -05:00
Thaddeus Crews 7d5ecc2c6f Merge pull request #107295 from Ivorforce/explicit-math-to-string
Remove implicit conversions from math types to `String`, to avoid accidental conversions
2025-06-09 12:31:30 -05:00
Thaddeus Crews 01ef1c0eae Merge pull request #105231 from Ivorforce/ptr-to-arg-nomacro
Convert `PtrToArg` macros to regular C++ structs.
2025-06-09 12:31:25 -05:00
Danil Alexeev 24494d840e Core: Unify display of error type prefixes 2025-06-09 20:18:51 +03:00
ydeltastar a5181d75f4 Fix global classes can't be used in the Evaluator 2025-06-09 13:47:17 -03:00
David Snopek e4aaf9fbc6 GDExtension: Check if class without recreate callback is creatable, before marking whole extension as unreloadable 2025-06-09 10:34:57 -05:00
Rémi Verschelde 7aa99599d4 SCons: Identify build clearly when using AES256 encryption key
It seems to be a common pitfall that users try to build custom templates with a key
but somehow it doesn't get picked up as they expect it to.
2025-06-09 10:47:24 +02:00
Lukas Tenbrink ed836df150 Make conversions from math types to String explicit, to avoid accidental conversions. 2025-06-09 01:58:18 +02:00
Rémi Verschelde 9e02194297 Merge pull request #107289 from dementive/add-missing-color-hash
Add missing Color hash function
2025-06-09 00:46:05 +02:00
Rémi Verschelde d16dd79761 Merge pull request #107222 from timothyqiu/mixed-space-tab
Fix mixed use of spaces and tabs for indentation
2025-06-09 00:45:06 +02:00
Rémi Verschelde f759f52d8f Merge pull request #106902 from lyuma/config_file_uids
Implement UID references in VariantParser
2025-06-09 00:44:32 +02:00
Rémi Verschelde d06170b063 Merge pull request #101563 from MajorMcDoom/basis_scaled_local
Optimize and expose `Basis::scaled_local` to script
2025-06-09 00:43:55 +02:00
dementive d2814ebbf3 Add missing Color hash function 2025-06-08 14:49:50 -04:00
Lyuma f948ab5366 Implement uid Resource references in VariantWriter
VariantWriter now writes the uid and the path into Resource() references.
This change will affect ConfigFile, used for .import or project settings.
2025-06-08 06:11:35 -07:00
Lukas Tenbrink df7dab4946 Use idiomatic templating vargs in a few places to reduce code. 2025-06-08 12:24:07 +02:00
Lukas Tenbrink 78ae5919af Convert PtrToArg macros to regular C++ structs. 2025-06-07 22:17:06 +02:00
Rémi Verschelde 66e041d52f Merge pull request #107114 from tehKaiN/fix-async-resource-loading-progress-on-empty-original-path
Fix async resource loading progress on empty `p_original_path`
2025-06-07 00:43:49 +02:00
Haoyu Qiu fa7efd94b3 Fix mixed use of spaces and tabs for indentation 2025-06-07 00:30:26 +08:00
Zi Ye b957cf73ef Optimized and exposed Basis::scaled_local. 2025-06-05 13:06:46 -05:00
Rémi Verschelde d59994688c Merge pull request #107151 from retrotails/fix_inf
Revert some instances of `Math::INF` back to 1e20
2025-06-05 17:25:02 +02:00
Rémi Verschelde b6f04cbe10 Merge pull request #107130 from timothyqiu/pure-virtual
Doc: Add "required" qualifier to methods
2025-06-05 17:24:58 +02:00
Rémi Verschelde 2cf16fbd52 Merge pull request #107040 from bruvzg/wtp_ggrid
Add `WorkerThreadPool.get_caller_group_id`
2025-06-05 17:24:46 +02:00