Commit Graph

3137 Commits

Author SHA1 Message Date
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
Mitchell Livingston df4c5cacee clean progress string code a little more 2007-09-27 21:12:56 +00:00
Mitchell Livingston 22e66ab5d2 clean up some of the new display string code 2007-09-27 21:02:25 +00:00
Charles Kerr 713ded5ff4 preferences code refresh in the gtk+ client 2007-09-27 20:57:58 +00:00
Mitchell Livingston c81961d908 instead of creating every string, including both minimal and regular together, for every torrent, generate the string when requested 2007-09-27 20:42:20 +00:00
Charles Kerr 2ae95a4096 fix win32 initialization bug reported by |ub0 2007-09-27 17:25:27 +00:00
Charles Kerr 1c1ef83a65 better support of the MSE protocol w.r.t. PadC and PadD 2007-09-27 14:43:33 +00:00
Mitchell Livingston 04f6e208b9 patch from beelsebob to fix crash with connected peers with no client name 2007-09-27 12:44:25 +00:00
Charles Kerr d3077bbce1 round 2 of minor revisions to tr_stat 2007-09-27 03:30:22 +00:00
Mitchell Livingston 1e04e205a1 don't know how this snuck in 2007-09-27 03:06:28 +00:00
Mitchell Livingston 642c320488 small phrasing adjustment 2007-09-27 03:05:10 +00:00
Mitchell Livingston 1eefea731c updated news 2007-09-27 03:03:51 +00:00
Charles Kerr 439c1f38c1 some experimental code. (1) try to improve throughput to peers. (2) add first draft of new tr_stat fields requested by BentMyWookie (3) raise the per-torrent peer limit to 100 to match LibTorrent's defaults 2007-09-27 03:03:38 +00:00
Mitchell Livingston 8825a6029d more cleanup from advanced bar removal 2007-09-27 02:46:48 +00:00
Mitchell Livingston dd86bc5adf remove some leftovers from the advanced bar 2007-09-27 02:29:32 +00:00
Mitchell Livingston c9688d89f8 use LSMinimumSystemVersion instead of custom version check, because on < 10.4 it will never reach that custom code 2007-09-26 23:49:21 +00:00
Mitchell Livingston 98575a0169 say goodbye to the often-misunderstood "advanced progress bar" 2007-09-26 19:36:25 +00:00
Mitchell Livingston a222ba1774 fix progress bar inversion 2007-09-26 18:53:11 +00:00
Mitchell Livingston 2b0a7153cc rename "failed hash" to "failed dl" and reorder dl above ul 2007-09-26 18:43:32 +00:00
Mitchell Livingston b50f4189f9 add "failed hash" field to activity tab 2007-09-26 18:32:32 +00:00
Mitchell Livingston faff3145ce remove the remaining extra drawing and use of non-integers in the regular bar 2007-09-26 17:42:45 +00:00
Charles Kerr d386617da2 only send a peer keepalive messages when we're not sending them anything else 2007-09-26 17:34:33 +00:00
Mitchell Livingston 0743709b51 eliminate some useless drawing for the progress bar, and ensure width is an integer (drawing with pixels is quite annoying) 2007-09-26 17:30:54 +00:00
Mitchell Livingston 9c0b470457 for file size always show at least one decimal place 2007-09-26 16:18:18 +00:00
Charles Kerr 773fa8f1f6 for every connected peer, send a keepalive message every 90 seconds 2007-09-26 15:14:37 +00:00
Charles Kerr 7ccab9de2c peer i/o cleanup 2007-09-26 14:42:03 +00:00