Mitchell Livingston
351f574f08
when showing/hiding group rows, fade them in/out instead of sliding them left
2012-01-07 16:18:56 +00:00
Mitchell Livingston
abc1852ff8
#4701 Table looks like it will accept drag-and-drop without a row
2012-01-07 16:01:28 +00:00
Mitchell Livingston
b2f3bc7eaf
#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.
2012-01-07 15:46:42 +00:00
Mitchell Livingston
62cef8ea98
speed up for #4696
2012-01-04 23:40:23 +00:00
Mitchell Livingston
9eab42d613
#4696 (Lion) animate sorting the main table
2012-01-04 05:16:07 +00:00
Mitchell Livingston
9353eba3cd
#4694 replace more reloadData table calls with setNeedsDisplay:
2012-01-04 00:36:21 +00:00
Mitchell Livingston
16e70167d0
update moveGroupAtRow:toRow to use NSMutableArrayAdditions's moveObjectAtIndex:toIndex:
2012-01-04 00:06:30 +00:00
Mitchell Livingston
d024e6bf39
#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
2012-01-03 01:53:53 +00:00
Mitchell Livingston
97c9f72cda
revert r13121 for the time being
2012-01-02 23:55:10 +00:00
Mitchell Livingston
575a57525c
don't create a NSColorPanel just to close it
2012-01-02 21:47:14 +00:00
Mitchell Livingston
ff5510a3fc
#4693 (Lion) animate adding/removing/dragging rows in the group pref table
2012-01-02 19:05:21 +00:00
Jordan Lee
cac5c360f2
(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.
2011-12-31 21:28:53 +00:00
Mitchell Livingston
a03cad7132
remove accidental line removal in r13121
2011-12-29 18:42:45 +00:00
Mitchell Livingston
577b578f61
#4688 On Lion use new dragging functionality, allowing for the count of dragged files to appear under the mouse pointer
2011-12-29 18:40:17 +00:00
Mitchell Livingston
ea33599308
display the priority images in the pulldown menus in the add windows
2011-12-28 03:25:48 +00:00
Mitchell Livingston
2a670d54a9
support pasting magnet links into the torrent table
2011-12-27 23:19:14 +00:00
Mitchell Livingston
22a5e885ba
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
2011-12-26 02:46:27 +00:00
Mitchell Livingston
5339d25dca
run on Snow Leopard again
2011-12-26 02:39:30 +00:00
Mitchell Livingston
aafb346abd
#4686 Capture pasted strings that are URLs
2011-12-26 02:33:13 +00:00
Mitchell Livingston
01590dacf3
make sure there's a screen before attempting to constrain info window size
2011-12-25 22:15:13 +00:00
Mitchell Livingston
25a5834614
#4683 Info window swapped view heights not constrained to screen size
2011-12-25 22:05:18 +00:00
Jordan Lee
a8468a7b09
(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.
2011-12-22 19:35:13 +00:00
Jordan Lee
9576dd16e2
(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.
2011-12-14 05:58:23 +00:00
Jordan Lee
f9cc51f0d3
(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.
2011-12-14 05:44:15 +00:00
Jordan Lee
0d13057111
(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.
2011-12-14 05:42:15 +00:00
Jordan Lee
206b1a9a5f
(trunk web) fix warnings in tr_urlIsValidTracker() and tr_urlIsValid() found by llvm's scan-build.
...
scan-build found similar warnings in these two functions relating to allowing NULL pointers to be passed as arguments to functions that don't allow NULL. So now those NULL checks are made explicit before the function calls.
2011-12-14 05:40:21 +00:00
Mitchell Livingston
30f7fae5a5
eliminate all warnings by switching NSOpenPanel/NSSavePanels to use completion handler blocks
2011-12-11 22:31:01 +00:00
Jordan Lee
d524deecb0
(trunk libT) #4372 "make notification and system sounds configurable" -- instead of using notify-send, use GDBus on the org.freedesktop.Notifications API. Patch by fmuellner.
2011-12-10 19:00:50 +00:00
Jordan Lee
4e2b6f6e9f
#4664 "Use completeBaseName() instead of baseName() in the 'New Torrent' dialog" -- patch contributed by cantabile
2011-12-10 18:45:21 +00:00
Jordan Lee
1cfeb4debb
(trunk libT) #4644 "Transmission can't download big files from webseed." -- fix overflow error with a patch based on one from and_cesbo. (Modified by Jordan to add random bugs.)
2011-12-10 18:42:52 +00:00
Jordan Lee
74b8552521
(trunk daemon) #4648 "Transmission-Remote With Full URL Specified Broken" -- fixed with patch from niol
2011-12-10 18:34:36 +00:00
Mitchell Livingston
7d14f9617b
#4654 Make Mist notifications an optional setting configured through Preferences
2011-12-03 02:50:21 +00:00
Mitchell Livingston
89a35a880e
alphabetize the sorting options. with "queue order" at the top
2011-11-28 12:37:14 +00:00
Jordan Lee
2d4d29793c
(trunk web) #4637 "sorting by size in the web ui" -- patch added.
2011-11-28 03:35:33 +00:00
Mitchell Livingston
788b1f20a7
update Growl framework to 1.3.1
2011-11-27 14:40:00 +00:00
Mitchell Livingston
0a9b47da50
whoops typo
2011-11-22 03:30:37 +00:00
Mitchell Livingston
749c9a4c7d
update jQuery to 1.7.1
2011-11-22 03:19:34 +00:00
Mitchell Livingston
caa1c8fb8f
#4643 Support µTorrent's long-version-number peer id
2011-11-22 03:02:18 +00:00
Mitchell Livingston
c674378499
#3948 avoid a crash when closing magnet link windows
2011-11-19 16:14:16 +00:00
Jordan Lee
6f09191a84
(trunk web) #4635 "favicon.ico is not transparent" -- fixed.
2011-11-16 13:53:38 +00:00
Mitchell Livingston
bc79f36f8c
#3948 Fix crash with command-option-w
2011-11-15 00:09:17 +00:00
Jordan Lee
c56938b433
(trunk web) tweak the filterbar's display of the torrent count
2011-11-14 05:22:27 +00:00
Jordan Lee
1ccd8c5602
(trunk web) tweak the filterbar's look again, this time to give a better appearance on FF and Chrome
2011-11-14 01:50:30 +00:00
Jordan Lee
37bd984302
(trunk web) followup to r13087 that makes the filterbar grouping a little nicer. Also use livings124's suggestion of always showing the up/down speeds even when they are zero
2011-11-14 01:44:11 +00:00
Jordan Lee
93708228e2
(trunk web) the filter mode is preserved between sessions, so on startup initialize the filter mode selector properly.
2011-11-13 23:08:49 +00:00
Jordan Lee
fab05d7f7b
tweak the filter entry field's look on FF
2011-11-13 22:13:47 +00:00
Jordan Lee
d17e9ff1c9
(trunk web) fix a startup timing issue by deferring the Transmission object's instantiation to the end of our $(document).ready() function.
2011-11-13 20:13:25 +00:00
Jordan Lee
e2c24f28c4
(trunk web) experiment with making the filterbar more phone-friendly
2011-11-13 18:04:29 +00:00
Jordan Lee
438143f3ed
(trunk web) fix minor pluralization issues
2011-11-13 16:51:05 +00:00
Jordan Lee
42997e4102
don't use the word 'template' as a variable name, since it's a reserved word in C++
2011-11-12 00:16:04 +00:00