Commit Graph

425 Commits

Author SHA1 Message Date
Charles Kerr 66983ddc70 (trunk libT) sync the tr_wait_msec() calls in daemon/ and cli/ 2010-01-01 22:40:54 +00:00
Charles Kerr 2ff810d18f (trunk) use AC_ARG_VAR for some autoconf variables s.t. their values will persist between reconfs 2009-12-18 05:02:48 +00:00
Charles Kerr 4e252aa106 (trunk) fix warnings found by the clang static analyzer, reported & patched by wereHamster 2009-12-07 04:06:14 +00:00
Charles Kerr 78ead8c3dd (trunk) update the copyright notices 2009-12-05 02:19:24 +00:00
Charles Kerr 9f347f8df1 (trunk) #2119 "daemon should reload settings.json on SIGHUP" -- reload the blocklists, too. Suggested by nano- in irc. 2009-12-01 00:07:18 +00:00
Charles Kerr 66ab7bff4a (trunk daemon) fix minor text formatting error in transmission-remote 2009-11-30 02:00:41 +00:00
Charles Kerr ac4edf277e (trunk daemon) #2155: typo fix: honnor -> honor 2009-11-10 16:18:03 +00:00
Charles Kerr 08fea5612f (trunk daemon) yet another commit for #2119 "daemon should reload settings.json on SIGHUP 2009-10-29 23:18:53 +00:00
Charles Kerr 24d24e5bc6 (trunk daemon) change a couple of flags' types from int to tr_bool. whoo! 2009-10-28 03:23:30 +00:00
Charles Kerr 9a631b666d (trunk daemon) #2155: transmission-remote should allow per-torrent speeds 2009-10-27 21:30:00 +00:00
Charles Kerr 57bfbaabc6 (trunk daemon) #2119: add 'break' to the SIGHUP switch 2009-10-27 16:46:06 +00:00
Charles Kerr 39ba9bbbba (trunk) add SIGKILL handling to daemon, gtk clients. This is revision of r9387 for #2119 2009-10-24 16:18:40 +00:00
Charles Kerr 37aaf66d4e (trunk) #2527: daemon should log messages to syslog 2009-10-23 05:00:16 +00:00
Charles Kerr c85ee09fef (trunk) trunk's just been too stable lately. #2119: reload settings.json on SIGHUP 2009-10-23 03:41:36 +00:00
Charles Kerr d441f770e7 (trunk daemon) #1483: add "incomplete dir" support to transmission-remote 2009-10-19 05:34:00 +00:00
Charles Kerr 45839606db (trunk daemon) fix a few compiler warnings 2009-10-17 07:01:56 +00:00
Charles Kerr 61042404ad (trunk) replace tr_tracker_stat's "isActive" field with the more descriptive "isBackup" 2009-10-10 00:17:00 +00:00
Charles Kerr f607c7591a (trunk) #2463: 'Mac Client shows huge "next announce in" timer' 2009-10-09 21:30:34 +00:00
Charles Kerr 4a09a1de13 (trunk) remove tr_stats fields: downloaders, leechers, seeders, timesCompleted as per discussion with livings 2009-09-26 06:20:33 +00:00
Charles Kerr 86ada18266 (trunk)
#1699: Announce to multiple trackers at once
#2424: Tracker address is not listed in GTK client.
2009-09-25 21:05:59 +00:00
Charles Kerr b9517b9826 (trunk) silence manpage warnings reported by lintian and recorded at http://lintian.debian.org/full/costela@debian.org.html#transmission 2009-09-15 14:11:46 +00:00
Charles Kerr e1c85ea7a1 (trunk daemon) fix minor new display bug in 1.74b1 added in r8908 for #2328 2009-08-22 15:08:07 +00:00
Charles Kerr 62c7fbb1a3 (trunk daemon) #2348: Allow transmission-remote to show time remaning to seed 2009-08-22 14:52:24 +00:00
Charles Kerr 0730986c1c (trunk daemon) #2158: transmission-remote should support "turtle mode" 2009-08-17 20:41:06 +00:00
Charles Kerr 02cd9597e5 (trunk daemon) minor: fix some tab damage 2009-08-17 14:29:39 +00:00
Charles Kerr 5a81ca939d (trunk, daemon) #2328: update the manpage to show the new "session stats" feature (Waldorf) 2009-08-16 23:33:01 +00:00
Charles Kerr 75e57001c7 (trunk libT) ticket #2328's commit r8908 broke transmission-remote for platforms that don't have ngettext(). fix supplied by KyleK. 2009-08-15 16:43:25 +00:00
Charles Kerr 718f88fc9e (trunk daemon) #2328: new enhancement: allow transmission-remote to query the daemon for stats (Waldorf) 2009-08-13 03:54:54 +00:00
Charles Kerr bf1a544939 (trunk) all this commit does is remove trailing whitespace from some c, c++, and javascript source 2009-08-12 14:40:32 +00:00
Charles Kerr cb79214854 (trunk) remove trailing spaces 2009-08-10 20:04:08 +00:00
Charles Kerr 5018a1b0d2 (trunk) rephrase "tracker returned..." to "tracker gave..." which is equally expressive but saves a little space on the status line 2009-08-06 07:04:19 +00:00
Charles Kerr a4767894e7 (trunk) #1400, #2308: differentiate warnings and errors; differentiate between local messages and messages from the tracker 2009-08-05 01:25:36 +00:00
Erick Turnquist 4a74674da2 (trunk daemon) fix usage typo 2009-07-10 18:52:31 +00:00
Eric Petit ff50449d33 Only use libm if it's there and needed 2009-07-09 17:57:31 +00:00
Charles Kerr ffc54a8c7e (trunk) #2245: defined macros 2009-06-25 01:57:31 +00:00
Charles Kerr 80987859a7 (trunk daemon) fix error where the code fell out-of-sync with the RPC spec. reported by Elbandi 2009-06-25 00:26:40 +00:00
Charles Kerr 4249a6768a (trunk daemon) capitalization fix reported by Elbandi 2009-06-23 01:07:09 +00:00
Charles Kerr c859f06742 (trunk) autoconf/automake: move libdht.a into a DHT_LIBS variable 2009-06-19 23:50:09 +00:00
Charles Kerr a82cccadab (trunk daemon) #2220 truncated pointer interpreted as truth value 2009-06-17 14:49:23 +00:00
Charles Kerr 1b571f20ea (trunk) document the -g arg a little better 2009-06-16 19:50:01 +00:00
Charles Kerr 2b63e5d89e trunk: explain in the manpages that -g can be used to swap between the daemon, cli, gtk, and qt clients. This minor change is to finish out debian bug #470076 2009-06-16 19:18:13 +00:00
Charles Kerr 73f3c3ad8c (trunk) replace LIBEVENT_CPPFLAGS with LIBEVENT_CFLAGS 2009-06-14 16:51:22 +00:00
Charles Kerr 254e9d156c (trunk libT) #2206: add settings.json documentation to daemon manpage 2009-06-13 21:32:13 +00:00
Charles Kerr 9a4aa3df1e (trunk libT) #2188 transmission-remote can't parse deflate()d responses 2009-06-09 15:45:09 +00:00
Charles Kerr 924ac89f8d (trunk) set properties on $Id$ files that were missing them 2009-06-05 17:52:02 +00:00
Charles Kerr bd0a4ab5bb (trunk daemon) #2149: daemon's non-inotify watchdir fails on .torrents with old timestamps 2009-06-05 17:02:29 +00:00
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 dfa3e0f5b6 (trunk daemon) fix r8595 oops 2009-06-03 13:24:02 +00:00
Charles Kerr b064d75457 (trunk daemon) handle the alt-speeds in transmission-remote's --session-info dump 2009-06-03 13:07:55 +00:00
Charles Kerr 9238fb0299 (trunk) #2131: clean up benc read/write API 2009-06-02 01:48:48 +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 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 49cd5c94c0 (trunk daemon) #2028: transmission-remote's exit code should be nonzero on failure 2009-05-18 16:05:56 +00:00
Charles Kerr 1c3f3acbca (trunk) add an option to the JSON generator to disable the human-readable indentations. Keep indenting the data files such as settings.json, but don't indent the messages used for RPC. This cuts the cost of deflate()ing those RPC messages by about 80%... 2009-05-16 05:51:52 +00:00
Charles Kerr 27bcce628c (trunk daemon) add --paused argument to pause all on startup 2009-05-13 19:58:04 +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
Charles Kerr 0209b783eb (trunk) #2031: Unable to select torrent by hash 2009-05-08 17:24:16 +00:00
Charles Kerr 6559fbbd16 (trunk) support an X-Transmission-Session-Id header in the RPC server. Yesterday's approach of including the session_id in posted forms -- which is a typical approach -- isn't sufficient for Transmission, since it also allows remote access via JSON/RPC. (part 1 of 2. part 2 is kjg's web ui patch) 2009-05-08 14:56:11 +00:00
Charles Kerr 872465d12e (trunk) revert r8351; it's not a sufficient fix 2009-05-08 14:35:02 +00:00
Charles Kerr 3cc43a7d03 (trunk libT) add a session_id cookie to the rpc server 2009-05-08 02:37:46 +00:00
Charles Kerr cae89d9b2a (trunk daemon) fix rounding error in transmission-remote display. Patch by wereHamster 2009-04-22 21:00:52 +00:00
Erick Turnquist 2719372bc6 (trunk) #1497 Options to listen on specific network sockets 2009-04-15 21:05:58 +00:00
Charles Kerr a2edfc290f (trunk daemon) #1981: Setting ratio on the command-line doesn't work` 2009-04-14 14:24:57 +00:00
Charles Kerr 57f6e81dba (trunk daemon) #1983: Random port not working properly 2009-04-09 21:10:58 +00:00
Charles Kerr 6bcce280dc (trunk) back out the avahi patch 2009-04-05 17:34:34 +00:00
Charles Kerr 3ef8240b80 (trunk) If avahi's zeroconf implementation is available, use it to advertise our web ui 2009-04-05 15:49:03 +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
Mitchell Livingston faa5d70c6f #1157 random port for daemon 2009-04-03 01:26:18 +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 f4557fab8e (trunk) use tr_bencDict{Find,Add}Bool() where appropriate 2009-03-29 23:05:32 +00:00
Charles Kerr ea7c0b46bf (daemon) remove debugging printf 2009-03-27 12:03:41 +00:00
Charles Kerr b1fc4ed8c4 (trunk) #1950: Add off-peak hour bandwidth limiting to libtransmission, rpc 2009-03-25 19:18:00 +00:00
Charles Kerr 087b97cbd2 (daemon) fix incorrect #ifdef to get zlib compression working on rpc requests 2009-03-23 00:14:41 +00:00
Charles Kerr e037e58411 (trunk daemon): #1899: if the daemon isn't responding, timeout transmission-remote after 60 seconds. 2009-03-10 00:10:20 +00:00
Charles Kerr 93b3d1ad7e (trunk) #1881: promote tr_strratio() to libtransmission, so that its code doesn't have to be repeated in all the clients 2009-03-04 16:16:02 +00:00
Charles Kerr c30983ff96 (trunk daemon) #1881: Displayed ratio should be truncated, not rounded 2009-03-04 16:02:50 +00:00
Charles Kerr e47808c277 (trunk) #1608: Completed pieces bitfield in rpc 2009-03-02 05:48:32 +00:00
Charles Kerr b564fb2d7a oops, I left in the #undef WITH_INOTIFY that I was using to test the readdir() implementation... 2009-03-01 15:39:50 +00:00
Charles Kerr 05bc8472dc (trunk daemon) #1882: take KyleK's suggestion of using inotify when possible. As he writes, "the opendir() approach will basically prevent my NAS drives to go to standby." 2009-03-01 15:38:58 +00:00
Charles Kerr 8b722071fd (trunk daemon) another experiment: implement the watchdir with opendir() and readdir(), since those are available on every system we're on, even embedded ones... 2009-02-28 15:27:39 +00:00
Charles Kerr 09161120eb better configure-time checking for inotify & kqueue. 2009-02-28 14:43:37 +00:00
Charles Kerr 5876ad8acc (trunk daemon) experimental commit for part of #1483: adding a WatchDir to transmission-daemon. I don't know if this will work out because of (1) any possible C/C++ issues, and (2) maybe some embedded systems don't have inotify and/or kqueue? 2009-02-27 21:49:31 +00:00
Charles Kerr ec639cb34b (trunk daemon) #1833: sum-total line of speed up & down columns at the end of transmission-remote -l 2009-02-27 15:59:09 +00:00
Charles Kerr 852c61afe1 (trunk daemon) #1833: Sum-total line of speed Up and Down colums, at the end of the transmission-remote -l report 2009-02-25 18:06:57 +00:00
Charles Kerr 2c43c68306 (trunk daemon) #1819: Indicate torrent error in list 2009-02-23 03:26:01 +00:00
Charles Kerr d5411c14e8 (trunk daemon) #1843: status not shown anymore 2009-02-18 13:10:00 +00:00
Charles Kerr dfa9f075a4 (trunk daemon) #1819: indicate torrent error in transmission-remote -l 2009-02-18 02:24:12 +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 ab765330ec (trunk libT) #1784: add .netrc support to transmission-remote 2009-02-10 16:22:59 +00:00
Charles Kerr ec113c60e1 (trunk libT) #1392: changing per-torrent peer limits via transmission-remote 2009-02-09 19:36:29 +00:00
Charles Kerr 7026258127 (trunk libT) #1800: Display glitch in "transmission-daemon -l" when all files in a torrent are disabled 2009-02-09 17:44:47 +00:00
Charles Kerr 6ebfd38630 (trunk libT) #1777: Size column in transmission-remote 2009-02-06 23:06:56 +00:00
Charles Kerr 4420112321 (trunk libT) #1777: apply turbo's transmissio-remote.2.diff patch for formatting the -l function a little better 2009-01-31 14:42:01 +00:00
Charles Kerr 7b3db49c76 (trunk libT) #1777: Size column in transmission-remote 2009-01-30 23:29:18 +00:00
Charles Kerr 00066f7a58 (trunk daemon) mention --session in the transmission-remote manpage 2009-01-30 18:14:45 +00:00
Charles Kerr 6a1c91b6ca (trunk) same as r7786, but in daemon & gtk too 2009-01-24 00:28:41 +00:00
Charles Kerr 61fd825e89 (trunk libT) #1723: View version with / from transmission-remote 2009-01-23 19:36:34 +00:00
Charles Kerr 082cf8c370 (trunk daemon) #1718: -f and -p? do not agree on first file index 2009-01-20 16:16:11 +00:00
Charles Kerr 69e013012f (trunk libT) annotate the help & man page to note that URLs are accepted by the --add argument 2009-01-18 15:27:12 +00:00
Charles Kerr 27cb7caf55 (trunk libT) In RPC, add general support for nonblocking methods, and specific support for adding a torrent via its URL and fetching it via curl without blocking. 2009-01-18 15:24:26 +00:00
Charles Kerr c512ca3f91 (trunk daemon) #1707: Show peer progress in --peers view 2009-01-17 16:44:16 +00:00
Charles Kerr f5ace9a71c (trunk daemon) #1704: --info and/or --files should show the download directory 2009-01-17 14:58:50 +00:00
Charles Kerr da1b8f03b2 (trunk daemon) #1671: transmission-remote --get option not including all files 2009-01-13 05:32:06 +00:00
Charles Kerr 390beb738b (trunk libT) #1619: remove an unnecessary preprocessor check 2009-01-12 20:01:37 +00:00
Charles Kerr fe816d8135 (trunk) update the GPL code's copyright dates 2009-01-10 23:09:07 +00:00
Charles Kerr 130a9111cf (trunk libT) handle the special-case tracker timestamps in "transmission-remote --info" 2009-01-10 14:23:58 +00:00
Charles Kerr 2eb9888db4 (trunk libT) fix getConfigDir() bug reported by wereHamster 2009-01-09 19:16:52 +00:00
Charles Kerr aae21f8a72 (trunk daemon) #1619: add __UCLIBC__ test based on feedback from irc user "Whoopie" 2008-12-31 13:51:25 +00:00
Charles Kerr 47bb6a0438 (trunk daemon) another patch from er13 for ticket #1618 2008-12-30 22:26:05 +00:00
Charles Kerr 6bec82d0a6 (trunk libT) have tr_bencSaveAsJSON() use an evbuffer 2008-12-30 22:07:39 +00:00
Charles Kerr 694a980348 (trunk daemon) #1618: patch from er13 to make transmission-daemon's encryption, port, and peer limit command-line arguments similar to transmission-remote's 2008-12-30 18:18:34 +00:00
Charles Kerr f540aab690 (trunk daemon) #1642: fix bug in auth & no-auth command-line options 2008-12-30 01:55:43 +00:00
Charles Kerr 8d8407baa1 (trunk daemon) #1619: tm-daemon: daemon mode fails on mipsel 2008-12-26 01:36:32 +00:00
Charles Kerr 2a3142bf50 (trunk daemon) #1619: fix noclose error in our fallback implementation of daemon() 2008-12-25 22:06:48 +00:00
Charles Kerr d7613a57f2 (trunk daemon) minor fixes to the daemon manpage 2008-12-23 23:54:53 +00:00
Charles Kerr ff1fddbadc (trunk daemon) fix daemon connectivity error introduced in r7366 2008-12-16 15:27:07 +00:00
Charles Kerr 9594112d27 updated email address 2008-12-16 00:20:44 +00:00
Charles Kerr e56643d7e7 (trunk daemon) added --dump option to dump the settings to stderr and exit. 2008-12-14 01:22:06 +00:00
Charles Kerr 6b0d98a695 (trunk) #1559: Simplify tr_sessionInitFull 2008-12-13 23:17:36 +00:00
Charles Kerr 6924741843 (trunk daemon) #1583: daemon ignores IP address whitelist 2008-12-10 19:00:19 +00:00
Charles Kerr a33b78fc53 (daemon) #1510: kysucix's patch to give an option to delete local data via RPC when removing a torrent. 2008-12-09 17:01:49 +00:00
Charles Kerr d440523475 (daemon) #1520: "transmission-remote -l" doesn't show infinite ratio properly 2008-11-30 17:03:45 +00:00
Charles Kerr b8e9ef54fe (daemon) #1520: "transmission-remote -l" doesn't show infinite ratio properly 2008-11-27 17:28:18 +00:00
Charles Kerr a1cd6d85dc (libT) add #ifdefs to ensure that client apps don't #include private libtransmission headers. 2008-11-24 20:17:36 +00:00
Charles Kerr 1d6710d150 (daemon) #1503: tr-remote debug prints wrong rpc post & response data 2008-11-23 20:38:08 +00:00
Charles Kerr cf752710b2 (daemon) #1503: tr-remote debug prints wrong rpc post data 2008-11-23 15:38:44 +00:00
Charles Kerr f8a7c4b347 #1406: need tr_getDefaultDownloadDir() for consistency between apps 2008-11-15 17:39:54 +00:00
Charles Kerr 763ce2d9a3 (daemon) in the help and man page, add the word "global" to the global speed limit options, to clarify that they're not per-torrent 2008-11-13 16:18:48 +00:00
Charles Kerr a4472fc529 #1443: check for zlib fails when providing a specific path 2008-11-09 15:43:31 +00:00
Charles Kerr 1de84ac936 #1426: static linking error: move ssl to after libcurl, since libcurl links against ssl 2008-11-06 13:51:28 +00:00
Charles Kerr b4d5883c17 (daemon) #1420: transmission-remote --peers doesn't work right 2008-11-04 17:04:41 +00:00
Charles Kerr 0f6499b3c7 bah, futz with the remote strings a little more. 2008-11-01 14:59:49 +00:00
Charles Kerr 738af61ab9 (daemon) make getStatusStr() pass the smell test a little better 2008-11-01 06:22:14 +00:00
Charles Kerr d0312934a8 (daemon) tweak the r7000 text a bit 2008-11-01 04:28:07 +00:00
Charles Kerr ba212cebc0 (daemon) add more descriptive states for the --list feature for easy grepping 2008-10-31 23:56:14 +00:00
Charles Kerr 91ac2ec337 janitorial: tr_handle -> tr_session 2008-10-28 19:49:33 +00:00
Charles Kerr 82a670fe1a fix daemon bug: TRANSMISSION_HOME, when set, wasn't correctly honored 2008-10-28 16:39:35 +00:00
Charles Kerr 9fe6f403eb janitorial.
(1) re-enable `deflate' in transmission-remote iff libz is installed
(2) change c++-style comments to c-style comments
(3) add positional arguments to a couple of libT strings marked for translation
2008-10-27 18:09:15 +00:00
Charles Kerr 674307add7 Add a new token, TR_DEFAULT_ENCRYPTION, and use it as the default in the various clients.
Add a new #define, TR_EMBEDDED.  When it's set, gettext is disabled and non-encrypted connections are the default.
2008-10-22 17:16:12 +00:00
Charles Kerr 944076a79d (daemon) #1352: -g/--config-dir flag is ignored 2008-10-15 18:18:50 +00:00
Charles Kerr 59c2a61971 one more batch of changes from Spry 2008-10-14 20:31:16 +00:00
Charles Kerr b04be5fb2e make MAX_PATH_LENGTH private to libtransmission. add tr_dirname() and tr_basename() utility / portability wrappers 2008-10-14 03:39:16 +00:00
Charles Kerr e3a5524189 have tr_buildPath() allocate memory from the heap rather than using an input buffer 2008-10-14 03:03:29 +00:00
Charles Kerr b824c704b7 first batch of portability changes based on spry's winport:
(1) added tr_getcwd(), a simple portability wrapper for getcwd()
(2) cli: show the help page if no command-line arguments are provided
(3) daemon: use tr_wait() intead of sleep()
(4) daemon: SIGQUIT, SIGPIPE, SIGHUP aren't defined on windows
(5) libtransmission: a couple of small cleanups to bencode.c, list.c, web.c
(6) libtransmission: win32 portability fixes to platform.c
2008-10-13 22:26:02 +00:00
Charles Kerr 98dbd675cb (rpc) #1330: Uncompressed, non-DEFLATE response broken 2008-10-08 12:13:01 +00:00
Charles Kerr 6cba9305ae add a separate flag for enabling/disabling the rpc address whitelist 2008-10-01 22:59:29 +00:00
Charles Kerr bddf34d7a8 #1309: Web/RPC interface ACL ignored 2008-10-01 20:23:57 +00:00
Charles Kerr 585a9783ad add support for compressing the content served by the rpc server -- rpc responses and clutch html/css/js files 2008-10-01 15:53:56 +00:00
Charles Kerr 59e5e7c95b (daemon) #1310: Output of transmission-remote --list gets unaligned when up/download speed exceeds 1000 KB/s 2008-09-30 15:54:14 +00:00