summaryrefslogtreecommitdiff
path: root/modules/gdscript
AgeCommit message (Collapse)Author
2022-11-29Use forward-declarations in big editor classestrollodel
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
2022-11-14Merge pull request #68657 from Sauermann/fix-redundant-initializationRémi Verschelde
Remove redundant non-trivial Variant types initializations
2022-11-14Fix completion popup for the variables created with `get_node` callYuri Rubinsky
2022-11-14Remove redundant Variant-types initializationsMarkus Sauermann
2022-11-14Merge pull request #65712 from Chaosus/gds_fix_completionRémi Verschelde
fix https://github.com/godotengine/godot/issues/64477
2022-11-13GDScript compiler subclass bugfixesRune
2022-11-08Fix named enums to use int64 typeYuri Rubinsky
2022-11-02Merge pull request #68125 from ↵Rémi Verschelde
kleonc/range-fix-single-arg-optimized-type-mismatch [GDScript] Fix type mismatch in optimized single arg `range`
2022-11-02Merge pull request #68136 from qarmin/projection_not_equalRémi Verschelde
Support for checking that Projection is(not) null
2022-11-02Merge pull request #68040 from adamscott/fix-property-getter-return-typeRémi Verschelde
Fix property getter with custom return type
2022-11-02GDScript Fix type mismatch in optimized single arg `range`kleonc