Re: [b2g] Interested in Firefox OS Development

2014-06-30 Thread Josh Matthews
More generally, https://wiki.mozilla.org/B2G/Hacking is a nice collection of lots of information and links to help you get started. Cheers, Josh On 06/30/2014 12:56 PM, isachin wrote: https://developer.mozilla.org/en-US/Firefox_OS/Building_and_installing_Firefox_OS

Re: [b2g] Triaging

2014-04-17 Thread Josh Matthews
On 04/17/2014 03:20 AM, Anthony Ricaud wrote: On 16/04/14 16:36, Armen Zambrano G. wrote: What is the current process for triaging b2g bugs? I know that relman has flags for scheduled releases but I don't think I should be using those. I file bugs with steps to reproduce, build information and

Re: [b2g] Triaging

2014-04-17 Thread Josh Matthews
On 04/17/2014 11:11 AM, Josh Matthews wrote: On 04/17/2014 03:20 AM, Anthony Ricaud wrote: On 16/04/14 16:36, Armen Zambrano G. wrote: What is the current process for triaging b2g bugs? I know that relman has flags for scheduled releases but I don't think I should be using those. I file bugs

Re: [b2g] Introducing Mulet

2014-03-28 Thread Josh Matthews
On 03/28/2014 07:40 PM, Jonas Sicking wrote: Mulet, french, noun. Half horse, half donkey. Mullet, english, noun. Business in the front, party in the back. Alexandre Poirot and Alexandre Lissy have been working hard on a new development environment that should be a big improvement over both

Re: [b2g] Firefox OS - simple Firefox build

2014-03-25 Thread Josh Matthews
On 03/24/2014 08:19 PM, Paul wrote: Does anyone has experience on this? thanks Please follow up on mozilla.dev.platform; this isn't a b2g-specific question (and doesn't even seem to focus on b2g at all). Gecko has a main function, but XRE_main is more interesting:

Re: [b2g] Problem portability firefox os

2014-02-13 Thread Josh Matthews
On 02/14/2014 12:28 AM, Alberto Marqués wrote: Hi, I have an app in phonegap html5, but I can not do porting to OS firefox. Now I need SQLite for transitions between screens. I got this error: TypeError: window.openDatabase is not a function db = window.openDatabase (zerouno3.db3, 1.0,

Re: [b2g] Expose UDP Client socket as nsIEventTarget?

2014-01-27 Thread Josh Matthews
On 01/27/2014 11:32 AM, Fabrice Desré wrote: On 01/27/2014 11:28 AM, pwor...@gmail.com wrote: Sorry, don't understand. Wouldn't it be just as valid to want to use TcpSocket from a worker? That's implemented as JS. It is a very valid use case, but that doesn't work currently: we need to

Re: [b2g] Expose UDP Client socket as nsIEventTarget?

2014-01-24 Thread Josh Matthews
On 01/24/2014 10:48 AM, pwor...@gmail.com wrote: I'm working on https://bugzilla.mozilla.org/show_bug.cgi?id=745283 and am implementing it in JS. Does this need to derive from nsIEventTarget, and if so, are there any examples? Not nsIEventTarget. You should probably use the original patch

Re: [b2g] create API

2013-12-17 Thread Josh Matthews
a [Constructor] annotation to the MySample webidl. Cheers, Josh On 12/17/2013 02:47 AM, Dinesh Babu wrote: On Tuesday, December 17, 2013 12:45:03 PM UTC+5:30, Josh Matthews wrote: Hi Dinesh, What do you expect your changes to do? You have not added any way to obtain a MySample object (such as a property

Re: [b2g] create API

2013-12-16 Thread Josh Matthews
Hi Dinesh, What do you expect your changes to do? You have not added any way to obtain a MySample object (such as a property on window.navigator or a constructor for MySample), so I'm not sure what sort of tests you're able to perform. Cheers, Josh

Re: [b2g] [newbie]

2013-12-14 Thread Josh Matthews
If you want to get involved with Firefox OS in particular, I suspect you'll want to get in touch with the QA test automation people. You can find some introductory material at https://developer.mozilla.org/en-US/Firefox_OS/Platform/Automated_testing/gaia-ui-tests which includes some contact

Re: [b2g] No SSL client cert generation in FirefoxOS 1.1 (keygen HTML5 element) ?

2013-12-13 Thread Josh Matthews
Lissy wrote: Le 13/12/2013 19:39, olber...@gmail.com a écrit : Le jeudi 12 décembre 2013 21:10:46 UTC+1, Josh Matthews a écrit : The keygen element requires the use of NSS/PSM, and that's disabled in content processes. Supporting keygen/window.crypto in e10s was never a high priority, so nobody

Re: [b2g] No SSL client cert generation in FirefoxOS 1.1 (keygen HTML5 element) ?

2013-12-12 Thread Josh Matthews
The keygen element requires the use of NSS/PSM, and that's disabled in content processes. Supporting keygen/window.crypto in e10s was never a high priority, so nobody has put in the time to make it work correctly. On 12/12/2013 11:29 AM, Alexandre Lissy wrote: Le 12/12/2013 17:20, Olivier

Re: [b2g] create API

2013-12-03 Thread Josh Matthews
On 12/04/2013 12:09 AM, karthidines...@gmail.com wrote: On Monday, December 2, 2013 4:38:20 PM UTC+5:30, karthid...@gmail.com wrote: Hi, I am investigating how API in B2G works. now i am trying to call C++ function from javascript. My target is to create a sample API. Help me with some

Re: [b2g] contacts api on firefox os simulator

2013-11-24 Thread Josh Matthews
Note that mozContacts is only available to privileged and certified applications: https://developer.mozilla.org/en-US/Firefox_OS/Security/Application_security Cheers, Josh On 11/25/2013 03:41 AM, jefrey.sobre...@gmail.com wrote: Em quinta-feira, 2 de maio de 2013 09h03min11s UTC-3, jose

Re: [b2g] webidl constructor

2013-10-23 Thread Josh Matthews
The constructor attribute defines a named constructor for JS, and a corresponding static Constructor method in the implementation; in this case, you are able to use code like |new DeviceLightEvent(whatever, {value: 5})|. A dictionary is an object with a given list of properties; in JS, that's

Re: [b2g] Help: send event from nsAppShell to JS

2013-10-16 Thread Josh Matthews
Can you provide more details about the crash? What's the backtrace? What's the code you are using that is triggering it? On 10/16/2013 04:17 AM, sontung...@gmail.com wrote: Hi, We are developing a mechanism to send event from nsAppShell to JS. (The event is hardware keyboard plug in and plug

Re: [b2g] sensor enabling flow in gecko

2013-10-09 Thread Josh Matthews
nsPIDOMWindow is one of the classes that nsGlobalWindow inherits from. They're mostly interchangeable in practice. On 10/08/2013 08:59 PM, mozloverin...@gmail.com wrote: Hi, In Gaia, we can add an eventlistener for some specific sensors, let's say devicelight. By tracing the call, this will

Re: [b2g] Installing Firefox 1.2/App Manager

2013-09-23 Thread Josh Matthews
Hi Chris, I think you would want to follow the instructions at https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Preparing_for_your_first_B2G_build#Building_a_branch Cheers, Josh On 09/23/2013 01:54 PM, Chris Mills wrote: Hi all, I am currently looking into the new App Manager

Re: [b2g] Building FxOS on Fedora 19

2013-09-15 Thread Josh Matthews
That being said, if you are trying to build a desktop Firefox OS build you can ignore the links Gabriele included. Those are for device builds. Cheers, Josh On 09/14/2013 02:35 PM, Gabriele Svelto wrote: On 14/09/2013 19:37, SPorwal wrote: I'm trying to build Firefox OS on Fedora 19 - 32

Re: [b2g] Firefox Os B2G/Nozomi(xperia s)

2013-09-10 Thread Josh Matthews
On 09/10/2013 04:02 AM, vangapati naresh wrote: ./repo sync platform/system/core didn't helped me..! Hunged up with same error. What was the error? ___ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-b2g

Re: [b2g] Firefox OS device avalibility

2013-09-07 Thread Josh Matthews
Hopefully someone actually involved with the project can provide better answers to your questions, but a reasonable place to start with regards to contributing via JS is https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Platform/Gaia/Hacking .. You may find the links under

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] How to call function of Gecko C++ from Gecko JS using the XPCOM?

2013-08-04 Thread Josh Matthews
(SetJSCallBack = + ret); But, ret value is set by TEST_setJSCallBack function of gecko js, not c++ function. Do you know what is wrong in my codes? 2013년 8월 4일 일요일 오후 3시 12분 48초 UTC+9, Josh Matthews 님의 말: I don't understand what you are trying to accomplish by having two separate implementations

Re: [b2g] Need help understanding navigator.mozTCPSocket

2013-06-22 Thread Josh Matthews
The TCPSocket API is not enough for this use case; you'll need to wait for the server socket API to be finished: https://bugzilla.mozilla.org/show_bug.cgi?id=797561 Cheers, Josh On 06/21/2013 11:09 PM, reinven...@gmail.com wrote: I'd like to write a Firefox OS app that allows me to initiate

Re: [b2g] Moving apps to the sdcard

2013-06-07 Thread Josh Matthews
On 06/07/2013 07:01 PM, Jonas Sicking wrote: On Thu, Jun 6, 2013 at 10:00 PM, Fabrice Desre fabr...@mozilla.com wrote: - Update data jars to be usable on the sdcard. Ben thinks that this is doable for indexedDB. That may be harder for other stores that use a common db for all apps. This part

Re: [b2g] WebRTC / getUserMedia support in Firefox OS/ FF for Android

2013-05-26 Thread Josh Matthews
On 05/26/2013 05:13 AM, Flaki wrote: Hi guys! I am currently working on a mobile social media client application, with focus on FF OS, but with cross-browser/cross platform compatibility in mind. The application includes a feature to attach and upload pictures taken by the user. Yes, there

Re: [b2g] B2G status and priorities

2013-04-10 Thread Josh Matthews
On 04/10/2013 07:47 AM, Julien Wajsberg wrote: Le 10/04/2013 12:35, Henrique Alves a écrit : Hey Julien, I was checking some random issues, one I can remember now is: Bug 796747: https://bugzilla.mozilla.org/show_bug.cgi?id=796747 GitHub Issue: https://github.com/mozilla-b2g/gaia/issues/5245

Re: [b2g] How to let C++ inherit an IDL already implemented by JS?

2013-03-12 Thread Josh Matthews
On 03/12/2013 08:43 AM, Gene Lian wrote: Hi guys, Supposing we've already had an IDL implemented by JS codes, and then we need to let another C++ class inherit that IDL header. However, in the C++ implementation, we need to get a context to unwrap some JS values. As my best understanding,

Re: [b2g] The nsIURIContentListener - how to?

2013-02-05 Thread Josh Matthews
On 02/05/2013 11:21 AM, x.x12...@gmail.com wrote: Hi. I'm trying to write an experimental parental control application. It's supposed to stop the load of particular URLs in some period of time only for particular applications. For example you are not allowed to browse or gtalk after 8pm. Is

Re: [b2g] The nsIURIContentListener - how to?

2013-02-04 Thread Josh Matthews
On 02/04/2013 04:02 PM, x.x12...@gmail.com wrote: Hi All, I'm trying to use the nsIURIContentListener in javascript code in a web application. Is it available in gecko? I've tested this example: http://forums.mozillazine.org/viewtopic.php?t=501254sid=a2f27a7ca70ecb78ef834d80ec86286e in the

Re: [b2g] Install privileged packaged app on unagi

2013-01-29 Thread Josh Matthews
On 01/29/2013 11:03 AM, Jonas Sicking wrote: You never need to do any of the signing stuff when developing an app. If you are creating a privileged app then you can use the debugger interface to install that app on the device. I believe Fabrice has scripts which make this easy. If you aren't

Re: [b2g] Fennec in HTML5?

2013-01-28 Thread Josh Matthews
The UI is written in Java. The web content is rendered via Gecko. Therefore, I'm going to go with no. Cheers, Josh On 01/28/2013 09:56 AM, Kevin Hu wrote: Hi, Does anyone know if Fennec is implemented in HTML 5? Thank you. Best regards, Kevin Hu