Commit Graph

240 Commits

Author SHA1 Message Date
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 6e5af03d78 (trunk) #3045 "speed units" -- change the public API of libtransmission based on feedback from livings 2010-07-04 06:07:21 +00:00
Charles Kerr cdcc4705aa (trunk) #3045 "make libtransmission's API byte-oriented instead of KiB-oriented." -- implemented. This is a largish commit and will break the mac build for a little while. 2010-07-03 00:25:22 +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 3ff784ad28 (trunk) #1796 "run script after torrent completion" -- (1) add to transmission-remote. (2) remove cli's custom script handler and have it use libtransmission instead. 2010-05-11 13:36:21 +00:00
Charles Kerr 06f044680a (trunk) #3174 "Use IEC standard units (KiB, MiB, GiB) instead of (KB, MB, GB)" -- implemented for gtk, qt, daemon, cli, and web client 2010-04-28 01:26:46 +00:00
Charles Kerr 7feaa9faae (trunk) #2938 -- sync gtk, mac, and cli clients with previous commit 2010-02-20 15:57:34 +00:00
Charles Kerr 36d97610bd (trunk) #2802, #2716, #2717 -- remember magnet links and their settings between sessions, and allow their trackers to be modified 2010-02-02 22:45:22 +00:00
Charles Kerr 6ec226634f (trunk cli) #2836 "transmissioncli --help shows incorrect usage syntax" -- fixed in trunk for 1.90 2010-01-30 00:49:40 +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 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 7ece5ed6d2 (trunk cli(!)) #2096 "Magnet links - Extension for Peers to Send Metadata Files (BEP #9)" -- add support for adding magnet links as a command-line argument 2009-12-02 22:56:57 +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 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
Charles Kerr e5ff7d8f3e (trunk) #2271: rounding problem in printf() 2009-07-14 20:09:46 +00:00
Eric Petit ff50449d33 Only use libm if it's there and needed 2009-07-09 17:57:31 +00:00
Charles Kerr d63a1eb4ba (trunk cli) make the "creating torrent" message a little better 2009-06-20 00:53:11 +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 1b571f20ea (trunk) document the -g arg a little better 2009-06-16 19:50:01 +00:00
Charles Kerr 73f3c3ad8c (trunk) replace LIBEVENT_CPPFLAGS with LIBEVENT_CFLAGS 2009-06-14 16:51:22 +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 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 e1a71968be (trunk cli) #1805: creating multi-tracker torrents - CLI 2009-05-15 15:42:13 +00:00
Charles Kerr 03a7251054 (trunk) make it possible to #include "version.h" without having to add -I${TOP}/libtransmission/ to your CFLAGS 2009-04-13 19:04:21 +00:00
Charles Kerr d1c6956598 (trunk) tr_metaInfoBuilderCreate() doesn't need a tr_session* handle anymore 2009-04-08 18:47:48 +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
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 2eb9888db4 (trunk libT) fix getConfigDir() bug reported by wereHamster 2009-01-09 19:16:52 +00:00
Charles Kerr b0e9cf7b77 (trunk cli) fix command-line arg mixup for encryption preference, reported by er13 and Whoopie 2009-01-03 23:37:29 +00:00
Charles Kerr 55eb07deff (trunk cli) #1598: peer-port not saved correctly 2008-12-15 19:30:58 +00:00
Charles Kerr 6b0d98a695 (trunk) #1559: Simplify tr_sessionInitFull 2008-12-13 23:17:36 +00:00
Charles Kerr eeb05d1489 (cli) #1547: free memory read 2008-12-02 02:04:32 +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 a4472fc529 #1443: check for zlib fails when providing a specific path 2008-11-09 15:43:31 +00:00
Charles Kerr 42fe27c067 more fucking around with the speed measurements. 2008-11-08 02:49:04 +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 91ac2ec337 janitorial: tr_handle -> tr_session 2008-10-28 19:49:33 +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 0c4f300f1b #1369: clarify the different torrent status & callbacks' APIs and typenames 2008-10-20 17:54:56 +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 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 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 e97ced5a37 (win32) There is no SIGHUP 2008-09-05 15:13:06 +00:00
Charles Kerr 2edfe1907a (cli) #1226: errors should print to stderr 2008-08-27 19:22:03 +00:00
Charles Kerr 64dad38800 (cli) #1223 ratio display in CLI client malformed 2008-08-22 22:54:59 +00:00
Charles Kerr d06f101e57 #220: lazy bitfields 2008-08-16 21:06:57 +00:00
Charles Kerr c75c512ff1 readability improvments #1, #2, #3, #4. (muks) 2008-08-12 13:51:11 +00:00
Charles Kerr 51aff87443 lots of C correctness tweaks suggested by sparse/cgcc 2008-08-11 19:05:02 +00:00
Charles Kerr d65470c9d3 * fix minor error in the rpc spec's examples
* refresh the display more often in the cli client
2008-07-27 14:31:18 +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 c06be77724 #1101 (rpc): add individual file progress to torrent-get's "files" message 2008-07-21 18:42:51 +00:00
Charles Kerr 1737324118 sync the remote and cli's encryption options. man page cleanup. 2008-07-21 16:09:14 +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 54f3b36911 fix r6307 typo 2008-07-09 15:53:26 +00:00
Charles Kerr 1010c9d35b (libT) let tr_getopt() support short options' arguments to be embedded, such as -p51413 2008-07-09 15:39:53 +00:00
Charles Kerr 7dcbfaf91b code cleanup 2008-07-09 15:31:35 +00:00
Charles Kerr d8c37fba58 code cleanup 2008-07-09 01:48:29 +00:00
Charles Kerr 688b9f860a steal some blocklist/encryption options from remote & reuse them in cli 2008-07-08 18:12:36 +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 c3b41b2443 (cli) #938 - transmissioncli won't scrape 2008-06-12 02:11:54 +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 b94893a4c9 wire up the backend proxy support. 2008-06-10 16:16:31 +00:00
Charles Kerr ebc3deeec8 #1004: update man pages FILES section 2008-06-09 15:06:48 +00:00
Mitchell Livingston a7778f63fa #991 fix typo in the cli usage text 2008-06-08 23:59:19 +00:00
Charles Kerr db7b56e9f9 get the cli buildling again. 2008-06-05 20:26:46 +00:00
Charles Kerr 95bd2860a7 #991: Add "--tos" command line option to CLI 2008-06-04 20:04:19 +00:00
Charles Kerr 8db94c5862 #224 (creating multi-tracker torrents): add multitracker support in libT's makemeta API, and in the gtk+ interface. This probably breaks the mac build... 2008-06-01 05:36:23 +00:00
Charles Kerr a85095ffe9 #979: cli doesn't document the -o command-line argument 2008-05-29 17:33:07 +00:00
Charles Kerr 26b5a16630 (libt) more janitorial work on cleaning up tr_session*() and tr_torrent*() functions: session stats, torrent count, and manual update. 2008-05-22 20:44:41 +00:00
Charles Kerr 7b209acc1b more janitorial cleanup on the "tr_session*" namespace. Today's victim: tr_handle_status. 2008-05-22 12:31:47 +00:00
Charles Kerr e406dcc2ab rename tr_torrentClose() as tr_torrentFree() and make it private. change client code to use tr_torrentRemove() instead. This fixes the confusion between the two methods that led to #954 2008-05-21 17:14:58 +00:00
Charles Kerr 7d3e3d6dd6 fix up the man pages a bit 2008-05-20 18:21:36 +00:00
Charles Kerr 2c79888a93 RPC/IPC redesign 2008-05-18 16:44:30 +00:00
Charles Kerr be9427931a ipc: add session accessor/mutators.
transmission.h: make the session API more consistent.
2008-05-12 16:33:17 +00:00
Charles Kerr 37bae3bf75 fix cli compile issue reported & patched by mdomsch 2008-05-06 16:32:45 +00:00
Charles Kerr 3eaac2e16b (gtk,daemon,cli) we don't need to statically link in all of libevnt, just libevent_core. 2008-05-01 14:05:17 +00:00
Charles Kerr caf485d6fb #377: get cli building again 2008-04-24 02:00:38 +00:00
Charles Kerr 7ef2511ca8 #377: preliminary https support. this commit probably breaks mac and cli and is not for the faint of heart. 2008-04-24 01:42:53 +00:00
Charles Kerr 1ae1607025 gtk/cli/daemon/remote/proxy: add command-line argument --config-dir / -g to override the default config dir 2008-04-19 00:41:32 +00:00
Charles Kerr 57c7fcb507 #857: DSCP support for Transmission 2008-04-12 00:29:49 +00:00
Charles Kerr d849ba003b #846: also handle scrape-then-exit 2008-04-06 16:53:26 +00:00
Charles Kerr f42995c872 #846: transmissioncli attempts to bind to port even when not needed 2008-04-06 16:50:41 +00:00
Charles Kerr b71a2985b3 #684: Use XDG basedir spec for configuration and cache files in $HOME 2008-04-05 20:12:11 +00:00
Charles Kerr e61af54481 #837: portability patch submitted by naddy 2008-04-04 01:21:36 +00:00
Charles Kerr f60a957a9e fix the cli build 2008-03-30 02:29:02 +00:00
Charles Kerr 2d4793f281 fix error in the cli manpage 2008-03-28 11:43:36 +00:00
Charles Kerr 3eeaefd575 get cli building again so Hudson will be happy 2008-03-24 17:33:08 +00:00
Charles Kerr c63b548195 fix bug that caused very large torrents to crash Transmission 2008-03-22 18:10:59 +00:00
Charles Kerr 9ee96fd0dc add `verify' command to ipc. 2008-02-27 17:38:39 +00:00
Charles Kerr 2369afa14c Fix a typo in transmissioncli, --create -> --create-from 2008-02-25 21:53:51 +00:00