Commit Graph

259 Commits

Author SHA1 Message Date
Marshall Culpepper
8c259e8a1b Bug 812584: Part 1 - Always forward update download errors in B2G. r=bbondy 2012-12-17 17:23:14 -06:00
Marshall Culpepper
c8a3343b3e 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
6ca2de9109 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é
e1b6762a8e 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
ed00af96ac Bug 791829 - Add support for resuming a stopped/partial update. r=rstrong 2012-11-06 20:09:43 -05:00
Marshall Culpepper
d11ffe7871 Bug 809605: Add %PRODUCT_MODEL% token for update URLs in B2G. r=ehsan 2012-11-07 22:18:10 -05:00
Masatoshi Kimura
4999721f39 Bug 685202 - Cleanup the update directory if canApplyUpdates is false; r=ehsan 2012-11-05 19:08:21 -05:00
Adri Hilviu
7ab2fefdd2 Bug 805466 - Remove old MozUpdater-i folders in /tmp in PostUpdate. r=bbondy 2012-10-31 16:32:14 -04:00
Kyle Huey
76a2832eea Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-31 09:13:28 -07:00
Vicamo Yang
ea784216bd Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey
c82a2d6fea 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
c34b7d9377 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
8078ab712e 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
1fc1ed3d58 Bug 765598 - Remove newly created MozUpdater folders in tmp on post update. r=ehsan 2012-10-25 22:30:34 -04:00
Ryan VanderMeulen
d5cfb5e147 Merge the last PGO-green inbound changeset to m-c. 2012-10-19 21:43:03 -04:00
Robert Strong
f1f28f724e 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
dda6393d88 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
3c9348b738 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
313d1a39ec 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
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
Andres Hernandez
68d3cc16c9 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
80488cad57 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
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
Marshall Culpepper
56f0302efc 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
11a15e065f 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
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
Brian R. Bondy
88b4b2f3c8 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
38a7a376d4 Bug 763018 - Report telemetry data for if background updates are enabled. r=rstrong 2012-06-15 11:59:35 -04:00
Brian R. Bondy
a959818d27 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
050c1b205d 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
88c7d2f388 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
0c59cf2269 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
47de6f5068 Bug 763011 - Report telemetry data for whether or not updates are enabled. r=rstrong 2012-06-15 11:59:35 -04:00
Ehsan Akhgari
95579892af 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
aef5b82ff0 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
fa6f6f934e 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
Ehsan Akhgari
25a6366cad Bug 760290 - The update UI needs to be aware of the possibility that the update cannot be staged in the background; r=rstrong 2012-05-31 20:28:32 -04:00
Ehsan Akhgari
9a3ce3786b Bug 759065 - Fall back to downloading the full update if staging the update in the background fails; r=rstrong 2012-05-29 16:20:12 -04:00
Ehsan Akhgari
16a39cb949 Bug 757965 - Properly test for write access before staging an update in the background; r=rstrong
This patch makes sure that we test to make sure we can create a
directory in the installation directory and also in its parent (the
latter check only happens on Windows and Linux), so that we wouldn't try
to stage an update in the background if that's bound to fail if we don't
have the require write permissions.
2012-05-30 17:57:05 -04:00
Ehsan Akhgari
b98a7e4ed2 Merge mozilla-central into mozilla-inbound 2012-05-30 22:43:10 -04:00
Robert Strong
5c8e59a599 Bug 759460 - Preprocess channel name into nsUpdateService.js instead of just using 'default'. r=bbondy 2012-05-30 15:17:43 -07:00
Ehsan Akhgari
9c3849d026 Bug 759390 - Make sure gCanStageUpdates will not fail if the maintenance service pref is set to false; r=rstrong 2012-05-30 13:54:10 -04:00
Ehsan Akhgari
7223bdce1e Bug 757965 - Test to make sure we have write access to the needed directories before attempting to stage an update; r=rstrong 2012-05-25 03:17:16 -04:00
Szabolcs Hubai
6bfdc5983a Bug 756960 - Iterate on a shallow copy while notifying downloadListeners. r=Mossop 2012-05-21 21:20:54 +02:00
Ehsan Akhgari
6fb74e1e6b Bug 757885 - Handle falling back to non-staged updates correctly when an update fails to be staged in the background; r=rstrong 2012-05-23 17:51:50 -04:00
Ehsan Akhgari
16a02fc1f7 Bug 757835 - Fall back to not use the maintenance service if there is an error when using the service to stage an update in the background; r=rstrong
This will cause us to fall back to a non-background update with a UAC prompt,
which sucks, but at least it lets the user to update.
2012-05-23 12:31:37 -04:00
Ehsan Akhgari
a843be0291 Bug 757437 - Remove the rest of the support code for xpcshell-specific Mac bundle hacks from bug 307181; r=rstrong 2012-05-22 11:32:01 -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