summaryrefslogtreecommitdiffstats
path: root/core/variant_call.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Add Array.front() and Array.back()Kazuo2562016-11-181-0/+4
| |/ |/|
* | adding ipv6Ariel Manzur2016-10-181-0/+5
|/
* Merge pull request #6675 from J08nY/issue-vector3-angle-toRémi Verschelde2016-10-031-0/+2
|\ | | | | | | | | Adds Vector.angle_to(Vector other), fixes #3912 [ci skip]
| * Vector3: added angle_to(Vector3 other)J08nY2016-10-031-0/+2
| |
* | Merge pull request #6304 from razvanc-r/masterRémi Verschelde2016-10-031-2/+2
|\ \ | |/ |/| (Array) .pop_front, .pop_back & .remove return values instead of void
| * (Array) pop_front, pop_back return valuesRăzvan Cosmin Rădulescu2016-09-111-2/+2
| | | | | | | | | | | | | | | | | | | | pop_front, pop_back now return values instead of `void`. Things I didn't know how to properly implement: 1. pop_front & pop_back shows in the help menu Object as return value. I know this is incorrect but if not Object than what? Cause it can't be void. It needs to be a generic type that includes all the Array types
* | Expose Vector2::clamped() to scriptsAndreas Haas2016-09-191-0/+2
|/ | | | | 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 ^^
* Merge pull request #5879 from gau-veldt/subarray_patchJuan Linietsky2016-09-101-0/+2
|\ | | | | Subarray patch
| * Added slicing operation to DVector via DVector.subarray(int start,int end) ↵Gau o fthe Veldt2016-07-231-0/+2
| | | | | | | | | | | | | | | | | | 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.
* | Merge pull request #6352 from hurikhan/fix_release_build_IIRémi Verschelde2016-09-051-2/+2
|\ \ | | | | | | Fix release build. (II)
| * | Fix release build. (II)Mario Schlack2016-09-011-2/+2
| | |
* | | Basic type constants for visual scriptJuan Linietsky2016-09-021-2/+10
|/ /
* | More progress on visual script editingJuan Linietsky2016-08-031-0/+50
| |
* | Merge pull request #5524 from pkowal1982/masterJuan Linietsky2016-07-241-0/+2
|\ \ | |/ |/| Array has(var value) function
| * Array has(var value) functionPawel Kowal2016-07-071-0/+2
| |
* | classref: Fix arg name for is_action_pressed/releasedRémi Verschelde2016-07-081-4/+4
|/ | | | Also position TEXTURE_SPHERE constant properly.
* Make sure builtin types' constants remain in orderGeorge Marques2016-07-051-48/+66
| | | | | | | | 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.
* Expose *Array.invert() to scriptGeorge Marques2016-06-251-0/+14
| | | | Properly solve #4601.
* Add sha256_buffer() function to StringGeorge Marques2016-06-231-0/+2
|
* *Array: added bindings for other DVector methodsJ08nY2016-06-221-7/+42
| | | | | | - affects {RAW,INT,REAL,STRING,VECTOR2,VECTOR3,COLOR}_ARRAY - adds bindings for append(),append_array(),remove(),insert() - broadens #4245
* Merge pull request #5196 from vnen/similarity-code-completionRémi Verschelde2016-06-201-0/+4
|\ | | | | Improve code completion search
| * Add similarity comparison to StringGeorge Marques2016-06-191-0/+4
| | | | | | | | | | Uses the Sorensen-Dice coefficient to calculate similarity. This also adds String.bigrams() as a convenience function needed by the comparison.
* | Property reporty base type when a function fails, fixes #4581 probably also ↵Juan Linietsky2016-06-201-5/+12
|/ | | | closes other issues
* Add sha256 to String and File/FileAccess.Bojidar Marinov2016-06-171-0/+2
| | | | Probably does #4166
* Merge pull request #5192 from J08nY/issue-5190Rémi Verschelde2016-06-151-3/+3
|\ | | | | Dictionary: rename param in .has() .has_all() .erase()
| * Dictionary: rename param in .has() .has_all() .erase()J08nY2016-06-131-3/+3
| | | | | | | | fixes #5190, param should be named key, not value
* | String documentation: .ord_at() returns int not StringJ08nY2016-06-141-1/+1
|/ | | | fixes #5189
* Add 'is_subsequence_of' function to StringGeorge Marques2016-06-121-0/+4
|
* Add 'rfind' function to ArrayGeorge Marques2016-06-101-0/+2
|
* Add 'from' argument to Array.find()George Marques2016-06-101-2/+2
|
* Exposed Image.INTERPOLATE_*J08nY2016-06-071-0/+3
|
* Merge pull request #4977 from SaracenOne/scripting_exposeJuan Linietsky2016-06-061-2/+4
|\ | | | | Expose extra methods and constants to scripts
| * Expose Vector2 abs method to scriptsSaracen2016-06-011-0/+2
| |
| * Expose string 'erase' method to scriptSaracen2016-06-011-2/+2
| |
* | Added Dictionary.values()J08nY2016-06-051-0/+2
| |
* | Added Array.find_last() and Array.count()J08nY2016-06-031-0/+4
|/
* Added possibility to strip left and right to strip_edges (#4594)Mattias Cibien2016-05-111-2/+2
|
* Variant: readd String.ends_with and Dict.has_allRémi Verschelde2016-05-061-0/+4
| | | | Erroneously removed in cfd3efd09785301eed733abe9e46fd89da3ad114.
* export fix_alpha_edgesAriel Manzur2016-05-051-4/+2
|
* string ends_withAlexander Holland2016-04-171-0/+2
|
* dictionary has_allAlexander Holland2016-04-041-0/+2
|
* Removed get() function from many variant typed arrays, fixes #2135Juan Linietsky2016-01-241-7/+7
|
* added a new function to escape properly json, fixes #3282Juan Linietsky2016-01-101-0/+6
|
* Update copyright to 2016 in headersGeorge Marques2016-01-011-1/+1
|
* make popup emit index when id is not definedJuan Linietsky2015-12-121-3/+3
|
* add pop_back/pop_front/push_back/push_front to array, to make it according ↵Juan Linietsky2015-12-121-0/+6
| | | | to doc, fixes #3040
* Add constructor for Image built-in typeFranklin Sobrinho2015-12-061-0/+7
|
* -Display on animation editor which keys are invalid and which tracks are ↵Juan Linietsky2015-12-051-2/+2
| | | | | | unresolved -Added a tool to clean up unresolved tracks and unused keys
* Correct retvals of String::to_ascii() and String::to_utf8()est312015-11-241-2/+2
| | | | | | Both return RawArray, not String. My fault from commit f83f96cb44a5c4f65c6271d0a98606b489adc488.
* -remove Vector2.atan2() replaced by Vector2.angle(), fixes #2260Juan Linietsky2015-11-191-2/+2
|