Commit 0fc6e8f2 authored by Cristian Greco's avatar Cristian Greco

Imported Upstream version 2.5.2

parent 9ed8165a
...@@ -36,9 +36,9 @@ Images Authors: ...@@ -36,9 +36,9 @@ Images Authors:
url: http://www.oxygen-icons.org url: http://www.oxygen-icons.org
* files: src/Icons/flags/*.png * files: src/Icons/flags/*.png
copyright: Open Clip Art Library copyright: Mark James <mjames@gmail.com>
license: Creative Commons Public Domain Dedication license: Public Domain
url: http://www.openclipart.org url: http://www.famfamfam.com
* files: src/Icons/skin/*.png * files: src/Icons/skin/*.png
files: src/menuicons/YYxYY/*.png files: src/menuicons/YYxYY/*.png
...@@ -76,7 +76,7 @@ Translations authors: ...@@ -76,7 +76,7 @@ Translations authors:
- Croatian: Oliver Mucafir (oliver.untwist@gmail.com) - Croatian: Oliver Mucafir (oliver.untwist@gmail.com)
- Czech: Jirka Vilim (web@tets.cz) - Czech: Jirka Vilim (web@tets.cz)
- Danish: Mathias Nielsen (comoneo@gmail.com) - Danish: Mathias Nielsen (comoneo@gmail.com)
- Dutch: Joost Schipper (heavyjoost@users.sourceforge.net) - Dutch: Pieter Heyvaert (pieter_heyvaert@hotmail.com)
- English: Christophe Dumez (chris@qbittorrent.org) - English: Christophe Dumez (chris@qbittorrent.org)
- Finnish: Niklas Laxström (nikerabbit@users.sourceforge.net) - Finnish: Niklas Laxström (nikerabbit@users.sourceforge.net)
- French: Christophe Dumez (chris@qbittorrent.org) - French: Christophe Dumez (chris@qbittorrent.org)
......
* Sun Nov 21 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.4.11 * Sun Dec 19 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.5.2
- BUGFIX: Do not report a progress of 100% in the Web UI unless the - BUGFIX: Fix alternative speed icon staying pressed when disabled
torrent is really complete (closes #674349) - BUGFIX: Fix slot warning on startup
- BUGFIX: Fix possible incorrect behavior with queueing - BUGFIX: Fix alignment issues in program preferences
- BUGFIX: Fix RSS refresh interval saving - BUGFIX: Make sure we don't move completed torrent to the temp directory
- BUGFIX: Fix possible crash when setting RSS proxy (closes #676288) for checking (closes #602938)
- BUGFIX: Fix HTTP redirect issue that would cause the torrent addition to - BUGFIX: Fix some 'File Not found' warning in the Web UI
show up for automated RSS downloads (Closes #677565) - BUGFIX: Fix dangerous usage of vector iterator
- BUGFIX: No longer expand the first folder in the torrent content list
* Wed Nov 10 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.4.10 - BUGFIX: Fixes possible crash in the RSS Downloader dialog (closes #691426)
- BUGFIX: Fix possible crash when selecting a RSS item (really closes #575624)
- BUGFIX: Improved IPv6 support (IP filter and Peer list) * Sun Dec 5 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.5.1
- BUGFIX: Make IP filter more tolerant towards strangely formatted IPs - BUGFIX: Fix possible crash when right-clicking on a torrent
- BUGFIX: More reliable folder scanning
- BUGFIX: Do not create the torrent root folder at final destination if * Sun Dec 5 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.5.0
torrent is in the temp dir (closes #673271) - FEATURE: qBittorrent can now act as a tracker
- BUGFIX: Fix compilation with libnotify v0.7.0 (closes #671769) - FEATURE: New and improved RSS feed automated downloader
- BUGFIX: Use a pointing cursor over status bar buttons - FEATURE: Added feature to shutdown qbittorrent on torrents completion
- FEATURE: Added a torrent import assistant to seed or keep downloading outside torrents
* Sun Oct 31 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.4.9 - FEATURE: qBittorrent can update itself from Sourceforge (Windows/Mac OS X only)
- BUGFIX: Fix crash when pressing enter in save path field in torrent addition dialog - FEATURE: Added a transfer list column to display the current tracker
- BUGFIX: Fix crash when deleting a torrent with no metadata (closes #667528) - FEATURE: Remember the last trackers used in the torrent creation tool
- BUGFIX: Fix possible crash on clicking a RSS article (closes #575624) - FEATURE: The optimal piece size is now automatically computed in the torrent creation tool
- BUGFIX: Correctly update total number of torrents when a torrent is automatically removed (closes #668726) - FEATURE: Bring up the connection settings when clicking on the connection status icon
- BUGFIX: Correctly display the hash of torrents with no metadata - FEATURE: Major code refactoring and optimization
- BUGFIX: Elide status bar text if it is too wide - FEATURE: Added "Amount downloaded/left" columns to transfer list
- BUGFIX: Make sure the splash screen is displayed for 2 seconds - FEATURE: Simplified proxy settings
- BUGFIX: Make listening on a particular interface more reliable - FEATURE: Optimized and improved the peer country resolution code
- BUGFIX: Fix torrent size update in torrent addition dialog - FEATURE: Download first/last pieces first when sequential download is
- BUGFIX: Fix possible crash on qBittorrent shutdown enabled (Thanks Ahmad)
- BUGFIX: Fix and improve file priorities editing (closes #669084) - FEATURE: Download first/last pieces first now applies to all media files
- I18N: Updated Arabic, Italian and Croatian translations in the torrent (Thanks Ahmad)
- BUGFIX: Fix SOCKS5 proxy authentication in search engine(closes #680072)
* Sun Oct 24 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.4.8 - BUGFIX: Fix two advanced settings (ignore limits on LAN and protocol
- BUGFIX: Fix possible crash on manual peer ban overhead inclusion in rate limiter)
- BUGFIX: Improved hostname resolution code - BUGFIX: Fix strict super seeding (was not working)
- BUGFIX: Several search plugins fixed - BUGFIX: Improve magnet save path handling (closes #683395)
- BUGFIX: Auto-disable the shutdown feature - BUGFIX: Disable overwrite confirmation in torrent addition dialog (closes # 685269)
- BUGFIX: Remember the current property tab on startup - COSMETIC: Replaced message box by on-screen notification for download errors
- BUGFIX: Fix status list widget height issue on style change - COSMETIC: Improved the torrent creation tool appearance
- BUGFIX: Fix rounding issue in torrent progress display - COSMETIC: Use country flags by Mark James (Thanks to Dmytro Pukha)
- BUGFIX: Fix issue when altering files priorities of a seeding torrent - COSMETIC: Use bigger alternative speed icon
- BUGFIX: Better fix for save path editing issues in torrent addition dialog - OTHERS: Dropped support for Qt <= 4.4
- BUGFIX: Peers can now be sorted by country
* Tue Oct 19 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.4.7
- BUGFIX: Display the priority column when the queueing system gets enabled
- BUGFIX: Fix encoding problem in file renaming
- BUGFIX: Delete uneeded files on torrent "soft" deletion
- BUGFIX: Fix issues when marking a file as 'not downloaded' causes the torrent to complete
- BUGFIX: Improved "Set Location" and "Change save path" dialogs
- BUGFIX: Fix display of queued seeding torrents
* Sun Oct 17 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.4.6
- BUGFIX: Fix "torrent seeding after creation" feature
- BUGFIX: The properties panel data would sometimes not match the selected torrent
- BUGFIX: Fix detection of files at final destination when temp dir is used
- BUGFIX: Fix moving of a torrent to an unexisting directory
* Tue Oct 12 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.4.5
- BUGFIX: Remember torrent completion date correctly
- BUGFIX: Fix feature to keep incomplete torrents in a separate folder
- BUGFIX: Fix display of URL seeds in the UI
- BUGFIX: Improved peer hostname resolution with caching
- BUGFIX: Piece availability/downloaded widgets performance improvement
* Fri Oct 1 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.4.4
- BUGFIX: Clean program exit on system shutdown/logout
- BUGFIX: Fix possible search engine plugin update
* Tue Sep 28 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.4.3
- BUGFIX: Fix encoding issue in command line parameters processing
- BUGFIX: Fix possible crash when changing the save path in addition dialog
- BUGFIX: Fix wrong mapping to source model
* 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 * Tue Aug 24 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.4.0
- FEATURE: Added actions to "Move to top/bottom" of priority queue - FEATURE: Added actions to "Move to top/bottom" of priority queue
......
...@@ -10,7 +10,7 @@ qBittorrent - A BitTorrent client in C++ / Qt4 ...@@ -10,7 +10,7 @@ qBittorrent - A BitTorrent client in C++ / Qt4
will install and execute qBittorrent hopefully without any problems. will install and execute qBittorrent hopefully without any problems.
Dependencies: Dependencies:
- Qt >= 4.4.0 (libqt-devel, libqtgui, libqtcore, libqtnetwork, libqtxml) - Qt >= 4.5.0 (libqt-devel, libqtgui, libqtcore, libqtnetwork, libqtxml)
- pkg-config executable - pkg-config executable
......
...@@ -32,7 +32,8 @@ Dependency options: ...@@ -32,7 +32,8 @@ Dependency options:
executable (please follow executable (please follow
instructions in instructions in
src/geoip/README) src/geoip/README)
--disable-qtsingleapplication Disable use of libboost --disable-qtsingleapplication Disable use of
qtsingleapplication
--with-qtsingleapplication=[system|shipped] Use the shipped --with-qtsingleapplication=[system|shipped] Use the shipped
qtsingleapplication library qtsingleapplication library
or the system one or the system one
...@@ -325,7 +326,7 @@ cat >$1/modules.cpp <<EOT ...@@ -325,7 +326,7 @@ cat >$1/modules.cpp <<EOT
#line 1 "qt4.qcm" #line 1 "qt4.qcm"
/* /*
-----BEGIN QCMOD----- -----BEGIN QCMOD-----
name: Qt >= 4.4 name: Qt >= 4.5
arg: disable-gui, Disable qBittorrent Graphical user interface for headless running arg: disable-gui, Disable qBittorrent Graphical user interface for headless running
-----END QCMOD----- -----END QCMOD-----
*/ */
...@@ -333,14 +334,14 @@ class qc_qt4 : public ConfObj ...@@ -333,14 +334,14 @@ class qc_qt4 : public ConfObj
{ {
public: public:
qc_qt4(Conf *c) : ConfObj(c) {} qc_qt4(Conf *c) : ConfObj(c) {}
QString name() const { return "Qt >= 4.4"; } QString name() const { return "Qt >= 4.5"; }
QString shortname() const { return "Qt 4.4"; } QString shortname() const { return "Qt 4.5"; }
bool exec() bool exec()
{ {
if(!conf->getenv("QC_DISABLE_GUI").isEmpty()) { if(!conf->getenv("QC_DISABLE_GUI").isEmpty()) {
conf->addDefine("DISABLE_GUI"); conf->addExtra("CONFIG += nox");
} }
return(QT_VERSION >= 0x040400); return(QT_VERSION >= 0x040500);
} }
}; };
#line 1 "pkg-config.qcm" #line 1 "pkg-config.qcm"
...@@ -534,7 +535,7 @@ public: ...@@ -534,7 +535,7 @@ public:
QString version, libs, other; QString version, libs, other;
VersionMode mode = VersionMin; VersionMode mode = VersionMin;
if(conf->findPkgConfig("libnotify", mode, req_ver, &version, &incs, &libs, &other)) { if(conf->findPkgConfig("libnotify", mode, req_ver, &version, &incs, &libs, &other)) {
conf->addDefine("WITH_LIBNOTIFY"); conf->addExtra("CONFIG += libnotify");
for(int n = 0; n < incs.count(); ++n) for(int n = 0; n < incs.count(); ++n)
conf->addIncludePath(incs[n]); conf->addIncludePath(incs[n]);
if(!libs.isEmpty()) if(!libs.isEmpty())
...@@ -609,29 +610,29 @@ public: ...@@ -609,29 +610,29 @@ public:
#line 1 "qtsingleapplication.qcm" #line 1 "qtsingleapplication.qcm"
/* /*
-----BEGIN QCMOD----- -----BEGIN QCMOD-----
name: libboost name: qtsingleapplication
arg: with-qtsingleapplication=[system|shipped], Use the shipped qtsingleapplication library or the system one arg: with-qtsingleapplication=[system|shipped], Use the shipped qtsingleapplication library or the system one
-----END QCMOD----- -----END QCMOD-----
*/ */
class qc_qtsingleapplication : public ConfObj class qc_qtsingleapplication : public ConfObj
{ {
public: public:
qc_qtsingleapplication(Conf *c) : ConfObj(c) {} qc_qtsingleapplication(Conf *c) : ConfObj(c) {}
QString name() const { return "qtsingleapplication library"; } QString name() const { return "qtsingleapplication library"; }
QString shortname() const { return "qtsingleapplication"; } QString shortname() const { return "qtsingleapplication"; }
bool exec(){ bool exec(){
QString s; QString s;
s = conf->getenv("QC_WITH_QTSINGLEAPPLICATION"); s = conf->getenv("QC_WITH_QTSINGLEAPPLICATION");
if(s.compare("system", Qt::CaseInsensitive) == 0) { if(s.compare("system", Qt::CaseInsensitive) == 0) {
// System // System
conf->addDefine("USE_SYSTEM_QTSINGLEAPPLICATION"); conf->addExtra("CONFIG += usesystemqtsingleapplication");
printf(" [system] "); printf(" [system] ");
} else { } else {
printf(" [shipped] "); printf(" [shipped] ");
} }
return true; return true;
} }
}; };
EOT EOT
......
PREFIX = /usr/local
BINDIR = /usr/local/bin
DATADIR = /usr/local/share
INCLUDEPATH += /usr/local/include/libtorrent /usr/include/openssl /usr/include /opt/local/include/boost /opt/local/include
LIBS += -ltorrent-rasterbar -lcrypto -L/opt/local/lib -lboost_system-mt -lboost_filesystem-mt -lboost_thread-mt -framework Cocoa -framework Carbon
document_icon.path = Contents/Resources
document_icon.files = Icons/qBitTorrentDocument.icns
QMAKE_BUNDLE_DATA += document_icon
ICON = Icons/qbittorrent_mac.icns
QMAKE_INFO_PLIST = Info.plist
DEFINES += WITH_GEOIP_EMBEDDED
message("On Mac OS X, GeoIP database must be embedded.")
LIBS += -ltorrent-rasterbar \
-lboost_thread \
-lboost_system \
-lboost_filesystem \
-lssl -lcrypto -lidn -lpthread
RC_FILE = qbittorrent_os2.rc
DEFINES += WITH_GEOIP_EMBEDDED
message("On eCS(OS/2), GeoIP database must be embedded.")
<?xml version = '1.0'?>
<kdevelop>
<general>
<author>Christophe Dumez</author>
<email>chris@qbittorrent.org</email>
<version>1.0.0</version>
<projectmanagement>KDevTrollProject</projectmanagement>
<primarylanguage>C++</primarylanguage>
<keywords>
<keyword>Qt</keyword>
</keywords>
<projectname>qBittorrent</projectname>
<ignoreparts/>
<projectdirectory>.</projectdirectory>
<absoluteprojectpath>false</absoluteprojectpath>
<description/>
<defaultencoding/>
<versioncontrol>kdevsubversion</versioncontrol>
</general>
<kdevfileview>
<groups>
<group pattern="*.cpp;*.cxx;*.h" name="Sources" />
<group pattern="*.ui" name="User Interface" />
<group pattern="*.png" name="Icons" />
<group pattern="*" name="Others" />
<hidenonprojectfiles>false</hidenonprojectfiles>
<hidenonlocation>false</hidenonlocation>
</groups>
<tree>
<hidepatterns>*.o,*.lo,CVS</hidepatterns>
<hidenonprojectfiles>false</hidenonprojectfiles>
<showvcsfields>false</showvcsfields>
</tree>
</kdevfileview>
<kdevdoctreeview>
<ignoretocs>
<toc>bash</toc>
<toc>bash_bugs</toc>
<toc>clanlib</toc>
<toc>w3c-dom-level2-html</toc>
<toc>fortran_bugs_gcc</toc>
<toc>gnome1</toc>
<toc>gnustep</toc>
<toc>gtk</toc>
<toc>gtk_bugs</toc>
<toc>haskell</toc>
<toc>haskell_bugs_ghc</toc>
<toc>java_bugs_gcc</toc>
<toc>java_bugs_sun</toc>
<toc>kde2book</toc>
<toc>opengl</toc>
<toc>pascal_bugs_fp</toc>
<toc>php</toc>
<toc>php_bugs</toc>
<toc>perl</toc>
<toc>perl_bugs</toc>
<toc>python</toc>
<toc>python_bugs</toc>
<toc>qt-kdev3</toc>
<toc>ruby</toc>
<toc>ruby_bugs</toc>
<toc>sdl</toc>
<toc>stl</toc>
<toc>w3c-svg</toc>
<toc>sw</toc>
<toc>w3c-uaag10</toc>
<toc>wxwidgets_bugs</toc>
</ignoretocs>
<ignoredoxygen>
<toc>KDE Libraries (Doxygen)</toc>
</ignoredoxygen>
</kdevdoctreeview>
<kdevdebugger>
<general>
<dbgshell/>
<gdbpath/>
<configGdbScript/>
<runShellScript/>
<runGdbScript/>
<breakonloadinglibs>true</breakonloadinglibs>
<separatetty>false</separatetty>
<floatingtoolbar>false</floatingtoolbar>
</general>
<display>
<staticmembers>false</staticmembers>
<demanglenames>true</demanglenames>
<outputradix>10</outputradix>
</display>
</kdevdebugger>
<kdevcppsupport>
<qt>
<version>4</version>
<used>true</used>
<includestyle>4</includestyle>
<designerintegration>ExternalDesigner</designerintegration>
<root>/usr/lib/qt4</root>
<qmake>/usr/bin/qmake</qmake>
<designer>/usr/bin/designer</designer>
<designerpluginpaths/>
</qt>
<references>
<pcs>automatic_%2Fhome%2Fishanarora%2Fprojects%2Fqbittorrent</pcs>
</references>
<codecompletion>
<automaticCodeCompletion>true</automaticCodeCompletion>
<automaticArgumentsHint>true</automaticArgumentsHint>
<automaticHeaderCompletion>true</automaticHeaderCompletion>
<codeCompletionDelay>250</codeCompletionDelay>
<argumentsHintDelay>400</argumentsHintDelay>
<headerCompletionDelay>250</headerCompletionDelay>
<showOnlyAccessibleItems>false</showOnlyAccessibleItems>
<completionBoxItemOrder>0</completionBoxItemOrder>
<howEvaluationContextMenu>true</howEvaluationContextMenu>
<showCommentWithArgumentHint>true</showCommentWithArgumentHint>
<statusBarTypeEvaluation>false</statusBarTypeEvaluation>
<namespaceAliases>std=_GLIBCXX_STD;__gnu_cxx=std</namespaceAliases>
<processPrimaryTypes>true</processPrimaryTypes>
<processFunctionArguments>true</processFunctionArguments>
<preProcessAllHeaders>true</preProcessAllHeaders>
<parseMissingHeadersExperimental>true</parseMissingHeadersExperimental>
<resolveIncludePathsUsingMakeExperimental>true</resolveIncludePathsUsingMakeExperimental>
<alwaysParseInBackground>true</alwaysParseInBackground>
<usePermanentCaching>true</usePermanentCaching>
<alwaysIncludeNamespaces>false</alwaysIncludeNamespaces>
<includePaths>.;</includePaths>
</codecompletion>
<creategettersetter>
<prefixGet>get</prefixGet>
<prefixSet>set</prefixSet>
<prefixVariable>m_,_</prefixVariable>
<parameterName>theValue</parameterName>
<inlineGet>true</inlineGet>
<inlineSet>true</inlineSet>
</creategettersetter>
<splitheadersource>
<enabled>false</enabled>
<synchronize>true</synchronize>
<orientation>Vertical</orientation>
</splitheadersource>
</kdevcppsupport>
<kdevfilecreate>
<filetypes/>
<useglobaltypes>
<type ext="ui" />
<type ext="cpp" />
<type ext="h" />
</useglobaltypes>
</kdevfilecreate>
<kdevtrollproject>
<general>
<activedir>src</activedir>
</general>
<run>
<directoryradio>executable</directoryradio>
<mainprogram>/home/ishanarora/projects/qbittorrent/src/qbittorrent</mainprogram>
<programargs/>
<globaldebugarguments/>
<globalcwd>/home/ishanarora/projects/qbittorrent</globalcwd>
<useglobalprogram>true</useglobalprogram>
<terminal>false</terminal>
<autocompile>true</autocompile>
<autoinstall>false</autoinstall>
<autokdesu>false</autokdesu>
<envvars/>
</run>
<make>
<abortonerror>true</abortonerror>
<runmultiplejobs>false</runmultiplejobs>
<numberofjobs>1</numberofjobs>
<dontact>false</dontact>
<makebin/>
<prio>0</prio>
<envvars/>
</make>
<qmake>
<savebehaviour>2</savebehaviour>
<replacePaths>false</replacePaths>
<disableDefaultOpts>true</disableDefaultOpts>
</qmake>
</kdevtrollproject>
<cppsupportpart>
<filetemplates>
<interfacesuffix>.h</interfacesuffix>