Commit Graph

87 Commits

Author SHA1 Message Date
Neil Rashbrook
0c34361ca7 Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-26 00:11:16 +01:00
Ed Morley
58e896dd49 Backout ec9451e9e830 (bug 758354) for PGO linux permaorange in browser_bug422590.js and friends 2012-06-25 19:14:43 +01:00
Neil Rashbrook
7e7b835fdc Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-25 09:24:49 +01:00
Ehsan Akhgari
5b1b2aa3b0 Bug 760290 - The update UI needs to be aware of the possibility that the update cannot be staged in the background; r=rstrong 2012-05-31 20:28:32 -04:00
Ehsan Akhgari
8a0b44b9e8 Bug 759065 - Fall back to downloading the full update if staging the update in the background fails; r=rstrong 2012-05-29 16:20:12 -04:00
Ehsan Akhgari
bb46fe0915 Bug 757885 - Handle falling back to non-staged updates correctly when an update fails to be staged in the background; r=rstrong 2012-05-23 17:51:50 -04:00
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
Brian R. Bondy
54527b0e1a Bug 481815 - Provide a Windows service for silent updates. r=rstrong. 2012-01-04 23:19:14 -05:00
Dave Townsend
8af0b5129b Bug 704987: Ignore the hotfix add-on when warning users about incompatible add-ons. r=robstrong 2011-12-16 12:04:40 -08:00
Jonas Sicking
0588c874fd Bug 687400: Kill Node.isSameNode. r=smaug 2011-10-28 19:52:27 -07:00
Robert Strong
0fc8a61c77 Bug 595078 - Where possible, remove the possibility of other components breaking app update. r=mossop, a=approval2.0 2011-01-13 11:36:36 -08:00
Robert Strong
2b802fcbb2 Bug 617513 - Duplicate declaration of doc in updates.xml. r=dtownsend, a=approval2.0 2010-12-15 14:37:24 -08:00
Robert Strong
c0d500d755 strings needed for b7 for Bug 315278 - Update process produces a broken application when disk space is low. r=mossop, ui-r=beltzner, a=blocks a blocker 2010-10-06 13:22:20 -07:00
Robert Strong
163feb77f0 Main patch - Bug 596813 - Check for updates inside the About window without opening a new window. r=dtownsend, ui-r=beltzner, a=blocking2.0-beta7 2010-09-23 21:02:08 -07:00
Robert Strong
bab2be3b11 Bug 597664 - Add finalURI.spec for the mar file download to the local update xml and log the finalURI.spec along with the original URI.spe. r=dtownsend, a=approval2.0 2010-09-20 21:42:26 -07:00
Robert Strong
3233b7968e Bug 595455 - After several background update check failures notify the user that they should check if there is a new version available. r=dtownsend, a=blocking2.0-beta7 2010-09-14 18:49:10 -07:00
Robert Strong
b270b3d18b strings for Bug 595455 - After several background update check failures notify the user that they should check if there is a new version available. r=dtownsend, ui-r=beltzner, a=blocking2.0-beta6 2010-09-13 23:57:39 -07:00
Robert Strong
0b5a2dd93d Bug 546593 - If both a partial and complete update have a verification failure this._update is null, the UI breaks, and the user is not notified of the update failure. r=dtownsend, a=approval2.0 dtownsend 2010-09-09 12:22:27 -07:00
Robert Strong
dc84ef605a Patch 1 (main patch) - Bug 583408 - Notify user when the certificate attribute check fails. r=dtownsend, a=blocking2.0-beta6 2010-09-01 16:27:07 -07:00
Robert Strong
70e1a689c2 Bug 592785 - Don't report add-ons as incompatible if they are already incompatible with the current version. r=dtownsend, a=approval2.0 dtownsend 2010-09-01 16:26:30 -07:00
Robert Strong
c33be2e05f Bug 583408 - Notify user when the certificate attribute check fails. r=dtownsend ui-r=beltzner a=blocking 2010-08-28 02:35:01 +02:00
Robert Strong
e1495bfabb Bug 586194 - move never pref check into selectUpdate and use services js module in app updat. r=dtownsend, approval2.0=bsmedberg 2010-08-12 19:07:44 -07:00
Robert Strong
89ddf66fc2 Bug 570066 - Update UI dialogue box in Firefox disappeared before Firefox could be updated. r=dtownsend 2010-06-15 15:13:47 -07:00
Robert Strong
fee376b90c no bug - whitespace fix to force another build to kick off
(transplanted from b219912edfec87b80b97b44b6831868c7b1dcf31)

--HG--
extra : transplant_source : %B2%19%91.%DF%EC%87%B8%0B%97%B4Kh1%86%8C%7B%1D%CF1
2010-06-05 01:19:35 -07:00
Robert Strong
b6fca906ec Bug 567054 - Cc and Ci are not defined in updates.js. r=dtownsend 2010-05-22 14:11:03 -07:00
Robert Strong
366cac3334 Bug 566807 - Workaround Bug 566787 when checking for incompatible add-ons. r=dtownsend 2010-05-22 14:10:45 -07:00
Dave Townsend
74dbc43f95 Bug 555942: Name of AddonsManager.getAddons() is misleading/inconsistent. r=robstrong 2010-04-26 10:49:19 -07:00
Dave Townsend
9bce08e51c Bug 552732: Update the app update service to work with the new API. r=robstrong 2010-04-14 09:54:52 -07:00
Dave Townsend
74b7768710 Backout new add-ons manager due to Ts regression on OSX 10.5
--HG--
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_bug404024.xml => toolkit/mozapps/extensions/test/unit/data/test_bug404024.xml
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_bug417606.xml => toolkit/mozapps/extensions/test/unit/data/test_bug417606.xml
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_bug424262.xml => toolkit/mozapps/extensions/test/unit/data/test_bug424262.xml
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug404024.js => toolkit/mozapps/extensions/test/unit/test_bug404024.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug417606.js => toolkit/mozapps/extensions/test/unit/test_bug417606.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug424262.js => toolkit/mozapps/extensions/test/unit/test_bug424262.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug449027.js => toolkit/mozapps/extensions/test/unit/test_bug449027.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug455906.js => toolkit/mozapps/extensions/test/unit/test_bug455906.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug514327_3.js => toolkit/mozapps/extensions/test/unit/test_bug514327_3.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug541420.js => toolkit/mozapps/extensions/test/unit/test_bug541420.js
2010-05-01 11:04:44 -07:00
Dave Townsend
6210ae85c3 Bug 555942: Name of AddonsManager.getAddons() is misleading/inconsistent. r=robstrong 2010-04-26 10:49:19 -07:00
Dave Townsend
e7f19d4273 Bug 552732: Update the app update service to work with the new API. r=robstrong 2010-04-14 09:54:52 -07:00
Robert Strong
1a6304f9c8 Typo fix for Bug 552617. r=me 2010-04-06 19:49:34 -07:00
Robert Strong
6f15a23bc8 Bug 552617 - A paused update can't be resumed when closing the window using a window manager control. r=dolske 2010-03-25 21:37:19 -07:00
Robert Strong
b949ee6943 Bug 554561 - Failed partial not handled properly in UI. r=dtownsend 2010-03-25 21:37:06 -07:00
Robert Strong
b5904920bb Bug 545707 - Software update reports transfer speed in bytes per second. r=dolske 2010-03-17 16:12:41 -07:00
Robert Strong
823595d69f Bug 551283 - Suspicious and possibly unused code in updates.js updateListener.onProgress. r=dolske 2010-03-17 16:12:20 -07:00
Robert Strong
dde124550b Bug 548061 - Billboard should handle 404 (other errors?) for billboard better. r=dolske 2010-03-17 16:12:12 -07:00
Robert Strong
3ebd11eb47 Bug 480178 - Billboard should extend to available space and the update UI should be the same width for all locales. Patch 3 - string changes. r=dtownsend, ui-r=faaborg 2010-03-11 20:38:31 -08:00
Robert Strong
16b7d1f277 Bug 480178 - Billboard should extend to available space and the update UI should be the same width for all locales. Patch 1 - main changes without pinstripe changes. r=dtownsend, ui-r=faaborg 2010-03-11 20:37:45 -08:00
Robert Strong
01fc72f11a 5. string cleanup for app update ui - Bug 530872. r=dtownsend 2010-03-03 10:57:19 -08:00
Robert Strong
3b6c4e333b 3. ui changes to support mochitest chrome tests - Bug 530872. r=dtownsend 2010-03-03 10:56:59 -08:00
Robert Strong
6a534f83e8 1. main patch - Bug 530872 - app.update.url params / update.xml cleanup and addition of a custom string property for apps. r=dtownsend 2010-03-03 10:56:33 -08:00
Robert Strong
388b2a3ec6 Bug 543312 - Remove the dependency on nsTryToClose.js from app update's ui. r=dietrich 2010-01-31 15:15:48 -08:00
Robert Strong
4bb10d79e9 Backing out logging changed from Bug 538533 due to scoping issues. r=me 2010-01-16 14:28:09 -08:00
Robert Strong
5d9ca7232b Bug 538533 - If a complete update fails the update prompt should state the error and offer a link to download the update. r=dtownsend 2010-01-15 22:48:21 -08:00
Robert Strong
3d5e9f90a1 Bug 529942 - Remove nsIApplicationUpdateService2 on trunk. r=dtownsend 2009-12-18 14:02:08 -08:00
Robert Strong
86b40d6c0d followup to Bug 407875 - prevent multiple update prompts for manual update notification. r=dtownsend, a=beltzner 2009-11-19 11:38:56 -08:00
Robert Strong
3772c296ba Bug 407875 - Unprivileged users are not notified of security updates. r=dtownsend, r=vlad, a=dietrich 2009-11-18 21:50:05 -08:00
Robert Strong
4df7a46fc6 Bug 528445 - change app.update.log.* in updates.js to app.update.log for UI logging. r=dtownsend 2009-11-13 13:11:07 -08:00