Commit Graph

22 Commits

Author SHA1 Message Date
Brian R. Bondy
aa85cfc765 Bug 763018 - Report telemetry data for if background updates are enabled. r=rstrong 2012-06-15 11:59:35 -04:00
Ehsan Akhgari
904efc4f7a 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
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Robert Strong
5e8bc51cc8 Main patch - Bug 660038 - Remove channel switching support. r=bbondy 2012-01-18 14:10:38 -08:00
Blair McBride
c8f32d996d Bug 693901 - Add preference to globally (re)enable strict compatibility checks. r=dtownsend 2011-11-01 18:48:45 +13:00
Robert Strong
7729d8fd36 1. main patch - Bug 642765 - Add ability to channel change to the client. r=mossop 2011-04-11 21:24:16 -07:00
Robert Strong
53f5372593 Bug 616924 - App update test cleanup. r=dtownsend, a=tests 2010-12-07 12:05:49 -08:00
Robert Strong
d7b6ac5f86 2. tests - Bug 466778 - [Win] Unable to update when files to be patched are in use on Windows. r=dtownsend, a=blocking2.0-BetaN
--HG--
rename : toolkit/mozapps/update/test/unit/data/aus-0110_general.mar => toolkit/mozapps/update/test/unit/data/complete.mar
rename : toolkit/mozapps/update/test/unit/data/aus-0110_general_ref_image.png => toolkit/mozapps/update/test/unit/data/complete.png
rename : toolkit/mozapps/update/test/unit/data/aus-0111_general.mar => toolkit/mozapps/update/test/unit/data/partial.mar
rename : toolkit/mozapps/update/test/unit/data/aus-0111_general_ref_image.png => toolkit/mozapps/update/test/unit/data/partial.png
2010-11-18 17:20:58 -08:00
Robert Strong
2faf64b982 Bug 601518 - Need updater tests to cover nsUpdateDriver.cpp code. r=dtownsend, a=blocking2.0-final 2010-10-19 21:28:29 -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
78559834a9 Bug 595722 - Using this._enabled to make nsIUpdatePrompt not show some of the UI when the app.update.silent pref is set is confusing. r=dtownsend, a=approval2.0 2010-09-13 23:57:56 -07:00
Robert Strong
7b1035eb29 Followup for Bug 595059 - Incorrect errorCode comparison and enabled check in showUpdateError. r=dtownsend, a=approval2.0 2010-09-13 23:57:19 -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
51c54e98b0 Bug 316890 - Add more logging to updater and close patch files so they can be deleted. r=dolske, a=approval2.0 dtownsend 2010-09-09 12:22:02 -07:00
Robert Strong
14f475c8d3 followup test only fix for SeaMonkey and Thunderbird for bug 583408. r=dtownsend, a=test bustage fix 2010-09-03 14:27:06 +12:00
Robert Strong
9320bf1acd Patch 2 (tests only) - Bug 583408 - Notify user when the certificate attribute check fails. r=dtownsend, a=blocking2.0-beta6 2010-09-01 16:27:21 -07:00
Robert Strong
798841f3e0 App update patch for Bug 544442 - Add support for signed AUS update snippets. r=dtownsend, a=blocking2.0-Beta3 2010-08-01 19:02:21 -07:00
Robert Strong
1759bf0d58 Bug 546595 - Add mochitests for the incompatibleList and incompatibleCheck pages. r=dtownsend 2010-06-02 22:28:45 -07:00
Robert Strong
6c77573423 Bug 566267 - Simplify app update mochitest-chrome tests (updated tests). r=dtownsend 2010-05-26 13:16:57 -07:00
Robert Strong
49461057ae Bug 549969 - Add ability to save xml attributes from update xml that app update doesn't care about. r=dolske 2010-03-17 16:12:30 -07:00
Robert Strong
e0f5c34494 4. mochitest chrome tests for app update - Bug 530872. r=dtownsend 2010-03-03 10:57:09 -08:00
Robert Strong
4d5198538e 2. updated xpcshell tests - Bug 530872. r=dolske 2010-03-03 10:56:47 -08:00