gecko/toolkit/mozapps
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
..
downloads Bug 397424 - Downloads cause high CPU usage. r=gavin 2011-11-03 15:25:55 -07:00
extensions Backout 1f551298a760 (bug 697312) and b31507c8ca17 (bug 697246) for 25-30% Ts regression on multiple platforms 2011-11-04 10:50:16 +00:00
handling Fix DOS line endings rs=sdwilsh 2011-05-26 20:29:31 +01:00
installer Bug 577867 - Update installer to use new city hash taskbar registration ids. r=rstrong 2011-11-03 09:39:51 -05:00
plugins bug 687265 - Front-end support for flash on Android Fennec r=mbrubeck,blassey,dolske,jst 2011-10-07 13:46:02 -04:00
preferences Fix DOS line endings rs=sdwilsh 2011-05-26 20:29:31 +01:00
readstrings Bug 682547 - Convert readstrings.cpp to bool, r=rstrong 2011-08-30 11:55:14 -07:00
shared Bug 663075 - FileUtils.jsm should have an easy way to create an nsILocalFile with a path; r=sdwilsh sr=rstrong 2011-09-20 17:20:51 +01:00
update Bug 693901 - Add preference to globally (re)enable strict compatibility checks. r=dtownsend 2011-11-01 18:48:45 +13:00
webapps Backout b4da81723e56, 616986a1819a, Bad checkin comment 2011-10-06 00:11:31 -04:00
xpinstall Bug 607821 - intermittent timeout toolkit/mozapps/extensions/test/browser/browser_bug557956.js | Test timed out. r=dtownsend, a=b7 2010-10-29 12:05:26 -07:00