Hello community,

here is the log from the commit of package qmmp for openSUSE:Factory checked in 
at 2016-04-06 11:51:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qmmp (Old)
 and      /work/SRC/openSUSE:Factory/.qmmp.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "qmmp"

Changes:
--------
--- /work/SRC/openSUSE:Factory/qmmp/qmmp.changes        2016-02-01 
19:56:59.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.qmmp.new/qmmp.changes   2016-04-06 
11:52:04.000000000 +0200
@@ -1,0 +2,11 @@
+Sun Apr  3 22:12:43 UTC 2016 - [email protected]
+
+- Update to 1.0.7:
+  * Add ffmpeg 3.0 support.
+  * Add support for theme change event in the qsui plugin.
+  * Fix sending multiple play commands when opening several files
+    for playback.
+  * Fix memory leaks.
+  * Fix Qt 5.6 support.
+
+-------------------------------------------------------------------

Old:
----
  qmmp-1.0.6.tar.bz2

New:
----
  qmmp-1.0.7.tar.bz2

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

Other differences:
------------------
++++++ qmmp.spec ++++++
--- /var/tmp/diff_new_pack.mEDsUu/_old  2016-04-06 11:52:05.000000000 +0200
+++ /var/tmp/diff_new_pack.mEDsUu/_new  2016-04-06 11:52:05.000000000 +0200
@@ -19,7 +19,7 @@
 %define sover   1
 %bcond_with restricted
 Name:           qmmp
-Version:        1.0.6
+Version:        1.0.7
 Release:        0
 Summary:        Qt-based Multimedia Player
 License:        GPL-2.0+

++++++ qmmp-1.0.6.tar.bz2 -> qmmp-1.0.7.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qmmp-1.0.6/ChangeLog new/qmmp-1.0.7/ChangeLog
--- old/qmmp-1.0.6/ChangeLog    2016-01-27 07:18:19.000000000 +0100
+++ new/qmmp-1.0.7/ChangeLog    2016-04-03 14:15:58.000000000 +0200
@@ -1102,3 +1102,10 @@
 * fixed Russian translation
 * updated Portuguese translation (Sérgio Marques)
 * updated Chinese Simplified translation (Mingye Wang)
+
+Version 1.0.7
+* added ffmpeg 3.0 support
+* added support for theme change event in the qsui plugin
+* fixed sendig multiple play commands when opening several files for playback
+* fixed memory leaks
+* fixed qt5.6 support
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qmmp-1.0.6/ChangeLog.rus new/qmmp-1.0.7/ChangeLog.rus
--- old/qmmp-1.0.6/ChangeLog.rus        2016-01-27 07:18:19.000000000 +0100
+++ new/qmmp-1.0.7/ChangeLog.rus        2016-04-03 14:15:58.000000000 +0200
@@ -1104,3 +1104,10 @@
 * исправлен русский перевод
 * обновлён португальский перевод (Sérgio Marques)
 * обновлён китайский упрощённый перевод (Mingye Wang)
+
+Версия 1.0.7
+* добавлена поддержка ffmpeg 3.0
+* добавлена поддержка события смены темы в модуле qsui
+* устранена отправка множества команд "воспроизвести" при открытии нескольких 
файлов для воспроизведения
+* устранены утечки памяти
+* исправлена поддержка qt5.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qmmp-1.0.6/ChangeLog.svn new/qmmp-1.0.7/ChangeLog.svn
--- old/qmmp-1.0.6/ChangeLog.svn        2016-01-27 07:18:19.000000000 +0100
+++ new/qmmp-1.0.7/ChangeLog.svn        2016-04-03 14:15:58.000000000 +0200
@@ -1,4 +1,52 @@
 ------------------------------------------------------------------------
+r6197 | trialuser02 | 2016-03-25 09:57:21 +0300 (Пт., 25 марта 2016) | 1 line
+
+updated changelogs
+------------------------------------------------------------------------
+r6195 | trialuser02 | 2016-03-17 16:14:07 +0300 (Чт., 17 марта 2016) | 1 line
+
+udisks2: fixed qt5.6 support
+------------------------------------------------------------------------
+r6193 | trialuser02 | 2016-03-17 15:34:16 +0300 (Чт., 17 марта 2016) | 1 line
+
+fixed build
+------------------------------------------------------------------------
+r6191 | trialuser02 | 2016-03-16 15:51:47 +0300 (Ср., 16 марта 2016) | 1 line
+
+updated changelogs
+------------------------------------------------------------------------
+r6189 | trialuser02 | 2016-03-16 15:50:37 +0300 (Ср., 16 марта 2016) | 1 line
+
+qsui: fixed memory leak
+------------------------------------------------------------------------
+r6184 | trialuser02 | 2016-03-14 12:22:08 +0300 (Пн., 14 марта 2016) | 1 line
+
+updated changelog
+------------------------------------------------------------------------
+r6182 | trialuser02 | 2016-03-14 11:31:02 +0300 (Пн., 14 марта 2016) | 1 line
+
+fixed memory leak
+------------------------------------------------------------------------
+r6173 | trialuser02 | 2016-03-11 11:05:08 +0300 (Пт., 11 марта 2016) | 1 line
+
+qsui: fixed qt5ct support (#846)
+------------------------------------------------------------------------
+r6160 | trialuser02 | 2016-03-05 17:41:04 +0300 (Сб., 05 марта 2016) | 1 line
+
+fixed 'open and play' feature
+------------------------------------------------------------------------
+r6137 | trialuser02 | 2016-02-16 11:26:29 +0300 (Вт., 16 февр. 2016) | 1 line
+
+fixed previous commit
+------------------------------------------------------------------------
+r6133 | trialuser02 | 2016-02-16 11:08:46 +0300 (Вт., 16 февр. 2016) | 1 line
+
+added ffmpeg 3.0 support
+------------------------------------------------------------------------
+r6104 | trialuser02 | 2016-01-27 09:27:59 +0300 (Ср., 27 янв. 2016) | 1 line
+
+version bump
+------------------------------------------------------------------------
 r6095 | trialuser02 | 2016-01-25 10:43:04 +0300 (Пн., 25 янв. 2016) | 1 line
 
 updated changelogs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qmmp-1.0.6/qmmp.pri new/qmmp-1.0.7/qmmp.pri
--- old/qmmp-1.0.6/qmmp.pri     2016-01-27 07:18:19.000000000 +0100
+++ new/qmmp-1.0.7/qmmp.pri     2016-04-03 14:15:58.000000000 +0200
@@ -13,7 +13,7 @@
 
 #Version
 
-QMMP_VERSION = 1.0.6
+QMMP_VERSION = 1.0.7
 
 #Comment/uncomment this if you want to change plugins list
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qmmp-1.0.6/src/app/qmmp.rc 
new/qmmp-1.0.7/src/app/qmmp.rc
--- old/qmmp-1.0.6/src/app/qmmp.rc      2016-01-27 07:18:19.000000000 +0100
+++ new/qmmp-1.0.7/src/app/qmmp.rc      2016-04-03 14:15:52.000000000 +0200
@@ -1,7 +1,7 @@
 #include <winver.h>
 
-#define QMMP_FILEVERSION 1,0,6,0
-#define QMMP_PRODUCTVERSION "1.0.6.0"
+#define QMMP_FILEVERSION 1,0,7,0
+#define QMMP_PRODUCTVERSION "1.0.7.0"
 
 IDI_ICON1              ICON            DISCARDABLE     "images\\ico\\qmmp.ico"
 IDI_ICON2              ICON            DISCARDABLE     
"images\\ico\\qmmp_file.ico"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/qmmp-1.0.6/src/plugins/General/udisks2/udisks2device.cpp 
new/qmmp-1.0.7/src/plugins/General/udisks2/udisks2device.cpp
--- old/qmmp-1.0.6/src/plugins/General/udisks2/udisks2device.cpp        
2016-01-27 07:18:19.000000000 +0100
+++ new/qmmp-1.0.7/src/plugins/General/udisks2/udisks2device.cpp        
2016-04-03 14:15:53.000000000 +0200
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2013-2015 by Ilya Kotov                                 *
+ *   Copyright (C) 2013-2016 by Ilya Kotov                                 *
  *   [email protected]                                                 *
  *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
@@ -93,7 +93,10 @@
     foreach (QVariant arg, args)
     {
         QByteArrayList list;
-        arg.value<QDBusVariant>().variant().value<QDBusArgument>() >> list;
+        QDBusArgument a = 
arg.value<QDBusVariant>().variant().value<QDBusArgument>();
+        if(a.currentType() != QDBusArgument::ArrayType)
+            continue;
+        a >> list;
 
         foreach (QByteArray p, list)
             points.append(p);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/qmmp-1.0.6/src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp 
new/qmmp-1.0.7/src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp
--- old/qmmp-1.0.6/src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp  2016-01-27 
07:18:19.000000000 +0100
+++ new/qmmp-1.0.7/src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp  2016-04-03 
14:15:53.000000000 +0200
@@ -90,7 +90,11 @@
     if (ic)
         avformat_free_context(ic);
     if(m_pkt.data)
+#if (LIBAVCODEC_VERSION_INT >= ((57<<16)+(24<<8)+102)) //ffmpeg-3.0
+        av_packet_unref(&m_pkt);
+#else
         av_free_packet(&m_pkt);
+#endif
     if(m_stream)
         av_free(m_stream);
 
@@ -377,7 +381,11 @@
         m_temp_pkt.size -= l;
     }
     if (!m_temp_pkt.size && m_pkt.data)
+#if (LIBAVCODEC_VERSION_INT >= ((57<<16)+(24<<8)+102)) //ffmpeg-3.0
+        av_packet_unref(&m_pkt);
+#else
         av_free_packet(&m_pkt);
+#endif
 
     return out_size;
 }
@@ -390,7 +398,11 @@
     m_seekTime = timestamp;
     av_seek_frame(ic, -1, timestamp, AVSEEK_FLAG_BACKWARD);
     avcodec_flush_buffers(c);
+#if (LIBAVCODEC_VERSION_INT >= ((57<<16)+(24<<8)+102)) //ffmpeg-3.0
+    av_packet_unref(&m_pkt);
+#else
     av_free_packet(&m_pkt);
+#endif
     m_temp_pkt.size = 0;
 }
 
@@ -411,7 +423,11 @@
             if(m_pkt.stream_index != wma_idx)
             {
                 if(m_pkt.data)
+#if (LIBAVCODEC_VERSION_INT >= ((57<<16)+(24<<8)+102)) //ffmpeg-3.0
+                    av_packet_unref(&m_pkt);
+#else
                     av_free_packet(&m_pkt);
+#endif
                 m_temp_pkt.size = 0;
                 continue;
             }
@@ -481,7 +497,11 @@
 #endif
             {
                 if(m_pkt.data)
+#if (LIBAVCODEC_VERSION_INT >= ((57<<16)+(24<<8)+102)) //ffmpeg-3.0
+                    av_packet_unref(&m_pkt);
+#else
                     av_free_packet(&m_pkt);
+#endif
                 m_pkt.data = 0;
                 m_temp_pkt.size = 0;
                 break;
@@ -491,7 +511,11 @@
         else if(m_output_at == 0)
         {
             if(m_pkt.data)
+#if (LIBAVCODEC_VERSION_INT >= ((57<<16)+(24<<8)+102)) //ffmpeg-3.0
+                av_packet_unref(&m_pkt);
+#else
                 av_free_packet(&m_pkt);
+#endif
             m_pkt.data = 0;
             m_temp_pkt.size = 0;
             continue;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/qmmp-1.0.6/src/plugins/Output/alsa/settingsdialog.cpp 
new/qmmp-1.0.7/src/plugins/Output/alsa/settingsdialog.cpp
--- old/qmmp-1.0.6/src/plugins/Output/alsa/settingsdialog.cpp   2016-01-27 
07:18:19.000000000 +0100
+++ new/qmmp-1.0.7/src/plugins/Output/alsa/settingsdialog.cpp   2016-04-03 
14:15:53.000000000 +0200
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2006-2015 by Ilya Kotov                                 *
+ *   Copyright (C) 2006-2016 by Ilya Kotov                                 *
  *   [email protected]                                                 *
  *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
@@ -236,10 +236,8 @@
 
 int SettingsDialog::getMixer(snd_mixer_t **mixer, QString card)
 {
-    char *dev;
     int err;
 
-    dev = strdup(QString(card).toLatin1().data());
     if ((err = snd_mixer_open(mixer, 0)) < 0)
     {
         qWarning("SettingsDialog (ALSA): alsa_get_mixer(): "
@@ -247,10 +245,10 @@
         mixer = NULL;
         return -1;
     }
-    if ((err = snd_mixer_attach(*mixer, dev)) < 0)
+    if ((err = snd_mixer_attach(*mixer, card.toLatin1().constData())) < 0)
     {
         qWarning("SettingsDialog (ALSA): alsa_get_mixer(): "
-                 "Attaching to mixer %s failed: %s", dev, snd_strerror(-err));
+                 "Attaching to mixer %s failed: %s", qPrintable(card), 
snd_strerror(-err));
         return -1;
     }
     if ((err = snd_mixer_selem_register(*mixer, NULL, NULL)) < 0)
@@ -266,8 +264,6 @@
         return -1;
     }
 
-    free (dev);
-
     return (*mixer != NULL);
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qmmp-1.0.6/src/plugins/Ui/qsui/listwidget.cpp 
new/qmmp-1.0.7/src/plugins/Ui/qsui/listwidget.cpp
--- old/qmmp-1.0.6/src/plugins/Ui/qsui/listwidget.cpp   2016-01-27 
07:18:19.000000000 +0100
+++ new/qmmp-1.0.7/src/plugins/Ui/qsui/listwidget.cpp   2016-04-03 
14:15:52.000000000 +0200
@@ -318,6 +318,9 @@
         else if(e->type() == QEvent::Leave)
             m_popupWidget->deactivate();
     }
+    if(e->type() == QEvent::StyleChange)
+        readSettings();
+
     return QWidget::event(e);
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qmmp-1.0.6/src/plugins/Ui/qsui/toolbareditor.cpp 
new/qmmp-1.0.7/src/plugins/Ui/qsui/toolbareditor.cpp
--- old/qmmp-1.0.6/src/plugins/Ui/qsui/toolbareditor.cpp        2016-01-27 
07:18:19.000000000 +0100
+++ new/qmmp-1.0.7/src/plugins/Ui/qsui/toolbareditor.cpp        2016-04-03 
14:15:52.000000000 +0200
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2013 by Ilya Kotov                                      *
+ *   Copyright (C) 2013-2016 by Ilya Kotov                                 *
  *   [email protected]                                                 *
  *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
@@ -68,14 +68,13 @@
     for(int id = ActionManager::PLAY; id <= ActionManager::QUIT; ++id)
     {
         QAction *action = ACTION(id);
-        if(action->icon().isNull())
+        if(action->icon().isNull() || names.contains(action->objectName()))
             continue;
         QListWidgetItem *item = new QListWidgetItem();
         item->setIcon(action->icon());
         item->setText(action->text().replace("&", ""));
         item->setData(Qt::UserRole, action->objectName());
-        if(!names.contains(action->objectName()))
-            m_ui->actionsListWidget->addItem(item);
+        m_ui->actionsListWidget->addItem(item);
     }
 
     {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qmmp-1.0.6/src/qmmp/qmmp.h 
new/qmmp-1.0.7/src/qmmp/qmmp.h
--- old/qmmp-1.0.6/src/qmmp/qmmp.h      2016-01-27 07:18:20.000000000 +0100
+++ new/qmmp-1.0.7/src/qmmp/qmmp.h      2016-04-03 14:15:59.000000000 +0200
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2008-2015 by Ilya Kotov                                 *
+ *   Copyright (C) 2008-2016 by Ilya Kotov                                 *
  *   [email protected]                                                 *
  *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
@@ -24,7 +24,7 @@
 
 #define QMMP_VERSION_MAJOR 1
 #define QMMP_VERSION_MINOR 0
-#define QMMP_VERSION_PATCH 6
+#define QMMP_VERSION_PATCH 7
 #define QMMP_VERSION_STABLE 1
 
 #define QMMP_VERSION_INT (QMMP_VERSION_MAJOR<<16 | QMMP_VERSION_MINOR<<8 | 
QMMP_VERSION_PATCH)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qmmp-1.0.6/src/qmmpui/uihelper.cpp 
new/qmmp-1.0.7/src/qmmpui/uihelper.cpp
--- old/qmmp-1.0.6/src/qmmpui/uihelper.cpp      2016-01-27 07:18:19.000000000 
+0100
+++ new/qmmp-1.0.7/src/qmmpui/uihelper.cpp      2016-04-03 14:15:52.000000000 
+0200
@@ -267,7 +267,7 @@
     m_model->clear();
     PlayListManager::instance()->activatePlayList(m_model);
     connect(m_model, SIGNAL(trackAdded(PlayListTrack*)), 
MediaPlayer::instance(), SLOT(play()));
-    connect(m_model, SIGNAL(loaderFinished()), SLOT(disconnectPl()));
+    connect(m_model, SIGNAL(trackAdded(PlayListTrack*)), SLOT(disconnectPl()));
     m_model->add(files);
 }
 


Reply via email to