The client is now responsible for sending completed to tracker, fixes

the problem where doing hash checking of completed torrents would
cause wrong messages to be sent.

Added option to the client for opening a random port in the supplied
port range.

Cleaned up ui::Download and ui::DownloadList handling of throttle keys
and status bar.

Added 60s timeout for handshakes.

Added ignore key function to input::Bindings.

Made the time span of torrent::Rate configurable.

Seperate torrent::Rate object for quick and slow time span in
torrent::ThrottleControl. Also limited the amount the throttle could
over-allocate per tick, not completely fixed.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@480 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2005-06-28 20:57:01 +00:00
parent 2c5ce1989a
commit d04adf81ae
20 changed files with 195 additions and 132 deletions
-6
View File
@@ -39,7 +39,6 @@ namespace display {
class WindowInput;
class WindowLog;
class WindowLogComplete;
class WindowStatusbar;
class WindowTitle;
}
@@ -56,7 +55,6 @@ public:
typedef display::WindowInput WInput;
typedef display::WindowLog WLog;
typedef display::WindowLogComplete WLogComplete;
typedef display::WindowStatusbar WStatus;
typedef display::WindowTitle WTitle;
typedef utils::ListFocus<core::DownloadList> DList;
@@ -94,9 +92,6 @@ private:
void receive_next();
void receive_prev();
void receive_read_throttle(int t);
void receive_write_throttle(int t);
void receive_start_download();
void receive_stop_download();
@@ -122,7 +117,6 @@ private:
MItr m_window;
WTitle* m_windowTitle;
WStatus* m_windowStatus;
WLog* m_windowLog;
WInput* m_windowTextInput;
WHttp* m_windowHttpQueue;