Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-07-06 | Merge pull request #62701 from cdemirer/for-variable-conflict | Rémi Verschelde | |
2022-07-05 | Add grouping annotations for class properties in GDScript | Yuri Sizov | |
2022-07-04 | Do error when for variable conflicts with a variable in scope | cdemirer | |
2022-06-28 | Fix set chain bug with jump_if_shared | cdemirer | |
2022-06-15 | Merge pull request #61666 from nathanfranke/fix-match-bind | George Marques | |
gdscript: use correct error for unused bind match, suppress with underscore | |||
2022-06-14 | Merge pull request #57151 from cdemirer/fix-match-array-dict-pattern-logic-error | George Marques | |
Fix logic errors in match-statement Array & Dictionary patterns | |||
2022-06-03 | use correct error for unused bind match, suppress with underscore | Nathan Franke | |
2022-05-31 | Merge pull request #61440 from vnen/gdscript-scene-unique-nodes | Rémi Verschelde | |
GDScript: Support `%` in shorthand for `get_node` | |||
2022-05-27 | GDScript: Support `%` in shorthand for `get_node` | George Marques | |
The `%` is used in scene unique nodes. Now `%` can also be used instead of `$` for the shorthand, besides being allowed generally anywhere in the path as the prefix for a node name. | |||
2022-05-25 | Merge pull request #61279 from Trioct/fix-typed-array-assignment | Rémi Verschelde | |
2022-05-25 | Fix const typed array assignment | Trioct | |
2022-05-24 | GDScript: Don't show redundant await warning on unknown types | George Marques | |
Also avoid it when the type is known to be a signal. | |||
2022-05-23 | GDScript: Fix lambda captures in default argument values | George Marques | |
2022-05-23 | GDScript: Fix `if` after lambda being seen as ternary | George Marques | |
2022-05-23 | GDScript: Do not allow standalone lambdas | George Marques | |
They cannot be accessed in this case, so an error is shown to avoid misleading the uses, especially in case of named lambdas. | |||
2022-05-18 | Merge pull request #55201 from Scony/fix-unreachable-code-false-positive | Rémi Verschelde | |
2022-05-11 | Merge pull request #59863 from cdemirer/fix-match-multiple-bind-single-pattern | Rémi Verschelde | |
Fix issues with multiple bind patterns in match statement | |||
2022-05-11 | Merge pull request #60732 from CalebJohn/matching_signature_regression_test | Rémi Verschelde | |
2022-05-03 | Add regression test for gdscript valid function signature | CalebJohn | |
Previously, there was an issue where the gdscript analyzer incorrectly riased a validation error for code that had a default Dictionary, Array, or custom type. | |||
2022-05-03 | quote strings inside arrays and dictionaries | Nathan Franke | |
2022-04-27 | Merge pull request #60396 from vnen/gdscript-self-lambda | Rémi Verschelde | |
2022-04-24 | GDScript: Allow using self in lambdas | George Marques | |
2022-04-19 | Fixes GDScript define nested dictionary and array as constants #50285 | PastMoments | |
2022-04-04 | Fix issues with multiple bind patterns in match statement | cdemirer | |
2022-03-06 | GDScript: Check if method signature matches the parent | George Marques | |
To guarantee polymorphism, a method signature must be compatible with the parent. This checks if: 1. Return type is the same. 2. The subclass method takes at least the same amount of parameters. 3. The matching parameters have the same type. 4. If the subclass takes more parameters, all of the extra ones have a default value. 5. If the superclass has default values, so must have the subclass. There's a few test cases to ensure this holds up. | |||
2022-03-04 | Add test cases for accessing parent elements from child class | strank | |
2022-03-02 | Fix logic errors in match-statement Array & Dictionary Patterns | cdemirer | |
2022-02-04 | Merge pull request #57591 from vnen/gdscript-enum-fixes | Rémi Verschelde | |
2022-02-03 | GDScript: Treat enum values as int and enum types as dictionary | George Marques | |
Since enums resolve to a dictionary at runtime, calling dictionary methods on an enum type is a valid use case. This ensures this is true by adding test cases. This also makes enum values be treated as ints when used in operations. | |||
2022-02-03 | GDScript: Allow tests to run on release builds | George Marques | |
- 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. | |||
2022-02-03 | GDScript: Consolidate behavior for assigning enum types | George Marques | |
This makes sure that assigning values to enum-typed variables are consistent. Same enum is always valid, different enum is always invalid (without casting) and assigning `int` creates a warning if there is no casting. There are new test cases to ensure this behavior doesn't break in the future. | |||
2022-01-23 | Merge pull request #57052 from KoBeWi/nosort | Rémi Verschelde | |
2022-01-22 | Merge pull request #55214 from Scony/fix-gdscript-crash-2 | Rémi Verschelde | |
Fix GDScript parser crash on 'dollar mixed with assignment' expression | |||
2022-01-22 | Don't sort printed Dictionary | kobewi | |
2022-01-13 | GDScript: Fix parsing default parameter values from function calls | strank | |
2022-01-04 | GDScript: Add annotation to ignore warnings | George Marques | |
2022-01-02 | Fix various typos | luz paz | |
Found via ` codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,expct,fave,findn,gird,hist,inout,leapyear,lod,nd,numer,ois,ony,paket,seeked,sinc,switchs,te,uint,varn` Update editor/import/resource_importer_layered_texture.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update doc/classes/TileSetScenesCollectionSource.xml Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/gui/graph_edit.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/resources/animation.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/resources/animation.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/resources/animation.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/gui/rich_text_label.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Revert previously committed change | |||
2021-12-13 | Fix shadowed global identifier warning duplication | Yuri Roubinsky | |
2021-11-21 | Fix GDScript parser crash on 'dollar mixed with assignment' expression | Pawel Lampe | |
fixes #53696 | |||
2021-11-21 | Fix 'unreachable-code' false-positive, fixes #55154 | Pawel Lampe | |
2021-11-13 | Allow using built-in names for variables, push warnings instead | Yuri Roubinsky | |
2021-10-28 | Improve GDScript indentation error message | Max Hilbrunner | |
2021-10-25 | Refactored Node3D rotation modes | reduz | |
* 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). | |||
2021-10-15 | Merge pull request #53843 from vnen/gdscript-typed-array-subscript-constant | Rémi Verschelde | |
Fix inferred typed array marked as constant | |||
2021-10-15 | GDScript: Fix inferred typed array marked as constant | George Marques | |
2021-10-14 | GDScript: Properly return value with await on non-coroutine | George Marques | |
If the keyword `await` is used without a coroutine, it should still return the value synchronally. | |||
2021-10-14 | Merge pull request #53807 from vnen/dont-share-arrays-and-dicts | Rémi Verschelde | |
2021-10-14 | Zero Dictionary and Array variants when changing type with reset | George Marques | |
So they don't reference to the old values anymore and instead refer to a new value. | |||
2021-10-14 | Merge pull request #53726 from briansemrau/gd-outer-class | George Marques | |
GDScript 2.0: Access outer scope classes | |||
2021-10-13 | GDScript: Access outer scope classes | Brian Semrau | |