]>
granicus.if.org Git - transmission/log
Mitchell Livingston [Fri, 25 Feb 2011 00:06:16 +0000 (00:06 +0000)]
update jquery to 1.5.1
Mitchell Livingston [Thu, 24 Feb 2011 23:40:36 +0000 (23:40 +0000)]
change the default toolbar to separate the remove button and the pause/resume all button with a space instead of a separator
Jordan Lee [Thu, 24 Feb 2011 18:05:00 +0000 (18:05 +0000)]
(trunk qt) fix build issue reported by taem
Jordan Lee [Thu, 24 Feb 2011 14:35:45 +0000 (14:35 +0000)]
(trunk libT) #4035 "In seed state, transmission disconnect from leechers" -- fixed.
Jordan Lee [Thu, 24 Feb 2011 04:16:47 +0000 (04:16 +0000)]
(trunk libT) utils-test.c: remove some debugging stubs that should not have been checked in
Jordan Lee [Thu, 24 Feb 2011 04:14:12 +0000 (04:14 +0000)]
(trunk libT) make the tr_bitsetToBenc() and tr_bitsetFromBenc() functions follow bitset.c's variable naming convention of how the "this" pointer is named
Jordan Lee [Thu, 24 Feb 2011 01:50:35 +0000 (01:50 +0000)]
(trunk libT) if we're a partial seed and the peer has everything we have, disconnect.
Mitchell Livingston [Wed, 23 Feb 2011 22:52:44 +0000 (22:52 +0000)]
(trunk) small update to Russian translation
Jordan Lee [Wed, 23 Feb 2011 15:56:00 +0000 (15:56 +0000)]
(trunk qt) #4052 "Qt Client Kazakh translation" -- added. Translation by taem.
Jordan Lee [Wed, 23 Feb 2011 06:18:09 +0000 (06:18 +0000)]
(trunk libT) minor cleanup: improve the function names torrentConstructor() and torrentDestructor().
These functions actually allocate/free the memory where these objects reside, so it's clearer to name them torrentNew() and torrentDelete().
Jordan Lee [Wed, 23 Feb 2011 06:14:06 +0000 (06:14 +0000)]
(trunk libT) minor cleanup: improve the function names peerConstructor() and peerDestructor().
These functions actually allocate/free the memory where these peer objects reside, so it's clearer to name them peerNew() and peerDelete().
Jordan Lee [Wed, 23 Feb 2011 06:01:16 +0000 (06:01 +0000)]
(trunk libT) #4051 "Use composition for the tr_history fields in tr_peer" -- fixed.
If we use composition on these objects we can save a handful of pointers per peer. This isn't a big deal, but it's an easy/safe change to do.
Jordan Lee [Wed, 23 Feb 2011 03:54:04 +0000 (03:54 +0000)]
(trunk libT) #4048 "use bitsets instead of bitfield in tr_completion" -- done.
Excuse the sprawl. Much of this didn't fit into self-contained commits.
Jordan Lee [Wed, 23 Feb 2011 02:16:16 +0000 (02:16 +0000)]
(trunk qt) #4050 "transmission-qt translations don't load under Linux" -- fixed via patch from taem
Jordan Lee [Mon, 21 Feb 2011 15:43:41 +0000 (15:43 +0000)]
(trunk libT) remove unused code: tr_bitfieldIsEmpty()
Jordan Lee [Mon, 21 Feb 2011 15:36:07 +0000 (15:36 +0000)]
(trunk libT) remove unused functions: tr_bitsetDifference() tr_bitfieldDifference()
Mitchell Livingston [Mon, 21 Feb 2011 04:18:58 +0000 (04:18 +0000)]
slightly simplify filter code
Mitchell Livingston [Mon, 21 Feb 2011 01:42:17 +0000 (01:42 +0000)]
Mac build compiles with r12003
Jordan Lee [Mon, 21 Feb 2011 01:40:19 +0000 (01:40 +0000)]
(trunk libT) code cleanup: moving bitset functions to their own .c file.
Jordan Lee [Mon, 21 Feb 2011 01:15:13 +0000 (01:15 +0000)]
(trunk libT) remove dead code in peer-common.h: the tr_addreq_t enum
Jordan Lee [Mon, 21 Feb 2011 01:13:28 +0000 (01:13 +0000)]
(trunk libT) web.c: free the unprocessed tasks before exiting the libcurl thread.
This is rare but can happen during shutdown if there are unresponsive trackers. Cleaning up the tasks improves the S/N ratio in valgrind a bit.
Jordan Lee [Sun, 20 Feb 2011 19:12:45 +0000 (19:12 +0000)]
(trunk libT) ensure that the last few log messages actually get logged before shutdown finishes.
Mitchell Livingston [Sun, 20 Feb 2011 15:05:01 +0000 (15:05 +0000)]
silence a warning
Mitchell Livingston [Sun, 20 Feb 2011 04:34:46 +0000 (04:34 +0000)]
restore cmd-option-f to select the search filter field when the torrent table view is selected
Mitchell Livingston [Sun, 20 Feb 2011 04:23:09 +0000 (04:23 +0000)]
make sure filter buttons' tooltips are updated when the bar is shown
Mitchell Livingston [Sun, 20 Feb 2011 04:17:46 +0000 (04:17 +0000)]
replace renegade #include with #import
Mitchell Livingston [Sun, 20 Feb 2011 04:16:38 +0000 (04:16 +0000)]
localize the filter bar
Mitchell Livingston [Sun, 20 Feb 2011 04:11:58 +0000 (04:11 +0000)]
add missing xibs to makefile
Mitchell Livingston [Sun, 20 Feb 2011 03:58:50 +0000 (03:58 +0000)]
move the filter bar into its own xib
Mitchell Livingston [Sun, 20 Feb 2011 00:33:49 +0000 (00:33 +0000)]
change the status bar's left menu to be within the button (in the xib)
Mitchell Livingston [Sun, 20 Feb 2011 00:24:25 +0000 (00:24 +0000)]
remove unused variables
Mitchell Livingston [Sun, 20 Feb 2011 00:22:55 +0000 (00:22 +0000)]
move the status bar into its own xib file
Mitchell Livingston [Sat, 19 Feb 2011 21:38:38 +0000 (21:38 +0000)]
remove the status bar view's observer on dealloc
Mitchell Livingston [Sat, 19 Feb 2011 21:12:45 +0000 (21:12 +0000)]
when resizing the filter bar, use the filter bar width instead of the status bar width; silence a warning
Jordan Lee [Sat, 19 Feb 2011 20:10:05 +0000 (20:10 +0000)]
(trunk libT) mark the two "progress" args to tr_torrentSetLocation() as volatile.
Mitchell Livingston [Sat, 19 Feb 2011 19:30:24 +0000 (19:30 +0000)]
the check mark indicating completed peers in the inspector was being stretched because the x-coordinate wasn't being floor()ed
Jordan Lee [Sat, 19 Feb 2011 17:58:08 +0000 (17:58 +0000)]
(trunk) fix uTP FTBFS in Wheezy, patch by taem
Jordan Lee [Sat, 19 Feb 2011 17:52:02 +0000 (17:52 +0000)]
(trunk libutp) silence a couple of useless asserts.
From https://github.com/bittorrent/libutp/commit/
577e03dc3e14a68a0ecebc0e46b66dee77af3bfe
Jordan Lee [Sat, 19 Feb 2011 13:04:09 +0000 (13:04 +0000)]
(trunk gtk) #4040 "Show the torrent name in the Peers Tab's tooltips" -- done.
Jordan Lee [Sat, 19 Feb 2011 12:32:41 +0000 (12:32 +0000)]
(trunk libT) #3372 "What happened with closing idle peers?" -- fixed.
Jordan Lee [Sat, 19 Feb 2011 12:30:18 +0000 (12:30 +0000)]
(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.
Jordan Lee [Sat, 19 Feb 2011 12:24:00 +0000 (12:24 +0000)]
(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.
Jordan Lee [Sat, 19 Feb 2011 09:30:06 +0000 (09:30 +0000)]
(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. :)
Jordan Lee [Sat, 19 Feb 2011 09:02:39 +0000 (09:02 +0000)]
(trunk gtk) #4038 "Prefs dialog's blocklist section allows the 'update' button to be clicked when no blocklist is specified" -- fixed.
Mitchell Livingston [Sat, 19 Feb 2011 05:49:52 +0000 (05:49 +0000)]
don't make "No Torrents Selected" in the inspector selectable
Juliusz Chroboczek [Fri, 18 Feb 2011 22:22:02 +0000 (22:22 +0000)]
Don't display uTP checkbox in non-uTP builds (gtk).
Reported by Rolcol.
Juliusz Chroboczek [Fri, 18 Feb 2011 21:55:42 +0000 (21:55 +0000)]
Remove obsolete UNUSED marker.
Jordan Lee [Fri, 18 Feb 2011 19:31:18 +0000 (19:31 +0000)]
(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.
Jordan Lee [Fri, 18 Feb 2011 17:09:46 +0000 (17:09 +0000)]
remove a couple of #includes that we don't need anymore after the previous commit.
Jordan Lee [Fri, 18 Feb 2011 17:05:17 +0000 (17:05 +0000)]
(trunk daemon) simplify the code in the fallback implementation of daemon() for systems that don't have this function themselves.
Juliusz Chroboczek [Fri, 18 Feb 2011 16:01:52 +0000 (16:01 +0000)]
Stub out UTP_Create in non-uTP builds.
Mitchell Livingston [Fri, 18 Feb 2011 04:28:59 +0000 (04:28 +0000)]
display protocol information (TCP or µTP) in the peer table's tooltip
Jordan Lee [Fri, 18 Feb 2011 04:07:43 +0000 (04:07 +0000)]
(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
Mitchell Livingston [Fri, 18 Feb 2011 03:50:19 +0000 (03:50 +0000)]
move µTP pref to the Network tab
Mitchell Livingston [Fri, 18 Feb 2011 03:26:54 +0000 (03:26 +0000)]
add µTP to the Prefs window
Mitchell Livingston [Fri, 18 Feb 2011 01:40:13 +0000 (01:40 +0000)]
enable the utp flag when compiling on Mac in Release
Mitchell Livingston [Fri, 18 Feb 2011 01:37:57 +0000 (01:37 +0000)]
enable the utp flag when compiling on Mac
Mitchell Livingston [Fri, 18 Feb 2011 01:27:46 +0000 (01:27 +0000)]
Mac build compiles again
Jordan Lee [Fri, 18 Feb 2011 01:25:32 +0000 (01:25 +0000)]
(trunk libT) explicitly use the libevent2 header files, instead of the deprecated backwards-compatibility one
Jordan Lee [Fri, 18 Feb 2011 01:18:51 +0000 (01:18 +0000)]
(trunk libT) add stubs for UTP_Drained() and UTP_Write() to remove a few #ifdefs from peer-io.c
Jordan Lee [Fri, 18 Feb 2011 01:06:42 +0000 (01:06 +0000)]
(trunk libT) add a stub for UTP_Close() s.t. peer-mgr.c doesn't need the #ifdefs from r11960
Jordan Lee [Fri, 18 Feb 2011 00:45:44 +0000 (00:45 +0000)]
add configure script switch to enable/disable utp
Juliusz Chroboczek [Fri, 18 Feb 2011 00:43:56 +0000 (00:43 +0000)]
Resynchronise with libutp 2011-02-09 15:29:29.
Juliusz Chroboczek [Fri, 18 Feb 2011 00:43:54 +0000 (00:43 +0000)]
Reinstate a variable removed by r11810.
Juliusz Chroboczek [Fri, 18 Feb 2011 00:43:49 +0000 (00:43 +0000)]
Don't attempt uTP connexions to peers learned from PEX that didn't signal support.
Juliusz Chroboczek [Fri, 18 Feb 2011 00:43:47 +0000 (00:43 +0000)]
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.
Juliusz Chroboczek [Fri, 18 Feb 2011 00:43:45 +0000 (00:43 +0000)]
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.
Juliusz Chroboczek [Fri, 18 Feb 2011 00:43:43 +0000 (00:43 +0000)]
Don't mark atoms as non-uTP unless we failed to connect.
Juliusz Chroboczek [Fri, 18 Feb 2011 00:43:39 +0000 (00:43 +0000)]
Clear utp_failed flag upon seeing an announcement for ut_holepunch.
Juliusz Chroboczek [Fri, 18 Feb 2011 00:43:37 +0000 (00:43 +0000)]
Try uTP connections by default.
Juliusz Chroboczek [Fri, 18 Feb 2011 00:43:34 +0000 (00:43 +0000)]
When failing to connect over uTP, fall back to TCP.
Juliusz Chroboczek [Fri, 18 Feb 2011 00:43:31 +0000 (00:43 +0000)]
Implement atom->utp_failed and peerMgrSetUpFailed.
Juliusz Chroboczek [Fri, 18 Feb 2011 00:43:27 +0000 (00:43 +0000)]
When uTP is disabled, don't call UTP_CheckTimeouts too often.
Juliusz Chroboczek [Fri, 18 Feb 2011 00:43:24 +0000 (00:43 +0000)]
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.
Juliusz Chroboczek [Fri, 18 Feb 2011 00:43:21 +0000 (00:43 +0000)]
Fix typo.
Jordan Lee [Fri, 18 Feb 2011 00:41:32 +0000 (00:41 +0000)]
when sending PEX messages, unset the holepunch flag because we don't support holepunch.
Jordan Lee [Fri, 18 Feb 2011 00:41:06 +0000 (00:41 +0000)]
if we successfully finish a handshake using uTP, mark the peer as supporting uTP
Jordan Lee [Fri, 18 Feb 2011 00:40:53 +0000 (00:40 +0000)]
silence compiler warning
Jordan Lee [Fri, 18 Feb 2011 00:40:38 +0000 (00:40 +0000)]
call UTP_RBDrained when our read buffer is empty
Jordan Lee [Fri, 18 Feb 2011 00:40:22 +0000 (00:40 +0000)]
add dbgmsg statements to peer-io's uTP code
Jordan Lee [Fri, 18 Feb 2011 00:40:01 +0000 (00:40 +0000)]
uTP peers need tr_peerIoFlush() to work during the handshake phase.
Jordan Lee [Fri, 18 Feb 2011 00:39:33 +0000 (00:39 +0000)]
implement bandwidth limiting for uploads to uTP peers
Juliusz Chroboczek [Fri, 18 Feb 2011 00:36:36 +0000 (00:36 +0000)]
Remove more debugging messages.
Juliusz Chroboczek [Fri, 18 Feb 2011 00:36:33 +0000 (00:36 +0000)]
Call didWriteWrapper in utp_on_write.
Juliusz Chroboczek [Fri, 18 Feb 2011 00:36:31 +0000 (00:36 +0000)]
Don't propagate information about ut_holepunch over PEX.
It's not useful, says Greg.
Juliusz Chroboczek [Fri, 18 Feb 2011 00:36:27 +0000 (00:36 +0000)]
Don't use read_enabled in get_rb_size.
We're no longer maintaining read_enabled, as there are simpler ways of
doing the same. Additionally, we used RBDrained incorrectly.
Juliusz Chroboczek [Fri, 18 Feb 2011 00:36:24 +0000 (00:36 +0000)]
Revert "Maintain information about enabled/disabled I/O."
This reverts commit
604f8fd10db747e57d8710cc53326c0e114ad32c .
Juliusz Chroboczek [Fri, 18 Feb 2011 00:36:21 +0000 (00:36 +0000)]
Remove debugging messages.
Juliusz Chroboczek [Fri, 18 Feb 2011 00:36:19 +0000 (00:36 +0000)]
Implement outgoing uTP connections.
Juliusz Chroboczek [Fri, 18 Feb 2011 00:36:16 +0000 (00:36 +0000)]
Export uTP send_to callback.
Juliusz Chroboczek [Fri, 18 Feb 2011 00:36:12 +0000 (00:36 +0000)]
Fix peerIoReconnect for uTP sockets.
Juliusz Chroboczek [Fri, 18 Feb 2011 00:36:09 +0000 (00:36 +0000)]
Implement pacing of reads.
This should cause uTP sockets to respect read bandwidth limits. I'm not so
sure about the values we return for the read buffer size -- perhaps we
should allow some slack for network latency?
Juliusz Chroboczek [Fri, 18 Feb 2011 00:36:07 +0000 (00:36 +0000)]
Maintain information about enabled/disabled I/O.
Juliusz Chroboczek [Fri, 18 Feb 2011 00:36:05 +0000 (00:36 +0000)]
Set the read buffer of UTP sockets to a well-defined value.
Juliusz Chroboczek [Fri, 18 Feb 2011 00:36:02 +0000 (00:36 +0000)]
Compute accurate overhead for uTP packets.
Juliusz Chroboczek [Fri, 18 Feb 2011 00:35:56 +0000 (00:35 +0000)]
Push testig for UTP enabled further down.
There's no need to test for DHT/uTP being enabled in tr-udp. The DHT
will silently discard any packets directed at the wrong session (see the
beginning of dhtCallback). As to uTP, we need to grok uTP packets
to close any remaining connections after we disabled uTP, so it's better
to participate in uTP, just reject any incoming connections.
Juliusz Chroboczek [Fri, 18 Feb 2011 00:35:54 +0000 (00:35 +0000)]
Fix typo.
Jordan Lee [Fri, 18 Feb 2011 00:33:54 +0000 (00:33 +0000)]
make a note that we need to implement UTP_GetGlobalUTPBytesSent in libtransmission
Jordan Lee [Fri, 18 Feb 2011 00:33:29 +0000 (00:33 +0000)]
(trunk T) add preliminary enable/disable toggles in daemon, gtk, and qt clients. 'preliminary' because this may be widened to a tri-state of inabled, disabled, and incoming only
Jordan Lee [Fri, 18 Feb 2011 00:33:11 +0000 (00:33 +0000)]
(trunk libT) add C and RPC API for getting/setting uTP enabled flag