summaryrefslogtreecommitdiff
path: root/modules/gdscript
AgeCommit message (Collapse)Author
2022-03-31Fix some issues found by clang sanitizers.bruvzg
2022-03-31Fix typos with codespellRémi Verschelde
Using codespell 2.2-dev from current git. Fix a couple incorrect uses of gendered pronouns.
2022-03-30Merge pull request #59694 from vnen/gdscript-better-call-superRémi Verschelde
2022-03-30GDScript: Fix issues with completion and `super` callsGeorge Marques
- Make call errors use the call node instead of the calle, which will be empty on super calls. - Don't allow `super()` to be used within lambdas.
2022-03-30Fix autocompletion of static methods in built-in types in GDScriptYuri Roubinsky
2022-03-28Refactor GDScript/C# script templates logic to be editor-onlyRémi Verschelde
Not a full refactor as it still goes through ScriptLanguage so it's hacky, but at least it can now compile without this.
2022-03-28Merge pull request #59553 from reduz/script-extension-supportRémi Verschelde
2022-03-28Revert "Sort autocomplete/code completion options in a better way"Juan Linietsky
2022-03-28Merge pull request #59612 from YeldhamDev/style_and_graceRémi Verschelde
2022-03-28Merge pull request #58931 from EricEzaM/proposals/4189-better-code-completionRémi Verschelde
Sort autocomplete/code completion options in a better way
2022-03-28Merge pull request #59064 from Chaosus/gds_fix_narrowing_conv_warningRémi Verschelde
Prevent NARROWING_CONVERSION warning for `int(float)` function in GDScript
2022-03-28Make script templates follow the GDScript style guideMichael Alexsander
2022-03-27Add GDExtension support to Scriptreduz
* Ability to create script languages from GDExtension * Some additions to gdnative_extension.h to make this happen * Moved the GDExtension binder to core This now allows creating scripting languages from GDExtension, with the same ease as if it was a module. It replaces the old PluginScript from Godot 3.x. Warning: GodotCPP will need to be updated to support this (it may be a bit of work as ScriptInstance needs to be created over there again).
2022-03-24Improve sorting of Code Completion options.Eric M
Done by ordering options by their location in the code - e.g. local, parent class, global, etc.
2022-03-23Merge pull request #59065 from fabriceci/script-template-condition-too-wideRémi Verschelde
2022-03-23Restrict the condition when checking if a script is a templatefabriceci
2022-03-22Prevent NARROWING_CONVERSION warning for int(float) function in GDScriptYuri Roubinsky
2022-03-22Merge pull request #59056 from Chaosus/gds_fix_extends_crashYuri Rubinsky
2022-03-22Merge pull request #58971 from Chaosus/gds_multiline_annotationYuri Rubinsky
2022-03-21Merge pull request #59194 from Chaosus/gds_export_flags_limit_errorRémi Verschelde
Add an error emitting when the `@export_flags` arg count is exceeded
2022-03-16Add an error emitting when the `@export_flags` arg count is exceededYuri Roubinsky
2022-03-14Fix default value count checking for inherited functionYuri Roubinsky
2022-03-12Prevent crash due to empty error message on empty extends in GDScriptYuri Roubinsky
2022-03-10Allow making multiline annotations in GDScriptYuri Roubinsky
2022-03-09Remove VARIANT_ARG* macrosreduz
* Very old macros from the time Godot was created. * Limited arguments to 5 (then later changed to 8) in many places. * They were replaced by C++11 Variadic Templates. * Renamed methods that take argument pointers to have a "p" suffix. This was used in some places and not in others, so made it standard. * Also added a dereference check for Variant*. Helped catch a couple of bugs.
2022-03-09Fix `VisualShaderNodeCustom` script templateYuri Roubinsky
2022-03-07Merge pull request #58853 from V-Sekai/default-arg-valuesRémi Verschelde
2022-03-07Restore building web platform by enclosing resolve_function_signature.K. S. Ernest (iFire) Lee
2022-03-07Merge pull request #58847 from KoBeWi/editor_settings_messRémi Verschelde
2022-03-06Remove duplicate editor settings definitionskobewi
2022-03-06GDScript: Check if method signature matches the parentGeorge Marques
To guarantee polymorphism, a method signature must be compatible with the parent. This checks if: 1. Return type is the same. 2. The subclass method takes at least the same amount of parameters. 3. The matching parameters have the same type. 4. If the subclass takes more parameters, all of the extra ones have a default value. 5. If the superclass has default values, so must have the subclass. There's a few test cases to ensure this holds up.
2022-03-04Add test cases for accessing parent elements from child classstrank
2022-03-04Merge pull request #56830 from strank/parent-signalsRémi Verschelde
2022-03-04Merge pull request #58185 from V-Sekai/explicit_variant_assignment_fixRémi Verschelde
2022-03-04Merge pull request #58201 from V-Sekai/debugger_localsRémi Verschelde
2022-03-04Merge pull request #58320 from mphe/fix_object_typed_arraysRémi Verschelde
2022-03-04Merge pull request #58250 from V-Sekai/typed_array_fixRémi Verschelde
2022-03-04Merge pull request #58626 from groud/fix_gdscript_analyser_crashRémi Verschelde
2022-03-04Merge pull request #58670 from KoBeWi/internal_debuggerRémi Verschelde
2022-03-03Merge pull request #58262 from Sauermann/fix-range-docMax Hilbrunner
Describe usage of float in range documentation
2022-03-02Fix debugger not opening built-in scriptskobewi
2022-02-28Fix a crash in GDScriptAnalyzer when a script class's file is not foundGilles Roudière
2022-02-23Merge pull request #58244 from V-Sekai/typed_fail_case_returnRémi Verschelde
2022-02-23Merge pull request #58415 from V-Sekai/cyclic_assignment_gdscript_fixesRémi Verschelde
2022-02-22Rename motion_velocity to velocityChris Bradfield
2022-02-22Fixes cyclic detection from variables assigning themselves to themselves in ↵SaracenOne
autocomplete, and restricts initialization of variables from other variables which have not been declared above it in class body
2022-02-19Fix typed arrays for Object based typesMarvin Ewald
Fixes https://github.com/godotengine/godot/issues/53771.
2022-02-18Make 'is_attribute' false during parse error to prevent crashSaracenOne
2022-02-18Describe usage of float in range documentationMarkus Sauermann
2022-02-17Fix using typed arrays based on script classesSaracenOne