Commit Graph
24 Commits
Author SHA1 Message Date
Robert Strong f03959ddf1 Bug 641212 - use lzma compression for application update. Part 2 - add xe-embedded decompression support to the updater. r=mhowell, , a=app_update_lzma
Changes to the libmar host utilities (mar and signmar) are backwards compatible with the previous versions of mar and signmar
2017-07-30 23:27:00 -07:00
Robert Strong ae85f8d102 Client code - Bug 1348645 - check that the app update callback path is valid. r=mhowell 2017-04-28 16:37:15 -07:00
Robert Strong 355cfa1709 Client code - Bug 1342742 - check that the app update patch dir, install dir, and working dir paths are valid. r=mhowell 2017-04-28 16:36:45 -07:00
Robert Strong 768c4fb2e1 Bug 1357685 - Remove the remaining gonk code from application update. r=mhowell
The DWNLD_ERR_NO_PATCH_FILE (7) telemetry value for was removed for the UPDATE_DOWNLOAD_CODE_COMPLETE and UPDATE_DOWNLOAD_CODE_PARTIAL histograms since it was only needed for gonk
The FILESYSTEM_MOUNT_READWRITE_ERROR 43 error code for the updater was removed since it was only needed for gonk
The isOSUpdate and applyOsUpdate methods in nsIUpdateService.idl were removed since they were only needed for gonk
The remainder is general gonk code removal
2017-04-19 15:07:11 -07:00
Ehsan Akhgari 11743b9cad Bug 1318562 - Remove Navigator.updateManager; r=baku 2016-11-18 09:01:49 -05:00
Matt Howell 0f1045b736 Bug 1246972 - Always require the update working directory to be within the installation path; r=rstrong
This required fixing a few chrome tests which broke on Mac because they were assuming updater-settings.ini would be at the same location as the executables.

Also, this patch removes many dependencies on the current working directory from updater.cpp by changing it to use absolute paths instead. Otherwise this patch would have required adding yet more chdir() calls to avoid invalidating existing assumptions about what the current directory is.

MozReview-Commit-ID: ASxfV4uVpmD
2016-08-25 15:31:13 -07:00
Wes Kocher 85ed172e67 Backed out 2 changesets (bug 1246972) for marSuccessComplete.js failures a=backout
Backed out changeset 4576637003b6 (bug 1246972)
Backed out changeset c079fb045b9d (bug 1246972)
2016-08-25 13:02:17 -07:00
Matt Howell 15447e7a92 Bug 1246972 - Always require the update working directory to be within the installation path; r=rstrong
This required fixing a few chrome tests which broke on Mac because they were assuming updater-settings.ini would be at the same location as the executables.

Also, this patch removes many dependencies on the current working directory from updater.cpp by changing it to use absolute paths instead. Otherwise this patch would have required adding yet more chdir() calls to avoid invalidating existing assumptions about what the current directory is.

MozReview-Commit-ID: ASxfV4uVpmD
2016-08-23 14:11:23 -07:00
Matt Howell 6dd90bc346 Bug 1237219 - Lock patch files while applying updates; r=rstrong
MozReview-Commit-ID: 8m4SQVhZy4D
2016-04-14 09:33:42 -07:00
Robert Strong d1f721c720 Bug 1177861 - remove remaining unused declarations and cleanup update staging. r=spohl 2015-08-11 14:30:35 -07:00
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
Robert Strong 9d6e3adefd Bug 1137447 - New app update telemetry for patch type (complete or partial), extended error codes, and general cleanup. r=bbondy 2015-03-28 20:20:53 -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
Brian R. Bondy b9e39d1fd3 Bug 867056. r=rstrong 2013-05-23 13:26:44 -04:00
Adri Hilviu 42fe7b7def Bug 794234 - Get more information on WRITE_ERROR_SHARING_VIOLATION errors (error 36). r=bbondy 2012-10-11 21:54:58 -04:00
Marshall Culpepper a383a90145 Bug 778349: Initial support for OS ("FOTA") updates in Gonk. r=rstrong r=bbondy r=fabrice 2012-09-30 21:55:51 -05:00
Marshall Culpepper 6c7db8dc75 Bug 764683: Manage /system mount permissions when applying Gecko updates in B2G, and download them to /data/local. r=rstrong r=bbondy r=cjones 2012-08-27 12:27:14 -03:00
Brian R. Bondy 4c49daf26c Bug 735975 - Get rid of UNEXPECTED_ERROR codes from updater error handling. r=ehsan 2012-06-21 19:40:47 -04:00
Brian R. Bondy ce904191b9 Bug 766567 - Figure out the source of WRITE_ERROR (7) errors in updater code. r=ehsan 2012-06-21 19:40:43 -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 9c21437234 Bug 711054 - Stop using readstrings errors for updater. r=rstrong 2012-03-05 15:47:46 -05:00