- Tagged rc8

This commit is contained in:
Christophe Dumez 2007-11-14 21:51:47 +00:00
commit 6ecb5fe1e1
10 changed files with 17 additions and 49 deletions

View file

@ -44,6 +44,7 @@
- I18N: Added Hungarian translation - I18N: Added Hungarian translation
- I18N: Added Brazilian translation - I18N: Added Brazilian translation
- BUGFIX: Progress of paused torrents is now correct on restart - BUGFIX: Progress of paused torrents is now correct on restart
- BUGFIX: clear the results of a search stops searching
- BUGFIX: Progress column gets sorted on restart it is was during last execution - BUGFIX: Progress column gets sorted on restart it is was during last execution
- BUGFIX: Made ETA more reliable using stats instead of instant values - BUGFIX: Made ETA more reliable using stats instead of instant values
- BUGFIX: Remove torrent from hard drive used to delete parent folder if empty - BUGFIX: Remove torrent from hard drive used to delete parent folder if empty

12
TODO
View file

@ -57,11 +57,7 @@
- Recheck doc - Recheck doc
- Translations update (IN PROGRESS) - Translations update (IN PROGRESS)
rc6->rc7 changelog: rc7->rc8 changelog:
- BUGFIX: Catching DHT exception in case there is a problem - BUGFIX: Fixed torrent files filtering
- BUGFIX: Removed build dependency on Python - BUGFIX: Stop search when clearing results
- BUGFIX: Fixed a bug in children update when changing files priorities - BUGFIX: Fixed compilation on Fedora 8
- BUGFIX: Pause/Start All now affect all tabs, not only the current one
- BUGFIX: Don't reload all torrents everytime settings are saved
- BUGFIX: Don't reload seeding torrents anymore (no point)
- I18N: Updated Turkish translation

20
configure vendored
View file

@ -425,16 +425,6 @@ public:
if(!found) return false; if(!found) return false;
conf->addLib(QString("-L") + s); conf->addLib(QString("-L") + s);
} }
// BUGFIX for Fedora (doesn't support pkg-config?)
QFile issue_file("/etc/issue");
if(issue_file.open(QIODevice::ReadOnly | QIODevice::Text)){
QString content = issue_file.readAll();
issue_file.close();
if(content.indexOf("Fedora") != -1){
qWarning("Fedora detected. WORKAROUND for Fedora pkg-config problem enabled");
conf->addLib("-lssl -lcrypto -lboost_date_time -lboost_filesystem -lboost_thread -lz -ltorrent");
}
}
return true; return true;
} }
}; };
@ -558,16 +548,6 @@ public:
if(!found) return false; if(!found) return false;
conf->addLib(QString("-L") + s); conf->addLib(QString("-L") + s);
} }
// BUGFIX for Fedora (doesn't support pkg-config?)
QFile issue_file("/etc/issue");
if(issue_file.open(QIODevice::ReadOnly | QIODevice::Text)){
QString content = issue_file.readAll();
issue_file.close();
if(content.indexOf("Fedora") != -1){
qWarning("Fedora detected. WORKAROUND for Fedora pkg-config problem enabled");
conf->addLib("-pthread -lccext2 -lz -lccgnu2 -ldl -lrt");
}
}
return true; return true;
} }
}; };

View file

@ -60,16 +60,6 @@ public:
if(!found) return false; if(!found) return false;
conf->addLib(QString("-L") + s); conf->addLib(QString("-L") + s);
} }
// BUGFIX for Fedora (doesn't support pkg-config?)
QFile issue_file("/etc/issue");
if(issue_file.open(QIODevice::ReadOnly | QIODevice::Text)){
QString content = issue_file.readAll();
issue_file.close();
if(content.indexOf("Fedora") != -1){
qWarning("Fedora detected. WORKAROUND for Fedora pkg-config problem enabled");
conf->addLib("-pthread -lccext2 -lz -lccgnu2 -ldl -lrt");
}
}
return true; return true;
} }
}; };

View file

@ -65,16 +65,6 @@ public:
if(!found) return false; if(!found) return false;
conf->addLib(QString("-L") + s); conf->addLib(QString("-L") + s);
} }
// BUGFIX for Fedora (doesn't support pkg-config?)
QFile issue_file("/etc/issue");
if(issue_file.open(QIODevice::ReadOnly | QIODevice::Text)){
QString content = issue_file.readAll();
issue_file.close();
if(content.indexOf("Fedora") != -1){
qWarning("Fedora detected. WORKAROUND for Fedora pkg-config problem enabled");
conf->addLib("-lssl -lcrypto -lboost_date_time -lboost_filesystem -lboost_thread -lz -ltorrent");
}
}
return true; return true;
} }
}; };

View file

@ -181,6 +181,7 @@ class PropListDelegate: public QItemDelegate {
// } else { // } else {
model->setData(index, QVariant(HIGH)); model->setData(index, QVariant(HIGH));
model->setData(index, QVariant(NORMAL)); model->setData(index, QVariant(NORMAL));
*filteredFilesChanged = true;
// } // }
break; break;
case 2: case 2:

View file

@ -708,6 +708,7 @@ void bittorrent::loadTorrentSpeedLimits(QString hash) {
// Read pieces priorities from .priorities file // Read pieces priorities from .priorities file
// and ask QTorrentHandle to consider them // and ask QTorrentHandle to consider them
void bittorrent::loadFilesPriorities(QTorrentHandle &h) { void bittorrent::loadFilesPriorities(QTorrentHandle &h) {
qDebug("Applying pieces priorities");
if(!h.is_valid()) { if(!h.is_valid()) {
qDebug("/!\\ Error: Invalid handle"); qDebug("/!\\ Error: Invalid handle");
return; return;

View file

@ -304,6 +304,7 @@ bool properties::allFiltered() const {
void properties::getPriorities(QStandardItem *parent, int *priorities) { void properties::getPriorities(QStandardItem *parent, int *priorities) {
qDebug("In getPriorities");
unsigned int nbRows = parent->rowCount(); unsigned int nbRows = parent->rowCount();
for(unsigned int i=0; i<nbRows; ++i){ for(unsigned int i=0; i<nbRows; ++i){
QStandardItem *item = parent->child(i, INDEX); QStandardItem *item = parent->child(i, INDEX);
@ -313,6 +314,7 @@ void properties::getPriorities(QStandardItem *parent, int *priorities) {
} else { } else {
item = parent->child(i, PRIORITY); item = parent->child(i, PRIORITY);
priorities[index] = item->text().toInt(); priorities[index] = item->text().toInt();
qDebug("File at index %d has priority %d", index, priorities[index]);
} }
} }
} }

View file

@ -452,12 +452,19 @@ void SearchEngine::on_stop_search_button_clicked(){
// Clear search results list // Clear search results list
void SearchEngine::on_clear_button_clicked(){ void SearchEngine::on_clear_button_clicked(){
// Kill process
searchProcess->terminate();
search_stopped = true;
searchResultsUrls.clear(); searchResultsUrls.clear();
SearchListModel->removeRows(0, SearchListModel->rowCount()); SearchListModel->removeRows(0, SearchListModel->rowCount());
// Disable clear & download buttons // Disable clear & download buttons
clear_button->setEnabled(false); clear_button->setEnabled(false);
download_button->setEnabled(false); download_button->setEnabled(false);
results_lbl->setText(tr("Results")+" <i>(0)</i>:"); results_lbl->setText(tr("Results")+" <i>(0)</i>:");
// focus on search pattern
search_pattern->clear();
search_pattern->setFocus();
} }
void SearchEngine::on_clearPatternButton_clicked() { void SearchEngine::on_clearPatternButton_clicked() {

View file

@ -11,7 +11,7 @@ TARGET = qbittorrent
CONFIG += qt thread x11 network CONFIG += qt thread x11 network
# Update this VERSION for each release # Update this VERSION for each release
DEFINES += VERSION=\\\"v1.0.0rc7\\\" DEFINES += VERSION=\\\"v1.0.0rc8\\\"
DEFINES += VERSION_MAJOR=1 DEFINES += VERSION_MAJOR=1
DEFINES += VERSION_MINOR=0 DEFINES += VERSION_MINOR=0
DEFINES += VERSION_BUGFIX=0 DEFINES += VERSION_BUGFIX=0