Commit Graph

1562 Commits

Author SHA1 Message Date
Charles Kerr 71c2cdd1ea #966: allow blocklist support in the daemon. add extra info in the man page explaining how to add blocklists. 2008-06-11 20:09:36 +00:00
Charles Kerr f8314b364b fix an oops from the previous commit. hi, titer 2008-06-11 19:04:48 +00:00
Charles Kerr 85c26e9f7d fix a pair of webseed bugs reported by BentMyWookie 2008-06-11 19:01:16 +00:00
Charles Kerr f0229ed8ad (libT) allow custom blocklists... now all you need to do is place a file in the blocklists/ folder and Transmission will automatically use it the next time it starts. 2008-06-11 16:15:45 +00:00
Charles Kerr d2459fa2af fix ACL parsing error introduced by the shttpd auth code change. 2008-06-11 15:17:59 +00:00
Charles Kerr bc26bcb705 maybe fix the forced-recheck-on-startup bug that pea_, John_Clay, and Gimp_ reported over the last two days 2008-06-11 02:19:40 +00:00
Charles Kerr 13424ed977 (libT) add NULL pointer checks to tr_torrentStart(), tr_torrentStop() 2008-06-10 19:25:18 +00:00
Charles Kerr cd314c1af8 (libT) poll the RPC request queue more frequently if there have been recent requests. 2008-06-10 17:13:56 +00:00
Charles Kerr b94893a4c9 wire up the backend proxy support. 2008-06-10 16:16:31 +00:00
Charles Kerr 393ebbc24a more webseed work. 2008-06-10 02:36:52 +00:00
Charles Kerr 61b41adf1a have idle webseeds return a speed of -1 instead of 0 so that we can differentiate between stalled and idle. document this in transmission.h. 2008-06-10 01:46:36 +00:00
Charles Kerr 837f997e6c (libT) new API for webseed statistics: tr_torrentGetWebSpeeds() 2008-06-10 01:38:12 +00:00
Charles Kerr 9f23502411 use "1.0f" instead of "1f" 2008-06-10 00:31:06 +00:00
Charles Kerr eb72d44d94 fix oops from previous commit. hi, titer 2008-06-10 00:28:59 +00:00
Charles Kerr adbbf82302 (libT) make tr_torrentAmountFinished() look at the same pieces as tr_torrentAvailability() for consistency's sake as requested by BentMyWookie 2008-06-09 23:58:31 +00:00
Charles Kerr 0fced3a431 #1007: check_auth space delimiter bug 2008-06-09 23:28:14 +00:00
Charles Kerr 51f1126a6d (libT) make tr_torrentAvailability() a lot faster in the case where the torrent is complete, and a little faster in the genral case too. 2008-06-09 23:11:15 +00:00
Charles Kerr 52cd591d5c (libT) make tr_torrentAmountFinished() much faster when the torrent is complete 2008-06-09 23:05:14 +00:00
Charles Kerr dce24eb1f0 libT: first cut at implementing the internal peers' request queues as pieces rather than blocks, as discussed with erdgeist and denis, to avoid a couple of nasty CPU bottlenecks. 2008-06-09 22:53:45 +00:00
Charles Kerr 9f2d7c2c67 (libT) if there are webseeds, update the available amount accordingly 2008-06-09 02:38:27 +00:00
Charles Kerr ef3203a765 roll back the completion changes in r6072; it caused a crash 2008-06-09 00:59:33 +00:00
Mitchell Livingston 1c00343a02 fix minor memory leak when setting the rpc acl 2008-06-08 04:23:56 +00:00
Charles Kerr 7f8ef25acc whoops, left some test scaffolding code in r6073 2008-06-07 21:28:47 +00:00
Charles Kerr e3e3bee8b5 #800 initial support for GetRight-style fetching of data through http and ftp servers specified in the .torrent's "url-list" tag 2008-06-07 21:26:41 +00:00
Charles Kerr e212eeceb7 add first draft of tr_bitfieldFindTrue() courtesy of erdgeist 2008-06-07 14:41:31 +00:00
Charles Kerr 041561f232 minor refactoring of tr_bitfield to (a) simplify the tests and (b) make things easier to read 2008-06-07 01:44:54 +00:00
Charles Kerr 8732aa3bbc fix bitfield error reported by denis 2008-06-07 00:43:42 +00:00
Charles Kerr 7b88afdca7 (libT) 1. tweak tr_bitfieldTestFast(). 2. add tr_memdup() 2008-06-06 23:53:30 +00:00
Charles Kerr 2878d0d32e bitfield speedups written by denis__. Thanks! 2008-06-05 20:21:56 +00:00
Charles Kerr c0e5efbc03 fix some stub code 2008-06-05 17:32:36 +00:00
Charles Kerr f861f39711 maybe fix the tracker authentication problems reported by demio 2008-06-05 16:35:33 +00:00
Charles Kerr d3d4047da0 fix handshake.c crash reported by wereHamster 2008-06-05 16:25:22 +00:00
Charles Kerr ab17f553c4 get RPC password protections working in libT and the gtk+ client. mac, daemon, and cli need to be synced. 2008-06-05 16:23:03 +00:00
Charles Kerr 4d29a29003 (rpc server) fix ACL error reported by pea_ 2008-06-05 04:02:46 +00:00
Charles Kerr 32f71e1725 (libT RPC server): poll more frequently for new commands after we've received the first one. 2008-06-05 02:07:17 +00:00
Charles Kerr b92e88b29c fix tracker crash caused by the new add/remove tracker code reported by BentMyWookie 2008-06-04 23:46:32 +00:00
Charles Kerr 34d5433769 (gtk) more work on the RPC preferences tab: the ACL editor works now & is wired up... 2008-06-04 19:46:37 +00:00
Charles Kerr c724a73fb4 RPC ACL: (1) add a new call for testing ACLs (2) add wildcard notation support (3) add regression tests for the ACL tester and wildcard handler 2008-06-04 17:14:58 +00:00
Charles Kerr 3a3397ca84 modify the torrent-list response as per Gimp_'s request 2008-06-04 07:06:47 +00:00
Charles Kerr 1dd2abc711 fix the error message leak reported by BentMyWookie in the new ACL code 2008-06-04 06:36:50 +00:00
Charles Kerr 6ec33f5e23 (libT) handle a NULL third argument to tr_sessionSetRPCACL() 2008-06-04 04:49:45 +00:00
Charles Kerr 044bfbad39 add tr_torrentSetDoneDate() too 2008-06-03 19:42:54 +00:00
Charles Kerr 870c4d7650 add tr_torrentSetAddedDate() and tr_torrentSetActivityDate() 2008-06-03 19:22:22 +00:00
Charles Kerr e1a23350d4 (1) add a doneDate to tr_torrent and tr_stat. (2) save tr_torrent.doneDate and tr_torrent.activityDate between sessions in the .resume file. 2008-06-03 19:16:12 +00:00
Charles Kerr 547056b50b #988: Optimistic unchoke can unchoke uninterested peers 2008-06-03 04:29:56 +00:00
Charles Kerr ccaf782dd6 (libT) if the ACL passed in via tr_sessionInitFull() can't be parsed, log an tr_err() and use a TR_DEFAULT_RPC_ACL as the fallback. 2008-06-02 19:57:16 +00:00
Charles Kerr f8d40cdf00 (libT): added an ACL tester to tr_sessionSetRPCACL() and return an error string if the ACL can't be parsed. 2008-06-02 19:44:19 +00:00
Charles Kerr 53a426c738 add in some very simple bitfield tests, and add a #define option to turn it into a speed test 2008-06-02 15:52:16 +00:00
Charles Kerr 5db4ca7fa3 #981: add tr_stat.dateAdded to libT; add "sort by age" to gtk+ client 2008-06-02 04:41:55 +00:00
Charles Kerr 8db94c5862 #224 (creating multi-tracker torrents): add multitracker support in libT's makemeta API, and in the gtk+ interface. This probably breaks the mac build... 2008-06-01 05:36:23 +00:00