Commit Graph

257 Commits

Author SHA1 Message Date
Marco Bonardo
e6b624f4a8 Bug 828488 - Properly set the "active" attribute for session downloads.
r=Mano
2013-01-09 20:00:38 +01:00
Asaf Romano
c4c651accb Bug 828111 - Workaround multiple reflows issue and slow xbl attachment in the downloads view. r=mak 2013-01-10 01:01:15 +01:00
Ed Morley
053428a6eb Backout 912fb83c1820 (bug 828111) for browser-chrome leaks on a CLOSED TREE 2013-01-09 16:31:36 +00:00
Asaf Romano
f0b59062c0 Bug 828111 - Workaround multiple reflows issue and slow xbl attachment in the downloads view. r=mak 2013-01-09 16:03:41 +02:00
Asaf Romano
a2c970dddc Bug 828243 - Cleanup wasDone, wasInProgress and endTime usage. r=mak 2013-01-09 14:45:08 +02:00
Marco Bonardo
e6e1745496 Bug 827405 - Lazily "activate" download items when they enter the visible richlistbox area.
r=Mano
2013-01-08 21:35:41 +01:00
Marco Bonardo
1b53aaaf2a Bug 827298 - Ensure all "Unknown size" downloads have an icon and Remove From History menuitem.
r=Mano
2013-01-07 23:38:27 +01:00
Marco Bonardo
08284dc79a Bug 827164 - Double-click to open exe downloads not working.
r=Mano
2013-01-07 20:16:27 +01:00
Ehsan Akhgari
e17ffc0931 Bug 820301 - Assert that ensurePersistentDataLoaded is not called on PrivateDownloadsData; r=mak 2013-01-06 19:06:17 -05:00
Paolo Amadini
73466e942b 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
Asaf Romano
2dbb5a24f7 Bug 826425 - double-click on finished downloads in Library view doesn't open them. r=mak. 2013-01-05 16:49:58 +02:00
Asaf Romano
2a47148d9f Bug 822343 - Downloads view takes far too long to render. Part 2 - async I/O. r=mak 2013-01-05 16:08:45 +02:00
Marco Bonardo
58f2c34d5f 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
4cb39508a2 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
Marco Bonardo
2a0990e70c Bug 825849 - Add a RemoveAllDownloads API to nsIDownloadHistory.
r=Mano sr=gavin
2013-01-05 10:21:04 +01:00
Mike Conley
85d9ee8a63 Bug 826729 - about:downloads download item buttons look strange, and context menus don't update. r=mak. 2013-01-04 16:01:22 -05:00
Ehsan Akhgari
bedb347d9c Bug 810208 - Show the private download manager UI when clicking on the notification alert after a private download finishes; r=mak sr=gavin 2012-12-29 20:01:34 -05:00
Ed Morley
0d1768b431 Backout f6af3c44e395 (bug 810208) for crashes on a CLOSED TREE 2013-01-02 21:32:36 +00:00
Ehsan Akhgari
008a4d8ac4 Bug 810208 - Show the private download manager UI when clicking on the notification alert after a private download finishes; r=mak sr=gavin 2012-12-29 20:01:34 -05:00
Ehsan Akhgari
e1bdf15ba9 Bug 815352 - Part 3 follow-up: use about:downloads 2012-12-31 12:19:36 -05:00
Ehsan Akhgari
0c1a573099 Bug 815352 - Part 3: Open the Downloads view in a new tab for private windows; r=dao,mconley
--HG--
extra : rebase_source : 825df2860a711d2171fcd5243a8f81d14ec5807e
2012-12-31 12:17:36 -05:00
Mike Conley
c3cf3942ca Bug 746783 - Show "Open Containing Folder" option in Downloads context menu when download is complete. r=Mano. 2012-12-31 11:49:55 -05:00
Ehsan Akhgari
8faf1f30a1 Bug 825295 - Do not display the Places downloads in the in-content download views opened in private windows; r=Mano 2012-12-29 15:23:48 -05:00
Ehsan Akhgari
0396132101 Bug 825454 - Make contentAreaDownloadsView.xul a proper in-content UI; r=dao 2012-12-29 17:04:16 -05:00
Marco Bonardo
d75d179cc8 Bug 822848 - hide the detailsPane for the new downloads view.
r=Mano
2012-12-28 00:54:51 +01:00
Marco Bonardo
ec99c8b12e Bug 825060 - Enable the new Library Downloads view by default when the panel is enabled.
r=mconley
2012-12-28 00:54:48 +01:00
Josh Matthews
a03e568a7d Backed out changeset 5840a8b5cc21 (bug 825060) 2012-12-27 20:44:22 -05:00
Josh Matthews
1dc8a36934 Backed out changeset cce44d592e67 (bug 822848) 2012-12-27 20:44:20 -05:00
Marco Bonardo
e729ac636a Bug 822848 - hide the detailsPane for the new downloads view.
r=Mano
2012-12-28 00:54:51 +01:00
Marco Bonardo
f2bd827433 Bug 825060 - Enable the new Library Downloads view by default when the panel is enabled.
r=mconley
2012-12-28 00:54:48 +01:00
Asaf Romano
238bd8a48a Bug 822343 - Downloads view takes far too long to render. Part 4 - Cache the download state so command-updating doesn't check the file size over and over. r=mconley. 2012-12-22 22:13:25 +02:00
Marco Bonardo
40ee165ead Bug 822343 (Part 3) - Avoid some costs in downloads view appendChild.
r=Mano
2012-12-21 15:19:21 +01:00
Marco Bonardo
d6034d0dd1 Bug 822710 (part 2) - Reduce annotations queries on downloads view first load.
r=Mano
2012-12-21 15:19:06 +01:00
Asaf Romano
66a5493d46 Bug 815352 (Part 2) - Add a stub view to implement in-content downloads.
r=mak
2012-12-20 21:20:18 +01:00
Mike Conley
87898044c6 Bug 822244 - Use the Downloads View in Places if it's preffed on. r=mak. 2012-12-20 09:54:49 -05:00
Asaf Romano
12983421f5 Bug 815352 (part 1) - Move the Library downloads view to an overlay in browser/downloads.
r=mak

--HG--
rename : browser/components/places/content/downloadsView.js => browser/components/downloads/content/allDownloadsViewOverlay.js
rename : browser/components/places/content/download.css => browser/components/downloads/content/download.css
rename : browser/themes/gnomestripe/downloads/downloads.css => browser/themes/gnomestripe/downloads/allDownloadsViewOverlay.css
rename : browser/themes/winstripe/downloads/downloads.css => browser/themes/winstripe/downloads/allDownloadsViewOverlay.css
2012-12-20 12:03:11 +01:00
Marco Bonardo
7206b8895d Bug 822689 - Nothing happens when clicking on a compete download in the Downloads Panel.
r=mconley
2012-12-18 18:02:03 +01:00
Mike Conley
cf1d8f6e65 Bug 817006 - "Remove from List" option in the Downloads Panel should be clarified as "Remove from History". r=mak. 2012-12-14 12:51:52 -05:00
Asaf Romano
4fdf3c3b69 Relanding Bug 675902 - New Downloads view for Places Library. r=mak. Test fix contributed by Mike Conley (r=me). The new view is still disabled. 2012-12-17 07:38:53 +00:00
Boris Zbarsky
a89675b411 Back out bug 675902 (rev 627a842914d0) from CLOSED TREE because it fails browser-chrome tests. 2012-12-14 16:48:49 -05:00
Boris Zbarsky
2464d473a4 Back out bug 817006 (rev 0852e5efadac) because it depends on a patch I'm about to back out for test failures. 2012-12-14 16:46:51 -05:00
Mike Conley
30f0b5af3b Bug 817006 - "Remove from List" option in the Downloads Panel should be clarified as "Remove from History". r=mak. 2012-12-14 12:51:52 -05:00
Asaf Romano
6127b64713 Bug 675902 - Implement the new Downloads view for the places Library window; r=mak 2012-12-14 12:32:20 -05:00
Mike Conley
d0c41feed9 Bug 820533 - Change Downloads Summary string from "+X other current downloads" to "+ X other downloads". r=mak. 2012-12-13 16:09:54 -05:00
Ehsan Akhgari
8ad2aea837 Bug 819956 - Remove gBrowserGlue from DownloadsCommon.jsm; r=gavin 2012-12-10 11:01:59 -05:00
Ehsan Akhgari
52e9ee6cbf Backed out changeset 827c31623942 (bug 819956) for the bad commit message 2012-12-10 13:27:21 -05:00
Ehsan Akhgari
2f10fc9375 commit bed41369196057dda115456f9913cd0f4766a968
Author: Ehsan Akhgari <ehsan@mozilla.com>
    Bug 819956 - Remove gBrowserGlue from DownloadsCommon.jsm; r=mak
2012-12-10 11:01:59 -05:00
Ehsan Akhgari
59fce7687a 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
bec615dc0f Backed out changeset ea20935fa19d (bug 801232) because of leaks 2012-12-06 15:52:30 -05:00
Ehsan Akhgari
9ce06497f6 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
8d0ff7b27f Backed out changeset 31d5dca2a3b4 (bug 801232) because of leaks 2012-12-06 14:01:35 -05:00
Ehsan Akhgari
49b40cd547 Bug 801232 - Add support for the downloads panel in per-window private browsing builds; r=mak 2012-12-05 22:31:26 -05:00
Mike Conley
0cbb098aeb Bug 814961 - Hide the summary in the Downloads Panel if there are no hidden downloads in progress or paused. r=mak. 2012-12-05 12:12:00 -05:00
Mike Conley
e4bb67c95f Bug 817584 - Replace descendent selectors in Downloads Panel CSS with child selectors. r=mak. 2012-12-03 13:19:16 -05:00
Mike Conley
320735d648 Bug 815941 - Remove the usages of nsIDownload.id and nsIDownloadManager.getDownload from the downloads panel code. Code started by ehsan. feedback=paolo, r=mak. 2012-11-30 22:37:48 -05:00
Mike Conley
79b58c650d Bug 815678 - Stop Downloads Panel from changing width when scanning completed download. r=mak. 2012-11-29 11:45:27 -05:00
Mike Conley
6c42deee0b Bug 815273 - Don't force focus the Downloads Panel "Show all downloads" button when opening the panel. r=mak. 2012-11-28 11:10:57 -05:00
Mike Conley
cf3f35abe1 Bug 814099 - Paused downloads don't behave properly in Downloads Panel after the session is restored. r=mak. 2012-11-22 14:54:51 -05:00
Mike Conley
7937e621b6 Bug 809852 - Allow cycling through the "Show all downloads" and summary footers in the Downloads Panel using the arrow keys. r=mak. 2012-11-22 14:38:38 -05:00
Mike Conley
4037acdba3 Bug 800314 - Stop the browser window from stealing focus when a download begins. r=paolo.
The most recent browser window (if available) was stealing focus when a download
started. This was to account for the case where a download was initiated from
the Library. We are, however, switching to a Library view that shows download
state and progress in bug 675902, so this focus pull is now unnecessary, and
disruptive for users with window managers that don't have focus-stealing
prevention.
2012-11-22 10:59:09 -05:00
Mike Conley
25afb0c91a Bug 808277 - Show the progress of downloads that are not visible in the Downloads Panel in a summary. r=mak. 2012-11-16 16:19:45 -05:00
Ryan VanderMeulen
a377629c2d Backed out changesets c2ea3fb28c45 (bug 812343), 68e26307643e (bug 812345), 15eaadc2cd9a (bug 811076), and 5a98a1662e64 (bug 808277) for mochitest-1 failures.
CLOSED TREE
2012-11-16 17:57:44 -05:00
Mike Conley
ddb61a9487 Bug 808277 - Show the progress of downloads that are not visible in the Downloads Panel in a summary. r=mak. 2012-11-16 16:19:45 -05:00
Mike Conley
91bb1fdd75 Bug 766654 - Allow pasting of a URL into the Downloads Panel to initiate a download. r=mak. 2012-11-13 14:46:56 -05:00
Mike Conley
3475c86d5f Bug 794752 - Downloads toolbar button changes size the first time it is clicked. r=mak. 2012-11-08 11:13:23 -05:00
Marco Bonardo
e9c39f470d 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
bf0f88e75b Bug 803546 - Applying background theme causes Downloads button to jump around.
r=mconley
2012-11-06 23:11:11 +01:00
Mike Conley
c5d308c096 Bug 759397 - Remove per-item download rate clutter from Downloads Panel. r=mak. 2012-11-06 13:21:50 -05:00
Mike Conley
3c75fd1bdf Bug 807709 - Downloads Panel does not always close when handing off operations to the OS. r=mak. 2012-11-06 13:21:50 -05:00
Kyle Huey
1482122303 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Mike Conley
0e1a5395d0 Bug 786662 - Open Containing Folder in context menu for Download Panel item is always disabled after pause. r=mak. 2012-10-31 10:07:44 -04:00
Vicamo Yang
8297cdabd6 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey
bdf47895bb Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 12:28:11 -07:00
Ed Morley
777eed8444 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
aa1997a51a Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 08:26:12 -07:00
Mike Conley
0aecb71180 Bug 766263 - Part 2: Add a regression test. r=mak. 2012-10-26 13:17:18 -04:00
Mike Conley
41924d2689 Bug 766263 - Part 1: Downloads Panel should not open automatically once per Firefox session. r=mak. 2012-10-26 13:17:18 -04:00
Jan Horak
09a39281d4 Bug 567377 - Support drag and drop for Linux. r=mak77 2012-10-25 17:43:24 -04:00
Mike Conley
e825dfe84e Bug 746756 - On feature activation, Download Panel should limit reported downloads. r=mak. 2012-10-24 10:02:29 -04:00
Mike Conley
fcf26471b3 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
Mike Conley
0eb773c98a Bug 773267 - The Downloads Panel flickers at the top left of the screen before anchoring to the Downloads button. r=mak77, f=paolo. 2012-10-09 13:45:51 -04:00
Yosy
fbc8b4825a Bug 792968 - Replace some regular expression string matches with String.startsWith and replace /^https?/ URI scheme tests with /^https?$/. r=dao 2012-09-23 21:09:29 +02:00
Benjamin Peterson
a5fc829344 Backed out changeset 3ca1f19e4c2a (bug 792968) for mochitest-oth failures 2012-09-23 12:25:39 -04:00
Yosy
6684ca9137 Bug 792968 - Replace some regular expression string matches with String.startsWith and replace /^https?/ URI scheme tests with /^https?$/. r=dao 2012-09-23 16:48:23 +02:00
Paolo Amadini
74da64cc78 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
Paolo Amadini
cb1dfbd063 Bug 747903 - Limit the number of items in the Downloads Panel. r=mano 2012-08-25 11:37:55 +02:00
Paolo Amadini
81ec514f1b Bug 748381 - Update the behavior of the Downloads indicator. r=mano 2012-08-25 11:37:55 +02:00
Paolo Amadini
ab95583e27 Bug 760607 - Update the Downloads Panel visual design. r=mak 2012-08-25 11:37:55 +02:00
Andres Hernandez
fd33841755 Bug 325901 - fix unnecessarily preprocessed files in browser/, r=gavin
--HG--
extra : rebase_source : cc42d98604e38528f3bc9941dce4f15ec8ad5d67
2012-08-10 14:20:25 -06:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Paolo Amadini
0f165af608 Bug 759397 - The width of the Downloads Panel should be larger and locale-dependent. r=gavin
--HG--
extra : rebase_source : 34b94665970774b2dd245bb6ebe15908e7e3dfaf
2012-07-17 18:48:06 +02:00
Nathan Froyd
a7eb97f896 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Ehsan Akhgari
45fe6d3ae2 Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc
This patch does the following:

* It adds nsITransferable::Init(nsILoadContext*).  The load context
  might be null, which means that the transferable is non-private, but
  if it's non-null, we extract the boolean value for the privacy mode
  and store it in the transferable.
* It adds checks in debug builds to make sure that Init is always
  called, in form of fatal assertions.
* It adds nsIDOMDocument* agruments to nsIClipboardHelper methods which
  represent the document that the string is coming from.
  nsIClipboardHelper implementation internally gets the nsILoadContext
  from that and passes it on to the transferable upon creation.  The
  reason that I did this was that nsIClipboardHelper is supposed to be a
  high-level helper, and in most of its call sites, we have easy access
  to a document object.
* It modifies all of the call sites of the above interfaces according to
  this change.
* It adds a GetLoadContext helper to nsIDocument to help with changing
  the call sites.
2012-04-16 22:14:01 -04:00
Dão Gottwald
db8617111f Bug 767828 - disable test 2012-06-24 22:32:55 +02:00
Dão Gottwald
2fccf8b311 Bug 767813 - Set the consumeoutsideclicks attribute on panels instead of calling popupBoxObject.setConsumeRollupEvent. r=enndeakin 2012-06-24 22:30:59 +02:00
Ryan VanderMeulen
8ead15b2fe Backout e8a507a0a1a8 (bug 767813) due to mochitest-browser-chrome orange. 2012-06-24 16:27:20 -04:00
Dão Gottwald
9ccea67b7f Bug 767813 - Set the consumeoutsideclicks attribute on panels instead of calling popupBoxObject.setConsumeRollupEvent. r=enndeakin 2012-06-24 19:44:04 +02:00
Ryan VanderMeulen
8d23fa6f5f Backout 70e3a2c8c6b4 (Bug 767133) due to mochitest-other orange. 2012-06-22 18:12:54 -04:00
Dão Gottwald
4910364e2c Bug 767133 - Add slide-in animation for arrow panels. r=enndeakin ui-r=shorlander
--HG--
extra : rebase_source : ab38e90e42a6bf45c4152b4960db8f4a8ba14ec0
2012-06-22 22:13:21 +02:00
Michael Wu
ea17443d61 Bug 759013 - Convert more makefiles to use TEST_DIRS, r=khuey 2012-05-27 23:25:22 -04:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Paolo Amadini
dfd7155be0 Bug 746787 - Ensure the browser window is not minimized when opening the Downloads panel. r=mak 2012-04-27 15:05:04 +02:00
Paolo Amadini
0155206774 Bug 746853 - Fix finalization of the past downloads query in error cases. r=mak 2012-04-27 15:04:42 +02:00
Paolo Amadini
a164946104 Bug 746658 - Failed downloads can't be removed from panel. r=mak 2012-04-27 15:04:27 +02:00
Paolo Amadini
fc466abc21 Bug 726444 - Implement the Downloads Panel. r=mak ui-r=limi
Includes: Bug 697679 - By Javi Rueda <leofigueres@yahoo.com>.
2012-04-17 13:35:09 +02:00
Ed Morley
fe0db58bce Backout ba7da6256b23 (bug 726444) for talos regressions; a=mak 2012-03-11 23:38:53 +00:00
Paolo Amadini
ebd422385f Bug 726444 - Implement the Downloads Panel. r=mak ui-r=limi
Includes: Bug 697679 - By Javi Rueda <leofigueres@yahoo.com>.
2012-03-10 15:00:45 +01:00