aboutsummaryrefslogtreecommitdiff
path: root/core/variant_call.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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-42/+60
| | | | | | | | 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
|
* Implement Quat multiply operator, and xform methodFranklin Sobrinho2015-11-111-0/+2
|
* added floor() and ceil() to Vector3MrGreenTea2015-07-151-10/+8
|
* Added helper methods to InputEventJaguar2015-06-231-0/+4
|
* Added rot/pos constructor for Matrix32 variant.James McLean2015-06-091-0/+7
|
* Add String.to_utf8() and String.to_ascii()est312015-06-041-1/+36
|
* fixed ColorArray constructor when taking array as parameterromulox_x2015-04-271-1/+1
|
* resolved some cases wehre built-in doc is not properlt generated, fixes #1719Juan Linietsky2015-04-221-0/+2
|
* Updated copyright year in all headersJuan Linietsky2015-04-181-1/+1
|
* -Concatenating arrays keeps the shared property if any of the arrays is ↵Juan Linietsky2015-04-071-0/+2
| | | | shared. Fixes #1646
* Fix for InputEvent::set_as_actionAlex Bonfim2015-03-151-5/+5
|
* fix return value of slide and reflectJuan Linietsky2015-02-151-2/+2
| | | | closes #1311
* FixesJuan Linietsky2014-12-201-0/+6
| | | | | | | | -=-=-= -Added missing quaternion constructor -code completion fixes -winrt fixes
* UDP FixesJuan Linietsky2014-11-131-0/+2
| | | | | | | | | | | | | | -=-=-=-=- Curse the day I decided to port UDP code, as it ended up being two nights of work. At least It's done now (I hope). -Fixed UDP Support, API seems stable -Added UDP Chat demo (chat that can lose your packets, heh) -Added helpers to areas and bodies to get list of collided bodies and contained bodies. -Sped up screen/viewport capture code. -Added code to save an image as PNG -Small fix so scripts register their singletons after modules did.