summaryrefslogtreecommitdiff
path: root/core/variant_call.cpp
AgeCommit message (Collapse)Author
2016-09-19Expose Vector2::clamped() to scriptsAndreas Haas
Needed this and wondered that there's no built-in function for it. So I wanted to implement it and saw that it's actually already there, just wasn't bound ^^
2016-09-10Merge pull request #5879 from gau-veldt/subarray_patchJuan Linietsky
Subarray patch
2016-09-05Merge pull request #6352 from hurikhan/fix_release_build_IIRémi Verschelde
Fix release build. (II)
2016-09-02Basic type constants for visual scriptJuan Linietsky
2016-09-01Fix release build. (II)Mario Schlack
2016-08-03More progress on visual script editingJuan Linietsky
2016-07-24Merge pull request #5524 from pkowal1982/masterJuan Linietsky
Array has(var value) function
2016-07-23Added slicing operation to DVector via DVector.subarray(int start,int end) ↵Gau o fthe Veldt
method. Negative indices index from the end of the array. Indices are range checked before attempting and return appropriate error when out of range. Binding for RawArray in gdscript to access DVector.subarray() provided. Documentation of RawArray.subarray() in classes.xml provided.
2016-07-08classref: Fix arg name for is_action_pressed/releasedRémi Verschelde
Also position TEXTURE_SPHERE constant properly.
2016-07-07Array has(var value) functionPawel Kowal
2016-07-05Make sure builtin types' constants remain in orderGeorge Marques
This adds a list of constants for VariantCall to make sure the order of register is kept when showing in the editor help and in the documentation. This also remove the sorting of constants from the doctool, so it keeps the natural order in classes.xml.
2016-06-25Expose *Array.invert() to scriptGeorge Marques
Properly solve #4601.
2016-06-23Add sha256_buffer() function to StringGeorge Marques
2016-06-22*Array: added bindings for other DVector methodsJ08nY
- affects {RAW,INT,REAL,STRING,VECTOR2,VECTOR3,COLOR}_ARRAY - adds bindings for append(),append_array(),remove(),insert() - broadens #4245
2016-06-20Merge pull request #5196 from vnen/similarity-code-completionRémi Verschelde
Improve code completion search
2016-06-20Property reporty base type when a function fails, fixes #4581 probably also ↵Juan Linietsky
closes other issues
2016-06-19Add similarity comparison to StringGeorge Marques
Uses the Sorensen-Dice coefficient to calculate similarity. This also adds String.bigrams() as a convenience function needed by the comparison.
2016-06-17Add sha256 to String and File/FileAccess.Bojidar Marinov
Probably does #4166
2016-06-15Merge pull request #5192 from J08nY/issue-5190Rémi Verschelde
Dictionary: rename param in .has() .has_all() .erase()
2016-06-14String documentation: .ord_at() returns int not StringJ08nY
fixes #5189
2016-06-13Dictionary: rename param in .has() .has_all() .erase()J08nY
fixes #5190, param should be named key, not value
2016-06-12Add 'is_subsequence_of' function to StringGeorge Marques
2016-06-10Add 'rfind' function to ArrayGeorge Marques
2016-06-10Add 'from' argument to Array.find()George Marques
2016-06-07Exposed Image.INTERPOLATE_*J08nY
2016-06-06Merge pull request #4977 from SaracenOne/scripting_exposeJuan Linietsky
Expose extra methods and constants to scripts
2016-06-05Added Dictionary.values()J08nY
2016-06-03Added Array.find_last() and Array.count()J08nY
2016-06-01Expose Vector2 abs method to scriptsSaracen
2016-06-01Expose string 'erase' method to scriptSaracen
2016-05-11Added possibility to strip left and right to strip_edges (#4594)Mattias Cibien
2016-05-06Variant: readd String.ends_with and Dict.has_allRémi Verschelde
Erroneously removed in cfd3efd09785301eed733abe9e46fd89da3ad114.
2016-05-05export fix_alpha_edgesAriel Manzur
2016-04-17string ends_withAlexander Holland
2016-04-04dictionary has_allAlexander Holland
2016-01-24Removed get() function from many variant typed arrays, fixes #2135Juan Linietsky
2016-01-10added a new function to escape properly json, fixes #3282Juan Linietsky
2016-01-01Update copyright to 2016 in headersGeorge Marques
2015-12-12make popup emit index when id is not definedJuan Linietsky
2015-12-12add pop_back/pop_front/push_back/push_front to array, to make it according ↵Juan Linietsky
to doc, fixes #3040
2015-12-06Add constructor for Image built-in typeFranklin Sobrinho
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-24Correct retvals of String::to_ascii() and String::to_utf8()est31
Both return RawArray, not String. My fault from commit f83f96cb44a5c4f65c6271d0a98606b489adc488.
2015-11-19-remove Vector2.atan2() replaced by Vector2.angle(), fixes #2260Juan Linietsky
2015-11-11Implement Quat multiply operator, and xform methodFranklin Sobrinho
2015-07-15added floor() and ceil() to Vector3MrGreenTea
2015-06-23Added helper methods to InputEventJaguar
2015-06-09Added rot/pos constructor for Matrix32 variant.James McLean
2015-06-04Add String.to_utf8() and String.to_ascii()est31
2015-04-27fixed ColorArray constructor when taking array as parameterromulox_x