summaryrefslogtreecommitdiff
path: root/modules/gdscript
AgeCommit message (Collapse)Author
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-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`
2023-01-16Merge pull request #71434 from ↵Rémi Verschelde
adamscott/fix-reduce-identifier-from-base-class-script-retrieval Fix cyclic reference errors while reducing identifiers
2023-01-16Merge pull request #69970 from poohcom1/fix/autocomplete-custom-classGeorge Marques
Fixes https://github.com/godotengine/godot/issues/69941
2023-01-15Fix cyclic reference errors while reducing identifiers.Adam Scott
Co-authored-by: Dmitrii Maganov <vonagam@gmail.com>
2023-01-16Add identifier completion for custom classes.poohcom1
Previously, custom class would only auto-complete for types in GDScript. This applies it to identifiers as well.
2023-01-14Update all outdated online documentation linksYuri Sizov
2023-01-14Fix GDScript script templates to use a PascalCase style for `_CLASS_`Yuri Rubinsky
2023-01-13Merge pull request #71329 from vnen/gdscript-fix-enum-value-resolutionRémi Verschelde
GDScript: Fix infinite recursion in resolution of enum values
2023-01-13Merge pull request #70540 from vaartis/multiline-arrays-dictionariesRémi Verschelde
Implement export_multiline support for Array[String] and Dictionary
2023-01-13GDScript: Fix typing of iterator in for loopDmitrii Maganov
2023-01-13GDScript: Fix infinite recursion in resolution of enum valuesGeorge Marques
2023-01-12Merge pull request #70733 from vonagam/fix-assigning-untypedRémi Verschelde
GDScript: Fix some issues with assignments that involve untyped things
2023-01-12Merge pull request #71197 from adamscott/add-default-virtual-path-gdscriptRémi Verschelde
Add default virtual `gdscript://` path to `GDScript` instances
2023-01-12Merge pull request #70700 from vonagam/fix-abstract-extendsRémi Verschelde
GDScript: Fix extending abstract classes, forbid their construction
2023-01-12GDScript: Fix extending abstract classes, forbid their constructionDmitrii Maganov
2023-01-12Add default virtual `gdscript://` path to `GDScript` instancesAdam Scott
2023-01-12GDScript: Fix some issues with assignments that involve untyped thingsDmitrii Maganov
2023-01-12Merge pull request #70899 from adamscott/fix-vector-infRémi Verschelde
Fix parse error using Vector{2,3,4}.INF
2023-01-12GDScript: Fix getting type from PropertyInfo for Variant argumentsDmitrii Maganov
2023-01-12Merge pull request #70987 from vonagam/fix-parameter-conversion-assignGeorge Marques
2023-01-12Merge pull request #70713 from vonagam/fix-unnamed-enum-outer-conflictsGeorge Marques
2023-01-12GDScript: Fix small inconsistencies with resolve_datatypeDmitrii Maganov
2023-01-11GDScript: Fix temp values being written without proper clearGeorge Marques
Temporary values in the stack were not being properly cleared when the return value of calls were discarded, which can cause memory issues especially for reference types like PackedByteArray.
2023-01-11Merge pull request #70595 from adamscott/add-gdscript-editorconfigRémi Verschelde
Add GDScript `.editorconfig` rules
2023-01-10GDScript: Fix use of conversion assign for variant valuesGeorge Marques
2023-01-10Add GDScript `.editorconfig` rulesAdam Scott
- Uniformize `.gd` unit test files indentation to tabs (where needed)
2023-01-10Merge pull request #71140 from vonagam/fix-const-index-subscript-typeRémi Verschelde
GDScript: Fix type for index subscript on constant
2023-01-10GDScript: Fix type for index subscript on constantDmitrii Maganov
2023-01-09Fix GDScript base and outer classes, signals and functions lookup orderAdam Scott
- Add outer class lookup test - Add signal lookup test Co-authored-by: Dmitrii Maganov <vonagam@gmail.com>
2023-01-09Merge pull request #71051 from vonagam/consts-are-deep-startRémi Verschelde
GDScript: Begin making constants deep, not shallow or flat
2023-01-09Merge pull request #69590 from anvilfolk/enumsRémi Verschelde
GDScript enum fixes & refactor
2023-01-09Assorted enum and native type fixesocean (they/them)
2023-01-09Merge pull request #71107 from vnen/gdscript-fix-nil-address-assignRémi Verschelde
GDScript: Don't use the NIL address to hold return value of functions
2023-01-09Merge pull request #70655 from vonagam/fix-assert-multilineRémi Verschelde
GDScript: Fix multiline and trailing comma for assert
2023-01-09GDScript: Allow using await on calls to void functionsGeorge Marques
2023-01-09GDScript: Don't use the NIL address to hold return value of functionsGeorge Marques
This prevents that the NIL address is filled with another value, which causes problems for some instructions that read from NIL.