summaryrefslogtreecommitdiff
path: root/modules/gdscript
AgeCommit message (Collapse)Author
2022-12-02Fix missing parent class name identifier crashAdam Scott
2022-12-02Merge pull request #69166 from souplamp/icon-annotation-not-workingYuri Sizov
Update docs to clarify `@icon` only works with global script classes
2022-12-01Update docs to mention `@icon` only works with global script classessouplamp
Update the docs to clarify that the `@icon` annotation does not work when only attaching a script to a node, and clarify that the script itself must be a globally accessible script type.
2022-12-01Merge pull request #69423 from KoBeWi/parentureRémi Verschelde
Improve parent signature error
2022-12-01Merge pull request #68481 from dalexeev/gds-fix-dyn-arg-def-valRémi Verschelde
GDScript 2.0: Fix shift due to skip of non-constant default argument values
2022-12-01Improve parent signature errorkobewi
2022-12-01Merge pull request #69303 from Chaosus/gds_fix_loopsRémi Verschelde
Reset unassigned local variables to null in the loops
2022-11-30Merge pull request #69269 from red1939/red1939/masterRémi Verschelde
Acknowledge that a CLASS kind of a DataType might not have an identifier
2022-11-30Acknowledge that a CLASS kind of a DataType might not have an identifierBartosz Bielecki
2022-11-29Use forward-declarations in big editor classestrollodel
2022-11-28Reset unassigned local variables to null in the loopsYuri Rubinsky
2022-11-28Merge pull request #69224 from adamscott/fix-PackedScene-reload_from_fileRémi Verschelde
Add `PackedScene::reload_from_file()` override
2022-11-28Add PackedScene::reload_from_file() overrideAdam Scott
2022-11-28Fix lookup code to pass functions with the same name as built-insYuri Rubinsky
2022-11-28Merge pull request #69259 from adamscott/fix-cyclic-reference-base-issueRémi Verschelde
Fix cyclic reference base being loaded but not valid (which is ok)
2022-11-27Fix cyclic reference base being loaded but not valid (which is ok)Adam Scott
2022-11-27GDScript: Avoid using `get_global_class_native_base`rune-scape
2022-11-25Merge pull request #69079 from adamscott/fix-singleton-scene-cyclic-loadRémi Verschelde
Fix singleton scene cyclic loading
2022-11-25Fix singleton scene cyclic loadingAdam Scott
2022-11-24Merge pull request #69134 from jquinl/export_range_int_fixRémi Verschelde
GDScript: Properly respect `int` type hint for `@export_range`
2022-11-24GDScript: Properly respect `int` type hint for `@export_range`unknown
Fixes #69104. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-11-24Ensure class name is printed in STATIC_CALLED_ON_INSTANCE warningclayjohn
2022-11-24GDScript: Only check if ignoring warnings in debug buildRémi Verschelde
2022-11-23[godot#68977] Fix constants parametersAdam Scott
2022-11-22GDScript: Don't warn about RETURN_VALUE_DISCARDED by defaultRémi Verschelde
This happens too often with normal usage of the API. The warning can still be useful to find actual bugs where discarding the return value wasn't intentional, but this should stay enabled manually, at least until we either improve the API to remove false positives, or improve the warning (e.g. to only warn about unused return value on const functions).
2022-11-22Merge pull request #68970 from Chaosus/gds_fix_lambda_signalRémi Verschelde
Fix using signals in lambda functions
2022-11-22Fix using signals in lambda functionsYuri Rubinsky
2022-11-22Merge pull request #68987 from ↵Rémi Verschelde
adamscott/fix-godot#61386-autoload-scenes-implicit-types Fix autoload scenes implicit types
2022-11-22Merge pull request #68972 from adamscott/fix-godot#68971-cached-sceneRémi Verschelde
Fetch cached scene if it exists in `GDScriptCache::get_packed_scene()`
2022-11-22Merge pull request #68911 from souplamp/return-value-discarded-errorRémi Verschelde
Clarify what happens when return value is discarded in GDScript warning text
2022-11-21[godot#61386] Fix autoload scenes implicit typesAdam Scott
2022-11-21change RETURN_VALUE_DISCARDED GDScript warn textsouplamp
changed RETURN_VALUE_DISCARDED GDscript warning text to mention how the return value of a function is discarded; update GDScript parser warning test to include new warning text.
2022-11-21[godot#68971] Fetch cached scene if it exists in `GDScriptCache`Adam Scott
2022-11-21Fix GDScript completion crashYuri Rubinsky
2022-11-20Merge pull request #68929 from adamscott/add-rename-checkRémi Verschelde
Add `GDScriptCache::move_script` check before executing logic
2022-11-20Merge pull request #68927 from rune-scape/rune-cache-parse-errorRémi Verschelde
GDScript: Cache scripts after parse error
2022-11-20Add move_script check before executing logicAdam Scott
2022-11-20GDScript: Cache scripts after parse errorrune-scape
2022-11-20GDScript: Fix setting to disable all warningsRémi Verschelde
The boolean was never set with the value from the project settings. Fixes #64559.
2022-11-20Fix empty text in editorrune-scape
2022-11-18Remove fix leftover that caused cyclic load issuesAdam Scott
2022-11-18Merge pull request #68854 from anvilfolk/highlight-varRémi Verschelde
Add error highlighting for duplicate variables/constants
2022-11-18Merge pull request #67714 from adamscott/fix-preload-cyclic-references-part2Rémi Verschelde
Fix cyclic references in GDScript 2.0
2022-11-18Fix cyclic references in GDScript 2.0Adam Scott
2022-11-18Add error highlighting for duplicate variables/constantsocean (they/them)
2022-11-17Fix ability to overload "script" variableocean (they/them)
2022-11-16Merge pull request #68717 from rune-scape/rune-compiler-regressionYuri Rubinsky
Fixes https://github.com/godotengine/godot/issues/68716
2022-11-15GDScript Compiler: regression fixRune
2022-11-15Merge pull request #65372 from Mickeon/fix-treat-warnings-as-errorsRémi Verschelde
Fix "Treat Warnings as Errors" Project Setting doing nothing
2022-11-15Merge pull request #68663 from Chaosus/gds_fix_completionYuri Rubinsky