Commit Graph

47 Commits

Author SHA1 Message Date
Alexandre Poirot
03bae2aa0b Bug 963239 - Implements "SystemAppProxy.jsm" to abtract and ease interacting with the system app from platform code. r=vingtetun 2014-04-07 09:59:48 -04:00
Dave Hylands
6a5f943dc4 Bug 983848 - Don't use settings db in UpdatePrompt when running under xpcshell. r=bent 2014-03-19 11:58:01 -07:00
Sam Joch
5f5076a5e4 Bug 939174 - [User Story] Edge Gesture Tutorial Outside of FTE. r=bent 2014-02-07 11:28:25 +01:00
Kai-Zhen Li
ef4e5b0486 Bug 916033 - Add a new status 'applied-os' for nsIUpdateService. r=rstrong 2013-10-31 20:05:08 +08:00
Fabrice Desré
f477838e49 Bug 912612 - Add a timer dedicated to apps update when system updates are disabled. r=etienne,vingtetun 2013-09-11 05:00:48 -07:00
Dave Hylands
6705648492 Bug 883768 - Don't auto reboot when a pin-lock is active for a sim card. r=fabrice 2013-09-10 17:12:34 +02:00
Dave Hylands
54fce6ce74 Bug 830612 - Fix UP_watchdogTimerFired to use notify instead. r=julienw 2013-08-20 10:41:23 -07:00
Marshall Culpepper
0c1e22c7f7 Bug 861103: Fix for 'Install Later' in B2G updates. r=dhylands
--HG--
extra : rebase_source : a4e283b28adcbea09dc9fcc3cba1eed9d85321ab
2013-04-17 15:29:50 +02:00
Marshall Culpepper
06a8d84849 Bug 833708: Correctly set the active update's errorCode when there isn't enough space in Gonk. r=dhylands 2013-02-25 21:11:14 -06:00
Dave Hylands
76d0333bde Bug 842890 - Fix logic error which made applying updates Later fail. r=marshall_law
--HG--
extra : rebase_source : 3438ba6459d063664b3a78517807ccf34214d952
2013-02-22 16:57:10 -06:00
Robert Strong
49aee920ea 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
9e43e2d79e Bug 835210 - FOTA updates don't seem to be working any more. r=fabrice 2013-01-30 17:23:51 -08:00
Dave Hylands
006ea35ac5 Bug 831701 - Missing a change that was supposed to be in the previous patch. r=me 2013-01-25 10:32:56 -08:00
Dave Hylands
af3bb6ca29 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
Marshall Culpepper
e85796faf3 Bug 823695: Part 1 - Send update errors after the shell is ready in B2G. r=fabrice 2013-01-14 23:40:51 -08:00
Dave Hylands
788529fa6f Bug 825598 - Add a watchdog timer on downloads and automatically restart if timer expires. r=marshall_law 2013-01-15 00:10:19 +01:00
Fabrice Desré
e099e975b1 Bug 828944 - downloadavailable flag is removed if you reboot after stopping the download r=ferjm 2013-01-11 07:32:06 -08:00
Marshall Culpepper
84fb5c3fc7 Bug 816306: Part 2 - Report update HTTP errors to Gaia, and accompanying tests. r=fabrice 2013-01-10 18:13:39 +01:00
Dave Hylands
ffb1a18ac0 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
Marshall Culpepper
2b4fe2d2fb Bug 817821: Part 1 - Communicate update download events better to Gaia. r=fabrice 2013-01-08 17:13:32 +01:00
Phil Ringnalda
a3a5c77746 Back out 6737ce4d3ce6:599c37ed628c (bug 785124) for b2g Arm xpcshell orange in update tests 2013-01-07 22:59:32 -08:00
Dave Hylands
e3195587a3 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
Marshall Culpepper
6bd48a10f8 Bug 821412: Part 3 - Initial B2G update tests and smoketests. r=bbondy 2013-01-02 12:41:40 -06:00
Marshall Culpepper
44803927cc Bug 821741: Load update prefs more dynamically to support automation in B2G. r=fabrice
--HG--
extra : rebase_source : ca7f9ef99fe96051d915ec5b8a87fb22a00d3d6d
2012-12-26 11:28:42 -06:00
Marshall Culpepper
d42964acc0 Bug 804571: Implement download cancel (pause) for B2G. r=fabrice
--HG--
extra : rebase_source : f6fe2a4416913f55dab81cd0c8801563a4e409f1
2012-11-30 13:35:54 -06:00
Marshall Culpepper
de9c777dc4 Bug 809974: Set the last update installed time for B2G. r=fabrice 2012-11-27 11:53:17 -06:00
Chris Jones
730858a70c Bug 813451: Update-available notifications don't get lost anymore, so the code from bug 801987 is no longer needed. r=marshall_law 2012-11-20 18:08:32 -08:00
Fabrice Desré
78d69b3ad7 Bug 802228 - Check for app updates when we check for system update [r=marshall] 2012-11-15 12:52:19 -08:00
Kyle Huey
45adfbf2c8 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
e6e6deb486 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey
7457de64ad 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
a7bb0ec116 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
dd0cfd935a 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
Marshall Culpepper
fc6529ca63 Bug 804226: Move B2G nsIUpdateCheckListener impl into it's own type to avoid method name collision. r=fabrice 2012-10-23 13:51:16 -05:00
Fabrice Desré
8a9a9777dd Bug 801987 - [OTA update] system notification never reappears after dismissing "Later" and then force updating [r=marshall] 2012-10-16 22:07:59 -07:00
Marshall Culpepper
2869c8eea3 Bug 801742: Pass updater errors and status to Gaia in B2G. r=fabrice
--HG--
extra : rebase_source : 1cb52325daa904a8b0fad9f1bb57bdc058188e1c
2012-10-16 14:15:37 -05:00
Marshall Culpepper
4a09f12326 Bug 798948: Allow force checking of updates in B2G. r=fabrice 2012-10-13 13:11:09 -05:00
Gene Lian
60d335c589 Bug 793970 - Reuse nsAppStartup's watchdog to compulsively power-off/reboot/quit Gecko if profile synchronizing hangs. r=cjones 2012-10-02 15:26:32 +08:00
Marshall Culpepper
bae89cde8e Bug 740722: Wait until the user is idle before prompting to apply an update in B2G. r=fabrice 2012-10-02 13:33:49 -05:00
Marshall Culpepper
017cf63ecf Bug 778349: Initial support for OS ("FOTA") updates in Gonk. r=rstrong r=bbondy r=fabrice 2012-09-30 21:55:51 -05:00
Chris Jones
ec1152c106 Bug 787436: Implement a "really really quit" watchdog to monitor normal shutdown and exit Gecko in a hurry if it takes too long. r=bent 2012-09-19 16:13:31 -07:00
Marshall Culpepper
344c53be25 Bug 787383: Send update download progress mozChromeEvents in B2G. r=fabrice 2012-09-12 11:53:03 -05:00
Marshall Culpepper
f19580e66f Bug 787380: Initial implementation of B2G updater download mozChromeEvents. r=fabrice 2012-09-12 11:53:03 -05:00
Marshall Culpepper
b590c87c7a Bug 740720: Initial implementation of B2G apply update mozChromeEvents. r=fabrice 2012-09-12 11:53:03 -05:00
Marshall Culpepper
c8db8050ae 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
Chris Jones
614833edde Bug 739137: Try harder to ensure that b2g shuts down when we ask it to. r=fabrice 2012-03-26 00:46:21 -07:00
Chris Jones
3c08ef7eb6 Bug 737368, part 3: Implement an update prompter (v0) that simply restarts Gecko when an update is downloaded. Not what we want in the log term. r=fabrice
--HG--
rename : mobile/android/components/UpdatePrompt.js => b2g/components/UpdatePrompt.js
2012-03-21 15:50:53 -07:00