[jira] [Created] (CB-2298) Add Web Worker support for Android

2013-01-28 Thread Jonathan Prince (JIRA)
Jonathan Prince created CB-2298: --- Summary: Add Web Worker support for Android Key: CB-2298 URL: https://issues.apache.org/jira/browse/CB-2298 Project: Apache Cordova Issue Type: Wish

[jira] [Updated] (CB-2076) Integrate documentation properly into CLI

2013-01-28 Thread Filip Maj (JIRA)
[ https://issues.apache.org/jira/browse/CB-2076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj updated CB-2076: -- Fix Version/s: (was: 2.4.0) Removing fixVersion until dependent CB-876 (Docs Generator) issue is resolved.

[jira] [Commented] (CB-2293) File Tranfer of picture fails on every other picture

2013-01-28 Thread Amrit Kahlon (JIRA)
[ https://issues.apache.org/jira/browse/CB-2293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13564459#comment-13564459 ] Amrit Kahlon commented on CB-2293: -- Hey Andrew, that did not fix the error, it occurred

RE: Cordova for Firefox OS

2013-01-28 Thread Herm Wong
The B2G name has been deprecated in favor of Firefox OS; internally (at Mozilla) they seem to be using the acronym FxOS. I'm in favor of just using Cordova-FirefoxOS since it is an explicitly clear name that makes it easy to find. I'm also in favor of Gord Dan pushing up their Cordova-JS

[jira] [Updated] (CB-2219) Add checks for minimum Android requirements

2013-01-28 Thread Filip Maj (JIRA)
[ https://issues.apache.org/jira/browse/CB-2219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj updated CB-2219: -- Description: If you don't have all / latest android sdk targets installed, you can't compile the jar. The CLI

best practice plugin authoring guidelines / window.plugins hate

2013-01-28 Thread Brian LeRoux
The community is starting to put plugins in their own repos (good). I noticed this one today: https://github.com/vstirbu/InstagramPlugin (Awesome.) But I can't stand window.plugins any longer. I think this might be a hangover from the existing plugin space but not totally sure---is there a good

Re: best practice plugin authoring guidelines / window.plugins hate

2013-01-28 Thread Filip Maj
Don't think so. Should be up to the user. That said Cordova should provide a registration mechanism to enable collision detection (I think Andrew Grieve has something like this in his symbol mapping branch in cordova-js). On 1/28/13 10:34 AM, Brian LeRoux b...@brian.io wrote: The community is

Re: best practice plugin authoring guidelines / window.plugins hate

2013-01-28 Thread Jesse
No reason to exist there, other than that is the way it used to be. I would rather just see : var myRef = Instagram.install(); myRef.share( ... ) I'll fork it. Also, I think we need to educate people on the use of objectsprototypes, by example. We too have multiple places where we define a

[jira] [Resolved] (CB-2055) audio file in mobile spec doesn't work anymore

2013-01-28 Thread Filip Maj (JIRA)
[ https://issues.apache.org/jira/browse/CB-2055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj resolved CB-2055. --- Resolution: Duplicate Duplicate of CB-2049 audio file in mobile spec doesn't work anymore

[jira] [Assigned] (CB-2049) Remove test dependency on audio file on external site - for network media tests

2013-01-28 Thread Filip Maj (JIRA)
[ https://issues.apache.org/jira/browse/CB-2049?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj reassigned CB-2049: - Assignee: Filip Maj (was: Shazron Abdullah) Remove test dependency on audio file on external site -

Re: best practice plugin authoring guidelines / window.plugins hate

2013-01-28 Thread Brian LeRoux
I'm thinking we encourage: var insta = require('instagram') insta.share( ... ) On Mon, Jan 28, 2013 at 12:51 PM, Jesse purplecabb...@gmail.com wrote: No reason to exist there, other than that is the way it used to be. I would rather just see : var myRef = Instagram.install(); myRef.share(

ship 2.4 monday

2013-01-28 Thread Brian LeRoux
remember: silence is assent!

[jira] [Created] (CB-2299) Run RAT audit on CLI

2013-01-28 Thread Filip Maj (JIRA)
Filip Maj created CB-2299: - Summary: Run RAT audit on CLI Key: CB-2299 URL: https://issues.apache.org/jira/browse/CB-2299 Project: Apache Cordova Issue Type: Bug Components: CLI

[jira] [Resolved] (CB-2295) Window.open() broken in PhoneGap 2.3 (Android)

2013-01-28 Thread Joe Bowser (JIRA)
[ https://issues.apache.org/jira/browse/CB-2295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser resolved CB-2295. Resolution: Cannot Reproduce The example code you posted worked fine. window.open works on this end. I'm

Re: Cordova for Firefox OS

2013-01-28 Thread Dan Silivestru
I like the sound of FxOS, it's short :-) Also the CLI for deploying directly to device would be very helpful, Gord and I couldn't find a way to do it with the currently published docs. Looking forward to that addition. Dan. On Mon, Jan 28, 2013 at 1:29 PM, Herm Wong

Re: best practice plugin authoring guidelines / window.plugins hate

2013-01-28 Thread Brian LeRoux
ah sorry that is what I meant actuallytho it does beg how cordova.require and various other requires might work (I think Pat brought this up last year.) On Mon, Jan 28, 2013 at 11:15 AM, Filip Maj f...@adobe.com wrote: Hmm, how does this fit in with cordova.require ? On 1/28/13 11:11 AM,

Re: best practice plugin authoring guidelines / window.plugins hate

2013-01-28 Thread Filip Maj
Yeh Pat brought it up almost a year ago! https://issues.apache.org/jira/browse/CB-341 Stay on target.. Stay on trget.. On 1/28/13 11:23 AM, Brian LeRoux b...@brian.io wrote: ah sorry that is what I meant actuallytho it does beg how cordova.require and various other requires might work

Re: best practice plugin authoring guidelines / window.plugins hate

2013-01-28 Thread Don Coleman
+1 On Mon, Jan 28, 2013 at 2:23 PM, Brian LeRoux b...@brian.io wrote: ah sorry that is what I meant actuallytho it does beg how cordova.require and various other requires might work (I think Pat brought this up last year.) On Mon, Jan 28, 2013 at 11:15 AM, Filip Maj f...@adobe.com

Re: ship 2.4 monday

2013-01-28 Thread Filip Maj
Monday Feb 4th or w/e! Next week! On 1/28/13 11:25 AM, Becky Gibson gibson.be...@gmail.com wrote: -1 if you mean Monday as in today? I'd like to see the mobile-spec issues resolved. I can't figure out why my mobile-spec file transfer fails and others do not. I suspect it has to do with the

Re: Cordova for Firefox OS

2013-01-28 Thread Michael Brooks
I'm in favor of just using Cordova-FirefoxOS since it is an explicitly clear name that makes it easy to find. I agree with Herm on using Cordova-FirefoxOS (cordova-firefoxos) for the same reasons. Matching the official name is important for ease of use. While we wait for Infra to create the

Benchmarks in mobile-spec

2013-01-28 Thread Filip Maj
Relevant issue : https://issues.apache.org/jira/browse/CB-1528 I am reorganizing the manual benchmarks test page a little bit, and wanted to add an autobench equivalent for the benchmarks. Doing an exec bench (which already exists, but automating it), plus timing certain APIs (I.e. FileReader vs

Re: ship 2.4 monday

2013-01-28 Thread Michael Brooks
I haven't heard any major blockers, so Monday Feb 4th seems good. Michael On Mon, Jan 28, 2013 at 11:31 AM, Filip Maj f...@adobe.com wrote: Monday Feb 4th or w/e! Next week! On 1/28/13 11:25 AM, Becky Gibson gibson.be...@gmail.com wrote: -1 if you mean Monday as in today? I'd like to

Re: best practice plugin authoring guidelines / window.plugins hate

2013-01-28 Thread Jesse
The require step is overkill in this case IMHO, although exec 'should' likely be : var exec = cordova.require('cordova/exec'); https://github.com/purplecabbage/InstagramPlugin/blob/master/www/CDVInstagramPlugin.js Pull request sent Instagram.isInstalled(callback);

Re: ship 2.4 monday

2013-01-28 Thread Jesse
+1 On Mon, Jan 28, 2013 at 11:42 AM, Becky Gibson gibson.be...@gmail.comwrote: +1 to Monday, Feb 4. Thanks for clarification. On Mon, Jan 28, 2013 at 2:33 PM, Michael Brooks mich...@michaelbrooks.ca wrote: I haven't heard any major blockers, so Monday Feb 4th seems good. Michael

[jira] [Resolved] (CB-2054) Iframe not working in Android4.0

2013-01-28 Thread Joe Bowser (JIRA)
[ https://issues.apache.org/jira/browse/CB-2054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser resolved CB-2054. Resolution: Won't Fix This should be specified as Can't Fix. The positioning of fields on iFrames is broken

Re: ship 2.4 monday

2013-01-28 Thread Simon MacDonald
+1 Simon Mac Donald http://hi.im/simonmacdonald On Mon, Jan 28, 2013 at 2:45 PM, Jesse purplecabb...@gmail.com wrote: +1 On Mon, Jan 28, 2013 at 11:42 AM, Becky Gibson gibson.be...@gmail.comwrote: +1 to Monday, Feb 4. Thanks for clarification. On Mon, Jan 28, 2013 at 2:33 PM, Michael

Re: ship 2.4 monday

2013-01-28 Thread Anis KADRI
+1 On Mon, Jan 28, 2013 at 11:53 AM, Simon MacDonald simon.macdon...@gmail.com wrote: +1 Simon Mac Donald http://hi.im/simonmacdonald On Mon, Jan 28, 2013 at 2:45 PM, Jesse purplecabb...@gmail.com wrote: +1 On Mon, Jan 28, 2013 at 11:42 AM, Becky Gibson gibson.be...@gmail.com

[jira] [Commented] (CB-2287) Mobile-spec freezes on BlackBerry 10 around test #200

2013-01-28 Thread Tim Kim (JIRA)
[ https://issues.apache.org/jira/browse/CB-2287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13564654#comment-13564654 ] Tim Kim commented on CB-2287: - Ok, so it looks like the problem has to do with a few really

[jira] [Resolved] (CB-2299) Run RAT audit on CLI

2013-01-28 Thread Filip Maj (JIRA)
[ https://issues.apache.org/jira/browse/CB-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj resolved CB-2299. --- Resolution: Fixed Fixed in

[jira] [Created] (CB-2300) ./bin/create script for BlackBerry should employ parameters consistent with other platforms

2013-01-28 Thread Filip Maj (JIRA)
Filip Maj created CB-2300: - Summary: ./bin/create script for BlackBerry should employ parameters consistent with other platforms Key: CB-2300 URL: https://issues.apache.org/jira/browse/CB-2300 Project:

In-app-purchase for windows phone 8

2013-01-28 Thread Lap Ming Lee
Hi, I would like to ask if Cordova supports windows phone 8 in-app-purchases. I have been searching online and have not found any plugins. Any help towards the right direction would be wonderful. Sincerely, Lap

RE: In-app-purchase for windows phone 8

2013-01-28 Thread Shawn Wildermuth
It doesn't but if adding it to your application isn't difficult as you can expand the Cordova layer with your custom end-points pretty easily. - stw I don't even use spell check - my misspellings are on purpose. -Original Message- From: lapming@gmail.com

Re: best practice plugin authoring guidelines / window.plugins hate

2013-01-28 Thread Andrew Grieve
One consideration is that right now our module names are based on file paths. e.g. cordova/plugin/FileTransfer maps to lib/common/plugin/FileTransfer.js. If end-users reference the module via cordova.require, then any time we move a file, we'd need to add extra logic to ensure the old path still

Re: ship 2.4 monday

2013-01-28 Thread Andrew Grieve
silence On Mon, Jan 28, 2013 at 3:26 PM, Anis KADRI anis.ka...@gmail.com wrote: +1 On Mon, Jan 28, 2013 at 11:53 AM, Simon MacDonald simon.macdon...@gmail.com wrote: +1 Simon Mac Donald http://hi.im/simonmacdonald On Mon, Jan 28, 2013 at 2:45 PM, Jesse

Re: In-app-purchase for windows phone 8

2013-01-28 Thread Jesse
Not yet. This will likely be looked at when we have consistent plugin installation across all projects. You can try the google group to see if someone has begun work on it : https://groups.google.com/forum/?fromgroups=#!forum/phonegap Cheers, Jesse On Mon, Jan 28, 2013 at 12:53 PM, Lap Ming

[jira] [Commented] (CB-2301) EXC_BAD_ACCESS on resume/wake on iOS device

2013-01-28 Thread Andrew Grieve (JIRA)
[ https://issues.apache.org/jira/browse/CB-2301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13564708#comment-13564708 ] Andrew Grieve commented on CB-2301: --- hmm, from the screenshot, it looks like the UI thread

Cordova CLI (and by proxy, platform) requirements

2013-01-28 Thread Filip Maj
Hey all, Working out some bootstrap-type stuff for cordova-cli. Here's a situation I am dealing with now in the cli code that I would like people's input. When you add Android to your project's platforms, the requirements, as imposed by the underlying cordova-android library, is that the Android

[jira] [Resolved] (CB-1260) Support exit-on-suspend config.xml preference on Cordova Android

2013-01-28 Thread Joe Bowser (JIRA)
[ https://issues.apache.org/jira/browse/CB-1260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser resolved CB-1260. Resolution: Not A Problem This feature doesn't make sense because it breaks our plugins and flow.

Re: Cordova CLI (and by proxy, platform) requirements

2013-01-28 Thread Anis KADRI
+1 PATH variable, config file (in this order). -1 for asking every time. On Mon, Jan 28, 2013 at 2:14 PM, Filip Maj f...@adobe.com wrote: Hey all, Working out some bootstrap-type stuff for cordova-cli. Here's a situation I am dealing with now in the cli code that I would like people's

Re: Cordova CLI (and by proxy, platform) requirements

2013-01-28 Thread Simon MacDonald
+1 PATH Simon Mac Donald http://hi.im/simonmacdonald On Mon, Jan 28, 2013 at 5:14 PM, Filip Maj f...@adobe.com wrote: Hey all, Working out some bootstrap-type stuff for cordova-cli. Here's a situation I am dealing with now in the cli code that I would like people's input. When you add

Re: Cordova CLI (and by proxy, platform) requirements

2013-01-28 Thread Don Coleman
I have the Android tools in my path but not BlackBerry. Prompting for the BlackBerry file locations and passwords etc works OK. It would be nice to search the default location, or at least store all this info in ~/.cordova-cli so the next time I run the tool I can just confirm the previous

[jira] [Resolved] (CB-2219) Add checks for minimum Android requirements

2013-01-28 Thread Filip Maj (JIRA)
[ https://issues.apache.org/jira/browse/CB-2219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj resolved CB-2219. --- Resolution: Fixed Refactored this in

Re: Cordova CLI (and by proxy, platform) requirements

2013-01-28 Thread Brian LeRoux
uh oh. so, does this mean we do both and put prompting behind a configuration option? RECURSIVE ERROR On Mon, Jan 28, 2013 at 5:25 PM, Gord Tanner gtan...@gmail.com wrote: I think the reason blackberry doesn't put the sdk on the path is because they need to have multiple sdk versions (all

Re: Cordova CLI (and by proxy, platform) requirements

2013-01-28 Thread Filip Maj
So that's what I'm trying to see if we can fix. The multiple SDKs that use the same executable script name throws a wrench into this whole thing.. Lame. What if we drew a line in the sand and said for BlackBerry we only support BB10? Then we can get rid of prompts and tell people to put their

[Android] xhr2 shim on Android 2.3 - is it worth the effort? I think I need help on this one.

2013-01-28 Thread Joe Bowser
Hey I'm starting to look at adding the xhr2 shim for Android 2.3, and I've come to this conclusion: 1. This looks like a LOT of work and I'm way over my head 2. This depends on a lot of the recent work that was put into Android (ArrayBuffer and Blob) Also, do we know if the new ArrayBuffer and

Re: Cordova CLI (and by proxy, platform) requirements

2013-01-28 Thread Jesse
Fil, It will most likely not just be BB, so your solution may not be future proof. I would draw a line in the sand stating that there must be a bb-config file which instructs the cli build command of which sdk version to use (via an explicit path ). OR it could be a command line argument at build

Re: Cordova CLI (and by proxy, platform) requirements

2013-01-28 Thread Don Coleman
The current BlackBerry interactive script works well, except I need to look up and copy the path every time. Without cordova cli I copy project.properties from an old BlackBerry project into the new project and edit as necessary. I don't think requiring BlackBerry on the path will work. For

[jira] [Resolved] (CB-2294) CLI platform add does not replace template www contents with project www contents

2013-01-28 Thread Filip Maj (JIRA)
[ https://issues.apache.org/jira/browse/CB-2294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj resolved CB-2294. --- Resolution: Fixed Fixed in

Re: Cordova CLI (and by proxy, platform) requirements

2013-01-28 Thread Filip Maj
Totally agree Jesse. My first pass at BB support includes interactive prompting. I would love to get rid of it, or provide another way to specify that stuff. Like you say, perhaps command line options is the way to go (if someone wants to automate the use of the script, for example). The easy fix

Re: [Android] xhr2 shim on Android 2.3 - is it worth the effort? I think I need help on this one.

2013-01-28 Thread Andrew Grieve
The goal of the recent ArrayBuffer work is to allow the browser's native ArrayBuffers to be passed through the bridge. It doesn't work on Android 2.3, since that version doesn't support ArrayBuffers. The recent Blob work applied to Cordova's File plugin and made it so that it has a slice() method

[jira] [Commented] (CB-2083) Cordova for WP7 getPicture Leaves Photos in Camera Roll

2013-01-28 Thread Benn Mapes (JIRA)
[ https://issues.apache.org/jira/browse/CB-2083?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13564938#comment-13564938 ] Benn Mapes commented on CB-2083: Hi Alan, I'm having trouble reproducing this issue on WP7

Re: [Android] xhr2 shim on Android 2.3 - is it worth the effort? I think I need help on this one.

2013-01-28 Thread Jesse
Actually the recent checkins break the existing File API that is already there on Windows 8 and Windows Phone 8. Both of these platforms already support ArrayBuffers, Blobs, Typed Arrays, et al ... On Mon, Jan 28, 2013 at 5:09 PM, Andrew Grieve agri...@chromium.org wrote: The goal of the

[jira] [Created] (CB-2302) NullPointerException at org.apache.cordova.AudioPlayer.destroy(AudioPlayer.java:122)

2013-01-28 Thread r yoo (JIRA)
r yoo created CB-2302: - Summary: NullPointerException at org.apache.cordova.AudioPlayer.destroy(AudioPlayer.java:122) Key: CB-2302 URL: https://issues.apache.org/jira/browse/CB-2302 Project: Apache Cordova

Re: Cordova for Firefox OS

2013-01-28 Thread Gord Tanner
Javascript switched to cordova.firefoxos.js and commited to cordova-js: https://git-wip-us.apache.org/repos/asf?p=cordova-js.git;a=summary Commited to labs: https://git-wip-us.apache.org/repos/asf?p=cordova-labs.git;a=tree;h=refs/heads/cordova-firefoxos;hb=cordova-firefoxos On Mon, Jan 28,

Re: [Android] xhr2 shim on Android 2.3 - is it worth the effort? I think I need help on this one.

2013-01-28 Thread Andrew Grieve
Jesse - what's broken about it? On Mon, Jan 28, 2013 at 8:43 PM, Jesse purplecabb...@gmail.com wrote: Actually the recent checkins break the existing File API that is already there on Windows 8 and Windows Phone 8. Both of these platforms already support ArrayBuffers, Blobs, Typed Arrays,