Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-03-30 | GDScript: Fix false positive `REDUNDANT_AWAIT` warning | Danil Alexeev | |
(cherry picked from commit c0eeb32e38fbd4f582f7a2726e6535614e507205) | |||
2023-03-13 | Fix GDScript code style regarding colon | Danil Alexeev | |
(cherry picked from commit ea5fd3d732a85029e8372425904971ad26153ff1) | |||
2023-02-24 | GDScript: Fix range regression | Dmitrii Maganov | |
2023-02-23 | GDScript: Fix usage of enum value as range argument | Dmitrii Maganov | |
2023-02-21 | Merge pull request #73705 from anvilfolk/doublewoopsie | Rémi Verschelde | |
Added check for null objects in gdscript typed assign. | |||
2023-02-21 | Added check for null objects in gdscript typed assign. | ocean (they/them) | |
2023-02-21 | GDScript: Fix override signature check of script inheritance | George Marques | |
Avoid treating the super class as a meta type for signature check, since it is looking at the instance level for that. | |||
2023-02-20 | Merge pull request #73590 from vnen/gdscript-global-scope-enums | Rémi Verschelde | |
Make global scope enums accessible as types in GDScript | |||
2023-02-20 | Merge pull request #73489 from vonagam/type-check-node | Rémi Verschelde | |
GDScript: Rework type check | |||
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-17 | GDScript: Rework type check | Dmitrii Maganov | |
2023-02-17 | Fix inability to assign null regression | ocean (they/them) | |
Co-authored-by: Dmitry Maganov <vonagam@gmail.com> | |||
2023-02-17 | Merge pull request #72925 from vonagam/fix-enum-typed-array-error | Yuri Sizov | |
GDScript: Fix error about enum typed arrays | |||
2023-02-15 | Add return type for GDScript getters | ocean (they/them) | |
2023-02-13 | GDScript: Fix usage of ints with typed array of floats | Dmitrii Maganov | |
2023-02-09 | GDScript: Fix error about enum typed arrays | Dmitrii Maganov | |
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 #72546 from vonagam/fix-typed-array-can-reference | Yuri Sizov | |
GDScript: Fix can_reference check for typed arrays | |||
2023-02-06 | Merge pull request #72677 from dalexeev/gds-await-infer-type | Yuri Sizov | |
GDScript: Fix `await` type inference | |||
2023-02-06 | Merge pull request #72804 from vnen/gdscript-no-onready-without-node | Yuri Sizov | |
GDScript: Fix inheritance check of @onready for inner classes | |||
2023-02-06 | GDScript: Fix `await` type inference | Danil Alexeev | |
2023-02-06 | GDScript: Fix can_reference check for typed arrays | Dmitrii Maganov | |
2023-02-06 | GDScript: Fix inheritance check of @onready for inner classes | George Marques | |
2023-02-06 | GDScript: Fix recently merged test not ignoring warnings | Rémi Verschelde | |
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-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-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: Allow void functions to return calls to other void functions | George Marques | |
2023-01-31 | GDScript: Fix issues with typed arrays | Dmitrii Maganov | |
2023-01-30 | GDScript: Fix vararg method calls with exact arguments | Dmitrii Maganov | |
2023-01-29 | Merge pull request #71844 from vonagam/fix-constant-conversions | Rémi Verschelde | |
GDScript: Fix constant conversions | |||
2023-01-29 | GDScript: Fix constant conversions | Dmitrii Maganov | |
2023-01-28 | GDScript: Fix implicit conversions for function returns | Dmitrii Maganov | |
2023-01-28 | GDScript: Fix test from #69163 after annotations change | Rémi Verschelde | |
2023-01-28 | Merge pull request #69163 from vonagam/variant-safe-lines | Rémi Verschelde | |
GDScript: Fix wrong marking of some lines related to Variant as unsafe | |||
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-18 | Fix unnammed enum crash regression | ocean (they/them) | |
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 wrong marking of some lines related to Variant as unsafe | 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-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> |