Re: [b2g] The funciton of AssertMainThread()

2013-10-22 Thread mozloverinweb
Hi Mike, By reading again your post, Each b2g process (parent or app) has a Main Thread[1]. -- I thought the system only has a b2g process [chrome process]. And this b2g process has a main thread. Is my understanding incorrect? ___

Re: [b2g] emulator-jb build error!

2013-10-22 Thread Vicamo Yang
Hmm just had a successful clean build with "-j 32" on x86_64 Debian Sid. On 2013年10月22日 15:19, Yusuke YAMAMOTO wrote: > Hi Thomas > >> the same build failure in Ubuntu 12.04, but the build passed after >> "./build.sh > -j1". >> Need to check what happens. > I tried "./build.sh -j1" to pass t

Re: [b2g] Inconsistent gaia + gecko recently causing device cannot boot up

2013-10-22 Thread Nicolas B. Pierron
On 10/22/2013 08:15 PM, suro...@gmail.com wrote: On Tuesday, October 22, 2013 10:56:46 PM UTC+8, Fabrice Desré wrote: In general, using mismatched combinations of gecko and gaia is not supported. Is there any wiki page which shows matched gecko/gaia branch/versions? I am having a hard time in

[b2g] Disable MOZ_B2G_RIL on b2g-desktop completely

2013-10-22 Thread Vicamo Yang
Hi all, Bug 920551 [1] tries to allow building B2G phones/tablets without RIL. The use of MOZ_B2G_RIL and MOZ_WIDGET_GONK is kind of ambiguous now because we started with RIL features only. In this bug we want to return the literal definitions for both labels: MOZ_B2G_RIL is for stuff that o

Re: [b2g] Inconsistent gaia + gecko recently causing device cannot boot up

2013-10-22 Thread suro001
On Tuesday, October 22, 2013 10:56:46 PM UTC+8, Fabrice Desré wrote: > In general, using mismatched combinations of gecko and gaia is not > supported. Is there any wiki page which shows matched gecko/gaia branch/versions? I am having a hard time in debugging older versions of gecko for using the

[b2g] webidl constructor

2013-10-22 Thread mozloverinweb
Hi, in DeviceLightEvent.webidl, The first line of the code [Constructor(DOMString type, optional DeviceLightEventInit eventInitDict)] Can anyone explain this please? Second, what does dictionary type mean? dictionary DeviceLightEventInit : EventInit { unrestricted double value = Infinity; };

Re: [b2g] Software solution for disconnecting the USB cable

2013-10-22 Thread Thomas Tsai
If you need to connect more usb function devices to PC host to do usb plug in/out test, you need a good usb hub certified by some orgs. After couples times of physical plug in/out or by pulling up and down D+, usb hub may be down. And PC is another concern that sometimes usb host may be dead af

Re: [b2g] b2g on Android 4.2 Jellybean

2013-10-22 Thread Thomas Tsai
Hi: You have to upload your public ssh key to bitbucket. You can refer to bitbucket's help about public ssh key. Thomas Tsai - Original Message - From: "gordon" To: dev-b2g@lists.mozilla.org Sent: Wednesday, October 23, 2013 8:24:40 AM Subject: Re: [b2g] b2g on Android 4.2 Jelly

Re: [b2g] b2g on Android 4.2 Jellybean

2013-10-22 Thread gordon
Thomas Tsai writes: > > Hi Gordon: > You can refer to nexus4 jb4.2.2_r1: > 1. $git clone git@...:thomastsai/a31-b2g.git -b > nexus-4-jb4.2.2_r1 > 2. ./config.sh nexus-4 > > You can get all jb4.2.2_r1 for Nexus-4, so you can port to yours. > > Thomas Tsai > Thanks Thomas, I replied to

Re: [b2g] b2g on galaxy s2 jellybean

2013-10-22 Thread Gordon
Still banging away on this, here's where I'm at. ThomasTsai, I tried cloning the git repo you mentioned, but I get permission errors, and when I went to your bitbucket.org I couldnt find the specified repo. Has it gone away, or is my git-fu lacking? What I did instead was run ./config.sh nexus

[b2g] Need help with an emulator problem that's impacting WebAPI tests

2013-10-22 Thread Jonathan Griffin
There is a problem impacting emulator WebAPI tests randomly that results in sporadic failures. This happens frequently enough that it negatively impacts the ability of the sheriffs to deal with these tests, and we'd like help in resolving it. The bug is https://bugzilla.mozilla.org/show_bug.c

Re: [b2g] led notification

2013-10-22 Thread an
On Wednesday, October 23, 2013 12:50:09 AM UTC+3, Fabrice Desré wrote: > No it's not. But waiting a bit for people to answer is not hard either... Thanks for the clarification, but what do you mean by "a bit" for a yes or no answer? > > > > And no, there is no led notification for missed cal

[b2g] 10/22/2013 Buri Master/M-C Mozilla RIL Smoke Test Results - 39/46 tests passed, 1 blocker, 1 untested

2013-10-22 Thread Marcia Knous
39 out of 46 tests passed for the2013-10-22 Buri Master M-C Mozilla RIL Build. There is 1 major issue preventing the smoketest from passing. Mozilla RIL Build Smoketest Results: Daily Smoke Test Logs: https://docs.google.com/a/qanalydocs.com/spreadsheet/ccc?key=0AjRc6aVFoOW9dGZLdVdiWGZLbVdORlFpU

Re: [b2g] led notification

2013-10-22 Thread Fabrice Desré
On 10/22/2013 02:04 PM, an wrote: > On Tuesday, October 22, 2013 4:23:13 PM UTC+3, an wrote: >> Is there no led notification for say missed calls or new messages in B2G? >> >> 'master' doesn't seem to have them. > > Is this a very difficult question?? No it's not. But waiting a bit for people to

Re: [b2g] LG launches Firefox phone in Brazil

2013-10-22 Thread DANIEL JESUS COLOMA BAIGES
Finally Brazil \o/ More information about the launch: http://blog.digital.telefonica.com/?press-release=telefonica-vivo-launches-firefox-os-brazil > On 22 Oct 2013, at 23:00, "Faramarz Rashed" wrote: > > http://news.cnet.com/8301-1035_3-57608752-94/lg-launches-firefox-phone-in-brazil/ > > • far

Re: [b2g] DeviceLightEvent.webidl from xpcom to sensor app

2013-10-22 Thread mozloverinweb
mozlov...@gmail.com於 2013年10月23日星期三UTC+8上午4時42分29秒寫道: > In the sensor system (such as light sensor for example), there is a webidl > file called DeviceLightEvent.webidl in gecko/dom/webidl/. > > > > From what I have known, the nsDeviceSensor (which is a xpcom component) will > send the light v

Re: [b2g] led notification

2013-10-22 Thread an
On Tuesday, October 22, 2013 4:23:13 PM UTC+3, an wrote: > Is there no led notification for say missed calls or new messages in B2G? > > 'master' doesn't seem to have them. Is this a very difficult question?? ___ dev-b2g mailing list dev-b2g@lists.mozil

[b2g] LG launches Firefox phone in Brazil

2013-10-22 Thread Faramarz Rashed
http://news.cnet.com/8301-1035_3-57608752-94/lg-launches-firefox-phone-in-brazil/ • faramarz ___ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-b2g

[b2g] DeviceLightEvent.webidl from xpcom to sensor app

2013-10-22 Thread mozloverinweb
In the sensor system (such as light sensor for example), there is a webidl file called DeviceLightEvent.webidl in gecko/dom/webidl/. >From what I have known, the nsDeviceSensor (which is a xpcom component) will >send the light value to this dom event and then to sensor app. Here are my question

Re: [b2g] The funciton of AssertMainThread()

2013-10-22 Thread mozloverinweb
Mike Habicher於 2013年10月23日星期三UTC+8上午4時14分07秒寫道: > Ref. Hal.cpp[0] > > > > Each b2g process (parent or app) has a Main Thread[1]. These processes > > will have other threads as well, but many operations (such as layout, > > JS, and DOM) must take place on the Main Thread because they are not

[b2g] DeviceLight webidl

2013-10-22 Thread mozloverinweb
In the sensor system (such as light sensor for example), there is a webidl file called DeviceLightEvent.webidl in gecko/dom/webidl/. >From what I have known, the nsDeviceSensor (which is a xpcom component) will >send the light value from this dom event. The dom event generated from >DeviceLight

[b2g] Who "owns" B2G desktop?

2013-10-22 Thread Andrew Overholt
When there are test failures specific to B2G desktop, who can own them by default? The test automation team is working on getting B2G desktop tests running out of process and I suspect we'll have more failures unique to this. ___ dev-b2g mailing list

Re: [b2g] The funciton of AssertMainThread()

2013-10-22 Thread Mike Habicher
Ref. Hal.cpp[0] Each b2g process (parent or app) has a Main Thread[1]. These processes will have other threads as well, but many operations (such as layout, JS, and DOM) must take place on the Main Thread because they are not threadsafe. To make functions robust against being called from the w

[b2g] The funciton of AssertMainThread()

2013-10-22 Thread mozloverinweb
I noticed that in the Hal.cpp (gecko/hal/), there is always a function named AssertMainThread(); got called in the first line of each function. Such as SetTimezone or EnableSensorNotification. Can anyone explain this a bit why this function always there and how it works? Thanks ___

Re: [b2g] Software solution for disconnecting the USB cable

2013-10-22 Thread Dave Hylands
The way that USB detects that the device is present is through a pull-up/down resistor on D+/D- line(s) - I can't remember the exact details, but its in the USB spec. Devices I've worked with in the past sometimes have a MOSFET on the resistor, which is controlled by a GPIO line, which can allo

[b2g] App not running.....

2013-10-22 Thread abir.mozillian
Hello, My app named SolarPedia-1.01 was running wellBut few day ago SolarPedia-2.01 was uploaded on Marketplace by me. SolarPedia-2.01 was working nicely on My PC via simulator . I uploaded the same file on Marketplace but after downloading, It’s not running, just showing the files inside

[b2g] 10/22/2013 Mozilla RIL Buri 1.2 Smoketest Results - 45/46 tests passed, 1 untested, no new blockers

2013-10-22 Thread Marcia Knous
45 out of 46 tests passed for the 2013-10-22 Buri v1.2.0 Mozilla RIL Build. There are no major issues that are preventing the smoketest from passing. Mozilla RIL Build Smoketest Results: Daily Smoke Test Logs: https://docs.google.com/a/qanalydocs.com/spreadsheet/ccc?key=0AjRc6aVFoOW9dGZLdVdiWGZLb

Re: [b2g] Closing app programatically

2013-10-22 Thread Elvis Pfützenreuter
window.close() worked for me, thanks for the responses! On Mon, Oct 21, 2013 at 5:08 PM, Gareth Aye wrote: > I don't think that there is a way to do this without special privileges. > Have you thought about not making the user restart the app? > > > On Mon, Oct 21, 2013 at 3:05 PM, Elvis Pfutze

[b2g] Does anyone need new sounds for future features?

2013-10-22 Thread Patryk Adamczyk
Hello All, As new features get spec'd out, we need new notifications / sounds. If you are aware that a new feature you're working on will require a new sound can you please add it to the list: https://etherpad.mozilla.org/new-sounds-need Sound design is currently out sourced so we need a few we

[b2g] errors compiling

2013-10-22 Thread an
Since yesterday I get lots of errors like: *gecko/js/src/jsatominlines.h:117: error: 'INT32_MAX' was not declared in this scope *gecko/js/src/jsanalyze.h:1279: error: 'UINT32_MAX' was not declared in this scope while compiling v1.1.0hd. The only change I made to manifest file was to replace mas

Re: [b2g] Inconsistent gaia + gecko recently causing device cannot boot up

2013-10-22 Thread Fabrice Desré
On 10/22/2013 01:11 AM, Alive wrote: > Hi b2g coders, > > [JavaScript Error: "app is undefined" {file: > "app://system.gaiamobile.org/js/attention_screen.js" line: 329}] > [JavaScript Error: "runningApps[displayedApp] is undefined" {file: > "app://system.gaiamobile.org/js/window_manager.js" line:

[b2g] led notification

2013-10-22 Thread an
Is there no led notification for say missed calls or new messages in B2G? 'master' doesn't seem to have them. ___ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-b2g

Re: [b2g] where XRE_GetProcessType() this function be defined?

2013-10-22 Thread Vivien Nicolas
http://mxr.mozilla.org/mozilla-central/source/toolkit/xre/nsAppRunner.cpp#4268 On 22/10/2013 09:16, Sam Lin wrote: I was trying to find out where does this function get defined? Can anyone give me a quick hint? Thanks ___ dev-b2g mailing list dev-b2g

Re: [b2g] Software solution for disconnecting the USB cable

2013-10-22 Thread Zac Campbell
That seems pretty heavy for our test suite. I think we can just do `adb restart` via mozdevice and get a similar effect I think. We're still not sure if we'll write this test, hard to validate it on the host side. Some more experimentation needed. On 16/10/13 18:39, Mike Habicher wrote: I

Re: [b2g] Closing app programatically

2013-10-22 Thread Julien Wajsberg
Le 21/10/2013 21:21, Gareth Aye a écrit : > And from within the app? you can do that in the app, yep. signature.asc Description: OpenPGP digital signature ___ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-b2g

[b2g] Inconsistent gaia + gecko recently causing device cannot boot up

2013-10-22 Thread Alive
Hi b2g coders, [JavaScript Error: "app is undefined" {file: "app://system.gaiamobile.org/js/attention_screen.js" line: 329}] [JavaScript Error: "runningApps[displayedApp] is undefined" {file: "app://system.gaiamobile.org/js/window_manager.js" line: 1351}] If you find the error message above and

Re: [b2g] emulator-jb build error!

2013-10-22 Thread Yusuke YAMAMOTO
Hi Thomas > the same build failure in Ubuntu 12.04, but the build passed after "./build.sh -j1". > Need to check what happens. I tried "./build.sh -j1" to pass the build. But,,, I get the same error :( >> http://pastebin.mozilla.org/3281651 Yusuke Yamamoto On 2013/10/22 15:04 Subject: Thomas T

[b2g] where XRE_GetProcessType() this function be defined?

2013-10-22 Thread Sam Lin
I was trying to find out where does this function get defined? Can anyone give me a quick hint? Thanks ___ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-b2g