Commit Graph

2814 Commits

Author SHA1 Message Date
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
Charles Kerr 682be6b12e don't bother remembering peers that hang up on us.
don't bother remembering peers that are seeds when we're seeding.
2007-09-26 04:44:54 +00:00
Mitchell Livingston 9dec223018 attempt to decrease memory usage a bit when window/application is hidden 2007-09-26 04:12:57 +00:00
Charles Kerr f20358927b lots of handshake fixes. incoming connections work now, both encrypted & plaintext. yay! 2007-09-26 03:52:30 +00:00
Mitchell Livingston 5c5be42659 getting mac version working with the changes from [3178], and specify total have and verified have in inspector 2007-09-26 03:27:00 +00:00
Charles Kerr b63a505c6d fix a handshake bug and reduce the idle cpu load a little. 2007-09-26 02:29:49 +00:00
Charles Kerr ee6a0b8945 modify the tr_stat struct as hashed out by charles_ and BentMyWookie. sync gtk, ipc, and wx clients. 2007-09-26 01:55:04 +00:00
Mitchell Livingston 32679a4d18 updated check image from AR 2007-09-26 01:54:43 +00:00
Mitchell Livingston bc483dabb6 add bsdqueue.h to deamon in xcode project file 2007-09-26 00:02:58 +00:00
Charles Kerr e3352ac714 add bsdqueue.h to daemon dir 2007-09-25 23:59:50 +00:00
Mitchell Livingston 8d171f1b0c add evutil.h to the xcode project 2007-09-25 23:59:45 +00:00
Mitchell Livingston 9e99b50563 remove bsdqueue.h from the xcode project 2007-09-25 23:57:29 +00:00
Charles Kerr c6fdad0514 accept erdgeist's suggestion of using ensureMinimumFileSize() only on WIN32 -- on posix, seek+write is enough. 2007-09-25 23:21:00 +00:00
Charles Kerr fef89a3bc7 * record the ports of incoming sockets. we might need them later if we want to disconnect and reconnect.
* for portability, use libevent API for some socket upkeep
2007-09-25 23:10:34 +00:00
Charles Kerr 904359a049 * fix oops from last checkin
* remove some unused fields from internal structures
2007-09-25 22:37:23 +00:00
Charles Kerr 73522af17c fix peer-msgs.c assertion failure. (tbo) 2007-09-25 22:30:41 +00:00
Mitchell Livingston 8d4d653044 for seeding peers overlay a check mark on progress bar 2007-09-25 21:11:54 +00:00
Charles Kerr 7a15abaf7a better handling of tracker error messages. 2007-09-25 18:39:58 +00:00
Charles Kerr dcfe4f9802 if we connect to a peer that understands the encryption handshake, try harder to continue the connection in encrypted mode. 2007-09-25 17:56:46 +00:00
Charles Kerr 5aecf680f0 when a peer tells us that it's switched listening ports, remember the new port for the next time we connect. 2007-09-25 17:44:50 +00:00
Charles Kerr dd8dc4d87e tweak the bitfield code to be a little faster. 2007-09-25 17:43:39 +00:00
Charles Kerr 1d1a23508b * follow the BT spec more closely by disallowing peers to request blocks of more than 16KiB from us.
* don't register the choke and connection timers for torrents that aren't running.  It doesn't hurt anything but does waste a few cycles.
2007-09-25 00:04:29 +00:00
Charles Kerr 6c8d9d42d3 fixed tracker bug reported by TooMuchTime of OiNK fame 2007-09-24 20:27:20 +00:00
Charles Kerr 7caf9550df shut up some more console messages 2007-09-24 19:12:52 +00:00