mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-14 14:12:31 +00:00
* Added "key_layout" option with support for azerty.
* Delayed the hash done signal. * Allow quick hash checks that only handles invalid chunks. * Show failed counter for peers. * Updated the man page. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@737 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -52,7 +52,7 @@ struct client_info_equal {
|
||||
bool operator () (const ClientInfo::value_type& v) const {
|
||||
for (ClientInfo::size_type i = 0; i < m_size; ++i)
|
||||
if (v.first[i] != m_key[i])
|
||||
return false;
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
@@ -65,16 +65,18 @@ ClientInfo::ClientInfo() {
|
||||
m_containers[TYPE_AZUREUS].reserve(30);
|
||||
|
||||
insert(TYPE_AZUREUS, "AZ", "Azureus");
|
||||
insert(TYPE_AZUREUS, "BB", "BitBuddy");
|
||||
insert(TYPE_AZUREUS, "BC", "BitComet");
|
||||
insert(TYPE_AZUREUS, "UT", "uTorrent");
|
||||
insert(TYPE_AZUREUS, "lt", "libTorrent");
|
||||
insert(TYPE_AZUREUS, "BB", "BitBuddy");
|
||||
insert(TYPE_AZUREUS, "CT", "CTorrent");
|
||||
insert(TYPE_AZUREUS, "MT", "MoonlightTorrent");
|
||||
insert(TYPE_AZUREUS, "LT", "libtorrent");
|
||||
insert(TYPE_AZUREUS, "KT", "KTorrent");
|
||||
insert(TYPE_AZUREUS, "BX", "Bittorrent X");
|
||||
insert(TYPE_AZUREUS, "TS", "Torrentstorm");
|
||||
insert(TYPE_AZUREUS, "TN", "TorrentDotNET");
|
||||
insert(TYPE_AZUREUS, "TR", "Transmission");
|
||||
insert(TYPE_AZUREUS, "SS", "SwarmScope");
|
||||
insert(TYPE_AZUREUS, "XT", "XanTorrent");
|
||||
insert(TYPE_AZUREUS, "BS", "BTSlave");
|
||||
|
||||
@@ -74,7 +74,8 @@ WindowPeerList::redraw() {
|
||||
m_canvas->print(x, y, "QS"); x += 6;
|
||||
m_canvas->print(x, y, "DONE"); x += 6;
|
||||
m_canvas->print(x, y, "REQ"); x += 6;
|
||||
m_canvas->print(x, y, "SNUB");
|
||||
m_canvas->print(x, y, "SNUB"); x += 6;
|
||||
m_canvas->print(x, y, "FAILED");
|
||||
|
||||
++y;
|
||||
|
||||
@@ -129,7 +130,12 @@ WindowPeerList::redraw() {
|
||||
if (p.is_snubbed())
|
||||
m_canvas->print(x, y, "*");
|
||||
|
||||
x += 5;
|
||||
x += 6;
|
||||
|
||||
if (p.failed_counter() != 0)
|
||||
m_canvas->print(x, y, "%u", p.failed_counter());
|
||||
|
||||
x += 7;
|
||||
|
||||
char buf[128];
|
||||
control->client_info()->print(buf, buf + 128, p.id().c_str());
|
||||
|
||||
Reference in New Issue
Block a user