Browse Source

Travis CI: API documentation update at 2015-06-29 19:53:46 UTC.
[ci package]

Commit: https://github.com/urho3d/Urho3D/commit/e8af02f453e851f531fff4d18e56ed1ee05474db

Message: Add double serialization support to Variant, Deserializer/Serializer, XMLElement & JSONValue. Use double to store a Lua object's number attributes. Add editing of double attributes to the editor. Closes #758.

urho3d-travis-ci 10 years ago
parent
commit
3cf39a1389
4 changed files with 53 additions and 1 deletions
  1. 16 0
      Docs/AngelScriptAPI.h
  2. 20 0
      Docs/LuaScriptAPI.dox
  3. 16 0
      Docs/ScriptAPI.dox
  4. 1 1
      Source/Urho3D/.soversion

+ 16 - 0
Docs/AngelScriptAPI.h

@@ -3650,6 +3650,7 @@ bool ReadBool();
 BoundingBox ReadBoundingBox();
 int8 ReadByte();
 Color ReadColor();
+double ReadDouble();
 String ReadFileID();
 float ReadFloat();
 int ReadInt();
@@ -4313,6 +4314,7 @@ bool ReadBool();
 BoundingBox ReadBoundingBox();
 int8 ReadByte();
 Color ReadColor();
+double ReadDouble();
 String ReadFileID();
 float ReadFloat();
 int ReadInt();
@@ -4346,6 +4348,7 @@ bool WriteBool(bool);
 bool WriteBoundingBox(const BoundingBox&);
 bool WriteByte(int8);
 bool WriteColor(const Color&);
+bool WriteDouble(float);
 bool WriteFileID(const String&);
 bool WriteFloat(float);
 bool WriteInt(int);
@@ -4696,6 +4699,7 @@ bool ReadBool();
 BoundingBox ReadBoundingBox();
 int8 ReadByte();
 Color ReadColor();
+double ReadDouble();
 String ReadFileID();
 float ReadFloat();
 int ReadInt();
@@ -5010,6 +5014,7 @@ class JSONValue
 // Methods:
 void AddBool(bool);
 void AddColor(const Color&);
+void AddDouble(double);
 void AddFloat(float);
 void AddInt(int);
 void AddIntRect(const IntRect&);
@@ -5036,6 +5041,8 @@ JSONValue GetChild(uint, JSONValueType = JSON_ANY) const;
 Array<String> GetChildNames() const;
 Color GetColor(const String&) const;
 Color GetColor(uint) const;
+double GetDouble(const String&) const;
+double GetDouble(uint) const;
 float GetFloat(const String&) const;
 float GetFloat(uint) const;
 int GetInt(const String&) const;
@@ -5073,6 +5080,7 @@ Variant GetVectorVariant(const String&) const;
 Variant GetVectorVariant(uint) const;
 void SetBool(const String&, bool);
 void SetColor(const String&, const Color&);
+void SetDouble(const String&, double);
 void SetFloat(const String&, float);
 void SetInt(const String&, int);
 void SetIntRect(const String&, const IntRect&);
@@ -8798,6 +8806,7 @@ bool WriteBool(bool);
 bool WriteBoundingBox(const BoundingBox&);
 bool WriteByte(int8);
 bool WriteColor(const Color&);
+bool WriteDouble(float);
 bool WriteFileID(const String&);
 bool WriteFloat(float);
 bool WriteInt(int);
@@ -10070,6 +10079,7 @@ String SubstringUTF8(uint) const;
 String SubstringUTF8(uint, uint) const;
 bool ToBool() const;
 Color ToColor() const;
+double ToDouble() const;
 float ToFloat() const;
 int ToInt() const;
 IntRect ToIntRect() const;
@@ -11634,6 +11644,7 @@ void FromString(VariantType, const String&);
 void FromString(const String&, const String&);
 bool GetBool() const;
 VectorBuffer GetBuffer() const;
+double GetDouble() const;
 float GetFloat() const;
 int GetInt() const;
 RefCounted GetPtr() const;
@@ -11762,6 +11773,7 @@ bool ReadBool();
 BoundingBox ReadBoundingBox();
 int8 ReadByte();
 Color ReadColor();
+double ReadDouble();
 String ReadFileID();
 float ReadFloat();
 int ReadInt();
@@ -11796,6 +11808,7 @@ bool WriteBool(bool);
 bool WriteBoundingBox(const BoundingBox&);
 bool WriteByte(int8);
 bool WriteColor(const Color&);
+bool WriteDouble(float);
 bool WriteFileID(const String&);
 bool WriteFloat(float);
 bool WriteInt(int);
@@ -12310,6 +12323,7 @@ bool GetBool(const String&) const;
 BoundingBox GetBoundingBox() const;
 XMLElement GetChild(const String& = String ( )) const;
 Color GetColor(const String&) const;
+double GetDouble(const String&) const;
 float GetFloat(const String&) const;
 int GetInt(const String&) const;
 Matrix3 GetMatrix3(const String&) const;
@@ -12343,6 +12357,7 @@ bool SetAttribute(const String&, const String&);
 bool SetBool(const String&, bool);
 bool SetBoundingBox(const BoundingBox&);
 bool SetColor(const String&, const Color&);
+bool SetDouble(const String&, double);
 bool SetFloat(const String&, float);
 bool SetInt(const String&, int);
 bool SetMatrix3(const String&, const Matrix3&);
@@ -13020,6 +13035,7 @@ VAR_PTR,
 VAR_MATRIX3,
 VAR_MATRIX3X4,
 VAR_MATRIX4,
+VAR_DOUBLE,
 };
 
 enum VerticalAlignment

+ 20 - 0
Docs/LuaScriptAPI.dox

@@ -1810,6 +1810,7 @@ Methods:
 - char ReadUByte()
 - bool ReadBool()
 - float ReadFloat()
+- double ReadDouble()
 - IntRect ReadIntRect()
 - IntVector2 ReadIntVector2()
 - Rect ReadRect()
@@ -2066,6 +2067,7 @@ Methods:
 - char ReadUByte()
 - bool ReadBool()
 - float ReadFloat()
+- double ReadDouble()
 - IntRect ReadIntRect()
 - IntVector2 ReadIntVector2()
 - Rect ReadRect()
@@ -2102,6 +2104,7 @@ Methods:
 - bool WriteUByte(char value)
 - bool WriteBool(bool value)
 - bool WriteFloat(float value)
+- bool WriteDouble(double value)
 - bool WriteIntRect(const IntRect& value)
 - bool WriteIntVector2(const IntVector2& value)
 - bool WriteRect(const Rect& value)
@@ -2691,6 +2694,7 @@ Methods:
 - void SetInt(const String name, int value)
 - void SetBool(const String name, bool value)
 - void SetFloat(const String name, float value)
+- void SetDouble(const String name, double value)
 - void SetVector2(const String name, const Vector2& value)
 - void SetVector3(const String name, const Vector3& value)
 - void SetVector4(const String name, const Vector4& value)
@@ -2713,6 +2717,7 @@ Methods:
 - int GetInt(const String name) const
 - bool GetBool(const String name) const
 - float GetFloat(const String name) const
+- double GetDouble(const String name) const
 - Vector2 GetVector2(const String name) const
 - Vector3 GetVector3(const String name) const
 - Vector4 GetVector4(const String name) const
@@ -2735,6 +2740,7 @@ Methods:
 - void AddInt(int value)
 - void AddBool(bool value)
 - void AddFloat(float value)
+- void AddDouble(double value)
 - void AddVector2(const Vector2& value)
 - void AddVector3(const Vector3& value)
 - void AddVector4(const Vector4& value)
@@ -2756,6 +2762,7 @@ Methods:
 - int GetInt(unsigned index) const
 - bool GetBool(unsigned index) const
 - float GetFloat(unsigned index) const
+- double GetDouble(unsigned index) const
 - Vector2 GetVector2(unsigned index) const
 - Vector3 GetVector3(unsigned index) const
 - Vector4 GetVector4(unsigned index) const
@@ -5090,6 +5097,7 @@ Methods:
 - bool WriteUByte(char value)
 - bool WriteBool(bool value)
 - bool WriteFloat(float value)
+- bool WriteDouble(double value)
 - bool WriteIntRect(const IntRect& value)
 - bool WriteIntVector2(const IntVector2& value)
 - bool WriteRect(const Rect& value)
@@ -6385,6 +6393,8 @@ Methods:
 - Variant* new(bool value)
 - Variant(float value) (GC)
 - Variant* new(float value)
+- Variant(double value) (GC)
+- Variant* new(double value)
 - Variant(const Vector2& value) (GC)
 - Variant* new(const Vector2& value)
 - Variant(const Vector3& value) (GC)
@@ -6428,6 +6438,7 @@ Methods:
 - bool operator==(unsigned rhs) const
 - bool operator==(bool rhs) const
 - bool operator==(float rhs) const
+- bool operator==(double rhs) const
 - bool operator==(const Vector2& rhs)
 - bool operator==(const Vector3& rhs) const
 - bool operator==(const Vector4& rhs) const
@@ -6447,6 +6458,7 @@ Methods:
 - void SetStringHash(const StringHash& value)
 - void SetBool(bool value)
 - void SetFloat(float value)
+- void SetDouble(double value)
 - void SetVector2(const Vector2& value)
 - void SetVector3(const Vector3& value)
 - void SetVector4(const Vector4& value)
@@ -6466,6 +6478,7 @@ Methods:
 - StringHash GetStringHash()
 - bool GetBool() const
 - float GetFloat() const
+- double GetDouble() const
 - const Vector2& GetVector2() const
 - const Vector3& GetVector3() const
 - const Vector4& GetVector4() const
@@ -6507,6 +6520,7 @@ Methods:
 - void SetStringHash(const String key, const StringHash& value)
 - void SetBool(const String key, bool value)
 - void SetFloat(const String key, float value)
+- void SetDouble(const String key, double value)
 - void SetVector2(const String key, const Vector2 value)
 - void SetVector3(const String key, const Vector3 value)
 - void SetVector4(const String key, const Vector4 value)
@@ -6527,6 +6541,7 @@ Methods:
 - StringHash GetStringHash(const String key)
 - bool GetBool(const String key)
 - float GetFloat(const String key)
+- double GetDouble(const String key)
 - const Vector2& GetVector2(const String key)
 - const Vector3& GetVector3(const String key)
 - const Vector4& GetVector4(const String key)
@@ -6715,6 +6730,7 @@ Methods:
 - char ReadUByte()
 - bool ReadBool()
 - float ReadFloat()
+- double ReadDouble()
 - IntRect ReadIntRect()
 - IntVector2 ReadIntVector2()
 - Rect ReadRect()
@@ -6751,6 +6767,7 @@ Methods:
 - bool WriteUByte(char value)
 - bool WriteBool(bool value)
 - bool WriteFloat(float value)
+- bool WriteDouble(double value)
 - bool WriteIntRect(const IntRect& value)
 - bool WriteIntVector2(const IntVector2& value)
 - bool WriteRect(const Rect& value)
@@ -6935,6 +6952,7 @@ Methods:
 - bool SetBoundingBox(const BoundingBox& value)
 - bool SetColor(const String name, const Color& value)
 - bool SetFloat(const String name, float value)
+- bool SetDouble(const String name, double value)
 - bool SetUInt(const String name, unsigned value)
 - bool SetInt(const String name, int value)
 - bool SetIntRect(const String name, const IntRect& value)
@@ -6972,6 +6990,7 @@ Methods:
 - BoundingBox GetBoundingBox() const
 - Color GetColor(const String name) const
 - float GetFloat(const String name) const
+- double GetDouble(const String name) const
 - unsigned GetUInt(const String name) const
 - int GetInt(const String name) const
 - IntRect GetIntRect(const String name) const
@@ -7529,6 +7548,7 @@ Properties:
 - int VAR_MATRIX3
 - int VAR_MATRIX3X4
 - int VAR_MATRIX4
+- int VAR_DOUBLE
 - int MAX_VAR_TYPES
 
 ### VertexElement

+ 16 - 0
Docs/ScriptAPI.dox

@@ -5501,6 +5501,7 @@ Methods:
 - BoundingBox ReadBoundingBox()
 - int8 ReadByte()
 - Color ReadColor()
+- double ReadDouble()
 - String ReadFileID()
 - float ReadFloat()
 - int ReadInt()
@@ -6077,6 +6078,7 @@ Methods:
 - BoundingBox ReadBoundingBox()
 - int8 ReadByte()
 - Color ReadColor()
+- double ReadDouble()
 - String ReadFileID()
 - float ReadFloat()
 - int ReadInt()
@@ -6110,6 +6112,7 @@ Methods:
 - bool WriteBoundingBox(const BoundingBox&)
 - bool WriteByte(int8)
 - bool WriteColor(const Color&)
+- bool WriteDouble(float)
 - bool WriteFileID(const String&)
 - bool WriteFloat(float)
 - bool WriteInt(int)
@@ -6391,6 +6394,7 @@ Methods:
 - BoundingBox ReadBoundingBox()
 - int8 ReadByte()
 - Color ReadColor()
+- double ReadDouble()
 - String ReadFileID()
 - float ReadFloat()
 - int ReadInt()
@@ -6648,6 +6652,7 @@ Methods:
 
 - void AddBool(bool)
 - void AddColor(const Color&)
+- void AddDouble(double)
 - void AddFloat(float)
 - void AddInt(int)
 - void AddIntRect(const IntRect&)
@@ -6674,6 +6679,8 @@ Methods:
 - String[]@ GetChildNames() const
 - Color GetColor(const String&) const
 - Color GetColor(uint) const
+- double GetDouble(const String&) const
+- double GetDouble(uint) const
 - float GetFloat(const String&) const
 - float GetFloat(uint) const
 - int GetInt(const String&) const
@@ -6711,6 +6718,7 @@ Methods:
 - Variant GetVectorVariant(uint) const
 - void SetBool(const String&, bool)
 - void SetColor(const String&, const Color&)
+- void SetDouble(const String&, double)
 - void SetFloat(const String&, float)
 - void SetInt(const String&, int)
 - void SetIntRect(const String&, const IntRect&)
@@ -9980,6 +9988,7 @@ Methods:
 - bool WriteBoundingBox(const BoundingBox&)
 - bool WriteByte(int8)
 - bool WriteColor(const Color&)
+- bool WriteDouble(float)
 - bool WriteFileID(const String&)
 - bool WriteFloat(float)
 - bool WriteInt(int)
@@ -11083,6 +11092,7 @@ Methods:
 - String SubstringUTF8(uint, uint) const
 - bool ToBool() const
 - Color ToColor() const
+- double ToDouble() const
 - float ToFloat() const
 - int ToInt() const
 - IntRect ToIntRect() const
@@ -12391,6 +12401,7 @@ Methods:
 - void FromString(const String&, const String&)
 - bool GetBool() const
 - VectorBuffer GetBuffer() const
+- double GetDouble() const
 - float GetFloat() const
 - int GetInt() const
 - RefCounted@ GetPtr() const
@@ -12520,6 +12531,7 @@ Methods:
 - BoundingBox ReadBoundingBox()
 - int8 ReadByte()
 - Color ReadColor()
+- double ReadDouble()
 - String ReadFileID()
 - float ReadFloat()
 - int ReadInt()
@@ -12554,6 +12566,7 @@ Methods:
 - bool WriteBoundingBox(const BoundingBox&)
 - bool WriteByte(int8)
 - bool WriteColor(const Color&)
+- bool WriteDouble(float)
 - bool WriteFileID(const String&)
 - bool WriteFloat(float)
 - bool WriteInt(int)
@@ -13001,6 +13014,7 @@ Methods:
 - BoundingBox GetBoundingBox() const
 - XMLElement GetChild(const String& = String ( )) const
 - Color GetColor(const String&) const
+- double GetDouble(const String&) const
 - float GetFloat(const String&) const
 - int GetInt(const String&) const
 - Matrix3 GetMatrix3(const String&) const
@@ -13034,6 +13048,7 @@ Methods:
 - bool SetBool(const String&, bool)
 - bool SetBoundingBox(const BoundingBox&)
 - bool SetColor(const String&, const Color&)
+- bool SetDouble(const String&, double)
 - bool SetFloat(const String&, float)
 - bool SetInt(const String&, int)
 - bool SetMatrix3(const String&, const Matrix3&)
@@ -13685,6 +13700,7 @@ Properties:
 - VAR_MATRIX3
 - VAR_MATRIX3X4
 - VAR_MATRIX4
+- VAR_DOUBLE
 
 
 ### VerticalAlignment

+ 1 - 1
Source/Urho3D/.soversion

@@ -1 +1 @@
-0.0.115
+0.0.116