Hello community,
here is the log from the commit of package libyui-rest-api for openSUSE:Factory
checked in at 2020-10-26 16:09:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libyui-rest-api (Old)
and /work/SRC/openSUSE:Factory/.libyui-rest-api.new.3463 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libyui-rest-api"
Mon Oct 26 16:09:13 2020 rev:10 rq:843322 version:0.5.8
Changes:
--------
--- /work/SRC/openSUSE:Factory/libyui-rest-api/libyui-rest-api.changes
2020-10-18 16:21:23.716490129 +0200
+++
/work/SRC/openSUSE:Factory/.libyui-rest-api.new.3463/libyui-rest-api.changes
2020-10-26 16:10:51.374635775 +0100
@@ -1,0 +2,7 @@
+Wed Oct 21 14:50:03 UTC 2020 - Rodion Iafarov <[email protected]>
+
+- Do not set json value to nullptr when YCheckBoxState is
+ YCheckBox_dont_care (bsc#1139747)
+- 0.5.8
+
+-------------------------------------------------------------------
Old:
----
libyui-rest-api-0.5.7.tar.bz2
New:
----
libyui-rest-api-0.5.8.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libyui-rest-api.spec ++++++
--- /var/tmp/diff_new_pack.kTeDlO/_old 2020-10-26 16:10:52.710637005 +0100
+++ /var/tmp/diff_new_pack.kTeDlO/_new 2020-10-26 16:10:52.714637008 +0100
@@ -21,7 +21,7 @@
%define libyui_devel_version libyui-devel >= 3.10.1
Name: libyui-rest-api
-Version: 0.5.7
+Version: 0.5.8
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.7.tar.bz2 -> libyui-rest-api-0.5.8.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/libyui-rest-api-0.5.7/VERSION.cmake
new/libyui-rest-api-0.5.8/VERSION.cmake
--- old/libyui-rest-api-0.5.7/VERSION.cmake 2020-10-09 16:52:42.000000000
+0200
+++ new/libyui-rest-api-0.5.8/VERSION.cmake 2020-10-22 08:09:02.000000000
+0200
@@ -1,6 +1,6 @@
SET( VERSION_MAJOR "0")
SET( VERSION_MINOR "5" )
-SET( VERSION_PATCH "7" )
+SET( VERSION_PATCH "8" )
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.7/package/libyui-rest-api.changes
new/libyui-rest-api-0.5.8/package/libyui-rest-api.changes
--- old/libyui-rest-api-0.5.7/package/libyui-rest-api.changes 2020-10-09
16:52:42.000000000 +0200
+++ new/libyui-rest-api-0.5.8/package/libyui-rest-api.changes 2020-10-22
08:09:02.000000000 +0200
@@ -1,4 +1,11 @@
-------------------------------------------------------------------
+Wed Oct 21 14:50:03 UTC 2020 - Rodion Iafarov <[email protected]>
+
+- Do not set json value to nullptr when YCheckBoxState is
+ YCheckBox_dont_care (bsc#1139747)
+- 0.5.8
+
+-------------------------------------------------------------------
Fri Oct 9 13:22:49 UTC 2020 - José Iván López González <[email protected]>
- Use new parent lib SO version libyui.so.14 (bsc#1176402).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/libyui-rest-api-0.5.7/package/libyui-rest-api.spec
new/libyui-rest-api-0.5.8/package/libyui-rest-api.spec
--- old/libyui-rest-api-0.5.7/package/libyui-rest-api.spec 2020-10-09
16:52:42.000000000 +0200
+++ new/libyui-rest-api-0.5.8/package/libyui-rest-api.spec 2020-10-22
08:09:02.000000000 +0200
@@ -21,7 +21,7 @@
%define libyui_devel_version libyui-devel >= 3.10.1
Name: libyui-rest-api
-Version: 0.5.7
+Version: 0.5.8
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.7/src/YJsonSerializer.cc
new/libyui-rest-api-0.5.8/src/YJsonSerializer.cc
--- old/libyui-rest-api-0.5.7/src/YJsonSerializer.cc 2020-10-09
16:52:42.000000000 +0200
+++ new/libyui-rest-api-0.5.8/src/YJsonSerializer.cc 2020-10-22
08:09:02.000000000 +0200
@@ -246,9 +246,7 @@
if (auto ch = dynamic_cast<YCheckBox*>(widget))
{
- if (ch->value() == YCheckBoxState::YCheckBox_dont_care)
- json["value"] = nullptr;
- else
+ if (ch->value() != YCheckBoxState::YCheckBox_dont_care)
json["value"] = ch->isChecked();
}