[b2g] Landing patches on aurora

2012-10-11 Thread Fabrice Desre
Hi all, I noticed that some bugs that landed on m-c and were blocking-basecamp+ had not landed on aurora yet. So I made a simple web page to list these at : https://people.mozilla.com/~fdesre/aurora.html (it's a bit slow to load). If you're unable to land yourself on aurora, please use the [needs

Re: [b2g] Phony type functionality for B2G

2012-11-07 Thread Fabrice Desre
On 11/07/2012 03:21 AM, Gervase Markham wrote: > > But B2G doesn't have anything like about:config yet, does it? Are there > any plans to implement something like that? There's no about:config and no plans to add a generic one. > Having to reflash the entire phone just to test with an alternative

Re: [b2g] Phony type functionality for B2G

2012-11-07 Thread Fabrice Desre
On 11/07/2012 09:31 AM, Lucas Adamski wrote: > I've been using this simple script for messing with CSP policies: > > adb pull /system/b2g/defaults/pref/user.js > vim user.js > adb shell mount -o rw,remount /system > adb push user.js /system/b2g/defaults/pref/user.js > adb shell mount -o ro,remount

Re: [b2g] All about of how to launch other apps

2012-11-08 Thread Fabrice Desre
On 11/08/2012 01:18 AM, Yusuke YAMAMOTO wrote: > Thanks Jose, > > Yes I know window manager does the processing of the apps launch. > But, I don't know "all" process of launch apps be processed by window > manager. > Because, I'm not sure that there is no lack of launch methods as below. > > 1.W

Re: [b2g] About memory references in JS

2012-11-17 Thread Fabrice Desre
On 11/17/2012 03:25 PM, Salvador de la Puente González wrote: > > It sounds like the system app somehow invokes the callback(s) which live > in the child process. > > So it is possible. But how? Can someone clarify this, please? Here's how the mozNotification API works : when you call mozNotific

Re: [b2g] About memory references in JS

2012-11-17 Thread Fabrice Desre
On 11/17/2012 05:38 PM, Salvador de la Puente González wrote: > Hello Fabrice > > First, thank you very much for the explanation. > > Now... > > On 18/11/12 02:10, Fabrice Desre wrote: >> Here's how the mozNotification API works : when you call >> moz

Re: [b2g] Performance of packaged apps vs hosted (app cache)

2012-12-05 Thread Fabrice Desre
On 12/05/2012 05:25 PM, Donovan Preston wrote: > 1) Yes. A lot better. > > 2) Because of the way both solutions are architected. Appcache uses many > many cross-process calls, packaged does not. cjones said that at the > beginning of the project they had to make a choice between fixing > appcache

[b2g] Bypassing the FTU app

2012-12-12 Thread Fabrice Desre
As awesome as it is, it can be sometimes useful to not run the ftu app. This is now possible if you set the NOFTU environment variable to 1 when building gaia. For instance, I run |NOFTU=1 make profile| to get a new profile on desktop. enjoy, Fabrice -- Fabrice Desré b2g team Mozilla Co

Re: [b2g] Debugging apps on B2G

2013-01-11 Thread Fabrice Desre
Hi David, On 01/11/2013 06:09 PM, David Bruant wrote: > I've discovered on the devengage mailing list [1] that as of January > 10th, remote debugging for FirefoxOS has been disabled. This is quite > unfortunate, because remote debugging makes a tremendous difference in > my work studying and docu

Re: [b2g] Patch to make the Hotspot password random (Bug 797661)

2013-01-19 Thread Fabrice Desre
On 01/19/2013 05:55 AM, janjongb...@gmail.com wrote: > > Why still dealing with passwords? > http://en.wikipedia.org/wiki/Wi-Fi_Protected_Setup seems like a nicer choice. > There is support in Windows and OS/X for it, we can add a password for other > systems. That's a good idea, and we should

Re: [b2g] B2G Backing up and fully-restoring profile/apps?

2013-01-23 Thread Fabrice Desre
On 01/23/2013 09:34 AM, aaron.tr...@giganews.com wrote: > Hello, > > How do I properly backup my profile (saving all settings, > installed/configured apps, home-screen layout, etc); and properly > restore it? I'd like to do this so I have a personalized environment > that I can restore to when I s

Re: [b2g] MWC documentation sub-project

2013-01-24 Thread Fabrice Desre
On 01/24/2013 03:53 PM, Eric Shepherd wrote: > I've created a documentation "subproject" for getting the documentation we > need prior to MWC. There's a page here on which we will track requirements > and status: > > https://developer.mozilla.org/en-US/docs/Project:Subprojects/MWC_2013 > > Plea

Re: [b2g] Install privileged packaged app on unagi

2013-01-27 Thread Fabrice Desre
On 01/27/2013 04:33 AM, moim...@gmail.com wrote: > Hi, > > I've been struggeling for two days and I still can't figure out how to > install packaged app on my unagi test device, does anyone has an idea ? > > I've tried using a install.html page and mini-manifest, i also tried with B2G > remote

Re: [b2g] Webrtc

2013-02-01 Thread Fabrice Desre
On 02/01/2013 07:18 AM, Andre Natal wrote: > Anyone have news regards webrtc? Any expectation to have it until end of > this month? You can follow https://bugzilla.mozilla.org/show_bug.cgi?id=750011 and the dependent bugs. There's almost no chance this will be done for the end of the month.

Re: [b2g] Flash Gaia on a Keon (geeksphone developer preview)

2013-02-04 Thread Fabrice Desre
On 02/03/2013 06:57 PM, Fabricio Zuardi wrote: > Does Keon have it's own codename as well? It's own bugzilla component? Is it > possible to rebuild the whole B2G for it? Is the current makefile working for > this device? Geeksphone has not provided the changes/repositories used for their builds

Re: [b2g] Installing an extra certificate

2013-02-08 Thread Fabrice Desre
On 02/08/2013 07:32 AM, Frederik Braun wrote: > Speaking of which...is there a way to set a proxy? I know I filed > https://bugzilla.mozilla.org/show_bug.cgi?id=829766 a few weeks ago, so there > is no official way. > I still hope that there might be a hackish way to do this from a privileged >

Re: [b2g] Implementing original XPIDL

2013-02-15 Thread Fabrice Desre
On 02/15/2013 05:20 AM, Tsuneyuki Ito wrote: > Hello, > > In order to get a status/information from each apps, > we're trying to add an original XPIDL which is accessable from navigator. > > And we have problems with implementing XPIDL. > Could tell us following items in detail? > - How to make M

Re: [b2g] Implementing original nsIDOMEvent

2013-02-22 Thread Fabrice Desre
On 02/22/2013 02:35 AM, Julien Wajsberg wrote: > Le 22/02/2013 09:47, Tsuneyuki Ito a écrit : >> Hello, >> >> I'd like to add a new Event on Gecko to notify the Gaia Apps through >> nsIDOMEventListener, such "oninstall" or "onuninstall" on mozApps.mgmt. >> Could you give us any hints for following

Re: [b2g] Is it possible to make XUL dialogs of NSS work on b2g?

2013-04-09 Thread Fabrice Desre
Hi Chuck, On 04/08/2013 07:36 PM, Chuck Lee wrote: > Hi, > I am studying how to support import CA on WIFI WPA-EAP mode, and I > seems best way is use NSS. > I use nsIX509CertDB.importPKCS12File(), it works fine on desktop > Firefox in my test code. > But the same code crashes gecko whe

Re: [b2g] No more updates after reset

2013-04-13 Thread Fabrice Desre
On 04/13/2013 12:34 AM, Panos Astithas wrote: > > Is that right? No OTA updates have been offered to dogfooders all week? On the beta channel that's very likely. You should switch to nighly instead. Fabrice -- Fabrice Desré b2g team Mozilla Corporation _

Re: [b2g] Simple installation of app from command line

2013-04-14 Thread Fabrice Desre
On 04/14/2013 04:08 AM, Julien Wajsberg wrote: > Le 14/04/2013 13:02, tofumatt a écrit : >> That is indeed what I've settled on, but I find it a bit clunky. After >> all, my app isn't really part of gaia. I know the simulator add-on can >> install apps to the simulator while it's running (I believe

Re: [b2g] How to Push an App to Device

2013-04-19 Thread Fabrice Desre
Or you can use a add-on simpler than the simulator: https://github.com/fabricedesre/b2gremote Fabrice On 04/19/2013 12:51 AM, JOSE MANUEL CANTERA FONSECA wrote: > You would need to hack Gaia > > https://wiki.mozilla.org/Gaia/Hacking > > El 18/04/13 23:22, "Giovanny Gongora" > escribió:

Re: [b2g] Questions about packaged app URI/UUID

2013-04-20 Thread Fabrice Desre
On 04/20/2013 04:05 PM, Mathieu Rochette wrote: ] > or is the UUID calculated on the device? and then that's a bigger > problem because it means I'll have to redirect the user to server of > mine (which should not be needed IMHO) It is created on the device, since you can install packaged apps fr

Re: [b2g] How to debug app pushing from laptop to phone?

2013-05-05 Thread Fabrice Desre
On 05/05/2013 12:23 PM, Morten Olsen Lysgaard wrote: > I got my prewiev phone yeasterday and have had success porting my app in the > simulator. Now i want to push it to my phone. I do as the instructions say. > Connect the phone, and i se the "push" button. The problem is that when i > press it

Re: [b2g] How to debug app pushing from laptop to phone?

2013-05-05 Thread Fabrice Desre
On 05/05/2013 02:34 PM, Morten Olsen Lysgaard wrote: > On Sunday, May 5, 2013 11:09:49 PM UTC+2, Olav Nymoen wrote: >> Do you have adb installed and do you see the device when you do |adb >> devices| ? > > Ah, there's a clue. As a my normal user i get: > > #adb devices > ??? no pe

Re: [b2g] fatal: manifest 'peak.xml' not available

2013-05-08 Thread Fabrice Desre
On 05/08/2013 01:41 PM, richard.goate...@gmail.com wrote: > > Has anyone seen anything similar or got any ideas to overcome it please? You need to switch to the master branch to build for the peak: BRANCH=master ./config.sh peak Fabrice -- Fabrice Desré b2g team Mozilla Corporation __

Re: [b2g] fatal: manifest 'peak.xml' not available

2013-05-09 Thread Fabrice Desre
On 05/09/2013 02:54 AM, richard.goate...@gmail.com wrote: > > Thanks a lot Fabrice! That ought to do it. > > Maybe I'm a little slow but this wasn't obvious to me, is this kind of thing > documented anywhere? If not, I'd certainly like to contribute some writing. There is no doc on that, no.

Re: [b2g] Keon build error! (Mac OS)

2013-05-10 Thread Fabrice Desre
On 05/10/2013 07:55 PM, Francisco Mosquera García wrote: > Please, any help! > > I really want to upgrade my keon! You can't build the Keon's kernel on Mac, only on linux. Fabrice -- Fabrice Desré b2g team Mozilla Corporation ___ dev-b2g maili

Re: [b2g] Recent contributor..experiencing a bugzilla issue (can't mark myself as the assignee)

2013-05-22 Thread Fabrice Desre
Hi Zach, On 05/22/2013 10:00 AM, Zach Easterbrook wrote: > In my account preferences all it says is: > "You have the following permissions set on your account: > everyone Everyone with a bugzilla account" > > Any ideas? I don't want to take bugs without assigning them to myself or > else someon

Re: [b2g] Recent contributor..experiencing a bugzilla issue (can't mark myself as the assignee)

2013-05-22 Thread Fabrice Desre
the bug for now > so they can assign me to it? > > > On Wed, May 22, 2013 at 1:06 PM, Fabrice Desre <mailto:fabr...@mozilla.com>> wrote: > > Hi Zach, > > On 05/22/2013 10:00 AM, Zach Easterbrook wrote: > > > In my account pref

Re: [b2g] Platfrom Apps Automation Testing

2013-05-30 Thread Fabrice Desre
eged or certified > * [P1] Cancel download of hosted app with appcache > * [P>1] Download failure for hosted app with appcache for having a bad > appcache manifest > > > > > -David > > - Original Message - > From: "Jason Smith" > To

Re: [b2g] WebRTC Support for b2g

2013-06-02 Thread Fabrice Desre
On 06/02/2013 01:53 PM, Anam Ahmed wrote: > Hello, > > Does b2g support webRTC now? I need to get the camera feed, is it possible > now? WebRTC support is not there yet, but you can follow the progress being made in https://bugzilla.mozilla.org/show_bug.cgi?id=750011 Currently only certified app

[b2g] Moving apps to the sdcard

2013-06-06 Thread Fabrice Desre
Given the limited space available on the /data partition, I'd like to add the possibility to move apps to the sdcard. This means moving the app package and manifest, and also private data jars. For this, we need to: - Add a new api call to mozApps.mgmt, eg DOMRequest moveToExternalStorage(Applica

Re: [b2g] Stuck using the "redirects" manifest key.

2013-07-02 Thread Fabrice Desre
On 07/02/2013 08:18 AM, Michael Bishop wrote: > This is very strange. > > I set up a local web server and made sure it correctly redirected to the page > specified in the "redirects" manifest entry. Still no dice. > > So, hitting the "redirect" button will open up the address: > > http://Mi

Re: [b2g] Stuck using the "redirects" manifest key.

2013-07-02 Thread Fabrice Desre
was the issue > but the behavior is still the same. Darn! > > I've filed a bug for this: > > https://bugzilla.mozilla.org/show_bug.cgi?id=889356 > > _ michael > > > On Tuesday, July 2, 2013 at 13:27 PM, Fabrice Desre wrote: > >> On 07/02/201

Re: [b2g] Stuck using the "redirects" manifest key.

2013-07-02 Thread Fabrice Desre
On 07/02/2013 12:27 PM, Michael Bishop wrote: > Maybe I'm thinking about this wrong. > > I'd thought that in the "redirects" manifest entry, the "from" > references the web-page that has been requested to be opened and that it > doesn't need to actually exist because within the app instance, it is

[b2g] Engineering "wish list"

2013-07-03 Thread Fabrice Desre
Hi all, A few months ago, Jaime and Jonas sent out a survey to gather items that engineering folks felt should be worked on. The list was then massaged and scored based on a set of criteria. The result is in this document: https://docs.google.com/a/mozilla.com/spreadsheet/ccc?key=0AkCJUUVjPzh-dDJ

Re: [b2g] Engineering "wish list"

2013-07-03 Thread Fabrice Desre
On 07/03/2013 12:15 PM, Alexandre BM wrote: > Hello Fabrice, > Thanks for this details, if we have a new idea about a feature can we > submit it ? > If so, where can I share it ? > Thanks :) You can discuss it on the mailing list, and open a bug in bugzilla for the implementation. Fabric

Re: [b2g] Engineering "wish list"

2013-07-03 Thread Fabrice Desre
On 07/03/2013 12:27 PM, james jones wrote: > same as above. Also I am curious has NPAPI been left out on purpose or > has it been overlooked? Sorry very new to the platform, I have specific > use cases that is why I am asking. It has been left out on purpose. We don't plan to add support for that

Re: [b2g] Engineering "wish list"

2013-07-03 Thread Fabrice Desre
On 07/03/2013 01:00 PM, james jones wrote: > is there going to be an alternative or should I look at writing extensions? What is your need exactly? We also disabled extensions as you know them in firefox. We want to provide some extensibility mechanism, but nothing is set in stone yet so we are re

[b2g] Save/restore feature

2013-07-06 Thread Fabrice Desre
Hi all, One feature currently missing in b2g is a way to manage/backup/restore data from the phone on a host computer. There are various scripts floating around, but they are no substitute for a real end-user oriented solution. Here's a rough proposal on how to build that functionality. First of

Re: [b2g] Save/restore feature

2013-07-06 Thread Fabrice Desre
On 07/06/2013 07:28 PM, James Burke wrote: > On Sat, Jul 6, 2013 at 3:58 PM, Fabrice Desre wrote: >> On the technical side: > > This may be going too far, but what about the possibility of > implementing WebUSB[1], and using that in some fashion to allow a > different fir

Re: [b2g] Save/restore feature

2013-07-07 Thread Fabrice Desre
On 07/07/2013 12:42 AM, Alex Jordan wrote: > On Jul 6, 2013 4:00 PM, "Fabrice Desre" <mailto:fabr...@mozilla.com>> wrote: >> 1. The "enable backup/restore" settings enables a debugging protocol >> actor that will listen to connections on port 4343.

Re: [b2g] Save/restore feature

2013-07-08 Thread Fabrice Desre
Hi Hong, On 07/08/2013 07:50 AM, hong tang wrote: > Hi Fabrice, > > This is Hong from Beijing office. > Regarding the feature you mentioned below (Save/restore feature), we > already have a couple engineers started to work on it a few months ago. Good to know that people are working on that. Bu

Re: [b2g] Save/restore feature

2013-07-08 Thread Fabrice Desre
On 07/08/2013 09:14 PM, Thinker K.F. Li wrote: > I think BT is a very poor and slow option. > WIFI is much better than BT if want to backup data wirelessly. > With WIFI, we have much more protocols in the list; ex. WebDAV. Sure Wifi is faster and overall more flexible, but do we have a nice way to

Re: [b2g] Save/restore feature

2013-07-08 Thread Fabrice Desre
On 07/08/2013 10:11 PM, Kan-Ru Chen (陳侃如) wrote: > Or use WebRTC! Isn't it provides a way to communicate between clients? > Connection over wifi has to handle NAT traversal and setup the peers > which has been resolved by WebRTC. Yep, very good idea! Fabrice -- Fabrice Desré b2g team M

Re: [b2g] Can we deprecate packaged apps?

2013-07-08 Thread Fabrice Desre
On 07/08/2013 10:31 PM, Tim Chien wrote: > I want to echo Ben's opinion here. While some of the features are > irreplaceable at the time being (offline access, reviewable by > marketplace, sandboxing our experimental APIs, even portability, > etc.), packaged app itself is not free: > > -- By dist

[b2g] Add-ons support for b2g

2013-07-09 Thread Fabrice Desre
Hi all, Another item on the "Engineering whislist" that I think is crucial for b2g success is to add some kind of add-on support. Firefox's popularity is in no small part due to its add-on model that allows both customization and extensibility. How can we translate this model to make b2g even bet

Re: [b2g] Add-ons support for b2g

2013-07-09 Thread Fabrice Desre
On 07/09/2013 02:15 AM, Gervase Markham wrote: > > And is there a way we can allow people to write (and add and remove) > add-ons for arbitrary apps? It may be that we have to allow apps to opt > out of this, and it may be that we decide that users won't understand it > well enough to make it not

Re: [b2g] Add-ons support for b2g

2013-07-09 Thread Fabrice Desre
On 07/09/2013 12:33 AM, Kan-Ru Chen (陳侃如) wrote: > Fabrice Desre writes: > > [...] >> First, we need to use web applications as add-ons and not reuse the xpi >> format from firefox, since it's designed for other cases. > > What does the "web application

Re: [b2g] Can we deprecate packaged apps?

2013-07-09 Thread Fabrice Desre
On 07/09/2013 02:25 PM, Nicolas B. Pierron wrote: > I agree, and where I think packaged app (zip of all used files) are good > for the size of the initial download (even if they are way smaller than > Android ones) but I do not think this is good for updates. Suppose, I > have a web site with 10

Re: [b2g] Touch support in B2G desktop?

2013-07-16 Thread Fabrice Desre
On 07/16/2013 04:50 PM, Kevin Grandon wrote: > Hey Guys, > > Unfortunately I think I may have broken B2G desktop for some people, see bug > #891882. Basically I changed the lockscreen to use touch events instead of > mouse events. This is supported in gaia running in firefox because we have a

Re: [b2g] Touch support in B2G desktop?

2013-07-17 Thread Fabrice Desre
On 07/17/2013 12:14 AM, Kevin Grandon wrote: >> Are we adding the shim in an add-on in DEBUG mode? > > That's exactly what we're doing. We install an extension which provides touch > support in DEBUG mode. We are also doing this for the simulator. So basically > the only place without touch supp

Re: [b2g] Firefox OS port to Galaxy 5

2013-07-17 Thread Fabrice Desre
On 07/17/2013 01:18 AM, Juan Gómez wrote: > This is a good point to start with: https://wiki.mozilla.org/B2G/Porting https://code.google.com/p/fosmaker/ is a nice tool to help with porting also. Fabrice -- Fabrice Desré b2g team Mozilla Corporation ___

Re: [b2g] Should the Update App Feature Be Working in B2G Desktop or The Simulator?

2013-07-18 Thread Fabrice Desre
On 07/18/2013 02:41 AM, he...@henryhoggard.co.uk wrote: > When I try update apps It does not seem to do anything, I have monitored > traffic with wireshark and it does not send any requests out. Is this > intentional? As I said on IRC, it's very likely not working on desktop builds since I don't

Re: [b2g] Can't call registered callback function from child thread in Gonk layer

2013-07-19 Thread Fabrice Desre
Hi, On 07/18/2013 08:31 PM, Taewan Kim wrote: > Hi, all > > I modified b2g to test. > - Gaia: implement web app > - Gecko: implement interface using js-ctype > - Gonk: implement c++ lib (xxx.so) > > success to call initialize function from Gaia to Gonk > so, checked working thread and timer in x

Re: [b2g] Should the Update App Feature Be Working in B2G Desktop or The Simulator?

2013-07-19 Thread Fabrice Desre
On 07/19/2013 02:04 AM, Henry Hoggard wrote: > > Do you know if there is any way to get this working? Or shall I just wait for > a fix We should fix that. Please file a bug an cc me. Fabrice -- Fabrice Desré b2g team Mozilla Corporation ___

Re: [b2g] Can't call registered callback function from child thread in Gonk layer

2013-07-19 Thread Fabrice Desre
Hi, > Actually, I investigating how to port our company's solution into b2g > to suggest to device Manufacturer. > > The engine is set into Gonk as a library(implemented with C++ xxx.so). > And it have to run in another thread. > > In this case, have to call some functions in Gaia(callback) bec

Re: [b2g] Can't call registered callback function from child thread in Gonk layer

2013-07-21 Thread Fabrice Desre
On 07/21/2013 09:45 PM, Taewan Kim wrote: > > Do you mean there is no way to call a callback in main thread from another > thread? There is a way, that I just gave you. You can also do it from chrome js (ie where you use js-ctypes) by using the Thread Manager to dispatch a runnable to the main

Re: [b2g] Does the Firefox OS browser support extensions?

2013-07-23 Thread Fabrice Desre
On 07/23/2013 02:07 PM, jerzyglowa...@gmail.com wrote: > Is there any plan to support extensions? How would they look like? Is there > any draft? We very much want them. See https://groups.google.com/forum/#!topic/mozilla.dev.b2g/NXyjt32lGOc for some discussion. Fabrice -- Fabrice Desré

Re: [b2g] Other browsers in Firefox OS

2013-07-24 Thread Fabrice Desre
On 07/24/2013 01:48 AM, jerzyglowa...@gmail.com wrote: > Thank you for a thorough answer. Since Mozilla insisted on browser choice in > Windows or iOS, it should now allow the same choice in Firefox OS. > Maybe other engines like WebKit could be implemented as an asm.js module with > near-native

[b2g] Getting gaia-master + mozilla-central to a better state

2013-07-25 Thread Fabrice Desre
Hi All, Development for 1.1 on the b2g18 branch is approaching its term (yeah!) which means that we will soon rely on current trunk for 1.2. Unfortunately the builds from m-c + gaia-master have been less than stellar lately: gfx regressions on some devices, various crashes, etc. to the point of

[b2g] Letting privileged apps use mozApps.mgmt

2013-07-30 Thread Fabrice Desre
Hi, Currently only certified apps can access the mozApps.mgmt object. This prevent us to let 3rd party write alternative homescreens, something that very much want in bug 898330. This would privileged apps do the following: - get the full list of installed apps. - listen for oninstall/onuninstal

Re: [b2g] Need help understanding navigator.mozTCPSocket

2013-07-30 Thread Fabrice Desre
On 07/30/2013 01:20 PM, Jonas Sicking wrote: > That does not work. The tcpsocket API only let's you create a connection to > a specific IP address. > > To listen for incoming connections which can be initiated by anyone, you > need to use the tcpserver API which is currently in progress and will >

Re: [b2g] Showing a PDF

2013-08-12 Thread Fabrice Desre
On 08/12/2013 03:44 AM, Alexandre Lissy wrote: > Yet, according to the RFC, your Content-Disposition is okay: > http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1 > > Doesn't it smell like a bug? It's https://bugzilla.mozilla.org/show_bug.cgi?id=902023 (and https://bugzilla.mozilla

Re: [b2g] Keon finicky?

2013-08-14 Thread Fabrice Desre
On 08/14/2013 09:20 AM, Stefan Arentz wrote: > Is the Keon known to have issues with ADB? I see the device in lsusb: > > sarentz@ubuntu:~/Mozilla/B2G$ lsusb | grep Qual > Bus 001 Device 011: ID 05c6:8012 Qualcomm, Inc. > > But ADB fails to find it. I have it properly added to udev and i do see ud

Re: [b2g] SerialPort communication?

2013-08-19 Thread Fabrice Desre
Hi Marco, On 08/19/2013 07:54 AM, Marco Chen wrote: > Hi Jose, > > There is a "Bug 674718 - (webusb) WebUSB" for what you want, but it is > pending now. > > Hi all, > > I saw some discussion on the development for userspace. > May I know whether we need a generic USB driver with generic Mozill

Re: [b2g] SerialPort communication?

2013-08-19 Thread Fabrice Desre
On 08/19/2013 11:50 AM, Kyle Machulis wrote: > Profiles are bluetooth, not USB. While there are device classes in USB (HID, > USB Audio, storage, etc), it's still different than BT profiles. Ha right, I was thinking about bluetooth profiles. Just ignore me ;) Fabrice -- Fabrice Desré b

Re: [b2g] proxy settings in FirefoxOS

2013-08-19 Thread Fabrice Desre
On 08/19/2013 02:50 PM, Hallvord Steen wrote: > Hello, > I'm working on debugging how web pages work (or not) in the FirefoxOS web > browser (I have a Keon running Boot2Gecko 1.0.1.0-prerelease - build id > 20130613185731 device for this purpose). I've been trying to figure out how > to set up a

[b2g] wifi changes

2013-08-27 Thread Fabrice Desre
Hi All, The rewrite of wifi workers in c++ has landed on mozilla-central and should be in the next nighly builds. There should be no regressions, but let me know if anything looks off in this area, especially on JB. Fabrice -- Fabrice Desré b2g team Mozilla Corporation

Re: [b2g] Low device storage (notifying the user)

2013-09-03 Thread Fabrice Desre
On 09/03/2013 08:56 AM, Fernando Jiménez Moreno wrote: >> >> That sounds like a bit of a dangerous plan to me, without some sort of >> throttling. If an app (perhaps because it's sub-optimally coded) makes >> 100 writes to IndexedDB in quick succession, and they all fail, you >> don't want 100 not

Re: [b2g] recent built FxOS 1.1 on zte open don't calls the update apps

2013-09-08 Thread Fabrice Desre
Hi Eduardo, On 09/08/2013 09:03 PM, Eduardo González wrote: > I'm running FxOS 1.1 on zte open, all work good excepts software update > process. Did you upgrade with a custom build? > I expected log messages as checking on marketplace or anything > It is a bug of v1-trail on inari? We don't lo

Re: [b2g] New adb forward command for devtool remote debugging protocol

2013-09-09 Thread Fabrice Desre
On 09/09/2013 08:59 AM, Alexandre poirot wrote: > That modification has been required for security reason, and is going to > allow us to offer apps debugging on devices. \o/ Fabrice -- Fabrice Desré b2g team Mozilla Corporation ___ dev-b2g mai

Re: [b2g] home screen icon for website (in full quality)

2013-09-10 Thread Fabrice Desre
On 09/10/2013 06:39 AM, Jan Jongboom wrote: > > It gets the favicon and makes that into an icon. If there is none, then > you're out of luck. > > You can however shell into the phone and change the manifest to point to a > custom icon (base64) That's posssible only if the phone is rooted. Als

Re: [b2g] Is there *anyone* in Oslo who can run mochitests on b2g desktop??

2013-09-16 Thread Fabrice Desre
On 09/16/2013 08:02 PM, Jonas Sicking wrote: > It doesn't seem like a rare thing to have trouble getting B2G desktop > up-and-running. And the build time messages often aren't helping. I don't think that getting b2g desktop to build and run has ever been hard. It's basically a gecko configured wit

Re: [b2g] Where's the source code for the API's located?

2013-09-16 Thread Fabrice Desre
On 09/16/2013 08:44 PM, Hugh Tay wrote: > Hi all, > > To be specific, the particular API that I'm hunting is for installing Apps. > > For example, check out - https://bugzilla.mozilla.org/show_bug.cgi?id=745928 The relevant code is in Webapps.js and Webapps.jsm in the dom/apps/src directory.

Re: [b2g] Privileged app cant use jquery and socket io?

2013-09-17 Thread Fabrice Desre
On 09/17/2013 03:16 PM, jose llopis wrote: > Here is my question, im making an app which needs to load contacts from phone > and also uses socket io + jquery for getting some info but it doesnt work at > all, when i've removed type: privileged ir works but i am not able todo use > the contact ap

[b2g] New default branch for b2g builds

2013-09-18 Thread Fabrice Desre
Hi all, Bug 918065 changes the default branch for b2g builds: instead of being v1-train and leading to endless confusion, it's now the master branch, aka latest and greatest. enjoy! Fabrice -- Fabrice Desré b2g team Mozilla Corporation ___ de

[b2g] Keyboard dictionaries and layouts

2013-09-20 Thread Fabrice Desre
Hi all, The keyboard apps can grow to be quite large due to the size of dictionaries and additional layouts. David is working on a build time solution for 1.2 in bug 884752 bug we need something better in the long run. Notably, we must enable 3rd party dictionaries and layouts to be installed on

[b2g] Keyboard dictionaries and layouts

2013-09-20 Thread Fabrice Desre
Hi all, The keyboard apps can grow to be quite large due to the size of dictionaries and additional layouts. David is working on a build time solution for 1.2 in bug 884752 bug we need something better in the long run. Notably, we must enable 3rd party dictionaries and layouts to be installed on

Re: [b2g] Help with FxOS/Apps documentation

2013-09-23 Thread Fabrice Desre
Hi Chris, On 09/23/2013 05:06 AM, Chris Mills wrote: > 5. One of my major bugbears about Firefox OS apps is writing installation > functionality. I've been writing quite a lot of sample apps, and the install > functionality is something I can never seem to get to work. I am writing a > templat

Re: [b2g] Sending custom events to system app

2013-09-25 Thread Fabrice Desre
On 09/25/2013 05:29 AM, gnaneswar.dev...@accenture.com wrote: > Hi, > > Is there a way to send a custom event from gaia app to system app? > > Ex: Sending an event from gaia/apps/settings/js/sound.js to > gaia/apps/system/js/sound_manager.js. No this is not possible (by design). Usually people

Re: [b2g] Getting a base64 string from a webactivity

2013-09-25 Thread Fabrice Desre
On 09/25/2013 01:20 AM, jose llopis wrote: > I was wondering if i could get a base64 string from a webactivity after > calling the camera or the gallery and picking an image > is this possible? any sample? Why do you what a base64 string? They are memory hungry objects... We won't change the act

Re: [b2g] Share-ability suggestions for Firefox OS

2013-09-25 Thread Fabrice Desre
Hi Ahmed, On 09/25/2013 12:48 PM, Ahmed Nefzaoui wrote: > > With my very limited visibility (and limited understand.. too..) on what > system features are planned for the coming versions of Firefox OS I suggest > one two solutions to provide apps developers with an easy way to let users > sha