You've already forked qBittorrent
							
							
				mirror of
				https://github.com/qbittorrent/qBittorrent
				synced 2025-10-30 23:30:54 +01:00 
			
		
		
		
	Compare commits
	
		
			71 Commits
		
	
	
		
			release-4.
			...
			release-2.
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|   | 204b02a480 | ||
|   | eb7a844099 | ||
|   | 84dbb76331 | ||
|   | fb21944aae | ||
|   | 14625a565d | ||
|   | 3f875324d8 | ||
|   | 03f2293b2a | ||
|   | 47482586a1 | ||
|   | 96fd1624ce | ||
|   | 8ea2312b4f | ||
|   | 9382de64d6 | ||
|   | b0e3549780 | ||
|   | d2abe18497 | ||
|   | ede004148f | ||
|   | 91bfe3585c | ||
|   | f99adf8e9a | ||
|   | ebab7c5760 | ||
|   | baf5fe45b4 | ||
|   | 54793e4195 | ||
|   | e8da08906c | ||
|   | ae7e9cd1df | ||
|   | 7679b852b8 | ||
|   | eda04b3ef3 | ||
|   | 3ef6e7bf65 | ||
|   | 146cf9a435 | ||
|   | dff6b057b9 | ||
|   | 3b7448dfc7 | ||
|   | 4e4ac771a9 | ||
|   | 06a376d014 | ||
|   | b3d2f9b701 | ||
|   | 055a99239b | ||
|   | e779c9a7db | ||
|   | b0f7f5ae58 | ||
|   | 512ab58832 | ||
|   | 9ad088682c | ||
|   | d2fad8249c | ||
|   | 20fb7c3adf | ||
|   | c4fdfec420 | ||
|   | a3e03e739c | ||
|   | 9846dc0fff | ||
|   | 1b29b148d8 | ||
|   | 6dab35cb8e | ||
|   | 6b2d922005 | ||
|   | 1d92ae6382 | ||
|   | 62f4d6386a | ||
|   | e74ef4c6fd | ||
|   | 282ee0e879 | ||
|   | 697d2ccb71 | ||
|   | 71d163d743 | ||
|   | 83685942de | ||
|   | 6f34c81014 | ||
|   | 5e826dffc8 | ||
|   | b4dc66020c | ||
|   | cb4741ed89 | ||
|   | 4c3976e5df | ||
|   | fd7fb115ff | ||
|   | 197d5b3a05 | ||
|   | 624d6aa6a1 | ||
|   | 28d7dc137b | ||
|   | 351d84e2f7 | ||
|   | 774b8f4fd6 | ||
|   | 2fc6470696 | ||
|   | 1038b00553 | ||
|   | c3b37b4f1f | ||
|   | 41faf341cc | ||
|   | 44e92a7f3d | ||
|   | 599f956269 | ||
|   | 79a9606e86 | ||
|   | 5b576baf67 | ||
|   | aa3ce90478 | ||
|   | 2c433e35b0 | 
							
								
								
									
										3
									
								
								AUTHORS
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								AUTHORS
									
									
									
									
									
								
							| @@ -74,6 +74,8 @@ Translations authors: | ||||
|   copyright: | ||||
|   - Arabic: SDERAWI (abz8868@msn.com) and sn51234 (nesseyan@gmail.com) | ||||
|   - Armenian: Hrant Ohanyan (hrantohanyan@mail.am) | ||||
|   - Basque: Xabier Aramendi (azpidatziak@gmail.com) | ||||
|   - Belarusian: Mihas Varantsou (meequz@gmail.com) | ||||
|   - Brazilian: Nick Marinho (nickmarinho@gmail.com) | ||||
|   - Bulgarian: Tsvetan & Boyko Bankoff (emerge_life@users.sourceforge.net) | ||||
|   - Catalan: Francisco Luque Contreras (frannoe@ya.com) | ||||
| @@ -87,6 +89,7 @@ Translations authors: | ||||
|   - Finnish: Niklas Laxström (nikerabbit@users.sourceforge.net) | ||||
|   - French: Christophe Dumez (chris@qbittorrent.org) | ||||
|   - Galician: Marcos Lans (marcoslansgarza@gmail.com) | ||||
|   - Georgian: Beqa Arabuli (arabulibeqa@yahoo.com) | ||||
|   - German: Niels Hoffmann (zentralmaschine@users.sourceforge.net) | ||||
|   - Greek: Tsvetan Bankov (emerge_life@users.sourceforge.net) and Stephanos Antaris (santaris@csd.auth.gr) | ||||
|   - Hungarian: Majoros Péter (majoros.j.p@t-online.hu) | ||||
|   | ||||
							
								
								
									
										47
									
								
								Changelog
									
									
									
									
									
								
							
							
						
						
									
										47
									
								
								Changelog
									
									
									
									
									
								
							| @@ -1,3 +1,50 @@ | ||||
| * Sat Mar 17 2012 - Christophe Dumez <chris@qbittorrent.org> - v2.9.6 | ||||
|     - BUGFIX: Fix download first/last pieces state reporting | ||||
|     - BUGFIX: Fix name of progress column in torrent content panel | ||||
|     - BUGFIX: Disable system tray icon on Mac OS X | ||||
|     - BUGFIX: RSS downloader should not ignore "Do not start automatically" rule (closes #946910) | ||||
|     - BUGFIX: Fix DHT port setting in Web UI (Closes #952182) | ||||
|     - BUGFIX: Fix possible Web UI authentication problem when using SSL (closes #941343) | ||||
|     - BUGFIX: Fix possible issues with folder removal when removing a torrent | ||||
|     - I18N: Add Basque translation | ||||
|  | ||||
| * Sat Feb 18 2012 - Christophe Dumez <chris@qbittorrent.org> - v2.9.5 | ||||
|     - BUGFIX: Fix crash when disabling then reenabling RSS | ||||
|     - BUGFIX: Fix duplicate torrent detection when adding a magnet link | ||||
|     - BUGFIX: Fix import of new trackers when adding a torrent with same hash (Closes #747000) | ||||
|     - BUGFIX: Fix possible redownload of torrents marked as read (Closes #927495) | ||||
|     - BUGFIX: Properly remove RSS feed settings/history upon feed removal | ||||
|  | ||||
| * Sat Feb 18 2012 - Christophe Dumez <chris@qbittorrent.org> - v2.9.4 | ||||
|     - BUGFIX: qBittorrent does not handle redirection to relative URLs correctly (Closes #919905) | ||||
|     - BUGFIX: Cmd+M minimizes main window on Mac OS X (Closes #928216) | ||||
|     - BUGFIX: Cmd+Del removes torrents on Mac OS X (Closes #928852) | ||||
|     - BUGFIX: Fix potential bug when moving single file torrents to tmp folder (closes #932861) | ||||
|     - BUGFIX: Fix torrent import dialog layout (Closes #930932) | ||||
|     - BUGFIX: Prevent log window buffer from filling up (Closes #929673) | ||||
|     - I18N: Add Belarusian translation | ||||
|  | ||||
| * Thu Dec 29 2011 - Christophe Dumez <chris@qbittorrent.org> - v2.9.3 | ||||
|     - BUGFIX: Fix btdigg plugin (Python3 support + torrent name in magnet links) | ||||
|     - BUGFIX: Fix banning of IPv6 peers (Closes #885021) | ||||
|     - BUGFIX: Fix torrent addition dialog layout problem (Closes #84650522) | ||||
|     - BUGFIX: Do not report any progress for disabled files (Closes #56731485) | ||||
|     - BUGFIX: Make torrent sorting case insensitive (Closes #857154) | ||||
|     - BUGFIX: Improve Web UI usability of small devices | ||||
|     - BUGFIX: Program updater: More reliable version detection / comparison | ||||
|     - I18N: Add Georgian translation | ||||
|  | ||||
| * Sat Oct 29 2011 - Christophe Dumez <chris@qbittorrent.org> - v2.9.2 | ||||
|     - BUGFIX: Fix mimimum dimensions for torrent addition dialog | ||||
|     - BUGFIX: Remove dependency on boost-datetime | ||||
|     - BUGFIX: Remove dependency on boost-filesystem (libtorrent v0.16.x) | ||||
|  | ||||
| * Sun Oct 23 2011 - Christophe Dumez <chris@qbittorrent.org> - v2.9.1 | ||||
|     - BUGFIX: Add support for speed limits scheduling (Web UI) | ||||
|     - BUGFIX: Fix ratio calculation for purely seeded torrents | ||||
|     - I18N: Update Russian translation | ||||
|     - COSMETIC: Torrent addition dialog layout fixes | ||||
|  | ||||
| * Sat Oct 08 2011 - Christophe Dumez <chris@qbittorrent.org> - v2.9.0 | ||||
|     - FEATURE: Add file association settings to program preferences (Windows) | ||||
|     - FEATURE: Add setting to ignore slow torrents in queueing system | ||||
|   | ||||
							
								
								
									
										10
									
								
								INSTALL
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								INSTALL
									
									
									
									
									
								
							| @@ -14,15 +14,17 @@ qBittorrent - A BitTorrent client in C++ / Qt4 | ||||
|  | ||||
|     - pkg-config executable | ||||
|  | ||||
|     - libtorrent-rasterbar by Arvid Norberg (>= 0.14.4 REQUIRED, compatible with v0.15.x) | ||||
|     - libtorrent-rasterbar by Arvid Norberg (>= 0.14.4 REQUIRED, compatible with v0.15.x/v0.16.x) | ||||
|         -> http://www.libtorrent.net | ||||
|         Be careful: another library (the one used by rTorrent) uses a similar name. | ||||
|  | ||||
|     - libboost 1.34.x (libboost-filesystem, libboost-date-time) + libasio | ||||
|     - libboost 1.34.x (libboost-filesystem°) + libasio | ||||
|       or | ||||
|     - libboost >= 1.35.x (libboost-system, libboost-filesystem, libboost-date-time) | ||||
|     - libboost >= 1.35.x (libboost-system, libboost-filesystem°) | ||||
|        | ||||
|     °libboost-filesystem is not needed if libtorrent-rasterbar >= v0.16.x is used | ||||
|  | ||||
|     - python >= 2.3 && < 3.0 (needed by search engine) | ||||
|     - python >= 2.3 (needed by search engine) | ||||
|         * Run time only dependency | ||||
|  | ||||
|     - geoip-database (optional) | ||||
|   | ||||
							
								
								
									
										112
									
								
								configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										112
									
								
								configure
									
									
									
									
										vendored
									
									
								
							| @@ -442,12 +442,15 @@ arg: with-libboost-lib=[path], Path to libboost library files | ||||
| -----END QCMOD----- | ||||
| */ | ||||
| #include <boost/version.hpp> | ||||
| #include <libtorrent/version.hpp> | ||||
|  | ||||
| class qc_libboost : public ConfObj | ||||
| { | ||||
| public: | ||||
| 	qc_libboost(Conf *c) : ConfObj(c) {} | ||||
| 	QString name() const { return "libboost"; } | ||||
| 	QString shortname() const { return "libboost"; } | ||||
|   qc_libboost(Conf *c) : ConfObj(c) {} | ||||
|   QString name() const { return "libboost"; } | ||||
|   QString shortname() const { return "libboost"; } | ||||
|  | ||||
|   QString findBoostLib(QString path, QString lib) const { | ||||
|     QString name; | ||||
|     QDir libDir(path); | ||||
| @@ -471,77 +474,62 @@ public: | ||||
|     } | ||||
|     return name; | ||||
|   } | ||||
| 	bool exec(){ | ||||
|         	QString s; | ||||
| 		s = conf->getenv("QC_WITH_LIBBOOST_INC"); | ||||
| 		if(!s.isEmpty()) { | ||||
| 			if(!conf->checkHeader(s, "boost/format.hpp")) { | ||||
| 				return false; | ||||
|       			} | ||||
| 			if(!conf->checkHeader(s, "boost/date_time/posix_time/posix_time.hpp")) { | ||||
| 				return false; | ||||
|       			} | ||||
| 			if(!conf->checkHeader(s, "boost/filesystem/path.hpp")) { | ||||
| 				return false; | ||||
|       			} | ||||
| 		}else{ | ||||
| 			QStringList sl; | ||||
| 			sl << "/usr/include"; | ||||
| 			sl << "/usr/local/include"; | ||||
| 			bool found = false; | ||||
| 			foreach(s, sl){ | ||||
| 				if(conf->checkHeader(s, "boost/format.hpp")){ | ||||
| 					found = true; | ||||
| 					break; | ||||
| 				} | ||||
| 			} | ||||
| 			if(!found) { | ||||
| 				return false; | ||||
|           		} | ||||
| 			if(!conf->checkHeader(s, "boost/date_time/posix_time/posix_time.hpp")) { | ||||
| 				return false; | ||||
|       			} | ||||
| 			if(!conf->checkHeader(s, "boost/filesystem/path.hpp")) { | ||||
| 				return false; | ||||
|       			} | ||||
| 		} | ||||
| 		conf->addIncludePath(s); | ||||
| 		// Find library | ||||
| 		s = conf->getenv("QC_WITH_LIBBOOST_LIB"); | ||||
|  | ||||
|   bool exec(){ | ||||
|     QStringList sl; | ||||
|     QString s = conf->getenv("QC_WITH_LIBBOOST_INC"); | ||||
|     if (!s.isEmpty()) | ||||
|       sl << s; | ||||
|     sl << "/usr/include"; | ||||
|     sl << "/usr/local/include"; | ||||
|     bool found = false; | ||||
|     foreach (s, sl) { | ||||
|       if (conf->checkHeader(s, "boost/format.hpp") | ||||
| #if LIBTORRENT_VERSION_MAJOR == 0 && LIBTORRENT_VERSION_MINOR < 16 | ||||
|           && conf->checkHeader(s, "boost/filesystem/path.hpp") | ||||
| #endif | ||||
|          ) { | ||||
|         found = true; | ||||
|         break; | ||||
|       } | ||||
|     } | ||||
|     if (!found) | ||||
|       return false; | ||||
|  | ||||
|     conf->addIncludePath(s); | ||||
|  | ||||
|     // Find library | ||||
|     s = conf->getenv("QC_WITH_LIBBOOST_LIB"); | ||||
|     QStringList required_libs; | ||||
| #if BOOST_VERSION >= 103500 | ||||
|       required_libs << "system";  | ||||
| #endif | ||||
| #if LIBTORRENT_VERSION_MAJOR == 0 && LIBTORRENT_VERSION_MINOR < 16 | ||||
|     required_libs << "filesystem" ; | ||||
| #endif | ||||
|     required_libs << "thread"; | ||||
|     QStringList libDirs; | ||||
|     if (!s.isEmpty()) | ||||
|       libDirs << s; | ||||
|     libDirs << "/usr/lib/" << "/usr/lib64/" << "/usr/local/lib/" << "/usr/local/lib64/"; | ||||
|  | ||||
|     foreach(const QString& lib, required_libs) { | ||||
|       if(!s.isEmpty()) { | ||||
|         QString detected_name = findBoostLib(s, lib); | ||||
|         if(detected_name.isEmpty()) { | ||||
|           printf("Could not find boost %s library!\n", qPrintable(lib)); | ||||
|           return false; | ||||
|         } else { | ||||
|       bool found = false; | ||||
|       foreach(const QString& libDir, libDirs) { | ||||
|         QString detected_name = findBoostLib(libDir, lib); | ||||
|         if(!detected_name.isEmpty()) { | ||||
|           conf->addLib("-l"+detected_name); | ||||
|         } | ||||
|       } else { | ||||
|         bool found = false; | ||||
|         foreach(const QString& libDir, libDirs) { | ||||
|           QString detected_name = findBoostLib(libDir, lib); | ||||
|           if(!detected_name.isEmpty()) { | ||||
|             conf->addLib("-l"+detected_name); | ||||
|             found = true; | ||||
|             break; | ||||
|           } | ||||
|         } | ||||
|         if(!found) { | ||||
|           printf("Could not find boost %s library!\n", qPrintable(lib)); | ||||
|           return false; | ||||
|           found = true; | ||||
|           break; | ||||
|         } | ||||
|       } | ||||
|       if(!found) { | ||||
|         printf("Could not find boost %s library!\n", qPrintable(lib)); | ||||
|         return false; | ||||
|       } | ||||
|     } | ||||
| 		return true; | ||||
| 	} | ||||
|     return true; | ||||
|   } | ||||
| }; | ||||
| #line 1 "geoip-database.qcm" | ||||
| /* | ||||
|   | ||||
							
								
								
									
										18
									
								
								macxconf.pri
									
									
									
									
									
								
							
							
						
						
									
										18
									
								
								macxconf.pri
									
									
									
									
									
								
							| @@ -2,8 +2,22 @@ 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 -framework IOKit | ||||
| # Use pkg-config to get all necessary libtorrent DEFINES | ||||
| CONFIG += link_pkgconfig | ||||
| PKGCONFIG += libtorrent-rasterbar | ||||
|  | ||||
| # Special include/libs paths (macports) | ||||
| INCLUDEPATH += /usr/include/openssl /usr/include /opt/local/include/boost /opt/local/include | ||||
| LIBS += -L/opt/local/lib | ||||
|  | ||||
| # OpenSSL lib | ||||
| LIBS += -lssl -lcrypto | ||||
| # Boost system lib | ||||
| LIBS += -lboost_system-mt | ||||
| # Boost filesystem lib (Not needed for libtorrent >= 0.16.0) | ||||
| LIBS += -lboost_filesystem-mt | ||||
| # Carbon | ||||
| LIBS += -framework Carbon -framework IOKit | ||||
|  | ||||
| document_icon.path = Contents/Resources | ||||
| document_icon.files = Icons/qBitTorrentDocument.icns | ||||
|   | ||||
| @@ -9,7 +9,8 @@ dist.commands += rm -fR ../$${PROJECT_NAME}-$${PROJECT_VERSION}/ && | ||||
| dist.commands += git clone . ../$${PROJECT_NAME}-$${PROJECT_VERSION} && | ||||
| dist.commands += rm -fR ../$${PROJECT_NAME}-$${PROJECT_VERSION}/.git && | ||||
| dist.commands += rm -f ../$${PROJECT_NAME}-$${PROJECT_VERSION}/.gitignore && | ||||
| dist.commands += tar zcpvf ../$${PROJECT_NAME}-$${PROJECT_VERSION}.tar.gz ../$${PROJECT_NAME}-$${PROJECT_VERSION} && | ||||
| dist.commands += rm -fR ../$${PROJECT_NAME}-$${PROJECT_VERSION} | ||||
| dist.commands += cd .. && | ||||
| dist.commands += tar czf $${PROJECT_NAME}-$${PROJECT_VERSION}.tar.gz $${PROJECT_NAME}-$${PROJECT_VERSION} && | ||||
| dist.commands += rm -fR $${PROJECT_NAME}-$${PROJECT_VERSION} | ||||
|  | ||||
| QMAKE_EXTRA_TARGETS += dist | ||||
|   | ||||
							
								
								
									
										112
									
								
								qcm/libboost.qcm
									
									
									
									
									
								
							
							
						
						
									
										112
									
								
								qcm/libboost.qcm
									
									
									
									
									
								
							| @@ -6,12 +6,15 @@ arg: with-libboost-lib=[path], Path to libboost library files | ||||
| -----END QCMOD----- | ||||
| */ | ||||
| #include <boost/version.hpp> | ||||
| #include <libtorrent/version.hpp> | ||||
|  | ||||
| class qc_libboost : public ConfObj | ||||
| { | ||||
| public: | ||||
| 	qc_libboost(Conf *c) : ConfObj(c) {} | ||||
| 	QString name() const { return "libboost"; } | ||||
| 	QString shortname() const { return "libboost"; } | ||||
|   qc_libboost(Conf *c) : ConfObj(c) {} | ||||
|   QString name() const { return "libboost"; } | ||||
|   QString shortname() const { return "libboost"; } | ||||
|  | ||||
|   QString findBoostLib(QString path, QString lib) const { | ||||
|     QString name; | ||||
|     QDir libDir(path); | ||||
| @@ -35,75 +38,60 @@ public: | ||||
|     } | ||||
|     return name; | ||||
|   } | ||||
| 	bool exec(){ | ||||
|         	QString s; | ||||
| 		s = conf->getenv("QC_WITH_LIBBOOST_INC"); | ||||
| 		if(!s.isEmpty()) { | ||||
| 			if(!conf->checkHeader(s, "boost/format.hpp")) { | ||||
| 				return false; | ||||
|       			} | ||||
| 			if(!conf->checkHeader(s, "boost/date_time/posix_time/posix_time.hpp")) { | ||||
| 				return false; | ||||
|       			} | ||||
| 			if(!conf->checkHeader(s, "boost/filesystem/path.hpp")) { | ||||
| 				return false; | ||||
|       			} | ||||
| 		}else{ | ||||
| 			QStringList sl; | ||||
| 			sl << "/usr/include"; | ||||
| 			sl << "/usr/local/include"; | ||||
| 			bool found = false; | ||||
| 			foreach(s, sl){ | ||||
| 				if(conf->checkHeader(s, "boost/format.hpp")){ | ||||
| 					found = true; | ||||
| 					break; | ||||
| 				} | ||||
| 			} | ||||
| 			if(!found) { | ||||
| 				return false; | ||||
|           		} | ||||
| 			if(!conf->checkHeader(s, "boost/date_time/posix_time/posix_time.hpp")) { | ||||
| 				return false; | ||||
|       			} | ||||
| 			if(!conf->checkHeader(s, "boost/filesystem/path.hpp")) { | ||||
| 				return false; | ||||
|       			} | ||||
| 		} | ||||
| 		conf->addIncludePath(s); | ||||
| 		// Find library | ||||
| 		s = conf->getenv("QC_WITH_LIBBOOST_LIB"); | ||||
|  | ||||
|   bool exec(){ | ||||
|     QStringList sl; | ||||
|     QString s = conf->getenv("QC_WITH_LIBBOOST_INC"); | ||||
|     if (!s.isEmpty()) | ||||
|       sl << s; | ||||
|     sl << "/usr/include"; | ||||
|     sl << "/usr/local/include"; | ||||
|     bool found = false; | ||||
|     foreach (s, sl) { | ||||
|       if (conf->checkHeader(s, "boost/format.hpp") | ||||
| #if LIBTORRENT_VERSION_MAJOR == 0 && LIBTORRENT_VERSION_MINOR < 16 | ||||
|           && conf->checkHeader(s, "boost/filesystem/path.hpp") | ||||
| #endif | ||||
|          ) { | ||||
|         found = true; | ||||
|         break; | ||||
|       } | ||||
|     } | ||||
|     if (!found) | ||||
|       return false; | ||||
|  | ||||
|     conf->addIncludePath(s); | ||||
|  | ||||
|     // Find library | ||||
|     s = conf->getenv("QC_WITH_LIBBOOST_LIB"); | ||||
|     QStringList required_libs; | ||||
| #if BOOST_VERSION >= 103500 | ||||
|       required_libs << "system";  | ||||
| #endif | ||||
| #if LIBTORRENT_VERSION_MAJOR == 0 && LIBTORRENT_VERSION_MINOR < 16 | ||||
|     required_libs << "filesystem" ; | ||||
| #endif | ||||
|     required_libs << "thread"; | ||||
|     QStringList libDirs; | ||||
|     if (!s.isEmpty()) | ||||
|       libDirs << s; | ||||
|     libDirs << "/usr/lib/" << "/usr/lib64/" << "/usr/local/lib/" << "/usr/local/lib64/"; | ||||
|  | ||||
|     foreach(const QString& lib, required_libs) { | ||||
|       if(!s.isEmpty()) { | ||||
|         QString detected_name = findBoostLib(s, lib); | ||||
|         if(detected_name.isEmpty()) { | ||||
|           printf("Could not find boost %s library!\n", qPrintable(lib)); | ||||
|           return false; | ||||
|         } else { | ||||
|       bool found = false; | ||||
|       foreach(const QString& libDir, libDirs) { | ||||
|         QString detected_name = findBoostLib(libDir, lib); | ||||
|         if(!detected_name.isEmpty()) { | ||||
|           conf->addLib("-l"+detected_name); | ||||
|         } | ||||
|       } else { | ||||
|         bool found = false; | ||||
|         foreach(const QString& libDir, libDirs) { | ||||
|           QString detected_name = findBoostLib(libDir, lib); | ||||
|           if(!detected_name.isEmpty()) { | ||||
|             conf->addLib("-l"+detected_name); | ||||
|             found = true; | ||||
|             break; | ||||
|           } | ||||
|         } | ||||
|         if(!found) { | ||||
|           printf("Could not find boost %s library!\n", qPrintable(lib)); | ||||
|           return false; | ||||
|           found = true; | ||||
|           break; | ||||
|         } | ||||
|       } | ||||
|       if(!found) { | ||||
|         printf("Could not find boost %s library!\n", qPrintable(lib)); | ||||
|         return false; | ||||
|       } | ||||
|     } | ||||
| 		return true; | ||||
| 	} | ||||
|     return true; | ||||
|   } | ||||
| }; | ||||
|   | ||||
| @@ -47,7 +47,7 @@ | ||||
| 	<key>CFBundlePackageType</key> | ||||
| 	<string>APPL</string> | ||||
| 	<key>CFBundleGetInfoString</key> | ||||
| 	<string>2.8.0</string> | ||||
| 	<string>2.9.6</string> | ||||
| 	<key>CFBundleSignature</key> | ||||
| 	<string>????</string> | ||||
| 	<key>CFBundleExecutable</key> | ||||
|   | ||||
| @@ -64,6 +64,8 @@ class about : public QDialog, private Ui::AboutDlg{ | ||||
|       QString trans_txt = "<p>"+tr("I would like to thank the following people who volunteered to translate qBittorrent:")+"</p>"; | ||||
|       trans_txt += QString::fromUtf8("<ul><li><u>Arabic:</u> SDERAWI (abz8868@msn.com) and sn51234 (nesseyan@gmail.com)</li>\ | ||||
|           <li><u>Armenian:</u> Hrant Ohanyan (hrantohanyan@mail.am)</li>\ | ||||
|           <li><u>Basque:</u> Xabier Aramendi (azpidatziak@gmail.com)</li>\ | ||||
|           <li><u>Belarusian:</u> Mihas Varantsou (meequz@gmail.com)</li>\ | ||||
|           <li><u>Brazilian:</u> Nick Marinho (nickmarinho@gmail.com)</li>\ | ||||
|           <li><u>Bulgarian:</u> Tsvetan & Boyko Bankoff (emerge_life@users.sourceforge.net)</li>\ | ||||
|           <li><u>Catalan:</u> Francisco Luque Contreras (frannoe@ya.com)</li>\ | ||||
| @@ -75,6 +77,7 @@ class about : public QDialog, private Ui::AboutDlg{ | ||||
|           <li><u>Dutch:</u> Pieter Heyvaert (pieter_heyvaert@hotmail.com)</li>\ | ||||
|           <li><u>Finnish:</u> Niklas Laxström (nikerabbit@users.sourceforge.net) and Pekka Niemi (pekka.niemi@iki.fi)</li>\ | ||||
|           <li><u>Galician:</u> Marcos Lans (marcoslansgarza@gmail.com)</li>\ | ||||
|           <li><u>Georgian:</u> Beqa Arabuli (arabulibeqa@yahoo.com)</li>\ | ||||
|           <li><u>German:</u> Niels Hoffmann (zentralmaschine@users.sourceforge.net)</li>\ | ||||
|           <li><u>Greek:</u> Tsvetan Bankov (emerge_life@users.sourceforge.net)</li>\ | ||||
|           <li><u>Hungarian:</u> Majoros Péter (majoros.peterj@gmail.com)</li>\ | ||||
|   | ||||
| @@ -66,9 +66,14 @@ void DownloadThread::processDlFinished(QNetworkReply* reply) { | ||||
|   const QVariant redirection = reply->attribute(QNetworkRequest::RedirectionTargetAttribute); | ||||
|   if(redirection.isValid()) { | ||||
|     // We should redirect | ||||
|     qDebug("Redirecting from %s to %s", qPrintable(url), qPrintable(redirection.toUrl().toString())); | ||||
|     m_redirectMapping.insert(redirection.toUrl().toString(), url); | ||||
|     downloadUrl(redirection.toUrl().toString()); | ||||
|     QUrl newUrl = redirection.toUrl(); | ||||
|     // Resolve relative urls | ||||
|     if (newUrl.isRelative()) | ||||
|         newUrl = reply->url().resolved(newUrl); | ||||
|     const QString newUrlString = newUrl.toString(); | ||||
|     qDebug("Redirecting from %s to %s", qPrintable(url), qPrintable(newUrlString)); | ||||
|     m_redirectMapping.insert(newUrlString, url); | ||||
|     downloadUrl(newUrlString); | ||||
|     reply->deleteLater(); | ||||
|     return; | ||||
|   } | ||||
|   | ||||
| @@ -33,5 +33,8 @@ | ||||
|   <file>lang/qbittorrent_en.qm</file> | ||||
|   <file>lang/qbittorrent_hr.qm</file> | ||||
|   <file>lang/qbittorrent_ro.qm</file> | ||||
|   <file>lang/qbittorrent_ka.qm</file> | ||||
|   <file>lang/qbittorrent_be.qm</file> | ||||
|   <file>lang/qbittorrent_eu.qm</file> | ||||
| </qresource> | ||||
| </RCC> | ||||
| </RCC> | ||||
|   | ||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								src/lang/qbittorrent_be.qm
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								src/lang/qbittorrent_be.qm
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										5343
									
								
								src/lang/qbittorrent_be.ts
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										5343
									
								
								src/lang/qbittorrent_be.ts
									
									
									
									
									
										Executable file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								src/lang/qbittorrent_eu.qm
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								src/lang/qbittorrent_eu.qm
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										5352
									
								
								src/lang/qbittorrent_eu.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5352
									
								
								src/lang/qbittorrent_eu.ts
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							Some files were not shown because too many files have changed in this diff Show More
		Reference in New Issue
	
	Block a user