Re: Android Plugin API

2014-05-29 Thread Joe Bowser
On Thu, May 29, 2014 at 9:26 PM, Terence M. Bandoian wrote: > Please correct me if I'm wrong but, as I understand it, the vulnerability > stems from injecting a Java object into the WebView which, in API levels 16 > and below, exposed all of the public methods of the object (small 'o') > including

Re: Android Plugin API

2014-05-29 Thread Terence M. Bandoian
Please correct me if I'm wrong but, as I understand it, the vulnerability stems from injecting a Java object into the WebView which, in API levels 16 and below, exposed all of the public methods of the object (small 'o') including the methods inherited from the Object class. -Terence Bandoian

Re: Android Plugin API

2014-05-29 Thread Andrew Grieve
Even even nicer might be to use annotations: @ExecCall private void someCall(JSONArray args, CallbackContext callbackContext) On Thu, May 29, 2014 at 4:01 PM, Joe Bowser wrote: > This plugin illustrates why applying this to the general case is a > terrible idea. Here it's catching every type

[GitHub] cordova-plugin-geolocation pull request: Update GPSListener.java

2014-05-29 Thread kalebdf
Github user kalebdf commented on the pull request: https://github.com/apache/cordova-plugin-geolocation/pull/15#issuecomment-44603398 The Apple Developer Docs do offer a few [Tips for Battery Conservation](https://developer.apple.com/library/ios/documentation/userexperience/conceptual

Header licenses

2014-05-29 Thread Shazron
Filed an issue with sub-tasks for header license issues: https://issues.apache.org/jira/browse/CB-6818

Re: HTML5DevConf Intro talk slides & interview

2014-05-29 Thread Wargo, John
You spelled BlackBerry wrong in your preso :-) John M. Wargo On May 29, 2014, at 4:37 PM, "Lisa Seacat DeLuca" mailto:ldel...@us.ibm.com>> wrote: Parashuram, you can view any github hosted reveal.js (or html for that matter) page using this tool: http://htmlpreview.github.io/ so for mine it'd

Re: Apache Cordova "Translated using Microsoft Bing Translation"...

2014-05-29 Thread Ross Gardler
Actually anyone can take any of our Apache lice see content and redistribute under any license they want as long as the original content remains under the Apache License. The ASF would not want to host that content though, we only put out Content under the Apache License. I'd be happy to try

Re: Apache Cordova "Translated using Microsoft Bing Translation"...

2014-05-29 Thread Josh Soref
Mark Thomas wrote: >I hate to rain on your parade but any restriction on how the result is >used that goes further than the (very few) restrictions in the ALv2 >means that the result it can't be licensed under the ALv2 and that will >cause problems. OK, let's assume that the problem is that we may

Re: Apache Cordova "Translated using Microsoft Bing Translation"...

2014-05-29 Thread Josh Soref
Ted Dunning wrote: > Also, if you choose to switch to a different translator at some point, it > is likely that they will use the previous translations as the base for a > translation memory even if humans are doing the translation. That counts > as the project using the text to train a translatio

Re: Apache Cordova "Translated using Microsoft Bing Translation"...

2014-05-29 Thread Ted Dunning
On Thu, May 29, 2014 at 2:15 PM, Benson Margulies wrote: > >> I hate to rain on your parade but any restriction on how the result is > >> used that goes further than the (very few) restrictions in the ALv2 > >> means that the result it can't be licensed under the ALv2 and that will > >> cause pro

[GitHub] cordova-plugin-statusbar pull request: added StatusBarStyle config...

2014-05-29 Thread shazron
Github user shazron commented on the pull request: https://github.com/apache/cordova-plugin-statusbar/pull/9#issuecomment-44592280 I didn't see you listed as someone that has already signed the Apache iCLA. We will need one before this is pulled in - see https://github.com/apache/cor

[GitHub] cordova-plugin-statusbar pull request: added StatusBarStyle config...

2014-05-29 Thread shazron
Github user shazron commented on the pull request: https://github.com/apache/cordova-plugin-statusbar/pull/9#issuecomment-44591865 CB-6783 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have thi

[GitHub] cordova-plugin-statusbar pull request: added StatusBarStyle config...

2014-05-29 Thread shazron
Github user shazron commented on the pull request: https://github.com/apache/cordova-plugin-statusbar/pull/8#issuecomment-44591476 Since you resubmitted as #9, please close this PR. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub

[GitHub] cordova-plugin-statusbar pull request: added StatusBarStyle config...

2014-05-29 Thread shazron
Github user shazron commented on the pull request: https://github.com/apache/cordova-plugin-statusbar/pull/9#issuecomment-44587513 Hmm a lot of whitespace changes - we'll let it go this time :) Reviewers: to see the diffs without whitespace changes see https://github.com/pelish8/c

Re: Apache Cordova "Translated using Microsoft Bing Translation"...

2014-05-29 Thread Benson Margulies
On Thu, May 29, 2014 at 5:08 PM, David Nalley wrote: > On Thu, May 29, 2014 at 5:05 PM, Mark Thomas wrote: >> On 29/05/2014 21:40, Lisa Seacat DeLuca wrote: >>> "Are we sure that we can use the machine translation from an IP >>> perspective? " >>> >>> Yes, I spoke to Olivier Fontana (added to the

Re: Apache Cordova "Translated using Microsoft Bing Translation"...

2014-05-29 Thread David Nalley
On Thu, May 29, 2014 at 5:05 PM, Mark Thomas wrote: > On 29/05/2014 21:40, Lisa Seacat DeLuca wrote: >> "Are we sure that we can use the machine translation from an IP >> perspective? " >> >> Yes, I spoke to Olivier Fontana (added to the CC list) who is the >> Director of Product Strategy and Mark

Re: Apache Cordova "Translated using Microsoft Bing Translation"...

2014-05-29 Thread Mark Thomas
On 29/05/2014 21:40, Lisa Seacat DeLuca wrote: > "Are we sure that we can use the machine translation from an IP > perspective? " > > Yes, I spoke to Olivier Fontana (added to the CC list) who is the > Director of Product Strategy and Marketing, Machine Translation group, > at Microsoft Research a

[GitHub] cordova-plugin-statusbar pull request: added StatusBarStyle config...

2014-05-29 Thread pelish8
GitHub user pelish8 opened a pull request: https://github.com/apache/cordova-plugin-statusbar/pull/9 added StatusBarStyle config preference added StatusBarStyle config preference You can merge this pull request into a Git repository by running: $ git pull https://github.com/pel

Re: Apache Cordova "Translated using Microsoft Bing Translation"...

2014-05-29 Thread Lisa Seacat DeLuca
"Are we sure that we can use the machine translation from an IP perspective? " Yes, I spoke to Olivier Fontana (added to the CC list) who is the Director of Product Strategy and Marketing, Machine Translation group, at Microsoft Research about whether or not there were any licensing concerns wi

RE: HTML5DevConf Intro talk slides & interview

2014-05-29 Thread Lisa Seacat DeLuca
Parashuram, you can view any github hosted reveal.js (or html for that matter) page using this tool: http://htmlpreview.github.io/ so for mine it'd be: http://htmlpreview.github.io/?https://github.com/ldeluca/slides/blob/master/HTML5DevConf2014/index.html Takes a second for the css and js to ge

Re: Apache Cordova "Translated using Microsoft Bing Translation"...

2014-05-29 Thread David Nalley
On Thu, May 29, 2014 at 1:44 PM, Lisa Seacat DeLuca wrote: > Cordova/Apache Team~ > > As many of you are aware, we are using Crowdin to translate our > documentation into multiple languages. When we are nearly 100% translated > we utilize some machine translation within the crowdin tool to finis

Re: iOS emulate targets

2014-05-29 Thread Shazron
Hi, I help maintain ios-sim. Correct, the latest 64bit support has not been published on npm. Filed an issue: https://github.com/phonegap/ios-sim/issues/89 I also filed the Cordova issue: https://issues.apache.org/jira/browse/CB-6782 Shaz On Thu, May 29, 2014 at 7:46 AM, Paul Devine wrote: > H

Re: Android Plugin API

2014-05-29 Thread Joe Bowser
This plugin illustrates why applying this to the general case is a terrible idea. Here it's catching every type of exception, which is correct since we don't know whether we're running on a device that passes CTS. However, for example, if there's a permissions problem, or a problem with the GPS b

RE: HTML5DevConf Intro talk slides & interview

2014-05-29 Thread Parashuram Narasimhan (MS OPEN TECH)
@Lisa, would be great if you could publish the web version on gh-pages so that the slides can also be viewed online too. From: Lisa Seacat DeLuca [mailto:ldel...@us.ibm.com] Sent: Thursday, May 29, 2014 10:21 AM To: dev@cordova.apache.org Subject: Re: HTML5DevConf Intro talk slides & interview O

Release Notes

2014-05-29 Thread Shazron
This was here before the upgrade, but I'm wondering if we can use it for release blog posts (maybe just a link to it) - it's not divided by component however, even has HTML output for copy and paste. This of course requires issue resolution to have the right "Fix Version". https://issues.apache.or

Re: [Blackberry10] cordova emulate blackberry10 command fails

2014-05-29 Thread Josh Soref
Jesse wrote: > You should be able to do everything from node 0.10 again, the 0.11 > requirement was removed from coho. > > What version of node does BB require? I wasn't aware of any particularly strict requirement on our part.

Re: Android Plugin API

2014-05-29 Thread Jesse
I am with Joe, this is too big and breaking of a change for a small semantic win. Another approach might be to define an execute method in a plugin ( pick one ) and have it self reflect, and call it's own exposed methods. @Override public boolean execute(String action, JSONArray args, Callbac

Re: Apache Cordova "Translated using Microsoft Bing Translation"...

2014-05-29 Thread Josh Soref
Shane Curcuru wrote: >(note the mixed public/private mailing lists) > >We have a draft document that I'd like to get comments on and make final >in general (it should be close) that describes expected practices in >this area: > > http://www.apache.org/foundation/marks/linking > >I'd love comments

Re: Android Plugin API

2014-05-29 Thread Michal Mocny
Erik, I think it should be possible leave the platform plugin interface as-is, and publish a plugin that does nothing but implement reflection-based-execute. Then, plugin authors can opt to use that as a base class for plugin development. I hesitate to give opinions on this topic, except to say

[NEWS] Visual Studio native support for Cordova

2014-05-29 Thread Igor Costa
I'm very happy with the huge support from Microsoft with Cordova. http://msdn.microsoft.com/en-us/vstudio/dn722381 Igor Costa www.igorcosta.com www.igorcosta.org

Re: HTML5DevConf Intro talk slides & interview

2014-05-29 Thread Igor Costa
Lisa, any time you want, let me know to help you. I have collect some info regarding this. Igor Costa www.igorcosta.com www.igorcosta.org On Thu, May 29, 2014 at 2:20 PM, Lisa Seacat DeLuca wrote: > Of course Michal... my slides are pulled from others as well (Ste

Re: [Blackberry10] cordova emulate blackberry10 command fails

2014-05-29 Thread Martin Gonzalez
Yes, I'm using again the stable version of nodejs. Cordova Blackberry 10, requires a version > 0.9.9 It's working fine with nodejs 0.10.28 2014-05-29 14:13 GMT-05:00 Jesse : > You should be able to do everything from node 0.10 again, the 0.11 > requirement was removed from coho. > > What versi

Re: Apache Cordova "Translated using Microsoft Bing Translation"...

2014-05-29 Thread Igor Costa
That's sound fair. I don't really have any objections. That's a good idea using a translator, but the only concern is trademarks approves. In Flex, we have to donate to project singing a document for it, I guess this is should be same procedure to this case. Igor C

Re: Android Plugin API

2014-05-29 Thread Joe Bowser
On Thu, May 29, 2014 at 11:46 AM, Erik Jan de Wit wrote: > >> What is the benefit of using this logic? I personally don't see any >> benefit, since this makes our code more complex. > > It would benefit the users as they don’t have to implement this boilerplate > code of dispatching based on the

Re: [Blackberry10] cordova emulate blackberry10 command fails

2014-05-29 Thread Jesse
You should be able to do everything from node 0.10 again, the 0.11 requirement was removed from coho. What version of node does BB require? @purplecabbage risingj.com On Thu, May 29, 2014 at 12:07 PM, Martin Gonzalez < martin.c.glez.g...@gmail.com> wrote: > Well I found the problem, it's reall

[GitHub] cordova-cli pull request: CB-6767 Allow `cordova` to be replacable

2014-05-29 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/cordova-cli/pull/179 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is

Re: [Blackberry10] cordova emulate blackberry10 command fails

2014-05-29 Thread Martin Gonzalez
Well I found the problem, it's really strange, but it makes sense. The problem is the nodist usage ( nodejs version manager for Windows), which is similar to nvm or n for Mac OS and Linux. Well the childprocess module, using that application it was failing only when 'cordova emulate blackberry10',

[GitHub] cordova-lib pull request: CB-6767 Allow `cordova` to be replaceabl...

2014-05-29 Thread kamrik
Github user kamrik commented on the pull request: https://github.com/apache/cordova-lib/pull/20#issuecomment-44569514 I'm definitely not suggesting to do that right now, it would be a pretty large change. Was just sharing some thoughts because it's related. LGTM. Merging. --

[GitHub] cordova-lib pull request: CB-6767 Allow `cordova` to be replaceabl...

2014-05-29 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/cordova-lib/pull/20 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is

[GitHub] cordova-lib pull request: CB-5421 fix windows8 test

2014-05-29 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/cordova-lib/pull/8 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is e

Re: Android Plugin API

2014-05-29 Thread Erik Jan de Wit
> What is the benefit of using this logic? I personally don't see any > benefit, since this makes our code more complex. It would benefit the users as they don’t have to implement this boilerplate code of dispatching based on the string. And this logic will be then on the android side where it

Re: Android Plugin API

2014-05-29 Thread Erik Jan de Wit
I could build a little prototype that shows what I’m talking about, how does that sound?

Re: Apache Cordova "Translated using Microsoft Bing Translation"...

2014-05-29 Thread Shane Curcuru
(note the mixed public/private mailing lists) We have a draft document that I'd like to get comments on and make final in general (it should be close) that describes expected practices in this area: http://www.apache.org/foundation/marks/linking I'd love comments on the clarity of the expl

[GitHub] cordova-plugin-file-transfer pull request: CB-6781: plugin file-tr...

2014-05-29 Thread AxelNennker
GitHub user AxelNennker opened a pull request: https://github.com/apache/cordova-plugin-file-transfer/pull/30 CB-6781: plugin file-transfer: add exception info to error object https://issues.apache.org/jira/browse/CB-6781 You can merge this pull request into a Git repository by run

[GitHub] cordova-lib pull request: CB-6767 Allow `cordova` to be replaceabl...

2014-05-29 Thread jsoref
Github user jsoref commented on the pull request: https://github.com/apache/cordova-lib/pull/20#issuecomment-44566880 I don't really want to do that right now. One reason I want to do it this way instead of that way is that various pieces of code will do require(), and I want

Apache Cordova "Translated using Microsoft Bing Translation"...

2014-05-29 Thread Lisa Seacat DeLuca
Cordova/Apache Team~ As many of you are aware, we are using Crowdin to translate our documentation into multiple languages. When we are nearly 100% translated we utilize some machine translation within the crowdin tool to finish off the translations. Currently we are using the free level with

[GitHub] cordova-mobile-spec pull request: CB-6780 Removed space from platf...

2014-05-29 Thread stacic
GitHub user stacic opened a pull request: https://github.com/apache/cordova-mobile-spec/pull/65 CB-6780 Removed space from platform_layout for wp8 You can merge this pull request into a Git repository by running: $ git pull https://github.com/stacic/cordova-mobile-spec CB-6780

Re: Achitecture switch to build/run/emulate commands

2014-05-29 Thread Ian Clelland
I've been looking at this specifically for Android with the Crosswalk webview. We'd like to be able to build Intel / ARM 32- and 64-bit versions with Cordova, but we have to handle two big issues: 1. We can already build multi-arch packages, but the Crosswalk library quickly exceeds the 50MB Play

Re: HTML5DevConf Intro talk slides & interview

2014-05-29 Thread Lisa Seacat DeLuca
Of course Michal... my slides are pulled from others as well (Steve Gill, Brian LeRoux, Marcel Kinard). No attribution to me necessary. Glad you liked them! Igor, that's a good idea re:frameworks.cordova.io Lisa Lisa Seacat DeLuca Mobile Engineer | t: +415.787.4589 | ldel...@apache.org | |

[GitHub] cordova-lib pull request: CB-6767 Allow `cordova` to be replaceabl...

2014-05-29 Thread kamrik
Github user kamrik commented on the pull request: https://github.com/apache/cordova-lib/pull/20#issuecomment-44544621 Looks good. One nit: please use 4 space tabs in cordova-lib.js, for consistency with most of the other js files in the project. On a general note, this goes pa

iOS emulate targets

2014-05-29 Thread Paul Devine
Hello I am a developer on the Visual Studio Multi-Device Hybrid Apps project. We have some known bugs around the iOS targets a user can emulate their app in the iOS Simulator. From what I can tell, within the last couple of months ios-sim has added support for 64 bit targets and fixed iPad Re

Re: HTML5DevConf Intro talk slides & interview

2014-05-29 Thread Michal Mocny
Lisa, I love the slide deck, one of the best yet! Thanks for sharing! Feedback: I think think the slide on 2.0 vs 3.0 could do with some more clarity, though I guess its inherently hard to capture in one picture. Besides that, the pitch was perfect. Do you mind if we use some of your slides fo

Re: documentation for committing / cordova

2014-05-29 Thread Michal Mocny
At the bottom there is a link for processing PR: https://github.com/apache/cordova-coho/blob/master/docs/committer-workflow.md#processing-pull-requests On Thu, May 29, 2014 at 10:17 AM, Josh Soref wrote: > Andrew wrote: > > It's linked to off of here: > > > https://github.com/apache/cordova-co

documentation for committing / cordova

2014-05-29 Thread Josh Soref
Andrew wrote: > It's linked to off of here: >https://github.com/apache/cordova-coho/blob/master/docs/committer-workflow >.md >In my mind, that's the "welcome packet". https://github.com/apache/cordova-coho/blob/master/docs/committer-workflow. md#step-7-push-your-change Only covers "merging your o

Re: Unknown "committer"

2014-05-29 Thread Andrew Grieve
On Wed, May 28, 2014 at 8:55 PM, Josh Soref wrote: > Shazron wrote: > >https://git-wip-us.apache.org/repos/asf?p=cordova-blackberry.git;a=commit > ; > >h=b128ad7c6dcf0061c8616ba3e145c07faeaa8e02 > > > >Rowell Cruz, from BlackBerry. He has a listed CLA but is definitely not an > >Apache Cordova co

Re: Android Plugin API

2014-05-29 Thread Joe Bowser
On Thu, May 29, 2014 at 1:25 AM, Erik Jan de Wit wrote: > > On 28 May,2014, at 22:07 , Shazron wrote: > >> https://github.com/apache/cordova-ios/blob/50ca482c8e861c1aa480dadba726b1abbacbc0e1/CordovaLib/Classes/CDVCommandQueue.m#L193-L198 > > Right thanks, that is how I expected it to work, so why

[GitHub] cordova-firefoxos pull request: CB-5816 FirefoxOS - add build scri...

2014-05-29 Thread Steckelfisch
Github user Steckelfisch commented on the pull request: https://github.com/apache/cordova-firefoxos/pull/7#issuecomment-44518248 Oh. bugger. missed that. I'm bussy coming two weeks, but will fix it. --- If your project is set up for it, you can reply to this email and have your re

Re: Android Plugin API

2014-05-29 Thread Erik Jan de Wit
On 28 May,2014, at 22:07 , Shazron wrote: > https://github.com/apache/cordova-ios/blob/50ca482c8e861c1aa480dadba726b1abbacbc0e1/CordovaLib/Classes/CDVCommandQueue.m#L193-L198 Right thanks, that is how I expected it to work, so why not use the same logic in Android as on iOS? In Java one can al