Commit Graph

517 Commits

Author SHA1 Message Date
Ehsan Akhgari
ab9253304f Bug 307181 - Stage Firefox updates in the background after they're downloaded, and replace the application directory on restart; r=rstrong,bbondy
When Firefox downloads an update, it previously kept the update around to apply
it on the next restart.  This patch changes this so that the updater program
is launched in the background as soon as the update has finished downloading
in order to stage the updated version of the application by copying the
existing installation directory to a temporary location and applying the update
on top of it, and replace the existing installation directory with the staged
directory on the next restart.

Because the replacing step is typically very fast, this patch eliminates the
wait for the update to be applied on restart, making it unnecessary to show a
progress dialog when restarting.

--HG--
rename : toolkit/mozapps/update/test/chrome/test_0092_finishedBackground.xul => toolkit/mozapps/update/test/chrome/test_0093_stagedBackground.xul
rename : toolkit/mozapps/update/test/unit/test_0110_general.js => toolkit/mozapps/update/test/unit/test_0113_general.js
rename : toolkit/mozapps/update/test/unit/test_0111_general.js => toolkit/mozapps/update/test/unit/test_0114_general.js
rename : toolkit/mozapps/update/test/unit/test_0112_general.js => toolkit/mozapps/update/test/unit/test_0115_general.js
rename : toolkit/mozapps/update/test/unit/test_0170_fileLocked_xp_win_complete.js => toolkit/mozapps/update/test/unit/test_0172_fileLocked_xp_win_complete.js
rename : toolkit/mozapps/update/test/unit/test_0171_fileLocked_xp_win_partial.js => toolkit/mozapps/update/test/unit/test_0173_fileLocked_xp_win_partial.js
rename : toolkit/mozapps/update/test/unit/test_0110_general.js => toolkit/mozapps/update/test_svc/unit/test_0113_general_svc.js
rename : toolkit/mozapps/update/test/unit/test_0111_general.js => toolkit/mozapps/update/test_svc/unit/test_0114_general_svc.js
rename : toolkit/mozapps/update/test/unit/test_0112_general.js => toolkit/mozapps/update/test_svc/unit/test_0115_general_svc.js
rename : toolkit/mozapps/update/test/unit/test_0170_fileLocked_xp_win_complete.js => toolkit/mozapps/update/test_svc/unit/test_0172_fileLocked_xp_win_complete_svc.js
rename : toolkit/mozapps/update/test/unit/test_0171_fileLocked_xp_win_partial.js => toolkit/mozapps/update/test_svc/unit/test_0173_fileLocked_xp_win_partial_svc.js
2012-05-22 10:50:04 -04:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
David Keeler
bd784acf77 Bug 742753 - Click-to-play: activate only the clicked plugin. r=jaws 2012-05-15 11:10:43 -07:00
Mark Banner
aa8d563898 Bug 723135 - Language packs should work for all releases of a branch, maxVersion should use * for compatibility ranges. r=ted 2012-04-23 14:09:41 +01:00
Myk Melez
fd7a6dd8f7 bug 746156 - isolate webapp runtime files into subdirectory of Firefox package; r=bsmedberg, a=akeybl 2012-04-19 00:39:52 -07:00
Jared Wein
acc7a6a10c Bug 711552 - Click to play plugins for desktop Firefox. r=felipe 2012-04-02 13:49:56 -07:00
Marco Bonardo
3e58667468 Merge last green PGO from inbound to central 2012-03-13 11:17:21 +01:00
Felipe Gomes
88c717e924 Backout cset 11af9adc0e5d (bug 724080) to avoid unnecessary string changes. We'll fix this with a server-side redirect. 2012-03-12 21:04:22 -07:00
Kai Engert
1cb75567ff Bug 673381, patch v4 to add NSPR/NSS library version numbers to about:support, r=dtownsend 2012-03-13 00:04:37 +01:00
Marco Bonardo
0a4c77c1c9 Bug 717070 follow-up - remove wrongly hardcoded Firefox brand. 2012-03-09 22:50:53 +01:00
Matthew Noorenberghe
27fec2ade6 Bug 717070 - Profile reset - Part 3 - about:support UI to reset profile. r=mak 2012-02-23 19:34:18 -08:00
Luis Arteaga
386e2705bf Bug 724080. Broken link to Mozilla Manifesto on about:mozilla page. r=felipe 2012-02-27 18:13:15 -08:00
Geoff Lankow
8d531a8d9b Bug 469434 - Links in "view source" should have "copy link location" in context menu; r=dao 2012-02-19 22:47:06 +13:00
Phil Ringnalda
18c63067ed Back out 3d8fc342348b (bug 469434) for browser_contextmenu.js timeouts 2012-02-22 22:11:48 -08:00
Geoff Lankow
30543d19e0 Bug 469434 - Links in "view source" should have "copy link location" in context menu; r=dao 2012-02-19 22:47:06 +13:00
Bill McCloskey
c6cd982f05 Bug 641025 - Incremental GC (r=igor,smaug,roc,cdleary,gregor) 2012-02-17 14:35:20 -08:00
Gavin Sharp
4df9395180 Back out parts of bug 698986 to resolve bug 716945 2012-01-30 15:37:59 -08:00
aceman
a03887868d Bug 559501 - On about:support, change "Profile Directory" to "Profile Folder" on Windows & Mac; r=gavin.sharp 2012-02-05 18:57:46 +00:00
aceman
e57317799a Bug 559500 - On about:support, "Open Containing Folder" is misleading. r=gavin 2012-01-28 11:55:35 +00:00
Jared Wein
2dc096b3c1 Bug 714277 - Customization palette has only three columns in a new profile on Windows. r=dao 2012-01-27 17:03:09 -08:00
Hubert Gajewski
60b9e62e7a Bug 629893 - Remove unused props.policy.label. r=gavin
--HG--
extra : rebase_source : e65538722161b0c00d2e8461849af476f52aba83
2012-01-13 17:16:04 +01:00
aceman
9aa4f8386a Bug 631909 - make label 'Modified Preferences' in about:support more accurate. r=gavin 2012-01-11 10:45:05 +01:00
Ms2ger
76df986395 Bug 623610 - Remove support for geostd8; r=smontagu 2012-01-02 19:05:20 +01:00
Quentin Headen
8db5bf6208 Bug 352037 - Add an "Undo add to dictionary" item to spell checker's context menu item; r=ehsan 2011-12-29 16:06:56 -05:00
aceman
e03bb0b7ab Bug 122213 - Display time and date of messages in toolkit's Error Console. r=neil sr=bz 2011-12-17 05:22:26 +01:00
Jared Wein
4c7782beb7 Bug 708150 - Error text for media resource 404 is misleading when the requested media resource format or mime type is unsupported. r=dolske 2011-12-14 23:21:16 -08:00
Mark Banner
f7fbb2cc66 Bustage fix for comm-central apps after bug 481815 - use MOZILLA_DIR not topsrcdir. rs=kheuy 2011-12-08 18:06:44 +00:00
Chris AtLee
aa6338033f Bug 481815: makefile hooks required for signing executable files, installer packages, and mars. r=ted
--HG--
extra : rebase_source : 7b696910865fdbc9191cb7511f558879a9b9e05d
2011-12-07 17:06:52 -05:00
Jared Wein
cc161fefcf Bug 513405 - Add text to video controls to describe the cause of errors. r=dolske 2011-12-05 14:00:28 -08:00
James Hobin
0ee9916f7b Bug 570760 - Make ctrl-f and / focus the search box in the add-ons manager. r=dtownsend,dao 2011-12-02 13:35:32 +01:00
Paul O’Shannessy
a6e8019a5b Bug 615479 - Password manager prompts can now ask a more complete question [r=dolske] 2011-11-28 13:02:47 -08:00
aceman
aef1a91235 Bug 502492 - Change about:config text box label to Search:. r=dtownsend ui-r=limi 2011-11-26 14:07:52 +01:00
Ed Morley
658f3825f6 Merge last green changeset of mozilla-inbound to mozilla-central 2011-11-24 15:50:30 +00:00
Jared Wein
23e0f6924e Bug 470628 - Part 1: CSS, JS, XBL, and locale changes (with fall-back support). r=dolske ui-r=shorlander f=fryn 2011-11-23 14:42:18 -05:00
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
Joe Walker
86c20c97ef 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
5769dd7ef1 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
Dave Townsend
f4cd50d453 Bug 652376: Migrate XPInstall dialog into the extensions directory. r=robstrong
--HG--
rename : toolkit/locales/en-US/chrome/mozapps/xpinstall/xpinstallConfirm.dtd => toolkit/locales/en-US/chrome/mozapps/extensions/xpinstallConfirm.dtd
rename : toolkit/locales/en-US/chrome/mozapps/xpinstall/xpinstallConfirm.properties => toolkit/locales/en-US/chrome/mozapps/extensions/xpinstallConfirm.properties
rename : toolkit/mozapps/xpinstall/content/xpinstallConfirm.css => toolkit/mozapps/extensions/content/xpinstallConfirm.css
rename : toolkit/mozapps/xpinstall/content/xpinstallConfirm.js => toolkit/mozapps/extensions/content/xpinstallConfirm.js
rename : toolkit/mozapps/xpinstall/content/xpinstallConfirm.xul => toolkit/mozapps/extensions/content/xpinstallConfirm.xul
rename : toolkit/mozapps/xpinstall/content/xpinstallItem.xml => toolkit/mozapps/extensions/content/xpinstallItem.xml
rename : toolkit/themes/pinstripe/mozapps/xpinstall/xpinstallConfirm.css => toolkit/themes/pinstripe/mozapps/extensions/xpinstallConfirm.css
rename : toolkit/themes/winstripe/mozapps/xpinstall/xpinstallConfirm.css => toolkit/themes/winstripe/mozapps/extensions/xpinstallConfirm.css
2011-11-23 15:04:56 -08: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