Commit graph

54 commits

Author SHA1 Message Date
Sam Foster
fb61af287a Bug 1329109 - remove unused time and progressbar code from downloads toolbar icon. r=Paolo
This removes the arrowStyledIndicator killswitch and the associated ability for system add-ons to restore the previous design of the Downloads Indicator in the toolbar. The removal includes all the related code, styles, and strings. Based on the original patch by :rexboy.

MozReview-Commit-ID: 2OEBzPNzl0O

--HG--
extra : rebase_source : f40a319bb4afacb9e196465fc901cb3eb0b25ab5
2017-05-08 10:11:52 -07:00
Doug Thayer
f463069928 Bug 893505 - Simplify the application update UI r=chmanchester,enndeakin+6102,Gijs,rstrong
There's quite a few changes in here. At a high level, all we're trying to do
is to replace the old update popup with a less intrusive and more modern
doorhanger (set of doorhangers) for various update failure conditions.

MozReview-Commit-ID: 24sESMTosNX

--HG--
extra : rebase_source : ee0c1e00fe3f99e16388f0de17274ff97a3b9fcf
2017-03-21 13:50:09 -07: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
Rex Lee
b24135064f Bug 1270012 - Show a bouncing animation for toolbar download icon whenever a download is started. r=paolo
MozReview-Commit-ID: GCDhtYCVC6

--HG--
extra : rebase_source : 2b3c4e12265c9c064651ab3f1359d796c07415b1
2016-09-12 18:27:22 +08:00
Rex Lee
7e3e9279f6 Bug 1338984 - Adjust brightness with respect to download progress for arrow-typed progress icon. r=Paolo
MozReview-Commit-ID: 9pMRmsduskA

--HG--
extra : rebase_source : 3202e80f51320c54e1e26d6a6d50babd5e15d7f5
2017-02-24 17:33:41 +08:00
Rex Lee
1801ff7637 Bug 1270006 - Fill portion of the icon on download button as indicator to download progress r=Paolo
MozReview-Commit-ID: BqYow8jWCVD

--HG--
extra : rebase_source : 4b365535089619a5faf0d3c4f0c4dcd6b4067a43
2016-08-24 18:39:53 +08:00
Florian Quèze
85611a7b6d Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Tooru Fujisawa
9bfd0f50fc Bug 92737 - Part 8: Download multiple files when multiple items are dropped on Downloads button. r=enndeakin 2014-12-21 19:05:03 +09:00
Panos Astithas
6809a297cd Bug 1139472 - Extend the attention state of the Downloads Indicator to indicate success or failure. r=paolo
With this change two new attention states are introduced, "severe" and "warning",
along with the previous "success" and "no attention" states. "No attention" is
still a falsy value in order to mitigate any add-on compatibility issues.
"severe" and "warning states" now display an icon badge to the downloads button
(or the hamburger button if the downloads button is tucked away).

MozReview-Commit-ID: 3gc9Ji7zCXY
2016-04-22 23:09:07 +03:00
Matthew Turnbull
e8fcc4d761 Bug 1213620 - Expose DownloadsButton to the global scope for addon-compat. r=gijs 2015-10-11 14:35:00 +02:00
Carsten "Tomcat" Book
08997000eb 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
cdcff6d0a7 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
52e365bb7b Bug 1202902 - Fix the world. (r=ato for marionette, rs=Mossop for rest) 2015-10-06 14:00:30 -07: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
Paolo Amadini
d4c5c8ca0b Bug 1115364 - Downloads Panel code style refresh. r=jaws 2014-12-29 12:35:27 +00:00
Jim Blandy
7e20285e70 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Gijs Kruitbosch
820ad0464c Bug 963143 - Australis - fix nits for download finish notification patch, rs=mak
--HG--
extra : rebase_source : dec8b20839abdfccb9429d949b2e20709495ad9d
2014-03-15 19:21:36 +01:00
Gijs Kruitbosch
5c52c42a0c Bug 963143 - downloads animation no longer showing when button is in Australis' menu or overflow panel, r=mak
--HG--
extra : rebase_source : 2e74cb17e9a080a2dd5bd27b501b4fe1719bd310
2014-03-14 17:01:34 +01:00
Gijs Kruitbosch
af6f8f6fef Merge mozilla-central and ux 2013-11-12 09:27:50 +01:00
Gijs Kruitbosch
7ec6121dd6 Bug 935836 - should ensure button is operational when it's not, r=mconley 2013-11-11 14:24:54 +01:00
Matthew Noorenberghe
be474fa47a Merge mozilla-central to UX 2013-11-05 01:04:20 -08:00
Paolo Amadini
147dff90bb Bug 899110 - Remove the code to switch between different back-ends from the Downloads Panel. r=enn 2013-11-04 19:21:13 +01:00
Gijs Kruitbosch
d2c7103f90 Bug 916256 - download animation should anchor on panel anchor when the downloads button is in a panel, r=mconley 2013-10-07 15:54:25 +02:00
Gijs Kruitbosch
4ef230e3b8 Merge m-c to ux 2013-10-03 17:20:04 +02:00
Gijs Kruitbosch
3c0e16851b Bug 922847 - Separate animation from download button, r=mconley 2013-10-01 14:15:00 +02:00
Gijs Kruitbosch
d4692f3c09 Merge m-c to UX 2013-10-01 12:00:42 +02:00
Gijs Kruitbosch
63ef7da6bd Bug 845408 - unify download-indicator and download-button, r=mconley 2013-09-18 21:32:16 +02:00
Mike de Boer
7945880281 Bug 881905: attach downloads panel to the chevron if overflowed. r=jaws,mak 2013-09-17 12:44:13 +02:00
Mike Conley
4def8eedd7 Bug 899608 - Remove cruft from XULWidgetGroupWrapper, and move areaType getter into group wrappers. r=Gijs, rs=mak. 2013-08-01 12:18:01 -04:00
Mike de Boer
b8f61af7a9 Bug 873517: Update CSS selectors for Downloads indicator on Linux to show icon. r=mak 2013-08-01 12:47:11 +02:00
Mike Conley
5ff05fe34d Bug 873058 follow-up - AREATYPE_MENU_PANEL does not exist. Have to use TYPE_MENU_PANEL instead. r=trivial. 2013-06-14 19:34:10 -04:00
Mike Conley
96f4899d16 Bug 873053 - Make Downloads button open the Library if it's in the menu panel. r=mak. 2013-06-11 17:10:57 -04:00
Xidorn Quan
aa5ed0415a Bug 861613 - Make animation of download notification togglable. r=mak 2013-06-10 08:30:44 -04:00
Michael Brennan
d4e26648fd Bug 865312 - Remove DownloadsIndicatorView functions onDragLeave and onDragExit. r=mak 2013-05-13 09:22:30 -04:00
Girish Sharma
815e0cf063 Bug 857801 - Prevent glowing Download Notification Effect of Toolbar Button with Panel opened. r=mconley 2013-05-04 00:01:16 +05:30
Cykesiopka
26e9217bb7 Bug 794410 - Prevent drag and dropping an about: tab to the download button downloading the associated XUL file. r=paolo 2013-04-08 08:29:30 -04:00
Josh Matthews
8a38786008 Bug 830066 - Use proper document for dropping links on toolkit download UI. r=mak 2013-01-21 15:09:51 +00:00
Paolo Amadini
6a48a6d878 Bug 812813 - The Downloads Panel needs to draw your attention when a download finishes. r=mak
--HG--
rename : browser/themes/gnomestripe/downloads/download-notification.png => browser/themes/gnomestripe/downloads/download-notification-start.png
rename : browser/themes/pinstripe/downloads/download-notification.png => browser/themes/pinstripe/downloads/download-notification-start.png
rename : browser/themes/winstripe/downloads/download-notification.png => browser/themes/winstripe/downloads/download-notification-start.png
2013-01-06 12:18:21 +01:00
Marco Bonardo
f0887dc392 Backout 1a99d532ccd6:ac7fc104c829 (bug 812813) due to bc test failure
--HG--
rename : browser/themes/gnomestripe/downloads/download-notification-start.png => browser/themes/gnomestripe/downloads/download-notification.png
rename : browser/themes/pinstripe/downloads/download-notification-start.png => browser/themes/pinstripe/downloads/download-notification.png
rename : browser/themes/winstripe/downloads/download-notification-start.png => browser/themes/winstripe/downloads/download-notification.png
2013-01-05 13:08:40 +01:00
Paolo Amadini
ac4a4d2b2c Bug 812813 - The Downloads Panel needs to draw your attention when a download finishes.
--HG--
rename : browser/themes/gnomestripe/downloads/download-notification.png => browser/themes/gnomestripe/downloads/download-notification-start.png
rename : browser/themes/pinstripe/downloads/download-notification.png => browser/themes/pinstripe/downloads/download-notification-start.png
rename : browser/themes/winstripe/downloads/download-notification.png => browser/themes/winstripe/downloads/download-notification-start.png
2013-01-05 11:44:34 +01:00
Ehsan Akhgari
e511b0e504 Bug 801232 - Add support for the downloads panel in per-window private browsing builds; r=mak 2012-12-05 22:31:26 -05:00
Ehsan Akhgari
e248c72e5e Backed out changeset ea20935fa19d (bug 801232) because of leaks 2012-12-06 15:52:30 -05:00
Ehsan Akhgari
08fe432eb6 Bug 801232 - Add support for the downloads panel in per-window private browsing builds; r=mak 2012-12-05 22:31:26 -05:00
Ehsan Akhgari
bf3f7c8da2 Backed out changeset 31d5dca2a3b4 (bug 801232) because of leaks 2012-12-06 14:01:35 -05:00
Ehsan Akhgari
9360dba19d Bug 801232 - Add support for the downloads panel in per-window private browsing builds; r=mak 2012-12-05 22:31:26 -05:00
Marco Bonardo
19c1ead74d Bug 809022 - The downloads button opens the panel even if it's disabled.
r=paolo
2012-11-06 23:11:14 +01:00
Marco Bonardo
ffe07d9115 Bug 803546 - Applying background theme causes Downloads button to jump around.
r=mconley
2012-11-06 23:11:11 +01:00
Jan Horak
0945a39988 Bug 567377 - Support drag and drop for Linux. r=mak77 2012-10-25 17:43:24 -04:00
Mike Conley
364cef6a4f Bug 791569 - Toolkit Downloads window sometimes opens on first download even though the download button is visible. r=mak. 2012-10-10 16:12:56 -04:00
Paolo Amadini
c9b3789953 Bug 748160 - Update the Downloads command to open the Downloads view instead of the Downloads Panel. r=mak 2012-08-25 11:37:55 +02:00