RE: Plugman engine check and WP7/8

2013-10-23 Thread Sergey Grebnov (Akvelon)
Jira issue + fix https://issues.apache.org/jira/browse/CB-5192 https://github.com/apache/cordova-plugman/pull/29 Thx! Sergey -Original Message- From: Tim Kim [mailto:timki...@gmail.com] Sent: Thursday, October 24, 2013 12:48 AM To: dev@cordova.apache.org Subject: Re: Plugman engine check

Re: Cordova Issue Workflow

2013-10-23 Thread Andrew Grieve
Pages look great Josh! On Wed, Oct 23, 2013 at 10:36 PM, Andrew Grieve wrote: > Shoot. Just ignore that "Not" :P. > > > On Wed, Oct 23, 2013 at 8:11 PM, Josh Soref wrote: > >> On 10/22/13 10:59 AM, "Andrew Grieve" wrote: >> >You can "Resolve" an issue as "Not Fixed", or "Duplicate". >> >> Dupl

Re: Cordova Issue Workflow

2013-10-23 Thread Andrew Grieve
Shoot. Just ignore that "Not" :P. On Wed, Oct 23, 2013 at 8:11 PM, Josh Soref wrote: > On 10/22/13 10:59 AM, "Andrew Grieve" wrote: > >You can "Resolve" an issue as "Not Fixed", or "Duplicate". > > Duplicate I understand. What's Not Fixed for? > > (I'm working on integrating the input today) >

Re: Cordova Issue Workflow

2013-10-23 Thread Josh Soref
Ok, I've done a first pass on thisŠ https://wiki.apache.org/cordova/ContributorWorkflow + is now a short and fairly easy to read page - there's too much text at the bottom (tl;dr - it's about editing the Wiki XXX fix me) https://wiki.apache.org/cordova/IssueWorkflow + now focused on Issue bits -

Re: 2.9.1 Backport release

2013-10-23 Thread Shazron
iOS tracked as subtask under https://issues.apache.org/jira/browse/CB-5189 On Wed, Oct 23, 2013 at 2:55 PM, Shazron wrote: > Will integrate: > > 1. https://issues.apache.org/jira/browse/CB-4958 (Camera - iOS 7) > 2. https://issues.apache.org/jira/browse/CB-4930 (InAppBrowser - iOS 7) > 3. https

Re: Cordova Issue Workflow

2013-10-23 Thread Josh Soref
On 10/22/13 10:59 AM, "Andrew Grieve" wrote: >You can "Resolve" an issue as "Not Fixed", or "Duplicate". Duplicate I understand. What's Not Fixed for? (I'm working on integrating the input today) - This transmission (including

Re: cordova release naming -- proposal

2013-10-23 Thread Brian LeRoux
Ok, well regardless I would like to nominate Lisa to draw up a wiki page with a list of suggested release names. We'll bikeshed this yak all day and night if somebody doesn't take charge! On Wed, Oct 23, 2013 at 4:04 PM, Smith, Peter wrote: > It's hard to believe, but not everybody gets excited

RE: cordova release naming -- proposal

2013-10-23 Thread Smith, Peter
It's hard to believe, but not everybody gets excited by Canadian hockey team names. When coming up with some fun/cute release name try not to forget or accidentally alienate users outside of North America. So +1 for "Fancy Pants" (or is that also one of your hockey teams?) Peter. -Original

Re: 2.9.1 Backport release

2013-10-23 Thread Shazron
Will integrate: 1. https://issues.apache.org/jira/browse/CB-4958 (Camera - iOS 7) 2. https://issues.apache.org/jira/browse/CB-4930 (InAppBrowser - iOS 7) 3. https://issues.apache.org/jira/browse/CB-4847 (Media/Media Capture - iOS 7) 4. https://issues.apache.org/jira/browse/CB-4825 (Device Motion)

Re: Plugman engine check and WP7/8

2013-10-23 Thread Tim Kim
Howdy all, I like Carlos' suggestions in this jira ticket for dealing with Windows scripts:https://issues.apache.org/jira/browse/CB-5187 Appending a .bat or using cmd /c seem pretty easy fixes in this case. I'm +1 either way. I propose to think about 'cordova' engine settings (in default-engines.

Re: Plugman engine check and WP7/8

2013-10-23 Thread Josh Soref
On 10/23/13 2:23 PM, "Carlos Santana" wrote: >Actually just try it out and see that using spawn with "cmd" >["/c","cordova/build",... >is better option than adding the ".bat" then it covers "build.exe", >"build.bat", and "build.cmd" on windows > >if someone thinks this is bad route, please shime i

Re: cordova release naming -- proposal

2013-10-23 Thread Josh Soref
Please beware of the hazards of pasting words together... http://o.canada.com/news/vitaminwater-bottle-cap/ On 10/23/13 1:52 PM, "Ken Wallis" wrote: >?Tres Poutine? > >+1 for named releases, at least for ?marketing purposes, but with monthly >releases version numbers will still be important to m

RE: Plugman engine check and WP7/8

2013-10-23 Thread Sergey Grebnov (Akvelon)
So I suppose we should 1. remove .bat extension from other script locations to be consistent, for example 'cordova-wp8': { 'platform':'wp8', 'scriptSrc': path.join(project_dir,'cordova','version.bat') }, 2. Remove check for the file location on Windows before executing it

RE: cordova release naming -- proposal

2013-10-23 Thread Jonathan Bond-Caron
On Wed Oct 23 10:29 AM, Lisa Seacat DeLuca wrote: > * Hockey teams (probably some issues with trademarks) Love this idea :) No trademark issue as long as there's no use of logos, printing of t-shirts etc...: http://tsdr.uspto.gov/#caseNumber=74109221&caseType=SERIAL_NO&searchType=statusSea

Re: endless recursion on phonegap local plugin add ../..

2013-10-23 Thread Braden Shepherdson
Feel free to file the bug, of course. There's multiple simple workarounds (copy the example out of the directory, or put the plugin in a subdir), so it's low-priority in my mind. The plugin.xml format is evolving, and having to maintain this proposed logic every time we change the many ways to incl

Re: cordova release naming -- proposal

2013-10-23 Thread Michal Mocny
fantasía pants (spanish word for fancy) + (a road name in Sault Ste. Marie) On Wed, Oct 23, 2013 at 2:55 PM, Carlos Santana wrote: > Can at least Cordova 4.0 be "Fancy Pants" ? > > > On Wed, Oct 23, 2013 at 2:33 PM, Braden Shepherdson >wrote: > > > As long as we are still tracking mostly by th

Re: endless recursion on phonegap local plugin add ../..

2013-10-23 Thread Don Coleman
That's an interesting idea to use a subdirectory now that we support subdirs from git. I worry that it would not be standard and might confuse users. I want to make sure my plugins are easy for users to use. I appreciate that opening plugins.xml to copy files stinks, but so do errors about recursi

Re: cordova release naming -- proposal

2013-10-23 Thread Carlos Santana
Can at least Cordova 4.0 be "Fancy Pants" ? On Wed, Oct 23, 2013 at 2:33 PM, Braden Shepherdson wrote: > As long as we are still tracking mostly by the version numbers on JIRA and > so on, I'm okay with silly marketing names. Too bad these suggested schemes > don't support "Fancy Pants". > > I'm

Re: endless recursion on phonegap local plugin add ../..

2013-10-23 Thread Carlos Santana
Today you can also use cli hooks to delete the "examples" directory if present --Carlos On Wed, Oct 23, 2013 at 2:39 PM, Axel Nennker wrote: > Yes, a copy is simpler but I think that copying only the needed files > specified in plugin.xml makes a lot of sense. > Am 23.10.2013 16:42 schrieb "B

Re: endless recursion on phonegap local plugin add ../..

2013-10-23 Thread Axel Nennker
Yes, a copy is simpler but I think that copying only the needed files specified in plugin.xml makes a lot of sense. Am 23.10.2013 16:42 schrieb "Braden Shepherdson" : > The common places to fetch the plugin are over the network, from the plugin > registry or from git. Therefore the tools are expec

Re: endless recursion on phonegap local plugin add ../..

2013-10-23 Thread Braden Shepherdson
That misses the point that we'd really rather avoid the complexity of having to open the plugin.xml in order to copy a plugin. If you want to package lots of things in with the plugin, including examples, then I propose structuring it thus: .git/ docs/ examples/ plugin/ plugin.xml js/

Re: cordova release naming -- proposal

2013-10-23 Thread Braden Shepherdson
As long as we are still tracking mostly by the version numbers on JIRA and so on, I'm okay with silly marketing names. Too bad these suggested schemes don't support "Fancy Pants". I'm perfectly happy with nonsensical names; I think the AngularJS releases[1] are hilarious. (radioactive-gargle, bewi

Re: Plugman engine check and WP7/8

2013-10-23 Thread Carlos Santana
Actually just try it out and see that using spawn with "cmd" ["/c","cordova/build",... is better option than adding the ".bat" then it covers "build.exe", "build.bat", and "build.cmd" on windows if someone thinks this is bad route, please shime in this jira issue [1] [1]: https://issues.apache.or

Re: cordova release naming -- proposal

2013-10-23 Thread Michal Mocny
On Wed, Oct 23, 2013 at 1:52 PM, Shazron wrote: > I like the Spanish + Canadian thing. Or using obscure Canadian towns > like Saint-Louis-du-Ha! Ha!, QC ( > http://en.wikipedia.org/wiki/Saint-Louis-du-Ha!_Ha!) LOL > Heh, thats hilarious. I passed by "Lac Ha! Ha!" in QC this summer and thought i

Re: endless recursion on phonegap local plugin add ../..

2013-10-23 Thread Don Coleman
It would be useful for plugin.xml to exclude a directory such as examples when copying. I think examples are important, especially for 3rd party plugins and it's convenient to keep examples in the same repo as the code. On Wed, Oct 23, 2013 at 10:42 AM, Braden Shepherdson wrote: > The common pla

Re: 2.9.1 Backport release

2013-10-23 Thread purplecabbage
I made some headway but am not done with WPx. I've had to work through many js issues. I am away until Monday though and haven't had a chance to update windows8. If someone wants to look at that it would be a huge help. I expect ios7 support is going to push the release back to be inline with

Re: cordova release naming -- proposal

2013-10-23 Thread Shazron
I like the Spanish + Canadian thing. Or using obscure Canadian towns like Saint-Louis-du-Ha! Ha!, QC ( http://en.wikipedia.org/wiki/Saint-Louis-du-Ha!_Ha!) LOL On Wed, Oct 23, 2013 at 10:42 AM, Brian LeRoux wrote: > YES! We've been talking about this for years. Al and I felt racing horse > name

Re: cordova release naming -- proposal

2013-10-23 Thread Ken Wallis
‎Tres Poutine? +1 for named releases, at least for ‎marketing purposes, but with monthly releases version numbers will still be important to more easily track stuff, so we shouldn't bury version numbers. Sent from my BlackBerry 10 smartphone. Original Message From: Brian LeRoux Sent: Wednesda

Re: cordova release naming -- proposal

2013-10-23 Thread Brian LeRoux
YES! We've been talking about this for years. Al and I felt racing horse names would be fun. Or perhaps a concatenation of spanish words and popular Canadian things. Beuno Syrup is way cooler than 3.2.x On Wed, Oct 23, 2013 at 7:29 AM, Lisa Seacat DeLuca wrote: > I propose we name the cordova re

Re: Plugman engine check and WP7/8

2013-10-23 Thread Carlos Santana
Thanks Bryan for pointing out; I created a jira issue to address the "compile, emualate, run" using spawn and not addressing windows ".bat" https://issues.apache.org/jira/browse/CB-5187 I'm guessing the fix is to detect that node environment is Windows and append ".bat" to cmd for child process s

Re: WebSQL Works Fine on Android?

2013-10-23 Thread Simon MacDonald
Well window.openDatabase should work fine with no plugins on most versions of Android. Various releases like Honeycomb IIRC broke WebSQL and that is where we needed to monkey patch it. Simon Mac Donald http://hi.im/simonmacdonald On Wed, Oct 23, 2013 at 11:10 AM, Andrew Grieve wrote: > Hey Joe

WebSQL Works Fine on Android?

2013-10-23 Thread Andrew Grieve
Hey Joe, I started working on the documentation for WebSQL options on Android, and I've now found myself in the state where it seems window.openDatabase() works fine on my devices without any plugins. I swear I saw it failing before, but now I'm wondering if it was just the "can't open multiple d

Re: Plugman engine check and WP7/8

2013-10-23 Thread Bryan Higgins
I know Carlos just changed several CLI commands to use spawn. There doesn't seem to be any specific handling for Windows. https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;a=commit;h=01c7ecec7ccf4a3c1423ddf3844e125d24965025 On Wed, Oct 23, 2013 at 10:44 AM, Braden Shepherdson wrote: > I

Re: Plugman engine check and WP7/8

2013-10-23 Thread Braden Shepherdson
I thought we were shelling out that command, not trying to load the file. Then Windows would locate the version.bat file and run it, while Unixy platforms would see the version file with +x, and run it. Are we no longer going through the shell? (This should be using child_process.exec, not .spawn,

Re: endless recursion on phonegap local plugin add ../..

2013-10-23 Thread Braden Shepherdson
The common places to fetch the plugin are over the network, from the plugin registry or from git. Therefore the tools are expecting to download exactly the files that are needed by the plugin, plus or minus a README or whatever. They expect local plugins to be self-contained, in a directory by them

cordova release naming -- proposal

2013-10-23 Thread Lisa Seacat DeLuca
I propose we name the cordova releases more than just 2.x or 3.x. Something fun... suggestions: Provinces in Canada ex. Alberta Hockey teams (probably some issues with trademarks) ...other Canadian inspired terms ;) Easy Spanish words since Cordova is also a city in Spain. ex. hola, adios, bue

Re: Plugman engine check and WP7/8

2013-10-23 Thread Bryan Higgins
This issue has to do with the host system rather than platform. Android and BB10 both have version.bat files. On Wed, Oct 23, 2013 at 9:56 AM, Sergey Grebnov (Akvelon) < v-seg...@microsoft.com> wrote: > Hi, > > #1 The problem > Right now the simplest (and also the most correct IMO) way to specif

Plugman engine check and WP7/8

2013-10-23 Thread Sergey Grebnov (Akvelon)
Hi, #1 The problem Right now the simplest (and also the most correct IMO) way to specify plugin restrictions to specific cordova version is the following: plugin.xml: But in this case as per plugman engines definition (plugman/src/util/default-engines.js) plugman will always try to fi

Re: endless recursion on phonegap local plugin add ../..

2013-10-23 Thread Don Coleman
I've seen this problem with cordova. My instructions for the examples have people copy the example folder out of the project before installing the plugin as a work around. > On Oct 23, 2013, at 7:57 AM, Axel Nennker wrote: > > Hi, > > the above phonegap command fails (name to long) and I t

endless recursion on phonegap local plugin add ../..

2013-10-23 Thread Axel Nennker
Hi, the above phonegap command fails (name to long) and I think it applies to cordova as well. plugin add seems to copy the whole directory into the app's plugins directory. Which is wrong. I am developing a phonegap plugin and inside the plugin's developement folder I have a subfolder named e