Commit Graph

54 Commits

Author SHA1 Message Date
Fabrice Desré
73cba43755 Bug 1229620 - Replace #ifdefs in b2g/ code by AppConstants r=timdream 2015-12-03 09:14:07 -08:00
Tooru Fujisawa
943c6c37b7 Bug 1217983 - Remove for-each from b2g/. r=fabrice
--HG--
extra : commitid : IQe3AzUUClY
extra : rebase_source : 2040efd2e74d53946f8094f0ebc40b62cda43dd9
2015-10-19 00:11:49 +09:00
Alexandre Lissy
20cbe0e046 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
64db2267cf 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
c62399b74d Bug 1037329 - Part 2: Enable SystemUpdate API on b2g. r=fabrice 2015-07-01 00:41:00 -04:00
James Hobin
bed68d4b99 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
7e20285e70 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
6b82f43a5f 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
1a41bf9982 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
33b243c7e3 Bug 939174 - [User Story] Edge Gesture Tutorial Outside of FTE. r=bent 2014-02-07 11:28:25 +01:00
Kai-Zhen Li
416a53a647 Bug 916033 - Add a new status 'applied-os' for nsIUpdateService. r=rstrong 2013-10-31 20:05:08 +08:00
Fabrice Desré
7f0553997a 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
516caf5232 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
b7692523f3 Bug 830612 - Fix UP_watchdogTimerFired to use notify instead. r=julienw 2013-08-20 10:41:23 -07:00
Marshall Culpepper
698312967c 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
0c5e954231 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
3af43ce51b 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
7c9873feef 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
f790db8534 Bug 835210 - FOTA updates don't seem to be working any more. r=fabrice 2013-01-30 17:23:51 -08:00
Dave Hylands
6e3249f4f9 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
eccfc8c615 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
7be8f66a54 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
9036a0e047 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é
b20126c6cd 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
1430f80313 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
914aeaf3fa 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
3b9cf8d69c Bug 817821: Part 1 - Communicate update download events better to Gaia. r=fabrice 2013-01-08 17:13:32 +01:00
Phil Ringnalda
69566d191b Back out 6737ce4d3ce6:599c37ed628c (bug 785124) for b2g Arm xpcshell orange in update tests 2013-01-07 22:59:32 -08:00
Dave Hylands
a4b95968d1 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
d7a1c91ffb Bug 821412: Part 3 - Initial B2G update tests and smoketests. r=bbondy 2013-01-02 12:41:40 -06:00
Marshall Culpepper
7bf0c9c466 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
d7af35958e 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
60dbdd1f7f Bug 809974: Set the last update installed time for B2G. r=fabrice 2012-11-27 11:53:17 -06:00
Chris Jones
01301949a5 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é
2b3bfbbd74 Bug 802228 - Check for app updates when we check for system update [r=marshall] 2012-11-15 12:52:19 -08:00
Kyle Huey
0469a02b25 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
a78b5b38c7 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey
9a3674d80a 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
4144129728 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
50b5d3f681 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
f89b0cb069 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é
e74a334778 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
08e2eba20e 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
f44ea263d6 Bug 798948: Allow force checking of updates in B2G. r=fabrice 2012-10-13 13:11:09 -05:00
Gene Lian
56e7808397 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
07f5135c0b 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
7ad8f721a7 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
e2c1ec4c18 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
59462ece51 Bug 787383: Send update download progress mozChromeEvents in B2G. r=fabrice 2012-09-12 11:53:03 -05:00
Marshall Culpepper
433058da4e Bug 787380: Initial implementation of B2G updater download mozChromeEvents. r=fabrice 2012-09-12 11:53:03 -05:00