plugman install.js:68 crash engine==null

2013-12-10 Thread Axel.Nennker
Hi, I filed this new issue: https://issues.apache.org/jira/browse/CB-5605 cheers Axel CB-5605: My app uses two custom plugins. I want to add firefoxos as a platform. When I issue a cordova platform add firefoxos install.js:68 fails with the message "Cannot access currentVersion of null" I gues

Re: Review request for CB-5579

2013-12-10 Thread Andrew Grieve
Thanks for the added explanation. I've merged in your change and closed the JIRA issue. On Mon, Dec 9, 2013 at 10:22 PM, Leyonh wrote: > I have just signed and submitted CLA to secret...@apache.org. > > @Shazron I have already included the pull request in JIRA ticket CB-5579. > Will you get not

Benchmark comparison of classic webview and Chromium webview

2013-12-10 Thread Marcel Kinard
I thought this would be of interest to the Android folks here. https://www.timroes.de/2013/11/23/old-webview-vs-chromium-webview/

Apache Cordova 3 Programming

2013-12-10 Thread John Wargo
Just in case anyone is interested, Apache Cordova 3 Programming went on sale at InformIT.com yesterday. Here's a link to order: http://www.informit.com/store/apache-cordova-3-programming-9780321957368. It's supposed to be on sale on Amazon by the end of the week as well; I'll post a link when

Re: Review Request 16099: Pass cli args to hooks, fix hooker.spec on windows.

2013-12-10 Thread Michal Mocny
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/16099/#review30102 --- Ship it! Looks good. Want to email me a format-patch so I have aut

File plugin threading on iOS

2013-12-10 Thread Michael Gauthier
When using the File plugin on iOS I get a lot of "THREAD WARNING Plugin should use a background thread" messages. Is the iOS plugin actually using blocking filesystem calls internally? Cheers, Mike

Re: Transitioning to a better File API implementation

2013-12-10 Thread Michael Gauthier
Ian, With the new URLs will it be possible to write to both /Documents and /Library for iOS apps? In the old version, the filesystem root resolved as /Documents but it was possible to get to /Library by navigating the the parent dir. Cheers, Mike On 2013-11-15 15:19, Ian Clelland wrote: O

Re: File plugin threading on iOS

2013-12-10 Thread Ian Clelland
Unfortunately, except in a few cases (accessing asset-library urls and actually reading and writing files) it is blocking. Creating, finding, deleting and renaming regular files are all currently synchronous operations on iOS. Reading and writing contents are async, and shouldn't block anything.

Pull request: fix ubuntu platform for ia32

2013-12-10 Thread David Barth
See https://github.com/apache/cordova-cli/pull/111 I think it's important to fix for 3.3.0-rc1 Thanks David

3.3.0 Release

2013-12-10 Thread Steven Gill
Lets start the final round of tagging today! https://issues.apache.org/jira/browse/CB-5538

Re: 3.3.0 Release

2013-12-10 Thread Joe Bowser
SGTM! On Tue, Dec 10, 2013 at 10:37 AM, Steven Gill wrote: > Lets start the final round of tagging today! > https://issues.apache.org/jira/browse/CB-5538

Re: Transitioning to a better File API implementation

2013-12-10 Thread Ian Clelland
If you could do that before, it was probably a bug :) (You shouldn't be able to use getParent on the filesystem root, and the native code was supposed to be checking for the correct path prefix before allowing access to any files on the device) At the moment, it's not possible to do that -- the fi

Re: Review Request 16099: Pass cli args to hooks, fix hooker.spec on windows.

2013-12-10 Thread Michal Mocny
Alright, pushed. You can mark the issues resolved. On Tue, Dec 10, 2013 at 11:19 AM, Michal Mocny wrote: >This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/16099/ > > Ship it! > > Looks good. Want to email me a format-patch so I have author informa

Re: Pull request: fix ubuntu platform for ia32

2013-12-10 Thread Steven Gill
Merged in. You can close the pull request. On Tue, Dec 10, 2013 at 9:21 AM, David Barth wrote: > See https://github.com/apache/cordova-cli/pull/111 > > I think it's important to fix for 3.3.0-rc1 > > Thanks > > David >

Versioned plugin dependencies

2013-12-10 Thread Ian Clelland
Do we have a way to specify, in plugin.xml, that a plugin depends on a given (minimum) version of another plugin? I was sure that we did, but I can't find any documentation, code, or tests for it, so I may have been hallucinating when I heard about it. It's relevant for file-transfer now; I think

Using cordova in web workers

2013-12-10 Thread Michael Gauthier
Is it possible to use cordova inside a web worker? I tried importing the cordova script but it makes reference to 'window' which is forbidden in web-worker context. It would be useful to be able to call cordova functions from within a web worker. Cheers, Mike

Re: Transitioning to a better File API implementation

2013-12-10 Thread Michael Gauthier
Hmm.. The two directories have different defined roles on iOS and both are normal targets for applications to read/write files. Library is for cache data or app-specific resources. Documents is for saving/loading actual things created by users within apps. See https://developer.apple.com/libr

Re: Versioned plugin dependencies

2013-12-10 Thread Braden Shepherdson
I think this has been much discussed, but I'm not aware of it actually being implemented. Braden On Tue, Dec 10, 2013 at 11:14 AM, Ian Clelland wrote: > Do we have a way to specify, in plugin.xml, that a plugin depends on a > given (minimum) version of another plugin? > > I was sure that we did

Re: Transitioning to a better File API implementation

2013-12-10 Thread Ian Clelland
Yep. I think that Library is the more natural place for the HTML persistent filesystem, since it's used by an app for whatever persistent storage it needs, without exposing all of it's implementation details to the user. (There's lots of room for debate on this, I'm sure) The trouble is that we'v

Re: Transitioning to a better File API implementation

2013-12-10 Thread Michael Gauthier
On 10/12/13 05:02 PM, Ian Clelland wrote: Yep. I think that Library is the more natural place for the HTML persistent filesystem, since it's used by an app for whatever persistent storage it needs, without exposing all of it's implementation details to the user. (There's lots of room for debate

Re: File plugin threading on iOS

2013-12-10 Thread Michael Gauthier
I quickly updated the File plugin to do the local file uri stuff in resolveLocalFileSystemURI in the background using [self.commandDelegate runInBackground:^{}]. It works and allows my app interface to respond while the FS calls are resolving. Is this approach crazy or obviously broken in some

Re: Versioned plugin dependencies

2013-12-10 Thread Steven Gill
Same boat as Braden. Not sure if it has been implemented yet. On Tue, Dec 10, 2013 at 12:48 PM, Braden Shepherdson wrote: > I think this has been much discussed, but I'm not aware of it actually > being implemented. > > Braden > > > On Tue, Dec 10, 2013 at 11:14 AM, Ian Clelland >wrote: > > > D

Re: Versioned plugin dependencies

2013-12-10 Thread Anis KADRI
On Tue, Dec 10, 2013 at 1:45 PM, Steven Gill wrote: > Same boat as Braden. Not sure if it has been implemented yet. > > > On Tue, Dec 10, 2013 at 12:48 PM, Braden Shepherdson >wrote: > > > I think this has been much discussed, but I'm not aware of it actually > > being implemented. > > > > Br

Re: CB-876 docs generator / hastings

2013-12-10 Thread Michael Brooks
Hey Josh, It's great to know that you're interested in helping out on the documentation update! Indeed, the old Ruby generator has served us well but it's dated and becoming a hindrance to our productivity. A straight rewrite in node is not how I want to approach. Programming languages come and g

Re: Transitioning to a better File API implementation

2013-12-10 Thread Ian Clelland
On Tue, Dec 10, 2013 at 4:37 PM, Michael Gauthier wrote: > On 10/12/13 05:02 PM, Ian Clelland wrote: > >> Yep. >> >> I think that Library is the more natural place for the HTML persistent >> filesystem, since it's used by an app for whatever persistent storage it >> needs, without exposing all of

Re: Versioned plugin dependencies

2013-12-10 Thread Anis KADRI
and yeah it's not documented and it's registry only. no git, local etc... On Tue, Dec 10, 2013 at 1:57 PM, Anis KADRI wrote: > > > > On Tue, Dec 10, 2013 at 1:45 PM, Steven Gill wrote: > >> Same boat as Braden. Not sure if it has been implemented yet. >> >> >> On Tue, Dec 10, 2013 at 12:48 PM,

Re: Versioned plugin dependencies

2013-12-10 Thread Ian Clelland
Anis -- does that work, or is it just the syntax that we'd like? And does it follow semver -- can I specify "1" to mean "at least major version 1" On Tue, Dec 10, 2013 at 4:57 PM, Anis KADRI wrote: > > > > On Tue, Dec 10, 2013 at 1:45 PM, Steven Gill > wrote: > > > Same boat as Braden. Not s

Re: File plugin threading on iOS

2013-12-10 Thread Ian Clelland
On Tue, Dec 10, 2013 at 4:40 PM, Michael Gauthier wrote: > I quickly updated the File plugin to do the local file uri stuff in > resolveLocalFileSystemURI in the background using [self.commandDelegate > runInBackground:^{}]. > Dev or master? > > It works and allows my app interface to respond w

Re: Windows 8 (not Phone 8) - native plugin support

2013-12-10 Thread Daniel Toplak
I think, the windows phone 8 codebase is a good point to start porting because most of this will be reusable. I think I will start at the end of December or in the begining of January if I had enough time for this. Mit freundlichen Grüßen / Best regards *Daniel Toplak* Am 10.12.2013 01:34, sc

RELEASENOTES.md and coho

2013-12-10 Thread Joe Bowser
Hey How are the RELEASENOTES.md get authored? Where do the author counts come from? I could do this by hand, but this doesn't look like they were. Is this documented anywhere? Joe

Re: RELEASENOTES.md and coho

2013-12-10 Thread Steven Gill
Hey Joe, Check out Documentation to Update section at http://wiki.apache.org/cordova/CuttingReleases Pretty much git log --pretty=format:'* %s' --topo-order --no-merges origin/RELEASE_BRANCH..master >> RELEASENOTES.md On Tue, Dec 10, 2013 at 2:15 PM, Joe Bowser wrote: > Hey > > How are th

Re: RELEASENOTES.md and coho

2013-12-10 Thread Joe Bowser
OK, I'm filing a ticket because THIS should be automated. This is way trickier than just tagging something. On Tue, Dec 10, 2013 at 2:31 PM, Steven Gill wrote: > Hey Joe, > > Check out Documentation to Update section at > http://wiki.apache.org/cordova/CuttingReleases > > Pretty much > > git log

Re: RELEASENOTES.md and coho

2013-12-10 Thread Steven Gill
It can be automated, but the output should be manually looked over to remove commits that don't need to be in the release notes and blog posts On Tue, Dec 10, 2013 at 2:45 PM, Joe Bowser wrote: > OK, I'm filing a ticket because THIS should be automated. This is way > trickier than just tagging

Re: RELEASENOTES.md and coho

2013-12-10 Thread Joe Bowser
Honestly, I would rather have the log have all the commits but still exist as opposed to not existing, which is what happened with 3.2.0. I think that having this RELEASENOTES.md file slows down the release process a LOT and there's very little gain except for people who can't read a git log. On T

Re: Versioned plugin dependencies

2013-12-10 Thread Anis KADRI
It should work (including with semver semantics). On Tue, Dec 10, 2013 at 1:59 PM, Ian Clelland wrote: > Anis -- does that work, or is it just the syntax that we'd like? > > And does it follow semver -- can I specify "1" to mean "at least major > version 1" > > > On Tue, Dec 10, 2013 at 4:57 PM,

[Android] The READ_PHONE_STATE permission

2013-12-10 Thread Joe Bowser
Hey After working on CB-5504 and moving the Telephony code to App, I think that we should try and figure out how we should use this permission. I personally want to add this permission to the Media plugin since it's the one that actually needs to know the state, but I'm guessing that other plugins

Re: RELEASENOTES.md and coho

2013-12-10 Thread Brian LeRoux
I'm -1 on duplication of git log in a text file too. Unnecessary cruft. On Dec 11, 2013 9:03 AM, "Joe Bowser" wrote: > Honestly, I would rather have the log have all the commits but still > exist as opposed to not existing, which is what happened with 3.2.0. > I think that having this RELEASENOTE

Re: Using cordova in web workers

2013-12-10 Thread Andrew Grieve
It could be made to work, but would certainly require some effort. On Tue, Dec 10, 2013 at 2:32 PM, Michael Gauthier wrote: > Is it possible to use cordova inside a web worker? I tried importing the > cordova script but it makes reference to 'window' which is forbidden in > web-worker context. >

Re: [Android] The READ_PHONE_STATE permission

2013-12-10 Thread Andrew Grieve
I think on-by-default on media, but also documented in the media plugin's readme why it has it. On Tue, Dec 10, 2013 at 7:23 PM, Joe Bowser wrote: > Hey > > After working on CB-5504 and moving the Telephony code to App, I think > that we should try and figure out how we should use this permissi

review request for cordova-js gruntfile refactor

2013-12-10 Thread Brian LeRoux
https://github.com/apache/cordova-js/pull/61 In my quest to add the browser platform I got a little sidetracked cleaning up the gruntfile. Please have a look. The _btest fails currently but I think I want to move to phantom anyhow. Otherwise everything is identical.

Re: Using cordova in web workers

2013-12-10 Thread Brian LeRoux
I'm getting into a refactor of cordova.js and will keep this in mind while I'm in there. Like Andrew says things are somewhat coupled at the moment but that doesn't mean it has to be. On Wed, Dec 11, 2013 at 12:17 PM, Andrew Grieve wrote: > It could be made to work, but would certainly require s

Re: mocking in cordova.js

2013-12-10 Thread Brian LeRoux
Cool, if you don't mind reviewing my gruntfile refactor Andrew I'll tackle this next. On Tue, Dec 10, 2013 at 1:54 PM, Andrew Grieve wrote: > I'd be fine with PhantomJS. I had to not add a unit test to urlutil that I > wanted to because jsdom didn't emulate things quite right. > > > On Mon, Dec

Re: Benchmark comparison of classic webview and Chromium webview

2013-12-10 Thread Brian LeRoux
such good news =) On Wed, Dec 11, 2013 at 1:17 AM, Marcel Kinard wrote: > I thought this would be of interest to the Android folks here. > > https://www.timroes.de/2013/11/23/old-webview-vs-chromium-webview/ > > >