1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-29 02:56:11 +00:00
Commit graph

10375 commits

Author SHA1 Message Date
Mitchell Livingston
a41e93c506 change the status bar's left menu to be within the button (in the xib) 2011-02-20 00:33:49 +00:00
Mitchell Livingston
5c419c6256 remove unused variables 2011-02-20 00:24:25 +00:00
Mitchell Livingston
543063b4b8 move the status bar into its own xib file 2011-02-20 00:22:55 +00:00
Mitchell Livingston
bb00924a4c remove the status bar view's observer on dealloc 2011-02-19 21:38:38 +00:00
Mitchell Livingston
7cf8470ec7 when resizing the filter bar, use the filter bar width instead of the status bar width; silence a warning 2011-02-19 21:12:45 +00:00
Jordan Lee
e77a627d3c (trunk libT) mark the two "progress" args to tr_torrentSetLocation() as volatile. 2011-02-19 20:10:05 +00:00
Mitchell Livingston
33422cc9d5 the check mark indicating completed peers in the inspector was being stretched because the x-coordinate wasn't being floor()ed 2011-02-19 19:30:24 +00:00
Jordan Lee
bd5739fc54 (trunk) fix uTP FTBFS in Wheezy, patch by taem 2011-02-19 17:58:08 +00:00
Jordan Lee
4f5a8dbec3 (trunk libutp) silence a couple of useless asserts.
From 577e03dc3e
2011-02-19 17:52:02 +00:00
Jordan Lee
0a8535d9a5 (trunk gtk) #4040 "Show the torrent name in the Peers Tab's tooltips" -- done. 2011-02-19 13:04:09 +00:00
Jordan Lee
05ff024dd8 (trunk libT) #3372 "What happened with closing idle peers?" -- fixed. 2011-02-19 12:32:41 +00:00
Jordan Lee
7a8ab0ddbe (trunk libT) closeBadPeers() part 2 of 2: this function was serving two purposes, which wasn't clear from its name. refactor slightly to make the purpose and name match. 2011-02-19 12:30:18 +00:00
Jordan Lee
1592953439 (trunk libT) closeBadPeers() part 1 of 2: don't bother sorting these peers by activity -- we're closing -all- of them, so sorting them is pointless. 2011-02-19 12:24:00 +00:00
Jordan Lee
db8b83854e (trunk gtk) Don't display uTP checkbox in non-uTP builds.
Tweak to r11976 s.t. the "Edit GNOME Proxy Settings" button doesn't get grouped in the "Peer Limits" section when uTP is disabled. :)
2011-02-19 09:30:06 +00:00
Jordan Lee
88a61d3b62 (trunk gtk) #4038 "Prefs dialog's blocklist section allows the 'update' button to be clicked when no blocklist is specified" -- fixed. 2011-02-19 09:02:39 +00:00
Mitchell Livingston
a54c297e7b don't make "No Torrents Selected" in the inspector selectable 2011-02-19 05:49:52 +00:00
Juliusz Chroboczek
ee86584263 Don't display uTP checkbox in non-uTP builds (gtk).
Reported by Rolcol.
2011-02-18 22:22:02 +00:00
Juliusz Chroboczek
352981ee03 Remove obsolete UNUSED marker. 2011-02-18 21:55:42 +00:00
Jordan Lee
e2584b04ff (trunk libT) #4047 "timeChecked for the last piece is not saved to a resume file" -- fixed.
A garden variety off-by-one error. good patch by jusid and revision by me.
2011-02-18 19:31:18 +00:00
Jordan Lee
649a9b139d remove a couple of #includes that we don't need anymore after the previous commit. 2011-02-18 17:09:46 +00:00
Jordan Lee
f8b739f0f9 (trunk daemon) simplify the code in the fallback implementation of daemon() for systems that don't have this function themselves. 2011-02-18 17:05:17 +00:00
Juliusz Chroboczek
e7fc697c90 Stub out UTP_Create in non-uTP builds. 2011-02-18 16:01:52 +00:00
Mitchell Livingston
d7c1cf3b4b display protocol information (TCP or µTP) in the peer table's tooltip 2011-02-18 04:28:59 +00:00
Jordan Lee
80d06d4c34 (trunk libT) add a bool to tr_peer_stat and the RPC peer list to denote whether or not a peer's connected via µTP 2011-02-18 04:07:43 +00:00
Mitchell Livingston
224815b010 move µTP pref to the Network tab 2011-02-18 03:50:19 +00:00
Mitchell Livingston
23d175866c add µTP to the Prefs window 2011-02-18 03:26:54 +00:00
Mitchell Livingston
f69027249d enable the utp flag when compiling on Mac in Release 2011-02-18 01:40:13 +00:00
Mitchell Livingston
cbb0c2ad45 enable the utp flag when compiling on Mac 2011-02-18 01:37:57 +00:00
Mitchell Livingston
a75b15187a Mac build compiles again 2011-02-18 01:27:46 +00:00
Jordan Lee
b930026c40 (trunk libT) explicitly use the libevent2 header files, instead of the deprecated backwards-compatibility one 2011-02-18 01:25:32 +00:00
Jordan Lee
cba90ccace (trunk libT) add stubs for UTP_Drained() and UTP_Write() to remove a few #ifdefs from peer-io.c 2011-02-18 01:18:51 +00:00
Jordan Lee
8e87147c61 (trunk libT) add a stub for UTP_Close() s.t. peer-mgr.c doesn't need the #ifdefs from r11960 2011-02-18 01:06:42 +00:00
Jordan Lee
cd04051de8 add configure script switch to enable/disable utp 2011-02-18 00:45:44 +00:00
Juliusz Chroboczek
fb82ff08a4 Resynchronise with libutp 2011-02-09 15:29:29. 2011-02-18 00:43:56 +00:00
Juliusz Chroboczek
40463b9d0a Reinstate a variable removed by r11810. 2011-02-18 00:43:54 +00:00
Juliusz Chroboczek
828c9888b0 Don't attempt uTP connexions to peers learned from PEX that didn't signal support. 2011-02-18 00:43:49 +00:00
Juliusz Chroboczek
5af8e26251 Use large kernel buffers for the UDP socket when uTP is enabled.
Since we're using a single UDP socket to implement multiple uTP sockets,
and since we're not always timely in servicing an incoming UDP packet,
it's important to use a large receive buffer.  The send buffer is probably
less critical, we increase it nonetheless.
2011-02-18 00:43:47 +00:00
Juliusz Chroboczek
a348c5d421 Don't call tr_utpClose in toggle_utp.
The uTP timer needs to run even when uTP has been disabled, or else the
uTP sockets will never time out.
2011-02-18 00:43:45 +00:00
Juliusz Chroboczek
2729d3c291 Don't mark atoms as non-uTP unless we failed to connect. 2011-02-18 00:43:43 +00:00
Juliusz Chroboczek
55b050f18e Clear utp_failed flag upon seeing an announcement for ut_holepunch. 2011-02-18 00:43:39 +00:00
Juliusz Chroboczek
07addc7d0d Try uTP connections by default. 2011-02-18 00:43:37 +00:00
Juliusz Chroboczek
2ba3305412 When failing to connect over uTP, fall back to TCP. 2011-02-18 00:43:34 +00:00
Juliusz Chroboczek
704f984bdf Implement atom->utp_failed and peerMgrSetUpFailed. 2011-02-18 00:43:31 +00:00
Juliusz Chroboczek
5ba2e40f79 When uTP is disabled, don't call UTP_CheckTimeouts too often. 2011-02-18 00:43:27 +00:00
Juliusz Chroboczek
25b8d08537 When uTP is enabled, open uTP connections to some peers.
Since we don't implement falling back to TCP yet, we're very
conservative: we only use uTP when we have good reasons to believe
the peer speaks uTP.
2011-02-18 00:43:24 +00:00
Juliusz Chroboczek
cc96b12bbc Fix typo. 2011-02-18 00:43:21 +00:00
Jordan Lee
004d30337b when sending PEX messages, unset the holepunch flag because we don't support holepunch. 2011-02-18 00:41:32 +00:00
Jordan Lee
f00799f80c if we successfully finish a handshake using uTP, mark the peer as supporting uTP 2011-02-18 00:41:06 +00:00
Jordan Lee
75badcd4ab silence compiler warning 2011-02-18 00:40:53 +00:00
Jordan Lee
71486f8c86 call UTP_RBDrained when our read buffer is empty 2011-02-18 00:40:38 +00:00