Revert "[Tizen] Remove multiple ..."
authordongsug.song <dongsug.song@samsung.com>
Wed, 5 Jul 2017 04:49:23 +0000 (13:49 +0900)
committerdongsug.song <dongsug.song@samsung.com>
Wed, 5 Jul 2017 04:49:26 +0000 (13:49 +0900)
This reverts commit 43b133e624da5516a796b1225c61d1ce269c5c88.

Change-Id: Iff7f54fc174cccf97e24d010ce987b11f119779b

39 files changed:
src/Tizen.NUI/Tizen.NUI.csproj [changed mode: 0755->0644]
src/Tizen.NUI/src/internal/Alignment.cs
src/Tizen.NUI/src/internal/GaussianBlurView.cs
src/Tizen.NUI/src/internal/ItemView.cs
src/Tizen.NUI/src/internal/Model3dView.cs
src/Tizen.NUI/src/internal/PageTurnLandscapeView.cs
src/Tizen.NUI/src/internal/PageTurnPortraitView.cs
src/Tizen.NUI/src/internal/PageTurnView.cs
src/Tizen.NUI/src/public/AlphaFunction.cs
src/Tizen.NUI/src/public/BaseComponents/Scrollable.cs
src/Tizen.NUI/src/public/BaseComponents/TableView.cs
src/Tizen.NUI/src/public/Color.cs
src/Tizen.NUI/src/public/Degree.cs
src/Tizen.NUI/src/public/Gesture.cs
src/Tizen.NUI/src/public/Hover.cs
src/Tizen.NUI/src/public/Key.cs
src/Tizen.NUI/src/public/Position.cs
src/Tizen.NUI/src/public/Position2D.cs
src/Tizen.NUI/src/public/Property.cs
src/Tizen.NUI/src/public/Radian.cs
src/Tizen.NUI/src/public/Rectangle.cs
src/Tizen.NUI/src/public/RelativeVector2.cs
src/Tizen.NUI/src/public/RelativeVector3.cs
src/Tizen.NUI/src/public/RelativeVector4.cs
src/Tizen.NUI/src/public/RelayoutContainer.cs
src/Tizen.NUI/src/public/Rotation.cs
src/Tizen.NUI/src/public/Size2D.cs
src/Tizen.NUI/src/public/UIComponents/Button.cs
src/Tizen.NUI/src/public/UIComponents/Popup.cs
src/Tizen.NUI/src/public/UIComponents/ProgressBar.cs
src/Tizen.NUI/src/public/UIComponents/RadioButton.cs
src/Tizen.NUI/src/public/UIComponents/ScrollView.cs
src/Tizen.NUI/src/public/UIComponents/Slider.cs
src/Tizen.NUI/src/public/UIComponents/ToggleButton.cs
src/Tizen.NUI/src/public/Vector2.cs
src/Tizen.NUI/src/public/Vector3.cs
src/Tizen.NUI/src/public/Vector4.cs
src/Tizen.NUI/src/public/ViewWrapper.cs
src/Tizen.NUI/src/public/Wheel.cs

old mode 100755 (executable)
new mode 100644 (file)
index aa92fed..f19a3e8
   <PropertyGroup>
     <TargetFramework>netstandard1.6</TargetFramework>
     <DefineConstants>$(DefineConstants);DEBUG_ON;DOT_NET_CORE</DefineConstants>
-    <AllowUnsafeBlocks>True</AllowUnsafeBlocks>
-    <SignAssembly>True</SignAssembly>
+    <SignAssembly>False</SignAssembly>
     <AssemblyOriginatorKeyFile>TizenTVNUI.snk</AssemblyOriginatorKeyFile>
-    <PublicSign Condition="'$(OS)' != 'Windows_NT'">true</PublicSign>
   </PropertyGroup>
 
   <ItemGroup>
index f4210e6..60bd41e 100755 (executable)
@@ -63,6 +63,10 @@ namespace Tizen.NUI
             //Release your own unmanaged resources here.
             //You should not access any managed member here except static instance.
             //because the execution order of Finalizes is non-deterministic.
+
+            //Unreference this from if a static instance refer to this. 
+            ViewRegistry.UnregisterView(this);
+
             if (swigCPtr.Handle != global::System.IntPtr.Zero)
             {
                 if (swigCMemOwn)
index 82eeee4..3eb587a 100755 (executable)
@@ -67,6 +67,10 @@ namespace Tizen.NUI
             //Release your own unmanaged resources here.
             //You should not access any managed member here except static instance.
             //because the execution order of Finalizes is non-deterministic.
+
+            //Unreference this from if a static instance refer to this. 
+            ViewRegistry.UnregisterView(this);
+
             if (swigCPtr.Handle != global::System.IntPtr.Zero)
             {
                 if (swigCMemOwn)
index a708faa..b89d326 100755 (executable)
@@ -65,6 +65,10 @@ namespace Tizen.NUI
             //Release your own unmanaged resources here.
             //You should not access any managed member here except static instance.
             //because the execution order of Finalizes is non-deterministic.
+
+            //Unreference this from if a static instance refer to this.
+            ViewRegistry.UnregisterView(this);
+
             if (swigCPtr.Handle != global::System.IntPtr.Zero)
             {
                 if (swigCMemOwn)
index c2c8f71..f43f6df 100755 (executable)
@@ -63,6 +63,10 @@ namespace Tizen.NUI
             //Release your own unmanaged resources here.
             //You should not access any managed member here except static instance.
             //because the execution order of Finalizes is non-deterministic.
+
+            //Unreference this from if a static instance refer to this. 
+            ViewRegistry.UnregisterView(this);
+
             if (swigCPtr.Handle != global::System.IntPtr.Zero)
             {
                 if (swigCMemOwn)
index 500aeee..f72cb36 100755 (executable)
@@ -59,6 +59,10 @@ namespace Tizen.NUI
             //Release your own unmanaged resources here.
             //You should not access any managed member here except static instance.
             //because the execution order of Finalizes is non-deterministic.
+
+            //Unreference this from if a static instance refer to this. 
+            ViewRegistry.UnregisterView(this);
+
             if (swigCPtr.Handle != global::System.IntPtr.Zero)
             {
                 if (swigCMemOwn)
index be63755..c839ad1 100755 (executable)
@@ -59,6 +59,10 @@ namespace Tizen.NUI
             //Release your own unmanaged resources here.
             //You should not access any managed member here except static instance.
             //because the execution order of Finalizes is non-deterministic.
+
+            //Unreference this from if a static instance refer to this. 
+            ViewRegistry.UnregisterView(this);
+
             if (swigCPtr.Handle != global::System.IntPtr.Zero)
             {
                 if (swigCMemOwn)
index f8e2f07..a7867e0 100755 (executable)
@@ -49,6 +49,10 @@ namespace Tizen.NUI
             //Release your own unmanaged resources here.
             //You should not access any managed member here except static instance.
             //because the execution order of Finalizes is non-deterministic.
+
+            //Unreference this from if a static instance refer to this. 
+            ViewRegistry.UnregisterView(this);
+
             if (swigCPtr.Handle != global::System.IntPtr.Zero)
             {
                 if (swigCMemOwn)
index ed35633..834d163 100755 (executable)
@@ -40,6 +40,8 @@ namespace Tizen.NUI
             return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
         }
 
+        //NUI Dispose Pattern written by Jinwoo Nam(jjw.nam)
+
         //A Flag to check who called Dispose(). (By User or DisposeQueue)
         private bool isDisposeQueued = false;
         //A Flat to check if it is already disposed.
index 4c79ea4..4f747aa 100755 (executable)
@@ -48,6 +48,10 @@ namespace Tizen.NUI.BaseComponents
             //Release your own unmanaged resources here.
             //You should not access any managed member here except static instance.
             //because the execution order of Finalizes is non-deterministic.
+
+            //Unreference this from if a static instance refer to this.
+            ViewRegistry.UnregisterView(this);
+
             if (swigCPtr.Handle != global::System.IntPtr.Zero)
             {
                 if (swigCMemOwn)
index 3077fb6..432cf86 100755 (executable)
@@ -118,6 +118,8 @@ namespace Tizen.NUI.BaseComponents
                 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
             }
 
+            //NUI Dispose Pattern written by Jinwoo Nam(jjw.nam) 
+
             //A Flag to check who called Dispose(). (By User or DisposeQueue)
             private bool isDisposeQueued = false;
             //A Flat to check if it is already disposed.
index e2fae00..9170658 100755 (executable)
@@ -40,6 +40,8 @@ namespace Tizen.NUI
             return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
         }
 
+        //NUI Dispose Pattern written by Jinwoo Nam(jjw.nam)
+
         //A Flag to check who called Dispose(). (By User or DisposeQueue)
         private bool isDisposeQueued = false;
         //A Flat to check if it is already disposed.
index 6e7e6d8..fcebba7 100755 (executable)
@@ -31,11 +31,13 @@ namespace Tizen.NUI
             return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
         }
 
+        //NUI Dispose Pattern written by Jinwoo Nam(jjw.nam) 
+
         //A Flag to check who called Dispose(). (By User or DisposeQueue)
         private bool isDisposeQueued = false;
         //A Flat to check if it is already disposed.
         protected bool disposed = false;
-
+        
         ~Degree()
         {
             if(!isDisposeQueued)
index 4a337f3..7a5c1a8 100755 (executable)
@@ -32,6 +32,8 @@ namespace Tizen.NUI
             return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
         }
 
+        //NUI Dispose Pattern written by Jinwoo Nam(jjw.nam)
+
         //A Flag to check who called Dispose(). (By User or DisposeQueue)
         private bool isDisposeQueued = false;
         //A Flat to check if it is already disposed.
index a67db81..dfd6d92 100755 (executable)
@@ -32,6 +32,8 @@ namespace Tizen.NUI
             return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
         }
 
+        //NUI Dispose Pattern written by Jinwoo Nam(jjw.nam) 
+
         //A Flag to check who called Dispose(). (By User or DisposeQueue)
         private bool isDisposeQueued = false;
         //A Flat to check if it is already disposed.
index 66cc141..4c00e12 100755 (executable)
@@ -30,6 +30,8 @@ namespace Tizen.NUI
             return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
         }
 
+        //NUI Dispose Pattern written by Jinwoo Nam(jjw.nam) 
+
         //A Flag to check who called Dispose(). (By User or DisposeQueue)
         private bool isDisposeQueued = false;
         //A Flat to check if it is already disposed.
index cff3f9b..60da1e5 100755 (executable)
@@ -37,6 +37,8 @@ namespace Tizen.NUI
             return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
         }
 
+        //NUI Dispose Pattern written by Jinwoo Nam(jjw.nam) 
+
         //A Flag to check who called Dispose(). (By User or DisposeQueue)
         private bool isDisposeQueued = false;
         //A Flat to check if it is already disposed.
index c773814..c376ead 100755 (executable)
@@ -37,6 +37,8 @@ namespace Tizen.NUI
             return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
         }\r
 \r
+        //NUI Dispose Pattern written by Jinwoo Nam(jjw.nam) \r
+\r
         //A Flag to check who called Dispose(). (By User or DisposeQueue)\r
         private bool isDisposeQueued = false;\r
         //A Flat to check if it is already disposed.\r
index 29dde76..9abbc3e 100755 (executable)
@@ -27,6 +27,8 @@ namespace Tizen.NUI
             return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
         }
 
+        //NUI Dispose Pattern written by Jinwoo Nam(jjw.nam) 
+
         //A Flag to check who called Dispose(). (By User or DisposeQueue)
         private bool isDisposeQueued = false;
         //A Flat to check if it is already disposed.
@@ -237,6 +239,8 @@ namespace Tizen.NUI
             return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
         }
 
+        //NUI Dispose Pattern written by Jinwoo Nam(jjw.nam) 
+
         //A Flag to check who called Dispose(). (By User or DisposeQueue)
         private bool isDisposeQueued = false;
         //A Flat to check if it is already disposed.
@@ -464,6 +468,8 @@ namespace Tizen.NUI
             return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
         }
 
+        //NUI Dispose Pattern written by Jinwoo Nam(jjw.nam)
+
         //A Flag to check who called Dispose(). (By User or DisposeQueue)
         private bool isDisposeQueued = false;
         //A Flat to check if it is already disposed.
@@ -701,6 +707,8 @@ namespace Tizen.NUI
             return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
         }
 
+        //NUI Dispose Pattern written by Jinwoo Nam(jjw.nam) 
+
         //A Flag to check who called Dispose(). (By User or DisposeQueue)
         private bool isDisposeQueued = false;
         //A Flat to check if it is already disposed.
@@ -1051,6 +1059,8 @@ namespace Tizen.NUI
             return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
         }
 
+        //NUI Dispose Pattern written by Jinwoo Nam(jjw.nam) 
+
         //A Flag to check who called Dispose(). (By User or DisposeQueue)
         private bool isDisposeQueued = false;
         //A Flat to check if it is already disposed.
index 0ca1e88..36de9bc 100755 (executable)
@@ -30,6 +30,8 @@ namespace Tizen.NUI
             return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
         }
 
+        //NUI Dispose Pattern written by Jinwoo Nam(jjw.nam) 
+
         //A Flag to check who called Dispose(). (By User or DisposeQueue)
         private bool isDisposeQueued = false;
         //A Flat to check if it is already disposed.
index 2229392..95ae7ee 100755 (executable)
@@ -30,6 +30,8 @@ namespace Tizen.NUI
             return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
         }
 
+        //NUI Dispose Pattern written by Jinwoo Nam(jjw.nam) 
+
         //A Flag to check who called Dispose(). (By User or DisposeQueue)
         private bool isDisposeQueued = false;
         //A Flat to check if it is already disposed.
index de4f503..f5052fa 100755 (executable)
@@ -39,6 +39,8 @@ namespace Tizen.NUI
             return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
         }
 
+        //NUI Dispose Pattern written by Jinwoo Nam(jjw.nam) 
+
         //A Flag to check who called Dispose(). (By User or DisposeQueue)
         private bool isDisposeQueued = false;
         //A Flat to check if it is already disposed.
index d83d7b0..0aec4dc 100755 (executable)
@@ -39,6 +39,8 @@ namespace Tizen.NUI
             return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
         }
 
+        //NUI Dispose Pattern written by Jinwoo Nam(jjw.nam) 
+
         //A Flag to check who called Dispose(). (By User or DisposeQueue)
         private bool isDisposeQueued = false;
         //A Flat to check if it is already disposed.
index 7601853..69cbdec 100755 (executable)
@@ -39,6 +39,8 @@ namespace Tizen.NUI
             return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
         }
 
+        //NUI Dispose Pattern written by Jinwoo Nam(jjw.nam) 
+
         //A Flag to check who called Dispose(). (By User or DisposeQueue)
         private bool isDisposeQueued = false;
         //A Flat to check if it is already disposed.
index dae6cc8..1b990a8 100755 (executable)
@@ -39,6 +39,8 @@ namespace Tizen.NUI
             return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
         }
 
+        //NUI Dispose Pattern written by Jinwoo Nam(jjw.nam) 
+
         //A Flag to check who called Dispose(). (By User or DisposeQueue)
         private bool isDisposeQueued = false;
         //A Flat to check if it is already disposed.
index 16131f5..70bd9e6 100755 (executable)
@@ -30,6 +30,8 @@ namespace Tizen.NUI
             return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
         }
 
+        //NUI Dispose Pattern written by Jinwoo Nam(jjw.nam) 
+
         //A Flag to check who called Dispose(). (By User or DisposeQueue)
         private bool isDisposeQueued = false;
         //A Flat to check if it is already disposed.
index 9e3b50c..82235c2 100755 (executable)
@@ -37,6 +37,8 @@ namespace Tizen.NUI
             return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
         }
 
+        //NUI Dispose Pattern written by Jinwoo Nam(jjw.nam) 
+
         //A Flag to check who called Dispose(). (By User or DisposeQueue)
         private bool isDisposeQueued = false;
         //A Flat to check if it is already disposed.
index acc6d09..2f6422f 100755 (executable)
@@ -73,6 +73,10 @@ namespace Tizen.NUI.UIComponents
             //Release your own unmanaged resources here.
             //You should not access any managed member here except static instance.
             //because the execution order of Finalizes is non-deterministic.
+
+            //Unreference this from if a static instance refer to this. 
+            ViewRegistry.UnregisterView(this);
+
             if (swigCPtr.Handle != global::System.IntPtr.Zero)
             {
                 if (swigCMemOwn)
index 3f1525c..e3c8072 100755 (executable)
@@ -69,6 +69,10 @@ namespace Tizen.NUI.UIComponents
             //Release your own unmanaged resources here.
             //You should not access any managed member here except static instance.
             //because the execution order of Finalizes is non-deterministic.
+
+            //Unreference this from if a static instance refer to this.
+            ViewRegistry.UnregisterView(this);
+
             if (swigCPtr.Handle != global::System.IntPtr.Zero)
             {
                 if (swigCMemOwn)
index d8119c6..6085d40 100755 (executable)
@@ -71,6 +71,10 @@ namespace Tizen.NUI.UIComponents
             //Release your own unmanaged resources here.
             //You should not access any managed member here except static instance.
             //because the execution order of Finalizes is non-deterministic.
+
+            //Unreference this from if a static instance refer to this.
+            ViewRegistry.UnregisterView(this);
+
             if (swigCPtr.Handle != global::System.IntPtr.Zero)
             {
                 if (swigCMemOwn)
index 3aa6c0c..709dc38 100755 (executable)
@@ -75,6 +75,10 @@ namespace Tizen.NUI.UIComponents
             //Release your own unmanaged resources here.
             //You should not access any managed member here except static instance.
             //because the execution order of Finalizes is non-deterministic.
+
+            //Unreference this from if a static instance refer to this.
+            ViewRegistry.UnregisterView(this);
+
             if (swigCPtr.Handle != global::System.IntPtr.Zero)
             {
                 if (swigCMemOwn)
index 1ab496b..b521e63 100755 (executable)
@@ -63,6 +63,10 @@ namespace Tizen.NUI
             //Release your own unmanaged resources here.
             //You should not access any managed member here except static instance.
             //because the execution order of Finalizes is non-deterministic.
+
+            //Unreference this from if a static instance refer to this.
+            ViewRegistry.UnregisterView(this);
+
             if (swigCPtr.Handle != global::System.IntPtr.Zero)
             {
                 if (swigCMemOwn)
index 927b880..ff7b0fd 100755 (executable)
@@ -71,6 +71,10 @@ namespace Tizen.NUI.UIComponents
             //Release your own unmanaged resources here.
             //You should not access any managed member here except static instance.
             //because the execution order of Finalizes is non-deterministic.
+
+            //Unreference this from if a static instance refer to this.
+            ViewRegistry.UnregisterView(this);
+
             if (swigCPtr.Handle != global::System.IntPtr.Zero)
             {
                 if (swigCMemOwn)
index aec343c..0f430ba 100755 (executable)
@@ -61,6 +61,10 @@ namespace Tizen.NUI
             //Release your own unmanaged resources here.
             //You should not access any managed member here except static instance.
             //because the execution order of Finalizes is non-deterministic.
+
+            //Unreference this from if a static instance refer to this.
+            ViewRegistry.UnregisterView(this);
+
             if (swigCPtr.Handle != global::System.IntPtr.Zero)
             {
                 if (swigCMemOwn)
index 4c22296..fa80264 100755 (executable)
@@ -30,6 +30,8 @@ namespace Tizen.NUI
             return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
         }
 
+        //NUI Dispose Pattern written by Jinwoo Nam(jjw.nam) 
+
         //A Flag to check who called Dispose(). (By User or DisposeQueue)
         private bool isDisposeQueued = false;
         //A Flat to check if it is already disposed.
index d54eddf..4c54bd1 100755 (executable)
@@ -30,6 +30,8 @@ namespace Tizen.NUI
             return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
         }
 
+        //NUI Dispose Pattern written by Jinwoo Nam(jjw.nam) 
+
         //A Flag to check who called Dispose(). (By User or DisposeQueue)
         private bool isDisposeQueued = false;
         //A Flat to check if it is already disposed.
index 98d1a5e..d57ccd6 100755 (executable)
@@ -30,6 +30,8 @@ namespace Tizen.NUI
             return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
         }
 
+        //NUI Dispose Pattern written by Jinwoo Nam(jjw.nam) 
+
         //A Flag to check who called Dispose(). (By User or DisposeQueue)
         private bool isDisposeQueued = false;
         //A Flat to check if it is already disposed.
index 84906b3..978da1a 100755 (executable)
@@ -54,6 +54,10 @@ namespace Tizen.NUI
             //Release your own unmanaged resources here.
             //You should not access any managed member here except static instance.
             //because the execution order of Finalizes is non-deterministic.
+
+            //Unreference this from if a static instance refer to this.
+            ViewRegistry.UnregisterView(this);
+
             if (swigCPtr.Handle != global::System.IntPtr.Zero)
             {
                 if (swigCMemOwn)
index e17f9a6..59bc7aa 100755 (executable)
@@ -33,6 +33,8 @@ namespace Tizen.NUI
             return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
         }
 
+        //NUI Dispose Pattern written by Jinwoo Nam(jjw.nam)  
+
         //A Flag to check who called Dispose(). (By User or DisposeQueue)
         private bool isDisposeQueued = false;
         //A Flat to check if it is already disposed.