1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 17:17:31 +00:00
transmission/libtransmission
Jordan Lee 1fabb9b9ea (trunk) #3675 "Not all .part files are removed" -- handle trashing files via RPC.
When libtransmission gets a "remove torrent" request from RPC, it tries to delegate the work. This is because the GTK+ and Mac clients don't want torrents disappearing in a different thread and causing possible thread issues. So the GTK+ and Mac clients get notification about this via libtransmission's RPC callback and remove the torrents themselves. Unfortunately, that notification doesn't include information about whether or not to delete local data.

This commit adds that information to the RPC callback so that the Mac and GTK+ clients will know whether or not to trash the local files when a third-party RPC client requests that at torrent and its files be deleted.
2011-02-06 17:30:46 +00:00
..
announcer.c (trunk libT) #3931 "'Announce is Queued' but doesn't get announced" -- remove the 'unresponsive tracker' penalty from torrents whose announce time has been reached. 2011-02-05 18:46:10 +00:00
announcer.h (trunk libT) #3933 "announcer.c peer parsing could be simpler" -- fixed. 2011-01-22 17:45:54 +00:00
bandwidth.c Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
bandwidth.h Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
bencode-test.c (trunk) #3836 "libevent2 support" -- bump libevent2 requirement to 2.0.10. This will break the Mac build for a minute intil BMW applies his Mac patch 2010-12-20 02:07:51 +00:00
bencode.c (trunk libT) now that bencode.c doesn't call stat() anymore, we can remove a couple of #includes 2011-02-03 06:19:54 +00:00
bencode.h Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
bitfield.c Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
bitfield.h Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
bitset.h Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
blocklist-test.c
blocklist.c Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
blocklist.h Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
cache.c (trunk libT) memory cache should use evbuffers to avoid unnecessary calls to memcpy -- done. 2011-01-29 18:56:53 +00:00
cache.h (trunk libT) memory cache should use evbuffers to avoid unnecessary calls to memcpy -- done. 2011-01-29 18:56:53 +00:00
clients-test.c (trunk libT) re-start work on making libT doxygen friendly. still a long ways to go on this. 2009-05-29 19:17:12 +00:00
clients.c Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
clients.h Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
completion.c (trunk libt) #3968 "tr_cpFileIsComplete could be faster" -- fixed. 2011-01-31 16:43:37 +00:00
completion.h Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
ConvertUTF.c (trunk) Join the 21st century and use only 1 space at the end sentences. This commit is nearly as important as the semi-annual ones that remove trailing spaces from the ends of lines of code... :) 2010-12-27 19:18:17 +00:00
ConvertUTF.h (trunk) Join the 21st century and use only 1 space at the end sentences. This commit is nearly as important as the semi-annual ones that remove trailing spaces from the ends of lines of code... :) 2010-12-27 19:18:17 +00:00
crypto.c (trunk libT) minor code tweak to crypto.c's tr_sha1() function 2011-01-19 21:50:51 +00:00
crypto.h Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
fdlimit.c (trunk libT) #3973 "JIT verification verifies fresh downloaded torrents" -- improvement to r11813. 2011-02-02 23:29:17 +00:00
fdlimit.h (trunk libT) #3973 "JIT verification verifies fresh downloaded torrents" -- improvement to r11813. 2011-02-02 23:29:17 +00:00
handshake.c Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
handshake.h Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
history-test.c (trunk) one of the least interesting commits ever: remove trailing spaces from source code lines... 2010-03-17 17:07:40 +00:00
history.c Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
history.h Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
inout.c (trunk libT) minor code cleanup to inout.c's readOrWriteBytes(). 2011-02-02 06:06:09 +00:00
inout.h Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
json-test.c (trunk libT) #3134 "transmission-remote apparently can't handle apostrophes in errorStrings" -- I'm unable to reproduce the reported behavior, but that's no reason to let a new unit test go to waste... committing the unit test anyway 2010-04-15 19:27:47 +00:00
json.c Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
json.h Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
JSON_parser.c (trunk libT) #3836 "libevent2 support" -- finish moving to the libevent2 API mode. don't include the backwards-compatable API headers. 2010-12-24 08:58:41 +00:00
JSON_parser.h (trunk) Join the 21st century and use only 1 space at the end sentences. This commit is nearly as important as the semi-annual ones that remove trailing spaces from the ends of lines of code... :) 2010-12-27 19:18:17 +00:00
libt.dox (trunk libT) re-start work on making libT doxygen friendly. still a long ways to go on this. 2009-05-29 19:17:12 +00:00
list.c Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
list.h Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
magnet-test.c (trunk libT) #2631 "Add webseed support to magnet links" 2009-11-29 17:49:58 +00:00
magnet.c Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
magnet.h Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
Makefile.am Add files tr-udp.[ch] to the build. 2011-01-09 21:48:06 +00:00
makemeta.c Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
makemeta.h Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
metainfo.c Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
metainfo.h Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
natpmp.c Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
natpmp.h Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
net.c Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
net.h Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
peer-common.h Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
peer-io.c (trunk libT) silence some unused variable warnings from gcc when building with -DNDEBUG 2011-02-02 05:18:33 +00:00
peer-io.h Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
peer-mgr.c (trunk libT) #3950 "use libevent's cached gettimeofday() value when appropriate" -- fixed. 2011-01-29 18:59:23 +00:00
peer-mgr.h Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
peer-msgs-test.c
peer-msgs.c (trunk libT) #3959 "by default, disable prefetch for lightweight builds" -- fixed. 2011-01-31 23:35:10 +00:00
peer-msgs.h Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
platform.c (trunk libT) #2363 "daemon on mac moves config files on first launch" -- fixed. 2011-01-30 01:33:53 +00:00
platform.h Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
port-forwarding.c Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
port-forwarding.h Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
ptrarray.c Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
ptrarray.h Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
ratecontrol.c Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
ratecontrol.h Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
resume.c (trunk libT) #2955 "verify pieces only when necessary, or when the user requests it." -- improvements to .resume file 2011-02-02 21:17:16 +00:00
resume.h Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
rpc-server.c (trunk) #3949 "Add --enable-lightweight argument to configure" -- fixed. 2011-01-27 03:53:02 +00:00
rpc-server.h Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
rpc-test.c
rpcimpl.c (trunk) #3675 "Not all .part files are removed" -- handle trashing files via RPC. 2011-02-06 17:30:46 +00:00
rpcimpl.h Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
session.c (trunk libT) #3959 "by default, disable prefetch for lightweight builds" -- fixed. 2011-01-31 23:35:10 +00:00
session.h (trunk libT) #3959 "by default, disable prefetch for lightweight builds" -- fixed. 2011-01-31 23:35:10 +00:00
stats.c Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
stats.h Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
test-peer-id.c
torrent-ctor.c Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
torrent-magnet.c Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
torrent-magnet.h Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
torrent.c (trunk libT) minor futzing: remove unnecessary "assert( tr_isTorrent( tor ) );" calls 2011-02-03 22:53:02 +00:00
torrent.h (trunk libT) #2955 "verify pieces only when necessary, or when the user requests it." -- improvements to .resume file 2011-02-02 21:17:16 +00:00
tr-dht.c (trunk libT) silence some unused variable warnings from gcc when building with -DNDEBUG 2011-02-02 05:18:33 +00:00
tr-dht.h Move handling of UDP I/O to tr-udp.c. 2011-01-09 21:48:46 +00:00
tr-getopt.c Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
tr-getopt.h Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
tr-lpd.c (trunk) Join the 21st century and use only 1 space at the end sentences. This commit is nearly as important as the semi-annual ones that remove trailing spaces from the ends of lines of code... :) 2010-12-27 19:18:17 +00:00
tr-lpd.h (trunk) Join the 21st century and use only 1 space at the end sentences. This commit is nearly as important as the semi-annual ones that remove trailing spaces from the ends of lines of code... :) 2010-12-27 19:18:17 +00:00
tr-udp.c (trunk libT) silence some unused variable warnings from gcc when building with -DNDEBUG 2011-02-02 05:18:33 +00:00
tr-udp.h (trunk libT) #3906 "DHT ignores bind-address-ipv6" -- make the process of getting the binding address consistent between IPv4 and IPv6 sockets. 2011-01-22 20:43:36 +00:00
transmission.h (trunk) #3675 "Not all .part files are removed" -- handle trashing files via RPC. 2011-02-06 17:30:46 +00:00
trevent.c Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
trevent.h Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
upnp.c Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
upnp.h Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
utils-test.c (trunk libT) #3969 "tr_base64_encode() has unnecessary overhead with linefeeds" -- fixed. 2011-01-31 22:47:07 +00:00
utils.c (trunk libT) #3969 "tr_base64_encode() has unnecessary overhead with linefeeds" -- fixed. 2011-01-31 22:47:07 +00:00
utils.h (trunk) #3949 "Add --enable-lightweight argument to configure" -- fixed. 2011-01-27 03:53:02 +00:00
verify.c Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
verify.h Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
web.c Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
web.h Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
webseed.c (trunk libT) #3519 "Webseeds don't work" -- handle nonresponsive webseeds 2011-02-03 04:17:48 +00:00
webseed.h Update the copyright year in the source code comments. 2011-01-19 13:48:47 +00:00
wildmat.c (trunk) Join the 21st century and use only 1 space at the end sentences. This commit is nearly as important as the semi-annual ones that remove trailing spaces from the ends of lines of code... :) 2010-12-27 19:18:17 +00:00