Commit graph

34 commits

Author SHA1 Message Date
Mike de Boer
d16ee58ded Bug 1034036 - Part 1: Merge RecentWindow.jsm and UpdateTopLevelContentWindowIDHelper.jsm into one module called 'BrowserWindowTracker.jsm'. r=dao
MozReview-Commit-ID: 9qzq1aGvjDu

--HG--
rename : browser/modules/UpdateTopLevelContentWindowIDHelper.jsm => browser/modules/BrowserWindowTracker.jsm
extra : rebase_source : 9c4a728e13fd691d377e7f221c5632646115daca
2018-04-11 12:05:56 +02:00
Ursula Sarracini
8189974edc Bug 1448143 - Factor out a size getter from DownloadsViewUI.jsm so other consumers can access it r=Mardak
MozReview-Commit-ID: EgyfXz1ntys

--HG--
extra : rebase_source : 8a2fcdd366764a6cf0d51a14d7df2f70fb1a3af0
2018-03-23 14:21:48 -04:00
Florian Quèze
682b1ec3b2 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
5dec0e0beb 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

--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Kris Maglione
918ed6c474 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

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou
9a65a40178 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
6476f95b13 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

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian
af8879d1eb 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
c276bb9375 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

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Dan Banner
7caa92d5d8 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
a4b9e1a983 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

--HG--
extra : rebase_source : 4ac0e2c72d83cd799d4bf78bdf5253e81e97bbf5
2017-09-21 13:49:34 +02:00
Mike de Boer
0fcde6db9c Bug 1354532 - Part 1 - Implement a new Downloads view as part of the Library widget. r=Paolo
MozReview-Commit-ID: AqH8Zj8XCQl

--HG--
extra : rebase_source : a78764e9ab25af06c5652d13065e3f8944998025
2017-09-06 16:23:00 +02:00
Sebastian Hengst
c3dc29271d 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
bfdabc36cf Bug 1354532 - Part 1 - Implement a new Downloads view as part of the Library widget. r=Paolo
MozReview-Commit-ID: AqH8Zj8XCQl

--HG--
extra : rebase_source : a78764e9ab25af06c5652d13065e3f8944998025
2017-09-06 16:23:00 +02:00
Paolo Amadini
a0fc00495b 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

--HG--
extra : rebase_source : e36faf63dadeba0c897b769cb7e14a2d01d0f628
extra : amend_source : 2c7a88b6e3d6de50b37c34a5579b3ab6fb0c10dd
2017-08-04 14:48:53 +01:00
Paolo Amadini
073b04818f Bug 1354568 - Show the final file size in the Downloads Panel. r=mak
MozReview-Commit-ID: I9D2yaYpwHD

--HG--
extra : rebase_source : 445bc80d50dd3401175c1be639715679bb42d6b4
2017-07-18 15:00:19 +01:00
Paolo Amadini
5c2404b2f6 Bug 1281186 - Remove uses of nsIDownloadManager from DownloadsCommon.jsm, DownloadsViewUI.jsm, and allDownloadsViewOverlay.js. r=mak
MozReview-Commit-ID: 28nc8aTea5v

--HG--
extra : rebase_source : 0fe2e78104e727488930b07c8c5a64ccc4274614
2017-05-05 11:20:53 +01:00
Yiren Wang
5f88f7294a 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
a9096e9882 Bug 1282662 - Part 1: Redesign the detail description of Download item in normal or hover cases.; r=Paolo
MozReview-Commit-ID: ITkv5XdQxEI

--HG--
extra : rebase_source : 0fd18d71be9af24fa05db0072fc9d6b58e6035b2
2016-12-07 11:54:41 -10:00
Paolo Amadini
68b38b6b90 Bug 1333064 - Unblocked malware downloads are styled incorrectly in the Downloads Panel. r=mak
MozReview-Commit-ID: IT4Dd9tBzt0

--HG--
extra : rebase_source : d72e51e61e0bac64343e2ed2273239e0b2b8adc2
2017-01-23 15:53:15 +01:00
Sean Lee
e0653aa27c Bug 812894 - Use the short time format for downloading remaining time.; r=Paolo
MozReview-Commit-ID: 8riIUa7MCfr

--HG--
extra : rebase_source : 16c543b46a18c886736daebf5199787580815292
2016-12-08 23:21:23 -10:00
KM Lee
b8c6e0575c Bug 1301384 - Part 2 - Unify Progressbar across different OSs for download panels. r=dao 2016-12-01 11:21:20 +01:00
Drew Willcoxon
1a22b3ba23 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

--HG--
extra : rebase_source : 1e151511068dc708e27f60216b6b055a90d72ef9
2016-08-24 17:56:44 -07:00
Drew Willcoxon
05d0f2d0ee 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
f13e54ad79 Bug 1265387 - The default action for uncommon downloads should open the file directly. r=past
MozReview-Commit-ID: GrZev8J5MRN

--HG--
extra : rebase_source : 4f30d59be56c51801f42f9222a35dc86def9c819
2016-04-20 15:44:38 +01:00
Paolo Amadini
e0a1fb4878 Bug 1198181 - Part 5 - Change the unblock dialog actions based on the verdict. r=past
MozReview-Commit-ID: 3NkvpI9EqpB

--HG--
extra : rebase_source : 029bde9cc35128aea9c2fd61ab1d42b27ad78822
2016-04-20 11:16:00 +01:00
Paolo Amadini
68b3b45f09 Bug 1198181 - Part 4 - Differentiate the icons for blocked downloads depending on the verdict. r=past
MozReview-Commit-ID: 1wvRJdJ3NhM

--HG--
extra : rebase_source : 7eb23e83f767a651a3a7e821c01cffd1f7c9a4a5
2016-04-19 11:26:47 +01:00
Paolo Amadini
139f20eff9 Bug 1198181 - Part 3 - Showing the unblock dialog should be the visible action for verdicts other than malware. r=past
MozReview-Commit-ID: GJNojR8L3Mx

--HG--
extra : rebase_source : 2626cf280548ff60b4c5cf316513757082617e28
2016-04-15 15:44:33 +01:00
Paolo Amadini
916f990002 Bug 1198181 - Part 2 - Unify the code that updates the state of download items. r=jaws
MozReview-Commit-ID: KptYcAGbMG2

--HG--
extra : rebase_source : dadc1863d877de730107b12ff063c8695cf8c90d
2016-04-15 15:37:22 +01:00
Paolo Amadini
0fec3e127c Bug 1117145 - Part 5 - Share the implementation of some of the download item commands. r=jaws
MozReview-Commit-ID: La6km3izidY

--HG--
extra : rebase_source : 6cbd26296b0943e347fd71b263ce2a4dacb9115c
2016-02-14 17:28:12 +00:00
Paolo Amadini
f5f432c4df Bug 1117145 - Part 4 - Unify how commands are handled in the Downloads Panel and the Library. r=jaws
MozReview-Commit-ID: 2Irgwu5YI72

--HG--
extra : rebase_source : d1da32b41a36f383cc76039934ae022742a29840
2016-02-29 15:50:57 +00:00
Tooru Fujisawa
e3e8c7540e Bug 1207491 - Part 6: Remove use of expression closure from browser/components/downloads/. r=Gijs
--HG--
extra : commitid : 8BIIBSCXIf9
extra : rebase_source : cca677e0c83e99cca719f5b6f794060fa0144205
2015-09-23 18:36:20 +09:00
Bill McCloskey
2cbf53b22f Bug 1145394 - Remove exec bit on js files (r=fabrice,gavin) 2015-03-20 11:57:38 -07:00
Paolo Amadini
cd4b3c7397 Bug 1129896 - Part 2 of 2 - Convert the shared front-end code to a JavaScript code module. r=mak
--HG--
rename : browser/components/downloads/content/downloadsViewCommon.js => browser/components/downloads/DownloadsViewUI.jsm
2015-02-16 18:49:56 +00:00
Renamed from browser/components/downloads/content/downloadsViewCommon.js (Browse further)