Commit Graph
54 Commits
Author SHA1 Message Date
Fabrice Desré 0f99291801 Bug 1229620 - Replace #ifdefs in b2g/ code by AppConstants r=timdream 2015-12-03 09:14:07 -08:00
Tooru Fujisawa 9ea119abb9 Bug 1217983 - Remove for-each from b2g/. r=fabrice 2015-10-19 00:11:49 +09:00
Alexandre Lissy 51a29a5ae8 Bug 1212295 - Wait for SystemApp to be ready before sending update-error event. r=fabrice 2015-10-08 04:03:00 +02:00
Shu-yu Guo 37989840cd Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
James Cheng 77a04725c1 Bug 1037329 - Part 2: Enable SystemUpdate API on b2g. r=fabrice 2015-07-01 00:41:00 -04:00
James Hobin 922c43453c 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 39dc0c6097 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 e21875a5c9 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 5ca01f0081 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 ae798cca56 Bug 939174 - [User Story] Edge Gesture Tutorial Outside of FTE. r=bent 2014-02-07 11:28:25 +01:00
Kai-Zhen Li d0f7214133 Bug 916033 - Add a new status 'applied-os' for nsIUpdateService. r=rstrong 2013-10-31 20:05:08 +08:00
Fabrice Desré 2d253c5511 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 a08b2dc944 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 b3ee3aaf39 Bug 830612 - Fix UP_watchdogTimerFired to use notify instead. r=julienw 2013-08-20 10:41:23 -07:00
Marshall Culpepper c3cc0156c6 Bug 861103: Fix for 'Install Later' in B2G updates. r=dhylands 2013-04-17 15:29:50 +02:00
Marshall Culpepper db64eb46e1 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 985a8645f0 Bug 842890 - Fix logic error which made applying updates Later fail. r=marshall_law 2013-02-22 16:57:10 -06:00
Robert Strong cbe8c04b69 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 28af8d70a8 Bug 835210 - FOTA updates don't seem to be working any more. r=fabrice 2013-01-30 17:23:51 -08:00
Dave Hylands c413fb3ea9 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 b4056501e2 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 236325245b 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 71b47f9fb8 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é cbbb3c5fb7 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 a0434fb282 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 e0f66a6b02 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 6ce5e20eb6 Bug 817821: Part 1 - Communicate update download events better to Gaia. r=fabrice 2013-01-08 17:13:32 +01:00
Phil Ringnalda d137321fea Back out 6737ce4d3ce6:599c37ed628c (bug 785124) for b2g Arm xpcshell orange in update tests 2013-01-07 22:59:32 -08:00
Dave Hylands 068a810dfc 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 bd1258302a Bug 821412: Part 3 - Initial B2G update tests and smoketests. r=bbondy 2013-01-02 12:41:40 -06:00
Marshall Culpepper 9984de60e4 Bug 821741: Load update prefs more dynamically to support automation in B2G. r=fabrice 2012-12-26 11:28:42 -06:00
Marshall Culpepper 32f1fdc618 Bug 804571: Implement download cancel (pause) for B2G. r=fabrice 2012-11-30 13:35:54 -06:00
Marshall Culpepper fe5ed33638 Bug 809974: Set the last update installed time for B2G. r=fabrice 2012-11-27 11:53:17 -06:00
Chris Jones ad6271f015 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é e1b6762a8e Bug 802228 - Check for app updates when we check for system update [r=marshall] 2012-11-15 12:52:19 -08: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
Marshall Culpepper d2427ab372 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é b38bfdb88d 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 925eb7e910 Bug 801742: Pass updater errors and status to Gaia in B2G. r=fabrice 2012-10-16 14:15:37 -05:00
Marshall Culpepper 4d69eb22e2 Bug 798948: Allow force checking of updates in B2G. r=fabrice 2012-10-13 13:11:09 -05:00
Gene Lian a42615518c 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 62e360ef1f 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 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
Chris Jones 7e993c465e 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 2b393bded9 Bug 787383: Send update download progress mozChromeEvents in B2G. r=fabrice 2012-09-12 11:53:03 -05:00
Marshall Culpepper d1822a72fa Bug 787380: Initial implementation of B2G updater download mozChromeEvents. r=fabrice 2012-09-12 11:53:03 -05:00