Commit Graph

11338 Commits

Author SHA1 Message Date
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
Jordan Lee e0e47db352 (trunk web) #4606 "make selected torrents in webui more discernible" -- fixed. 2011-11-11 05:58:51 +00:00
Jordan Lee 919c6b52fc (trunk web) #4621 "seeding progressbars aren't shown in Web UI" -- fixed. 2011-11-11 04:58:00 +00:00
Jordan Lee 1f97292ec7 (trunk web) #4168 "web client in r13075 not working in IE8" -- fixed, sort of.
IE8 can't handle the W3C method of stacking an image on a linear gradient. Since all supported browsers have other ways besides the W3C method of doing this, we can 'fix' this by removing the W3C method. At some point in the future when browsers all use the W3C method, we can look for a different solution, or drop IE8 support ;)
2011-11-11 04:44:49 +00:00
Jordan Lee b3d382874a (trunk libT) #4625 "Transmission 2.42 fails to build on Solaris 10: Undefined symbol 'mkdtemp'" -- fixed. 2011-11-10 03:31:43 +00:00
Jordan Lee 4caa05b143 #4622 'misleading error message in configure script' -- fixed. 2011-11-08 20:49:20 +00:00
Jordan Lee 327dfa64d9 remove unused variables 2011-11-06 16:06:48 +00:00
Jordan Lee f1fc3584f4 add fallback implementation of Date.now for IE8 2011-11-06 14:42:52 +00:00
Jordan Lee f569bae99c (trunk qt) fix minor bugs in the torrent details dialog's info tab. 2011-11-05 15:45:38 +00:00