Commit Graph

314 Commits

Author SHA1 Message Date
Felix Fung
e50fb69830 Bug 397424 - Downloads cause high CPU usage. r=gavin
This addresses an issue with the download manager that can cause high CPU usage
when there is an active download.  The underlying issue is the frequency of
updates that the download progress listener receives.
Things changed:
- reduced the number of null checks in DownloadUtils.jsm's getDownloadStatus
  function by one (down to two from three).
- obtain and format strings from the nsIStringBundle.  This removes all the
  calls to String.replace in DownloadUtils.jsm.
- modifies the download manager back-end to update the percentComplete and size
  property on downloads before dispatching a state changed notification for
  downloads entering the DOWNLOAD_DOWNLOADING state.  This saves us two calls to
  setAttribute on downloads that we know how big they are, and saves us the same
  two calls to setAttribute for indeterminate downloads as well as not
  dispatching a ValueChange event on the progressmeter every time
  onProgressChange is called on the DownloadProgressListener.
- has nsDownload implement nsIClassInfo so we do not need to QueryInterface when
  going through the list of active downloads in both the download manager's UI
  and the browser's taskbar UI.
2011-11-03 15:25:55 -07:00
Gavin Sharp
1b9e57cc95 Bug 657462: don't select the first item in the download manager automatically, r=dolske 2011-09-30 09:51:17 -07:00
Paolo Amadini
bfa060fa94 Bug 653261 - Add a function to format the date and time displayed in the Download Manager. r=sdwilsh sr=mconnor 2011-07-27 13:08:24 +02:00
Ed Morley
7c35bdd0e4 Bug 652445 - Remove WinCE code (incl Faststart & nsSplashScreenWin) from toolkit; r=dtownsend 2011-04-29 12:38:26 +02:00
Shawn Wilsher
d0dcb100b9 Bug 584316 - Fix DownloadManager usage of deprecated Storage binding APIs
r=Mardak
2011-03-31 10:19:31 -07:00
Dão Gottwald
2ad29aae76 Bug 615515 - Set the whole item as the dragged element. r=enn 2010-12-07 12:59:15 +01:00
Felipe Gomes
7b24873682 Bug 524811 - "add glowing Firefox icon in the taskbar when downloads are completed" [r=sdwilsh ui-r=beltzner] 2010-05-01 09:55:00 -04:00
Felipe Gomes
6a57864f52 Bug 544356 - Users are often unaware that they have left the Download Mgr window open when exiting. r=sdwilsh 2010-04-22 14:56:15 +02:00
Siddharth Agarwal
b4de4f4426 Bug 474060 - Show download progress in app icon in Windows 7 taskbar. Tests by Felipe Gomes. r=sdwilsh r=mconnor r=sid, sr=vlad, ui-r=faaborg 2010-04-15 00:14:12 +02:00
Dão Gottwald
31bf2a4381 Backed out changeset a352d0413476 2010-03-18 23:48:00 +01:00
Siddharth Agarwal
52d925a939 Bug 474060 - Show download progress in app icon in Windows 7 taskbar, part 2. Test by Felipe Gomes <felipc@gmail.com>. r=sdwilsh 2010-03-18 19:34:30 +01:00
Dão Gottwald
fad1ff5bf5 Bug 547224 - Remove the custom emptyText implementation, implement textbox.placeholder using the input field's native placeholder facility. r=enn 2010-03-04 08:13:27 +01:00
Phil Lacy
c857751a3b Bug 462172: Drag downloaded items from download manager to folders r=enndeakin 2010-02-07 10:44:48 -05:00
Kyle Huey
2070ec5348 Backed out changeset 43a19419ec4b 2010-01-30 09:32:47 -05:00
Phil Lacy
028160d0cb Bug 462172: Drag downloaded items from download manager r=sdwilish,enndeakin 2010-01-30 08:08:37 -05:00
97f029bf55 Bug 489994 - Downloads list should honor always remember helper application, r=mconnor 2009-10-26 18:39:23 -07:00
Neil Deakin
a404ecfd9c Bug 517819, inherit noinitialfocus into textbox inputs, so that uthe nknown content dialog can use it, prevents focus from appearing on the file type field, r=neil 2009-10-16 10:32:02 -04:00
Jim Mathies
a38e40f035 Bug 504804 - Virus scanning prefs cleanup and smarter integration with win policy settings. r=tellrob, r=sdwilsh. 2009-08-11 12:37:38 -05:00
Robert Strong
3a134c9095 Bug 507481 - [WinCE] Check for Windows version in download manager shouldn't be done for Windows CE. r=sdwilsh 2009-08-10 19:58:54 -07:00
Dão Gottwald
61c50222b5 Bug 500978 - Download Manager treats search terms as regular expressions. r=sdwilsh 2009-06-28 18:03:01 +02:00
Neil Deakin
88534acaa1 Bug 456106, use new drag and drop api in browser and toolkit, r=mano 2009-06-20 20:04:07 -04:00
Dão Gottwald
118204139a Bug 488006 - cocoa-size="small" should be a platform-independent class instead. r=enn 2009-04-13 19:40:00 +02:00
Robert Strong
728a9626fc Bug 484013 - Unknown content type dialog cut off. r=dao 2009-03-19 12:25:48 -07:00
Ehsan Akhgari
17f4de8c0c Bug 464800 - Download manager title window is not cleared when switching to Private Browsing; r=sdwilsh 2009-03-19 21:12:27 +03:30
Ehsan Akhgari
353074d75d Backed out changeset 69322c1764ff (bug 464800) due to test failures on Mac 2009-03-12 13:37:40 +03:30
Ehsan Akhgari
1bb31bf685 Bug 464800 - Download manager title window is not cleared when switching to Private Browsing; r=sdwilsh 2009-03-12 12:28:17 +03:30
Anton Samson
6f08e0af45 Bug 374189; hotkey conflict on linux download manager; r+ui-r=mconnor 2009-02-25 16:25:28 +01:00
Marco Zehe
36c91bafeb bug 469367 - Add ARIA semantics to those search widget types that don't have a Search button, r=dao, r=surkov 2009-02-02 10:38:53 +01:00
Daniel Holbert
37cf5be52d Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg 2009-01-21 22:55:08 -08:00
Markus Stange
fd05aa3a64 Bug 473233 - Application dropdown in download dialog is stretched, r=dao 2009-01-18 12:06:34 +01:00
Michael Ventnor
ba0817cb5d Bug 416466 - "Extra useless option in file handling options" [r=myk] 2008-12-12 15:49:52 -08:00
Markus Stange
9cfcea006a Bug 450800 - Style new search widgets on Mac OS X, CSS changes. r=dao 2008-12-06 12:41:29 +01:00
Ehsan Akhgari
5824d5115d Bug 463885 - Entering the Private Browsing mode may not always empty the download manager list; r=sdwilsh, a=blocking1.9.1+ 2008-11-12 23:43:12 +03:30
Shawn Wilsher
2bc05b0d1f Bug 462964 - nsIDownloadManager should have removeDownloadsByTimeframe
r=mconnor
2008-11-05 18:39:24 -05:00
Ehsan Akhgari
860754dc42 Bug 248970 - Private Browsing mode (global toggle for saving/caching everything) [downloadmgr part]; r=sdwilsh 2008-11-04 02:52:21 +03:30
Jim Mathies
4367cbec0c Bug 426544 - Disable browser.download.manager.alertOnEXEOpen and set internet zone bit on all downloaded files; v3; r=sdwilsh 2008-10-29 05:53:30 +01:00
Markus Stange
5343c60877 Bug 398928 - Allow moving a window by dragging toolbar or statusbar, r=enndeakin 2008-10-18 11:57:46 +02:00
Dão Gottwald
250b82146c Bug 405892 – Finish polish of the download manager search field. r=sdwilsh 2008-08-05 23:33:41 +02:00
Shawn Wilsher
7c28ed5eb2 Bug 441936 - accel + K should focus find field
This makes accel + K focus the search/find field in the download manager for all
toolkit consumers that use the built in download manager.
r=mconnor
2008-06-27 12:07:19 -04:00
Shawn Wilsher
5ecf474e2b Bug 438998
This changes the anonymous functions in DownloadProgressListener.js to named
functions so that tools like dtrace and JS debuggers actually know what is
being called so they can do something useful.
r=Mossop
2008-06-13 11:44:30 -04:00
Dão Gottwald
80c3729671 Bug 437646
make use of :nth-child in the download list, remove stripeifyList()
r=sdwilsh
2008-06-11 10:11:14 -04:00
Nochum Sossonko
f498afc358 Bug 429247
Double-clicking on empty white space in the Download Manager activates the currently selected item
r=sdwilsh
2008-06-04 11:05:09 -04:00
18f711b105 Bug 431188 - Clear list active / inactive state not working properly. r=sdwilsh, a1.9=beltzner 2008-05-06 16:25:36 -07:00
51cfa28e37 Bug 430486 - Clear List button doesn't disable when it should. r=sdwilsh, r=mconnor, ui-r=mconnor, a1.9=mconnor. Fixes Bug 430597 - New clearListButton does not accomodate larger fonts 2008-04-24 22:59:31 -07:00
1c33a83588 Bug 400495 - Add "Clear List" button to download manager. r=mconnor, ui-r=beltzner, ui-r=mconnor, b-ff3=beltzner, a1.9=mconnor 2008-04-22 20:57:05 -07:00
ba938ff4a9 Bug 429614 - add select all keyboard shortcut and context menu item to download manager. p=beltzner, r=sdwilsh, r=Mardak, ui-r=mconnor, a1.9=mconnor 2008-04-19 00:36:39 -07:00
59c70f705c Bug 429144 - If downloaded file is removed, but saved dir still exists, then "Open Containing Folder" menu item should be disabled. r=sdwilsh, a1.9=beltzner 2008-04-15 22:28:59 -07:00
78a3b7d7df Bug 426983 - Make the download option Clear List always available. r=sdwilsh, a1.9=beltzner 2008-04-12 12:42:03 -07:00
1c722eedb4 Bug 228842 - Allow multiple selections in Download Manager. r=sdwilsh, a1.9=beltzner 2008-04-08 22:33:39 -07:00
8c069ebed1 Bug 425753 - Send notification when download manager finishes building the list. r=sdwilsh, a1.9=beltzner 2008-04-05 21:26:18 -07:00