summaryrefslogtreecommitdiff
path: root/modules/gdscript/gdscript_analyzer.cpp
AgeCommit message (Collapse)Author
2020-09-18Fix typos with codespellRémi Verschelde
Using codespell 1.17.1. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang curvelinear dof doubleclick fave findn leapyear lod merchantibility nd numer ois ony que seeked synching te uint unselect webp EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ```
2020-09-08Merge pull request #41709 from ThakeeNathees/dictionary-indexing-bug-fixRémi Verschelde
Fixed parser error when indexing a dictionary.
2020-09-06GDScript: parameter infer type bug fixThakee Nathees
Fix: #41772
2020-09-03fixed parser error when indexing a dictionary.Thakee Nathees
Fix: #41707
2020-09-01Change GDScript compiler to use codegen abstractionGeorge Marques
2020-09-01GDScript: Don't mark function parameters as constantGeorge Marques
They can be reassigned as if it were a local variable.
2020-09-01GDScript: Properly set class inheritance for global classesGeorge Marques
2020-09-01GDScript: Fix analysis of singleton dependenciesGeorge Marques
Sometimes a singleton might depend on another before they are fully compiled so we can't rely on globals in this case.
2020-09-01GDScript: Don't try to parse constant scripts that aren't validGeorge Marques
Since it's likely that they won't parse correctly.
2020-08-26GDScript: Show error when there's an inheritance cycleGeorge Marques
2020-08-26GDScript: Fix issues when deriving from other scriptsGeorge Marques
2020-08-23GDScript: Properly resolve external inner classes from preloadGeorge Marques
This gets the correct parser and class node when resolving from a full GDScript reference.
2020-08-23Merge pull request #41238 from MarianoGnu/gdscript-export-resourceGeorge Marques
Fix GdScript Analyzier not detecting Resource subclass correctly
2020-08-19GDScript: Make subscript access be properly type checkedGeorge Marques
2020-08-19GDScript: Check duplicate keys in dictionaries and enumsGeorge Marques
2020-08-19GDScript: Allow preload() to be used with constant expressionsGeorge Marques
2020-08-18GDScript: Allow enum values to be set to constant expressionsGeorge Marques
Also allow them to access previous values wihout referencing the enum.
2020-08-18GDScript: Allow supertype objects to be assigned to a subtype variableGeorge Marques
It allows `get_node()` to be used with typed variables This is marked as unsafe to warn the user.
2020-08-18GDScript: Allow implicit type conversion when constructing variantsGeorge Marques
Incidentally fix error message when no valid constructor is found which was missing an end parenthesis.
2020-08-17GDSript: Prevent crash when completing unary operatorsGeorge Marques
2020-08-17GDScript: Fix wrong argument check for formatting operatorGeorge Marques
2020-08-13Fix GdScript Analyzier not detecting Resource subclass correctlyMariano Suligoy
2020-08-12Merge pull request #41104 from vnen/gdscript-assignment-tidyGeorge Marques
Tidy up assignment operator check
2020-08-11Merge pull request #41055 from snichols/null-callee-fixRémi Verschelde
Fix crash with null callee
2020-08-08Merge pull request #40673 from ThakeeNathees/gdscript-op-eval-validationGeorge Marques
GDScript operator evaluation validation bug fix
2020-08-08Merge pull request #40951 from bruvzg/gds_cleanupGeorge Marques
[GDScript] Add static HashMap cleanup.
2020-08-08GDScript: Tidy up assignment operator checkGeorge Marques
The operator is already gathered by the parser, no need to do it again in the analyzer.
2020-08-06GDScript: unsafe arithmetic assignment bug fixThakee Nathees
Fix: #41051
2020-08-05Fixing null callee crash.Stephen Nichols
2020-08-03Merge pull request #40690 from ↵George Marques
ThakeeNathees/arithmetic-assign-type-check-bug-fix GDScript arithmetic assignment type check bug fix
2020-08-03Fixed tiny grammar issues in error messagesunknown
2020-08-01[GDScript] Add static HashMap cleanup.bruvzg
2020-07-29GDScript: Fix crash caused by inconsistent get_memberLyuma
2020-07-27GDScript: Fix crash on 'await' completionGeorge Marques
2020-07-26GDScript: "Object" datatype changed from BUILTIN to NATIVEThakee Nathees
Fix: #40656
2020-07-26GDScript arithmetic assignment type check bug fixedThakee Nathees
Fix: #40686
2020-07-24GDScript operator evaluation validation bug fixThakee Nathees
Fix: #40665
2020-07-22Wrap up GDScript 2.0 base implementationGeorge Marques
2020-07-20Reintroduce code completionGeorge Marques
2020-07-20Added support for enums to be used as types in GDScriptGeorge Marques
2020-07-20Add warning checks in GDScript analyzerGeorge Marques
Reenable checking those when validating code.
2020-07-20Add new GDScript type checkerGeorge Marques
2020-07-20New GDScript tokenizer and parserGeorge Marques
Sometimes to fix something you have to break it first. This get GDScript mostly working with the new tokenizer and parser but a lot of things isn't working yet. It compiles and it's usable, and that should be enough for now. Don't worry: other huge commits will come after this.