1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 01:03:01 +00:00
Commit graph

349 commits

Author SHA1 Message Date
Jordan Lee
6b8a224059 (trunk web) refactor the preferences dialog into its own class. Make the prefs dialog invokable on iPhones/Androids (#1131) and add stop ratio functionality (#2006). 2011-09-14 05:10:51 +00:00
Jordan Lee
442d9fbea9 (trunk web) use "===" instead of "==" when appropriate. 2011-09-05 07:46:55 +00:00
Jordan Lee
165efa4f00 (trunk web) remove unused image 'transfer_arrows.png' 2011-09-04 06:17:37 +00:00
Jordan Lee
2928e9e6ee (trunk web) remove unused variable 'tr' in updateFilesPage() 2011-09-03 22:45:41 +00:00
Jordan Lee
bd1e5b8e12 avoid unnecessary callback closures in the inspector. 2011-09-03 19:15:03 +00:00
Jordan Lee
3efa1bfba4 remove unused functions 2011-09-03 19:13:32 +00:00
Jordan Lee
2944752972 tweak r12834. I shouldn't commit when I'm tired. 2011-09-03 07:29:53 +00:00
Jordan Lee
b18c1b2087 avoid closures in Transmission.refilter, to prevent cyclic references 2011-09-03 07:10:03 +00:00
Jordan Lee
9951f8af9f plug a handful of context leaks. 2011-09-03 05:12:14 +00:00
Jordan Lee
f836308b42 (trunk web) better encapsulation of FileRow -- make most of its fields and methods private. transmission.js and remote.js don't know about FileRow anymore. 2011-09-03 04:33:04 +00:00
Jordan Lee
f04a9f89a4 (trunk, web) run the jquery files through a better minifier, uglifyjs 2011-09-02 21:46:13 +00:00
Jordan Lee
3b4fccadf1 (trunk web) refactor the inspector into its own class; make most of the methods private. 2011-09-02 19:29:41 +00:00
Jordan Lee
f65c557048 simplify the construction of the RPC constants object. Add a context argument to remote. 2011-09-02 05:36:00 +00:00
Jordan Lee
29c225623f don't use Object.keys(), since it's not supported in IE8. 2011-09-01 17:24:49 +00:00
Jordan Lee
2e0986756f make make happy by removing a trailing backslash that came before a blank line. 2011-09-01 14:56:00 +00:00
Jordan Lee
7f3a0c33e3 (trunk web) rename the transmission.remote.js file as remote.js 2011-08-31 22:21:22 +00:00
Jordan Lee
a0d456ca9c Undoing change committed in r12789. The root problem was using jQuery.remove() in Transmission.refilter() when we needed to use jQuery.detach(). 2011-08-31 21:18:31 +00:00
Jordan Lee
d6c5817ffe (trunk web) #4462 "Selecting rows on iPhone doesn't work" -- possible fix. 2011-08-31 16:23:38 +00:00
Jordan Lee
0e74c86e61 (trunk web) minor code cleanup -- fixing comments, grouping argument lists, etc. 2011-08-31 14:24:35 +00:00
Jordan Lee
2b65db86ba fix a bug in jquery.transmenu that caused popping the menu up to be very slow if there are a lot of torrents in torrent_list. 2011-08-31 14:22:28 +00:00
Jordan Lee
8a678b304a (trunk web) add minor SFX when showing/hiding the stats and prefs dialogs 2011-08-31 05:59:24 +00:00
Jordan Lee
50336ff3f1 (trunk web) #4452 "stop/start toggle button doesn't work properly on Chrome 13" -- fixed. Gunzip deserves danger pay for all this web client testing. 2011-08-31 04:39:24 +00:00
Jordan Lee
2ca39d9f7b (trunk web) remove TorrentRow's public method "torrentSet()", since the torrent is only set once in the constructor. 2011-08-31 04:37:49 +00:00
Jordan Lee
1d9ba2a21b (trunk web) #4446 "some trackerless torrents with magnet link don't update the name" -- fixed. 2011-08-31 03:31:10 +00:00
Jordan Lee
1e24f764c1 (trunk web) #4452 "Pause / Resume buttons to the right of all torrents are nonfunctional" -- fixed. 2011-08-31 01:12:04 +00:00
Jordan Lee
6a57cbc52f #4461 "wrong regular expression for HTTP user-agent" -- fixed. 2011-08-31 00:50:28 +00:00
Jordan Lee
0980112555 try to avoid unnecessary reflows in two more ways: (1) use jQuery.css() to set a batch of style properties at once, instead of doing it one at a time (2) when appending rows to the torrent list, use a document fragment to batch them into a single append. 2011-08-31 00:09:21 +00:00
Jordan Lee
49458dcb2f use jQuery.proxy where useful. 2011-08-30 21:55:44 +00:00
Jordan Lee
4984bf0274 (trunk web) decouple the inspector's dataChanged listener from the torrent list's dataChanged listener. 2011-08-30 21:40:18 +00:00
Jordan Lee
e0ef0effc1 setSelectedRow(), selectRow(), deselectRow(), selectAll(), deselectAll() -- use jQuery selectors 2011-08-30 21:31:10 +00:00
Jordan Lee
0c221893d3 (trunk web) in tr.refilter(), instead of calling the expensive tr.getSelectedRows(), use a cheaper jQuery equivalent. 2011-08-30 21:27:30 +00:00
Jordan Lee
c44ce249d2 (trunk web) use String.localeCompare() instead of rolling our own compareTo() function. 2011-08-30 07:27:59 +00:00
Jordan Lee
af1d2b76c0 now that refiltering is faster, shrink the delay between torrent updates and refiltering 2011-08-30 05:49:23 +00:00
Jordan Lee
8d90bcee39 (trunk web) Remove the "inspector is open" cookie. It doesn't make sense for the inspector to be open when we first open the app, since there will be no torrent selection anyway. 2011-08-30 04:54:37 +00:00
Jordan Lee
f6bcaad44b (trunk web) #4452 "'Remove from List' doesn't update unless you manually refresh the page" -- fixed. 2011-08-30 04:27:09 +00:00
Jordan Lee
03b5f7e4da fix accidental tab indentation damage in r12797 2011-08-30 02:57:00 +00:00
Jordan Lee
b23131a5b4 (trunk web) #4452 "file list not refreshing" -- instead of only requesting file info for the inspector when the inspector is opened (and also when torrent selection changes while the inspector is open), keep re-requesting the file info util we've got it. That way if the first request fails, we'll pick it up on subsequent updates. 2011-08-30 02:49:01 +00:00
Jordan Lee
27c6f96271 (trunk web) #4460 "Weird behavior when using up/down keys" -- fixed. 2011-08-30 02:03:17 +00:00
Jordan Lee
895f8ca465 (trunk web) #4459 "Remove 'Compact View' from the action menu" -- done. 2011-08-30 01:54:34 +00:00
Jordan Lee
05155db22c (trunk web) make the corners of the footer buttons handle transparency. 2011-08-30 00:16:34 +00:00
Jordan Lee
c1013ff1a4 in transmission.updateFileList(), move the var declarations to the front of the function. 2011-08-29 21:12:05 +00:00
Jordan Lee
4803b12a09 #4452 'Error: file.name is undefined' at file-row.js line 113 -- fixed. 2011-08-29 21:07:50 +00:00
Jordan Lee
2ef53ca5dd #4455 'Action on N>1 torrents doesn't work properly in web interface' -- when right-clicking in the torrent list, don't change the selection if the row we're hovering over is already selected. 2011-08-29 20:29:45 +00:00
Jordan Lee
92babd4141 #4455 'Action on N>1 torrents doesn't work properly in web interface' -- fix bug in jquery.contextmenu that clobbered jQuery.delegate bindings. 2011-08-29 20:28:19 +00:00
Mitchell Livingston
50c03d585d (trunk web) selecting the up arrow when no transfers are selected selects the bottom transfer; eliminate an error when pushing the up/down arrow keys with a blank torrent list 2011-08-28 19:30:17 +00:00
Jordan Lee
2faba73c5b (trunk web) rename "iphone" variables and css files as "mobile", since they also work on iPods and Android phones. 2011-08-28 17:24:56 +00:00
Jordan Lee
6d4a7a2f10 (trunk web) fix event propagation in keypress events 2011-08-28 16:33:22 +00:00
Jordan Lee
f8195180ba (trunk web) fix regression that broke toolbar refresh 2011-08-28 15:16:54 +00:00
Jordan Lee
1d69770227 fix progressbar color regression 2011-08-28 14:57:13 +00:00
Jordan Lee
dd2033107f (trunk web) migrate from json.js to json2.js. <http://ejohn.org/blog/ecmascript-5-strict-mode-json-and-more/> 2011-08-28 14:51:49 +00:00