| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | | | GDScript: Allow elements of a parent class in a typed array literal | Dmitrii Maganov | 2023-03-28 | 2 | -0/+14 | |
| | | | | | ||||||
| * | | | | Add support for static variables in GDScript | George Marques | 2023-04-27 | 8 | -0/+114 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
| * | | | | 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] Fix incorrect compound assignment | Ninni Pipping | 2023-04-14 | 2 | -0/+37 | |
| |/ / / | | | | | | | | | | | | | | | | Reverts in-place compound assignments Added test to ensure correctness | |||||
| * | | | GDScript: Fix false positive `REDUNDANT_AWAIT` warning | Danil Alexeev | 2023-03-16 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | Fix GDScript code style regarding colon | Danil Alexeev | 2023-03-05 | 3 | -4/+4 | |
| | | | | ||||||
| * | | | 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. | |||||
| * | | | Fixup GDScript test using non-deterministic ids | Rémi Verschelde | 2023-02-24 | 2 | -4/+6 | |
| | | | | | | | | | | | | | Follow-up to #73870. | |||||
| * | | | GDScript: Fix groups and categories been seen as members | George Marques | 2023-02-24 | 2 | -0/+12 | |
| | | | | ||||||
| * | | | Add test for const class references | mashumafi | 2023-02-20 | 3 | -0/+19 | |
| |/ / | ||||||
| * / | Fix: Func with typed args error when arg is null | mashumafi | 2023-02-19 | 2 | -0/+30 | |
| |/ | ||||||
| * | Revert "Remove script class checks when getting function signature" | Rémi Verschelde | 2023-02-07 | 3 | -33/+0 | |
| | | | | | | | This reverts commit 0fef203b1f39c3373f9f25b8e75e75f6b03f7c88. This introduced some other issues, as discussed in #72144. | |||||
| * | Remove script class checks when getting function signature | Adam Scott | 2023-02-07 | 3 | -0/+33 | |
| | | ||||||
| * | GDScript: Improve usability of setter chains | George Marques | 2023-02-02 | 4 | -0/+27 | |
| | | | | | | | | | | - 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. | |||||
| * | GDScript: Fix issues with typed arrays | Dmitrii Maganov | 2023-01-31 | 10 | -0/+54 | |
| | | ||||||
| * | GDScript: Avoid calling non-static methods on native classes | George Marques | 2023-01-28 | 2 | -0/+12 | |
| | | ||||||
| * | GDScript: Fix test for read-only state of constants | Dmitrii Maganov | 2023-01-27 | 6 | -22/+12 | |
| | | ||||||
| * | GDScript: Allow constant expressions in annotations | Danil Alexeev | 2023-01-25 | 5 | -11/+11 | |
| | | ||||||
| * | GDScript: Fix typing of iterator in for loop | Dmitrii Maganov | 2023-01-13 | 2 | -0/+65 | |
| | | ||||||
| * | Add default virtual `gdscript://` path to `GDScript` instances | Adam Scott | 2023-01-12 | 2 | -0/+23 | |
| | | ||||||
| * | Merge pull request #70987 from vonagam/fix-parameter-conversion-assign | George Marques | 2023-01-12 | 4 | -0/+43 | |
| |\ | ||||||
| | * | GDScript: Fix missing conversion for default argument values | Dmitrii Maganov | 2023-01-06 | 4 | -0/+43 | |
| | | | ||||||
| * | | GDScript: Fix temp values being written without proper clear | George Marques | 2023-01-11 | 2 | -0/+19 | |
| | | | | | | | | | | | | | 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. | |||||
| * | | Merge pull request #70595 from adamscott/add-gdscript-editorconfig | Rémi Verschelde | 2023-01-11 | 4 | -15/+15 | |
| |\ \ | | | | | | | Add GDScript `.editorconfig` rules | |||||
| | * | | Add GDScript `.editorconfig` rules | Adam Scott | 2023-01-10 | 4 | -15/+15 | |
| | | | | | | | | | | | | | - Uniformize `.gd` unit test files indentation to tabs (where needed) | |||||
| * | | | GDScript: Fix use of conversion assign for variant values | George Marques | 2023-01-10 | 2 | -0/+12 | |
| |/ / | ||||||
| * | | Merge pull request #71051 from vonagam/consts-are-deep-start | Rémi Verschelde | 2023-01-09 | 8 | -0/+46 | |
| |\ \ | | | | | | | GDScript: Begin making constants deep, not shallow or flat | |||||
| | * | | GDScript: Begin making constants deep, not shallow or flat | Dmitrii Maganov | 2023-01-08 | 8 | -0/+46 | |
| | |/ | ||||||
| * | | GDScript: Allow using await on calls to void functions | George Marques | 2023-01-09 | 2 | -0/+9 | |
| | | | ||||||
| * | | GDScript: Don't use the NIL address to hold return value of functions | George Marques | 2023-01-09 | 2 | -0/+47 | |
| |/ | | | | | This prevents that the NIL address is filled with another value, which causes problems for some instructions that read from NIL. | |||||
| * | Merge pull request #70702 from vnen/gdscript-error-on-assign-void | Rémi Verschelde | 2023-01-03 | 7 | -4/+34 | |
| |\ | | | | | | | GDScript: Error when assigning return value of void function | |||||
| | * | GDScript: Error when assigning return value of void function | George Marques | 2022-12-30 | 7 | -4/+34 | |
| | | | | | | | | | | | This also makes built-in method calls empty the return value when the method is void, to avoid keeping returning a garbage value in such case. | |||||
| * | | Fix type adjustment skipped when value is considered both not hard and not ↵ | cdemirer | 2022-12-25 | 2 | -0/+21 | |
| |/ | | | | variant | |||||
| * | Merge pull request #68747 from rune-scape/rune-stringname-unification | Rémi Verschelde | 2022-12-09 | 8 | -0/+105 | |
| |\ | | | | | | | GDScript: Unify StringName and String | |||||
| | * | Unify String and StringName | rune-scape | 2022-12-05 | 8 | -0/+105 | |
| | | | ||||||
| * | | Fix incomplete shadowing of member properties by parameters | Dmitrii Maganov | 2022-12-06 | 2 | -0/+42 | |
| |/ | ||||||
| * | Merge pull request #68125 from ↵ | Rémi Verschelde | 2022-11-02 | 4 | -0/+139 | |
| |\ | | | | | | | | | | | kleonc/range-fix-single-arg-optimized-type-mismatch [GDScript] Fix type mismatch in optimized single arg `range` | |||||
| | * | GDScript Fix type mismatch in optimized single arg `range` | kleonc | 2022-11-02 | 4 | -0/+139 | |
| | | | ||||||
| * | | Support for checking that Projection is(not) null | Rafał Mikrut | 2022-11-01 | 4 | -0/+10 | |
| |/ | ||||||
| * | Improve dictionary printing to avoid confusion with arrays | Hugo Locurcio | 2022-10-04 | 2 | -3/+3 | |
| | | | | | | | - Add leading and trailing spaces within dictionaries, as the `{}` characters are hard to distinguish from `[]` on some fonts. This is especially helpful with empty arrays and dictionaries. | |||||
| * | Fix set chain bug with jump_if_shared | cdemirer | 2022-06-28 | 2 | -0/+26 | |
| | | ||||||
| * | quote strings inside arrays and dictionaries | Nathan Franke | 2022-05-03 | 1 | -3/+3 | |
| | | ||||||
| * | GDScript: Allow using self in lambdas | George Marques | 2022-04-24 | 2 | -0/+28 | |
| | | ||||||
| * | GDScript: Allow tests to run on release builds | George Marques | 2022-02-03 | 2 | -1/+2 | |
| | | | | | | | | | | - Fix compilation issues by disabling warnings on release builds. This also strips warnings from expected result before the comparison to avoid false mismatches. - Add a `#debug-only` flag to tests. Must be the first line of the test script. Those won't run with release builds. Can be used for test cases that rely on checks only available on debug builds. | |||||
| * | GDScript: Fix parsing default parameter values from function calls | strank | 2022-01-13 | 2 | -0/+41 | |
| | | ||||||
| * | Refactored Node3D rotation modes | reduz | 2021-10-25 | 1 | -1/+1 | |
| | | | | | | | | | | * Made the Basis euler orders indexed via enum. * Node3D has a new rotation_order property to choose Euler rotation order. * Node3D has also a rotation_mode property to choose between Euler, Quaternion and Basis Exposing these modes as well as the order makes Godot a lot friendlier for animators, which can choose the best way to interpolate rotations. The new *Basis* mode makes the (exposed) transform property obsolete, so it was removed (can still be accessed by code of course). | |||||
