Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-09-29 | Merge pull request #53216 from vnen/gdscript-builtin-type-not-id | Rémi Verschelde | |
2021-09-29 | GDScript: Don't allow builtin type names as identifiers | George Marques | |
2021-09-29 | GDScript: Fix assignment with operation for properties | George Marques | |
2021-09-21 | Merge pull request #52906 from vnen/gdscript-show-error-on-yield | Rémi Verschelde | |
2021-09-21 | Merge pull request #52905 from vnen/gdscript-single-line-declaration | Rémi Verschelde | |
2021-09-21 | GDScript: Show specific error when "yield" is used | George Marques | |
To help people porting code, it gives a hint to use "await" instead of a generic error. | |||
2021-09-21 | GDScript: Allow classes declaration to be done in single line | George Marques | |
Incidentally, allow multiple statements in single line functions when using semicolon as a terminator. | |||
2021-09-21 | GDScript: Allow multiple lines in signal parameters declaration | George Marques | |
2021-09-21 | Merge pull request #52718 from Calinou/gdscript-add-integration-tests-2 | Rémi Verschelde | |
2021-09-17 | Merge pull request #52792 from vnen/gdscript-subscript-missing-index | Rémi Verschelde | |
2021-09-17 | Merge pull request #52788 from vnen/gdscript-compare-with-null | Rémi Verschelde | |
2021-09-17 | GDScript: Properly catch error when missing index in subscript | George Marques | |
2021-09-17 | Allow comparing equality between builtin types and null | George Marques | |
2021-09-17 | GDScript: Avoid inferred types from giving hard errors | George Marques | |
2021-09-15 | Add more integration tests to the GDScript test suite | Hugo Locurcio | |
This also fixes a typo in the `bitwise_float_right_operand.gd` test. | |||
2021-09-15 | Merge pull request #52706 from vnen/gdscript-ternary-operator-crash | Rémi Verschelde | |
GDScript: Show error when missing expression after ternary else | |||
2021-09-15 | GDScript: Show error when missing expression after ternary else | George Marques | |
2021-09-15 | GDScript: Show error on unary operators without argument | George Marques | |
2021-09-15 | GDScript: Allow string keys on Lua-style dictionaries | George Marques | |
Which is useful when the key isn't a valid identifier, such as keys with spaces or numeric keys. | |||
2021-09-14 | Add dozens of new integration tests to the GDScript test suite | Hugo Locurcio | |
This also ignores `.out` files in the file format static checks. | |||
2021-09-13 | Fix GDScript test cases | George Marques | |
2021-09-13 | Merge pull request #52100 from vnen/gdscript-access-outer-constants | Rémi Verschelde | |
GDScript: Allow access to outer constant and enum values | |||
2021-09-13 | Merge pull request #52068 from ThreeRhinosInAnElephantCostume/fixgdscript | Rémi Verschelde | |
Fix parse error on statement-less files with only newlines, add a warning for empty files. | |||
2021-09-11 | Fix error on parsing statement-less GDScript files, | ThreeRhinosInAnElephantCostume | |
add an empty file warning, add relevant tests. | |||
2021-09-10 | GDScript: Removed spurious UNASSIGNED_VARIABLE warning for locals | ZuBsPaCe | |
Variable->assignment needs to be incremented when assigned a value. Also fixed and improved unit test 'variable_declaration.gd'. Fixes #52551 | |||
2021-09-10 | Fix crash with consecutive commas in Dictionary | kobewi | |
2021-09-10 | Merge pull request #52081 from ThreeRhinosInAnElephantCostume/fixmatchfreeze | George Marques | |
Fix gdscript pattern matching expressions | |||
2021-09-03 | Added tests for expression matching | ThreeRhinosInAnElephantCostume | |
2021-08-27 | GDScript test style fix | Max Hilbrunner | |
2021-08-27 | Merge pull request #52090 from balloonpopper/bug52060 | Max Hilbrunner | |
Correct null and boolean values being capitalised by the str command | |||
2021-08-26 | Correct null and boolean values being capitalised by the str command | Balloonpopper | |
2021-08-25 | Fixed crash when parsing an empty assignment. | Louis Dumont | |
Resolves #51620. | |||
2021-08-24 | GDScript: Allow access to outer constant and enum values | George Marques | |
2021-08-18 | GDScript: Fix calling builtin static functions | George Marques | |
2021-08-18 | GDScript: Fix inner classes and preloaded scripts as types | George Marques | |
2021-05-26 | GDScript: Fix function signature check for self calls | George Marques | |
2021-05-24 | Make Callable not crash on call when the object has been freed | George Marques | |
Also add a GDScript test for this case. | |||
2021-04-16 | Rename GDScript test script filenames to use `snake_case` | Andrii Doroshenko (Xrayez) | |
2021-04-08 | Add runner for GDScript testing | George Marques | |
This is meant for testing the GDScript implementation, not for testing user scripts nor testing the engine using scripts. Tests consists in a GDScript file and a .out file with the expected output. The .out file format is: expected status (based on the enum GDScriptTest::TestStatus) on the first line, followed by either an error message or the resulting output. Warnings are added after the first line, before the output (or compiler errors) if the parser pass without any error. The test script must have a function called `test()` which takes no argument. Such function will be called by the test runner. The test should not have any dependency unless it's part of the test too. Global classes (using `class_name`) are registered before the runner starts, so those should work if needed. Use the command `godot --gdscript-generate-tests godot-source/modules/gdscript/tests/scripts` to update the .out files with the current output (make sure the output are the expected values before committing). The tests themselves are part of the doctest suite so those can be executed with `godot --test`. Co-authored-by: Andrii Doroshenko (Xrayez) <xrayez@gmail.com> |