summaryrefslogtreecommitdiff
path: root/modules/gdscript/gd_parser.cpp
AgeCommit message (Collapse)Author
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-29Finalized DynamicFont implementationJuan Linietsky
-DynamicFont uses Freetype by default -Editor fonts are now scalable thanks to this -Cleaned up documentation browser and added fonts for this
2016-03-09remove trailing whitespaceHubert Jarosz
2016-03-01Revert "Merge pull request #3814 from est31/iterators_for_for"Rémi Verschelde
This reverts commit adf50568890cefb5fc354dbc1b21c4140bb410f9, reversing changes made to ee2bc87c0ef3cc1a432655ff935e60f32977904d.
2016-02-28Use xrange for common "for i in range(...)" use caseest31
Make the parser eliminate a wasteful allocation and initialisation of a possibly large array.
2016-02-24Fix typo in errorest31
2016-01-24can preload constantshondres
2016-01-23-remove unnecesary error report, fixes #3361Juan Linietsky
2016-01-02PI is now a built-in constant, fixes #2134Juan Linietsky
2016-01-01Update copyright to 2016 in headersGeorge Marques
2015-12-30added missing onready allocation for subclassesZher Huei Lee
Fixes #3158
2015-12-29-add breakpoint statement to ease with debugging, closes #3165reduz
2015-12-29-fixed bug with some indent blocks not properly checked, fixes #2570reduz
-added ability to do one-line blocks, such as: if something: print("hello") , to be more python-like
2015-12-28-renamed function get_relative_transform() to ↵reduz
get_relative_transform_to_parent(), makes more sense -fixed newly introduced bug in onready keyword, fixes #3155
2015-12-28- added 'onready' keyword to gdscript. Defers initialization of member ↵reduz
variables until _ready() is run.
2015-12-14Add GDScript export hint for named bit flagseska
Syntax: `export( int, FLAGS, "A Flag", "Another Flag" ) var flags`
2015-12-11Add GDScript export hints for global filesystem and exponential rangeseska
- File in global filesystem: `String, FILE, GLOBAL, "*.png"`, tool scripts only - Directory in global filesystem: `String, DIR, GLOBAL`, tool scripts only - Exponential range: `float, EXP, 50, 150, 2`
2015-11-29GDScript: fixed highlighting of the next line when colon is missingkoalefant
2015-11-12Allow extending from Object in GDScripteska
2015-10-16Add GDScript export hint for real numbers with easing `export(float, EASE)`eska
2015-10-16Add multiline string GDScript export hint `export(String, MULTILINE)`eska
2015-10-16Revert "add flag and multiline hits in GDScript"eska
This reverts commit 7843ec6633625455e689e711aa62e9d8337689fa.
2015-09-02Fixes editor freezecrr0004
2015-08-30detect node and variable assignments in _ready, _init, etc for further code ↵Juan Linietsky
completion
2015-08-25Ability to edit all kinds of arrays from the property editor.Juan Linietsky
Yes, I'm trying to convince you to test the alpha release by adding all these now :)
2015-08-08Merge pull request #2282 from Ovnuniarchos/masterJuan Linietsky
Bitmask editor and some CanvasItem documentation.
2015-08-01add flag and multiline hits in GDScriptGen
`export (flag) var test` for PROPERTY_HINT_ALL_FLAGS `export (multiline) var test` for PROPERTY_HINT_MULTILINE_TEXT
2015-07-20Added FLAGS to int hint to make an int a bitmask on the editor.Ovnuniarchos