]> granicus.if.org Git - transmission/log
transmission
12 years agoupdate NEWS
Mitchell Livingston [Wed, 8 Feb 2012 03:47:39 +0000 (03:47 +0000)]
update NEWS

12 years agoupdate NEWS for 2.50
Jordan Lee [Wed, 8 Feb 2012 03:15:50 +0000 (03:15 +0000)]
update NEWS for 2.50

12 years agoupdate Spanish localization for 2.5
Mitchell Livingston [Tue, 7 Feb 2012 22:51:33 +0000 (22:51 +0000)]
update Spanish localization for 2.5

12 years agoupdate Italian localization for 2.5
Mitchell Livingston [Tue, 7 Feb 2012 03:41:48 +0000 (03:41 +0000)]
update Italian localization for 2.5

12 years ago(trunk gtk) when processing log messages for the Message Log window and we encounter...
Jordan Lee [Sat, 4 Feb 2012 23:59:42 +0000 (23:59 +0000)]
(trunk gtk) when processing log messages for the Message Log window and we encounter an error messages, pass it to g_warning() as well

12 years agouse kB/s rather than KiB/s in transmission-remote's manpage
Jordan Lee [Sat, 4 Feb 2012 03:19:49 +0000 (03:19 +0000)]
use kB/s rather than KiB/s in transmission-remote's manpage

12 years ago(trunk libT) fix minor memory leak of the 'dir' string when deleting local data....
Jordan Lee [Sat, 4 Feb 2012 03:09:31 +0000 (03:09 +0000)]
(trunk libT) fix minor memory leak of the 'dir' string when deleting local data. (Thanks, valgrind!)

12 years agoMac build compiles again
Mitchell Livingston [Sat, 4 Feb 2012 02:17:51 +0000 (02:17 +0000)]
Mac build compiles again

12 years ago(trunk qt) fix r13200 oops -- I forgot to add the new template file in the qt/ directory
Jordan Lee [Sat, 4 Feb 2012 02:00:21 +0000 (02:00 +0000)]
(trunk qt) fix r13200 oops -- I forgot to add the new template file in the qt/ directory

12 years ago(trunk qt) #4490 "transmission-qt FTB, undefined references to UTP library" -- fixed...
Jordan Lee [Sat, 4 Feb 2012 01:55:58 +0000 (01:55 +0000)]
(trunk qt) #4490 "transmission-qt FTB, undefined references to UTP library" -- fixed with patch by niol

12 years ago(trunk) #4732 "allow switching between internal and system libnatpmp" -- fixed with...
Jordan Lee [Sat, 4 Feb 2012 01:28:15 +0000 (01:28 +0000)]
(trunk) #4732 "allow switching between internal and system libnatpmp" -- fixed with patch scarabeus and applied by me, so any patch breakage is probably mine... ;)

12 years ago(trunk libT) #4687 "magnet links behave oddly" -- fixed. Thanks to cfpp2p for some...
Jordan Lee [Sat, 4 Feb 2012 00:34:39 +0000 (00:34 +0000)]
(trunk libT) #4687 "magnet links behave oddly" -- fixed. Thanks to cfpp2p for some very nice sleuthing on this one.

12 years ago(trunk web) fix positioning issue w/the torrent list going directly under the toolbars
Jordan Lee [Fri, 3 Feb 2012 23:05:24 +0000 (23:05 +0000)]
(trunk web) fix positioning issue w/the torrent list going directly under the toolbars

12 years ago(trunk web) #4731 "'Select All' and 'Deselect All' options missing from Inspector...
Jordan Lee [Fri, 3 Feb 2012 22:59:33 +0000 (22:59 +0000)]
(trunk web) #4731 "'Select All' and 'Deselect All' options missing from Inspector>Files" -- fixed.

12 years ago(trunk) use base-10 units for network bandwidth (ie, speed) and disk sizes.
Jordan Lee [Fri, 3 Feb 2012 21:21:52 +0000 (21:21 +0000)]
(trunk) use base-10 units for network bandwidth (ie, speed) and disk sizes.

It looks like the Mac client is already doing this and it's clearly the trend in other apps as well. Even apt-get is using kB/s, ferchrissake... :)

Flame away.

12 years agoFix minor formatting issue in the web client
Jordan Lee [Fri, 3 Feb 2012 21:15:07 +0000 (21:15 +0000)]
Fix minor formatting issue in the web client

1. the formatter listed speed in units of 1000 bytes, but used "KB" rather than "kB"
2. the bytes-per-second speed was listed as "B" rather than "B/s"

12 years ago(trunk) #4744 "Fix IT_PROG_INTLTOOL failing if intltool is not installed" -- fixed...
Jordan Lee [Fri, 3 Feb 2012 17:28:48 +0000 (17:28 +0000)]
(trunk) #4744 "Fix IT_PROG_INTLTOOL failing if intltool is not installed" -- fixed w/revised patch :)

12 years ago(trunk gtk) To improve translations, help gettext to differentiate between the gerund...
Jordan Lee [Fri, 3 Feb 2012 17:12:17 +0000 (17:12 +0000)]
(trunk gtk) To improve translations, help gettext to differentiate between the gerund and verb forms of some -ing words like "Seeding" and "Downloading" -- fixed.

I wasn't sure how to do this, so for the benefit of my future self or anyone else who's interested, here are some breadcrumbs I found: https://trac.transmissionbt.com/ticket/4717#comment:6

12 years ago(trunk) remove trailing spaces from code lines ;)
Jordan Lee [Fri, 3 Feb 2012 16:44:07 +0000 (16:44 +0000)]
(trunk) remove trailing spaces from code lines ;)

12 years agorevert previous commit -- wrong version of the patch
Jordan Lee [Fri, 3 Feb 2012 16:22:11 +0000 (16:22 +0000)]
revert previous commit -- wrong version of the patch

12 years ago(trunk) #4744 "Fix IT_PROG_INTLTOOL failing if intltool is not installed" -- use...
Jordan Lee [Fri, 3 Feb 2012 16:11:05 +0000 (16:11 +0000)]
(trunk) #4744 "Fix IT_PROG_INTLTOOL failing if intltool is not installed" -- use patch from Adys

12 years ago(trunk gtk) replace the three single dots '...' with the unicode symbol U+2026 (…).
Jordan Lee [Fri, 3 Feb 2012 15:51:36 +0000 (15:51 +0000)]
(trunk gtk) replace the three single dots '...' with the unicode symbol U+2026 (…).

12 years agoremove redundant code in Torrent's canChangeDownloadCheckForFile:, and enumerate...
Mitchell Livingston [Tue, 31 Jan 2012 04:22:51 +0000 (04:22 +0000)]
remove redundant code in Torrent's canChangeDownloadCheckForFile:, and enumerate of the files in canChangeDownloadCheckForFiles: concurrently.

13 years agoupdate German localization for 2.5
Mitchell Livingston [Mon, 30 Jan 2012 23:47:09 +0000 (23:47 +0000)]
update German localization for 2.5

13 years agopart 2 of r13184
Mitchell Livingston [Mon, 30 Jan 2012 00:16:57 +0000 (00:16 +0000)]
part 2 of r13184

13 years agoSort the Sort menu items on launch, since the main menu is now localized through...
Mitchell Livingston [Mon, 30 Jan 2012 00:14:43 +0000 (00:14 +0000)]
Sort the Sort menu items on launch, since the main menu is now localized through a strings file.

13 years agoupdate Localizable.strings
Mitchell Livingston [Sat, 28 Jan 2012 17:28:54 +0000 (17:28 +0000)]
update Localizable.strings

13 years ago(trunk daemon) #4725 "transmission-remote does not reflect status in returncode"...
Jordan Lee [Thu, 26 Jan 2012 12:56:28 +0000 (12:56 +0000)]
(trunk daemon) #4725 "transmission-remote does not reflect status in returncode" -- fixed with patch from Xake

13 years ago(trunk web) don't listen for drag-and-drop events in mobile mode
Jordan Lee [Tue, 24 Jan 2012 21:01:06 +0000 (21:01 +0000)]
(trunk web) don't listen for drag-and-drop events in mobile mode

13 years ago(trunk web) restore the web ui's toolbar to the 2.42 look-and-feel
Jordan Lee [Tue, 24 Jan 2012 20:49:46 +0000 (20:49 +0000)]
(trunk web) restore the web ui's toolbar to the 2.42 look-and-feel

13 years ago(trunk gtk) fix a minor memory leak in gtr_open_file(). reported by clang static...
Jordan Lee [Tue, 24 Jan 2012 18:09:12 +0000 (18:09 +0000)]
(trunk gtk) fix a minor memory leak in gtr_open_file(). reported by clang static analyzer.

13 years agouse NSSearchPathForDirectoriesInDomains to retrieve the Application Support directory...
Mitchell Livingston [Sun, 22 Jan 2012 17:57:55 +0000 (17:57 +0000)]
use NSSearchPathForDirectoriesInDomains to retrieve the Application Support directory for config files, instead of libtransmission's hardcoded path

13 years agouse NSFileManager to read/write the torrent history in the Application Support direct...
Mitchell Livingston [Sat, 21 Jan 2012 23:28:34 +0000 (23:28 +0000)]
use NSFileManager to read/write the torrent history in the Application Support directory, instead of a hard-coded path

13 years agoChange the C Language Dialect to Compiler Default, which is the recommended setting
Mitchell Livingston [Sat, 21 Jan 2012 15:31:46 +0000 (15:31 +0000)]
Change the C Language Dialect to Compiler Default, which is the recommended setting

13 years agofix the mac build when compiling in 32-bit mode, which doesn't support the "modern...
Mitchell Livingston [Sat, 21 Jan 2012 14:58:39 +0000 (14:58 +0000)]
fix the mac build when compiling in 32-bit mode, which doesn't support the "modern runtime" for creating ivars

13 years agofor the fun of it, replace some variables with @property in the file and tracker...
Mitchell Livingston [Fri, 20 Jan 2012 02:41:49 +0000 (02:41 +0000)]
for the fun of it, replace some variables with @property in the file and tracker nodes

13 years agorevert accidental removal in r13172
Mitchell Livingston [Thu, 19 Jan 2012 00:27:11 +0000 (00:27 +0000)]
revert accidental removal in r13172

13 years agoMake sure groups are expanded/collapsed correctly when filtering on 10.6
Mitchell Livingston [Thu, 19 Jan 2012 00:25:08 +0000 (00:25 +0000)]
Make sure groups are expanded/collapsed correctly when filtering on 10.6

13 years agoprogress marks are floats, not doubles
Mitchell Livingston [Wed, 18 Jan 2012 04:09:39 +0000 (04:09 +0000)]
progress marks are floats, not doubles

13 years agoreplace two unnecessary instances of reloadData with setNeedsDisplay:
Mitchell Livingston [Wed, 18 Jan 2012 04:03:12 +0000 (04:03 +0000)]
replace two unnecessary instances of reloadData with setNeedsDisplay:

13 years agomiscellaneous fiddling
Mitchell Livingston [Wed, 18 Jan 2012 01:40:34 +0000 (01:40 +0000)]
miscellaneous fiddling

13 years agobump the year displayed within the app to 2012
Mitchell Livingston [Mon, 16 Jan 2012 02:17:15 +0000 (02:17 +0000)]
bump the year displayed within the app to 2012

13 years agoremove an extraneous endUpdates call
Mitchell Livingston [Sun, 15 Jan 2012 07:47:31 +0000 (07:47 +0000)]
remove an extraneous endUpdates call

13 years agoReselect proper rows after removing transfers on Snow Leopard
Mitchell Livingston [Sun, 15 Jan 2012 07:39:24 +0000 (07:39 +0000)]
Reselect proper rows after removing transfers on Snow Leopard

13 years agoimprove on r13164
Mitchell Livingston [Sat, 14 Jan 2012 20:11:51 +0000 (20:11 +0000)]
improve on r13164

13 years agounconditionally expand all groups when toggling group rows
Mitchell Livingston [Sat, 14 Jan 2012 20:07:26 +0000 (20:07 +0000)]
unconditionally expand all groups when toggling group rows

13 years agoOn Lion with group rows shown, when moving torrents to a group row that did not previ...
Mitchell Livingston [Sat, 14 Jan 2012 19:53:08 +0000 (19:53 +0000)]
On Lion with group rows shown, when moving torrents to a group row that did not previously exist, do sliding instead of fading and keep selected torrents selected.

13 years agobump Mac copyright to 2012
Mitchell Livingston [Sat, 14 Jan 2012 17:12:04 +0000 (17:12 +0000)]
bump Mac copyright to 2012

13 years agouse GCD instead of a variable to not animate the main table at launch
Mitchell Livingston [Sat, 14 Jan 2012 16:08:45 +0000 (16:08 +0000)]
use GCD instead of a variable to not animate the main table at launch

13 years agosearch for folder nodes concurrently when generating a torrent's file list
Mitchell Livingston [Sat, 14 Jan 2012 16:07:58 +0000 (16:07 +0000)]
search for folder nodes concurrently when generating a torrent's file list

13 years agoconsider the corresponding torrent when comparing tracker nodes
Mitchell Livingston [Sat, 14 Jan 2012 16:06:39 +0000 (16:06 +0000)]
consider the corresponding torrent when comparing tracker nodes

13 years ago#4713 (Lion) animate removing rows from the tracker table
Mitchell Livingston [Sat, 14 Jan 2012 02:28:54 +0000 (02:28 +0000)]
#4713 (Lion) animate removing rows from the tracker table

13 years agoSilence a minor compiler warning.
Jordan Lee [Fri, 13 Jan 2012 22:10:26 +0000 (22:10 +0000)]
Silence a minor compiler warning.

We used to pass no button text + response_id pairs when creating the dialog because only gtk_dialog_add_button() would return back the actual button widget s.t. we could use a grab on it. However as of GTK+ 2.20 we can use gtk_dialog_get_widget_for_response() to get the button, so we can create dialogs in the more common way (which also fixes the gcc warning)

13 years ago#4705 Removing a group in prefs doesn't remove the group row in the main window
Mitchell Livingston [Thu, 12 Jan 2012 00:12:17 +0000 (00:12 +0000)]
#4705 Removing a group in prefs doesn't remove the group row in the main window

13 years ago#4704 req->left = tr_cpLeftUntilComplete( &tor->completion ) should end with a semicolon
Mitchell Livingston [Wed, 11 Jan 2012 22:31:02 +0000 (22:31 +0000)]
#4704 req->left = tr_cpLeftUntilComplete( &tor->completion ) should end with a semicolon

13 years ago(trunk libT) #4700 "compilation fails on FreeBSD because it can't find alloca.h"...
Jordan Lee [Tue, 10 Jan 2012 19:18:18 +0000 (19:18 +0000)]
(trunk libT) #4700 "compilation fails on FreeBSD because it can't find alloca.h" -- fixed.

13 years agomerge the code to update the table when toggling the group rows
Mitchell Livingston [Mon, 9 Jan 2012 23:59:57 +0000 (23:59 +0000)]
merge the code to update the table when toggling the group rows

13 years agobetter enumeration when generating a torrent's file list
Mitchell Livingston [Mon, 9 Jan 2012 04:27:09 +0000 (04:27 +0000)]
better enumeration when generating a torrent's file list

13 years agoconcurrent enumeration when generating a torrent's file list
Mitchell Livingston [Mon, 9 Jan 2012 00:57:50 +0000 (00:57 +0000)]
concurrent enumeration when generating a torrent's file list

13 years agoanother concurrency safety change
Mitchell Livingston [Sun, 8 Jan 2012 20:22:43 +0000 (20:22 +0000)]
another concurrency safety change

13 years agofix a theoretical concurrency issue when removing previous pieces info
Mitchell Livingston [Sun, 8 Jan 2012 19:58:58 +0000 (19:58 +0000)]
fix a theoretical concurrency issue when removing previous pieces info

13 years agoUse concurrent enumeration when generating the list of filtered torrents.
Mitchell Livingston [Sun, 8 Jan 2012 19:28:59 +0000 (19:28 +0000)]
Use concurrent enumeration when generating the list of filtered torrents.

13 years agoFix a theoretical concurrency issue by generating an index set directly instead of...
Mitchell Livingston [Sun, 8 Jan 2012 18:58:47 +0000 (18:58 +0000)]
Fix a theoretical concurrency issue by generating an index set directly instead of enumerating objects and filling an index set.

13 years agoimprove how we search the message window's message array
Mitchell Livingston [Sun, 8 Jan 2012 17:05:12 +0000 (17:05 +0000)]
improve how we search the message window's message array

13 years agodead code removal
Mitchell Livingston [Sun, 8 Jan 2012 17:04:30 +0000 (17:04 +0000)]
dead code removal

13 years agomore array enumeration using blocks and the concurrent option
Mitchell Livingston [Sun, 8 Jan 2012 05:37:18 +0000 (05:37 +0000)]
more array enumeration using blocks and the concurrent option

13 years agoupdate the file table node search to (possibly) use concurrent enumeration
Mitchell Livingston [Sun, 8 Jan 2012 05:05:47 +0000 (05:05 +0000)]
update the file table node search to (possibly) use concurrent enumeration

13 years agoremove the no-longer-necessary lock from the file table
Mitchell Livingston [Sun, 8 Jan 2012 04:11:30 +0000 (04:11 +0000)]
remove the no-longer-necessary lock from the file table

13 years agostore the list of newly-adding transfers in a set rather than an array
Mitchell Livingston [Sun, 8 Jan 2012 04:11:07 +0000 (04:11 +0000)]
store the list of newly-adding transfers in a set rather than an array

13 years agoWhen adding torrents, slide them in from the left
Mitchell Livingston [Sun, 8 Jan 2012 00:51:05 +0000 (00:51 +0000)]
When adding torrents, slide them in from the left

13 years agodon't animate the main table on launch
Mitchell Livingston [Sat, 7 Jan 2012 22:06:23 +0000 (22:06 +0000)]
don't animate the main table on launch

13 years agoAnimate rearranging the queue separately from the main filter animation. This allows...
Mitchell Livingston [Sat, 7 Jan 2012 21:05:02 +0000 (21:05 +0000)]
Animate rearranging the queue separately from the main filter animation. This allows us to ensure that the animation shows the dragged torrents being moved instead of the torrents around them.

13 years agomove tinkering with the main table's animations
Mitchell Livingston [Sat, 7 Jan 2012 18:46:03 +0000 (18:46 +0000)]
move tinkering with the main table's animations

13 years agomore block usage when removing previous piece info
Mitchell Livingston [Sat, 7 Jan 2012 17:40:18 +0000 (17:40 +0000)]
more block usage when removing previous piece info

13 years agore-add code (removed in r13132) to remove previous piece information for no-longer...
Mitchell Livingston [Sat, 7 Jan 2012 17:08:28 +0000 (17:08 +0000)]
re-add code (removed in r13132) to remove previous piece information for no-longer-displayed torrents (in a fun new block way!)

13 years agowhen showing/hiding group rows, fade them in/out instead of sliding them left
Mitchell Livingston [Sat, 7 Jan 2012 16:18:56 +0000 (16:18 +0000)]
when showing/hiding group rows, fade them in/out instead of sliding them left

13 years ago#4701 Table looks like it will accept drag-and-drop without a row
Mitchell Livingston [Sat, 7 Jan 2012 16:01:28 +0000 (16:01 +0000)]
#4701 Table looks like it will accept drag-and-drop without a row

13 years ago#4696 Step one of getting the main table to animate for everything besides the alread...
Mitchell Livingston [Sat, 7 Jan 2012 15:46:42 +0000 (15:46 +0000)]
#4696 Step one of getting the main table to animate for everything besides the already-added sorting. This also contains improvements to the sorting code by sorting in-place.

13 years agospeed up for #4696
Mitchell Livingston [Wed, 4 Jan 2012 23:40:23 +0000 (23:40 +0000)]
speed up for #4696

13 years ago#4696 (Lion) animate sorting the main table
Mitchell Livingston [Wed, 4 Jan 2012 05:16:07 +0000 (05:16 +0000)]
#4696 (Lion) animate sorting the main table

13 years ago#4694 replace more reloadData table calls with setNeedsDisplay:
Mitchell Livingston [Wed, 4 Jan 2012 00:36:21 +0000 (00:36 +0000)]
#4694 replace more reloadData table calls with setNeedsDisplay:

13 years agoupdate moveGroupAtRow:toRow to use NSMutableArrayAdditions's moveObjectAtIndex:toIndex:
Mitchell Livingston [Wed, 4 Jan 2012 00:06:30 +0000 (00:06 +0000)]
update moveGroupAtRow:toRow to use NSMutableArrayAdditions's moveObjectAtIndex:toIndex:

13 years ago#4694 Don't call reloadData on the main table on each updateUI call (and each sort...
Mitchell Livingston [Tue, 3 Jan 2012 01:53:53 +0000 (01:53 +0000)]
#4694 Don't call reloadData on the main table on each updateUI call (and each sort) if the order hasn't changed; instead call setNeedsDisplay:. Don't call reloadData when toggling the main window per-torrent status string

13 years agorevert r13121 for the time being
Mitchell Livingston [Mon, 2 Jan 2012 23:55:10 +0000 (23:55 +0000)]
revert r13121 for the time being

13 years agodon't create a NSColorPanel just to close it
Mitchell Livingston [Mon, 2 Jan 2012 21:47:14 +0000 (21:47 +0000)]
don't create a NSColorPanel just to close it

13 years ago#4693 (Lion) animate adding/removing/dragging rows in the group pref table
Mitchell Livingston [Mon, 2 Jan 2012 19:05:21 +0000 (19:05 +0000)]
#4693 (Lion) animate adding/removing/dragging rows in the group pref table

13 years ago(trunk libT) #4690 "getPeerCandidates() uses more CPU than necessary" -- fixed.
Jordan Lee [Sat, 31 Dec 2011 21:28:53 +0000 (21:28 +0000)]
(trunk libT) #4690 "getPeerCandidates() uses more CPU than necessary" -- fixed.

Once we've scored all n candidates, we sort them by score so that we can pick out the k best candidates. If n is large, sorting them can be expensive. If we use the Selection Algorithm, we select in O(n) without having to sort.

13 years agoremove accidental line removal in r13121
Mitchell Livingston [Thu, 29 Dec 2011 18:42:45 +0000 (18:42 +0000)]
remove accidental line removal in r13121

13 years ago#4688 On Lion use new dragging functionality, allowing for the count of dragged files...
Mitchell Livingston [Thu, 29 Dec 2011 18:40:17 +0000 (18:40 +0000)]
#4688 On Lion use new dragging functionality, allowing for the count of dragged files to appear under the mouse pointer

13 years agodisplay the priority images in the pulldown menus in the add windows
Mitchell Livingston [Wed, 28 Dec 2011 03:25:48 +0000 (03:25 +0000)]
display the priority images in the pulldown menus in the add windows

13 years agosupport pasting magnet links into the torrent table
Mitchell Livingston [Tue, 27 Dec 2011 23:19:14 +0000 (23:19 +0000)]
support pasting magnet links into the torrent table

13 years agoIf we have a url and string in the clipboard, only use the url when trying to open...
Mitchell Livingston [Mon, 26 Dec 2011 02:46:27 +0000 (02:46 +0000)]
If we have a url and string in the clipboard, only use the url when trying to open as a torrent file. This way we avoid opening the same URL twice

13 years agorun on Snow Leopard again
Mitchell Livingston [Mon, 26 Dec 2011 02:39:30 +0000 (02:39 +0000)]
run on Snow Leopard again

13 years ago#4686 Capture pasted strings that are URLs
Mitchell Livingston [Mon, 26 Dec 2011 02:33:13 +0000 (02:33 +0000)]
#4686 Capture pasted strings that are URLs

13 years agomake sure there's a screen before attempting to constrain info window size
Mitchell Livingston [Sun, 25 Dec 2011 22:15:13 +0000 (22:15 +0000)]
make sure there's a screen before attempting to constrain info window size

13 years ago#4683 Info window swapped view heights not constrained to screen size
Mitchell Livingston [Sun, 25 Dec 2011 22:05:18 +0000 (22:05 +0000)]
#4683 Info window swapped view heights not constrained to screen size

13 years ago(trunk libT) #4684 "tr_cpSizeWhenDone() is slow for huge torrents that we're only...
Jordan Lee [Thu, 22 Dec 2011 19:35:13 +0000 (19:35 +0000)]
(trunk libT) #4684 "tr_cpSizeWhenDone() is slow for huge torrents that we're only partially downloading" -- fixed.

There are actually two different implementations of the byte-counting in that function: a slower implementation was added prior to 2.40 in r12918 to double-check the standard implementation. This checking was added to help smoke out a bug that was fixed in r12920, but I forgot to remove that slower implementation.

13 years ago(trunk libT) #4666 "webseed downloading never gets downloaded" -- fixed.
Jordan Lee [Wed, 14 Dec 2011 05:58:23 +0000 (05:58 +0000)]
(trunk libT) #4666 "webseed downloading never gets downloaded" -- fixed.

The webseed in question is downloading from an ubuntuone.com url. We ask for piece-sized ranges in a couple of different concurrent connections, and curl hints to the server that it's okay to gzip the response, or deflate it, or leave it raw. It looks like there's a bug in the server or in libcurl (or, somehow, Transmission) that's not compressing or decompressing these responses correctly -- we never get the right number of bytes in the response from libcurl. If we ask for the contents uncompressed, the download progresses towards completion.

As an aside, when testing this I noticed that deluge is a lot faster than Transmission on this torrent. In order for Transmission to reach parity here, webseed.c needs to know when it's appropriate to have more than 4 concurrent tasks and/or be able to request ranges > the torrent's piece size.

13 years ago(trunk libT) fix a minor memory leak in the bencode regression tests.
Jordan Lee [Wed, 14 Dec 2011 05:44:15 +0000 (05:44 +0000)]
(trunk libT) fix a minor memory leak in the bencode regression tests.

Found by llvm's static analyzer. This is a minor issue since the leak is in an automated test rather than in shipping code, but it's still better to fix it.

13 years ago(trunk libT) fix warnings in fileset_get_empty_slot() found by llvm's static-build...
Jordan Lee [Wed, 14 Dec 2011 05:42:15 +0000 (05:42 +0000)]
(trunk libT) fix warnings in fileset_get_empty_slot() found by llvm's static-build analyzer.

static-build found a potential NULL pointer dereference. The circumstances where this could get triggered don't seem very likely, but doesn't hurt to fix the warning.