summaryrefslogtreecommitdiff
path: root/modules/gdscript
AgeCommit message (Collapse)Author
2021-09-21Merge pull request #52906 from vnen/gdscript-show-error-on-yieldRémi Verschelde
2021-09-21Merge pull request #52905 from vnen/gdscript-single-line-declarationRémi Verschelde
2021-09-21GDScript: Show specific error when "yield" is usedGeorge Marques
To help people porting code, it gives a hint to use "await" instead of a generic error.
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-21GDScript: Remove conversion assign mistakenly done when unneededGeorge Marques
2021-09-21Merge pull request #52852 from Chaosus/gds_fix_constantsYuri Roubinsky
Prevent local constant default value from incorrect overriding by a global constant in GDScript autocompletion
2021-09-21Merge pull request #51655 from ↵Rémi Verschelde
RevoluPowered/improve-gdscript-code-editor-performance Improve GDScript Editor performance
2021-09-21Merge pull request #52718 from Calinou/gdscript-add-integration-tests-2Rémi Verschelde
2021-09-21Improve GDScript Editor and Improve latencyGordon MacPherson
Improvements: - GDScript Highlighter is faster by 25% as keys are smaller (hashes instead of strings) - Removes message queue from _apply_settings_change to allow resize to work correctly - Some performance fixes are pending still Note: this resolves the code editor behaving badly when resizing in debug builds
2021-09-21Prevent local constant default value from incorrect override by a globalYuri Roubinsky
2021-09-20Don't generate empty doc sections and reduce code duplicationAaron Franke
2021-09-20LSP: Add support for custom host settingJohn J. Donna II
You can now configure host in the `language_server` settings in the editor settings.
2021-09-17Merge pull request #52792 from vnen/gdscript-subscript-missing-indexRémi Verschelde
2021-09-17Merge pull request #52788 from vnen/gdscript-compare-with-nullRémi Verschelde
2021-09-17GDScript: Properly catch error when missing index in subscriptGeorge Marques
2021-09-17Allow comparing equality between builtin types and nullGeorge Marques
2021-09-17Merge pull request #51671 from RandomShaper/fix_gdscript_crashGeorge Marques
Fix some GDScript bugs
2021-09-17GDScript: Avoid inferred types from giving hard errorsGeorge 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-15Merge pull request #52706 from vnen/gdscript-ternary-operator-crashRémi Verschelde
GDScript: Show error when missing expression after ternary else
2021-09-15Merge pull request #52705 from vnen/gdscript-error-unary-no-argRémi Verschelde
GDScript: Show error on unary operators without argument
2021-09-15GDScript: Show error when missing expression after ternary elseGeorge Marques
2021-09-15Merge pull request #50456 from Blackiris/fix-extends-parent-relativeGeorge Marques
Fix extends with relative path to parent script
2021-09-15GDScript: Show error on unary operators without argumentGeorge Marques
2021-09-15Merge pull request #49765 from ↵George Marques
Blackiris/fix-assignment-with-operator-on-type-member Fix assignment with operator on type member
2021-09-15Merge pull request #52582 from ↵Rémi Verschelde
jmb462/Prevent-non-explicit-inferring-parameter-from-null
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-15Merge pull request #48029 from Calinou/gdscript-add-integration-testsRémi Verschelde
Add dozens of new integration tests to the GDScript test suite
2021-09-14Merge pull request #51094 from RandomShaper/error_cast_freed_objectRémi Verschelde
Complain if casting a freed object in a debug session
2021-09-14Complain if casting a freed object in a debug sessionPedro J. Estébanez
The idea is to give the user a chance to realize a mistake that will cause a crash in a release build (or with no debugger attached).
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-13Fix an undefined behaviourThreeRhinosInAnElephantCostume
2021-09-13Merge pull request #52362 from vnen/gdscript-lambda-completion-crashRémi Verschelde
GDScript: Do not complete lambda arguments from parent class
2021-09-13Merge pull request #52632 from vnen/autoload-global-script-class-conflictRémi Verschelde
Disallow class names to be the same as global names
2021-09-13Merge pull request #52323 from vnen/gdscript-singleton-interdependence-fixRémi Verschelde
Fix loading of interdependent autoloads
2021-09-13Fix GDScript test casesGeorge Marques
2021-09-13Merge pull request #52100 from vnen/gdscript-access-outer-constantsRémi Verschelde
GDScript: Allow access to outer constant and enum values
2021-09-13Merge pull request #52068 from ThreeRhinosInAnElephantCostume/fixgdscriptRémi Verschelde
Fix parse error on statement-less files with only newlines, add a warning for empty files.
2021-09-13Disallow class names to be the same as global namesGeorge Marques
Also forbid autoloads to have the same name as global script class.
2021-09-11Prevent non explicit inferring parameter from nulljmb462
2021-09-11Fix error on parsing statement-less GDScript files,ThreeRhinosInAnElephantCostume
add an empty file warning, add relevant tests.
2021-09-11Avoid crash after a parsing error in GDScriptPedro J. Estébanez
2021-09-11Fix parameter type resolution in GDScriptPedro J. Estébanez
2021-09-11Implement iterator variable typing in GDScriptPedro J. Estébanez
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 #52063 from KoBeWi/double_comma_of_doomGeorge Marques
Fix crash with consecutive commas in Dictionary
2021-09-10Merge pull request #49897 from Blackiris/fix-dollar-point-crash-on-editorGeorge Marques
Fix crash when writing $. in the editor
2021-09-10Merge pull request #51456 from SaracenOne/super_init_fixGeorge Marques
Call _init on base class if one does not exist.
2021-09-10Fix crash with consecutive commas in Dictionarykobewi