Commit Graph

52 Commits

Author SHA1 Message Date
Brian R. Bondy
4bc9400593 Bug 790496 - Make maintenance service errors stand out more. r=ehsan 2012-10-25 22:34:03 -04:00
Brian R. Bondy
ef70b83dd8 Bug 789743 - Ensure bgupdates executes PostUpdate successfully. r=ehsan 2012-09-20 15:40:45 -04:00
gliuwr@gmail.com
3ddbd6a5a4 Bug 788430 - Fix a minor bug in the MozillaMaintenanceService error handling. r=bbondy 2012-09-06 17:58:47 -04:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Brian R. Bondy
0205a74689 Bug 770911 - Remove all prefetch clearing code. r=taras. 2012-08-02 10:50:29 -04:00
Brian R. Bondy
e514ef6648 Bug 770899 - Prefetch clearing should be repurposed to delete 0 sized read only .pf files only. r=taras 2012-07-09 19:00:03 -04:00
Brian R. Bondy
7674d6cc3e Bug 770883 - Disable functionality for clearing prefetch. r=taras 2012-07-06 07:41:41 -04:00
Brian R. Bondy
0505a31cba Bug 767471 - Report telemetry data for if the MozillaMaintenance service was ever manually uninstalled. r=rstrong 2012-06-25 15:17:45 -04:00
Brian R. Bondy
3ac7133cef Bug 766833 - Some MozillaMaintenance installs point to maintenanceservice_tmp.exe. r=ehsan 2012-06-22 10:13:56 -04:00
Ehsan Akhgari
1630aa5c55 Bug 765227 - Avoid attempting to update the maintenance service when an update is being staged; r=bbondy 2012-06-18 16:06:01 -04:00
Brian R. Bondy
e67fc15d7f Bug 758463 - Windows XP does not clear prefetch on updates. r=jimm 2012-06-15 10:37:55 -04:00
Ehsan Akhgari
741f3aa5e4 Bug 759615 - Avoid running the PostUpdate step when only staging the update in the background; r=rstrong 2012-05-30 18:09:59 -04:00
Ehsan Akhgari
b80be89a87 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
638c878b13 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
a449f0d49b Bug 758206 - Better detection for preload/prefetch telemetry. r=taras 2012-05-27 22:40:49 -04:00
Brian R. Bondy
0a4a2a29cf Bug 758410 - Installs of service should not attempt to clear prefetch. r=rstrong 2012-05-27 22:40:48 -04:00
Brian R. Bondy
3a3bed30cd Bug 727864 - Enable DLL preloading when MozillaMaintenance service disabled prefetch. r=jimm 2012-05-27 22:40:48 -04:00
Brian R. Bondy
869d0f838f Bug 692255 - Get rid of prefetch files on Windows for faster startup. r=rstrong 2012-05-27 22:40:48 -04:00
Brian R. Bondy
98e633230d Bug 757711 - Service does not get replaced for newer builds since bug 748764; r=ehsan 2012-05-23 17:28:08 -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
Brian R. Bondy
7e4c0b7bab Bug 749956 - Start tracking this releng only talos installer file in the tree. r=ehsan. DONTBUILD 2012-05-09 13:37:11 -04:00
Brian R. Bondy
2a4bd445d4 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
3cec0d3c87 Bug 748764 - LoadlibraryEx and quoted string fix for service. r=rstrong, a=ehsan. 2012-05-02 15:40:28 -04:00
Brian R. Bondy
22c90e2a57 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
efb6d08b04 Bug 725568 - Maintenance service can crashes after applying updates. r=rstrong 2012-02-11 17:38:37 -05:00
Robert Strong
c5d26702b9 Bug 725876 - Rename MOZ_UTILS_LDFLAGS to MOZ_GLUE_LDFLAGS and MOZ_UTILS_PROGRAM_LDFLAGS to MOZ_GLUE_PROGRAM_LDFLAGS. r=bbondy 2012-02-10 10:43:32 -08:00
Brian R. Bondy
b672315422 Bug 725155 - Move MozillaMaintenance service description string to Strings section of ini file. r=rstrong 2012-02-09 14:44:54 -05:00
Brian R. Bondy
d3c51f21c1 Bug 715489 - MozillaMaintenance service is missing a description in Service Manager. r=rstrong 2012-02-06 13:32:51 -05:00
Ed Morley
ae1f7ca7e4 Merge last green changeset of mozilla-inbound to mozilla-central 2012-01-23 19:19:06 +00:00
Brian R. Bondy
e61b4daa3a Bug 715910 - Use localized group account name for Users. r=rstrong 2012-01-22 20:52:03 -05:00
Robert Strong
66a57ae81d Bug 720016 - warning when compiling the maintenance service - swprintf takes a count parameter. r=bbondy 2012-01-22 15:55:22 -08:00
Brian R. Bondy
1727869633 Bug 715910 - Set permissions for the service even on upgrades. r=rstrong 2012-01-18 12:42:35 -05:00
Brian R. Bondy
a78b080386 Bug 716915 - Service is sometimes not used after several successful service updates because maintenanceservice.exe is missing. r=rstrong. 2012-01-17 16:52:23 -05:00
Brian R. Bondy
b586b563f1 Bug 715910 - Logging to determine service permission problems, and always set it on upgrades. r=rstrong 2012-01-10 11:28:50 -05:00
Brian R. Bondy
34557e2378 Bug 715749 - service broke builds with --disable-updater. r=rstrong 2012-01-10 11:28:50 -05:00
Brian R. Bondy
dfc1a3397c Bug 716126 - Include update.status contents inside maintenanceservice.log file on failed updates. r=rstrong 2012-01-10 11:28:50 -05:00
Brian R. Bondy
528c9af51d Bug 711692 - Various fixes for intermittent failures. r=rstrong. 2011-12-28 21:08:37 -05:00
Brian R. Bondy
2bd6f43cdf Bug 711692 - Environment variable related fixes for xpcshell tests. r=rstrong. 2012-01-04 23:19:19 -05:00
Brian R. Bondy
157a1ffc3d Bug 711692 - appbin fix and SCM lock hang fix. r=rstrong. 2012-01-04 23:19:19 -05:00
Brian R. Bondy
37096b5741 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
9b9cd2b25a 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
03ad6d8657 Bug 711792 - Speed up and simplify maintenance service update command processing. r=rstrong. 2012-01-04 23:19:17 -05:00
Brian R. Bondy
2c0a6e3e93 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
18284e755d 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
427d50bb11 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
fa7e88ea76 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
6c106443a7 Bug 709173 - updater.exe needs to be verified to be an updater, not just an executable signed by Mozilla. r=rstrong. 2012-01-04 23:19:16 -05:00
Brian R. Bondy
ef6ac7d7f3 Bug 709158 - updater.exe was not verified to be a particular product's/channel's/version of the updater. r=rstrong. 2012-01-04 23:19:16 -05:00
Brian R. Bondy
05a2844e25 Bug 709183 - Callback path and arguments untrusted, don't use/pass them. r=rstrong. 2012-01-04 23:19:16 -05:00