summaryrefslogtreecommitdiff
path: root/modules/gdscript
AgeCommit message (Collapse)Author
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 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.
2023-01-09Merge pull request #71028 from ↵Rémi Verschelde
adamscott/make-gdscript-clear-less-prone-to-heap-use-after-free Resolve `GDScript::clear()` `heap-use-after-free` ASAN errors
2023-01-08Fix parse error using Vector{2,3,4}.INFAdam Scott
2023-01-08GDScript: Fix multiline and trailing comma for assertDmitrii Maganov
2023-01-08GDScript: Begin making constants deep, not shallow or flatDmitrii Maganov
2023-01-07Force double quotes for NodePaths with apostrophesjordi
2023-01-07Resolve `GDScript::clear()` `heap-use-after-free` ASAN errorsAdam Scott
2023-01-06Merge pull request #68429 from KoBeWi/PropertySettingsRémi Verschelde
Add PropertyInfo overload for GLOBAL_DEF
2023-01-06GDScript: Fix typing of lambda functionsDmitrii Maganov
2023-01-06GDScript: Fix missing conversion for default argument valuesDmitrii Maganov
2023-01-06GDScript: Fix array as default value for parameterDmitrii Maganov
2023-01-06Unify typing of variables, constants and parameters in GDScriptDmitrii Maganov
2023-01-05One Copyright Update to rule them allRémi Verschelde
As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
2023-01-05Merge pull request #70838 from reduz/gdscript-vm-optimizationRémi Verschelde
Optimizations for GDScript VM
2023-01-04Merge pull request #70810 from adamscott/cache-gdscript-even-when-errorRémi Verschelde
Cache script when reloading even if there's errors
2023-01-03Merge pull request #70859 from vonagam/fix-preload-native-typeRémi Verschelde
GDScript: Fix wrong native type for preloaded class
2023-01-03Merge pull request #70875 from MewPurPur/stop-highlighting-invalid-node-refsRémi Verschelde
Stop NodeRef highlighting if you start with a number
2023-01-03Stop highlighting node refs if they are invalid identifiersVolTer
2023-01-03Merge pull request #70702 from vnen/gdscript-error-on-assign-voidRémi Verschelde
GDScript: Error when assigning return value of void function
2023-01-03Merge pull request #70656 from vonagam/fix-void-returnsRémi Verschelde
GDScript: Disallow return with value in void functions
2023-01-03Merge pull request #70503 from rune-scape/inner-class-docsRémi Verschelde
Inner classes get their docs back
2023-01-03GDScript: Fix wrong native type for preloaded classDmitrii Maganov