340 Commits

Author SHA1 Message Date
Andrew Resch
ae792ccb21 Split up function calls in get_torrent_status() and add 'file_progress'
key.  Patch from Sadrul.
2008-02-08 05:43:14 +00:00
Andrew Resch
6342fe2e08 Set file_priorities default value to [] if not priorities have been set. 2008-02-07 23:19:17 +00:00
Andrew Resch
055e42776a Fix last. 2008-02-07 22:55:04 +00:00
Andrew Resch
1f3452277a Add 'file_priorities' status key to torrent. 2008-02-07 22:53:51 +00:00
Andrew Resch
9a1d5e9bfa Allow incomplete options dictionaries when adding a torrent. The
missing keys will be replaced by defaults.
2008-02-07 07:20:17 +00:00
Andrew Resch
ea49afb9c3 Fix tracker scraping in tracker_reply_alert. 2008-02-03 16:28:06 +00:00
Andrew Resch
9469610aca Use new torrent states instead of using libtorrent's. 2008-02-02 01:30:18 +00:00
Marcos Pinto
f757593146 add dht nodes to status bar 2008-01-29 06:58:23 +00:00
Andrew Resch
d1677a855f Fix debug message. 2008-01-26 13:24:42 +00:00
Andrew Resch
a55dcc8099 Catch RuntimeErrors in load_torrent(). These are likely due to bad
torrent files.
2008-01-26 07:10:39 +00:00
Andrew Resch
c1710ca0f4 Add the ability to set file priorities for torrents in the core.
The Add Torrent dialog now sets proper file priorities based on user 
input.
2008-01-25 02:55:48 +00:00
Andrew Resch
468e51c72b Fix deregistering signal receivers in the core. 2008-01-24 01:31:48 +00:00
Andrew Resch
3a47731483 Default to Random Ports. 2008-01-22 03:57:46 +00:00
Marcos Pinto
6cb3b2b9e0 add move torrent 2008-01-21 22:38:58 +00:00
Andrew Resch
1a0718b4ac Update 'save_path' on storage_moved_alert. 2008-01-21 22:24:31 +00:00
Andrew Resch
80514ad829 Fix last commit.
Use 'config_value_changed' signal from core to get config value updates 
instead of polling every update for StatusBar and SystemTray.
2008-01-20 21:37:11 +00:00
Andrew Resch
d965adff82 Disconnect from Gnome session during shutdown. 2008-01-20 02:49:25 +00:00
Andrew Resch
5d1dbc98e5 Give the Queue plugin some love. 2008-01-20 02:37:26 +00:00
Andrew Resch
28a4883a72 Fix signals. 2008-01-20 01:00:39 +00:00
Andrew Resch
76a0eb12e8 Do not make Core a thread anymore as it is not needed. 2008-01-20 00:56:42 +00:00
Marcos Pinto
f042bf0dda use die in signal 2008-01-20 00:46:52 +00:00
Marcos Pinto
bf26a9ef50 import signal and fix shutdown call 2008-01-20 00:38:36 +00:00
Andrew Resch
1fa301cb69 Change client.py to use multicalls. This forces all client methods to
be async.
2008-01-19 22:33:30 +00:00
Andrew Resch
7e03f82d73 Import proper xmlrpclib. 2008-01-19 16:47:46 +00:00
Andrew Resch
eaddaaa844 Fix adding torrents by URL. 2008-01-14 08:46:44 +00:00
Andrew Resch
5c485afe5e Make new add torrent dialog actually work, but still needs work. 2008-01-07 02:18:40 +00:00
Andrew Resch
39e987d5da Improve get_torrent_status() speed by only building the files dictionary
when the Torrent object is created.
2008-01-02 11:54:42 +00:00
Andrew Resch
aa932b56a7 Fix crash when trying to add a bad .torrent. 2007-12-30 04:00:53 +00:00
Andrew Resch
e069542e3a Fix allocation modes. They were reversed. 2007-12-28 13:20:34 +00:00
Andrew Resch
c8508c8d15 Use an asynchronous batch torrent status method for updating the
torrentview list.
Other various minor stuff.
2007-12-28 05:29:54 +00:00
Andrew Resch
e2e3073f23 Fix last. 2007-12-27 10:56:18 +00:00
Andrew Resch
91c55522b8 Optimize torrent.get_status() a bit.
Emit signals with gobject.idle_add().
2007-12-27 10:54:05 +00:00
Andrew Resch
8271d70ec7 Plugin system changes in regards to enabling/disabling plugins. 2007-12-11 04:45:47 +00:00
Andrew Resch
f3cdfa8351 Fix Queue plugin loading when state file is wrong. 2007-12-11 01:35:36 +00:00
Andrew Resch
78b78ce8b3 Use deluge.component for core components. 2007-12-10 10:49:42 +00:00
Andrew Resch
589df97add Add ListView state saving.
Have TorrentView save and load state on startup/shutdown.
Add new method to components shutdown() which is called when the UI is 
exiting to allow components to clean-up.
Clean up some debug output.
2007-12-08 05:02:29 +00:00
Andrew Resch
e32f603103 UI tweaks. 2007-11-30 06:20:47 +00:00
Andrew Resch
aa019231ba Scrape tracker if we do not receive any peer information on announce.
Minor UI tweaks.
2007-11-29 07:09:18 +00:00
Andrew Resch
fcd70cbb44 Registering a signal receiver with the core is done with the clients ip
address.
Minor UI fix-ups.
Hook up autoadd folder options in Preferences.
2007-11-25 09:58:12 +00:00
Andrew Resch
2815d8f19f Add option to allow remote connections to daemon.
Add option to change daemon port.
Added 'Daemon' tab to Preferences dialog.
2007-11-24 03:21:37 +00:00
Andrew Resch
4ca1206b2c Add 'torrentfiles_location' configuration option. 2007-11-24 02:34:21 +00:00
Andrew Resch
ac08425ee3 Add remove torrent dialog. 2007-11-24 01:38:17 +00:00
Andrew Resch
ae4d85d5d8 Add LSD support.
Initial import of remove torrent dialog.
2007-11-23 08:52:00 +00:00
Andrew Resch
35fe99eee3 Updates to the QueuedTorrents dialog stuff.
Updates to StatusBar.
2007-11-17 11:36:29 +00:00
Andrew Resch
b871ae8152 Do not force_reannounce if 0 trackers. 2007-11-17 02:13:43 +00:00
Andrew Resch
6bced0fb8c EditTrackerDialog now works.
Save trackers in torrent state.
Load trackers on torrent add from state.
2007-11-12 13:28:56 +00:00
Marcos Pinto
cd0465a3a1 use lazy bitfield in 0.6 2007-11-10 22:18:02 +00:00
Andrew Resch
6da931e815 Do not show Torrent menu when not connected.
Fix force recheck.
2007-11-10 10:04:07 +00:00
Andrew Resch
5b5232eddf Fix adding torrents. 2007-11-10 06:28:09 +00:00
Andrew Resch
7d9a30a545 Updates to the Connection Manager.
Updates to TorrentManager.
2007-11-09 12:08:15 +00:00