1
mirror of https://github.com/qbittorrent/qBittorrent synced 2025-10-09 18:32:15 +02:00

Compare commits

..

371 Commits

Author SHA1 Message Date
Christophe Dumez
d09a3ddd0c Tagged v2.3.0rc5 release 2010-07-19 19:00:49 +00:00
Christophe Dumez
2634517cdb Forgot to fix the magnet function too 2010-07-16 19:58:07 +00:00
Christophe Dumez
121a636b4e Fix several problems when incomplete torrent are kept in a temp folder
Bump to rc3
2010-07-16 19:53:47 +00:00
Christophe Dumez
aad42d4a57 Another Windows compilation fix 2010-07-16 16:02:58 +00:00
Christophe Dumez
c8b8518608 Windows compilation fixes 2010-07-16 15:42:32 +00:00
Christophe Dumez
0c40a8ab05 Keep compatibility with qBittorrent < 2.3.0 (import settings from the registry) 2010-07-16 15:11:20 +00:00
Christophe Dumez
b9241ad5ad Proper fix to use an INI file instead of the registry on Windows 2010-07-16 15:03:18 +00:00
Christophe Dumez
d354d7133e Fix to last commit 2010-07-16 14:40:50 +00:00
Christophe Dumez
a1157c78b2 BUGFIX: Use an INI file instead of the registry on Windows (More reliable) 2010-07-16 14:39:19 +00:00
Christophe Dumez
fb8d52e6e0 Safer registry usage on Win32 2010-07-16 14:06:30 +00:00
Christophe Dumez
80c42cae1a Fix torrent association detection on Win32 2010-07-15 13:27:57 +00:00
Christophe Dumez
f242fce5fd Fix for 0.0 2010-07-14 08:00:21 +00:00
Christophe Dumez
6223514704 Max ratio spin box starts at 0.0 not 0.1 2010-07-14 07:58:35 +00:00
Christophe Dumez
8fb7445e20 Remember "display speed in title bar" on restart (closes #605134) 2010-07-13 20:50:54 +00:00
Christophe Dumez
3172c6859d Updated Swedish translation 2010-07-13 09:09:38 +00:00
Christophe Dumez
58be573d02 Updated Serbian translation 2010-07-10 19:45:50 +00:00
Christophe Dumez
82f7bdb9cc Updated Hungarian translation 2010-07-10 08:56:04 +00:00
Christophe Dumez
b41c39b7ce Updated Greek and Bulgarian translations 2010-07-08 19:11:03 +00:00
Christophe Dumez
9e4958e96a Fix importing of torrents from qBT < v2.3.0 when using a temporary folder for incomplete torrents 2010-07-08 14:50:23 +00:00
Christophe Dumez
65091f7cb9 Updated Spanish and Catalan translations 2010-07-08 08:07:41 +00:00
Christophe Dumez
75b758bb1f Bump to rc1 2010-07-07 20:28:54 +00:00
Christophe Dumez
5028ff3ddd Minor options UI fixes by Mariusz Fik 2010-07-05 18:58:12 +00:00
Christophe Dumez
a246f76ec3 Updated Polish translation 2010-07-05 18:55:12 +00:00
Christophe Dumez
eeec067481 Updated Chinese translation 2010-07-05 07:46:16 +00:00
Christophe Dumez
3ee44ad0c2 Updated Portuguese and Brazilian translations 2010-07-04 16:06:22 +00:00
Christophe Dumez
c38ff5b0b7 OS/2 Fix 2010-06-30 22:32:40 +00:00
Christophe Dumez
e51dc6758c Update French translation 2010-06-30 22:29:19 +00:00
Christophe Dumez
7bb32643fa Peer IPs can be copied to clipboard 2010-06-30 22:28:23 +00:00
Christophe Dumez
3172e1f530 Fix tables appearance in Web UI
Fix empty array parsing in JSON
2010-06-29 08:44:56 +00:00
Christophe Dumez
7778877fa7 Fix Web UI translation 2010-06-29 08:08:43 +00:00
Christophe Dumez
b4f6745251 Updated German translation 2010-06-28 21:23:40 +00:00
Christophe Dumez
4fd7f16911 Updated Czech translation 2010-06-28 13:30:43 +00:00
Christophe Dumez
ca29b5d7fc Updated Finish translation 2010-06-28 08:12:04 +00:00
Christophe Dumez
79d5a635a4 Updated Slovak translation again 2010-06-27 21:50:52 +00:00
Christophe Dumez
7f615c580e Updated french translation 2010-06-27 21:31:05 +00:00
Christophe Dumez
967dbbda89 Updated Slovak translation 2010-06-27 21:24:30 +00:00
Christophe Dumez
452c0411d2 Added "Force reannounce" action to tracker list
Fixed typo in "Saudi Arabia"
2010-06-27 21:18:41 +00:00
Christophe Dumez
32d3ed2144 PeX status is now correctly reported 2010-06-27 21:07:12 +00:00
Christophe Dumez
4efae21f1d Use "Do no download" in action instead of "Not downloaded"
Added "Select All/Select None" buttons to files list
2010-06-27 21:01:47 +00:00
Christophe Dumez
c43efd7fb3 Bump to beta4 2010-06-27 19:40:32 +00:00
Christophe Dumez
93b1dbd931 Updated language files 2010-06-27 19:35:25 +00:00
Christophe Dumez
571896b888 Updated language files 2010-06-27 18:39:27 +00:00
Christophe Dumez
9f5d31b2b1 Use the same save path editing behaviour in properties panel as in torrent addition dialog 2010-06-27 17:58:08 +00:00
Christophe Dumez
c01f7102e6 FEATURE: Several files can now be disabled at once (closes #598365) 2010-06-27 16:55:02 +00:00
Christophe Dumez
df39e46c84 Fix font size in program options 2010-06-27 16:38:21 +00:00
Christophe Dumez
7f12bb5dfb Ask for confirmation before clearing search history (closes #598605) 2010-06-27 16:35:19 +00:00
Christophe Dumez
ca762139f6 FEATURE: Remember previous save paths in torrent addition dialog (closes #579305) 2010-06-27 16:30:37 +00:00
Christophe Dumez
67f41ad991 Do not display bytes values decimal digits 2010-06-27 14:19:24 +00:00
Christophe Dumez
621ec11ae3 Fix possible crash when using alternative speed limits 2010-06-24 21:34:31 +00:00
Christophe Dumez
de3135c43b Safer variable checking 2010-06-24 19:29:10 +00:00
Christophe Dumez
faed0ba45a Another magnet fix 2010-06-24 18:18:40 +00:00
Christophe Dumez
2104e4e2ce Fix crash when adding magnet links 2010-06-24 18:16:59 +00:00
Christophe Dumez
907a17a73b Updated spanish and catalan translations 2010-06-23 21:42:38 +00:00
Christophe Dumez
a1a9f8bc7e Fix processing of arguments including spaces 2010-06-23 19:07:54 +00:00
Christophe Dumez
a9a3bb74e7 Updated spanish and catalan translations 2010-06-23 18:54:47 +00:00
Christophe Dumez
b7de3fcebd Check if torrent_info is initialized in torrent addition dialog destructor (safer) 2010-06-23 17:58:32 +00:00
Christophe Dumez
0b70b857b9 Remove comment 2010-06-23 15:47:45 +00:00
Christophe Dumez
9c8a957dd7 Simplified Main windows geometry saving code 2010-06-23 15:47:03 +00:00
Christophe Dumez
cf65e4d77d Torrent addition dialog size/pos are now remembered correctly 2010-06-23 15:14:38 +00:00
Christophe Dumez
762962270c Fix error in last commit 2010-06-23 12:48:08 +00:00
Christophe Dumez
a2067af4ea Use putenv on Windows too 2010-06-23 12:44:23 +00:00
Christophe Dumez
2f4f06ca8b Do not redownload files if they were moved 2010-06-23 11:59:28 +00:00
Christophe Dumez
56dba2cb10 Updated Spanish and Catalan translations 2010-06-23 06:56:59 +00:00
Christophe Dumez
f824357358 Added Silvan Scherrer to AUTHORS file 2010-06-22 19:21:48 +00:00
Christophe Dumez
778cfff4b3 Several OS/2 fixes from Silvan Scherrer 2010-06-22 19:17:47 +00:00
Christophe Dumez
8ee762695b Fix "add extension to incomplete files" feature 2010-06-22 18:40:30 +00:00
Christophe Dumez
7dd9680e26 Fix torrent addition dialog settings saving 2010-06-22 18:18:53 +00:00
Christophe Dumez
92661e1d53 Fix qBittorrent console tab icon and window title 2010-06-22 18:15:42 +00:00
Christophe Dumez
09d5665ff9 Bump to beta3 2010-06-22 18:03:40 +00:00
Christophe Dumez
c5dfe623c8 Increased options window height to avoid scrollbars 2010-06-22 17:59:26 +00:00
Christophe Dumez
2665e2ef39 Fixed exit confirmation title 2010-06-22 17:51:59 +00:00
Christophe Dumez
dfecdb1956 Fix "Pause/Delete" torrents once they reach a given ratio 2010-06-22 17:46:07 +00:00
Christophe Dumez
5a82aee76b FEATURE: Torrents can be automatically paused once they reach a given ratio 2010-06-22 17:06:11 +00:00
Christophe Dumez
4f07426010 Fix file naming 2010-06-22 14:20:21 +00:00
Christophe Dumez
9e575e45b7 Hide tabs when only one is visible 2010-06-22 14:18:43 +00:00
Christophe Dumez
39b32bf1cd Search engine can now be disabled 2010-06-22 13:58:22 +00:00
Christophe Dumez
54131001b0 Move RSS settings to a separate dialog 2010-06-22 13:39:49 +00:00
Christophe Dumez
f8134b1a62 Fix issues with single file torrents 2010-06-22 12:02:18 +00:00
Christophe Dumez
13927599c8 Define add button as default in torrent addition dialog 2010-06-22 11:59:20 +00:00
Christophe Dumez
0d85d0a777 Free disk space calculation also works if the destination path does not exist 2010-06-22 11:53:49 +00:00
Christophe Dumez
0da83694e0 Hide torrent content in torrent addition dialog when there is only one file in it 2010-06-22 11:47:25 +00:00
Christophe Dumez
9bdac4d1e3 Use busy cursor when downloading search plugins updates 2010-06-22 09:56:49 +00:00
Christophe Dumez
00c92d6d61 Use checkable action for alternative speed limits and display button as "pressed when enabled" 2010-06-21 22:38:28 +00:00
Christophe Dumez
9628a9e156 Updated language files 2010-06-21 22:24:45 +00:00
Christophe Dumez
f1bfcb4822 COSMETIC: Fix naming of actions opening new dialogs (use Name...) 2010-06-21 22:22:00 +00:00
Christophe Dumez
87879b6738 Use checkable actions instead of check/uncheck icons to avoid issues on systems disabling menu icons (e.g. Recent Gnome) 2010-06-21 22:07:36 +00:00
Christophe Dumez
a4ff7047d1 Updated Changelog 2010-06-21 21:48:45 +00:00
Christophe Dumez
da599da36d Still simplifying program options 2010-06-21 21:39:29 +00:00
Christophe Dumez
335e7366fd Improved program options 2010-06-21 21:27:59 +00:00
Christophe Dumez
a993b2b3f1 Still improving program options 2010-06-21 21:06:11 +00:00
Christophe Dumez
b81c8d29ba Still improving program options 2010-06-21 20:29:51 +00:00
Christophe Dumez
08a08e4b24 Still simplifying program options 2010-06-21 19:20:58 +00:00
Christophe Dumez
8b5886cc6e Simplifying program options 2010-06-21 18:32:01 +00:00
Christophe Dumez
22b3d8d594 Fix exit confirmation dialog centering 2010-06-21 16:10:09 +00:00
Christophe Dumez
17efa04257 Further preferences simplifying 2010-06-21 16:02:21 +00:00
Christophe Dumez
e71f144c40 Started preferences simplifying 2010-06-21 15:53:42 +00:00
Christophe Dumez
5e7cafb8c0 More readable display of ETA 2010-06-21 14:10:20 +00:00
Christophe Dumez
d01385a7ac Moc bug workaround 2010-06-20 17:35:26 +00:00
Christophe Dumez
ac80dd78a8 Improved file saving in torrent addition dialog (uTorrent like) 2010-06-19 14:39:23 +00:00
Christophe Dumez
061f1000cf Unicode fix 2010-06-19 12:25:14 +00:00
Christophe Dumez
c36fed3081 Code cleanup 2010-06-19 12:07:39 +00:00
Christophe Dumez
75002906aa Improved torrent creator tool behavior during creation process 2010-06-17 17:52:14 +00:00
Christophe Dumez
a451cf2d5f Fix Web UI in nox 2010-06-17 11:55:47 +00:00
Christophe Dumez
ca10c0ab09 Fix unicode problem in torrent creator tool 2010-06-17 09:55:15 +00:00
Christophe Dumez
80d76ae038 BUGFIX: The user can disable permanently recursive torrent download 2010-06-14 17:46:33 +00:00
Christophe Dumez
f699ee1363 Fix font issue in search engine (closes #594200) 2010-06-14 15:42:15 +00:00
Christophe Dumez
bd97a4bd7c Fix registry access on 64bits windows 2010-06-14 12:51:07 +00:00
Christophe Dumez
ec3b749ef6 Merge fixes from stable branches (libtorrent v0.15 related) 2010-06-14 09:55:35 +00:00
Christophe Dumez
44fc86e7da Forgot to bump the version in project file 2010-06-13 20:36:08 +00:00
Christophe Dumez
2cd940e7c7 Another compilation Fix for Mac 2010-06-13 16:30:48 +00:00
Christophe Dumez
cc6d371667 Fix build on Mac 2010-06-13 16:28:41 +00:00
Christophe Dumez
8fcc33b375 Updated czech translation 2010-06-13 11:43:58 +00:00
Christophe Dumez
e44b570c3d Updated German translation 2010-06-13 11:40:25 +00:00
Christophe Dumez
8576847a99 Fix bundle identifier 2010-06-13 09:39:55 +00:00
Christophe Dumez
c9fc9373e5 Fix version number 2010-06-13 09:30:45 +00:00
Christophe Dumez
ae46d449e5 Added Magnet support 2010-06-13 09:25:06 +00:00
Christophe Dumez
fe57cef756 Added support for url open event on Mac 2010-06-13 09:20:16 +00:00
Christophe Dumez
3affb38ba2 Fix mime type 2010-06-13 09:14:30 +00:00
Christophe Dumez
a0dc6aa173 Several language files updates 2010-06-13 08:40:28 +00:00
Christophe Dumez
a357a690ce Updated Serbian and Croatian translations 2010-06-12 08:20:25 +00:00
Christophe Dumez
bce7959332 Attempt to make Ishan's patch lighter (the new patch may not take into consideration all use cases but it seems to work ok) 2010-06-10 19:54:20 +00:00
Ishan Arora
eef6f600c9 Fixed Bug #589070
qBittorrent wont hide on minimization if a modal window is visible over it.
2010-06-10 18:54:23 +00:00
Christophe Dumez
a3822c5aa8 Added debug output 2010-06-10 12:51:27 +00:00
Christophe Dumez
eeaa1e83a9 Fix typo 2010-06-10 09:05:15 +00:00
Christophe Dumez
387fb93b5b Fix typo 2010-06-10 09:03:54 +00:00
Christophe Dumez
d470059c56 Mac fixes 2010-06-09 22:16:37 +00:00
Christophe Dumez
2e382fa88c Removed useless include 2010-06-09 21:25:34 +00:00
Christophe Dumez
e1e7e782d5 Fix typo in plist file 2010-06-09 15:53:32 +00:00
Christophe Dumez
6f314502f6 Fix memory leak in last commit 2010-06-09 15:45:59 +00:00
Christophe Dumez
3284d7a8e6 Fix for last commit 2010-06-09 15:43:29 +00:00
Christophe Dumez
609ea7b4c2 Disable systray icon on Mac (Mirco Chinelli) 2010-06-09 15:40:55 +00:00
Christophe Dumez
7e8d21145e Fix typo 2010-06-09 15:19:43 +00:00
Christophe Dumez
c31b5f1f97 Various Mac related fixes (Thanks Mirco Chinelli) 2010-06-09 15:13:52 +00:00
Christophe Dumez
11fe685a6b Comment useless pri import 2010-06-09 14:46:55 +00:00
Christophe Dumez
1127947f52 Fix compilation on Windows 2010-06-09 14:39:53 +00:00
Christophe Dumez
789b2cf326 Updated AUTHORS file
Fix compilation in release mode
2010-06-09 10:06:42 +00:00
Christophe Dumez
b9394f2ba2 Fix race condition allowing to run several instances of qBittorrent at the same time 2010-06-09 09:48:14 +00:00
Christophe Dumez
7ab206ebac Use unified title and toolbar on Mac 2010-06-09 07:37:05 +00:00
Christophe Dumez
0beb9fff73 Updated Spanish and Catalan translations 2010-06-09 07:31:50 +00:00
Christophe Dumez
65b8d0c24d Delete qApp on exit 2010-06-09 06:38:14 +00:00
Christophe Dumez
715fe46f45 Updated arabic translation 2010-06-08 20:24:54 +00:00
Christophe Dumez
8209f341fb Updated Hungarian and Finnish translations 2010-06-08 18:29:42 +00:00
Christophe Dumez
0d4b55ca32 Better Mac integration 2010-06-08 15:17:15 +00:00
Christophe Dumez
ae7362706f Updated swedish translation 2010-06-08 15:07:16 +00:00
Christophe Dumez
4ca648a79b Updated Ukrainian translation 2010-06-08 14:47:16 +00:00
Christophe Dumez
4ca0b14300 Updated slovak translation 2010-06-08 11:41:36 +00:00
Christophe Dumez
4386b6c2c4 Merge javascript changes from stable branch 2010-06-07 13:41:32 +00:00
Christophe Dumez
61246f81c7 Fix msvc warnings 2010-06-07 10:39:03 +00:00
Christophe Dumez
70f2bfdd9a Updated configure file to remove our libtorrent DEFINE 2010-06-07 08:36:06 +00:00
Christophe Dumez
5f23cbc470 Use libtorrent version.hpp instead of our own DEFINE 2010-06-07 08:32:41 +00:00
Christophe Dumez
2e0c8f848f Fix Web UI authentication with Opera 2010-06-06 20:49:28 +00:00
Christophe Dumez
f8add0ee04 Back to debug mode in trunk 2010-06-06 20:02:11 +00:00
Christophe Dumez
f23051c1fd Fix signal / slot 2010-06-06 20:01:09 +00:00
Christophe Dumez
60636af544 Fix encoding problem in search engine 2010-06-06 15:41:08 +00:00
Christophe Dumez
2e685ea851 Updated language files 2010-06-06 15:36:22 +00:00
Christophe Dumez
b61a06350f Fix file encoding problem 2010-06-06 15:31:15 +00:00
Christophe Dumez
c9ece4695e Merge latest changes for stable branch (mostly unicode fixes) 2010-06-06 13:58:43 +00:00
Christophe Dumez
4805690dbe Merge latest msvc fixes from stable branch 2010-06-06 10:10:45 +00:00
Christophe Dumez
8ec1621334 Merge msvc fixes from stable branch 2010-06-05 18:59:05 +00:00
Christophe Dumez
682377ff66 Merge msvc compilation fixes from stable branch 2010-06-05 13:43:36 +00:00
Christophe Dumez
656beed82b Fix other unicode issues 2010-06-04 16:54:30 +00:00
Christophe Dumez
ba4a0fac77 Added Mirco Chinelli to contributors 2010-06-04 10:44:25 +00:00
Christophe Dumez
b719bfaecb Merge Win32 fixes from stable branch 2010-06-03 21:08:28 +00:00
Christophe Dumez
4e1366bf0d Merge latest fixes from stable branch 2010-06-03 20:08:19 +00:00
Christophe Dumez
b67938aa3f Fixed default save path on Windows 2010-06-02 22:31:49 +00:00
Christophe Dumez
f4c29c07bf Workaround for torrentdownloads.net search engine (The web site seems partly broken though) 2010-06-02 22:26:52 +00:00
Christophe Dumez
63a0f4bf11 Improved column visibility patch 2010-06-02 13:50:11 +00:00
Christophe Dumez
a8a2ba188d Search requests can now be cancelled on Win32 2010-06-02 13:45:20 +00:00
Christophe Dumez
a0d685bfe2 Merge Win32 changes from stable branch 2010-06-02 13:08:26 +00:00
Christophe Dumez
a3041b7f9f Improved Python detection (Win32)
Propose to download and install python if missing (Win32)
2010-06-01 22:47:14 +00:00
Christophe Dumez
83a2ae7ad3 Disable torrent addition dialog as a default 2010-06-01 16:29:40 +00:00
Christophe Dumez
830a6250c6 Changed window title on Win32 and Mac 2010-06-01 16:10:59 +00:00
Christophe Dumez
f0e23ab1fc Fix encoding in Web UI on non-unicode systems 2010-06-01 14:34:58 +00:00
Christophe Dumez
5b07c488b0 Link dynamically against OpenSSL on Windows 2010-06-01 13:56:59 +00:00
Christophe Dumez
f61bccf700 Fix torrent availability computation 2010-05-31 14:25:12 +00:00
Christophe Dumez
4fd10bc5f5 Merge Win32 changes 2010-05-31 12:48:00 +00:00
Christophe Dumez
c1a72f075d Updated French translation 2010-05-30 22:08:41 +00:00
Christophe Dumez
5c4450f3cd Some Win32 improvements 2010-05-30 21:45:55 +00:00
Christophe Dumez
bb606e0b2f Updated language files 2010-05-30 18:37:11 +00:00
Christophe Dumez
eed86aa9e1 Updated Authors 2010-05-30 17:54:58 +00:00
Christophe Dumez
338d4fd31e Windows execution fixes 2010-05-30 17:51:40 +00:00
Christophe Dumez
58a36f7cfd Windows compilation Fix 2010-05-28 22:03:30 +00:00
Christophe Dumez
8b436f70d6 Mac compilation Fix 2010-05-25 11:09:20 +00:00
Christophe Dumez
223fd4f0ba BUGFIX: Hide seeding torrents files priorities in Web UI 2010-05-24 19:37:56 +00:00
Christophe Dumez
2e51e69cc9 Added "Paused" filter to the Web UI too 2010-05-24 19:05:07 +00:00
Christophe Dumez
bbac79c030 FEATURE: Add Check/Uncheck all feature in Web UI 2010-05-24 18:57:44 +00:00
Christophe Dumez
607bba4625 FEATURE: Added filter for paused/error torrents 2010-05-24 15:16:14 +00:00
Christophe Dumez
1a0cc3215c Removed useless icons 2010-05-24 14:51:03 +00:00
Christophe Dumez
f0981c81c8 Removed another useless icon 2010-05-24 14:45:47 +00:00
Christophe Dumez
472604d1b0 Removed useless icons to reduce tarball size 2010-05-24 14:43:31 +00:00
Christophe Dumez
781d33b869 FEATURE: Added error state for torrents (error is displayed in a tooltip) 2010-05-24 14:19:25 +00:00
Christophe Dumez
8db8841c9c Added error state icon
Update language files
2010-05-24 13:51:23 +00:00
Christophe Dumez
6e3b570be4 Add a setting to also delete torrents files on hard disk as a default 2010-05-21 15:42:17 +00:00
Christophe Dumez
defd77b94c COSMETIC: Display number of torrents in transfers tab label 2010-05-21 14:56:56 +00:00
Christophe Dumez
c09294df2f FEATURE: Several torrents can be moved at once 2010-05-21 14:26:18 +00:00
Christophe Dumez
cc97ee86df FEATURE: Added "No action" setting for double-click action 2010-05-21 12:30:57 +00:00
Christophe Dumez
10d6dd5a23 Torrent queue position now starts at 1 (closes #581130) 2010-05-21 11:58:14 +00:00
Christophe Dumez
29e79dc54d Fix sorting of ETA column when having infinite values (closes #583347) 2010-05-21 11:46:12 +00:00
Christophe Dumez
982390f074 Make sure seeding torrents ETA stays 0 under all circumstances 2010-05-21 11:34:31 +00:00
Christophe Dumez
963d73af4e ETA for finished torrent is now 0 instead of Infinite (closes #583704)
Fix unicode issue in start seeding after torrent creation code
2010-05-21 11:25:30 +00:00
Christophe Dumez
bdd8cbb1d8 Another nox compilation fix 2010-05-20 14:14:16 +00:00
Christophe Dumez
80bd232054 nox compilation fix 2010-05-20 11:16:39 +00:00
Christophe Dumez
c2da227254 User can force tracker reannounce 2010-05-18 09:35:55 +00:00
Christophe Dumez
e846c67bfa Fix torrent properties layout 2010-05-18 07:22:51 +00:00
Christophe Dumez
475c7094ab Fixed Croatian translator name 2010-05-17 21:45:29 +00:00
Christophe Dumez
4434566d85 Forot to commit this file 2010-05-17 19:57:57 +00:00
Christophe Dumez
6bd557d22c Forgot to commit this file 2010-05-17 19:34:17 +00:00
Christophe Dumez
4832a24ac5 Fix RSS cookie support 2010-05-17 19:23:16 +00:00
Christophe Dumez
b9a3890dd5 Updated Changelog 2010-05-17 15:45:42 +00:00
Christophe Dumez
4cf9de6515 Updated language files 2010-05-17 15:35:17 +00:00
Christophe Dumez
994c798264 Added cookie support for RSS feeds (Needs testing) 2010-05-17 14:57:45 +00:00
Christophe Dumez
119bda1595 Fix url encoded ampersand issue in RSS 2010-05-12 19:41:12 +00:00
Christophe Dumez
bf73c47bc5 Sort labels in right click menu 2010-05-12 19:03:31 +00:00
Christophe Dumez
ea99f44893 Fix wrong warning in torrent addition dialog (closes #579301) 2010-05-12 18:34:16 +00:00
Christophe Dumez
4ec1fd3968 The user can force listening on a particular network interface 2010-05-11 15:53:14 +00:00
Christophe Dumez
0b9e25ee65 Update Croatian language name 2010-05-05 20:40:14 +00:00
Christophe Dumez
73a9985599 Fix crash when pressing mouse button and selecting different rss items 2010-05-05 14:28:40 +00:00
Christophe Dumez
a65f7bfa65 Updated Spanish and Catalan translations 2010-05-03 18:00:43 +00:00
Christophe Dumez
72cc1eb4d4 Even safer datetime parsing 2010-05-01 18:07:56 +00:00
Christophe Dumez
ed7ae32a69 Made datetime parsing more reliable 2010-05-01 17:37:12 +00:00
Christophe Dumez
54b53f3aba RSS: News title is no longer used as identifier (use guid or url instead) 2010-05-01 09:41:37 +00:00
Christophe Dumez
2f7728f987 Added Croatian translation to Desktop file 2010-05-01 09:12:43 +00:00
Christophe Dumez
f3a93af242 Update resource file 2010-05-01 08:50:17 +00:00
Christophe Dumez
5a4ad2f822 Added Croatian binary file 2010-05-01 08:48:28 +00:00
Christophe Dumez
c669240037 Commit more Croatian specific changes 2010-05-01 08:45:38 +00:00
Christophe Dumez
ce4fd8429e Commit Croatian translation 2010-05-01 08:41:14 +00:00
Christophe Dumez
cc532d95da Improved folder removing code 2010-05-01 08:29:04 +00:00
Christophe Dumez
c800a0a6b5 Fix moving torrent from temp dir when they are complete 2010-05-01 08:12:42 +00:00
Christophe Dumez
5675c045ae Windows compilation fixes (Thanks LiHuiShuo) 2010-04-28 11:45:13 +00:00
Christophe Dumez
e16ca862f4 Fix in last commit 2010-04-23 16:48:17 +00:00
Christophe Dumez
29e757bb3a Another initialization fix for Web UI 2010-04-23 08:12:06 +00:00
Christophe Dumez
822f1a9557 Fix possible initialization problem in Web UI 2010-04-23 08:04:21 +00:00
Christophe Dumez
7acfb27a1f Fix torrent relabeling with unicode names 2010-04-22 16:19:49 +00:00
Christophe Dumez
83d6731fa9 Translated menu entry in Arabic 2010-04-19 12:54:46 +00:00
Christophe Dumez
de4f0272c1 Make sure status filters height is correct when the visual style changes 2010-04-17 14:21:19 +00:00
Christophe Dumez
df50a875df Updated arabic translation 2010-04-16 18:12:14 +00:00
Christophe Dumez
5f814f23b4 Arabic translation fixes 2010-04-15 19:25:06 +00:00
Christophe Dumez
98ec373f8c Support Right to left languages 2010-04-13 18:40:07 +00:00
Christophe Dumez
0bbeab9ad2 Added an OS/2 specific REAME file 2010-04-13 10:41:32 +00:00
Christophe Dumez
ed4c711ef5 Some Arabic related improvements 2010-04-12 19:13:51 +00:00
Christophe Dumez
fc33702b81 Added Arabic translation 2010-04-12 18:51:23 +00:00
Christophe Dumez
70c79f31c3 Stop rechecking torrents everytime they are moved 2010-04-10 15:54:55 +00:00
Christophe Dumez
82dc2103b5 COSMETIC: Display peers country name in tooltip (Thanks mrovi) 2010-04-10 15:46:52 +00:00
Christophe Dumez
529ab304b4 Remove old folder when moving a torrent 2010-04-10 15:00:35 +00:00
Christophe Dumez
53919446d4 FS should be updated properly on labeling now 2010-04-10 14:50:11 +00:00
Christophe Dumez
1052cd019b Better fix for FS changes on torrent labeling 2010-04-10 14:17:26 +00:00
Christophe Dumez
4f87819abf Fix for torrent labeling: label was not appended to save path correctly 2010-04-10 13:58:36 +00:00
Christophe Dumez
b94ecb2383 Added support for single-thread boost 2010-04-09 18:45:33 +00:00
Christophe Dumez
c00d83dee9 Announce to all trackers 2010-04-09 18:24:57 +00:00
Christophe Dumez
34052ce8f9 Less dependencies for nox 2010-04-09 15:26:41 +00:00
Christophe Dumez
0a0c8948ee Improved previous patch 2010-04-08 16:33:47 +00:00
Christophe Dumez
0cc9283275 eCS (OS/2) compilation fix (Thanks Silvan Scherrer) 2010-04-08 16:28:47 +00:00
Christophe Dumez
6b2e9f057b Qt 4.4 compilation fix 2010-04-07 10:00:32 +00:00
Christophe Dumez
3a1fc9ec77 Updated INSTALL file 2010-04-07 09:58:22 +00:00
Christophe Dumez
e4399412b6 Attempt to fix compatibility with libboost v1.34 2010-04-07 09:52:43 +00:00
Christophe Dumez
37650d8156 Improved libboost detection again 2010-04-07 09:48:04 +00:00
Christophe Dumez
b4fa164dc3 Updated boost dependencies in INSTALL file 2010-04-07 09:42:47 +00:00
Christophe Dumez
6148e6b192 Improved libbost detection 2010-04-07 09:35:43 +00:00
Christophe Dumez
057743a779 Do not display a warning when libtorrent < 0.14.x is detected since it is the advised version 2010-04-07 09:06:11 +00:00
Christophe Dumez
530ba2a0bd Improved slow_off icon 2010-04-07 09:03:18 +00:00
Christophe Dumez
977b2bda7c Added icons to menu actions in Web UI 2010-04-07 08:30:47 +00:00
Christophe Dumez
76eb93ba1a Flat buttons in status bar should never get focus 2010-04-07 08:19:17 +00:00
Christophe Dumez
ae3c50c074 Improved speed limits icons location in preferences 2010-04-07 08:02:42 +00:00
Christophe Dumez
31017602fc Fix transparency of speed limits icons
Dropped dependency on Qt gif library
2010-04-07 07:59:26 +00:00
Christophe Dumez
ef7e2abdaf Fix download from URL title in Web UI 2010-04-06 17:00:53 +00:00
Christophe Dumez
a6abedd67d Fix deprecation warnings with libtorrent v0.15 2010-04-06 16:52:17 +00:00
Christophe Dumez
9824d86a3c Fix HTTPS protocol support in torrent/rss downloader 2010-04-06 16:25:24 +00:00
Christophe Dumez
1eac3d1700 Fix torrent addition dialog buttons height (Thanks Mariusz Fik) 2010-04-06 16:13:32 +00:00
Christophe Dumez
48585bb049 Fix crash when adding a new label 2010-04-06 16:06:25 +00:00
Christophe Dumez
843e49a5a8 Updated polish translation 2010-04-06 16:03:26 +00:00
Christophe Dumez
db01276f1d Fix default width of file name column in torrent content 2010-04-06 09:28:42 +00:00
Christophe Dumez
772028106e FEATURE: Simplified torrent root folder renaming/truncating (< v2.3.0 is no longer forward compatible) 2010-04-06 09:17:33 +00:00
Christophe Dumez
0cd5253857 Forgot to commit those icons 2010-04-06 07:47:11 +00:00
Christophe Dumez
eaf321facb Fix in last commit 2010-04-05 21:03:50 +00:00
Christophe Dumez
81ecb5c7c8 Improved alternative speed limits icons 2010-04-05 20:52:48 +00:00
Christophe Dumez
3b3a452df6 Display the correct ratio for paused torrents 2010-04-05 20:07:56 +00:00
Christophe Dumez
65b1e29414 Correctly clear trackers error messages once they work 2010-04-05 19:56:58 +00:00
Christophe Dumez
a6e3b9afac Fix about dialog in Web UI 2010-04-05 19:50:34 +00:00
Christophe Dumez
a7792701a2 When resizing torrent addition dialog, torrent content should be expanding 2010-04-05 19:39:13 +00:00
Christophe Dumez
846372e48b Similar fixes 2010-04-05 19:32:44 +00:00
Christophe Dumez
1597007ea1 Fix possible crash when adding a torrent 2010-04-05 19:03:00 +00:00
Christophe Dumez
dbceed21f5 Clean fix for progress display with cleanlooks style 2010-03-31 14:33:49 +00:00
Christophe Dumez
3254dae59f A msvc compilation fix 2010-03-30 19:38:19 +00:00
Christophe Dumez
12881dd4c4 On Windows, add qBittorrent executable folder to PATH environment variable 2010-03-30 18:59:15 +00:00
Christophe Dumez
35ec93ccb1 Bump to v2.3.0alpha 2010-03-30 12:09:31 +00:00
Christophe Dumez
cb159ed00d Enable Apply button when alternative rate limits are changed 2010-03-30 12:08:00 +00:00
Christophe Dumez
e5b8b41373 Several compilation and execution fixes for Windows and OS/2
Cleaner binutils gold linker support
2010-03-30 11:35:20 +00:00
Christophe Dumez
492814a56e Fix possible crash in boost exception handling 2010-03-29 10:43:56 +00:00
Christophe Dumez
d639712303 Fix typo 2010-03-27 16:00:21 +00:00
Christophe Dumez
f5d1c8a679 Another compilation fix 2010-03-27 15:56:49 +00:00
Christophe Dumez
aea3d4be7a Another Windows compilation fix 2010-03-27 15:50:27 +00:00
Christophe Dumez
8d1fd7ee8e Windows compilation fix improvement 2010-03-27 09:15:33 +00:00
Christophe Dumez
a98a002d57 Compilation fix on Windows (getuid missing) 2010-03-27 09:03:37 +00:00
Christophe Dumez
fb874695c9 Added support for strict super seeding 2010-03-25 19:31:48 +00:00
Christophe Dumez
63457c034f Maximum number of half-open connections can now be changed from program preferences (default is now 50 instead of unlimited) 2010-03-25 19:16:43 +00:00
Christophe Dumez
daff6dce4c Fix possible crash when deleting a torrent just after pausing it 2010-03-23 21:35:47 +00:00
Christophe Dumez
94c7c5cebe DHT port can be changed from Web UI 2010-03-22 20:34:12 +00:00
Christophe Dumez
f2c4901dd0 Updated language files 2010-03-22 19:58:29 +00:00
Christophe Dumez
95d8eb9714 Improvement to last fix 2010-03-22 19:15:38 +00:00
Christophe Dumez
62165445fe Updated languages files 2010-03-22 19:04:28 +00:00
Christophe Dumez
6b12371f50 Improvement to last fix 2010-03-22 18:58:30 +00:00
Christophe Dumez
38cb4ccbd3 Fix possible crash with folder watching 2010-03-22 18:50:04 +00:00
Christophe Dumez
8ccaaae085 I18N: Updated Polish translation (thanks Szymon Świerkosz) 2010-03-22 18:23:02 +00:00
Christophe Dumez
6f7ae4770a Properly raise SIGSEGV/SIGABRT after catching it 2010-03-20 21:43:01 +00:00
Christophe Dumez
5aa348a574 Save fast resume data every 3 minutes 2010-03-20 21:21:42 +00:00
Christophe Dumez
7b8fa49482 Made M3U files previewable 2010-03-20 19:37:28 +00:00
Christophe Dumez
789cf654d0 Another attempt to fixing Mac compilation 2010-03-20 19:09:27 +00:00
Christophe Dumez
a300a6094e Mac compilation fix 2010-03-20 17:39:43 +00:00
Christophe Dumez
37b09e70b0 Fix "Ctrl+A" in Web UI 2010-03-20 15:45:14 +00:00
Christophe Dumez
530fbfc9b4 Ask for user confirmation because proceeding with recursive torrent download (security risk)
Fix "add file" dialog in torrent creation tool
2010-03-20 11:30:11 +00:00
Christophe Dumez
73c312ec1a Slight code optimization 2010-03-19 19:41:59 +00:00
Christophe Dumez
318a959470 Fix file filtering in complex torrent files 2010-03-19 11:12:17 +00:00
Christophe Dumez
f9cc98791a Subclass Cleanlook style to make sure the progress value is displayed when selected 2010-03-19 08:04:35 +00:00
Christophe Dumez
263eb3c632 Code optimization 2010-03-18 23:25:10 +00:00
Christophe Dumez
52b3926f92 Code optimization 2010-03-18 23:12:25 +00:00
Christophe Dumez
af3755bf91 "Downloaded pieces" bar now displays in yellow the pieces being downloaded 2010-03-18 22:58:32 +00:00
Christophe Dumez
419d719ab8 Added back file prioritizing in Web UI 2010-03-18 20:04:03 +00:00
Christophe Dumez
3877cf9ab8 Update to v2.3.0 alpha 2010-03-18 19:26:07 +00:00
Christophe Dumez
912056a364 Added back folder watching in Web UI 2010-03-18 19:25:16 +00:00
Christophe Dumez
165b33a94e Fixed Web UI compatibility with Safari 2010-03-16 00:20:32 +00:00
Christophe Dumez
12fff1b966 Compilation fix with Qt 4.4 2010-03-15 18:10:18 +00:00
Christophe Dumez
128eba7ec3 Bump to v2.2.0 final 2010-03-14 20:00:56 +00:00
Christophe Dumez
5bb370df0e Updated Hungarian translation 2010-03-14 16:05:30 +00:00
Christophe Dumez
6431343ad7 Made preferences columns resizable 2010-03-13 14:10:26 +00:00
Christophe Dumez
bd292076e3 Another Qt 4.6 fix 2010-03-13 13:45:10 +00:00
Christophe Dumez
ce0ddbe517 Qt 4.6 fix 2010-03-13 13:40:26 +00:00
Christophe Dumez
5451bb185e Updated Russian translation 2010-03-13 13:25:20 +00:00
Christophe Dumez
057cf3648e BUGFIX: Set Web UI ban period to 1 hour 2010-03-13 12:21:15 +00:00
Christophe Dumez
80d5c5d85c Made Web UI authentication even more robust 2010-03-12 20:55:09 +00:00
Christophe Dumez
671a997092 BUGFIX: Fix Web UI authentication with some browsers (e.g. epiphany) 2010-03-12 20:28:47 +00:00
Christophe Dumez
f2fbfdf017 Fix "download from URL" dialog height to avoid having a scrollbar 2010-03-12 20:24:12 +00:00
Christophe Dumez
1ea7340111 BUGFIX: Consider HTTP downloads >1MB as invalid .torrent files and abort them 2010-03-12 20:00:51 +00:00
Christophe Dumez
7b38ea4151 Updated Traditional Chinese translation 2010-03-12 15:12:59 +00:00
Christophe Dumez
c4ed12bbd1 Code cleanup 2010-03-11 21:59:25 +00:00
Christophe Dumez
c32b352ec1 Mark QTorrentHandle constructor as explicit 2010-03-11 21:43:09 +00:00
Christophe Dumez
9b2565dff9 Updated swedish translation 2010-03-11 18:09:50 +00:00
Christophe Dumez
f833f26212 Duplicate torrent trackers and url seeds are added to existing torrent even if it was added through folder scanning 2010-03-11 16:37:49 +00:00
Christophe Dumez
66a7082b5c Updated Greek translation 2010-03-11 08:42:40 +00:00
Christophe Dumez
cc3a6350a5 Enabled modality for appropriate dialogs
Make sure it is impossible to open more than one torrent addition from URL dialog
2010-03-10 20:21:56 +00:00
Christophe Dumez
9202ce8757 Deleting windows that are possibly still open on exit 2010-03-10 20:08:43 +00:00
Christophe Dumez
c0e4f126de Updated Korean, Portuguese and Brazilian translations 2010-03-09 07:59:17 +00:00
Christophe Dumez
44ca0a4904 Bump to rc2 2010-03-08 22:14:40 +00:00
Christophe Dumez
64ddf393aa Rss Feed downloader fix 2010-03-08 22:13:22 +00:00
Christophe Dumez
a60615a2d8 Improved RSS filters sorting code 2010-03-08 22:09:17 +00:00
Christophe Dumez
d9fa9c3566 Fix folder scanning: it would not detect torrents already present in the folder on startup. This bug was introduced recently (in rc1) 2010-03-08 19:19:17 +00:00
Christophe Dumez
5115b8739e Updated Spanish, Catalan and Czech translations 2010-03-08 19:07:13 +00:00
Christophe Dumez
854fb4acc0 Updated Italian translation 2010-03-08 11:30:13 +00:00
Christophe Dumez
07ef81fd95 Fix compilation error 2010-03-08 07:32:46 +00:00
Christophe Dumez
17e39f56dd Make sure path cannot be null 2010-03-07 21:06:07 +00:00
Christophe Dumez
040e94cab7 Added another check 2010-03-07 21:03:51 +00:00
Christophe Dumez
93563365ac Slight Optimization 2010-03-07 20:33:06 +00:00
Christophe Dumez
c287879e55 Fix possible crash with Qt 4.4 2010-03-07 20:27:39 +00:00
Christophe Dumez
537c73d548 Updated Serbian translation 2010-03-07 08:59:52 +00:00
Christophe Dumez
ad3f5f6e20 Drop our QCleanLooks style subclass since there no longer seem to be an issue with the standard one 2010-03-06 21:36:08 +00:00
Christophe Dumez
a468404ab5 Make use of Fast concatenation feature in Qt 4.6 2010-03-06 21:11:47 +00:00
Christophe Dumez
6d7fba1a6c Slight cleanup 2010-03-06 20:22:36 +00:00
Christophe Dumez
5c734a80f8 Updated Chinese translation 2010-03-06 19:58:10 +00:00
Christophe Dumez
edfee5193c Updated Bulgarian translation and translator name 2010-03-06 11:13:13 +00:00
Christophe Dumez
9900651c55 Updated slovak translation 2010-03-05 08:00:26 +00:00
Christophe Dumez
948adbe350 Uploaded Ukrainian translation 2010-03-04 21:15:35 +00:00
Christophe Dumez
ade0ba794c Little fix 2010-03-04 21:10:46 +00:00
Christophe Dumez
5494c33a89 Fix compilation with Qt 4.4 2010-03-04 20:33:48 +00:00
Christophe Dumez
c8f5cab636 Set as RELEASE_CANDIDATE 2010-03-04 20:30:34 +00:00
Christophe Dumez
4a8a40a6f2 Updated French translation 2010-03-04 20:26:57 +00:00
Christophe Dumez
70d41cdc79 Updated German and Finnish translations 2010-03-04 20:22:12 +00:00
Christophe Dumez
aec99ed14f More code cleanup 2010-03-04 20:19:25 +00:00
Christophe Dumez
9a645b4b19 Bump to rc1 2010-03-04 19:30:22 +00:00
Christophe Dumez
bea3c33a46 Fix several signals/slots bindings
Drop backward compatiblity functions for qBT <= 1.4.0
Clean up torrent loading code (Use priority queue instead of insertion sort)
2010-03-04 19:29:48 +00:00
Christophe Dumez
e082c02630 Make use of QT_VERSION define instead of using our own define 2010-03-04 18:40:11 +00:00
Christophe Dumez
291b94bef0 Code cleanup 2010-03-04 18:03:12 +00:00
Christophe Dumez
f119be3ed5 Updated language files 2010-03-04 17:41:33 +00:00
193 changed files with 48046 additions and 20255 deletions

View File

@@ -3,12 +3,19 @@ Author:
Contributors:
* Stefanos Antaris <santaris@csd.auth.gr>
* Mohammad Dib <mdib@qbittorrent.org>
* Mirco Chinelli <infinity89@fastwebmail.it>
* Ishan Arora <ishan@qbittorrent.org>
* Arnaud Demaizière <arnaud@qbittorrent.org>
* Grigis Gaëtan <cipher16@gmail.com>
* Christian Kandeler <zambesi@users.sourceforge.net>
* Silvan Scherrer <silvan.scherrer@aroa.ch>
Code from other projects:
* files src/qtsingleapp/*
copyright: Nokia Corporation
license: LGPL
* files src/ico.cpp src/ico.h
copyright: Malte Starostik <malte@kde.org>
license: LGPL

102
Changelog
View File

@@ -1,80 +1,28 @@
* Mon May 24 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.2.8
- BUGFIX: ETA for finished torrent is now 0 instead of Infinite (closes #583704)
- BUGFIX: Fix sorting of ETA column when having infinite values (closes #583347)
- BUGFIX: Torrent queue position now starts at 1 (closes #581130)
- BUGFIX: Fix unicode issue in start seeding after torrent creation code
- BUGFIX: Fix torrent error state clearance on resuming
- BUGFIX: Fix possible checkbox update in Web UI
- COSMETIC: Fix torrent properties layout
* Wed May 12 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.2.7
- BUGFIX: Fix unicode problem in torrent moving code
- BUGFIX: Fix possible initialization problem in Web UI
- BUGFIX: Fix torrent moving after completion feature
- BUGFIX: Improved empty folder removing code
- BUGFIX: Use guid or news url as RSS items identifier (instead of title)
- BUGFIX: Fix possible crash in RSS item selection code
- BUGFIX: Added support for url encoded ampersands in RSS
- COSMETIC: Sort torrent labels in popup menu
- I18N: Added Croatian translation
* Sun Apr 18 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.2.6
- BUGFIX: Announce to all trackers at once
- BUGFIX: Added support for single-thread boost
- BUGFIX: Remove old folder when moving a torrent
- BUGFIX: Improved reliability of torrent moving
- BUGFIX: Stop rechecking torrents when they are moved
- BUGFIX: Status filters height stays correct when the visual style changes
- I18N: Added Arabic translation
* Wed Apr 07 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.2.5
- BUGFIX: Fix crash when adding a new torrent label
- BUGFIX: Fix HTTPS protocol support in torrent/rss downloader
- BUGFIX: Fix default width of file name column in torrent content
- BUGFIX: Fix torrent addition dialog buttons height
- BUGFIX: Fix deprecation warnings with libtorrent v0.15
- BUGFIX: Fix "Download from URL" title size in Web UI
- BUGFIX: Fix transparency of speed limits icons
- BUGFIX: Dropped dependency on Qt gif library
- BUGFIX: Improved libboost detection by configure file
- BUGFIX: Bring back compatibility with boost v1.34
- COSMETIC: Added icons to menu actions in Web UI
* Tue Apr 06 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.2.4
- BUGFIX: Fix possible crash when adding a torrent
- BUGFIX: Fix failure to remember some torrents on startup
- BUGFIX: Fix torrent addition window layout (torrent content not expanding)
- BUGFIX: Fix about dialog in Web UI
- BUGFIX: Correctly clear trackers error messages once they work
- BUGFIX: Display correct share ratio for paused torrents
- COSMETIC: Improved alternative speed limits icons
* Sun Apr 04 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.2.3
- BUGFIX: Fix possible crash when deleting a torrent just after pausing it
- BUGFIX: Enable Apply button when alternative rate limits are changed
- BUGFIX: Source compatibility with Windows (Thanks Ishan Arora)
- BUGFIX: Source compatibility with eCS (OS/2) (Thanks Silvan Scherrer)
- BUGFIX: Cleaner binutils gold linker support
- BUGFIX: Clean fix for progress display with cleanlooks style
* Mon Mar 22 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.2.2
- FEATURE: DHT port can be set from Web UI
- BUGFIX: Fix possible crash with folder scanning
- BUGFIX: Fix Mac compilation
- BUGFIX: Save fast resume data every 3 minutes (for robustness)
- I18N: Updated Polish translation (thanks Szymon Świerkosz)
* Sat Mar 20 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.2.1
- FEATURE: Display pieces that are being downloaded
- FEATURE: Added back folder watching in Web UI
- FEATURE: Added back file prioritizing in Web UI
- BUGFIX: Fix compilation with Qt 4.4
- BUGFIX: Fix Web UI compatibility with Safari
- BUGFIX: Fix progress display with cleanlook style
- BUGFIX: Fix file filtering in complex torrents
- BUGFIX: Ask for user confirmation for recursive torrent download
- BUGFIX: Fix "add file" dialog in torrent creation tool
- BUGFIX: Fix "Ctrl+A" in Web UI
* Unreleased - Christophe Dumez <chris@qbittorrent.org> - v2.3.0
- FEATURE: Simplified torrent root folder renaming/truncating (< v2.3.0 is no longer forward compatible)
- FEATURE: Remember previous save paths in torrent addition dialog
- FEATURE: Max number of half-open connections can now be edited
- FEATURE: Added support for strict super seeding
- FEATURE: The user can force listening on a particular network interface
- FEATURE: Added cookie support for RSS feeds
- FEATURE: User can force tracker reannounce
- FEATURE: Added "No action" setting for double-click action
- FEATURE: Several torrents can be moved at once
- FEATURE: Added error state for torrents (error is displayed in a tooltip)
- FEATURE: Added filter for paused/error torrents
- FEATURE: Add Check/Uncheck all feature in Web UI
- FEATURE: Search engine can now be disabled
- FEATURE: Torrents can be automatically paused once they reach a given ratio
- FEATURE: Several files can now be disabled at once
- FEATURE: Added "Select All/None" buttons to files list
- BUGFIX: Hide seeding torrents files priorities in Web UI
- BUGFIX: The user can disable permanently recursive torrent download
- BUGFIX: Peer Exchange status is now correctly reported
- BUGFIX: Use an INI file instead of the registry on Windows (More reliable)
- COSMETIC: Display peers country name in tooltip
- COSMETIC: Display number of torrents in transfers tab label
- COSMETIC: Simplified program preferences
- COSMETIC: Fix naming of actions opening new dialogs (use Name...)
* Sun Mar 14 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.2.0
- FEATURE: User can set alternative speed limits for fast toggling

15
configure vendored
View File

@@ -355,27 +355,12 @@ public:
bool exec(){
QStringList incs;
QString req_ver = "0.14.4";
QString adv_ver = "0.15.0";
QString version, libs, other;
VersionMode mode = VersionMin;
if(!conf->findPkgConfig("libtorrent-rasterbar", mode, req_ver, &version, &incs, &libs, &other))
return false;
for(int n = 0; n < incs.count(); ++n)
conf->addIncludePath(incs[n]);
//if(!libs.isEmpty())
// conf->addLib(libs);
if(conf->findPkgConfig("libtorrent-rasterbar", mode, adv_ver, &version, &incs, &libs, &other)) {
//printf("\nWarning: libtorrent-rasterbar v%s was detected. Some feature will be disabled because they require v%s.\n", version.toLocal8Bit().data(), adv_ver.toUtf8().data());
//else
conf->addDefine("LIBTORRENT_0_15");
}
// Get linking parameters
//QStringList params;
//QByteArray staticlibs;
//params << "--static" << "--libs" << "libtorrent-rasterbar";
//conf->doCommand("pkg-config", params, &staticlibs);
//conf->addLib(staticlibs.trimmed());
//libcrypto
if(conf->getenv("QC_DISABLE_GUI").isEmpty()) {
conf->addLib("-lcrypto");
}

View File

@@ -13,27 +13,12 @@ public:
bool exec(){
QStringList incs;
QString req_ver = "0.14.4";
QString adv_ver = "0.15.0";
QString version, libs, other;
VersionMode mode = VersionMin;
if(!conf->findPkgConfig("libtorrent-rasterbar", mode, req_ver, &version, &incs, &libs, &other))
return false;
for(int n = 0; n < incs.count(); ++n)
conf->addIncludePath(incs[n]);
//if(!libs.isEmpty())
// conf->addLib(libs);
if(conf->findPkgConfig("libtorrent-rasterbar", mode, adv_ver, &version, &incs, &libs, &other)) {
//printf("\nWarning: libtorrent-rasterbar v%s was detected. Some feature will be disabled because they require v%s.\n", version.toLocal8Bit().data(), adv_ver.toUtf8().data());
//else
conf->addDefine("LIBTORRENT_0_15");
}
// Get linking parameters
//QStringList params;
//QByteArray staticlibs;
//params << "--static" << "--libs" << "libtorrent-rasterbar";
//conf->doCommand("pkg-config", params, &staticlibs);
//conf->addLib(staticlibs.trimmed());
//libcrypto
if(conf->getenv("QC_DISABLE_GUI").isEmpty()) {
conf->addLib("-lcrypto");
}

File diff suppressed because it is too large Load Diff

View File

@@ -37,13 +37,10 @@
#include "ui_mainwindow.h"
#include "qtorrenthandle.h"
enum TabIndex{TAB_TRANSFER, TAB_SEARCH, TAB_RSS};
class Bittorrent;
class QTimer;
class downloadFromURL;
class SearchEngine;
class QLocalServer;
class QCloseEvent;
class RSSImp;
class QShortcut;
@@ -59,6 +56,7 @@ class consoleDlg;
class about;
class createtorrent;
class downloadFromURL;
class HidableTabWidget;
class GUI : public QMainWindow, private Ui::MainWindow{
Q_OBJECT
@@ -68,8 +66,9 @@ public:
GUI(QWidget *parent=0, QStringList torrentCmdLine=QStringList());
~GUI();
// Methods
int getCurrentTabIndex() const;
QWidget* getCurrentTabWidget() const;
TransferListWidget* getTransferList() const { return transferList; }
QMenu* getTrayIconMenu();
public slots:
void trackerAuthenticationRequired(QTorrentHandle& h);
@@ -77,6 +76,7 @@ public slots:
void showNotificationBaloon(QString title, QString msg) const;
void downloadFromURLList(const QStringList& urls);
void updateAltSpeedsBtn(bool alternative);
void updateNbTorrents(unsigned int nb_downloading, unsigned int nb_seeding, unsigned int nb_active, unsigned int nb_inactive, unsigned int nb_paused);
protected slots:
// GUI related slots
@@ -88,8 +88,6 @@ protected slots:
void on_actionWebsite_triggered() const;
void on_actionBugReport_triggered() const;
void on_actionShow_console_triggered();
void readParamsOnSocket();
void acceptConnection();
void balloonClicked();
void writeSettings();
void readSettings();
@@ -111,6 +109,7 @@ protected slots:
void on_actionOpen_triggered();
void updateGUI();
void loadPreferences(bool configure_session=true);
void processParams(const QString& params);
void processParams(const QStringList& params);
void addTorrent(QString path);
void addUnauthenticatedTracker(const QPair<QTorrentHandle,QString> &tracker);
@@ -128,6 +127,7 @@ protected:
void showEvent(QShowEvent *);
bool event(QEvent * event);
void displayRSSTab(bool enable);
void displaySearchTab(bool enable);
private:
// Bittorrent
@@ -135,7 +135,7 @@ private:
QList<QPair<QTorrentHandle,QString> > unauthenticated_trackers; // Still needed?
// GUI related
QTimer *guiUpdater;
QTabWidget *tabs;
HidableTabWidget *tabs;
StatusBar *status_bar;
QPointer<options_imp> options;
QPointer<consoleDlg> console;
@@ -144,7 +144,7 @@ private:
QPointer<downloadFromURL> downloadFromURLDialog;
QPointer<QSystemTrayIcon> systrayIcon;
QPointer<QTimer> systrayCreator;
QMenu *myTrayIconMenu;
QPointer<QMenu> myTrayIconMenu;
TransferListWidget *transferList;
TransferListFiltersWidget *transferListFilters;
PropertiesWidget *properties;
@@ -161,11 +161,15 @@ private:
QSplitter *hSplitter;
QSplitter *vSplitter;
// Search
SearchEngine *searchEngine;
QPointer<SearchEngine> searchEngine;
// RSS
QPointer<RSSImp> rssWidget;
// Misc
QLocalServer *localServer;
private slots:
void on_actionSearch_engine_triggered();
void on_actionRSS_Reader_triggered();
void on_actionSpeed_in_title_bar_triggered();
void on_actionTop_tool_bar_triggered();
};
#endif

Binary file not shown.

After

Width:  |  Height:  |  Size: 322 B

BIN
src/Icons/L.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 860 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

View File

@@ -1,6 +1,6 @@
[Desktop Entry]
Categories=Qt;Network;P2P;
Comment=V2.2.8
Comment=V2.3.0
Exec=qbittorrent %f
GenericName=Bittorrent client
GenericName[ar]=العميل Bittorrent

Binary file not shown.

View File

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 257 B

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

View File

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 79 KiB

After

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 315 B

60
src/Info.plist Normal file
View File

@@ -0,0 +1,60 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>torrent</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>qbittorrentDocument</string>
<key>CFBundleTypeName</key>
<string>BitTorrent Document</string>
<key>CFBundleTypeMIMETypes</key>
<array>
<string>application/x-bittorrent</string>
</array>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>LSHandlerRank</key>
<string>Owner</string>
<key>LSItemContentTypes</key>
<array>
<string>org.bittorrent.torrent</string>
</array>
<key>LSIsAppleDefaultForType</key>
<true/>
</dict>
</array>
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLSchemes</key>
<array>
<string>magnet</string>
</array>
<key>CFBundleURLName</key>
<string>BitTorrent Magnet URL</string>
</dict>
</array>
<key>CFBundleIconFile</key>
<string>qbittorrent_mac.icns</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleGetInfoString</key>
<string>2.3.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleExecutable</key>
<string>qbittorrent</string>
<key>CFBundleIdentifier</key>
<string>org.qbittorrent</string>
<key>NOTE</key>
<string>This file was generated by Qt/QMake.</string>
</dict>
</plist>

View File

@@ -54,8 +54,8 @@ class about : public QDialog, private Ui::AboutDlg{
te_thanks->append(QString::fromUtf8("<a name='top'></a>"));
te_thanks->append(QString::fromUtf8("<ul><li>I would first like to thank sourceforge.net for hosting qBittorrent project and for their support.</li>"));
te_thanks->append(QString::fromUtf8("<li>I am pleased that people from all over the world are contributing to qBittorrent: Ishan Arora (India), Arnaud Demaizière (France) and Stephanos Antaris (Greece). Their help is greatly appreciated</li>"));
te_thanks->append(QString::fromUtf8("<li>I also want to thank Jeffery Fernandez (jeffery@qbittorrent.org), project consultant, for his help and support since the beginning of this project.</li>"));
te_thanks->append(QString::fromUtf8("<li>I am grateful to Peter Koeleman (peter@qbittorrent.org) for working on qBittorrent port to Windows.</li>"));
te_thanks->append(QString::fromUtf8("<li>I also want to thank Στέφανος Αντάρης (santaris@csd.auth.gr) and Mirco Chinelli (infinity89@fastwebmail.it) for working on Mac OS X packaging.</li>"));
te_thanks->append(QString::fromUtf8("<li>I am grateful to Peter Koeleman (peter@qbittorrent.org) and Mohammad Dib (mdib@qbittorrent.org) for working on qBittorrent port to Windows.</li>"));
te_thanks->append(QString::fromUtf8("<li>Thanks a lot to our graphist Mateusz Toboła (tobejodok@qbittorrent.org) for his great work.</li></ul><br><br>"));
te_thanks->scrollToAnchor(QString::fromUtf8("top"));
// Translation

View File

@@ -5,18 +5,22 @@
#include <QHeaderView>
#include <QSpinBox>
#include <QCheckBox>
#include <QComboBox>
#include <QNetworkInterface>
#include <libtorrent/version.hpp>
#include "preferences.h"
enum AdvSettingsCols {PROPERTY, VALUE};
enum AdvSettingsRows {DISK_CACHE, OUTGOING_PORT_MIN, OUTGOING_PORT_MAX, IGNORE_LIMIT_LAN, COUNT_OVERHEAD, RECHECK_COMPLETED, LIST_REFRESH, RESOLVE_COUNTRIES, RESOLVE_HOSTS };
#define ROW_COUNT 9
enum AdvSettingsRows {DISK_CACHE, OUTGOING_PORT_MIN, OUTGOING_PORT_MAX, IGNORE_LIMIT_LAN, COUNT_OVERHEAD, RECHECK_COMPLETED, LIST_REFRESH, RESOLVE_COUNTRIES, RESOLVE_HOSTS, MAX_HALF_OPEN, SUPER_SEEDING, NETWORK_IFACE };
#define ROW_COUNT 12
class AdvancedSettings: public QTableWidget {
Q_OBJECT
private:
QSpinBox *spin_cache, *outgoing_ports_min, *outgoing_ports_max, *spin_list_refresh;
QCheckBox *cb_ignore_limits_lan, *cb_count_overhead, *cb_recheck_completed, *cb_resolve_countries, *cb_resolve_hosts;
QSpinBox *spin_cache, *outgoing_ports_min, *outgoing_ports_max, *spin_list_refresh, *spin_maxhalfopen;
QCheckBox *cb_ignore_limits_lan, *cb_count_overhead, *cb_recheck_completed, *cb_resolve_countries, *cb_resolve_hosts, *cb_super_seeding;
QComboBox *combo_iface;
public:
AdvancedSettings(QWidget *parent=0): QTableWidget(parent) {
@@ -45,6 +49,9 @@ public:
delete spin_list_refresh;
delete cb_resolve_countries;
delete cb_resolve_hosts;
delete spin_maxhalfopen;
delete cb_super_seeding;
delete combo_iface;
}
public slots:
@@ -65,6 +72,19 @@ public slots:
// Peer resolution
Preferences::resolvePeerCountries(cb_resolve_countries->isChecked());
Preferences::resolvePeerHostNames(cb_resolve_hosts->isChecked());
// Max Half-Open connections
Preferences::setMaxHalfOpenConnections(spin_maxhalfopen->value());
#if LIBTORRENT_VERSION_MINOR > 14
// Super seeding
Preferences::enableSuperSeeding(cb_super_seeding->isChecked());
#endif
// Network interface
if(combo_iface->currentIndex() == 0) {
// All interfaces (default)
Preferences::setNetworkInterface(QString::null);
} else {
Preferences::setNetworkInterface(combo_iface->currentText());
}
}
protected slots:
@@ -133,6 +153,39 @@ protected slots:
connect(cb_resolve_hosts, SIGNAL(toggled(bool)), this, SLOT(emitSettingsChanged()));
cb_resolve_hosts->setChecked(Preferences::resolvePeerHostNames());
setCellWidget(RESOLVE_HOSTS, VALUE, cb_resolve_hosts);
// Max Half Open connections
setItem(MAX_HALF_OPEN, PROPERTY, new QTableWidgetItem(tr("Maximum number of half-open connections [0: Disabled]")));
spin_maxhalfopen = new QSpinBox();
connect(spin_maxhalfopen, SIGNAL(valueChanged(int)), this, SLOT(emitSettingsChanged()));
spin_maxhalfopen->setMinimum(0);
spin_maxhalfopen->setMaximum(99999);
spin_maxhalfopen->setValue(Preferences::getMaxHalfOpenConnections());
setCellWidget(MAX_HALF_OPEN, VALUE, spin_maxhalfopen);
// Super seeding
setItem(SUPER_SEEDING, PROPERTY, new QTableWidgetItem(tr("Strict super seeding")));
cb_super_seeding = new QCheckBox();
connect(cb_super_seeding, SIGNAL(toggled(bool)), this, SLOT(emitSettingsChanged()));
#if LIBTORRENT_VERSION_MINOR > 14
cb_super_seeding->setChecked(Preferences::isSuperSeedingEnabled());
#else
cb_super_seeding->setEnabled(false);
#endif
setCellWidget(SUPER_SEEDING, VALUE, cb_super_seeding);
// Network interface
setItem(NETWORK_IFACE, PROPERTY, new QTableWidgetItem(tr("Network Interface (requires restart)")));
combo_iface = new QComboBox;
combo_iface->addItem(tr("Any interface", "i.e. Any network interface"));
const QString &current_iface = Preferences::getNetworkInterface();
int i = 1;
foreach(const QNetworkInterface& iface, QNetworkInterface::allInterfaces()) {
if(iface.name() == "lo") continue;
combo_iface->addItem(iface.name());
if(!current_iface.isEmpty() && iface.name() == current_iface)
combo_iface->setCurrentIndex(i);
++i;
}
connect(combo_iface, SIGNAL(currentIndexChanged(int)), this, SLOT(emitSettingsChanged()));
setCellWidget(NETWORK_IFACE, VALUE, combo_iface);
}
void emitSettingsChanged() {

File diff suppressed because it is too large Load Diff

View File

@@ -43,6 +43,7 @@
#include <QPointer>
#include <QTimer>
#include <libtorrent/version.hpp>
#include <libtorrent/session.hpp>
#include <libtorrent/ip_filter.hpp>
#include "qtorrenthandle.h"
@@ -63,7 +64,7 @@ public:
QString name_or_url;
QString last_message;
unsigned long num_peers;
#ifndef LIBTORRENT_0_15
#if LIBTORRENT_VERSION_MINOR < 15
bool verified;
uint fail_count;
#endif
@@ -74,13 +75,13 @@ public:
Q_ASSERT(!name_or_url.isEmpty());
last_message = b.last_message;
num_peers = b.num_peers;
#ifndef LIBTORRENT_0_15
#if LIBTORRENT_VERSION_MINOR < 15
verified = b.verified;
fail_count = b.fail_count;
#endif
}
TrackerInfos(QString name_or_url): name_or_url(name_or_url), last_message(""), num_peers(0) {
#ifndef LIBTORRENT_0_15
#if LIBTORRENT_VERSION_MINOR < 15
fail_count = 0;
verified = false;
#endif
@@ -117,6 +118,10 @@ public:
bool useTemporaryFolder() const;
QString getDefaultSavePath() const;
ScanFoldersModel* getScanFoldersModel() const;
bool isPexEnabled() const;
#if LIBTORRENT_VERSION_MINOR < 15
void saveDHTEntry();
#endif
public slots:
QTorrentHandle addTorrent(QString path, bool fromScanDir = false, QString from_url = QString(), bool resumed = false);
@@ -135,9 +140,6 @@ public slots:
void resumeTorrent(QString hash);
void resumeAllTorrents();
/* End Web UI */
#ifndef LIBTORRENT_0_15
void saveDHTEntry();
#endif
void preAllocateAllFiles(bool b);
void saveFastResumeData();
void enableIPFilter(QString filter);
@@ -152,8 +154,7 @@ public slots:
void setMaxUploadsPerTorrent(int max);
void setDownloadRateLimit(long rate);
void setUploadRateLimit(long rate);
void setGlobalRatio(float ratio);
void setDeleteRatio(float ratio);
void setMaxRatio(float ratio);
void setDHTPort(int dht_port);
void setPeerProxySettings(const proxy_settings &proxySettings);
void setHTTPProxySettings(const proxy_settings &proxySettings);
@@ -161,10 +162,10 @@ public slots:
void startTorrentsInPause(bool b);
void setDefaultTempPath(QString temppath);
void setAppendLabelToSavePath(bool append);
void appendLabelToTorrentSavePath(QTorrentHandle h);
void changeLabelInTorrentSavePath(QTorrentHandle h, QString old_label, QString new_label);
#ifdef LIBTORRENT_0_15
void appendqBextensionToTorrent(QTorrentHandle h, bool append);
void appendLabelToTorrentSavePath(QTorrentHandle &h);
void changeLabelInTorrentSavePath(QTorrentHandle &h, QString old_label, QString new_label);
#if LIBTORRENT_VERSION_MINOR > 14
void appendqBextensionToTorrent(QTorrentHandle &h, bool append);
void setAppendqBExtension(bool append);
#endif
void applyEncryptionSettings(pe_settings se);
@@ -188,13 +189,13 @@ public slots:
void recursiveTorrentDownload(const QTorrentHandle &h);
protected:
QString getSavePath(QString hash, bool fromScanDir = false, QString filePath = QString());
QString getSavePath(QString hash, bool fromScanDir = false, QString filePath = QString::null, QString root_folder=QString::null);
bool initWebUi(QString username, QString password, int port);
protected slots:
void addTorrentsFromScanFolder(QStringList&);
void readAlerts();
void deleteBigRatios();
void processBigRatios();
void takeETASamples();
void exportTorrentFiles(QString path);
void saveTempFastResumeData();
@@ -225,6 +226,7 @@ private:
QPointer<BandwidthScheduler> bd_scheduler;
QMap<QUrl, QString> savepath_fromurl;
QHash<QString, QHash<QString, TrackerInfos> > trackersInfos;
QHash<QString, QString> savePathsToRemove;
QStringList torrentsToPausedAfterChecking;
QTimer resumeDataTimer;
// Ratio
@@ -240,6 +242,7 @@ private:
bool preAllocateAll;
bool addInPause;
float ratio_limit;
int high_ratio_action;
bool UPnPEnabled;
bool NATPMPEnabled;
bool LSDEnabled;
@@ -249,7 +252,7 @@ private:
bool queueingEnabled;
bool appendLabelToSavePath;
bool torrentExport;
#ifdef LIBTORRENT_0_15
#if LIBTORRENT_VERSION_MINOR > 14
bool appendqBExtension;
#endif
QString defaultSavePath;

95
src/cookiesdlg.cpp Normal file
View File

@@ -0,0 +1,95 @@
/*
* Bittorrent Client using Qt4 and libtorrent.
* Copyright (C) 2010 Christophe Dumez
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* In addition, as a special exception, the copyright holders give permission to
* link this program with the OpenSSL project's "OpenSSL" library (or with
* modified versions of it that use the same license as the "OpenSSL" library),
* and distribute the linked executables. You must obey the GNU General Public
* License in all respects for all of the code used other than "OpenSSL". If you
* modify file(s), you may extend this exception to your version of the file(s),
* but you are not obligated to do so. If you do not wish to do so, delete this
* exception statement from your version.
*
* Contact : chris@qbittorrent.org arnaud@qbittorrent.org
*/
#include "cookiesdlg.h"
#include "ui_cookiesdlg.h"
#include <QNetworkCookie>
enum CookiesCols { COOKIE_KEY, COOKIE_VALUE};
CookiesDlg::CookiesDlg(QWidget *parent, const QList<QByteArray> &raw_cookies) :
QDialog(parent),
ui(new Ui::CookiesDlg)
{
ui->setupUi(this);
ui->infos_lbl->setText(tr("Common keys for cookies are : '%1', '%2'.\nYou should get this information from your Web browser preferences.").arg("uid").arg("pass"));
foreach(const QByteArray &raw_cookie, raw_cookies) {
QList<QByteArray> cookie_parts = raw_cookie.split('=');
if(cookie_parts.size() != 2) continue;
const int i = ui->cookiesTable->rowCount();
ui->cookiesTable->setRowCount(i+1);
ui->cookiesTable->setItem(i, COOKIE_KEY, new QTableWidgetItem(cookie_parts.first().data()));
ui->cookiesTable->setItem(i, COOKIE_VALUE, new QTableWidgetItem(cookie_parts.last().data()));
}
}
CookiesDlg::~CookiesDlg()
{
delete ui;
}
void CookiesDlg::on_add_btn_clicked() {
ui->cookiesTable->setRowCount(ui->cookiesTable->rowCount()+1);
// Edit first column
ui->cookiesTable->editItem(ui->cookiesTable->item(ui->cookiesTable->rowCount()-1, COOKIE_KEY));
}
void CookiesDlg::on_del_btn_clicked() {
// Get selected cookie
QList<QTableWidgetItem*> selection = ui->cookiesTable->selectedItems();
if(!selection.isEmpty()) {
ui->cookiesTable->removeRow(selection.first()->row());
}
}
QList<QByteArray> CookiesDlg::getCookies() const {
QList<QByteArray> ret;
for(int i=0; i<ui->cookiesTable->rowCount(); ++i) {
QString key = ui->cookiesTable->item(i, COOKIE_KEY)->text().trimmed();
QString value = ui->cookiesTable->item(i, COOKIE_VALUE)->text().trimmed();
if(!key.isEmpty() && !value.isEmpty()) {
const QString raw_cookie = key+"="+value;
qDebug("Cookie: %s", qPrintable(raw_cookie));
ret << raw_cookie.toLocal8Bit();
}
}
return ret;
}
QList<QByteArray> CookiesDlg::askForCookies(QWidget *parent, const QList<QByteArray> &raw_cookies, bool *ok) {
CookiesDlg dlg(parent, raw_cookies);
if(dlg.exec()) {
*ok = true;
return dlg.getCookies();
}
*ok = false;
return QList<QByteArray>();
}

58
src/cookiesdlg.h Normal file
View File

@@ -0,0 +1,58 @@
/*
* Bittorrent Client using Qt4 and libtorrent.
* Copyright (C) 2010 Christophe Dumez
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* In addition, as a special exception, the copyright holders give permission to
* link this program with the OpenSSL project's "OpenSSL" library (or with
* modified versions of it that use the same license as the "OpenSSL" library),
* and distribute the linked executables. You must obey the GNU General Public
* License in all respects for all of the code used other than "OpenSSL". If you
* modify file(s), you may extend this exception to your version of the file(s),
* but you are not obligated to do so. If you do not wish to do so, delete this
* exception statement from your version.
*
* Contact : chris@qbittorrent.org arnaud@qbittorrent.org
*/
#ifndef COOKIESDLG_H
#define COOKIESDLG_H
#include <QDialog>
namespace Ui {
class CookiesDlg;
}
class CookiesDlg : public QDialog
{
Q_OBJECT
public:
explicit CookiesDlg(QWidget *parent = 0, const QList<QByteArray> &raw_cookies = QList<QByteArray>());
~CookiesDlg();
QList<QByteArray> getCookies() const;
static QList<QByteArray> askForCookies(QWidget *parent, const QList<QByteArray> &raw_cookies, bool *ok);
protected slots:
void on_add_btn_clicked();
void on_del_btn_clicked();
private:
Ui::CookiesDlg *ui;
};
#endif // COOKIESDLG_H

Some files were not shown because too many files have changed in this diff Show More