summaryrefslogtreecommitdiff
path: root/modules/gdscript/gdscript_parser.cpp
AgeCommit message (Collapse)Author
2019-08-29Merge pull request #31738 from bojidar-bg/31056-class_name-extendsRémi Verschelde
Remove check for class_name and extends order
2019-08-28Merge pull request #29780 from GodotExplorer/gdscript-lspRémi Verschelde
Add Language Server Protocol for GDScript
2019-08-28Remove check for class_name and extends orderBojidar Marinov
Closes #31056
2019-08-27Make 'break' and 'continue' be marked as safeMichael Alexsander Silva Dias
2019-08-23Improve writing style in GDScript error/warning messagesHugo Locurcio
This uses double quotes everywhere for consistency.
2019-08-17Replace last occurrences of 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG'Rémi Verschelde
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.
2019-08-11Add GDScript Language Protocol plugingeequlim
2019-08-09Merge pull request #31227 from profan/fix/err-explain-usagesRémi Verschelde
Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in "platform", "modules/gdnative", "modules/gdscript" directories.
2019-08-09Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in "platform", ↵Robin Hübner
"modules/gdnative", "modules/gdscript" directories.
2019-08-09Expression before 'is' may be nullCameron Reikes
2019-08-05Merge pull request #31041 from 2shady4u/masterRémi Verschelde
Mark class_name line as safe in editor
2019-08-02Mark class_name line as safe in editorshaderbeast
2019-07-20Merge pull request #30576 from qarmin/lgtm_coverageRémi Verschelde
Changed some code reported by LGTM and Coverity
2019-07-20Changed some code showed in LGTM and Coverageqarmin
2019-07-13Fix unreachable code detection in match statementsShiqing
2019-07-06Merge pull request #30352 from bojidar-bg/28727-enum-value-checkRémi Verschelde
Fix parsing of enums allowing for juxtaposed identifiers
2019-07-05Fix parsing of enums allowing for juxtaposed identifiersBojidar Marinov
Fixes #28727
2019-07-03Merge pull request #30289 from bojidar-bg/29586-class-name-constantRémi Verschelde
Fix inheriting from class_name messing up constants
2019-07-03Fix inheriting from class_name messing up constantsBojidar Marinov
Fixes #29586
2019-07-03Fix parsing of arguments in constant expressionsBojidar Marinov
Fixes #8006
2019-07-01Merge pull request #29815 from NilsIrl/plus_file_1Rémi Verschelde
Replace ` + "/" + ` with `String::file_add()`
2019-06-28Fixed regression bug caused in #30095 and actually fix the issue it was ↵unknown
supposed to fix(#26850)
2019-06-27Merge pull request #29941 from qarmin/redundant_code_and_othersRémi Verschelde
Remove redundant code, possible NULL pointers and others
2019-06-26Fixed parser treating compound assignment the same as assignment which gave ↵unknown
wrong argument usage count
2019-06-26Some code changed with Clang-Tidyqarmin
2019-06-23Replace ` + "/" + ` with `String::file_add()`Nils ANDRÉ-CHANG
2019-06-12Merge pull request #29306 from qarmin/small_code_fixesRémi Verschelde
Small fixes to unrechable code, possibly overflows, using NULL pointers
2019-06-11Merge pull request #29678 from akien-mga/err-macros-semicolonRémi Verschelde
Fix error macro calls not ending with semicolon
2019-06-11Fix error macro calls not ending with semicolonRémi Verschelde
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.
2019-06-07Added export hint to 2D and 3D physics and render layers.MrCdK
2019-06-03Small fixes to unrechable code, possibly overflows, using NULL pointersqarmin
2019-06-03Merge pull request #29433 from bojidar-bg/29406-dictionary-constantRémi Verschelde
Properly catch certain errors in Dictionary and Array declarations
2019-06-03Properly catch certain errors in Dictionary declarationsBojidar Marinov
Fixes #29406
2019-06-03Merge pull request #28099 from lupoDharkael/fix-completionRémi Verschelde
Fix code completion not working with class_name
2019-05-28Merge pull request #27987 from lupoDharkael/classname-duplicateRémi Verschelde
Prevent using multiple class_name in a class
2019-05-24Fix parse error when extends from subclass of named classesGeequlim
2019-05-19Fix typos with codespellRémi Verschelde
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 ```
2019-05-02Fix typed arrays and dictionaries getting their values sharedBojidar Marinov
2019-05-01Merge pull request #27676 from qarmin/small_fixes_2Rémi Verschelde
Small fixes to static analyzer bugs
2019-04-17Don't allow class_name in built-in scriptslupoDharkael
2019-04-16Prevent using multiple class_name in a classlupoDharkael
2019-04-15GDScript: add variable shadowing warninglupoDharkael
2019-04-12Merge pull request #27863 from bojidar-bg/27460-constant-class-clashRémi Verschelde
Check subclasses too when checking for name clashes
2019-04-10GDScript: Don't allow built-in scripts to use class_nameGeorge Marques
2019-04-10Check for subclasses when checking for name clashesBojidar Marinov
Fixes #27460
2019-04-09Style: Apply new changes from clang-format 8.0Rémi Verschelde
It seems to stay compatible with formatting done by clang-format 6.0 and 7.0, so contributors can keep using those versions for now (they will not undo those changes).
2019-04-05Fix -Wimplicit-fallthrough warnings from GCC 8Rémi Verschelde
Adds `FALLTHROUGH` macro to specify when a fallthrough is intentional. Can be replaced by `[[fallthrough]]` if/when we switch to C++17. The warning is now enabled by default for GCC on `extra` warnings level (part of GCC's `-Wextra`). It's not enabled in Clang's `-Wextra` yet, but we could enable it manually once we switch to C++11. There's no equivalent feature in MSVC for now. Fixes #26135.
2019-04-04Small fixes to static analyzer bugsqarmin
2019-04-01Merge pull request #26097 from ↵Rémi Verschelde
danielspaniol/25955-wrong-unreachable-warning-after-returning-from-matchs-wildcard-pattern Fix: Wrong unreachable warning after returning from match's wildcard pattern #25955
2019-03-14Fix duplicated lines in GDScript bytecodeBojidar Marinov
Fixes #26789