Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | | | GDScript: Fix warning ignoring for member variables | Danil Alexeev | 2023-05-12 | 2 | -0/+19 | |
| | | | | | | ||||||
* | | | | | | Merge pull request #76412 from dalexeev/gds-reorganize-warnings | Rémi Verschelde | 2023-04-28 | 19 | -34/+34 | |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | GDScript: Reorganize and unify warnings | |||||
| * | | | | | | GDScript: Reorganize and unify warnings | Danil Alexeev | 2023-04-28 | 19 | -34/+34 | |
| | | | | | | | ||||||
* | | | | | | | Merge pull request #75014 from vonagam/assert-literal-false | Rémi Verschelde | 2023-04-28 | 2 | -0/+8 | |
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | | GDScript: Allow usage of literal false in assert without a warning | |||||
| * | | | | | | GDScript: Allow usage of literal false in assert without a warning | Dmitrii Maganov | 2023-03-17 | 2 | -0/+8 | |
| | |_|_|/ / | |/| | | | | ||||||
* | | | | | | Add support for static variables in GDScript | George Marques | 2023-04-27 | 17 | -8/+155 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Which allows editable data associated with a particular class instead of the instance. Scripts with static variables are kept in memory indefinitely unless the `@static_unload` annotation is used or the `static_unload()` method is called on the GDScript. If the custom function `_static_init()` exists it will be called when the class is loaded, after the static variables are set. | |||||
* | | | | | | Merge pull request #76483 from vnen/gdscript-dont-fail-returning-freed-object | Rémi Verschelde | 2023-04-27 | 2 | -0/+17 | |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | GDScript: Don't fail when freed object is return | |||||
| * | | | | | | GDScript: Don't fail when freed object is return | George Marques | 2023-04-26 | 2 | -0/+17 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is check is a bit too eager. The user should be able to handle the return value even if it's a freed object. | |||||
* | | | | | | | GDScript: Use default path in test generator if not provided | George Marques | 2023-04-26 | 1 | -5/+5 | |
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | Since it's almost always used with the same path, assume it is running from the Godot source root. | |||||
* | | | | | | Merge pull request #75885 from AThousandShips/compound_fix | Rémi Verschelde | 2023-04-25 | 2 | -0/+37 | |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | [GDScript] Fix incorrect compound assignment | |||||
| * | | | | | | [GDScript] Fix incorrect compound assignment | Ninni Pipping | 2023-04-14 | 2 | -0/+37 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reverts in-place compound assignments Added test to ensure correctness | |||||
* | | | | | | | Merge pull request #75605 from anvilfolk/type-base | Rémi Verschelde | 2023-04-24 | 2 | -0/+8 | |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Make GDScript type not found errors more informative. | |||||
| * | | | | | | | Make type not found errors more informative. | ocean (they/them) | 2023-04-02 | 2 | -0/+8 | |
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This PR removes a check for whether a datatype is a meta type when generating a datatype's to_string() result. This means that error messages that fail to find the type will now print their class names, which is much more useful when trying to identify errors. | |||||
* | | | | | | | GDScript: Add some checks for `@tool` and `@icon` | Danil Alexeev | 2023-04-20 | 4 | -0/+14 | |
| | | | | | | | ||||||
* | | | | | | | Merge pull request #72979 from dalexeev/gds-annotation-parsing | Yuri Sizov | 2023-04-17 | 4 | -0/+67 | |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | GDScript: Fix and improve annotation parsing | |||||
| * | | | | | | | GDScript: Fix and improve annotation parsing | Danil Alexeev | 2023-04-14 | 4 | -0/+67 | |
| | | | | | | | | ||||||
* | | | | | | | | Merge pull request #62830 from ajreckof/access-identifier-keywords | Yuri Sizov | 2023-04-17 | 2 | -0/+37 | |
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | | fix access to identifiers that are reserved keywords | |||||
| * | | | | | | | fix access to identifiers that are reserved keywords | ajreckof | 2023-04-14 | 2 | -0/+37 | |
| |/ / / / / / | ||||||
* | / / / / / | GDScript: Add missing member type check when resolving `extends` | Danil Alexeev | 2023-04-10 | 6 | -0/+36 | |
| |/ / / / / |/| | | | | | ||||||
* | | | | | | Fix mistakes in documentation and GDScript errors | VolTer | 2023-04-10 | 1 | -1/+1 | |
|/ / / / / | ||||||
* | | | | | Merge pull request #74949 from dalexeev/gds-fix-await-warning | Yuri Sizov | 2023-03-20 | 4 | -2/+92 | |
|\ \ \ \ \ | | | | | | | | | | | | | GDScript: Fix false positive `REDUNDANT_AWAIT` warning | |||||
| * | | | | | GDScript: Fix false positive `REDUNDANT_AWAIT` warning | Danil Alexeev | 2023-03-16 | 4 | -2/+92 | |
| |/ / / / | ||||||
* | | | | | Merge pull request #74844 from vonagam/change-class-extends-parsing | Yuri Sizov | 2023-03-20 | 4 | -0/+17 | |
|\ \ \ \ \ | | | | | | | | | | | | | GDScript: Change parser representation of class extends | |||||
| * | | | | | GDScript: Change parser representation of class extends | Dmitrii Maganov | 2023-03-13 | 4 | -0/+17 | |
| |/ / / / | ||||||
* / / / / | GDScript: Fix missing warning for shadowing of built-in types | Dmitrii Maganov | 2023-03-13 | 2 | -0/+38 | |
|/ / / / | ||||||
* | | | | Fix GDScript code style regarding colon | Danil Alexeev | 2023-03-05 | 20 | -46/+48 | |
| | | | | ||||||
* | | | | Minor typo and docs URL fixes | Rémi Verschelde | 2023-02-28 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | Merge pull request #73915 from vonagam/fix-conversions-from-native-member | Rémi Verschelde | 2023-02-26 | 2 | -0/+13 | |
|\ \ \ \ | | | | | | | | | | | | | | | | GDScript: Fix conversions from native members accessed by identifier | |||||
| * | | | | GDScript: Fix conversions from native members accessed by identifier | Dmitrii Maganov | 2023-02-25 | 2 | -0/+13 | |
| | | | | | ||||||
* | | | | | Merge pull request #73899 from vnen/gdscript-init-defaults-beforehand | Rémi Verschelde | 2023-02-26 | 2 | -0/+22 | |
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | GDScript: Initialize all defaults beforehand in implicit constructor | |||||
| * | | | | | GDScript: Initialize all defaults beforehand in implicit constructor | George Marques | 2023-02-24 | 2 | -0/+22 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set all the default values for typed variables before actually trying to initialize them, including `@onready` ones. This ensures that if validated calls are being used there will be a value of the correct type, even if the resolution is done out of order or deferred because of `@onready`. | |||||
* | | | | | | Revert "GDScript: Fix groups and categories been seen as members" | George Marques | 2023-02-25 | 2 | -14/+0 | |
| |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 6f2a8434c675b3df2aceca4e5200aaf799eeb2bd. The commit introduces a bug where it creates spurious entries for member information. | |||||
* | | | | | GDScript: Don't use validated call for vararg methods | George Marques | 2023-02-24 | 1 | -1/+1 | |
|/ / / / | | | | | | | | | | | | | | | | | Since they may have runtime type validation, we cannot use the validated call. | |||||
* | | | | Fixup GDScript test using non-deterministic ids | Rémi Verschelde | 2023-02-24 | 2 | -4/+6 | |
| | | | | | | | | | | | | | | | | Follow-up to #73870. | |||||
* | | | | Merge pull request #73870 from vnen/gdscript-dont-reference-group-properties | Rémi Verschelde | 2023-02-24 | 2 | -0/+12 | |
|\ \ \ \ | | | | | | | | | | | | | | | | GDScript: Fix groups and categories been seen as members | |||||
| * | | | | GDScript: Fix groups and categories been seen as members | George Marques | 2023-02-24 | 2 | -0/+12 | |
| | | | | | ||||||
* | | | | | GDScript: Fix range regression | Dmitrii Maganov | 2023-02-24 | 2 | -0/+9 | |
|/ / / / | ||||||
* | | | | Merge pull request #73798 from vonagam/fix-bad-continue-in-lambda | Rémi Verschelde | 2023-02-23 | 4 | -0/+22 | |
|\ \ \ \ | | | | | | | | | | | | | | | | GDScript: Fix parsing unexpected break/continue in lambda | |||||
| * | | | | GDScript: Fix parsing unexpected break/continue in lambda | Dmitrii Maganov | 2023-02-23 | 4 | -0/+22 | |
| | | | | | ||||||
* | | | | | GDScript: Fix usage of enum value as range argument | Dmitrii Maganov | 2023-02-23 | 2 | -0/+11 | |
|/ / / / | ||||||
* | | | | Merge pull request #73709 from vonagam/fix-error-message-unfound-type | Rémi Verschelde | 2023-02-21 | 2 | -0/+5 | |
|\ \ \ \ | | | | | | | | | | | | | | | | GDScript: Fix error message for unfound type | |||||
| * | | | | GDScript: Fix error message for unfound type | Dmitrii Maganov | 2023-02-21 | 2 | -0/+5 | |
| | | | | | ||||||
* | | | | | Merge pull request #73705 from anvilfolk/doublewoopsie | Rémi Verschelde | 2023-02-21 | 2 | -0/+25 | |
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | Added check for null objects in gdscript typed assign. | |||||
| * | | | | Added check for null objects in gdscript typed assign. | ocean (they/them) | 2023-02-21 | 2 | -0/+25 | |
| | | | | | ||||||
* | | | | | GDScript: Fix override signature check of script inheritance | George Marques | 2023-02-21 | 2 | -0/+12 | |
|/ / / / | | | | | | | | | | | | | | | | | Avoid treating the super class as a meta type for signature check, since it is looking at the instance level for that. | |||||
* | / / | Add test for const class references | mashumafi | 2023-02-20 | 3 | -0/+19 | |
| |/ / |/| | | ||||||
* | | | Merge pull request #73590 from vnen/gdscript-global-scope-enums | Rémi Verschelde | 2023-02-20 | 16 | -14/+53 | |
|\ \ \ | | | | | | | | | | | | | Make global scope enums accessible as types in GDScript | |||||
| * | | | Make global scope enums accessible as types in GDScript | George Marques | 2023-02-19 | 16 | -14/+53 | |
| | |/ | |/| | | | | | | | | | | | | | 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. | |||||
* | | | Merge pull request #73544 from mashumafi/fix-func-arg-null | Rémi Verschelde | 2023-02-20 | 2 | -0/+30 | |
|\ \ \ | | | | | | | | | | | | | Fix: Func with typed args error when arg is null | |||||
| * | | | Fix: Func with typed args error when arg is null | mashumafi | 2023-02-19 | 2 | -0/+30 | |
| | | | |