Commit Graph

2812 Commits

Author SHA1 Message Date
Charles Kerr e4fec9eefd add tr_stat.peersKnown to indicate how many peers exist in the peer `pool' 2007-10-01 15:51:54 +00:00
Mitchell Livingston 794ea0b0c6 allow columns in peer table to be reordered 2007-10-01 15:50:38 +00:00
Charles Kerr cba61802cf remove newly-unused field tr_peer_stat::isConnected 2007-10-01 15:41:42 +00:00
Charles Kerr 1a012b8b87 maybe fix the where-are-the-peers-coming-from bug reported by SoftwareElves, John_Clay, and jahpraiseherb 2007-10-01 15:36:31 +00:00
Charles Kerr 5c11c58113 simplify libT locks now that it's (more-or-less) single-threaded. fix deadlocks. make tr_locks nestable. 2007-10-01 15:17:15 +00:00
Charles Kerr f7e3f85e50 follow BT `best practices' more closely w.r.t. choosing which pieces to download 2007-10-01 14:24:22 +00:00
Mitchell Livingston 5f41c28cbe update strings file 2007-10-01 12:30:07 +00:00
Mitchell Livingston c96856cb74 "switch" instead of "ifs" 2007-10-01 11:41:15 +00:00
Mitchell Livingston a388c58a05 remove "connected dot" from peer inspector, and append speed string properly to torrents with errors 2007-10-01 11:34:01 +00:00
Charles Kerr 60a983d845 fix bizarre libevent contortion that made valgrind cry 2007-10-01 05:49:23 +00:00
Charles Kerr 9a3c91cad2 ensure TR_PEER_FROM_INCOMING peers get peer atoms. this should fix BentMyWookie's crash. 2007-10-01 05:32:34 +00:00
Charles Kerr 56738f065c fix some memory issues. 2007-10-01 04:12:24 +00:00
Mitchell Livingston 0888fe4f68 remove unneeded line 2007-10-01 03:28:49 +00:00
Charles Kerr b99084e638 more experimenting with how to get good peers 2007-10-01 03:24:52 +00:00
Mitchell Livingston a223b7d6ea fix Bitlet and add new Limewire client id's 2007-10-01 02:50:51 +00:00
Charles Kerr 6bef7def52 tweaks 2007-10-01 00:08:12 +00:00
Charles Kerr 7cc6771318 experimental better peer management. 2007-09-30 23:55:49 +00:00
Mitchell Livingston 66bf641f5d streamline the minimal status string code a little 2007-09-30 13:41:26 +00:00
Mitchell Livingston aaaa932625 rearrange some status string code 2007-09-30 13:33:50 +00:00
Mitchell Livingston 6c962e15b1 if there is an error still display per-torrent speeds in the main window 2007-09-30 13:22:15 +00:00
Mitchell Livingston 3e87e07e0c add bitlet to client id's 2007-09-30 13:16:18 +00:00
Charles Kerr 5fa0740c27 update ltep documentation 2007-09-29 23:58:37 +00:00
Mitchell Livingston 9f926a9ca7 make sure to update torrent status before applying completeness changes 2007-09-29 15:23:40 +00:00
Charles Kerr 4c990b2a7d fix tracker crash reported by bmw 2007-09-29 15:05:20 +00:00
Charles Kerr dad333ceec more work on the locks 2007-09-29 14:55:30 +00:00
Charles Kerr b3d6391413 test to see if the new locking code can fix the old `stop' bug 2007-09-29 14:25:52 +00:00
Charles Kerr 8a40a15b16 more work on the peer-mgr locks 2007-09-29 14:19:23 +00:00
Charles Kerr 64239a21e1 prevent a deadlock via the handshake code 2007-09-29 13:47:15 +00:00
Charles Kerr 0812087a4e add mutex locks for thread safety. 2007-09-29 06:37:03 +00:00
Charles Kerr 04f6847004 take out the `thawing out' console messages 2007-09-29 00:47:33 +00:00
Charles Kerr 3f1d888354 improved uTorrent handshaking, after talking to #utorrent-dev about minutae... 2007-09-29 00:46:41 +00:00
Charles Kerr 79973a8a93 commit the next step of tiennou's fastpeers code. 2007-09-28 16:40:21 +00:00
Charles Kerr 198d2c256e fix John_Clay's tracker assertion failure. 2007-09-28 16:14:19 +00:00
Charles Kerr 92923a0236 remove obsolete MAX_PEERS in internal.h 2007-09-28 16:00:43 +00:00
Mitchell Livingston 1bdc481ee2 work with new callback for completeness change 2007-09-28 15:36:46 +00:00
Charles Kerr f6e552793e (gtk) fix system tray icon 2007-09-28 15:22:29 +00:00
Charles Kerr 5f8764c7c6 sync cli with r3220 2007-09-28 15:12:21 +00:00
Charles Kerr d9af0ff829 add more assertion tests to try to hunt down the tracker.c bug reported by John_Clay 2007-09-28 15:05:42 +00:00
Charles Kerr f0c9f9a99a add a callback to notify clients when a torrent's state changes 2007-09-28 14:51:34 +00:00
Mitchell Livingston 788a925fb0 left this out of the last commit 2007-09-28 14:33:55 +00:00
Mitchell Livingston c34d940361 remove an unused dictionary 2007-09-28 14:31:20 +00:00
Charles Kerr c28a94d04c fix a couple of memory corruption errors while trying to track down tiennou's report on peer-msgs.c:pulse() -> inout.c:163 assertion failure. 2007-09-28 14:27:56 +00:00
Mitchell Livingston 2ac0980ea5 combine some progress string code and release an attributes dictionary when it's not needed 2007-09-28 13:42:28 +00:00
Mitchell Livingston dc7a374fb3 make sure to retain the attributes dictionary 2007-09-28 13:05:01 +00:00
Mitchell Livingston f5bd7f17ce didn't mean to commit some experimental, nonworking code; also, only create the string attributes when needed 2007-09-28 12:58:31 +00:00
Mitchell Livingston 6a976eed1c clicking on the peer progress indicator will toggle between progress bar and a number for progress, inspired by beelsebob 2007-09-28 12:55:28 +00:00
Mitchell Livingston c5a6b6b111 use the system's default bold font for dock badging 2007-09-28 03:44:53 +00:00
Mitchell Livingston 4bf0ad193a streamline display string code a little more 2007-09-28 02:58:25 +00:00
Mitchell Livingston ee5bcca70b get rid of a warning and add an item to news 2007-09-28 02:35:34 +00:00
Charles Kerr 7e5dbd38b5 now that the gtk+ prefs are unfucked, add an "ignore unencrypted peers" preference. 2007-09-28 00:46:22 +00:00