RE: Cordova and Crosswalk

2013-12-04 Thread Hu, Ningxin
> -Original Message- > From: Jonathan Bond-Caron [mailto:jbo...@gdesolutions.com] > Sent: Wednesday, December 04, 2013 11:47 PM > To: dev@cordova.apache.org > Subject: RE: Cordova and Crosswalk > > On Tue Dec 3 08:40 AM, Hu, Ningxin wrote: > > Your thoughts about the integration? > > Is it

Re: Plugins Release today

2013-12-04 Thread Carlos Santana
Thanks Steve! On Wed, Dec 4, 2013 at 11:07 PM, Andrew Grieve wrote: > Great job! Thanks indeed! > > > On Wed, Dec 4, 2013 at 11:01 PM, Brian LeRoux wrote: > > > thx Steve! > > > > > > On Thu, Dec 5, 2013 at 2:47 PM, Steven Gill > > wrote: > > > > > Plugins have been released! > > > > > > http

Re: Plugins Release today

2013-12-04 Thread Andrew Grieve
Great job! Thanks indeed! On Wed, Dec 4, 2013 at 11:01 PM, Brian LeRoux wrote: > thx Steve! > > > On Thu, Dec 5, 2013 at 2:47 PM, Steven Gill > wrote: > > > Plugins have been released! > > > > http://cordova.apache.org/news/2013/12/04/plugins-release.html > > https://twitter.com/apachecordova/

Re: Plugins Release today

2013-12-04 Thread Brian LeRoux
thx Steve! On Thu, Dec 5, 2013 at 2:47 PM, Steven Gill wrote: > Plugins have been released! > > http://cordova.apache.org/news/2013/12/04/plugins-release.html > https://twitter.com/apachecordova/status/408441655222476800 > > device-motion and battery-status haven't been published yet due to a e

Re: Plugins Release today

2013-12-04 Thread Steven Gill
Plugins have been released! http://cordova.apache.org/news/2013/12/04/plugins-release.html https://twitter.com/apachecordova/status/408441655222476800 device-motion and battery-status haven't been published yet due to a error I ran into with plugman publish. I have pinged Anis to take a look. The

Re: Review Request 16032: Cordova Plugins release Dec 4, 2013

2013-12-04 Thread Andrew Grieve
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/16032/#review29792 --- Ship it! All my comments are nitpicks. Fix them and LGTM! - Andrew

Re: Review Request 16032: Cordova Plugins release Dec 4, 2013

2013-12-04 Thread Andrew Grieve
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/16032/#review29791 --- /cordova/site/www/_posts/2013-12-04-plugins-release.md

Review Request 16032: Cordova Plugins release Dec 4, 2013

2013-12-04 Thread Steven Gill
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/16032/ --- Review request for cordova. Repository: cordova-site Description --- Blo

Re: Camera API: correctOrientation

2013-12-04 Thread Jesse
It definitely does something, you just may not notice it. If you try to display an image you took in your app on iOS in any image viewer that does not correctly interpret exif, then the picture will still display correctly. If you remove the code, it will not. @purplecabbage risingj.com On Wed,

Re: Camera API: correctOrientation

2013-12-04 Thread John M. Wargo
I can't get it to do anything on iOS, so I think it's broken. Any chance someone can do a quick test to confirm my suspicion? Probably need to remove it from the docs if it doesn't do anything. On 12/4/2013 8:41 PM, Jesse wrote: It appears to do nothing, except on iOS. It is listed as supporte

Re: Camera API: correctOrientation

2013-12-04 Thread Andrew Grieve
I believe it was meant to be used with WebViews that don't render jpegs according to the orientation in their EXIF data. Quite possible that it solves a problem that no longer exists. If so, it would be great to get rid of it. On Wed, Dec 4, 2013 at 8:47 PM, John M. Wargo wrote: > Josh, > > Th

Re: Camera API: correctOrientation

2013-12-04 Thread John M. Wargo
Josh, That's the PhoneGap 1.7 docs you linked - when you look at the Cordova 3.2 docs (http://docs.phonegap.com/en/3.2.0/cordova_camera_camera.md.html#cameraOptions), it does not list _any_ issues with correctOrientation on Android or iOS. I expect it not to work on Windows Phone because it's

Re: Camera API: correctOrientation

2013-12-04 Thread Jesse
It appears to do nothing, except on iOS. It is listed as supported on iOS and Android, and back in 1.7, it was iOS only, Android does this: this.correctOrientation = args.getBoolean(8); iOS uses it after the image is captured, and calls imageCorrectedForCaptureOrientation [1] which rotates it acc

Re: Camera API: correctOrientation

2013-12-04 Thread Josh Soref
John wrote: > Can someone explain to me what correctOrientation is supposed to do? http://docs.phonegap.com/en/1.7.0/cordova_camera_camera.md.html Lists a bunch of platforms that don't implement it.  My guess is that some older platforms wouldn't automatically switch between portrait and landsc

Camera API: correctOrientation

2013-12-04 Thread John M. Wargo
Can someone explain to me what correctOrientation is supposed to do? I just spent the last hour or so trying everything I can think of to make this thing do its voodo on Android and iOS and I can't tell the difference between photos taken with correctOrientation : true and correctOrientation :

Re: Cordova and Crosswalk

2013-12-04 Thread Brian LeRoux
We've been discussing allowing alternate rendering engines in Android for some time. FireOS is basically this. GeckoView is around the corner from Mozilla. It is a likely future. I'm still curious if Crosswalk wants to donate to Apache? On Thu, Dec 5, 2013 at 2:46 AM, Jonathan Bond-Caron wrote:

CLI release today - 3.2.0-0.4.0

2013-12-04 Thread Steven Gill
Going to do a small cli release shortly. Win8 builds are failing due to a issue with version matching. See [1] for fix [1] https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;a=blobdiff;f=src/metadata/windows8_parser.js;h=e85b86ff6c01e2dcdab8f5aed62799d62c7f8f5a;hp=f8e077648db3034700b9fd69ab

Re: cordova-labs plugins branch to be deleted

2013-12-04 Thread Shazron
Deleted. On Mon, Nov 11, 2013 at 4:21 PM, Shazron wrote: > FYI > Since the code has been migrated to cordova-plugins a week or so ago, this > branch can be deleted. >

Re: ios7 overlapping status bar

2013-12-04 Thread Shazron
Yeah there have been blog posts about it. Also see: 1. https://gist.github.com/shazron/6602131 2. http://shazronatadobe.wordpress.com/2013/10/15/cordova-ios-and-ios-7-support/ 3. https://issues.apache.org/jira/browse/CB-4918?focusedCommentId=13782197&page=com.atlassian.jira.plugin.system.issuetabp

Re: Plugins Release today

2013-12-04 Thread Josh Soref
> I suspect we almost always want to test new feature against tip-of-tree > (I guess thats master). ‎ For what I believe are hysterical reasons, I think it's sometimes called "dev".  > So being able to run that but replace some of the repos with a different branch would be awesome. > What if we

Re: Plugins Release today

2013-12-04 Thread Michal Mocny
On Wed, Dec 4, 2013 at 2:54 PM, David Kemp wrote: > You can definitely do an automated build on demand, but the interesting > part is specifying exactly what to build. > Currently a build is made up of a bunch of repos at one tag, and some other > repos at another tag. > We would need to have a w

Re: ios7 overlapping status bar

2013-12-04 Thread Steven Gill
Hey Christian, I think Icenium did a good summary on their blog. http://www.icenium.com/blog/icenium-team-blog/2013/11/07/everything-hybrid-web-apps-need-to-know-about-the-status-bar-in-ios7 It points to some of the work shaz has done around the iOS status bar problem. On Wed, Dec 4, 2013 at 12

ios7 overlapping status bar

2013-12-04 Thread Christian Grobmeier
hi folks, i am facing the problem that ios7 overlaps my cordova app. I already googled and found some people are hacking things in obj-c: http://stackoverflow.com/questions/18886195/ios-7-status-bar-overlapping-ui I would prefer not to hack in obj-c. First, lack of skills, second I don't want

Re: proposal to simplify hello world

2013-12-04 Thread Josh Soref
> I have been thinking about this, > is there a valid reason to have DisallowOverscroll default to false? > I think we can all agree on getting rid of the nonexistent ‘webviewbounce’ > that is misleadingly in the default config.xml now… > but what about what the default should be on the real pre

Re: Plugins Release today

2013-12-04 Thread David Kemp
You can definitely do an automated build on demand, but the interesting part is specifying exactly what to build. Currently a build is made up of a bunch of repos at one tag, and some other repos at another tag. We would need to have a well defined way to specify which tag for each repo. example:

Re: Plugins Release today

2013-12-04 Thread Ian Clelland
On Tue, Dec 3, 2013 at 3:29 PM, Steven Gill wrote: > On Tue, Dec 3, 2013 at 12:14 PM, Ian Clelland > wrote:> Dev becomes a staging branch, essentially; and all actual dev work > happens > > on branches. That sounds like a more sane way to do it. The only reason > I > > had it on dev in the firs

Re: proposal to simplify hello world

2013-12-04 Thread Tommy-Carlos Williams
I have been thinking about this, and happy to start a new thread if needed, but is there a valid reason to have DisallowOverscroll default to false? I think we can all agree on getting rid of the nonexistent ‘webviewbounce’ that is misleadingly in the default config.xml now… but what about what

Re: [android] How to remove the automatic default of

2013-12-04 Thread Tommy-Carlos Williams
+1 This is all sounding great and no matter how much I love the CLI, supporting both workflows is important. On 5 Dec 2013, at 6:13 am, Michal Mocny wrote: > Yes, there is no need to change the tools, which is why I like this > approach. I forgot to mention that part :P > > I did not thi

Re: [android] How to remove the automatic default of

2013-12-04 Thread Braden Shepherdson
If I remember correctly, that isn't a change for the policy - it's just that most platforms don't have a defaults.xml yet. My intention with the defaults.xml change has always been that we ship both files, and maintain both files, since they're consumed by the different workflows in different ways

Re: [android] How to remove the automatic default of

2013-12-04 Thread Michal Mocny
Yes, there is no need to change the tools, which is why I like this approach. I forgot to mention that part :P I did not think we previously discussed supplying both config files with different default settings. I had previously imagined we would ship platforms with only one defaults file (defau

Re: [android] How to remove the automatic default of

2013-12-04 Thread Braden Shepherdson
It's possible I'm misunderstanding something here, but the flow you described here is exactly the one we intended when designing how details.xml was going to work. Platforms ship both files, cli uses defaults.xml where available, and config.xml where not. Platform scripts use config.xml always. I

Re: country differences in device OS usage

2013-12-04 Thread Marcel Kinard
India: 30% Series 40 27% Android 15% Samsung 11% Symbian 7% unknown 4% Linux 1% Windows Phone 1% iOS Go to http://gs.statcounter.com and select: - Stat = Mobile OS - Region = Asia - Period = Last 3 months - Map On Dec 3, 2013, at 2:45 PM, Steven Gill wrote: > Thanks for sharing. What are peopl

Re: logger / console.log redux

2013-12-04 Thread Michal Mocny
Just to be clear: there are costs involved with using the console plugin. Aside from performance, which is likely negligible, it misreports line numbers since the call to the actual native console.log comes from within the plugin's wrapper. If you are using safari remote inspector to debug anyway

Re: [android] How to remove the automatic default of

2013-12-04 Thread Michal Mocny
Alright, Andrew and I discussed this and think we have a resolution that works with all the use cases (yay for options). TLDR; I think we already (accidentally?) support using a different default platform config file for each of our two workflows. This means we can have the tag live inside the

RE: logger / console.log redux

2013-12-04 Thread Wargo, John
I was surprised to see it pulled out into a plugin and I constantly forget to add it when I'm testing applications. +1 to it being default in the container. It's default in browser after all. John M. Wargo -Original Message- From: brian.ler...@gmail.com [mailto:brian.ler...@gmail.com]

RE: Camera targetWidth & targetHeight

2013-12-04 Thread Wargo, John
Actually, I like being able to only apply one property. That is a useful use case for me. We know the camera is going to maintain an aspect ratio when it resizes the image, right? All that matters then is one dimension; aspect ratio takes care of the other one. I would expect it to be implement

Re: Windows8 and Contacts Api

2013-12-04 Thread purplecabbage
It is NOT supported on win8 because there is no central contact store. [1] is an error. On windows8 any app can be a contact provider by extending and registering the interface, but the API does not provide create functionality. http://msdn.microsoft.com/en-US/library/windows/apps/windows.appl

RE: Camera targetWidth & targetHeight

2013-12-04 Thread Wargo, John
Apparently, when aspect ratio isn't maintained, it grabs one of the properties and applies it and drops the other. That seems odd to me too. It should fail (and call the error callback). For me it's weird as well that on iOS in portrait, it's applying the metric to the wrong axis. -Origi

RE: Cordova and Crosswalk

2013-12-04 Thread Jonathan Bond-Caron
On Tue Dec 3 08:40 AM, Hu, Ningxin wrote: > Your thoughts about the integration? > Is it possible to support Crosswalk runtime as a platform in Cordova > upstream? > > [2]: https://github.com/crosswalk-project/crosswalk-cordova-android It looks really awesome, can't wait to try it out. I have so

RE: Cordova and Crosswalk

2013-12-04 Thread Hu, Ningxin
> -Original Message- > From: Ally Ogilvie [mailto:aogil...@wizcorp.jp] > Sent: Wednesday, December 04, 2013 4:35 PM > To: dev@cordova.apache.org > Subject: Re: Cordova and Crosswalk > > Ningxin, > > Fantastic work! Couple of quick questions; > > - Crosswalk has support for some Cordova p

Re: logger / console.log redux

2013-12-04 Thread Michal Mocny
One of the suggestions in the past that I liked was to add console as a to the default app template, so (at least for the cli) it gets automatically installed but can be manually removed. Whatever we do, I would not like to see it added directly to the platform, as that would make it hard to remo

Windows8 and Contacts Api

2013-12-04 Thread Sergey Grebnov (Akvelon)
Hi, Contacts Api is marked as supported on Windows8 as per Platform support overview page [1] but there is no windows8 related code[2] and windows8 is not marked as supported on plugin info page[3]. Could someone confirm that it is not supported on windows8 (can someone update the page[1] in thi

RE: 3.3.0?

2013-12-04 Thread Sergey Grebnov (Akvelon)
Jesse, could you please also merge the following critical change. W/o it windows8 build does not work. https://github.com/apache/cordova-cli/pull/104 Thx! Sergey -Original Message- From: Sergey Grebnov (Akvelon) Sent: Tuesday, December 3, 2013 11:04 PM To: dev@cordova.apache.org Subject:

RE: logger / console.log redux

2013-12-04 Thread Dick Van den Brink
I'm not really sure.  On Android console.logs are visible in logcat without the logger plugin. iOS has remote debugging where the console.log are also visible in console. It might be nice for Windows Phone though > Date: Wed, 4 Dec 2013 19:21:03 +1100 > Subject: logger / console.log redux > From

Re: Cordova and Crosswalk

2013-12-04 Thread Ally Ogilvie
Ningxin, Fantastic work! Couple of quick questions; - Crosswalk has support for some Cordova plugins, is that the same for ANY plugman & Cordova 3.0 compatible plugin? - I see Canvas 2D context is supported, how about canvas.getContext("webgl") || canvas.getContext("experimental-webgl") ? :p Or p

logger / console.log redux

2013-12-04 Thread Brian LeRoux
We talked a while back about this. I'm wondering if ppl feel its important to having logging capability as a default installed thing. Also, we probably would want this available to the CLI workflow somehow. I know I find logging helpful for development! Thoughts?