152 Commits

Author SHA1 Message Date
Andrew Resch
d4d9cb8e75 Add OpenSSL exception to copyright headers 2009-04-06 20:24:02 +00:00
Andrew Resch
c2de5ed93f Make sure config files, resume data and state are fsync'd when saved. This should help prevent data
losses on crashes/improper shutdowns.
2009-03-08 20:27:58 +00:00
Andrew Resch
342063599f Only emit the TorrentFinished event when the torrent hasn't been previously finished.. e.g. after a force recheck 2009-02-28 22:07:49 +00:00
Andrew Resch
4baf7b167a Catch exception when removing a checking torrent 2009-02-28 21:05:49 +00:00
Andrew Resch
c6c861885e Do not attempt to pause/remove a checking torrent due to stop at share ratio rules 2009-02-28 21:01:28 +00:00
Andrew Resch
5414276a16 Fix displaying file errors when the torrent isn't paused 2009-02-27 21:38:30 +00:00
Andrew Resch
d4445adf20 Fix importing system libtorrent 2008-12-16 04:32:03 +00:00
Andrew Resch
55e694e80b Change libtorrent import behaviour to first try importing deluge.libtorrent and then libtorrent. It will now also raise an ImportError if libtorrent version is not 0.14. 2008-12-10 23:30:09 +00:00
Andrew Resch
253b8a857f Fix drag n' dropping in the files tab 2008-12-07 12:42:09 +00:00
Andrew Resch
4933618f50 Fix #47 the state and config files are no longer invalidated when there
is no diskspace
2008-11-28 23:36:18 +00:00
Andrew Resch
c6422b53df Rework the Remove Torrent Dialog and change client.remove_torrent() to
only having the option of removing data, not torrent file.  Deleting the 
torrent file was deleting the torrent file in the Copy Torrentfile 
folder and this is not desirable.
2008-11-26 09:11:18 +00:00
Andrew Resch
c6ddaeaac7 Remove OpenSSL exception from license headers 2008-11-23 04:58:01 +00:00
Andrew Resch
7813bd4098 Fix #475 catch unicode decoding errors 2008-11-16 08:29:31 +00:00
Andrew Resch
e5cbca13dc Fix #229 add 'date added' column, with patch from Lajnold 2008-11-02 04:41:55 +00:00
Andrew Resch
86d1624cff Deluge will now use a system libtorrent library if available. 2008-10-17 17:52:12 +00:00
Andrew Resch
793e138d11 Add folder_rename to the core 2008-10-15 23:59:07 +00:00
Andrew Resch
c668a59a82 Fix resume saving on shutdown 2008-09-30 23:30:26 +00:00
Andrew Resch
26b872dee9 Implement #368 add torrents by infohash/magnet uri (trackerless
torrents)
2008-09-30 19:07:10 +00:00
Andrew Resch
87f3e1e3b8 Initial support for renaming files
Save .torrent file for torrents added by infohash or magnet uri
2008-09-30 18:45:32 +00:00
Andrew Resch
e250b7aaf4 Fix display of tracker error messages 2008-09-29 23:11:17 +00:00
Andrew Resch
58bca167b3 Change torrent.OPTIONS to a new TorrentOptions object 2008-09-17 00:26:14 +00:00
Andrew Resch
42ca7b97bd Fix fastresume saving on shutdown 2008-09-15 17:06:36 +00:00
Andrew Resch
fa0d3b9bfc Only show the error when displaying the tracker_error 2008-09-14 20:31:21 +00:00
Andrew Resch
5e41c7ce78 Fix #475 the use of unicode paths when adding torrents 2008-09-14 20:08:19 +00:00
Andrew Resch
eec5005214 Fix moving on complete 2008-09-13 02:58:45 +00:00
Andrew Resch
3afb542f06 Switch to torrent_handle::save_resume_data which makes resume data
writing async
2008-09-11 09:20:29 +00:00
Andrew Resch
ccb53e48a9 Start work of magnet uri and trackerless torrent support 2008-09-09 14:06:05 +00:00
Andrew Resch
e614c2dc3b Fix last by just always deleting the fastresume file before writing a
new one
2008-09-06 22:24:35 +00:00
Marcos Pinto
deb00e332e fix problem with old fastresume files not being replaced causing loss of data and dont resave fastresume for seed files 2008-09-06 20:11:12 +00:00
Andrew Resch
0792ad21cd Fix paused torrents not being paused upon restart 2008-08-31 01:17:43 +00:00
Andrew Resch
ea16f2ca8f Fix a typo 2008-08-30 23:42:39 +00:00
Andrew Resch
ed59331c90 Implement #352 set_torrent_options method in core 2008-08-28 04:40:49 +00:00
Andrew Resch
ab4435ee29 Tracker errors now change the tracker status 2008-08-26 22:38:22 +00:00
Andrew Resch
231edf5931 Attempt to upgrade a 0.5.x state file to new format. 2008-08-21 20:43:01 +00:00
Andrew Resch
14a6efef2b Fix loading torrents from state when fastresume file is missing 2008-08-16 23:55:45 +00:00
Andrew Resch
19f9e26a4e Fix #362 use libtorrents session pause/resume instead of current
pause_all, resume_all
2008-08-14 06:48:20 +00:00
Andrew Resch
af1f2205bb Add per-torrent move on completed settings 2008-08-10 02:53:56 +00:00
Marcos Pinto
6fa31d1dc0 change copyright notices to gpl3 2008-08-08 05:59:07 +00:00
Andrew Resch
5f03ea785c Fix queue order shuffling on restart 2008-08-02 04:31:30 +00:00
Andrew Resch
189e01f424 Save resume data periodically 2008-08-02 03:12:15 +00:00
Andrew Resch
fefc78f468 Fix #358 properly emit torrent_removed signal to clients when torrent is
removed by queue system
2008-07-20 20:32:54 +00:00
Andrew Resch
29a8631b6f Do not try to pause a torrent that is already paused in the stop_ratio code 2008-07-19 02:11:28 +00:00
Andrew Resch
553ccd0a38 Fix #350 stop seeds when stop ratio is reached 2008-07-17 22:09:30 +00:00
Andrew Resch
1f97344b2f Fix showing 'Checking' state when doing a forced recheck 2008-07-11 07:30:33 +00:00
Andrew Resch
2423af8660 Set auto_managed to False when pausing and saving resume data on
shutdown.
2008-07-09 12:42:57 +00:00
Andrew Resch
a51638ed62 Fix alert handling to use message instead of msg 2008-07-09 09:59:33 +00:00
Andrew Resch
135a3d75f1 Emit 'torrent_status_changed' signal to the clients 2008-07-03 23:52:27 +00:00
Andrew Resch
4026ac0bf2 Add 'torrent_finished' signal 2008-07-01 22:03:18 +00:00
Andrew Resch
69e24fe673 lt sync 2486 2008-07-01 21:51:16 +00:00
Andrew Resch
67d156973c Fix issue where fastresume is not being saved properly on shutdown when
using compact allocation
2008-06-26 09:36:48 +00:00