Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-04-24 | GDScript: Add missing member type check when resolving `extends` | Danil Alexeev | |
(cherry picked from commit 66279b98b6c3418232003cc8d6c2e52af7a62ac4) | |||
2023-03-13 | Fix GDScript code style regarding colon | Danil Alexeev | |
(cherry picked from commit ea5fd3d732a85029e8372425904971ad26153ff1) | |||
2023-02-21 | GDScript: Fix error message for unfound type | Dmitrii Maganov | |
2023-02-19 | Make global scope enums accessible as types in GDScript | George Marques | |
Add functions to CoreConstant so enums can be properly deduced. Also add the enums in release builds to make consistent with ClassDB enums and avoid differences in script compilation between debug and release. | |||
2023-02-16 | Fix crash by freed object assign to typed variable | ocean (they/them) | |
2023-02-07 | Revert "Remove script class checks when getting function signature" | Rémi Verschelde | |
This reverts commit 0fef203b1f39c3373f9f25b8e75e75f6b03f7c88. This introduced some other issues, as discussed in #72144. | |||
2023-02-07 | Remove script class checks when getting function signature | Adam Scott | |
2023-02-06 | Merge pull request #72677 from dalexeev/gds-await-infer-type | Yuri Sizov | |
GDScript: Fix `await` type inference | |||
2023-02-06 | GDScript: Fix `await` type inference | Danil Alexeev | |
2023-02-06 | GDScript: Fix inheritance check of @onready for inner classes | George Marques | |
2023-02-06 | Merge pull request #72512 from vonagam/fix-ternary-type-source | Yuri Sizov | |
GDScript: Fix type certainty for result of ternary operator | |||
2023-02-06 | GDScript: Don't allow @onready without inheriting Node | George Marques | |
2023-02-05 | Merge pull request #72608 from vnen/gdscript-warning-default-error | Yuri Sizov | |
GDScript: Add warnings that are set to error by default (take 2) | |||
2023-02-02 | GDScript: Add warnings that are set to error by default | George Marques | |
- Adds a list of default levels for all warning so they can be set individually. - Add warnings set by default to error for: - Using `get_node()` without `@onready`. - Using `@onready` together with `@export`. - Inferring a static type with a Variant value. - Overriding a native engine method. - Adjust how annotations to ignore warnings are treated so they also apply to method parameters. - Clean up a bit how ignored warnings are set. There were two sets but only one was actually being used. - Set all warnings to the `WARN` level for tests, so they they can be properly tested. - Fix enum types in native methods signatures being set to `int`. - Fix native enums being treated as Dictionary by mistake. - Make name of native enum types use the class they are defined in, not the direct super class of the script. This ensures they are always equal even when coming from different sources. - Fix error for signature mismatch that was only showing the first default argument as having a default. Now it shows for all. | |||
2023-02-02 | GDScript: Improve usability of setter chains | George 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-01 | GDScript: Fix type certainty for result of ternary operator | Dmitrii Maganov | |
2023-02-01 | Revert "GDScript: Add warnings that are set to error by default" | Rémi Verschelde | |
This reverts commit a166833bfa23a21a7bff196a85a20b014e7c1396. This caused multiple regressions. Needs to be redone with more testing before merge. Fixes #72501. | |||
2023-02-01 | GDScript: Add warnings that are set to error by default | George Marques | |
- Adds a list of default levels for all warning so they can be set individually. - Add warnings set by default to error for: - Using `get_node()` without `@onready`. - Using `@onready` together with `@export`. - Inferring a static type with a Variant value. - Overriding a native engine method. - Adjust how annotations to ignore warnings are treated so they also apply to method parameters. - Clean up a bit how ignored warnings are set. There were two sets but only one was actually being used. - Set all warnings to the `WARN` level for tests, so they they can be properly tested. - Fix enum types in native methods signatures being set to `int`. - Fix native enums being treated as Dictionary by mistake. - Make name of native enum types use the class they are defined in, not the direct super class of the script. This ensures they are always equal even when coming from different sources. - Fix error for signature mismatch that was only showing the first default argument as having a default. Now it shows for all. | |||
2023-01-31 | GDScript: Fix issues with typed arrays | Dmitrii Maganov | |
2023-01-29 | Merge pull request #72285 from vnen/gdscript-variable-match | Rémi Verschelde | |
GDScript: Allow variables in match patterns | |||
2023-01-28 | GDScript: Allow variables in match patterns | George Marques | |
To restore an ability available in 3.x and reduce compatibility changes. | |||
2023-01-29 | GDScript: Fix constant conversions | Dmitrii Maganov | |
2023-01-25 | GDScript: Allow constant expressions in annotations | Danil Alexeev | |
2023-01-25 | Merge pull request #71349 from vonagam/disallow-infer-on-weak | Rémi Verschelde | |
GDScript: Disallow type inference with untyped initializer | |||
2023-01-13 | GDScript: Disallow type inference with untyped initializer | Dmitrii Maganov | |
2023-01-13 | GDScript: Fix typing of iterator in for loop | Dmitrii Maganov | |
2023-01-12 | Merge pull request #70733 from vonagam/fix-assigning-untyped | Rémi Verschelde | |
GDScript: Fix some issues with assignments that involve untyped things | |||
2023-01-12 | GDScript: Fix extending abstract classes, forbid their construction | Dmitrii Maganov | |
2023-01-12 | GDScript: Fix some issues with assignments that involve untyped things | Dmitrii Maganov | |
2023-01-12 | GDScript: Fix getting type from PropertyInfo for Variant arguments | Dmitrii Maganov | |
2023-01-10 | Add GDScript `.editorconfig` rules | Adam Scott | |
- Uniformize `.gd` unit test files indentation to tabs (where needed) | |||
2023-01-10 | Merge pull request #71140 from vonagam/fix-const-index-subscript-type | Rémi Verschelde | |
GDScript: Fix type for index subscript on constant | |||
2023-01-10 | GDScript: Fix type for index subscript on constant | Dmitrii Maganov | |
2023-01-09 | Fix GDScript base and outer classes, signals and functions lookup order | Adam Scott | |
- Add outer class lookup test - Add signal lookup test Co-authored-by: Dmitrii Maganov <vonagam@gmail.com> | |||
2023-01-09 | Merge pull request #71051 from vonagam/consts-are-deep-start | Rémi Verschelde | |
GDScript: Begin making constants deep, not shallow or flat | |||
2023-01-09 | Assorted enum and native type fixes | ocean (they/them) | |
2023-01-08 | GDScript: Begin making constants deep, not shallow or flat | Dmitrii Maganov | |
2023-01-06 | GDScript: Fix typing of lambda functions | Dmitrii Maganov | |
2023-01-06 | Unify typing of variables, constants and parameters in GDScript | Dmitrii Maganov | |
2023-01-03 | Merge pull request #70702 from vnen/gdscript-error-on-assign-void | Rémi Verschelde | |
GDScript: Error when assigning return value of void function | |||
2023-01-03 | Merge pull request #70656 from vonagam/fix-void-returns | Rémi Verschelde | |
GDScript: Disallow return with value in void functions | |||
2022-12-30 | GDScript: Make using return of void function an error | George Marques | |
Remove the `VOID_ASSIGNMENT` warning since those cases will be errors now. | |||
2022-12-29 | GDScript: Disallow return with value in void functions | Dmitrii Maganov | |
2022-12-27 | GDScript: Fix return type of constructor call for extending class | Dmitrii Maganov | |
2022-12-21 | Add MethodInfo to signal datatype | ocean (they/them) | |
2022-12-17 | Fix outer class lookup | Adam Scott | |
2022-12-14 | GDScript: Allow out of order member resolution | rune-scape | |
2022-12-05 | Unify String and StringName | rune-scape | |
2022-12-01 | Improve parent signature error | kobewi | |
2022-11-17 | Fix ability to overload "script" variable | ocean (they/them) | |