Charles Kerr
|
7dc9d4ac69
|
(trunk) fix minor memory leak in the bencode-test unit tests
|
2010-06-15 15:46:51 +00:00 |
Charles Kerr
|
3ae99f79ec
|
(trunk libT) #3293 "fggets() is overkill for parsing the blocklist" -- fixed in trunk for 2.00
|
2010-06-15 00:38:10 +00:00 |
Charles Kerr
|
3e7730e9b7
|
(trunk libT) remove a pair of unnecessary, but expensive, assert()s
|
2010-06-14 23:14:58 +00:00 |
Charles Kerr
|
a5e708c824
|
(trunk libT) rejigger the filter order again, based on profiling in cachegrind
|
2010-06-14 12:48:28 +00:00 |
Charles Kerr
|
38a254ba78
|
(trunk libT) as long as I'm committing these CPU tweaks, might as well throw in #3289 too. To undo all this, we can revert to r10745
|
2010-06-14 12:01:50 +00:00 |
Charles Kerr
|
89201ab829
|
(trunk libT) when filtering out peers that aren't candidates, use the fastest filter tests first, so that the more expensive tests will be applied to fewer peers. In particular, call peerIsInUse() last.
|
2010-06-14 11:57:46 +00:00 |
Charles Kerr
|
f0a70d77b6
|
(trunk libT) experimental commit
|
2010-06-14 03:42:54 +00:00 |
Charles Kerr
|
ec79257999
|
(trunk libT) add a much faster (but more complicated) implementation of comparePeerCandidates(). For testing in the nightlies, leave both and the new implementations in the code and run them both (which will make the nightlies slower for awhile) and crash if the results differ from each other. When it doesn't crash anymore I'll remove the old implementation. Happy testing! >:)
-place and compare them to make sure they both give the same results. If no testers can make it crash
|
2010-06-14 01:56:03 +00:00 |
Charles Kerr
|
48f9d61ba1
|
(trunk libT) small speed improvements to comparePeerCandidates()
|
2010-06-13 23:06:50 +00:00 |
Mitchell Livingston
|
493f5afa6a
|
trivial improvement to compareSeedProbabilities()
|
2010-06-13 20:54:03 +00:00 |
Charles Kerr
|
a33be6c4b8
|
(trunk libT) speedups to comparePeerCandidates()
|
2010-06-13 17:17:33 +00:00 |
Charles Kerr
|
462e473410
|
(trunk libT) when TR_CURL_VERBOSE is set, also log the benc announce response
|
2010-06-10 15:18:02 +00:00 |
Charles Kerr
|
bc71c7753b
|
(trunk libT) #3274 "When connecting with a DHT-enabled peer, we send our port message out-of-order" -- fixed in trunk for 2.00
|
2010-06-07 19:35:57 +00:00 |
Charles Kerr
|
0ad06c50e8
|
(trunk) #3262 "problems with '.' as the first character in a .torrent's filename" -- fixed in trunk for 2.00
|
2010-06-07 14:25:31 +00:00 |
Charles Kerr
|
cf3417b2cd
|
(trunk libT) lower the max # of outbound peer connections a little
|
2010-06-04 16:48:36 +00:00 |
Charles Kerr
|
60ce7e5263
|
(trunk libT) #3258 "Transmission 1.93 sends 'stopped'+'started' announce instead of 'completed' if the incomplete-dir is enabled" -- probable fix
|
2010-06-03 16:37:50 +00:00 |
Charles Kerr
|
59560eccf6
|
(trunk libT) #3249 "C99-ism in libtransmission/tr-lpd.c" -- fixed in trunk for 2.00
|
2010-05-31 17:03:51 +00:00 |
Mitchell Livingston
|
af2ae0eac4
|
reverting r9177: pow() is a basic math function and should be used instead of a hack
|
2010-05-31 13:43:33 +00:00 |
Charles Kerr
|
58b5ef9065
|
(trunk libT) #3247 "add blocklist support for pipfilter file format" -- implemented in trunk for 2.00
|
2010-05-31 11:38:36 +00:00 |
Charles Kerr
|
37f90426c1
|
(trunk libT) revert r10661 s.t. DHT peers are preferred slightly over PEX peers. This reversion comes after reading "Understanding the Properties of the BitTorrent Overlay" (2007, Al-Hamra) @ http://arxiv.org/pdf/0707.1820 at Juliusz's suggestion. Also tweak the announce's 'numwant' threshold based on findings from the same paper.
|
2010-05-28 01:41:30 +00:00 |
Charles Kerr
|
a1b85a633c
|
(trunk libT) #3234 "Checking existing data can show 100%" -- fixed in trunk for 2.00
|
2010-05-26 16:40:47 +00:00 |
Charles Kerr
|
b0b9e17032
|
(trunk libT) define MAX_BLOCK_SIZE once instead of in a handful of places
|
2010-05-26 15:23:21 +00:00 |
Charles Kerr
|
52d82cee33
|
(trunk libT) #3235 "Changeset 10293 broke the moving files fron complete to incomplete dir when both dirs have same inode on different devices" -- fixed in trunk for 2.00
|
2010-05-26 13:46:37 +00:00 |
Charles Kerr
|
035dea80df
|
(trunk libT) fix r10689 oops
|
2010-05-25 20:42:32 +00:00 |
Charles Kerr
|
25a5b2918a
|
(trunk libT) #3231 "Check existing data is extremely slow" -- increase the read buffer size as suggested by eridius
|
2010-05-25 20:19:34 +00:00 |
Charles Kerr
|
f3a5eed32b
|
(trunk libT) #3233 "torrent.c:1695: error: too few arguments to function `ctime_r'" on OpenSolaris
|
2010-05-25 15:23:16 +00:00 |
Charles Kerr
|
872291cd62
|
(trunk libT) make tr_pwrite()'s "buf" argument const
|
2010-05-22 00:09:36 +00:00 |
Charles Kerr
|
8433e0dd3b
|
(trunk libT) make tr_peerIoEnable*() inline functions
|
2010-05-20 15:30:18 +00:00 |
Charles Kerr
|
40a9133ced
|
(trunk libT) remove dead code
|
2010-05-20 14:05:27 +00:00 |
Charles Kerr
|
5ca8d41816
|
(trunk libT) #2929 "persistent tracker error messages in main window" -- experimental fix
|
2010-05-19 19:02:25 +00:00 |
Charles Kerr
|
8a83a4bf79
|
(trunk libT) remove dead function tr_torrentPromoteTracker()
|
2010-05-19 18:23:47 +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
|
fcda98c86f
|
(trunk libT) promote PEX peers up the food chain a little bit
|
2010-05-19 15:53:09 +00:00 |
Charles Kerr
|
fcc56ddcd5
|
(trunkn libT) #3192 "crash in most recent nightlies" -- fixed in trunk for 2.00
|
2010-05-18 15:14:54 +00:00 |
Charles Kerr
|
1aef6e1a03
|
(trunk libT) code tweak
|
2010-05-18 13:07:37 +00:00 |
Charles Kerr
|
8e85b1c6e5
|
(trunk libT) fdlimit.[ch] MIT -> GPL. There's not any MIT code left there.
|
2010-05-17 16:41:59 +00:00 |
Charles Kerr
|
1b44fecec9
|
(trunk libT) #1869 "new status for torrents that reached the seed ratio" -- use suggestion from Longinus00 to ensure torrents don't get flagged as finished if the user hits "download none" in the "add torrent" dialog
|
2010-05-15 22:26:25 +00:00 |
Charles Kerr
|
f7d4377fa1
|
(trunk libT) minor API cleanup: constify array arguments in tr_torrentSetFilePriorities(), tr_torrentInitFileDLs(), and tr_torrentSetFileDLs()
|
2010-05-12 03:03:29 +00:00 |
Charles Kerr
|
6d9ac874d8
|
(trunk libT) #3204 "crash in tr_torrentGetMagnetLink() when the torrent doesn't have a display name yet" -- fixed in trunk for 2.00
|
2010-05-11 15:30:30 +00:00 |
Charles Kerr
|
ad27c9d58e
|
(trunk libT) #3203 "torrents halted after 'Tracker returned a 4xx message'" -- fixed in trunk for 2.00
|
2010-05-11 13:32:29 +00:00 |
Charles Kerr
|
da2ef53eeb
|
(trunk) #1796 "run script after torrent completion" -- implemented for libT, RPC, and the GTK+ and Qt clients
|
2010-05-08 22:42:28 +00:00 |
Charles Kerr
|
2b9ab542cb
|
(trunk) #3060 "Local Peer Discovery" -- in the code, rename LDS as LPD for Local Peer Discovery
|
2010-05-08 08:42:45 +00:00 |
Charles Kerr
|
0051b8a110
|
re-tweak the previous commit based on feedback from kklimonda
|
2010-05-06 17:02:31 +00:00 |
Charles Kerr
|
2ea9f78eff
|
(trunk libT) tweak MAX_PATH_LENGTH a little for better portability -- defer to limits.h's definition when present
|
2010-05-06 15:07:18 +00:00 |
Charles Kerr
|
5d272161ed
|
(trunk libT) fix bencode.c cross-compile error on arm-based NAS reported by nahkiss. This bug was introduced in a patch to fix #3172 and was added to trunk with r10549 and 1.9x/ with r10549
|
2010-05-05 16:03:33 +00:00 |
Mitchell Livingston
|
7949e4df47
|
more logging to try to smoke out #3041
|
2010-05-02 18:03:49 +00:00 |
Mitchell Livingston
|
ec687f14ad
|
#2738 Fix the IPv6 DHT broken by r10616
|
2010-05-02 12:48:33 +00:00 |
Charles Kerr
|
94a2ffac2b
|
(trunk libT) commit jch's patch for #2738: "fix rebinding of the IPv DHT socket"
|
2010-05-01 19:55:45 +00:00 |
Mitchell Livingston
|
423c3eab84
|
#3060 prefer peers from local discovery over those from a tracker
|
2010-05-01 19:16:52 +00:00 |
Charles Kerr
|
5a34347f4f
|
(trunk) #3060 -- Local Peer Discovery patch from Eszet
|
2010-05-01 16:04:00 +00:00 |