[NUI] Layout: Fixed disposed bug and removed RegisterChildProperties API usage (...
authordongsug-song <35130733+dongsug-song@users.noreply.github.com>
Tue, 19 Jun 2018 08:44:06 +0000 (17:44 +0900)
committerGitHub <noreply@github.com>
Tue, 19 Jun 2018 08:44:06 +0000 (17:44 +0900)
* [NUI] Fixed disposed bug and removed RegisterChildProperties API usage

* [NUI] dali_1.3.28, nui internal version 502 update

packaging/version.txt
src/Tizen.NUI/src/internal/Layouting/LayoutGroupWrapper.cs
src/Tizen.NUI/src/internal/Layouting/LayoutGroupWrapperImpl.cs
src/Tizen.NUI/src/internal/Layouting/LayoutItemPtr.cs
src/Tizen.NUI/src/internal/Layouting/LayoutItemWrapper.cs
src/Tizen.NUI/src/internal/Layouting/LayoutItemWrapperImpl.cs
src/Tizen.NUI/src/internal/Layouting/LayoutPINVOKE.cs
src/Tizen.NUI/src/internal/VersionCheck.cs

index a3e8c83..8369f9f 100755 (executable)
@@ -7,4 +7,4 @@ NUGET_VERSION=5.0.0-preview1-99999
 INTERNAL_NUGET_VERSION=5.0.0.999
 
 # RPM Version Suffix
-RPM_VERSION_SUFFIX=nui501
+RPM_VERSION_SUFFIX=nui502
index 1769bfc..cf4cef1 100755 (executable)
@@ -68,7 +68,7 @@ namespace Tizen.NUI
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
             }
 
-            base.Dispose();
+            base.Dispose(type);
         }
 
         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
index ea41da1..37bb101 100755 (executable)
@@ -94,7 +94,7 @@ namespace Tizen.NUI
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
             }
-            base.Dispose();
+            base.Dispose(type);
         }
 
         internal uint Add(LayoutItemWrapperImpl layoutChild)
index 185cc6f..70e9ff7 100755 (executable)
@@ -144,12 +144,6 @@ namespace Tizen.NUI
             return ret;
         }
 
-        public void RegisterChildProperties(string containerType)
-        {
-            LayoutPINVOKE.LayoutItemPtr_RegisterChildProperties(swigCPtr, containerType);
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-        }
-
         public void Measure(LayoutMeasureSpec widthMeasureSpec, LayoutMeasureSpec heightMeasureSpec)
         {
             LayoutPINVOKE.LayoutItemPtr_Measure(swigCPtr, LayoutMeasureSpec.getCPtr(widthMeasureSpec), LayoutMeasureSpec.getCPtr(heightMeasureSpec));
index 1406133..bc9dd5b 100755 (executable)
@@ -68,7 +68,7 @@ namespace Tizen.NUI
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
             }
 
-            base.Dispose();
+            base.Dispose(type);
         }
 
         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
index 3be07bc..29c4f68 100755 (executable)
@@ -68,7 +68,7 @@ namespace Tizen.NUI
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
             }
-            base.Dispose();
+            base.Dispose(type);
         }
 
         public LayoutItemWrapperImpl() : this(LayoutPINVOKE.new_LayoutItemWrapperImpl(), true)
index 9b963ab..3faeb59 100755 (executable)
@@ -293,9 +293,6 @@ namespace Tizen.NUI
         [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint = "CSharp_Dali_LayoutItemWrapperImpl_IsLayoutAnimated")]
         public static extern bool LayoutItemWrapperImpl_IsLayoutAnimated(global::System.Runtime.InteropServices.HandleRef jarg1);
 
-        [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint = "CSharp_Dali_LayoutItemWrapperImpl_RegisterChildProperties")]
-        public static extern void LayoutItemWrapperImpl_RegisterChildProperties(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);
-
         [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint = "CSharp_Dali_LayoutItemWrapperImpl_Measure")]
         public static extern void LayoutItemWrapperImpl_Measure(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3);
 
@@ -590,9 +587,6 @@ namespace Tizen.NUI
         [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint = "CSharp_Dali_LayoutItemPtr_IsLayoutAnimated")]
         public static extern bool LayoutItemPtr_IsLayoutAnimated(global::System.Runtime.InteropServices.HandleRef jarg1);
 
-        [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint = "CSharp_Dali_LayoutItemPtr_RegisterChildProperties")]
-        public static extern void LayoutItemPtr_RegisterChildProperties(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);
-
         [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint = "CSharp_Dali_LayoutItemPtr_Measure")]
         public static extern void LayoutItemPtr_Measure(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3);
 
index be2801b..bec34cf 100755 (executable)
@@ -24,7 +24,8 @@ namespace Tizen.NUI
     internal static class Version
     {
         //from dali_1.3.23 : NUI internal API version 501
-        public const int nuiAPIVer = 501;
+        //from dali_1.3.28 : NUI internal API version 502
+        public const int nuiAPIVer = 502;
         public const int reservedVer1 = 0;
         public const int reservedVer2 = 0;
 
@@ -69,7 +70,7 @@ namespace Tizen.NUI
 
             NDalicManualPINVOKE.NativeVersionCheck(ref ver1, ref ver2, ref ver3);
             //NUILog.Debug($"DALi Version: ({ver1}.{ver2}.{ver3}), NUI API Version: ({nuiAPIVer})");
-            NUILog.Error($"DALi Version: ({ver1}.{ver2}.{ver3}), NUI API Version: ({nuiAPIVer})");
+            NUILog.Error($"NOT Error! Just Showing DALi Version: ({ver1}.{ver2}.{ver3}), NUI API Version: ({nuiAPIVer})");
         }
     }
 }