From c6c4bc1277a58e3a45048c86f88cc8702af964b6 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Tue, 3 Apr 2007 23:55:21 +0000 Subject: [PATCH] - FEATURE: Search engine is now using one thread per website for faster results --- Changelog | 4 ++++ TODO | 2 +- src/searchEngine.cpp | 4 ++-- src/search_engine/nova.py | 5 ++++- 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/Changelog b/Changelog index 7cbb29462..467f55b8e 100644 --- a/Changelog +++ b/Changelog @@ -4,10 +4,14 @@ - FEATURE: Allow the user to edit torrents' trackers - FEATURE: Allow user to change qBT's style (Plastique, Cleanlooks, Motif, CDE, MacOSX, WinXP) - 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 options a little - COSMETIC: Display more logs messages concerning features +* Wed Apr 04 2007 - Christophe Dumez - v0.9.1 + - BUGFIX: A lot of fixes in configure file + * Sun Apr 01 2007 - Christophe Dumez - v0.9.0 - FEATURE: Based on libtorrent v0.12 - FEATURE: Based on Qt4.2 diff --git a/TODO b/TODO index a95c2930b..6521f1418 100644 --- a/TODO +++ b/TODO @@ -44,4 +44,4 @@ - Display more info in log (UPnP) - Update to libtorrent SVN (0.13) - Use its UPnP/NAT-PMP built-in support instead of ours - - Use its piece prioritization support + - Use its piece prioritization support \ No newline at end of file diff --git a/src/searchEngine.cpp b/src/searchEngine.cpp index 97da439cd..0862c3404 100644 --- a/src/searchEngine.cpp +++ b/src/searchEngine.cpp @@ -372,7 +372,7 @@ float SearchEngine::getNovaVersion(const QString& novaPath) const{ line = line.split(' ').last(); line.chop(1); // removes '\n' version = line.toFloat(); - qDebug("Search plugin version: %.1f", version); + qDebug("Search plugin version: %.2f", version); break; } } @@ -470,7 +470,7 @@ void SearchEngine::on_update_nova_button_clicked(){ qDebug("Version on qbittorrent.org: %f", getNovaVersion(filePath)); float version_on_server = getNovaVersion(filePath); if(version_on_server == 0.0){ - //First server is down, try mirror + //First server is down, try the mirror QFile::remove(filePath); FILE *file = fopen((const char*)filePath.toUtf8(), "w"); if(!file){ diff --git a/src/search_engine/nova.py b/src/search_engine/nova.py index cb45e0427..b981c5b3e 100755 --- a/src/search_engine/nova.py +++ b/src/search_engine/nova.py @@ -1,5 +1,9 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- +# Version: 2.01 +# Changelog: +# - Use multiple threads to optimize speed + # Version: 2.0 # Changelog: # - Fixed ThePirateBay search engine @@ -54,7 +58,6 @@ THREADED = True if os.environ.has_key('QBITTORRENT'): STANDALONE = False - THREADED = False best_ratios = []