summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript_analyzer.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Array/Dictinoary no more reduced to array/dictionary variantThakee Nathees2020-09-111-26/+51
| | | | | | | | | | | | | | | | | | Fix: #41377 Fix: #20436 Fix: #41953
* | | Fix typos with codespellRémi Verschelde2020-09-181-1/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 ```
* | Merge pull request #41709 from ThakeeNathees/dictionary-indexing-bug-fixRémi Verschelde2020-09-081-9/+23
|\ \ | | | | | | Fixed parser error when indexing a dictionary.
| * | fixed parser error when indexing a dictionary.Thakee Nathees2020-09-031-9/+23
| |/ | | | | | | Fix: #41707
* / GDScript: parameter infer type bug fixThakee Nathees2020-09-061-5/+9
|/ | | | Fix: #41772
* Change GDScript compiler to use codegen abstractionGeorge Marques2020-09-011-0/+5
|
* GDScript: Don't mark function parameters as constantGeorge Marques2020-09-011-0/+1
| | | | They can be reassigned as if it were a local variable.
* GDScript: Properly set class inheritance for global classesGeorge Marques2020-09-011-0/+1
|
* GDScript: Fix analysis of singleton dependenciesGeorge Marques2020-09-011-0/+24
| | | | | Sometimes a singleton might depend on another before they are fully compiled so we can't rely on globals in this case.
* GDScript: Don't try to parse constant scripts that aren't validGeorge Marques2020-09-011-41/+48
| | | | Since it's likely that they won't parse correctly.
* GDScript: Show error when there's an inheritance cycleGeorge Marques2020-08-261-1/+14
|
* GDScript: Fix issues when deriving from other scriptsGeorge Marques2020-08-261-3/+6
|
* GDScript: Properly resolve external inner classes from preloadGeorge Marques2020-08-231-2/+20
| | | | | This gets the correct parser and class node when resolving from a full GDScript reference.
* Merge pull request #41238 from MarianoGnu/gdscript-export-resourceGeorge Marques2020-08-231-0/+1
|\ | | | | Fix GdScript Analyzier not detecting Resource subclass correctly
| * Fix GdScript Analyzier not detecting Resource subclass correctlyMariano Suligoy2020-08-131-0/+1
| |
* | GDScript: Make subscript access be properly type checkedGeorge Marques2020-08-191-1/+1
| |
* | GDScript: Check duplicate keys in dictionaries and enumsGeorge Marques2020-08-191-0/+10
| |
* | GDScript: Allow preload() to be used with constant expressionsGeorge Marques2020-08-191-0/+32
| |
* | GDScript: Allow enum values to be set to constant expressionsGeorge Marques2020-08-181-3/+80
| | | | | | | | Also allow them to access previous values wihout referencing the enum.
* | GDScript: Allow supertype objects to be assigned to a subtype variableGeorge Marques2020-08-181-3/+22
| | | | | | | | | | | | It allows `get_node()` to be used with typed variables This is marked as unsafe to warn the user.
* | GDScript: Allow implicit type conversion when constructing variantsGeorge Marques2020-08-181-1/+3
| | | | | | | | | | Incidentally fix error message when no valid constructor is found which was missing an end parenthesis.
* | GDSript: Prevent crash when completing unary operatorsGeorge Marques2020-08-171-0/+6
| |
* | GDScript: Fix wrong argument check for formatting operatorGeorge Marques2020-08-171-1/+1
|/
* Merge pull request #41104 from vnen/gdscript-assignment-tidyGeorge Marques2020-08-121-39/+2
|\ | | | | Tidy up assignment operator check
| * GDScript: Tidy up assignment operator checkGeorge Marques2020-08-081-39/+2
| | | | | | | | | | The operator is already gathered by the parser, no need to do it again in the analyzer.
* | Merge pull request #41055 from snichols/null-callee-fixRémi Verschelde2020-08-111-10/+12
|\ \ | | | | | | Fix crash with null callee
| * | Fixing null callee crash.Stephen Nichols2020-08-051-10/+12
| | |
* | | Merge pull request #40673 from ThakeeNathees/gdscript-op-eval-validationGeorge Marques2020-08-081-1/+13
|\ \ \ | | | | | | | | GDScript operator evaluation validation bug fix
| * | | GDScript operator evaluation validation bug fixThakee Nathees2020-07-241-1/+13
| | | | | | | | | | | | | | | | Fix: #40665
* | | | Merge pull request #40951 from bruvzg/gds_cleanupGeorge Marques2020-08-081-0/+4
|\ \ \ \ | |_|_|/ |/| | | [GDScript] Add static HashMap cleanup.
| * | | [GDScript] Add static HashMap cleanup.bruvzg2020-08-011-0/+4
| | | |
* | | | GDScript: unsafe arithmetic assignment bug fixThakee Nathees2020-08-061-15/+17
| |_|/ |/| | | | | | | | Fix: #41051
* | | Merge pull request #40690 from ↵George Marques2020-08-031-5/+53
|\ \ \ | | | | | | | | | | | | | | | | ThakeeNathees/arithmetic-assign-type-check-bug-fix GDScript arithmetic assignment type check bug fix
| * | | GDScript arithmetic assignment type check bug fixedThakee Nathees2020-07-261-5/+53
| | |/ | |/| | | | | | | Fix: #40686
* | | Fixed tiny grammar issues in error messagesunknown2020-08-031-2/+2
| |/ |/|
* | GDScript: Fix crash caused by inconsistent get_memberLyuma2020-07-291-1/+1
| |
* | GDScript: Fix crash on 'await' completionGeorge Marques2020-07-271-0/+6
| |
* | GDScript: "Object" datatype changed from BUILTIN to NATIVEThakee Nathees2020-07-261-0/+10
|/ | | | Fix: #40656
* Wrap up GDScript 2.0 base implementationGeorge Marques2020-07-221-121/+284
|
* Reintroduce code completionGeorge Marques2020-07-201-0/+14
|
* Added support for enums to be used as types in GDScriptGeorge Marques2020-07-201-89/+214
|
* Add warning checks in GDScript analyzerGeorge Marques2020-07-201-43/+301
| | | | Reenable checking those when validating code.
* Add new GDScript type checkerGeorge Marques2020-07-201-99/+2318
|
* New GDScript tokenizer and parserGeorge Marques2020-07-201-0/+283
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.