Commit Graph

76 Commits

Author SHA1 Message Date
Charles Kerr f8a98a8c35 eliminate duplicate code between readfile() and tr_loadFile(). shrink down the daemon torrent code a bit. 2008-02-27 20:06:53 +00:00
Charles Kerr 9ee96fd0dc add `verify' command to ipc. 2008-02-27 17:38:39 +00:00
Charles Kerr 5d233f86c4 make struct ipc_info opaque. const-ify the ipcparse functions where possible. 2008-02-27 16:47:58 +00:00
Charles Kerr b17c229aaa #739: fix transmission-remote manpage 2008-02-27 16:03:41 +00:00
Charles Kerr 494acbfa85 tear out about 1/3 of ipcparse's overhead. 2008-02-27 06:01:46 +00:00
Charles Kerr 8cc587a66f more housekeeping: benc_val_t --> tr_benc 2008-02-26 21:58:58 +00:00
Charles Kerr bd7a98d7df fix daemon PEX enable/disable bug reported by Bicster 2008-02-08 16:51:34 +00:00
Charles Kerr 1ed9e15ee0 #670 "transmission-remote -x (core dumped)" patch by joshe 2008-02-03 07:03:40 +00:00
Charles Kerr df9bd1f713 #667: remote crash exploit in bencode parser 2008-01-31 02:24:43 +00:00
Charles Kerr 76ef3aaf7b #636: make the daemon application manpages' descriptions more helpful. 2008-01-20 15:14:33 +00:00
Charles Kerr b9c491d5c1 update some more URLS to www.transmissionbt.com 2008-01-20 14:53:38 +00:00
Charles Kerr b9bd002030 595: transmission-remote command-line parsing error reported by aroberts 2008-01-07 19:31:18 +00:00
Mitchell Livingston 4723192946 replace other instances of the old url 2007-12-31 01:19:35 +00:00
Charles Kerr 401cfbdb6b replace the per-torrent PEX setting with a global one, as per discussion with SoftwareElves and BentMyWookie 2007-12-24 05:03:40 +00:00
Mitchell Livingston 63e7a8597e get ipc fully working with ipc 2007-12-24 03:48:42 +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 60aab6c433 remove libtransmission code that duplicates functionality in libevent 2007-11-06 21:14:30 +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
Josh Elsasser 13bd23e44b Add IPC messages to set and retrieve the encryption mode.
Implement encryption mode messages in -daemon and -remote.
2007-10-26 03:43:27 +00:00
Josh Elsasser cc2dcb4d15 Don't trip assertion when the daemon gets a fatal signal after a quit message is sent. 2007-10-26 03:39:44 +00:00
Josh Elsasser a3b0698150 Whoops. Start the exit timer on the right libevent instance.
This should fix some problems with the daemon exiting.
2007-10-26 03:36:02 +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 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 e3352ac714 add bsdqueue.h to daemon dir 2007-09-25 23:59:50 +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
Josh Elsasser 511470bfa4 Catch up with an old libT API change and allow autostart to be disabled again. 2007-09-05 04:05:30 +00:00
Josh Elsasser 8d01190690 Document the ipc value for the waiting to check state and implement in remote. 2007-08-23 06:04:21 +00:00
Josh Elsasser aafd6488af Shut down ipc server on fatal signal, not just torrent client. 2007-08-17 03:57:26 +00:00
Josh Elsasser 571e53b7ca Properly protect pidfile creation and deletion with the lockfile. 2007-08-16 21:17:02 +00:00
Charles Kerr 44a61eced1 Add $(LIBEVENT_CPPFLAGS) to daemon's Makefile.am 2007-08-16 16:03:01 +00:00
Josh Elsasser 5fc5e06422 Unbreak daemon. 2007-08-16 00:10:56 +00:00
Josh Elsasser 7f5777a9f7 Fix -p option to be optional. Someone pass the dunce cap over this way. 2007-08-16 00:02:43 +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
Josh Elsasser f69012d0e7 Add a pidfile command-line argument. 2007-08-14 04:02:50 +00:00
Charles Kerr ae6e82a1a5 fix manpage errors reported by Lacrocivious 2007-07-31 16:19:31 +00:00
Charles Kerr 44282a7be8 fix r2417 bug that caused transmission-daemon to not daemonize 2007-07-27 02:25:28 +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
Josh Elsasser ceb66c2de7 Add compat code for if daemon() function isn't available. 2007-07-19 01:27:52 +00:00
Josh Elsasser 32e3f9a8e6 Conditionally define a couple of macros that may be missing.
Remove a few stray ; that can cause problems.
2007-07-19 01:27:11 +00:00
Josh Elsasser 4ab0a93807 Apparently "sun" is a bad choice for a variable name on solaris. 2007-07-19 01:25:36 +00:00
Josh Elsasser 65dba27217 bzero -> memset 2007-07-19 00:57:26 +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 80beee3d81 Display torrent error correctly. 2007-07-17 21:11:51 +00:00
Josh Elsasser 7befa196a1 Iterate correctly when removing all torrents. 2007-07-16 17:22:57 +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
Josh Elsasser 357f7444b0 Don't segfault if an 'all' hash argument is combined with specific hashes. 2007-07-14 18:57:50 +00:00