From d42117eeb6bad1b39e23feaa3c027711e50fa88f Mon Sep 17 00:00:00 2001 From: J08nY Date: Mon, 13 Jun 2016 19:01:07 +0200 Subject: [PATCH 1/2] Sync classref --- doc/base/classes.xml | 73 ++++++++++++++++++++++++-------------------- 1 file changed, 40 insertions(+), 33 deletions(-) diff --git a/doc/base/classes.xml b/doc/base/classes.xml index 0d8f7eecdd..4e867c9973 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -1829,6 +1829,8 @@ + + Default usage (storage and editor). @@ -2392,7 +2394,35 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -4474,9 +4504,11 @@ + + - + Searches the array in reverse order. Optionally, a start search index can be passed. If negative, the start index is considered relative to the end of the array. @@ -17315,25 +17347,13 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) - + - - - - - - - - - - - - - + @@ -25353,8 +25373,6 @@ This method controls whether the position between two cached points is interpola - - @@ -25579,8 +25597,6 @@ This method controls whether the position between two cached points is interpola - - @@ -25755,8 +25771,6 @@ This method controls whether the position between two cached points is interpola - - @@ -25910,8 +25924,6 @@ This method controls whether the position between two cached points is interpola - - @@ -26336,15 +26348,6 @@ This method controls whether the position between two cached points is interpola Constant to create damped spring joints. - - Constant to set/get the solver bias for a joint. - - - Constant to set/get the maximum speed at which a joint can correct its bodies. - - - Constant to set the maximum force a joint can exert on its bodies. - Set the resting length of the spring joint. The joint will always try to go to back this length when pulled apart. @@ -39140,6 +39143,10 @@ This method controls whether the position between two cached points is interpola + + + + From 7a19e3c6ae360fc278f2eed7b5d402d794b794e3 Mon Sep 17 00:00:00 2001 From: J08nY Date: Mon, 13 Jun 2016 19:08:04 +0200 Subject: [PATCH 2/2] Dictionary: rename param in .has() .has_all() .erase() fixes #5190, param should be named key, not value --- core/variant_call.cpp | 6 +++--- doc/base/classes.xml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/core/variant_call.cpp b/core/variant_call.cpp index 94ab93d55c..ffe05d10d6 100644 --- a/core/variant_call.cpp +++ b/core/variant_call.cpp @@ -1437,9 +1437,9 @@ _VariantCall::addfunc(Variant::m_vtype,Variant::m_ret,_SCS(#m_method),VCALL(m_cl ADDFUNC0(DICTIONARY,INT,Dictionary,size,varray()); ADDFUNC0(DICTIONARY,BOOL,Dictionary,empty,varray()); ADDFUNC0(DICTIONARY,NIL,Dictionary,clear,varray()); - ADDFUNC1(DICTIONARY,BOOL,Dictionary,has,NIL,"value",varray()); - ADDFUNC1(DICTIONARY,BOOL,Dictionary,has_all,ARRAY,"values",varray()); - ADDFUNC1(DICTIONARY,NIL,Dictionary,erase,NIL,"value",varray()); + ADDFUNC1(DICTIONARY,BOOL,Dictionary,has,NIL,"key",varray()); + ADDFUNC1(DICTIONARY,BOOL,Dictionary,has_all,ARRAY,"keys",varray()); + ADDFUNC1(DICTIONARY,NIL,Dictionary,erase,NIL,"key",varray()); ADDFUNC0(DICTIONARY,INT,Dictionary,hash,varray()); ADDFUNC0(DICTIONARY,ARRAY,Dictionary,keys,varray()); ADDFUNC0(DICTIONARY,ARRAY,Dictionary,values,varray()); diff --git a/doc/base/classes.xml b/doc/base/classes.xml index 4e867c9973..e6a4f9646a 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -10440,7 +10440,7 @@ This approximation makes straight segments between each point, then subdivides t - + Erase a dictionary key/value pair by key. @@ -10449,7 +10449,7 @@ This approximation makes straight segments between each point, then subdivides t - + Return true if the dictionary has a given key. @@ -10458,7 +10458,7 @@ This approximation makes straight segments between each point, then subdivides t - + Return true if the dictionary has all of the keys in the given array.