Hello community,

here is the log from the commit of package libyui-rest-api for openSUSE:Factory 
checked in at 2020-09-03 01:13:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libyui-rest-api (Old)
 and      /work/SRC/openSUSE:Factory/.libyui-rest-api.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libyui-rest-api"

Thu Sep  3 01:13:09 2020 rev:7 rq:830268 version:0.5.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/libyui-rest-api/libyui-rest-api.changes  
2020-08-14 13:07:57.249178767 +0200
+++ 
/work/SRC/openSUSE:Factory/.libyui-rest-api.new.3399/libyui-rest-api.changes    
    2020-09-03 01:13:27.700455275 +0200
@@ -1,0 +2,6 @@
+Tue Aug 28 10:10:00 UTC 2020 - Joaquín Rivera <jeriveram...@suse.com>
+
+- Serialize value for YDateField and YTimeField (bsc#1139747)
+- 0.5.3
+
+-------------------------------------------------------------------

Old:
----
  libyui-rest-api-0.5.2.tar.bz2

New:
----
  libyui-rest-api-0.5.3.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libyui-rest-api.spec ++++++
--- /var/tmp/diff_new_pack.zhTove/_old  2020-09-03 01:13:28.688455639 +0200
+++ /var/tmp/diff_new_pack.zhTove/_new  2020-09-03 01:13:28.692455640 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libyui-rest-api
 #
-# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -21,7 +21,7 @@
 %define libyui_devel_version libyui-devel >= 3.10.1
 
 Name:           libyui-rest-api
-Version:        0.5.2
+Version:        0.5.3
 Release:        0
 Summary:        Libyui - REST API plugin, the shared part
 License:        LGPL-2.1-only OR LGPL-3.0-only

++++++ libyui-rest-api-0.5.2.tar.bz2 -> libyui-rest-api-0.5.3.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-rest-api-0.5.2/VERSION.cmake 
new/libyui-rest-api-0.5.3/VERSION.cmake
--- old/libyui-rest-api-0.5.2/VERSION.cmake     2020-08-12 10:30:51.000000000 
+0200
+++ new/libyui-rest-api-0.5.3/VERSION.cmake     2020-08-28 13:44:20.000000000 
+0200
@@ -1,6 +1,6 @@
 SET( VERSION_MAJOR "0")
 SET( VERSION_MINOR "5" )
-SET( VERSION_PATCH "2" )
+SET( VERSION_PATCH "3" )
 SET( VERSION 
"${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}${GIT_SHA1_VERSION}" )
 
 ##### This is need for the libyui core, ONLY.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libyui-rest-api-0.5.2/package/libyui-rest-api.changes 
new/libyui-rest-api-0.5.3/package/libyui-rest-api.changes
--- old/libyui-rest-api-0.5.2/package/libyui-rest-api.changes   2020-08-12 
10:30:51.000000000 +0200
+++ new/libyui-rest-api-0.5.3/package/libyui-rest-api.changes   2020-08-28 
13:44:20.000000000 +0200
@@ -1,4 +1,10 @@
 -------------------------------------------------------------------
+Tue Aug 28 10:10:00 UTC 2020 - Joaquín Rivera <jeriveram...@suse.com>
+
+- Serialize value for YDateField and YTimeField (bsc#1139747)
+- 0.5.3
+
+-------------------------------------------------------------------
 Tue Aug 11 13:40:41 UTC 2020 - Stefan Hundhammer <shundham...@suse.com>
 
 - Use new parent lib SO version libyui.so.13 (bsc#1175115)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-rest-api-0.5.2/package/libyui-rest-api.spec 
new/libyui-rest-api-0.5.3/package/libyui-rest-api.spec
--- old/libyui-rest-api-0.5.2/package/libyui-rest-api.spec      2020-08-12 
10:30:51.000000000 +0200
+++ new/libyui-rest-api-0.5.3/package/libyui-rest-api.spec      2020-08-28 
13:44:20.000000000 +0200
@@ -21,7 +21,7 @@
 %define libyui_devel_version libyui-devel >= 3.10.1
 
 Name:           libyui-rest-api
-Version:        0.5.2
+Version:        0.5.3
 Release:        0
 Summary:        Libyui - REST API plugin, the shared part
 License:        LGPL-2.1-only OR LGPL-3.0-only
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-rest-api-0.5.2/src/YJsonSerializer.cc 
new/libyui-rest-api-0.5.3/src/YJsonSerializer.cc
--- old/libyui-rest-api-0.5.2/src/YJsonSerializer.cc    2020-08-12 
10:30:51.000000000 +0200
+++ new/libyui-rest-api-0.5.3/src/YJsonSerializer.cc    2020-08-28 
13:44:20.000000000 +0200
@@ -19,6 +19,7 @@
 #include "YBarGraph.h"
 #include "YButtonBox.h"
 #include "YComboBox.h"
+#include "YDateField.h"
 #include "YDialog.h"
 #include "YCheckBox.h"
 #include "YCheckBoxFrame.h"
@@ -33,6 +34,7 @@
 #include "YRadioButton.h"
 #include "YSpacing.h"
 #include "YTable.h"
+#include "YTimeField.h"
 #include "YTree.h"
 #include "YTreeItem.h"
 #include "YWidget.h"
@@ -425,4 +427,14 @@
         json["segments"] = jsegments;
 
     }
+
+    if (auto df = dynamic_cast<YDateField*>(widget))
+    {
+        json["value"] = df->value();
+    }
+
+    if (auto tf = dynamic_cast<YTimeField*>(widget))
+    {
+        json["value"] = tf->value();
+    }
 }


Reply via email to