Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Remove script class checks when getting function signature | Adam Scott | 2023-02-07 | 2 | -0/+14 | |
| | ||||||
* | Fix global script class parsing. | Juan Linietsky | 2023-01-31 | 1 | -1/+1 | |
| | | | | | | | | * Broke with #72226 * Restored previous version of the code, made it even more error tolerant. * Added a warning to **not** change the code. Fixes #72226. | |||||
* | GDScript: Fix `@export_enum` works only with `int` | Danil Alexeev | 2023-01-30 | 2 | -0/+22 | |
| | ||||||
* | Merge pull request #72285 from vnen/gdscript-variable-match | Rémi Verschelde | 2023-01-29 | 2 | -0/+27 | |
|\ | | | | | GDScript: Allow variables in match patterns | |||||
| * | GDScript: Allow variables in match patterns | George Marques | 2023-01-28 | 2 | -0/+27 | |
| | | | | | | | | To restore an ability available in 3.x and reduce compatibility changes. | |||||
* | | GDScript: Fix constant conversions | Dmitrii Maganov | 2023-01-29 | 1 | -4/+4 | |
|/ | ||||||
* | GDScript: Allow constant expressions in annotations | Danil Alexeev | 2023-01-25 | 2 | -2/+2 | |
| | ||||||
* | Clarify error message about script-level annotation | Danil Alexeev | 2023-01-24 | 1 | -1/+1 | |
| | ||||||
* | Merge pull request #71914 from vnen/gdscript-no-continue-match | Rémi Verschelde | 2023-01-23 | 4 | -8/+3 | |
|\ | | | | | | | GDScript: Remove function of `continue` for match statement | |||||
| * | GDScript: Remove function of `continue` for match statement | George Marques | 2023-01-22 | 4 | -8/+3 | |
| | | | | | | | | | | | | The keyword is confusing and rarely is used in the intended way. It is removed now in favor of a future feature (pattern guards) to avoid breaking compatibility later. | |||||
* | | Add support for Unicode identifiers in GDScript | George Marques | 2023-01-21 | 6 | -0/+65 | |
|/ | | | | | | This is using an adapted version of UAX#31 to not rely on the ICU database (which isn't available in builds without TextServerAdvanced). It allows most characters used in diverse scripts but not everything. | |||||
* | Merge pull request #67774 from aaronfranke/script-annotations | Rémi Verschelde | 2023-01-16 | 3 | -4/+4 | |
|\ | | | | | Make script annotations be placed before `class_name` and `extends` | |||||
| * | Make script annotations placed before class_name and extends | Aaron Franke | 2022-12-19 | 3 | -4/+4 | |
| | | ||||||
* | | Merge pull request #70899 from adamscott/fix-vector-inf | Rémi Verschelde | 2023-01-12 | 2 | -0/+9 | |
|\ \ | | | | | | | Fix parse error using Vector{2,3,4}.INF | |||||
| * | | Fix parse error using Vector{2,3,4}.INF | Adam Scott | 2023-01-08 | 2 | -0/+9 | |
| | | | ||||||
* | | | Merge pull request #70713 from vonagam/fix-unnamed-enum-outer-conflicts | George Marques | 2023-01-12 | 2 | -0/+22 | |
|\ \ \ | ||||||
| * | | | GDScript: Fix false name conflicts for unnamed enums | Dmitrii Maganov | 2022-12-29 | 2 | -0/+22 | |
| | |/ | |/| | ||||||
* | | | Add GDScript `.editorconfig` rules | Adam Scott | 2023-01-10 | 9 | -126/+126 | |
| | | | | | | | | | | | | - Uniformize `.gd` unit test files indentation to tabs (where needed) | |||||
* | | | Merge pull request #70655 from vonagam/fix-assert-multiline | Rémi Verschelde | 2023-01-09 | 2 | -0/+26 | |
|\ \ \ | |_|/ |/| | | | | | GDScript: Fix multiline and trailing comma for assert | |||||
| * | | GDScript: Fix multiline and trailing comma for assert | Dmitrii Maganov | 2023-01-08 | 2 | -0/+26 | |
| |/ | ||||||
* / | GDScript: Make using return of void function an error | George Marques | 2022-12-30 | 2 | -11/+0 | |
|/ | | | | | Remove the `VOID_ASSIGNMENT` warning since those cases will be errors now. | |||||
* | change RETURN_VALUE_DISCARDED GDScript warn text | souplamp | 2022-11-21 | 1 | -1/+1 | |
| | | | | changed RETURN_VALUE_DISCARDED GDscript warning text to mention how the return value of a function is discarded; update GDScript parser warning test to include new warning text. | |||||
* | Add STATIC_CALLED_ON_INSTANCE warning to highlight | clayjohn | 2022-10-14 | 2 | -0/+18 | |
| | | | | when static functions are called directly from objects | |||||
* | Implement RETURN_VALUE_DISCARDED warning in GDscript | clayjohn | 2022-10-13 | 2 | -2/+6 | |
| | ||||||
* | Improve dictionary printing to avoid confusion with arrays | Hugo Locurcio | 2022-10-04 | 4 | -6/+6 | |
| | | | | | | - 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. | |||||
* | Improve null and object printing to avoid confusion with arrays | Hugo Locurcio | 2022-08-31 | 2 | -2/+2 | |
| | | | | | | | - Use different syntax for object printing to avoid confusion with arrays. - Print null as `<null>` to avoid confusion with a string `"null"`. - Display `<empty>` in editor resource pickers to avoid confusion with array-based properties. | |||||
* | Merge pull request #62701 from cdemirer/for-variable-conflict | Rémi Verschelde | 2022-07-06 | 4 | -0/+11 | |
|\ | ||||||
| * | Do error when for variable conflicts with a variable in scope | cdemirer | 2022-07-04 | 4 | -0/+11 | |
| | | ||||||
* | | Add grouping annotations for class properties in GDScript | Yuri Sizov | 2022-07-05 | 2 | -3/+3 | |
|/ | ||||||
* | Merge pull request #61666 from nathanfranke/fix-match-bind | George Marques | 2022-06-15 | 2 | -0/+19 | |
|\ | | | | | gdscript: use correct error for unused bind match, suppress with underscore | |||||
| * | use correct error for unused bind match, suppress with underscore | Nathan Franke | 2022-06-03 | 2 | -0/+19 | |
| | | ||||||
* | | Merge pull request #57151 from cdemirer/fix-match-array-dict-pattern-logic-error | George Marques | 2022-06-14 | 4 | -0/+93 | |
|\ \ | |/ |/| | Fix logic errors in match-statement Array & Dictionary patterns | |||||
| * | Fix logic errors in match-statement Array & Dictionary Patterns | cdemirer | 2022-03-02 | 4 | -0/+93 | |
| | | ||||||
* | | GDScript: Support `%` in shorthand for `get_node` | George Marques | 2022-05-27 | 6 | -4/+72 | |
| | | | | | | | | | | | | 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. | |||||
* | | GDScript: Fix lambda captures in default argument values | George Marques | 2022-05-23 | 2 | -0/+9 | |
| | | ||||||
* | | GDScript: Fix `if` after lambda being seen as ternary | George Marques | 2022-05-23 | 2 | -0/+9 | |
| | | ||||||
* | | GDScript: Do not allow standalone lambdas | George Marques | 2022-05-23 | 2 | -0/+5 | |
| | | | | | | | | | | They cannot be accessed in this case, so an error is shown to avoid misleading the uses, especially in case of named lambdas. | |||||
* | | Merge pull request #55201 from Scony/fix-unreachable-code-false-positive | Rémi Verschelde | 2022-05-18 | 2 | -0/+18 | |
|\ \ | ||||||
| * | | Fix 'unreachable-code' false-positive, fixes #55154 | Pawel Lampe | 2021-11-21 | 2 | -0/+18 | |
| | | | ||||||
* | | | Merge pull request #59863 from cdemirer/fix-match-multiple-bind-single-pattern | Rémi Verschelde | 2022-05-11 | 4 | -0/+16 | |
|\ \ \ | | | | | | | | | Fix issues with multiple bind patterns in match statement | |||||
| * | | | Fix issues with multiple bind patterns in match statement | cdemirer | 2022-04-04 | 4 | -0/+16 | |
| | | | | ||||||
* | | | | quote strings inside arrays and dictionaries | Nathan Franke | 2022-05-03 | 5 | -8/+8 | |
| | | | | ||||||
* | | | | Fixes GDScript define nested dictionary and array as constants #50285 | PastMoments | 2022-04-19 | 2 | -0/+63 | |
|/ / / | ||||||
* | / | Add test cases for accessing parent elements from child class | strank | 2022-03-04 | 2 | -0/+56 | |
| |/ |/| | ||||||
* | | Merge pull request #57591 from vnen/gdscript-enum-fixes | Rémi Verschelde | 2022-02-04 | 2 | -0/+36 | |
|\ \ | ||||||
| * | | GDScript: Consolidate behavior for assigning enum types | George Marques | 2022-02-03 | 2 | -0/+36 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
* | | | Merge pull request #57052 from KoBeWi/nosort | Rémi Verschelde | 2022-01-23 | 1 | -1/+1 | |
|\ \ \ | ||||||
| * | | | Don't sort printed Dictionary | kobewi | 2022-01-22 | 1 | -1/+1 | |
| |/ / | ||||||
* | | | Merge pull request #55214 from Scony/fix-gdscript-crash-2 | Rémi Verschelde | 2022-01-22 | 2 | -0/+4 | |
|\ \ \ | |/ / |/| | | Fix GDScript parser crash on 'dollar mixed with assignment' expression | |||||
| * | | Fix GDScript parser crash on 'dollar mixed with assignment' expression | Pawel Lampe | 2021-11-21 | 2 | -0/+4 | |
| |/ | | | | | | | fixes #53696 |