- FEATURE: Search engine is now using one thread per website for faster results

This commit is contained in:
Christophe Dumez 2007-04-03 23:55:21 +00:00
parent 2ab2e5a40f
commit c6c4bc1277
4 changed files with 11 additions and 4 deletions

View File

@ -4,10 +4,14 @@
- FEATURE: Allow the user to edit torrents' trackers - FEATURE: Allow the user to edit torrents' trackers
- FEATURE: Allow user to change qBT's style (Plastique, Cleanlooks, Motif, CDE, MacOSX, WinXP) - FEATURE: Allow user to change qBT's style (Plastique, Cleanlooks, Motif, CDE, MacOSX, WinXP)
- FEATURE: Allow the user to disable system tray integration - FEATURE: Allow the user to disable system tray integration
- FEATURE: Search engine is now using one thread per website for faster results
- COSMETIC: Redesigned torrent properties a little - COSMETIC: Redesigned torrent properties a little
- COSMETIC: Redesigned options a little - COSMETIC: Redesigned options a little
- COSMETIC: Display more logs messages concerning features - COSMETIC: Display more logs messages concerning features
* Wed Apr 04 2007 - Christophe Dumez <chris@qbittorrent.org> - v0.9.1
- BUGFIX: A lot of fixes in configure file
* Sun Apr 01 2007 - Christophe Dumez <chris@qbittorrent.org> - v0.9.0 * Sun Apr 01 2007 - Christophe Dumez <chris@qbittorrent.org> - v0.9.0
- FEATURE: Based on libtorrent v0.12 - FEATURE: Based on libtorrent v0.12
- FEATURE: Based on Qt4.2 - FEATURE: Based on Qt4.2

View File

@ -372,7 +372,7 @@ float SearchEngine::getNovaVersion(const QString& novaPath) const{
line = line.split(' ').last(); line = line.split(' ').last();
line.chop(1); // removes '\n' line.chop(1); // removes '\n'
version = line.toFloat(); version = line.toFloat();
qDebug("Search plugin version: %.1f", version); qDebug("Search plugin version: %.2f", version);
break; break;
} }
} }
@ -470,7 +470,7 @@ void SearchEngine::on_update_nova_button_clicked(){
qDebug("Version on qbittorrent.org: %f", getNovaVersion(filePath)); qDebug("Version on qbittorrent.org: %f", getNovaVersion(filePath));
float version_on_server = getNovaVersion(filePath); float version_on_server = getNovaVersion(filePath);
if(version_on_server == 0.0){ if(version_on_server == 0.0){
//First server is down, try mirror //First server is down, try the mirror
QFile::remove(filePath); QFile::remove(filePath);
FILE *file = fopen((const char*)filePath.toUtf8(), "w"); FILE *file = fopen((const char*)filePath.toUtf8(), "w");
if(!file){ if(!file){

View File

@ -1,5 +1,9 @@
#!/usr/bin/env python #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Version: 2.01
# Changelog:
# - Use multiple threads to optimize speed
# Version: 2.0 # Version: 2.0
# Changelog: # Changelog:
# - Fixed ThePirateBay search engine # - Fixed ThePirateBay search engine
@ -54,7 +58,6 @@ THREADED = True
if os.environ.has_key('QBITTORRENT'): if os.environ.has_key('QBITTORRENT'):
STANDALONE = False STANDALONE = False
THREADED = False
best_ratios = [] best_ratios = []