Charles Kerr
|
6f5c9dcafb
|
(trunk libt) rename tr_date() as tr_time_msec() for clarity
|
2010-07-11 20:49:19 +00:00 |
|
Charles Kerr
|
cdcc4705aa
|
(trunk) #3045 "make libtransmission's API byte-oriented instead of KiB-oriented." -- implemented. This is a largish commit and will break the mac build for a little while.
|
2010-07-03 00:25:22 +00:00 |
|
Charles Kerr
|
7936f0d5d1
|
(trunk libT) clean up #includes for event.h and evutil.h
|
2010-05-19 16:17:51 +00:00 |
|
Charles Kerr
|
5c26afdb52
|
happy new year!
|
2010-01-04 21:00:47 +00:00 |
|
Charles Kerr
|
6b8fb48d64
|
(trunk libT) replace the TR_INLINE macro with the standard "inline" keyword, since we require inline functions anyway
|
2010-01-01 22:26:35 +00:00 |
|
Charles Kerr
|
78ead8c3dd
|
(trunk) update the copyright notices
|
2009-12-05 02:19:24 +00:00 |
|
Charles Kerr
|
4322837189
|
(trunk) remove dead code
|
2009-11-23 21:57:10 +00:00 |
|
Charles Kerr
|
6ad33534e7
|
(trunk libT) tweak high/normal/low priority peer bandwidth allocation
|
2009-11-10 19:35:06 +00:00 |
|
Charles Kerr
|
f92fd55a80
|
(trunk libT) add a couple more debugging assertions into the nightlies to try & smoke out the handshake/peer-io crashes
|
2009-10-09 20:06:22 +00:00 |
|
Charles Kerr
|
7c6fbfb80f
|
(trunk libT) fix a couple of dead assignments, and a possible null pointer dereference, found by clang
|
2009-05-22 19:03:00 +00:00 |
|
Charles Kerr
|
114e6b3626
|
undo r8288
|
2009-04-25 19:22:27 +00:00 |
|
Charles Kerr
|
94c1b90fe1
|
(trunk libT) small bandwidth patch from wereHamster
|
2009-04-25 19:04:48 +00:00 |
|
Charles Kerr
|
fb587a5b30
|
(trunk libT) make sure that outbound protocol messages don't get blocked by bandwidth limits
|
2009-04-21 16:18:51 +00:00 |
|
Charles Kerr
|
03fa0b3e7d
|
(trunk) experimental support for tr_torrentSetPriority()
|
2009-04-18 23:17:30 +00:00 |
|
Charles Kerr
|
dd00672517
|
(trunk libT) more experimental code for Biiaru
|
2009-01-24 16:21:34 +00:00 |
|
Charles Kerr
|
7f82b7172c
|
(trunk libT) don't limit peer bandwidth during the handshake phase. this solves a bug that made it difficult to connect to peers when the upload bandwidth is saturated.
|
2009-01-24 03:17:59 +00:00 |
|
Charles Kerr
|
4d228289ce
|
(trunk libT) prefer int' over ssize_t'
|
2009-01-19 14:05:43 +00:00 |
|
Charles Kerr
|
2f6b56671f
|
(trunk libT) win32 portability patch from Alexey
|
2009-01-11 17:02:04 +00:00 |
|
Charles Kerr
|
fe816d8135
|
(trunk) update the GPL code's copyright dates
|
2009-01-10 23:09:07 +00:00 |
|
Charles Kerr
|
5ccd5a7700
|
(trunk libT) fix the much-hated "Assertion failed: (tr_isPeerIo( io ))". Also, repeated calls to tr_date() were taking up about 78% of the time in tr_stat(), so instead of calling multiple times, call it once in tr_stat() and pass that value around to the functions that need it.
|
2009-01-05 04:27:54 +00:00 |
|
Charles Kerr
|
ca6dd89e10
|
(trunk libT) minor tr_ptrArray API cleanup
|
2009-01-04 16:59:15 +00:00 |
|
Charles Kerr
|
5afd327b15
|
(trunk libT) use ssize_t where appropriate in tr_peerIoFlush()
|
2009-01-03 04:57:40 +00:00 |
|
Charles Kerr
|
dfa0622a6c
|
(trunk libT) add "deep log" message to help track down freeze reported by the|Navigator. also, small + cheap speedup in tr_deepLoggingIsActive()
|
2009-01-03 02:43:17 +00:00 |
|
Charles Kerr
|
c86780de8b
|
(trunk libT) avoid unnecessary duplicate calls to tr_date() in tr_bandwidthUsed()
|
2009-01-02 23:48:51 +00:00 |
|
Charles Kerr
|
4addf02246
|
(trunk libT) fix a typo that made jhujhiti giggle
|
2009-01-02 22:06:11 +00:00 |
|
Charles Kerr
|
d756d6b58f
|
(trunk libT) commit some debugging messages that were added to trackdown the multicast filter issue
|
2009-01-02 21:50:51 +00:00 |
|
Charles Kerr
|
b41cf9f231
|
(trunk libT) avoid some unnecessary memory fragmentation... for composited objects that have a tr_bandwidth, contain the it directly rather than a pointer to one allocated elsewhere on the heap.
|
2009-01-02 19:56:06 +00:00 |
|
Charles Kerr
|
73f500e5be
|
(trunk libT) inline parts of peer-io and bandwidth, too
|
2009-01-02 17:46:22 +00:00 |
|
Charles Kerr
|
d6b4db4a78
|
(trunk libT) add "inline" hint to several one-liner functions
|
2009-01-02 06:28:22 +00:00 |
|
Charles Kerr
|
8eda177838
|
(trunk libT) very minor style cleanup in tr_bandwidthAllocate()
|
2009-01-02 04:46:38 +00:00 |
|
Charles Kerr
|
2eb2dacd50
|
(trunk libT) Fix sparse warnings: symbol 'XXX' shadows an earlier one
|
2009-01-01 18:38:49 +00:00 |
|
Charles Kerr
|
618949aded
|
(trunk libT) take the timeout condition out of tr_bandwidthAllocate(). This may have the short-term effect of adding 1.41's `freeze' behavior into trunk for a bit. Yay!
|
2008-12-31 21:15:22 +00:00 |
|
Charles Kerr
|
427f639664
|
(trunk libT) avoid some unnecessary memory fragmentation... for composited objects that have a tr_ptrArray, contain the tr_ptrArray directly rather than a pointer to one allocated elsewhere on the heap.
|
2008-12-29 08:54:36 +00:00 |
|
Charles Kerr
|
f0efd7fea8
|
(trunk libT) #1627: OSX mutex lockup in 141 and up to 7490
|
2008-12-24 17:45:27 +00:00 |
|
Charles Kerr
|
d142a075c4
|
(trunk libT) fix a Windows portability bug reported by Alexey
|
2008-12-22 05:19:52 +00:00 |
|
Charles Kerr
|
8556ce653f
|
(trunk libT) comments, tr_bool correctness, better runtime tests.
|
2008-12-21 18:15:00 +00:00 |
|
Charles Kerr
|
f77ae353bb
|
(trunk) configure.ac portability tweak suggested by fulgas
|
2008-12-21 00:22:41 +00:00 |
|
Charles Kerr
|
72ded3b272
|
try to rework the bandwidth code yet again s.t. it satisfies all three: (1) fairly distributes bandwidth across all peers, (2) scales well in high-bandwidth situations, (3) is good at hitting and staying at bandwidth limits/goals
|
2008-12-20 22:19:34 +00:00 |
|
Charles Kerr
|
d125ebd86a
|
(trunk libT) turn off some testing log messages
|
2008-12-17 14:15:19 +00:00 |
|
Charles Kerr
|
3a61b0c6eb
|
(trunk libT) tweak the new peer IO code a bit to handle EINPROGRESS
|
2008-12-17 13:29:03 +00:00 |
|
Charles Kerr
|
a94e104040
|
(trunk libT) really fuck up the peer i/o code. also this breaks the mac build until someone removes iobuf.c from libtransmission's list of files.
|
2008-12-16 22:08:17 +00:00 |
|
Charles Kerr
|
9594112d27
|
updated email address
|
2008-12-16 00:20:44 +00:00 |
|
Charles Kerr
|
e813ea69ab
|
(trunk libT) probable fix for the "greedy peer" bug
|
2008-12-15 21:22:08 +00:00 |
|
Charles Kerr
|
6b0d98a695
|
(trunk) #1559: Simplify tr_sessionInitFull
|
2008-12-13 23:17:36 +00:00 |
|
Charles Kerr
|
0a63e94096
|
(trunk libT) fix r7336 oops reported by RolCol, m1b, and KyleK
|
2008-12-10 03:44:20 +00:00 |
|
Charles Kerr
|
7eee937c56
|
(trunk libT) experimental code to try & fix the "one torrent / one peer eats all my bandwidth" issue reported in the forums & irc
|
2008-12-09 22:05:45 +00:00 |
|
Charles Kerr
|
223deaf2b6
|
(libT) #1545: 1.41b1: speed temporarily jumps to 2x the upload limit
|
2008-12-04 03:31:14 +00:00 |
|
Charles Kerr
|
d12af295c1
|
use tr_bool instead of C bitfields. (http://blogs.msdn.com/oldnewthing/archive/2008/11/26/9143050.aspx)
|
2008-11-28 22:11:41 +00:00 |
|
Charles Kerr
|
b3c4061b1c
|
(libT) fix potential underflow in bandwidth allocation code
|
2008-11-28 21:35:01 +00:00 |
|
Charles Kerr
|
dc72deac34
|
(libT) tweak the speed allocation a little more.
|
2008-11-27 18:56:58 +00:00 |
|