Commit Graph

177 Commits

Author SHA1 Message Date
Felix Fung
5730c65256 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
780751e5c9 Bug 657462: don't select the first item in the download manager automatically, r=dolske
--HG--
extra : rebase_source : d84c3ce6b80048c2a0c8c5dc8fb7302cc22d8349
2011-09-30 09:51:17 -07:00
Paolo Amadini
8343d7173f 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
99856dd6e9 Bug 652445 - Remove WinCE code (incl Faststart & nsSplashScreenWin) from toolkit; r=dtownsend 2011-04-29 12:38:26 +02:00
Shawn Wilsher
4172b2fb34 Bug 584316 - Fix DownloadManager usage of deprecated Storage binding APIs
r=Mardak
2011-03-31 10:19:31 -07:00
Dão Gottwald
a205009db7 Bug 615515 - Set the whole item as the dragged element. r=enn 2010-12-07 12:59:15 +01:00
Felipe Gomes
027eb6c1e4 Bug 524811 - "add glowing Firefox icon in the taskbar when downloads are completed" [r=sdwilsh ui-r=beltzner]
--HG--
extra : rebase_source : 53eb7821e75160557ed7d34e66e1fbcefa7bddd3
2010-05-01 09:55:00 -04:00
Felipe Gomes
8380405515 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
651f2886ae 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
090e521290 Backed out changeset a352d0413476 2010-03-18 23:48:00 +01:00
Siddharth Agarwal
d44b186b73 Bug 474060 - Show download progress in app icon in Windows 7 taskbar, part 2. Test by Felipe Gomes <felipc@gmail.com>. r=sdwilsh
--HG--
extra : rebase_source : e0a037bda886004c681eb38c4ee4b66728c71e23
2010-03-18 19:34:30 +01:00
Dão Gottwald
caf1dccaa5 Bug 547224 - Remove the custom emptyText implementation, implement textbox.placeholder using the input field's native placeholder facility. r=enn
--HG--
extra : rebase_source : 50e3996d42073daa4c9f68f8c263b8b8106f3d84
2010-03-04 08:13:27 +01:00
Phil Lacy
39196a6523 Bug 462172: Drag downloaded items from download manager to folders r=enndeakin
--HG--
extra : rebase_source : d51cbf914cf05b7aeb9d1a6b8c8bc7b90d46d26a
2010-02-07 10:44:48 -05:00
Kyle Huey
87966b78d4 Backed out changeset 43a19419ec4b 2010-01-30 09:32:47 -05:00
Phil Lacy
b5bacc4e95 Bug 462172: Drag downloaded items from download manager r=sdwilish,enndeakin 2010-01-30 08:08:37 -05:00
timeless@mozdev.org
1986c2c297 Bug 489994 - Downloads list should honor always remember helper application, r=mconnor 2009-10-26 18:39:23 -07:00
Neil Deakin
c0f8d0fac2 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
1c5c10ff35 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
6da73d93fc 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
2393c97c87 Bug 500978 - Download Manager treats search terms as regular expressions. r=sdwilsh 2009-06-28 18:03:01 +02:00
Neil Deakin
2737a14b5e 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
88eef4436f Bug 488006 - cocoa-size="small" should be a platform-independent class instead. r=enn 2009-04-13 19:40:00 +02:00
Robert Strong
5bf4831cc7 Bug 484013 - Unknown content type dialog cut off. r=dao 2009-03-19 12:25:48 -07:00
Ehsan Akhgari
e410f319d6 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
7d88172665 Backed out changeset 69322c1764ff (bug 464800) due to test failures on Mac 2009-03-12 13:37:40 +03:30
Ehsan Akhgari
c768114b78 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
6a13897ac8 Bug 374189; hotkey conflict on linux download manager; r+ui-r=mconnor 2009-02-25 16:25:28 +01:00
Marco Zehe
ae20bb4203 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
2a7d88e05a 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
34a4a8cfe6 Bug 473233 - Application dropdown in download dialog is stretched, r=dao 2009-01-18 12:06:34 +01:00
Michael Ventnor
50e114a822 Bug 416466 - "Extra useless option in file handling options" [r=myk] 2008-12-12 15:49:52 -08:00
Markus Stange
6ba1cc8b6f Bug 450800 - Style new search widgets on Mac OS X, CSS changes. r=dao 2008-12-06 12:41:29 +01:00
Ehsan Akhgari
4cbd3dd215 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
88f4a312eb Bug 462964 - nsIDownloadManager should have removeDownloadsByTimeframe
r=mconnor
2008-11-05 18:39:24 -05:00
Ehsan Akhgari
0cd9741967 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
4ba1e76c42 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
24c418dbdf Bug 398928 - Allow moving a window by dragging toolbar or statusbar, r=enndeakin 2008-10-18 11:57:46 +02:00
Dão Gottwald
0055cc6179 Bug 405892 – Finish polish of the download manager search field. r=sdwilsh 2008-08-05 23:33:41 +02:00
Shawn Wilsher
495bd4d3a4 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
9965f93d2f 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
788833b26d 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
91304d0cf2 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
edward.lee@engineering.uiuc.edu
33ab985b80 Bug 431188 - Clear list active / inactive state not working properly. r=sdwilsh, a1.9=beltzner 2008-05-06 16:25:36 -07:00
edward.lee@engineering.uiuc.edu
88e1f673ec 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
edward.lee@engineering.uiuc.edu
bc05f2d225 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
edward.lee@engineering.uiuc.edu
be272ae0e4 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
edward.lee@engineering.uiuc.edu
224482cf75 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
edward.lee@engineering.uiuc.edu
4c5b079d80 Bug 426983 - Make the download option Clear List always available. r=sdwilsh, a1.9=beltzner 2008-04-12 12:42:03 -07:00
edward.lee@engineering.uiuc.edu
ddc6189578 Bug 228842 - Allow multiple selections in Download Manager. r=sdwilsh, a1.9=beltzner 2008-04-08 22:33:39 -07:00
edward.lee@engineering.uiuc.edu
f32db9996f Bug 425753 - Send notification when download manager finishes building the list. r=sdwilsh, a1.9=beltzner 2008-04-05 21:26:18 -07:00