summaryrefslogtreecommitdiff
path: root/modules/gdscript
AgeCommit message (Collapse)Author
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-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
2021-09-10Merge pull request #51593 from KoBeWi/ifGeorge Marques
Prevent crash when awaiting in a getter/setter
2021-09-10Merge pull request #52081 from ThreeRhinosInAnElephantCostume/fixmatchfreezeGeorge Marques
Fix gdscript pattern matching expressions
2021-09-07Merge pull request #52267 from williamd67/lookup-symbol-builtin-functionsMax Hilbrunner
Show help for built-in functions (@GlobalScope)
2021-09-07[Net] Move multiplayer to core subdir, split RPCManager.Fabio Alessandrelli
Move multiplayer classes to "core/multiplayer" subdir. Move the RPCConfig and enums (TransferMode, RPCMode) to a separate file (multiplayer.h), and bind them to the global namespace. Move the RPC handling code to its own class (RPCManager). Renames "get_rpc_sender_id" to "get_remote_sender_id".
2021-09-05Fix extends with relative path to parent scriptJulien Nguyen
2021-09-03Merge pull request #52329 from ↵Max Hilbrunner
ZuBsPaCe/gdscript-unused-private-class-variable-fix GDScript: Fix for UNUSED_PRIVATE_CLASS_VARIABLE
2021-09-03GDScript: Count usages of member variables.ZuBsPaCe
Otherwise private member variables will always lead to UNUSED_PRIVATE_CLASS_VARIABLE.
2021-09-03Added tests for expression matchingThreeRhinosInAnElephantCostume
2021-09-02GDScript: Do not complete lambda arguments from parent classGeorge Marques
Since lambdas are not overriding methods from the parent class, they should not try to check inheritance for signature matching.
2021-09-02Check for GDScript member and class naming conflicts in a variety of conditions.SaracenOne
2021-09-01GDScript: Fix loading of interdependent autoloadsGeorge Marques
Move the autoload resolution to runtime by loading it into the stack with an extra instruction. This allows an autoload to use another autoload singleton independent of load order.
2021-08-30Merge pull request #52240 from Rubonnek/rename-rel-pathJuan Linietsky
Rename `String::is_rel_path` to `String::is_relative_path`
2021-08-30Show help for built-in functions (@GlobalScope)William Deurwaarder
2021-08-29Rename String::is_rel_path to String::is_relative_pathWilson E. Alvarez