RE: audit of configuration

2013-11-15 Thread Jonathan Bond-Caron
On Thu Nov 14 06:12 PM, Josh Soref wrote: I've converted that into a wiki page: https://wiki.apache.org/cordova/ConfigurationFiles - Awesome, thanks for this. You should add: $PROJECT/platforms/platform/www/cordova_plugins.js

Re: plugins tag, and accessing the plugin list

2013-11-15 Thread Marcel Kinard
So does this mean that it would look something like this (in the case of the device plugin on android)? feature name=Device param name=android-package value=org.apache.cordova.device.Device/ param name=feature-id value=org.apache.cordova.device/

Re: audit of configuration

2013-11-15 Thread Andrew Grieve
On Thu, Nov 14, 2013 at 9:33 PM, Michal Mocny mmo...@chromium.org wrote: plugin.xml is where *plugin authors* define metadata. A user shouldn't be looking there at all, unless for curiosity, and certainly not making edits unless they are taking over the role of plugin author. And

Re: audit of configuration

2013-11-15 Thread Marcel Kinard
Josh, indeed, thanks for all the improvements you've been making to the wiki. It helps all of us. On Nov 15, 2013, at 7:59 AM, Jonathan Bond-Caron jbo...@gdesolutions.com wrote: On Thu Nov 14 06:12 PM, Josh Soref wrote: I've converted that into a wiki page:

Re: audit of configuration

2013-11-15 Thread Josh Soref
Jonathan wrote:   You should add: I'll add it to the wiki if no one beats me to it. Please feel free to edit this page or any other. If you don't have the wiki edit bit, just send an email here with your account name and someone will give you the bit.   Another use case to consider for more

Transitioning to a better File API implementation

2013-11-15 Thread Ian Clelland
After working with the File plugin for a week or so, I've gotten it more or less where I want it to be on iOS, and am working through Android. Looking at the end result, though, I expect that over 90% of the code has been touched in some way. (It's a huge diff.) I'd rather not simply dump this in

Re: Transitioning to a better File API implementation

2013-11-15 Thread Marcel Kinard
Ian, will there be changes that app developers will need to do? If so, those should be clearly documented in a migration guide. If not, it sounds like the [improved] tests should pass on both the old and new versions, which would be sweet. Is there work which needs to be done on the other

Re: plugins tag, and accessing the plugin list

2013-11-15 Thread Andrew Grieve
I think the thing that irks me about the proposal to fiddle with features, is that right now plugins put them in config-file tags. With these tags: - You can specify any target that's an xml file - You can specify any xpath in the parent attribute - plugman will splice in your XML into the target

Re: audit of configuration

2013-11-15 Thread Andrew Grieve
On Fri, Nov 15, 2013 at 9:28 AM, Josh Soref jso...@blackberry.com wrote: Jonathan wrote: You should add: I'll add it to the wiki if no one beats me to it. Please feel free to edit this page or any other. If you don't have the wiki edit bit, just send an email here with your account name

Re: Transitioning to a better File API implementation

2013-11-15 Thread Andrew Grieve
Plan sounds well thought-out! On Fri, Nov 15, 2013 at 10:03 AM, Marcel Kinard cmarc...@gmail.com wrote: Ian, will there be changes that app developers will need to do? If so, those should be clearly documented in a migration guide. If not, it sounds like the [improved] tests should pass on

Re: engine elements in plugin.xml

2013-11-15 Thread Braden Shepherdson
Mentioning the platforms in the engine tags allows restricting the versions of platforms, which isn't possibly on platform tags. Braden On Thu, Nov 14, 2013 at 8:36 PM, Qi LUO l...@polyvi.com wrote: ‘or’ should work better for cordova-based engines. ‘and’ works for engines of cordova family,

Re: Transitioning to a better File API implementation

2013-11-15 Thread Ian Clelland
On Fri, Nov 15, 2013 at 10:03 AM, Marcel Kinard cmarc...@gmail.com wrote: Ian, will there be changes that app developers will need to do? If so, those should be clearly documented in a migration guide. If not, it sounds like the [improved] tests should pass on both the old and new versions,

RE: audit of configuration

2013-11-15 Thread Jonathan Bond-Caron
On Fri Nov 15 09:28 AM, Josh Soref wrote: Jonathan wrote: You should add: I'll add it to the wiki if no one beats me to it. Please feel free to edit this page or any other. If you don't have the wiki edit bit, just send an email here with your account name and someone will give you the

Re: audit of configuration

2013-11-15 Thread Andrew Grieve
Added jbondc to https://wiki.apache.org/cordova/ContributorsGroup. You should have wiki edit access now. On Fri, Nov 15, 2013 at 11:10 AM, Jonathan Bond-Caron jbo...@gdesolutions.com wrote: On Fri Nov 15 09:28 AM, Josh Soref wrote: Jonathan wrote: You should add: I'll add it to the

Re: plugins tag, and accessing the plugin list

2013-11-15 Thread Braden Shepherdson
Looking back over all of this discussion, we have a growing trend of dissatisfaction with the current config file setup. We've talked in the past about moving to JSON format, Andrew is suggesting above replacing 99% of config-file uses with specialized tags to inject permissions and features, my

Version and Id is not set correctly in Windows 8 package.appxmanifest

2013-11-15 Thread Maxime LUCE
Hi, When using CLI with Windows 8 Platform : 1. Cordova default version string is not compatible with Windows 8 one (0.0.0 vs 0.0.0.0) so add a .0 automatically. 2. In package.appxmanifest, Application.id must be a safe name, which is not actually, we can use packageName (which is safe) or

Re: Transitioning to a better File API implementation

2013-11-15 Thread Ian Clelland
I've created CB-5403 as the über-ticket for this; various bits of it are in subtasks. Once I have the tests and the JS updated, then platform owners can take a look and see whether they have anything to do to support their own schemes. As general guidelines, I would say: * If you can intercept

Re: plugins tag, and accessing the plugin list

2013-11-15 Thread Andrew Grieve
That sounds good to me. On Fri, Nov 15, 2013 at 11:29 AM, Braden Shepherdson bra...@chromium.orgwrote: Looking back over all of this discussion, we have a growing trend of dissatisfaction with the current config file setup. We've talked in the past about moving to JSON format, Andrew is

Re: plugins tag, and accessing the plugin list

2013-11-15 Thread Carlos Santana
+1 Yep I agree this way users can get list of plugins installed from javascript pretty easy on all platforms from a web resource (i.e. cordova_plugins.js ) On Fri, Nov 15, 2013 at 11:50 AM, Andrew Grieve agri...@chromium.orgwrote: That sounds good to me. On Fri, Nov 15, 2013 at 11:29 AM,

Re: plugins tag, and accessing the plugin list

2013-11-15 Thread Anis KADRI
+1 On Fri, Nov 15, 2013 at 8:52 AM, Carlos Santana csantan...@gmail.com wrote: +1 Yep I agree this way users can get list of plugins installed from javascript pretty easy on all platforms from a web resource (i.e. cordova_plugins.js ) On Fri, Nov 15, 2013 at 11:50 AM, Andrew Grieve

3.2 doc translation --- pulling now

2013-11-15 Thread Lisa Seacat DeLuca
I'm doing a pull request now of everything under the master branch to push into the crowdin translation services. If anyone has any objections speak now... Lisa

Re: 3.2 doc translation --- pulling now

2013-11-15 Thread Michael Brooks
Should be fine. The docs are always improving, so now is as good of a time as any. On Fri, Nov 15, 2013 at 9:38 AM, Lisa Seacat DeLuca ldel...@us.ibm.comwrote: I'm doing a pull request now of everything under the master branch to push into the crowdin translation services. If anyone has any

Re: plugins tag, and accessing the plugin list

2013-11-15 Thread Michal Mocny
Hmm, sounds pretty un-intrusive. Ship it! We should probably schedule a whole hack-a-thon for figuring out the future of config files. Maybe at our next face-to-face meetup, or just schedule a hangout in the new year? -Michal On Fri, Nov 15, 2013 at 12:29 PM, Anis KADRI anis.ka...@gmail.com

Platforms Meetup Summary

2013-11-15 Thread Andrew Grieve
Meetup was a tonne of fun! Thanks all who attended. Here's my stab at a summary. If I've missed anything, please add it in: Attendees: Andrew, Ian, Michal, David, Max, Mark, Shazron, Joe, Bryan, Gorkem, Carlos, Josh, Anis Presentations: Andrew did a code walkthrough of AppHarness how its URL

Re: Transitioning to a better File API implementation

2013-11-15 Thread purplecabbage
Considering the magnitude of the changes I would have expected that this was just a new file plugin. The previous version was based on a spec, and if we are deviating from it we should probably maintain both, and possibly even make a recommendation to the w3c. I hope we at least do a major

Andrew Going on Vacation

2013-11-15 Thread Andrew Grieve
I was out last week for Full Frontal (talk slides if anyone's curious: http://goo.gl/gtDkku) Starting tomorrow, I'll be on vacation until a week Tuesday (coming back Nov 27). Going to New Orleans to soak up some warmth! :)

Re: plugins tag, and accessing the plugin list

2013-11-15 Thread purplecabbage
+1 to the short term fix and the deep dive punt Sent from my iPhone On Nov 15, 2013, at 10:19 AM, Michal Mocny mmo...@chromium.org wrote: Hmm, sounds pretty un-intrusive. Ship it! We should probably schedule a whole hack-a-thon for figuring out the future of config files. Maybe at our

RE: Windows8 and 8.1, to merge or to branch

2013-11-15 Thread Maxime LUCE
I will try to explain why I think there must be two separate platforms for Windows 8 and Windows 8.1. Sorry if some ideas are not well worded, I'm French and sometimes it's not easy !! 1. It allow those who want to use IE 11 additions like WebGL, canvas additions, or videos to start

Re: Blog Post Review

2013-11-15 Thread Andrew Grieve
shipped. On Thu, Nov 14, 2013 at 5:43 PM, Dick Van den Brink d_vandenbr...@outlook.com wrote: Links to the apache bit websites aren't working anymore.. I thought they did a dew minutes ago. Can someone confirm? Verzonden met Windows Mail Van: Brian LeRoux Verzonden: donderdag

Re: Andrew Going on Vacation

2013-11-15 Thread Steven Gill
Sweet man! Have a great vacation! On Fri, Nov 15, 2013 at 10:42 AM, Andrew Grieve agri...@chromium.orgwrote: I was out last week for Full Frontal (talk slides if anyone's curious: http://goo.gl/gtDkku) Starting tomorrow, I'll be on vacation until a week Tuesday (coming back Nov 27). Going

Re: Transitioning to a better File API implementation

2013-11-15 Thread Ian Clelland
On Fri, Nov 15, 2013 at 1:40 PM, purplecabbage purplecabb...@gmail.comwrote: Considering the magnitude of the changes I would have expected that this was just a new file plugin. The previous version was based on a spec, and if we are deviating from it we should probably maintain both, and

Re: Andrew Going on Vacation

2013-11-15 Thread Anis KADRI
Have a great time! I've been wanting to go down there too sometime. On Fri, Nov 15, 2013 at 11:17 AM, Steven Gill stevengil...@gmail.com wrote: Sweet man! Have a great vacation! On Fri, Nov 15, 2013 at 10:42 AM, Andrew Grieve agri...@chromium.orgwrote: I was out last week for Full Frontal

RE: Andrew Going on Vacation

2013-11-15 Thread Dick Van den Brink
Have fun! Sent from my Windows Phone From: Anis KADRImailto:anis.ka...@gmail.com Sent: ‎11/‎15/‎2013 20:22 To: dev@cordova.apache.orgmailto:dev@cordova.apache.org Subject: Re: Andrew Going on Vacation Have a great time! I've been wanting to go down there too

Re: input type=file broken on Android 4.4

2013-11-15 Thread Shazron
This filling in the gap is what we were born to do On Thu, Nov 14, 2013 at 11:10 AM, Brian LeRoux b...@brian.io wrote: Ugly indeed but that is what we do! =) Probably just a docs issue doing what you describe. On Thu, Nov 14, 2013 at 10:57 AM, Andrew Grieve agri...@chromium.org wrote:

Re: plugin documentation: param onload

2013-11-15 Thread Shazron
Hi Axel, File the issue and just copy in your email :) Someone will get to it eventually. Perhaps you could send a pull-request as well. On Thu, Nov 14, 2013 at 6:20 AM, axel.nenn...@telekom.de wrote: Hi, I think this issue

Re: plugins tag, and accessing the plugin list

2013-11-15 Thread Brian LeRoux
Yup that is a sound plan. I think we should continue discussion on the config file thing however. We have clearly accumulated some technical debt here as it is difficult to reason (even describe) the config file dog pile. Given the maturity of Cordova I feel paying off tech debt is crucially

Re: Transitioning to a better File API implementation

2013-11-15 Thread Brian LeRoux
Awesome stuff Ian. Our community is going to love this. On Fri, Nov 15, 2013 at 11:19 AM, Ian Clelland iclell...@chromium.orgwrote: On Fri, Nov 15, 2013 at 1:40 PM, purplecabbage purplecabb...@gmail.com wrote: Considering the magnitude of the changes I would have expected that this was

Re: Andrew Going on Vacation

2013-11-15 Thread Brian LeRoux
Enjoy the warmth and pls have a drink on Bourbon Street for me! (Also everyone def check out Andrew's Full Frontal presentation. Loads of great mobile web perf stuff in there.) On Fri, Nov 15, 2013 at 11:37 AM, Dick Van den Brink d_vandenbr...@outlook.com wrote: Have fun! Sent from my

RE: plugins tag, and accessing the plugin list

2013-11-15 Thread Jonathan Bond-Caron
On Fri Nov 15 11:29 AM, Braden Shepherdson wrote: I propose three things: 1. Punt all discussion of overhauling configuration files to the new year. 2. Drop my proposals above, as well as the summary Anis posted of last night's discussion. 3. Solve the immediate use-case of AppHarness wanting

amazon-fireos pull requests

2013-11-15 Thread Naik, Archana
Hello, Devs As you guys know, I am working on cordova amazon-fireos platform port. I have made changes in CLI, core plug-ins and plugman repos to add amazon-fireos platform support. We would like to support cordova 3.0 and above. Most repos have master, 3.0.x and 3.1.x branches. Below is the

Re: amazon-fireos pull requests

2013-11-15 Thread Joe Bowser
Excellent! Thanks for sending the pull requests. On Nov 15, 2013 1:34 PM, Naik, Archana na...@lab126.com wrote: Hello, Devs As you guys know, I am working on cordova amazon-fireos platform port. I have made changes in CLI, core plug-ins and plugman repos to add amazon-fireos platform

Re: plugins tag, and accessing the plugin list

2013-11-15 Thread Michal Mocny
On Fri, Nov 15, 2013 at 4:25 PM, Jonathan Bond-Caron jbo...@gdesolutions.com wrote: On Fri Nov 15 11:29 AM, Braden Shepherdson wrote: I propose three things: 1. Punt all discussion of overhauling configuration files to the new year. 2. Drop my proposals above, as well as the summary Anis

Re: Windows8 and 8.1, to merge or to branch

2013-11-15 Thread Dick Van den Brink
+1 Maxine! note: I'm also willing to help to with the Windows/WP projects to make them more stable  Verzonden met Windows Mail Van: Maxime LUCE Verzonden: ‎vrijdag‎ ‎15‎ ‎november‎ ‎2013 ‎19‎:‎58 Aan: dev@cordova.apache.org I will try to explain why I think there must be two

Re: Andrew Going on Vacation

2013-11-15 Thread James Jong
Enjoy Andrew! -James Jong On Nov 15, 2013, at 1:42 PM, Andrew Grieve agri...@chromium.org wrote: I was out last week for Full Frontal (talk slides if anyone's curious: http://goo.gl/gtDkku) Starting tomorrow, I'll be on vacation until a week Tuesday (coming back Nov 27). Going to New

Re: input type=file broken on Android 4.4

2013-11-15 Thread James Jong
Ugh… hopefully there's a better solution. -James Jong On Nov 14, 2013, at 2:10 PM, Brian LeRoux b...@brian.io wrote: Ugly indeed but that is what we do! =) Probably just a docs issue doing what you describe. On Thu, Nov 14, 2013 at 10:57 AM, Andrew Grieve agri...@chromium.orgwrote:

Re: plugin documentation: param onload

2013-11-15 Thread James Jong
Yes. Please file a JIRA issue. Sounds like it will be a great help to others who hit this. -James Jong On Nov 15, 2013, at 3:16 PM, Shazron shaz...@gmail.com wrote: Hi Axel, File the issue and just copy in your email :) Someone will get to it eventually. Perhaps you could send a