Commit Graph

599 Commits

Author SHA1 Message Date
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
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
Josh Elsasser a09a9c9157 Add client/server name to IPC version handshake. 2007-06-29 02:21:29 +00:00
Josh Elsasser f106cce58f Whoops, fix signal handling for SIGQUIT and SIGTERM. 2007-06-29 01:06:46 +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 af92ca6211 sync with r2002's torrent destruction sequence 2007-06-26 20:46:12 +00:00
Charles Kerr 40ee651158 push the destination directory into tr_torrentInit*() 2007-06-26 20:29:13 +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
Josh Elsasser 33ade6978b Fix daemon to unlink the socket on exit with -s 2007-06-17 15:47:09 +00:00
Josh Elsasser 0eaedc2fe3 Return bad-format message when appropriate.
Fix supported message to be more accurate.
2007-06-10 22:56:18 +00:00
Mitchell Livingston b679945ea6 add the beginnings of ipc to the mac front end 2007-05-28 02:27:13 +00:00
Josh Elsasser 6d9472edc8 Massage types a bit to silence some warnings and add a couple missing headers. 2007-05-27 16:31:16 +00:00
Josh Elsasser 85bc8ebc87 Handle the server failing to send info or stat response gracefully. 2007-05-25 21:22:02 +00:00
Josh Elsasser f3a544d49e Fix build error. 2007-05-24 09:18:19 +00:00
Josh Elsasser 8fbb4eab67 Move a macro. 2007-05-24 07:11:59 +00:00
Josh Elsasser e60a686ce6 Move this file. 2007-05-24 06:06:47 +00:00
Josh Elsasser 28a4d4544e Rename ipc to ipcparse 2007-05-24 04:05:50 +00:00
Josh Elsasser 0f9748ad01 Add command-line option to use an alternate location for the socket file. 2007-05-24 03:59:53 +00:00
Josh Elsasser 8d61b3e49e Move ipc parsing code into libt. 2007-05-24 03:44:40 +00:00
Josh Elsasser 81a6d96d6e Remove tr_handle_t argument from tr_torrentClose(). 2007-05-23 04:45:20 +00:00
Josh Elsasser 5fe9d0fcea Check error codes correctly in instead of reporting all errors as 'assert'.
Add TR_ERROR_IO_SPACE and TR_ERROR_IO_RESOURCES.
2007-05-09 18:41:22 +00:00
Josh Elsasser 209eb5651a Ignore SIGPIPE.
errnomsg -> errmsg.
2007-05-09 06:58:46 +00:00
Josh Elsasser cbf6b91669 Allow a socket path to be given with -t. 2007-05-09 06:56:51 +00:00
Josh Elsasser 3ef81c7977 Add debug mode to daemon. 2007-04-26 07:03:36 +00:00
Josh Elsasser 6f1c25a22e Don't use uninitialized variables. 2007-04-18 16:41:37 +00:00
Josh Elsasser 132e4f5c8c Merge daemon branch to trunk. 2007-04-18 16:39:10 +00:00