You've already forked qBittorrent
							
							
				mirror of
				https://github.com/qbittorrent/qBittorrent
				synced 2025-10-30 23:30:54 +01:00 
			
		
		
		
	Compare commits
	
		
			1213 Commits
		
	
	
		
			release-2.
			...
			release-3.
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|   | 850018c86b | ||
|   | 7dbda1b3cf | ||
|   | 29ead90638 | ||
|   | d9061416a0 | ||
|   | 42406b38fb | ||
|   | 102b1b2065 | ||
|   | c110c5a084 | ||
|   | e24fb4ec73 | ||
|   | 9f7d4f0898 | ||
|   | c0b7cd79a8 | ||
|   | d4c7b7be40 | ||
|   | 5cecdc18ed | ||
|   | 48240fbded | ||
|   | dbab9e3b93 | ||
|   | e4d1ee44a9 | ||
|   | 4ae6035ee9 | ||
|   | 722d851082 | ||
|   | 01f253b24a | ||
|   | a4ab14e6d0 | ||
|   | 8676fbae02 | ||
|   | 203c1750a6 | ||
|   | 2db2f73b48 | ||
|   | 3efba63e23 | ||
|   | 8f29befc65 | ||
|   | 630fd7c344 | ||
|   | c74334669b | ||
|   | c7dc6d0edf | ||
|   | 0f9ece76f8 | ||
|   | ec31081927 | ||
|   | 6598b3266c | ||
|   | 0d723af8f6 | ||
|   | 5559af8d07 | ||
|   | f50290d46d | ||
|   | 0dd3f6672d | ||
|   | d515a5b86a | ||
|   | e810fa1053 | ||
|   | 12ea7efd5c | ||
|   | bcf2534e23 | ||
|   | 412e6b0a43 | ||
|   | 0d85124a46 | ||
|   | 3abfbf107e | ||
|   | 643803edfd | ||
|   | 3fbb61033f | ||
|   | ddbe96c807 | ||
|   | 44d0baf9a2 | ||
|   | ae67141fed | ||
|   | b9cb41cc4a | ||
|   | 2e3341172a | ||
|   | 4310b14e0e | ||
|   | db96dede87 | ||
|   | ba41a7bd9c | ||
|   | 7fb9a2196c | ||
|   | 781fcc800a | ||
|   | 819da54868 | ||
|   | 276377138e | ||
|   | a23198324f | ||
|   | 7712ca3efd | ||
|   | 389c5fb114 | ||
|   | a360e222e8 | ||
|   | 87e9adb666 | ||
|   | d15107c1b4 | ||
|   | e08ae6b668 | ||
|   | c6bc4d2cd2 | ||
|   | 08cd1c9b0c | ||
|   | 909716849e | ||
|   | 3e0ea7b490 | ||
|   | 4402c7a8ef | ||
|   | 672cd5a999 | ||
|   | 14310f9b05 | ||
|   | d0a4b2da79 | ||
|   | 1e802f2090 | ||
|   | c311080d8d | ||
|   | 6a45e9dbd7 | ||
|   | bbf47b0907 | ||
|   | a1a5fb065e | ||
|   | 36ae095c69 | ||
|   | 4ac19e2b27 | ||
|   | 08138307da | ||
|   | eeb43d6bfd | ||
|   | 4cd134a35e | ||
|   | 2b03f2382a | ||
|   | dbf8675de3 | ||
|   | b78ea79d30 | ||
|   | 89b82778e6 | ||
|   | da561ccd38 | ||
|   | 11ebb9f0f7 | ||
|   | e7c27c9b8b | ||
|   | 0f298397b3 | ||
|   | 70215bd3ff | ||
|   | fcebe1e485 | ||
|   | ae8c6ecf1c | ||
|   | 62cc91efc4 | ||
|   | 774d749eef | ||
|   | 2fc53613cd | ||
|   | 135165d856 | ||
|   | 0ea8fd6996 | ||
|   | f8fdd58e20 | ||
|   | 6e9ed4ead7 | ||
|   | d09b0d5f72 | ||
|   | 251d5b1921 | ||
|   | 4f8ccd0dfc | ||
|   | 04430a4cdd | ||
|   | c7aa2cb684 | ||
|   | 65012bc517 | ||
|   | 0b0e137175 | ||
|   | 6bea659d50 | ||
|   | 37f821556e | ||
|   | 532bec5d87 | ||
|   | 74a1cce46c | ||
|   | 6cdbf6f869 | ||
|   | 51cde405f9 | ||
|   | 17c122e5ad | ||
|   | 4f99b04a42 | ||
|   | c8cc727aea | ||
|   | 8ca7603f38 | ||
|   | af40488e5c | ||
|   | a1298fbf58 | ||
|   | f276ad568e | ||
|   | a1f82db5d5 | ||
|   | 9bd8b90dbe | ||
|   | ed49c3ad31 | ||
|   | 3c813d456c | ||
|   | 881c2babe5 | ||
|   | 2a8b530b46 | ||
|   | 1b2de035b4 | ||
|   | 2ea427bd24 | ||
|   | 02fab15e7b | ||
|   | 3b43d48836 | ||
|   | 94cfba6f23 | ||
|   | 06cd53ab92 | ||
|   | 68602cb375 | ||
|   | ecaa81da0f | ||
|   | d3e744d0fb | ||
|   | d57381a524 | ||
|   | b033beec60 | ||
|   | d05761f1f0 | ||
|   | 6ed0d4bc1c | ||
|   | 75ff773068 | ||
|   | caf1a050c8 | ||
|   | 4cd3c144dc | ||
|   | 4d51cc6c0f | ||
|   | f3e90265fd | ||
|   | d97c1d2b6b | ||
|   | ec4490a7cb | ||
|   | d03261480d | ||
|   | b610ab4825 | ||
|   | 4662bcf112 | ||
|   | 890f9a7e19 | ||
|   | 7f713cbd8c | ||
|   | 0841e91ac7 | ||
|   | 73d1abd6f0 | ||
|   | f6f69ddf63 | ||
|   | abe3cf9323 | ||
|   | 213fd9ffb7 | ||
|   | e67156b403 | ||
|   | 5ccf3adb4d | ||
|   | 115855a177 | ||
|   | a052963775 | ||
|   | 84b4e7b65e | ||
|   | c96eff2c15 | ||
|   | 7d99b21c20 | ||
|   | 224772f4c2 | ||
|   | 02c161be60 | ||
|   | 53c1846757 | ||
|   | 17d3a51285 | ||
|   | ed0acede20 | ||
|   | 14808d2bef | ||
|   | 4cd4ad457b | ||
|   | bb6d7ba2ff | ||
|   | cc04ebd45f | ||
|   | 0e72583c1f | ||
|   | 7d4a3e007e | ||
|   | 6c89df7206 | ||
|   | dd78744695 | ||
|   | d1020b0dc7 | ||
|   | 8664a4d7ba | ||
|   | de3108e1e5 | ||
|   | fd8a2e05a4 | ||
|   | e028fa9be0 | ||
|   | 42e81b9d19 | ||
|   | 107906928a | ||
|   | 7adf012f9c | ||
|   | 13cd42f053 | ||
|   | e1750c8994 | ||
|   | 82171f5a08 | ||
|   | 7a16146f6f | ||
|   | 4f063a478c | ||
|   | 864202c757 | ||
|   | 4b42480f74 | ||
|   | 9924bb94b2 | ||
|   | 19a5fc03aa | ||
|   | 836a7c8517 | ||
|   | 3104c6aba0 | ||
|   | e192fd35c4 | ||
|   | 235bb7c3a4 | ||
|   | fbd97aea3f | ||
|   | 6d9c3bc644 | ||
|   | aa327fb2df | ||
|   | 080377b662 | ||
|   | 798bd2388b | ||
|   | 102b2dc738 | ||
|   | fca0c8ace4 | ||
|   | 522d68ab0b | ||
|   | a730c27aef | ||
|   | 743134856e | ||
|   | 47291ea7e7 | ||
|   | 85d4946486 | ||
|   | b6c59fd70b | ||
|   | 050aadd3fa | ||
|   | 05fc956e61 | ||
|   | 323de569df | ||
|   | 216778be64 | ||
|   | 25f8740751 | ||
|   | 0cfa3ba06d | ||
|   | 8711722257 | ||
|   | bf59997bac | ||
|   | a36c52ea44 | ||
|   | c6329f6327 | ||
|   | f261c18d73 | ||
|   | e604d78c3c | ||
|   | 64a26e596e | ||
|   | af997c5802 | ||
|   | f6e4ff1ab9 | ||
|   | 09abc9d8b7 | ||
|   | 18edf7a20c | ||
|   | 7f858dfef5 | ||
|   | 625cebcaad | ||
|   | b00950aa7a | ||
|   | 267f30414d | ||
|   | 89e3500a8e | ||
|   | 2fa0f86df4 | ||
|   | ea0d10ebc0 | ||
|   | 5c95048b74 | ||
|   | 32a8105590 | ||
|   | 6584de3a19 | ||
|   | 1047f14680 | ||
|   | da169fd26e | ||
|   | 2ee57ddb20 | ||
|   | b1b29b06fe | ||
|   | f8ce9fa98d | ||
|   | f3e0bf3584 | ||
|   | b7758fd6ba | ||
|   | a284f47c42 | ||
|   | 686fd33f3e | ||
|   | 3fc1f4e162 | ||
|   | 803dc1a571 | ||
|   | 33890c297f | ||
|   | 98403e3816 | ||
|   | 7f7802680b | ||
|   | 47ffe15793 | ||
|   | 52b2cba8e2 | ||
|   | 82a0c4585c | ||
|   | ea3c6b6b09 | ||
|   | 8bd5576b1f | ||
|   | c085648063 | ||
|   | f1845813a0 | ||
|   | c8d51e91f4 | ||
|   | ba014d0033 | ||
|   | b486d419dc | ||
|   | b5d447e6d0 | ||
|   | 33d9ae1e4a | ||
|   | d8afccf948 | ||
|   | 2a4e8c1b63 | ||
|   | 30bf0a4c5f | ||
|   | e1d85627a8 | ||
|   | 44a4889074 | ||
|   | 64fabfed5b | ||
|   | 7b04e8204f | ||
|   | 65621e2886 | ||
|   | 23b52f3d11 | ||
|   | fbaaf10ee5 | ||
|   | f1a3a1424f | ||
|   | 073b09ab41 | ||
|   | d4dd04cbdc | ||
|   | 8e7ef66011 | ||
|   | 6fde7050ec | ||
|   | 164f3b761d | ||
|   | 04ad78404c | ||
|   | 1e6aa54f0e | ||
|   | a29f858f77 | ||
|   | 7c1e91f256 | ||
|   | 2dece90144 | ||
|   | bc605fe09e | ||
|   | d52d64cbaf | ||
|   | 050893d8df | ||
|   | 0c514a0f07 | ||
|   | 147068afbf | ||
|   | cdc893a6cf | ||
|   | 84c2ba2f4e | ||
|   | 4ec176b683 | ||
|   | 6b660d505c | ||
|   | 2647d9e994 | ||
|   | 70a0de8de5 | ||
|   | 454dbd5cd8 | ||
|   | a4085ef68c | ||
|   | 0e09717a02 | ||
|   | 647f81ff84 | ||
|   | 2c7441b31d | ||
|   | 3d9b4988d9 | ||
|   | e797365e3d | ||
|   | a261ab14ee | ||
|   | be5a1ae272 | ||
|   | 9913484f68 | ||
|   | 2de8b9112d | ||
|   | 75e28bb3e6 | ||
|   | 7a99eb8e23 | ||
|   | 0b15515f59 | ||
|   | 9ff7eab83b | ||
|   | b32a68318c | ||
|   | 029505bf1d | ||
|   | 01307b377e | ||
|   | 0322002b46 | ||
|   | e5617f4cde | ||
|   | 64dad99c36 | ||
|   | f227130388 | ||
|   | 38d78b7606 | ||
|   | a77be2f6ce | ||
|   | 1ad9d9b4e0 | ||
|   | f4e5d7bc11 | ||
|   | 22e2bafa7a | ||
|   | 562e9ce108 | ||
|   | b8598bfc14 | ||
|   | 2a31d378a5 | ||
|   | a33a959f63 | ||
|   | 1ff3818e6b | ||
|   | 116fa8936a | ||
|   | 78663b9c27 | ||
|   | 0213b5f511 | ||
|   | 559e0ac218 | ||
|   | 94b58ca229 | ||
|   | 7aa3eff845 | ||
|   | 9a0a26dae1 | ||
|   | d1c3a07ba6 | ||
|   | a30dc3a823 | ||
|   | 8464720d99 | ||
|   | 4f667c6e7d | ||
|   | 365ba4341a | ||
|   | c928987313 | ||
|   | d5aa316613 | ||
|   | 43271d3ea7 | ||
|   | 9aa0041422 | ||
|   | f0e98e2828 | ||
|   | 1e7668608a | ||
|   | f918e7f0b0 | ||
|   | a685349ae6 | ||
|   | 7c2e679c8b | ||
|   | b6e16fbdc0 | ||
|   | a2d3a1c41c | ||
|   | 4af28bfe81 | ||
|   | 4ba5e43933 | ||
|   | 6debc1e958 | ||
|   | 9651d8736b | ||
|   | 07ec2cce31 | ||
|   | 698171bbcf | ||
|   | 3519cb281f | ||
|   | df23fc1de2 | ||
|   | f445c8f872 | ||
|   | eb035e2199 | ||
|   | dac3a1a0ca | ||
|   | 902aa4503e | ||
|   | 314fc003b3 | ||
|   | c36b2774ed | ||
|   | ec08bfac07 | ||
|   | cd754fd239 | ||
|   | a6e7588593 | ||
|   | 008ba33ce9 | ||
|   | f49ba3e93d | ||
|   | e98fb61400 | ||
|   | 13e57fb9dd | ||
|   | 7234a93293 | ||
|   | 56cff16b07 | ||
|   | aa74244abb | ||
|   | a998f4c980 | ||
|   | 5f2fe1d5a6 | ||
|   | f01c301839 | ||
|   | 0c0c7459f1 | ||
|   | 34a88c83f0 | ||
|   | a8f29e51c5 | ||
|   | 964b321458 | ||
|   | dec726c0ae | ||
|   | 025f4f9737 | ||
|   | 66b982ad03 | ||
|   | 3309706964 | ||
|   | 9d275d6d34 | ||
|   | 91f9a46c18 | ||
|   | e017ba6863 | ||
|   | 9c7807ded4 | ||
|   | 0fa0be2d0e | ||
|   | 4e0dc5d51a | ||
|   | 14bfc4f4ed | ||
|   | 7039e2b10f | ||
|   | e5f0edaa0a | ||
|   | 72dd95a81e | ||
|   | 4e2750262d | ||
|   | 3b60c23178 | ||
|   | 12a6ecf353 | ||
|   | c5b5241964 | ||
|   | eb0d1748c3 | ||
|   | 1f0d4ce871 | ||
|   | b64caf2cb8 | ||
|   | b286bead09 | ||
|   | dc4d0a7078 | ||
|   | 5ec68f3ca0 | ||
|   | da3406b811 | ||
|   | 6c753ac183 | ||
|   | 1549a443c5 | ||
|   | 28df59b9e6 | ||
|   | 1f25e6d0fe | ||
|   | 47f5d165a8 | ||
|   | 13a195d73b | ||
|   | 04e4295140 | ||
|   | fe98c36abf | ||
|   | ee84af0826 | ||
|   | e1d09303f9 | ||
|   | 3749817e1b | ||
|   | a6e862d9ea | ||
|   | c28641ba94 | ||
|   | 5e5d8118c7 | ||
|   | b0a01f60f7 | ||
|   | c04095673f | ||
|   | 88d22e4309 | ||
|   | e05cce9b59 | ||
|   | a7a4557b29 | ||
|   | 4cb783d5bf | ||
|   | cd830768d6 | ||
|   | 6f46c60360 | ||
|   | d9d63141bb | ||
|   | b6f156b7dd | ||
|   | a647968a6f | ||
|   | 93c64d03e3 | ||
|   | 6fddbd8178 | ||
|   | 67ca3315fd | ||
|   | 168de06d47 | ||
|   | 3ee79afe4f | ||
|   | a3163a419a | ||
|   | a2e4e2ad37 | ||
|   | 367b17e315 | ||
|   | ccd50262c6 | ||
|   | c7efd0dd05 | ||
|   | 287e2a7c2d | ||
|   | 9618cc1628 | ||
|   | d435eae35c | ||
|   | 80021c4ef6 | ||
|   | d959a5918c | ||
|   | 5b092b3aea | ||
|   | 749e668a03 | ||
|   | 257f75a201 | ||
|   | cfa1e8441b | ||
|   | 5b66b7a24f | ||
|   | 78ee01b03c | ||
|   | 653d49ab3c | ||
|   | c13776d000 | ||
|   | e71facf6d6 | ||
|   | f2f2dad402 | ||
|   | c6ba3b4ca3 | ||
|   | feadedf8ef | ||
|   | ccce8f58c9 | ||
|   | e85efb828d | ||
|   | 4d739d4050 | ||
|   | b172196512 | ||
|   | 3e7329fb07 | ||
|   | 9b121fd5d0 | ||
|   | 405885209b | ||
|   | 12f0954c4c | ||
|   | 8046ba4103 | ||
|   | dce5c217c8 | ||
|   | 0161e64481 | ||
|   | b768005f44 | ||
|   | 6838edb4fe | ||
|   | 2309c25aa4 | ||
|   | 1090e87f3a | ||
|   | 104b2aecdc | ||
|   | 465eaf028e | ||
|   | 2a76ddb81d | ||
|   | 3f2098ff5d | ||
|   | 13cd4815ee | ||
|   | 5eaf4201ae | ||
|   | 606ee3c883 | ||
|   | a1a73af7da | ||
|   | ed26846a54 | ||
|   | e7125d21cb | ||
|   | 64fb49e085 | ||
|   | 0c0a90c6c2 | ||
|   | 5ca5441a48 | ||
|   | 88960556e3 | ||
|   | d3b4ec77bc | ||
|   | 08dc932d00 | ||
|   | d6b99a8d70 | ||
|   | e13eeeed60 | ||
|   | b71570bdf7 | ||
|   | a9cffd8863 | ||
|   | 0ace60a39b | ||
|   | d740b051cb | ||
|   | f369e22de0 | ||
|   | 64fd3044b1 | ||
|   | bcd81c0791 | ||
|   | 965f7f5d26 | ||
|   | 636e052faa | ||
|   | 6e1f250470 | ||
|   | 92e24e332a | ||
|   | 687d192e71 | ||
|   | 4f1cb5ab7c | ||
|   | 2fbc979136 | ||
|   | 3e98bd49e2 | ||
|   | 186bbd7fc3 | ||
|   | 34fc7407a2 | ||
|   | aecf069975 | ||
|   | ec90fc480c | ||
|   | 4012a64327 | ||
|   | 646c6b6e64 | ||
|   | 3eae8b3db2 | ||
|   | 8148f9a95a | ||
|   | a756c264f9 | ||
|   | add29f9a5c | ||
|   | 6a16ca31a2 | ||
|   | b1cf8c16df | ||
|   | 5b2947764d | ||
|   | 452fdbcc6f | ||
|   | 1b3a758f28 | ||
|   | 4db73d421d | ||
|   | 643840d969 | ||
|   | 062b7733b1 | ||
|   | 8302b9e1d7 | ||
|   | 12bd5c9dd7 | ||
|   | 57a609a62c | ||
|   | 26228e747d | ||
|   | 6f88b072d1 | ||
|   | f55ea07c1d | ||
|   | 0cdb833aa6 | ||
|   | 54e99b73d6 | ||
|   | 680998f9c2 | ||
|   | 12d062cd7e | ||
|   | bb1663636a | ||
|   | c19b33afc1 | ||
|   | 7fba885d48 | ||
|   | aee105ec6c | ||
|   | b6cedbe4af | ||
|   | c8753c96db | ||
|   | 1a5056763c | ||
|   | 6621a7aa1c | ||
|   | 737e9393f4 | ||
|   | 38f1d27223 | ||
|   | 37016aebad | ||
|   | d6e067d654 | ||
|   | 6894a4b640 | ||
|   | 8a27c79716 | ||
|   | f2c05131c3 | ||
|   | 31ffbb1edd | ||
|   | 177e6738e4 | ||
|   | 47c40b04e4 | ||
|   | a899209a01 | ||
|   | ef9cb84b01 | ||
|   | 3e979931d0 | ||
|   | 60c3244faa | ||
|   | bd89dca0af | ||
|   | b97c6cadee | ||
|   | 1a965cc0bd | ||
|   | 4749fa45e8 | ||
|   | 6b7bd55931 | ||
|   | a50aa2d8e5 | ||
|   | 93cdd1b98c | ||
|   | d6353fc3b2 | ||
|   | 1809de7f1a | ||
|   | 2e3cd114bc | ||
|   | 694477855b | ||
|   | 84322976ba | ||
|   | b7de633090 | ||
|   | 6faa227df3 | ||
|   | 051341a42a | ||
|   | 634be0012f | ||
|   | 5a4dee374c | ||
|   | f32818d811 | ||
|   | 7d49e8868c | ||
|   | bd3dd337c1 | ||
|   | d85ff9e088 | ||
|   | c82174de6b | ||
|   | 05330632f2 | ||
|   | 7d1e2e2b2a | ||
|   | 76f959599f | ||
|   | 66a4777413 | ||
|   | 65660004c5 | ||
|   | 22ed4c08f8 | ||
|   | 3dd7ac0549 | ||
|   | 89d3678adc | ||
|   | aeb5fa036c | ||
|   | 6cf2f942e7 | ||
|   | 8758be5912 | ||
|   | c6edf31480 | ||
|   | c221b08982 | ||
|   | 2fc9382d7e | ||
|   | 26314fae01 | ||
|   | 573dac0b91 | ||
|   | 3bc85c29ae | ||
|   | 51bc6bd95a | ||
|   | 3598235906 | ||
|   | b651cdb4a1 | ||
|   | 7bd9139d28 | ||
|   | 32bfd8741f | ||
|   | 51aae059e3 | ||
|   | c7f1f52f1c | ||
|   | 222e89a782 | ||
|   | 1b54b4dbb7 | ||
|   | f347bdeab5 | ||
|   | 559ac673e2 | ||
|   | 806ab07865 | ||
|   | 819dcacae0 | ||
|   | 7e57a63ec5 | ||
|   | 3e294d6918 | ||
|   | a214823dcf | ||
|   | 5488d55ca2 | ||
|   | 459d2c5408 | ||
|   | f691ce2238 | ||
|   | 38f825c8c6 | ||
|   | 948702e98b | ||
|   | 4c24f5f513 | ||
|   | b0972fdc94 | ||
|   | 7f10f04025 | ||
|   | eb726c42c6 | ||
|   | b2b959d5e3 | ||
|   | 6f693bc36e | ||
|   | adb82dfc2e | ||
|   | aa8e4ccdef | ||
|   | 37dec0d927 | ||
|   | 847da2b106 | ||
|   | 0088c67fa7 | ||
|   | 312263da49 | ||
|   | d12c5cdf55 | ||
|   | 8a12382f1f | ||
|   | 64f944b571 | ||
|   | b8720b8d1c | ||
|   | 83efb442ae | ||
|   | cf3f0a606d | ||
|   | 2508d54c10 | ||
|   | e3c78d3a81 | ||
|   | a5a9b47ce4 | ||
|   | d09a0f6167 | ||
|   | c79e801929 | ||
|   | 2a5c9ae382 | ||
|   | 7af964cfe6 | ||
|   | e482900754 | ||
|   | de43a0b7a1 | ||
|   | cf7bc882f5 | ||
|   | 06c8e658aa | ||
|   | 7aa39e42c1 | ||
|   | ca2a659970 | ||
|   | f73f267997 | ||
|   | d7ea394993 | ||
|   | 3f755de80b | ||
|   | 00945e5749 | ||
|   | c43c362903 | ||
|   | 268dad58f6 | ||
|   | 61511201db | ||
|   | 38daa23be2 | ||
|   | 45ba858022 | ||
|   | 8ad821c468 | ||
|   | 5fe5c4d147 | ||
|   | f3e465c142 | ||
|   | d849ac32f9 | ||
|   | e0114ebffc | ||
|   | 0fdacf4d54 | ||
|   | 30be83d445 | ||
|   | e9d075049b | ||
|   | c7c627015d | ||
|   | d62554aaba | ||
|   | d2a6887248 | ||
|   | 879f8f080d | ||
|   | 10f147ff40 | ||
|   | 23ea811095 | ||
|   | dac0d67717 | ||
|   | 399d957142 | ||
|   | 368ae43849 | ||
|   | 669d5a12a2 | ||
|   | 0fe09aa088 | ||
|   | 6711c58ff1 | ||
|   | 2b02ec3a4e | ||
|   | e664047c5a | ||
|   | d7c36c9c3c | ||
|   | 82fbb351dd | ||
|   | 726c5c5f7f | ||
|   | 99089356f5 | ||
|   | fd2ba6f635 | ||
|   | 0d1f9fcc58 | ||
|   | a70e565edb | ||
|   | 0efcdbaf52 | ||
|   | 12e24ade70 | ||
|   | 7b659add36 | ||
|   | d1e30cacf8 | ||
|   | aecdc57cd4 | ||
|   | 58bc10fc47 | ||
|   | ad7c9ace50 | ||
|   | b897708a41 | ||
|   | d1060ac5f3 | ||
|   | b8e5cc01c1 | ||
|   | a26723a57a | ||
|   | 1811ec6cab | ||
|   | c50c9239ea | ||
|   | 820d94e014 | ||
|   | c03f2bffce | ||
|   | 9c61acc95d | ||
|   | e62abdd651 | ||
|   | 75cf25de62 | ||
|   | 6a8f09f9ee | ||
|   | 7340f1dc26 | ||
|   | a78cc700c0 | ||
|   | 41d4096890 | ||
|   | 8104c41332 | ||
|   | 81b0a7f785 | ||
|   | e73bff817c | ||
|   | 486779ceb2 | ||
|   | 283a9950f3 | ||
|   | 7f0875cda7 | ||
|   | 4d601f5383 | ||
|   | 4d76bd33fc | ||
|   | 179985954c | ||
|   | ef34285855 | ||
|   | bbd1c9ee42 | ||
|   | 7cffd267d8 | ||
|   | bb11d11a72 | ||
|   | ae09bee193 | ||
|   | abf8c179fc | ||
|   | 5874c7bd57 | ||
|   | 12280c6a0f | ||
|   | c40801ce99 | ||
|   | cc192d7d47 | ||
|   | 64c256109a | ||
|   | d93a63e01a | ||
|   | 1c6ef50b77 | ||
|   | 497e2e92f8 | ||
|   | 2e950cc28b | ||
|   | f09ea1a884 | ||
|   | eebb7c8477 | ||
|   | 8feb6644a3 | ||
|   | dd30ada095 | ||
|   | 0627968c2f | ||
|   | 89249c140f | ||
|   | 90373897d6 | ||
|   | a85ddada25 | ||
|   | 3bb474e12f | ||
|   | 3b4a312b97 | ||
|   | 7a58df594d | ||
|   | 524f837ca5 | ||
|   | 4800b456c2 | ||
|   | 4652eb8ff3 | ||
|   | c2096e2ecd | ||
|   | e27a648594 | ||
|   | 90b1567d13 | ||
|   | 41132d39ae | ||
|   | 0ffba231d4 | ||
|   | c6ab0b148b | ||
|   | 183453488e | ||
|   | c96f14a7c8 | ||
|   | c5841146ff | ||
|   | 4ff249525b | ||
|   | 5d5bf403a8 | ||
|   | 2747481816 | ||
|   | c9591a66e8 | ||
|   | 02c4be4eaa | ||
|   | ee96f83211 | ||
|   | b095a1e3fe | ||
|   | d5aaa24ad6 | ||
|   | 9efd576d53 | ||
|   | 8e0d01643f | ||
|   | cb817bc06f | ||
|   | 1b905d5126 | ||
|   | ca26cc0000 | ||
|   | 00f40e6771 | ||
|   | 7a64c1ebb4 | ||
|   | 5d5f3cbdfd | ||
|   | 8bd35852dc | ||
|   | 92189b6c50 | ||
|   | e50ab2639e | ||
|   | 33832a46c1 | ||
|   | 6a905fc9e0 | ||
|   | 15d1e3505c | ||
|   | fda1797149 | ||
|   | 096baaf441 | ||
|   | 69cb9b906f | ||
|   | 755dc40ee4 | ||
|   | f601aa3cfb | ||
|   | 79cb430878 | ||
|   | 90f90936e1 | ||
|   | a98ad63d8b | ||
|   | 6d31af676e | ||
|   | 1204bf6e80 | ||
|   | 48f2b6fb66 | ||
|   | 10a4556479 | ||
|   | f4320cb58a | ||
|   | d31d935522 | ||
|   | 85d2fd8ce0 | ||
|   | ad79cbb9a1 | ||
|   | bdb0e125a4 | ||
|   | d26179cca0 | ||
|   | 8d612e8e2d | ||
|   | e74b39f5af | ||
|   | aaf3194670 | ||
|   | 74079b2c86 | ||
|   | 2eae22ac06 | ||
|   | 80359f3e5e | ||
|   | ccefe68e4c | ||
|   | f039cec4ca | ||
|   | 5a65580169 | ||
|   | 39ea57fe29 | ||
|   | 361db3d2cd | ||
|   | 83494f999a | ||
|   | de4cb2ede7 | ||
|   | 2f6ef9af51 | ||
|   | 2f0e15bc25 | ||
|   | 0cd4c079e9 | ||
|   | 3197d5cc2f | ||
|   | 81e4e39878 | ||
|   | 55a6bc3855 | ||
|   | acd4b64a8b | ||
|   | 984acc581c | ||
|   | 75a65a5f49 | ||
|   | 91af418254 | ||
|   | 901326c004 | ||
|   | 8986d87ef3 | ||
|   | a0d21ead18 | ||
|   | 122655758d | ||
|   | 9a964d871d | ||
|   | fc4989d738 | ||
|   | 5f59ab7e48 | ||
|   | 99557543fc | ||
|   | d7c907d17d | ||
|   | fd9ae50a57 | ||
|   | 1398a39768 | ||
|   | 7b4b2fe0f5 | ||
|   | 23848be6eb | ||
|   | d55f3b5aff | ||
|   | 716e84264e | ||
|   | 600c33dfa3 | ||
|   | e6e2baf3a8 | ||
|   | cfb4ded943 | ||
|   | dfe5fbe34c | ||
|   | 82788b9a02 | ||
|   | ff3cc4b8de | ||
|   | f74a471177 | ||
|   | 50ee44a1cf | ||
|   | 7a29f3d71d | ||
|   | 30d5273bb5 | ||
|   | 0f291629cc | ||
|   | e6e63fa529 | ||
|   | 766b210d06 | ||
|   | c502edf9e1 | ||
|   | 53f55a79b3 | ||
|   | f05ecf900a | ||
|   | 810a9710d7 | ||
|   | ef6c3f5a64 | ||
|   | 0e425d6a04 | ||
|   | 29d28b1d96 | ||
|   | c12467ee3e | ||
|   | 82e2b3a6cd | ||
|   | 33a0828a33 | ||
|   | 95e2b7ee1a | ||
|   | bc6fd3aa72 | ||
|   | a940917144 | ||
|   | 7bd4a1b849 | ||
|   | f62c38a8a7 | ||
|   | 41c503eb54 | ||
|   | 8cc538085f | ||
|   | b93cebacb2 | ||
|   | 30a3110ca7 | ||
|   | cf447296fb | ||
|   | dfc5e02edd | ||
|   | bcb29fb5fa | ||
|   | 41b57a0878 | ||
|   | 0b13fa6914 | ||
|   | c32e651c39 | ||
|   | fefc7df910 | ||
|   | 90b520651b | ||
|   | 3389820c73 | ||
|   | 85167c9043 | ||
|   | ce6f942ed3 | ||
|   | 5cf7e47ffa | ||
|   | bd4bb42e95 | ||
|   | 6778b7460a | ||
|   | 0c279e0567 | ||
|   | 1bee9c6a9d | ||
|   | 691b976e11 | ||
|   | 75efd4ea6b | ||
|   | 9363b1b4f2 | ||
|   | a69cbd2289 | ||
|   | ca6f732c7b | ||
|   | 5f5382297c | ||
|   | a5452d04ae | ||
|   | 8f4c4e8c40 | ||
|   | b1f1fbf114 | ||
|   | a2d9cce181 | ||
|   | 06ccae591e | ||
|   | 30bc14c940 | ||
|   | 33f5c8e903 | ||
|   | 8e529fc179 | ||
|   | f3448125c3 | ||
|   | 00b4ad6ec8 | ||
|   | a8a7b61ea9 | ||
|   | 9acac03f14 | ||
|   | b78d6ba243 | ||
|   | d53ca1d096 | ||
|   | 50a3e4e776 | ||
|   | a13bb06ec3 | ||
|   | 32a6c89c8c | ||
|   | 1905a6f0d1 | ||
|   | 3bc75bb068 | ||
|   | f0f7924325 | ||
|   | 5e48708920 | ||
|   | 58603451b4 | ||
|   | 9e3deb68de | ||
|   | 2fea7eaef2 | ||
|   | a53a70742d | ||
|   | 0c9dbc15f9 | ||
|   | ed468083c5 | ||
|   | 737982e92f | ||
|   | b43e641d21 | ||
|   | c25586b500 | ||
|   | 60d9bfe077 | ||
|   | 0d0c7559bf | ||
|   | de4559659d | ||
|   | 16071ec266 | ||
|   | fb03682df4 | ||
|   | 68041e382d | ||
|   | fb60a6489b | ||
|   | dd7e515f9c | ||
|   | 1bc6130da5 | ||
|   | 323275c340 | ||
|   | 3da9fec665 | ||
|   | f6254e9db6 | ||
|   | f06f820047 | ||
|   | 05643ca5d9 | ||
|   | c0eb048fe2 | ||
|   | 78bb4104b0 | ||
|   | 6c10936f6d | ||
|   | 4ca665eb0c | ||
|   | 39e1ebaa9b | ||
|   | 0a0033b242 | ||
|   | 9eea35f530 | ||
|   | 345e9ec870 | ||
|   | 53be56746b | ||
|   | 26b8decb24 | ||
|   | a275e26ba7 | ||
|   | 96c918ff8d | ||
|   | 2283bd2358 | ||
|   | f6b7b8bd6e | ||
|   | 1b8a2bf7c1 | ||
|   | 33325cdfee | ||
|   | d81f633d6b | ||
|   | 422b483d78 | ||
|   | ec5b9c769a | ||
|   | 74081bc6f8 | ||
|   | 3c650038e2 | ||
|   | 3e4f74ab4e | ||
|   | f7c586b47a | ||
|   | 98b09f68ae | ||
|   | 357e309dad | ||
|   | 2e544f6a74 | ||
|   | b0d6f3f9bf | ||
|   | 380989d808 | ||
|   | 6357d6372c | ||
|   | d744968ea6 | ||
|   | 76ca967d70 | ||
|   | 9cff66df3f | ||
|   | 72af6cb206 | ||
|   | c7043d5c39 | ||
|   | 1036990499 | ||
|   | f386fd9e23 | ||
|   | 1e75fa9086 | ||
|   | 252d2009cd | ||
|   | a48d36c9a2 | ||
|   | 01ad2e9746 | ||
|   | 2f7b20c704 | ||
|   | aae85b4498 | ||
|   | c39244aeb6 | ||
|   | 8f22279428 | ||
|   | 5a68bc5801 | ||
|   | 46a3b382db | ||
|   | dae959a533 | ||
|   | eeda9379d5 | ||
|   | 80bf89857a | ||
|   | 65eb40d1f5 | ||
|   | 9cf37f5364 | ||
|   | 1ad1498c5d | ||
|   | 405b804eb5 | ||
|   | 183e150da1 | ||
|   | f98d4e9149 | ||
|   | dad1568657 | ||
|   | f13fd37819 | ||
|   | ae692ba9b8 | ||
|   | 2036326403 | ||
|   | 3ad81595df | ||
|   | 9115a2ddc2 | ||
|   | 102e25771c | ||
|   | d65fc4575a | ||
|   | 928936046e | ||
|   | fe6df6176d | ||
|   | 6c52dbd477 | ||
|   | 37f5c8710e | ||
|   | 341a88c2ef | ||
|   | efe2280224 | ||
|   | a6294e5739 | ||
|   | c9c481fe69 | ||
|   | 8219c29b0c | ||
|   | 1e1094f8da | ||
|   | 452a8b2ae2 | ||
|   | bf746be692 | ||
|   | de2d2c7469 | ||
|   | 384eae7014 | ||
|   | 09ef9947b0 | ||
|   | 4385b941bb | ||
|   | ab0355f8d6 | ||
|   | 8f439589ea | ||
|   | ce6348bc32 | ||
|   | 4c5dd66b0f | ||
|   | 5fe562c0fa | ||
|   | 61faf34ef7 | ||
|   | 1038376cdb | ||
|   | 28d1671bb8 | ||
|   | 8e026e68d7 | ||
|   | 4be897a4e5 | ||
|   | 3f4947259b | ||
|   | e10a51e61e | ||
|   | 381eaf4b53 | ||
|   | 1b7e681e6d | ||
|   | 1ad764de7b | ||
|   | 246903fa0a | ||
|   | b298f9a06e | ||
|   | efdcdeb210 | ||
|   | 6e4826a512 | ||
|   | 28ba0c25a7 | ||
|   | ea0f384dbf | ||
|   | 9218f69d87 | ||
|   | b9b82e959b | ||
|   | 6606cf60af | ||
|   | 94a23cf1d4 | ||
|   | 15c3836a25 | ||
|   | afbac42420 | ||
|   | 7354e9b738 | ||
|   | 8abb1d917b | ||
|   | 7bd8bb4880 | ||
|   | 3d5487dfcb | ||
|   | be09284192 | ||
|   | cdf68c90ba | ||
|   | a46f665dd4 | ||
|   | e5e254a184 | ||
|   | 2a55aba5fa | ||
|   | f5d04a1be9 | ||
|   | 73132afe6c | ||
|   | 1d27fa9c03 | ||
|   | 1585b307bc | ||
|   | c882bc8a1d | ||
|   | aefa1dba18 | ||
|   | 7bd19f7696 | ||
|   | c25f51e866 | ||
|   | 68b13f10fe | ||
|   | 9764fe2a91 | ||
|   | 7c29e613f0 | ||
|   | 2a88e790df | ||
|   | deb7327ee6 | ||
|   | a82ccd8e95 | ||
|   | 4ffe100287 | ||
|   | 5990615248 | ||
|   | e83618a1b2 | ||
|   | 9e9cdedfd3 | ||
|   | ed5e55f85d | ||
|   | d2907dc08c | ||
|   | 69984f9550 | ||
|   | 94f92aa4f9 | ||
|   | 9e5ec56770 | ||
|   | b58b4d0066 | ||
|   | 11a068dfdd | ||
|   | deb7cb9d9e | ||
|   | 085ab0e660 | ||
|   | 2ff28ff46f | ||
|   | eb159c0b18 | ||
|   | 51b3a5164d | ||
|   | fa30d7bd1c | ||
|   | ea159c0146 | ||
|   | f4c2fdd2fd | ||
|   | 0c7643cfb3 | ||
|   | 3282e53e93 | ||
|   | 2e07e911e4 | ||
|   | e838b515b3 | ||
|   | 7854911d2f | ||
|   | 7846afaeb8 | ||
|   | 72b27eecff | ||
|   | 8c491cc831 | ||
|   | ac097b9904 | ||
|   | 9066520076 | ||
|   | 2d83482395 | ||
|   | 7a7016b4bd | ||
|   | f2e222adb1 | ||
|   | d4d3991795 | ||
|   | 6d9e519cdc | ||
|   | 16ad56c13f | ||
|   | f2df8ce1d9 | ||
|   | 921512e51d | ||
|   | 3529c5c7a0 | ||
|   | 984e6f9927 | ||
|   | 8b2f7c4661 | ||
|   | 83ce77b398 | ||
|   | 170b0798fd | ||
|   | 4795e9980b | ||
|   | 83317ca2d0 | ||
|   | 02fbd6a135 | ||
|   | 53900c386b | ||
|   | 669d1a3a46 | ||
|   | 122db6a77e | ||
|   | 86d3c98069 | ||
|   | dc87b9f9f4 | ||
|   | c7c30ccaee | ||
|   | b59dded2a4 | ||
|   | b48b9479d2 | ||
|   | 65883317c3 | ||
|   | 18e08c319f | ||
|   | 6265e2e092 | ||
|   | bc10bbe135 | ||
|   | 31aebdc7bf | ||
|   | 269a50efe5 | ||
|   | 9b31b1cd72 | ||
|   | e989e686a4 | ||
|   | d6b5627363 | ||
|   | 7381b0dcf6 | ||
|   | 8589eb7c0f | ||
|   | 284fbf5512 | ||
|   | b9aec63e92 | ||
|   | 88c063cd4d | ||
|   | ed3fa0ccee | ||
|   | 4ec78d1405 | ||
|   | 8bfbb98509 | ||
|   | 44011c9cd9 | ||
|   | 92c7996ff4 | ||
|   | 0a17eb32cc | ||
|   | 52e7d4ad03 | ||
|   | f843a4b13a | ||
|   | 719c30c70b | ||
|   | b41bcdc605 | ||
|   | 0ead6f72c6 | ||
|   | 104ebbc9a1 | ||
|   | 982098a205 | ||
|   | d5bdd2ea3e | ||
|   | 641b38690c | ||
|   | ea433c0619 | ||
|   | 8847df60e1 | ||
|   | 3995af6489 | ||
|   | 4412476109 | ||
|   | 0c2a121304 | ||
|   | 885753391d | ||
|   | cff7174bbb | ||
|   | 40bd040c4a | ||
|   | 0241fa7593 | ||
|   | 2f06099518 | ||
|   | 4489934c21 | ||
|   | 10d815c60d | ||
|   | c85cb8799e | ||
|   | fd4f46485c | ||
|   | 3154461f28 | ||
|   | da32321f10 | ||
|   | aec3087528 | ||
|   | 9d83439b83 | ||
|   | 684e00d639 | ||
|   | f982501576 | ||
|   | 87a744fcf6 | ||
|   | aca939f0ce | ||
|   | 675e8282b0 | ||
|   | a1272fff82 | ||
|   | 5579c7ff3d | ||
|   | f5d4404b67 | ||
|   | 851a677a48 | ||
|   | fd8157f6ba | ||
|   | 450c1fc124 | ||
|   | 493d6ce702 | ||
|   | 35a2b227b2 | ||
|   | 6b0c976a0d | ||
|   | f9c4150374 | ||
|   | fad028cfa2 | ||
|   | d9aa8cf4fd | ||
|   | 6b2da46e87 | ||
|   | 037cc655ba | ||
|   | 58bfa6f1bb | ||
|   | 0a6f591cf5 | ||
|   | 4ee623f921 | ||
|   | e85059521e | ||
|   | 2a4abe6a77 | ||
|   | 8217ddc705 | ||
|   | 5f301b5a04 | ||
|   | 9a5568349f | ||
|   | dc2de49cdb | ||
|   | c63503aaa6 | ||
|   | eaac9180e5 | ||
|   | b8797d075f | ||
|   | ea04f79e0f | ||
|   | 6a3d0da4ad | ||
|   | 4828a05ced | ||
|   | f379084b68 | ||
|   | c7314b99ea | ||
|   | d0afd46fd3 | ||
|   | ba7ece348c | ||
|   | 01b5844174 | ||
|   | dfa16320f0 | ||
|   | 93a84655b6 | ||
|   | a24dc147ab | ||
|   | e247d0e5dc | ||
|   | b410b7751e | ||
|   | 028051d6a5 | ||
|   | 7d4a1bc92a | ||
|   | 924b09b0f1 | ||
|   | 188a8ae4f5 | ||
|   | 1489a6bbd6 | ||
|   | 9c57cca93c | ||
|   | 6ed4724e33 | ||
|   | 63feffd985 | ||
|   | d988b0df9c | ||
|   | 85d6365bc2 | ||
|   | 784d972602 | ||
|   | ce4d25952c | 
							
								
								
									
										15
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,15 @@ | |||||||
|  | src/geoip/GeoIP.dat | ||||||
|  | src/qbittorrent | ||||||
|  | qbittorrent.pro.user* | ||||||
|  | conf.pri | ||||||
|  | Makefile | ||||||
|  | *.pyc | ||||||
|  | *.log | ||||||
|  | # Compiled object files | ||||||
|  | *.o | ||||||
|  | # Generated MOC, resource and UI files | ||||||
|  | moc_*.cpp | ||||||
|  | qrc_*.cpp | ||||||
|  | ui_*.h | ||||||
|  | *.moc | ||||||
|  | src/lang/qbittorrent_*.qm | ||||||
							
								
								
									
										53
									
								
								.travis.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										53
									
								
								.travis.yml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,53 @@ | |||||||
|  | language: | ||||||
|  |   - cpp | ||||||
|  |  | ||||||
|  | env: | ||||||
|  |   # use libtorrent 0.15.10 | ||||||
|  |   - lt_source=from_dist gui=true | ||||||
|  |   - lt_source=from_dist gui=false | ||||||
|  |   # use libtorrent 0.16.X from RC_0_16 svn branch | ||||||
|  |   - lt_source=from_svn gui=true | ||||||
|  |   - lt_source=from_svn gui=false | ||||||
|  |  | ||||||
|  | branches: | ||||||
|  |   except: | ||||||
|  |     - search_encoding_windows | ||||||
|  |     - v2_9_x | ||||||
|  |  | ||||||
|  | notifications: | ||||||
|  |   email: | ||||||
|  |     on_success: change | ||||||
|  |     on_failure: change  | ||||||
|  |  | ||||||
|  | before_install: | ||||||
|  |   - shopt -s expand_aliases | ||||||
|  |   - alias sudo="sudo " | ||||||
|  |   # Using nprocs/2 sometimes may fail (gcc is killed by system), just use two threads | ||||||
|  |   - alias make="colormake -j2 " | ||||||
|  |  | ||||||
|  |   # Also setup a virtual display for after_success target when gui == true | ||||||
|  |   - if ! $gui; then qbtconf="$qbtconf --disable-gui"; else export "DISPLAY=:99.0" && /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16 ; fi | ||||||
|  |   - ltconf=" --with-libgeoip=system" | ||||||
|  |  | ||||||
|  |   - echo settings | ||||||
|  |   - echo $lt_source | ||||||
|  |   - echo $ltconf | ||||||
|  |   - echo $gui | ||||||
|  |   - echo $qbtconf | ||||||
|  |  | ||||||
|  |   - sudo apt-get -qq update | ||||||
|  |   # Travis can stall during heavy load if these packages are installed in one step - split the command | ||||||
|  |   - sudo apt-get -qq install debhelper qconf colormake libssl-dev libgeoip-dev | ||||||
|  |   - sudo apt-get -qq install libboost-dev libboost-filesystem-dev libboost-system-dev | ||||||
|  |   - sudo apt-get -qq install libqt4-dev  | ||||||
|  |  | ||||||
|  | install: | ||||||
|  |   - if [[ "$lt_source" == "from_dist" ]]; then sudo apt-get -qq install libtorrent-rasterbar-dev; fi | ||||||
|  |   - if [[ "$lt_source" == "from_svn" ]]; then cd .. && svn co svn://svn.code.sf.net/p/libtorrent/code/branches/RC_0_16 ./libtorrent && (cd libtorrent && ./autotool.sh && ./configure $ltconf && sudo make install) && sudo ldconfig /usr/local/lib && cd $TRAVIS_BUILD_DIR ; fi | ||||||
|  |  | ||||||
|  | script: | ||||||
|  |   - qt-qconf | ||||||
|  |   - ./configure $qbtconf && sudo make install | ||||||
|  |    | ||||||
|  | after_success: | ||||||
|  |   - if $gui ; then qbittorrent --version ; else qbittorrent-nox --version ; fi | ||||||
							
								
								
									
										18
									
								
								.tx/config
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								.tx/config
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,18 @@ | |||||||
|  | [main] | ||||||
|  | host = https://www.transifex.com | ||||||
|  |  | ||||||
|  | [qbittorrent.qbittorrent_v3_1_x] | ||||||
|  | file_filter = src/lang/qbittorrent_<lang>.ts | ||||||
|  | source_file = src/lang/qbittorrent_en.ts | ||||||
|  | source_lang = en | ||||||
|  | type = QT | ||||||
|  | minimum_perc = 23 | ||||||
|  | mode = developer | ||||||
|  |  | ||||||
|  |  | ||||||
|  | [qbittorrent.qbittorrentdesktop_master] | ||||||
|  | source_file = src/Icons/qBittorrent.desktop | ||||||
|  | source_lang = en | ||||||
|  | type = DESKTOP | ||||||
|  | minimum_perc = 23 | ||||||
|  | mode = developer | ||||||
							
								
								
									
										50
									
								
								AUTHORS
									
									
									
									
									
								
							
							
						
						
									
										50
									
								
								AUTHORS
									
									
									
									
									
								
							| @@ -1,4 +1,7 @@ | |||||||
| Author: | Current maintainer: | ||||||
|  | * Sledgehammer999 <sledgehammer999@qbittorrent.org> | ||||||
|  |  | ||||||
|  | Original author: | ||||||
| * Christophe Dumez <chris@qbittorrent.org> | * Christophe Dumez <chris@qbittorrent.org> | ||||||
|  |  | ||||||
| Contributors: | Contributors: | ||||||
| @@ -11,6 +14,7 @@ Contributors: | |||||||
| * Grigis Gaëtan <cipher16@gmail.com> | * Grigis Gaëtan <cipher16@gmail.com> | ||||||
| * Christian Kandeler <zambesi@users.sourceforge.net> | * Christian Kandeler <zambesi@users.sourceforge.net> | ||||||
| * Silvan Scherrer <silvan.scherrer@aroa.ch> | * Silvan Scherrer <silvan.scherrer@aroa.ch> | ||||||
|  | * Nick Tiskov <daymansmail@gmail.com> | ||||||
|  |  | ||||||
| Code from other projects: | Code from other projects: | ||||||
| * files src/qtsingleapp/* src/lineedit/* | * files src/qtsingleapp/* src/lineedit/* | ||||||
| @@ -25,6 +29,10 @@ Code from other projects: | |||||||
|   copyright: Dan Haim <negativeiq@users.sourceforge.net> |   copyright: Dan Haim <negativeiq@users.sourceforge.net> | ||||||
|   license: BSD |   license: BSD | ||||||
|  |  | ||||||
|  | * file src/stacktrace_win.h | ||||||
|  |   copyright: Quassel Project | ||||||
|  |   license: GPLv2/3 | ||||||
|  |  | ||||||
| Images Authors: | Images Authors: | ||||||
| * files: src/Icons/*.png | * files: src/Icons/*.png | ||||||
|   copyright: Gnome Icon Theme |   copyright: Gnome Icon Theme | ||||||
| @@ -50,7 +58,7 @@ Images Authors: | |||||||
|   copyright: Greg Houston <gregory.houston@gmail.com> |   copyright: Greg Houston <gregory.houston@gmail.com> | ||||||
|   license: MIT |   license: MIT | ||||||
|  |  | ||||||
| * file: src/Icons/skin/qbittorrent_mono.svg | * file: src/Icons/skin/qbittorrent_mono* | ||||||
|   copyright: Daniel Eguren <deguren@gmail.com> |   copyright: Daniel Eguren <deguren@gmail.com> | ||||||
|   license: LGPL |   license: LGPL | ||||||
|  |  | ||||||
| @@ -71,38 +79,46 @@ Images Authors: | |||||||
|  |  | ||||||
| Translations authors: | Translations authors: | ||||||
| * files: src/lang/*.ts | * files: src/lang/*.ts | ||||||
|  | * file: src/Icons/qBittorrent.desktop | ||||||
|   copyright: |   copyright: | ||||||
|   - Arabic: SDERAWI (abz8868@msn.com) and sn51234 (nesseyan@gmail.com) |   - Arabic: SDERAWI (abz8868@msn.com), sn51234 (nesseyan@gmail.com) and  Ibrahim Saed ibraheem_alex(Transifex) | ||||||
|   - Armenian: Hrant Ohanyan (hrantohanyan@mail.am) |   - Armenian: Hrant Ohanyan (hrantohanyan@mail.am) | ||||||
|   - Brazilian: Nick Marinho (nickmarinho@gmail.com) |   - Basque: Xabier Aramendi (azpidatziak@gmail.com) | ||||||
|  |   - Belarusian: Mihas Varantsou (meequz@gmail.com) | ||||||
|   - Bulgarian: Tsvetan & Boyko Bankoff (emerge_life@users.sourceforge.net) |   - Bulgarian: Tsvetan & Boyko Bankoff (emerge_life@users.sourceforge.net) | ||||||
|   - Catalan: Francisco Luque Contreras (frannoe@ya.com) |   - Catalan: Francisco Luque Contreras (frannoe@ya.com) | ||||||
|   - Chinese (Simplified): Guo Yue (yue.guo0418@gmail.com) |   - Chinese (Simplified): Guo Yue (yue.guo0418@gmail.com) | ||||||
|   - Chinese (Traditional): Yi-Shun Wang (dnextstep@gmail.com) |   - Chinese (Traditional): Yi-Shun Wang (dnextstep@gmail.com) and 冥王歐西里斯 s8321414(Transifex) | ||||||
|   - 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) and Petr Cernobila abr(Transifex) | ||||||
|   - Danish: Mathias Nielsen (comoneo@gmail.com) |   - Danish: Mathias Nielsen (comoneo@gmail.com) | ||||||
|   - Dutch: Pieter Heyvaert (pieter_heyvaert@hotmail.com) |   - 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) |   - English(Australia): Robert Readman readmanr(Transifex) | ||||||
|  |   - English(United Kingdom): Robert Readman readmanr(Transifex) | ||||||
|  |   - Finnish: Niklas Laxström (nikerabbit@users.sourceforge.net), Pekka Niemi (pekka.niemi@iki.fi) and Jiri Grönroos artnay(Transifex) | ||||||
|   - French: Christophe Dumez (chris@qbittorrent.org) |   - French: Christophe Dumez (chris@qbittorrent.org) | ||||||
|   - Galician: Marcos Lans (marcoslansgarza@gmail.com) |   - Galician: Marcos Lans (marcoslansgarza@gmail.com) and antiparvos(Transifex) | ||||||
|  |   - Georgian: Beqa Arabuli (arabulibeqa@yahoo.com) | ||||||
|   - German: Niels Hoffmann (zentralmaschine@users.sourceforge.net) |   - German: Niels Hoffmann (zentralmaschine@users.sourceforge.net) | ||||||
|   - Greek: Tsvetan Bankov (emerge_life@users.sourceforge.net) and Stephanos Antaris (santaris@csd.auth.gr) |   - Greek: Tsvetan Bankov (emerge_life@users.sourceforge.net), Stephanos Antaris (santaris@csd.auth.gr), sledgehammer999(hammered999@gmail.com) and Γιάννης Ανθυμίδης Evropi(Transifex) | ||||||
|  |   - Hebrew: David Deutsch (d.deffo@gmail.com) | ||||||
|   - Hungarian: Majoros Péter (majoros.j.p@t-online.hu) |   - Hungarian: Majoros Péter (majoros.j.p@t-online.hu) | ||||||
|   - Italian: Matteo Sechi (bu17714@gmail.com) |   - Italian: bovirus (bovirus@live.it) and Matteo Sechi (bu17714@gmail.com) | ||||||
|   - Japanese: Nardog (alphisation@gmail.com) |   - Japanese: Masato Hashimoto (cabezon.hashimoto@gmail.com) | ||||||
|   - Korean: Jin Woo Sin (jin828sin@users.sourceforge.net) |   - Korean: Jin Woo Sin (jin828sin@users.sourceforge.net) | ||||||
|   - Lithuanian: Naglis Jonaitis (njonaitis@gmail.com) |   - Lithuanian: Naglis Jonaitis (njonaitis@gmail.com) | ||||||
|   - Norwegian: Tomaso |   - Norwegian: Tomaso | ||||||
|   - Polish: Mariusz Fik (fisiu@opensuse.org) |   - Polish: Mariusz Fik (fisiu@opensuse.org) | ||||||
|   - Portuguese: Nick Marinho (nickmarinho@gmail.com) |   - Portuguese: Sérgio Marques smarquespt(Transifex) | ||||||
|   - Romanian: Obada Denis (obadadenis@users.sourceforge.net) |   - Portuguese(Brazil): Nick Marinho (nickmarinho@gmail.com) | ||||||
|   - Russian: Nick Khazov (m2k3d0n at users.sourceforge.net) |   - Romanian: Obada Denis (obadadenis@users.sourceforge.net), Adrian Gabor Adriannho(Transifex) and Mihai Coman z0id(Transifex) | ||||||
|  |   - Russian: Nick Khazov (m2k3d0n at users.sourceforge.net), Alexey Morsov (samurai@ricom.ru), Nick Tiskov Dayman(daymansmail (at) gmail (dot) com), Dmitry DmitryKX(Transifex) and kraleksandr kraleksandr(Transifex) | ||||||
|   - Serbian: Anaximandar Milet (anaximandar at operamail.com) |   - Serbian: Anaximandar Milet (anaximandar at operamail.com) | ||||||
|   - Slovak:  helix84 |   - Slovak:  helix84 | ||||||
|   - Spanish: Francisco Luque Contreras (frannoe@ya.com) |   - Spanish: Francisco Luque Contreras (frannoe@ya.com), Alfredo Monclus alfrix(Transifex) and José Antonio Moray moray33(Transifex) | ||||||
|   - Swedish: Daniel Nylander (po@danielnylander.se) |   - Swedish: Daniel Nylander (po@danielnylander.se) and Emil Hammarberg Ooglogput(Transifex) | ||||||
|   - Turkish: Hasan Yilmaz (iletisim@hedefturkce.com) |   - Turkish: Hasan Yilmaz (iletisim@hedefturkce.com) | ||||||
|   - Ukrainian: Andrey Shpachenko (masterfix@users.sourceforge.net) and Oleh Prypin (blaxpirit@gmail.com) |   - Ukrainian: Oleh Prypin (blaxpirit@gmail.com) and zubr139(Transifex) | ||||||
|  |   - Vietnamese: Anh Phan ppanhh(Transifex) | ||||||
|   license: GPLv2 |   license: GPLv2 | ||||||
|   | |||||||
							
								
								
									
										10
									
								
								COPYING
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								COPYING
									
									
									
									
									
								
							| @@ -69,7 +69,7 @@ patent must be licensed for everyone's free use or not licensed at all. | |||||||
|  |  | ||||||
|   The precise terms and conditions for copying, distribution and |   The precise terms and conditions for copying, distribution and | ||||||
| modification follow. | modification follow. | ||||||
|  |  | ||||||
| 		    GNU GENERAL PUBLIC LICENSE | 		    GNU GENERAL PUBLIC LICENSE | ||||||
|    TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION |    TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION | ||||||
|  |  | ||||||
| @@ -124,7 +124,7 @@ above, provided that you also meet all of these conditions: | |||||||
|     License.  (Exception: if the Program itself is interactive but |     License.  (Exception: if the Program itself is interactive but | ||||||
|     does not normally print such an announcement, your work based on |     does not normally print such an announcement, your work based on | ||||||
|     the Program is not required to print an announcement.) |     the Program is not required to print an announcement.) | ||||||
|  |  | ||||||
| These requirements apply to the modified work as a whole.  If | These requirements apply to the modified work as a whole.  If | ||||||
| identifiable sections of that work are not derived from the Program, | identifiable sections of that work are not derived from the Program, | ||||||
| and can be reasonably considered independent and separate works in | and can be reasonably considered independent and separate works in | ||||||
| @@ -182,7 +182,7 @@ access to copy from a designated place, then offering equivalent | |||||||
| access to copy the source code from the same place counts as | access to copy the source code from the same place counts as | ||||||
| distribution of the source code, even though third parties are not | distribution of the source code, even though third parties are not | ||||||
| compelled to copy the source along with the object code. | compelled to copy the source along with the object code. | ||||||
|  |  | ||||||
|   4. You may not copy, modify, sublicense, or distribute the Program |   4. You may not copy, modify, sublicense, or distribute the Program | ||||||
| except as expressly provided under this License.  Any attempt | except as expressly provided under this License.  Any attempt | ||||||
| otherwise to copy, modify, sublicense or distribute the Program is | otherwise to copy, modify, sublicense or distribute the Program is | ||||||
| @@ -239,7 +239,7 @@ impose that choice. | |||||||
|  |  | ||||||
| This section is intended to make thoroughly clear what is believed to | This section is intended to make thoroughly clear what is believed to | ||||||
| be a consequence of the rest of this License. | be a consequence of the rest of this License. | ||||||
|  |  | ||||||
|   8. If the distribution and/or use of the Program is restricted in |   8. If the distribution and/or use of the Program is restricted in | ||||||
| certain countries either by patents or by copyrighted interfaces, the | certain countries either by patents or by copyrighted interfaces, the | ||||||
| original copyright holder who places the Program under this License | original copyright holder who places the Program under this License | ||||||
| @@ -292,7 +292,7 @@ PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE | |||||||
| POSSIBILITY OF SUCH DAMAGES. | POSSIBILITY OF SUCH DAMAGES. | ||||||
|  |  | ||||||
| 		     END OF TERMS AND CONDITIONS | 		     END OF TERMS AND CONDITIONS | ||||||
|  |  | ||||||
| 	    How to Apply These Terms to Your New Programs | 	    How to Apply These Terms to Your New Programs | ||||||
|  |  | ||||||
|   If you develop a new program, and you want it to be of the greatest |   If you develop a new program, and you want it to be of the greatest | ||||||
|   | |||||||
							
								
								
									
										112
									
								
								Changelog
									
									
									
									
									
								
							
							
						
						
									
										112
									
								
								Changelog
									
									
									
									
									
								
							| @@ -1,3 +1,115 @@ | |||||||
|  | * Tue Nov 05 2013 - sledgehammer999 <sledgehammer999@qbittorrent.org> - v3.1.2 | ||||||
|  |     - BUGFIX: Fix WebUI gzip compression. Closes #1037. (sledgehammer999) | ||||||
|  |     - BUGFIX: Fix compilation with qt < 4.8.0. Closes #1043. (sledgehammer999) | ||||||
|  |     - OTHER: Updated translations. | ||||||
|  |  | ||||||
|  | * Mon Oct 28 2013 - sledgehammer999 <sledgehammer999@qbittorrent.org> - v3.1.1 | ||||||
|  |     - FEATURE: Show external IP in the log. Closes #968. (sledgehammer999) | ||||||
|  |     - FEATURE: Enable gzip compression in the webui. It should be faster now. (sledgehammer999) | ||||||
|  |     - FEATURE: Torrents show more states(queued for checking, downloading metadata, allocating, checking resume). (sledgehammer999) | ||||||
|  |     - FEATURE: Reenable "force reannounce" to all trackers. (sledgehammer999) | ||||||
|  |     - FEATURE: Allow to clear the UI lock password. Closes #973. (sledgehammer999) | ||||||
|  |     - FEATURE: New translations: English(Australia) and English(United Kingdom) | ||||||
|  |     - BUGFIX: Expose all available translation in the WebUI. Closes #976. (sledgehammer999) | ||||||
|  |     - BUGFIX: Copy IP copied wrong data. Closes #970 (sledgehammer999) | ||||||
|  |     - BUGFIX: "Preview file..." didn't work on single file torrents. (sledgehammer999) | ||||||
|  |     - BUGFIX: Fix and improve the scheduler (Gelmir and sledgehammer999) | ||||||
|  |     - BUGFIX: RSS fixes. Closes #960, #998 (Gelmir) | ||||||
|  |     - BUGFIX: Fix 'append label to save path' with magnet links. (sledgehammer999) | ||||||
|  |     - BUGFIX: Can download up to 10MB .torrent file when a link is provided. Closes #879 (sledgehammer999) | ||||||
|  |     - OTHER: Updated translations. | ||||||
|  |     - LINUX: Fix missing conf.pri error (leigh123linux) | ||||||
|  |     - WINDOWS: Don't remove file associations if they aren't our own. (sledgehammer999) | ||||||
|  |  | ||||||
|  | * Sat Oct 12 2013 - Christophe Dumez <chris@qbittorrent.org> and sledgehammer999 <sledgehammer999@qbittorrent.org> - v3.1.0 | ||||||
|  |     - FEATURE: Add command line option to daemonize qbittorrent-nox (ngaro) | ||||||
|  |     - FEATURE: Add "Shutdown qBittorrent" button to Web UI (ngaro) | ||||||
|  |     - FEATURE: Add setting to copy .torrent files for finished downloads (Driim) | ||||||
|  |     - FEATURE: Add option to start qBittorrent on Windows startup (sledgehammer999) | ||||||
|  |     - FEATURE: Add context menu to Web seed list (Gelmir) | ||||||
|  |     - FEATURE: Add support for tracker tiers / groups to creator (Gelmir) | ||||||
|  |     - FEATURE: Allow clearing execution and ban logs (Gelmir) | ||||||
|  |     - FEATURE: Add option to use random port on each startup (ireallylikeher) | ||||||
|  |     - FEATURE: Expose the cache expiry to the user (Gelmir) | ||||||
|  |     - FEATURE: Support Atom feeds (Gelmir) | ||||||
|  |     - FEATURE: Add "save path" column (John Peterson) | ||||||
|  |     - FEATURE: Add μTorrent-compatible "Flags" column in the peer tab(sledgehammer999) | ||||||
|  |     - FEATURE: Load magnet metadata in the background while the "Add New Torrent" Dialog is showing (Gelmir) | ||||||
|  |     - FEATURE: Allow to enter only an info-hash for download(sledgehammer999) | ||||||
|  |     - FEATURE: Bring the "Add New Torrent" Dialog to the front(glassez) | ||||||
|  |     - BUGFIX: Add confirmation dialog for "Force recheck" action (closes #131) | ||||||
|  |     - BUGFIX: Greatly improve RSS manager performance (closes #34) | ||||||
|  |     - BUGFIX: Ensure that all columns in the tranferlist have a size > 0. | ||||||
|  |     - BUGFIX: Don't mark RSS item as read when it failed to download (Gelmir) | ||||||
|  |     - BUGFIX: Fix ETA calculation when some files are downloaded and marked afterwards as 'do not download'(sledgehammer999) | ||||||
|  |     - BUGFIX: Make the UI show that PEX/DHT/LSD are actually disabled on private torrents(sledgehammer999) | ||||||
|  |     - BUGFIX: Scheduler should be much more robust and correct now(sledgehammer999) | ||||||
|  |     - BUGFIX: Now qBt won't forget torrent settings after an unclean shutdown(sledgehammer999) | ||||||
|  |     - BUGFIX: Text boxes in edit dialogs will fit to text width(Gelmir) | ||||||
|  |     - BUGFIX: Enable edit/rename via F2 or double click in various places(Gelmir) | ||||||
|  |     - BUGFIX: Allow to edit trackers and copy their urls(Gelmir and Driim) | ||||||
|  |     - BUGFIX: Add Uploaded column to main view(Gelmir) | ||||||
|  |     - BUGFIX: Calculate ETA for seeding torrents(Gelmir)     | ||||||
|  |     - BUGFIX: Add option to ignore global share ratio limits for created torrents(Gelmir) | ||||||
|  |     - OTHER: Many RSS bugfixes and improvements all over the place(Gelmir) | ||||||
|  |     - OTHER: Generate translations at configure time to reduce tarball size | ||||||
|  |     - OTHER: Make peer tab sortable by ip too (Gelmir) | ||||||
|  |     - OTHER: Translations moved to Transifex(https://www.transifex.com/projects/p/qbittorrent/) | ||||||
|  |     - OTHER: New Translation - Vietnamese (Anh Phan) | ||||||
|  |     - PERFORMANCE: Impove drawing speed of tranferlist when there are many torrents(>100) | ||||||
|  |     - PERFORMANCE: Impove drawing speed of peers list when there are many peers | ||||||
|  |  | ||||||
|  | * Thu Aug 09 2012 - Christophe Dumez <chris@qbittorrent.org> - v3.0.0 | ||||||
|  |     - FEATURE: Brand new torrent addition dialog | ||||||
|  |     - FEATURE: Add the ability to choose the save path when using magnet links (mutoso) | ||||||
|  |     - FEATURE: Add support for adding multiple local torrents at once (Web UI) | ||||||
|  |     - COSMETIC: Improve style of left panel | ||||||
|  |     - BUGFIX: Lower panels no longer gets disabled | ||||||
|  |     - BUGFIX: Major code refactoring and various optimizations. | ||||||
|  |     - BUGFIX: No longer strip root folder from torrent files | ||||||
|  |     - OTHER: Drop support for libtorrent v0.14.x | ||||||
|  |     - OTHER: Drop support for Qt 4.5 | ||||||
|  |  | ||||||
|  | * 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 | ||||||
|  |     - FEATURE: Add advanced setting to announce to all trackers | ||||||
|  |     - FEATURE: Add support for anonymous mode (libtorrent >= v0.16) | ||||||
|  |     - FEATURE: Add quick "set as default save path" checkbox to torrent addition dialog (sledgehammer999) | ||||||
|  |     - BUGFIX: Add tray menu entry for toggling window visibility | ||||||
|  |     - BUGFIX: Fix execution log lines selection and copying | ||||||
|  |     - BUGFIX: Reduce CPU usage when running Web UI | ||||||
|  |     - BUGFIX: Save RSS items to disk regularly for safety | ||||||
|  |     - BUGFIX: Fix ratio calculation (use all_time_download) | ||||||
|  |     - BUGFIX: Fix torrent upload issues (Web UI) | ||||||
|  |     - BUGFIX: Fix some IE incompatibilities (Web UI) | ||||||
|  |     - COSMETIC: Display speed at the beginning of the Window title | ||||||
|  |     - COSMETIC: Several cosmetic fixes to the Web UI | ||||||
|  |     - COSMETIC: Make top toolbar follow system style | ||||||
|  |     - OTHER: Display libraries versions in about dialog (sledgehammer999) | ||||||
|  |     - OTHER: Display qBittorrent version in Web UI about dialog | ||||||
|  |  | ||||||
|  | * Thu Jun 02 2011 - Christophe Dumez <chris@qbittorrent.org> - v2.8.0 | ||||||
|  |     - FEATURE: Added full libtorrent v0.16 support (uTP, ...) | ||||||
|  |     - FEATURE: Proxy can be disabled for peer connections | ||||||
|  |     - FEATURE: Added support for secure SMTP connection (SSL) | ||||||
|  |     - FEATURE: Added support for SMTP authentication | ||||||
|  |     - FEATURE: Added UPnP/NAT-PMP port forward for the Web UI port | ||||||
|  |     - FEATURE: qBittorrent can update dynamic DNS services (DynDNS, no-ip) | ||||||
|  |     - FEATURE: Display peer connection type in peer list (BT, uTP, Web) | ||||||
|  |     - FEATURE: Added full regex support to RSS downloader | ||||||
|  |     - FEATURE: Added regex help and validation in RSS downloader | ||||||
|  |     - FEATURE: Added HTTPS support to Web UI (Ishan Arora) | ||||||
|  |     - BUGFIX: Change systray icon on the fly (no restart needed) | ||||||
|  |     - BUGFIX: Remember peer-level rate limits (requires libtorrent v0.16) | ||||||
|  |     - BUGFIX: Stop annoncing to trackers an all tiers (more respectful) | ||||||
|  |     - BUGFIX: Stop sharing private trackers with other peers | ||||||
|  |     - BUGFIX: Tracker exchange extension can be disabled | ||||||
|  |     - BUGFIX: Cleaner program exit on system log out | ||||||
|  |     - BUGFIX: Fix possible magnet link parsing problems | ||||||
|  |     - BUGFIX: Fix possible RSS URL parsing problems | ||||||
|  |     - COSMETIC: Added monochrome icon for light themes  | ||||||
|  |  | ||||||
| * Sun Mar 20 2011 - Christophe Dumez <chris@qbittorrent.org> - v2.7.0 | * Sun Mar 20 2011 - Christophe Dumez <chris@qbittorrent.org> - v2.7.0 | ||||||
|     - FEATURE: Added search field for torrent content |     - FEATURE: Added search field for torrent content | ||||||
|     - FEATURE: Added auto-shutdown confirmation dialog |     - FEATURE: Added auto-shutdown confirmation dialog | ||||||
|   | |||||||
							
								
								
									
										16
									
								
								INSTALL
									
									
									
									
									
								
							
							
						
						
									
										16
									
								
								INSTALL
									
									
									
									
									
								
							| @@ -10,25 +10,23 @@ 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.5.0 (libqt-devel, libqtgui, libqtcore, libqtnetwork, libqtxml) |     - Qt >= 4.6.0 (libqtgui, libqtcore, libqtnetwork, libqtxml, libqtdbus/optional) | ||||||
|  |  | ||||||
|     - pkg-config executable |     - pkg-config executable | ||||||
|  |  | ||||||
|     - libtorrent-rasterbar by Arvid Norberg (>= 0.14.4 REQUIRED, compatible with v0.15.x) |     - libtorrent-rasterbar by Arvid Norberg (>= 0.15.0) | ||||||
|         -> http://www.libtorrent.net |         -> http://www.libtorrent.net | ||||||
|         Be careful: another library (the one used by rTorrent) uses a similar name. |         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 |       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 (needed by search engine) |     - python >= 2.3 (needed by search engine) | ||||||
|         * Run time only dependency |         * Run time only dependency | ||||||
|  |  | ||||||
|     - libnotify >= 0.4.2, glib-2.0 (optional) |  | ||||||
|         * Can be used for system notifications to replace standard Qt notifications |  | ||||||
|           so that it integrates better into the Desktop |  | ||||||
|  |  | ||||||
|     - geoip-database (optional) |     - geoip-database (optional) | ||||||
|         * If qBittorrent cannot find this database, it will try to resolve countries using the Internet but it will be a lot slower. |         * If qBittorrent cannot find this database, it will try to resolve countries using the Internet but it will be a lot slower. | ||||||
|         * Run time only dependency |         * Run time only dependency | ||||||
| @@ -46,7 +44,7 @@ qBittorrent - A BitTorrent client in C++ / Qt4 | |||||||
|  |  | ||||||
|     - pkg-config executable |     - pkg-config executable | ||||||
|  |  | ||||||
|     - libtorrent-rasterbar by Arvid Norberg (>= 0.14.4 REQUIRED, >= v0.15.0 ADVISED) |     - libtorrent-rasterbar by Arvid Norberg (>= v0.15.0) | ||||||
|         -> http://www.libtorrent.net |         -> http://www.libtorrent.net | ||||||
|         Be careful: another library (the one used by rTorrent) uses a similar name. |         Be careful: another library (the one used by rTorrent) uses a similar name. | ||||||
|  |  | ||||||
|   | |||||||
							
								
								
									
										16
									
								
								README.os2
									
									
									
									
									
								
							
							
						
						
									
										16
									
								
								README.os2
									
									
									
									
									
								
							| @@ -27,7 +27,6 @@ First you need to create the conf.pri file in the same dir as this readme.os2 is | |||||||
| the conf.pri file has the following content: | the conf.pri file has the following content: | ||||||
|  |  | ||||||
| ##### conf.pri content beginn ##### | ##### conf.pri content beginn ##### | ||||||
| PREFIX = . |  | ||||||
| BINDIR = ./bin | BINDIR = ./bin | ||||||
| INCDIR = ./include | INCDIR = ./include | ||||||
| LIBDIR = ./lib | LIBDIR = ./lib | ||||||
| @@ -43,7 +42,10 @@ LIBS += -Lx:/trees/libtorrent/trunk/src/.libs \ | |||||||
|  |  | ||||||
| Of course all the above path references have to be adjusted to your build env. | Of course all the above path references have to be adjusted to your build env. | ||||||
|  |  | ||||||
| It should now be easy to build qBittorrent: | Now you can either do a normal build or a shadow build. A shadow build has the | ||||||
|  | advantage that no created files are in the same dir as the sources are. | ||||||
|  |  | ||||||
|  | For a normal build do the following: | ||||||
|  |  | ||||||
| Simply type: | Simply type: | ||||||
| $ qmake | $ qmake | ||||||
| @@ -51,6 +53,16 @@ $ qmake | |||||||
| Followed by: | Followed by: | ||||||
| $ make | $ make | ||||||
|  |  | ||||||
|  | For a shadow build do the following: | ||||||
|  | given your sources are in x:\trees\qbittorrent\trunk create a  | ||||||
|  | x:\trees\qbittorrent\build directory | ||||||
|  |  | ||||||
|  | Now switch to the created directory and type: | ||||||
|  | $ qmake ..\trunk | ||||||
|  |  | ||||||
|  | Followed by: | ||||||
|  | $ make | ||||||
|  |  | ||||||
| If all works fine you should get a working qbittorrent executable. | If all works fine you should get a working qbittorrent executable. | ||||||
|  |  | ||||||
| If you have any question regarding the eCS (OS/2) port of qBittorrent you can meet me (_diver) on IRC: | If you have any question regarding the eCS (OS/2) port of qBittorrent you can meet me (_diver) on IRC: | ||||||
|   | |||||||
| @@ -8,7 +8,7 @@ qBittorrent\-nox \- a command line Bittorrent client written in C++ / Qt4 | |||||||
|  |  | ||||||
| .SH "SYNOPSIS" | .SH "SYNOPSIS" | ||||||
|  |  | ||||||
| \fBqbittorrent\-nox\fR [\-\-webui-port=x] [TORRENT_FILE | URL]... | \fBqbittorrent\-nox\fR [\-\-d|\-\-daemon] [\-\-webui-port=x] [TORRENT_FILE | URL]... | ||||||
|  |  | ||||||
| \fBqbittorrent\-nox\fR \-\-help | \fBqbittorrent\-nox\fR \-\-help | ||||||
|  |  | ||||||
|   | |||||||
							
								
								
									
										129
									
								
								install.os2
									
									
									
									
									
								
							
							
						
						
									
										129
									
								
								install.os2
									
									
									
									
									
								
							| @@ -11,7 +11,7 @@ QBittorrent installation | |||||||
|  |  | ||||||
| 3. INSTALLATION | 3. INSTALLATION | ||||||
|  |  | ||||||
| 4. CONTACT | 4. BUGREPORTS | ||||||
|  |  | ||||||
| 5. CREDITS | 5. CREDITS | ||||||
|  |  | ||||||
| @@ -29,17 +29,70 @@ Welcome to QBittorrent port for OS/2 and eComStation. | |||||||
| 2. REQUIREMENTS | 2. REQUIREMENTS | ||||||
| =============== | =============== | ||||||
|  |  | ||||||
| * klibc 0.6.3 or later | The following requirements can be installed either by rpm or by zip files. | ||||||
|  |  | ||||||
|     ftp://ftp.netlabs.org/pub/gcc/libc-0_6_3-csd3.wpi | RPM Installation: | ||||||
|  |  | ||||||
| * openssl 1.0 | klibc | ||||||
|  | ----- | ||||||
|  |  | ||||||
|     ftp://ftp.netlabs.org/pub/unixos2/ssl10.zip |   1. yum install libc | ||||||
|  |  | ||||||
| * Qt4 dll | openssl 1.0 | ||||||
|  | ----------- | ||||||
|  |  | ||||||
|     see http://svn.netlabs.org/qt4 for more information whats needed and where to get the latest |   1. yum install openssl | ||||||
|  |  | ||||||
|  | pthread | ||||||
|  | ------- | ||||||
|  |  | ||||||
|  |   1. yum install pthread | ||||||
|  |  | ||||||
|  | GCC4Core | ||||||
|  | -------- | ||||||
|  |  | ||||||
|  |   1. yum install libgcc | ||||||
|  |   2. yum install gcc-stack-protector | ||||||
|  |   3. yum install gcc-stdc++-shared-library | ||||||
|  |   4. yum install gcc-supc++-shared-library | ||||||
|  |  | ||||||
|  | Qt4 dll | ||||||
|  | ------- | ||||||
|  |  | ||||||
|  |   1. yum install libqt4 | ||||||
|  |  | ||||||
|  |  | ||||||
|  | ZIP Installation: | ||||||
|  |  | ||||||
|  | klibc | ||||||
|  | ----- | ||||||
|  |  | ||||||
|  |   1. Download klibc 0.6.5 or better (see http://svn.netlabs.org/libc for more information) | ||||||
|  |   2. Install the files to your libpath eg x:\ecs\dll | ||||||
|  |  | ||||||
|  | openssl 1.0 | ||||||
|  | ----------- | ||||||
|  |  | ||||||
|  |   1. Download the zip file from http://rpm.netlabs.org/release/00/zip | ||||||
|  |   2. Install the files to your libpath eg. x:\ecs\dll | ||||||
|  |  | ||||||
|  | pthread | ||||||
|  | ------- | ||||||
|  |  | ||||||
|  |   1. Download pthread 2012-03-13 or better from http://rpm.netlabs.org/release/00/zip | ||||||
|  |   2. Install the files to your libpath eg. x:\ecs\dll | ||||||
|  |  | ||||||
|  | GCC4Core | ||||||
|  | -------- | ||||||
|  |  | ||||||
|  |   1. Download GCC4Core 1.2.1 or better from http://ftp.netlabs.org/pub/gcc | ||||||
|  |   2. Install the files to your libpath eg. x:\ecs\dll | ||||||
|  |  | ||||||
|  | Qt4 dll | ||||||
|  | ------- | ||||||
|  |  | ||||||
|  |   1. Download Qt4 4.7.3 or better (see http://svn.netlabs.org/qt4 for more information) | ||||||
|  |   2. Install the files according to the readme | ||||||
|  |  | ||||||
|  |  | ||||||
| 3. INSTALLATION | 3. INSTALLATION | ||||||
| @@ -47,30 +100,6 @@ Welcome to QBittorrent port for OS/2 and eComStation. | |||||||
|            |            | ||||||
| To install QBittorrent, do the following: | To install QBittorrent, do the following: | ||||||
|  |  | ||||||
| klibc |  | ||||||
| ----- |  | ||||||
|  |  | ||||||
|   1. Download klibc 0.6.3 csd3 or later. |  | ||||||
|   2. Install the package by double-clicking on the WPI file. |  | ||||||
|  |  | ||||||
|  |  | ||||||
| openssl 1.0 |  | ||||||
| ----------- |  | ||||||
|  |  | ||||||
|   1. Download the zip file |  | ||||||
|   2. Install the files to your libpath eg. x:\ecs\dll |  | ||||||
|  |  | ||||||
| Qt4 dll |  | ||||||
| ------- |  | ||||||
|  |  | ||||||
|   1. Download the package |  | ||||||
|   2. Install the package by double-clicking on the wpi file. |  | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
| QBittorrent |  | ||||||
| ----------- |  | ||||||
|  |  | ||||||
|   1. Create a directory for QBittorrent. |   1. Create a directory for QBittorrent. | ||||||
|   2. Extract the QBittorrent package to the new directory. |   2. Extract the QBittorrent package to the new directory. | ||||||
|   3. Create a WPS object for QBittorrent.exe. |   3. Create a WPS object for QBittorrent.exe. | ||||||
| @@ -78,18 +107,13 @@ QBittorrent | |||||||
|   5. Happy torrenting |   5. Happy torrenting | ||||||
|    |    | ||||||
|  |  | ||||||
|  | 4. BUGREPORTS | ||||||
|  | ============= | ||||||
|  |  | ||||||
| 4. CONTACT | Please create bugreports at http://svn.netlabs.org/qtapps | ||||||
| ========== |  | ||||||
|  |  | ||||||
| Please send bugreports to: |  | ||||||
|  |  | ||||||
|   ecs@aroa.ch |  | ||||||
|  |  | ||||||
| Only bug reports with a reproducable bug are accepted. :-) | Only bug reports with a reproducable bug are accepted. :-) | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
| 5. CREDITS | 5. CREDITS | ||||||
| ========== | ========== | ||||||
|  |  | ||||||
| @@ -122,6 +146,33 @@ development, you can do so in one of the following ways: | |||||||
| 7. HISTORY | 7. HISTORY | ||||||
| ========== | ========== | ||||||
|  |  | ||||||
|  | 2012-09-19 | ||||||
|  |  | ||||||
|  |   * updated to 3.0.4 code level of QBittorrent | ||||||
|  |   * updated libtorrent to 0.16.3 level | ||||||
|  |  | ||||||
|  | 2012-09-06 | ||||||
|  |  | ||||||
|  |   * updated to 3.0.2 code level of QBittorrent | ||||||
|  |  | ||||||
|  | 2012-05-14 | ||||||
|  |  | ||||||
|  |   * updated to 2.9.8 code level of QBittorrent | ||||||
|  |  | ||||||
|  | 2012-03-15 | ||||||
|  |  | ||||||
|  |   * updated to 2.9.5 code level of QBittorrent | ||||||
|  |  | ||||||
|  | 2011-09-26 | ||||||
|  |  | ||||||
|  |   * updated to 2.8.5 code level of QBittorrent | ||||||
|  |   * updated to Qt 4.7.3 | ||||||
|  |  | ||||||
|  | 2011-06-20 | ||||||
|  |  | ||||||
|  |   * updated to 2.7.3 code level of QBittorrent | ||||||
|  |   * updated libtorrent to 0.15.6 level | ||||||
|  |  | ||||||
| 2010-12-23 | 2010-12-23 | ||||||
|  |  | ||||||
|   * updated to 2.5.2 code level of QBittorrent |   * updated to 2.5.2 code level of QBittorrent | ||||||
|   | |||||||
							
								
								
									
										63
									
								
								macxconf.pri
									
									
									
									
									
								
							
							
						
						
									
										63
									
								
								macxconf.pri
									
									
									
									
									
								
							| @@ -2,15 +2,66 @@ PREFIX = /usr/local | |||||||
| BINDIR = /usr/local/bin | BINDIR = /usr/local/bin | ||||||
| DATADIR = /usr/local/share | DATADIR = /usr/local/share | ||||||
|  |  | ||||||
| INCLUDEPATH += /usr/local/include/libtorrent /usr/include/openssl /usr/include /opt/local/include/boost /opt/local/include | # Use pkg-config to get all necessary libtorrent DEFINES | ||||||
| LIBS += -ltorrent-rasterbar -lcrypto -L/opt/local/lib -lboost_system-mt -lboost_filesystem-mt -lboost_thread-mt -framework Cocoa -framework Carbon | CONFIG += link_pkgconfig | ||||||
|  | PKGCONFIG += libtorrent-rasterbar | ||||||
|  | DEFINES += BOOST_ASIO_DYN_LINK | ||||||
|  |  | ||||||
|  | # 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 | ||||||
|  | # Zlib | ||||||
|  | LIBS += -lz | ||||||
|  |  | ||||||
| document_icon.path = Contents/Resources | document_icon.path = Contents/Resources | ||||||
| document_icon.files = Icons/qBitTorrentDocument.icns | document_icon.files = mac/qBitTorrentDocument.icns | ||||||
|  |  | ||||||
| QMAKE_BUNDLE_DATA += document_icon | QMAKE_BUNDLE_DATA += document_icon | ||||||
| ICON = Icons/qbittorrent_mac.icns |  | ||||||
| QMAKE_INFO_PLIST = Info.plist | qt_conf.path = Contents/Resources | ||||||
|  | qt_conf.files = mac/qt.conf | ||||||
|  | QMAKE_BUNDLE_DATA += qt_conf | ||||||
|  |  | ||||||
|  | qt_translations.path = Contents/MacOS/translations | ||||||
|  | qt_translations.files = qt-translations/qt_ar.qm \ | ||||||
|  |                         qt-translations/qt_bg.qm \ | ||||||
|  |                         qt-translations/qt_ca.qm \ | ||||||
|  |                         qt-translations/qt_cs.qm \ | ||||||
|  |                         qt-translations/qt_da.qm \ | ||||||
|  |                         qt-translations/qt_de.qm \ | ||||||
|  |                         qt-translations/qt_es.qm \ | ||||||
|  |                         qt-translations/qt_fi.qm \ | ||||||
|  |                         qt-translations/qt_fr.qm \ | ||||||
|  |                         qt-translations/qt_gl.qm \ | ||||||
|  |                         qt-translations/qt_he.qm \ | ||||||
|  |                         qt-translations/qt_hu.qm \ | ||||||
|  |                         qt-translations/qt_it.qm \ | ||||||
|  |                         qt-translations/qt_ja.qm \ | ||||||
|  |                         qt-translations/qt_ko.qm \ | ||||||
|  |                         qt-translations/qt_lt.qm \ | ||||||
|  |                         qt-translations/qt_nl.qm \ | ||||||
|  |                         qt-translations/qt_pl.qm \ | ||||||
|  |                         qt-translations/qt_pt.qm \ | ||||||
|  |                         qt-translations/qt_pt_BR.qm \ | ||||||
|  |                         qt-translations/qt_ru.qm \ | ||||||
|  |                         qt-translations/qt_sk.qm \ | ||||||
|  |                         qt-translations/qt_sv.qm \ | ||||||
|  |                         qt-translations/qt_tr.qm \ | ||||||
|  |                         qt-translations/qt_uk.qm \ | ||||||
|  |                         qt-translations/qt_zh_CN.qm \ | ||||||
|  |                         qt-translations/qt_zh_TW.qm | ||||||
|  | QMAKE_BUNDLE_DATA += qt_translations | ||||||
|  |  | ||||||
|  | ICON = mac/qbittorrent_mac.icns | ||||||
|  | QMAKE_INFO_PLIST = mac/Info.plist | ||||||
|  |  | ||||||
| DEFINES += WITH_GEOIP_EMBEDDED | DEFINES += WITH_GEOIP_EMBEDDED | ||||||
| message("On Mac OS X, GeoIP database must be embedded.") | message("On Mac OS X, GeoIP database must be embedded.") | ||||||
|   | |||||||
| @@ -7,9 +7,13 @@ LIBS += -ltorrent-rasterbar \ | |||||||
|         -lboost_thread \ |         -lboost_thread \ | ||||||
|         -lboost_system \ |         -lboost_system \ | ||||||
|         -lboost_filesystem \ |         -lboost_filesystem \ | ||||||
|         -lssl -lcrypto -lidn -lpthread |         -lssl -lcrypto -lidn -lpthread -lz | ||||||
|  |  | ||||||
| RC_FILE = qbittorrent_os2.rc | RC_FILE = qbittorrent_os2.rc | ||||||
|  |  | ||||||
|  | # LIBTORRENT DEFINES | ||||||
|  | DEFINES += WITH_SHIPPED_GEOIP_H | ||||||
|  | DEFINES += BOOST_ASIO_DYN_LINK | ||||||
|  |  | ||||||
| DEFINES += WITH_GEOIP_EMBEDDED | DEFINES += WITH_GEOIP_EMBEDDED | ||||||
| message("On eCS(OS/2), GeoIP database must be embedded.") | message("On eCS(OS/2), GeoIP database must be embedded.") | ||||||
|   | |||||||
| @@ -2,3 +2,18 @@ TEMPLATE = subdirs | |||||||
|  |  | ||||||
| SUBDIRS += src | SUBDIRS += src | ||||||
|  |  | ||||||
|  | include(version.pri) | ||||||
|  | include(qm_gen.pri) | ||||||
|  |  | ||||||
|  | # Dist | ||||||
|  | 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 += cd .. && | ||||||
|  | dist.commands += tar czf $${PROJECT_NAME}-$${PROJECT_VERSION}.tar.gz $${PROJECT_NAME}-$${PROJECT_VERSION} && | ||||||
|  | dist.commands += tar cf $${PROJECT_NAME}-$${PROJECT_VERSION}.tar $${PROJECT_NAME}-$${PROJECT_VERSION} && | ||||||
|  | dist.commands += xz -f $${PROJECT_NAME}-$${PROJECT_VERSION}.tar && | ||||||
|  | dist.commands += rm -fR $${PROJECT_NAME}-$${PROJECT_VERSION} | ||||||
|  |  | ||||||
|  | QMAKE_EXTRA_TARGETS += dist | ||||||
|   | |||||||
| @@ -8,8 +8,6 @@ | |||||||
|   </dep> |   </dep> | ||||||
|   <dep type='qt-dbus'> |   <dep type='qt-dbus'> | ||||||
|   </dep> |   </dep> | ||||||
|   <dep type='qt-svg'> |  | ||||||
|   </dep> |  | ||||||
|   <dep type='pkg-config'> |   <dep type='pkg-config'> | ||||||
|     <required/> |     <required/> | ||||||
|   </dep> |   </dep> | ||||||
| @@ -19,8 +17,6 @@ | |||||||
|   <dep type='libboost'> |   <dep type='libboost'> | ||||||
|     <required/> |     <required/> | ||||||
|   </dep> |   </dep> | ||||||
|   <dep type='libnotify'> |  | ||||||
|   </dep> |  | ||||||
|   <dep type='geoip-database'> |   <dep type='geoip-database'> | ||||||
|   </dep> |   </dep> | ||||||
|   <dep type='qtsingleapplication'> |   <dep type='qtsingleapplication'> | ||||||
|   | |||||||
							
								
								
									
										117
									
								
								qcm/libboost.qcm
									
									
									
									
									
								
							
							
						
						
									
										117
									
								
								qcm/libboost.qcm
									
									
									
									
									
								
							| @@ -6,12 +6,15 @@ arg: with-libboost-lib=[path], Path to libboost library files | |||||||
| -----END QCMOD----- | -----END QCMOD----- | ||||||
| */ | */ | ||||||
| #include <boost/version.hpp> | #include <boost/version.hpp> | ||||||
|  | #include <libtorrent/version.hpp> | ||||||
|  |  | ||||||
| class qc_libboost : public ConfObj | class qc_libboost : public ConfObj | ||||||
| { | { | ||||||
| public: | public: | ||||||
| 	qc_libboost(Conf *c) : ConfObj(c) {} |   qc_libboost(Conf *c) : ConfObj(c) {} | ||||||
| 	QString name() const { return "libboost"; } |   QString name() const { return "libboost"; } | ||||||
| 	QString shortname() const { return "libboost"; } |   QString shortname() const { return "libboost"; } | ||||||
|  |  | ||||||
|   QString findBoostLib(QString path, QString lib) const { |   QString findBoostLib(QString path, QString lib) const { | ||||||
|     QString name; |     QString name; | ||||||
|     QDir libDir(path); |     QDir libDir(path); | ||||||
| @@ -35,78 +38,60 @@ public: | |||||||
|     } |     } | ||||||
|     return name; |     return name; | ||||||
|   } |   } | ||||||
| 	bool exec(){ |  | ||||||
|         	QString s; |   bool exec(){ | ||||||
| 		s = conf->getenv("QC_WITH_LIBBOOST_INC"); |     QStringList sl; | ||||||
| 		if(!s.isEmpty()) { |     QString s = conf->getenv("QC_WITH_LIBBOOST_INC"); | ||||||
| 			if(!conf->checkHeader(s, "boost/format.hpp")) { |     if (!s.isEmpty()) | ||||||
| 				return false; |       sl << s; | ||||||
|       			} |     sl << "/usr/include"; | ||||||
| 			if(!conf->checkHeader(s, "boost/date_time/posix_time/posix_time.hpp")) { |     sl << "/usr/local/include"; | ||||||
| 				return false; |     bool found = false; | ||||||
|       			} |     foreach (s, sl) { | ||||||
| 			if(!conf->checkHeader(s, "boost/filesystem/path.hpp")) { |       if (conf->checkHeader(s, "boost/format.hpp") | ||||||
| 				return false; | #if LIBTORRENT_VERSION_MAJOR == 0 && LIBTORRENT_VERSION_MINOR < 16 | ||||||
|       			} |           && conf->checkHeader(s, "boost/filesystem/path.hpp") | ||||||
| 		}else{ | #endif | ||||||
| 			QStringList sl; |          ) { | ||||||
| 			sl << "/usr/include"; |         found = true; | ||||||
| 			sl << "/usr/local/include"; |         break; | ||||||
| 			bool found = false; |       } | ||||||
| 			foreach(s, sl){ |     } | ||||||
| 				if(conf->checkHeader(s, "boost/format.hpp")){ |     if (!found) | ||||||
| 					found = true; |       return false; | ||||||
| 					break; |  | ||||||
| 				} |     conf->addIncludePath(s); | ||||||
| 			} |  | ||||||
| 			if(!found) { |     // Find library | ||||||
| 				return false; |     s = conf->getenv("QC_WITH_LIBBOOST_LIB"); | ||||||
|           		} |  | ||||||
| 			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"); |  | ||||||
|     QStringList required_libs; |     QStringList required_libs; | ||||||
| #if BOOST_VERSION >= 103500 | #if BOOST_VERSION >= 103500 | ||||||
|       required_libs << "system";  |       required_libs << "system";  | ||||||
| #endif | #endif | ||||||
|     if(conf->getenv("QC_DISABLE_GUI").isEmpty()) { | #if LIBTORRENT_VERSION_MAJOR == 0 && LIBTORRENT_VERSION_MINOR < 16 | ||||||
|       // Not required by nox |     required_libs << "filesystem" ; | ||||||
|       required_libs << "filesystem" ; | #endif | ||||||
|     } |     //required_libs << "thread"; | ||||||
|     QStringList libDirs; |     QStringList libDirs; | ||||||
|  |     if (!s.isEmpty()) | ||||||
|  |       libDirs << s; | ||||||
|     libDirs << "/usr/lib/" << "/usr/lib64/" << "/usr/local/lib/" << "/usr/local/lib64/"; |     libDirs << "/usr/lib/" << "/usr/lib64/" << "/usr/local/lib/" << "/usr/local/lib64/"; | ||||||
|  |  | ||||||
|     foreach(const QString& lib, required_libs) { |     foreach(const QString& lib, required_libs) { | ||||||
|       if(!s.isEmpty()) { |       bool found = false; | ||||||
|         QString detected_name = findBoostLib(s, lib); |       foreach(const QString& libDir, libDirs) { | ||||||
|         if(detected_name.isEmpty()) { |         QString detected_name = findBoostLib(libDir, lib); | ||||||
|           printf("Could not find boost %s library!\n", qPrintable(lib)); |         if(!detected_name.isEmpty()) { | ||||||
|           return false; |  | ||||||
|         } else { |  | ||||||
|           conf->addLib("-l"+detected_name); |           conf->addLib("-l"+detected_name); | ||||||
|         } |           found = true; | ||||||
|       } else { |           break; | ||||||
|         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; |  | ||||||
|         } |         } | ||||||
|       } |       } | ||||||
|  |       if(!found) { | ||||||
|  |         printf("Could not find boost %s library!\n", qPrintable(lib)); | ||||||
|  |         return false; | ||||||
|  |       } | ||||||
|     } |     } | ||||||
| 		return true; |     return true; | ||||||
| 	} |   } | ||||||
| }; | }; | ||||||
|   | |||||||
| @@ -8,20 +8,17 @@ class qc_libtorrent_rasterbar : public ConfObj | |||||||
| { | { | ||||||
| public: | public: | ||||||
| 	qc_libtorrent_rasterbar(Conf *c) : ConfObj(c) {} | 	qc_libtorrent_rasterbar(Conf *c) : ConfObj(c) {} | ||||||
| 	QString name() const { return "libtorrent-rasterbar >= 0.14.4"; } | 	QString name() const { return "libtorrent-rasterbar >= 0.15.0"; } | ||||||
| 	QString shortname() const { return "libtorrent-rasterbar"; } | 	QString shortname() const { return "libtorrent-rasterbar"; } | ||||||
| 	bool exec(){ | 	bool exec(){ | ||||||
| 		QStringList incs; | 		QStringList incs; | ||||||
| 		QString req_ver = "0.14.4"; | 		QString req_ver = "0.15.0"; | ||||||
| 		QString version, libs, other; | 		QString version, libs, other; | ||||||
| 		VersionMode mode = VersionMin; | 		VersionMode mode = VersionMin; | ||||||
| 		if(!conf->findPkgConfig("libtorrent-rasterbar", mode, req_ver, &version, &incs, &libs, &other)) | 		if(!conf->findPkgConfig("libtorrent-rasterbar", mode, req_ver, &version, &incs, &libs, &other)) | ||||||
| 			return false; | 			return false; | ||||||
| 		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(conf->getenv("QC_DISABLE_GUI").isEmpty()) { |  | ||||||
|   		  conf->addLib("-lcrypto"); |  | ||||||
|                 } |  | ||||||
| 		return true; | 		return true; | ||||||
| 	} | 	} | ||||||
| }; | }; | ||||||
|   | |||||||
							
								
								
									
										12
									
								
								qcm/qt4.qcm
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								qcm/qt4.qcm
									
									
									
									
									
								
							| @@ -1,6 +1,6 @@ | |||||||
| /* | /* | ||||||
| -----BEGIN QCMOD----- | -----BEGIN QCMOD----- | ||||||
| name: Qt >= 4.5 | name: Qt >= 4.6 | ||||||
| arg: enable-debug, Enable debug mode | arg: enable-debug, Enable debug mode | ||||||
| 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----- | ||||||
| @@ -9,8 +9,8 @@ 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.5"; } | 	QString name() const { return "Qt >= 4.6"; } | ||||||
| 	QString shortname() const { return "Qt 4.5"; } | 	QString shortname() const { return "Qt 4.6"; } | ||||||
| 	bool exec() | 	bool exec() | ||||||
| 	{ | 	{ | ||||||
|                 // NOX mode |                 // NOX mode | ||||||
| @@ -19,7 +19,11 @@ public: | |||||||
| 		} | 		} | ||||||
|                 // Debug mode |                 // Debug mode | ||||||
|                 if(!conf->getenv("QC_ENABLE_DEBUG").isEmpty()) { |                 if(!conf->getenv("QC_ENABLE_DEBUG").isEmpty()) { | ||||||
|  |                   conf->addExtra("CONFIG -= release"); | ||||||
|                   conf->addExtra("CONFIG += debug"); |                   conf->addExtra("CONFIG += debug"); | ||||||
|  |                 } else { | ||||||
|  |                   conf->addExtra("CONFIG -= debug"); | ||||||
|  |                   conf->addExtra("CONFIG += release"); | ||||||
|                 } |                 } | ||||||
|                 #ifdef Q_OS_FREEBSD |                 #ifdef Q_OS_FREEBSD | ||||||
|                   conf->addLib("-lexecinfo"); |                   conf->addLib("-lexecinfo"); | ||||||
| @@ -27,6 +31,6 @@ public: | |||||||
|                 #else |                 #else | ||||||
|                   conf->addExtra("MANPREFIX = $$PREFIX/share");  |                   conf->addExtra("MANPREFIX = $$PREFIX/share");  | ||||||
|                 #endif |                 #endif | ||||||
| 		return(QT_VERSION >= 0x040500); | 		return(QT_VERSION >= 0x040600); | ||||||
| 	} | 	} | ||||||
| }; | }; | ||||||
|   | |||||||
							
								
								
									
										19
									
								
								qm_gen.pri
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								qm_gen.pri
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,19 @@ | |||||||
|  | TS_IN = $$fromfile(src/src.pro,TRANSLATIONS) | ||||||
|  | TS_IN_NOEXT = $$replace(TS_IN,".ts","") | ||||||
|  |               | ||||||
|  | isEmpty(QMAKE_LRELEASE) { | ||||||
|  |     win32|os2:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]\\lrelease.exe | ||||||
|  |     else:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease | ||||||
|  |     unix { | ||||||
|  |         !exists($$QMAKE_LRELEASE) { QMAKE_LRELEASE = lrelease-qt4 } | ||||||
|  |     } else { | ||||||
|  |         !exists($$QMAKE_LRELEASE) { QMAKE_LRELEASE = lrelease } | ||||||
|  |     } | ||||||
|  | } | ||||||
|  |  | ||||||
|  | message("Building translations") | ||||||
|  | for(L,TS_IN_NOEXT) { | ||||||
|  |     message("Processing $${L}") | ||||||
|  |     system("$$QMAKE_LRELEASE -silent src/$${L}.ts -qm src/$${L}.qm") | ||||||
|  |     !exists("src/$${L}.qm"):error("Building translations failed, cannot continue") | ||||||
|  | } | ||||||
							
								
								
									
										
											BIN
										
									
								
								src/Icons/oxygen/security-high.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								src/Icons/oxygen/security-high.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 1.6 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/Icons/oxygen/security-low.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								src/Icons/oxygen/security-low.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 1.6 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/Icons/oxygen/task-attention.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								src/Icons/oxygen/task-attention.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 651 B | 
| @@ -2,40 +2,118 @@ | |||||||
| Categories=Network;FileTransfer;P2P;Qt; | Categories=Network;FileTransfer;P2P;Qt; | ||||||
| Exec=qbittorrent %U | Exec=qbittorrent %U | ||||||
| GenericName=BitTorrent client | GenericName=BitTorrent client | ||||||
| GenericName[ar]=العميل BitTorrent |  | ||||||
| GenericName[bg]=Торент клиент |  | ||||||
| GenericName[cs]=BitTorrent klient |  | ||||||
| GenericName[de]=BitTorren Client |  | ||||||
| GenericName[el]=BitTorrent πελάτης |  | ||||||
| GenericName[es]=Cliente BitTorrent |  | ||||||
| GenericName[fi]=BitTorrent-ohjelma |  | ||||||
| GenericName[fr]=Client BitTorrent |  | ||||||
| GenericName[hr]=BitTorrent klijent |  | ||||||
| GenericName[hu]=BitTorrent kliens |  | ||||||
| GenericName[it]=Client BitTorrent |  | ||||||
| GenericName[ja]=BitTorrent クライアント |  | ||||||
| GenericName[ko]=비토렌트 클라이언트 |  | ||||||
| GenericName[lt]=BitTorrent klientas |  | ||||||
| GenericName[nl]=BitTorrent-cliënt |  | ||||||
| GenericName[pl]=Klient BitTorrent |  | ||||||
| GenericName[pt]=Cliente BitTorrent |  | ||||||
| GenericName[pt_BR]=Cliente BitTorrent |  | ||||||
| GenericName[ro]=Client BitTorrent |  | ||||||
| GenericName[ru]=клиент BitTorrent |  | ||||||
| GenericName[sk]=Klient siete BitTorrent |  | ||||||
| GenericName[sr]=BitTorrent-клијент |  | ||||||
| GenericName[sv]=BitTorrent-klient |  | ||||||
| GenericName[tr]=BitTorrent istemcisi |  | ||||||
| GenericName[uk]=BitTorrent-клієнт |  | ||||||
| GenericName[zh]=BitTorrent之用户 |  | ||||||
| GenericName[zh_TW]=BitTorrent客戶端 |  | ||||||
| Comment=Download and share files over BitTorrent | Comment=Download and share files over BitTorrent | ||||||
| Comment[fr]=Télécharger et partager des fichiers avec BitTorrent |  | ||||||
| Comment[pl]=Dzielenie się plikami przez BitTorrent |  | ||||||
| Icon=qbittorrent | Icon=qbittorrent | ||||||
| MimeType=application/x-bittorrent;x-scheme-handler/magnet; | MimeType=application/x-bittorrent;x-scheme-handler/magnet; | ||||||
| Name=qBittorrent | Name=qBittorrent | ||||||
| Name[ko]=큐비토런트 |  | ||||||
| Terminal=false | Terminal=false | ||||||
| Type=Application | Type=Application | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
|  | # Translations | ||||||
|  |  | ||||||
|  |  | ||||||
|  | # Translations | ||||||
|  | GenericName[ar]=العميل BitTorrent | ||||||
|  | Comment[be]=Сцягванне і раздача файлаў праз пратакол BitTorrent | ||||||
|  | GenericName[be]=BitTorrent-кліент | ||||||
|  | Name[be]=qBittorrent | ||||||
|  | Icon[be]=qbittorrent | ||||||
|  | GenericName[bg]=Торент клиент | ||||||
|  | Comment[cs]=Stahování a sdílení souborů přes síť BitTorrent | ||||||
|  | GenericName[cs]=BitTorrent klient | ||||||
|  | Name[cs]=qBittorrent | ||||||
|  | Icon[cs]=qbittorrent | ||||||
|  | GenericName[de]=BitTorren Client | ||||||
|  | Comment[el]=Λήψη και διαμοιρασμός αρχείων μέσω BitTorrent | ||||||
|  | GenericName[el]=BitTorrent πελάτης | ||||||
|  | Name[el]=qBittorrent | ||||||
|  | Icon[el]=qbittorrent | ||||||
|  | Comment[en_GB]=Download and share files over BitTorrent | ||||||
|  | GenericName[en_GB]=BitTorrent client | ||||||
|  | Name[en_GB]=qBittorrent | ||||||
|  | Icon[en_GB]=qbittorrent | ||||||
|  | Comment[es]=Descarga y comparte archivos por BitTorrent | ||||||
|  | GenericName[es]=Cliente BitTorrent | ||||||
|  | Name[es]=qBittorrent | ||||||
|  | Icon[es]=qbittorrent | ||||||
|  | Comment[eu]=Jeitsi eta elkarbanatu agiriak BitTorrent-en | ||||||
|  | GenericName[eu]=BitTorrent bezeroa | ||||||
|  | Name[eu]=qBittorrent | ||||||
|  | Icon[eu]=qbittorrent | ||||||
|  | Comment[fi]=Lataa ja jaa tiedostoja BitTorrentia käyttäen | ||||||
|  | GenericName[fi]=BitTorrent-ohjelma | ||||||
|  | Name[fi]=qBittorrent | ||||||
|  | Icon[fi]=qbittorrent | ||||||
|  | Comment[fr]=Télécharger et partager des fichiers avec BitTorrent | ||||||
|  | GenericName[fr]=Client BitTorrent | ||||||
|  | Comment[gl]=Descargue e comparta ficheiros co protocolo BitTorrent | ||||||
|  | GenericName[gl]=Cliente BitTorrent | ||||||
|  | Name[gl]=qBittorrent | ||||||
|  | Icon[gl]=qbittorrent | ||||||
|  | GenericName[hr]=BitTorrent klijent | ||||||
|  | GenericName[hu]=BitTorrent kliens | ||||||
|  | Comment[it]=Client BitTorrent per il download di file via internet | ||||||
|  | GenericName[it]=Client BitTorrent | ||||||
|  | Name[it]=qBittorrent | ||||||
|  | Icon[it]=qbittorrent | ||||||
|  | Comment[ja]=BitTorrent でファイルをダウンロードおよび共有します | ||||||
|  | GenericName[ja]=BitTorrent クライアント | ||||||
|  | Name[ja]=qBittorrent | ||||||
|  | Icon[ja]=qbittorrent | ||||||
|  | GenericName[ko]=비토렌트 클라이언트 | ||||||
|  | Name[ko]=큐비토런트 | ||||||
|  | GenericName[zh]=BitTorrent之用户 | ||||||
|  | Comment[lt]=Atsisiųskite bei dalinkitės failais BitTorrent tinkle | ||||||
|  | GenericName[lt]=BitTorrent klientas | ||||||
|  | Name[lt]=qBittorrent | ||||||
|  | Icon[lt]=qbittorrent | ||||||
|  | Comment[nb]=Last ned og del filer over BitTorrent | ||||||
|  | GenericName[nb]=BitTorrent-klient | ||||||
|  | Name[nb]=qBittorrent | ||||||
|  | Icon[nb]=qbittorrent | ||||||
|  | GenericName[nl]=BitTorrent-cliënt | ||||||
|  | Comment[pl]=Dzielenie się plikami przez BitTorrent | ||||||
|  | GenericName[pl]=Klient BitTorrent | ||||||
|  | Name[pl]=qBittorrent | ||||||
|  | Icon[pl]=qbittorrent | ||||||
|  | Comment[pt]=Transferir e partilhar ficheiros por BitTorrent | ||||||
|  | GenericName[pt]=Aplicação BitTorrent | ||||||
|  | Name[pt]=qBittorrent | ||||||
|  | Icon[pt]=qbittorrent | ||||||
|  | Comment[pt_BR]=Baixe e compartilhe arquivos através do qBittorrent | ||||||
|  | GenericName[pt_BR]=Cliente BitTorrent | ||||||
|  | Name[pt_BR]=qBittorrent | ||||||
|  | Icon[pt_BR]=qbittorrent | ||||||
|  | Comment[ro]=Descărcați  și partajați fișiere prin BitTorrent | ||||||
|  | GenericName[ro]=Client BitTorrent | ||||||
|  | Name[ro]=qBittorrent | ||||||
|  | Icon[ro]=qbittorrent | ||||||
|  | Comment[ru]=Скачивайте и делитесь файлами с помощью BitTorrent | ||||||
|  | GenericName[ru]=клиент BitTorrent | ||||||
|  | Name[ru]=qBittorrent | ||||||
|  | Icon[ru]=qbittorrent | ||||||
|  | GenericName[sk]=Klient siete BitTorrent | ||||||
|  | GenericName[sr]=BitTorrent-клијент | ||||||
|  | Comment[sv]=Hämta och dela filer över BitTorrent | ||||||
|  | GenericName[sv]=BitTorrent-klient | ||||||
|  | Name[sv]=qBittorrent | ||||||
|  | Icon[sv]=qbittorrent | ||||||
|  | GenericName[tr]=BitTorrent istemcisi | ||||||
|  | Comment[uk]=Завантажувати і обмінюватися файлами через BitTorrent | ||||||
|  | GenericName[uk]=BitTorrent-клієнт | ||||||
|  | Name[uk]=qBittorrent | ||||||
|  | Icon[uk]=qbittorrent | ||||||
|  | Comment[vi]=Tải về và chia sẻ các tập tin thông qua BitTorrent | ||||||
|  | GenericName[vi]=Máy trạm dạng BitTorrent | ||||||
|  | Name[vi]=qBittorrent | ||||||
|  | Icon[vi]=qbittorrent | ||||||
|  | Comment[zh_TW]=經由 BitTorrent 下載並分享檔案 | ||||||
|  | GenericName[zh_TW]=BitTorrent 客戶端 | ||||||
|  | Name[zh_TW]=qBittorrent | ||||||
|  | Icon[zh_TW]=qbittorrent | ||||||
|  | Comment[en_AU]=Download and share files over BitTorrent | ||||||
|  | GenericName[en_AU]=BitTorrent client | ||||||
|  | Name[en_AU]=qBittorrent | ||||||
|  | Icon[en_AU]=qbittorrent | ||||||
|   | |||||||
							
								
								
									
										
											BIN
										
									
								
								src/Icons/skin/qbittorrent_mono_dark.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								src/Icons/skin/qbittorrent_mono_dark.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 1.5 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/Icons/skin/qbittorrent_mono_light.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								src/Icons/skin/qbittorrent_mono_light.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 1.6 KiB | 
							
								
								
									
										426
									
								
								src/about.ui
									
									
									
									
									
								
							
							
						
						
									
										426
									
								
								src/about.ui
									
									
									
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							| @@ -33,6 +33,9 @@ | |||||||
|  |  | ||||||
| #include "ui_about.h" | #include "ui_about.h" | ||||||
| #include <QFile> | #include <QFile> | ||||||
|  | #include <QtGlobal> | ||||||
|  | #include <libtorrent/version.hpp> | ||||||
|  | #include <boost/version.hpp> | ||||||
|  |  | ||||||
| class about : public QDialog, private Ui::AboutDlg{ | class about : public QDialog, private Ui::AboutDlg{ | ||||||
|   Q_OBJECT |   Q_OBJECT | ||||||
| @@ -42,13 +45,31 @@ class about : public QDialog, private Ui::AboutDlg{ | |||||||
|       qDebug("Deleting about dlg"); |       qDebug("Deleting about dlg"); | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     about(QWidget *parent): QDialog(parent){ |     about(QWidget *parent): QDialog(parent) { | ||||||
|       setupUi(this); |       setupUi(this); | ||||||
|       setAttribute(Qt::WA_DeleteOnClose); |       setAttribute(Qt::WA_DeleteOnClose); | ||||||
|  |       // About | ||||||
|  |       QString aboutText = | ||||||
|  |           QString::fromUtf8("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\"><html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">p, li { white-space: pre-wrap; }</style></head><body style=\" font-family:'Lucida Grande'; font-size:13pt; font-weight:400; font-style:normal;\"><p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">") + | ||||||
|  |           tr("An advanced BitTorrent client programmed in C++, based on Qt4 toolkit and libtorrent-rasterbar.") + | ||||||
|  |           QString::fromUtf8(" <br /><br />") + | ||||||
|  |           trUtf8("Copyright ©2006-2013 The qBittorrent project") + | ||||||
|  |           QString::fromUtf8("<br /><br />") + | ||||||
|  |           tr("Home Page: ") + | ||||||
|  |           QString::fromUtf8("<a href=\"http://www.qbittorrent.org\"><span style=\" text-decoration: underline; color:#0000ff;\">http://www.qbittorrent.org</span></a></p><p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">") + | ||||||
|  |           tr("Bug Tracker: ") + | ||||||
|  |           QString::fromUtf8("<a href=\"http://bugs.qbittorrent.org\"><span style=\" text-decoration: underline; color:#0000ff;\">http://bugs.qbittorrent.org</span></a><br />") + | ||||||
|  |           tr("Forum: ") + | ||||||
|  |           QString::fromUtf8( | ||||||
|  |               "<a href=\"http://forum.qbittorrent.org\"><span style=\" text-decoration: underline; color:#0000ff;\">http://forum.qbittorrent.org</span></a></p><p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">") + | ||||||
|  |           tr("IRC: #qbittorrent on Freenode") + | ||||||
|  |           QString::fromUtf8( | ||||||
|  |               "</p></body></html>"); | ||||||
|  |       lb_about->setText(aboutText); | ||||||
|       // Set icons |       // Set icons | ||||||
|       logo->setPixmap(QPixmap(QString::fromUtf8(":/Icons/skin/qbittorrent22.png"))); |       logo->setPixmap(QPixmap(QString::fromUtf8(":/Icons/skin/qbittorrent22.png"))); | ||||||
|       //Title |       //Title | ||||||
|       lb_name->setText(QString::fromUtf8("<b><h1>")+tr("qBittorrent")+QString::fromUtf8(" "VERSION"</h1></b>")); |       lb_name->setText(QString::fromUtf8("<b><h1>qBittorrent")+QString::fromUtf8(" "VERSION"</h1></b>")); | ||||||
|       // Thanks |       // Thanks | ||||||
|       QString thanks_txt; |       QString thanks_txt; | ||||||
|       thanks_txt += QString::fromUtf8("<p>I would first like to thank sourceforge.net for hosting qBittorrent project and for their support.</p>"); |       thanks_txt += QString::fromUtf8("<p>I would first like to thank sourceforge.net for hosting qBittorrent project and for their support.</p>"); | ||||||
| @@ -59,46 +80,57 @@ class about : public QDialog, private Ui::AboutDlg{ | |||||||
|       te_thanks->setHtml(thanks_txt); |       te_thanks->setHtml(thanks_txt); | ||||||
|       // Translation |       // Translation | ||||||
|       QString trans_txt = "<p>"+tr("I would like to thank the following people who volunteered to translate qBittorrent:")+"</p>"; |       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>\ |       trans_txt += QString::fromUtf8("<ul><li><u>Arabic:</u> SDERAWI (abz8868@msn.com), sn51234 (nesseyan@gmail.com) and  Ibrahim Saed ibraheem_alex(Transifex)</li>\ | ||||||
|           <li><u>Armenian:</u> Hrant Ohanyan (hrantohanyan@mail.am)</li>\ |           <li><u>Armenian:</u> Hrant Ohanyan (hrantohanyan@mail.am)</li>\ | ||||||
|           <li><u>Brazilian:</u> Nick Marinho (nickmarinho@gmail.com)</li>\ |           <li><u>Basque:</u> Xabier Aramendi (azpidatziak@gmail.com)</li>\ | ||||||
|  |           <li><u>Belarusian:</u> Mihas Varantsou (meequz@gmail.com)</li>\ | ||||||
|           <li><u>Bulgarian:</u> Tsvetan & Boyko Bankoff (emerge_life@users.sourceforge.net)</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>\ |           <li><u>Catalan:</u> Francisco Luque Contreras (frannoe@ya.com)</li>\ | ||||||
|           <li><u>Chinese (Simplified):</u> Guo Yue (yue.guo0418@gmail.com)</li>\ |           <li><u>Chinese (Simplified):</u> Guo Yue (yue.guo0418@gmail.com)</li>\ | ||||||
|           <li><u>Chinese (Traditional):</u> Yi-Shun Wang (dnextstep@gmail.com)</li>\ |           <li><u>Chinese (Traditional):</u> Yi-Shun Wang (dnextstep@gmail.com) and 冥王歐西里斯 s8321414(Transifex)</li>\ | ||||||
|           <li><u>Croatian:</u> Oliver Mucafir (oliver.untwist@gmail.com)</li>\ |           <li><u>Croatian:</u> Oliver Mucafir (oliver.untwist@gmail.com)</li>\ | ||||||
|           <li><u>Czech:</u> Jirka Vilim (web@tets.cz)</li>\ |           <li><u>Czech:</u> Jirka Vilim (web@tets.cz) and Petr Cernobila abr(Transifex)</li>\ | ||||||
|           <li><u>Danish:</u> Mathias Nielsen (comoneo@gmail.com)</li>\ |           <li><u>Danish:</u> Mathias Nielsen (comoneo@gmail.com)</li>\ | ||||||
|           <li><u>Dutch:</u> Pieter Heyvaert (pieter_heyvaert@hotmail.com)</li>\ |           <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>English(Australia):</u> Robert Readman readmanr(Transifex)</li>\ | ||||||
|           <li><u>Galician:</u> Marcos Lans (marcoslansgarza@gmail.com)</li>\ |           <li><u>English(United Kingdom):</u> Robert Readman readmanr(Transifex)</li>\ | ||||||
|  |           <li><u>Finnish:</u> Niklas Laxström (nikerabbit@users.sourceforge.net), Pekka Niemi (pekka.niemi@iki.fi) and Jiri Grönroos artnay(Transifex)</li>\ | ||||||
|  |           <li><u>Galician:</u> Marcos Lans (marcoslansgarza@gmail.com) and antiparvos(Transifex)</li>\ | ||||||
|  |           <li><u>Georgian:</u> Beqa Arabuli (arabulibeqa@yahoo.com)</li>\ | ||||||
|           <li><u>German:</u> Niels Hoffmann (zentralmaschine@users.sourceforge.net)</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>Greek:</u> Tsvetan Bankov (emerge_life@users.sourceforge.net), Stephanos Antaris (santaris@csd.auth.gr), sledgehammer999(hammered999@gmail.com) and Γιάννης Ανθυμίδης Evropi(Transifex)</li>\ | ||||||
|  |           <li><u>Hebrew:</u> David Deutsch (d.deffo@gmail.com)</li>\ | ||||||
|           <li><u>Hungarian:</u> Majoros Péter (majoros.peterj@gmail.com)</li>\ |           <li><u>Hungarian:</u> Majoros Péter (majoros.peterj@gmail.com)</li>\ | ||||||
|           <li><u>Italian:</u> Matteo Sechi (bu17714@gmail.com)</li>\ |           <li><u>Italian:</u> bovirus (bovirus@live.it) and Matteo Sechi (bu17714@gmail.com)</li>\ | ||||||
|           <li><u>Japanese:</u> Nardog (alphisation@gmail.com)</li>\ |           <li><u>Japanese:</u> Masato Hashimoto (cabezon.hashimoto@gmail.com)</li>\ | ||||||
|           <li><u>Korean:</u> Jin Woo Sin (jin828sin@users.sourceforge.net)</li>\ |           <li><u>Korean:</u> Jin Woo Sin (jin828sin@users.sourceforge.net)</li>\ | ||||||
|           <li><u>Lithuanian:</u> Naglis Jonaitis (njonaitis@gmail.com)</li>\ |           <li><u>Lithuanian:</u> Naglis Jonaitis (njonaitis@gmail.com)</li>\ | ||||||
|           <li><u>Norwegian:</u> Tomaso</li>\ |           <li><u>Norwegian:</u> Tomaso</li>\ | ||||||
|           <li><u>Polish:</u> Mariusz Fik (fisiu@opensuse.org)</li>\ |           <li><u>Polish:</u> Mariusz Fik (fisiu@opensuse.org)</li>\ | ||||||
|           <li><u>Portuguese:</u> Nick Marinho (nickmarinho@gmail.com)</li>\ |           <li><u>Portuguese:</u> Sérgio Marques smarquespt(Transifex)</li>\ | ||||||
|           <li><u>Romanian:</u> Obada Denis (obadadenis@users.sourceforge.net)</li>\ |           <li><u>Portuguese(Brazil):</u> Nick Marinho (nickmarinho@gmail.com)</li>\ | ||||||
|           <li><u>Russian:</u> Nick Khazov (m2k3d0n@users.sourceforge.net) and Alexey Morsov (samurai@ricom.ru)</li>\ |           <li><u>Romanian:</u> Obada Denis (obadadenis@users.sourceforge.net), Adrian Gabor Adriannho(Transifex) and Mihai Coman z0id(Transifex)</li>\ | ||||||
|  |           <li><u>Russian:</u> Nick Khazov (m2k3d0n at users.sourceforge.net), Alexey Morsov (samurai@ricom.ru), Nick Tiskov Dayman(daymansmail (at) gmail (dot) com), Dmitry DmitryKX(Transifex) and kraleksandr kraleksandr(Transifex)</li>\ | ||||||
|           <li><u>Serbian:</u> Anaximandar Milet (anaximandar@operamail.com)</li>\ |           <li><u>Serbian:</u> Anaximandar Milet (anaximandar@operamail.com)</li>\ | ||||||
|           <li><u>Slovak:</u>  helix84</li>\ |           <li><u>Slovak:</u>  helix84</li>\ | ||||||
|           <li><u>Spanish:</u> Francisco Luque Contreras (frannoe@ya.com)</li>\ |           <li><u>Spanish:</u> Alfredo Monclús (alfrix), Francisco Luque Contreras (frannoe@ya.com) and José Antonio Moray moray33(Transifex)</li>\ | ||||||
|           <li><u>Swedish:</u> Daniel Nylander (po@danielnylander.se)</li>\ |           <li><u>Swedish:</u> Daniel Nylander (po@danielnylander.se) and Emil Hammarberg Ooglogput(Transifex)</li>\ | ||||||
|           <li><u>Turkish:</u> Hasan YILMAZ (iletisim@hedefturkce.com) and Erdem Bingöl (erdem84@gmail.com)</li>\ |           <li><u>Turkish:</u> Hasan YILMAZ (iletisim@hedefturkce.com) and Erdem Bingöl (erdem84@gmail.com)</li>\ | ||||||
|           <li><u>Ukrainian:</u> Andrey Shpachenko (masterfix@users.sourceforge.net) and Oleh Prypin (blaxpirit@gmail.com)</li></ul>"); |           <li><u>Ukrainian:</u> Oleh Prypin (blaxpirit@gmail.com)</li>\ | ||||||
|  |           <li><u>Vietnamese:</u> Anh Phan ppanhh(Transifex)</li></ul>"); | ||||||
|       trans_txt += "<p>"+tr("Please contact me if you would like to translate qBittorrent into your own language.")+"</p>"; |       trans_txt += "<p>"+tr("Please contact me if you would like to translate qBittorrent into your own language.")+"</p>"; | ||||||
|       te_translation->setHtml(trans_txt); |       te_translation->setHtml(trans_txt); | ||||||
|       // License |       // License | ||||||
|       te_license->append(QString::fromUtf8("<a name='top'></a>")); |       te_license->append(QString::fromUtf8("<a name='top'></a>")); | ||||||
|       QFile licensefile(":/gpl.html"); |       QFile licensefile(":/gpl.html"); | ||||||
|       if(licensefile.open(QIODevice::ReadOnly|QIODevice::Text)) { |       if (licensefile.open(QIODevice::ReadOnly|QIODevice::Text)) { | ||||||
|         te_license->setHtml(licensefile.readAll()); |         te_license->setHtml(licensefile.readAll()); | ||||||
|         licensefile.close(); |         licensefile.close(); | ||||||
|       } |       } | ||||||
|  |       // Libraries | ||||||
|  |       label_11->setText(QT_VERSION_STR); | ||||||
|  |       label_12->setText(LIBTORRENT_VERSION); | ||||||
|  |       label_13->setText(QString::number(BOOST_VERSION / 100000) + "." + QString::number((BOOST_VERSION / 100) % 1000) + "." + QString::number(BOOST_VERSION % 100)); | ||||||
|       show(); |       show(); | ||||||
|     } |     } | ||||||
| }; | }; | ||||||
|   | |||||||
							
								
								
									
										736
									
								
								src/addnewtorrentdialog.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										736
									
								
								src/addnewtorrentdialog.cpp
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										103
									
								
								src/addnewtorrentdialog.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										103
									
								
								src/addnewtorrentdialog.h
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,103 @@ | |||||||
|  | /* | ||||||
|  |  * Bittorrent Client using Qt4 and libtorrent. | ||||||
|  |  * Copyright (C) 2012  Christophe Dumez | ||||||
|  |  * | ||||||
|  |  * This program is free software; you can redistribute it and/or | ||||||
|  |  * modify it under the terms of the GNU General Public License | ||||||
|  |  * as published by the Free Software Foundation; either version 2 | ||||||
|  |  * of the License, or (at your option) any later version. | ||||||
|  |  * | ||||||
|  |  * This program is distributed in the hope that it will be useful, | ||||||
|  |  * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||||
|  |  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | ||||||
|  |  * GNU General Public License for more details. | ||||||
|  |  * | ||||||
|  |  * You should have received a copy of the GNU General Public License | ||||||
|  |  * along with this program; if not, write to the Free Software | ||||||
|  |  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA. | ||||||
|  |  * | ||||||
|  |  * In addition, as a special exception, the copyright holders give permission to | ||||||
|  |  * link this program with the OpenSSL project's "OpenSSL" library (or with | ||||||
|  |  * modified versions of it that use the same license as the "OpenSSL" library), | ||||||
|  |  * and distribute the linked executables. You must obey the GNU General Public | ||||||
|  |  * License in all respects for all of the code used other than "OpenSSL".  If you | ||||||
|  |  * modify file(s), you may extend this exception to your version of the file(s), | ||||||
|  |  * but you are not obligated to do so. If you do not wish to do so, delete this | ||||||
|  |  * exception statement from your version. | ||||||
|  |  * | ||||||
|  |  * Contact : chris@qbittorrent.org | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | #ifndef ADDNEWTORRENTDIALOG_H | ||||||
|  | #define ADDNEWTORRENTDIALOG_H | ||||||
|  |  | ||||||
|  | #include <QShortcut> | ||||||
|  | #include <QDialog> | ||||||
|  | #include <QUrl> | ||||||
|  | #include <libtorrent/torrent_info.hpp> | ||||||
|  | #include "qtorrenthandle.h" | ||||||
|  |  | ||||||
|  | QT_BEGIN_NAMESPACE | ||||||
|  | namespace Ui { | ||||||
|  | class AddNewTorrentDialog; | ||||||
|  | } | ||||||
|  | QT_END_NAMESPACE | ||||||
|  |  | ||||||
|  | class TorrentContentFilterModel; | ||||||
|  | class PropListDelegate; | ||||||
|  |  | ||||||
|  | class AddNewTorrentDialog : public QDialog | ||||||
|  | { | ||||||
|  |   Q_OBJECT | ||||||
|  |    | ||||||
|  | public: | ||||||
|  |   ~AddNewTorrentDialog(); | ||||||
|  |  | ||||||
|  |   static void showTorrent(const QString& torrent_path, const QString& from_url = QString()); | ||||||
|  |   static void showMagnet(const QString& torrent_link); | ||||||
|  |  | ||||||
|  | protected: | ||||||
|  |   void showEvent(QShowEvent *event); | ||||||
|  |  | ||||||
|  | private slots: | ||||||
|  |   void showAdvancedSettings(bool show); | ||||||
|  |   void displayContentTreeMenu(const QPoint&); | ||||||
|  |   void updateDiskSpaceLabel(); | ||||||
|  |   void onSavePathChanged(int); | ||||||
|  |   void relayout(); | ||||||
|  |   void renameSelectedFile(); | ||||||
|  |   void setdialogPosition(); | ||||||
|  |   void updateMetadata(const QTorrentHandle& h); | ||||||
|  |  | ||||||
|  | protected slots: | ||||||
|  |   virtual void accept(); | ||||||
|  |   virtual void reject(); | ||||||
|  |  | ||||||
|  | private: | ||||||
|  |   explicit AddNewTorrentDialog(QWidget *parent = 0); | ||||||
|  |   bool loadTorrent(const QString& torrent_path, const QString& from_url); | ||||||
|  |   bool loadMagnet(const QString& magnet_uri); | ||||||
|  |   void loadSavePathHistory(); | ||||||
|  |   void saveSavePathHistory() const; | ||||||
|  |   int indexOfSavePath(const QString& save_path); | ||||||
|  |   void updateFileNameInSavePaths(const QString& new_filename); | ||||||
|  |   void loadState(); | ||||||
|  |   void saveState(); | ||||||
|  |   void setMetadataProgressIndicator(bool visibleIndicator, const QString &labelText = QString()); | ||||||
|  |  | ||||||
|  | private: | ||||||
|  |   Ui::AddNewTorrentDialog *ui; | ||||||
|  |   TorrentContentFilterModel *m_contentModel; | ||||||
|  |   PropListDelegate *m_contentDelegate; | ||||||
|  |   bool m_isMagnet; | ||||||
|  |   bool m_hasMetadata; | ||||||
|  |   QString m_filePath; | ||||||
|  |   QString m_url; | ||||||
|  |   QString m_hash; | ||||||
|  |   boost::intrusive_ptr<libtorrent::torrent_info> m_torrentInfo; | ||||||
|  |   QStringList m_filesPath; | ||||||
|  |   bool m_hasRenamedFile; | ||||||
|  |   QShortcut *editHotkey; | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | #endif // ADDNEWTORRENTDIALOG_H | ||||||
							
								
								
									
										303
									
								
								src/addnewtorrentdialog.ui
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										303
									
								
								src/addnewtorrentdialog.ui
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										121
									
								
								src/autoexpandabledialog.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										121
									
								
								src/autoexpandabledialog.cpp
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,121 @@ | |||||||
|  | /* | ||||||
|  |  * Bittorrent Client using Qt4 and libtorrent. | ||||||
|  |  * Copyright (C) 2013  Nick Tiskov | ||||||
|  |  * | ||||||
|  |  * This program is free software; you can redistribute it and/or | ||||||
|  |  * modify it under the terms of the GNU General Public License | ||||||
|  |  * as published by the Free Software Foundation; either version 2 | ||||||
|  |  * of the License, or (at your option) any later version. | ||||||
|  |  * | ||||||
|  |  * This program is distributed in the hope that it will be useful, | ||||||
|  |  * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||||
|  |  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | ||||||
|  |  * GNU General Public License for more details. | ||||||
|  |  * | ||||||
|  |  * You should have received a copy of the GNU General Public License | ||||||
|  |  * along with this program; if not, write to the Free Software | ||||||
|  |  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA. | ||||||
|  |  * | ||||||
|  |  * In addition, as a special exception, the copyright holders give permission to | ||||||
|  |  * link this program with the OpenSSL project's "OpenSSL" library (or with | ||||||
|  |  * modified versions of it that use the same license as the "OpenSSL" library), | ||||||
|  |  * and distribute the linked executables. You must obey the GNU General Public | ||||||
|  |  * License in all respects for all of the code used other than "OpenSSL".  If you | ||||||
|  |  * modify file(s), you may extend this exception to your version of the file(s), | ||||||
|  |  * but you are not obligated to do so. If you do not wish to do so, delete this | ||||||
|  |  * exception statement from your version. | ||||||
|  |  * | ||||||
|  |  * Contact : daymansmail@gmail.com | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | #include <QDesktopWidget> | ||||||
|  |  | ||||||
|  | #include "mainwindow.h" | ||||||
|  | #include "autoexpandabledialog.h" | ||||||
|  | #include "ui_autoexpandabledialog.h" | ||||||
|  |  | ||||||
|  | AutoExpandableDialog::AutoExpandableDialog(QWidget *parent) : QDialog(parent), ui(new Ui::AutoExpandableDialog) { | ||||||
|  |   ui->setupUi(this); | ||||||
|  | } | ||||||
|  |  | ||||||
|  | AutoExpandableDialog::~AutoExpandableDialog() { | ||||||
|  |   delete ui; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | QString AutoExpandableDialog::getText(QWidget *parent, const QString &title, const QString &label, | ||||||
|  |                                       QLineEdit::EchoMode mode, const QString &text, bool *ok, | ||||||
|  |                                       Qt::InputMethodHints inputMethodHints) { | ||||||
|  |  | ||||||
|  |   AutoExpandableDialog d(parent); | ||||||
|  |   d.setWindowTitle(title); | ||||||
|  |   d.ui->textLabel->setText(label); | ||||||
|  |   d.ui->textEdit->setText(text); | ||||||
|  |   d.ui->textEdit->setEchoMode(mode); | ||||||
|  |   d.ui->textEdit->setInputMethodHints(inputMethodHints); | ||||||
|  |  | ||||||
|  |   bool res = d.exec(); | ||||||
|  |   if (ok) | ||||||
|  |     *ok = res; | ||||||
|  |  | ||||||
|  |   if (!res) | ||||||
|  |     return QString(); | ||||||
|  |  | ||||||
|  |   return d.ui->textEdit->text(); | ||||||
|  | } | ||||||
|  |  | ||||||
|  | void AutoExpandableDialog::showEvent(QShowEvent *e) { | ||||||
|  |   // Overriding showEvent is required for consistent UI with fixed size under custom DPI | ||||||
|  |   // Show dialog | ||||||
|  |   QDialog::showEvent(e); | ||||||
|  |   // and resize textbox to fit the text | ||||||
|  |  | ||||||
|  |   // NOTE: For some strange reason QFontMetrics gets more accurate | ||||||
|  |   // when called from showEvent. Only 6 symbols off instead of 11 symbols off. | ||||||
|  |   int textW = ui->textEdit->fontMetrics().width(ui->textEdit->text()) + 4; | ||||||
|  |   int screenW = QApplication::desktop()->width() / 4; | ||||||
|  |   int wd = textW; | ||||||
|  |  | ||||||
|  |   if (!windowTitle().isEmpty()) { | ||||||
|  |     int _w = fontMetrics().width(windowTitle()); | ||||||
|  |     if (_w > wd) | ||||||
|  |       wd = _w; | ||||||
|  |   } | ||||||
|  |  | ||||||
|  |   if (!ui->textLabel->text().isEmpty()) { | ||||||
|  |     int _w = ui->textLabel->fontMetrics().width(ui->textLabel->text()); | ||||||
|  |     if (_w > wd) | ||||||
|  |       wd = _w; | ||||||
|  |   } | ||||||
|  |  | ||||||
|  |  | ||||||
|  |   // Now resize the dialog to fit the contents | ||||||
|  |   // Maximum value is whichever is smaller: | ||||||
|  |   // 1. screen width / 4 | ||||||
|  |   // 2. max width of text from either of: label, title, textedit | ||||||
|  |   // If the value is less than dialog default size default size is used | ||||||
|  |   wd = textW < screenW ? textW : screenW; | ||||||
|  |   if (wd > width()) | ||||||
|  |     resize(width() - ui->horizontalLayout->sizeHint().width() + wd, height()); | ||||||
|  |  | ||||||
|  |   // Use old dialog behavior: prohibit resizing the dialog | ||||||
|  |   setFixedHeight(height()); | ||||||
|  |  | ||||||
|  |   // Update geometry: center on screen | ||||||
|  |   QDesktopWidget *desk = QApplication::desktop(); | ||||||
|  |   MainWindow *wnd = qobject_cast<MainWindow*>(QApplication::activeWindow()); | ||||||
|  |   QPoint p = QCursor::pos(); | ||||||
|  |  | ||||||
|  |   int screenNum = 0; | ||||||
|  |   if (wnd == 0) | ||||||
|  |     screenNum = desk->screenNumber(p); | ||||||
|  |   else if (!wnd->isHidden()) | ||||||
|  |     screenNum = desk->screenNumber(wnd); | ||||||
|  |   else | ||||||
|  |     screenNum = desk->screenNumber(p); | ||||||
|  |  | ||||||
|  |   QRect screenRes = desk->screenGeometry(screenNum); | ||||||
|  |  | ||||||
|  |   QRect geom = geometry(); | ||||||
|  |   geom.moveCenter(QPoint(screenRes.width() / 2, screenRes.height() / 2)); | ||||||
|  |   setGeometry(geom); | ||||||
|  | } | ||||||
							
								
								
									
										60
									
								
								src/autoexpandabledialog.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										60
									
								
								src/autoexpandabledialog.h
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,60 @@ | |||||||
|  | /* | ||||||
|  |  * Bittorrent Client using Qt4 and libtorrent. | ||||||
|  |  * Copyright (C) 2013  Nick Tiskov | ||||||
|  |  * | ||||||
|  |  * This program is free software; you can redistribute it and/or | ||||||
|  |  * modify it under the terms of the GNU General Public License | ||||||
|  |  * as published by the Free Software Foundation; either version 2 | ||||||
|  |  * of the License, or (at your option) any later version. | ||||||
|  |  * | ||||||
|  |  * This program is distributed in the hope that it will be useful, | ||||||
|  |  * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||||
|  |  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | ||||||
|  |  * GNU General Public License for more details. | ||||||
|  |  * | ||||||
|  |  * You should have received a copy of the GNU General Public License | ||||||
|  |  * along with this program; if not, write to the Free Software | ||||||
|  |  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA. | ||||||
|  |  * | ||||||
|  |  * In addition, as a special exception, the copyright holders give permission to | ||||||
|  |  * link this program with the OpenSSL project's "OpenSSL" library (or with | ||||||
|  |  * modified versions of it that use the same license as the "OpenSSL" library), | ||||||
|  |  * and distribute the linked executables. You must obey the GNU General Public | ||||||
|  |  * License in all respects for all of the code used other than "OpenSSL".  If you | ||||||
|  |  * modify file(s), you may extend this exception to your version of the file(s), | ||||||
|  |  * but you are not obligated to do so. If you do not wish to do so, delete this | ||||||
|  |  * exception statement from your version. | ||||||
|  |  * | ||||||
|  |  * Contact : daymansmail@gmail.com | ||||||
|  |  */ | ||||||
|  |  | ||||||
|  | #ifndef AUTOEXPANDABLEDIALOG_H | ||||||
|  | #define AUTOEXPANDABLEDIALOG_H | ||||||
|  |  | ||||||
|  | #include <QDialog> | ||||||
|  | #include <QString> | ||||||
|  | #include <QLineEdit> | ||||||
|  |  | ||||||
|  | namespace Ui { | ||||||
|  | class AutoExpandableDialog; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | class AutoExpandableDialog : public QDialog { | ||||||
|  |   Q_OBJECT | ||||||
|  |    | ||||||
|  | public: | ||||||
|  |   explicit AutoExpandableDialog(QWidget *parent = 0); | ||||||
|  |   ~AutoExpandableDialog(); | ||||||
|  |  | ||||||
|  |   static QString getText(QWidget *parent, const QString& title,  const QString& label, | ||||||
|  |                          QLineEdit::EchoMode mode = QLineEdit::Normal, const QString & text = QString(), | ||||||
|  |                          bool * ok = 0, Qt::InputMethodHints inputMethodHints = Qt::ImhNone); | ||||||
|  |  | ||||||
|  | protected: | ||||||
|  |   void showEvent(QShowEvent *e); | ||||||
|  |    | ||||||
|  | private: | ||||||
|  |   Ui::AutoExpandableDialog *ui; | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | #endif // AUTOEXPANDABLEDIALOG_H | ||||||
Some files were not shown because too many files have changed in this diff Show More
		Reference in New Issue
	
	Block a user