Commit Graph

285 Commits

Author SHA1 Message Date
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
Charles Kerr 85ccb10a71 #650: CLI ignores options -u0 and -d0 2008-01-22 20:11:28 +00:00
Charles Kerr b9c491d5c1 update some more URLS to www.transmissionbt.com 2008-01-20 14:53:38 +00:00
Charles Kerr 7c908fa11a #623: "transmissioncli -i" crashes. reported by anders in the forums. 2008-01-16 16:47:58 +00:00
Charles Kerr 9661762908 (cli) #462: The -p --port command line param doesn't work 2008-01-01 18:33:54 +00:00
Charles Kerr a867f050f4 (cli) tiennou's verboseLevel cleanup patch, originally in #524 2008-01-01 18:23:23 +00:00
Charles Kerr c4b254f8fd (cli) Ticket #524: print version on the command line with --version or -v 2008-01-01 18:14:05 +00:00
Charles Kerr abfbc1be7b (cli) fix getopt parsing: nat forwarding doesn't need an argument 2008-01-01 18:08:56 +00:00
Charles Kerr d1fe360e64 fix r4405 oops (ticket #564) 2008-01-01 17:38:32 +00:00
Charles Kerr b3dd0a7f56 fix ticket #564: name of binary (transmission-cli) does not match manpage and source 2008-01-01 17:26:10 +00:00
Mitchell Livingston 4723192946 replace other instances of the old url 2007-12-31 01:19:35 +00:00
Charles Kerr 7542573044 brush away the last remnants of tr_torrentInit() 2007-12-22 03:51:12 +00:00
Charles Kerr 73ee11f233 Use libnatpmp for port mapping. rewrite the upnp/natpmp manager.
NOTE: this will break the xpjets build until SoftwareElves or a volunteer patches the xcode project file to make a libnatpmp library just like was done for libminiupnp.
2007-12-08 19:34:15 +00:00
Charles Kerr 1fb09fafa1 commit tiennou's "transmissioncli -f" patch for ticket #322 2007-11-26 16:39:11 +00:00
Charles Kerr b670e8e14a apply tiennou's "output directory" patch from ticket #502 2007-11-26 16:22:36 +00:00
Charles Kerr 87d4bcd278 Change the default port from 9090 to 51413 to get in compliance with IANA's port number assignment scheme. (1024 through 49151 are reserved) 2007-11-22 04:15:22 +00:00
Charles Kerr 66c9119a84 tiennou's fix for #461 2007-11-12 15:15:51 +00:00
Charles Kerr 9df263326d use Thomas Bernard's miniupnp library instead of rolling our own. 2007-11-06 16:02:50 +00:00
Charles Kerr e0965c3a63 better openssl detection & support: use openssl's pkg-config file. 2007-10-28 19:55:03 +00:00
Charles Kerr 9fa2fa2c8f ensure that "make install" installs the man pages. 2007-10-24 22:53:44 +00:00
Charles Kerr c50cadbcaa remove dead code (TR_STATUS_ACTIVE, TR_STATUS_INACTIVE) 2007-10-20 22:07:21 +00:00
Charles Kerr 264f7ab8b3 Dead code removal (TR_STATUS_STOPPING) 2007-10-20 21:17:37 +00:00
Charles Kerr e6c46122fb tyop fix 2007-10-19 23:21:32 +00:00
Charles Kerr 4240f7c60c sending SIGHUP in the cli will now ask the tracker for more peers. (#306, suggested by mtolman, patch by tiennou) 2007-10-19 21:53:35 +00:00
Charles Kerr e698756c98 remove unused flags 2007-10-15 20:58:39 +00:00
Charles Kerr bb84cb9f09 janitorial work for the freeze: (1) finish replacing "transmission-gtk" with "transmission". (2) add Charles to authors lists in man pages. (3) standardize the summary as "A fast and easy BitTorrent client" in the rpm spec, gtk about dialog, and man pages. (4) fold together similar translation strings in the gtk client. (5) use g_strerror instead of strerror in the gtk client. 2007-10-13 17:33:53 +00:00
Charles Kerr e4fec9eefd add tr_stat.peersKnown to indicate how many peers exist in the peer `pool' 2007-10-01 15:51:54 +00:00
Charles Kerr 5f8764c7c6 sync cli with r3220 2007-09-28 15:12:21 +00:00
Charles Kerr fb70a9cca0 remove the backwards compatability typedefs at BentMyWookie's suggestion. update libT, gtk, daemon, and cli accordingly... 2007-09-20 20:14:13 +00:00
Charles Kerr c93b993001 improve cli-driven torrent creation. (Danez, #309 & #310 2007-08-19 02:02:38 +00:00
Charles Kerr db7a354958 more work on getting our autoconf setup to play nice with libevent 2007-08-15 02:48:32 +00:00
Charles Kerr 6cf6dc9142 more hacking on making libevent build, and on making T pick it up in includes & library 2007-08-14 19:53:36 +00:00
Charles Kerr 4676cea866 get libevent building and playing nice with all the other apps 2007-08-14 19:26:49 +00:00
Charles Kerr 059885cbbd (trunk) fix getopt error that made "transmissioncli -n" fail. (Reported w/patch by mtolman in ticket #284) 2007-08-08 06:21:47 +00:00
Josh Elsasser 2ccef1c3fd Revert r2628, it doesn't work. 2007-08-05 03:18:23 +00:00
Josh Elsasser b0cc4f3ff0 Wait for thread to exit before exiting program. 2007-08-04 22:08:15 +00:00
Charles Kerr dbd016e503 sync joshe's changes with win32 2007-08-04 02:55:06 +00:00
Josh Elsasser 93dc3ec971 Fix timing functions (I think). 2007-08-04 02:44:09 +00:00
Charles Kerr 6763ec75e8 more portability fixes 2007-08-02 21:58:34 +00:00
Charles Kerr bbac082af5 finish splitting the rate control from one state into two states as requested by BMW 2007-07-20 08:33:59 +00:00
Charles Kerr bd3ce76fa5 part one of moving the build environment over to automake/autoconf. beware! 2007-07-18 23:04:26 +00:00
Josh Elsasser c3de527978 Fix cli so that it can exit. 2007-07-18 17:31:00 +00:00
Charles Kerr 82fbfb4c47 disambiguate some of the tr_stat_t variables' names 2007-07-16 00:50:43 +00:00
Charles Kerr 321b01d430 make tr_torrentStat() const.
malloc, rather than calloc, the buffer in strndup.
2007-07-15 19:12:54 +00:00
Charles Kerr ad6ae58e06 fix the bugs outlined by cluthi81 in ticket #255. 2007-07-15 17:36:56 +00:00
Charles Kerr 73ca83a455 split tr_stat_t's peersTotal into peersTotal and peersConnected 2007-07-15 17:19:07 +00:00
Charles Kerr 5455df4373 update versioning scheme as per consensus between TMT, John_Clay, Gimp_, and charles_ 2007-07-10 19:40:21 +00:00
Charles Kerr 6c6732ed39 make tr_torrentInfo() a const function 2007-06-30 13:36:58 +00:00
Charles Kerr 47a5ff4120 add tr_torrentCanAdd() as per BentMyWookie's request... clear tracker error string when restarting... fix r2202 "completed" announce bug. 2007-06-27 05:14:38 +00:00
Charles Kerr 7e09d157cd Thread safety improvements. Also, stopping/starting/rechecking/etc. torrents no longer blocks the calling thread. Since this a big commit, it will probably create some short-term pain via new bugs. 2007-06-26 18:45:03 +00:00
Mitchell Livingston 0256f4616d Merge file selection and torrent creation into the main branch.
The new code for these features is under a new license.
2007-06-18 03:40:41 +00:00
Mitchell Livingston de37792d9a update files to recognize the new "waiting to check" state 2007-05-28 18:37:47 +00:00
Josh Elsasser 81a6d96d6e Remove tr_handle_t argument from tr_torrentClose(). 2007-05-23 04:45:20 +00:00
Mitchell Livingston 1da1a99023 get the cli compiling again 2007-04-21 12:37:12 +00:00
Josh Elsasser 132e4f5c8c Merge daemon branch to trunk. 2007-04-18 16:39:10 +00:00
Josh Elsasser a3836c8d9c Bump version to 0.7. 2007-04-18 14:06:52 +00:00
Josh Elsasser 6b70c6c569 Improve manpages a bit. 2007-04-04 01:41:34 +00:00
Josh Elsasser fffd302c2c Update transmissioncli manpage, add transmission-gtk manpage skeleton. 2007-04-04 01:20:45 +00:00
Josh Elsasser 92637d591e Optionally return the info hash after attempting to load a duplicate torrent. 2007-03-22 18:07:22 +00:00
Josh Elsasser 494ca91fd6 Append a frontend-specific tag to saved torrents.
This prevents one frontend from deleting a saved torrent used by another.
2007-03-13 06:56:50 +00:00
Josh Elsasser 5a62e83689 Don't use sprintf, strcpy, or strcat. 2007-03-12 00:04:11 +00:00
Josh Elsasser 0e79140f26 Don't clobber the private flag during torrent initialization.
Display if the private flag is set in transmissioncli -i
2007-03-06 01:58:14 +00:00
Josh Elsasser 67826df085 Use a tr_tracker_info_t * directly in tr_info_t and tr_tracker_t. 2007-02-27 04:00:38 +00:00
Josh Elsasser e911d04190 Display ratio while downloading and seeding, minor code cleanup.
Patch by Graue.
2007-02-15 20:56:25 +00:00
Josh Elsasser e2ba015b25 Fix SIGINT handling. 2007-02-13 05:20:52 +00:00
Josh Elsasser 6761fb7dcd Fix a possible buffer overflow. 2007-02-13 04:21:29 +00:00
Josh Elsasser 6197964d15 Exit with nonzero status if torrent fails to load.
Fixes ticket #195
2007-02-06 22:47:55 +00:00
Josh Elsasser f67ad8cf47 Add a new interface to make the public port available to the frontend. 2007-02-06 04:26:40 +00:00
Eric Petit 7a6401c7b4 Split transmission.c: everything related to the accept/upnp/choking
thread was moved to shared.c
2007-01-19 04:42:31 +00:00
Eric Petit e5e6a8b5df Merge io branch into trunk 2007-01-14 12:00:21 +00:00
Josh Elsasser cedcbf701e Catch up with function renaming. 2006-12-27 00:33:22 +00:00
Mitchell Livingston 3374ce9a32 merge multitracker branch:
Adds announce list, support for code 301/302 redirect, improvements to mac inspector, better queueing with errors, random extra wait of up to a minute between announces, and other changes.
2006-12-17 16:36:27 +00:00
Josh Elsasser b88db6b0ae Show torrent creator for -i. 2006-12-02 05:39:27 +00:00
Josh Elsasser f1bfa9f045 Show torrent comment for -i. 2006-12-02 05:32:54 +00:00
Josh Elsasser 44f8325312 Merge scrape branch:
Automatically scrape trackers as needed.
  If tracker supplies a trackerid then use it (untested).
  Use tracker's min interval, clamped to the same range as interval.
  Show total completed downloads in the MacOS X frontend.
2006-12-02 01:46:54 +00:00
Eric Petit 3ee0f99afd Restores display in transmissioncli 2006-10-05 18:37:38 +00:00
Josh Elsasser 0257761670 Merge nat-traversal branch to trunk. 2006-09-25 18:37:45 +00:00
Eric Petit f199e0a9d9 Revert [619] 2006-07-16 19:39:23 +00:00
Mitchell Livingston 5d36721a15 Remove old Sparkle... 2006-07-16 19:28:19 +00:00
Josh Elsasser 0600f3d4aa Add support to libtransmission and the MacOS X GUI for saving private copies of
torrent files.
2006-06-09 19:53:35 +00:00
Eric Petit e72c5580c6 Split and moved makefiles into a seperate folder, fixes and speed-up to
the retrieving of the SVN revision, OS X packages now show the revision
if this isn't a release build
2006-05-31 12:54:53 +00:00
Eric Petit a3d3d1f33d Splits VERSION_STRING and VERSION_REVISION, removes duplication of flags
in the Xcode project file
2006-05-29 22:44:21 +00:00
Eric Petit cab7c2a50a Get revision at build time 2006-05-29 21:58:22 +00:00
Eric Petit f98fe6a1b0 Added $Id$ keywords and updated a few headers 2006-05-29 21:21:23 +00:00
Josh Elsasser edb1a2a4fa Add a transmissioncli manpage written by deanna@sdf.lonestar.org.
Fix a warning in the gtk frontend on 64-bit platforms.
2006-05-29 07:50:17 +00:00
Eric Petit 1ec413ea5c Fixes warnings 2006-04-26 10:59:09 +00:00
Josh Elsasser cf56d58f06 A couple minor i18n cleanups.
Add italian translation.
Add an install make target for transmissioncli and transmission-gtk.
2006-04-25 08:14:37 +00:00
Eric Petit 3bce21ad7c Re-link transmissioncli and transmission-gtk when libtransmission.a
has changed
2006-04-10 09:13:15 +00:00
Eric Petit b9a53769f9 Adds download rate limit 2006-04-07 12:09:08 +00:00
Josh Elsasser 8cb58aa4ee Don't print an error if the .depend files don't exist. 2006-04-05 09:45:09 +00:00
Eric Petit fde1bf8876 Nicer make output. Also moved the CLI client to its own folder like
other interfaces.
2006-04-04 20:23:19 +00:00