46 Commits

Author SHA1 Message Date
Andrew Resch
9bb58d498c Remove some cruft. 2008-02-12 21:48:58 +00:00
Andrew Resch
4c2ec1b8fb Change torrent saving/loading to use torrent options and update the
state format to support new options.
Some minor modifications to CoreProxy in client -- only run the 
do_multicall timer when 'connected' to a core.
2008-02-12 21:29:39 +00:00
Andrew Resch
dfaf263d66 Fix preferences to actually set global per torrent download/upload
speeds.
Apply global per torrent download/upload speeds to all torrents on 
change.
2008-02-12 19:51:45 +00:00
Andrew Resch
9beda7c96e Return a full status, including functions, when len(keys) is 0. 2008-02-12 02:42:09 +00:00
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
9469610aca Use new torrent states instead of using libtorrent's. 2008-02-02 01:30:18 +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
1a0718b4ac Update 'save_path' on storage_moved_alert. 2008-01-21 22:24:31 +00:00
Andrew Resch
5d1dbc98e5 Give the Queue plugin some love. 2008-01-20 02:37:26 +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
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
e32f603103 UI tweaks. 2007-11-30 06:20:47 +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
Andrew Resch
ff1391b8bf Send all torrent status keys if keys is []. 2007-10-28 06:36:25 +00:00
Andrew Resch
ae81a28e6b Add 'files' key to torrent status. 2007-10-28 06:30:02 +00:00
Andrew Resch
5b7b027f48 Save the uploaded_total in torrent state. 2007-10-15 01:56:47 +00:00
Andrew Resch
33fd818933 Save and load total_uploaded from torrent state. 2007-10-07 01:53:03 +00:00
Andrew Resch
cc7d7e8c62 Show save_path in TorrentDetails. 2007-10-05 00:30:19 +00:00
Andrew Resch
17f62130fe Add 'save_path' to add_torrent().
Save the 'save_path' in the torrent state.
2007-10-04 22:21:47 +00:00
Andrew Resch
8e96afe626 Fix display of availability. 2007-10-04 01:21:39 +00:00
Andrew Resch
935aa72584 Add tracker responses to TorrentDetails. 2007-10-02 01:22:30 +00:00
Andrew Resch
9a66035f0d Add 'paused' to TorrentState.
Move some alert handlers around.
2007-10-01 22:29:05 +00:00
Andrew Resch
f2f73b8539 Fix exception when removing multiple torrents at once.
Updated TODO.
2007-09-30 05:33:53 +00:00
Andrew Resch
78244649b8 Add support for saving .fastresume files. They are not loaded on add
yet.
2007-09-26 01:16:14 +00:00
Andrew Resch
007f8c8dc3 Show paused state correctly in TorrentView. 2007-09-21 23:30:03 +00:00
Andrew Resch
f764448cad Store allocation type in the torrent state file and add the ability to
add a torrent with a different allocation type then what is set in the 
config.
2007-09-17 04:19:59 +00:00
Andrew Resch
be5855dcd6 Added TorrentDetails component to GtkUI, but it is currently not
optimized.
Added more status fields to Torrent.
2007-09-02 14:15:41 +00:00
Andrew Resch
6a525530ee Big code clean-up and some refactoring. Added docstrings but more are
needed.
2007-08-26 14:34:50 +00:00
Andrew Resch
5611037db2 Modified update() in TorrentView. It is now able to update only the
requested columns and only columns which are visible.
2007-08-22 06:23:16 +00:00
Andrew Resch
13fc181fa2 More work on the queue torrent plugin and plugins in general. 2007-08-10 08:15:02 +00:00
Andrew Resch
bcf70c3e0f get_torrent_status() now takes a list of keys and only returns the
values for those keys.
2007-07-28 18:48:32 +00:00
Andrew Resch
ac1bffb65f get_torrent_status() and get_torrent_info() now use pickled
dictionaries thus removing the need for the templates.
2007-07-25 05:07:43 +00:00
Andrew Resch
2eb455179b Updates 2007-07-25 00:43:37 +00:00
Andrew Resch
7c36587f23 Can now change queue order in the UI. 2007-07-24 07:19:38 +00:00
Andrew Resch
ca5297e20d Can now remove torrents.
Torrent view is now updating in timer.
2007-07-24 01:53:35 +00:00
Andrew Resch
c4e688b450 Added TorrentManager class for handling torrents.
Added get_torrent_state() in the core, but this will be changed.
2007-07-23 20:43:42 +00:00
Andrew Resch
5145dafeae Added torrent queueing in the core. 2007-07-23 04:42:26 +00:00
Andrew Resch
7ca17a3922 Changed the way adding torrents is done.
The core is now sent the torrent file data and saves it's own copy of 
the torrent file.
Start of receiving signals in the UI.
2007-07-22 03:01:38 +00:00
Andrew Resch
be081ae103 Can now add torrents from the UI.
Various other updates.
2007-07-21 00:50:13 +00:00
Andrew Resch
702967a2c6 Changed from 2 spaces ident to 4 2007-07-13 01:34:18 +00:00
Andrew Resch
bc39371af6 New directory structure 2007-07-12 20:02:34 +00:00