Compare commits
	
		
			198 Commits
		
	
	
		
			release-2.
			...
			release-2.
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					6f59bd4be3 | ||
| 
						 | 
					1ad80a8e2b | ||
| 
						 | 
					b7ae2eabc7 | ||
| 
						 | 
					c9ff34af8d | ||
| 
						 | 
					8a1e79d22f | ||
| 
						 | 
					1ca084038c | ||
| 
						 | 
					c77eb35f5b | ||
| 
						 | 
					f5cf5c2176 | ||
| 
						 | 
					2b4043dc43 | ||
| 
						 | 
					a3db4790a7 | ||
| 
						 | 
					299b0f90bc | ||
| 
						 | 
					a58d5c0f32 | ||
| 
						 | 
					ea631f6675 | ||
| 
						 | 
					7a5f9195fc | ||
| 
						 | 
					6629c39f01 | ||
| 
						 | 
					29e465d2f6 | ||
| 
						 | 
					8c33daa369 | ||
| 
						 | 
					147060fdee | ||
| 
						 | 
					1fd326aa15 | ||
| 
						 | 
					e5032a52c4 | ||
| 
						 | 
					a640b08414 | ||
| 
						 | 
					3144bfebc7 | ||
| 
						 | 
					df04427c6a | ||
| 
						 | 
					6a689e83c4 | ||
| 
						 | 
					9fe64982bb | ||
| 
						 | 
					5cd376d2c3 | ||
| 
						 | 
					1d795d85d2 | ||
| 
						 | 
					d5898f024d | ||
| 
						 | 
					2de4c50d4f | ||
| 
						 | 
					e57f8b6204 | ||
| 
						 | 
					9c67aaf641 | ||
| 
						 | 
					af562ecf89 | ||
| 
						 | 
					d76877b1a2 | ||
| 
						 | 
					01cc4452b2 | ||
| 
						 | 
					1cb30d77fd | ||
| 
						 | 
					126e2e7c75 | ||
| 
						 | 
					9c13ed2635 | ||
| 
						 | 
					e11545c8a3 | ||
| 
						 | 
					ad087d7e88 | ||
| 
						 | 
					c387c15eb0 | ||
| 
						 | 
					345222cf42 | ||
| 
						 | 
					adffd7df74 | ||
| 
						 | 
					4de980c1a1 | ||
| 
						 | 
					578a5c9551 | ||
| 
						 | 
					c47dbfb1f5 | ||
| 
						 | 
					cb0942b388 | ||
| 
						 | 
					1904bc1abb | ||
| 
						 | 
					5a02c56865 | ||
| 
						 | 
					d7b0299416 | ||
| 
						 | 
					265ab7bef2 | ||
| 
						 | 
					e824bc8bb1 | ||
| 
						 | 
					046ebb5a8f | ||
| 
						 | 
					8b83d60732 | ||
| 
						 | 
					d2754fb242 | ||
| 
						 | 
					30ba1a428e | ||
| 
						 | 
					0553668da8 | ||
| 
						 | 
					ff63d75532 | ||
| 
						 | 
					b7ec18e4f1 | ||
| 
						 | 
					9c9944715a | ||
| 
						 | 
					ea1a54c5f1 | ||
| 
						 | 
					34cb5efb72 | ||
| 
						 | 
					8597689a52 | ||
| 
						 | 
					41a61ced89 | ||
| 
						 | 
					da95d5e0df | ||
| 
						 | 
					8276c301c2 | ||
| 
						 | 
					75ff9984fa | ||
| 
						 | 
					cda77d1724 | ||
| 
						 | 
					583b8c60bb | ||
| 
						 | 
					5c2b57052b | ||
| 
						 | 
					9cf79a4a76 | ||
| 
						 | 
					c4968edb79 | ||
| 
						 | 
					a859a6d179 | ||
| 
						 | 
					e2c75b5a11 | ||
| 
						 | 
					12195b186b | ||
| 
						 | 
					658d876ff7 | ||
| 
						 | 
					390508e7db | ||
| 
						 | 
					0a2efaf5fc | ||
| 
						 | 
					6b7af5b464 | ||
| 
						 | 
					a2c19302cb | ||
| 
						 | 
					1638554944 | ||
| 
						 | 
					1d1b49205d | ||
| 
						 | 
					0ca7100168 | ||
| 
						 | 
					26c680ae1f | ||
| 
						 | 
					6c1eda8755 | ||
| 
						 | 
					0374f9d0a8 | ||
| 
						 | 
					080a36de5f | ||
| 
						 | 
					071801fee7 | ||
| 
						 | 
					bee507cb45 | ||
| 
						 | 
					7d6df2a3c2 | ||
| 
						 | 
					a2ffecd6bd | ||
| 
						 | 
					1532b24448 | ||
| 
						 | 
					c4dae02ef6 | ||
| 
						 | 
					846962aab1 | ||
| 
						 | 
					35e98b6cbb | ||
| 
						 | 
					ecfc3d0118 | ||
| 
						 | 
					3ecc8c8d67 | ||
| 
						 | 
					a83fbf5a98 | ||
| 
						 | 
					328e4fd860 | ||
| 
						 | 
					b98d0282ce | ||
| 
						 | 
					166dad51d5 | ||
| 
						 | 
					e3ccea3b17 | ||
| 
						 | 
					8a64a6441e | ||
| 
						 | 
					c34000ab17 | ||
| 
						 | 
					90dd337069 | ||
| 
						 | 
					31e4b8dc31 | ||
| 
						 | 
					5145abe5c8 | ||
| 
						 | 
					7ec842929a | ||
| 
						 | 
					39778baaf5 | ||
| 
						 | 
					0a510db95e | ||
| 
						 | 
					c73243b0d2 | ||
| 
						 | 
					46b75b760f | ||
| 
						 | 
					fc3ae51122 | ||
| 
						 | 
					05d9f28f8b | ||
| 
						 | 
					b1b2a2c775 | ||
| 
						 | 
					105de3161a | ||
| 
						 | 
					354d968a94 | ||
| 
						 | 
					f617b74bac | ||
| 
						 | 
					3664134e02 | ||
| 
						 | 
					1875846326 | ||
| 
						 | 
					64f0adc813 | ||
| 
						 | 
					a9d4b38bd3 | ||
| 
						 | 
					44fa7388d5 | ||
| 
						 | 
					24df142b02 | ||
| 
						 | 
					958b73f2cb | ||
| 
						 | 
					1962898e24 | ||
| 
						 | 
					56b88661bc | ||
| 
						 | 
					5b47a762ac | ||
| 
						 | 
					a5c6bcceea | ||
| 
						 | 
					290932e128 | ||
| 
						 | 
					f53fe96191 | ||
| 
						 | 
					fc8a822dac | ||
| 
						 | 
					b7a3ae2b4c | ||
| 
						 | 
					26d19b33e6 | ||
| 
						 | 
					4ba9dc1fed | ||
| 
						 | 
					2c3f99692d | ||
| 
						 | 
					a27d2dcac2 | ||
| 
						 | 
					f7cb6a7da5 | ||
| 
						 | 
					6855edf649 | ||
| 
						 | 
					aff27558dd | ||
| 
						 | 
					f6172f8c77 | ||
| 
						 | 
					1562088bc8 | ||
| 
						 | 
					67973515d5 | ||
| 
						 | 
					7867cf68f9 | ||
| 
						 | 
					1eb26bd78b | ||
| 
						 | 
					a8d635f7ac | ||
| 
						 | 
					289ad37f06 | ||
| 
						 | 
					94de42bf2e | ||
| 
						 | 
					ca9f40eb7f | ||
| 
						 | 
					4013f9fefd | ||
| 
						 | 
					ccf0002c0f | ||
| 
						 | 
					86fb4a323a | ||
| 
						 | 
					38c56a2b5f | ||
| 
						 | 
					2d1286158a | ||
| 
						 | 
					6e7309316c | ||
| 
						 | 
					593fdad426 | ||
| 
						 | 
					933a831eb1 | ||
| 
						 | 
					7c55082464 | ||
| 
						 | 
					fa3e70316e | ||
| 
						 | 
					c9c2ab320d | ||
| 
						 | 
					53d9817d8a | ||
| 
						 | 
					828ecb6b3c | ||
| 
						 | 
					af61ed7c72 | ||
| 
						 | 
					1e86ea8c0a | ||
| 
						 | 
					129bfac549 | ||
| 
						 | 
					4815bb9f11 | ||
| 
						 | 
					81eb8b1341 | ||
| 
						 | 
					1596dc5206 | ||
| 
						 | 
					76a22fabcd | ||
| 
						 | 
					3d7bf26f85 | ||
| 
						 | 
					69661406a0 | ||
| 
						 | 
					74fba0fb7e | ||
| 
						 | 
					d56fc9fcd4 | ||
| 
						 | 
					124dcee7b8 | ||
| 
						 | 
					b5b06ce36d | ||
| 
						 | 
					ef01088411 | ||
| 
						 | 
					bc87c1c409 | ||
| 
						 | 
					bbe4328c06 | ||
| 
						 | 
					d557410156 | ||
| 
						 | 
					a150e24ce4 | ||
| 
						 | 
					261d02863c | ||
| 
						 | 
					c64f02c9bf | ||
| 
						 | 
					790db14b51 | ||
| 
						 | 
					2500ac2cb7 | ||
| 
						 | 
					cd8a7cf0e0 | ||
| 
						 | 
					b3be32126d | ||
| 
						 | 
					643bc5516c | ||
| 
						 | 
					eb94c59892 | ||
| 
						 | 
					72f4c81f4c | ||
| 
						 | 
					9543bd63f9 | ||
| 
						 | 
					7ae7a71782 | ||
| 
						 | 
					8994ca6dd5 | ||
| 
						 | 
					354dceeaf0 | ||
| 
						 | 
					50c7225c1e | ||
| 
						 | 
					44d945b5c0 | ||
| 
						 | 
					4ff6104601 | ||
| 
						 | 
					80760dd7af | ||
| 
						 | 
					7835a13573 | ||
| 
						 | 
					9b26fd50b2 | 
							
								
								
									
										6
									
								
								AUTHORS
									
									
									
									
									
								
							
							
						
						@@ -36,9 +36,9 @@ Images Authors:
 | 
			
		||||
  url: http://www.oxygen-icons.org
 | 
			
		||||
 | 
			
		||||
* files: src/Icons/flags/*.png
 | 
			
		||||
  copyright: Open Clip Art Library
 | 
			
		||||
  license: Creative Commons Public Domain Dedication
 | 
			
		||||
  url: http://www.openclipart.org
 | 
			
		||||
  copyright: Mark James <mjames@gmail.com>
 | 
			
		||||
  license: Public Domain
 | 
			
		||||
  url: http://www.famfamfam.com
 | 
			
		||||
 | 
			
		||||
* files: src/Icons/skin/*.png
 | 
			
		||||
  files: src/menuicons/YYxYY/*.png
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										105
									
								
								Changelog
									
									
									
									
									
								
							
							
						
						@@ -1,90 +1,21 @@
 | 
			
		||||
* Wed Nov 10 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.4.10
 | 
			
		||||
    - BUGFIX: Fix possible crash when selecting a RSS item (really closes #575624)
 | 
			
		||||
    - BUGFIX: Improved IPv6 support (IP filter and Peer list)
 | 
			
		||||
    - BUGFIX: Make IP filter more tolerant towards strangely formatted IPs
 | 
			
		||||
    - BUGFIX: More reliable folder scanning
 | 
			
		||||
    - BUGFIX: Do not create the torrent root folder at final destination if
 | 
			
		||||
    torrent is in the temp dir (closes #673271)
 | 
			
		||||
    - BUGFIX: Fix compilation with libnotify v0.7.0 (closes #671769)
 | 
			
		||||
    - BUGFIX: Use a pointing cursor over status bar buttons
 | 
			
		||||
 | 
			
		||||
* Sun Oct 31 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.4.9
 | 
			
		||||
    - BUGFIX: Fix crash when pressing enter in save path field in torrent addition dialog
 | 
			
		||||
    - BUGFIX: Fix crash when deleting a torrent with no metadata (closes #667528)
 | 
			
		||||
    - BUGFIX: Fix possible crash on clicking a RSS article (closes #575624)
 | 
			
		||||
    - BUGFIX: Correctly update total number of torrents when a torrent is automatically removed (closes #668726)
 | 
			
		||||
    - BUGFIX: Correctly display the hash of torrents with no metadata
 | 
			
		||||
    - BUGFIX: Elide status bar text if it is too wide
 | 
			
		||||
    - BUGFIX: Make sure the splash screen is displayed for 2 seconds
 | 
			
		||||
    - BUGFIX: Make listening on a particular interface more reliable
 | 
			
		||||
    - BUGFIX: Fix torrent size update in torrent addition dialog
 | 
			
		||||
    - BUGFIX: Fix possible crash on qBittorrent shutdown
 | 
			
		||||
    - BUGFIX: Fix and improve file priorities editing (closes #669084)
 | 
			
		||||
    - I18N: Updated Arabic, Italian and Croatian translations
 | 
			
		||||
 | 
			
		||||
* Sun Oct 24 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.4.8
 | 
			
		||||
    - BUGFIX: Fix possible crash on manual peer ban
 | 
			
		||||
    - BUGFIX: Improved hostname resolution code
 | 
			
		||||
    - BUGFIX: Several search plugins fixed
 | 
			
		||||
    - BUGFIX: Auto-disable the shutdown feature
 | 
			
		||||
    - BUGFIX: Remember the current property tab on startup
 | 
			
		||||
    - BUGFIX: Fix status list widget height issue on style change
 | 
			
		||||
    - BUGFIX: Fix rounding issue in torrent progress display
 | 
			
		||||
    - BUGFIX: Fix issue when altering files priorities of a seeding torrent
 | 
			
		||||
    - BUGFIX: Better fix for save path editing issues in torrent addition dialog
 | 
			
		||||
    - 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
 | 
			
		||||
* Unreleased - Christophe Dumez <chris@qbittorrent.org> - v2.5.0
 | 
			
		||||
    - FEATURE: qBittorrent can now act as a tracker
 | 
			
		||||
    - FEATURE: New and improved RSS feed automated downloader
 | 
			
		||||
    - FEATURE: Added feature to shutdown qbittorrent on torrents completion
 | 
			
		||||
    - FEATURE: Added a torrent import assistant to seed or keep downloading outside torrents
 | 
			
		||||
    - FEATURE: qBittorrent can update itself from Sourceforge (Windows/Mac OS X only)
 | 
			
		||||
    - FEATURE: Added a transfer list column to display the current tracker
 | 
			
		||||
    - FEATURE: Remember the last trackers used in the torrent creation tool
 | 
			
		||||
    - FEATURE: The optimal piece size is now automatically computed in the torrent creation tool
 | 
			
		||||
    - FEATURE: Bring up the connection settings when clicking on the connection status icon
 | 
			
		||||
    - FEATURE: Major code refactoring and optimization
 | 
			
		||||
    - FEATURE: Added "Amount downloaded/left" columns to transfer list
 | 
			
		||||
    - FEATURE: Simplified proxy settings
 | 
			
		||||
    - FEATURE: Optimized and improved the peer country resolution code
 | 
			
		||||
    - COSMETIC: Replaced message box by on-screen notification for download errors
 | 
			
		||||
    - COSMETIC: Improved the torrent creation tool appearance
 | 
			
		||||
    - COSMETIC: Use country flags by Mark James (Thanks to Dmytro Pukha)
 | 
			
		||||
    - OTHERS: Dropped support for Qt <= 4.4
 | 
			
		||||
 | 
			
		||||
* Tue Aug 24 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.4.0
 | 
			
		||||
    - FEATURE: Added actions to "Move to top/bottom" of priority queue
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										2
									
								
								INSTALL
									
									
									
									
									
								
							
							
						
						@@ -10,7 +10,7 @@ qBittorrent - A BitTorrent client in C++ / Qt4
 | 
			
		||||
  will install and execute qBittorrent hopefully without any problems.
 | 
			
		||||
 | 
			
		||||
  Dependencies:
 | 
			
		||||
    - Qt >= 4.4.0 (libqt-devel, libqtgui, libqtcore, libqtnetwork, libqtxml)
 | 
			
		||||
    - Qt >= 4.5.0 (libqt-devel, libqtgui, libqtcore, libqtnetwork, libqtxml)
 | 
			
		||||
 | 
			
		||||
    - pkg-config executable
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										32
									
								
								configure
									
									
									
									
										vendored
									
									
								
							
							
						
						@@ -325,7 +325,7 @@ cat >$1/modules.cpp <<EOT
 | 
			
		||||
#line 1 "qt4.qcm"
 | 
			
		||||
/*
 | 
			
		||||
-----BEGIN QCMOD-----
 | 
			
		||||
name: Qt >= 4.4
 | 
			
		||||
name: Qt >= 4.5
 | 
			
		||||
arg: disable-gui, Disable qBittorrent Graphical user interface for headless running
 | 
			
		||||
-----END QCMOD-----
 | 
			
		||||
*/
 | 
			
		||||
@@ -333,14 +333,14 @@ class qc_qt4 : public ConfObj
 | 
			
		||||
{
 | 
			
		||||
public:
 | 
			
		||||
	qc_qt4(Conf *c) : ConfObj(c) {}
 | 
			
		||||
	QString name() const { return "Qt >= 4.4"; }
 | 
			
		||||
	QString shortname() const { return "Qt 4.4"; }
 | 
			
		||||
	QString name() const { return "Qt >= 4.5"; }
 | 
			
		||||
	QString shortname() const { return "Qt 4.5"; }
 | 
			
		||||
	bool exec()
 | 
			
		||||
	{
 | 
			
		||||
		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"
 | 
			
		||||
@@ -534,7 +534,7 @@ public:
 | 
			
		||||
		QString version, libs, other;
 | 
			
		||||
		VersionMode mode = VersionMin;
 | 
			
		||||
		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)
 | 
			
		||||
				conf->addIncludePath(incs[n]);
 | 
			
		||||
			if(!libs.isEmpty())
 | 
			
		||||
@@ -616,22 +616,22 @@ arg: with-qtsingleapplication=[system|shipped], Use the shipped qtsingleapplicat
 | 
			
		||||
class qc_qtsingleapplication : public ConfObj
 | 
			
		||||
{
 | 
			
		||||
public:
 | 
			
		||||
	qc_qtsingleapplication(Conf *c) : ConfObj(c) {}
 | 
			
		||||
	QString name() const { return "qtsingleapplication library"; }
 | 
			
		||||
	QString shortname() const { return "qtsingleapplication"; }
 | 
			
		||||
        qc_qtsingleapplication(Conf *c) : ConfObj(c) {}
 | 
			
		||||
        QString name() const { return "qtsingleapplication library"; }
 | 
			
		||||
        QString shortname() const { return "qtsingleapplication"; }
 | 
			
		||||
 | 
			
		||||
	bool exec(){
 | 
			
		||||
        	QString s;
 | 
			
		||||
		s = conf->getenv("QC_WITH_QTSINGLEAPPLICATION");
 | 
			
		||||
        bool exec(){
 | 
			
		||||
                QString s;
 | 
			
		||||
                s = conf->getenv("QC_WITH_QTSINGLEAPPLICATION");
 | 
			
		||||
                if(s.compare("system", Qt::CaseInsensitive) == 0) {
 | 
			
		||||
                  // System
 | 
			
		||||
                  conf->addDefine("USE_SYSTEM_QTSINGLEAPPLICATION");
 | 
			
		||||
                  conf->addExtra("CONFIG += usesystemqtsingleapplication");
 | 
			
		||||
                  printf(" [system] ");
 | 
			
		||||
                } else {
 | 
			
		||||
                  printf(" [shipped] ");
 | 
			
		||||
		}
 | 
			
		||||
		return true;
 | 
			
		||||
	}
 | 
			
		||||
                }
 | 
			
		||||
                return true;
 | 
			
		||||
        }
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
EOT
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										16
									
								
								macxconf.pri
									
									
									
									
									
										Normal file
									
								
							
							
						
						@@ -0,0 +1,16 @@
 | 
			
		||||
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.")
 | 
			
		||||
							
								
								
									
										10
									
								
								os2conf.pri
									
									
									
									
									
										Normal file
									
								
							
							
						
						@@ -0,0 +1,10 @@
 | 
			
		||||
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.")
 | 
			
		||||
@@ -1,199 +0,0 @@
 | 
			
		||||
<?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>
 | 
			
		||||
      <implementationsuffix>.cpp</implementationsuffix>
 | 
			
		||||
    </filetemplates>
 | 
			
		||||
  </cppsupportpart>
 | 
			
		||||
  <ctagspart>
 | 
			
		||||
    <customArguments/>
 | 
			
		||||
    <customTagfilePath>/home/ishanarora/projects/qbittorrent/tags</customTagfilePath>
 | 
			
		||||
    <activeTagsFiles/>
 | 
			
		||||
  </ctagspart>
 | 
			
		||||
  <kdevdocumentation>
 | 
			
		||||
    <projectdoc>
 | 
			
		||||
      <docsystem/>
 | 
			
		||||
      <docurl/>
 | 
			
		||||
      <usermanualurl/>
 | 
			
		||||
    </projectdoc>
 | 
			
		||||
  </kdevdocumentation>
 | 
			
		||||
</kdevelop>
 | 
			
		||||
@@ -24,7 +24,7 @@ public:
 | 
			
		||||
		QString version, libs, other;
 | 
			
		||||
		VersionMode mode = VersionMin;
 | 
			
		||||
		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)
 | 
			
		||||
				conf->addIncludePath(incs[n]);
 | 
			
		||||
			if(!libs.isEmpty())
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										10
									
								
								qcm/qt4.qcm
									
									
									
									
									
								
							
							
						
						@@ -1,6 +1,6 @@
 | 
			
		||||
/*
 | 
			
		||||
-----BEGIN QCMOD-----
 | 
			
		||||
name: Qt >= 4.4
 | 
			
		||||
name: Qt >= 4.5
 | 
			
		||||
arg: disable-gui, Disable qBittorrent Graphical user interface for headless running
 | 
			
		||||
-----END QCMOD-----
 | 
			
		||||
*/
 | 
			
		||||
@@ -8,13 +8,13 @@ class qc_qt4 : public ConfObj
 | 
			
		||||
{
 | 
			
		||||
public:
 | 
			
		||||
	qc_qt4(Conf *c) : ConfObj(c) {}
 | 
			
		||||
	QString name() const { return "Qt >= 4.4"; }
 | 
			
		||||
	QString shortname() const { return "Qt 4.4"; }
 | 
			
		||||
	QString name() const { return "Qt >= 4.5"; }
 | 
			
		||||
	QString shortname() const { return "Qt 4.5"; }
 | 
			
		||||
	bool exec()
 | 
			
		||||
	{
 | 
			
		||||
		if(!conf->getenv("QC_DISABLE_GUI").isEmpty()) {
 | 
			
		||||
			conf->addDefine("DISABLE_GUI");
 | 
			
		||||
			conf->addExtra("CONFIG += nox");
 | 
			
		||||
		}	
 | 
			
		||||
		return(QT_VERSION >= 0x040400);
 | 
			
		||||
		return(QT_VERSION >= 0x040500);
 | 
			
		||||
	}
 | 
			
		||||
};
 | 
			
		||||
 
 | 
			
		||||
@@ -16,7 +16,7 @@ public:
 | 
			
		||||
                s = conf->getenv("QC_WITH_QTSINGLEAPPLICATION");
 | 
			
		||||
                if(s.compare("system", Qt::CaseInsensitive) == 0) {
 | 
			
		||||
                  // System
 | 
			
		||||
                  conf->addDefine("USE_SYSTEM_QTSINGLEAPPLICATION");
 | 
			
		||||
                  conf->addExtra("CONFIG += usesystemqtsingleapplication");
 | 
			
		||||
                  printf(" [system] ");
 | 
			
		||||
                } else {
 | 
			
		||||
                  printf(" [shipped] ");
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								src/Icons/flags/ad.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 643 B  | 
							
								
								
									
										
											BIN
										
									
								
								src/Icons/flags/ae.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 408 B  | 
							
								
								
									
										
											BIN
										
									
								
								src/Icons/flags/af.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 604 B  | 
							
								
								
									
										
											BIN
										
									
								
								src/Icons/flags/ag.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 591 B  | 
							
								
								
									
										
											BIN
										
									
								
								src/Icons/flags/ai.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 643 B  | 
							
								
								
									
										
											BIN
										
									
								
								src/Icons/flags/al.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 600 B  | 
| 
		 Before Width: | Height: | Size: 473 B  | 
							
								
								
									
										
											BIN
										
									
								
								src/Icons/flags/am.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 497 B  | 
							
								
								
									
										
											BIN
										
									
								
								src/Icons/flags/an.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 488 B  | 
							
								
								
									
										
											BIN
										
									
								
								src/Icons/flags/ao.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 428 B  | 
							
								
								
									
										
											BIN
										
									
								
								src/Icons/flags/ar.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 506 B  | 
| 
		 Before Width: | Height: | Size: 308 B  | 
							
								
								
									
										
											BIN
										
									
								
								src/Icons/flags/as.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 647 B  | 
							
								
								
									
										
											BIN
										
									
								
								src/Icons/flags/at.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 403 B  | 
							
								
								
									
										
											BIN
										
									
								
								src/Icons/flags/au.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 673 B  | 
| 
		 Before Width: | Height: | Size: 1.1 KiB  | 
| 
		 Before Width: | Height: | Size: 285 B  | 
							
								
								
									
										
											BIN
										
									
								
								src/Icons/flags/aw.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 524 B  | 
							
								
								
									
										
											BIN
										
									
								
								src/Icons/flags/ax.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 663 B  | 
							
								
								
									
										
											BIN
										
									
								
								src/Icons/flags/az.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 589 B  | 
							
								
								
									
										
											BIN
										
									
								
								src/Icons/flags/ba.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 593 B  | 
							
								
								
									
										
											BIN
										
									
								
								src/Icons/flags/bb.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 585 B  |