summaryrefslogtreecommitdiff
path: root/modules/gdscript/gd_parser.cpp
AgeCommit message (Collapse)Author
2017-02-04Fix parsing bug which causes range(variable) to crash the enginelonesurvivor
problem was a segmentation fault caused by trying to access Vector constants[0] which isn't there if op->arguments.size() is not bigger than one. - the changed OR condition didn't make sense (always true), should be AND - changes the "constant" variable to be false per default and gets set to true when there is actually something pushed to "constants"
2017-01-20made _ a special token in GDScriptkarroffel
2017-01-16Style: Various fixes to play nice with clang-formatRémi Verschelde
2017-01-15Style: Cosmetic fixes to play nice with clang-formatRémi Verschelde
2017-01-14Compile error when duplicate key in dictionery literal #7034James Mintram
2017-01-14Merge pull request #6845 from karroffel/masterJuan Linietsky
Adds pattern matching to GDScript
2017-01-14Merge pull request #4918 from jjay/f/error_on_redefineJuan Linietsky
Redefine var results in an error
2017-01-14Style: Fix whole-line commented codeRémi Verschelde
They do not play well with clang-format which aligns the `//` part with the rest of the code block, thus producing badly indented commented code.
2017-01-11More efficient iteration syntax, and range() is converted behind the scenes ↵Juan Linietsky
to it.
2017-01-11Merge pull request #6930 from bojidar-bg/gdscript-export-array-hintRémi Verschelde
Allow typing hints for Array class (in GDScript and Inspector)
2017-01-11Both Array and Dictionary are always in shared mode (removed copy on write).Juan Linietsky
2017-01-11pattern matcher: Implemented backendKarroffel
changed comments
2017-01-11pattern matcher: Implemented transformationsKarroffel
2017-01-11pattern matching: implemented parserKarroffel
2017-01-10It is now possible to name layers of different kinds!Juan Linietsky
2017-01-08Fix code completion for new getnode syntaxJuan Linietsky
2017-01-08-Fix bugs related to PoolVector crashesJuan Linietsky
-Added ability to request nodes using $Name in GDScript :)
2017-01-02ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky
Variant. All usages of "type" to refer to classes were renamed to "class" ClassDB has been exposed to GDScript. OBJ_TYPE() macro is now GDCLASS()
2017-01-02Revert expression reduction from #7390Rémi Verschelde
Fixes #7412.
2017-01-02Merge pull request #7390 from bojidar-bg/gdscript-assign-errorRémi Verschelde
Disallow assignment to constants and expressions
2017-01-01Welcome in 2017, dear changelog reader!Rémi Verschelde
That year should bring the long-awaited OpenGL ES 3.0 compatible renderer with state-of-the-art rendering techniques tuned to work as low as middle end handheld devices - without compromising with the possibilities given for higher end desktop games of course. Great times ahead for the Godot community and the gamers that will play our games!
2016-12-29Disallow assignment to constants and expressionsBojidar Marinov
Fixes #6221, fixes #6824
2016-11-11Merge pull request #6802 from henriquelalves/masterRémi Verschelde
Added small modification on gdscript parser to allow users insert '+' before variables
2016-11-03Make GDScript parser ignore floating strings in class definitionBojidar Marinov
Fixes #1320
2016-10-26Allow typing hints for Array class (in GDScript and Inspector/ArrayPropertyEdit)Bojidar Marinov
Closes #3586, by implementing the `1b` variation mentioned there.
2016-10-22Added small modification on parser for '+'Henrique L. Alves
2016-10-13Revert "Add warning when (pre)loading paths with leading / (#4280 - #3106)"Fabio Alessandrelli
Also closes: #6801 This reverts commit e59820ac94b7c9706298d5559608937dfca332e5.
2016-10-11Merge pull request #6694 from bojidar-bg/gdscript-newline-functionsRémi Verschelde
Allow for linebreaks in function calls and definitions and yeild/signal.
2016-10-09Merge pull request #6730 from Faless/fix_export_crash_errorRémi Verschelde
Throw an error when exporting a resource class
2016-10-06Throw an error when exporting a resource classFabio Alessandrelli
"export var tex = Texture" will now throw an error to avoid crashing the editor: "Exported constant not a type or resource" Fixes #6719 . Closes #6729
2016-10-04Add warning when (pre)loading paths with leading / (#4280 - #3106)Fabio Alessandrelli
2016-10-03Allow for linebreaks in function calls and definitions and yeild/signal.Bojidar Marinov
(Plus maybe a few other things)
2016-09-12Do ctrl-click on any code identifier to go to definiton or help page.Juan Linietsky
2016-09-11Merge pull request #6281 from bojidar-bg/gdscript-ternary-operatorJuan Linietsky
Ternary operator in GDScript (a if x else b)
2016-08-27Add enum naming, by assinging a given enum's values to a DictBojidar Marinov
2016-08-27Adds enums to GDScriptBojidar Marinov
Fixes #2966
2016-08-25Ternary operator in GDScript (a if x else b)Bojidar Marinov
Fixes #1961
2016-08-19Brand new networked multiplayerJuan Linietsky
2016-08-06Added yield() signal smart autocompletion.Juan Linietsky
2016-07-22Set proper line into operators when parsing GDScript, fixes #5822Juan Linietsky
2016-07-10Allow semicolon after 'pass' keywordGeorge Marques
2016-07-08Revert removing of function call in gd_parserGeorge Marques
The function call was removed in #5538 because of the unused return value, but the function itself has side effects and the absence of the call was causing crashes.
2016-07-07Removed unused variables (first pass)Rémi Verschelde
Fixes various gcc 5.4.0 warnings for -Wunused-variable and -Wunused-but-set-variable
2016-06-30Only check for constants when parsing constants, should close #5497Juan Linietsky
2016-06-29Ability to put constants in constant expressions, closes #5264Juan Linietsky
2016-06-28Fixed bug related to resolving constants in a class, closes #1110Juan Linietsky
2016-06-24Properly report a valid error instead of reporting as a bug, closes #3841Juan Linietsky
2016-06-11remove unnecesary found bug? print, closes #5028Juan Linietsky
2016-06-11-All variables from script are visible through get_property_list(), not just ↵Juan Linietsky
those with export() -Added PROPERTY_USAGE_SCRIPT_VARIABLE to identify what comes from script -closes #5146
2016-05-30[GDScript] Redefine var results in an errorYakov Borevich
Error rised if redefine - function argument - for-loop argument - local-scope var Affects #3730