Commit Graph

185 Commits

Author SHA1 Message Date
Jordan Lee fbc7f3dc3c (trunk) use base-10 units for network bandwidth (ie, speed) and disk sizes.
It looks like the Mac client is already doing this and it's clearly the trend in other apps as well. Even apt-get is using kB/s, ferchrissake... :)

Flame away.
2012-02-03 21:21:52 +00:00
Jordan Lee 4152033360 (trunk daemon) #4301 "strerror used instead of tr_strerror" -- fixed with a patch from taem 2011-05-30 15:28:55 +00:00
Jordan Lee a802852fef (trunk daemon) #2338 "Add uTP support" -- added er13's patch from comment:115 to add uTP enable/disable commands to transmission-remote. Thanks er13! 2011-04-20 23:17:10 +00:00
Jordan Lee 375694eda9 (trunk) copyediting: remove some unneeded #includes, and annotate some needed ones 2011-03-24 21:49:42 +00:00
Jordan Lee b4d36aeb54 (trunk) #4138 "use stdbool.h instead of tr_bool" -- done. 2011-03-22 15:19:54 +00:00
Jordan Lee 779f52069a (trunk libT) ensure that the last few log messages actually get logged before shutdown finishes. 2011-02-20 19:12:45 +00:00
Jordan Lee 649a9b139d remove a couple of #includes that we don't need anymore after the previous commit. 2011-02-18 17:09:46 +00:00
Jordan Lee f8b739f0f9 (trunk daemon) simplify the code in the fallback implementation of daemon() for systems that don't have this function themselves. 2011-02-18 17:05:17 +00:00
Jordan Lee 879a2afcbd Update the copyright year in the source code comments.
The Berne Convention says that the copyright year is moot, so instead of adding another year to each file as in previous years, I've removed the year altogether from the source code comments in libtransmission, gtk, qt, utils, daemon, and cli.

Juliusz's copyright notice in tr-dht and Johannes' copyright notice in tr-lpd have been left alone; it didn't seem appropriate to modify them.
2011-01-19 13:48:47 +00:00
Jordan Lee a433b0c4cc #3686 "add rpc command to cleanly shutdown daemon" -- added for libT, tr-daemon, tr-gtk, tr-remote, and the rpc spec 2011-01-15 18:12:45 +00:00
Jordan Lee d6d6fd2d7e (trunk daemon) "--logfile is unreliable on Solaris 10" -- fixed. 2011-01-15 17:14:15 +00:00
Charles Kerr e5bb3205a1 (trunk) Join the 21st century and use only 1 space at the end sentences. This commit is nearly as important as the semi-annual ones that remove trailing spaces from the ends of lines of code... :) 2010-12-27 19:18:17 +00:00
Charles Kerr b07d0db82b (trunk daemon) #3836 "libevent2 support" -- fix libevent #includes in the daemon/ directory 2010-12-24 09:11:23 +00:00
Charles Kerr 0d27dff042 (trunk daemon) #3511 "setting TR_DEBUG environment variable has no effect" -- rename --log-err as --log-error for consistency 2010-09-22 22:19:21 +00:00
Charles Kerr f79d45effb (trunk daemon) #3511, part 1 of 2: add command-line options to the daemon to set verbosity level 2010-09-22 15:16:42 +00:00
Charles Kerr c01c18b46b (trunk) make --version/-V behave the same in the other apps too 2010-08-09 00:18:26 +00:00
Charles Kerr e6bafdf26b (trunk) #3045 "size units" -- sync the default units in all the apps s.t. they're consistent with each other 2010-07-28 00:31:11 +00:00
Charles Kerr 0b42fcf730 (trunk daemon) fix r10968 oops 2010-07-07 18:51:23 +00:00
Charles Kerr 674e555182 (trunk daemon) #3401 "can't set pid option on daemon in settings.json" -- fixed 2010-07-07 18:49:06 +00:00
Charles Kerr 610061f79a (trunk T) #3045 "units" -- modify the formatter functions based on feedback from BMW 2010-07-06 20:25:54 +00:00
Charles Kerr 7e2175858f (trunk daemon) #3394 "crash with last nightly build on Debian X86 #5189" -- fixed 2010-07-05 23:36:05 +00:00
Charles Kerr eda211e5ce (trunk) #2983: add command-line utilities for creating .torrent files, for editing passkeys, for adding/removing trackers, etc. 2010-06-16 14:27:24 +00:00
Charles Kerr 71c1919cfc (trunk) #3263 "cli-based utils' --help page should limit themselves to 80 columns" 2010-06-16 14:05:18 +00:00
Daniel Lee bd4b0fe6ff (daemon) Log pidfile errors in daemon 2010-05-18 22:25:14 +00:00
Charles Kerr 0cc65eb152 (trunk daemon) #3206 "add pidfile support" -- tweak to r10655 suggested by Longinus00: if the pidfile was successfully created, remove it on exit 2010-05-18 20:58:12 +00:00
Charles Kerr 98d13da40c fix tab damage 2010-05-18 20:45:08 +00:00
Charles Kerr 26fe593048 (trunk daemon) add pidfile support to transmission-daemon 2010-05-18 20:37:49 +00:00
Charles Kerr 4e58a183bb (trunk daemon) #3060 "local peer discovery" -- fix bugs reported by Eszet (thanks Eszet :) 2010-05-15 13:46:46 +00:00
Charles Kerr 2b9ab542cb (trunk) #3060 "Local Peer Discovery" -- in the code, rename LDS as LPD for Local Peer Discovery 2010-05-08 08:42:45 +00:00
Charles Kerr 5a34347f4f (trunk) #3060 -- Local Peer Discovery patch from Eszet 2010-05-01 16:04:00 +00:00
Charles Kerr 39c271388a (trunk daemon) #3141 "Web client should be disabled by default" -- fix bug introduced by r10485 where some users could wind up starting a daemon that did not listen to RPC commands 2010-04-28 20:47:00 +00:00
Charles Kerr aae8a8d202 (trunk) #3141 "Web client should be disabled by default" -- implemented in trunk for 2.0 2010-04-15 18:57:26 +00:00
Charles Kerr e1607c8354 (trunk) #2898 "add pausing and deletion to daemon" -- committed patch from Longinus00 to trunk for 2.00 2010-03-17 19:23:03 +00:00
Charles Kerr a1e4c093f4 (trunk daemon) #2970: "daemon writes 'closing daemon' to syslog after closing syslog" -- fixed in trunk for 1.92 2010-02-24 18:14:40 +00:00
Mitchell Livingston c95104b0d9 replace a reference to "Clutch" to "web interface" in the daemon 2010-02-23 00:27:59 +00:00
Charles Kerr 8a949d0abf (trunk daemon) fix error message typo reported by Longinus00 2010-02-19 05:40:19 +00:00
Charles Kerr 0ecee636d7 (trunk daemon) print a warning to stderr when tr_daemon() can't open /dev/null 2010-02-19 05:25:58 +00:00
Charles Kerr ff2dd75d9f (trunk daemon) #2890 "Add option to specify logfile in transmission-daemon" -- implemented for 1.90 2010-02-11 01:37:59 +00:00
Charles Kerr 0ea501355e (trunk daemon) #2877 "Don't let the daemon launch if settings.json is corrupt" -- implemented in trunk for 1.90 2010-02-07 22:17:42 +00:00
Charles Kerr b6c0fb31b1 (trunk daemon) #2875 "add incomplete-dir, dht, and seedratio options to daemon" -- committed to trunk for 1.90 2010-02-07 19:20:00 +00:00
Charles Kerr a334b422c3 (trunk) remove unnecessary #includes 2010-01-28 13:33:40 +00:00
Charles Kerr 5decc9ffb1 (trunk) add a log message telling the user which configDir is being used and whether or not its settings.json was used 2010-01-12 16:43:37 +00:00
Charles Kerr 5c26afdb52 happy new year! 2010-01-04 21:00:47 +00:00
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 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 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 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 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
Erick Turnquist 4a74674da2 (trunk daemon) fix usage typo 2009-07-10 18:52:31 +00:00
Charles Kerr 9238fb0299 (trunk) #2131: clean up benc read/write API 2009-06-02 01:48:48 +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
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