Re: Revert CLI tools to using git

2013-01-07 Thread Dave Johnson
We are using other dependencies aside from git right? On Monday, January 7, 2013, Andrew Grieve wrote: > Makes perfect sense to me. We shouldn't be depending on github when our > code lives on Apache servers. git is a pretty easy dependency to install, > and I also think the versioning / tags use

Re: Slicing files on iOS and Android

2013-01-07 Thread Andrew Grieve
Right, what Becky said. It might be worth looking into having the iOS bridge take care of international characters directly instead of special-casing the FileReader. We should be able to escape characters using \u instead of percent escaping them. If you're interested in looking into this, let

Re: (CB-2164) Revert CLI tools to using git

2013-01-07 Thread Andrew Grieve
Okay, replied to the other thread before seeing this. I think this thinking is good. Start with git for now, and once everything is working well, add the option to download snapshots. On Mon, Jan 7, 2013 at 6:52 PM, Filip Maj wrote: > Fair enough. Ill slowly chip away at it.. Tomorrow. :) > >

Re: Revert CLI tools to using git

2013-01-07 Thread Andrew Grieve
Makes perfect sense to me. We shouldn't be depending on github when our code lives on Apache servers. git is a pretty easy dependency to install, and I also think the versioning / tags use-case is important. Brian, what's your concern with using git? On Mon, Jan 7, 2013 at 5:21 PM, Filip Maj wr

Re: Slicing files on iOS and Android

2013-01-07 Thread Becky Gibson
The reason for encoding on iOS was to support international characters. The response from read as text is decoded in the iOS specific version of readAsText at https://github.com/apache/cordova-js/blob/master/lib/ios/plugin/ios/FileReader.js line 65. I wouldn't suspect that the all of the mob

Re: Slicing files on iOS and Android

2013-01-07 Thread Simon MacDonald
Great, that will be a very useful addition to the File API. Simon Mac Donald http://hi.im/simonmacdonald On Mon, Jan 7, 2013 at 6:30 PM, Braden Shepherdson wrote: > I've recently been implementing support for Blob.slice() for FileReader > files (sort of). With real native File and Blob objects,

Re: (CB-2164) Revert CLI tools to using git

2013-01-07 Thread Filip Maj
Fair enough. Ill slowly chip away at it.. Tomorrow. :) On 1/7/13 3:41 PM, "Brian LeRoux" wrote: >One other thought---when we do move between versions we should be >going from /dist not from the scm. > >On Mon, Jan 7, 2013 at 3:40 PM, Brian LeRoux wrote: >> As so long as this is abstracted into

Re: (CB-2164) Revert CLI tools to using git

2013-01-07 Thread Brian LeRoux
One other thought---when we do move between versions we should be going from /dist not from the scm. On Mon, Jan 7, 2013 at 3:40 PM, Brian LeRoux wrote: > As so long as this is abstracted into a discreet module so we can > remove later I'm cool w/ it for dev purposes. Git is great for > revision

Re: (CB-2164) Revert CLI tools to using git

2013-01-07 Thread Brian LeRoux
As so long as this is abstracted into a discreet module so we can remove later I'm cool w/ it for dev purposes. Git is great for revision control but way overboard for transferring tarballs over http. When we eventually package into a stand alone binary executable (the goal) we do not want to have

Slicing files on iOS and Android

2013-01-07 Thread Braden Shepherdson
I've recently been implementing support for Blob.slice() for FileReader files (sort of). With real native File and Blob objects, they actually hold the binary data. Cordova File objects are just records passed to FileReaders. Regardless, the API for File.slice() is identical: it takes a start and o

Re: github/cordova-android is not mirroring

2013-01-07 Thread Shazron
Filed: https://issues.apache.org/jira/browse/INFRA-5737 On Mon, Jan 7, 2013 at 2:21 PM, Filip Maj wrote: > Yep go ahead and file an issue. > > On 1/7/13 12:52 PM, "Shazron" wrote: > > >Last commit was a month ago. Do I need to file an infra issue? Not sure of > >the procedure here. > >

(CB-2164) Revert CLI tools to using git

2013-01-07 Thread Filip Maj
Bringing this to the list's attention. Should we or should we not have git as a dependency for the cli tools? I implemented it with git during the 'first-pass' implementation. Removed it at Brian's request. Instead used github's convenient tag zipball url to get specific tags downloaded onto a cli

Re: github/cordova-android is not mirroring

2013-01-07 Thread Filip Maj
Yep go ahead and file an issue. On 1/7/13 12:52 PM, "Shazron" wrote: >Last commit was a month ago. Do I need to file an infra issue? Not sure of >the procedure here.

Revert CLI tools to using git

2013-01-07 Thread Filip Maj
As per below, bringing this up on the list. The CLI tools originally used git as a dependency to handle the various platform libraries. Then we reverted in an effort to reduce our dependencies. But, the CLI tools have been dysfunctional over the past month or so due to the github mirrors being wo

[jira] [Commented] (CB-2164) Revert CLI tools to using git

2013-01-07 Thread Brian LeRoux (JIRA)
[ https://issues.apache.org/jira/browse/CB-2164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13546245#comment-13546245 ] Brian LeRoux commented on CB-2164: -- Eh Fil, can we discuss on list? I really feel this is th

[jira] [Created] (CB-2164) Revert CLI tools to using git

2013-01-07 Thread Filip Maj (JIRA)
Filip Maj created CB-2164: - Summary: Revert CLI tools to using git Key: CB-2164 URL: https://issues.apache.org/jira/browse/CB-2164 Project: Apache Cordova Issue Type: Bug Components: CLI

[jira] [Commented] (CB-2102) InAppBrowser will not open PDFs on different pages

2013-01-07 Thread Shazron Abdullah (JIRA)
[ https://issues.apache.org/jira/browse/CB-2102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13546198#comment-13546198 ] Shazron Abdullah commented on CB-2102: -- I was browsing some older issues, and this "disa

[jira] [Created] (CB-2163) Version handling and upgrading in cli tools

2013-01-07 Thread Filip Maj (JIRA)
Filip Maj created CB-2163: - Summary: Version handling and upgrading in cli tools Key: CB-2163 URL: https://issues.apache.org/jira/browse/CB-2163 Project: Apache Cordova Issue Type: Bug Comp

[jira] [Created] (CB-2162) Add InAppBrowser quirk for multi-page Cordova apps

2013-01-07 Thread Shazron Abdullah (JIRA)
Shazron Abdullah created CB-2162: Summary: Add InAppBrowser quirk for multi-page Cordova apps Key: CB-2162 URL: https://issues.apache.org/jira/browse/CB-2162 Project: Apache Cordova Issue Typ

[jira] [Resolved] (CB-2062) HTML5 platform

2013-01-07 Thread Filip Maj (JIRA)
[ https://issues.apache.org/jira/browse/CB-2062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj resolved CB-2062. --- Resolution: Later While I appreciate what you are aiming for here, we have other plans to get to what you are t

[jira] [Updated] (CB-1528) Benchmarks folder for CordovaJS

2013-01-07 Thread Filip Maj (JIRA)
[ https://issues.apache.org/jira/browse/CB-1528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj updated CB-1528: -- Fix Version/s: (was: 2.3.0) 2.4.0 > Benchmarks folder for CordovaJS > -

[jira] [Resolved] (CB-1877) cordova-2.2.0.jar file does not exist

2013-01-07 Thread Filip Maj (JIRA)
[ https://issues.apache.org/jira/browse/CB-1877?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj resolved CB-1877. --- Resolution: Not A Problem The [cordova-android|http://git-wip-us.apache.org/repos/asf/cordova-android.git] REA

[jira] [Updated] (CB-1662) jake build script puts Windows carriage return in Version String on Windows

2013-01-07 Thread Filip Maj (JIRA)
[ https://issues.apache.org/jira/browse/CB-1662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj updated CB-1662: -- Fix Version/s: (was: 2.3.0) 2.4.0 Affects Version/s: 2.3.0

[jira] [Updated] (CB-1840) Deprecate sync usage of Device API call before deviceready can be fired, add async

2013-01-07 Thread Filip Maj (JIRA)
[ https://issues.apache.org/jira/browse/CB-1840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj updated CB-1840: -- Fix Version/s: (was: 2.3.0) 2.4.0 > Deprecate sync usage of Device API call before devi

[jira] [Commented] (CB-2093) NullPointerException when attaching image from Gallery that contains spaces in the path

2013-01-07 Thread David Omer (JIRA)
[ https://issues.apache.org/jira/browse/CB-2093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13546176#comment-13546176 ] David Omer commented on CB-2093: Is there any additional information I can provide to help ge

[jira] [Commented] (CB-2160) cordova_plist_to_config_xml fails inexplicably

2013-01-07 Thread Andrew Grieve (JIRA)
[ https://issues.apache.org/jira/browse/CB-2160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13546122#comment-13546122 ] Andrew Grieve commented on CB-2160: --- Hey Jesse, can you attach your Cordova.plist file?

[jira] [Assigned] (CB-2160) cordova_plist_to_config_xml fails inexplicably

2013-01-07 Thread Andrew Grieve (JIRA)
[ https://issues.apache.org/jira/browse/CB-2160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Grieve reassigned CB-2160: - Assignee: Andrew Grieve (was: Michael Brooks) > cordova_plist_to_config_xml fails inexplicably

RE: Review of Core Platforms

2013-01-07 Thread Josh Soref
Filip Maj wrote: > In the past, at some point we decided to stop supporting BB OS 5 and 4.6, > and removed those Cordova implementations. Just wanted to raise the idea > of doing something similar for OS 7 and PlayBook once those two platforms > get to the same level of usage. I believe that we're

Re: content for 2.4?

2013-01-07 Thread Michal Mocny
I'm planning to add an add an api to send binary data across the bridge, as well as to share a plugin for raw tcp/udp socket which I've been working on. On Fri, Jan 4, 2013 at 10:37 AM, Andrew Grieve wrote: > I'm planning to focus on bug fixes as well as working on support for JS > within plugi

Re: the great seperatino of concerns

2013-01-07 Thread Anis KADRI
https://github.com/imhotep/plugman On Mon, Jan 7, 2013 at 8:49 AM, Plaquette, Paul wrote: > Hi, > > I can help on this for Tizen. > > Where can I find accurate informations on that Plugman ? > > Regards, > Paul > > On Thu, Jan 3, 2013 at 10:37 PM, Filip Maj wrote: > > > > > > >This would mean

Re: the great seperatino of concerns

2013-01-07 Thread Plaquette, Paul
Hi, I can help on this for Tizen. Where can I find accurate informations on that Plugman ? Regards, Paul On Thu, Jan 3, 2013 at 10:37 PM, Filip Maj wrote: > > > >This would mean the next steps would be: > > > >- BlackBerry support for Plugman > >- Windows Phone support for Plugman > > > Jess

Re: not listed as a TLP

2013-01-07 Thread Shazron
Try: https://cms.apache.org/incubator/ On Mon, Jan 7, 2013 at 6:03 AM, Christian Grobmeier wrote: > On Mon, Jan 7, 2013 at 2:58 PM, Shazron wrote: > > We should delete that. > > no, please just update with the new locations. old files are kept, > like fe http://incubator.apache.org/projects/log

Re: not listed as a TLP

2013-01-07 Thread Christian Grobmeier
On Mon, Jan 7, 2013 at 2:58 PM, Shazron wrote: > We should delete that. no, please just update with the new locations. old files are kept, like fe http://incubator.apache.org/projects/log4php.html There is no page with the name cordova > > > On Mon, Jan 7, 2013 at 5:52 AM, Marcel Kinard wrote:

Re: not listed as a TLP

2013-01-07 Thread Shazron
We should delete that. On Mon, Jan 7, 2013 at 5:52 AM, Marcel Kinard wrote: > Oh, and the incubator page http://incubator.apache.org/** > projects/callback.htmlis > still present with stale data (ie: git repo URLs, mailing list > addresses, e

Re: not listed as a TLP

2013-01-07 Thread Shazron
Procedure: http://projects.apache.org/create.html On Mon, Jan 7, 2013 at 5:45 AM, Marcel Kinard wrote: > Cordova is not listed in any of the indexes at http://projects.apache.org/ > > It is still listed as an incubator at http://incubator.apache.org/** > projects/index.html

Re: not listed as a TLP

2013-01-07 Thread Christian Grobmeier
Cordova does not maintain a doap file... It should be there: https://svn.apache.org/repos/asf/infrastructure/site-tools/trunk/projects/files.xml Please look at: http://projects.apache.org/create.html how to create it Cheers! On Mon, Jan 7, 2013 at 2:45 PM, Marcel Kinard wrote: > Cordova is not

Re: not listed as a TLP

2013-01-07 Thread Marcel Kinard
Oh, and the incubator page http://incubator.apache.org/projects/callback.html is still present with stale data (ie: git repo URLs, mailing list addresses, etc) Part of why I was looking at this is to see if it would make sense to publish a news item on the Apache home page about 2.3 being avai

not listed as a TLP

2013-01-07 Thread Marcel Kinard
Cordova is not listed in any of the indexes at http://projects.apache.org/ It is still listed as an incubator at http://incubator.apache.org/projects/index.html Assuming this is an oversight, is there someone that could move it to the TLP list? Thanks! -- Marcel Kinard

Iframe security

2013-01-07 Thread denis.vergnes
Hi all, I would like to know your opinion about iframe support in Cordova especially on Android. I think the support of iframe can cause security issues for two reasons: -White list mechanism settled by Cordova becomes ineffective because navigation is made into iframe so the webview d

Re: Review of Core Platforms

2013-01-07 Thread Jesse
Some important criteria in my mind: - are there recent contributions, and active contributors? - is there a getting-started guide, and are quirks for existing APIs documented? - is there a jira component that people can submit defects under? Ultimately I don't see value in defining things any furt