Commit Graph

483 Commits

Author SHA1 Message Date
Sam Foster
03c240126f Bug 1700238 - Update download icon and animations. r=Gijs
* Replace the many-shapes icon with a new simple download icon svg and update its consumers
* New start and finish animations using svg filmstrip images
* Toolbarbutton progress "bar" is a pie-chart, using a conic-gradient and a variable updated from js
* Show toolbarbutton animations even when download panel is open

Differential Revision: https://phabricator.services.mozilla.com/D113204
2021-05-01 01:41:31 +00:00
Mike Conley
cbb2b047d7 Bug 1706777 - Apply ghost-button styling to Downloads Panel's Show In Folder button. r=mak,desktop-theme-reviewers,harry
Differential Revision: https://phabricator.services.mozilla.com/D113192
2021-04-28 19:43:41 +00:00
Vaidehi
3b34290126 Bug 1702694 - Use preventFocusRing option to disable the focus ring of downloads list on loading. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D113386
2021-04-28 17:07:19 +00:00
Csoregi Natalia
010df0501b Backed out changeset e01ec8694924 (bug 1700957) as requested. CLOSED TREE 2021-04-28 18:09:01 +03:00
Emma Malysz
91c90b996d Bug 1700957, graduate browser.proton.doorhangers.enabled pref to main proton pref r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D110135
2021-04-28 03:17:56 +00:00
Butkovits Atila
e3f5ddbc25 Backed out changeset 1c362512f27b (bug 1700957) for causing failures at test_chrome_only_media_queries.html. CLOSED TREE 2021-04-28 05:55:14 +03:00
Emma Malysz
75fb2ad086 Bug 1700957, graduate browser.proton.doorhangers.enabled pref to main proton pref r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D110135
2021-04-28 00:29:45 +00:00
Gijs Kruitbosch
57fa00aa52 Bug 1707652 - fix display of download context menu items with macOS native menus, r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D113544
2021-04-27 19:37:14 +00:00
Gijs Kruitbosch
4de7e0419d Bug 1707204 - fix download panel item mouse event handlers so the context menu is considered open before popupshown has fired, r=jaws
As a bonus, this is net code removal.

I spent a long time on a test, but ultimately it seems that in an automated test the
conditions in real use don't appear (ie the mouseout event doesn't happen) unless
manually fired from the test, which seems like it isn't worth it.

Differential Revision: https://phabricator.services.mozilla.com/D113431
2021-04-27 19:37:14 +00:00
Mike Conley
4a0a3d52c3 Bug 1706415 - Revert Proton font-size changes for panels and modals from bug 1701920. r=Gijs
This also necessarily reverts some em unit changes that were introduced in bug 1706259 and
bug 1705386 to use static pixel values instead.

Differential Revision: https://phabricator.services.mozilla.com/D113382
2021-04-27 15:08:52 +00:00
Mike Conley
8e69118915 Bug 1701920 - Assign the same font size multiplier that we use on the URL bar to all panels and subdialogs when Proton is enabled. r=Gijs
This also makes it so that padding in the panels and subdialogs uses em units.

Differential Revision: https://phabricator.services.mozilla.com/D111451
2021-04-13 22:53:34 +00:00
prathikshaprasadsuman
d6b3cb734a Bug 1703014 - Update badge placement and icons in the downloads panel to match proton styles. r=mconley,desktop-theme-reviewers,harry
Differential Revision: https://phabricator.services.mozilla.com/D111409
2021-04-13 18:48:13 +00:00
prathikshaprasadsuman
4a2e4e5004 Bug 1703014 - Update layout in the downloads panel main view to match proton styles. r=mconley,desktop-theme-reviewers,harry
Differential Revision: https://phabricator.services.mozilla.com/D111132
2021-04-13 18:48:11 +00:00
prathikshaprasadsuman
a5ea0015ec Bug 1703014 - Update the downloads panel footer string. r=mconley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D111131
2021-04-09 16:02:21 +00:00
Emilio Cobos Álvarez
82bda9ae67 Bug 1698132 - Convert proton pref checks from @supports rules to media features. r=Gijs
This means that dynamic changes will be handled correctly, we can use
StaticPrefs, etc.

Differential Revision: https://phabricator.services.mozilla.com/D110816
2021-04-05 20:48:05 +00:00
Emma Malysz
7a151c5933 Bug 1701723, do not show focus ring on footer button when opening downloads panel r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D110352
2021-04-01 18:33:50 +00:00
Emma Malysz
77572b69a2 Bug 1699552, change downloads panel font and width when proton is enabled r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D109412
2021-03-23 19:14:27 +00:00
Mike Conley
66673da107 Bug 1697947 - Apply Proton button stylings to the footers of more panels. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D108261
2021-03-16 21:48:37 +00:00
Noemi Erli
abe663dea2 Backed out changeset c35c310c49d3 (bug 1697947) for causing failures in browser_parsable_css.js 2021-03-16 22:58:27 +02:00
Mike Conley
e49c230e43 Bug 1697947 - Apply Proton button stylings to the footers of more panels. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D108261
2021-03-16 19:20:22 +00:00
julianwels
54da4b6113 Bug 1685736 - Mixed content download protection now also opens panel when the panel hasn't been initialized before. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D105254
2021-02-16 18:23:01 +00:00
james
c8a67215e0 Bug 1691274 - Use DOM hidden property methods instead of attribute methods in browser/ directory. r=ntim,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D104552
2021-02-13 23:33:51 +00:00
Narcis Beleuzu
d5390af0ba Backed out changeset b3fcb4fcea64 (bug 1691274) for bc failures on browser_pointerlock_warning.js . CLOSED TREE 2021-02-13 21:46:51 +02:00
james
1c970f6297 Bug 1691274 - Use DOM hidden property methods instead of attribute methods in browser/ directory. r=ntim,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D104552
2021-02-13 18:11:18 +00:00
Emma Malysz
5a03aeace8 Bug 1689405: remove components of library panel r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D103532
2021-01-30 17:12:51 +00:00
Mark Banner
8a9fc4165b Bug 1687235 - Enable ESLint rule no-setter-return for browser/. r=mossop,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D102152
2021-01-26 13:42:38 +00:00
Brindusan Cristian
201069fdac Backed out 5 changesets (bug 1687235) for mochitest failures at test_menulist_null_value.xhtml. CLOSED TREE
Backed out changeset 638c802ca1d1 (bug 1687235)
Backed out changeset ec830b771bce (bug 1687235)
Backed out changeset a7c933ddecfd (bug 1687235)
Backed out changeset c36493fb0599 (bug 1687235)
Backed out changeset 6eb33ad5d460 (bug 1687235)
2021-01-26 10:58:43 +02:00
Mark Banner
36cf48f89d Bug 1687235 - Enable ESLint rule no-setter-return for browser/. r=mossop,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D102152
2021-01-25 22:27:19 +00:00
tanner drake
4edddefa63 Bug 1673129: Prevent all downloads view from scrolling when toggling download resume pause state. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D101766
2021-01-15 15:08:58 +00:00
Marco Bonardo
ab463ebaa5 Bug 1684524 - Selecting all downloads after a search should not select excluded downloads. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D101447
2021-01-13 10:57:35 +00:00
Gijs Kruitbosch
00857d5f82 Bug 1685753 - stop using level=top for the downloads panel, r=mak
Differential Revision: https://phabricator.services.mozilla.com/D101195
2021-01-08 23:35:49 +00:00
Sebastian Streich
ef9e395b00 Bug 1676221 - Add UX nits to unblock UI r=ckerschb,Gijs
Show save dialogue
***
Automaticly show Panel On Block
***
Keep Open/Save Dialogue with open panel
***
Keep User choise in downloadsView
***
Add Unblock option to Unblock panel
***
lint
***
add test

Differential Revision: https://phabricator.services.mozilla.com/D96448
2020-12-18 15:30:33 +00:00
Butkovits Atila
8480457d60 Backed out changeset 234ae5cb0ff8 (bug 1676221) for causing leaks. CLOSED TREE 2020-12-17 10:54:31 +02:00
Sebastian Streich
0515cda67b Bug 1676221 - Add UX nits to unblock UI r=ckerschb,Gijs
Show save dialogue
***
Automaticly show Panel On Block
***
Keep Open/Save Dialogue with open panel
***
Keep User choise in downloadsView
***
Add Unblock option to Unblock panel
***
lint
***
add test

Differential Revision: https://phabricator.services.mozilla.com/D96448
2020-12-16 22:55:12 +00:00
Tim Huang
b77a2550da Bug 1679325 - Part 1: Making contentAreaUtils.saveURL to accept cookieJarSettings. r=smaug
This patch makes the contentAreaUtils.saveURL to be aware of the
cookieJarSettings, and updates all callers.

This also updates the documentation of the persistArgs
'cookieJarSettings' for internalPersist().

Differential Revision: https://phabricator.services.mozilla.com/D98455
2020-12-03 20:10:36 +00:00
Tim Nguyen
9921aa2950 Bug 1677247 - Followup: reformat downloads.css a bit. DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D97945
2020-11-25 07:43:24 +00:00
Kartik Gautam
b2cd2a8893 Bug 1677247 - Replace :not(:is(X)) with :not(X) in the codebase. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D97943
2020-11-25 04:23:25 +00:00
Itiel
3a57098651 Bug 1631202 - Convert all uses of :-moz-any to :is in browser/ r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D90690
2020-09-21 19:35:35 +00:00
Adam Gashlin
349bf16d98 Bug 1639067 part 3 - Extend "Open In System Viewer" from PDF to all viewable internally. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D86652
2020-08-17 21:24:45 +00:00
Dorel Luca
431b3e2a3a Backed out 4 changesets (bug 1639067) for XPCshell failures in tests/unit/test_getMIMEInfo_pdf.js. CLOSED TREE
Backed out changeset 1e400fafd80b (bug 1639067)
Backed out changeset 7bb3c2ec5c7a (bug 1639067)
Backed out changeset 755fd5771648 (bug 1639067)
Backed out changeset 951e10b7354f (bug 1639067)
2020-08-18 00:18:32 +03:00
Adam Gashlin
fcc30dab7f Bug 1639067 part 3 - Extend "Open In System Viewer" from PDF to all viewable internally. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D86652
2020-08-17 19:14:00 +00:00
Sam Foster
7a6bf11a8c Bug 1649421 - Handle null mimeInfo from a download when populating the context menu. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D81767
2020-07-01 22:27:51 +00:00
Sam Foster
19f6f1121e Bug 1639069 - Add download context menu items to 'Use' and 'Always use' the system viewer to open the download. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D79396
2020-06-25 22:19:37 +00:00
Emma Malysz
fb826b9e34 Bug 1627676: add telemetry probes for downloads panel r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D78709
2020-06-12 17:18:07 +00:00
Sam Foster
dbcd872d8e Bug 1638156 - Allow key modifiers to determine how/'where' PDFs are opened when possible. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D75870
2020-05-29 07:16:54 +00:00
Razvan Maries
030be31f02 Backed out 2 changesets (bug 1638156) for perma failures on browser_pdfjs_preview.js. CLOSED TREE
Backed out changeset c5c3da72080f (bug 1638156)
Backed out changeset da0e27f7f17a (bug 1638156)
2020-05-28 05:01:13 +03:00
Sam Foster
0becf30a8f Bug 1638156 - Allow key modifiers to determine how/'where' PDFs are opened when possible. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D75870
2020-05-28 01:13:19 +00:00
Sam Foster
83842cd59d Bug 1191591 - Delegate to the parent class' code when opening downloads from the download panel. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D73773
2020-05-18 17:30:08 +00:00
Sam Foster
0af6b6c35b Bug 1191591 - Consolidate download opening to use download.launch() via a DownloadsCommon.openDownload helper. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D75435
2020-05-18 17:30:00 +00:00
Noemi Erli
80613259fb Backed out 3 changesets (bug 1191591) for causing newtab failures
Backed out changeset bd59c10af492 (bug 1191591)
Backed out changeset 3ff8cc8dd4b7 (bug 1191591)
Backed out changeset c6b3783367f6 (bug 1191591)
2020-05-16 01:57:34 +03:00