Commit graph

319 commits

Author SHA1 Message Date
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
Christophe Dumez
9618056b4e - Added support for 2 new extensions (uTorrent metadata and smart ban plugin)
- Removed option to disable uTorrent Peer eXchange (PeX) -> always ON
2008-11-02 19:22:10 +00:00
Christophe Dumez
3282e1bcc9 - Save and load session state to remember it over different sessions 2008-11-02 13:19:27 +00:00
Christophe Dumez
e5b6a5605a - ETA calculation now relies on average speed over all sessions
- New ETA calculation system saves memory
- Updated Changelog
2008-11-02 13:07:38 +00:00
Christophe Dumez
9b67807926 - Queueing system should work fine now (port is complete, needs testing) 2008-11-02 11:43:20 +00:00
Christophe Dumez
f3729fbae6 - Use libtorrent queueing system (probably buggy and queueing currently does not work for seeds) 2008-11-02 10:47:59 +00:00
Christophe Dumez
0538c9c3e8 - Removed some debug 2008-11-02 09:30:35 +00:00
Christophe Dumez
53a0e85b8d - Do not save fastresume data for checking torrents 2008-11-02 00:04:38 +00:00
Christophe Dumez
453dd93abf - Should fix fastresume data code 2008-11-01 23:58:53 +00:00
Christophe Dumez
82706141cf Ratio calculation improvement: make usage of new all_time_upload and all_time_download variables in torrent_status. 2008-11-01 22:07:14 +00:00
Christophe Dumez
764b4e72ca - rough port to libtorrent v0.14.0. This is probably buggy but it compiles without warnings 2008-11-01 21:42:56 +00:00
Christophe Dumez
96c38f7be4 - Updated Russian translation
- Progress column is now correctly sorted on startup (closes #133925 again)
2008-10-06 18:34:47 +00:00
Christophe Dumez
cf2abe45de - AddinPause feature no longer applies to resumed torrents on startup
(closes #278827)
2008-10-06 12:21:34 +00:00
Christophe Dumez
697c275d83 - Fixed torrent queueing system (finally) 2008-10-04 15:21:52 +00:00
Christophe Dumez
276dfd9df6 BUGFIX: Torrents are no longer starting from scratch when changing default save path (when torrent addition dialog is disabled) 2008-10-04 14:01:55 +00:00
Christophe Dumez
a1b133d883 - Fixed progress for unchecked paused torrents 2008-09-30 18:37:05 +00:00
Christophe Dumez
8e074a571a - Fixed queueing priorities loading on startup 2008-09-28 17:58:12 +00:00
Christophe Dumez
0879f2c0ca - Totally rewritten Web UI list refresh system (fixed memory leak) 2008-09-28 11:30:24 +00:00
Christophe Dumez
b1c73cb401 - Split download and upload lists in Web UI 2008-09-27 19:55:56 +00:00
Christophe Dumez
86024c6c74 - merge from stable branches (WebUI fixes) 2008-09-14 10:14:54 +00:00
Christophe Dumez
95ecaec11e - Sync with stable branch (lot of bug fixing) 2008-09-13 18:53:58 +00:00
Christophe Dumez
43dcbf776b Use QPointer when interesting 2008-09-13 07:33:41 +00:00
Christophe Dumez
f0049f1dae - Removed logging panel for now. It will be replaced by a seperate dialog in order to simplify the default UI. 2008-09-07 11:31:29 +00:00
Christophe Dumez
5cce0c53bf - Fixed a comment
- Added chinese traditional translation to stable branch
- bump to v1.1.3 in stable branch (updated splash screen)
- Updated changelogs
2008-08-26 07:14:38 +00:00
Christophe Dumez
681b8c14ad - Fixed ratio saving for seeding torrents 2008-08-26 06:39:57 +00:00
Christophe Dumez
71a81fd1b7 - Queueing system fixes 2008-08-19 00:28:44 +00:00
Christophe Dumez
ff26ea94f5 - Queued torrents are now identified in Web UI
- Improved transfer list update for queued torrents
- Allow to show/hide top toolbar
- top toolbar is now hidden as a default
- Connection status is now displayed in status bar (bottom)
- Removed "Disconnected" connection status (bad detection)
- Added increase/decrease priority actions to Edit menu
- Added keyboard shortcuts for increase/decrease priority actions
2008-08-08 13:17:26 +00:00
Christophe Dumez
e27b08d970 - Update queue when pausing a torrent 2008-08-02 19:49:37 +00:00
Christophe Dumez
48ec57604f - A queueing system ASSERT hit fix 2008-08-02 19:46:02 +00:00
Christophe Dumez
bb959ba465 BUGFIX: Disable ETA calculation when ETA column is hidden 2008-07-27 15:41:46 +00:00
Christophe Dumez
4fe7fd537d - a lot of fixes concerning the new queueing system 2008-07-17 21:12:10 +00:00
Christophe Dumez
88ea548eaf - Fix crash when pausing a torrent if queueing system is disabled 2008-07-16 22:09:01 +00:00
Christophe Dumez
360c8500bb - Unqueue torrents before disabling queueing system 2008-07-16 22:06:37 +00:00
Christophe Dumez
15ce9a7369 - Queueing systems now updates the number of active torrents in tab titles 2008-07-15 20:19:41 +00:00
Christophe Dumez
4b8532ea2d - Bug fix in session configuring (queueing) 2008-07-15 18:34:28 +00:00
Christophe Dumez
4be0cbd2e4 - Removed some debug
- Bug fix when applying preferences (queueing)
2008-07-15 18:18:59 +00:00
Christophe Dumez
1acd05794a - Another bug fix for upload queueing 2008-07-15 18:10:10 +00:00
Christophe Dumez
b6b74752a5 - Queueing bug fix 2008-07-14 22:15:25 +00:00
Christophe Dumez
20ae3d997c - extending Queueing system to seeding list (unfinished) 2008-07-14 22:01:05 +00:00
Christophe Dumez
b73d0548c8 - Download queueing fix 2008-07-14 20:08:24 +00:00
Christophe Dumez
ca118697e9 - Added priority buttons 2008-07-14 20:01:21 +00:00
Christophe Dumez
d29cc3325b - Started to work on queueuing 2008-07-14 19:20:18 +00:00
Christophe Dumez
8bc470e427 - Spoof latest Azureus version instead of Vuze 2008-07-09 22:42:04 +00:00
Christophe Dumez
8e5190ffc8 - Spoof latest Azureus/Vuze version (3.1.1.0) 2008-07-09 22:36:12 +00:00
Christophe Dumez
516f4dad48 - Added some debug
- Fix from #178167 for tree view resizing
2008-05-18 12:01:42 +00:00
Christophe Dumez
56d80118b7 - Can spoof Azureus peer id and user agent to avoid ban 2008-05-18 09:50:35 +00:00
Christophe Dumez
711699e200 - COSMETIC: Display "unpaused/total_torrent" in download/upload tabs 2008-05-18 09:26:02 +00:00
Christophe Dumez
fc931d8c88 - FEATURE: Allow to customize folder scan interval 2008-05-18 08:40:39 +00:00
Christophe Dumez
7463552dcd - BUGFIX: Threadified IP filter file parser to avoid GUI freeze 2008-05-17 20:32:03 +00:00
Christophe Dumez
4dece85483 - Fixed default tab in torrent properties window 2008-05-16 22:27:36 +00:00
Christophe Dumez
5af8bddc16 - Web interface by Ishan Arora 2008-05-16 07:10:50 +00:00
Christophe Dumez
0dd84c37a1 - Commit some tracker changes. Work is not completed and this is probably buggy. I will complete this later. 2008-05-15 19:48:15 +00:00
Christophe Dumez
9172985173 - Force trackers reannounce after loading them from HD 2008-04-13 14:15:19 +00:00
Christophe Dumez
07c195f475 - Catch more exceptions when adding a torrent 2008-01-04 20:43:28 +00:00
Christophe Dumez
8d1f1512b0 - Fixed UPnP messages 2008-01-03 16:17:01 +00:00
Christophe Dumez
c6abdacadd - Threadified torrent creation
- Added a progress bar in torrent creation
- Display if UPnP/NAT-PMP was successful or not
2007-12-31 16:57:35 +00:00
Christophe Dumez
1e1313dffc - Fixed torrent creation from a folder
- Fixed start seeding directly after torrent creation
2007-12-30 18:06:51 +00:00
Christophe Dumez
aada4f3c03 - Forgot to remove temporary download file when addition failed 2007-12-11 20:00:43 +00:00
Christophe Dumez
f7fa66c65d - Improved a lot ETA calculation algorithm 2007-11-24 21:55:19 +00:00
Christophe Dumez
31679f0d6d Tagged rc9 release 2007-11-24 12:11:12 +00:00
Christophe Dumez
64bfdf930c - Fixed not destructing libtorrent session bug 2007-11-23 15:20:26 +00:00
Christophe Dumez
def19ef88b - Added h.is_valid check 2007-11-22 21:53:42 +00:00
Christophe Dumez
4f989b674f - Do not save fastresume data for paused torrents anymore 2007-11-22 21:50:22 +00:00
Christophe Dumez
7982011d0b - Do not save fastresume data regularly for seeding torrents 2007-11-21 20:33:30 +00:00
Christophe Dumez
f75501f781 - Fixed overflow handling in ETA calculation 2007-11-21 18:59:49 +00:00
Christophe Dumez
70f8a00c20 - Save fastresume data every minute instead of every 10 sec 2007-11-21 16:50:26 +00:00
Christophe Dumez
c8b944508b - Saving trackers file only when necessary
- Avoid code duplication for showProperties()
2007-11-19 21:10:57 +00:00
Christophe Dumez
f3f3f2822b - Do not save fastresume data for checking torrents anymore 2007-11-19 20:43:54 +00:00
Christophe Dumez
3ef0c82a8c - Do no pause torrents before saving fastresume data anymore (no longer needed)
- Save fast resume data regularly (every 10 seconds) to avoid downloading from s
cratch when qBittorrent restart
2007-11-19 20:33:31 +00:00
Christophe Dumez
82e548a2fd - Fixed a bug in torrent files filtering (closes #158846) 2007-11-06 20:55:23 +00:00
Christophe Dumez
5bbdb9e119 - Renabled debug
- Bumped to v1.1.0alpha1
2007-11-06 17:40:44 +00:00
Christophe Dumez
f836be6736 - BUGFIX: Don't reload seeding torrents anymore (no point) 2007-11-03 00:19:24 +00:00
Christophe Dumez
052ccf2302 - BUGFIX: Don't reload all torrents everytime settings are saved 2007-11-02 22:56:07 +00:00
Christophe Dumez
8ea34135e4 - BUGFIX: Catching DHT exception in case there is a problem 2007-10-27 20:53:09 +00:00
Christophe Dumez
a5f6663e65 - BUGFIX: Fixed deletion of subfolders when deleting torrents from hard drive 2007-10-19 16:00:42 +00:00
Christophe Dumez
1519bca46d - Fixed folder progress calculation in torrent properties (closes #154387) 2007-10-19 15:51:13 +00:00
Christophe Dumez
96a6f450d0 - Make use of this: added option to delete files from disk as a torrent is removed (libtorrent) 2007-10-13 08:54:46 +00:00
Christophe Dumez
6ed565a06b - COSMETIC: Improved progress bar text rendering 2007-10-13 08:32:31 +00:00
Christophe Dumez
bfab6389b5 - Commented fast resume rejected alert until #182 is fixed in libtorrent 2007-10-12 11:54:29 +00:00
Christophe Dumez
48f5436f6f - Improved ETA calculation code a little and fixed a little typo in the code
- Updated TODO (waiting for a bug fix in libtorrent)
2007-10-10 20:29:07 +00:00
Christophe Dumez
f754e34e35 - BUGFIX: Fixed possible overflow in ETA calculation 2007-10-10 19:57:24 +00:00
Christophe Dumez
0245bbf5ab - BUGFIX: Fixed an ETA calculation problem when the torrent has filtered files 2007-10-10 19:10:34 +00:00
Christophe Dumez
0a0c1f3529 - BUGFIX: AddInPause setting doesn't pause downloads on startup anymore (real fix this time...) 2007-10-10 17:54:09 +00:00
Christophe Dumez
a26333bc65 - BUGFIX: Now filtered don't appear on hard drive anymore (libtorrent >= r1659 REQUIRED)
- BUGFIX: AddInPause setting doesn't pause downloads on startup anymore
2007-10-10 17:34:52 +00:00
Christophe Dumez
4f25e6c769 - Another attempt to fix compilation on FreeBSD
- Fixed IP Filter preferences (closes #147532)
2007-10-01 09:47:00 +00:00
Christophe Dumez
f9998957cd - attempt to fix compilation on FreeBSD 2007-09-29 08:00:14 +00:00
Christophe Dumez
c0ffb8fa5c - BUGFIX: Fixed overflow in ratio 2007-09-21 07:45:28 +00:00
Christophe Dumez
da244d7ef2 - Added more debug when we get a file_error 2007-09-18 22:41:23 +00:00
Christophe Dumez
9062266a84 - Fixed a ratio assert in libtorrent because we sent it -1 for unlimited instead of 0 2007-09-16 14:16:42 +00:00
Christophe Dumez
3cb34ed7ee - Fixed an overflow that could cause ETA to become negative sometimes (hitted an assert) 2007-09-16 12:30:41 +00:00
Christophe Dumez
c478ba59ac - new torrent content selection (as a tree). Merge from the new-torrent-selection branch 2007-09-16 09:19:22 +00:00
Christophe Dumez
fe7c0db425 - remove ratio should be applied to finished torrent only (and disabled as a default!) - FIXED 2007-09-13 19:50:14 +00:00
Christophe Dumez
47c1908519 - Added some more debug 2007-09-09 09:20:01 +00:00
Christophe Dumez
e1ead940be - Added some more debug 2007-09-09 09:15:29 +00:00
Christophe Dumez
862d24ac48 - FEATURE: Added an option to automatically delete torrents when they reach a given ratio (>= 1.0) 2007-09-09 09:09:24 +00:00
Christophe Dumez
078c80c81d - FEATURE: Added an option to set the max number of connections per torrent
- FEATURE: Added an option to set the max number of uploads per torrent
2007-09-09 07:44:22 +00:00
Christophe Dumez
cd70843ee9 - Totally redesigned program preferences
- Added some options, the following are already implemented:
  * Start/Stop LSD/NAT-PMP/UPnP
	* Force preallocation of all files
	* Force new torrents status to pause
- Other new features are going to be implemented soon
2007-09-08 17:07:29 +00:00
Christophe Dumez
9f36d521a4 - BUGFIX: Fixed deprecation warning with latest libtorrent svn
- FEATURE: Redesigned torrent creation dialog
- FEATURE: Allow to set piece size when creating a torrent
- improved new options dialog a little
2007-09-04 04:18:51 +00:00
Christophe Dumez
b582ec9480 - BUGFIX: Do not store and calculate ETA values for paused torrents 2007-08-29 16:23:37 +00:00
Christophe Dumez
b5ccf05541 - BUGFIX: Do not store and calculate ETA values for finished torrents 2007-08-29 16:15:11 +00:00
Christophe Dumez
b3c5e6cfa2 - Store less ETA values for each torrent in order to save memory 2007-08-29 16:11:24 +00:00
Christophe Dumez
229927bbe9 - BUGFIX: Fixed file preview and improved previewable files detection 2007-08-29 16:07:37 +00:00
Christophe Dumez
495d6f2bab - Save less trackers errors to save memory 2007-08-29 15:13:20 +00:00
Christophe Dumez
73c247fe10 BUGFIX: Fixed pause state toggle for paused and checking torrents 2007-08-29 15:04:30 +00:00
Christophe Dumez
bd84cb197f - little optimization for torrentstopauseafterchecking 2007-08-29 15:00:31 +00:00
Christophe Dumez
57309c7d82 - Do not save paused torrents in a list anymore to save some memory 2007-08-29 14:54:03 +00:00
Christophe Dumez
27e76962d1 - Found a way not to use FullAllocationMode list in order to save memory in cpu 2007-08-29 14:30:30 +00:00
Christophe Dumez
057029787a - Added some asserts to check for overflows
- Removed a useless functions (was used for debug)
- Fixed 2 warnings in createTorrent.ui
- Improved CXX_FLAGS in src.pro
2007-08-29 06:33:27 +00:00
Christophe Dumez
cdfaed4fb4 BUGFIX: ETA was wrong for torrents with filtered files 2007-08-28 18:49:45 +00:00
Christophe Dumez
21908e0a03 - Optimized function that transform a number of seconds to a duration(days, hours, minutes, secs)
- Improved ETA calculation to avoid overflows (Added asserts to make sure it doesn't happen)
2007-08-28 18:44:54 +00:00
Christophe Dumez
01df4d3c81 - Use int instead of short where possible 2007-08-28 16:55:14 +00:00
Christophe Dumez
6ecb45d661 - Code optimization using initialization lists
- Removed Traditional Chinese translation because we lost our translator and translation is outdated
2007-08-28 16:17:32 +00:00
Christophe Dumez
8f7de730cc - Added some more torrent_handle checking to be sure we don't use invalid ones 2007-08-27 09:24:22 +00:00
Christophe Dumez
fd2ee35e92 - Do not save torrent related info in class destruction, this is too dangerous 2007-08-26 19:58:41 +00:00
Christophe Dumez
1bfc181cb2 - Better handing of .finished files (bittorrent class level instead of GUI level) 2007-08-26 19:17:50 +00:00
Christophe Dumez
28294efadf - Check if the hash read from the filename and from the torrent are the same and don't add it if it is different. Safer 2007-08-26 18:50:51 +00:00
Christophe Dumez
829c358f10 - fixed some bugs introduced recently
- improved debug output
2007-08-26 18:41:45 +00:00
Christophe Dumez
35a9fab3b4 - Check if priorities file exists before trying to read it to avoid a warning message 2007-08-26 17:48:38 +00:00
Christophe Dumez
32c330092a - Merged splitGUI branch, GUI and download tab are now splitted. Code is a lot cleaner and easier to understand. I also fixed some bugs I found on the way :) 2007-08-26 16:25:22 +00:00
Christophe Dumez
e82cb2188e - Made torrent deletion from hard-drive safer 2007-08-23 14:04:53 +00:00
Christophe Dumez
cfacac7dbf - Add torrents in pause before applying settings to avoid race conditions
- Started to work on a new function to delete torrents permanently that is safer. Not used yet because it is buggy : it works only for simple cases and I'm not sure I can do better right now with the info libtorrent is providing.
2007-08-22 18:26:00 +00:00
Christophe Dumez
d8dd509a7b - Updated Russian translation 2007-08-21 07:17:13 +00:00
Christophe Dumez
c9925eddb6 - Big code cleanup
- Added a Qwrapper for torrent_handle to make code more readable
2007-08-20 06:29:18 +00:00
Christophe Dumez
5231f5a22b - Rewrote a lot of code concerning finishedTorrents code. It was optimized and should be safer too 2007-08-19 14:20:54 +00:00
Christophe Dumez
04352cce3c - Fixed bad assert
- Little checking before saving url seeds list
- Little optimization to make fastresume data saving faster
2007-08-19 08:45:24 +00:00
Christophe Dumez
b2867e97bf - Updated spanish translation 2007-08-18 05:55:09 +00:00
Christophe Dumez
b4fbaaa47c BUGFIX: Improved incremental download 2007-08-17 02:22:04 +00:00
Christophe Dumez
13f21ef6cd - Make use of new torrent_checked_alert that was just included in libtorrent. This allowed to improve torrent that just finished checking handling and progress column sorting. Also allowed to optimize cpu/memory usage a little. 2007-08-17 02:03:13 +00:00
Christophe Dumez
36e87952fa - BUGFIX: Wait for torrent_paused_alert before reloading a torrent for full allocation mode 2007-08-15 19:41:12 +00:00
Christophe Dumez
12fd87ab85 - Removed some debug (didn't mean to commit that) 2007-08-11 14:54:24 +00:00
Christophe Dumez
31abae33a1 - Improved the way menu icons are installed to avoid problems on some systems (Thanks JanCR for reporting this)
- Fixed version in desktop file
2007-08-11 14:47:52 +00:00
Christophe Dumez
aa4c53ec43 - Fixed assert so that it doesn't crash when we toggle paused state of a torrent several times and quickly 2007-08-09 05:10:39 +00:00
Christophe Dumez
44d61e0b9d - Fixed overflow that caused ratio to become negative
- Added some more asserts so that it doesn't happen again
- Fixed waiting for paused_alert on exit in the case where a torrent was paused then resumed before we received torrent_paused_alert
2007-08-09 05:03:06 +00:00
Christophe Dumez
320c125d17 - Added some more debug 2007-08-08 07:35:57 +00:00