Commit Graph

2596 Commits

Author SHA1 Message Date
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
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