Browse Source

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

adaptive-webui-19844
Christophe Dumez 18 years ago
parent
commit
c6c4bc1277
  1. 4
      Changelog
  2. 2
      TODO
  3. 4
      src/searchEngine.cpp
  4. 5
      src/search_engine/nova.py

4
Changelog

@ -4,10 +4,14 @@ @@ -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 <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
- FEATURE: Based on libtorrent v0.12
- FEATURE: Based on Qt4.2

2
TODO

@ -44,4 +44,4 @@ @@ -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

4
src/searchEngine.cpp

@ -372,7 +372,7 @@ float SearchEngine::getNovaVersion(const QString& novaPath) const{ @@ -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(){ @@ -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){

5
src/search_engine/nova.py

@ -1,5 +1,9 @@ @@ -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 @@ -54,7 +58,6 @@ THREADED = True
if os.environ.has_key('QBITTORRENT'):
STANDALONE = False
THREADED = False
best_ratios = []

Loading…
Cancel
Save