You've already forked qBittorrent
mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-10-12 03:12:18 +02:00
Compare commits
874 Commits
release-3.
...
release-3.
Author | SHA1 | Date | |
---|---|---|---|
![]() |
0795320086 | ||
![]() |
bd6877a0bd | ||
![]() |
b47292c39f | ||
![]() |
3d2b1b876b | ||
![]() |
843472e663 | ||
![]() |
e952e3167e | ||
![]() |
67f05edf71 | ||
![]() |
3ab76cb985 | ||
![]() |
509d97b0ad | ||
![]() |
67ae08df3c | ||
![]() |
38de6b1e41 | ||
![]() |
72b179805d | ||
![]() |
beeda5e0b2 | ||
![]() |
356db2f2f7 | ||
![]() |
19acbf587f | ||
![]() |
5eee3f7357 | ||
![]() |
8f990d5d7e | ||
![]() |
f0ec94c31c | ||
![]() |
e37dfa96f9 | ||
![]() |
4b48db3273 | ||
![]() |
545002a809 | ||
![]() |
e2e9470e10 | ||
![]() |
0bf1abba6a | ||
![]() |
24165856e9 | ||
![]() |
657f0640b9 | ||
![]() |
faffefc4ff | ||
![]() |
0619aacf1f | ||
![]() |
9edbbb6473 | ||
![]() |
87ee720c0c | ||
![]() |
b7ca036bc3 | ||
![]() |
c4442c98b9 | ||
![]() |
fee8036a7a | ||
![]() |
94bd4308c7 | ||
![]() |
5e5785435a | ||
![]() |
d7f02a7ee7 | ||
![]() |
e6480f9dff | ||
![]() |
e9f6cfc2e8 | ||
![]() |
4f68d263d4 | ||
![]() |
6a672472a2 | ||
![]() |
3590ac2997 | ||
![]() |
98fe5e11dd | ||
![]() |
9df5c0292b | ||
![]() |
1f2d25a1ff | ||
![]() |
f1dd7a091c | ||
![]() |
5457bde8d0 | ||
![]() |
2e325d9506 | ||
![]() |
0264a7bf58 | ||
![]() |
32fe930b88 | ||
![]() |
72883ffb73 | ||
![]() |
f2c24dd8c3 | ||
![]() |
8904139c6d | ||
![]() |
571f46886f | ||
![]() |
0cd691e167 | ||
![]() |
4f65e2d468 | ||
![]() |
35981f6ef5 | ||
![]() |
dc493880f3 | ||
![]() |
872e78ca21 | ||
![]() |
7b601796d7 | ||
![]() |
09ef552aea | ||
![]() |
b4c9cae0d1 | ||
![]() |
6d2a0ae83b | ||
![]() |
238a925000 | ||
![]() |
cce01cfb8e | ||
![]() |
b2db1972f3 | ||
![]() |
8b851fe2b9 | ||
![]() |
e3c9488fb0 | ||
![]() |
c27fb110f8 | ||
![]() |
ec61f24099 | ||
![]() |
130ee5a71e | ||
![]() |
cb3e7e6bd6 | ||
![]() |
7fd65d5428 | ||
![]() |
442f521bf5 | ||
![]() |
016052aea1 | ||
![]() |
411982e2b0 | ||
![]() |
4b93ccd4e4 | ||
![]() |
6603a8947a | ||
![]() |
031e354577 | ||
![]() |
ec7fb331e0 | ||
![]() |
a232b77104 | ||
![]() |
8c11245469 | ||
![]() |
60857d3b8e | ||
![]() |
2fe6b76968 | ||
![]() |
6c7350fce0 | ||
![]() |
c770f4d0bc | ||
![]() |
876e96911f | ||
![]() |
5620fd120e | ||
![]() |
ea7f6046b4 | ||
![]() |
fddac5d679 | ||
![]() |
2c4bc68af1 | ||
![]() |
7676f49612 | ||
![]() |
e879279019 | ||
![]() |
84b7680718 | ||
![]() |
be180140a3 | ||
![]() |
c051c279d4 | ||
![]() |
964dcc4d8a | ||
![]() |
64cf93b889 | ||
![]() |
365737afe1 | ||
![]() |
2cf14f0120 | ||
![]() |
46bb25ba9f | ||
![]() |
ee5a72c570 | ||
![]() |
18b56f4d0a | ||
![]() |
f626276218 | ||
![]() |
e28554f85c | ||
![]() |
a0a3447b2e | ||
![]() |
4049ca7308 | ||
![]() |
c28151ba92 | ||
![]() |
81e1a050a2 | ||
![]() |
34d5824c4a | ||
![]() |
bb875df400 | ||
![]() |
61f47d366a | ||
![]() |
8347eb157d | ||
![]() |
dd22c9b138 | ||
![]() |
7f6ad55042 | ||
![]() |
55b06ab9ba | ||
![]() |
21f0a5eb76 | ||
![]() |
16ed11623f | ||
![]() |
c184cf8d7d | ||
![]() |
6a90214eb2 | ||
![]() |
226ec0610a | ||
![]() |
694bd7cb95 | ||
![]() |
9e807e7151 | ||
![]() |
78fe7fcf9d | ||
![]() |
c2465f931e | ||
![]() |
8d50325961 | ||
![]() |
570a651a59 | ||
![]() |
0eaa2aeef2 | ||
![]() |
2c7e309493 | ||
![]() |
ded3cf5798 | ||
![]() |
4edac3e974 | ||
![]() |
53885fb5e4 | ||
![]() |
3942c095f6 | ||
![]() |
94be3b930d | ||
![]() |
09bc14cc57 | ||
![]() |
51b93b4284 | ||
![]() |
9c50ea14cb | ||
![]() |
42a74ea78e | ||
![]() |
1ac68a9192 | ||
![]() |
29b5d460ea | ||
![]() |
a441bca4de | ||
![]() |
e2da3f2ebd | ||
![]() |
f235d412f8 | ||
![]() |
60b103b062 | ||
![]() |
0fdb23098b | ||
![]() |
51c296ac69 | ||
![]() |
a120842ba2 | ||
![]() |
8911de9349 | ||
![]() |
013a1b8403 | ||
![]() |
1492a24391 | ||
![]() |
bf1559320b | ||
![]() |
d5648a67ae | ||
![]() |
a6ec82682d | ||
![]() |
bd359ad498 | ||
![]() |
458f48b290 | ||
![]() |
a0ae21148a | ||
![]() |
5dc9b5c2dd | ||
![]() |
48175bbb85 | ||
![]() |
3b03bb286e | ||
![]() |
23fdf3a0bc | ||
![]() |
4cf7618c52 | ||
![]() |
6fd9413dae | ||
![]() |
120d073a04 | ||
![]() |
8fa2adb6fc | ||
![]() |
70105d5834 | ||
![]() |
05961faf42 | ||
![]() |
386706f05b | ||
![]() |
1813e96a42 | ||
![]() |
eaf6e47391 | ||
![]() |
8ba82064cd | ||
![]() |
5d5a0de694 | ||
![]() |
145180c2a1 | ||
![]() |
50881b9972 | ||
![]() |
a115932bc1 | ||
![]() |
c7fd0fbe45 | ||
![]() |
d513d002cc | ||
![]() |
a570bd5e2c | ||
![]() |
bdacfd540c | ||
![]() |
c89b9edf27 | ||
![]() |
0fdf788624 | ||
![]() |
f0ae30070b | ||
![]() |
8fb8f4b467 | ||
![]() |
c3a2e50191 | ||
![]() |
b045b5ebf7 | ||
![]() |
6436152c75 | ||
![]() |
9c3ae53330 | ||
![]() |
acd5fcfb00 | ||
![]() |
9a6f8ab402 | ||
![]() |
0f854014af | ||
![]() |
a11175afba | ||
![]() |
c5776c3bf1 | ||
![]() |
19d566253f | ||
![]() |
0d59d6a03e | ||
![]() |
c7b2ee367f | ||
![]() |
510ec029ea | ||
![]() |
1f2daed9d6 | ||
![]() |
08b854ce74 | ||
![]() |
6b34803c59 | ||
![]() |
fca224b9d0 | ||
![]() |
4f5009351f | ||
![]() |
c1f77d45ab | ||
![]() |
60f0447603 | ||
![]() |
6ae208a661 | ||
![]() |
781c8034a5 | ||
![]() |
4cf8359257 | ||
![]() |
3ed4de3043 | ||
![]() |
a374b99ba2 | ||
![]() |
601734a59b | ||
![]() |
69cc97c3dd | ||
![]() |
226f74a866 | ||
![]() |
cf35392cd2 | ||
![]() |
27319e9e64 | ||
![]() |
69b8544e26 | ||
![]() |
41e5dc8911 | ||
![]() |
ba1ffa4e54 | ||
![]() |
4edc073373 | ||
![]() |
1f00d2e5d7 | ||
![]() |
d87e42ba00 | ||
![]() |
975b1d5257 | ||
![]() |
5f84363afb | ||
![]() |
545c526e2f | ||
![]() |
06fcc57619 | ||
![]() |
06c6a444c9 | ||
![]() |
8474d0d199 | ||
![]() |
0f4610c127 | ||
![]() |
d753988729 | ||
![]() |
a6b948077a | ||
![]() |
3276cc4987 | ||
![]() |
71557fe784 | ||
![]() |
29fc5bc80d | ||
![]() |
db07551e4c | ||
![]() |
8f6eb795e3 | ||
![]() |
0a37799e6e | ||
![]() |
76d6d9a4f9 | ||
![]() |
0c8abd0abb | ||
![]() |
ddc8420810 | ||
![]() |
a4ff039abc | ||
![]() |
c8be062e19 | ||
![]() |
29443a2c10 | ||
![]() |
e402556e91 | ||
![]() |
4ed4ebcdb7 | ||
![]() |
a280467270 | ||
![]() |
9b1090332b | ||
![]() |
18a520c9f9 | ||
![]() |
af871ef8af | ||
![]() |
3af7eb8e03 | ||
![]() |
3439300cda | ||
![]() |
a8027565c9 | ||
![]() |
3d4e1a8127 | ||
![]() |
7b6a1a1955 | ||
![]() |
3f8dc60680 | ||
![]() |
9be449dd7f | ||
![]() |
c46f2ba097 | ||
![]() |
c2c441ed08 | ||
![]() |
c1e52fa1cd | ||
![]() |
fbed5dc606 | ||
![]() |
97978068c6 | ||
![]() |
006e34880a | ||
![]() |
1fd5c5d8b5 | ||
![]() |
68ac9fda2d | ||
![]() |
c5d807ef65 | ||
![]() |
e17f10ae6b | ||
![]() |
78c5d1c12f | ||
![]() |
26fb54299b | ||
![]() |
8ad82fc748 | ||
![]() |
6e5aab7e98 | ||
![]() |
fd39efd846 | ||
![]() |
86dba7bd21 | ||
![]() |
ac3b01e02e | ||
![]() |
c267036427 | ||
![]() |
0a0c8f307b | ||
![]() |
e804e6e91a | ||
![]() |
67e90d8d2a | ||
![]() |
88abe2baff | ||
![]() |
23748547a2 | ||
![]() |
0b68c2356c | ||
![]() |
0aaf4d1050 | ||
![]() |
ce535c9492 | ||
![]() |
3e6d76245c | ||
![]() |
18f3517efa | ||
![]() |
09e85900d7 | ||
![]() |
6e09028682 | ||
![]() |
59427ed6af | ||
![]() |
340288f308 | ||
![]() |
b76428420e | ||
![]() |
22d9427e20 | ||
![]() |
2e3cce6755 | ||
![]() |
3f9b568808 | ||
![]() |
a74bac20c4 | ||
![]() |
ee6b968f2f | ||
![]() |
00fae05507 | ||
![]() |
9718b7d9ba | ||
![]() |
bf0319f7b2 | ||
![]() |
5b232528cc | ||
![]() |
1f17a7836d | ||
![]() |
e183c12bed | ||
![]() |
3901f1555d | ||
![]() |
84f6a82d98 | ||
![]() |
100cff1738 | ||
![]() |
d12ab5c048 | ||
![]() |
055ad080a1 | ||
![]() |
c771703c34 | ||
![]() |
cf1c934083 | ||
![]() |
c40bab0555 | ||
![]() |
fadb208299 | ||
![]() |
a6d2f5186f | ||
![]() |
80f7e7868d | ||
![]() |
40bdeb6c2d | ||
![]() |
e0be09dd81 | ||
![]() |
45dbfe80a1 | ||
![]() |
db45c11d84 | ||
![]() |
80a9896a4e | ||
![]() |
9fefdc0fbb | ||
![]() |
a16d0f8d28 | ||
![]() |
472fff06dc | ||
![]() |
91ffbfcf68 | ||
![]() |
5cf976bbb2 | ||
![]() |
e6b7a429ea | ||
![]() |
12072e2b69 | ||
![]() |
4cecb585bc | ||
![]() |
66ce5c2557 | ||
![]() |
f7f23d2ae9 | ||
![]() |
e204562f4d | ||
![]() |
c38987fc03 | ||
![]() |
501ab07024 | ||
![]() |
d0ebe08bf5 | ||
![]() |
4fcd107ff3 | ||
![]() |
25feee2366 | ||
![]() |
a39ce57094 | ||
![]() |
f7150edd44 | ||
![]() |
be78188691 | ||
![]() |
c75725e2d8 | ||
![]() |
9b6122c328 | ||
![]() |
99ba8a6a53 | ||
![]() |
3a29d70dd5 | ||
![]() |
2a2c947602 | ||
![]() |
cd3dc3d645 | ||
![]() |
f74c68e121 | ||
![]() |
bfd30dcabc | ||
![]() |
5d3ba06e9d | ||
![]() |
e275c3ba52 | ||
![]() |
3335a111e1 | ||
![]() |
f7c8a499d5 | ||
![]() |
ad7ad8f596 | ||
![]() |
ef5b3b90c3 | ||
![]() |
787b824d90 | ||
![]() |
7e6dfa759c | ||
![]() |
c6a6f85a5e | ||
![]() |
421b45c553 | ||
![]() |
0507876080 | ||
![]() |
52db762677 | ||
![]() |
94037cd017 | ||
![]() |
a16de62103 | ||
![]() |
df8def02f5 | ||
![]() |
d60f2fc7df | ||
![]() |
cc9ffc4767 | ||
![]() |
f6a620cf6e | ||
![]() |
a7cf8cea3f | ||
![]() |
4cec06e67c | ||
![]() |
41c953de46 | ||
![]() |
986bb1a8ac | ||
![]() |
a7ff38d389 | ||
![]() |
f530bb7537 | ||
![]() |
b5adbaef78 | ||
![]() |
4a271d358f | ||
![]() |
d9e51c220e | ||
![]() |
d413c2061c | ||
![]() |
9646794bb1 | ||
![]() |
d40495a4be | ||
![]() |
b63a68c9db | ||
![]() |
1ba1f90058 | ||
![]() |
8d025949d9 | ||
![]() |
4291a08d47 | ||
![]() |
3eac05b229 | ||
![]() |
e39f8fafb1 | ||
![]() |
50b9438fb6 | ||
![]() |
357dfca3e0 | ||
![]() |
8f8218c515 | ||
![]() |
10e3009c46 | ||
![]() |
cc5a737836 | ||
![]() |
19ad58c394 | ||
![]() |
8a905bed5d | ||
![]() |
f781cc18a6 | ||
![]() |
db174614f2 | ||
![]() |
b9a061680d | ||
![]() |
63df3090d5 | ||
![]() |
ff8ff72eab | ||
![]() |
8b547644b0 | ||
![]() |
8605c4d4d3 | ||
![]() |
e95fce3084 | ||
![]() |
cf91685f6f | ||
![]() |
e3e3f9a745 | ||
![]() |
6a1497de92 | ||
![]() |
fc65ba4ced | ||
![]() |
73fb0a6309 | ||
![]() |
2a411987db | ||
![]() |
79617949c1 | ||
![]() |
c3921ce2fe | ||
![]() |
228f51fff9 | ||
![]() |
08ee439a47 | ||
![]() |
1a67282dd3 | ||
![]() |
d2f1216987 | ||
![]() |
b519700e33 | ||
![]() |
12d9898b5d | ||
![]() |
ef39fb0709 | ||
![]() |
f068f63f0d | ||
![]() |
57ca831d4d | ||
![]() |
093c5d84d2 | ||
![]() |
e922275c72 | ||
![]() |
52ff53b0b0 | ||
![]() |
65d3ca8c3f | ||
![]() |
a16c264aa3 | ||
![]() |
4642a35de7 | ||
![]() |
50822a7476 | ||
![]() |
f108e67dcc | ||
![]() |
fb22940639 | ||
![]() |
9c7bb08a03 | ||
![]() |
b4680e82b7 | ||
![]() |
cbf683878a | ||
![]() |
fd5d3d0a48 | ||
![]() |
5cb022c7b1 | ||
![]() |
145950e766 | ||
![]() |
8bde7d45b8 | ||
![]() |
e0935fe14f | ||
![]() |
c27aa7723e | ||
![]() |
87b26a8dcc | ||
![]() |
0b2b07e98e | ||
![]() |
581d544f61 | ||
![]() |
aa5fbd461f | ||
![]() |
5394b77086 | ||
![]() |
7028c2712a | ||
![]() |
89be63da02 | ||
![]() |
4f504f597d | ||
![]() |
a9e9a9c835 | ||
![]() |
4ae2f6c33b | ||
![]() |
76d93c23b7 | ||
![]() |
9d051ea523 | ||
![]() |
ff279681ac | ||
![]() |
5cc5552d9b | ||
![]() |
42c74f9553 | ||
![]() |
420fa82e8d | ||
![]() |
70f2086202 | ||
![]() |
ee21562426 | ||
![]() |
b6c707c080 | ||
![]() |
2eaeead67c | ||
![]() |
7c7da44622 | ||
![]() |
7c6da30705 | ||
![]() |
2955bb5488 | ||
![]() |
b78ccf289e | ||
![]() |
b9b7786477 | ||
![]() |
c3592304b6 | ||
![]() |
2442411a5e | ||
![]() |
f5c0cddea5 | ||
![]() |
51e0e485f4 | ||
![]() |
3889b4c101 | ||
![]() |
247ba02bb8 | ||
![]() |
25c6d8bf6b | ||
![]() |
cf72318d74 | ||
![]() |
a8c05ca02e | ||
![]() |
1c8abd5c3b | ||
![]() |
6ebe3897fb | ||
![]() |
9faa44eabf | ||
![]() |
f81ffdb78e | ||
![]() |
2997c0fd1e | ||
![]() |
193d273f00 | ||
![]() |
e54cd8499e | ||
![]() |
c984902fbf | ||
![]() |
45cbf4bf25 | ||
![]() |
2204f27de1 | ||
![]() |
735b1cc6b9 | ||
![]() |
a0da4a844c | ||
![]() |
45ef98b077 | ||
![]() |
ef7de49ec8 | ||
![]() |
e937344761 | ||
![]() |
f3c3912923 | ||
![]() |
e728710430 | ||
![]() |
ddd6533812 | ||
![]() |
0d74131edd | ||
![]() |
cf3a87ed55 | ||
![]() |
632cba8b30 | ||
![]() |
0afa4d260c | ||
![]() |
3f2303a479 | ||
![]() |
7bfa847d01 | ||
![]() |
331219dda8 | ||
![]() |
b2df917011 | ||
![]() |
b727ce3b29 | ||
![]() |
0e1eaa518b | ||
![]() |
f893131b8d | ||
![]() |
2ec1d9e39e | ||
![]() |
bd2f9e436c | ||
![]() |
ea38e4da4d | ||
![]() |
4d66a0929c | ||
![]() |
0520f01510 | ||
![]() |
deaf322740 | ||
![]() |
929cd30e33 | ||
![]() |
eef2a0a200 | ||
![]() |
fbb47ce08f | ||
![]() |
f746760ccf | ||
![]() |
67c0f47928 | ||
![]() |
7c00e80f7a | ||
![]() |
3a9cf70228 | ||
![]() |
0f35bac605 | ||
![]() |
1b24feb4f4 | ||
![]() |
ee8a492954 | ||
![]() |
e3cb9de365 | ||
![]() |
a217988dbb | ||
![]() |
81c6de48dc | ||
![]() |
1217d8d021 | ||
![]() |
3362766cb5 | ||
![]() |
34da3e653d | ||
![]() |
ddb5c0052d | ||
![]() |
a8f0acecb7 | ||
![]() |
8f1f57afe4 | ||
![]() |
0209a9f41d | ||
![]() |
bf3a6d1c20 | ||
![]() |
256793aad7 | ||
![]() |
a56c21551d | ||
![]() |
fce3a2d5c0 | ||
![]() |
675298bc73 | ||
![]() |
6985b553af | ||
![]() |
885eb64df3 | ||
![]() |
2ce9aa20a5 | ||
![]() |
be34f29b05 | ||
![]() |
077e94342f | ||
![]() |
09d7d9a360 | ||
![]() |
438ee23d2c | ||
![]() |
4f2d74f793 | ||
![]() |
0e62a52e59 | ||
![]() |
369561f8f7 | ||
![]() |
69812bbf18 | ||
![]() |
e33570625f | ||
![]() |
2132704e1d | ||
![]() |
38a6f4cc34 | ||
![]() |
626a3b10d3 | ||
![]() |
c7fa778732 | ||
![]() |
e72cc4eaf9 | ||
![]() |
c48407e038 | ||
![]() |
7c7bb14a93 | ||
![]() |
f9dc76928c | ||
![]() |
5b7ea0e611 | ||
![]() |
5437674fdf | ||
![]() |
21f18d015d | ||
![]() |
47d9c12f4b | ||
![]() |
f6bbd9377f | ||
![]() |
3baec1c327 | ||
![]() |
bd657fe9ae | ||
![]() |
64ebc5cfd6 | ||
![]() |
84922dcdcf | ||
![]() |
79976fbfce | ||
![]() |
c702a7e426 | ||
![]() |
336519b7b5 | ||
![]() |
dfb2f8b3b3 | ||
![]() |
8b99e29dc0 | ||
![]() |
d6af4683bb | ||
![]() |
32c813eece | ||
![]() |
03f86a71de | ||
![]() |
2db942e606 | ||
![]() |
6668018b45 | ||
![]() |
f21cafb605 | ||
![]() |
3864a7fdc6 | ||
![]() |
ff8f37b262 | ||
![]() |
783f17ec4d | ||
![]() |
46a0eb4aa4 | ||
![]() |
2de5390c08 | ||
![]() |
bfaa0789f0 | ||
![]() |
eb73e7c1d4 | ||
![]() |
63ed69789b | ||
![]() |
983c19eb29 | ||
![]() |
cef3c9a34d | ||
![]() |
030dd9eed8 | ||
![]() |
6721363f8c | ||
![]() |
8bb2e98b90 | ||
![]() |
58b600198f | ||
![]() |
5281593bb6 | ||
![]() |
0b20794672 | ||
![]() |
8dd7014af6 | ||
![]() |
7b736b6ae3 | ||
![]() |
d475ab3881 | ||
![]() |
b26724d12b | ||
![]() |
3d71ea5bc0 | ||
![]() |
1f4d01e512 | ||
![]() |
9dbb2720b0 | ||
![]() |
808f07250e | ||
![]() |
ed45ff89f8 | ||
![]() |
d59440f99e | ||
![]() |
b80ced2b3a | ||
![]() |
8873900df3 | ||
![]() |
4d6bde9731 | ||
![]() |
fb1772f019 | ||
![]() |
cc503b36e8 | ||
![]() |
0fe99fe10f | ||
![]() |
e2aa8056af | ||
![]() |
10bba1a632 | ||
![]() |
5e400d3117 | ||
![]() |
39e0c560cf | ||
![]() |
bf13238ccf | ||
![]() |
5b56717501 | ||
![]() |
de84bb9824 | ||
![]() |
496f843016 | ||
![]() |
c1e2ddc843 | ||
![]() |
ac74f14408 | ||
![]() |
3a44b94cc7 | ||
![]() |
948b2c0410 | ||
![]() |
d4151c1832 | ||
![]() |
365d039209 | ||
![]() |
40c9727cb9 | ||
![]() |
e6946042ae | ||
![]() |
8e03f01518 | ||
![]() |
6413537f45 | ||
![]() |
e20a24ab2e | ||
![]() |
47c31c8b03 | ||
![]() |
f0d32e2cde | ||
![]() |
62b803e268 | ||
![]() |
9ea56ea5d4 | ||
![]() |
7474c05209 | ||
![]() |
647140c7c7 | ||
![]() |
46c54e51ee | ||
![]() |
9eee92b5c6 | ||
![]() |
ac2c8a3d30 | ||
![]() |
ee44fd54b6 | ||
![]() |
0ed8ea9599 | ||
![]() |
d9ef7c1b32 | ||
![]() |
357334fb46 | ||
![]() |
d0b54b0797 | ||
![]() |
768e87b0da | ||
![]() |
14187978c0 | ||
![]() |
cac91737ac | ||
![]() |
0b18e7bd60 | ||
![]() |
61705fdd42 | ||
![]() |
6dd3795b7a | ||
![]() |
2e0c3f8751 | ||
![]() |
e1e8471728 | ||
![]() |
3c66997427 | ||
![]() |
5ec2af7b5a | ||
![]() |
d3b23e4b81 | ||
![]() |
d76a84048b | ||
![]() |
f21fbff1a8 | ||
![]() |
c17a56cb8b | ||
![]() |
b23608ec35 | ||
![]() |
a8df699441 | ||
![]() |
1b430abb16 | ||
![]() |
e4062e0f35 | ||
![]() |
e6f2926ccd | ||
![]() |
263d45ca9d | ||
![]() |
8e4b9f30bb | ||
![]() |
f12b300298 | ||
![]() |
2db4a661ee | ||
![]() |
3c6ee3d57f | ||
![]() |
e2a1211513 | ||
![]() |
436b3a472a | ||
![]() |
f177ecd50c | ||
![]() |
e675625d0d | ||
![]() |
326a74425f | ||
![]() |
a217d97fda | ||
![]() |
6959084f98 | ||
![]() |
216bf9b477 | ||
![]() |
3efb311076 | ||
![]() |
3ac9b2525e | ||
![]() |
831b47b8f9 | ||
![]() |
ff10eafcbc | ||
![]() |
38c0dbfc95 | ||
![]() |
e739e81205 | ||
![]() |
1bcfae5265 | ||
![]() |
b249b461d7 | ||
![]() |
af79ba433c | ||
![]() |
14013c80c0 | ||
![]() |
85a7c7303d | ||
![]() |
f94214ae14 | ||
![]() |
ca4fbe40dd | ||
![]() |
91818417be | ||
![]() |
577ace4971 | ||
![]() |
776d91f663 | ||
![]() |
b9ed94a098 | ||
![]() |
800630a813 | ||
![]() |
4854a1b2ee | ||
![]() |
bcfb8f1f53 | ||
![]() |
2afa282190 | ||
![]() |
2b2ffca7d0 | ||
![]() |
650e7018a7 | ||
![]() |
1e0ac5c5f1 | ||
![]() |
b9c087f46c | ||
![]() |
9d5cfbcda9 | ||
![]() |
ffe6292237 | ||
![]() |
9d97c05889 | ||
![]() |
2658b39434 | ||
![]() |
f6cf07a147 | ||
![]() |
4752fa5301 | ||
![]() |
f40d3d1fc6 | ||
![]() |
d7ffabe7ca | ||
![]() |
b318f54fdf | ||
![]() |
661ddd75b6 | ||
![]() |
bc97208516 | ||
![]() |
64c8f61bb1 | ||
![]() |
7699b7ce6f | ||
![]() |
347832d852 | ||
![]() |
50b3a24371 | ||
![]() |
4d5512dcca | ||
![]() |
2e6c890883 | ||
![]() |
f94d733c62 | ||
![]() |
9032808112 | ||
![]() |
a22137e06e | ||
![]() |
973518694e | ||
![]() |
d6caf1c839 | ||
![]() |
6f7dca1f83 | ||
![]() |
dbbf1a8fce | ||
![]() |
27e18f0eb8 | ||
![]() |
bbc667cb78 | ||
![]() |
74d757f0f1 | ||
![]() |
a224650281 | ||
![]() |
54abcfcd93 | ||
![]() |
627d74233b | ||
![]() |
b29f6916cb | ||
![]() |
7041a96fda | ||
![]() |
6bc42cfd1a | ||
![]() |
bd8b8a8c8f | ||
![]() |
cf1a62cec3 | ||
![]() |
fd6fcffa67 | ||
![]() |
75fecf9645 | ||
![]() |
04f3f9d29d | ||
![]() |
fb7ba92f69 | ||
![]() |
c259666e43 | ||
![]() |
6609d3e89f | ||
![]() |
f4c44ce128 | ||
![]() |
a8276dd70f | ||
![]() |
0c23d22472 | ||
![]() |
e34cc79dad | ||
![]() |
de712c6ba9 | ||
![]() |
1396c63525 | ||
![]() |
8cc9c64ff8 | ||
![]() |
64665146e1 | ||
![]() |
cdec6c9027 | ||
![]() |
0172ab1f50 | ||
![]() |
d76c4554e2 | ||
![]() |
3d09f579d0 | ||
![]() |
e95a017e33 | ||
![]() |
2c91157926 | ||
![]() |
d2697cd124 | ||
![]() |
061fbeff56 | ||
![]() |
77b3a0c4cd | ||
![]() |
8340abbe63 | ||
![]() |
3f8e76ce93 | ||
![]() |
a2c48646ae | ||
![]() |
78f5b960a0 | ||
![]() |
f6236d13d1 | ||
![]() |
6b56a8accf | ||
![]() |
9febd608c6 | ||
![]() |
e4282c10c7 | ||
![]() |
575578428c | ||
![]() |
6e1bfdef4c | ||
![]() |
36da49667a | ||
![]() |
ade1936f9c | ||
![]() |
580642b08e | ||
![]() |
b4a855f4c1 | ||
![]() |
32a712f005 | ||
![]() |
ea2b2937b9 | ||
![]() |
a86961a22e | ||
![]() |
2299580dc9 | ||
![]() |
77786bb8bb | ||
![]() |
9ee67364c2 | ||
![]() |
4a76526417 | ||
![]() |
f89c44e1a0 | ||
![]() |
8ac83cfd42 | ||
![]() |
f5b0008158 | ||
![]() |
1be26cf2bd | ||
![]() |
e01a61d816 | ||
![]() |
25e04ee2f3 | ||
![]() |
4d848e99f0 | ||
![]() |
157b1eadfa | ||
![]() |
5798fb959d | ||
![]() |
35e04a795d | ||
![]() |
e22f7570fe | ||
![]() |
93bbda851a | ||
![]() |
2c34aa4ea2 | ||
![]() |
4f5ce16dcb | ||
![]() |
df2068d734 | ||
![]() |
033817f70b | ||
![]() |
9c28977001 | ||
![]() |
a55a27508a | ||
![]() |
031d14e320 | ||
![]() |
817b595222 | ||
![]() |
56df8c2dd0 | ||
![]() |
3715e8d2c8 | ||
![]() |
ad2a18b3bc | ||
![]() |
3eb61cfe83 | ||
![]() |
1222dab6f8 | ||
![]() |
8897001567 | ||
![]() |
930161a0dd | ||
![]() |
3aa0a845cd | ||
![]() |
cc8419d344 | ||
![]() |
f3dd93a42c | ||
![]() |
13da85e859 | ||
![]() |
cd5f904b53 | ||
![]() |
274cde0396 | ||
![]() |
3d40834c57 | ||
![]() |
920aefddde | ||
![]() |
7dafb384e9 | ||
![]() |
2fc1487603 | ||
![]() |
d6d0f422f5 | ||
![]() |
bef8106d0f | ||
![]() |
e502ce38ec | ||
![]() |
7d73bddfd2 | ||
![]() |
86a0eaf317 | ||
![]() |
5f288d228d | ||
![]() |
191cdc2849 | ||
![]() |
427688cb34 | ||
![]() |
d16d1fdb3a | ||
![]() |
832272bf3a | ||
![]() |
d87cea1fb7 | ||
![]() |
dabbc49c20 | ||
![]() |
9daf9e612b | ||
![]() |
46e2e5342b | ||
![]() |
c682d87a65 | ||
![]() |
101b0ee58e | ||
![]() |
60c0939e05 | ||
![]() |
d32bb52390 | ||
![]() |
4b5e7e6168 | ||
![]() |
3eeed813d6 | ||
![]() |
f1bce0b8e0 | ||
![]() |
98dfb6302d | ||
![]() |
d87a9bf7ec | ||
![]() |
2b7c47c789 | ||
![]() |
bafb189244 | ||
![]() |
ab91fb87ea | ||
![]() |
2ad10ea47e | ||
![]() |
fc28f261cf | ||
![]() |
a84518d69f | ||
![]() |
17cba898e9 | ||
![]() |
736f20538d | ||
![]() |
6cee7483ba | ||
![]() |
50a5e830ac | ||
![]() |
81b3517166 | ||
![]() |
14b5d15268 | ||
![]() |
e75de01809 | ||
![]() |
a29f2dcfaa | ||
![]() |
2b2bc11d7d | ||
![]() |
7129ad47f4 | ||
![]() |
dcdb319653 | ||
![]() |
c5ce99ebec | ||
![]() |
e46c238f15 | ||
![]() |
23ec562375 | ||
![]() |
2c1d76c87f | ||
![]() |
d222dece92 | ||
![]() |
8b06f72a94 | ||
![]() |
2e05777dc5 | ||
![]() |
dd71355e8a | ||
![]() |
c92eb1b17d | ||
![]() |
a90ec4cce7 | ||
![]() |
f1c2eae264 | ||
![]() |
28fcbe9bc5 | ||
![]() |
b18138bad0 | ||
![]() |
0ef728d385 | ||
![]() |
bd6afc2d86 | ||
![]() |
de3c84bd0b | ||
![]() |
e788445fe2 | ||
![]() |
88237fbd1e | ||
![]() |
6fba6796b8 | ||
![]() |
2a2cb313cf | ||
![]() |
30f21259f8 | ||
![]() |
be62c34e46 | ||
![]() |
e2ac4ebf9d | ||
![]() |
b67a10c4a1 | ||
![]() |
fc52248bf7 | ||
![]() |
4725022f7e | ||
![]() |
a3574d3e28 | ||
![]() |
04300c11c3 | ||
![]() |
1d6263385b | ||
![]() |
62776df9e1 | ||
![]() |
72c5bce6a4 | ||
![]() |
41fa59f164 | ||
![]() |
307ae459f2 | ||
![]() |
027a08c92e | ||
![]() |
1037d7f335 | ||
![]() |
3e6706a371 | ||
![]() |
48c1bd58dd | ||
![]() |
cf89d892c6 | ||
![]() |
d206b00a88 |
9
.gitignore
vendored
9
.gitignore
vendored
@@ -2,13 +2,19 @@ src/gui/geoip/GeoIP.dat
|
||||
src/gui/geoip/GeoIP.dat.gz
|
||||
src/qbittorrent
|
||||
src/qbittorrent-nox
|
||||
src/release
|
||||
src/debug
|
||||
qbittorrent.pro.user*
|
||||
conf.pri
|
||||
Makefile
|
||||
Makefile*
|
||||
*.pyc
|
||||
*.log
|
||||
|
||||
# Compiled object files
|
||||
*.o
|
||||
*.pdb
|
||||
*.exe
|
||||
|
||||
# Generated MOC, resource and UI files
|
||||
moc_*.cpp
|
||||
qrc_*.cpp
|
||||
@@ -19,6 +25,7 @@ src/lang/qbittorrent_*.qm
|
||||
.qmake.stash
|
||||
src/qbittorrent.app
|
||||
*.dmg
|
||||
|
||||
#Autotools junk
|
||||
aclocal.m4
|
||||
autom4te.cache/*
|
||||
|
158
.travis.yml
158
.travis.yml
@@ -1,16 +1,22 @@
|
||||
language:
|
||||
- cpp
|
||||
language: cpp
|
||||
|
||||
os:
|
||||
- linux
|
||||
- osx
|
||||
osx_image: xcode7
|
||||
|
||||
env:
|
||||
# use libtorrent 0.15.10
|
||||
# uncomment when Travis doesn't use Ubuntu 12.04 LTS, which has libtorrent 0.15.10 as package
|
||||
#- 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_svnRC_0_16 gui=true
|
||||
- lt_source=from_svnRC_0_16 gui=false
|
||||
- lt_source=from_svnRC_1_0 gui=true
|
||||
- lt_source=from_svnRC_1_0 gui=false
|
||||
matrix:
|
||||
# Uncomment when Travis upgraded "Ubuntu 12.04 LTS" to a newer version whose repo will have a more up-to-date libtorrent package
|
||||
#- lt_branch=dist gui=true
|
||||
#- lt_branch=dist gui=false
|
||||
- lt_branch=RC_1_0 qt=5 gui=true
|
||||
- lt_branch=RC_1_0 qt=5 gui=false
|
||||
- lt_branch=RC_1_0 qt=4 gui=true
|
||||
- lt_branch=RC_1_0 qt=4 gui=false
|
||||
global:
|
||||
- secure: "OI9CUjj4lTb0HwwIZU5PbECU3hLlAL6KC8KsbwohG8/O3j5fLcnmDsK4Ad9us5cC39sS11Jcd1kDP2qRcCuST/glVNhLkcjKkiQerOfd5nQ/qL4JYfz/1mfP5mdpz9jHKzpLUIG+TXkbSTjP6VVmsb5KPT+3pKEdRFZB+Pu9+J8="
|
||||
- coverity_branch: coverity_scan
|
||||
|
||||
branches:
|
||||
except:
|
||||
@@ -20,41 +26,119 @@ branches:
|
||||
notifications:
|
||||
email:
|
||||
on_success: change
|
||||
on_failure: change
|
||||
on_failure: change
|
||||
|
||||
# container-based builds
|
||||
#sudo: false
|
||||
# TODO: osx builder does not enable cache yet, see: https://github.com/travis-ci/travis-ci/issues/4011
|
||||
#cache:
|
||||
#directories:
|
||||
#- $HOME/.ccache
|
||||
|
||||
# opt-in Ubuntu Trusty
|
||||
sudo: required
|
||||
dist: trusty
|
||||
|
||||
addons:
|
||||
coverity_scan:
|
||||
project:
|
||||
name: "qbittorrent/qBittorrent"
|
||||
description: "Build submitted via Travis CI"
|
||||
build_command_prepend: "./bootstrap.sh && ./configure $qbtconf"
|
||||
build_command: make
|
||||
branch_pattern: $coverity_branch
|
||||
notification_email: sledgehammer999@qbittorrent.org
|
||||
apt:
|
||||
#sources:
|
||||
# sources list: https://github.com/travis-ci/apt-source-whitelist/blob/master/ubuntu.json
|
||||
#- ubuntu-toolchain-r-test
|
||||
#- boost-latest
|
||||
packages:
|
||||
# packages list: https://github.com/travis-ci/apt-package-whitelist/blob/master/ubuntu-precise
|
||||
- autoconf
|
||||
- automake
|
||||
- colormake
|
||||
- libssl-dev
|
||||
- libboost-dev
|
||||
- libboost-system-dev
|
||||
# uncomment when Travis upgraded "Ubuntu 12.04 LTS" to a newer version whose repo will have a more up-to-date libtorrent package
|
||||
#- libtorrent-rasterbar6
|
||||
|
||||
before_install:
|
||||
# only allow specific build for coverity scan, others will stop
|
||||
- if [ "$TRAVIS_BRANCH" = "$coverity_branch" ] && ! [ "$TRAVIS_OS_NAME" = "linux" -a "$lt_branch" = "RC_1_0" -a "$gui" = true ]; then exit ; fi
|
||||
|
||||
- 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 "
|
||||
- alias make="colormake -j3" # Using nprocs/2 sometimes may fail (gcc is killed by system)
|
||||
#- libt_path="$HOME/libt_install"
|
||||
#- ltconf="$ltconf --prefix="$libt_path" --disable-geoip"
|
||||
- qbt_path="$HOME/qbt_install"
|
||||
- qbtconf="$qbtconf --prefix="$qbt_path" PKG_CONFIG_PATH="$libt_path/lib/pkgconfig":$PKG_CONFIG_PATH"
|
||||
|
||||
# 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
|
||||
- qbtconf="$qbtconf --with-qt4"
|
||||
- ltconf=" --with-libgeoip=system"
|
||||
# options for specific branches
|
||||
- if [ "$qt" = 4 ]; then qbtconf="$qbtconf --with-qt4" ; fi
|
||||
- if [ "$gui" = false ]; then qbtconf="$qbtconf --disable-gui" ; fi
|
||||
- |
|
||||
if [ "$TRAVIS_OS_NAME" = "linux" ]; then
|
||||
# ccache
|
||||
#if [ "$TRAVIS_BRANCH" != "$coverity_branch" ]; then
|
||||
#dpkg-query -L ccache && export PATH="/usr/lib/ccache/:$PATH" && export use_ccache=true ;
|
||||
#ccache -V && ccache --show-stats && ccache --zero-stats ;
|
||||
#fi ;
|
||||
|
||||
- echo settings
|
||||
- echo $lt_source
|
||||
- echo $ltconf
|
||||
# setup virtual display for after_success target
|
||||
if [ "$gui" = true ]; then 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 ;
|
||||
fi
|
||||
- |
|
||||
if [ "$TRAVIS_OS_NAME" = "osx" ]; then
|
||||
qbtconf="$qbtconf --disable-qt-dbus" ;
|
||||
fi
|
||||
|
||||
# print settings
|
||||
- echo $lt_branch
|
||||
- echo $gui
|
||||
- echo $ltconf
|
||||
- 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 autoconf automake colormake libssl-dev libgeoip-dev
|
||||
# uncomment when Travis doesn't use Ubuntu 12.04 LTS, which has libtorrent 0.15.10 as package
|
||||
#- sudo apt-get -qq install libboost-dev libboost-filesystem-dev libboost-system-dev
|
||||
- sudo apt-get -qq install libboost-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_svnRC_0_16" ]]; then qbtconf="$qbtconf --with-libtorrent-rasterbar0.16" && 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
|
||||
- if [[ "$lt_source" == "from_svnRC_1_0" ]]; then cd .. && svn co svn://svn.code.sf.net/p/libtorrent/code/branches/RC_1_0 ./libtorrent && (cd libtorrent && ./autotool.sh && ./configure $ltconf && sudo make install) && sudo ldconfig /usr/local/lib && cd $TRAVIS_BUILD_DIR ; fi
|
||||
- |
|
||||
if [ "$TRAVIS_OS_NAME" = "linux" ]; then
|
||||
# libtorrent
|
||||
sudo add-apt-repository --yes ppa:qbittorrent-team/qbittorrent-stable ;
|
||||
sudo apt-get update -qq ;
|
||||
sudo apt-get install -qq libtorrent-rasterbar-dev ;
|
||||
|
||||
# build libtorrent from source
|
||||
#if [ "$lt_branch" != "dist" ]; then
|
||||
#cd "$HOME" && pwd && git clone --depth 1 https://github.com/arvidn/libtorrent.git --branch $lt_branch ;
|
||||
#cd libtorrent && ./autotool.sh && ./configure $ltconf && make install ;
|
||||
#fi ;
|
||||
|
||||
# Qt
|
||||
if [ "$qt" = 4 ]; then sudo apt-get -qq install qt4-default libqt4-dev ; fi ;
|
||||
if [ "$qt" = 5 ]; then sudo apt-get -qq install qt5-default qtbase5-dev qttools5-dev-tools ; fi ;
|
||||
fi
|
||||
- |
|
||||
if [ "$TRAVIS_OS_NAME" = "osx" ]; then
|
||||
# dependencies
|
||||
brew update > /dev/null && brew install colormake libtorrent-rasterbar ;
|
||||
|
||||
# Qt
|
||||
if [ "$qt" = 4 ]; then brew install qt ; fi ;
|
||||
if [ "$qt" = 5 ]; then brew install qt5 && brew link --force qt5 ; fi ;
|
||||
fi
|
||||
|
||||
script:
|
||||
- ./bootstrap.sh
|
||||
- ./configure $qbtconf && sudo make install
|
||||
|
||||
- if [ "$TRAVIS_BRANCH" = "$coverity_branch" ]; then exit ; fi # skip usual build when running coverity scan
|
||||
- cd "$TRAVIS_BUILD_DIR" && ./bootstrap.sh && ./configure $qbtconf
|
||||
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then sed -i "" -e 's/^\(CXXFLAGS.*\)$/\1 -Wno-unused-local-typedefs/' src/Makefile ; fi
|
||||
- make && make install
|
||||
|
||||
after_success:
|
||||
- if $gui ; then qbittorrent --version ; else qbittorrent-nox --version ; fi
|
||||
- if [ "$gui" = true ]; then qbt_exe="qbittorrent" ; else qbt_exe="qbittorrent-nox" ; fi
|
||||
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then cd "$qbt_path/bin" ; fi
|
||||
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then cd "$TRAVIS_BUILD_DIR/src/$qbt_exe.app/Contents/MacOS" ; fi
|
||||
- ./$qbt_exe --version
|
||||
|
||||
after_script:
|
||||
- if [ "$use_ccache" = true ]; then ccache --show-stats ; fi
|
||||
|
@@ -1,8 +1,9 @@
|
||||
[main]
|
||||
host = https://www.transifex.com
|
||||
|
||||
[qbittorrent.qbittorrent_master]
|
||||
[qbittorrent.qbittorrent_v3_3_x]
|
||||
file_filter = src/lang/qbittorrent_<lang>.ts
|
||||
lang_map = pt: pt_PT
|
||||
source_file = src/lang/qbittorrent_en.ts
|
||||
source_lang = en
|
||||
type = QT
|
||||
|
53
520EC6F6.asc
Normal file
53
520EC6F6.asc
Normal file
@@ -0,0 +1,53 @@
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
Version: GnuPG v2
|
||||
|
||||
mQINBFb4b5EBEADTUsyDNPWdujfhx4ncy52MNdkw6EI8W7kxWypHCOr0EAcr9Xaq
|
||||
lGbstcu0v//f5E5Wvi7gNK7DJkgky4L1GKIufe61e9HXLI8Ekju0j1ojkgR8m4md
|
||||
BhIkQNB897xItKCYCtnHm/51dKxYDtSCdJ4a9RbfKyH6YqvM8R+s4jD472mvekHm
|
||||
lMeek+Tv85Thx2IR6NpUUaJZOUskhMpuhZDjLzI78ZWlnielxoGKysMke7iAekiL
|
||||
2scQYRmC/IrHIgf/mmaAvwJf82a3GqYRfC49RFBXaPAAGCJzu3WWqTrmLe9yRdB4
|
||||
HpQ6d8D28HpWfnLTfR9bkBHdy6/8dche4wCNbBXkvjoqMUTA7hgzPmJFW0GE8Omp
|
||||
SnFEj+8WVLCkBTp1zEdiYUzD30Itn/4YnzEQdExOnQRrKo5E9vLbdom8VXWrmO7v
|
||||
jXU4u8o9FDbYcMOmje2LFW1UQhP3pfMeIA/nKRfJivgz+76jtg3OU53tKKeHWHfa
|
||||
z88Mn+9QmBbC6l7/d308K9wlERwsv6uMFNrD1mIRIPW3Bvzgzc/nR/IfmIhizg+C
|
||||
vJvm1eAOnRTnMZAggW0dK65tclu3hL198IySvEcZ7TRdC6Wzqbzg+SgIn/JiWoKz
|
||||
dVAuGn4TD0D1R9SlGoGMFQUvHZAPsPCQHjyPsGwtxiqFJSvVE10id2lwSQARAQAB
|
||||
tG5zbGVkZ2VoYW1tZXI5OTkgKFVzZWQgZm9yIHNpZ25pbmcgcUJpdHRvcnJlbnQg
|
||||
c291cmNlIHRhcmJhbGxzIGFuZCBiaW5hcmllcy4pIDxzbGVkZ2VoYW1tZXI5OTlA
|
||||
cWJpdHRvcnJlbnQub3JnPokCNwQTAQgAIQUCVvhvkQIbAwULCQgHAgYVCAkKCwIE
|
||||
FgIDAQIeAQIXgAAKCRChrMrkUg7G9vW/EAC/A9yt5F3fW4yvLz3ZGPmWUQw1ah6B
|
||||
o8c8khCh9JATCTwoV+1ZAxEKMfFW8AQ52MwX34S45Fi1Ik860yD5Ea7HMg2dpq/1
|
||||
sZ1dK9LHVlSXHUTZi8dVUntxryz1hR5JS7UUvGtclHrjNTB1jkbiPN2LrcURg+K7
|
||||
WSJ+jaX9Wt6hzGwuAe4QqXQF1DRHK945hOe2by1VmV7IXtz4xXUIzVdbUI/fFuaV
|
||||
26ImAHKLuNRHO0DxGZX6f56T+zG+tEaERiHls8w7I3HIKAjTEHQwytB10tq/IRpK
|
||||
Rg1uDAutOIHe2Gm9XxOX5wwFiEGB0Dq2TxLjMZ42n/PaNk0JOvJkbmkM/NtInvOx
|
||||
xk807cpIgUf6CrBgavQ1DxSKL+OqowTQ3aNT1Cg8VI8yf0hOwXU/CyRe6o55+T8M
|
||||
d+FZk2eILJEeyJ1O7GdW8L7QK6vVIep/eFmuXkXE8kpnud9X84Fzh1mK7dzblWnS
|
||||
2SUB6vXQhnsIgGfp1maYLYVDK08BdSh4eg6kNVcyx/6/t8PUZjO5tDNhKflyddt/
|
||||
vRDxET8nULIKEct7g3X4w87klj9hxZzGz6zyv8JBdJYuwxfsZJ58M/vGZOrmdllb
|
||||
T9tC5AtcvaKLDulvkLzHvIgVCyk29fzGAJNb7pqoZP4oht8StTBlo+pVqfeE7m6/
|
||||
u45vAoX6l1sVlbkCDQRW+G+RARAAsR1sFdq8cUZUbYAiwP1ERdzKfhZx4qQCqUZs
|
||||
D1/fka7jttqAd2rCHWPtFmy2KTZVcNeWq9+9zG3jvykpapXhZ+r2/H13NE2FrTy8
|
||||
AcuQgCaXfnD6fR8cifJwSYeEDRZ6vJEuIv2Vn/ZJVkhM+M72LliNfkh/E+VIlybX
|
||||
OQm1sazCUAd+EMUT6/uEitJy3n2JlDK2ctkpO06pb647nC3dgtyU0aKto8ol3da3
|
||||
eWLzkoOzq9IQTHZ7x89ptVO+I8vR0itSV0Clt0Ab7AL3jwI8hZUvx5q3YmZrRrZy
|
||||
fmdhG61jyvaD9eM0dPZcmoLMEv23KaLHRY1+Mwf5a8kfzRgYQLimEsWt3NljmhQd
|
||||
04Fm1eTXBJ30TMSnJoIa0W1MQ36J7TFYxE44ySCL6uB2woHiqq6ydznbjtyTaHF7
|
||||
Fx2K2vZhHQT+V1B22XzuwBoVYqH4Q+Zw7f9yqDd1NU7+SwcUtapqqHM+OERRvR2s
|
||||
ddsttVMIC5e75MlhvRCvskm6yCxFYKnZLTIRW6W/xYfksXRwupk3TICRN9fmiDxx
|
||||
uZZRMurpV365kYowHUW2uY/dQTLazKCC1/folsmMIhqumhijkK81/vYSFPk3NmXi
|
||||
v6HljMCd0vmzJRdwzWgaLoFoazErmPiGkmQSup6BjJjE0CHldpvmLaGkWkbP7zWu
|
||||
VeYV79EAEQEAAYkCHwQYAQgACQUCVvhvkQIbDAAKCRChrMrkUg7G9hSQD/9WcAID
|
||||
FPTt/pcrVIGZ8/1EVrhuVlyC0UNKnZuCnbggr1UKs67ivhkv6lXBi4sS1VZoKUQZ
|
||||
xII+VnPzQGDDYUfkwExOSkZBqN0Tm3Ly1/xgAr46V4F6vZPs8D+fpvmXaHs4CrhA
|
||||
LVgWN3kYOtd5a5z0tomVLOKlh7iip0UBIx+j2CV2lqowL/OG7AXcq6iSbH4gEr7z
|
||||
G4wbPnRrvSqZ5oM0nGhXgYGG8HE4jaaRG6TBdWL6YcLKZmtueSIOGQAmqNwT3Vnw
|
||||
2kDfk+KNHQPTTZQ9KMUE/4c6mcoYIDDPo9POlf6ShvxipdLGKUFUz+MAkv5Oci4/
|
||||
I3RMnDdgfAzsppFlQ5IN3laipTcViPu9SLIzXcf1TMi4f9x3Lqm4r9x6KcLX8uC1
|
||||
ncOHqrqBnI5mm45EhJTahyFEGd+eTvsOSThdUEgkdRSln72cymh+iisdGSEMXinw
|
||||
nS/6WOYnW9a6s1J90ql7P/qA3sA7RA1AHRL5tKdYVM+2OFU1asLWRbdLVmQR2dgM
|
||||
3+0u3HBjkKd3/8iGcP1CfLvur9eh4FHkVYKIepz5ALBGdUQbc96p+Le4VFedvxDR
|
||||
Wz/9MJI/oK6ij90b6LF2eR47oTyYRGzaeMk4WjmHCqlK/mUABng9n+U3H2OzihYy
|
||||
x8m1+aYiYlKfcKWm1nKQG0hF04Axq5AYezjKvA==
|
||||
=Zdwm
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
5
AUTHORS
5
AUTHORS
@@ -79,6 +79,11 @@ Images Authors:
|
||||
|
||||
* file: src/icons/oxygen/checked.png
|
||||
copyright: Victor Buinsky <allok.victor@gmail.com>
|
||||
|
||||
* file: src/icons/skin/ratio.png
|
||||
copyright: Fatcow Web Hosting
|
||||
license: Creative Commons Attribution 3.0 License
|
||||
url: http://www.fatcow.com/free-icons
|
||||
|
||||
Translations authors:
|
||||
* files: src/lang/*.ts
|
||||
|
65
CMakeLists.txt
Normal file
65
CMakeLists.txt
Normal file
@@ -0,0 +1,65 @@
|
||||
cmake_minimum_required(VERSION 3.2)
|
||||
cmake_policy(VERSION 3.2)
|
||||
|
||||
project(qBittorrent VERSION 3.4.0.0)
|
||||
|
||||
set(VER_MAJOR ${qBittorrent_VERSION_MAJOR})
|
||||
set(VER_MINOR ${qBittorrent_VERSION_MINOR})
|
||||
set(VER_BUGFIX ${qBittorrent_VERSION_PATCH})
|
||||
set(VER_BUILD ${qBittorrent_VERSION_TWEAK})
|
||||
set(VER_STATUS "alpha") # Should be empty for stable releases!
|
||||
|
||||
# Don't touch the rest part
|
||||
set(PROJECT_VERSION "${VER_MAJOR}.${VER_MINOR}.${VER_BUGFIX}")
|
||||
|
||||
if (NOT VER_BUILD EQUAL 0)
|
||||
set(PROJECT_VERSION "${PROJECT_VERSION}.${VER_BUILD}")
|
||||
endif()
|
||||
|
||||
set(PROJECT_VERSION "${PROJECT_VERSION}${VER_STATUS}")
|
||||
|
||||
add_definitions(-DVERSION_MAJOR=${VER_MAJOR})
|
||||
add_definitions(-DVERSION_MINOR=${VER_MINOR})
|
||||
add_definitions(-DVERSION_BUGFIX=${VER_BUGFIX})
|
||||
add_definitions(-DVERSION_BUILD=${VER_BUILD})
|
||||
|
||||
# os2 {
|
||||
# DEFINES += VERSION=\'\"v$${PROJECT_VERSION}\"\'
|
||||
# } else {
|
||||
add_definitions(-DVERSION="v${PROJECT_VERSION}")
|
||||
# }
|
||||
list(APPEND CMAKE_MODULE_PATH ${qBittorrent_SOURCE_DIR}/cmake/Modules)
|
||||
|
||||
# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Og")
|
||||
if (UNIX AND NOT APPLE)
|
||||
include(GNUInstallDirs)
|
||||
endif (UNIX AND NOT APPLE)
|
||||
|
||||
if(WIN32)
|
||||
include(winconf)
|
||||
endif(WIN32)
|
||||
|
||||
# we need options here, because they are used not only in "src" subdir, but in the "dist" dir too
|
||||
include(CMakeDependentOption)
|
||||
|
||||
option(QT5 "Compile using Qt5" ON)
|
||||
option(SYSTEM_QTSINGLEAPPLICATION
|
||||
"Use the system qtsingleapplication library or shipped one otherwise")
|
||||
cmake_dependent_option(SYSTEM_QJSON
|
||||
"Use the shipped qjson library or the system one (Qt4 only)" OFF "NOT QT5" OFF)
|
||||
|
||||
option(GUI "Allows to disable GUI for headless running. Disables QtDBus and the GeoIP Database" ON)
|
||||
|
||||
option(WEBUI "Allows to disable the WebUI." ON)
|
||||
|
||||
if (WIN32)
|
||||
option(STACKTRACE_WIN "")
|
||||
else (WIN32)
|
||||
cmake_dependent_option(SYSTEMD "Install the systemd service file (headless only)" OFF
|
||||
"NOT GUI" OFF)
|
||||
cmake_dependent_option(DBUS "Enable use of QtDBus (GUI only)" ON "GUI" OFF)
|
||||
endif(WIN32)
|
||||
|
||||
|
||||
add_subdirectory(src)
|
||||
add_subdirectory(dist)
|
@@ -1,6 +1,8 @@
|
||||
All new code must follow the following coding guidelines.
|
||||
If you make changes in a file that still uses another coding style, make sure that you follow these guidelines for your changes instead.
|
||||
**Note:** I will now take your head if you forget and use another style. However, most probably the request will be delayed until you fix your coding style.
|
||||
**Note 1:** I will not take your head if you forget and use another style. However, most probably the request will be delayed until you fix your coding style.
|
||||
**Note 2:** You can use the `uncrustify` program/tool to clean up any source file. Use it with the `uncrustify.cfg` configuration file found in the root folder.
|
||||
**Note 3:** There is also a style for QtCreator but it doesn't cover all cases. In QtCreator `Tools->Options...->C++->Code Style->Import...` and choose the `codingStyleQtCreator.xml` file found in the root folder.
|
||||
|
||||
### 1. Curly braces ###
|
||||
#### a. Function blocks, class/struct definitions, namespaces ####
|
||||
@@ -10,18 +12,20 @@ int myFunction(int a)
|
||||
//code
|
||||
}
|
||||
|
||||
myClass::myClass(int *parent)
|
||||
void myFunction() {} // empty body
|
||||
|
||||
MyClass::MyClass(int *parent)
|
||||
: m_parent(parent)
|
||||
{
|
||||
//initialiaze
|
||||
//initialize
|
||||
}
|
||||
|
||||
int myClass::myMethod(int a)
|
||||
int MyClass::myMethod(int a)
|
||||
{
|
||||
//code
|
||||
}
|
||||
|
||||
class myOtherClass
|
||||
class MyOtherClass
|
||||
{
|
||||
public:
|
||||
//code
|
||||
@@ -31,10 +35,18 @@ private:
|
||||
//code
|
||||
};
|
||||
|
||||
namespace id
|
||||
namespace Name
|
||||
{
|
||||
//code
|
||||
}
|
||||
|
||||
// Lambdas
|
||||
[](int arg1, int arg2) -> bool { return arg1 < arg2; }
|
||||
|
||||
[this](int arg)
|
||||
{
|
||||
this->acc += arg;
|
||||
}
|
||||
```
|
||||
|
||||
#### b. Other code blocks ####
|
||||
@@ -75,6 +87,12 @@ default:
|
||||
}
|
||||
```
|
||||
|
||||
#### d. single-line blocks (lambdas, initializer lists etc.) ####
|
||||
```c++
|
||||
{} // empty - space before {
|
||||
{ body } // spaces around { and before }
|
||||
```
|
||||
|
||||
### 2. If blocks ###
|
||||
#### a. Multiple tests ####
|
||||
```c++
|
||||
@@ -119,16 +137,16 @@ Generally it will depend on the particular piece of code and would be determined
|
||||
|
||||
### 4. File encoding and line endings.###
|
||||
|
||||
UTF-8 and Unix-like line ending (LF). Unless some platform speficic files need other encodings/line endings.
|
||||
UTF-8 and Unix-like line ending (LF). Unless some platform specific files need other encodings/line endings.
|
||||
|
||||
### 5. Initialization lists.###
|
||||
Initialization lists should be vertical. This will allow for more easily readable diffs. The inilization colon should be indented and in its own line along with first argument. The rest of the arguments should be indented too and have the comma prepended.
|
||||
Initialization lists should be vertical. This will allow for more easily readable diffs. The initialization colon should be indented and in its own line along with first argument. The rest of the arguments should be indented too and have the comma prepended.
|
||||
```c++
|
||||
myClass::myClass(int a, int b, int c, int d)
|
||||
: priv_a(a)
|
||||
, priv_b(b)
|
||||
, priv_c(c)
|
||||
, priv_d(d)
|
||||
: m_a(a)
|
||||
, m_b(b)
|
||||
, m_c(c)
|
||||
, m_d(d)
|
||||
{
|
||||
//code
|
||||
}
|
||||
@@ -137,7 +155,7 @@ myClass::myClass(int a, int b, int c, int d)
|
||||
### 6. Enums.###
|
||||
Enums should be vertical. This will allow for more easily readable diffs. The members should be indented.
|
||||
```c++
|
||||
enum days
|
||||
enum Days
|
||||
{
|
||||
Monday,
|
||||
Tuesday,
|
||||
@@ -149,7 +167,41 @@ enum days
|
||||
};
|
||||
```
|
||||
|
||||
### 7. Misc.###
|
||||
### 7. Names.###
|
||||
All names should be camelCased.
|
||||
|
||||
#### a. Type names and namespaces ####
|
||||
Type names and namespaces start with Upper case letter (except POD types).
|
||||
```c++
|
||||
class ClassName {}
|
||||
|
||||
struct StructName {}
|
||||
|
||||
enum EnumName {}
|
||||
|
||||
typedef QList<ClassName> SomeList;
|
||||
|
||||
namespace NamespaceName
|
||||
{
|
||||
}
|
||||
```
|
||||
|
||||
#### b. Variable names ####
|
||||
Variable names start with lower case letter.
|
||||
```c++
|
||||
int myVar;
|
||||
```
|
||||
|
||||
#### c. Private member variable names ####
|
||||
Private member variable names start with lower case letter and should have ```m_``` prefix.
|
||||
```c++
|
||||
class MyClass
|
||||
{
|
||||
int m_myVar;
|
||||
}
|
||||
```
|
||||
|
||||
### 8. Misc.###
|
||||
|
||||
* Line breaks for long lines with operation:
|
||||
|
||||
@@ -159,6 +211,67 @@ a += "b"
|
||||
+ "d";
|
||||
```
|
||||
|
||||
* Initializers
|
||||
|
||||
We allow brace enclosed initializers only for aggregates and arrays/containers.<br />
|
||||
Brace enclosed initializer MUST be used with equality sign if it follows the variable declaration.<br />
|
||||
Brace enclosed initializer MUST be additionally enclosed in parentheses if it is used in constructor initialization list.<br />
|
||||
Some valid use cases:
|
||||
```c++
|
||||
// aggregate
|
||||
Person john = { "John", "Smith", 21 };
|
||||
Person *john = new Person { "John", "Smith", 21 };
|
||||
|
||||
// array
|
||||
int array[] = { 1, 2, 3, 4 };
|
||||
|
||||
// container
|
||||
QHash<QString, QString> map = {
|
||||
{ "key1", "value1" },
|
||||
{ "key2", "value2" }
|
||||
);
|
||||
|
||||
// member array
|
||||
SomeClass::SomeClass(BaseClass *parent)
|
||||
: BaseClass(parent)
|
||||
, m_someArrayMember({ 1, 2, 3, 4 })
|
||||
{
|
||||
}
|
||||
|
||||
// return from function
|
||||
Person getPersonByName(const QString &name)
|
||||
{
|
||||
// do something
|
||||
return { name, surname, age };
|
||||
}
|
||||
|
||||
// function argument
|
||||
doSomething({ name, surname, age }, someOtherArg);
|
||||
```
|
||||
|
||||
* **auto** keyword
|
||||
|
||||
We allow the use of the **auto** keyword only where it doesn't break the readability of the code (i.e. either we can gather enough information about the type from the right part of the expression, or we do not need to know the exact type), or where it is strictly necessary (for example, to compute the type of a lambda, etc.).<br />
|
||||
Some valid use cases:
|
||||
```c++
|
||||
template <typename List>
|
||||
void doSomethingWithList(const List &list)
|
||||
{
|
||||
foreach (const auto &item, list) {
|
||||
// we don't know item type here so we use 'auto' keyword
|
||||
// do something with item
|
||||
}
|
||||
}
|
||||
|
||||
for (auto it = container.begin(), end = container.end(); it != end; ++it) {
|
||||
// we don't need to know the exact iterator type,
|
||||
// because all iterators have the same interface
|
||||
}
|
||||
|
||||
auto spinBox = static_cast<QSpinBox*>(sender());
|
||||
// we know the variable type based on the right-hand expression
|
||||
```
|
||||
|
||||
* Space around operations eg `a = b + c` or `a=b+c`:
|
||||
|
||||
Before and after the assignment there should be a space. One exception could be: for loops.
|
||||
@@ -173,5 +286,5 @@ for (int a=0; a<b; ++b) {
|
||||
|
||||
* Method definitions aren't allowed in header files
|
||||
|
||||
###8. Not covered above###
|
||||
### 9. Not covered above###
|
||||
If something isn't covered above, just follow the same style the file you are editing has. If that particular detail isn't present in the file you are editing, then use whatever the rest of the project uses.
|
36
CONTRIBUTING.md
Normal file
36
CONTRIBUTING.md
Normal file
@@ -0,0 +1,36 @@
|
||||
# Filing an issue
|
||||
|
||||
### Must read
|
||||
* If you aren't sure, you can ask on the [**forum**](http://forum.qbittorrent.org) or read our [**wiki**](http://wiki.qbittorrent.org) first.
|
||||
* Do a quick **search**. Others might already reported the issue.
|
||||
* Write in **English**!
|
||||
* Provide **version** information: (You can find version numbers at menu `Help -> About -> Libraries`)
|
||||
```
|
||||
qBittorrent:
|
||||
Qt:
|
||||
libtorrent:
|
||||
boost:
|
||||
OS version:
|
||||
|
||||
```
|
||||
* Provide **steps** to reproduce the problem, it will be easier to pinpoint the fault.
|
||||
* **Screenshots**! A screenshot is worth a thousand words. just upload it. [(How?)](https://help.github.com/articles/file-attachments-on-issues-and-pull-requests)
|
||||
|
||||
### Good to know
|
||||
* **Be patient**. The dev team is small and resource limited. Devs finding their free time, analyzing the problem and fixing the issue, it all takes time. :clock3:
|
||||
* If you can code, why not become a **contributor** by fixing the issue and open a pull request? :wink:
|
||||
* Harsh words or threats won't help your situation. What's worse, your complain will (very likely) to be **ignored**. :fearful:
|
||||
|
||||
|
||||
# Opening a pull request
|
||||
|
||||
### Must read
|
||||
* Read our [**coding guidelines**](https://github.com/qbittorrent/qBittorrent/blob/master/CODING_GUIDELINES.md). There are some scripts to help you: [uncrustify script](https://raw.githubusercontent.com/qbittorrent/qBittorrent/master/uncrustify.cfg), [astyle script](https://gist.github.com/Chocobo1/539cee860d1eef0acfa6), [(related thread)](https://github.com/qbittorrent/qBittorrent/issues/2192).
|
||||
* Keep the title **short** and provide a **clear** description about what your pull request does.
|
||||
* Provide **screenshots** for UI related changes.
|
||||
* Keep your git commit history **clean** and **precise**. Commits like `xxx fixup` should not appear.
|
||||
* If your commit fix a reported issue (for example #4134), add the following message to the commit `Closes #4134.`. Example [here](https://github.com/qbittorrent/qBittorrent/commit/a74bac20c4e8de9776bf9bb77fdc7526135d1988).
|
||||
|
||||
### Good to know
|
||||
* **Search** pull request history! Others might already implemented your idea and is waiting to be merged (or got rejected already). Save your precious time by doing a search first.
|
||||
* When resolving merge conflicts, do `git rebase <target_branch_name>`, don't do `git pull`. Then you can start fixing the conflicts. Here is a good explanation: [link](https://www.atlassian.com/git/tutorials/merging-vs-rebasing).
|
185
Changelog
185
Changelog
@@ -1,3 +1,188 @@
|
||||
* Tue Mar 29 2016 - sledgehammer999 <sledgehammer999@qbittorrent.org> - v3.3.4
|
||||
- FEATURE: Download more pieces in "Download first and last pieces first" feature (ngosang)
|
||||
- FEATURE: Unlock first column in peerlist too (thalieht)
|
||||
- FEATURE: Add "Hide zero values" option. Closes #3543. (Chocobo1)
|
||||
- FEATURE: Add a "remaining" column to the torrent content model (Ben Lau)
|
||||
- FEATURE: Allow to toggle columns in peerlist (thalieht)
|
||||
- FEATURE: Add ability to filter log messages by type. (sledgehammer999)
|
||||
- FEATURE: Add ability to write the log to file. (sledgehammer999)
|
||||
- FEATURE: Add 'never show again' checkbox/pref to auto-exit confirm dialog (d3fault, sledgehammer999, Chocobo1)
|
||||
- PERFORMANCE: Perform fastresume data saving in separate thread (glassez)
|
||||
- PERFORMANCE: Optimize session startup (glassez)
|
||||
- BUGFIX: Save resume data using QSaveFile (Qt5 only). This reduces chances of corrupt files. (glassez)
|
||||
- BUGFIX: Check torrent file permissions before opening (birdie-github)
|
||||
- BUGFIX: Always update native session's announce_ip setting (Jesse Connop)
|
||||
- BUGFIX: Fix loading *.magnet files from watched folders. Closes #4701. (sledgehammer999)
|
||||
- BUGFIX: Fix upgrade corrupted fastresume file (glassez)
|
||||
- BUGFIX: Fix total values for "Seeds" & "Peers" (Chocobo1)
|
||||
- BUGFIX: Fix potential race condition. Closes #4742. (Chocobo1)
|
||||
- BUGFIX: Don't merge trackers for private torrents. Closes #2928. (sledgehammer999)
|
||||
- BUGFIX: Fix double buttons in "Add New Torrent" dialog. (Chocobo1)
|
||||
- BUGFIX: Fix malformed date header in email. Closes #4828. (Chocobo1)
|
||||
- BUGFIX: Save "Run external program" input as is. Closes #4830. (Chocobo1)
|
||||
- BUGFIX: Enable "filename" column in peers list again. Crash is fixed now. (Eugene Shalygin)
|
||||
- BUGFIX: Don't display warning when folder name stayed the same after rename. (sledgehammer999)
|
||||
- BUGFIX: Fix selection of Portuguese translation files. (sledgehammer999)
|
||||
- BUGFIX: Fix selection of Esperanto locale. Closes #4999. (sledgehammer999)
|
||||
- BUGFIX: Fix "caja" file manager opens the file instead of opens the directory. Closes #5003. (Chocobo1)
|
||||
- BUGFIX: Fix periodic latency spikes on Windows with WiFi connections. Closes #4209. (sledgehammer999)
|
||||
- BUGFIX: Potentially fix a random crash coming from the sidepanel (sledgehammer999, ngosang)
|
||||
- WEBUI: Fix max_ratio precision. Closes #4707 (ngosang)
|
||||
- WEBUI: Fix JavaScript exception on WebUI load (buinsky)
|
||||
- WEBUI: Fix translation (buinsky)
|
||||
- WEBUI: Submit the label in the new label dialog on pressing enter key (buinsky)
|
||||
- WEBUI: Check WebUI username and password length. Closes #4191 (ngosang)
|
||||
- WEBUI: Minor changes in CSS styles (ngosang)
|
||||
- WEBUI: Add "Added on" and "Completion on" fields to query/torrents query response (buinsky)
|
||||
- WEBUI: Do not try to parse request message when content-length is 0 (Dan Seminara)
|
||||
- WEBUI: Support SSL certificate bundles. Issue #4896. (UnDifferential)
|
||||
- WEBUI: Change the order of the values of speed labels (buinsky)
|
||||
- WEBUI: Bump WebUI API_VERSION
|
||||
- SEARCH: Update PirateBay plugin. (ngosang)
|
||||
- SEARCH: Added TorLock search engine (ngosang)
|
||||
- COSMETIC: Fix splash screen staying on top of all windows. Closes #1391. (sledgehammer999)
|
||||
- COSMETIC: Rearrange advanced settings (Chocobo1)
|
||||
- COSMETIC: Cleanup "about" dialog (Chocobo1)
|
||||
- COSMETIC: Cleanup "Add New Torrent" dialog (Chocobo1)
|
||||
- COSMETIC: Use short date in addnewtorrentdialog (Chocobo1)
|
||||
- COSMETIC: Change "Free disk space" to "Free space on disk" (Chocobo1)
|
||||
- COSMETIC: Let OS handle DPI scaling for now. Should let Qt do the work when it's more mature. (Chocobo1)
|
||||
- COSMETIC: Put comment_lbl in QScrollArea. Closes #4881. (Chocobo1)
|
||||
- COSMETIC: Change the order of the values of speed labels (buinsky)
|
||||
- COSMETIC: Cleanup the Log tab (Chocobo1)
|
||||
- COSMETIC: Cleanup the RSS tab (Chocobo1)
|
||||
- OTHER: Set "Show splash screen on start up" option default to off (Chocobo1)
|
||||
- OTHER: Support for cross-compilation with MXE (Boris Nagaev)
|
||||
- OTHER: Add basic (and unofficial) cmake support (Eugene Shalygin)
|
||||
- OTHER: Move some URLs overs to https (funkydude)
|
||||
- OTHER: Add appveyor support (Chocobo1)
|
||||
- OTHER: TravisCI: switch to Trusty image. Closes #4953. (Chocobo1)
|
||||
- OTHER: Many other internal code restructuring, cleaning and fixing.
|
||||
|
||||
* Thu Jan 21 2016 - sledgehammer999 <sledgehammer999@qbittorrent.org> - v3.3.3
|
||||
- BUGFIX: Temporarily disable "filename" column of peers view. It has a bug that causes frequent crashes. See issue #4597.
|
||||
- WEBUI: Move style of dynamic table header to CSS (buinsky)
|
||||
- WEBUI: Fix unnecessary updates of torrent peers table (buinsky)
|
||||
|
||||
* Tue Jan 19 2016 - sledgehammer999 <sledgehammer999@qbittorrent.org> - v3.3.2
|
||||
- FEATURE: Add a new column to peers list that shows list of files which are downloaded right now from a peer. (evsh)
|
||||
- FEATURE: Improve the "Watch folders" UI. Closes #4300. You'll need to redo your watch folders settings. (sledgehammer999, glassez)
|
||||
- FEATURE: Support loading multiple magnets/hashes/urls per .magnet file in the watched folder(one per line). Closes #217. (sledgehammer999)
|
||||
- BUGFIX: Fix resolution of peer host names. Closes #4307. (sledgehammer999)
|
||||
- BUGFIX: Don't recheck twice after 'Force Recheck' with 'Recheck torrents on completion' enabled. Closes #4274. (sledgehammer999)
|
||||
- BUGFIX: Don't apply some settings again if they weren't changed. Closes #4278. (sledgehammer999)
|
||||
- BUGFIX: Update ISO 3166 country codes. Closes #3942. (Chocobo1)
|
||||
- BUGFIX: Fix moving torrents to Temp after app restart. Closes #4434. (glassez)
|
||||
- BUGFIX: Fix crash in favicon code due to null pointer dereference. (glassez)
|
||||
- BUGFIX: Move the 'qBittorrent-resume' file even when no magnets were recovered. Also make sure to rename it with a unique name. Closes #4334. (sledgehammer999)
|
||||
- BUGFIX: Don't add the watch folder before the user closes the Preferences window. (sledgehammer999)
|
||||
- BUGFIX: Remove watch folders permanently only if the user accepts the Preferences dialog. (sledgehammer999)
|
||||
- BUGFIX: Better handling of cookies in the download manager (glassez)
|
||||
- BUGFIX: Use the download manager for RSS, the program updater and the dns updater. (glassez)
|
||||
- BUGFIX: Fix reconfigure additional trackers (glassez)
|
||||
- BUGFIX: Fix loading corrupted .fastresume file (glassez)
|
||||
- WEBUI: Show filtered torrents number (buinsky)
|
||||
- WEBUI: Fix paused, active and inactive filters (buinsky)
|
||||
- WEBUI: Fixed bug when uploading several files and only the last one was considered. (naikel)
|
||||
- WEBUI: Implemented WebUI interface for the new Watched Folders feature (naikel)
|
||||
- WEBUI: Fix possible showing "qBittorrent client is not reachable" message on deleting torrents. (buinsky)
|
||||
- WEBUI: Don't show "Limit download speed" menu item for downloaded torrents. (buinsky)
|
||||
- WEBUI: Update webui run program parameters (buinsky)
|
||||
- WEBUI: Allow to remove the label assigned to a torrent (pmzqla)
|
||||
- WEBUI: Repair translation (buinsky)
|
||||
- WEBUI: Remember last opened tab (buinsky)
|
||||
- WEBUI: Bump WebUI API_VERSION and API_VERSION_MIN.
|
||||
- COSMETIC: Update native names for Chinese locales. Closes #4381. (sledgehammer999)
|
||||
- COSMETIC: Rename column header in Content view. (Chocobo1)
|
||||
- COSMETIC: Edit speed limits and upload ratio icons (buinsky)
|
||||
- SEARCH: Code refactoring. (glassez)
|
||||
- SEARCH: Fix PirateBay plugin implementation for Python 3 (ngosang)
|
||||
- SEARCH: Update PirateBay URL. Closes #4470 (ngosang)
|
||||
- RSS: Code refactoring. (glassez)
|
||||
- LINUX: Fix build. (sledgehammer999)
|
||||
- OSX: Set qBittorrent as default torrent app in Mac OS (dmitry.viktorov)
|
||||
- OTHER: Fix lrelease version due to the default Qt5 build (Fabio Alessandro Locati)
|
||||
- OTHER: Indicate to the user that he's going to download the new version. Indicate from the installer that the old version was detected and no settings will be deleted. Closes #4320. (sledgehammer999)
|
||||
- OTHER: Don't require GUI libs for qt4 nox build. Closes #4404. (sledgehammer999)
|
||||
- OTHER: Fix cross-compilation (bnagaev)
|
||||
- OTHER: Allow GeoIP in nox builds (glassez)
|
||||
|
||||
* Tue Dec 08 2015 - sledgehammer999 <sledgehammer999@qbittorrent.org> - v3.3.1
|
||||
- FEATURE: New "Set as default label" option in Add torrent dialog. (takiz)
|
||||
- FEATURE: Support wildcards for filtering torrent list and torrent content (vlakoff)
|
||||
- BUGFIX: Fix -1 is displayed instead of the infinity symbol (Chocobo1)
|
||||
- BUGFIX: Fix scan dirs settings saving. Closes #4254, #4239, #4187. (glassez)
|
||||
- BUGFIX: Exported torrents now use name instead of hash. Closes #4205. (glassez)
|
||||
- BUGFIX: Improve upgrade to v3.3.0. Now undownloaded magnets will be migrated too. Fixes #4195. (glassez)
|
||||
- BUGFIX: Fix wrong encoding for listen failed error message. (glassez)
|
||||
- BUGFIX: Fix RSS not automarking articles as read. (glassez)
|
||||
- BUGFIX: Fix possible deadlock during application exit. (sledgehammer999)
|
||||
- WEBUI: Cookies support on WebUI when downloading torrent from a URL. (Naikel Aparicio)
|
||||
- WEBUI: Modified download and upload windows to allow autocompletion of browsers. (Naikel Aparicio)
|
||||
- WEBUI: Fixed the spinner in the WebUI upload page. (Naikel Aparicio)
|
||||
- WEBUI: Modified height of the WebUI download page. (Naikel Aparicio)
|
||||
- WEBUI: Fixed all the JavaScript functions for download and upload pages. (Naikel Aparicio)
|
||||
- WEBUI: Add seeds tab to WebUI (buinsky)
|
||||
- WEBUI: Bump WebUI API_VERSION.
|
||||
- COSMETIC: Cleanup "Trackers", "Peers", "HTTP Sources", "Speed" and "Content" page layout (Chocobo1)
|
||||
- COSMETIC: Reduce mainwindow border width (Chocobo1)
|
||||
- COSMETIC: Use QLineEdit built-in ClearButton (Qt5 only) (Chocobo1)
|
||||
- COSMETIC: Change text description for half-open connection (Chocobo1)
|
||||
- OTHER: Change update URL to FossHub. Closes #4188. (sledgehammer999)
|
||||
|
||||
|
||||
* Sun Nov 29 2015 - sledgehammer999 <sledgehammer999@qbittorrent.org> - v3.3.0
|
||||
- FEATURE: Huge core code refactoring. Problems with labels, temp folders etc should be eliminated. Smoother UI should be observed too. (glassez)
|
||||
- FEATURE: Speed graph (Anton Lashkov)
|
||||
- FEATURE: Add multiple peers in Peers addition dialog. Closes #1563, #2245, #3133, #1419, #3287, #1419 (ngosang)
|
||||
- FEATURE: Allow to copy all peers with a keyboard shortcut (ngosang)
|
||||
- FEATURE: Use GeoIP2 database, allows for country resolution of IPv6 peers. It is no longer embedded in the program but downloaded and updated monthly. (glassez)
|
||||
- FEATURE: Add more "Run External Program" parameters, closes #3053, #238, #1291, #1522. (Chocobo1, glassez)
|
||||
- FEATURE: Add an option to allow the use of proxies only for torrents. Closes #2701. (pmzqla)
|
||||
- FEATURE: Detect network interface state changes. It should detect VPN connection resets. (Pawel Polewicz)
|
||||
- FEATURE: Switch to using c++11 (glassez)
|
||||
- FEATURE: Automatically add trackers to new downloads. (ngosang)
|
||||
- FEATURE: You can now choose the path to download for watched folders. (dsimakov, sledgehammer999)
|
||||
- FEATURE: Switch to Qt5 by default.
|
||||
- BUGFIX: Fix progress calculation in Content tab. Closes #2639 Closes #2752 (ngosang)
|
||||
- BUGFIX: Fix label filter. Closes #3429. (glassez)
|
||||
- BUGFIX: Fix "Run External Program Launches too Early" issue, closes #2107. (Chocobo1)
|
||||
- BUGFIX: Don't remove torrent contents parent folder, even it is empty. Closes #2244. (Chocobo1)
|
||||
- BUGFIX: Always apply filter for manually banned IPs. Related #3988. (sledgehammer999)
|
||||
- BUGFIX: Fix reporting of tracker status. Closes #3101. (sledgehammer999)
|
||||
- BUGFIX: Don't connect to "any interface" when the configured network interface is missing. Closes #3943, #2741, #1159, #844 and #143. (sledgehammer999)
|
||||
- BUGFIX: Fix reordering of first column with Qt5. Closes #2835. (sledgehammer999)
|
||||
- COSMETIC: Add back "qBittorrent" in program updater title, closes #3549. (Chocobo1)
|
||||
- COSMETIC: Use infinity symbol rather than -1 for nb_connections (pmzqla)
|
||||
- COSMETIC: Move uTP options to it's own section (Chocobo1)
|
||||
- COSMETIC: Fix availability bar & progress bar height being too small on high DPI displays (Chocobo1)
|
||||
- COSMETIC: Fix availability label & progress label clipped on high DPI displays, closes #3237. (Chocobo1)
|
||||
- COSMETIC: Add tooltips/legend for availability bar & progress bar (Chocobo1)
|
||||
- COSMETIC: Use theme color for background in PropertiesWidget (Chocobo1)
|
||||
- COSMETIC: Replace horizontal line with border in bottom panel (Chocobo1)
|
||||
- COSMETIC: Various visual changes in the side panel. (Chocobo1)
|
||||
- COSMETIC: Use thin border for transfer list (Chocobo1)
|
||||
- COSMETIC: Make URL in "Add Torrent File..." clickable. Closes #3928. (Chocobo1)
|
||||
- COSMETIC: New view for errored torrents. (sledgehammer999)
|
||||
- WEBUI: Add information in General tab (ngosang)
|
||||
- WEBUI: Reorder "Super seeding mode" option in right click menu (ngosang)
|
||||
- WEBUI: Clean up JavaScript code (ngosang)
|
||||
- WEBUI: Added labels support. #648 (Felipe Barriga Richards, ngosnag)
|
||||
- WEBUI: Fix accessing the WebUI through IPv6 (ngosang)
|
||||
- WEBUI: Bump WebUI API_VERSION to 6.
|
||||
- WEBUI: Change selected color to differentiate from the progressbar. (Daniel Peukert, ngosang)
|
||||
- SEARCH: Add "Copy description page URL" button in search tab. Closes #2371. (pmzqla)
|
||||
- SEARCH: Add https_proxy env variable. This forces Python to use the HTTP proxy for HTTPS connections. (pmzqla)
|
||||
- SEARCH: Detect new plugin URL from clipboard (ngosang)
|
||||
- SEARCH: Update Torrentz trackers (ngosang)
|
||||
- WINDOWS: Fix german translation of the installer (netswap)
|
||||
- NOX: Don't ask the user questions in nox build when in non-interactive mode. Closes #3875. (sledgehammer999)
|
||||
- OTHER: Fixed typos, spelling correction (dartraiden)
|
||||
- OTHER: Fix need for restart to enable/disable peer countries resolution. (glassez)
|
||||
- OTHER: Unload the GeoIP db when disabled. (sledgehammer999)
|
||||
- OTHER: Reduce max value of "Disk cache size" to 1536MB for 32bit. Closes to #4028. (Chocobo1)
|
||||
- OTHER: Make "Download in sequential order" and "Download first and last piece first" options independent. (glassez)
|
||||
|
||||
* Sun May 10 2015 - sledgehammer999 <sledgehammer999@qbittorrent.org> - v3.2.0
|
||||
- FEATURE: Show actual protocol for listen success/failure in the log. Needs libtorrent v1.0.0 (Gelmir)
|
||||
- FEATURE: Support per tracker re-announce. Needs libtorrent v1.0.0 (Gelmir)
|
||||
|
10
INSTALL
10
INSTALL
@@ -14,15 +14,11 @@ qBittorrent - A BitTorrent client in C++ / Qt4
|
||||
|
||||
- pkg-config executable
|
||||
|
||||
- libtorrent-rasterbar by Arvid Norberg (>= 0.15.0)
|
||||
- libtorrent-rasterbar by Arvid Norberg (>= 1.0.6)
|
||||
-> http://www.libtorrent.net
|
||||
Be careful: another library (the one used by rTorrent) uses a similar name.
|
||||
|
||||
- libboost 1.34.x (libboost-filesystem°) + libasio
|
||||
or
|
||||
- libboost >= 1.35.x (libboost-system, libboost-filesystem°)
|
||||
|
||||
°libboost-filesystem is not needed if libtorrent-rasterbar >= v0.16.x is used
|
||||
- libboost >= 1.35.x (libboost-system)
|
||||
|
||||
- python >= 2.3 (needed by search engine)
|
||||
* Run time only dependency
|
||||
@@ -44,7 +40,7 @@ qBittorrent - A BitTorrent client in C++ / Qt4
|
||||
|
||||
- pkg-config executable
|
||||
|
||||
- libtorrent-rasterbar by Arvid Norberg (>= v0.15.0)
|
||||
- libtorrent-rasterbar by Arvid Norberg (>= v1.0.6)
|
||||
-> http://www.libtorrent.net
|
||||
Be careful: another library (the one used by rTorrent) uses a similar name.
|
||||
|
||||
|
18
README.md
18
README.md
@@ -1,9 +1,11 @@
|
||||
qBittorrent - A BitTorrent client in Qt
|
||||
------------------------------------------
|
||||
|
||||
[](https://travis-ci.org/qbittorrent/qBittorrent)
|
||||
[](https://travis-ci.org/qbittorrent/qBittorrent)
|
||||
[](https://ci.appveyor.com/project/qbittorrent/qBittorrent)
|
||||
[](https://scan.coverity.com/projects/5494)
|
||||
********************************
|
||||
###Description:
|
||||
### Description:
|
||||
qBittorrent is a bittorrent client programmed in C++ / Qt that uses
|
||||
libtorrent (sometimes called libtorrent-rasterbar) by Arvid Norberg.
|
||||
|
||||
@@ -12,7 +14,7 @@ out there. qBittorrent is fast, stable and provides unicode
|
||||
support as well as many features.
|
||||
|
||||
This product includes GeoLite data created by MaxMind, available from
|
||||
http://maxmind.com/
|
||||
https://www.maxmind.com/
|
||||
|
||||
### Installation:
|
||||
For installation, follow the instructions from INSTALL file, but simple:
|
||||
@@ -25,12 +27,21 @@ qbittorrent
|
||||
|
||||
will install and execute qBittorrent hopefully without any problem.
|
||||
|
||||
### Public key:
|
||||
Starting from v3.3.4 all source tarballs and binaries are signed.<br />
|
||||
The key currently used is 4096R/[520EC6F6](https://pgp.mit.edu/pks/lookup?op=get&search=0xA1ACCAE4520EC6F6) with fingerprint `F4A5FD201B117B1C2AB590E2A1ACCAE4520EC6F6`.<br />
|
||||
You can also download it from [here](https://github.com/qbittorrent/qBittorrent/raw/master/520EC6F6.asc).<br />
|
||||
|
||||
### Misc:
|
||||
For more information please visit:
|
||||
http://www.qbittorrent.org
|
||||
|
||||
or our wiki here:
|
||||
http://wiki.qbittorrent.org
|
||||
|
||||
Use the forum for troubleshooting before reporting bugs:
|
||||
http://forum.qbittorrent.org
|
||||
|
||||
Please report any bug (or feature request) to:
|
||||
http://bugs.qbittorrent.org
|
||||
|
||||
@@ -39,4 +50,3 @@ You can also meet me (sledgehammer_999) on IRC:
|
||||
|
||||
------------------------------------------
|
||||
sledgehammer999 <sledgehammer999@qbittorrent.org>
|
||||
|
||||
|
@@ -26,7 +26,7 @@ How to build
|
||||
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:
|
||||
|
||||
##### conf.pri content beginn #####
|
||||
##### conf.pri content begin #####
|
||||
BINDIR = ./bin
|
||||
INCDIR = ./include
|
||||
LIBDIR = ./lib
|
||||
|
52
appveyor.yml
Normal file
52
appveyor.yml
Normal file
@@ -0,0 +1,52 @@
|
||||
version: '{branch}-{build}'
|
||||
|
||||
# Do not build on tags (GitHub only)
|
||||
skip_tags: true
|
||||
|
||||
os: Visual Studio 2015
|
||||
|
||||
environment:
|
||||
REPO_DIR: &REPO_DIR c:\qbittorrent
|
||||
CACHE_DIR: &CACHE_DIR c:\qbt_cache
|
||||
|
||||
QBT_VER_URL: http://builds.shiki.hu/appveyor/version
|
||||
QBT_LIB_URL: http://builds.shiki.hu/appveyor/qbt_libraries.7z
|
||||
|
||||
# project directory
|
||||
clone_folder: *REPO_DIR
|
||||
|
||||
# cache size should < 100MB (after compressing with fastest option):
|
||||
# see: https://www.appveyor.com/docs/build-cache#save-update-cache-before-build-finishes
|
||||
cache:
|
||||
- *CACHE_DIR
|
||||
|
||||
install:
|
||||
# check if library needs update
|
||||
- appveyor DownloadFile "%QBT_VER_URL%" -FileName "c:\version_new" && SET /P newVersion=<"c:\version_new"
|
||||
- IF EXIST "%CACHE_DIR%\version" (SET /P oldVersion=<"%CACHE_DIR%\version")
|
||||
- IF NOT EXIST "%CACHE_DIR%\version" (SET updateCache=1)
|
||||
- IF NOT "%oldVersion%" == "%newVersion%" (SET updateCache=1)
|
||||
# update library
|
||||
- IF "%updateCache%" == "1" (ECHO "--- Will redownload libraries ---" &&
|
||||
RMDIR /S /Q "%CACHE_DIR%" & MKDIR "%CACHE_DIR%" &&
|
||||
appveyor DownloadFile "%QBT_LIB_URL%" -FileName "c:\qbt_lib.7z" && 7z x "c:\qbt_lib.7z" -o"%CACHE_DIR%" > nul &&
|
||||
COPY "c:\version_new" "%CACHE_DIR%\version")
|
||||
# Qt stay compressed in cache
|
||||
- 7z x "%CACHE_DIR%\qt5_32.7z" -o"c:\qbt" > nul
|
||||
|
||||
before_build:
|
||||
# setup env
|
||||
- CALL "c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\vcvars32.bat"
|
||||
- SET PATH=%PATH%;c:\qbt\qt5_32\bin;%CACHE_DIR%\jom;
|
||||
# setup project
|
||||
- COPY /Y "%CACHE_DIR%\winconf.pri" "%REPO_DIR%"
|
||||
- COPY /Y "%CACHE_DIR%\winconf-msvc.pri" "%REPO_DIR%"
|
||||
# workarounds
|
||||
- MKLINK /J "c:\qbt\base" "%CACHE_DIR%\base"
|
||||
|
||||
build_script:
|
||||
- cd "%REPO_DIR%"
|
||||
- qmake qbittorrent.pro && cd src && qmake src.pro
|
||||
- jom -j2 -f Makefile.Release
|
||||
|
||||
test: off
|
93
cmake/Modules/FindLibtorrentRasterbar.cmake
Normal file
93
cmake/Modules/FindLibtorrentRasterbar.cmake
Normal file
@@ -0,0 +1,93 @@
|
||||
# - Try to find libtorrent-rasterbar
|
||||
#
|
||||
# If not using pkg-config, you can pre-set LibtorrentRasterbar_CUSTOM_DEFINITIONS
|
||||
# for definitions unrelated to Boost's separate compilation (which are already
|
||||
# decided by the LibtorrentRasterbar_USE_STATIC_LIBS variable).
|
||||
#
|
||||
# Once done this will define
|
||||
# LibtorrentRasterbar_FOUND - System has libtorrent-rasterbar
|
||||
# LibtorrentRasterbar_INCLUDE_DIRS - The libtorrent-rasterbar include directories
|
||||
# LibtorrentRasterbar_LIBRARIES - The libraries needed to use libtorrent-rasterbar
|
||||
# LibtorrentRasterbar_DEFINITIONS - Compiler switches required for using libtorrent-rasterbar
|
||||
# LibtorrentRasterbar_OPENSSL_ENABLED - libtorrent-rasterbar uses and links against OpenSSL
|
||||
|
||||
find_package(Threads REQUIRED)
|
||||
find_package(PkgConfig QUIET)
|
||||
|
||||
if(PKG_CONFIG_FOUND)
|
||||
pkg_check_modules(PC_LIBTORRENT_RASTERBAR QUIET libtorrent-rasterbar)
|
||||
endif()
|
||||
|
||||
if(LibtorrentRasterbar_USE_STATIC_LIBS)
|
||||
set(LibtorrentRasterbar_ORIG_CMAKE_FIND_LIBRARY_SUFFIXES ${CMAKE_FIND_LIBRARY_SUFFIXES})
|
||||
set(CMAKE_FIND_LIBRARY_SUFFIXES ${CMAKE_STATIC_LIBRARY_SUFFIX})
|
||||
endif()
|
||||
|
||||
if(PC_LIBTORRENT_RASTERBAR_FOUND)
|
||||
set(LibtorrentRasterbar_DEFINITIONS ${PC_LIBTORRENT_RASTERBAR_CFLAGS})
|
||||
else()
|
||||
if(LibtorrentRasterbar_CUSTOM_DEFINITIONS)
|
||||
set(LibtorrentRasterbar_DEFINITIONS ${LibtorrentRasterbar_CUSTOM_DEFINITIONS})
|
||||
else()
|
||||
# Without pkg-config, we can't possibly figure out the correct build flags.
|
||||
# libtorrent is very picky about those. Let's take a set of defaults and
|
||||
# hope that they apply. If not, you the user are on your own.
|
||||
set(LibtorrentRasterbar_DEFINITIONS
|
||||
-DTORRENT_USE_OPENSSL
|
||||
-DTORRENT_DISABLE_GEO_IP
|
||||
-DBOOST_ASIO_ENABLE_CANCELIO
|
||||
-DUNICODE -D_UNICODE -D_FILE_OFFSET_BITS=64)
|
||||
endif()
|
||||
|
||||
if(NOT LibtorrentRasterbar_USE_STATIC_LIBS)
|
||||
list(APPEND LibtorrentRasterbar_DEFINITIONS
|
||||
-DTORRENT_LINKING_SHARED
|
||||
-DBOOST_SYSTEM_DYN_LINK -DBOOST_CHRONO_DYN_LINK)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
message(STATUS "libtorrent definitions: ${LibtorrentRasterbar_DEFINITIONS}")
|
||||
|
||||
find_path(LibtorrentRasterbar_INCLUDE_DIR libtorrent
|
||||
HINTS ${PC_LIBTORRENT_RASTERBAR_INCLUDEDIR} ${PC_LIBTORRENT_RASTERBAR_INCLUDE_DIRS}
|
||||
PATH_SUFFIXES libtorrent-rasterbar)
|
||||
|
||||
find_library(LibtorrentRasterbar_LIBRARY NAMES torrent-rasterbar libtorrent
|
||||
HINTS ${PC_LIBTORRENT_RASTERBAR_LIBDIR} ${PC_LIBTORRENT_RASTERBAR_LIBRARY_DIRS})
|
||||
|
||||
if(LibtorrentRasterbar_USE_STATIC_LIBS)
|
||||
set(CMAKE_FIND_LIBRARY_SUFFIXES ${LibtorrentRasterbar_ORIG_CMAKE_FIND_LIBRARY_SUFFIXES})
|
||||
endif()
|
||||
|
||||
set(LibtorrentRasterbar_LIBRARIES ${LibtorrentRasterbar_LIBRARY} ${CMAKE_THREAD_LIBS_INIT})
|
||||
set(LibtorrentRasterbar_INCLUDE_DIRS ${LibtorrentRasterbar_INCLUDE_DIR})
|
||||
|
||||
if(NOT Boost_SYSTEM_FOUND OR NOT Boost_CHRONO_FOUND OR NOT Boost_RANDOM_FOUND)
|
||||
find_package(Boost REQUIRED COMPONENTS date_time system chrono random thread)
|
||||
set(LibtorrentRasterbar_LIBRARIES
|
||||
${LibtorrentRasterbar_LIBRARIES} ${Boost_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
|
||||
set(LibtorrentRasterbar_INCLUDE_DIRS
|
||||
${LibtorrentRasterbar_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS})
|
||||
endif()
|
||||
|
||||
list(FIND LibtorrentRasterbar_DEFINITIONS -DTORRENT_USE_OPENSSL LibtorrentRasterbar_ENCRYPTION_INDEX)
|
||||
if(LibtorrentRasterbar_ENCRYPTION_INDEX GREATER -1)
|
||||
find_package(OpenSSL REQUIRED)
|
||||
set(LibtorrentRasterbar_LIBRARIES ${LibtorrentRasterbar_LIBRARIES} ${OPENSSL_LIBRARIES})
|
||||
set(LibtorrentRasterbar_INCLUDE_DIRS ${LibtorrentRasterbar_INCLUDE_DIRS} ${OPENSSL_INCLUDE_DIRS})
|
||||
set(LibtorrentRasterbar_OPENSSL_ENABLED ON)
|
||||
endif()
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
# handle the QUIETLY and REQUIRED arguments and set LibtorrentRasterbar_FOUND to TRUE
|
||||
# if all listed variables are TRUE
|
||||
find_package_handle_standard_args(LibtorrentRasterbar DEFAULT_MSG
|
||||
LibtorrentRasterbar_LIBRARY
|
||||
LibtorrentRasterbar_INCLUDE_DIR
|
||||
Boost_SYSTEM_FOUND
|
||||
Boost_CHRONO_FOUND
|
||||
Boost_RANDOM_FOUND)
|
||||
|
||||
mark_as_advanced(LibtorrentRasterbar_INCLUDE_DIR LibtorrentRasterbar_LIBRARY
|
||||
LibtorrentRasterbar_ORIG_CMAKE_FIND_LIBRARY_SUFFIXES
|
||||
LibtorrentRasterbar_ENCRYPTION_INDEX)
|
81
cmake/Modules/FindQtSingleApplication.cmake
Normal file
81
cmake/Modules/FindQtSingleApplication.cmake
Normal file
@@ -0,0 +1,81 @@
|
||||
# - Try to find the QtSingleApplication includes and library
|
||||
# which defines
|
||||
#
|
||||
# QTSINGLEAPPLICATION_FOUND - system has QtSingleApplication
|
||||
# QTSINGLEAPPLICATION_INCLUDE_DIR - where to find header QtSingleApplication
|
||||
# QTSINGLEAPPLICATION_LIBRARIES - the libraries to link against to use QtSingleApplication
|
||||
# QTSINGLEAPPLICATION_LIBRARY - where to find the QtSingleApplication library (not for general use)
|
||||
|
||||
# copyright (c) 2013 TI_Eugene ti.eugene@gmail.com
|
||||
#
|
||||
# Redistribution and use is allowed according to the terms of the FreeBSD license.
|
||||
|
||||
SET(QTSINGLEAPPLICATION_FOUND FALSE)
|
||||
|
||||
IF(QT4_FOUND)
|
||||
message(STATUS "Looking for Qt4 single application library")
|
||||
FIND_PATH(QTSINGLEAPPLICATION_INCLUDE_DIR QtSingleApplication
|
||||
# standard locations
|
||||
/usr/include
|
||||
/usr/include/QtSolutions
|
||||
# qt4 location except mac's frameworks
|
||||
"${QT_INCLUDE_DIR}/QtSolutions"
|
||||
# mac's frameworks
|
||||
${FRAMEWORK_INCLUDE_DIR}/QtSolutions
|
||||
)
|
||||
|
||||
SET(QTSINGLEAPPLICATION_NAMES ${QTSINGLEAPPLICATION_NAMES}
|
||||
QtSolutions_SingleApplication-2.6 libQtSolutions_SingleApplication-2.6)
|
||||
FIND_LIBRARY(QTSINGLEAPPLICATION_LIBRARY
|
||||
NAMES ${QTSINGLEAPPLICATION_NAMES}
|
||||
PATHS ${QT_LIBRARY_DIR}
|
||||
)
|
||||
ELSEIF(Qt5Widgets_FOUND)
|
||||
message(STATUS "Looking for Qt5 single application library")
|
||||
FOREACH(TOP_INCLUDE_PATH in ${Qt5Widgets_INCLUDE_DIRS} ${FRAMEWORK_INCLUDE_DIR})
|
||||
FIND_PATH(QTSINGLEAPPLICATION_INCLUDE_DIR QtSingleApplication ${TOP_INCLUDE_PATH}/QtSolutions)
|
||||
|
||||
IF(QTSINGLEAPPLICATION_INCLUDE_DIR)
|
||||
BREAK()
|
||||
ENDIF()
|
||||
ENDFOREACH()
|
||||
|
||||
SET(QTSINGLEAPPLICATION_NAMES ${QTSINGLEAPPLICATION_NAMES}
|
||||
Qt5Solutions_SingleApplication-2.6 libQt5Solutions_SingleApplication-2.6
|
||||
QtSolutions_SingleApplication-2.6 libQtSolutions_SingleApplication-2.6)
|
||||
GET_TARGET_PROPERTY(QT5_WIDGETSLIBRARY Qt5::Widgets LOCATION)
|
||||
GET_FILENAME_COMPONENT(QT5_WIDGETSLIBRARYPATH ${QT5_WIDGETSLIBRARY} PATH)
|
||||
|
||||
FIND_LIBRARY(QTSINGLEAPPLICATION_LIBRARY
|
||||
NAMES ${QTSINGLEAPPLICATION_NAMES}
|
||||
PATHS ${QT5_WIDGETSLIBRARYPATH}
|
||||
)
|
||||
ENDIF()
|
||||
|
||||
IF (QTSINGLEAPPLICATION_LIBRARY AND QTSINGLEAPPLICATION_INCLUDE_DIR)
|
||||
|
||||
SET(QTSINGLEAPPLICATION_LIBRARIES ${QTSINGLEAPPLICATION_LIBRARY})
|
||||
SET(QTSINGLEAPPLICATION_FOUND TRUE)
|
||||
|
||||
IF (CYGWIN)
|
||||
IF(BUILD_SHARED_LIBS)
|
||||
# No need to define QTSINGLEAPPLICATION_USE_DLL here, because it's default for Cygwin.
|
||||
ELSE(BUILD_SHARED_LIBS)
|
||||
SET (QTSINGLEAPPLICATION_DEFINITIONS -DQTSINGLEAPPLICATION_STATIC)
|
||||
ENDIF(BUILD_SHARED_LIBS)
|
||||
ENDIF (CYGWIN)
|
||||
|
||||
ENDIF (QTSINGLEAPPLICATION_LIBRARY AND QTSINGLEAPPLICATION_INCLUDE_DIR)
|
||||
|
||||
IF (QTSINGLEAPPLICATION_FOUND)
|
||||
IF (NOT QtSingleApplication_FIND_QUIETLY)
|
||||
MESSAGE(STATUS "Found QtSingleApplication: ${QTSINGLEAPPLICATION_LIBRARY}")
|
||||
MESSAGE(STATUS " includes: ${QTSINGLEAPPLICATION_INCLUDE_DIR}")
|
||||
ENDIF (NOT QtSingleApplication_FIND_QUIETLY)
|
||||
ELSE (QTSINGLEAPPLICATION_FOUND)
|
||||
IF (QtSingleApplication_FIND_REQUIRED)
|
||||
MESSAGE(FATAL_ERROR "Could not find QtSingleApplication library")
|
||||
ENDIF (QtSingleApplication_FIND_REQUIRED)
|
||||
ENDIF (QTSINGLEAPPLICATION_FOUND)
|
||||
|
||||
MARK_AS_ADVANCED(QTSINGLEAPPLICATION_INCLUDE_DIR QTSINGLEAPPLICATION_LIBRARY)
|
23
cmake/Modules/FindSystemd.cmake
Normal file
23
cmake/Modules/FindSystemd.cmake
Normal file
@@ -0,0 +1,23 @@
|
||||
#######
|
||||
# Find systemd service dir
|
||||
# sets variables
|
||||
# SYSTEMD_FOUND
|
||||
# SYSTEMD_SERVICES_INSTALL_DIR
|
||||
if (NOT SYSTEMD_FOUND)
|
||||
pkg_check_modules(SYSTEMD "systemd")
|
||||
endif(NOT SYSTEMD_FOUND)
|
||||
|
||||
if (SYSTEMD_FOUND AND "${SYSTEMD_SERVICES_INSTALL_DIR}" STREQUAL "")
|
||||
execute_process(COMMAND ${PKG_CONFIG_EXECUTABLE}
|
||||
--variable=systemdsystemunitdir systemd
|
||||
OUTPUT_VARIABLE SYSTEMD_SERVICES_INSTALL_DIR)
|
||||
string(REGEX REPLACE "[ \t\n]+" "" SYSTEMD_SERVICES_INSTALL_DIR
|
||||
"${SYSTEMD_SERVICES_INSTALL_DIR}")
|
||||
elseif (NOT SYSTEMD_FOUND AND SYSTEMD_SERVICES_INSTALL_DIR)
|
||||
message (FATAL_ERROR "Variable SYSTEMD_SERVICES_INSTALL_DIR is\
|
||||
defined, but we can't find systemd using pkg-config")
|
||||
endif()
|
||||
|
||||
if (SYSTEMD_FOUND)
|
||||
message(STATUS "systemd services install dir: ${SYSTEMD_SERVICES_INSTALL_DIR}")
|
||||
endif(SYSTEMD_FOUND)
|
38
cmake/Modules/MacroConfigureMSVCRuntime.cmake
Normal file
38
cmake/Modules/MacroConfigureMSVCRuntime.cmake
Normal file
@@ -0,0 +1,38 @@
|
||||
macro(configure_msvc_runtime)
|
||||
if(MSVC)
|
||||
# Default to statically-linked runtime.
|
||||
if("${MSVC_RUNTIME}" STREQUAL "")
|
||||
set(MSVC_RUNTIME "static")
|
||||
endif()
|
||||
# Set compiler options.
|
||||
set(variables
|
||||
CMAKE_C_FLAGS_DEBUG
|
||||
CMAKE_C_FLAGS_MINSIZEREL
|
||||
CMAKE_C_FLAGS_RELEASE
|
||||
CMAKE_C_FLAGS_RELWITHDEBINFO
|
||||
CMAKE_CXX_FLAGS_DEBUG
|
||||
CMAKE_CXX_FLAGS_MINSIZEREL
|
||||
CMAKE_CXX_FLAGS_RELEASE
|
||||
CMAKE_CXX_FLAGS_RELWITHDEBINFO
|
||||
)
|
||||
if(${MSVC_RUNTIME} STREQUAL "static")
|
||||
message(STATUS
|
||||
"MSVC -> forcing use of statically-linked runtime."
|
||||
)
|
||||
foreach(variable ${variables})
|
||||
if(${variable} MATCHES "/MD")
|
||||
string(REGEX REPLACE "/MD" "/MT" ${variable} "${${variable}}")
|
||||
endif()
|
||||
endforeach()
|
||||
else()
|
||||
message(STATUS
|
||||
"MSVC -> forcing use of dynamically-linked runtime."
|
||||
)
|
||||
foreach(variable ${variables})
|
||||
if(${variable} MATCHES "/MT")
|
||||
string(REGEX REPLACE "/MT" "/MD" ${variable} "${${variable}}")
|
||||
endif()
|
||||
endforeach()
|
||||
endif()
|
||||
endif()
|
||||
endmacro()
|
16
cmake/Modules/MacroLinkQtComponents.cmake
Normal file
16
cmake/Modules/MacroLinkQtComponents.cmake
Normal file
@@ -0,0 +1,16 @@
|
||||
# - macro similar to target_link_libraries, which links Qt components
|
||||
# names of the components are pased in Qt4/Qt5 agnostic way (Core, DBus, Xml...)
|
||||
# and the macro links Qt4 ones if QT4_FOUND is set or Qt5 ones if not
|
||||
|
||||
macro (target_link_qt_components target)
|
||||
if (QT4_FOUND)
|
||||
foreach(_cmp ${ARGN})
|
||||
list(APPEND _QT_CMPNTS "Qt4::Qt${_cmp}")
|
||||
endforeach()
|
||||
else (QT4_FOUND)
|
||||
foreach(_cmp ${ARGN})
|
||||
list(APPEND _QT_CMPNTS "Qt5::${_cmp}")
|
||||
endforeach()
|
||||
endif (QT4_FOUND)
|
||||
target_link_libraries(${target} ${_QT_CMPNTS})
|
||||
endmacro()
|
14
cmake/Modules/winconf-mingw.cmake
Normal file
14
cmake/Modules/winconf-mingw.cmake
Normal file
@@ -0,0 +1,14 @@
|
||||
if (STACKTRACE_WIN)
|
||||
if ("${WINXXBITS}" NOT STREQUAL "Win64")
|
||||
add_compile_options(-fno-omit-frame-pointer)
|
||||
endif ("${WINXXBITS}" NOT STREQUAL "Win64")
|
||||
link_libraries(libdbghelp -Wl,--export-all-symbols)
|
||||
endif (STACKTRACE_WIN)
|
||||
|
||||
if (("${CMAKE_BUILD_TYPE}" STREQUAL "Debug") OR ("${CMAKE_BUILD_TYPE}" STREQUAL "RelWithDebInfo"))
|
||||
link_libraries(-Wl,--dynamicbase)
|
||||
endif()
|
||||
|
||||
# LIBS += libadvapi32 libshell32 libuser32
|
||||
# LIBS += libcrypto.dll libssl.dll libwsock32 libws2_32 libz libiconv.dll
|
||||
# LIBS += libpowrprof
|
21
cmake/Modules/winconf-msvc.cmake
Normal file
21
cmake/Modules/winconf-msvc.cmake
Normal file
@@ -0,0 +1,21 @@
|
||||
if (STACKTRACE_WIN)
|
||||
if ("${WINXXBITS}" STREQUAL "Win64")
|
||||
add_compile_options(-Zi)
|
||||
else ("${WINXXBITS}" STREQUAL "Win64")
|
||||
# i686 arch requires frame pointer preservation
|
||||
add_compile_options(-Oy-)
|
||||
endif ("${WINXXBITS}" STREQUAL "Win64")
|
||||
link_libraries(dbghelp.lib)
|
||||
endif (STACKTRACE_WIN)
|
||||
|
||||
# Enable Wide characters
|
||||
add_definitions(-DTORRENT_USE_WPATH)
|
||||
|
||||
if (NOT QT5)
|
||||
# Qt4 does not detect it itself
|
||||
add_definitions(-DQ_COMPILER_INITIALIZER_LISTS)
|
||||
endif (NOT QT5)
|
||||
|
||||
include(MacroConfigureMSVCRuntime)
|
||||
set(MSVC_RUNTIME "dynamic")
|
||||
configure_msvc_runtime()
|
86
cmake/Modules/winconf.cmake
Normal file
86
cmake/Modules/winconf.cmake
Normal file
@@ -0,0 +1,86 @@
|
||||
# Settings for compiling qBittorrent on Windows
|
||||
|
||||
# We want to link with static version of
|
||||
# libtorrent
|
||||
set(LibtorrentRasterbar_USE_STATIC_LIBS True)
|
||||
set(LibtorrentRasterbar_CUSTOM_DEFINITIONS
|
||||
-DBOOST_ALL_NO_LIB -DBOOST_ASIO_HASH_MAP_BUCKETS=1021
|
||||
-DBOOST_ASIO_SEPARATE_COMPILATION
|
||||
-DBOOST_EXCEPTION_DISABLE
|
||||
-DBOOST_SYSTEM_STATIC_LINK=1
|
||||
-DTORRENT_USE_OPENSSL
|
||||
-DUNICODE
|
||||
-D_UNICODE
|
||||
-DWIN32
|
||||
-D_WIN32
|
||||
-DWIN32_LEAN_AND_MEAN
|
||||
-D_WIN32_WINNT=0x0501
|
||||
-D_WIN32_IE=0x0500
|
||||
-D_CRT_SECURE_NO_DEPRECATE
|
||||
-D_SCL_SECURE_NO_DEPRECATE
|
||||
-D__USE_W32_SOCKETS
|
||||
-D_FILE_OFFSET_BITS=64)
|
||||
|
||||
# and boost
|
||||
set(Boost_USE_STATIC_LIBS True)
|
||||
# set(Boost_USE_STATIC_RUNTIME True)
|
||||
|
||||
# Here we assume that all required libraries are installed into the same prefix
|
||||
# with usual unix subdirectories (bin, lib, include)
|
||||
# if so, we just need to set CMAKE_SYSTEM_PREFIX_PATH
|
||||
# If it is not the case, individual paths need to be specified manually (see below)
|
||||
set(COMMON_INSTALL_PREFIX "c:/usr")
|
||||
list(APPEND CMAKE_SYSTEM_PREFIX_PATH "${COMMON_INSTALL_PREFIX}")
|
||||
|
||||
# If two version of Qt are installed, separate prefixes are needed most likely
|
||||
set(QT4_INSTALL_PREFIX "${COMMON_INSTALL_PREFIX}/lib/qt4")
|
||||
set(QT5_INSTALL_PREFIX "${COMMON_INSTALL_PREFIX}/lib/qt5")
|
||||
|
||||
# it is safe to set Qt dirs even if their files are directly in the prefix
|
||||
# Qt4
|
||||
if(NOT QT5)
|
||||
LIST(APPEND CMAKE_PROGRAM_PATH "${QT4_INSTALL_PREFIX}/bin/")
|
||||
endif(NOT QT5)
|
||||
|
||||
# Qt5
|
||||
set(Qt5_DIR "${QT5_INSTALL_PREFIX}/lib/cmake/Qt5")
|
||||
|
||||
# And now we can set specific values for the Boost and libtorrent libraries.
|
||||
# The following values are generated from the paths listed above just for an example
|
||||
# they have to be set to actual locations
|
||||
|
||||
# Boost
|
||||
# set(BOOST_ROOT "${COMMON_INSTALL_PREFIX}")
|
||||
# set(Boost_version_suffix "1_59")
|
||||
# if a link like boost-version/boost -> boost was created or the boost directory was renamed in the same way,
|
||||
# the following needs adjustment
|
||||
# set(BOOST_INCLUDEDIR "${COMMON_INSTALL_PREFIX}/include/boost-${Boost_version_suffix}")
|
||||
# set(BOOST_LIBRARYDIR "${COMMON_INSTALL_PREFIX}/lib/")
|
||||
|
||||
# libtorrent
|
||||
|
||||
# set(PC_LIBTORRENT_RASTERBAR_INCLUDEDIR "${COMMON_INSTALL_PREFIX}")
|
||||
# set(PC_LIBTORRENT_RASTERBAR_LIBDIR "${COMMON_INSTALL_PREFIX}/lib")
|
||||
|
||||
set(AUTOGEN_TARGETS_FOLDER "generated")
|
||||
|
||||
set(CMAKE_INSTALL_BINDIR ".")
|
||||
|
||||
# Test 32/64 bits
|
||||
if("${CMAKE_SIZEOF_VOID_P}" EQUAL "8")
|
||||
message(STATUS "Target is 64 bits")
|
||||
if (WIN32)
|
||||
set(WINXXBITS Win64)
|
||||
endif(WIN32)
|
||||
else("${CMAKE_SIZEOF_VOID_P}" EQUAL "8")
|
||||
message(STATUS "Target is 32 bits")
|
||||
if (WIN32)
|
||||
set(WINXXBITS Win32)
|
||||
endif(WIN32)
|
||||
endif("${CMAKE_SIZEOF_VOID_P}" EQUAL "8")
|
||||
|
||||
if (MSVC)
|
||||
include(winconf-msvc)
|
||||
else (MSVC)
|
||||
include(winconf-mingw)
|
||||
endif (MSVC)
|
39
codingStyleQtCreator.xml
Normal file
39
codingStyleQtCreator.xml
Normal file
@@ -0,0 +1,39 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE QtCreatorCodeStyle>
|
||||
<!-- Written by QtCreator 3.2.82, 2014-11-26T02:08:28. -->
|
||||
<qtcreator>
|
||||
<data>
|
||||
<variable>CodeStyleData</variable>
|
||||
<valuemap type="QVariantMap">
|
||||
<value type="bool" key="AlignAssignments">true</value>
|
||||
<value type="bool" key="AutoSpacesForTabs">false</value>
|
||||
<value type="bool" key="BindStarToIdentifier">false</value>
|
||||
<value type="bool" key="BindStarToLeftSpecifier">true</value>
|
||||
<value type="bool" key="BindStarToRightSpecifier">false</value>
|
||||
<value type="bool" key="BindStarToTypeName">true</value>
|
||||
<value type="bool" key="ExtraPaddingForConditionsIfConfusingAlign">false</value>
|
||||
<value type="bool" key="IndentAccessSpecifiers">false</value>
|
||||
<value type="bool" key="IndentBlockBody">true</value>
|
||||
<value type="bool" key="IndentBlockBraces">false</value>
|
||||
<value type="bool" key="IndentBlocksRelativeToSwitchLabels">false</value>
|
||||
<value type="bool" key="IndentClassBraces">false</value>
|
||||
<value type="bool" key="IndentControlFlowRelativeToSwitchLabels">true</value>
|
||||
<value type="bool" key="IndentDeclarationsRelativeToAccessSpecifiers">true</value>
|
||||
<value type="bool" key="IndentEnumBraces">false</value>
|
||||
<value type="bool" key="IndentFunctionBody">true</value>
|
||||
<value type="bool" key="IndentFunctionBraces">false</value>
|
||||
<value type="bool" key="IndentNamespaceBody">true</value>
|
||||
<value type="bool" key="IndentNamespaceBraces">false</value>
|
||||
<value type="int" key="IndentSize">4</value>
|
||||
<value type="bool" key="IndentStatementsRelativeToSwitchLabels">true</value>
|
||||
<value type="bool" key="IndentSwitchLabels">false</value>
|
||||
<value type="int" key="PaddingMode">1</value>
|
||||
<value type="bool" key="SpacesForTabs">true</value>
|
||||
<value type="int" key="TabSize">4</value>
|
||||
</valuemap>
|
||||
</data>
|
||||
<data>
|
||||
<variable>DisplayName</variable>
|
||||
<value type="QString">qBittorrent</value>
|
||||
</data>
|
||||
</qtcreator>
|
83
configure.ac
83
configure.ac
@@ -12,23 +12,11 @@ AM_INIT_AUTOMAKE
|
||||
|
||||
# Define --wth-* and --enable-* arguments
|
||||
|
||||
AC_ARG_WITH(qt5,
|
||||
[AS_HELP_STRING([--with-qt5],
|
||||
[Compile using Qt5 (default=no)])],
|
||||
AC_ARG_WITH(qt4,
|
||||
[AS_HELP_STRING([--with-qt4],
|
||||
[Compile using Qt4 (default=no)])],
|
||||
[],
|
||||
[with_qt5=no])
|
||||
|
||||
AC_ARG_WITH(libtorrent-rasterbar0.16,
|
||||
[AS_HELP_STRING([--with-libtorrent-rasterbar0.16],
|
||||
[Compile using libtorrent-rasterbar 0.16.x series (default=no)])],
|
||||
[],
|
||||
[with_libtorrent_rasterbar0_16=no])
|
||||
|
||||
AC_ARG_WITH(geoip-database-embedded,
|
||||
[AS_HELP_STRING([--with-geoip-database-embedded],
|
||||
[Embed the GeoIP database in the qBittorrent executable (please follow instructions in src/geoip/README) (default=no)])],
|
||||
[],
|
||||
[with_geoip_database_embedded=no])
|
||||
[with_qt4=no])
|
||||
|
||||
AC_ARG_WITH(qtsingleapplication,
|
||||
[AS_HELP_STRING([--with-qtsingleapplication=@<:@system|shipped@:>@],
|
||||
@@ -38,7 +26,7 @@ AC_ARG_WITH(qtsingleapplication,
|
||||
|
||||
AC_ARG_WITH(qjson,
|
||||
[AS_HELP_STRING([--with-qjson=@<:@system|shipped@:>@],
|
||||
[Use the shipped qjson library or the system one (default=shipped) (Qt4 only])],
|
||||
[Use the shipped qjson library or the system one (default=shipped) (Qt4 only)])],
|
||||
[],
|
||||
[with_qjson=shipped])
|
||||
|
||||
@@ -74,7 +62,7 @@ AC_ARG_ENABLE(qt-dbus,
|
||||
|
||||
# Detect OS
|
||||
AC_MSG_CHECKING([whether OS is FreeBSD])
|
||||
AS_IF([test "x$host_os" = "x*FreeBSD*"],
|
||||
AS_IF([expr "$host_os" : ".*freebsd.*" > /dev/null],
|
||||
[AC_MSG_RESULT([yes])
|
||||
LIBS="-lexecinfo $LIBS"],
|
||||
[AC_MSG_RESULT([no])])
|
||||
@@ -107,7 +95,6 @@ AS_CASE(["x$enable_gui"],
|
||||
["xno"],
|
||||
[AC_MSG_RESULT([no])
|
||||
enable_qt_dbus=[no]
|
||||
enable_geoip_database=[no]
|
||||
QBT_ADD_CONFIG="$QBT_ADD_CONFIG nogui"],
|
||||
[AC_MSG_RESULT([$enable_gui])
|
||||
AC_MSG_ERROR([Unknown option "$enable_gui". Use either "yes" or "no".])])
|
||||
@@ -134,16 +121,16 @@ AS_CASE(["x$enable_webui"],
|
||||
[AC_MSG_RESULT([$enable_webui])
|
||||
AC_MSG_ERROR([Unknown option "$enable_webui". Use either "yes" or "no".])])
|
||||
|
||||
AC_MSG_CHECKING([whether Qt5 should be enabled])
|
||||
AS_CASE(["x$with_qt5"],
|
||||
AC_MSG_CHECKING([whether Qt4 should be enabled])
|
||||
AS_CASE(["x$with_qt4"],
|
||||
["xno"],
|
||||
[AC_MSG_RESULT([no])
|
||||
FIND_QT4()],
|
||||
FIND_QT5()],
|
||||
["xyes"],
|
||||
[AC_MSG_RESULT([yes])
|
||||
FIND_QT5()],
|
||||
[AC_MSG_RESULT([$with_qt5])
|
||||
AC_MSG_ERROR([Unknown option "$with_qt5". Use either "yes" or "no".])])
|
||||
FIND_QT4()],
|
||||
[AC_MSG_RESULT([$with_qt4])
|
||||
AC_MSG_ERROR([Unknown option "$with_qt4". Use either "yes" or "no".])])
|
||||
AS_IF([test "x$QT_QMAKE" = "x"],
|
||||
[AC_MSG_ERROR([Could not find qmake])
|
||||
])
|
||||
@@ -181,34 +168,6 @@ AS_IF([test "x$BOOST_SYSTEM_LIB" = "x"],
|
||||
[AC_MSG_NOTICE([Boost.System LIB: $BOOST_SYSTEM_LIB])
|
||||
LIBS="$BOOST_SYSTEM_LIB $LIBS"])
|
||||
|
||||
AC_MSG_CHECKING([whether to compile using libtorrent-raser 0.16.x])
|
||||
AS_CASE(["x$with_libtorrent_rasterbar0_16"],
|
||||
["xno"],
|
||||
[AC_MSG_RESULT([no])
|
||||
PKG_CHECK_MODULES(libtorrent,
|
||||
[libtorrent-rasterbar >= 1.0.0],
|
||||
[CPPFLAGS="$libtorrent_CFLAGS $CPPFLAGS"
|
||||
LIBS="$libtorrent_LIBS $LIBS"])],
|
||||
["xyes"],
|
||||
[AC_MSG_RESULT([yes])
|
||||
PKG_CHECK_MODULES(libtorrent,
|
||||
[libtorrent-rasterbar >= 0.16.0],
|
||||
[CPPFLAGS="$libtorrent_CFLAGS $CPPFLAGS"
|
||||
LIBS="$libtorrent_LIBS $LIBS"])],
|
||||
[AC_MSG_RESULT([$with_libtorrent_rasterbar0_16])
|
||||
AC_MSG_ERROR([Unknown option "$with_libtorrent_rasterbar0_16". Use either "yes" or "no".])])
|
||||
|
||||
AC_MSG_CHECKING([whether to embed the GeoIP database])
|
||||
AS_CASE(["x$with_geoip_database_embedded"],
|
||||
["xno"],
|
||||
[AC_MSG_RESULT([no])
|
||||
QBT_REMOVE_DEFINES="$QBT_REMOVE_DEFINES WITH_GEOIP_EMBEDDED"],
|
||||
["xyes"],
|
||||
[AC_MSG_RESULT([yes])
|
||||
QBT_ADD_DEFINES="$QBT_ADD_DEFINES WITH_GEOIP_EMBEDDED"],
|
||||
[AC_MSG_RESULT([$with_geoip_database_embedded])
|
||||
AC_MSG_ERROR([Unknown option "$with_geoip_database_embedded". Use either "yes" or "no".])])
|
||||
|
||||
AC_MSG_CHECKING([which qtsingleapplication to use])
|
||||
AS_CASE(["x$with_qtsingleapplication"],
|
||||
["xshipped"],
|
||||
@@ -220,7 +179,7 @@ AS_CASE(["x$with_qtsingleapplication"],
|
||||
[AC_MSG_RESULT([$with_qtsingleapplication])
|
||||
AC_MSG_ERROR([Unknown option "$with_qtsingleapplication". Use either "system" or "shipped".])])
|
||||
|
||||
AS_IF([test "x$with_qt5" = "xno"],
|
||||
AS_IF([test "x$with_qt4" = "xyes"],
|
||||
[AC_MSG_CHECKING([which qjson to use])
|
||||
AS_CASE(["x$with_qjson"],
|
||||
["xshipped"],
|
||||
@@ -237,6 +196,11 @@ AS_IF([test "x$with_qt5" = "xno"],
|
||||
AC_MSG_ERROR([Unknown option "$with_qjson". Use either "system" or "shipped".])])
|
||||
])
|
||||
|
||||
PKG_CHECK_MODULES(libtorrent,
|
||||
[libtorrent-rasterbar >= 1.0.6],
|
||||
[CPPFLAGS="$libtorrent_CFLAGS $CPPFLAGS"
|
||||
LIBS="$libtorrent_LIBS $LIBS"])
|
||||
|
||||
PKG_CHECK_MODULES(zlib,
|
||||
[zlib],
|
||||
[CPPFLAGS="$zlib_CFLAGS $CPPFLAGS"
|
||||
@@ -251,15 +215,18 @@ AX_DEFINE_DIR([EXPAND_MANDIR], [mandir])
|
||||
|
||||
# Original extract() function contributed by pmzqla
|
||||
# $*: Strings to parse
|
||||
# Set $DEFINES, $INCLUDES, $OTHER
|
||||
# Set $QBT_CONF_DEFINES, $QBT_CONF_INCLUDES, $QBT_CONF_EXTRA_CFLAGS
|
||||
extract() {
|
||||
if [[ -z "$*" ]]; then
|
||||
echo "Input string required"
|
||||
return 1
|
||||
fi
|
||||
|
||||
# Convert " -" to "\n" if not between quotes
|
||||
string=$(echo " $*" | $SED -e 's: -:\n:g' -e 's:"\(.*\)\n\(.*\)":\"\1 -\2":g' -e "s:'\(.*\)\n\(.*\)':\'\1 -\2':g")
|
||||
# BSD sed needs an actual newline character in the substitute command
|
||||
new_line='
|
||||
'
|
||||
# Convert " -" to "\n" if not between quotes and remove possible leading white spaces
|
||||
string=$(echo " $*" | $SED -e "s: -:\\${new_line}:g" -e 's:"\(.*\)\n\(.*\)":\"\1 -\2":g' -e "s:'\(.*\)\n\(.*\)':\'\1 -\2':g" -e 's/^[[:space:]]*//')
|
||||
SAVEIFS=$IFS
|
||||
IFS=$(printf "\n\b")
|
||||
for i in $string; do
|
||||
@@ -294,7 +261,7 @@ AS_IF([test "x$enable_systemd" = "xyes"],
|
||||
AC_MSG_NOTICE([Running qmake to generate the makefile...])
|
||||
CONFDIR="$( cd "$( dirname "$0" )" && pwd )"
|
||||
|
||||
$QT_QMAKE -r [$CONFDIR]/qbittorrent.pro
|
||||
$QT_QMAKE -r [$CONFDIR]/qbittorrent.pro "QMAKE_LRELEASE=$QMAKE_LRELEASE"
|
||||
|
||||
ret="$?"
|
||||
|
||||
|
10
dist/CMakeLists.txt
vendored
Normal file
10
dist/CMakeLists.txt
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
if (APPLE)
|
||||
add_subdirectory(mac)
|
||||
else (APPLE)
|
||||
if (UNIX)
|
||||
add_subdirectory(unix)
|
||||
endif (UNIX)
|
||||
if (WIN32)
|
||||
add_subdirectory(windows)
|
||||
endif (WIN32)
|
||||
endif (APPLE)
|
0
dist/mac/CMakeLists.txt
vendored
Normal file
0
dist/mac/CMakeLists.txt
vendored
Normal file
4
dist/mac/Info.plist
vendored
4
dist/mac/Info.plist
vendored
@@ -45,7 +45,7 @@
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>3.2.0</string>
|
||||
<string>3.3.4</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>qBit</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
@@ -59,7 +59,7 @@
|
||||
<key>NSAppleScriptEnabled</key>
|
||||
<string>YES</string>
|
||||
<key>NSHumanReadableCopyright</key>
|
||||
<string>Copyright © 2006-2013 The qBittorrent project</string>
|
||||
<string>Copyright © 2006-2016 The qBittorrent project</string>
|
||||
<key>UTExportedTypeDeclarations</key>
|
||||
<array>
|
||||
<dict>
|
||||
|
2
dist/mac/bundle.cmake
vendored
Normal file
2
dist/mac/bundle.cmake
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
include(BundleUtilities)
|
||||
fixup_bundle("$ENV{DESTDIR}/${CMAKE_INSTALL_PREFIX}/qbittorrent.app" "" "")
|
37
dist/unix/CMakeLists.txt
vendored
Normal file
37
dist/unix/CMakeLists.txt
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
if (SYSTEMD)
|
||||
find_package(Systemd)
|
||||
if (SYSTEMD_FOUND)
|
||||
set(EXPAND_BINDIR ${CMAKE_INSTALL_FULL_BINDIR})
|
||||
configure_file(systemd/qbittorrent-nox.service.in ${CMAKE_CURRENT_BINARY_DIR}/qbittorrent-nox.service @ONLY)
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/qbittorrent-nox.service
|
||||
DESTINATION ${SYSTEMD_SERVICES_INSTALL_DIR}
|
||||
COMPONENT data)
|
||||
endif(SYSTEMD_FOUND)
|
||||
endif(SYSTEMD)
|
||||
|
||||
|
||||
if (GUI)
|
||||
list(APPEND MAN_FILES ${qBittorrent_SOURCE_DIR}/doc/qbittorrent.1)
|
||||
else (GUI)
|
||||
list(APPEND MAN_FILES ${qBittorrent_SOURCE_DIR}/doc/qbittorrent-nox.1)
|
||||
endif (GUI)
|
||||
|
||||
install(FILES ${MAN_FILES}
|
||||
DESTINATION ${CMAKE_INSTALL_MANDIR}/man1
|
||||
COMPONENT doc)
|
||||
|
||||
install(DIRECTORY menuicons/
|
||||
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor
|
||||
FILES_MATCHING PATTERN "*.png")
|
||||
|
||||
install(FILES ${qBittorrent_SOURCE_DIR}/src/icons/qbittorrent.png
|
||||
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/pixmaps/
|
||||
COMPONENT data)
|
||||
|
||||
install(FILES ${qBittorrent_SOURCE_DIR}/src/icons/qBittorrent.desktop
|
||||
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications/
|
||||
COMPONENT data)
|
||||
|
||||
install(FILES qBittorrent.appdata.xml
|
||||
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/appdata/
|
||||
COMPONENT data)
|
2
dist/unix/qBittorrent.appdata.xml
vendored
2
dist/unix/qBittorrent.appdata.xml
vendored
@@ -57,5 +57,5 @@
|
||||
</screenshot>
|
||||
</screenshots>
|
||||
<url type="homepage">http://www.qbittorrent.org/</url>
|
||||
<updatecontact>sledgehammer999@qbittorrent.org</updatecontact>
|
||||
<update_contact>sledgehammer999@qbittorrent.org</update_contact>
|
||||
</component>
|
||||
|
1
dist/windows/CMakeLists.txt
vendored
Normal file
1
dist/windows/CMakeLists.txt
vendored
Normal file
@@ -0,0 +1 @@
|
||||
install(FILES qt.conf DESTINATION ${CMAKE_INSTALL_BINDIR})
|
7
dist/windows/README.txt
vendored
7
dist/windows/README.txt
vendored
@@ -11,7 +11,7 @@ TRANSLATORS:
|
||||
5. Save the files with utf8 encoding and BOM.
|
||||
6. Submit your changes: 1) as a pull request to the official git repo or
|
||||
2) open an issue to the bugtracker and attach them or 3) via email or
|
||||
4)the same way you provide the tranlations for qbt itself
|
||||
4)the same way you provide the translations for qbt itself
|
||||
|
||||
PACKAGERS:
|
||||
|
||||
@@ -41,7 +41,10 @@ installer-translations
|
||||
translations
|
||||
qt_ar.qm
|
||||
...
|
||||
(all the .qm files found in dist/qt-translations in every source release)
|
||||
(all the .qm files found in the 'translations' folder of your Qt install. Those files differ between Qt4 and Qt5.
|
||||
If you want to distribute Qt4 translations it is better to use the ones found in this repo under the path "dist/qt-translations".
|
||||
They contain extra languages not distributed via the official qt4 sources.
|
||||
Don't forget to edit the filelist in installer.nsi + uninstaller.nsi to include all your .qm files.)
|
||||
qt_zh_TW.qm
|
||||
installer.nsi
|
||||
license.txt
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user