Commit Graph

482 Commits

Author SHA1 Message Date
Felix Fung
e337f8e76f 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
Joe Walker
41a59a667f Bug 687851 - Create a locales directory in the devtools module, move all devtools l10n strings to it; r=rcampbell,mfinkle,l10n
--HG--
rename : browser/locales/en-US/chrome/browser/inspector.properties => browser/locales/en-US/chrome/browser/devtools/inspector.properties
rename : browser/locales/en-US/chrome/browser/scratchpad.dtd => browser/locales/en-US/chrome/browser/devtools/scratchpad.dtd
rename : browser/locales/en-US/chrome/browser/scratchpad.properties => browser/locales/en-US/chrome/browser/devtools/scratchpad.properties
rename : browser/locales/en-US/chrome/browser/styleinspector.dtd => browser/locales/en-US/chrome/browser/devtools/styleinspector.dtd
rename : browser/locales/en-US/chrome/browser/styleinspector.properties => browser/locales/en-US/chrome/browser/devtools/styleinspector.properties
rename : toolkit/locales/en-US/chrome/global/webConsole.dtd => browser/locales/en-US/chrome/browser/devtools/webConsole.dtd
rename : toolkit/locales/en-US/chrome/global/headsUpDisplay.properties => browser/locales/en-US/chrome/browser/devtools/webconsole.properties
2011-10-27 12:35:13 -03:00
Felix Fung
28bddf9d7b Bug 665196 - Change in-content plugin crash UI to submit a crash report and reload the page in one step. r=dolske 2011-09-23 22:28:56 -07:00
Brad Lassey
a519c9888a bug 687265 - Front-end support for flash on Android Fennec r=mbrubeck,blassey,dolske,jst 2011-10-07 13:46:02 -04:00
Jesper Kristensen
0c375c8e29 Bug 591780 - Frontend support for restartless dictionaries. r=ehsan, r=Mossop 2011-10-06 12:06:18 -07:00
Jared Wein
3142bbfabf Bug 669260 - Add statistics overlay to video element. r=dolske 2011-10-03 20:47:41 -07:00
Ed Morley
75ae874a24 Bug 660718 - Add a link from about:support to about:memory; r=ehsan 2011-09-23 00:24:49 +01:00
Margaret Leibovic
5b575af948 Bug 685302 - Use "website" instead of "web site" consistently across all strings in the UI. r=dao 2011-09-13 16:42:37 -07:00
Kailas
4eaefa188e Bug 680812 - Excessive space between "280" and "KB" in download dialog; r=dolske 2011-09-12 10:24:02 -04:00
Justin Wood
411db89672 reland Bug 680113 - Select Add-ons dialog lists distribution add-ons as installed by the user. r=Mossop ui-r=faaborg 2011-09-08 04:11:17 -04:00
Phil Ringnalda
4851b6a0f8 Back out 4f7f1840152b (bug 680113) for orange 2011-09-09 22:18:19 -07:00
Justin Wood
1c9e69c53b Bug 680113 - Select Add-ons dialog lists distribution add-ons as installed by the user. r=Mossop ui-r=faaborg 2011-09-08 04:11:17 -04:00
Mike Ratcliffe
0b8cb6dd25 Bug 582596 - Style view centered around answering common CSS questions, f=l10n, r=dolske, msucan 2011-08-30 09:12:02 -03:00
Rob Campbell
d8672088b4 merged m-c to fx-team, browser_595601-restore_hidden.js conflicted 2011-08-16 12:21:00 -03:00
Kailas
f99ea6739e Bug 595888 - Show file size when attempting to download a file. r=sdwilsh, r=dolske, ui-r=faaborg 2011-08-15 12:53:03 -07:00
Dave Townsend
d9cbf2900c Bug 596343: Users should have exclusive control over selecting their add-ons. r=Unfocused 2011-08-12 16:55:34 -07:00
Dave Townsend
14105d23b0 Backed out changeset 6d6e8fecaf37 from bug 596343 due to build failures 2011-08-12 15:47:34 -07:00
Dave Townsend
026995192b Bug 596343: Users should have exclusive control over selecting their add-ons. r=Unfocused 2011-08-12 13:45:45 -07:00
Dave Townsend
ae1c38cd55 Bug 476430: Disable third-party add-ons by default and offer them to the user. r=Unfocused, r=robstrong 2011-08-12 13:50:47 -07:00
Benoit Jacob
0752dd28ef Back out Bug 591057 / cset 02d5f1c5d438 because of 4% Ts regression 2011-08-11 14:24:52 -04:00
Ali Juma
44ed9bbbe5 Bug 591057 - Identify active GPU in about:support and crash reports - r=jrmuizel 2011-08-10 18:25:22 -04:00
Ali Juma
58644cb240 Bug 591057 - List both GPUs in about:support and crash reports. - r=jrmuizel 2011-08-12 09:46:41 -04:00
Marc Wegner
6c406d2659 Bug 526802 - Add about:crashes to the Troubleshooting Information page. r=dao ui-r=faaborg 2011-07-27 09:44:28 +02:00
Mihai Sucan
9764ae3b68 Bug 667422 - Add localization note for the Web Console panel title string; r=ehsan
DONTBUILD
2011-06-27 19:32:05 +03:00
Rob Campbell
a1b0eafcc2 merge m-c to devtools, conflict in inspector.js 2011-06-24 15:50:35 -03:00
Mihai Sucan
3f1a3761ff Bug 663443 - No indication to which tab a Web Console window belongs (esp. an empty one); r=ddahl,dietrich 2011-06-18 17:42:14 +03:00
Blair McBride
ac0532ca49 Bug 660732 - about:support "Try updating your graphics driver" should link to instructions. r=gavin 2011-06-08 22:46:16 +12:00
Geoff Lankow
e72b1230df Bug 662012 - Add more settings types to addon manager inline settings (file and directory types), r=Mossop 2011-06-15 12:15:55 +12:00
Dave Townsend
8e712d7c74 Backing out changeset 010b73990286 from bug 660732 due to it breaking about:support (bug 662901). 2011-06-12 08:47:34 -07:00
Michael Wu
f809394c0f Bug 641614 - Fix reordering of localized files in omnijar, r=ted 2011-06-10 17:54:01 -07:00
Justin Dolske
bd0c676d22 Bug 545070 - plugin-problem UI shouldn't say "click here". r=gavin 2011-05-22 18:46:33 -07:00
Dave Camp
fb4b971064 Merge m-c to devtools 2011-05-21 17:43:04 -07:00
Dave Townsend
82669da0f1 Bug 595848: Dynamically generate the list of categories. r=Unfocused 2011-05-20 10:36:28 -07:00
Mihai Sucan
eb0bb19d53 Bug 585991 - Show a popup listing possible completions; r=rcampbell,dtownsend sr=neil 2011-05-17 18:07:33 +03:00
Mihai Sucan
610715a8a8 Bug 577721 - allow repositioning of the web console: above, below and out into a panel/window; r=rcampbell,sdwilsh 2011-05-18 14:08:54 +03:00
Hernán Rodriguez Colmeiro
606f92fb24 Bug 656269: Add link to Mozilla plugin check from Add-ons Manager. r=dtownsend 2011-05-17 12:57:38 -07:00
Michael Wu
ff498efba8 Bug 656050 - Fix jar reordering on linux by moving jarlog dir, r=ted 2011-05-17 11:06:16 -07:00
Mike Hommey
2d708facec Bug 569365 - Remove preprocessor.pl and replace it with Preprocessor.py. r=ted
--HG--
rename : config/Expression.py => js/src/config/Expression.py
rename : config/Preprocessor.py => js/src/config/Preprocessor.py
2011-05-16 15:51:21 +02:00
John Daggett
375ce049e0 Bug 650723. Add ClearType parameter data to about:support. r=gavin,jrmuizel 2011-05-11 09:30:20 +09:00
Rob Campbell
7729d517f9 merge m-c to devtools 2011-05-06 13:03:37 -03:00
Rob Campbell
7316e1183a merge m-c to devtools 2011-05-02 16:15:53 -03:00
Rob Campbell
ac0e2c923c merge m-c to devtools 2011-04-29 09:05:20 -03:00
Benoit Jacob
49511f9226 Bug 642502 - about:support improvements - r=gavin.sharp 2011-05-03 16:07:17 -04:00
Rob Campbell
2b975e0f42 merge m-c to devtools 2011-04-25 10:13:36 -03:00
Ed Morley
99856dd6e9 Bug 652445 - Remove WinCE code (incl Faststart & nsSplashScreenWin) from toolkit; r=dtownsend 2011-04-29 12:38:26 +02:00
Rob Campbell
96a493208d merge m-c to devtools 2011-04-19 14:35:15 -03:00
Michael Wu
bff8a6144f Bug 641614 - Try to fix jar logs in l10n repacks, r=ted 2011-04-19 10:13:34 -07:00
Rob Campbell
ca348c2e47 merge m-c to devtools 2011-04-14 09:40:08 -03:00
Mounir Lamouri
bf2870ba02 Bug 646854 - Let the user change the filter in the file picker when opening a file on MacOS X. r=joshmoz 2011-04-21 19:39:12 +02:00
Mihai Sucan
5128602d66 Bug 585956 - Implement console.trace() in web console; f=ddahl r=rcampbell,jonas 2011-04-11 20:48:15 +03:00