aboutsummaryrefslogtreecommitdiff
path: root/modules/gdscript
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup some #if 0'd codeRémi Verschelde2017-12-171-0/+2
|
* Merge pull request #12845 from remorse107/Array-Dictionary-FixRémi Verschelde2017-12-161-9/+33
|\ | | | | Fix issue #11400. Fixes issue with arrays and dictionary acting as static objects between different instances of objects.
| * Fix issue #11400. Fixes issue with arrays and dictionary acting as static ↵Robert Morse2017-11-171-9/+33
| | | | | | | | objects between different instances of objects.
* | GDScript files are converted to binary on export now.Juan Linietsky2017-12-141-0/+44
| |
* | Scons: Build modules in seperate env.Andreas Haas2017-12-131-1/+4
| |
* | Properly support nested ternary expressionsBojidar Marinov2017-12-111-4/+7
| | | | | | | | Fixes 14324.
* | Style: Re-apply clang-format over recent invalid additionsRémi Verschelde2017-12-101-2/+2
| |
* | Make GDScript parser raise error when exporting ObjectGeorge Marques2017-12-091-0/+4
| |
* | Fixed is_playing funtion (was reporting wrong), closes #13928Juan Linietsky2017-12-071-2/+2
| | | | | | | | Made error reporting to opcode_set in gdscript a bit clearer
* | Style: Apply new clang-format 5.0 style to all filesRémi Verschelde2017-12-075-12/+12
| |
* | Style: Apply clang-format again on all filesRémi Verschelde2017-12-072-8/+7
| | | | | | | | | | Fixes issues introduced by newer clang-format versions or commits pushed directly without using the clang-format pre-commit hook.
* | Made Vector::ptrw explicit for writing, compiler was sometimes using the ↵Juan Linietsky2017-11-252-6/+6
| | | | | | | | | | | | wrong function, leading to unnecesary copy on writes and reduced performance.
* | doc: Update header version for 3.0-betaRémi Verschelde2017-11-243-3/+3
| |
* | Add cartesian to polar conversion functionspablotato2017-11-202-0/+32
| |
* | Allow to extends constant variablesanikoyes2017-11-202-9/+51
| |
* | Merge pull request #11940 from GodotExplorer/debuggerRémi Verschelde2017-11-203-7/+80
|\ \ | | | | | | Enhanced debugger for godot 3.0
| * | Move the remote scene tree to the scene tree dock.Geequlim2017-11-171-4/+17
| | | | | | | | | | | | | | | | | | Ignore all script constants in the global section of the breakpoint stack. Check property size before send to avoid too large of data be sent. Fix crash while clear the remote objects from the debugger.
| * | Abstract some method for script systemgeequlim2017-11-173-6/+66
| |/
* | Merge pull request #12952 from bojidar-bg/12392-export-enumsRémi Verschelde2017-11-201-9/+69
|\ \ | | | | | | Allow exporting enums from GDScript
| * | Allow exporting enums from GDScriptBojidar Marinov2017-11-171-9/+69
| |/ | | | | | | | | Use as `export(E) ...` Closes #12392
* | Merge pull request #12930 from vnen/gdscrit-output-printJuan Linietsky2017-11-171-1/+1
|\ \ | | | | | | Make tool scripts print on the editor Output panel
| * | Add print_error function, akin to print_lineGeorge Marques2017-11-161-1/+1
| |/
* / Rename Rect3 to AABB.Ferenc Arn2017-11-171-5/+5
|/ | | | Fixes #12973.
* GDScript: Refactor "GD" class prefix to "GDScript"Rémi Verschelde2017-11-1617-1176/+1179
|
* Merge pull request #12957 from bojidar-bg/12928-numeric-underscoresRémi Verschelde2017-11-161-1/+4
|\ | | | | Allow underscores in GDScript numeric literals
| * Allow underscores in GDScript numeric literalsBojidar Marinov2017-11-151-1/+4
| | | | | | | | Closes #12928
* | doc: Make all module docs self-containedRémi Verschelde2017-11-154-3/+115
| |
* | doc: Rename "@Global Scope" to "@GlobalScope"Rémi Verschelde2017-11-151-1/+1
| | | | | | | | Spaces in filenames are evil.
* | When script changes, defer tree updating. Fixes #9704Juan Linietsky2017-11-151-2/+3
|/
* Merge pull request #12922 from eska014/engine-singletonsRémi Verschelde2017-11-141-3/+4
|\ | | | | Singleton management changes
| * Move singleton management from ProjectSettings to EngineLeon Krause2017-11-141-3/+4
| |
* | Fixed signal connection dialog ignoring indentation settings when creating a ↵Michael Alexsander Silva Dias2017-11-131-1/+1
|/ | | | function.
* Merge pull request #12627 from Goutte/feat-support-tauRémi Verschelde2017-11-125-0/+18
|\ | | | | Add support for TAU constant.
| * Add support for the TAU constant. Fixes #12094.Goutte2017-11-125-0/+18
| |
* | Fixed help lookup not finding classes, issue 11867Paulb232017-11-111-21/+21
|/
* Make sure we don't leak when an opcode is followed by itselfHein-Pieter van Braam2017-11-091-50/+80
| | | | | | | | | | | | When compiling with GCC it is now possible for an opcode followed by itself to never leave the scope it is currently in. This leads to a situation where the dtor of a scope local variable isn't called which in turn can lead to a memory leak. By moving the goto outside of the scope of each opcode we guarantee that all dtors have been called before the next opcode gets dispatched. this fixes #12401
* Fix crash when guessing type of variable declared to itselfBojidar Marinov2017-11-081-1/+3
| | | | Fixes #10972
* Merge pull request #12035 from Chaosus/wrapfuncRémi Verschelde2017-10-312-0/+24
|\ | | | | Added new Wrap functions for numbers
| * Added new wrap functionsChaosus2017-10-132-0/+24
| |
* | Fix get_node() and $ autocompletion when using single quotesUnknown2017-10-301-2/+2
| |
* | Removes Script::get_node_type()Jerome670002017-10-252-6/+0
| | | | | | | | used before GDScript, with squirrel apparently
* | Merge pull request #12365 from neikeq/pRémi Verschelde2017-10-242-0/+6
|\ \ | | | | | | Add ScriptLanguage::supports_builtin_mode and improve ScriptCreateDialog
| * | Add ScriptLanguage::supports_builtin_mode and improve ScriptCreateDialogIgnacio Etcheverry2017-10-242-0/+6
| |/ | | | | | | | | - Make ScriptCreateDialog disable the built-in script checked button if the language does not support it. - ScriptLanguage's get_template and make_template now receive the script path as class name if the the script language does not have named classes.
* | fix editor crash when missing variable in pattern match dispatchjagt2017-10-241-1/+2
| |
* | Add _process(delta) to new script templates. Closes #11994.mhilbrunner2017-10-221-1/+5
|/
* Add NIL_IS_VARIANT usage to few definitionsRuslan Mustakov2017-10-051-1/+1
| | | | | The missing usage flag led to GDNative API descriptions containting arguments with "void" type.
* Replace a OPCODE_BREAK with break in opcode 31Hein-Pieter van Braam2017-10-011-1/+1
| | | | | This was a mistake made in 520d84e. There are no more other looping structures left in this function.
* Properly allow completion on variable initializer arguments, closes #9359Juan Linietsky2017-09-291-2/+1
|
* Fixed wrong break statement in GDFunction::callScayze2017-09-271-1/+1
|
* Remove several checks on DEBUG_RELEASEHein-Pieter van Braam2017-09-251-4/+13
| | | | | These errors shouldn't be possible on a tested game. Remove the checks on release. Shaves about 10% off of tight loops.