Commit Graph

25 Commits

Author SHA1 Message Date
Brian R. Bondy
7393218c0a Bug 766567 - Figure out the source of WRITE_ERROR (7) errors in updater code. r=ehsan 2012-06-21 19:40:43 -04:00
Brian R. Bondy
a088a5ed7f bug 740842 - When updating Firefox the service is used although the UAC is off in win8. r=rstrong 2012-06-15 17:43:58 -04:00
Ehsan Akhgari
3127b280c3 Bug 758998 - Use the correct installation directory when attempting to upgrade the maintenance service; r=bbondy 2012-05-29 17:31:04 -04:00
Gervase Markham
d4eb7d5782 Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Brian R. Bondy
4671436044 Bug 692255 - Get rid of prefetch files on Windows for faster startup. r=rstrong 2012-05-27 22:40:48 -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
c20b4e4ab2 Bug 748948 - Possible race condition when launching updates from service after security checks. r=rstrong, a=ehsan. 2012-05-02 15:40:33 -04:00
Brian R. Bondy
bf2cc24f9c Bug 711054 - Stop using readstrings errors for updater. r=rstrong
--HG--
rename : toolkit/mozapps/readstrings/errors.h => toolkit/mozapps/update/common/errors.h
rename : toolkit/mozapps/readstrings/readstrings.cpp => toolkit/mozapps/update/common/readstrings.cpp
rename : toolkit/mozapps/readstrings/readstrings.h => toolkit/mozapps/update/common/readstrings.h
2012-03-05 15:47:46 -05:00
Brian R. Bondy
b4f0f02c3b Bug 721758 - Ability to configure updater to accept multiple MAR IDs. r=rstrong 2012-02-24 16:29:42 -05:00
Brian R. Bondy
9f37e649a9 Bug 708690 - XPCShell test enhancements for product information blocks. r=rstrong 2012-02-24 16:29:42 -05:00
Ginn Chen
14e9d16868 Bug 674478 Implement rmdir rf without FTS on Solaris r=bbondy 2012-02-22 10:12:54 +08:00
Nathan Froyd
6ae9126bcf Bug 727156 - fix compiler warnings in toolkit/mozapps/update/; r=bbondy 2012-02-14 10:48:23 -08:00
Brian R. Bondy
5b8410bbc2 Bug 718450 - Callback application does not relaunch on some limited user account WinXP. r=rstrong 2012-01-19 13:05:51 -05:00
Brian R. Bondy
c97793c692 Bug 711692 - Various fixes for intermittent failures. r=rstrong. 2011-12-28 21:08:37 -05:00
Brian R. Bondy
3588126af5 Bug 711692 - Don't rely on event and don't uninstall/install service on updates. r=rstrong. 2012-01-04 23:19:19 -05:00
Brian R. Bondy
477121ea93 Bug 712155 - Maintenance service: Wait for service to stop before starting the next xpcshell test. r=rstrong. 2012-01-04 23:19:18 -05:00
Brian R. Bondy
e0a208e138 Bug 711792 - Speed up and simplify maintenance service update command processing. r=rstrong. 2012-01-04 23:19:17 -05:00
Brian R. Bondy
b374707209 Bug 711505 - Callback application should be locked when doing updates from the service. r=rstrong. 2012-01-04 23:19:16 -05:00
Brian R. Bondy
165e3a3c65 Bug 711140 - Use maintenance service if the fallback key is present so tests can run. r=rstrong. 2012-01-04 23:19:16 -05:00
Brian R. Bondy
c41584e6f4 Bug 709598 - If no registry keys exist for the install dir, don't try to use the maintenance service for updates. r=rstrong.
--HG--
rename : toolkit/components/maintenanceservice/pathhash.cpp => toolkit/mozapps/update/common/pathhash.cpp
rename : toolkit/components/maintenanceservice/pathhash.h => toolkit/mozapps/update/common/pathhash.h
2012-01-04 23:19:16 -05:00
Brian R. Bondy
e6f1faa1ee Bug 708778 - Updater service used on Windows should drop as many permissions as possible. r=rstrong. 2012-01-04 23:19:16 -05:00
Brian R. Bondy
d9f3ef0a5a Bug 709183 - Callback path and arguments untrusted, don't use/pass them. r=rstrong. 2012-01-04 23:19:16 -05:00
Brian R. Bondy
86afcc4bf8 Bug 708854 - No longer use session ID for work item files. r=rstrong.
--HG--
rename : toolkit/mozapps/update/common/launchwinprocess.cpp => toolkit/mozapps/update/common/updatehelper.cpp
rename : toolkit/mozapps/update/common/launchwinprocess.h => toolkit/mozapps/update/common/updatehelper.h
2012-01-04 23:19:15 -05:00
Brian R. Bondy
54527b0e1a Bug 481815 - Provide a Windows service for silent updates. r=rstrong. 2012-01-04 23:19:14 -05:00