Commit Graph

49 Commits

Author SHA1 Message Date
James Hobin
d4164347b7 Bug 1042463 - "System Update Ready" prompt keeps coming back and remind me battery is not 50% charged. r=fabrice 2014-08-19 14:57:00 -04:00
Jim Blandy
4d6a633bba Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Alexandre Poirot
f13b21527a 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
d1e38d7c59 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
1bf39c6bc3 Bug 939174 - [User Story] Edge Gesture Tutorial Outside of FTE. r=bent 2014-02-07 11:28:25 +01:00
Kai-Zhen Li
c6f59470ba Bug 916033 - Add a new status 'applied-os' for nsIUpdateService. r=rstrong 2013-10-31 20:05:08 +08:00
Fabrice Desré
30f8625230 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
405ac433c0 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
49d8290b87 Bug 830612 - Fix UP_watchdogTimerFired to use notify instead. r=julienw 2013-08-20 10:41:23 -07:00
Marshall Culpepper
d0cc5056e7 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
d7cf184143 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
afa9d23b3f 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
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
853b4c49db Bug 835210 - FOTA updates don't seem to be working any more. r=fabrice 2013-01-30 17:23:51 -08:00
Dave Hylands
8cf4b54e21 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
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
Marshall Culpepper
7ef598c5a2 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
22fb48a38c 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é
17be7e418e 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
8b682ea320 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
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
Marshall Culpepper
4fffdc3187 Bug 817821: Part 1 - Communicate update download events better to Gaia. r=fabrice 2013-01-08 17:13:32 +01: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
Marshall Culpepper
84c6f6eaab Bug 821412: Part 3 - Initial B2G update tests and smoketests. r=bbondy 2013-01-02 12:41:40 -06:00
Marshall Culpepper
e0bdbfdb90 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
4ea9222867 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
ae9ea81cff Bug 809974: Set the last update installed time for B2G. r=fabrice 2012-11-27 11:53:17 -06:00
Chris Jones
215926a8cb 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é
615ecd5214 Bug 802228 - Check for app updates when we check for system update [r=marshall] 2012-11-15 12:52:19 -08: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
Marshall Culpepper
3ae1d5349b 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é
4c76e85e43 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
d0eedcaf89 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
beb12efde5 Bug 798948: Allow force checking of updates in B2G. r=fabrice 2012-10-13 13:11:09 -05:00
Gene Lian
597e68014f 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
6f6917ba73 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
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
Chris Jones
570cf27a6d 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
df4965340d Bug 787383: Send update download progress mozChromeEvents in B2G. r=fabrice 2012-09-12 11:53:03 -05:00
Marshall Culpepper
b904b1ca98 Bug 787380: Initial implementation of B2G updater download mozChromeEvents. r=fabrice 2012-09-12 11:53:03 -05:00
Marshall Culpepper
3a5ad504fc Bug 740720: Initial implementation of B2G apply update mozChromeEvents. r=fabrice 2012-09-12 11:53:03 -05: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
Chris Jones
898f195c03 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
9c86556e0f 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