Re: [b2g] Some observations on memory usages in main process

2013-08-04 Thread Jonas Sicking
What was the performance impact apart from the initial writing out of pages? I.e. did you check if any operations got slower due to memory reads that cause these pages to be read back in? / Jonas On Tue, Jul 30, 2013 at 2:55 AM, Ting-Yuan Huang thu...@mozilla.com wrote: A proof-of-concept

Re: [b2g] How to call function of Gecko C++ from Gecko JS using the XPCOM?

2013-08-04 Thread Josh Matthews
I don't understand what you are trying to accomplish by having two separate implementations of nsIDOMMozTESTManager. On 08/03/2013 11:10 PM, Kilcheon Kim wrote: Hi, Now I am trying to use xpcom for callback function. But I couldn't call gecko c++ function from gecko js using the XPCOM. My

Re: [b2g] Wifi ain't working on latest v1-train hamachi (Alcatel) build

2013-08-04 Thread Jan Jongboom
Ah that makes sense, I still have the hamachi-backup folder from an older preview phone. Thanks a lot, will try tomorrow! 2013/8/3 Sotaro Ikeda sik...@mozilla.com I faced recently a similar problem by the rom that I built by myself on v1-train hamachi. In my case, prebuild image

Re: [b2g] Wake-up phone

2013-08-04 Thread Alexandre Lissy
Le 04/08/2013 14:08, an a écrit : Looks like I'm the only one with this issue but here's a detail which might help you help me, if the phone is connected to the computer via usb cable it wakes up normally with a single push to the power button. ___

Re: [b2g] Audio volume too low

2013-08-04 Thread an
Another detail (probably a Gaia issue) is that in Settings Sound the volume sliders are stuck in max position. ___ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-b2g

Re: [b2g] Wake-up phone

2013-08-04 Thread an
This clearly sounds like a bug that has been already fixed a while ago. Confere https://bugzilla.mozilla.org/show_bug.cgi?id=865570 That wasn't it unfortunately because the alarm clock works. ___ dev-b2g mailing list dev-b2g@lists.mozilla.org

Re: [b2g] Wake-up phone

2013-08-04 Thread Alexandre Lissy
Le 04/08/2013 16:47, an a écrit : This clearly sounds like a bug that has been already fixed a while ago. Confere https://bugzilla.mozilla.org/show_bug.cgi?id=865570 That wasn't it unfortunately because the alarm clock works. Yeah, well, sorry, I got mislead by your title and reply, and

Re: [b2g] IndexedDB Blob storage versus DeviceStorage Blob storage, managed versus unmanaged?

2013-08-04 Thread Andrew Sutherland
On 08/04/2013 01:48 AM, Jonas Sicking wrote: Wow, lots of different subjects here. And I don't fully see how they all tie together. I'll try to answer the parts that I understand, but let me know if I missed anything. Thanks for the very thorough follow-up! OTOH, if you are saving the draft

[b2g] navigator.mozNotification onclick does not get called all the time

2013-08-04 Thread Michael Diener
Quick question as I could not find an issue in bugzilla: Is it known, that under certain conditions onclick of a notification does not get called (for B2G 1.0 and 1.1)? For example it is almost always reproducible, if a page is loaded because of navigator.mozSetMessageHandler (through

Re: [b2g] navigator.mozNotification onclick does not get called all the time

2013-08-04 Thread ANTONIO MANUEL AMAYA CALVO
Might this be the same problem described at https://bugzilla.mozilla.org/show_bug.cgi?id=888609? The problem is that if a message is delivered after the app has started running but before it has set the message handler, the message is lost. Best, Antonio On 04/08/2013, at 21:55, Michael

[b2g] How to test Gaia with emulator

2013-08-04 Thread zjz19900621
Hi All, Maybe this is a very lame question. I just get started to play with firefox os. I have successfully run firefox os with emulator. Now I am trying to make some changes to gaia and test it with emulator. I basically follow this blog:

Re: [b2g] How to test Gaia with emulator

2013-08-04 Thread Justin Zhang
On Sunday, August 4, 2013 2:29:38 PM UTC-7, Justin Zhang wrote: Hi All, Maybe this is a very lame question. I just get started to play with firefox os. I have successfully run firefox os with emulator. Now I am trying to make some changes to gaia and test it with emulator. I

Re: [b2g] IndexedDB Blob storage versus DeviceStorage Blob storage, managed versus unmanaged?

2013-08-04 Thread Brian Smith
On Fri, Jun 28, 2013 at 4:37 PM, Andrew Sutherland asutherl...@asutherland.org wrote: There is the begged question of whether the e-mail app should try and avoid creating duplicate copies of blobs when the Blob is actually a File from DeviceStorage and we are able to detect this. (Do Files

Re: [b2g] IndexedDB Blob storage versus DeviceStorage Blob storage, managed versus unmanaged?

2013-08-04 Thread Andrew Sutherland
On 08/04/2013 06:32 PM, Brian Smith wrote: 4. I think we should be working towards a goal of making DeviceStorage permission from the email app, by improving the capabilities of the alternatives that would make the use of DeviceStorage unnecessary. (I am assuming s/making DeviceStorage

Re: [b2g] How to call function of Gecko C++ from Gecko JS using the XPCOM?

2013-08-04 Thread Kilcheon Kim
Hi, Ultimately, I want to call TEST_setJSCallBack of gecko C++(TESTManager.cpp) from TESTManager.js for testing callback function. So, I tried to add two interfaces in nsIDOMMozTESTManager.idl, and then, I called TEST_setJSCallback() function in gecko js(TESTManager.js) such as below: var

Re: [b2g] How to call function of Gecko C++ from Gecko JS using the XPCOM?

2013-08-04 Thread Josh Matthews
Yes, the XPCOM component registry sees your JS component as the official implementation of @mozilla.org/testManager;1, so any getService calls will return it. You need to have the C++ implementation use a different contract ID if they're going to exist simultaneously. I still don't understand

Re: [b2g] Wake-up phone

2013-08-04 Thread Marco Chen
Hi, We are trying to look this bug on Helix project now. And the initial idea is that FxOS didn't have sufficient time for changing the power state from 3 to 0 within 0.5 seconds. The suspect flow is a. Apps processor got a RPC message for power key event. b. Linux kernel is woken up and

Re: [b2g] How to call function of Gecko C++ from Gecko JS using the XPCOM?

2013-08-04 Thread Kilcheon Kim
Thanks for your comment. Basically, I'm investigating how to use native library(made by C and C++) in B2G. Because I have some native application for android and iPhone. So, I'm investigating whether my native library can be reused in B2G. I had a lot of progress in my work using the js-ctypes.