Re: android: create: An error occured, Deleting project... on mac

2012-11-05 Thread xinumik...@yahoo.com
./create icsdemo edu.metrostate.icsdemo icsdemo Thank you. From: Kerri Shotts To: dev@cordova.apache.org; "xinumik...@yahoo.com" Sent: Sunday, November 4, 2012 9:05 PM Subject: Re: android: create: An error occured, Deleting project... on mac What are yo

[jira] [Reopened] (CB-1794) `cordova` command line script(s) don't work with paths with spaces in them

2012-11-05 Thread Anis Kadri (JIRA)
[ https://issues.apache.org/jira/browse/CB-1794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anis Kadri reopened CB-1794: > `cordova` command line script(s) don't work with paths with spaces in them > ---

[jira] [Resolved] (CB-1809) `create` script should print out meaningful error messages

2012-11-05 Thread Anis Kadri (JIRA)
[ https://issues.apache.org/jira/browse/CB-1809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anis Kadri resolved CB-1809. Resolution: Fixed > `create` script should print out meaningful error messages > -

[jira] [Resolved] (CB-1794) `cordova` command line script(s) don't work with paths with spaces in them

2012-11-05 Thread Anis Kadri (JIRA)
[ https://issues.apache.org/jira/browse/CB-1794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anis Kadri resolved CB-1794. Resolution: Fixed Hopefully this will help a bit more. Will output which command failed with which status cod

[jira] [Updated] (CB-1794) `cordova` command line script(s) don't work with paths with spaces in them

2012-11-05 Thread Anis Kadri (JIRA)
[ https://issues.apache.org/jira/browse/CB-1794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anis Kadri updated CB-1794: --- Comment: was deleted (was: Hopefully this will help a bit more. Will output which command failed with which sta

[jira] [Commented] (CB-1809) `create` script should print out meaningful error messages

2012-11-05 Thread Anis Kadri (JIRA)
[ https://issues.apache.org/jira/browse/CB-1809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13491119#comment-13491119 ] Anis Kadri commented on CB-1809: Hopefully this will help a bit more. Will output which comma

[jira] [Commented] (CB-1506) Implement InAppBrowser feature

2012-11-05 Thread Jesse MacFadyen (JIRA)
[ https://issues.apache.org/jira/browse/CB-1506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=1349#comment-1349 ] Jesse MacFadyen commented on CB-1506: - I have some open questions about the wiki defined

Re: 2.3.0 major new features

2012-11-05 Thread Michael Brooks
It would be great to see both of those land in 2.3.0! On Mon, Nov 5, 2012 at 4:38 PM, Brian LeRoux wrote: > +yeaaa > > On Monday, November 5, 2012, Shazron wrote: > > > I'd like to implement InAppBrowser in 2.3.0? > > https://issues.apache.org/jira/browse/CB-1506 > > > > Also I'd like to migrat

Re: 2.3.0 major new features

2012-11-05 Thread Brian LeRoux
+yeaaa On Monday, November 5, 2012, Shazron wrote: > I'd like to implement InAppBrowser in 2.3.0? > https://issues.apache.org/jira/browse/CB-1506 > > Also I'd like to migrate the Cordova.plist to config.xml for iOS: > https://issues.apache.org/jira/browse/CB-1108 >

Re: Whitelist defaults

2012-11-05 Thread Anis KADRI
I confirm that Android also uses config.xml. On Mon, Nov 5, 2012 at 4:22 PM, Shazron wrote: > I would think all unsupported devices for the whitelist feature remain > unsupported (and is documented as such: > > http://docs.phonegap.com/en/2.2.0/guide_whitelist_index.md.html#Domain%20Whitelist%2

Re: Whitelist defaults

2012-11-05 Thread Shazron
I would think all unsupported devices for the whitelist feature remain unsupported (and is documented as such: http://docs.phonegap.com/en/2.2.0/guide_whitelist_index.md.html#Domain%20Whitelist%20Guide ) On Mon, Nov 5, 2012 at 4:14 PM, Jesse wrote: > Does this mean that whitelists should be add

[jira] [Commented] (CB-1108) Migrate config.xml to the W3C spec

2012-11-05 Thread Shazron Abdullah (JIRA)
[ https://issues.apache.org/jira/browse/CB-1108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13491080#comment-13491080 ] Shazron Abdullah commented on CB-1108: -- Not sure for iOS if we support config.xml we hav

Re: Whitelist defaults

2012-11-05 Thread Shazron
I mentioned this in another thread -- I'd like to migrate Cordova.plist to config.xml so we can be consistent there. I believe Android has already moved to config.xml already. On Mon, Nov 5, 2012 at 4:14 PM, Jesse wrote: > Does this mean that whitelists should be added to Bada, Symbian, > WebO

2.3.0 major new features

2012-11-05 Thread Shazron
I'd like to implement InAppBrowser in 2.3.0? https://issues.apache.org/jira/browse/CB-1506 Also I'd like to migrate the Cordova.plist to config.xml for iOS: https://issues.apache.org/jira/browse/CB-1108

Re: Whitelist defaults

2012-11-05 Thread Jesse
Does this mean that whitelists should be added to Bada, Symbian, WebOS, Windows Phone, and Windows 8? Also, while we are discussing it, wouldn't it be good to have all platforms have a consistent way of defining access-permissions ? Android:: res/xml/cordova.xml Blackberry:: www/config.xml iOS::

Re: Whitelist defaults

2012-11-05 Thread Shazron
What Anis said last is what I meant. Since BB and Android have this behaviour already this doesn't impact those platforms as much. Will wait for comments until tomorrow then I will add some JIRA task(s). On Mon, Nov 5, 2012 at 3:43 PM, Anis KADRI wrote: > On Mon, Nov 5, 2012 at 3:36 PM, Brian L

Re: Whitelist defaults

2012-11-05 Thread Anis KADRI
On Mon, Nov 5, 2012 at 3:36 PM, Brian LeRoux wrote: > Why would we require a new property? We're just talking about adding * as > the default property. > I believe this applied only if we did a debug/release mode strategy. Adding (*) as default doesn't require a new property from what I understa

Re: Whitelist defaults

2012-11-05 Thread Brian LeRoux
Why would we require a new property? We're just talking about adding * as the default property. (Also, Jesse, I have talked to many Cordova devs whom have expressed frustration with our default.) I feel we have consensus enough to document and add this default. On Mon, Nov 5, 2012 at 3:26 PM, S

Re: Whitelist defaults

2012-11-05 Thread Kevin Hawkins
In our customizations of our Cordova app, that's exactly what we did. We created a Cordova-Debug.plist and Cordova-Release.plist, and synced them back to Cordova.plist as a Build Phase step. I don't know that it's the default behavior the Cordova community would want for template apps, but it is

Re: Whitelist defaults

2012-11-05 Thread Anis KADRI
I guess make it "all" then. That's what I conclude from our discussion. As long as the feature is there, people can make the adequate decisions. I believe we should add this to the getting started guide (the whitelist docs are not enough to draw attention). On Mon, Nov 5, 2012 at 3:26 PM, Shazron

Re: Whitelist defaults

2012-11-05 Thread Shazron
Well it's all or nothing. There is no "dev" mode with respect to the plist itself as it is right now, unless we want to add yet another plist property. On Mon, Nov 5, 2012 at 3:22 PM, Anis KADRI wrote: > I guess the consensus is to whitelist everything (*) all the time. > > My opinion is that t

Re: Whitelist defaults

2012-11-05 Thread Jesse
I have relaxed my position, as I can work around whatever the choice is. It might be prudent to ask our users though. On Mon, Nov 5, 2012 at 3:22 PM, Anis KADRI wrote: > I guess the consensus is to whitelist everything (*) all the time. > > My opinion is that there should be some dev mode where

Re: Whitelist defaults

2012-11-05 Thread Anis KADRI
I guess the consensus is to whitelist everything (*) all the time. My opinion is that there should be some dev mode where (*) is set and then a release mode where you'd specify your hosts. On Mon, Nov 5, 2012 at 3:11 PM, Shazron wrote: > We've had the discussion. So what is the decision/consen

Re: Whitelist defaults

2012-11-05 Thread Shazron
We've had the discussion. So what is the decision/consensus? Leave as is, or add "*" to default settings for all, with a warning in the console log? On Fri, Nov 2, 2012 at 11:33 AM, Joe Bowser wrote: > On Fri, Nov 2, 2012 at 10:59 AM, Shazron wrote: > > Echoing Anis here. The easiest use case

RE: 2.2.0rc2 Monday?

2012-11-05 Thread Herm Wong
I was able to merge in pull request 40 properly with the preserved commit history, but had troubles cherry picking the changes for pull request 37 - so I just updated that file manually and committed the change. > From: markus.leutwy...@hp.com > To: dev@cordova.apache.org > Subject: RE: 2.2.0rc2

[jira] [Assigned] (CB-1794) `cordova` command line script(s) don't work with paths with spaces in them

2012-11-05 Thread Joe Bowser (JIRA)
[ https://issues.apache.org/jira/browse/CB-1794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser reassigned CB-1794: -- Assignee: Anis Kadri (was: Joe Bowser) Can you explain what is going on here? This script just appears to

[jira] [Assigned] (CB-1796) camera.getPicture: the photo file is corrupted.

2012-11-05 Thread Joe Bowser (JIRA)
[ https://issues.apache.org/jira/browse/CB-1796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser reassigned CB-1796: -- Assignee: Simon MacDonald (was: Joe Bowser) I can't reproduce on my Galaxy Nexus. AFAIK we no longer writ

[jira] [Commented] (CB-1811) Previously hidden select dropdowns crashing the webview when focused upon

2012-11-05 Thread Joe Bowser (JIRA)
[ https://issues.apache.org/jira/browse/CB-1811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13490988#comment-13490988 ] Joe Bowser commented on CB-1811: Yes and no. There are a few primary builds of the browser ba

[jira] [Comment Edited] (CB-1811) Previously hidden select dropdowns crashing the webview when focused upon

2012-11-05 Thread Adam (JIRA)
[ https://issues.apache.org/jira/browse/CB-1811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13490974#comment-13490974 ] Adam edited comment on CB-1811 at 11/5/12 10:06 PM: - Thanks, Joe. Just o

[jira] [Commented] (CB-1811) Previously hidden select dropdowns crashing the webview when focused upon

2012-11-05 Thread Adam (JIRA)
[ https://issues.apache.org/jira/browse/CB-1811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13490974#comment-13490974 ] Adam commented on CB-1811: --- Thanks, Joe. Just out of curiosity, does every device/vendor have a di

[jira] [Comment Edited] (CB-1811) Previously hidden select dropdowns crashing the webview when focused upon

2012-11-05 Thread Adam (JIRA)
[ https://issues.apache.org/jira/browse/CB-1811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13490974#comment-13490974 ] Adam edited comment on CB-1811 at 11/5/12 10:06 PM: - Thanks, Joe. Just o

[jira] [Updated] (CB-1805) Whitelist guide points to incorrect file for Android instructions

2012-11-05 Thread Joe Bowser (JIRA)
[ https://issues.apache.org/jira/browse/CB-1805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser updated CB-1805: --- Fix Version/s: 2.3.0 > Whitelist guide points to incorrect file for Android instructions > -

[jira] [Commented] (CB-1805) Whitelist guide points to incorrect file for Android instructions

2012-11-05 Thread Joe Bowser (JIRA)
[ https://issues.apache.org/jira/browse/CB-1805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13490957#comment-13490957 ] Joe Bowser commented on CB-1805: https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-

[jira] [Resolved] (CB-1805) Whitelist guide points to incorrect file for Android instructions

2012-11-05 Thread Joe Bowser (JIRA)
[ https://issues.apache.org/jira/browse/CB-1805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser resolved CB-1805. Resolution: Fixed Docs have been updated, see the commit. > Whitelist guide points to incorre

[jira] [Comment Edited] (CB-1811) Previously hidden select dropdowns crashing the webview when focused upon

2012-11-05 Thread Joe Bowser (JIRA)
[ https://issues.apache.org/jira/browse/CB-1811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13490950#comment-13490950 ] Joe Bowser edited comment on CB-1811 at 11/5/12 9:36 PM: - Lowering pr

[jira] [Updated] (CB-1811) Previously hidden select dropdowns crashing the webview when focused upon

2012-11-05 Thread Joe Bowser (JIRA)
[ https://issues.apache.org/jira/browse/CB-1811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser updated CB-1811: --- Priority: Minor (was: Major) Lowering priority. > Previously hidden select dropdowns crashing

[jira] [Assigned] (CB-1809) `create` script should print out meaningful error messages

2012-11-05 Thread Joe Bowser (JIRA)
[ https://issues.apache.org/jira/browse/CB-1809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser reassigned CB-1809: -- Assignee: Anis Kadri (was: Joe Bowser) > `create` script should print out meaningful error messages >

plan for handling updated device OS versions?

2012-11-05 Thread Marcel Kinard
I'm seeing rumors on the web that iOS 6.1 is in the works from Apple and there is a beta that recently opened. Is there any sort of target for handling new device OS versions in Cordova? For example: - Cordova should support a new device OS in the next Cordova version 4-6 weeks after the OS be

Re: [Android] CordovaWebView is broken

2012-11-05 Thread Anis KADRI
On Mon, Nov 5, 2012 at 9:22 AM, Joe Bowser wrote: > Hey > > I know that this kind of seems like a step back, but perhaps we should > start with the refactor of DroidGap into CordovaActivity. The main > obstacle that we have right now with the CordovaWebView is the fact that we > have to implemen

[jira] [Created] (CB-1812) Example use of deviceready in docs is incorrect

2012-11-05 Thread Filip Maj (JIRA)
Filip Maj created CB-1812: - Summary: Example use of deviceready in docs is incorrect Key: CB-1812 URL: https://issues.apache.org/jira/browse/CB-1812 Project: Apache Cordova Issue Type: Bug

Re: iOS: Why does the cordova.js filename change?

2012-11-05 Thread Shazron
> I'm thinking we only update: > > CordovaLib/cordova.ios.js with the latest from cordova-js > > > > I think we could do this without the explicit step. > > Ok. > > Then for a release, run a script/Makefile target to update: > > 1. CordovaLibAppTests/www/cordova.ios.js > > > For this, we can

[jira] [Commented] (CB-1811) Previously hidden select dropdowns crashing the webview when focused upon

2012-11-05 Thread Joe Bowser (JIRA)
[ https://issues.apache.org/jira/browse/CB-1811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13490876#comment-13490876 ] Joe Bowser commented on CB-1811: Tested it on the Samsung Galaxy S2 with 4.0.4 and HTC One X

[jira] [Commented] (CB-1811) Previously hidden select dropdowns crashing the webview when focused upon

2012-11-05 Thread Joe Bowser (JIRA)
[ https://issues.apache.org/jira/browse/CB-1811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13490872#comment-13490872 ] Joe Bowser commented on CB-1811: Works on my Nexus 7 Stock, which means that this is looking

[jira] [Commented] (CB-1811) Previously hidden select dropdowns crashing the webview when focused upon

2012-11-05 Thread Joe Bowser (JIRA)
[ https://issues.apache.org/jira/browse/CB-1811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13490867#comment-13490867 ] Joe Bowser commented on CB-1811: This is what happens when I test it on my Galaxy Nexus runni

[jira] [Resolved] (CB-1801) Inflation Error preventing CordovaTest to run

2012-11-05 Thread Joe Bowser (JIRA)
[ https://issues.apache.org/jira/browse/CB-1801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser resolved CB-1801. Resolution: Fixed CordovaTest now runs and succeeds! > Inflation Error preventing CordovaTest

[jira] [Commented] (CB-1810) CordovaWebView does not work as a component without providing it a ThreadPool

2012-11-05 Thread Joe Bowser (JIRA)
[ https://issues.apache.org/jira/browse/CB-1810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13490846#comment-13490846 ] Joe Bowser commented on CB-1810: [~handyface]: http://stackoverflow.com/questions/13194537/a

Windows desktop 8: duplicate out-of-date cordova.windows8.js?

2012-11-05 Thread Marcel Kinard
I'm looking at the 2.2.0 snapshot on git-wip-us.apache.org in incubator-cordova-windows.git/windows8. There is a cordova-2.0.0.js file at the top of the tree (incubator-cordova-windows.git/windows) and a mostly similar file at framework/Template-Cordova/js/cordova.windows8.js. The former has a

[jira] [Resolved] (CB-1749) Switch BlackBerry 10 Battery to use navigator.webkitBattery

2012-11-05 Thread Gord (JIRA)
[ https://issues.apache.org/jira/browse/CB-1749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gord resolved CB-1749. -- Resolution: Fixed fixed with: https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-js.git;a=commit;h=3ae88d12133e4

Re: [Android] Can everyone run the tests?

2012-11-05 Thread Joe Bowser
Sorry, wrong thread. Obviously. The command line version of the unit tests is on the Wiki. On Mon, Nov 5, 2012 at 9:43 AM, Joe Bowser wrote: > I did send an e-mail about the cleaning of the tests with the wiki > article. Did everyone get it? > > > On Mon, Nov 5, 2012 at 9:21 AM, Andrew Griev

Re: [Android] Can everyone run the tests?

2012-11-05 Thread Joe Bowser
I did send an e-mail about the cleaning of the tests with the wiki article. Did everyone get it? On Mon, Nov 5, 2012 at 9:21 AM, Andrew Grieve wrote: > Yes, thanks Joe for pushing on this. Testing will only make things better! > > Do you think it'd be feasible to create a script that would lau

Re: [Android] CordovaWebView is broken

2012-11-05 Thread Joe Bowser
Hey I know that this kind of seems like a step back, but perhaps we should start with the refactor of DroidGap into CordovaActivity. The main obstacle that we have right now with the CordovaWebView is the fact that we have to implement everything in CordovaInterface. While we can't get rid of th

Re: [Android] Can everyone run the tests?

2012-11-05 Thread Andrew Grieve
Yes, thanks Joe for pushing on this. Testing will only make things better! Do you think it'd be feasible to create a script that would launch the tests? Eclipse is great when they fail, but to ensure they pass, command line is often nicer. The instructions on the wiki seem like they may be out of

Updating Release + Test articles on the wiki

2012-11-05 Thread Filip Maj
I think both our cutting releases [1] and our running tests [2] wiki articles need an audit. After last week's little scare with Android's CordovaWebView functionality, I'd like to see all platforms note down any special release/testing steps in these articles (compiling the "Starter" zip on WP7 c

Re: [Android] CordovaWebView is broken

2012-11-05 Thread Filip Maj
>Once the tests are fixed up, we should definitely add running them to the >list of release steps. +1

Re: iOS: Why does the cordova.js filename change?

2012-11-05 Thread Andrew Grieve
On Fri, Nov 2, 2012 at 6:20 PM, Shazron wrote: > Ok I found out its actually in two locations, it's in the > CordovaLibAppTests/www folder as well as the bin/template. > > Yeah having one location would be best -- we did have it not having the > version before though, with copying/updates based o

Re: [Android] CordovaWebView is broken

2012-11-05 Thread Andrew Grieve
Aah, I didn't realize that CordovaInterface was meant to be implemented other than by DroidGap. Sorry about that. Weird that projects would even compile without having the new method though. Once the tests are fixed up, we should definitely add running them to the list of release steps. On Fri,

[jira] [Commented] (CB-1286) Cordova 2.1 callbacks stops working after sleep/wake with jQuery Mobile + Android Transformer Pad

2012-11-05 Thread Simon MacDonald (JIRA)
[ https://issues.apache.org/jira/browse/CB-1286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13490675#comment-13490675 ] Simon MacDonald commented on CB-1286: - Cool, thanks for the investigation. Have you creat