Hello community, here is the log from the commit of package qbittorrent for openSUSE:Factory checked in at 2017-03-04 16:38:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/qbittorrent (Old) and /work/SRC/openSUSE:Factory/.qbittorrent.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "qbittorrent" Sat Mar 4 16:38:14 2017 rev:51 rq:476891 version:3.3.11 Changes: -------- --- /work/SRC/openSUSE:Factory/qbittorrent/qbittorrent.changes 2017-02-07 12:05:04.427986937 +0100 +++ /work/SRC/openSUSE:Factory/.qbittorrent.new/qbittorrent.changes 2017-03-04 16:40:07.978993708 +0100 @@ -1,0 +2,152 @@ +Sat Mar 4 08:53:48 UTC 2017 - aloi...@gmx.com + +- Update to version 3.3.11 + * FEATURE: Always show progress and remaining bytes for + unselected files. (sledgehammer999) + * FEATURE: Allow to change priority for unselected files + through the combobox like it is done via the context menu. + (sledgehammer999) + * FEATURE: Remove settings to exchange trackers. It wasn't + used by non-libtorrent clients. Also it has a privacy risk + and you might be DDoSing someone. (sledgehammer999) + * FEATURE: Put temp files in .qBittorrent directory. Closes + #4462. (Chocobo1) + * FEATURE: Use the numbers from tracker scrape response. + Closes #5048, #6117. (Chocobo1) + * FEATURE: Implement category filter widget. Show categories + in tree mode when subcategories are enabled. (glassez) + * FEATURE: Allow to toggle columns in searchtab (thalieht) + * FEATURE: PeerList: allow to hide zero values for the + "uploaded" and "downloaded" columns (thalieht) + * FEATURE: Display more information in tracker tab (ngosang) + * FEATURE: Use Ctrl+F to search torrents. Closes #5797. (Tim + Delaney) + * FEATURE: Transferlist: add hotkeys for double click and + recheck selected torrents (thalieht) + * FEATURE: Add hotkey for execution log tab, Trackerlist, + Peerlist etc (thalieht) + * FEATURE: Seperate seeds from peers for DHT, PeX and LSD + (thalieht) + * BUGFIX: Do not remove added files unconditionally. Closes + #6248 (Eugene Shalygin) + * BUGFIX: Ignore mouse wheel events in Advanced Settings. + Closes #866. (Chocobo1) + * BUGFIX: Add queue repair code. It should fix missing + torrents after restarting. (Eugene Shalygin, nxd4) + * BUGFIX: Fetch torrent status when generating final + fastresume data. It should fix missing torrents after + restarting. (Eugene Shalygin) + * BUGFIX: Fix queue overload for add torrent at session + start. It should fix missing torrents after restarting. + (falco) + * BUGFIX: After files relocate, don't remove the old folder + even if it is empty. (Chocobo1) + * BUGFIX: Fix finding 'English' item in language dropdown + menu when an unrecognized locale is requested. Closes #6109. + (sledgehammer999) + * BUGIFX: Speedlimitdlg: raise slider default value to + 10000. Closes #6150. (Chocobo1) + * BUGFIX: TransferListWidget: keep columns width even if + they are hidden on qBittorrent startup (unless something + goes wrong) (thalieht) + * BUGFIX: fix index overflow for torrents with invalid meta + data or empty progress (Falco) + * BUGFIX: Immediately update torrent_status after + manipulating super seeding mode. Partially fixes #6072. + (sledgehammer999) + * BUGFIX: Use case-insensitive comparsion for torrent + content window. Closes #6327. (Chocobo1) + * BUGFIX: Fixed sort order for datetime columns with empty + values (closes #2988) (Vladimir Sinenko) + * BUGFIX: Disable proxy in WebUI HTTP server. Closes #6349. + (Eugene Shalygin) + * COSMETIC: Use a disabled progressbar's palette for + unselected files. (sledgehammer999) + * COSMETIC: Support fallback when selecting theme icons + (Eugene Shalygin) + * COSMETIC: Do not resize SVG icons (Eugene Shalygin) + * COSMETIC: Align text to the right in columns that handle + numbers for PeerList and SearchTab (thalieht) + * COSMETIC: Increased number of digits after the decimal + point for Gibibytes and above (thalieht) + * COSMETIC: Use non-breaking spaces between numbers and + units (thalieht) + * WEBUI: Fix proxy type bug (Oke Atime) + * WEBUI: Use the correct value for + KEY_TORRENT_NUM_COMPLETE/KEY_TORRENT_NUM_INCOMPLETE + (Chocobo1) + * WEBUI: Make torrents table scrollable horizontally + (buinsky) + * WEBUI: Make torrent peers table scrollable horizontally + (buinsky) + * WEBUI: Add tooltips to dynamic table header (buinsky) + * WEBUI: Implement dynamic table columns resizing, + reordering and hiding (buinsky) + * WEBUI: Add some missing columns to dynamic tables (buinsky) + * WEBUI: Make too tall menus scrollable (buinksy) + * WEBUI: Prevent text wrapping in menus (buinsky) + * WEBUI: Add a vertical separator between columns (buinsky) + * WEBUI: Implement resizable progress bar in "Done" column + (buinsky) + * WEBUI: Fix scrollbar covers menu item with long text + (buinsky) + * WEBUI: Remove 300px limit of column width (buinsky) + * WEBUI: Avoid lags in firefox on resizing progress column + (buinsky) + * WEBUI: Fix category in torrent upload. Closes #6260 + (ngosang) + * WEBUI: Turn off port forwarding of WebUI by default for + GUI users (Chocobo1) + * WEBUI: Exclude insecure ciphers. Fixes security issues + reported by @beardog108 privately. (Chocobo1) + * WEBUI: Avoid clickjacking attacks. Fixes security issues + reported by @beardog108 privately. (ngosang) + * WEBUI: Add X-XSS-Protection, X-Content-Type-Options, CSP + header. Fixes security issues reported by @beardog108 + privately. (Chocobo1) + * WEBUI: Escape various values that might contain injected + html. Fixes security issues reported by @beardog108 + privately. (Chocobo1) + * WEBUI: Bump API_VERSION to 12. + * SEARCH: Update extratorrent plugin. Closes #6261 (ngosang) + * SEARCH: SearchTab: can now save sorting column changes + (thalieht) + * SEARCH: Use case-insensitive sort for Name column in + Search tab. Closes #407. (Chocobo1) + * RSS: Fix tab order in RSS downloader. Closes #6164. (Tim + Delaney) + * RSS: Move old RSS items to separate config file. Closes + #6167. (Tim Delaney) + * RSS: Episode filter code refactoring (Tim Delaney) + * RSS: Allow resetting rule to no category. Closes #5539. + (Tim Delaney) + * RSS: Save rule on enable/disable even if not selected. + Closes #6163. (Tim Delaney) + * RSS: Allow | in RSS must contain. Closes #6171. (Tim + Delaney) + * RSS: RSS use red text to indicate invalid filter. Closes + #6165. (Tim Delaney) + * RSS: Allow episode zero (special) and leading zeroes in + RSS episode filter. (Tim Delaney) + * RSS: RSS parse torrent episodes like 1x01 as well as + S01E01. Closes #2749. (Tim Delaney) + * RSS: RSS allow infinite range to extend beyond current + season. Closes #800, #3876, #6170. (Tim Delaney) + * RSS: Improve UI responsiveness during RSS downloading. + Closes #873, #1089, #1235, #5423. (Tim Delaney) + * RSS: Show name of feed list and sort rules in editor. + Closes #3782, #6281. (Tim Delaney) + * RSS: Fix regex matching. Closes #6337. (Tim Delaney) + * MACOS: Fix qbittorrent-nox build (Oke Atime) + * LINUX: fixes default indicator name (Bilal Elmoussaoui) + * OTHER: Workaround problem with moc from Qt4 and #if + (Eugene Shalygin) + * OTHER: Print warning to the user if stacktrace contains no + function names (Eugene Shalygin) + * OTHER: Various cmake fixes (Eugene Shalygin) + - OTHER: Fix finding qmake in configure when cross-compiling + (Zach Bacon) + +- Added qbittorrent-fix_qt4_build.patch + +------------------------------------------------------------------- Old: ---- qbittorrent-3.3.10.tar.xz qbittorrent-3.3.10.tar.xz.asc New: ---- qbittorrent-3.3.11.tar.xz qbittorrent-3.3.11.tar.xz.asc qbittorrent-fix_qt4_build.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ qbittorrent.spec ++++++ --- /var/tmp/diff_new_pack.BD3duJ/_old 2017-03-04 16:40:09.482780785 +0100 +++ /var/tmp/diff_new_pack.BD3duJ/_new 2017-03-04 16:40:09.482780785 +0100 @@ -19,7 +19,7 @@ %define _name qBittorrent Name: qbittorrent -Version: 3.3.10 +Version: 3.3.11 Release: 0 Summary: A BitTorrent client in Qt License: GPL-2.0+ @@ -32,6 +32,8 @@ Patch0: bittorrent_missing_ppc64le_in_ax_boost_base.m4.patch # PATCH-FIX-OPENSUSE qbittorrent-libtorrent-1.1.1.patch -- Fix building with libtorrent-rasterbar 1.1.1. Patch1: qbittorrent-libtorrent-1.1.1.patch +# PATCH-FIX-UPSTREAM qbittorrent-fix_qt4_build.patch -- Fix build with Qt4 (gh#qbittorrent/qBittorrent#6453) +Patch2: qbittorrent-fix_qt4_build.patch BuildRequires: autoconf BuildRequires: automake %if 0%{?suse_version} > 1325 @@ -87,6 +89,7 @@ %setup -q %patch0 -p1 %patch1 -p1 +%patch2 -p1 %build aclocal -I m4 @@ -141,6 +144,7 @@ %{_bindir}/%{name} %{_datadir}/applications/%{_name}.desktop %{_datadir}/icons/hicolor/*/apps/%{name}.png +%{_datadir}/icons/hicolor/*/status/%{name}-tray.png %{_datadir}/pixmaps/%{name}.png %dir %{_datadir}/appdata/ %{_datadir}/appdata/%{_name}.appdata.xml ++++++ qbittorrent-3.3.10.tar.xz -> qbittorrent-3.3.11.tar.xz ++++++ ++++ 204517 lines of diff (skipped) ++++++ qbittorrent-fix_qt4_build.patch ++++++ >From 3b5e7eb0eac107ad9b1795e7b355443cf9532d18 Mon Sep 17 00:00:00 2001 From: Chocobo1 <choco...@users.noreply.github.com> Date: Sat, 4 Mar 2017 15:48:37 +0800 Subject: [PATCH] =?UTF-8?q?Fix=20compile=20error:=20=E2=80=98escape?= =?UTF-8?q?=E2=80=99=20is=20not=20a=20member=20of=20=E2=80=98Qt=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/base/utils/string.cpp | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/src/base/utils/string.cpp b/src/base/utils/string.cpp index 7d76d9a..6c713b1 100644 --- a/src/base/utils/string.cpp +++ b/src/base/utils/string.cpp @@ -34,6 +34,7 @@ #include <QByteArray> #include <QtGlobal> #include <QLocale> + #ifdef QBT_USES_QT5 #include <QCollator> #endif @@ -217,6 +218,23 @@ QString Utils::String::toHtmlEscaped(const QString &str) #ifdef QBT_USES_QT5 return str.toHtmlEscaped(); #else - return Qt::escape(str); + // code from Qt + QString rich; + const int len = str.length(); + rich.reserve(int(len * 1.1)); + for (int i = 0; i < len; ++i) { + if (str.at(i) == QLatin1Char('<')) + rich += QLatin1String("<"); + else if (str.at(i) == QLatin1Char('>')) + rich += QLatin1String(">"); + else if (str.at(i) == QLatin1Char('&')) + rich += QLatin1String("&"); + else if (str.at(i) == QLatin1Char('"')) + rich += QLatin1String("""); + else + rich += str.at(i); + } + rich.squeeze(); + return rich; #endif } >From ea9d65f377c3f7111679e627e10532e5eabea1cb Mon Sep 17 00:00:00 2001 From: Chocobo1 <choco...@users.noreply.github.com> Date: Sat, 4 Mar 2017 15:03:39 +0800 Subject: [PATCH] Fix incomplete type compile error with Qt4 --- src/base/http/server.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/base/http/server.cpp b/src/base/http/server.cpp index 1cc51ee..dd57594 100644 --- a/src/base/http/server.cpp +++ b/src/base/http/server.cpp @@ -28,14 +28,18 @@ * exception statement from your version. */ +#include "server.h" + +#include <QNetworkProxy> +#include <QStringList> + #ifndef QT_NO_OPENSSL #include <QSslSocket> #else #include <QTcpSocket> #endif -#include <QNetworkProxy> + #include "connection.h" -#include "server.h" using namespace Http;