Commit Graph

80 Commits

Author SHA1 Message Date
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