summaryrefslogtreecommitdiff
path: root/modules/gdscript
AgeCommit message (Collapse)Author
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-29-wip on addon editorJuan Linietsky
-fixes instantiable subclasses not working, as reported in #3871
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-28Add xrange builtin functionest31
Also update classes.xml in order to document xrange
2016-02-27Completed the support for plugins! It is not possible to add plugins.Juan Linietsky
Not all APIs are provided yet, please request whathever you are missing. Some example plugins are provided in demos/plugins. Just copy them to a folder in your project named addons/ and then enable them from the project settings. Have fun!
2016-02-24Merge pull request #3812 from est31/masterRémi Verschelde
Fix typo in error
2016-02-24Fix typo in errorest31
2016-02-20-Change link to new documentationJuan Linietsky
-fixed bug in tilemap collision debug
2016-02-11Merge pull request #3658 from Hinsbart/doc_joyeventRémi Verschelde
doc: use correct identifiers for InputEventJoystick{Motion, Button}
2016-02-10doc: use correct identifier for InputEventJoystick{Motion, Button}hondres
2016-02-09-Added missing functions to the doc, fixes #3583Juan Linietsky
2016-02-04Merge pull request #3587 from akien-mga/pr-reserved-keyordsRémi Verschelde
Fix missing comma
2016-02-04Fix missing commaRémi Verschelde
2016-02-04Merge pull request #3582 from akien-mga/pr-reserved-keyordsGeorge Marques
Add preload and PI to GDScript reserved keywords
2016-02-04Add preload and PI to GDScript reserved keywordsRémi Verschelde
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.
2016-02-04Reorder reserved words by categoriesRémi Verschelde
They were previously kind of sorted with a mix between alphabetical and logical ordering, which made it hard to spot duplicates or missing words.
2016-01-31-Added method flags to global constants for scriptJuan Linietsky
-Added a new flag METHOD_FLAG_FROM_SCRIPT to get_method_list() flag property. Closes #3489
2016-01-26Merge pull request #3445 from akien-mga/masterRémi Verschelde
Add missing return for typeof() MethodInfo
2016-01-25Add missing return for typeof() MethodInfoRémi Verschelde
2016-01-24can preload constantshondres
2016-01-23-remove unnecesary error report, fixes #3361Juan Linietsky
2016-01-13Removed GDScript "function" keywordFranklin Sobrinho
2016-01-13Reworked how autoloads are load to make sure identifiers always exist, ↵Juan Linietsky
please check if this resolves bug #3156
2016-01-10-Make Akien happy, fixes #3068Juan Linietsky
(seems I wrote all the code, then forgot to use the enum...)
2016-01-07Added missing onready token nameIgnacio Etcheverry
2016-01-03Fixed bug with default arguments in gdscript, closes #2024Juan Linietsky
2016-01-02Added var2bytes and bytes2var to convet any variable to bytes and back. ↵Juan Linietsky
Closes #2075
2016-01-02-Ability to roll-back script-exported properties to their default value on ↵Juan Linietsky
the script, closes #2128
2016-01-02PI is now a built-in constant, fixes #2134Juan Linietsky
2016-01-02-properly handle newline in \ (line continuation) in gdscript, fixes #2112Juan Linietsky
-also fix a small crash in export detection with scripts that include themselves
2016-01-01Update copyright to 2016 in headersGeorge Marques
2015-12-31small fixes to color8Juan Linietsky
2015-12-31-Added Color8(r8,g8,b8,a8) function as well as .r8,.g8,.b8,.a8 members to ↵Juan Linietsky
Color, to deal with colors in the 0-255 range. Closes #2345
2015-12-31force thread model to single-safe when running editor, fixes #2387Juan Linietsky
2015-12-31-Changed var2str and str2var in GDScript to use VariantWriter and VariantParserJuan Linietsky
-It is now finally possible to parse back a variant from text!
2015-12-30added missing null checkZher Huei Lee
for p_func inside _parse_function
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-28-Added proper code completion for singletonsreduz
2015-12-28Ability to set autoloads as singleton global variablesreduz
2015-12-14Merge pull request #3051 from eska014/add-export-hintsRémi Verschelde
Add GDScript export hints for named bit flags, exponential ranges and global filesystem
2015-12-14Add GDScript export hint for named bit flagseska
Syntax: `export( int, FLAGS, "A Flag", "Another Flag" ) var flags`
2015-12-14replaced :var by :Variant in documentation, fixes #2897Juan Linietsky
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-12-08Merge pull request #2877 from eska014/remove-builtin-aliasesJuan Linietsky
Remove unexpected GDScript aliases for built-in types
2015-12-05-Display on animation editor which keys are invalid and which tracks are ↵Juan Linietsky
unresolved -Added a tool to clean up unresolved tracks and unused keys
2015-11-30Merge pull request #2938 from koalefant/masterRémi Verschelde
Break into GDScript debugger when new() fails