Commit Graph

2482 Commits

Author SHA1 Message Date
Charles Kerr 8e6eee683f (trunk) on non-mac platforms, try not building our own copy of libevent 1.4.x 2009-06-03 15:47:08 +00:00
Charles Kerr a9d99c482a (trunk libT) dead code removal 2009-06-03 04:56:53 +00:00
Charles Kerr 9513fcbe66 (trunk libT) add a bunch of comments denoting where the libevent 2.0 changes will go 2009-06-02 18:21:23 +00:00
Charles Kerr 9238fb0299 (trunk) #2131: clean up benc read/write API 2009-06-02 01:48:48 +00:00
Charles Kerr 9bfec90e43 (trunk libT) avoid about 75% of the strdup/malloc/frees in benc by using a union of char* and a small string buffer, and using the buffer if the string is small enough 2009-06-01 22:15:50 +00:00
Charles Kerr 7f85090587 (trunk) add a "source" argument to tr_jsonParse() so that if there's an error we can log the filename, or that it came from rpc, etc. 2009-06-01 18:57:37 +00:00
Charles Kerr 6508dc3a3d (trunk libT) #2146: Incorrect maintenance of dhtAnnounceInProgress 2009-06-01 18:24:30 +00:00
Charles Kerr f538b08fb3 (trunk libT) tracker.c was using tr_benc's private fields 2009-06-01 18:12:36 +00:00
Charles Kerr 38ffac8bf6 (trunk libT) fix bug that misparsed the tracker's min_request_interval 2009-06-01 18:06:35 +00:00
Charles Kerr ee0771c751 (trunk) "perl -r" wasn't portable to os x 2009-06-01 00:43:01 +00:00
Charles Kerr ea93eab02d (trunk libT) on platforms that support it, use POSIX_FADV_SEQUENTIAL instead of POSIX_FADV_RANDOM. (http://trac.transmissionbt.com/ticket/1521#comment:25) 2009-05-31 21:20:49 +00:00
Charles Kerr 0834c33445 (trunk) yet another stab at building version.h portably 2009-05-31 20:22:47 +00:00
Charles Kerr d4aaa3d320 (trunk libT) r8563 weak. 2009-05-31 00:27:19 +00:00
Charles Kerr 62109971c5 (trunk libT) fix two trivial compiler warnings from r8562 2009-05-30 21:59:09 +00:00
Charles Kerr 73cef0d680 (trunk libT) dead code removal 2009-05-30 21:45:40 +00:00
Charles Kerr d1b36fee6f (trunk libT) a little bit of early futureproofing for libevent 2.0 2009-05-29 20:52:42 +00:00
Charles Kerr 452cb27f9e (trunk libT) re-start work on making libT doxygen friendly. still a long ways to go on this. 2009-05-29 19:17:12 +00:00
Mitchell Livingston 3f89538e28 when adding a torrent, set the default torrent speed limit to the global speed limit (the limit will still be disabled) 2009-05-28 22:05:21 +00:00
Charles Kerr d0a57ce9d2 (trunk libT) version.h.in was doubled up 2009-05-28 17:56:58 +00:00
Charles Kerr 691eb0db76 (trunk libT) the pre-1.70 builds were using the wrong key for ipv4/ipv6 bind addresses in settings.json 2009-05-28 13:24:35 +00:00
Charles Kerr cd36431b0c (trunk libT) fix off-by-one in tr_ssha1() reported by lightix @ http://forum.transmissionbt.com/viewtopic.php?f=2&t=7684#p37556 2009-05-28 13:02:03 +00:00
Charles Kerr 8504baf7aa (trunk libT) #2022: Torrentbar shows wrong speeds: Webseed-peers aren't taken into account 2009-05-28 02:28:14 +00:00
Charles Kerr 2a157ca600 (trunk) #2125: Get svn revision number with autoconf rather than make 2009-05-28 02:15:53 +00:00
Charles Kerr 49885aae05 (trunk libT) #2120: Typo in DHT support: incorrect test when bootstrapping 2009-05-27 17:35:49 +00:00
Charles Kerr bda5a11eb4 (trunk libT) probable fix for #2111: session-set causes crash on second attempt 2009-05-26 20:52:08 +00:00
Charles Kerr 342ea302bc (trunk libT) version.h build issue that manifested itself as "tr-dht.c:156: error: expected expression before ‘>>’ token". Thanks to geirha for tracking down the problem and contributing a fix 2009-05-24 13:48:55 +00:00
Charles Kerr 5f95f7bdf7 (trunk libT) #2107: Port randomization should use only private ports (49152-65535) 2009-05-24 01:51:53 +00:00
Charles Kerr 72fe1b7bea (trunk libT) try to smoke out the cause of #1992 2009-05-22 19:32:49 +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 66da41e517 (trunk) dht seems to be crashing in bcmp() on the mac, so I suspect the homegrown implementation of memmem() is buggy... test this out by replacing memmem()'s implementation 2009-05-22 05:35:51 +00:00
Charles Kerr 690b029c52 (trunk libT) take out the test scaffolding for the tr_torrentFiles() rewrite 2009-05-22 01:21:56 +00:00
Charles Kerr a2480049d5 tweak the assertion to track down Rolcol's crash 2009-05-21 22:49:59 +00:00
Charles Kerr 6e089ef095 (trunk libT) #1992: could it really be this easy? if it is, wereHamster deserves the credit. if not, at least it was easy 2009-05-21 22:26:18 +00:00
Charles Kerr 59e4a61100 (trunk libT) since the metainfo hash string lookup table is expensive to build, and since only the mac client uses it, let's not build it until some non-libT calls tr_ctorSetMetainfoFromHash(). 2009-05-21 19:54:59 +00:00
Charles Kerr b1f675eb83 (trunk libT) smoke out any errors in the tr_torrentFiles() rewrite 2009-05-21 18:37:55 +00:00
Charles Kerr 73add1f2f9 (trunk) add hooks for disabling/enabling DHT in gtk client, qt client, and transmission-remote 2009-05-21 00:15:54 +00:00
Charles Kerr bc632a9360 (trunk libT) possible fix for the slow startup reported by livings and Waldorf 2009-05-20 17:35:41 +00:00
Charles Kerr 7d844ec279 (trunk) #920 Add "Move Data" to libT so all clients can use it 2009-05-20 16:02:12 +00:00
Charles Kerr 9d1ea6eb6b (trunk libT) tweak tr-dht a little 2009-05-20 15:56:58 +00:00
Charles Kerr d0a84bcf09 boring tr_memmem tweaks 2009-05-20 04:30:55 +00:00
Charles Kerr af213891f9 (trunk libT) make tr_memmem() more readable 2009-05-20 04:25:45 +00:00
Charles Kerr 70bd50ff7f (trunk libT) futz around with tr-dht.c a bit 2009-05-20 04:08:58 +00:00
Charles Kerr 52991d7ee7 bah, that last commit was wrong 2009-05-20 03:58:15 +00:00
Charles Kerr e904ea732c (trunk libT) modified transmission-dht-20090619.patch 2009-05-20 03:55:09 +00:00
Mitchell Livingston 52c56eae98 add RezTorrent to clients 2009-05-20 00:00:42 +00:00
Charles Kerr 979eddf61d (trunk libT) add some extra tests to tr_cryptoWeakRandInt() 2009-05-19 20:52:24 +00:00
Charles Kerr 8f3660c334 (trunk libT) fix event_callback() error in tr-dht.c 2009-05-19 20:42:01 +00:00
Charles Kerr 5a9c945dbb (trunk libT) remove some dead code from tr-dht.c 2009-05-19 19:39:56 +00:00
Charles Kerr 54202fca79 (trunk libT) add Juliusz' provide-node-count.patch patch 2009-05-19 19:05:34 +00:00
Charles Kerr 3d7cc36424 (trunk) #7: DHT support. This is a work in progress... no gui/rpc support yet 2009-05-19 18:38:26 +00:00