1
mirror of https://github.com/qbittorrent/qBittorrent synced 2025-10-12 03:12:18 +02:00

Compare commits

..

1 Commits

Author SHA1 Message Date
Christophe Dumez
fa9c319f5b Tagged v2.4.0rc3 release 2010-08-23 19:47:49 +00:00
82 changed files with 97770 additions and 1041 deletions

View File

@@ -1,26 +1,4 @@
* Sun Sep 26 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.4.2
- BUGFIX: Fix display of torrent content in addition dialog
- BUGFIX: Really fix manual editing of save path in torrent addition dialog
* Sun Sep 26 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.4.1
- I18N: Updated Arabic translation
- I18N: Fixes to German translation
- BUGFIX: Save path can now be edited in torrent addition dialog
- BUGFIX: Fix save path encoding on non-utf8 systems
- BUGFIX: Fix saving to drive root on Windows
- BUGFIX: OGV can now be previewed
- BUGFIX: Maximum download limit is now 10MB/s
- BUGFIX: Fix 'download in scan dir' persistence
- BUGFIX: Add .torrent extension only when missing (torrent creator)
- BUGFIX: Fix possible issue with temporary download path persistence
- BUGFIX: Added support for | (OR) operator in RSS feed downloader
- BUGFIX: Fix Web UI for spanish users
- BUGFIX: Fix locale switching from Web UI
- BUGFIX: Use AND operator for torrentdownloads.net searches
- BUGFIX: Limit torrent addition dialog width to fit the screen
- COSMETIC: Fix progress bars style on Windows
* Tue Aug 24 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.4.0
* Unreleased - Christophe Dumez <chris@qbittorrent.org> - v2.4.0
- FEATURE: Added actions to "Move to top/bottom" of priority queue
- FEATURE: Auto-Shutdown on downloads completion
- FEATURE: Email notification on download completion

View File

@@ -1,6 +1,6 @@
[Desktop Entry]
Categories=Qt;Network;P2P;
Comment=V2.4.2
Comment=V2.4.0
Exec=qbittorrent %f
GenericName=Bittorrent client
GenericName[ar]=العميل Bittorrent

Binary file not shown.

Before

Width:  |  Height:  |  Size: 79 KiB

After

Width:  |  Height:  |  Size: 79 KiB

View File

@@ -47,7 +47,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleGetInfoString</key>
<string>2.4.2</string>
<string>2.4.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleExecutable</key>

View File

@@ -867,13 +867,13 @@ QTorrentHandle Bittorrent::addMagnetUri(QString magnet_uri, bool resumed) {
qDebug("addMagnetURI: Temp folder is enabled.");
qDebug("addTorrent::Temp folder is enabled.");
QString torrent_tmp_path = defaultTempPath.replace("\\", "/");
p.save_path = torrent_tmp_path.toUtf8().constData();
p.save_path = torrent_tmp_path.toLocal8Bit().constData();
// Check if save path exists, creating it otherwise
if(!QDir(torrent_tmp_path).exists())
QDir().mkpath(torrent_tmp_path);
qDebug("addMagnetURI: using save_path: %s", qPrintable(torrent_tmp_path));
} else {
p.save_path = savePath.toUtf8().constData();
p.save_path = savePath.toLocal8Bit().constData();
// Check if save path exists, creating it otherwise
if(!QDir(savePath).exists())
QDir().mkpath(savePath);
@@ -1121,13 +1121,13 @@ QTorrentHandle Bittorrent::addTorrent(QString path, bool fromScanDir, QString fr
if(!torrent_tmp_path.endsWith("/")) torrent_tmp_path += "/";
torrent_tmp_path += root_folder;
}
p.save_path = torrent_tmp_path.toUtf8().constData();
p.save_path = torrent_tmp_path.toLocal8Bit().constData();
// Check if save path exists, creating it otherwise
if(!QDir(torrent_tmp_path).exists())
QDir().mkpath(torrent_tmp_path);
qDebug("addTorrent: using save_path: %s", qPrintable(torrent_tmp_path));
} else {
p.save_path = savePath.toUtf8().constData();
p.save_path = savePath.toLocal8Bit().constData();
// Check if save path exists, creating it otherwise
if(!QDir(savePath).exists())
QDir().mkpath(savePath);
@@ -2490,10 +2490,7 @@ void Bittorrent::addConsoleMessage(QString msg, QString) {
qDebug("getSavePath, got save_path from persistent data: %s", qPrintable(savePath));
}
// Clean path
savePath = savePath.replace("\\", "/");
savePath = misc::expandPath(savePath);
if(!savePath.endsWith("/"))
savePath += "/";
return savePath;
}

View File

@@ -191,8 +191,7 @@ void createtorrent::on_createButton_clicked(){
QString destination = QFileDialog::getSaveFileName(this, tr("Select destination torrent file"), last_path, tr("Torrent Files")+QString::fromUtf8(" (*.torrent)"));
if(!destination.isEmpty()) {
settings.setValue("CreateTorrent/last_save_path", misc::removeLastPathPart(destination));
if(!destination.toUpper().endsWith(".TORRENT"))
destination += QString::fromUtf8(".torrent");
destination += QString::fromUtf8(".torrent");
} else {
return;
}

View File

@@ -38,7 +38,6 @@
//#include "proplistdelegate.h"
#include "torrentpersistentdata.h"
#include <QDebug>
#include <QTranslator>
EventManager::EventManager(QObject *parent, Bittorrent *BTSession)
: QObject(parent), BTSession(BTSession)
@@ -125,20 +124,8 @@ QList<QVariantMap> EventManager::getPropFilesInfo(QString hash) const {
void EventManager::setGlobalPreferences(QVariantMap m) const {
// UI
if(m.contains("locale")) {
QString locale = m["locale"].toString();
if(Preferences::getLocale() != locale) {
QTranslator *translator = new QTranslator;
if(translator->load(QString::fromUtf8(":/lang/qbittorrent_") + locale)){
qDebug("%s locale recognized, using translation.", qPrintable(locale));
}else{
qDebug("%s locale unrecognized, using default (en_GB).", qPrintable(locale));
}
qApp->installTranslator(translator);
}
Preferences::setLocale(locale);
}
if(m.contains("locale"))
Preferences::setLocale(m["locale"].toString());
// Downloads
if(m.contains("save_path"))
Preferences::setSavePath(m["save_path"].toString());

View File

@@ -105,7 +105,7 @@ public:
QStringList getNotMatchingTokens() const {
QString notmatching = this->value("not", "").toString();
return notmatching.split(QRegExp("[\\s|]"));
return notmatching.split(" ");
}
QString getNotMatchingTokens_str() const {

View File

@@ -132,7 +132,6 @@ namespace json {
tmp += c;
}
}
if(!tmp.isEmpty()) couples << tmp;
foreach(QString couple, couples) {
QStringList parts = couple.split(":");
if(parts.size() != 2) continue;

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

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

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@@ -2988,12 +2988,12 @@ p, li { white-space: pre-wrap; }
<context>
<name>ScanFoldersModel</name>
<message>
<location filename="../scannedfoldersmodel.cpp" line="103"/>
<location filename="../scannedfoldersmodel.cpp" line="102"/>
<source>Watched Folder</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../scannedfoldersmodel.cpp" line="104"/>
<location filename="../scannedfoldersmodel.cpp" line="103"/>
<source>Download here</source>
<translation type="unfinished"></translation>
</message>
@@ -4243,14 +4243,14 @@ Please install it manually.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../createtorrent_imp.cpp" line="214"/>
<location filename="../createtorrent_imp.cpp" line="228"/>
<location filename="../createtorrent_imp.cpp" line="239"/>
<location filename="../createtorrent_imp.cpp" line="213"/>
<location filename="../createtorrent_imp.cpp" line="227"/>
<location filename="../createtorrent_imp.cpp" line="238"/>
<source>Torrent creation</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../createtorrent_imp.cpp" line="239"/>
<location filename="../createtorrent_imp.cpp" line="238"/>
<source>Torrent was created successfully:</source>
<translation type="unfinished"></translation>
</message>
@@ -4265,7 +4265,7 @@ Please install it manually.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../createtorrent_imp.cpp" line="214"/>
<location filename="../createtorrent_imp.cpp" line="213"/>
<source>Torrent creation was unsuccessful, reason: %1</source>
<translation type="unfinished"></translation>
</message>
@@ -4291,7 +4291,7 @@ Please install it manually.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../createtorrent_imp.cpp" line="228"/>
<location filename="../createtorrent_imp.cpp" line="227"/>
<source>Created torrent file is invalid. It won&apos;t be added to download list.</source>
<translation type="unfinished"></translation>
</message>
@@ -4686,13 +4686,13 @@ However, those plugins were disabled.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../misc.cpp" line="666"/>
<location filename="../misc.cpp" line="665"/>
<source>%1h %2m</source>
<comment>e.g: 3hours 5minutes</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../misc.cpp" line="671"/>
<location filename="../misc.cpp" line="670"/>
<source>%1d %2h</source>
<comment>e.g: 2days 10hours</comment>
<translation type="unfinished"></translation>
@@ -4709,21 +4709,21 @@ However, those plugins were disabled.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../misc.cpp" line="614"/>
<location filename="../misc.cpp" line="619"/>
<location filename="../misc.cpp" line="623"/>
<location filename="../misc.cpp" line="626"/>
<location filename="../misc.cpp" line="613"/>
<location filename="../misc.cpp" line="618"/>
<location filename="../misc.cpp" line="622"/>
<location filename="../misc.cpp" line="625"/>
<source>Unknown</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../misc.cpp" line="657"/>
<location filename="../misc.cpp" line="656"/>
<source>&lt; 1m</source>
<comment>&lt; 1 minute</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../misc.cpp" line="661"/>
<location filename="../misc.cpp" line="660"/>
<source>%1m</source>
<comment>e.g: 10minutes</comment>
<translation type="unfinished"></translation>
@@ -4732,58 +4732,58 @@ However, those plugins were disabled.</source>
<context>
<name>options_imp</name>
<message>
<location filename="../options_imp.cpp" line="1217"/>
<location filename="../options_imp.cpp" line="1219"/>
<location filename="../options_imp.cpp" line="1216"/>
<location filename="../options_imp.cpp" line="1218"/>
<source>Choose export directory</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../options_imp.cpp" line="1252"/>
<location filename="../options_imp.cpp" line="1254"/>
<location filename="../options_imp.cpp" line="1269"/>
<location filename="../options_imp.cpp" line="1271"/>
<location filename="../options_imp.cpp" line="1251"/>
<location filename="../options_imp.cpp" line="1253"/>
<location filename="../options_imp.cpp" line="1268"/>
<location filename="../options_imp.cpp" line="1270"/>
<source>Choose a save directory</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../options_imp.cpp" line="1234"/>
<location filename="../options_imp.cpp" line="1236"/>
<location filename="../options_imp.cpp" line="1233"/>
<location filename="../options_imp.cpp" line="1235"/>
<source>Choose an ip filter file</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../options_imp.cpp" line="1174"/>
<location filename="../options_imp.cpp" line="1173"/>
<source>Add directory to scan</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../options_imp.cpp" line="1180"/>
<location filename="../options_imp.cpp" line="1179"/>
<source>Folder is already being watched.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../options_imp.cpp" line="1183"/>
<location filename="../options_imp.cpp" line="1182"/>
<source>Folder does not exist.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../options_imp.cpp" line="1186"/>
<location filename="../options_imp.cpp" line="1185"/>
<source>Folder is not readable.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../options_imp.cpp" line="1194"/>
<location filename="../options_imp.cpp" line="1193"/>
<source>Failure</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../options_imp.cpp" line="1194"/>
<location filename="../options_imp.cpp" line="1193"/>
<source>Failed to add Scan Folder &apos;%1&apos;: %2</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../options_imp.cpp" line="1234"/>
<location filename="../options_imp.cpp" line="1236"/>
<location filename="../options_imp.cpp" line="1233"/>
<location filename="../options_imp.cpp" line="1235"/>
<source>Filters</source>
<translation type="unfinished"></translation>
</message>

Binary file not shown.

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

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More