Commit graph

452 commits

Author SHA1 Message Date
Christophe Dumez
99459dc55d - Fixing indentation
- Stop catching SIGINT and SIGTERM once the application has exiting
2010-01-02 23:03:46 +00:00
Christophe Dumez
cbe4bbac6a - Merged headless branch 2010-01-02 22:20:37 +00:00
Christophe Dumez
a5d8766a9e Use XDG folders (.cache, .local) instead of .qbittorrent
old .qbittorrent is imported and moved to XDG folder by qBittorrent so that the user does not loose anything
2010-01-02 11:22:44 +00:00
Christophe Dumez
09c7c50ad3 - qBittorrent can now identify itself as KTorrent too 2010-01-01 20:29:03 +00:00
Christophe Dumez
add2475700 - Files / Folders can also be renamed directly from torrent addition dialog 2010-01-01 10:55:13 +00:00
Christophe Dumez
9d0577fa5c - Display the correct DHT port in the console 2009-12-30 16:47:03 +00:00
Christophe Dumez
2168d5a30e - qBittorrent no longer listens on a random port whenever it receives a listen_failed_alert (because it may correspond to another network interface)
- Display a "disconnected" icon in status bar whenever qBittorrent fails to listen on the selected port
2009-12-30 15:52:20 +00:00
Christophe Dumez
7ad90b1b80 - Fix Proxy type rank in enum (to be consistent with older qBittorrent versions)
- Added Proxy settings to Web UI
- Fix tiny bugs in proxy settings
2009-12-30 15:07:51 +00:00
Christophe Dumez
4dc26d0a77 - FEATURE: qBittorrent can identify itself as uTorrent or Vuze (Any version) 2009-12-30 13:10:06 +00:00
Christophe Dumez
d5a09674ae FEATURE: Better proxy support and preferences remodeling 2009-12-30 10:53:58 +00:00
Christophe Dumez
907e620e9e - Added console message for Web UI (with port)
- Updated language files
2009-12-30 09:49:56 +00:00
Christophe Dumez
f96ec75eec - Improve Web UI settings so that the HTTP server is reconstructed only when necessary 2009-12-30 09:46:06 +00:00
Christophe Dumez
e885ee0d35 - Fix some other DHT port issues 2009-12-29 10:04:41 +00:00
Christophe Dumez
ff5e5d1062 - Fix some other listen port issues 2009-12-29 09:59:32 +00:00
Christophe Dumez
4f9eca78d9 - Fix to port settings 2009-12-28 21:17:15 +00:00
Christophe Dumez
e142877e10 - Fix little typo 2009-12-22 14:20:16 +00:00
Christophe Dumez
50e620daf2 - Handle paths with (~, ., ..) properly 2009-12-22 10:29:39 +00:00
Christophe Dumez
98561f9db9 - Fix "Append .!qB extension" for torrents without metadata (Magnet Links) 2009-12-18 20:33:59 +00:00
Christophe Dumez
885a7f592e - Fix removal of !.qB extension when files get completed 2009-12-18 17:57:47 +00:00
Christophe Dumez
475d63dad8 - Fix "Append .!qB extension" feature. It appeared only for empty files (instead of incomplete ones) 2009-12-18 17:26:00 +00:00
Christophe Dumez
c1bc9886b7 - Fix "Append .!qB extension to incomplete files" feature 2009-12-18 17:18:43 +00:00
Christophe Dumez
88f8437c5a - Fix "Append .!qB extension to incomplete files" feature for torrents added from magnet links 2009-12-18 17:01:47 +00:00
Christophe Dumez
411a1c641d - Fix several bugs in new "Append label to save path" feature 2009-12-18 16:56:57 +00:00
Christophe Dumez
dc0ad73eca - Fix torrent Labeling from torrent addition dialog 2009-12-18 16:36:48 +00:00
Christophe Dumez
04e008afa0 - Fix new settings not being saved 2009-12-18 16:32:26 +00:00
Christophe Dumez
c61aded388 - Initial implementation of "Append .!qB extension to incomplete files" (untested)
- Update torrent save path when its label is changed and "Append label to save path" setting is set
2009-12-18 13:36:47 +00:00
Christophe Dumez
1fd57b5d63 - FEATURE: Labeled torrent can be downloaded corresponding subfolders 2009-12-17 20:28:30 +00:00
Christophe Dumez
755b8dec30 - Peer Exchange can be disabled from preferences 2009-12-17 18:00:21 +00:00
Christophe Dumez
db5402385a FEATURE: Disk cache size can be set from preferences 2009-12-17 17:37:54 +00:00
Christophe Dumez
ed803fb994 - Initiated work on torrent labeling/categorization (functional but not perfect yet 2009-12-15 19:52:43 +00:00
Christophe Dumez
8e39eef7aa - Display console messages on Terminal
- Program seems to be working
2009-12-15 12:55:46 +00:00
Christophe Dumez
9fe807b6f1 - Removed useless debug 2009-12-11 12:23:53 +00:00
Christophe Dumez
84f00bf3f6 - uTorrent user agent is now spoofed correctly 2009-12-11 12:18:00 +00:00
Christophe Dumez
abbbf1e562 - Torrent Addition Dialog: File priorities were not taken into consideration (Thanks Mariusz) 2009-12-08 17:20:28 +00:00
Christophe Dumez
3ec118d59b - When downloading a torrent from its URL in Web UI, the torrent addition dialog was not skipped and displayed on server side.
* Regression introduced in a recent release candidate
2009-12-06 14:41:05 +00:00
Christophe Dumez
10ab8f107c - Tracker scrape interval is now 20 min (15 minutes min). 2009-12-02 18:19:16 +00:00
Christophe Dumez
4dc8959f67 * More exit tweaking to make shutdown faster
* Fixed active upload icon in Web UI
* Fixed text alignment in Web UI preferences dialog
* Fixes to ratio display in Web UI transfer list and properties panel
* Edited Queued/Paused/Checking icons so that they are the same for complete/incomplete torrents (easier to understand)
* Color torrents in UI transfer list as in qBittorrent < 2.0 (more easily understandable)
* Progress and size are now updated when files are filtered in torrent properties
2009-11-30 21:30:14 +00:00
Christophe Dumez
396427e3b6 FEATURE: Fall back to a random port if qBittorrent could not listen on the chosen port 2009-11-28 18:23:17 +00:00
Christophe Dumez
e460f1c365 - Attempt to speed up exit 2009-11-28 15:03:27 +00:00
Christophe Dumez
27aff04f11 - Catch invalid_handle exception in savefastresume data 2009-11-28 13:50:16 +00:00
Christophe Dumez
5af8b7c0e2 FEATURE: Enabled lazy bitfield as a counter-measure for ISP speed throttling 2009-11-28 10:36:34 +00:00
Christophe Dumez
3c6635cdbe - Folder Scanning: initial import of the torrents inside is fixed 2009-11-27 11:50:30 +00:00
Christophe Dumez
ce31bef2cf - Make sure the torrent is valid before saving fast resume data 2009-11-26 11:59:40 +00:00
Christophe Dumez
c52e0cf841 - Improve tracker status detection when using libtorrent v0.14 2009-11-23 07:18:28 +00:00
Christophe Dumez
8fe448d35f - Fixed compilation with libtorrent v0.14 2009-11-22 11:16:30 +00:00
Christophe Dumez
c1d3f719df - Compilation fix for libtorrent v0.14 2009-11-22 10:35:16 +00:00
Christophe Dumez
480d1b18db - Display in tracker list the number of peers gotten from LSD/PeX/DHT 2009-11-21 15:18:09 +00:00
Christophe Dumez
62f57862e5 - Properly report paused torrents from Bittorrent session to GUI (closes #86293)
- Removed some verbose debug
2009-11-21 14:25:07 +00:00
Christophe Dumez
5d427d2acf - Save fast resume data for paused torrents too to avoid loosing information (e.g. user trackers, ...) 2009-11-20 18:36:34 +00:00
Christophe Dumez
aa0c2e611f - Remove useless code in torrentpersistentdata since libtorrent is saving and restoring this for us 2009-11-20 18:29:13 +00:00
Christophe Dumez
4ee47ce2b8 - Use a capital "B" for Bittorrent class 2009-11-20 08:01:59 +00:00
Christophe Dumez
262b88930e - Use lowercase characters only in filenames 2009-11-20 07:48:44 +00:00
Christophe Dumez
98223e54e8 - Updated tracker behavior, it works better now (more µTorrent like) 2009-11-19 15:50:57 +00:00
Christophe Dumez
e36e500045 - Added DHT to trackers list 2009-11-19 15:43:00 +00:00
Christophe Dumez
e2b8aeafa6 - FEATURE: Display the number of peers returned by each tracker 2009-11-19 15:04:43 +00:00
Christophe Dumez
8ada8d33c8 FEATURE: Announce to all trackers specified for a torrent (µTorrent behavior) 2009-11-19 08:43:18 +00:00
Christophe Dumez
ac279979fb - Fix errors in tracker messages saving code 2009-11-19 08:36:03 +00:00
Christophe Dumez
d5e2905ead - Clean up of bittorrent class 2009-11-19 08:14:04 +00:00
Christophe Dumez
e93fab40fe - Removed some too verbose debug
- Suppress a Qt warning about the layout in status bar
2009-11-18 18:07:31 +00:00
Christophe Dumez
d3c59f0814 - Move Web UI code to Bittorrent class 2009-11-18 17:46:59 +00:00
Christophe Dumez
0bc2e9aeeb - Removed regular tracker scrape code since it is done automatically by libtorrent (it should not have been in GUI class anyway...)
- Moved bittorrent specific code from GUI class to bittorrent class
2009-11-18 12:35:55 +00:00
Christophe Dumez
623933e2aa - COSMETIC: New deletion confirmation dialog (Merged delete/delete permanently actions)
- Delete useless properties button in top tool bar
- Set Alt+P keyboard shortcut to toggle torrent properties visibility
2009-11-18 12:11:15 +00:00
Christophe Dumez
4ca2d060ea - Make everything compile back with libtorrent v0.14
- Fix crash in search engine destructor if downloads are running
2009-11-18 10:29:20 +00:00
Christophe Dumez
31374d8d30 - Remove useless code since it is handled on libtorrent side 2009-11-17 18:21:46 +00:00
Christophe Dumez
7c84551150 - Support peer manual ban (from peer list) 2009-11-17 16:02:35 +00:00
Christophe Dumez
5ffcf5a9dc - Fixed per torrent speed limiting
- A lot of cleanup in speed limiting dialog
2009-11-17 13:11:32 +00:00
Christophe Dumez
4e8eaafd53 - Torrents can now be rechecked from Web UI (patch by Stephanos Antaris)
- Torrents paused/resumed state is not reflected in GUI if the action was executed from Web UI
2009-11-17 08:15:26 +00:00
Christophe Dumez
eab216e5a8 - Improved ETA calculation for big torrents 2009-11-16 20:28:58 +00:00
Christophe Dumez
9e9e6f028c - Integrate Geoip database to speed up country resolution 2009-11-15 20:03:23 +00:00
Christophe Dumez
c5c09b09ee - Implemented flag display in peer list (has to be enabled in program preferences, connection section) 2009-11-15 12:57:25 +00:00
Christophe Dumez
12106c308e - Manage country resolution on libtorrent side. The flags are not displayed in the peer list yet though 2009-11-15 10:59:11 +00:00
Christophe Dumez
51ebfadd85 - Split Preferences from the GUI so that Options dialog does not need to be created on startup to retrieve the preferences:
* This speeds up startup
  * Bittorrent session settings are now applied at bittorrent class level (Required for headless running)
2009-11-14 19:08:28 +00:00
Christophe Dumez
daef9ece75 - FEATURE: Folder scanning now works with CIFS and NFS mounted folders 2009-11-12 18:24:51 +00:00
Christophe Dumez
d6e90883cb - Initial commit (both lists are merged but not all the features are there and it is probably buggy) 2009-11-07 19:55:33 +00:00
Christophe Dumez
7792b4f849 - Branched trunk in order to work on a major GUI remodeling. I will attempt to:
* Merge download and upload lists
  * Display torrent properties in the same tab (horizontal split)
2009-11-06 14:30:14 +00:00
Christophe Dumez
966367aff6 - Fix compilation error 2009-10-24 14:36:17 +00:00
Christophe Dumez
1cc6086468 FEATURE: Metadata download from swarm is now compatible with µtorrent
FEATURE: Support tracker exchange between peers

Updated Changelog
2009-10-24 14:28:00 +00:00
Christophe Dumez
0485864d38 - Fix a crash when scanned directory does not exist 2009-09-30 18:36:47 +00:00
Christophe Dumez
a2792efa72 - Make sure torrents are complete before auto downloader picks them up 2009-09-26 09:06:17 +00:00
Christophe Dumez
2556346dda - Fix a possible crash when pausing then deleting a torrent quickly 2009-09-21 19:08:33 +00:00
Christophe Dumez
0433254ad8 - Should fix torrents pausing for no reason 2009-09-20 21:25:17 +00:00
Christophe Dumez
37158a32ad - Fix crash in torrent addition dialog when save path does not exist (closes #425227)
- Fix downloading from URL (broken in v1.5.0)
2009-09-07 11:48:31 +00:00
Christophe Dumez
8792637634 - Fixed uTorrent spoofing code 2009-09-03 11:29:15 +00:00
Christophe Dumez
63ad2def91 - Improve readability of tracker error tooltips
- Update uTorrent spoofer to v1.9.4
2009-09-03 11:05:20 +00:00
Christophe Dumez
e53c7aaea6 - Added Portuguese and brazilian translations to desktop file
- Recursive torrent download now consider torrents with more than one file inside
2009-08-31 08:51:55 +00:00
Christophe Dumez
dc9802fe1e - Forgot not to remove this file too 2009-08-27 13:20:33 +00:00
Christophe Dumez
64f1d306f4 - Do not remove older torrent parameters files, just to be on the safe side 2009-08-27 13:18:45 +00:00
Christophe Dumez
63761afd0a - Got rid of .speedlimits file and use new TorrentPersistantData system 2009-08-27 09:07:33 +00:00
Christophe Dumez
8da148ffa1 - Import URL seeds and trackers from v1.4.x too 2009-08-27 08:43:19 +00:00
Christophe Dumez
e2dc2207d8 - Fixed v1.4.x torrent import 2009-08-27 08:23:35 +00:00
Christophe Dumez
c1378450fc - Import torrents from v1.4.x (or earlier) in order not to lose them when updating 2009-08-27 03:13:39 +00:00
Christophe Dumez
9a14c4c599 - FEATURE: A random listening port can be chosen automatically 2009-08-25 09:19:02 +00:00
Christophe Dumez
25d998f1b5 - Added magnet URI support to Web UI 2009-08-21 14:05:03 +00:00
Christophe Dumez
298f1e6a9a - FEATURE: If a torrent contains a torrent file, process downloaded torrent file too 2009-08-21 11:26:58 +00:00
Christophe Dumez
0b9c05d41b - FEATURE: Make use of torrent enclosure in RSS feeds for direct download
- FEATURE: Implemented a RSS feed downloader with filter support
- FEATURE: Save old RSS item to hard disk to remember them on start up
- FEATURE: RSS Feeds can now be copied to the clipboard
2009-08-21 07:40:57 +00:00
Christophe Dumez
e429126934 - Ok. torrentless downloads paused state is now restored properly (once metadata is received) 2009-08-17 08:08:51 +00:00
Christophe Dumez
d132d50f4d - Torrentless downloads are no longer added in pause (temporary workaround as I think it is better not to start in paused state). 2009-08-17 05:23:58 +00:00
Christophe Dumez
e619b6977a - Added Magnet URI support (might be still buggy)
* Known problem: Always added in paused state for some obscure reason)
2009-08-17 05:14:03 +00:00
Christophe Dumez
2742a54d6e - Rewrited torrent resume code to make it cleaner and more generic
* magnet URI support should be easy to implement now
Warning: Since a lot of code was rewrited, some bugs may have been introduced
2009-08-16 03:09:20 +00:00
Christophe Dumez
64806cb199 - Torrent is moved to temp dir on startup if it is supposed to be complete but data could not be found 2009-08-06 08:58:49 +00:00
Christophe Dumez
8e8e7cd3e7 - Fixed finished torrents returning to download dir on restart when temp dir feature is enabled 2009-08-06 08:48:04 +00:00
Christophe Dumez
ee6bc3c2e9 - FEATURE: Allow to set a different port for DHT (UDP) than the one used for
Bittorrent
2009-07-14 07:50:00 +00:00
Christophe Dumez
7b4b568859 - Display date as well as time in log window 2009-07-12 09:08:38 +00:00
Christophe Dumez
b7c7245fb5 - Display a ratio of 0.0 if total_upload and total_download are both 0 2009-07-12 08:21:06 +00:00
Christophe Dumez
0153b03160 BUGFIX: Stop enforcing UTF-8 and use system locale instead 2009-07-12 08:13:00 +00:00
Christophe Dumez
bca898d8b6 - torrents with an infinite ratio are no longer affected by ratio_limit set in program preferences 2009-07-12 07:23:11 +00:00
Christophe Dumez
65c4da6f0e - BUGFIX: Provide more helpful explanation when an I/O error occured 2009-04-17 20:04:09 +00:00
Christophe Dumez
7dfdebd593 - License fix due to problems with OpenSSL 2009-04-05 17:00:55 +00:00
Christophe Dumez
04cbd91f04 - Added some debug
- On torrent completion, save its fastresume data *AFTER* it was moved to final directory to avoid big problems (oops)
2009-03-30 22:01:33 +00:00
Christophe Dumez
714bf4f2ab - Removed some debug 2009-03-27 22:22:01 +00:00
Christophe Dumez
c2244f746e - Torrent downloading is now handled by search engine plugins to allow for more flexibility 2009-03-27 22:11:41 +00:00
Christophe Dumez
fe455970f1 - use std error output instead of debug output for file error message 2009-03-26 21:08:10 +00:00
Christophe Dumez
55743021e8 - Fixed bug in new temp dir feature
* Completed torrents were moved too
2009-03-17 17:38:41 +00:00
Christophe Dumez
f4502367f3 - Allow to define a temporary download folder 2009-03-08 16:26:02 +00:00
Christophe Dumez
4c6d6a35f3 - Optimized foreach loop 2009-01-24 19:20:09 +00:00
Christophe Dumez
da11488ba1 - Fixes for share ratio calculation 2009-01-23 19:26:22 +00:00
Christophe Dumez
ae81dbe088 - BUGFIX: Torrents paused due to an I/O error were displayed as queued 2009-01-15 15:54:03 +00:00
Christophe Dumez
03dc617874 - Updated some translations 2009-01-06 20:38:52 +00:00
Christophe Dumez
5509e94778 - Fixed pausing of queued torrents 2009-01-05 22:16:08 +00:00
Christophe Dumez
89330e11de - Priorities are now remembered across restart (bugfix) 2009-01-05 21:19:55 +00:00
Christophe Dumez
c016c4bf66 - Improved DHT code
- Remove outdated comment
2009-01-05 20:41:35 +00:00
Christophe Dumez
1efaea46e3 - Made sure that old fastresume is overwritten when saving new one 2009-01-04 15:37:13 +00:00
Christophe Dumez
2694a0947f - Fixed possible crash when pausing a torrent 2009-01-04 12:44:55 +00:00
Christophe Dumez
93bc6dca95 - A lot of improvement in proxy code 2009-01-03 22:49:21 +00:00
Christophe Dumez
f0ca99ed6c - Fixed default state for UPnP/nat-pmp/lsd (DHT was fixed in previous commit already) 2009-01-03 20:45:07 +00:00
Christophe Dumez
e443aa75b7 - Quick fix for #313549 2009-01-03 20:33:38 +00:00
Christophe Dumez
282d0a4af6 - Save fastresume fata when pausing torrents to speed up qBittorrent shutdown 2009-01-03 20:06:46 +00:00
Christophe Dumez
25adf6b061 - Added a workaround fix for a bug in libtorrent regarding set_priority_up() function 2009-01-03 19:47:03 +00:00
Christophe Dumez
727f59f73f - Fix compilation warning 2008-12-30 09:02:06 +00:00
Christophe Dumez
a0b4e54410 - Got rid of .paused files, useless with new libtorrent 2008-12-30 00:34:41 +00:00
Christophe Dumez
c97bce4d61 - Removed workaround for getting progress of paused torrents, apparently it works 2008-12-30 00:11:20 +00:00
Christophe Dumez
0ac2554060 - qBittorrent shutdown is now way faster 2008-12-29 21:22:26 +00:00
Christophe Dumez
1d31e049a4 - Fixed possible deadlock when saving fastresume data 2008-12-29 21:10:31 +00:00
Christophe Dumez
a848538d66 - Pause / resume in Web UI now updates the GUI
- Code cleanup
2008-12-29 18:36:54 +00:00
Christophe Dumez
87eee7029d - Force lists refresh before initially displaying the window to avoid lag
- Removed session tweaking on exit since it does not have any effect
2008-12-27 22:29:37 +00:00
Christophe Dumez
60889cac79 - Catch exceptions on torrent aditions to avoid crashing because of a bad torrent (that is correctly loaded by torrent_info for some reason) 2008-12-27 21:25:58 +00:00
Christophe Dumez
cd260198f9 - Fixed remembering of paused torrents cleanly 2008-12-27 17:05:26 +00:00
Christophe Dumez
71e3061c18 - Remember paused torrents on startup 2008-12-27 13:04:06 +00:00
Christophe Dumez
6369401150 - Fixed assert hit in new FSWatcher code 2008-12-27 12:12:13 +00:00
Christophe Dumez
81aac9ebcc - Fixed pause/resume actions in Web UI 2008-12-27 10:14:16 +00:00
Christophe Dumez
45efcfce13 - Save session data and fast resume data sooner on exit (in case) 2008-12-27 10:02:42 +00:00
Christophe Dumez
c38a8a2bec - Removed code that is no longer needed 2008-12-27 09:40:21 +00:00
Christophe Dumez
1225d16413 - Removed code that is no longer needed 2008-12-27 09:21:09 +00:00
Christophe Dumez
41c6a847b9 - some more signal / slot fixing 2008-12-26 22:11:40 +00:00
Christophe Dumez
941b8c8d2a - Fixed torrent completed message (was not displayed due to last commit) 2008-12-26 21:26:06 +00:00
Christophe Dumez
4f2a2dfab9 - Huge code refactoring (qBittorrent no longer store torrents and access them using libtorrent API) 2008-12-26 21:18:33 +00:00
Christophe Dumez
ce2294ee96 - Made session deletion a bit faster
- Fixed possible memory leak when folder scanning is enabled
2008-12-26 13:39:11 +00:00
Christophe Dumez
14646d0f9e Rewrote folder scanning code (Now uses a filesystem watcher) 2008-12-26 13:17:08 +00:00
Christophe Dumez
78409570a9 - Fixed crash when dht_state is missing 2008-12-15 17:28:05 +00:00
Christophe Dumez
3164337c3c - Some more cleanup 2008-11-04 19:14:51 +00:00