Commit Graph

43 Commits

Author SHA1 Message Date
Robert Strong
4619a15c1b Bug 1138282 - Extend telemetry for large number of SERVICE_STILL_APPLYING_ON_FAILURE errors. r=bbondy 2015-04-03 11:19:01 -07:00
Brian Smith
5e154d3b56 Bug 1119072, Part 14: Fix prototype of MakeCommandLine to match definition, r=rstrong 2015-01-08 15:36:24 -08:00
Robert Strong
9244c9e8ef Mac v2 signing - Bug 1072722 - With older clients the new maintenance service checks the updated directory's updater.exe when verifying the updater.exe for replace requests. r=spohl 2014-09-29 11:53:07 -07:00
Robert Strong
a183d0f0d9 Mac v2 signing - Bug 1064523 - Create staging directory outside of the Mac bundle. r=bbondy 2014-09-29 11:52:08 -07:00
Brian R. Bondy
9ae4a89df8 Backout bug 945192 for intermittent failures. r=rstrong 2014-09-15 20:29:35 -04:00
Brian R. Bondy
9e583314e5 Bug 945192. r=rstrong 2014-05-25 21:58:53 -04:00
Ehsan Akhgari
68bfe70f09 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Birunthan Mohanathas
b55ff3bd65 Bug 784739 - Switch from NULL to nullptr in toolkit/components/ (1/2); r=ehsan 2013-10-10 16:38:05 -04:00
Robert O'Callahan
1640b70645 Bug 898946. Avoid #including XPCOM headers within maintenanceservice. r=bbondy 2013-08-02 21:30:06 +12:00
Brian R. Bondy
052ccdb2ae Bug 888361. r=rstrong 2013-07-01 19:11:52 -04:00
Brian R. Bondy
b9e39d1fd3 Bug 867056. r=rstrong 2013-05-23 13:26:44 -04:00
Brian R. Bondy
dba0458d75 Bug 850492. r=rstrong. 2013-04-04 13:32:47 -04:00
Stephen Pohl
0ae2321e1c Bug 848417 - Use wcsncpy instead of wcscpy. r=bbondy 2013-03-07 13:41:37 -08:00
Brian R. Bondy
bd05786dcb Bug 790496 - Make maintenance service errors stand out more. r=ehsan 2012-10-25 22:34:03 -04:00
Brian R. Bondy
507ede7ef1 Bug 789743 - Ensure bgupdates executes PostUpdate successfully. r=ehsan 2012-09-20 15:40:45 -04:00
7fb8e722aa Bug 788430 - Fix a minor bug in the MozillaMaintenanceService error handling. r=bbondy 2012-09-06 17:58:47 -04:00
Brian R. Bondy
990ad9427f Bug 770911 - Remove all prefetch clearing code. r=taras. 2012-08-02 10:50:29 -04:00
Brian R. Bondy
d472756a9c 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
250c796e2b Bug 770883 - Disable functionality for clearing prefetch. r=taras 2012-07-06 07:41:41 -04:00
Ehsan Akhgari
3cbd0b7f06 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
Ehsan Akhgari
cb55ce8b05 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
b87233e88a Bug 758998 - Use the correct installation directory when attempting to upgrade the maintenance service; r=bbondy 2012-05-29 17:31:04 -04:00
Brian R. Bondy
a3bcca99ed Bug 692255 - Get rid of prefetch files on Windows for faster startup. r=rstrong 2012-05-27 22:40:48 -04:00
Ehsan Akhgari
e1af685c9b 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.
2012-05-22 10:50:04 -04:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Brian R. Bondy
b27cc09780 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
7f6f82443b Bug 748764 - LoadlibraryEx and quoted string fix for service. r=rstrong, a=ehsan. 2012-05-02 15:40:28 -04:00
Brian R. Bondy
9c21437234 Bug 711054 - Stop using readstrings errors for updater. r=rstrong 2012-03-05 15:47:46 -05:00
Brian R. Bondy
254d7e4942 Bug 725568 - Maintenance service can crashes after applying updates. r=rstrong 2012-02-11 17:38:37 -05:00
Brian R. Bondy
c2d03302b1 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
bbe1d3c972 Bug 711692 - Various fixes for intermittent failures. r=rstrong. 2011-12-28 21:08:37 -05:00
Brian R. Bondy
7d858e9734 Bug 711692 - Environment variable related fixes for xpcshell tests. r=rstrong. 2012-01-04 23:19:19 -05:00
Brian R. Bondy
bdcfd85cff Bug 711692 - appbin fix and SCM lock hang fix. r=rstrong. 2012-01-04 23:19:19 -05:00
Brian R. Bondy
0ec479b664 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
d935f351f8 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
14b1529012 Bug 711792 - Speed up and simplify maintenance service update command processing. r=rstrong. 2012-01-04 23:19:17 -05:00
Brian R. Bondy
771213cdfa 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
800f389bc7 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
08aa878ea9 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
f28d5d01f0 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
037dbe597d 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
18edf696d5 Bug 708854 - No longer use session ID for work item files. r=rstrong. 2012-01-04 23:19:15 -05:00
Brian R. Bondy
cae5b5518b Bug 481815 - Provide a Windows service for silent updates. r=rstrong. 2012-01-04 23:19:14 -05:00