summaryrefslogtreecommitdiff
path: root/modules/gdscript/gd_function.cpp
AgeCommit message (Collapse)Author
2017-03-21Fix random crashes when using yield()Pedro J. Estébanez
2017-03-05A Whole New World (clang-format edition)Rémi Verschelde
I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
2017-03-05Add a bunch of missing Godot headers in own filesRémi Verschelde
2017-02-28 Various fixes detected using PVS-Studio static analyzer.Thaer Razeq
- Add FIXME tags comments to some unfixed potential bugs - Remove some checks (always false: unsigned never < 0) - Fix some if statements based on reviews. - Bunch of missing `else` statements
2017-02-13Remove bounds check when resuming from yield.Hein-Pieter van Braam
The code would get a pointer to the beginning of the call_args by using operator[] at the stack Vector. This does bound checking. When there are no call_args this bound check fails and the error mentioned in #7796 gets triggered. This bound check is actually not necessary as call_args just gets set to NULL and never dereferenced. This new code will just unconditionally set the pointer to the place where the call_args are if there are any. There is no NULL check for call_args anywhere so this is safe. Fixes #7796
2017-02-13Rename the _MD macro to D_METHODHein-Pieter van Braam
This new name also makes its purpose a little clearer This is a step towards fixing #56
2017-01-15Style: Cosmetic fixes to play nice with clang-formatRémi Verschelde
2017-01-11Both Array and Dictionary are always in shared mode (removed copy on write).Juan Linietsky
2017-01-04-GDScript support for accessing properties directlyJuan Linietsky
-Added code lookup and code completion support for properties too
2017-01-02ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky
Variant. All usages of "type" to refer to classes were renamed to "class" ClassDB has been exposed to GDScript. OBJ_TYPE() macro is now GDCLASS()
2016-09-07Renamed the bind_native functions to bind_vararg, should make it show the ↵Juan Linietsky
documentation more clearly and also make it easier to bind to C#
2016-08-19Brand new networked multiplayerJuan Linietsky
2016-08-05Fix #5891 by not expecting the script instance to be a GDInstanceBojidar Marinov
It could be a placeholder instance as well
2016-06-29Warn instad of crashing when class instance is gone after yield. Closes ↵Juan Linietsky
#5247 , probably closes other yield related crashes
2016-06-20Property reporty base type when a function fails, fixes #4581 probably also ↵Juan Linietsky
closes other issues
2016-06-11Made many built-in gdscript functions return more descriptive errors, closes ↵Juan Linietsky
#5150
2016-05-31Some cleanup to GDScriptJuan Linietsky
separated GDFunction (VM) from GDScript in two different files