Commit Graph

10299 Commits

Author SHA1 Message Date
Jordan Lee 25366156b1 (trunk libT) make the tr_bitsetToBenc() and tr_bitsetFromBenc() functions follow bitset.c's variable naming convention of how the "this" pointer is named 2011-02-24 04:14:12 +00:00
Jordan Lee f4992d885c (trunk libT) if we're a partial seed and the peer has everything we have, disconnect. 2011-02-24 01:50:35 +00:00
Mitchell Livingston 1319d9c99b (trunk) small update to Russian translation 2011-02-23 22:52:44 +00:00
Jordan Lee 4b3046be8c (trunk qt) #4052 "Qt Client Kazakh translation" -- added. Translation by taem. 2011-02-23 15:56:00 +00:00
Jordan Lee 0c6c569b69 (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().
2011-02-23 06:18:09 +00:00
Jordan Lee bf8e4594e0 (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().
2011-02-23 06:14:06 +00:00
Jordan Lee f2b4a59eda (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.
2011-02-23 06:01:16 +00:00
Jordan Lee 2b9db3c242 (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.
2011-02-23 03:54:04 +00:00
Jordan Lee 6754258823 (trunk qt) #4050 "transmission-qt translations don't load under Linux" -- fixed via patch from taem 2011-02-23 02:16:16 +00:00
Jordan Lee 094b726316 (trunk libT) remove unused code: tr_bitfieldIsEmpty() 2011-02-21 15:43:41 +00:00
Jordan Lee 32237dbdb0 (trunk libT) remove unused functions: tr_bitsetDifference() tr_bitfieldDifference() 2011-02-21 15:36:07 +00:00
Mitchell Livingston 541effd743 slightly simplify filter code 2011-02-21 04:18:58 +00:00
Mitchell Livingston 5ecebd1bea Mac build compiles with r12003 2011-02-21 01:42:17 +00:00
Jordan Lee 6ab918a202 (trunk libT) code cleanup: moving bitset functions to their own .c file. 2011-02-21 01:40:19 +00:00
Jordan Lee 25ad6bbad2 (trunk libT) remove dead code in peer-common.h: the tr_addreq_t enum 2011-02-21 01:15:13 +00:00
Jordan Lee 1ccdb1a797 (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.
2011-02-21 01:13:28 +00:00
Jordan Lee 779f52069a (trunk libT) ensure that the last few log messages actually get logged before shutdown finishes. 2011-02-20 19:12:45 +00:00
Mitchell Livingston 9d805527e3 silence a warning 2011-02-20 15:05:01 +00:00
Mitchell Livingston c1ac1d629f restore cmd-option-f to select the search filter field when the torrent table view is selected 2011-02-20 04:34:46 +00:00
Mitchell Livingston 7ba8bcb2b6 make sure filter buttons' tooltips are updated when the bar is shown 2011-02-20 04:23:09 +00:00
Mitchell Livingston 8425f84d74 replace renegade #include with #import 2011-02-20 04:17:46 +00:00
Mitchell Livingston 89175bea5f localize the filter bar 2011-02-20 04:16:38 +00:00
Mitchell Livingston e5b0de31a6 add missing xibs to makefile 2011-02-20 04:11:58 +00:00
Mitchell Livingston 6d10cd2c9c move the filter bar into its own xib 2011-02-20 03:58:50 +00:00
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