summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gd_parser.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | Disallow assignment to constants and expressionsBojidar Marinov2016-12-291-1/+10
| | | | | | | | | | | | | | | | | | | | Fixes #6221, fixes #6824
* | | | | Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-011-1/+1
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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!
* | | | Merge pull request #6802 from henriquelalves/masterRémi Verschelde2016-11-111-2/+5
|\ \ \ \ | | | | | | | | | | Added small modification on gdscript parser to allow users insert '+' before variables
| * | | | Added small modification on parser for '+'Henrique L. Alves2016-10-221-2/+5
| | | | |
* | | | | Make GDScript parser ignore floating strings in class definitionBojidar Marinov2016-11-031-1/+10
| |/ / / |/| | | | | | | | | | | Fixes #1320
* | | | Revert "Add warning when (pre)loading paths with leading / (#4280 - #3106)"Fabio Alessandrelli2016-10-131-8/+0
|/ / / | | | | | | | | | | | | | | | Also closes: #6801 This reverts commit e59820ac94b7c9706298d5559608937dfca332e5.
* | | Merge pull request #6694 from bojidar-bg/gdscript-newline-functionsRémi Verschelde2016-10-111-2/+30
|\ \ \ | | | | | | | | Allow for linebreaks in function calls and definitions and yeild/signal.
| * | | Allow for linebreaks in function calls and definitions and yeild/signal.Bojidar Marinov2016-10-031-2/+30
| | |/ | |/| | | | | | | (Plus maybe a few other things)
* | | Merge pull request #6730 from Faless/fix_export_crash_errorRémi Verschelde2016-10-091-0/+10
|\ \ \ | | | | | | | | Throw an error when exporting a resource class
| * | | Throw an error when exporting a resource classFabio Alessandrelli2016-10-061-0/+10
| |/ / | | | | | | | | | | | | | | | | | | | | | "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
* / / Add warning when (pre)loading paths with leading / (#4280 - #3106)Fabio Alessandrelli2016-10-041-0/+8
|/ /
* | Do ctrl-click on any code identifier to go to definiton or help page.Juan Linietsky2016-09-121-0/+9
| |
* | Merge pull request #6281 from bojidar-bg/gdscript-ternary-operatorJuan Linietsky2016-09-111-15/+83
|\ \ | | | | | | Ternary operator in GDScript (a if x else b)
| * | Ternary operator in GDScript (a if x else b)Bojidar Marinov2016-08-251-15/+83
| | | | | | | | | | | | Fixes #1961
* | | Add enum naming, by assinging a given enum's values to a DictBojidar Marinov2016-08-271-0/+20
| | |
* | | Adds enums to GDScriptBojidar Marinov2016-08-271-0/+88
|/ / | | | | | | Fixes #2966
* | Brand new networked multiplayerJuan Linietsky2016-08-191-7/+92
| |
* | Added yield() signal smart autocompletion.Juan Linietsky2016-08-061-0/+15
| |
* | Set proper line into operators when parsing GDScript, fixes #5822Juan Linietsky2016-07-221-0/+11
| |
* | Allow semicolon after 'pass' keywordGeorge Marques2016-07-101-0/+4
| |
* | Revert removing of function call in gd_parserGeorge Marques2016-07-081-0/+1
| | | | | | | | | | | | 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.
* | Removed unused variables (first pass)Rémi Verschelde2016-07-071-2/+0
| | | | | | | | Fixes various gcc 5.4.0 warnings for -Wunused-variable and -Wunused-but-set-variable
* | Only check for constants when parsing constants, should close #5497Juan Linietsky2016-06-301-19/+21
| |
* | Ability to put constants in constant expressions, closes #5264Juan Linietsky2016-06-291-0/+9
| |
* | Fixed bug related to resolving constants in a class, closes #1110Juan Linietsky2016-06-281-1/+1
| |
* | Properly report a valid error instead of reporting as a bug, closes #3841Juan Linietsky2016-06-241-2/+2
| |
* | remove unnecesary found bug? print, closes #5028Juan Linietsky2016-06-111-1/+1
| |
* | -All variables from script are visible through get_property_list(), not just ↵Juan Linietsky2016-06-111-0/+4
|/ | | | | | | those with export() -Added PROPERTY_USAGE_SCRIPT_VARIABLE to identify what comes from script -closes #5146
* Finalized DynamicFont implementationJuan Linietsky2016-05-291-1/+1
| | | | | | -DynamicFont uses Freetype by default -Editor fonts are now scalable thanks to this -Cleaned up documentation browser and added fonts for this
* remove trailing whitespaceHubert Jarosz2016-03-091-1/+1
|
* Revert "Merge pull request #3814 from est31/iterators_for_for"Rémi Verschelde2016-03-011-14/+0
| | | | | This reverts commit adf50568890cefb5fc354dbc1b21c4140bb410f9, reversing changes made to ee2bc87c0ef3cc1a432655ff935e60f32977904d.
* Use xrange for common "for i in range(...)" use caseest312016-02-281-0/+14
| | | | | Make the parser eliminate a wasteful allocation and initialisation of a possibly large array.
* Fix typo in errorest312016-02-241-1/+1
|
* can preload constantshondres2016-01-241-7/+15
|
* -remove unnecesary error report, fixes #3361Juan Linietsky2016-01-231-0/+5
|
* PI is now a built-in constant, fixes #2134Juan Linietsky2016-01-021-0/+7
|
* Update copyright to 2016 in headersGeorge Marques2016-01-011-1/+1
|
* added missing onready allocation for subclassesZher Huei Lee2015-12-301-0/+2
| | | | Fixes #3158
* -add breakpoint statement to ease with debugging, closes #3165reduz2015-12-291-0/+11
|
* -fixed bug with some indent blocks not properly checked, fixes #2570reduz2015-12-291-4/+16
| | | | -added ability to do one-line blocks, such as: if something: print("hello") , to be more python-like
* -renamed function get_relative_transform() to ↵reduz2015-12-281-6/+2
| | | | | | get_relative_transform_to_parent(), makes more sense -fixed newly introduced bug in onready keyword, fixes #3155
* - added 'onready' keyword to gdscript. Defers initialization of member ↵reduz2015-12-281-2/+43
| | | | variables until _ready() is run.
* Add GDScript export hint for named bit flagseska2015-12-141-2/+40
| | | | Syntax: `export( int, FLAGS, "A Flag", "Another Flag" ) var flags`
* Add GDScript export hints for global filesystem and exponential rangeseska2015-12-111-6/+66
| | | | | | - 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`
* GDScript: fixed highlighting of the next line when colon is missingkoalefant2015-11-291-2/+4
|
* Allow extending from Object in GDScripteska2015-11-121-1/+7
|
* Add GDScript export hint for real numbers with easing `export(float, EASE)`eska2015-10-161-0/+10
|
* Add multiline string GDScript export hint `export(String, MULTILINE)`eska2015-10-161-0/+11
|
* Revert "add flag and multiline hits in GDScript"eska2015-10-161-16/+9
| | | | This reverts commit 7843ec6633625455e689e711aa62e9d8337689fa.
* Fixes editor freezecrr00042015-09-021-1/+5
|