Jordan Lee [Mon, 25 Jul 2011 17:48:14 +0000 (17:48 +0000)]
(trunk libt) #4305 "New Torrent via RPC Error:No data found when subfolder does not exist" -- revert r12076 s.t. parent directories are created as necessary when saving local data to disk.
Jordan Lee [Thu, 21 Jul 2011 16:07:56 +0000 (16:07 +0000)]
(trunk web) #1188 "comments and announce address are cut off" -- tell the browser (via word-wrap: break-word;) that it's okay to insert word breaks inside long URLs in the inspector.
Jordan Lee [Tue, 12 Jul 2011 12:26:24 +0000 (12:26 +0000)]
(trunk libT) #4351 "DHT can't be uninitialized during a session" -- don't process incoming DHT messages if DHT is disabled. Don't process incoming UTP messages if UTP is disabled.
Jordan Lee [Sun, 10 Jul 2011 17:34:03 +0000 (17:34 +0000)]
(trunk libT) possible fix for three related tickets. still needs more testing.
#3732 "Delete system files when removing torrent data"
#4224 "Folders don't get deleted"
#3871 "torrent-set-location does not delete old folder if only one file in torrent"
Jordan Lee [Sat, 2 Jul 2011 13:20:17 +0000 (13:20 +0000)]
(trunk libT) #4336 "availablility nonsense" -- fix bug in tr_cpMissingBytesInPiece() introduced last week by r12515 for #4332. Add assertions to the nightly build to watch for regressions of this fix.
The bug was that I fixed #4332's off-by-one improperly in tr_cpMissingBlocksInPiece(). The piece's last block has to be calculated separately because its byte size may be different than the other blocks, The mistake in r12515 was that the last block could wind up being counted twice.
Jordan Lee [Wed, 29 Jun 2011 01:33:07 +0000 (01:33 +0000)]
(trunk) tell automake to use the POSIX 1003.1-2001 tar format instead of the POSIX 1003.1-1988 format. We need the newer version in order to reliably support the long pathnames that exist in the macosx/ directory.
Jordan Lee [Sun, 26 Jun 2011 17:05:17 +0000 (17:05 +0000)]
(trunk libT) #4101 "RPC method blocklist-update is broken" -- use lower-level zlib API calls so that we can skip writing a temporary gzipped file to disk
Jordan Lee [Sat, 25 Jun 2011 18:47:35 +0000 (18:47 +0000)]
(trukn libT) lessen the importance of error messages returned by trackers in a multi-tracker torrent. It's all too often that people will load up a .torrent file with dozens of announce URLs, many of them dead...
Jordan Lee [Fri, 24 Jun 2011 22:39:20 +0000 (22:39 +0000)]
(trunk libt) #4315 "Transmission 2.31 crashes (segfaults) immediately after launch" -- remove the "max-open-files" code.
max-open-files might have been a nice configuration option once, but (1) we've never advertised it in the gui apps, and (2) the crazy cases are causing more trouble than this feature is worth. It's more complicated now after #4164 -- see #4294, #4311, and this ticket.
Jordan Lee [Fri, 24 Jun 2011 18:25:56 +0000 (18:25 +0000)]
(trunk libT) the edge condition bug in ptrarray's bsearch code seems to be fixed, so let's commit the fix with lots of assert()ions enabled so that the nightly build users can show me where I'm wrong :)
Jordan Lee [Fri, 24 Jun 2011 18:16:12 +0000 (18:16 +0000)]
(trunk gtk) #4308 "Open with Transmission from Firefox doesn't work since Transmission 2.31" -- added support for uri-formmatted filenames being passed in via the command line
Jordan Lee [Sun, 19 Jun 2011 18:34:10 +0000 (18:34 +0000)]
(trunk libT) add a unique key to each tr_bandwidth object, so that when sorting them arbitrarily we can use that key rather than their pointer address. Apparently comparing pointers that aren't allocated in the same array is undefined behavior.
When moving objects in an array from an index to a lower index, no need to first fill the final destination with the object before it. This is pointless and causes issues when moving the item to index 0.