summaryrefslogtreecommitdiff
path: root/modules/gdscript/tests/scripts/parser/features
AgeCommit message (Collapse)Author
2023-01-30GDScript: Fix `@export_enum` works only with `int`Danil Alexeev
2023-01-28GDScript: Allow variables in match patternsGeorge Marques
To restore an ability available in 3.x and reduce compatibility changes.
2023-01-25GDScript: Allow constant expressions in annotationsDanil Alexeev
2023-01-23Merge pull request #71914 from vnen/gdscript-no-continue-matchRémi Verschelde
GDScript: Remove function of `continue` for match statement
2023-01-22GDScript: Remove function of `continue` for match statementGeorge Marques
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.
2023-01-21Add support for Unicode identifiers in GDScriptGeorge Marques
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.
2023-01-16Merge pull request #67774 from aaronfranke/script-annotationsRémi Verschelde
Make script annotations be placed before `class_name` and `extends`
2023-01-12Merge pull request #70899 from adamscott/fix-vector-infRémi Verschelde
Fix parse error using Vector{2,3,4}.INF
2023-01-12Merge pull request #70713 from vonagam/fix-unnamed-enum-outer-conflictsGeorge Marques
2023-01-10Add GDScript `.editorconfig` rulesAdam Scott
- Uniformize `.gd` unit test files indentation to tabs (where needed)
2023-01-08Fix parse error using Vector{2,3,4}.INFAdam Scott
2023-01-08GDScript: Fix multiline and trailing comma for assertDmitrii Maganov
2022-12-29GDScript: Fix false name conflicts for unnamed enumsDmitrii Maganov
2022-12-19Make script annotations placed before class_name and extendsAaron Franke
2022-10-13Implement RETURN_VALUE_DISCARDED warning in GDscriptclayjohn
2022-10-04Improve dictionary printing to avoid confusion with arraysHugo Locurcio
- 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.
2022-08-31Improve null and object printing to avoid confusion with arraysHugo Locurcio
- 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.
2022-06-15Merge pull request #61666 from nathanfranke/fix-match-bindGeorge Marques
gdscript: use correct error for unused bind match, suppress with underscore
2022-06-14Merge pull request #57151 from cdemirer/fix-match-array-dict-pattern-logic-errorGeorge Marques
Fix logic errors in match-statement Array & Dictionary patterns
2022-06-03use correct error for unused bind match, suppress with underscoreNathan Franke
2022-05-27GDScript: 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-23GDScript: Fix lambda captures in default argument valuesGeorge Marques
2022-05-23GDScript: Fix `if` after lambda being seen as ternaryGeorge Marques
2022-05-11Merge pull request #59863 from cdemirer/fix-match-multiple-bind-single-patternRémi Verschelde
Fix issues with multiple bind patterns in match statement
2022-05-03quote strings inside arrays and dictionariesNathan Franke
2022-04-19Fixes GDScript define nested dictionary and array as constants #50285PastMoments
2022-04-04Fix issues with multiple bind patterns in match statementcdemirer
2022-03-04Add test cases for accessing parent elements from child classstrank
2022-03-02Fix logic errors in match-statement Array & Dictionary Patternscdemirer
2022-01-22Don't sort printed Dictionarykobewi
2022-01-02Fix various typosluz 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-09-21Merge pull request #52905 from vnen/gdscript-single-line-declarationRémi Verschelde
2021-09-21GDScript: Allow classes declaration to be done in single lineGeorge Marques
Incidentally, allow multiple statements in single line functions when using semicolon as a terminator.
2021-09-21GDScript: Allow multiple lines in signal parameters declarationGeorge Marques
2021-09-15Add more integration tests to the GDScript test suiteHugo Locurcio
This also fixes a typo in the `bitwise_float_right_operand.gd` test.
2021-09-15GDScript: Allow string keys on Lua-style dictionariesGeorge Marques
Which is useful when the key isn't a valid identifier, such as keys with spaces or numeric keys.
2021-09-14Add dozens of new integration tests to the GDScript test suiteHugo Locurcio
This also ignores `.out` files in the file format static checks.
2021-09-10GDScript: Removed spurious UNASSIGNED_VARIABLE warning for localsZuBsPaCe
Variable->assignment needs to be incremented when assigned a value. Also fixed and improved unit test 'variable_declaration.gd'. Fixes #52551
2021-09-10Merge pull request #52081 from ThreeRhinosInAnElephantCostume/fixmatchfreezeGeorge Marques
Fix gdscript pattern matching expressions
2021-09-03Added tests for expression matchingThreeRhinosInAnElephantCostume
2021-08-27GDScript test style fixMax Hilbrunner
2021-08-26Correct null and boolean values being capitalised by the str commandBalloonpopper
2021-04-16Rename GDScript test script filenames to use `snake_case`Andrii Doroshenko (Xrayez)