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
Wes Kocher
08356deb1c
Merge m-c to autoland, a=merge
...
MozReview-Commit-ID: LEKykpTAKjv
2017-08-25 17:32:33 -07:00
Gijs Kruitbosch
663af591de
Back out changeset 97f7f5175b2f (bug 1371765) because we're changing the plan for the downloads button, rs=backout,firebot,paolo
...
MozReview-Commit-ID: FTvFDV5nuG6
2017-08-25 13:32:47 +01:00
Blake Winton
cbe7a23f74
Bug 1384692 - Update the download doorhanger style. ui-r=amylee, r=Paolo.
...
MozReview-Commit-ID: 4pY9JxnLNYk
2017-08-01 09:18:11 -04:00
Gijs Kruitbosch
89a0e2f431
Bug 1371765 - make downloads button non-customizable, r=jaws,Paolo
...
MozReview-Commit-ID: E9izQpa4fFZ
2017-08-16 15:54:36 +01: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
Florian Quèze
e62545f7be
Bug 1381853 - lazy load downloads scripts into the browser window, r=mconley.
2017-07-23 00:18:00 +02:00
Paolo Amadini
1a2766e349
Bug 1381409 - Part 3 - Use DownloadList notifications directly in front-end download views. r=mak
...
The DownloadList object now provides batch notifications directly, in preparation for linking front-end views to other types of download lists without having to use the DownloadsData indirection.
MozReview-Commit-ID: FOTz1YwGRE1
2017-07-17 12:05:12 +01:00
Paolo Amadini
81fd3d7bde
Bug 1381409 - Part 2 - Let each view keep the state of downloads relevant to it. r=mak
...
The front-end download views now maintain the old download state themselves, instead of relying on the DownloadsData object dispatching the onDownloadStateChanged notification.
This allows each view to keep only the state relevant to it, for example the Downloads Panel already keeps the state only for the visible items. This also makes it possible for each view to use a different hash than the one provided by the legacy stateOfDownload method, and allows bypassing the DownloadsData indirection entirely.
MozReview-Commit-ID: 2D1ixsZCkCa
2017-07-17 12:07:17 +01:00
Paolo Amadini
1907d28bdd
Bug 1381409 - Part 1 - Always add Download objects in their original order. r=mak
...
When a new front-end view is added to the DownloadsData object, the Download objects it contains are loaded into the view starting with the newest, which is the opposite of the order used by the underlying DownloadList.
This was originally implemented as an optimization for the Downloads Panel, at a time when the full list of completed downloads was persisted in the same SQLite database as session downloads. This difference is now unnecessary given the low number of session downloads, and can be removed in preparation for bypassing the DownloadsData indirection entirely.
MozReview-Commit-ID: 5EBkqvyXFq4
2017-07-16 17:36:00 +01:00
Paolo Amadini
efed284f45
Bug 1009116 - Redo resizing architecture of panelmultiview. r=Gijs
...
The height of the "panelmultiview" binding is now determined by the stack layout code, and doesn't have to be calculated manually via JavaScript anymore. This allows the removal of mutation and overflow observers, and reduces the number of synchronous layouts being made.
There is still a workaround included for wrapping blocks not being taken into account in height calculations.
MozReview-Commit-ID: 9rrPU5O5hUx
2017-05-23 17:08:01 +01:00
Paolo Amadini
b972e9cc0c
Bug 1362207 - Remove the dropdown menu from the footer of the Downloads Panel. r=mak
...
MozReview-Commit-ID: CFrHklbB7TK
2017-05-05 15:37:00 +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
David Rajchenbach-Teller
d557516aec
Bug 1087255 - Convert Download JS clients of RemovePage(s) to History.remove;r=paolo
...
MozReview-Commit-ID: KpXAh74W12E
2014-10-31 12:39:28 +01:00
Sean Lee
233ef57ca5
Bug 1282662 - Part 2: Implement the detail description in hover button case.; r=Paolo
...
MozReview-Commit-ID: G3L0sULmRLD
2016-12-21 22:50:07 +08:00
George Pîrlea
7262d5afe4
Bug 991965 - Inhibit item selection and update commands when the DownloadsBlockedSubview is open. r=paolo
...
MozReview-Commit-ID: Akly0NenY8Z
2017-01-21 17:42:36 +00:00
George Pîrlea
4c524107e8
Bug 991965 - Use event.target and inhibit item selection if the context menu is open. r=paolo
...
1) In the Downloads Panel, hovering over an item would sometimes not trigger an
actual selection, due to an error in how 'onDownloadMouseOver()' events were
processed - 'aEvent.orginalTarget' doesn't take retargets into account. Fixed
by using 'aEvent.target' instead of 'aEvent.originalTarget'.
2) In the Downloads Panel, right-clicking an item opens a context menu that
lets you act on the selected item. However, if you unintentionally hover over a
different item when the context menu is open, the selection changes. You may,
for example, 'Remove From History' a different, unintended item. Fixed by
inhibiting item selection when a context menu is open for a download item.
MozReview-Commit-ID: DLIAFNcs33N
2017-01-21 12:21:51 +00:00
Florian Quèze
63de711857
Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
2017-01-17 11:50:25 +01:00
Rex Lee
f09826a23b
Bug 1269957 - Unify height of download items and allow maximum 5 items to show in downloads panel. r=Paolo
...
MozReview-Commit-ID: 1EoBfLXyDVN
2016-12-01 20:42:05 +08:00
Sean Lee
e6a4eae011
Bug 1282664 - Redesign the right-menu on a download item in Downloads Panel.; r=Paolo
...
MozReview-Commit-ID: DyTisE3dX1A
2016-10-14 14:07:00 +08:00
Paolo Amadini
52e44cd4c0
Bug 1300556 - Adjust the height of the Downloads Panel if downloads are removed while the panel is hidden. r=jaws
...
MozReview-Commit-ID: JpW9G6MAGwM
2016-09-07 15:00:46 +01:00
Sean Lee
0d30583c4a
Bug 1298276 - Change the hover behavior in summary section with downloading files. r=paolo
...
MozReview-Commit-ID: 1hKBRXOBH6c
2016-08-18 14:45:57 +08:00
Drew Willcoxon
c4991eb672
Bug 1292345 - Downloads panel didn't shrink to the fit height after all items are downloaded. r=me
...
MozReview-Commit-ID: AV0S8GM0ztj
2016-08-26 16:36:56 -07:00
Drew Willcoxon
be9189f4dd
Bug 1292573 - Broken keyboard interaction with the subview in the Downloads Panel. r=Paolo
...
MozReview-Commit-ID: 3jiqzlzLuWM
2016-08-26 09:59:11 -07: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
Sean Lee
4a6aa72b89
Bug 1297039 - Implement the preference for showing dropmarker or not in Downloads Panel., r=Paolo
...
MozReview-Commit-ID: ArmPPgLABtA
2016-08-22 18:44:24 +08:00
Sean Lee
904b253968
Bug 1269962 - Implement a popup menu for showing a submenu in Downloads Panel Footer., r=Paolo
...
MozReview-Commit-ID: 7K1W15039W8
2016-07-13 13:39:00 +08:00
Drew Willcoxon
acaa33eb72
Bug 1287914 - Buttons in sliding panel overlay are not clickable. r=jaws
...
MozReview-Commit-ID: 91yoPxiMIy8
2016-07-28 11:51:53 -07:00
Drew Willcoxon
3b0116e6e0
Bug 1280709 - Downloads panel's "Show All Downloads" menu item is no longer clickable below its text label. r=gijs
...
MozReview-Commit-ID: HgTiDObq2JU
2016-07-25 12:25:52 -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
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
8a79832341
Bug 1254100 - Part 2 - Downloads blocked by Application Reputation should provide information about the verdict. r=mak
...
MozReview-Commit-ID: FYH5Tdtbzn
2016-03-16 14:29:23 +00: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
Paolo Amadini
e309bff73c
Bug 1117145 - Part 2 - Unify DownloadsViewItem and DownloadsViewItemController. r=jaws
...
MozReview-Commit-ID: 8qcV5Y7t1hM
2016-02-10 14:54:24 +00:00
Dave Townsend
6bc2e9ae43
Bug 1229224: Fix linting for some browser files that tests depend on. r=felipe
2015-12-17 15:19:00 -08:00
Carsten "Tomcat" Book
036e6d2fa3
Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
...
Backed out changeset 647025383676 (bug 1202902 )
Backed out changeset d70c7fe532c6 (bug 1202902 )
2015-10-07 14:03:21 +02:00
Sebastian Hengst
190bccea7d
Backed out changeset c6b267589d0d (bug 1202902) for Mulet Reftest, W3C Platform Test and other failures. r=backout a=backout on a CLOSED TREE
2015-10-07 13:36:26 +02:00
Shu-yu Guo
a021cebc10
Bug 1202902 - Fix the world. (r=ato for marionette, rs=Mossop for rest)
2015-10-06 14:00:30 -07: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
Shu-yu Guo
37989840cd
Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff)
2015-09-15 11:19:45 -07:00
Nazim Can Altinova
c0751b8e87
Bug 1198235 - abuse of bind(this) with add/removeEventListener in downloads.js. r=mak
2015-08-31 14:04:00 +02:00
Birunthan Mohanathas
fe337d7c5e
Bug 1166840 - Remove unused document argument in uses of nsIClipboardHelper.copyString. r=ehsan
2015-05-21 21:49:30 +01:00
Bill McCloskey
5a327da4cf
Bug 1145394 - Remove exec bit on js files (r=fabrice,gavin)
2015-03-20 11:57:38 -07:00
Jared Wein
325a0016a0
Bug 1137909 - part 2: context menuitem to unblock downloads and an X button to confirm the blocked download. r=paolo
2015-03-05 12:25:45 -05:00
Paolo Amadini
39021a098d
Bug 1137996 - Can't drag items from downloads panel. r=mak
2015-03-03 10:23:12 +00:00