Commit Graph

252 Commits

Author SHA1 Message Date
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
Charles Kerr d75410656d update the daemon manpage to explain wildcarding in the ACL 2008-09-26 16:51:12 +00:00
Charles Kerr bd5a2ae6b8 (libT) experimental code to serve clutch/rpc via evhttpd 2008-09-25 05:03:39 +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 2d2be03c34 (daemon) #1234: Improve transmission-remote's help info to not confuse a user 2008-08-27 19:19:38 +00:00
Charles Kerr 82815a74d2 #1214: add RPC support for per-peer status,ul,dl,address info 2008-08-22 17:59:31 +00:00
Charles Kerr 812b6a1218 roll back the last two diffs (r6582 and r6583) in favor of a simpler/cleaner/better fix 2008-08-18 03:44:09 +00:00
Charles Kerr a16568db66 hudson-t is a wuss 2008-08-18 03:14:54 +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 3cb903d365 (daemon) #1177: transmission-remote -a segaults on nonexistent filenames 2008-08-11 16:04:46 +00:00
Charles Kerr 783068bd65 (daemon) fix typo in daemon's help page. 2008-07-27 19:04:29 +00:00
Charles Kerr cdfe681d05 (daemon) #1107: transmission-remote -t[n] -i should display webseeding info 2008-07-27 14:29:43 +00:00
Charles Kerr 65941f16bb (daemon) #1115: there are two “--help” entries in transmission-remote help page 2008-07-26 17:18:16 +00:00
Charles Kerr 771f299c53 (rpc) to lower the bandwidth/cpu used up by very large torrent lists, allow finer-grained control over which fields to return in the `torrent-get' request. 2008-07-26 14:47:07 +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 95acdc3e3a (rpc) 1099: transmission-remote confuses -ph, -pn and -pl (priorities) options with the -p (port) option 2008-07-22 12:24:32 +00:00
Charles Kerr fd3e7e9e7f (rpc) #1101: Show the individual progress for each file in transmission-remote 2008-07-22 12:20:17 +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 5da99a7360 #1099: transmission-remote confuses -ph, -pn and -pl (priorities) options with the -p (port) option 2008-07-21 19:24:35 +00:00
Charles Kerr c47c620a47 (daemon) #1100: Ratio is inversed in the remote's torrent transfer details 2008-07-21 18:44:54 +00:00
Charles Kerr c06be77724 #1101 (rpc): add individual file progress to torrent-get's "files" message 2008-07-21 18:42:51 +00:00
Charles Kerr 7372c4f39f add more rpc unit tests. man page cleanups. 2008-07-21 16:11:47 +00:00
Charles Kerr f89a5e23d5 (daemon) plug some minor memory leaks reported by softwareelves 2008-07-16 22:45:28 +00:00
Charles Kerr 02fc30e29a add wrapper for invoking transmission-daemon in valgrind 2008-07-16 20:36:21 +00:00
Charles Kerr 2f239319b0 add a portability wrapper ``tr_snprintf()'' around snprintf() 2008-07-15 17:16:57 +00:00
Charles Kerr 7974a1e50a (libT) add proxy port arg as requested by BentMyWookie 2008-07-15 01:03:03 +00:00
Charles Kerr 291d30239d (daemon) more cleanup work on remote's help and manpage 2008-07-11 18:14:09 +00:00
Charles Kerr 45a216bdc2 (daemon) let file download flags and priorities be set by transmission-remote. Add examples to the man page and --help.
(libT) minor tweaks to tr-getopt
(gtk) tweak the preference dialog's "port forwarding" text for clarity as suggested in the forums
2008-07-10 20:59:15 +00:00
Charles Kerr b36d3f6d35 (daemon) remote: clarify the % done vs. % verified a bit. Thanks to feedback from andersos 2008-07-10 19:22:49 +00:00
Charles Kerr 35d9c9b1c5 (daemon) in remote's `info' feature, bound the verified & download progress from [0..100] instead of [0..1] 2008-07-10 18:16:21 +00:00
Charles Kerr ba80e4c2d0 (daemon) in remote's "info" feature, separate "progress" into "recheck progress" and "download progress". 2008-07-10 17:19:43 +00:00
Charles Kerr e7d0da55c4 (daemon) #1078: possible fix... reuse the -l's "state" code for -i 2008-07-10 17:07:12 +00:00
Charles Kerr 1b8435aa02 (1) remote: fix bug with specifying torrent id for file list.
(2) very minor cleanup
2008-07-10 14:20:36 +00:00
Charles Kerr 30c9223295 (daemon) fix bug in the --list command's ratio display 2008-07-09 15:16:43 +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 33c817cc1f fold the rewritten getopt code into libT 2008-07-08 14:29:05 +00:00
Charles Kerr e071c791a1 oops, remove some debugging print messages from the previous commit. (hi titer) 2008-07-08 03:42:27 +00:00
Charles Kerr 639896958f cleanup the new getopt code a bit. sync remote's manpage. 2008-07-08 03:19:01 +00:00
Charles Kerr 415214f15b (daemon) allow wildcards to be used when adding torrents again, such as "transmission-remote -a ~/Desktop/*torrent" 2008-07-07 21:23:34 +00:00
Charles Kerr a248862bbc transmission-remote: add a very detailed torrent `info' command 2008-07-07 05:53:15 +00:00
Charles Kerr d2e1049c78 (daemon) add file-listing capabilities to transmission-remote 2008-07-07 03:38:22 +00:00
Charles Kerr 707f5b81e1 #1055 transmission-remote --list outputs an empty list 2008-06-24 08:37:08 +00:00
Charles Kerr 072bbce030 (daemon) #1046: "transmission-remote -l" should display percentage done and ETA 2008-06-21 15:49:18 +00:00
Charles Kerr 64fc8fe2d2 (daemon) #1047: man page inconsistencies 2008-06-21 15:16:16 +00:00
Charles Kerr d4a6ccb375 sync remote w/r6222 2008-06-19 13:15:44 +00:00
Charles Kerr 509dbaae3d senseless RPC changes 2008-06-18 22:01:15 +00:00
Charles Kerr 75cb355579 (rpc) fix sorting. simplify the spec, folding similar functions together 2008-06-17 16:25:13 +00:00
Charles Kerr 518f277e9f (RPC) add utility arguments for torrent-info: sort by (activity|age|id|name|progress|ratio|state|tracker), filter by (active|all|downloading|paused|seeding) 2008-06-16 22:11:50 +00:00
Charles Kerr 6cce27bf54 (rpc) simplify the rpc accessors 2008-06-16 03:47:50 +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
Charles Kerr af8e44a5e7 maybe *now* 1.30 is feature complete: by popular demand, add proxy support for SOCKS4/SOCKS5. This will break the mac build temporarily. 2008-06-11 20:45:53 +00:00
Charles Kerr 9d793846c0 take out some console test messages that weren't supposed to be checked into r6146 2008-06-11 20:13:31 +00:00
Charles Kerr 71c2cdd1ea #966: allow blocklist support in the daemon. add extra info in the man page explaining how to add blocklists. 2008-06-11 20:09:36 +00:00
Charles Kerr b94893a4c9 wire up the backend proxy support. 2008-06-10 16:16:31 +00:00
Charles Kerr 550a183d16 (daemon) #1008: tr-remote crash when using -a flag (connecting to mac client) [r6093] 2008-06-09 23:34:52 +00:00
Charles Kerr ebc3deeec8 #1004: update man pages FILES section 2008-06-09 15:06:48 +00:00
Charles Kerr 486bb768f0 add authentication support to daemon & remote 2008-06-05 18:16:59 +00:00
Charles Kerr 9694ed9fe0 (rpc) better debugging messages in transmission-remote 2008-05-27 21:47:07 +00:00
Charles Kerr 0ab37e45d5 (rpc)
1. fix #968: 'transmission-remote -r' deletes all
2. fix error in escaping control characters when serializing tr_benc to JSON
3. fix small memory leak in rpc command parsing
2008-05-24 18:22:16 +00:00
Charles Kerr d18fb68fbc sine we now have two public ports (peer and rpc), rename "publicPort" as "peerPort" 2008-05-23 16:18:58 +00:00
Charles Kerr 9fdb8afdf0 (rpc) remove TR_RPC_TORRENT_CLOSING. formalize "torrent-list"'s response in the rpc spec. 2008-05-22 19:24:11 +00:00
Charles Kerr c7b9c8c043 (#954) rpc: add "torrent-remove" method. rename tr_torrentDelete() as tr_torrentRemove() for consistency with various parts of the code. 2008-05-20 23:58:59 +00:00
Charles Kerr 7d3e3d6dd6 fix up the man pages a bit 2008-05-20 18:21:36 +00:00
Charles Kerr 7beacb3032 (1) RPC "add-torrent" now lets clients embed base64-encoded metainfo directly into the request
(2) remove the RISON code; it didn't make the final cut
(3) add base64 encode/decode utilities and unit tests
2008-05-20 17:33:54 +00:00
Charles Kerr 9815e48daf tweak the daemon & remote console messages a little 2008-05-20 14:01:15 +00:00
Charles Kerr 8ea0437bcf sync man page with the transmission-remote rewrite 2008-05-19 18:53:11 +00:00
Charles Kerr d7f0e0fa1e * better RPC handling of requests submitted via http POST
* plug a pair of minor memory leaks reported by valgrind.
2008-05-19 18:16:58 +00:00
Charles Kerr 52db6baa7a minor tweaks. 2008-05-19 16:16:38 +00:00
Charles Kerr f9f8e18865 updated daemon manpage 2008-05-19 15:50:30 +00:00
Charles Kerr 5693ba9c71 fix compile error reported by BentMyWookie 2008-05-19 00:21:16 +00:00
Charles Kerr dde9cb49f2 fix the cyclical header dependency, and fix a couple of warnings sniffed out by gcc 4.3 2008-05-19 00:12:31 +00:00