Mike de Boer
15e60d9e71
Bug 1034036 - Part 2: Rename and shorten getMostRecentBrowserWindow to getTopWindow and modernize the style used in BrowserWindowTracker.jsm. r=dao
...
MozReview-Commit-ID: EvgAhq4uR3a
2018-04-11 12:05:59 +02:00
Mike de Boer
2271d50b55
Bug 1034036 - Part 1: Merge RecentWindow.jsm and UpdateTopLevelContentWindowIDHelper.jsm into one module called 'BrowserWindowTracker.jsm'. r=dao
...
MozReview-Commit-ID: 9qzq1aGvjDu
2018-04-11 12:05:56 +02:00
Ursula Sarracini
42bc55ef72
Bug 1448143 - Factor out a size getter from DownloadsViewUI.jsm so other consumers can access it r=Mardak
...
MozReview-Commit-ID: EgyfXz1ntys
2018-03-23 14:21:48 -04:00
Florian Quèze
f1a55f73f8
Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8.
2018-02-23 20:50:01 +01:00
Andrew McCreight
272cee1e65
Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
...
This patch was autogenerated by my decomponents.py
It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.
It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.
It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)
MozReview-Commit-ID: DeSHcClQ7cG
2018-02-06 09:36:57 -08:00
Kris Maglione
0bb74efdf1
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Cosmin Sabou
f09d6d985d
Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
...
Backed out changeset a1eca62826a1 (bug 1431533 )
Backed out changeset 34c999fa006b (bug 1431533 )
Backed out changeset e2674287e57f (bug 1431533 )
2018-01-30 07:17:48 +02:00
Kris Maglione
fd67f090b2
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Brindusan Cristian
483ba301cb
Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
...
Backed out changeset 6e56f4c8843e (bug 1431533 )
Backed out changeset 12fc4dee861c (bug 1431533 )
2018-01-30 02:32:43 +02:00
Kris Maglione
683a97d172
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Dan Banner
5af4450327
Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
...
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Mike de Boer
a4093e9f4e
Bug 1398106 - Check the disabled state for each menuitem in the context menu for a Download in the Library subview. r=Paolo
...
The 'cmd_delete' command was clashing with another controller which keeps
disabling the menuitem, so it's been renamed to 'downloadsCmd_delete' instead.
MozReview-Commit-ID: IiWEVMt0dfW
2017-09-21 13:49:34 +02:00
Mike de Boer
bc72a05e37
Bug 1354532 - Part 1 - Implement a new Downloads view as part of the Library widget. r=Paolo
...
MozReview-Commit-ID: AqH8Zj8XCQl
2017-09-06 16:23:00 +02:00
Sebastian Hengst
2b4cc8b55c
Backed out changeset f1d18c741b2c (bug 1354532) for eslint failure at browser/components/downloads/DownloadsCommon.jsm:671: Expected property shorthand. r=backout
2017-09-06 16:48:00 +02:00
Mike de Boer
6cb3ed2016
Bug 1354532 - Part 1 - Implement a new Downloads view as part of the Library widget. r=Paolo
...
MozReview-Commit-ID: AqH8Zj8XCQl
2017-09-06 16:23:00 +02:00
Paolo Amadini
d1e1b518d1
Bug 1381411 - Implement the DownloadHistoryList object. r=mak
...
This also changes the Library window to use the newly added back-end object. The only user-visible change should be how the selection behaves when retrying downloads.
MozReview-Commit-ID: 7CQr1m21rcB
2017-08-04 14:48:53 +01:00
Paolo Amadini
22d5def704
Bug 1354568 - Show the final file size in the Downloads Panel. r=mak
...
MozReview-Commit-ID: I9D2yaYpwHD
2017-07-18 15:00:19 +01:00
Paolo Amadini
fece3c6437
Bug 1281186 - Remove uses of nsIDownloadManager from DownloadsCommon.jsm, DownloadsViewUI.jsm, and allDownloadsViewOverlay.js. r=mak
...
MozReview-Commit-ID: 28nc8aTea5v
2017-05-05 11:20:53 +01:00
Yiren Wang
fd7cf240a8
Bug 1264206 - Enable ESLint for browser/components/downloads and fix the existing issues. r=Standard8
...
MozReview-Commit-ID: HDjTxdFCnRp
2017-04-03 10:25:05 +01:00
Sean Lee
e9de65ebe2
Bug 1282662 - Part 1: Redesign the detail description of Download item in normal or hover cases.; r=Paolo
...
MozReview-Commit-ID: ITkv5XdQxEI
2016-12-07 11:54:41 -10:00
Paolo Amadini
b6c2b1ca8c
Bug 1333064 - Unblocked malware downloads are styled incorrectly in the Downloads Panel. r=mak
...
MozReview-Commit-ID: IT4Dd9tBzt0
2017-01-23 15:53:15 +01:00
Sean Lee
b55f28e344
Bug 812894 - Use the short time format for downloading remaining time.; r=Paolo
...
MozReview-Commit-ID: 8riIUa7MCfr
2016-12-08 23:21:23 -10:00
KM Lee
cb4a37ab40
Bug 1301384 - Part 2 - Unify Progressbar across different OSs for download panels. r=dao
2016-12-01 11:21:20 +01:00
Drew Willcoxon
cd5d66ad17
Bug 1292566 - The "open" button in the subview for uncommon and potentially unwanted downloads should not ask for confirmation. r=Paolo
...
MozReview-Commit-ID: AVDyaQSbriX
2016-08-24 17:56:44 -07:00
Drew Willcoxon
b3dd460b22
Bug 1252509 - Use a sliding panel overlay from the downloads panel to display the available actions. r=jaws
...
MozReview-Commit-ID: FhRlxcPeWu3
2016-06-10 22:08:59 -07:00
Paolo Amadini
c69ef4bd4a
Bug 1265387 - The default action for uncommon downloads should open the file directly. r=past
...
MozReview-Commit-ID: GrZev8J5MRN
2016-04-20 15:44:38 +01:00
Paolo Amadini
1ca2e7074f
Bug 1198181 - Part 5 - Change the unblock dialog actions based on the verdict. r=past
...
MozReview-Commit-ID: 3NkvpI9EqpB
2016-04-20 11:16:00 +01:00
Paolo Amadini
47b98eea1b
Bug 1198181 - Part 4 - Differentiate the icons for blocked downloads depending on the verdict. r=past
...
MozReview-Commit-ID: 1wvRJdJ3NhM
2016-04-19 11:26:47 +01:00
Paolo Amadini
6aac7113ea
Bug 1198181 - Part 3 - Showing the unblock dialog should be the visible action for verdicts other than malware. r=past
...
MozReview-Commit-ID: GJNojR8L3Mx
2016-04-15 15:44:33 +01:00
Paolo Amadini
eaa8692867
Bug 1198181 - Part 2 - Unify the code that updates the state of download items. r=jaws
...
MozReview-Commit-ID: KptYcAGbMG2
2016-04-15 15:37:22 +01:00
Paolo Amadini
be12a70c50
Bug 1117145 - Part 5 - Share the implementation of some of the download item commands. r=jaws
...
MozReview-Commit-ID: La6km3izidY
2016-02-14 17:28:12 +00:00
Paolo Amadini
1e4079adf2
Bug 1117145 - Part 4 - Unify how commands are handled in the Downloads Panel and the Library. r=jaws
...
MozReview-Commit-ID: 2Irgwu5YI72
2016-02-29 15:50:57 +00:00
Tooru Fujisawa
7fc9d2c511
Bug 1207491 - Part 6: Remove use of expression closure from browser/components/downloads/. r=Gijs
2015-09-23 18:36:20 +09:00
Bill McCloskey
5a327da4cf
Bug 1145394 - Remove exec bit on js files (r=fabrice,gavin)
2015-03-20 11:57:38 -07:00
Paolo Amadini
0333cf8e9e
Bug 1129896 - Part 2 of 2 - Convert the shared front-end code to a JavaScript code module. r=mak
2015-02-16 18:49:56 +00:00