Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libyui for openSUSE:Factory checked 
in at 2021-06-04 22:42:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libyui (Old)
 and      /work/SRC/openSUSE:Factory/.libyui.new.1898 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libyui"

Fri Jun  4 22:42:51 2021 rev:64 rq:896916 version:4.2.13

Changes:
--------
--- /work/SRC/openSUSE:Factory/libyui/libyui.changes    2021-06-01 
10:34:05.656469053 +0200
+++ /work/SRC/openSUSE:Factory/.libyui.new.1898/libyui.changes  2021-06-04 
22:43:01.951094126 +0200
@@ -1,0 +2,15 @@
+Wed Jun  2 11:18:42 UTC 2021 - Stefan Hundhammer <shundham...@suse.com>
+
+- Fixed build failure with latest GCC 11.1:
+  Added operator delete as counterpart to our custom operator new
+  in YWidget (bsc#1186741)
+- 4.2.13
+
+-------------------------------------------------------------------
+Tue Jun  1 16:16:17 UTC 2021 - Stefan Hundhammer <shundham...@suse.com>
+
+- Greatly improved visual appearance of tab widgets in the Qt UI
+  (bsc #1186705, GitHub issue #20)
+- 4.2.12
+
+-------------------------------------------------------------------

Old:
----
  libyui-4.2.11.tar.bz2

New:
----
  libyui-4.2.13.tar.bz2

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

Other differences:
------------------
++++++ libyui-bindings.spec ++++++
--- /var/tmp/diff_new_pack.tVxY3S/_old  2021-06-04 22:43:02.559094796 +0200
+++ /var/tmp/diff_new_pack.tVxY3S/_new  2021-06-04 22:43:02.559094796 +0200
@@ -20,7 +20,7 @@
 Name:           libyui-bindings
 
 # DO NOT manually bump the version here; instead, use rake version:bump
-Version:        4.2.11
+Version:        4.2.13
 Release:        0
 Summary:        Bindings for libyui
 License:        LGPL-2.1-only OR LGPL-3.0-only

++++++ libyui-ncurses-pkg.spec ++++++
--- /var/tmp/diff_new_pack.tVxY3S/_old  2021-06-04 22:43:02.575094814 +0200
+++ /var/tmp/diff_new_pack.tVxY3S/_new  2021-06-04 22:43:02.575094814 +0200
@@ -19,7 +19,7 @@
 Name:           libyui-ncurses-pkg
 
 # DO NOT manually bump the version here; instead, use rake version:bump
-Version:        4.2.11
+Version:        4.2.13
 Release:        0
 
 %define         so_version 15

libyui-ncurses-rest-api.spec: same change
libyui-ncurses.spec: same change
++++++ libyui-qt-graph.spec ++++++
--- /var/tmp/diff_new_pack.tVxY3S/_old  2021-06-04 22:43:02.615094858 +0200
+++ /var/tmp/diff_new_pack.tVxY3S/_new  2021-06-04 22:43:02.619094863 +0200
@@ -19,7 +19,7 @@
 Name:           libyui-qt-graph
 
 # DO NOT manually bump the version here; instead, use   rake version:bump
-Version:        4.2.11
+Version:        4.2.13
 Release:        0
 
 %define         so_version 15

++++++ libyui-qt-pkg.spec ++++++
--- /var/tmp/diff_new_pack.tVxY3S/_old  2021-06-04 22:43:02.631094875 +0200
+++ /var/tmp/diff_new_pack.tVxY3S/_new  2021-06-04 22:43:02.631094875 +0200
@@ -19,7 +19,7 @@
 Name:           libyui-qt-pkg
 
 # DO NOT manually bump the version here; instead, use rake version:bump
-Version:        4.2.11
+Version:        4.2.13
 Release:        0
 
 %define         so_version 15

libyui-qt-rest-api.spec: same change
libyui-qt.spec: same change
libyui-rest-api.spec: same change
libyui.spec: same change
++++++ libyui-4.2.11.tar.bz2 -> libyui-4.2.13.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-4.2.11/VERSION.cmake 
new/libyui-4.2.13/VERSION.cmake
--- old/libyui-4.2.11/VERSION.cmake     2021-05-31 16:32:50.000000000 +0200
+++ new/libyui-4.2.13/VERSION.cmake     2021-06-02 14:21:22.000000000 +0200
@@ -1,6 +1,6 @@
 SET( VERSION_MAJOR "4")
 SET( VERSION_MINOR "2" )
-SET( VERSION_PATCH "11" )
+SET( VERSION_PATCH "13" )
 SET( VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}" )
 
 SET( SONAME_MAJOR "15" )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-4.2.11/libyui/src/YWidget.cc 
new/libyui-4.2.13/libyui/src/YWidget.cc
--- old/libyui-4.2.11/libyui/src/YWidget.cc     2021-05-31 16:32:50.000000000 
+0200
+++ new/libyui-4.2.13/libyui/src/YWidget.cc     2021-06-02 14:21:22.000000000 
+0200
@@ -134,6 +134,12 @@
 }
 
 
+void YWidget::operator delete( void * ptr ) noexcept
+{
+    ::operator delete( ptr );
+}
+
+
 YWidget::~YWidget()
 {
     YUI_CHECK_WIDGET( this );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-4.2.11/libyui/src/YWidget.h 
new/libyui-4.2.13/libyui/src/YWidget.h
--- old/libyui-4.2.11/libyui/src/YWidget.h      2021-05-31 16:32:50.000000000 
+0200
+++ new/libyui-4.2.13/libyui/src/YWidget.h      2021-06-02 14:21:22.000000000 
+0200
@@ -627,6 +627,11 @@
      **/
     void * operator new( size_t size );
 
+    /**
+     * Operator delete counterpart to our custom operator new.
+     **/
+    void operator delete( void * ptr ) noexcept;
+
 
     // NCurses optimizations
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-4.2.11/libyui-qt/src/CMakeLists.txt 
new/libyui-4.2.13/libyui-qt/src/CMakeLists.txt
--- old/libyui-4.2.11/libyui-qt/src/CMakeLists.txt      2021-05-31 
16:32:50.000000000 +0200
+++ new/libyui-4.2.13/libyui-qt/src/CMakeLists.txt      2021-06-02 
14:21:22.000000000 +0200
@@ -37,6 +37,7 @@
 
 set( SOURCES
   YQUI.cc
+  YQLog.cc
   YQWidgetFactory.cc
   YQUI_builtins.cc
 
@@ -106,6 +107,7 @@
 
 set( HEADERS
   YQUI.h
+  YQLog.h
   YQWidgetFactory.h
 
   YQAlignment.h
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-4.2.11/libyui-qt/src/YQCheckBoxFrame.cc 
new/libyui-4.2.13/libyui-qt/src/YQCheckBoxFrame.cc
--- old/libyui-4.2.11/libyui-qt/src/YQCheckBoxFrame.cc  2021-05-31 
16:32:50.000000000 +0200
+++ new/libyui-4.2.13/libyui-qt/src/YQCheckBoxFrame.cc  2021-06-02 
14:21:22.000000000 +0200
@@ -48,7 +48,7 @@
     : QGroupBox( (QWidget *) parent->widgetRep() )
     , YCheckBoxFrame( parent, label, checked)
 {
-    setWidgetRep ( this );
+    setWidgetRep( this );
     QGroupBox::setTitle( fromUTF8( label ) );
     QGroupBox::setCheckable( true );
     setValue( checked );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-4.2.11/libyui-qt/src/YQDumbTab.cc 
new/libyui-4.2.13/libyui-qt/src/YQDumbTab.cc
--- old/libyui-4.2.11/libyui-qt/src/YQDumbTab.cc        2021-05-31 
16:32:50.000000000 +0200
+++ new/libyui-4.2.13/libyui-qt/src/YQDumbTab.cc        2021-06-02 
14:21:22.000000000 +0200
@@ -23,47 +23,50 @@
 /-*/
 
 
-#define YUILogComponent "qt-ui"
-#include <yui/YUILog.h>
-#include <qtabbar.h>
-#include <qevent.h>
-#include <qpainter.h>
-#include <qdrawutil.h>
-#include <algorithm>
+#include <algorithm>    // std::max
+
+#include <yui/YEvent.h>
 
-#include "YQSignalBlocker.h"
 #include "utf8.h"
+#include "YQLog.h"
+#include "YQSignalBlocker.h"
 #include "YQUI.h"
 #include "YQDumbTab.h"
 #include "YQAlignment.h"
-#include <yui/YEvent.h>
 
-#define YQDumbTabSpacing       2
+#include <QEvent>
+#include <QTabBar>
+
+
 #define YQDumbTabFrameMargin   2
 
 using std::endl;
 
 
+// NOTICE: This uses Qt widgets in quite unorthodox ways.
+// Please read this for an explanation:
+//
+//   https://github.com/libyui/libyui/pull/31
+//
+//   https://github.com/libyui/libyui/issues/20
+
 
 YQDumbTab::YQDumbTab( YWidget *        parent )
-    : QWidget( (QWidget *) parent->widgetRep() )
+    : QTabWidget( (QWidget *) parent->widgetRep() )
     , YDumbTab( parent )
+    , _firstPage( 0 )
 {
     setWidgetRep( this );
 
-    //
-    // Tab bar
-    //
-
-    _tabBar = new QTabBar( this );
-    Q_CHECK_PTR( _tabBar );
+    _tabBar = QTabWidget::tabBar();
 
     _tabBar->setSizePolicy( QSizePolicy( QSizePolicy::Preferred, 
QSizePolicy::Preferred ) ); // hor/vert
+    _tabBar->setExpanding( false );
     setFocusProxy( _tabBar );
     setFocusPolicy( Qt::TabFocus );
 
-    connect( _tabBar, &pclass(_tabBar)::currentChanged,
-            this,    &pclass(this)::slotSelected );
+    connect( _tabBar, &pclass( _tabBar )::currentChanged,
+            this,    &pclass( this )::slotSelected );
 }
 
 
@@ -73,14 +76,76 @@
 }
 
 
+void YQDumbTab::childEvent( QChildEvent * event )
+{
+    // Call the parent class method first to ensure all widgets are polished
+    QTabWidget::childEvent( event );
+
+    // Reparent all YWidgets:
+    //
+    // All YQ* widgets call the QWidget parent class constructor with
+    // YWidget::parent()->widgetRep() as their QWidget parent, but this is
+    // wrong here: This YQDumbTab's widgetRep() is the QTabWidget; but we need
+    // to use the _firstPage placeholder instead.
+    //
+    // So we catch this on the Qt level when the child is added (more exactly:
+    // polished) so we can reparent any child widget (typically a
+    // YQReplacePoint) to _firstPage.
+
+    if ( event && event->type() == QEvent::ChildPolished )
+    {
+        // Not using QEvent::ChildAdded here because the child might not yet be
+        // completely constructed, so it might not yet be safe to call its
+        // YWidget::widgetRep() method; but Qt will send the ChildPolished
+        // event for the same one later.
+
+        YWidget * ywidget = dynamic_cast<YWidget *>( event->child() );
+
+        if ( ywidget )
+        {
+            yuiDebug() << "Reparenting " << ywidget << " to _firstPage" << 
endl;
+            YUI_CHECK_PTR( _firstPage );
+
+            event->child()->setParent( _firstPage );
+        }
+        else
+        {
+            yuiDebug() << "Ignoring new " << 
event->child()->metaObject()->className() << endl;
+        }
+    }
+}
+
+
 void
 YQDumbTab::addItem( YItem * item )
 {
     YQSignalBlocker sigBlocker( _tabBar );
     YDumbTab::addItem( item );
 
-    _tabBar->insertTab( item->index(), fromUTF8( item->label() ) );
-    yuiDebug() << "Adding tab page [" << item->label() << "]" << endl;
+    if ( ! _firstPage )
+    {
+        // Create the first page. There will only be one, even if we have
+        // several tabs. See below.
+
+        _firstPage = new QWidget();
+        addTab( _firstPage, fromUTF8( item->label() ) );
+        yuiDebug() << "Adding first page [" << item->label() << "]" << endl;
+    }
+    else // There already is a first page
+    {
+        // We already have a first page; let's not create another one, just add
+        // a tab in the tab bar instead without a corresponding page in the
+        // QStackedWidget.
+        //
+        // We don't leave tab switching to the QTabWidget parent class, we just
+        // report a click on a tab as a YMenuEvent to the application; it's up
+        // to the application to call replaceWidget() with the desired content.
+        // So we only want a tab here without a page in the QStackedWidget;
+        // that way the QTabWidget can't interfere with page switching.
+
+        _tabBar->insertTab( item->index(), fromUTF8( item->label() ) );
+        yuiDebug() << "Adding tab [" << item->label() << "]" << endl;
+    }
 
     if ( item->selected() )
        _tabBar->setCurrentIndex( item->index() );
@@ -105,13 +170,21 @@
 void
 YQDumbTab::deleteAllItems()
 {
-    for ( YItemConstIterator it = itemsBegin();
-         it != itemsEnd();
-         ++it )
+    if ( _firstPage )
     {
-        _tabBar->removeTab( ( *it )->index() );
+        // Remove the first page from the QStackedWidget.
+        // This does not delete the page.
+        removeTab( 0 );
     }
 
+    // Remove all remaining tabs
+
+    while ( _tabBar->count() > 0 )
+        _tabBar->removeTab( 0 );
+
+    delete _firstPage;
+    _firstPage = 0;
+
     YDumbTab::deleteAllItems();
 }
 
@@ -128,6 +201,7 @@
 {
     YItem * item = itemAt( index );
     YUI_CHECK_PTR( item );
+
     yuiDebug() << "Tab [" << item->label() << "] selected" << endl;
     YDumbTab::selectItem( item );
 
@@ -154,8 +228,7 @@
 void
 YQDumbTab::setEnabled( bool enabled )
 {
-    _tabBar->setEnabled( enabled );
-    YWidget::setEnabled( enabled );
+    QTabWidget::setEnabled( enabled );
 }
 
 
@@ -175,18 +248,18 @@
     int tabBarHeight = _tabBar->sizeHint().height();
     int childHeight  = hasChildren() ? firstChild()->preferredHeight() : 0;
 
-    return tabBarHeight + YQDumbTabSpacing + childHeight;
+    return tabBarHeight + childHeight;
 }
 
 
 void
 YQDumbTab::setSize( int newWidth, int newHeight )
 {
-    QWidget::resize( newWidth, newHeight );
+    // yuiDebug() << "new size: " << QSize( newWidth, newHeight ) << endl;
+    QTabWidget::resize( newWidth, newHeight );
+
     int remainingHeight = newHeight;
     int remainingWidth  = newWidth;
-    int x_offset       = 0;
-    int y_offset       = 0;
 
     //
     // _tabBar (fixed height)
@@ -197,26 +270,16 @@
     if ( remainingHeight < tabBarHeight )
        tabBarHeight = remainingHeight;
 
-    _tabBar->resize( newWidth, tabBarHeight );
     remainingHeight -= tabBarHeight;
 
     if ( hasChildren() )
     {
        //
-       // Spacing between tabBar and client area
-       //
-
-       remainingHeight -= YQDumbTabSpacing;
-       y_offset = newHeight - remainingHeight;
-
-       //
        // 3D border
        //
 
        remainingHeight -= 2 * YQDumbTabFrameMargin;
        remainingWidth  -= 2 * YQDumbTabFrameMargin;
-       x_offset += YQDumbTabFrameMargin;
-       y_offset += YQDumbTabFrameMargin;
 
        if ( remainingHeight < 0 )
            remainingHeight = 0;
@@ -228,11 +291,8 @@
        // Client area
        //
 
-
+        // yuiDebug() << "client: " << QSize( remainingWidth, remainingHeight 
) << "\n" << endl;
        firstChild()->setSize( remainingWidth, remainingHeight );
-
-       QWidget * qChild = (QWidget *) firstChild()->widgetRep();
-       qChild->move( x_offset, y_offset );
     }
 }
 
@@ -240,7 +300,8 @@
 void
 YQDumbTab::activate()
 {
-    // send an activation event for this widget
+    // Send an activation event for this widget
+
     if ( notify() )
-        YQUI::ui()->sendEvent( new YWidgetEvent( this,YEvent::Activated ) );
+        YQUI::ui()->sendEvent( new YWidgetEvent( this, YEvent::Activated ) );
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-4.2.11/libyui-qt/src/YQDumbTab.h 
new/libyui-4.2.13/libyui-qt/src/YQDumbTab.h
--- old/libyui-4.2.11/libyui-qt/src/YQDumbTab.h 2021-05-31 16:32:50.000000000 
+0200
+++ new/libyui-4.2.13/libyui-qt/src/YQDumbTab.h 2021-06-02 14:21:22.000000000 
+0200
@@ -26,14 +26,15 @@
 #ifndef YQDumbTab_h
 #define YQDumbTab_h
 
-#include <qwidget.h>
+#include <QTabWidget>
 #include <yui/YDumbTab.h>
 
+
 class QTabBar;
-class QPaintEvent;
+class QChildEvent;
 
 
-class YQDumbTab : public QWidget, public YDumbTab
+class YQDumbTab : public QTabWidget, public YDumbTab
 {
     Q_OBJECT
 
@@ -119,6 +120,7 @@
     **/
     virtual void activate();
 
+
 public slots:
 
     /**
@@ -126,9 +128,21 @@
      **/
     void slotSelected( int index );
 
+
 protected:
 
-    QTabBar * _tabBar;
+    /**
+     * Notification that a child has been added or removed.
+     *
+     * Reimplemented from QObject.
+     **/
+    void childEvent( QChildEvent * event ) override;
+
+
+    // Data members
+
+    QTabBar *  _tabBar;
+    QWidget *  _firstPage;
 };
 
 #endif // YQDumbTab_h
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-4.2.11/libyui-qt/src/YQLog.cc 
new/libyui-4.2.13/libyui-qt/src/YQLog.cc
--- old/libyui-4.2.11/libyui-qt/src/YQLog.cc    1970-01-01 01:00:00.000000000 
+0100
+++ new/libyui-4.2.13/libyui-qt/src/YQLog.cc    2021-06-02 14:21:22.000000000 
+0200
@@ -0,0 +1,53 @@
+/*
+  Copyright (c) 2021 SUSE LLC
+  
+  This library is free software; you can redistribute it and/or modify
+  it under the terms of the GNU Lesser General Public License as
+  published by the Free Software Foundation; either version 2.1 of the
+  License, or (at your option) version 3.0 of the License. This library
+  is distributed in the hope that it will be useful, but WITHOUT ANY
+  WARRANTY; without even the implied warranty of MERCHANTABILITY or
+  FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+  License for more details. You should have received a copy of the GNU
+  Lesser General Public License along with this library; if not, write
+  to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
+  Floor, Boston, MA 02110-1301 USA
+*/
+
+
+#include <iostream>
+#include "YQLog.h"
+
+#include <QPoint>
+#include <QSize>
+#include <QRect>
+
+
+std::ostream & operator<<( std::ostream & stream, const QPoint & pos )
+{
+    stream << "QPoint( x: " << pos.x() << "; y: " << pos.y() << " )";
+    
+    return stream;
+}
+
+
+std::ostream & operator<<( std::ostream & stream, const QSize & size )
+{
+    stream << "QSize( w: " << size.width() << "; h: " << size.height() << " )";
+    
+    return stream;
+}
+
+
+std::ostream & operator<<( std::ostream & stream, const QRect & rect )
+{
+    stream << "QRect( x: " << rect.x()
+           << "; y: "      << rect.y()
+           << "; w: "      << rect.width()
+           << "; h: "      << rect.height()
+           << " )";
+    
+    return stream;
+}
+
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-4.2.11/libyui-qt/src/YQLog.h 
new/libyui-4.2.13/libyui-qt/src/YQLog.h
--- old/libyui-4.2.11/libyui-qt/src/YQLog.h     1970-01-01 01:00:00.000000000 
+0100
+++ new/libyui-4.2.13/libyui-qt/src/YQLog.h     2021-06-02 14:21:22.000000000 
+0200
@@ -0,0 +1,43 @@
+/*
+  Copyright (c) 2021 SUSE LLC
+  
+  This library is free software; you can redistribute it and/or modify
+  it under the terms of the GNU Lesser General Public License as
+  published by the Free Software Foundation; either version 2.1 of the
+  License, or (at your option) version 3.0 of the License. This library
+  is distributed in the hope that it will be useful, but WITHOUT ANY
+  WARRANTY; without even the implied warranty of MERCHANTABILITY or
+  FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+  License for more details. You should have received a copy of the GNU
+  Lesser General Public License along with this library; if not, write
+  to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
+  Floor, Boston, MA 02110-1301 USA
+*/
+
+
+
+#ifndef YQLog_h
+#define YQLog_h
+
+
+#ifndef YUILogComponent
+#  define YUILogComponent "qt-ui"
+#endif
+#include <yui/YUILog.h>
+#include <iosfwd>
+
+
+class QPoint;
+class QSize;
+class QRect;
+
+
+// Overloads for common Qt types for use in yuiDebug() etc.
+
+std::ostream & operator<<( std::ostream & stream, const QPoint & pos  );
+std::ostream & operator<<( std::ostream & stream, const QSize  & size );
+std::ostream & operator<<( std::ostream & stream, const QRect  & rect );
+
+
+
+#endif // YQLog_h
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-4.2.11/libyui-qt/src/YQPartitionSplitter.cc 
new/libyui-4.2.13/libyui-qt/src/YQPartitionSplitter.cc
--- old/libyui-4.2.11/libyui-qt/src/YQPartitionSplitter.cc      2021-05-31 
16:32:50.000000000 +0200
+++ new/libyui-4.2.13/libyui-qt/src/YQPartitionSplitter.cc      2021-06-02 
14:21:22.000000000 +0200
@@ -25,13 +25,14 @@
 #define YUILogComponent "qt-ui"
 #include <yui/YUILog.h>
 
+#include <yui/YEvent.h>
+#include <yui/YWidgetFactory.h>
+#include <yui/YOptionalWidgetFactory.h>
+#include <yui/YLayoutBox.h>
 #include "utf8.h"
+
 #include "YQUI.h"
-#include <yui/YEvent.h>
-#include "YQWidgetFactory.h"
-#include "YQOptionalWidgetFactory.h"
 #include "YQPartitionSplitter.h"
-#include "YQLayoutBox.h"
 #include "YQBarGraph.h"
 #include "YQIntField.h"
 #include "YQSlider.h"
@@ -92,7 +93,7 @@
        _barGraph->addSegment( YBarGraphSegment( newPartSize, newPartLabel) );
     }
 
-    _hbox          = YUI::widgetFactory()->createHBox( _vbox );
+    _hbox = YUI::widgetFactory()->createHBox( _vbox );
 
     _freeSizeSlider = new YQSlider( _hbox, freeFieldLabel,
                                    minFreeSize, maxFreeSize(), freeSize,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-4.2.11/libyui-qt/src/YQReplacePoint.cc 
new/libyui-4.2.13/libyui-qt/src/YQReplacePoint.cc
--- old/libyui-4.2.11/libyui-qt/src/YQReplacePoint.cc   2021-05-31 
16:32:50.000000000 +0200
+++ new/libyui-4.2.13/libyui-qt/src/YQReplacePoint.cc   2021-06-02 
14:21:22.000000000 +0200
@@ -49,12 +49,14 @@
         qChild->show();
 
         /* Refresh the whole UI so it doesn't get stalled in some situations. 
*/
+        
         for ( YWidgetListConstIterator it = child->childrenBegin(); it != 
child->childrenEnd(); ++it )
         {
             YWidget *ch = *it;
-            QWidget * qChild = (QWidget *)ch->widgetRep();
+            QWidget * qChild = (QWidget *) ch->widgetRep();
             qChild->show();
         }
+        
         qChild = (QWidget *) this->widgetRep();
         qChild->show();
     }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-4.2.11/libyui-qt/src/YQUI.cc 
new/libyui-4.2.13/libyui-qt/src/YQUI.cc
--- old/libyui-4.2.11/libyui-qt/src/YQUI.cc     2021-05-31 16:32:50.000000000 
+0200
+++ new/libyui-4.2.13/libyui-qt/src/YQUI.cc     2021-06-02 14:21:22.000000000 
+0200
@@ -649,11 +649,15 @@
 #endif
 
        case QtWarningMsg:
+            // Suppress well-known Qt warning that we can't do anything about
+            if ( msg.contains( "Timers cannot be stopped from another thread" 
) )
+                break;
+            
            yuiWarning() <<  "<libqt-warning> " << msg << endl;
            break;
 
        case QtCriticalMsg:
-           yuiError() <<  "<libqt-critical>" << msg << endl;
+            yuiError() <<  "<libqt-critical>" << msg << endl;
            break;
 
        case QtFatalMsg:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-4.2.11/package/libyui-bindings.spec 
new/libyui-4.2.13/package/libyui-bindings.spec
--- old/libyui-4.2.11/package/libyui-bindings.spec      2021-05-31 
16:32:50.000000000 +0200
+++ new/libyui-4.2.13/package/libyui-bindings.spec      2021-06-02 
14:21:22.000000000 +0200
@@ -20,7 +20,7 @@
 Name:           libyui-bindings
 
 # DO NOT manually bump the version here; instead, use rake version:bump
-Version:        4.2.11
+Version:        4.2.13
 Release:        0
 Summary:        Bindings for libyui
 License:        LGPL-2.1-only OR LGPL-3.0-only
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-4.2.11/package/libyui-ncurses-pkg.spec 
new/libyui-4.2.13/package/libyui-ncurses-pkg.spec
--- old/libyui-4.2.11/package/libyui-ncurses-pkg.spec   2021-05-31 
16:32:50.000000000 +0200
+++ new/libyui-4.2.13/package/libyui-ncurses-pkg.spec   2021-06-02 
14:21:22.000000000 +0200
@@ -19,7 +19,7 @@
 Name:           libyui-ncurses-pkg
 
 # DO NOT manually bump the version here; instead, use rake version:bump
-Version:        4.2.11
+Version:        4.2.13
 Release:        0
 
 %define         so_version 15
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-4.2.11/package/libyui-ncurses-rest-api.spec 
new/libyui-4.2.13/package/libyui-ncurses-rest-api.spec
--- old/libyui-4.2.11/package/libyui-ncurses-rest-api.spec      2021-05-31 
16:32:50.000000000 +0200
+++ new/libyui-4.2.13/package/libyui-ncurses-rest-api.spec      2021-06-02 
14:21:22.000000000 +0200
@@ -19,7 +19,7 @@
 Name:           libyui-ncurses-rest-api
 
 # DO NOT manually bump the version here; instead, use rake version:bump
-Version:        4.2.11
+Version:        4.2.13
 Release:        0
 
 %define         so_version 15
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-4.2.11/package/libyui-ncurses.spec 
new/libyui-4.2.13/package/libyui-ncurses.spec
--- old/libyui-4.2.11/package/libyui-ncurses.spec       2021-05-31 
16:32:50.000000000 +0200
+++ new/libyui-4.2.13/package/libyui-ncurses.spec       2021-06-02 
14:21:22.000000000 +0200
@@ -19,7 +19,7 @@
 Name:           libyui-ncurses
 
 # DO NOT manually bump the version here; instead, use rake version:bump
-Version:        4.2.11
+Version:        4.2.13
 Release:        0
 
 %define         so_version 15
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-4.2.11/package/libyui-qt-graph.spec 
new/libyui-4.2.13/package/libyui-qt-graph.spec
--- old/libyui-4.2.11/package/libyui-qt-graph.spec      2021-05-31 
16:32:50.000000000 +0200
+++ new/libyui-4.2.13/package/libyui-qt-graph.spec      2021-06-02 
14:21:22.000000000 +0200
@@ -19,7 +19,7 @@
 Name:           libyui-qt-graph
 
 # DO NOT manually bump the version here; instead, use   rake version:bump
-Version:        4.2.11
+Version:        4.2.13
 Release:        0
 
 %define         so_version 15
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-4.2.11/package/libyui-qt-pkg.spec 
new/libyui-4.2.13/package/libyui-qt-pkg.spec
--- old/libyui-4.2.11/package/libyui-qt-pkg.spec        2021-05-31 
16:32:50.000000000 +0200
+++ new/libyui-4.2.13/package/libyui-qt-pkg.spec        2021-06-02 
14:21:22.000000000 +0200
@@ -19,7 +19,7 @@
 Name:           libyui-qt-pkg
 
 # DO NOT manually bump the version here; instead, use rake version:bump
-Version:        4.2.11
+Version:        4.2.13
 Release:        0
 
 %define         so_version 15
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-4.2.11/package/libyui-qt-rest-api.spec 
new/libyui-4.2.13/package/libyui-qt-rest-api.spec
--- old/libyui-4.2.11/package/libyui-qt-rest-api.spec   2021-05-31 
16:32:50.000000000 +0200
+++ new/libyui-4.2.13/package/libyui-qt-rest-api.spec   2021-06-02 
14:21:22.000000000 +0200
@@ -19,7 +19,7 @@
 Name:           libyui-qt-rest-api
 
 # DO NOT manually bump the version here; instead, use rake version:bump
-Version:        4.2.11
+Version:        4.2.13
 Release:        0
 
 %define         so_version 15
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-4.2.11/package/libyui-qt.spec 
new/libyui-4.2.13/package/libyui-qt.spec
--- old/libyui-4.2.11/package/libyui-qt.spec    2021-05-31 16:32:50.000000000 
+0200
+++ new/libyui-4.2.13/package/libyui-qt.spec    2021-06-02 14:21:22.000000000 
+0200
@@ -19,7 +19,7 @@
 Name:           libyui-qt
 
 # DO NOT manually bump the version here; instead, use rake version:bump
-Version:        4.2.11
+Version:        4.2.13
 Release:        0
 
 %define         so_version 15
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-4.2.11/package/libyui-rest-api.spec 
new/libyui-4.2.13/package/libyui-rest-api.spec
--- old/libyui-4.2.11/package/libyui-rest-api.spec      2021-05-31 
16:32:50.000000000 +0200
+++ new/libyui-4.2.13/package/libyui-rest-api.spec      2021-06-02 
14:21:22.000000000 +0200
@@ -19,7 +19,7 @@
 Name:           libyui-rest-api
 
 # DO NOT manually bump the version here; instead, use rake version:bump
-Version:        4.2.11
+Version:        4.2.13
 Release:        0
 
 %define         so_version 15
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-4.2.11/package/libyui.changes 
new/libyui-4.2.13/package/libyui.changes
--- old/libyui-4.2.11/package/libyui.changes    2021-05-31 16:32:50.000000000 
+0200
+++ new/libyui-4.2.13/package/libyui.changes    2021-06-02 14:21:22.000000000 
+0200
@@ -1,4 +1,19 @@
 -------------------------------------------------------------------
+Wed Jun  2 11:18:42 UTC 2021 - Stefan Hundhammer <shundham...@suse.com>
+
+- Fixed build failure with latest GCC 11.1:
+  Added operator delete as counterpart to our custom operator new
+  in YWidget (bsc#1186741)
+- 4.2.13
+
+-------------------------------------------------------------------
+Tue Jun  1 16:16:17 UTC 2021 - Stefan Hundhammer <shundham...@suse.com>
+
+- Greatly improved visual appearance of tab widgets in the Qt UI
+  (bsc #1186705, GitHub issue #20)
+- 4.2.12
+
+-------------------------------------------------------------------
 Wed May 26 08:21:36 UTC 2021 - Martin Vidner <mvid...@suse.com>
 
 - rest-api: fix crash when switching tabs (bsc#1185746)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-4.2.11/package/libyui.spec 
new/libyui-4.2.13/package/libyui.spec
--- old/libyui-4.2.11/package/libyui.spec       2021-05-31 16:32:50.000000000 
+0200
+++ new/libyui-4.2.13/package/libyui.spec       2021-06-02 14:21:22.000000000 
+0200
@@ -19,7 +19,7 @@
 Name:           libyui
 
 # DO NOT manually bump the version here; instead, use rake version:bump
-Version:        4.2.11
+Version:        4.2.13
 Release:        0
 
 %define         so_version 15

Reply via email to