summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/tests
Commit message (Collapse)AuthorAgeFilesLines
* GDScript: Fix member assignment with operationGeorge Marques2021-10-042-0/+18
| | | | | It was wrongly updating the assigned value with the result of the operation.
* Use range iterators for `Map`Lightning_A2021-09-301-2/+2
|
* Merge pull request #53216 from vnen/gdscript-builtin-type-not-idRémi Verschelde2021-09-298-0/+25
|\
| * GDScript: Don't allow builtin type names as identifiersGeorge Marques2021-09-298-0/+25
| |
* | GDScript: Fix assignment with operation for propertiesGeorge Marques2021-09-292-0/+19
|/
* Merge pull request #52906 from vnen/gdscript-show-error-on-yieldRémi Verschelde2021-09-212-0/+8
|\
| * GDScript: Show specific error when "yield" is usedGeorge Marques2021-09-212-0/+8
| | | | | | | | | | To help people porting code, it gives a hint to use "await" instead of a generic error.
* | Merge pull request #52905 from vnen/gdscript-single-line-declarationRémi Verschelde2021-09-214-0/+46
|\ \
| * | GDScript: Allow classes declaration to be done in single lineGeorge Marques2021-09-214-0/+46
| |/ | | | | | | | | Incidentally, allow multiple statements in single line functions when using semicolon as a terminator.
* / GDScript: Allow multiple lines in signal parameters declarationGeorge Marques2021-09-212-0/+22
|/
* Merge pull request #52718 from Calinou/gdscript-add-integration-tests-2Rémi Verschelde2021-09-2130-2/+245
|\
| * Add more integration tests to the GDScript test suiteHugo Locurcio2021-09-1530-2/+245
| | | | | | | | This also fixes a typo in the `bitwise_float_right_operand.gd` test.
* | Merge pull request #52792 from vnen/gdscript-subscript-missing-indexRémi Verschelde2021-09-172-0/+5
|\ \
| * | GDScript: Properly catch error when missing index in subscriptGeorge Marques2021-09-172-0/+5
| | |
* | | Merge pull request #52788 from vnen/gdscript-compare-with-nullRémi Verschelde2021-09-178-0/+692
|\ \ \ | |/ / |/| |
| * | Allow comparing equality between builtin types and nullGeorge Marques2021-09-178-0/+692
| |/
* / GDScript: Avoid inferred types from giving hard errorsGeorge Marques2021-09-172-0/+11
|/
* Merge pull request #52706 from vnen/gdscript-ternary-operator-crashRémi Verschelde2021-09-152-0/+6
|\ | | | | GDScript: Show error when missing expression after ternary else
| * GDScript: Show error when missing expression after ternary elseGeorge Marques2021-09-152-0/+6
| |
* | GDScript: Show error on unary operators without argumentGeorge Marques2021-09-1510-0/+22
|/
* GDScript: Allow string keys on Lua-style dictionariesGeorge Marques2021-09-158-0/+35
| | | | | Which is useful when the key isn't a valid identifier, such as keys with spaces or numeric keys.
* Add dozens of new integration tests to the GDScript test suiteHugo Locurcio2021-09-14189-17/+1785
| | | | This also ignores `.out` files in the file format static checks.
* Fix an undefined behaviourThreeRhinosInAnElephantCostume2021-09-131-0/+3
|
* Fix GDScript test casesGeorge Marques2021-09-133-9/+9
|
* Merge pull request #52100 from vnen/gdscript-access-outer-constantsRémi Verschelde2021-09-136-0/+56
|\ | | | | GDScript: Allow access to outer constant and enum values
| * GDScript: Allow access to outer constant and enum valuesGeorge Marques2021-08-246-0/+56
| |
* | Merge pull request #52068 from ThreeRhinosInAnElephantCostume/fixgdscriptRémi Verschelde2021-09-139-1/+29
|\ \ | | | | | | Fix parse error on statement-less files with only newlines, add a warning for empty files.
| * | Fix error on parsing statement-less GDScript files,ThreeRhinosInAnElephantCostume2021-09-119-1/+29
| |/ | | | | | | | | add an empty file warning, add relevant tests.
* | GDScript: Removed spurious UNASSIGNED_VARIABLE warning for localsZuBsPaCe2021-09-102-12/+15
| | | | | | | | | | | | Variable->assignment needs to be incremented when assigned a value. Also fixed and improved unit test 'variable_declaration.gd'. Fixes #52551
* | Fix crash with consecutive commas in Dictionarykobewi2021-09-102-0/+4
| |
* | Merge pull request #52081 from ThreeRhinosInAnElephantCostume/fixmatchfreezeGeorge Marques2021-09-104-0/+85
|\ \ | | | | | | Fix gdscript pattern matching expressions
| * | Added tests for expression matchingThreeRhinosInAnElephantCostume2021-09-034-0/+85
| |/
* | Merge pull request #52164 from mhilbrunner/gd-style-fixupMax Hilbrunner2021-08-281-2/+2
|\ \ | | | | | | GDScript test style fix
| * | GDScript test style fixMax Hilbrunner2021-08-271-2/+2
| | |
* | | Merge pull request #52122 from V-Sekai/autoload_listK. S. Ernest (iFire) Lee2021-08-271-5/+5
|\ \ \ | |/ / |/| | Use sorted map for autoloads in ProjectSettings to preserve order.
| * | Use OrderedHashMap for autoloads to preserve orderLyuma2021-08-261-5/+5
| | |
* | | Merge pull request #52090 from balloonpopper/bug52060Max Hilbrunner2021-08-274-2/+13
|\ \ \ | | | | | | | | Correct null and boolean values being capitalised by the str command
| * | | Correct null and boolean values being capitalised by the str commandBalloonpopper2021-08-264-2/+13
| | |/ | |/|
* | | Merge pull request #52105 from ldmnt/masterHugo Locurcio2021-08-272-0/+5
|\ \ \ | |_|/ |/| |
| * | Fixed crash when parsing an empty assignment.Louis Dumont2021-08-252-0/+5
| |/ | | | | | | Resolves #51620.
* / Add a README to link to the GDScript integration tests documentationHugo Locurcio2021-08-251-0/+8
|/ | | | | This makes the documentation about creating and running GDScript integration tests more discoverable.
* GDScript: Fix calling builtin static functionsGeorge Marques2021-08-182-0/+6
|
* GDScript: Fix inner classes and preloaded scripts as typesGeorge Marques2021-08-186-0/+26
|
* Reorganise text editor settingsPaulb232021-08-161-1/+1
|
* Use C++ iterators for Lists in many situationsAaron Franke2021-07-232-15/+11
|
* Rename `instance()`->`instantiate()` when it's a verbLightning_A2021-06-192-5/+5
|
* Rename Reference to RefCountedPedro J. Estébanez2021-06-112-7/+7
|
* Core: Move DirAccess and FileAccess to `core/io`Rémi Verschelde2021-06-112-2/+2
| | | | | File handling APIs are typically considered part of I/O, and we did have most `FileAccess` implementations in `core/io` already.
* Merge pull request #49114 from vnen/gdscript-fix-self-function-type-checkRémi Verschelde2021-05-262-0/+12
|\ | | | | GDScript: Fix function signature check for self calls
| * GDScript: Fix function signature check for self callsGeorge Marques2021-05-262-0/+12
| |