Commit Graph

81 Commits

Author SHA1 Message Date
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
Erick Turnquist 2719372bc6 (trunk) #1497 Options to listen on specific network sockets 2009-04-15 21:05:58 +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 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 61fd825e89 (trunk libT) #1723: View version with / from transmission-remote 2009-01-23 19:36:34 +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 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 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 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 f8a7c4b347 #1406: need tr_getDefaultDownloadDir() for consistency between apps 2008-11-15 17:39:54 +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 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 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 cc89872dd4 run libT, cli, daemon, gtk through the source-code formatter "uncrustify" as promised/threatened 2008-09-23 19:11:04 +00:00
Mukund Sivaraman 5ea5613c0f (win32) Rename rpc.[ch] to rpcimpl.[ch] 2008-09-05 14:31:58 +00:00
Charles Kerr d06f101e57 #220: lazy bitfields 2008-08-16 21:06:57 +00:00
Charles Kerr 51aff87443 lots of C correctness tweaks suggested by sparse/cgcc 2008-08-11 19:05:02 +00:00
Charles Kerr 783068bd65 (daemon) fix typo in daemon's help page. 2008-07-27 19:04:29 +00:00
Charles Kerr b7d17d7c3d (daemon) the daemon's -p option is for the rpc port, not the peer port 2008-07-22 17:03:27 +00:00
Charles Kerr 32577c8c9f make the help daemon/remote/cli help pages a little more consistent 2008-07-21 20:37:17 +00:00
Charles Kerr f89a5e23d5 (daemon) plug some minor memory leaks reported by softwareelves 2008-07-16 22:45:28 +00:00
Charles Kerr 7974a1e50a (libT) add proxy port arg as requested by BentMyWookie 2008-07-15 01:03:03 +00:00
Charles Kerr 9fb3bf6412 sync the man pages with the cli/daemon/remote changes 2008-07-08 17:44:33 +00:00
Charles Kerr 1cd9f2351e have daemon and cli use tr-getopt too. 2008-07-08 16:50:34 +00:00
Charles Kerr 64fc8fe2d2 (daemon) #1047: man page inconsistencies 2008-06-21 15:16:16 +00:00
Charles Kerr effb78d674 unify the daemon and gtk client's config files so that you can easily swap back and forth between clients and keep the same torrents and preferences. 2008-06-12 16:25:36 +00:00