summaryrefslogtreecommitdiff
path: root/modules/gdscript
AgeCommit message (Collapse)Author
2022-12-23Merge pull request #69991 from rune-scape/cast-typeRémi Verschelde
GDScript: Fix cast producing null
2022-12-23Merge pull request #70220 from adamscott/fix-external-enumRémi Verschelde
Fix external enums not assignable as constants
2022-12-22Merge pull request #70440 from rune-scape/null-againRémi Verschelde
Fix GDScript analyzer null literal
2022-12-22Merge pull request #70138 from anvilfolk/signalsRémi Verschelde
Add MethodInfo to signal datatype
2022-12-22Fix GDScript analyzer null literalrune-scape
2022-12-22Remove unused code paragraph from gdscript_editor.cpp/complete_codeYuri Rubinsky
2022-12-21Add MethodInfo to signal datatypeocean (they/them)
2022-12-20Unify GDScriptAnalyzer in-editor and runtime autoload checksocean (they/them)
2022-12-19Add a note for `inst_to_dict` to prevent using it on built-in instancesYuri Rubinsky
2022-12-19Merge pull request #70275 from rune-scape/autoload-subscript-regressionRémi Verschelde
Fix autoload subscript regression
2022-12-18Fix autoload subscript regressionrune-scape
2022-12-18Merge pull request #70237 from ↵Rémi Verschelde
quentinguidee/refactor/fix-comma-instead-of-semicolon Fix use of comma instead of semicolon
2022-12-17Fix use of comma instead of semicolonQuentin Guidée
Signed-off-by: Quentin Guidée <quentin.guidee@gmail.com>
2022-12-17Fix external enums not assignable as constantsAdam Scott
- Add external enums test - Rename external inner class test - Clean up `GDScriptAnalyzer::reduce_identifier_from_base` class behavior
2022-12-17Fix outer class lookupAdam Scott
2022-12-17Fix inner class constant assignmentAdam Scott
2022-12-17Merge pull request #70000 from rune-scape/find-more-classesRémi Verschelde
GDScript: Fix built-in script `find_class` bugs
2022-12-16Fix enum value regressionrune-scape
2022-12-16Merge pull request #70131 from rune-scape/preload-type-regressionRémi Verschelde
Fix preload type regression
2022-12-16Fixed GDScript crashed when two consecutive unary operators are analysedstmSi
2022-12-15Fix preload type regressionrune-scape
2022-12-15GDScript: Fix built-in script and other `find_class` bugsrune-scape
2022-12-15Fix `GDScript::_get_gdscript_from_variant()` crashAdam Scott
The crash would happen, theoretically, when getting the type of a invalid variant.
2022-12-15Merge pull request #69471 from rune-scape/rune-out-of-orderRémi Verschelde
GDScript: Out of order member resolution
2022-12-14GDScript: Allow out of order member resolutionrune-scape
2022-12-12GDScript: Fix cast producing nullrune-scape
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