aboutsummaryrefslogtreecommitdiff
path: root/modules/gdscript (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug in inner class reference, closes #1411Juan Linietsky2016-07-081-4/+9
| | | | (cherry picked from commit cf6450043d8815c5708644a097e3af85a1b120b6)
* Fixed bug related to resolving constants in a class, closes #1110Juan Linietsky2016-07-081-1/+1
| | | | (cherry picked from commit f4c66408276c5eff471d9e945eb02b36e7c71395)
* Fix extends issue, closes #4026Juan Linietsky2016-07-081-1/+3
| | | | (cherry picked from commit 565bb3afcc207aea6608bb119e21c6833f1b87b3)
* Optimize member access with selfPedro J. Estébanez2016-07-081-3/+11
| | | | | | Let the compiler take the fast path when a member is superfluously accessed with `self.`. (cherry picked from commit d306b9bea57660676f10229dd65fc885e173f268)
* Add "bool" to GDScript reserverd keywordsAndreas Haas2016-06-251-0/+1
| | | | | | Noticed that "bool" wasn't highlighted when used like `export(bool) var is_xy = false` (cherry picked from commit c871cf68012f833d33be9f1c9bcc59dea6a7a030)
* Properly report a valid error instead of reporting as a bug, closes #3841Juan Linietsky2016-06-251-2/+2
| | | | (cherry picked from commit 95e3279d34fd99bf816a19a7c0dc5a2d58e418e6)
* correctly parse floats in scientific notationDennis Brakhane2016-06-251-1/+1
| | | | | | | | | | | | GDScript incorrectly parsed float values in scientific notation when no decimal point was given. "1e-5" was parsed as "15". Fix this by not requiring a decimal point when we found an exponent for the number to be considered a float. Fixes #5267 (cherry picked from commit c246931f030fa434d9494835a565543ab7d61258)
* Fix crash in code completionGeorge Marques2016-06-251-5/+7
| | | | | | Fix #4641 (cherry picked from commit 17b6cebcfe30c796fcbf374ecc9db14066f3744d)
* gdscript tokenizer will dislike use of case, closes #4991Juan Linietsky2016-06-251-2/+3
| | | | (cherry picked from commit ceeb5453a8d8e385de49a5f72b1b395e7ca380e3)
* remove unnecesary found bug? print, closes #5028Juan Linietsky2016-06-251-1/+1
| | | | (cherry picked from commit fea9511bc6be3135ee80f6aef03b4323110826e9)
* Fix Color8 constructor using wrong value rangeGeorge Marques2016-06-051-2/+2
| | | | | | Fix #5015 (cherry picked from commit 43dad78209e76fc37ae8b46ac3a8ffe4a589eb55)
* GDScript: Fix method info for is_nan and is_infRémi Verschelde2016-06-041-2/+2
| | | | | As reported on https://godotengine.org/qa/4114/why-isnan-and-isinf-arent-implemented (cherry picked from commit b58e261d41ba534584f2efc22240624a304b9d1f)
* Subclasses can now extend from other subclasses contained in scripts derived ↵Saracen2016-04-271-1/+16
| | | | | | from relative paths. (cherry picked from commit d643a40f95b7f7392f143f68d970a0db8c61c491)
* Remove trailing spacesRémi Verschelde2016-04-021-5/+5
| | | | (cherry picked from commit 0a5472e697dee57956c2583a50bc5cf5faada5d8)
* remove trailing whitespaceHubert Jarosz2016-04-026-19/+19
| | | | (cherry picked from commit 4a4f2479146aa33e235ed57cde311efda68d3c8f)
* Fix typo in errorest312016-02-271-1/+1
|
* -Change link to new documentationJuan Linietsky2016-02-201-0/+1
| | | | -fixed bug in tilemap collision debug
* Merge pull request #3658 from Hinsbart/doc_joyeventRémi Verschelde2016-02-111-2/+2
|\ | | | | doc: use correct identifiers for InputEventJoystick{Motion, Button}
| * doc: use correct identifier for InputEventJoystick{Motion, Button}hondres2016-02-101-2/+2
| |
* | -Added missing functions to the doc, fixes #3583Juan Linietsky2016-02-091-0/+24
|/
* Merge pull request #3587 from akien-mga/pr-reserved-keyordsRémi Verschelde2016-02-041-1/+1
|\ | | | | Fix missing comma
| * Fix missing commaRémi Verschelde2016-02-041-1/+1
| |
* | Merge pull request #3582 from akien-mga/pr-reserved-keyordsGeorge Marques2016-02-041-28/+35
|\| | | | | Add preload and PI to GDScript reserved keywords
| * Add preload and PI to GDScript reserved keywordsRémi Verschelde2016-02-041-0/+2
| | | | | | I've noticed that gd_tokenizer also has keywords for `switch' and `do', but they seem not to be supported actually (only used in commented code for the shader language), so I don't add them.
| * Reorder reserved words by categoriesRémi Verschelde2016-02-041-28/+33
| | | | | | They were previously kind of sorted with a mix between alphabetical and logical ordering, which made it hard to spot duplicates or missing words.
* | -Added method flags to global constants for scriptJuan Linietsky2016-01-311-0/+1
|/ | | | -Added a new flag METHOD_FLAG_FROM_SCRIPT to get_method_list() flag property. Closes #3489
* Merge pull request #3445 from akien-mga/masterRémi Verschelde2016-01-261-1/+4
|\ | | | | Add missing return for typeof() MethodInfo
| * Add missing return for typeof() MethodInfoRémi Verschelde2016-01-251-1/+4
| |
* | can preload constantshondres2016-01-241-7/+15
| |
* | -remove unnecesary error report, fixes #3361Juan Linietsky2016-01-233-7/+21
| |
* | Removed GDScript "function" keywordFranklin Sobrinho2016-01-131-1/+0
| |
* | Reworked how autoloads are load to make sure identifiers always exist, ↵Juan Linietsky2016-01-131-0/+1
| | | | | | | | please check if this resolves bug #3156
* | -Make Akien happy, fixes #3068Juan Linietsky2016-01-101-1/+1
| | | | | | | | (seems I wrote all the code, then forgot to use the enum...)
* | Added missing onready token nameIgnacio Etcheverry2016-01-071-0/+1
| |
* | Fixed bug with default arguments in gdscript, closes #2024Juan Linietsky2016-01-032-1/+3
| |
* | Added var2bytes and bytes2var to convet any variable to bytes and back. ↵Juan Linietsky2016-01-023-1/+69
| | | | | | | | Closes #2075
* | -Ability to roll-back script-exported properties to their default value on ↵Juan Linietsky2016-01-022-0/+24
| | | | | | | | the script, closes #2128
* | PI is now a built-in constant, fixes #2134Juan Linietsky2016-01-023-1/+11
| |
* | -properly handle newline in \ (line continuation) in gdscript, fixes #2112Juan Linietsky2016-01-022-17/+12
| | | | | | | | -also fix a small crash in export detection with scripts that include themselves
* | Update copyright to 2016 in headersGeorge Marques2016-01-0115-15/+15
| |
* | small fixes to color8Juan Linietsky2015-12-312-2/+2
| |
* | -Added Color8(r8,g8,b8,a8) function as well as .r8,.g8,.b8,.a8 members to ↵Juan Linietsky2015-12-312-0/+36
| | | | | | | | Color, to deal with colors in the 0-255 range. Closes #2345
* | force thread model to single-safe when running editor, fixes #2387Juan Linietsky2015-12-311-0/+1
| |
* | -Changed var2str and str2var in GDScript to use VariantWriter and VariantParserJuan Linietsky2015-12-311-2/+19
| | | | | | | | -It is now finally possible to parse back a variant from text!
* | added missing null checkZher Huei Lee2015-12-301-1/+1
| | | | | | | | for p_func inside _parse_function
* | added missing onready allocation for subclassesZher Huei Lee2015-12-301-0/+2
| | | | | | | | Fixes #3158
* | -add breakpoint statement to ease with debugging, closes #3165reduz2015-12-297-1/+34
| |
* | -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-287-8/+78
| | | | | | | | variables until _ready() is run.