From 191fd76b42d07ac3c5f8f60e086a209ec0a7d2e8 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Mon, 4 Sep 2006 17:17:45 +0000 Subject: [PATCH] made sequenced_download_threshold a per torrent setting. Updated the project page layout. Removed incorrect invariant checks in piece picker. --- ChangeLog | 7 +- docs/manual.html | 162 ++++++++++++----------- docs/manual.rst | 31 +++-- docs/projects.html | 4 +- docs/projects.rst | 164 ++++++++++++------------ examples/client_test.cpp | 3 +- include/libtorrent/piece_picker.hpp | 3 +- include/libtorrent/session_settings.hpp | 10 -- include/libtorrent/torrent.hpp | 2 + include/libtorrent/torrent_handle.hpp | 1 + src/piece_picker.cpp | 7 +- src/session.cpp | 12 -- src/torrent.cpp | 10 +- src/torrent_handle.cpp | 7 + 14 files changed, 220 insertions(+), 203 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2c26844fa..7efcb99ee 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,8 @@ + * modified the api slightly to make sequenced download threshold + a per torrent-setting. * changed the address type to support IPv6 - * fixed in piece picker which would assert when changing - sequenced download threshold on torrents with already - downloaded pieces. + * fixed bug in piece picker which would not behave as + expected with regard to sequenced download threshold. * fixed bug with file_progress() with files > 2 GB. * added --enable-examples option to configure script. * fixed problem with the resource distribution algorithm diff --git a/docs/manual.html b/docs/manual.html index 9e5c965d8..6bc94fd37 100755 --- a/docs/manual.html +++ b/docs/manual.html @@ -75,89 +75,90 @@
  • connect_peer()
  • set_ratio()
  • set_upload_limit() set_download_limit()
  • -
  • set_peer_upload_limit() set_peer_download_limit()
  • -
  • pause() resume() is_paused()
  • -
  • is_seed()
  • -
  • has_metadata()
  • -
  • set_tracker_login()
  • -
  • trackers() replace_trackers()
  • -
  • add_url_seed()
  • -
  • use_interface()
  • -
  • info_hash()
  • -
  • set_max_uploads() set_max_connections()
  • -
  • write_resume_data()
  • -
  • metadata()
  • -
  • status()
  • -
  • get_download_queue()
  • -
  • get_peer_info()
  • -
  • get_torrent_info()
  • -
  • is_valid()
  • +
  • set_sequenced_download_threshold()
  • +
  • set_peer_upload_limit() set_peer_download_limit()
  • +
  • pause() resume() is_paused()
  • +
  • is_seed()
  • +
  • has_metadata()
  • +
  • set_tracker_login()
  • +
  • trackers() replace_trackers()
  • +
  • add_url_seed()
  • +
  • use_interface()
  • +
  • info_hash()
  • +
  • set_max_uploads() set_max_connections()
  • +
  • write_resume_data()
  • +
  • metadata()
  • +
  • status()
  • +
  • get_download_queue()
  • +
  • get_peer_info()
  • +
  • get_torrent_info()
  • +
  • is_valid()
  • -
  • torrent_status
  • -
  • peer_info
  • -
  • session_settings
  • -
  • ip_filter