Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package upplay for openSUSE:Factory checked 
in at 2026-10-27 17:06:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/upplay (Old)
 and      /work/SRC/openSUSE:Factory/.upplay.new.2252680 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "upplay"

Tue Oct 27 17:06:53 2026 rev:21 rq:1393024 version:1.9.13

Changes:
--------
--- /work/SRC/openSUSE:Factory/upplay/upplay.changes    2026-09-04 
12:39:54.465526179 +0200
+++ /work/SRC/openSUSE:Factory/.upplay.new.2252680/upplay.changes       
2026-10-27 17:07:48.265826735 +0100
@@ -1,0 +2,8 @@
+Tue Oct 27 09:07:37 UTC 2026 - Michael Pujos <[email protected]>
+
+- Update to 1.9.13
+  * Fix off-by-one error when sending a specific track slice from the
+    directory browser to the player
+  * Fix small memory leak occurring when interrupting a directory read
+
+-------------------------------------------------------------------

Old:
----
  upplay-1.9.12.tar.gz
  upplay-1.9.12.tar.gz.asc

New:
----
  upplay-1.9.13.tar.gz
  upplay-1.9.13.tar.gz.asc

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

Other differences:
------------------
++++++ upplay.spec ++++++
--- /var/tmp/diff_new_pack.s7UOmR/_old  2026-10-27 17:07:50.077902638 +0100
+++ /var/tmp/diff_new_pack.s7UOmR/_new  2026-10-27 17:07:50.081902806 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           upplay
-Version:        1.9.12
+Version:        1.9.13
 Release:        0
 Summary:        UPnP and OpenHome audio Control Point
 License:        GPL-2.0-or-later

++++++ upplay-1.9.12.tar.gz -> upplay-1.9.13.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/upplay-1.9.12/GUI/mdatawidget/mdatawidget.cpp 
new/upplay-1.9.13/GUI/mdatawidget/mdatawidget.cpp
--- old/upplay-1.9.12/GUI/mdatawidget/mdatawidget.cpp   2026-05-27 
11:48:46.000000000 +0200
+++ new/upplay-1.9.13/GUI/mdatawidget/mdatawidget.cpp   2026-09-10 
08:36:34.000000000 +0200
@@ -39,7 +39,7 @@
 #include <QNetworkDiskCache>
 #endif
 
-#define LOGGER_LOCAL_LOGINC 4
+// #define LOGGER_LOCAL_LOGINC 4
 #include <libupnpp/log.h>
 #include <libupnpp/control/cdircontent.hxx>
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/upplay-1.9.12/appimage/makeimage.sh 
new/upplay-1.9.13/appimage/makeimage.sh
--- old/upplay-1.9.12/appimage/makeimage.sh     2026-04-24 09:37:34.000000000 
+0200
+++ new/upplay-1.9.13/appimage/makeimage.sh     2026-08-08 17:15:50.000000000 
+0200
@@ -12,7 +12,7 @@
 UPPDISTS=/home/dockes/projets/lesbonscomptes/upplay/downloads
 
 FROMGIT=0
-UPPLAY_VERSION=1.9.10
+UPPLAY_VERSION=1.9.12
 
 DEPLOYBINDIR=~/.local/bin
 
@@ -40,8 +40,8 @@
 
 mkdir -p $BUILDDIR
 cd $BUILDDIR || exit 1
-qmake $UPPLAY/upplay.pro
-make -j 4
+qmake $UPPLAY/upplay.pro || exit 1
+make -j 4 || exit 1
 
 echo;echo INSTALLING TO $APPDIR
 make install INSTALL_ROOT=$APPDIR 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/upplay-1.9.12/dirbrowser/cdb_html.cpp 
new/upplay-1.9.13/dirbrowser/cdb_html.cpp
--- old/upplay-1.9.12/dirbrowser/cdb_html.cpp   2026-06-02 11:03:21.000000000 
+0200
+++ new/upplay-1.9.13/dirbrowser/cdb_html.cpp   2026-09-04 09:59:23.000000000 
+0200
@@ -138,7 +138,7 @@
     //  return QString("<img height='%1' width='%1' src='%2' 
/>").arg(height).arg(url);
     // Automatic centering (default object-position: 50% 50%:
     auto ret = std::string("<img style='object-fit: scale-down; height: ") +
-        std::to_string(height) + "; width: " + std::to_string(height) + "' 
src='" + url + "' ";
+        std::to_string(height) + "; width: " + std::to_string(height) + "' 
src='" + escapeHtml(url) + "' ";
     // Use the "title" attribute to provide a tooltip. 
     if (!tooltip.empty()) {
         ret += "title='" + tooltip +"'";
@@ -151,7 +151,7 @@
 static std::string mkctattrs(
     const std::string& title, const std::string& objid, int idx, bool 
isPlaylist)
 {
-    return std::string("class='container' objid='") + objid + "' objidx='" + 
std::to_string(idx) +
+    return std::string("class='container' objid='") + escapeHtml(objid) + "' 
objidx='" + std::to_string(idx) +
         "' ispl='" + (isPlaylist ? "1" : "0") + "'"  + "title='" + title + "'";
 }
 
@@ -400,7 +400,7 @@
     snprintf(sdur, 100, "%02d:%02d", mins, secs);
 
     std::map<std::string, std::string> props {
-        {"objid", e.m_id},
+        {"objid", escapeHtml(e.m_id)},
         {"idx", std::to_string(idx)},
         {"tracknum", tracknum},
         {"title", title},
@@ -525,10 +525,10 @@
             title = e.title;
         }
         std::map<std::string, std::string> props {
-            {"objid", e.objid},
+            {"objid", escapeHtml(e.objid)},
             {"idx", std::to_string(i)},
             {"sep", sep},
-            {"title", title},
+            {"title", escapeHtml(title)},
             {"linktitle", linktitle},
             {"ispl", (e.isPlaylist ? "1" : "0")},
         };
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/upplay-1.9.12/dirbrowser/cdbrowser.cpp 
new/upplay-1.9.13/dirbrowser/cdbrowser.cpp
--- old/upplay-1.9.12/dirbrowser/cdbrowser.cpp  2026-08-08 16:50:51.000000000 
+0200
+++ new/upplay-1.9.13/dirbrowser/cdbrowser.cpp  2026-09-04 09:59:23.000000000 
+0200
@@ -1766,7 +1766,7 @@
     case PUP_ADD_ALL:
     {
         bool allok{true};
-        unsigned int actualend = endidx == -1 ? m_entries.size() : (unsigned 
int)endidx;
+        unsigned int actualend = endidx == -1 ? m_entries.size() : (unsigned 
int)(endidx + 1);
         for (unsigned int i = starti; i < actualend; i++) {
             if (m_entries[i].m_type == UPnPDirObject::item && 
                 m_entries[i].m_iclass == 
UPnPDirObject::ITC_audioItem_musicTrack) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/upplay-1.9.12/upadapt/metadata.conf 
new/upplay-1.9.13/upadapt/metadata.conf
--- old/upplay-1.9.12/upadapt/metadata.conf     2026-03-06 16:38:10.000000000 
+0100
+++ new/upplay-1.9.13/upadapt/metadata.conf     2026-09-03 14:44:52.000000000 
+0200
@@ -46,3 +46,6 @@
 
 upnp:genre = Genres
 upmpd:mood = Moods
+
+upmpd:albumgain = Album Gain
+upmpd:trackgain = Track Gain
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/upplay-1.9.12/upplay.pro new/upplay-1.9.13/upplay.pro
--- old/upplay-1.9.12/upplay.pro        2026-08-08 16:58:09.000000000 +0200
+++ new/upplay-1.9.13/upplay.pro        2026-09-12 17:50:20.000000000 +0200
@@ -2,7 +2,7 @@
 TARGET          = upplay
 
 # VERSION is ^egrepped and must stay in the first column
-VERSION = 1.9.12
+VERSION = 1.9.13
 COPYRDATES = 2011-2026
 
 # Possibly override WEBPLATFORM from the command line, or environment
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/upplay-1.9.12/upqo/cdirectory_qo.h 
new/upplay-1.9.13/upqo/cdirectory_qo.h
--- old/upplay-1.9.12/upqo/cdirectory_qo.h      2026-01-13 15:07:17.000000000 
+0100
+++ new/upplay-1.9.13/upqo/cdirectory_qo.h      2026-09-10 09:02:11.000000000 
+0200
@@ -129,9 +129,11 @@
             }
             if (m_cancel) {
                 LOGINF("reader: objid " << m_objid << " Cancelled\n");
+                delete slice;
                 break;
             }
             if (m_status != UPNP_E_SUCCESS) {
+                delete slice;
                 break;
             }
             offset += count;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/upplay-1.9.12/utils/pathut.cpp 
new/upplay-1.9.13/utils/pathut.cpp
--- old/upplay-1.9.12/utils/pathut.cpp  2026-03-23 09:11:16.000000000 +0100
+++ new/upplay-1.9.13/utils/pathut.cpp  2026-09-02 08:28:23.000000000 +0200
@@ -1230,9 +1230,8 @@
     // MSC STL has support for using wide chars in fstream
     // constructor. We need this if, e.g. the user name/home directory
     // is not ASCII. Actually don't know how to do this with gcc
-    wchar_t wpath[MAX_PATH + 1];
-    utf8towchar(path, wpath, MAX_PATH);
-    outstream.open(wpath, std::ios_base::openmode(mode));
+    auto wpath = utf8towchar(path);
+    outstream.open(wpath.get(), std::ios_base::openmode(mode));
 #else
     outstream.open(path, std::ios_base::openmode(mode));
 #endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/upplay-1.9.12/utils/smallut.cpp 
new/upplay-1.9.13/utils/smallut.cpp
--- old/upplay-1.9.12/utils/smallut.cpp 2026-03-21 08:24:00.000000000 +0100
+++ new/upplay-1.9.13/utils/smallut.cpp 2026-09-02 08:28:13.000000000 +0200
@@ -129,7 +129,8 @@
     }
     if (wcharcnt + 1 >  int(wcharsavail)) {
 #ifdef LOGERR
-        LOGERR("utf8towchar: not enough space\n");
+        LOGERR("utf8towchar: not enough space: avail " << wcharsavail <<
+               " needed " << wcharcnt << "\n");
 #endif
         return false;
     }

Reply via email to