summaryrefslogtreecommitdiff
path: root/modules/gdscript
AgeCommit message (Collapse)Author
2022-12-12Fix String type compatibility being too permissiverune-scape
2022-12-11Merge pull request #69416 from anvilfolk/default-valRémi Verschelde
Add GDScript implicit type conversion for member variables with initializers
2022-12-11Add GDScript member initializer implicit type conversionocean (they/them)
2022-12-11Merge pull request #66733 from MewPurPur/unary-op-warningsRémi Verschelde
Fix unary op warnings never showing
2022-12-11Merge pull request #69897 from poohcom1/fix/function-return-completionRémi Verschelde
Fix autocomplete on functions returning variants
2022-12-11Fix subscript of preloaded scriptrune-scape
2022-12-11Fix autocomplete on functions returning variantspoohcom1
- When guessing return type, check type hints before last return value
2022-12-10Fix `GDScriptCache::clear()` crash when clearing packed scenesAdam Scott
2022-12-10Merge pull request #69587 from ↵Rémi Verschelde
adamscott/fix-constant-base-typing-in-extended-class Fix constants scope in extended or inner GDScript classes
2022-12-10Remove debug macro for GDScriptLanguage script_listAdam Scott
2022-12-10Fix constant base typing in extended GDScript classAdam Scott
2022-12-10Fix `GDScriptCache` to not remove scripts/scenes individually when clearingAdam Scott
2022-12-10Merge pull request #69518 from rune-scape/rune-analyze-valuesRémi Verschelde
GDScript: Preload should make native type
2022-12-10Merge pull request #69467 from rune-scape/rune-subclass-script-pathRémi Verschelde
GDScript: Fix subclass script path issues
2022-12-09Merge pull request #68747 from rune-scape/rune-stringname-unificationRémi Verschelde
GDScript: Unify StringName and String
2022-12-08Fix autocomplete crash as it would infinite loopAdam Scott
2022-12-07Add missing packed scene cache clear inside `GDScriptCache::clear()`Adam Scott
2022-12-07Fix lookup to docs for variables initialized with `get_node`Yuri Rubinsky
2022-12-06Merge pull request #69506 from adamscott/move-gdscript-uninit-to-finalizeRémi Verschelde
Move GDScript uninitialization to `GDScriptLanguage::finish()`
2022-12-06Move GDScript uninitialization to `GDScriptLanguage::finalize()`Adam Scott
Co-authored-by: Ricardo Buring <ricardo.buring@gmail.com> Co-authored-by: kleonc <9283098+kleonc@users.noreply.github.com>
2022-12-06Merge pull request #69606 from red1939/bug/vscode_crashRémi Verschelde
Keep GDScriptAnalyzer alive for whole parse()
2022-12-06Merge pull request #69639 from Chaosus/gds_fix_completionRémi Verschelde
Fix completion for the raw `get_node` call
2022-12-06Keep GDScriptAnalyzer alive for whole parse()Bartosz Bielecki
Analyzed data is allocated by Parser but kept as a reference in the cache which in turn is held by the Analyzer. If Analyzer goes away Parser is left with a tree of dangling references. Code is analogous to all other usages of Analyzer + Parser pair.
2022-12-06Fix completion for the raw `get_node` callYuri Rubinsky
2022-12-05Unify String and StringNamerune-scape
2022-12-06Fix incomplete shadowing of member properties by parametersDmitrii Maganov
2022-12-04GDScript: preload should make native typerune-scape
2022-12-02Fix missing parent class name identifier crashAdam Scott
2022-12-01GDScript: Fix subclass script path issuesrune-scape
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-12-01Fix unary op warnings never showingVolTer
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>