Mitchell Livingston
76da1185ca
merge encryption branch to trunk (xcode project is still out of date)
2007-09-20 16:32:01 +00:00
Charles Kerr
65b81d09b6
use a straight lock, rather than a rwlock, for rate control
2007-08-02 16:07:34 +00:00
Charles Kerr
0f85cc3297
continue whittling away at internal.h to reduce the global #include dependencies
2007-07-31 14:26:44 +00:00
Charles Kerr
d209052051
add portability wrapper for in_port_t...
2007-07-30 18:04:10 +00:00
Charles Kerr
ebb141b232
better encapsulation of platform-specific constructs: tr_thread_t, tr_cond_t, tr_lock_t
2007-07-30 15:27:52 +00:00
Charles Kerr
e07d0220a9
this looks bug but it's not: just janitorial cleanup, moving #includes from headers into source file
2007-07-29 18:11:21 +00:00
Charles Kerr
3e3bf8b4a7
more work on speed control
2007-07-20 06:08:34 +00:00
Charles Kerr
dbe96a9e82
fold per-torrent ul/dl speed cap settings into libtransmission. synchronize gtk+ client with this change. breaks os x client.
2007-07-18 05:27:45 +00:00
Charles Kerr
f86cf5449d
fix rate control bug reported by John_Clay
2007-07-10 17:07:18 +00:00
Charles Kerr
08f787291a
remove the "peer is asking for too many blocks!" warning reported by Gimp_ by changing from a fixed-size array to a linked lists of incoming requests
2007-07-09 04:37:16 +00:00
Charles Kerr
26660b0594
fix broken rate control.
2007-07-07 04:13:13 +00:00
Charles Kerr
f0950d7390
lots of performance improvements. fun!
...
* dynamically resize the request queue on a per-peer basis based on its speed
* fix a huge bug that sabotaged the `swift' performance
* on startup, unchoke peers much sooner
* bump MAX_PEERS and PERCENT_PEER_WANTED
* do a better job of estimating speed on torrents less than 30 seconds old.
* getting an unrecognized extension ID, ignore it instead of stopping the torrent.
2007-06-29 05:45:17 +00:00
Charles Kerr
3b8d1e13c4
uninteresting minor stuff like adding const. this commit is just to reduce the shear between trunk and what lands in the file-selection branch.
2007-06-09 15:36:46 +00:00
Mitchell Livingston
3f2861f0c7
determine upload/download rates the old way, which is not the most accurate way at a few points, but should have a positive overall impact
2007-05-16 02:03:18 +00:00
Mitchell Livingston
5d2ae4eb61
simplify options for download limits in inspector with 3 check states: mixed for system defaults, checked for override with limit, and no check for no limit
2007-02-02 17:33:32 +00:00
Eric Petit
ddcfa59c96
Always take the global lock when accessing the torrent list (fixes a race condition crash)
2007-01-29 08:24:09 +00:00
Eric Petit
2bad2cae4b
Removed the need for all the tiny mallocs in ratecontrol by using a fixed sized, circular history
2007-01-22 22:58:51 +00:00
Mitchell Livingston
5e17b596d6
avoid calculations if the bandwidth limit is 0, since it always will return the same value
2007-01-15 19:16:32 +00:00
Mitchell Livingston
7abfceceac
a little less redundant checking of global bandwidth, and added myself as working on back-end
2007-01-12 17:16:20 +00:00
Mitchell Livingston
becb19f763
global bandwidth limits only apply to transfers that are not set to overide them
2007-01-08 21:53:55 +00:00
Eric Petit
f199e0a9d9
Revert [619]
2006-07-16 19:39:23 +00:00
Mitchell Livingston
5d36721a15
Remove old Sparkle...
2006-07-16 19:28:19 +00:00
Eric Petit
f98fe6a1b0
Added $Id$ keywords and updated a few headers
2006-05-29 21:21:23 +00:00
Eric Petit
fcd1c9a1a8
Force rates to 0 when paused, and download rate to 0 when seeding.
...
Increased OS X UI update interval to 1 second.
2006-02-07 02:32:50 +00:00
Eric Petit
74b6e3f3ab
Fixed no-limit upload
2006-02-05 09:42:38 +00:00
Eric Petit
77dc2be62a
Fixed memleak
...
Don't count small messages in the download rate
2006-02-02 01:59:02 +00:00
Eric Petit
b0bd6984ee
s/2005/2006/
2006-01-30 04:43:14 +00:00
Eric Petit
58ec7a7e97
Rewrote rate control, background work for the download limit, the dl/ul
...
limits per torrent and for the choking algorithm
2006-01-30 01:58:27 +00:00