summaryrefslogtreecommitdiff
path: root/modules/gdscript
AgeCommit message (Collapse)Author
2023-01-31Merge pull request #72206 from vnen/gdscript-allow-void-return-shorthandRémi Verschelde
GDScript: Allow void functions to return calls to other void functions
2023-01-31Merge pull request #57520 from jordigcs/gd-rename-mapRémi Verschelde
Add hint for identifiers renamed from 3.x to 4.0
2023-01-31GDScript: Allow void functions to return calls to other void functionsGeorge Marques
2023-01-31Merge pull request #72444 from reduz/fix-global-class-parsingRémi Verschelde
Fix global script class parsing.
2023-01-31Fix global script class parsing.Juan Linietsky
* Broke with #72226 * Restored previous version of the code, made it even more error tolerant. * Added a warning to **not** change the code. Fixes #72226.
2023-01-31Merge pull request #69248 from vonagam/fixing-typed-arraysRémi Verschelde
GDScript: Fix typed arrays
2023-01-31GDScript: Fix issues with typed arraysDmitrii Maganov
2023-01-31Merge pull request #72212 from anvilfolk/gdtestnamesRémi Verschelde
Add option to print filenames in GDScript unit testing
2023-01-30Add option to print filenames in GDScript unit testingocean (they/them)
2023-01-30Merge pull request #72400 from vnen/gdscript-match-release-consistencyRémi Verschelde
GDScript: Fix match branches return check on release
2023-01-30GDScript: Fix match branches return check on releaseGeorge Marques
The check for existence of `return` only existed on debug builds for match branches. This could lead on an invalid error after exporting. Now this is checked on relase too, so it works the same as the editor.
2023-01-30GDScript: Fix vararg method calls with exact argumentsDmitrii Maganov
2023-01-30Merge pull request #72305 from dalexeev/gfs-fix-export-enumRémi Verschelde
GDScript: Fix `@export_enum` works only with `int`
2023-01-30GDScript: Fix `@export_enum` works only with `int`Danil Alexeev
2023-01-30Merge pull request #72175 from dalexeev/gds-fix-export-group-annotationsRémi Verschelde
GDScript: Fix broken export group annotations
2023-01-29Allow unicode identifier in GDScript syntax highlighterHaoyu Qiu
2023-01-29Merge pull request #72285 from vnen/gdscript-variable-matchRémi Verschelde
GDScript: Allow variables in match patterns
2023-01-29Merge pull request #72286 from vnen/gdscript-native-static-call-crashRémi Verschelde
GDScript: Avoid calling non-static methods on native classes
2023-01-29Merge pull request #71844 from vonagam/fix-constant-conversionsRémi Verschelde
GDScript: Fix constant conversions
2023-01-28GDScript: Avoid calling non-static methods on native classesGeorge Marques
2023-01-28GDScript: Allow variables in match patternsGeorge Marques
To restore an ability available in 3.x and reduce compatibility changes.
2023-01-29GDScript: Fix constant conversionsDmitrii Maganov
2023-01-28GDScript: Fix implicit conversions for function returnsDmitrii Maganov
2023-01-28GDScript: Fix test from #69163 after annotations changeRémi Verschelde
2023-01-28Merge pull request #69163 from vonagam/variant-safe-linesRémi Verschelde
GDScript: Fix wrong marking of some lines related to Variant as unsafe
2023-01-27GDScript: Fix broken export group annotationsDanil Alexeev
2023-01-27GDScript: Fix test for read-only state of constantsDmitrii Maganov
2023-01-26Merge pull request #71634 from dalexeev/gds-annotations-analyzerRémi Verschelde
GDScript: Allow constant expressions in annotations
2023-01-26Merge pull request #72008 from vonagam/fix-property-access-unsafe-markRémi Verschelde
GDScript: Fix marking of line with unsafe property access as unsafe
2023-01-25GDScript: Allow constant expressions in annotationsDanil Alexeev
2023-01-25Merge pull request #71120 from jordigcs/ternaryGeorge Marques
Closes https://github.com/godotengine/godot/issues/71065
2023-01-25Merge pull request #71349 from vonagam/disallow-infer-on-weakRémi Verschelde
GDScript: Disallow type inference with untyped initializer
2023-01-25GDScript: Fix marking of line with unsafe property access as unsafeDmitrii Maganov
2023-01-24Add hint for identifiers renamed since Godot 3jordi
2023-01-24Clarify error message about script-level annotationDanil Alexeev
2023-01-23Merge pull request #70948 from vnen/gdscript-ptr-method-name-in-debugGeorge Marques
2023-01-23Merge pull request #71914 from vnen/gdscript-no-continue-matchRémi Verschelde
GDScript: Remove function of `continue` for match statement
2023-01-23GDScript: Add names for disassembling function pointersGeorge Marques
When instructions use function pointers, it's not possible to retrieve their original names in the disassembly. This stores the names in vectors (in debug builds) so they can be shown.
2023-01-23Merge pull request #71676 from vnen/gdscript-unicode-identifiersRémi Verschelde
Add support for Unicode identifiers in GDScript and Expression
2023-01-22GDScript: Remove function of `continue` for match statementGeorge Marques
The keyword is confusing and rarely is used in the intended way. It is removed now in favor of a future feature (pattern guards) to avoid breaking compatibility later.
2023-01-21Add support for Unicode identifiers in GDScriptGeorge Marques
This is using an adapted version of UAX#31 to not rely on the ICU database (which isn't available in builds without TextServerAdvanced). It allows most characters used in diverse scripts but not everything.
2023-01-21Merge pull request #71687 from reduz/support-script-class-name-in-efsRémi Verschelde
Support script global resource name in EditorFileSystem
2023-01-21Support script global resource name in EditorFileSystemJuan Linietsky
* Works for binary and text files. * Makes EditorQuickOpen work with custom resources again. * Information is cached and easily accessible. Properly fixes #66179. Supersedes #66215 and supersedes #62417 **WARNING**: This required breaking backwards binary compatibility (.res and .scn files). Files saved after this PR is merged will no longer open in any earlier versions of Godot.
2023-01-20call update_exports from LSP didSave functionAdam Wardell
exports in the inspector were not properly appearing when a gdscript was saved using an external IDE this commit adds a call to GDScript::UpdateExports toward the end of GDScriptTextDocument::didSave
2023-01-20Remove references to compiled GDScript in exportGeorge Marques
This feature was removed from GDScript so it should not be present on the interface nor in the saved export presets.
2023-01-19Allow standalone ternary expressionsjordi
2023-01-18Update `@icon` definition to add a noteAdam Scott
2023-01-18Fix unnammed enum crash regressionocean (they/them)
2023-01-16Merge pull request #71279 from vonagam/fix-iterator-number-typeRémi Verschelde
GDScript: Fix typing of iterator in for loop
2023-01-16Merge pull request #67774 from aaronfranke/script-annotationsRémi Verschelde
Make script annotations be placed before `class_name` and `extends`