Hello community, here is the log from the commit of package libyui for openSUSE:Factory checked in at 2016-08-26 23:13:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libyui (Old) and /work/SRC/openSUSE:Factory/.libyui.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libyui" Changes: -------- --- /work/SRC/openSUSE:Factory/libyui/libyui.changes 2016-05-31 12:08:59.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libyui.new/libyui.changes 2016-08-26 23:13:29.000000000 +0200 @@ -1,0 +2,7 @@ +Mon Aug 22 13:05:24 UTC 2016 - jreidin...@suse.com + +- prevent double rendering of content causing segfault in qt and + slow down elsewhere (bnc#989155) +- 3.2.6 + +------------------------------------------------------------------- Old: ---- libyui-3.2.5.tar.bz2 New: ---- libyui-3.2.6.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libyui-doc.spec ++++++ --- /var/tmp/diff_new_pack.SOqwQt/_old 2016-08-26 23:13:30.000000000 +0200 +++ /var/tmp/diff_new_pack.SOqwQt/_new 2016-08-26 23:13:30.000000000 +0200 @@ -20,7 +20,7 @@ %define so_version 7 Name: %{parent}-doc -Version: 3.2.5 +Version: 3.2.6 Release: 0 Source: %{parent}-%{version}.tar.bz2 ++++++ libyui.spec ++++++ --- /var/tmp/diff_new_pack.SOqwQt/_old 2016-08-26 23:13:30.000000000 +0200 +++ /var/tmp/diff_new_pack.SOqwQt/_new 2016-08-26 23:13:30.000000000 +0200 @@ -17,7 +17,7 @@ Name: libyui -Version: 3.2.5 +Version: 3.2.6 Release: 0 Source: %{name}-%{version}.tar.bz2 ++++++ libyui-3.2.5.tar.bz2 -> libyui-3.2.6.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-3.2.5/VERSION.cmake new/libyui-3.2.6/VERSION.cmake --- old/libyui-3.2.5/VERSION.cmake 2016-05-23 16:31:08.000000000 +0200 +++ new/libyui-3.2.6/VERSION.cmake 2016-08-22 17:01:15.000000000 +0200 @@ -1,6 +1,6 @@ SET( VERSION_MAJOR "3") SET( VERSION_MINOR "2" ) -SET( VERSION_PATCH "5" ) +SET( VERSION_PATCH "6" ) 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-3.2.5/package/libyui-doc.spec new/libyui-3.2.6/package/libyui-doc.spec --- old/libyui-3.2.5/package/libyui-doc.spec 2016-05-23 16:31:08.000000000 +0200 +++ new/libyui-3.2.6/package/libyui-doc.spec 2016-08-22 17:01:15.000000000 +0200 @@ -20,7 +20,7 @@ %define so_version 7 Name: %{parent}-doc -Version: 3.2.5 +Version: 3.2.6 Release: 0 Source: %{parent}-%{version}.tar.bz2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-3.2.5/package/libyui.changes new/libyui-3.2.6/package/libyui.changes --- old/libyui-3.2.5/package/libyui.changes 2016-05-23 16:31:08.000000000 +0200 +++ new/libyui-3.2.6/package/libyui.changes 2016-08-22 17:01:15.000000000 +0200 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Mon Aug 22 13:05:24 UTC 2016 - jreidin...@suse.com + +- prevent double rendering of content causing segfault in qt and + slow down elsewhere (bnc#989155) +- 3.2.6 + +------------------------------------------------------------------- Wed Mar 30 09:12:04 CEST 2016 - m...@besser82.io - Fix 'Werror=nonnull-compare' for GCC 6 (bsc#964144) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-3.2.5/package/libyui.spec new/libyui-3.2.6/package/libyui.spec --- old/libyui-3.2.5/package/libyui.spec 2016-05-23 16:31:08.000000000 +0200 +++ new/libyui-3.2.6/package/libyui.spec 2016-08-22 17:01:15.000000000 +0200 @@ -16,7 +16,7 @@ # Name: libyui -Version: 3.2.5 +Version: 3.2.6 Release: 0 Source: %{name}-%{version}.tar.bz2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-3.2.5/src/YLogView.cc new/libyui-3.2.6/src/YLogView.cc --- old/libyui-3.2.5/src/YLogView.cc 2016-05-23 16:31:08.000000000 +0200 +++ new/libyui-3.2.6/src/YLogView.cc 2016-08-22 17:01:15.000000000 +0200 @@ -201,6 +201,18 @@ } } +void +YLogView::setLogText(const std::string & text) +{ + // optimize for regular updating widget when no new content appear + if (text == logText()) + return; + + // do not use clearText as it do render and cause segfault in qt (bnc#989155) + priv->logText.clear(); + appendLines(text); +} + void YLogView::clearText() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-3.2.5/src/YLogView.h new/libyui-3.2.6/src/YLogView.h --- old/libyui-3.2.5/src/YLogView.h 2016-05-23 16:31:08.000000000 +0200 +++ new/libyui-3.2.6/src/YLogView.h 2016-08-22 17:01:15.000000000 +0200 @@ -119,8 +119,7 @@ /** * Set (replace) the entire log text and trigger a display update. **/ - void setLogText( const std::string & text ) - { clearText(); appendLines( text ); } + void setLogText( const std::string & text ); /** * Return the last log line.