summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript_parser.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge pull request #31893 from bojidar-bg/25081-gdscript-index-selfRémi Verschelde2019-09-021-1/+1
|\ | | | | Re-allow indexing on objects and other non-builtin types
| * Re-allow indexing on "self" and object types in GDScriptBojidar Marinov2019-09-021-1/+1
| | | | | | | | Fixes #25081
* | Merge pull request #31843 from 2shady4u/parserCtrlClickRémi Verschelde2019-09-021-1/+11
|\ \ | | | | | | Solves ctrl+click on functions by ignoring the cursor
| * | Solves ctrl+click on functions by ignoring the cursorshaderbeast2019-09-021-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Obeyed CLANG format rules Obeying CLANG format rules attempt 2 Obeying CLANG format rules attempt 3 Clean up Fixed runaway while loop Removed int initialization
* | | Merge pull request #24925 from Mr-Slurpy/typed-autoloadRémi Verschelde2019-09-021-2/+67
|\ \ \ | |_|/ |/| | Added autoloads as a potential type.
| * | Added autoloads as a potential type.Daniel Eliasinski2019-01-111-2/+67
| | |
* | | Merge pull request #31738 from bojidar-bg/31056-class_name-extendsRémi Verschelde2019-08-291-1/+1
|\ \ \ | | | | | | | | Remove check for class_name and extends order
| * | | Remove check for class_name and extends orderBojidar Marinov2019-08-281-1/+1
| | | | | | | | | | | | | | | | Closes #31056
* | | | Merge pull request #29780 from GodotExplorer/gdscript-lspRémi Verschelde2019-08-281-0/+4
|\ \ \ \ | |/ / / |/| | | Add Language Server Protocol for GDScript
| * | | Add GDScript Language Protocol plugingeequlim2019-08-111-0/+4
| | | |
* | | | Make 'break' and 'continue' be marked as safeMichael Alexsander Silva Dias2019-08-271-2/+4
| | | |
* | | | Improve writing style in GDScript error/warning messagesHugo Locurcio2019-08-231-224/+224
| | | | | | | | | | | | | | | | This uses double quotes everywhere for consistency.
* | | | Replace last occurrences of 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG'Rémi Verschelde2019-08-171-1/+1
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | The last remaining ERR_EXPLAIN call is in FreeType code and makes sense as is (conditionally defines the error message). There are a few ERR_EXPLAINC calls for C-strings where String is not included which can stay as is to avoid adding additional _MSGC macros just for that. Part of #31244.
* | | Merge pull request #31227 from profan/fix/err-explain-usagesRémi Verschelde2019-08-091-10/+4
|\ \ \ | | | | | | | | Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in "platform", "modules/gdnative", "modules/gdscript" directories.
| * | | Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in "platform", ↵Robin Hübner2019-08-091-10/+4
| | |/ | |/| | | | | | | "modules/gdnative", "modules/gdscript" directories.
* / | Expression before 'is' may be nullCameron Reikes2019-08-091-0/+4
|/ /
* | Merge pull request #31041 from 2shady4u/masterRémi Verschelde2019-08-051-0/+1
|\ \ | | | | | | Mark class_name line as safe in editor
| * | Mark class_name line as safe in editorshaderbeast2019-08-021-0/+1
| | |
* | | Merge pull request #30576 from qarmin/lgtm_coverageRémi Verschelde2019-07-201-2/+0
|\ \ \ | | | | | | | | Changed some code reported by LGTM and Coverity
| * | | Changed some code showed in LGTM and Coverageqarmin2019-07-201-2/+0
| |/ /
* / / Fix unreachable code detection in match statementsShiqing2019-07-131-2/+19
|/ /
* | Merge pull request #30352 from bojidar-bg/28727-enum-value-checkRémi Verschelde2019-07-061-0/+3
|\ \ | | | | | | Fix parsing of enums allowing for juxtaposed identifiers
| * | Fix parsing of enums allowing for juxtaposed identifiersBojidar Marinov2019-07-051-0/+3
| | | | | | | | | | | | Fixes #28727
* | | Merge pull request #30289 from bojidar-bg/29586-class-name-constantRémi Verschelde2019-07-031-9/+14
|\ \ \ | | | | | | | | Fix inheriting from class_name messing up constants
| * | | Fix inheriting from class_name messing up constantsBojidar Marinov2019-07-031-9/+14
| |/ / | | | | | | | | | Fixes #29586
* / / Fix parsing of arguments in constant expressionsBojidar Marinov2019-07-031-20/+12
|/ / | | | | | | Fixes #8006
* | Merge pull request #29815 from NilsIrl/plus_file_1Rémi Verschelde2019-07-011-1/+1
|\ \ | | | | | | Replace ` + "/" + ` with `String::file_add()`
| * | Replace ` + "/" + ` with `String::file_add()`Nils ANDRÉ-CHANG2019-06-231-1/+1
| | |
* | | Fixed regression bug caused in #30095 and actually fix the issue it was ↵unknown2019-06-281-19/+7
| | | | | | | | | | | | supposed to fix(#26850)
* | | Merge pull request #29941 from qarmin/redundant_code_and_othersRémi Verschelde2019-06-271-6/+3
|\ \ \ | | | | | | | | Remove redundant code, possible NULL pointers and others
| * | | Some code changed with Clang-Tidyqarmin2019-06-261-6/+3
| |/ /
* / / Fixed parser treating compound assignment the same as assignment which gave ↵unknown2019-06-261-2/+1
|/ / | | | | | | wrong argument usage count
* | Merge pull request #29306 from qarmin/small_code_fixesRémi Verschelde2019-06-121-1/+0
|\ \ | | | | | | Small fixes to unrechable code, possibly overflows, using NULL pointers
| * | Small fixes to unrechable code, possibly overflows, using NULL pointersqarmin2019-06-031-1/+0
| | |
* | | Merge pull request #29678 from akien-mga/err-macros-semicolonRémi Verschelde2019-06-111-1/+1
|\ \ \ | | | | | | | | Fix error macro calls not ending with semicolon
| * | | Fix error macro calls not ending with semicolonRémi Verschelde2019-06-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | It's not necessary, but the vast majority of calls of error macros do have an ending semicolon, so it's best to be consistent. Most WARN_DEPRECATED calls did *not* have a semicolon, but there's no reason for them to be treated differently.
* | | | Added export hint to 2D and 3D physics and render layers.MrCdK2019-06-071-0/+44
|/ / /
* | | Merge pull request #29433 from bojidar-bg/29406-dictionary-constantRémi Verschelde2019-06-031-0/+4
|\ \ \ | | | | | | | | Properly catch certain errors in Dictionary and Array declarations
| * | | Properly catch certain errors in Dictionary declarationsBojidar Marinov2019-06-031-0/+4
| |/ / | | | | | | | | | Fixes #29406
* | | Merge pull request #28099 from lupoDharkael/fix-completionRémi Verschelde2019-06-031-1/+1
|\ \ \ | |/ / |/| | Fix code completion not working with class_name
| * | Don't allow class_name in built-in scriptslupoDharkael2019-04-171-1/+1
| | |
* | | Merge pull request #27987 from lupoDharkael/classname-duplicateRémi Verschelde2019-05-281-1/+7
|\ \ \ | | | | | | | | Prevent using multiple class_name in a class
| * | | Prevent using multiple class_name in a classlupoDharkael2019-04-161-1/+7
| | | |
* | | | Fix parse error when extends from subclass of named classesGeequlim2019-05-241-3/+4
| | | |
* | | | Fix typos with codespellRémi Verschelde2019-05-191-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using codespell 1.15.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang curvelinear doubleclick 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 ```
* | | | Fix typed arrays and dictionaries getting their values sharedBojidar Marinov2019-05-021-29/+16
| | | |
* | | | Merge pull request #27676 from qarmin/small_fixes_2Rémi Verschelde2019-05-011-9/+4
|\ \ \ \ | |_|/ / |/| | | Small fixes to static analyzer bugs
| * | | Small fixes to static analyzer bugsqarmin2019-04-041-9/+4
| | | |
* | | | GDScript: add variable shadowing warninglupoDharkael2019-04-151-0/+16
| |/ / |/| |
* | | Merge pull request #27863 from bojidar-bg/27460-constant-class-clashRémi Verschelde2019-04-121-0/+33
|\ \ \ | | | | | | | | Check subclasses too when checking for name clashes