From 7e77635353a6c00bba7209cac84c32d0349b450b Mon Sep 17 00:00:00 2001 From: rakshasa Date: Mon, 20 Jun 2005 19:14:41 +0000 Subject: [PATCH] * Added slot map's for insert/erase, open/close, start/stop and finished downloads in DownloadList, moved stuff from core::Manager to the slot maps. * Added check hash key ^r, though triggering check hash on finished signals currently borks. * Made tracker dump into an option. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@470 e378c898-3ddf-0310-93e7-cc216c733640 --- README | 6 +- doc/rtorrent.rc | 7 ++ src/core/download.h | 2 + src/core/download_list.cc | 12 +++- src/core/download_list.h | 34 ++++++++- src/core/download_slot_map.h | 4 +- src/core/hash_queue.h | 26 +++---- src/core/manager.cc | 130 +++++++++++++++++++---------------- src/core/manager.h | 12 +--- src/main.cc | 41 ++++++++--- src/option_file.cc | 2 - src/option_handler_rules.cc | 12 ++++ src/option_handler_rules.h | 93 +++++++++++++------------ src/ui/download_list.cc | 9 +++ src/ui/download_list.h | 2 + src/utils/timer.h | 2 + 16 files changed, 243 insertions(+), 151 deletions(-) diff --git a/README b/README index 9a1940b5..8711a3c5 100644 --- a/README +++ b/README @@ -44,8 +44,10 @@ In main window: Right - View torrent - Ctrl-S - Start torrent - Ctrl-D - Stop/delete torrent + ^s - Start torrent + ^d - Stop/delete torrent + + ^r - Manually start a hash check of the torrent In torrent view: diff --git a/doc/rtorrent.rc b/doc/rtorrent.rc index 2fc5182d..f420181b 100644 --- a/doc/rtorrent.rc +++ b/doc/rtorrent.rc @@ -30,6 +30,10 @@ # Port range to use for listening. #port = 6890-6999 +# +# Do not modify the following parameters unless you know what you're doing. +# + # Hash read-ahead controls how many MB to request the kernel to read # ahead. If the value is too low the disk may not be fully utilized, # while if too high the kernel might not be able to keep the read @@ -38,3 +42,6 @@ # Max number of files to keep open simultaniously. #max_open_files = 100 + +# Dump data received from trackers to the files "./tracker_dump.