Charles Kerr
1014e633ac
* don't reuse http connections to trackers. I think this is what caused most of the `no response from tracker X' messages.
...
* extra safety checks to ensure the last `stopped' message to the tracker is sent on shutdown.
2007-10-07 16:07:19 +00:00
Mitchell Livingston
e2de6f8973
get rid of some warnings
2007-10-07 15:55:27 +00:00
Mitchell Livingston
4bee975c47
improve the inspector's tab background images
2007-10-07 15:36:39 +00:00
Mitchell Livingston
b3c35b036c
change some initializers so that they are aware of their own nib's name
2007-10-07 12:24:26 +00:00
Mitchell Livingston
02e45340f4
use premade NSBox lines for separators in the status and filter bars instead of putting everything inside a box
2007-10-07 05:05:23 +00:00
Mitchell Livingston
dfce0249d1
correct appcast urls
2007-10-07 04:48:16 +00:00
Charles Kerr
568e97d220
recheck the completeness stats after `recheck torrent'
2007-10-07 04:32:37 +00:00
Mitchell Livingston
8abcc566dd
adjust tab button layout a bit to avoid overlaps
2007-10-07 04:16:58 +00:00
Charles Kerr
5d8f9d8b13
try to connect to peers faster when a torrent is initially started.
2007-10-07 04:14:58 +00:00
Charles Kerr
2381279da6
fix John_Clay's ptrarray.c:201 crash. (maybe.)
2007-10-07 04:14:34 +00:00
Mitchell Livingston
d9e3272306
adjust info tab buttons a little
2007-10-07 03:50:13 +00:00
Mitchell Livingston
c728e3cef4
better remaining space check
2007-10-07 03:30:29 +00:00
Mitchell Livingston
3a2df14d52
factor in only checked files when determining if there is enough remaining space
2007-10-07 03:28:06 +00:00
Mitchell Livingston
b71ebcfd4b
get rid of a few redundant variables
2007-10-07 03:05:55 +00:00
Mitchell Livingston
537d0aae34
remove unnecessary files/commented-out code
2007-10-07 02:33:43 +00:00
Mitchell Livingston
4887259081
show initially selected tab as selected
2007-10-07 02:31:36 +00:00
Mitchell Livingston
973ed82609
clean up a little inspector code
2007-10-07 02:28:09 +00:00
Mitchell Livingston
9e8dbcfe3e
get selected tab in inspector closer to working: 1. it doesn't select at startup 2. needs missing images and cleaned up back images
2007-10-07 02:25:39 +00:00
Mitchell Livingston
4d7f48d7cf
hilight pushed inspector tab...this will be made a different color later
2007-10-06 22:59:07 +00:00
Mitchell Livingston
a5012be5d7
file priorities inspector column works again
2007-10-06 22:34:19 +00:00
Mitchell Livingston
8f7f65388e
set properties for new files
2007-10-06 22:24:50 +00:00
Mitchell Livingston
a635077abd
first commit of updated inspector...images are just placeholders currently
2007-10-06 22:23:44 +00:00
Charles Kerr
c75f49bc26
* add a per-peer request queue to hold the next 10-15 seconds' worth of requests so that we always have more requests at hand when the current requests start to run low.
...
* increase the tracker `numwant' variable to grow our peer pool
* bugfixes in cancelling requests.
* make the debug log sexy and readable like uTorrent's ;)
2007-10-06 18:20:52 +00:00
Charles Kerr
985b34a32f
s/Stop/Pause/
2007-10-06 07:06:37 +00:00
Charles Kerr
6d5182af60
fix potential "recheck torrent" deadlock
2007-10-06 01:43:04 +00:00
Charles Kerr
ea40c4ac45
accept suggestion from infernux to use the standard gtk media_pause and media_start icons for the gtk+ client's toolbar.
2007-10-05 16:53:16 +00:00
Charles Kerr
3a6985195d
removed an assertion that depended on valid input from a peer in order to be true.
2007-10-05 05:53:00 +00:00
Charles Kerr
b6483cbf3f
don't allow duplicate requests to the same peer, even during endgame. (alus)
2007-10-05 00:16:47 +00:00
Charles Kerr
17743d8d04
tweak the `start torrent' code based on feedback from BentMyWookie
2007-10-04 23:47:49 +00:00
Mitchell Livingston
3cff117a63
updated high and low priority images from AR
2007-10-04 22:44:28 +00:00
Mitchell Livingston
d8067ebe9c
updated error icon from AR
2007-10-04 21:33:34 +00:00
Charles Kerr
80979e0240
a little code simplification -- remove unnecessary branches
2007-10-04 20:49:37 +00:00
Charles Kerr
0872b4f40a
fix the crash reported by Waldorf and John_Clay
2007-10-04 20:31:19 +00:00
Charles Kerr
53aef0a48c
Simplify the tracker/pause/close/recheck/start code.
2007-10-04 19:58:30 +00:00
Mitchell Livingston
23c04dfe3f
rename en to English (other languages will be changed to i18n names by the next release, though)
2007-10-04 03:45:52 +00:00
Charles Kerr
0938cb88d4
dead code removal
2007-10-03 21:03:40 +00:00
Charles Kerr
863c026ce0
minor little futzing
2007-10-03 21:02:30 +00:00
Charles Kerr
5f2bd1d950
speed improvements... this is getting me 700 KiB/s (which is near to my speed cap) in the ubuntu torrent test
2007-10-03 19:00:51 +00:00
Charles Kerr
877e2bb86e
some more peer tweaks
2007-10-03 18:19:51 +00:00
Charles Kerr
a3d1a254d1
minor source code cleanup...
2007-10-03 16:42:43 +00:00
Charles Kerr
3d2e3cfdfb
add pass subscription info into the peer-msgs constructor so that we can start getting information immediately
2007-10-03 04:04:34 +00:00
Charles Kerr
0f550043fd
fix peer-mgr.c:1092 asset failure reported by Waldorf_
2007-10-03 02:46:15 +00:00
Charles Kerr
1f1605986c
tear out some now-exterraneous code.
2007-10-02 20:55:14 +00:00
Charles Kerr
f4988a3f6e
tweak the peer manager code a little more.
2007-10-02 19:54:14 +00:00
Charles Kerr
3dbaa7d673
make the peer manager a little greedier w.r.t. keeping connections alive.
2007-10-02 19:25:18 +00:00
Charles Kerr
f4901211ca
Fix erratic `(int)EVBUFFER_LENGTH( inbuf ) >= byteCount' error
2007-10-02 16:59:56 +00:00
Charles Kerr
cdabb1c0b1
clean up the shutdown code a little bit.
2007-10-02 16:12:44 +00:00
Charles Kerr
c271cec6a3
work around portability glitch in libevent's headers
2007-10-02 14:58:39 +00:00
Charles Kerr
f237bf7047
* simplify the the choking intervals
...
* fix peer-mgr destructor bug
* send debugging messagese to TR_DEBUG_FD instead of the console
2007-10-02 14:35:02 +00:00
Charles Kerr
77d7cf76a1
fix looong-standing potential dangling pointer bug reported by BMW
2007-10-02 03:33:17 +00:00