Commit Graph

2585 Commits

Author SHA1 Message Date
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
Charles Kerr 3e61f44cdd s/transmission-gtk/transmission/ 2007-09-24 19:03:25 +00:00
Charles Kerr dd6f87a5eb fix race condition in the torrent rechecker. 2007-09-24 17:47:15 +00:00
Charles Kerr 6897fe4327 plug some minor memory leaks. (valgrind) 2007-09-24 15:50:59 +00:00
Mitchell Livingston 2d9875f07a miss a localized button in About window 2007-09-24 12:44:35 +00:00
Mitchell Livingston 1dda5836cf delocalize About window 2007-09-24 12:28:44 +00:00
Charles Kerr b402687c93 * add sanity checks to incoming piece data requests. This may solve the inout.c:99 assertion failure.
* rename the gtk client from `transmission-gtk' to `transmission' for parity with the mac client.
2007-09-23 23:38:39 +00:00
Charles Kerr b3c184d380 Try out using the stock gtk+ connect/disconnect icons in the torrent inspector's peers tab to denote connected peers. This commit is to get feedback -- I'm not 100% sure about this change. 2007-09-23 22:32:22 +00:00
Charles Kerr 1801f59f49 accept some of the ideas in ticket #343 -- add logo and description in `about' dialog, and unbundle our lock icon because gtk+ has a stock authentication icon. 2007-09-23 22:20:01 +00:00
Charles Kerr 4834dc4b13 fix crash-on-shutdown 2007-09-23 19:24:06 +00:00
Mitchell Livingston 72adcff7f4 set svn properties on new files 2007-09-23 16:23:52 +00:00
Mitchell Livingston 4227d425f1 when the main window isn't the key window, make the status bar show the normal window background 2007-09-23 16:21:03 +00:00
Charles Kerr b3fde0b43b tweak responsivenes on switching between `uploading' and `downloading' when a user changes a file's do-not-download state 2007-09-23 14:17:39 +00:00
Charles Kerr d27c9c5034 * update tor->activityDate whenever piece data is transferred. 2007-09-23 14:12:17 +00:00
Charles Kerr 89da2294b1 * when a torrent's done downloading, have it switch to seeding mode.
* tweak the gtk+ client's torrent inspector's display of transfer rates
2007-09-23 13:53:44 +00:00
Mitchell Livingston f1d017f622 fix previous commit which prevented transfer changes from being saved 2007-09-23 05:44:50 +00:00
Mitchell Livingston cc09e542b0 clicking the progress line in the transfer window will toggle between stats for the whole torrent and for just the selected files 2007-09-23 05:39:41 +00:00
Charles Kerr 968868debe fix bug that tended to disconnect from valid peers when we were seeding. also, follow the BT spec's terminology a little closer. 2007-09-23 02:19:59 +00:00
Charles Kerr 7a54e88d4e fix bug #342 -- some hash checks were incorrectly failing, which caused the `bytes downloaded' field to appear to jump back and forth 2007-09-23 02:11:53 +00:00
Charles Kerr d8d46517b9 fix a couple of encryption bugs. 2007-09-22 21:48:02 +00:00
Mitchell Livingston ee634ce23d remove another warning 2007-09-22 15:27:56 +00:00
Charles Kerr 3c73a86595 tweak some more. follow BentMyWookie's suggestion for raising the connection limits. 2007-09-22 14:42:15 +00:00
Charles Kerr a33a033b9b tweak the peer mgr 2007-09-22 14:32:02 +00:00
Charles Kerr 10b8326f1d add a peer connection manager s.t. have a consistent way of disconnecting from bad peers, connecting to new potential peers, disconnecting from seeds when we're seeding, etc. 2007-09-22 14:18:52 +00:00
Charles Kerr ed747ad94c get wx building again 2007-09-22 13:36:22 +00:00
Mitchell Livingston e34218bd45 get rid of another warning 2007-09-22 12:50:51 +00:00
Charles Kerr ea7513e59d undo commit that accidentally checked in testing code that only allowed connections from encrypted peers 2007-09-22 05:40:33 +00:00
Charles Kerr c6aa57f306 make download speed limits work? 2007-09-22 05:16:32 +00:00
Mitchell Livingston e106876393 get rid of a warning 2007-09-22 04:45:15 +00:00
Charles Kerr 87f53cba5b maybe get speed limits working. 2007-09-22 04:44:50 +00:00