You've already forked qBittorrent
mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-10-21 13:52:16 +02:00
Compare commits
21 Commits
release-2.
...
release-2.
Author | SHA1 | Date | |
---|---|---|---|
![]() |
b024820a30 | ||
![]() |
8a5dc1f239 | ||
![]() |
61208fce13 | ||
![]() |
71c4f6e7e3 | ||
![]() |
b169083fe2 | ||
![]() |
efe5e7b068 | ||
![]() |
ee3d4ce8f1 | ||
![]() |
2707bf6349 | ||
![]() |
a4b6228542 | ||
![]() |
d49164b362 | ||
![]() |
906b0755eb | ||
![]() |
52f81a8066 | ||
![]() |
d8af5d681c | ||
![]() |
d05c725253 | ||
![]() |
5fc3aa17b9 | ||
![]() |
e15ac643de | ||
![]() |
0b9f9aa0d7 | ||
![]() |
549fcf8b4c | ||
![]() |
19b11b8fa8 | ||
![]() |
ba83354f32 | ||
![]() |
a63eecc86a |
@@ -12,6 +12,9 @@
|
||||
- FEATURE: Added "Amount downloaded/left" columns to transfer list
|
||||
- FEATURE: Simplified proxy settings
|
||||
- FEATURE: Optimized and improved the peer country resolution code
|
||||
- FEATURE: Download first/last pieces first when sequential download is
|
||||
enabled (Thanks Ahmad)
|
||||
- BUGFIX: Fix SOCKS5 proxy authentication in search engine(closes #680072)
|
||||
- COSMETIC: Replaced message box by on-screen notification for download errors
|
||||
- COSMETIC: Improved the torrent creation tool appearance
|
||||
- COSMETIC: Use country flags by Mark James (Thanks to Dmytro Pukha)
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 423 B After Width: | Height: | Size: 439 B |
@@ -34,8 +34,6 @@
|
||||
#include "qbtsession.h"
|
||||
#include "ui_console.h"
|
||||
|
||||
using namespace libtorrent;
|
||||
|
||||
class consoleDlg : public QDialog, private Ui_ConsoleDlg{
|
||||
Q_OBJECT
|
||||
|
||||
|
@@ -52,7 +52,7 @@ downloadThread::downloadThread(QObject* parent) : QObject(parent) {
|
||||
}
|
||||
|
||||
void downloadThread::processDlFinished(QNetworkReply* reply) {
|
||||
QString url = reply->url().toEncoded().data();
|
||||
QString url = reply->url().toString();
|
||||
qDebug("Download finished: %s", qPrintable(url));
|
||||
if(reply->error() != QNetworkReply::NoError) {
|
||||
// Failure
|
||||
|
@@ -40,7 +40,6 @@
|
||||
#include <libtorrent/session.hpp>
|
||||
#include <libtorrent/ip_filter.hpp>
|
||||
|
||||
using namespace libtorrent;
|
||||
using namespace std;
|
||||
|
||||
// P2B Stuff
|
||||
@@ -56,8 +55,8 @@ class FilterParserThread : public QThread {
|
||||
Q_OBJECT
|
||||
|
||||
private:
|
||||
session *s;
|
||||
ip_filter filter;
|
||||
libtorrent::session *s;
|
||||
libtorrent::ip_filter filter;
|
||||
bool abort;
|
||||
QString filePath;
|
||||
|
||||
@@ -94,7 +93,7 @@ protected:
|
||||
}
|
||||
|
||||
public:
|
||||
FilterParserThread(QObject* parent, session *s) : QThread(parent), s(s), abort(false) {
|
||||
FilterParserThread(QObject* parent, libtorrent::session *s) : QThread(parent), s(s), abort(false) {
|
||||
|
||||
}
|
||||
|
||||
@@ -177,7 +176,7 @@ public:
|
||||
}
|
||||
// Now Add to the filter
|
||||
try {
|
||||
filter.add_rule(startAddr, endAddr, ip_filter::blocked);
|
||||
filter.add_rule(startAddr, endAddr, libtorrent::ip_filter::blocked);
|
||||
}catch(exception){
|
||||
qDebug("Bad line in filter file, avoided crash...");
|
||||
}
|
||||
@@ -246,7 +245,7 @@ public:
|
||||
continue;
|
||||
}
|
||||
try {
|
||||
filter.add_rule(startAddr, endAddr, ip_filter::blocked);
|
||||
filter.add_rule(startAddr, endAddr, libtorrent::ip_filter::blocked);
|
||||
} catch(std::exception&) {
|
||||
qDebug("p2p file: line %d is malformed.", nbLine);
|
||||
qDebug("Line was: %s", line.constData());
|
||||
@@ -313,10 +312,10 @@ public:
|
||||
// Network byte order to Host byte order
|
||||
// asio address_v4 contructor expects it
|
||||
// that way
|
||||
address_v4 first(ntohl(start));
|
||||
address_v4 last(ntohl(end));
|
||||
libtorrent::address_v4 first(ntohl(start));
|
||||
libtorrent::address_v4 last(ntohl(end));
|
||||
// Apply to bittorrent session
|
||||
filter.add_rule(first, last, ip_filter::blocked);
|
||||
filter.add_rule(first, last, libtorrent::ip_filter::blocked);
|
||||
}
|
||||
}
|
||||
else if(version==3) {
|
||||
@@ -358,10 +357,10 @@ public:
|
||||
// Network byte order to Host byte order
|
||||
// asio address_v4 contructor expects it
|
||||
// that way
|
||||
address_v4 first(ntohl(start));
|
||||
address_v4 last(ntohl(end));
|
||||
libtorrent::address_v4 first(ntohl(start));
|
||||
libtorrent::address_v4 last(ntohl(end));
|
||||
// Apply to bittorrent session
|
||||
filter.add_rule(first, last, ip_filter::blocked);
|
||||
filter.add_rule(first, last, libtorrent::ip_filter::blocked);
|
||||
if(abort) return;
|
||||
}
|
||||
} else {
|
||||
@@ -391,16 +390,16 @@ public:
|
||||
start();
|
||||
}
|
||||
|
||||
static void processFilterList(session *s, QStringList IPs) {
|
||||
static void processFilterList(libtorrent::session *s, QStringList IPs) {
|
||||
// First, import current filter
|
||||
ip_filter filter = s->get_ip_filter();
|
||||
libtorrent::ip_filter filter = s->get_ip_filter();
|
||||
foreach(const QString &ip, IPs) {
|
||||
qDebug("Manual ban of peer %s", ip.toLocal8Bit().constData());
|
||||
boost::system::error_code ec;
|
||||
address_v4 addr = address_v4::from_string(ip.toLocal8Bit().constData(), ec);
|
||||
libtorrent::address_v4 addr = libtorrent::address_v4::from_string(ip.toLocal8Bit().constData(), ec);
|
||||
Q_ASSERT(!ec);
|
||||
if(!ec)
|
||||
filter.add_rule(addr, addr, ip_filter::blocked);
|
||||
filter.add_rule(addr, addr, libtorrent::ip_filter::blocked);
|
||||
}
|
||||
s->set_ip_filter(filter);
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -1062,23 +1062,6 @@ Do you want to associate qBittorrent to torrent files and Magnet links?</source>
|
||||
<source>The password is invalid</source>
|
||||
<translation type="obsolete">Lozinka nije ispravna</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>A newer version is available</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>A newer version of qBittorrent is available on Sourceforge.
|
||||
Would you like to update qBittorrent to version %1?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Impossible to update qBittorrent</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>qBittorrent failed to update, reason: %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>GeoIP</name>
|
||||
@@ -1954,6 +1937,23 @@ Jeste li sigurni da želite zatvoriti qBittorrent?</translation>
|
||||
<comment>%1 is qBittorrent version</comment>
|
||||
<translation type="unfinished">qBittorrent %1 (Preuzimanje: %2/s, Slanje: %3/s)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>A newer version is available</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>A newer version of qBittorrent is available on Sourceforge.
|
||||
Would you like to update qBittorrent to version %1?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Impossible to update qBittorrent</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>qBittorrent failed to update, reason: %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PeerAdditionDlg</name>
|
||||
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -802,23 +802,6 @@ You should get this information from your Web browser preferences.</source>
|
||||
<source>Never</source>
|
||||
<translation type="obsolete">Nooit</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>A newer version is available</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>A newer version of qBittorrent is available on Sourceforge.
|
||||
Would you like to update qBittorrent to version %1?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Impossible to update qBittorrent</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>qBittorrent failed to update, reason: %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>GeoIP</name>
|
||||
@@ -1352,6 +1335,23 @@ Are you sure you want to quit qBittorrent?</source>
|
||||
<comment>%1 is qBittorrent version</comment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>A newer version is available</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>A newer version of qBittorrent is available on Sourceforge.
|
||||
Would you like to update qBittorrent to version %1?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Impossible to update qBittorrent</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>qBittorrent failed to update, reason: %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PeerAdditionDlg</name>
|
||||
|
Binary file not shown.
@@ -951,21 +951,21 @@ Czy powiązać qBittorrent z plikami torrent i linkami Magnet?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>A newer version is available</source>
|
||||
<translation type="unfinished">Dostępna jest nowa wersja</translation>
|
||||
<translation type="obsolete">Dostępna jest nowa wersja</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>A newer version of qBittorrent is available on Sourceforge.
|
||||
Would you like to update qBittorrent to version %1?</source>
|
||||
<translation type="unfinished">Nowa wersja qBittorrenta jest dostępna na Sourceforge.
|
||||
<translation type="obsolete">Nowa wersja qBittorrenta jest dostępna na Sourceforge.
|
||||
Czy chcesz zaktualizować program do wersji %1?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Impossible to update qBittorrent</source>
|
||||
<translation type="unfinished">Nie można zaktualizować qBittorrenta</translation>
|
||||
<translation type="obsolete">Nie można zaktualizować qBittorrenta</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>qBittorrent failed to update, reason: %1</source>
|
||||
<translation type="unfinished">Aktualizacja qBittorrenta nie powiodła się, powód: %1</translation>
|
||||
<translation type="obsolete">Aktualizacja qBittorrenta nie powiodła się, powód: %1</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
@@ -1745,6 +1745,24 @@ Czy napewno zamknąć qBittorrent?</translation>
|
||||
<comment>%1 is qBittorrent version</comment>
|
||||
<translation type="unfinished">qBittorrent %1 (Pobieranie: %2/s, Wysyłanie: %3/s)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>A newer version is available</source>
|
||||
<translation type="unfinished">Dostępna jest nowa wersja</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>A newer version of qBittorrent is available on Sourceforge.
|
||||
Would you like to update qBittorrent to version %1?</source>
|
||||
<translation type="unfinished">Nowa wersja qBittorrenta jest dostępna na Sourceforge.
|
||||
Czy chcesz zaktualizować program do wersji %1?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Impossible to update qBittorrent</source>
|
||||
<translation type="unfinished">Nie można zaktualizować qBittorrenta</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>qBittorrent failed to update, reason: %1</source>
|
||||
<translation type="unfinished">Aktualizacja qBittorrenta nie powiodła się, powód: %1</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PeerAdditionDlg</name>
|
||||
|
@@ -984,23 +984,6 @@ Gostaria de associar o qBittorrent para arquivos torrent e links magnéticos?</t
|
||||
<source>The password is invalid</source>
|
||||
<translation type="obsolete">A senha está inválida</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>A newer version is available</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>A newer version of qBittorrent is available on Sourceforge.
|
||||
Would you like to update qBittorrent to version %1?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Impossible to update qBittorrent</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>qBittorrent failed to update, reason: %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>GeoIP</name>
|
||||
@@ -1779,6 +1762,23 @@ Está certo que quer sair do qBittorrent?</translation>
|
||||
<comment>%1 is qBittorrent version</comment>
|
||||
<translation type="unfinished">qBittorrent %1 (Down: %2/s, Up: %3/s)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>A newer version is available</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>A newer version of qBittorrent is available on Sourceforge.
|
||||
Would you like to update qBittorrent to version %1?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Impossible to update qBittorrent</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>qBittorrent failed to update, reason: %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PeerAdditionDlg</name>
|
||||
|
@@ -984,23 +984,6 @@ Gostaria de associar o qBittorrent para arquivos torrent e links magnéticos?</t
|
||||
<source>The password is invalid</source>
|
||||
<translation type="obsolete">A senha está inválida</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>A newer version is available</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>A newer version of qBittorrent is available on Sourceforge.
|
||||
Would you like to update qBittorrent to version %1?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Impossible to update qBittorrent</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>qBittorrent failed to update, reason: %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>GeoIP</name>
|
||||
@@ -1779,6 +1762,23 @@ Está certo que quer sair do qBittorrent?</translation>
|
||||
<comment>%1 is qBittorrent version</comment>
|
||||
<translation type="unfinished">qBittorrent %1 (Down: %2/s, Up: %3/s)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>A newer version is available</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>A newer version of qBittorrent is available on Sourceforge.
|
||||
Would you like to update qBittorrent to version %1?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Impossible to update qBittorrent</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>qBittorrent failed to update, reason: %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PeerAdditionDlg</name>
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user