Commit Graph

121 Commits

Author SHA1 Message Date
Dave Hylands
77eebe60e5 Bug 827896 - Cancel download rather than letting it fail when powering off the phone. r=rstrong 2013-02-08 19:36:16 -08:00
Mike Hommey
362f974085 Bug 793767 - Use the executable file location to derive the update root. r=rstrong 2013-02-08 15:58:52 +01:00
Robert Strong
33b482a03c Bug 695811 - Checking for updates logs two warnings about deprecated XMLHttpRequest attributes. r=bbondy, r=dhylands 2013-02-01 18:58:48 -08:00
Dave Hylands
7884b269e2 Bug 831701 - Finish active updates unless the user swtiches to a newer one. Remove stale updates. r=rstrong
Once the user starts to download an update, stick to that update until the user cancels the download and does a "Check Now".

If a newer update is started and a stale update is detected, remove the stale update.

If a download fails due an update being in the applied state, prompt the user to apply it.

If an update was fully downloaded, but interrupted during verification, then don't redownload.
2013-01-25 10:27:49 -08:00
Dave Hylands
fe242338a7 Bug 830462 - Remove update.mar from sdcard when finished (or when starting a new download). r=rstrong 2013-01-14 20:29:46 -08:00
Dave Hylands
ec0f13f305 Bug 813770 - Rebooting after update is downloaded but before it's applied doesn't show prompt to re-apply on subsequent restart. r=rstrong 2013-01-12 05:03:13 +01:00
Marshall Culpepper
e7dcfee651 Bug 816306: Part 1 - Report more network errors during update checks. r=bbondy 2013-01-10 18:10:19 +01:00
Dave Hylands
062761000b Bug 785124 - Pt 6 - Fix JS code that was failing xpcshell tests. r=marshall_law 2013-01-10 14:46:39 +01:00
Dave Hylands
910cba180d Bug 785124 - Pt 2 - JS changes to updater to allow storing update.mar to sdcard. r=marshall_law
From 93958fee051e9355930edba538eabeb91f4b442d Mon Sep 17 00:00:00 2001
 sdcard and lock sdcard while in use
---
 b2g/components/DirectoryProvider.js       |  154 ++++++++++++++++++++++++++---
 b2g/components/UpdatePrompt.js            |   16 ++-
 toolkit/mozapps/update/nsUpdateService.js |  124 ++++++++++++++++++++++-
 3 files changed, 276 insertions(+), 18 deletions(-)
* * *
Fix log stmt
2012-12-14 16:05:39 -08:00
Phil Ringnalda
ed9b0b2817 Back out 6737ce4d3ce6:599c37ed628c (bug 785124) for b2g Arm xpcshell orange in update tests 2013-01-07 22:59:32 -08:00
Dave Hylands
b267ce1d8a Bug 785124 - Pt 2 - JS changes to updater to allow storing update.mar to sdcard. r=marshall
From 93958fee051e9355930edba538eabeb91f4b442d Mon Sep 17 00:00:00 2001
 sdcard and lock sdcard while in use
---
 b2g/components/DirectoryProvider.js       |  154 ++++++++++++++++++++++++++---
 b2g/components/UpdatePrompt.js            |   16 ++-
 toolkit/mozapps/update/nsUpdateService.js |  124 ++++++++++++++++++++++-
 3 files changed, 276 insertions(+), 18 deletions(-)
* * *
Fix log stmt
2012-12-14 16:05:39 -08:00
Cameron McCormack
a86c49ceeb Bug 822548 - Fix a bunch of JS warnings on startup. r=dao 2012-12-19 09:27:56 +11:00
Marshall Culpepper
df4c17c4b0 Bug 812584: Part 1 - Always forward update download errors in B2G. r=bbondy 2012-12-17 17:23:14 -06:00
Marshall Culpepper
e5f001102d Bug 813778: Don't attempt to retry when a FOTA update fails to apply in B2G. r=bbondy 2012-11-29 10:47:44 -06:00
Stephen Pohl
59d91444e7 1 of 2 - Main patch for Bug 813322 - Add ability to control time interval for restart prompt to apply update. r=bbondy 2012-11-28 20:56:32 -08:00
Fabrice Desré
615ecd5214 Bug 802228 - Check for app updates when we check for system update [r=marshall] 2012-11-15 12:52:19 -08:00
Brian R. Bondy
9bb6552110 Bug 791829 - Add support for resuming a stopped/partial update. r=rstrong 2012-11-06 20:09:43 -05:00
Marshall Culpepper
867e660d91 Bug 809605: Add %PRODUCT_MODEL% token for update URLs in B2G. r=ehsan 2012-11-07 22:18:10 -05:00
Masatoshi Kimura
42ac4dce02 Bug 685202 - Cleanup the update directory if canApplyUpdates is false; r=ehsan 2012-11-05 19:08:21 -05:00
Adri Hilviu
0bf9cbbfa2 Bug 805466 - Remove old MozUpdater-i folders in /tmp in PostUpdate. r=bbondy 2012-10-31 16:32:14 -04:00
Kyle Huey
1482122303 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Vicamo Yang
8297cdabd6 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey
bdf47895bb Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 12:28:11 -07:00
Ed Morley
777eed8444 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
aa1997a51a Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 08:26:12 -07:00
Brian R. Bondy
e92e724fe7 Bug 765598 - Remove newly created MozUpdater folders in tmp on post update. r=ehsan 2012-10-25 22:30:34 -04:00
Ryan VanderMeulen
a7934ae4c3 Merge the last PGO-green inbound changeset to m-c. 2012-10-19 21:43:03 -04:00
Robert Strong
436f08c09e Main patch for Bug 774618 - Partner builds don't download complete update if partial fails, or show workaround information if complete fails. r=bbondy 2012-10-19 12:42:55 -07:00
Brian R. Bondy
35d2e26ee5 Bug 802016 - Do not allow caching at all when checking for updates. r=rstrong 2012-10-17 13:41:35 -04:00
Brian R. Bondy
1ce38ab9a3 Bug 801855 - Check update download progress to prevent overly large update from being downloaded. r=rstrong 2012-10-19 12:43:54 -04:00
Marshall Culpepper
4e8dca8fac Bug 794211: Check for updates after coming online when a check fails because the network is offline. r=bbondy r=rstrong 2012-10-13 13:06:58 -05:00
Adri Hilviu
a60adb9415 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
e5a8a843cd Bug 778349: Initial support for OS ("FOTA") updates in Gonk. r=rstrong r=bbondy r=fabrice 2012-09-30 21:55:51 -05:00
Andres Hernandez
7a3b5f8d0a Bug 721165 - Extract repeated code for retrieving CHANNEL information from Blocklist and Telemetry to a javascript module r=gavin 2012-09-10 10:54:41 -06:00
Ehsan Akhgari
86768ddbe3 Bug 790453 - Rename the pref for background updates to app.update.staging.enabled; r=rstrong 2012-09-11 22:13:14 -04:00
Marshall Culpepper
51818865da 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
Marshall Culpepper
637c26363e Bug 764684: Enable update staging for B2G, and skip the update.test check. r=ehsan 2012-08-27 12:15:12 -03:00
Brian R. Bondy
f76c80dc4d 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
e2564e9daa 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
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
0bf749eba5 Bug 763025 - Report telemetry data for the number of people that cannot upgrade due to permissions. r=rstrong 2012-06-15 11:59:35 -04:00
Brian R. Bondy
d12eed31bb Bug 763018 - Report telemetry data for if background updates are enabled. r=rstrong 2012-06-15 11:59:35 -04:00
Brian R. Bondy
18331a6af5 Bug 763016 - Report telemetry data for if the MozillaMaintenance service is installed. r=rstrong 2012-06-15 11:59:35 -04:00
Brian R. Bondy
1cbb101a8e Bug 763022 - Report telemetry data for the number of service related errors people encountered. r=rstrong 2012-06-15 11:59:35 -04:00
Brian R. Bondy
5040132ee7 Bug 763017 - Report telemetry data for if the MozillaMaintenance service is enabled. r=rstrong 2012-06-15 11:59:35 -04:00
Brian R. Bondy
a038a03cd7 Bug 763012 - Report telemetry data for whether or not updates are automatic. r=rstrong 2012-06-15 11:59:35 -04:00
Brian R. Bondy
d5a8bf8d85 Bug 763011 - Report telemetry data for whether or not updates are enabled. r=rstrong 2012-06-15 11:59:35 -04:00
Ehsan Akhgari
7ce04794eb Bug 764587 - Do not throttle the download of a complete mar if we fall back to a complete update after attempting to stage a partial update; r=rstrong 2012-06-13 22:00:03 -04:00
Ehsan Akhgari
97c7757142 Bug 760577 - Part 1: Keep the update files around when an update has been staged; r=rstrong 2012-06-14 09:21:13 -04:00
Pranav Ravichandran
a74d2889e8 Bug 750554 - If service is not used for updates then do not show it in preferences. r=bbondy 2012-05-31 10:28:01 -04:00