Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package qpwgraph for openSUSE:Factory 
checked in at 2022-04-14 17:25:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qpwgraph (Old)
 and      /work/SRC/openSUSE:Factory/.qpwgraph.new.1941 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "qpwgraph"

Thu Apr 14 17:25:25 2022 rev:4 rq:970008 version:0.2.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/qpwgraph/qpwgraph.changes        2022-03-19 
22:23:03.388962038 +0100
+++ /work/SRC/openSUSE:Factory/.qpwgraph.new.1941/qpwgraph.changes      
2022-04-14 17:25:58.751299415 +0200
@@ -1,0 +2,9 @@
+Sun Apr 10 18:42:17 UTC 2022 - Alexei Sorokin <sor.ale...@meowr.ru>
+
+- Update to version 0.2.5:
+  * Prevent an graph refresh or update as much as possible while in
+    some canvas editing business.
+  * Possibly fix a random segfault when rendering connection lines
+    ahead of time.
+
+-------------------------------------------------------------------

Old:
----
  qpwgraph-v0.2.4.tar.bz2

New:
----
  qpwgraph-v0.2.5.tar.bz2

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

Other differences:
------------------
++++++ qpwgraph.spec ++++++
--- /var/tmp/diff_new_pack.0zBF7T/_old  2022-04-14 17:25:59.247299995 +0200
+++ /var/tmp/diff_new_pack.0zBF7T/_new  2022-04-14 17:25:59.255300004 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           qpwgraph
-Version:        0.2.4
+Version:        0.2.5
 Release:        0
 Summary:        PipeWire Graph Qt GUI Interface
 License:        GPL-2.0-or-later

++++++ qpwgraph-v0.2.4.tar.bz2 -> qpwgraph-v0.2.5.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qpwgraph-v0.2.4/CMakeLists.txt 
new/qpwgraph-v0.2.5/CMakeLists.txt
--- old/qpwgraph-v0.2.4/CMakeLists.txt  2022-03-19 12:48:43.000000000 +0100
+++ new/qpwgraph-v0.2.5/CMakeLists.txt  2022-04-06 15:53:16.000000000 +0200
@@ -1,7 +1,7 @@
 cmake_minimum_required (VERSION 3.15)
 
 project(qpwgraph
-  VERSION 0.2.4
+  VERSION 0.2.5
   DESCRIPTION "A PipeWire Graph Qt GUI Interface"
   HOMEPAGE_URL "https://gitlab.freedesktop.org/rncbc/qpwgraph";
   LANGUAGES C CXX)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qpwgraph-v0.2.4/ChangeLog 
new/qpwgraph-v0.2.5/ChangeLog
--- old/qpwgraph-v0.2.4/ChangeLog       2022-03-19 12:48:43.000000000 +0100
+++ new/qpwgraph-v0.2.5/ChangeLog       2022-04-06 15:53:16.000000000 +0200
@@ -2,6 +2,14 @@
 --------------------------------------------
 
 
+0.2.5  2022-04-06  A sixth beta release.
+
+- Prevent an graph refresh or update as much as possible while in
+  some canvas editing business (fixes issue #29). (EXPERIMENTAL)
+- Possibly fix a random segfault when rendering connection lines
+  ahead of time (possibly mitigating issue #26). (EXPERIMENTAL)
+
+
 0.2.4  2022-03-19  A fifth beta release.
 
 - Whether to enable the system-tray icon option has been added to
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qpwgraph-v0.2.4/README.md 
new/qpwgraph-v0.2.5/README.md
--- old/qpwgraph-v0.2.4/README.md       2022-03-19 12:48:43.000000000 +0100
+++ new/qpwgraph-v0.2.5/README.md       2022-04-06 15:53:16.000000000 +0200
@@ -1,9 +1,7 @@
-# qpwgraph
+# qpwgraph - A PipeWire Graph Qt GUI Interface
 
 ![Screenshot](src/images/qpwgraph_screenshot-1.png "Screenshot")
 
-## A PipeWire Graph Qt GUI Interface
-
   **qpwgraph** is a graph manager dedicated to 
[PipeWire](https://pipewire.org),
   using the [Qt C++ framework](https://qt.io), based and pretty much like the
   same of [QjackCtl](https://qjackctl.sourceforge.io).
@@ -14,43 +12,43 @@
 
 ## Prerequisites
 
-   **qpwgraph** software prerequisites for building are a C++17 compiler
-   (_g++_), the [Qt C++ framework](https://qt.io) (_qt6-qtbase-devel_ or
-   _qt5-qtbase-devel_) and of course the [PipeWire API](https://pipewire.org)
-   C development libraries and headers (_pipewire-devel_).
-   
-   Optionally on build configure time, [ALSA](https://www.alsa-project.org)
-   development libraries and headers (_alsa-devel_) are also required if
-   ALSA MIDI (Sequencer) support is desired (`cmake 
-DCONFIG_ALSA_MIDI=[1|ON]`...).
+  **qpwgraph** software prerequisites for building are a C++17 compiler
+  (_g++_), the [Qt C++ framework](https://qt.io) (_qt6-qtbase-devel_ or
+  _qt5-qtbase-devel_) and of course the [PipeWire API](https://pipewire.org)
+  C development libraries and headers (_pipewire-devel_).
+
+  Optionally on build configure time, [ALSA](https://www.alsa-project.org)
+  development libraries and headers (_alsa-devel_) are also required if
+  ALSA MIDI (Sequencer) support is desired (`cmake 
-DCONFIG_ALSA_MIDI=[1|ON]`...).
 
 ## Building
 
-   **qpwgraph** uses the [CMake](https://cmake.org) build system, version
-   3.15 or newer.
-   
-   On the source distribution top directory:
+  **qpwgraph** uses the [CMake](https://cmake.org) build system, version
+  3.15 or newer.
+
+  On the source distribution top directory:
 
     cmake [-DCMAKE_INSTALL_PREFIX=/usr/local] -B build
     cmake --build build [--parallel]
 
-   After successful build you may test run it immedialy as follows:
+  After successful build you may test run it immedialy as follows:
 
     build/src/qpwgraph
-   
-   If you may install it permanently, then run, optionally as root:
+
+  If you may install it permanently, then run, optionally as root:
 
     sudo cmake --install build
 
 
-   Enjoy.
+  Enjoy.
 
 ## License
 
-   **qpwgraph** is free, open-source software, distributed under the terms of
-   the GNU General Public License 
([GPL](https://www.gnu.org/copyleft/gpl.html))
-   version 2 or later.
+  **qpwgraph** is free, open-source software, distributed under the terms of
+  the GNU General Public License ([GPL](https://www.gnu.org/copyleft/gpl.html))
+  version 2 or later.
 
 
 ## Copyright
 
-   Copyright (C) 2021-2022, rncbc aka Rui Nuno Capela. All rights reserved.
+  Copyright (C) 2021-2022, rncbc aka Rui Nuno Capela. All rights reserved.
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/qpwgraph-v0.2.4/src/appdata/org.rncbc.qpwgraph.metainfo.xml 
new/qpwgraph-v0.2.5/src/appdata/org.rncbc.qpwgraph.metainfo.xml
--- old/qpwgraph-v0.2.4/src/appdata/org.rncbc.qpwgraph.metainfo.xml     
2022-03-19 12:48:43.000000000 +0100
+++ new/qpwgraph-v0.2.5/src/appdata/org.rncbc.qpwgraph.metainfo.xml     
2022-04-06 15:53:16.000000000 +0200
@@ -37,7 +37,7 @@
  <developer_name>rncbc aka. Rui Nuno Capela</developer_name>
  <update_contact>rn...@rncbc.org</update_contact>
  <releases>
-  <release version="0.2.4" date="2022-03-19" urgency="low" />
+  <release version="0.2.5" date="2022-04-06" urgency="low" />
  </releases>
  <content_rating type="oars-1.0"/>
 </component>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qpwgraph-v0.2.4/src/qpwgraph_canvas.cpp 
new/qpwgraph-v0.2.5/src/qpwgraph_canvas.cpp
--- old/qpwgraph-v0.2.4/src/qpwgraph_canvas.cpp 2022-03-19 12:48:43.000000000 
+0100
+++ new/qpwgraph-v0.2.5/src/qpwgraph_canvas.cpp 2022-04-06 15:53:16.000000000 
+0200
@@ -368,6 +368,14 @@
 }
 
 
+// Whether it's in the middle of something...
+bool qpwgraph_canvas::isBusy (void) const
+{
+       return (m_state != DragNone || m_connect   != nullptr
+               ||  m_item  != nullptr  || m_edit_item != nullptr);
+}
+
+
 qpwgraph_node *qpwgraph_canvas::findNode (
        const QString& name, qpwgraph_item::Mode mode, uint type ) const
 {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qpwgraph-v0.2.4/src/qpwgraph_canvas.h 
new/qpwgraph-v0.2.5/src/qpwgraph_canvas.h
--- old/qpwgraph-v0.2.4/src/qpwgraph_canvas.h   2022-03-19 12:48:43.000000000 
+0100
+++ new/qpwgraph-v0.2.5/src/qpwgraph_canvas.h   2022-04-06 15:53:16.000000000 
+0200
@@ -101,6 +101,9 @@
        qpwgraph_node *findNode(
                const QString& name, qpwgraph_item::Mode mode, uint type = 0) 
const;
 
+       // Whether it's in the middle of something...
+       bool isBusy() const;
+
        // Port (dis)connections dispatcher.
        void emitConnectPorts(
                qpwgraph_port *port1, qpwgraph_port *port2, bool is_connect);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qpwgraph-v0.2.4/src/qpwgraph_connect.cpp 
new/qpwgraph-v0.2.5/src/qpwgraph_connect.cpp
--- old/qpwgraph-v0.2.4/src/qpwgraph_connect.cpp        2022-03-19 
12:48:43.000000000 +0100
+++ new/qpwgraph-v0.2.5/src/qpwgraph_connect.cpp        2022-04-06 
15:53:16.000000000 +0200
@@ -1,7 +1,7 @@
 // qpwgraph_connect.cpp
 //
 /****************************************************************************
-   Copyright (C) 2021, rncbc aka Rui Nuno Capela. All rights reserved.
+   Copyright (C) 2021-2022, rncbc aka Rui Nuno Capela. All rights reserved.
 
    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License
@@ -186,7 +186,8 @@
 
 void qpwgraph_connect::updatePath (void)
 {
-       updatePathTo(m_port2->portPos());
+       if (m_port2) 
+               updatePathTo(m_port2->portPos());
 }
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qpwgraph-v0.2.4/src/qpwgraph_connect.h 
new/qpwgraph-v0.2.5/src/qpwgraph_connect.h
--- old/qpwgraph-v0.2.4/src/qpwgraph_connect.h  2022-03-19 12:48:43.000000000 
+0100
+++ new/qpwgraph-v0.2.5/src/qpwgraph_connect.h  2022-04-06 15:53:16.000000000 
+0200
@@ -1,7 +1,7 @@
 // qpwgraph_connect.h
 //
 /****************************************************************************
-   Copyright (C) 2021, rncbc aka Rui Nuno Capela. All rights reserved.
+   Copyright (C) 2021-2022, rncbc aka Rui Nuno Capela. All rights reserved.
 
    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qpwgraph-v0.2.4/src/qpwgraph_form.cpp 
new/qpwgraph-v0.2.5/src/qpwgraph_form.cpp
--- old/qpwgraph-v0.2.4/src/qpwgraph_form.cpp   2022-03-19 12:48:43.000000000 
+0100
+++ new/qpwgraph-v0.2.5/src/qpwgraph_form.cpp   2022-04-06 15:53:16.000000000 
+0200
@@ -956,6 +956,11 @@
 // Pseudo-asyncronous timed refreshner.
 void qpwgraph_form::refresh (void)
 {
+       if (m_ui.graphCanvas->isBusy()) {
+               QTimer::singleShot(1200, this, SLOT(refresh()));
+               return;
+       }
+
        int nchanged = 0;
 
        if (m_pipewire_changed > 0) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qpwgraph-v0.2.4/src/qpwgraph_systray.cpp 
new/qpwgraph-v0.2.5/src/qpwgraph_systray.cpp
--- old/qpwgraph-v0.2.4/src/qpwgraph_systray.cpp        2022-03-19 
12:48:43.000000000 +0100
+++ new/qpwgraph-v0.2.5/src/qpwgraph_systray.cpp        2022-04-06 
15:53:16.000000000 +0200
@@ -40,7 +40,11 @@
        : QSystemTrayIcon(form), m_form(form)
 {
        // Set things as inherited...
+#if QT_VERSION < QT_VERSION_CHECK(6, 1, 0)
+       QSystemTrayIcon::setIcon(QIcon(":/images/qpwgraph.png"));
+#else
        QSystemTrayIcon::setIcon(m_form->windowIcon());
+#endif
        QSystemTrayIcon::setToolTip(m_form->windowTitle());
 
        m_show = m_menu.addAction(tr("Show/Hide"), this, SLOT(showHide()));

Reply via email to