Commit Graph

137 Commits

Author SHA1 Message Date
Charles Kerr 47a64975b7 (trunk libT) #2192: tr_session's hashstring-to-filename code reinvents the wheel 2009-06-09 21:57:11 +00:00
Charles Kerr 9238fb0299 (trunk) #2131: clean up benc read/write API 2009-06-02 01:48:48 +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 5f95f7bdf7 (trunk libT) #2107: Port randomization should use only private ports (49152-65535) 2009-05-24 01:51:53 +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 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 3d7cc36424 (trunk) #7: DHT support. This is a work in progress... no gui/rpc support yet 2009-05-19 18:38:26 +00:00
Charles Kerr da42fe8a7c (trunk libT) #2035: Transmission causes wakeups by unnecessary polling. 2009-05-14 13:42:29 +00:00
Charles Kerr 29b1d3e2cc (trunk) #920: add "move data" to libT so all clients can use it 2009-05-13 15:54:04 +00:00
Mitchell Livingston 6ad1a500a7 #2065 Spelling mistake 2009-05-12 13:10:20 +00:00
Charles Kerr 452fd21d15 (trunk libT) #1996: Regression: Crash on shutdown when IPv6 is unavailable 2009-04-17 16:49:56 +00:00
Charles Kerr cdd779bb2a (trunk libT) fix long-standing wart of a few public API calls returning strdup'ed char*, rather than a const char* like all the others 2009-04-16 19:14:37 +00:00
Charles Kerr bee21fb545 (trunk libT) #1992: try to cleanly destroy the "verify local data" thread on shutdown 2009-04-16 13:10:25 +00:00
Erick Turnquist 2719372bc6 (trunk) #1497 Options to listen on specific network sockets 2009-04-15 21:05:58 +00:00
Charles Kerr 03a7251054 (trunk) make it possible to #include "version.h" without having to add -I${TOP}/libtransmission/ to your CFLAGS 2009-04-13 19:04:21 +00:00
Charles Kerr 2877eddd58 (trunk libT) experimental commit to reduce IO lag during fast downloads 2009-04-10 00:58:26 +00:00
Charles Kerr 81766a8dcb (trunk libT) another possible fix for #1894: Crash when download finishes and seed ratio is already met 2009-04-09 14:10:31 +00:00
Charles Kerr a1adee368f (trunk)
1. add to the "recently-changed" torrent a list of recently-removed torrent ids.
2. make the day-of-week alt speed a bitfield of days or'ed together, so that you can have (say) speed limits on monday and wednesday
2009-04-04 05:29:08 +00:00
Mitchell Livingston f3cf4b4ef5 libT support for #1679 Schedule Speed Limit mode based on days, not just time 2009-04-04 02:17:39 +00:00
Mitchell Livingston 7f99b81293 whoops 2009-04-03 04:31:25 +00:00
Mitchell Livingston aab0c1b87c #1969 separate picking a random port from choosing a random port at startup 2009-04-03 04:29:27 +00:00
Charles Kerr c3b24bc471 (trunk) modify tr_torrentParse() and tr_torrentNew() arguments s.t. they use the ctor's session instead of passing it in again. Allow a NULL session pointer for some cases of tr_torrentParse(). 2009-04-02 17:30:29 +00:00
Charles Kerr 2290c49898 (trunk) add a did-the-user-do-this flag to the "alt speed toggled" callback 2009-03-30 17:25:35 +00:00
Charles Kerr f4557fab8e (trunk) use tr_bencDict{Find,Add}Bool() where appropriate 2009-03-29 23:05:32 +00:00
Charles Kerr adc5bec662 (trunk libT) silence a couple of session.c warnings from last night 2009-03-29 16:44:59 +00:00
Mitchell Livingston 66850624c5 ensure alt speed limit is set on launch when using the scheduler 2009-03-28 20:07:38 +00:00
Mitchell Livingston 1a716f2c76 on startup, if the speed limit timer is set, check the timer and ignore TR_PREFS_KEY_ALT_SPEED_ENABLED 2009-03-28 19:53:44 +00:00
Mitchell Livingston 828e0356cc improve the logic when toggling the use of the speed limit timer 2009-03-28 19:46:34 +00:00
Charles Kerr f1d92708e7 (trunk) more speedlimit work 2009-03-28 16:47:01 +00:00
Charles Kerr 93ffda5b5a (trunk) fix a bug with the new libT alt speed limit code 2009-03-27 01:39:35 +00:00
Charles Kerr d2d2364077 (trunk libT) modification to r8088 at livings1's request: make sure the alternate speed test takes place at the top of the minute 2009-03-25 19:50:58 +00:00
Charles Kerr b1fc4ed8c4 (trunk) #1950: Add off-peak hour bandwidth limiting to libtransmission, rpc 2009-03-25 19:18:00 +00:00
Erick Turnquist 81a01fe1d3 (trunk libT) re-add rpc password to settings benc dict 2009-03-25 00:36:11 +00:00
Mitchell Livingston 50c9385ceb #1276 encrypt the password to access web client interface using SHA-2 2009-03-17 21:50:20 +00:00
Charles Kerr 68448d18ea (trunk gtk) launchpad bug #338046: XDG_DOWNLOAD_DIR isn't honored in gtk client 2009-03-10 15:24:40 +00:00
Charles Kerr 857b3dab10 (trunk libT) #1823: Ratio limit is only checked when peers are active 2009-03-01 13:56:22 +00:00
Charles Kerr 3f9a1d090b (trunk) #1787: add support for seeding ratio limiting in libtransmission 2009-02-13 18:23:56 +00:00
Charles Kerr 3821413390 (trunk libT) add in a crasher bug for Rolcol to find 2009-02-06 23:35:47 +00:00
Charles Kerr 93642c5c4d (trunk libT) Biaaru: repeat the TR_DEBUG_FD test on this please :) 2009-02-04 18:19:37 +00:00
Charles Kerr 08289b9d13 (trunk libT) #1748: possible fix for the kqueue corruption errors by consolidating the three per-torrent libevent timers into three session-wide timers. Since most people reporting this error have lots of torrents loaded, consider a hypothetical example: if you had 500 torrents, this patch will reduce 1,500 libevent timers down to just three timers. On top of that, those three have simpler life cycles too... 2009-02-04 16:58:52 +00:00
Charles Kerr 61e18f1d1b (trunk libT) yet even *more* assertions for Biiaru and persept :) 2009-01-29 16:56:43 +00:00
Charles Kerr 983455abbc (trunk libT) possible fix for the transfers-not-loaded-on-startup issue introduced in r7806 2009-01-27 02:01:04 +00:00
Charles Kerr 90f8a08794 (trunk libT) another possible fix for the libevent corruption issue -- libevent calls were being invoked from the gui thread at startup via tr_sessionInit()'s call to tr_webInit(). This revision moves those calls into the libtransmission/libevent thread. 2009-01-26 08:23:11 +00:00
Charles Kerr 8c9d5359b5 (trunk libT) add more assertions to make Biiaru crash more^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^Hhelp track down the cause of Biiaru's crashes 2009-01-26 02:51:50 +00:00
Charles Kerr c99f941d16 (trunk libT) make file preallocation optional via settings.json. choices are: full, sparse, and none 2009-01-16 16:38:16 +00:00
Charles Kerr 9c5b6e7d15 (trunk libT) #1698: RunTime Check failure 2009-01-14 13:30:51 +00:00
Charles Kerr 2c1afe07a4 (trunk libT) fix an r7707 bug in tr_sessionGetActiveTorrentCount() 2009-01-13 21:06:07 +00:00
Charles Kerr 08403324bd (trunk libT) Remove tr_torrentNext() from the public libT API (wereHamster) 2009-01-13 16:39:19 +00:00
Charles Kerr db58b89f6e (trunk libT) Clean up RPC server initialization (wereHamster) 2009-01-13 16:35:06 +00:00
Charles Kerr fe816d8135 (trunk) update the GPL code's copyright dates 2009-01-10 23:09:07 +00:00