Commit Graph

461 Commits

Author SHA1 Message Date
Jordan Lee 616bde8c5b (trunk libT) #4138 "use stdbool.h instead of tr_bool" -- fix watch.c error reported by zebulon501 in trac. :) 2011-04-02 07:46:37 +00:00
Jordan Lee a680c4b6cb (trunk libT) fix never-executed code branch detected by clang static analyzer 2011-03-31 05:06:19 +00:00
Jordan Lee e8c22599cb (trunk daemon) fix minor text formatting bug when the ETA is being shown in seconds 2011-03-30 23:11:10 +00:00
Jordan Lee 7e21116e3c (trunk libT) #4157 "'transmission-remote -si' doesn't show alternate download speeds correctly" -- fixed. 2011-03-30 21:19:14 +00:00
Jordan Lee 98633b4145 (trunk daemon) #4156 "request: transmission-remote --session-info report whether µTP is enabled" -- added. 2011-03-30 16:24:45 +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 374ed10f3b (trunk) it's bad form to #include so many system headers in libtransmission/utils.h... 2011-03-16 18:04:23 +00:00
Jordan Lee 934024c195 (trunk daemon) #4118 "transmission-remote, document peer status for H and T in its man page" -- done. 2011-03-14 14:29:00 +00:00
Jordan Lee db3282df47 (trunk daemon) #4094: "move 'Ratio Limit' to 'LIMITS & BANDWIDTH section'" -- fixed. 2011-03-07 15:02:40 +00:00
Jordan Lee 9bf2434e14 (trunk) copyediting: remove trailing spaces from source code lines in daemon/ gtk/ libtransmission/ and utils/ 2011-03-04 23:26:10 +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 3f1b060241 (trunk T) add preliminary enable/disable toggles in daemon, gtk, and qt clients. 'preliminary' because this may be widened to a tri-state of inabled, disabled, and incoming only 2011-02-18 00:33:29 +00:00
Jordan Lee 7df7d34f6d automake/autoconf; #includes in libtransmission 2011-02-18 00:32:19 +00:00
Jordan Lee 2b8124d3ad (trunk) #4019 "Minor patch, kill useless casts in transmission source." -- fixed. patch by jlouis
jlouis used Coccinelle to scan transmission's source for redundant code that casts a type to its own type.
2011-02-12 17:27:47 +00:00
Jordan Lee 9769e07fa9 (trunk) improvement to r11864
Since the contents of getcwd() are undefined on error, explicitly terminate the buffer string if getcwd() fails.
2011-02-09 06:10:01 +00:00
Jordan Lee 2fc40f4b1c (trunk libt) silence a couple of identical compiler warnings: "ignoring return value of ‘getcwd’, declared with attribute warn_unused_result". 2011-02-09 05:42:52 +00:00
Jordan Lee 11d60307cf (trunk libT) #3967 "regression: transmission-daemon's non-inotify watchdir is broken in 2.20 betas" -- fixed.
When inotify isn't available, watch.c uses readdir() to look for new .torrent files. It keeps a list of old .torrent files internally so that it doesn't try to keep re-adding the same file. This list is stored in an evbuffer. As part of the libevent2 upgrade (#3836), r11594 changed how the buffer is searched by replacing the (deprecated) event_find() call with libevent2's evbuffer_search(). However the latter's semantics are different in that searching stops when '\0' is reached, so '\0' is no longer a good filename delimiter. Fixed by changing watch.c's internal delimiter from '\0' to '\t' ... so all those torrents with tabs in their filenames had better watch out.
2011-02-03 17:37:53 +00:00
Jordan Lee cea3221461 (trunk daemon) #3775 "'-tall' no longer works for transmission-remote" -- fixed.
looks like this was broken in r10907 for #3368 in 2.00 when we added "-ta" as the short form of "--tracker-add". "-ta" seems to be conflicting with "-tall". This can be fixed by changing --tracker-add's short form.
2011-02-02 03:17:38 +00:00
Jordan Lee 06884387da (trunk) #3914 "strlsize() passes variable of incompatible type to the tr_formatter_size_B()" -- fixed. 2011-01-19 18:14:01 +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 a65e02257d Fix transmission-remote regression introduced in the last commit. Thanks to Rolcol for spotting this. Mumble, grumble. 2011-01-15 18:22:09 +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
Jordan Lee 69a3b8bbab (trunk, daemon) #3833 "'freespace' argument for 'session-get' RPC method" -- committing patch from taem, reardon, and rb07 2011-01-05 04:41:19 +00:00
Jordan Lee c7cc8301db (trunk) update credits 2011-01-03 05:58:58 +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 44f25c27dc (trunk daemon) tweak the "transmission-remote --info" display for downloading/seeding time 2010-12-27 02:08:45 +00:00
Charles Kerr b6dde3dff6 (trunk) #1408 (Total downloading and seeding time per torrent) -- add to rpc spec and to transmission-remote --info 2010-12-27 02:01:25 +00:00
Charles Kerr a5e2b244dd (trunk daemon) get the non-inotify chunks of code working with libevent2 2010-12-24 15:41:10 +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 70c634878e don't use the nonportable comma formatter in remote.c's printf statements. (that is, use %d instead of %'d) 2010-12-23 19:04:44 +00:00
Charles Kerr 96cbfa635b (trunk daemon) fix compiler warnings on mac 2010-12-23 19:02:21 +00:00
Charles Kerr 168fb2a45d (trunk daemon) #3842 "typo in manpage: abbreviated form of --tracker-remove is listed as -ta instead of -tr" -- fixed. 2010-12-22 03:26:50 +00:00
Charles Kerr 1d9b9ce245 (trunk) clarify http_proxy in the manpages 2010-12-16 16:19:19 +00:00
Charles Kerr 3a5d17cfde (trunk) #1538 "Make Web UI URL configurable" -- added to trunk. Patch by wereHamster 2010-12-12 18:22:11 +00:00
Charles Kerr 4ce7896402 #3763 (trunk, daemon) "remote should read auth info from an environment variable" -- use suggestion from Rolcol to replace TRAUTH with TR_AUTH 2010-12-12 18:12:58 +00:00
Charles Kerr 27a1b2dc33 (trunk) one of the periodic, banal "remove-trailing-spaces from lines of source code" cleanup commits 2010-12-12 16:43:19 +00:00
Charles Kerr 465a2e7c90 (trunk) extremely minor manpage copyediting 2010-12-12 16:36:46 +00:00
Charles Kerr 07d58516cd (trunk daemon) #3580 "feature request: transmission-remote manual update trackers option" -- added. 2010-12-12 15:58:06 +00:00
Charles Kerr d7ac713764 (trunk daemon) #3763 "transmission-remote should be able to read auth info from an environment variable" -- added. patch by fejesjoco. 2010-12-12 15:26:06 +00:00
Charles Kerr c61b3ba54e (trunk daemon) add http_proxy info to the manpages for transmission-daemon and transmission-remote 2010-12-11 21:33:25 +00:00
Charles Kerr f6d39aad04 (trunk daemon) #3324 "'transmission-remote --add' has no output/status messages" -- fixed. 2010-10-16 16:08:40 +00:00
Charles Kerr e598d4c198 (trunk daemon) #3508 "transmission-remote --download-dir doesn't work properly" -- fixed. 2010-09-24 14:23:58 +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 70933cfae1 (trunk daemon) #3511 -- companion to r11249: document these three new arguments in the manpage 2010-09-22 15:23:44 +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 dd84100fcc (trunk daemon) #3506 "transmission-remote --tracker-add feature not working" -- fixed. 2010-09-22 00:01:58 +00:00