[GitHub] cordova-lib pull request: Project plugins

2014-09-22 Thread edewit
GitHub user edewit opened a pull request: https://github.com/apache/cordova-lib/pull/90 Project plugins creates projects for each added plugin and adds them to the workspace. You can merge this pull request into a Git repository by running: $ git pull https://github.com/edewit/

Re: [ios-sim] version 3.0 is out, supports Xcode 6

2014-09-22 Thread Ray Camden
wow - it does! (at least in my quick test) On 9/22/14, 9:42 PM, "Ray Camden" wrote: >So does this fix the ³on second sim, show a blank screen until you kill >the app and restart it² bug? > >On 9/22/14, 9:00 PM, "Carlos Santana" wrote: > >>Nevermind just read the help for new ios-sim >> >>+1 sho

Re: [ios-sim] version 3.0 is out, supports Xcode 6

2014-09-22 Thread Ray Camden
So does this fix the ³on second sim, show a blank screen until you kill the app and restart it² bug? On 9/22/14, 9:00 PM, "Carlos Santana" wrote: >Nevermind just read the help for new ios-sim > >+1 showdevicetypes > >$ ios-sim showdevicetypes > >com.apple.CoreSimulator.SimDeviceType.iPhone-4s, 7

Re: [ios-sim] version 3.0 is out, supports Xcode 6

2014-09-22 Thread Carlos Santana
Nevermind just read the help for new ios-sim +1 showdevicetypes $ ios-sim showdevicetypes com.apple.CoreSimulator.SimDeviceType.iPhone-4s, 7.1 com.apple.CoreSimulator.SimDeviceType.iPhone-4s, 7.1 com.apple.CoreSimulator.SimDeviceType.iPhone-5, 7.1 com.apple.CoreSimulator.SimDeviceType.iPhone-

Re: [ios-sim] version 3.0 is out, supports Xcode 6

2014-09-22 Thread Kerri Shotts
Woohoo! :-) On Monday, September 22, 2014 6:59:05 PM UTC-5, Shazron Abdullah wrote: > > This tool is needed to use "phonegap emulate ios" or "cordova emulate ios" > if your default Xcode is Xcode 6. Update from npm if you use Xcode 6. > > The 2.x version is for Xcode 5. >

Re: onResume() of CordovaActivity

2014-09-22 Thread Archana Naik
Joe, Any thoughts on my question/scenario? I spent bit more time looking at whole state logic and looks like it is there so onPause() doesn't get called if Activity is going to destroy() anyway. Which is kind of different from standard Android behavior where onPause() gets called whether or not ap

Re: [ios-sim] version 3.0 is out, supports Xcode 6

2014-09-22 Thread Carlos Santana
Thanks I installed this morning and got 2.x, now I check and 3.x is out. great timing. And was trying to switch to ios8, and ios-sim kept switching back to ios7 What are the target strings for iPhone 6 and iPhone6Plus ? We need to update the "lib/list-emulator-images" right? On Mon, Sep 22, 2014

[GitHub] cordova-lib pull request: CB-7607 Add xxhdpi and xxxhdpi support t...

2014-09-22 Thread dpogue
Github user dpogue commented on the pull request: https://github.com/apache/cordova-lib/pull/89#issuecomment-56463872 :+1: although I'm wondering whether the code reorganization makes it harder to support 9-patch splash screen images (https://github.com/apache/cordova-lib/pull/87) -

Re: [VOTE] Plugins Release Sept 17 2014 (attempt #2)

2014-09-22 Thread Andrew Grieve
blog post LGTM - but run www/_posts/linkify-bugs.sh before posting please :) On Mon, Sep 22, 2014 at 4:46 PM, Marcel Kinard wrote: > I've drafted a blog entry. If you have any suggestions, please either > commit to it or submit a pull request. I'd like to post the blog entry > tomorrow morning.

[ios-sim] version 3.0 is out, supports Xcode 6

2014-09-22 Thread Shazron
This tool is needed to use "phonegap emulate ios" or "cordova emulate ios" if your default Xcode is Xcode 6. Update from npm if you use Xcode 6. The 2.x version is for Xcode 5.

[GitHub] cordova-plugin-dialogs pull request: Update Notification.java

2014-09-22 Thread silps
GitHub user silps opened a pull request: https://github.com/apache/cordova-plugin-dialogs/pull/34 Update Notification.java updated spinner dialog to use THEME_DEVICE_DEFAULT_LIGHT as the other dialogs You can merge this pull request into a Git repository by running: $ git pull

Re: [VOTE] Plugins Release Sept 17 2014 (attempt #2)

2014-09-22 Thread Marcel Kinard
I've drafted a blog entry. If you have any suggestions, please either commit to it or submit a pull request. I'd like to post the blog entry tomorrow morning. https://github.com/cordova/apache-blog-posts/blob/master/2014-09-17-plugins-release.md The new plugins have been published to the plugman

[GitHub] cordova-android pull request: [CB-6837][Android 4.0.x branch] Fix:...

2014-09-22 Thread martincgg
GitHub user martincgg opened a pull request: https://github.com/apache/cordova-android/pull/123 [CB-6837][Android 4.0.x branch] Fix: leaked window when hitting back button while alert being rendered CB-6837 It is basically: https://github.com/apache/cordova-android/pull/122

RE: Node Hook?

2014-09-22 Thread Sergey Grebnov (Akvelon)
You may need to use additional .bat file to trigger nodejs app, for example test.bat @ECHO OFF SET script_path="%~dp0\subdir\test.js" node %script_path% %* -Sergey -Original Message- From: Dick Van den Brink [mailto:d_vandenbr...@outlook.com] Sent: Monday, September 22, 2014 9:02 PM To

Issue with pluginloader's findCordovaPath()

2014-09-22 Thread Angelo Vargas
Hi, I've been trying to figure out what's wrong with my application until I noticed this weird issue. I am not sure if it's a bug. We had multiple scripts with sources containing "cordova.js": cordova.js and scripts/services/cordova.js (cordova-related code from our app). Well, the path it was

[GitHub] cordova-android pull request: [CB-6837][Android] Fix: leaked windo...

2014-09-22 Thread martincgg
GitHub user martincgg opened a pull request: https://github.com/apache/cordova-android/pull/122 [CB-6837][Android] Fix: leaked window when hitting back button while alert being rendered Created arrayList on ChromeClient that it will register all showed AlertDialog, using CordovaChr

Re: [VOTE] Plugins Release Sept 17 2014 (attempt #2)

2014-09-22 Thread Andrew Grieve
done On Mon, Sep 22, 2014 at 3:15 PM, Marcel Kinard wrote: > Sorry, forgot to include that: cmarcelk > > Thanks! > > On Sep 22, 2014, at 3:07 PM, Andrew Grieve wrote: > > > I can do it now, what's your npm username? > > > > On Mon, Sep 22, 2014 at 3:04 PM, Marcel Kinard > wrote: > > > >> Steve

Re: [VOTE] Plugins Release Sept 17 2014 (attempt #2)

2014-09-22 Thread Marcel Kinard
Sorry, forgot to include that: cmarcelk Thanks! On Sep 22, 2014, at 3:07 PM, Andrew Grieve wrote: > I can do it now, what's your npm username? > > On Mon, Sep 22, 2014 at 3:04 PM, Marcel Kinard wrote: > >> Steve / Anis / Max / Andrew / Jesse / Ian: could one of you add me as an >> owner of t

Re: [VOTE] Plugins Release Sept 17 2014 (attempt #2)

2014-09-22 Thread Andrew Grieve
I can do it now, what's your npm username? On Mon, Sep 22, 2014 at 3:04 PM, Marcel Kinard wrote: > Steve / Anis / Max / Andrew / Jesse / Ian: could one of you add me as an > owner of the core plugins in the plugman repo so I can publish there? > Thanks! > > Begin forwarded message: > > > From: M

Fwd: [VOTE] Plugins Release Sept 17 2014 (attempt #2)

2014-09-22 Thread Marcel Kinard
Steve / Anis / Max / Andrew / Jesse / Ian: could one of you add me as an owner of the core plugins in the plugman repo so I can publish there? Thanks! Begin forwarded message: > From: Marcel Kinard > Subject: Re: [VOTE] Plugins Release Sept 17 2014 (attempt #2) > Date: September 22, 2014 at 2:4

Re: [VOTE] Plugins Release Sept 17 2014 (attempt #2)

2014-09-22 Thread Marcel Kinard
The vote has now closed. The results are: Positive Binding Votes: 3 - Shazron Abdullah - Archana Naik - Marcel Kinard Negative Binding Votes: 0 Other Votes: 0 The vote has passed. On Sep 17, 2014, at 11:47 PM, Marcel Kinard wrote: > Please review and vote on the release of this plugins rele

Re: new NPM 2.x

2014-09-22 Thread Michal Mocny
1. pretty cool to be mentioned! 2. The post led me to find: https://gist.github.com/othiym23/4ac31155da23962afd0e which is basically a monkey patch for the recently-discussed-on-list npm upgrade command. -Michal On Mon, Sep 22, 2014 at 12:46 PM, purplecabbage wrote: > And a good read for Cordo

[GitHub] cordova-android pull request: [CB-6837][Android] Fix: leaked windo...

2014-09-22 Thread martincgg
Github user martincgg closed the pull request at: https://github.com/apache/cordova-android/pull/117 --- 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 fea

RE: Node Hook?

2014-09-22 Thread Dick Van den Brink
I'm still on 3.4 so not sure about 3.5 but I know it doesnt work when you use windows newlines. Can you change it to unix newlines and check if that works? (+ is node in your path?) Would expect a different error though... Sent from my Windows Phone From: John M

Re: Node Hook?

2014-09-22 Thread Mark Koudritsky
Looks like cordova couldn't find where node is on your system. On Windows cordova is doing some hackish magic to deal with shebang lines. The code for this magic is in extractSheBangInterpreter . Not sure, but

Node Hook?

2014-09-22 Thread John M. Wargo
Is there anything special I have to do to run a node app as a hook on Windows? I was experimenting with this yesterday on Cordova 3.5, and when I have the following hook as a before prepare: #! /usr/bin/env node console.log('this is a node module'); I get the following error: The

Re: new NPM 2.x

2014-09-22 Thread purplecabbage
And a good read for Cordova contributors, as it discusses dependency/versioning issues, which bites us frequently too. Sent from my iPhone > On Sep 22, 2014, at 9:37 AM, Ray Camden wrote: > > Gotcha. So not an issue for end users of Cordova - but perhaps for plugin > authors. > > >> On 9/22

Re: new NPM 2.x

2014-09-22 Thread Carlos Santana
In general Ray for all npm pacakge authors and how they define their package.json dependencies, devDependencies, optionalDependencies, and lastly peerDependencies. Cordova now publishes 12 npm packages. Also to take into account testing!, We need to make sure that end users using any version of n

Re: WKWebView for iOS8

2014-09-22 Thread Marcel Kinard
+1. I suspect this post is of high interest since last Wednesday. On Sep 22, 2014, at 10:04 AM, Andrew Grieve wrote: > Nice post Shaz! Care to link it off of the main Cordova blog? > > On Thu, Sep 18, 2014 at 8:34 PM, Shazron wrote: > >> http://shazronatadobe.wordpress.com/2014/09/18/cordova-

Re: new NPM 2.x

2014-09-22 Thread Ray Camden
Gotcha. So not an issue for end users of Cordova - but perhaps for plugin authors. On 9/22/14, 11:34 AM, "Ian Clelland" wrote: >It shouldn't matter for users, but I have seen several issues in the past >where using the wrong version of npm means that you can't publish modules >or plugins. It's

Re: new NPM 2.x

2014-09-22 Thread Ian Clelland
It shouldn't matter for users, but I have seen several issues in the past where using the wrong version of npm means that you can't publish modules or plugins. It's something to be aware of, at least. On Mon, Sep 22, 2014 at 12:30 PM, Ray Camden wrote: > Being lazy, but can you explain why it ma

Re: new NPM 2.x

2014-09-22 Thread Ray Camden
Being lazy, but can you explain why it matters? Ie, is there a reason *not* to just upgrade? I assume most folks would think, ³new version of npm, just update and don¹t worry about it² - but does it impact using Cordova? On 9/22/14, 11:09 AM, "Carlos Santana" wrote: >NPM 2.x was released last w

new NPM 2.x

2014-09-22 Thread Carlos Santana
NPM 2.x was released last week. latest nodejs stable 0.10.32 comes with npm@1.4.28 if you do $ npm install -g npm (you will get npm@2.0.0) More about npm 2.x and semver: http://blog.npmjs.org/post/98131109725/npm-2-0-0 cordova and phonegap get's mentioned in the blog post. For now just pay cl

Re: [Vote] Tools Release 3.6.3-0.2.13

2014-09-22 Thread Ray Camden
Oh ok - was just noting the difference in default. :) On 9/22/14, 10:52 AM, "Marcel Kinard" wrote: >Correct. The redirect from docs.cordova.io needs to be updated per my >original note below, and the only person with the keys to update the >redirect is Michael B. > >On Sep 22, 2014, at 11:34 AM,

Re: [Vote] Tools Release 3.6.3-0.2.13

2014-09-22 Thread Marcel Kinard
Correct. The redirect from docs.cordova.io needs to be updated per my original note below, and the only person with the keys to update the redirect is Michael B. On Sep 22, 2014, at 11:34 AM, Ray Camden wrote: > Odd - when I went to docs.cordova.io, it defaulted to 3.5. 3.6 is > available in t

Re: [Vote] Tools Release 3.6.3-0.2.13

2014-09-22 Thread Marcel Kinard
Thanks for catching that. Fixed. On Sep 22, 2014, at 11:33 AM, Victor Sosa wrote: > Hi Marcel. > The announcement link seems to be not working yet, although the summary is > in the News page > http://cordova.apache.org/announcements/2014/09/08/cordova-361.html > http://cordova.apache.org/#news

Re: [Vote] Tools Release 3.6.3-0.2.13

2014-09-22 Thread Ray Camden
Hmm - first thing I tried with Cordova 3.6.3 was to add browser as a platform. Unable to fetch platform browser: Error: No compatible version found: cordova-browser@'master' Valid install targets: ["3.5.0","3.5.1","3.5.2"] I¹ll file a report. On 9/22/14, 10:34 AM, "Ray Camden" wrote: >Odd -

Re: [Vote] Tools Release 3.6.3-0.2.13

2014-09-22 Thread Ray Camden
Odd - when I went to docs.cordova.io, it defaulted to 3.5. 3.6 is available in the dropdown, but not the default. On 9/22/14, 10:26 AM, "Marcel Kinard" wrote: >3.6.3 is now live in npm, docs, and dist. > >Michael Brooks, could you update the link from docs.cordova.io? I looked >at [1], but the

Re: [Vote] Tools Release 3.6.3-0.2.13

2014-09-22 Thread Victor Sosa
Hi Marcel. The announcement link seems to be not working yet, although the summary is in the News page http://cordova.apache.org/announcements/2014/09/08/cordova-361.html http://cordova.apache.org/#news 2014-09-22 10:26 GMT-05:00 Marcel Kinard : > 3.6.3 is now live in npm, docs, and dist. > > Mic

Re: [Vote] Tools Release 3.6.3-0.2.13

2014-09-22 Thread Marcel Kinard
3.6.3 is now live in npm, docs, and dist. Michael Brooks, could you update the link from docs.cordova.io? I looked at [1], but the VERSION file is currently set to 3.4.0, so I'm not sure if this location is still accurate to make the update, or if it is just missing a push. Steve (or someone th

[GitHub] cordova-plugin-test-framework pull request: CB-7459 Add header to ...

2014-09-22 Thread jpchase
GitHub user jpchase opened a pull request: https://github.com/apache/cordova-plugin-test-framework/pull/6 CB-7459 Add header to show number of enabled plugin tests It is not obvious if all/how many plugin tests are being run, given that: - Individual plugin tests can be enabled/d

Re: WKWebView for iOS8

2014-09-22 Thread Andrew Grieve
Nice post Shaz! Care to link it off of the main Cordova blog? On Thu, Sep 18, 2014 at 8:34 PM, Shazron wrote: > http://shazronatadobe.wordpress.com/2014/09/18/cordova-ios-and-ios-8/ > > On Thu, Sep 18, 2014 at 9:03 AM, Shazron wrote: > > > Yeah no update in iOS 8 GM. So moving to contingency. I

Re: [DISCUSS] shrinkwrap

2014-09-22 Thread Andrew Grieve
I like having it in. For CCA, we actually did get bit in a release where we didn't have a shrinkwrap and a descendant dependency changed and broke things on us. It's also really nice that when we sign and vote on a release, that doing an "npm install" on it down the line will recreate the exact th

Re: New project vs.

2014-09-22 Thread Andrew Grieve
I see no issues with hardcoding the main activity name. On Mon, Sep 22, 2014 at 6:06 AM, Vladimir Kotikov (Akvelon) < v-vlk...@microsoft.com> wrote: > So do we agree to proceed with hardcoded name for android main activity > here ('CordovaApp' for example), or we still need to implement additiona

Re: [CB-7608] Scale ViewPort for inAppBrowser loaded pages [Android]

2014-09-22 Thread Andrew Grieve
I do think we should add in this setting, but probably should clarify the name of it to be more x-platform and clear as to what it does (sets the default viewport to device-width). If you can have your oauth server serve a page with a viewport tag in it, that would be a more proper way to resolv

[CB-7608] Scale ViewPort for inAppBrowser loaded pages [Android]

2014-09-22 Thread Sebastien Blanc
Hi, Could someone please review and merge this pull request : https://github.com/apache/cordova-plugin-inappbrowser/pull/66 It enables the viewport to scale correctly on Android. We are facing the problem with an oauth2 server that serves a login page with the right viewport (styled with ionic)

[GitHub] cordova-plugin-inappbrowser pull request: CB-7608 : add option use...

2014-09-22 Thread sebastienblanc
GitHub user sebastienblanc opened a pull request: https://github.com/apache/cordova-plugin-inappbrowser/pull/66 CB-7608 : add option useWidthViewPort (Android Platform) When using inAppBrowser with Android, the viewport tag of the loaded page is ignored. As a result, some pages usi

[GitHub] cordova-lib pull request: CB-7607 Add xxhdpi and xxxhdpi support t...

2014-09-22 Thread sgrebnov
GitHub user sgrebnov opened a pull request: https://github.com/apache/cordova-lib/pull/89 CB-7607 Add xxhdpi and xxxhdpi support to Android Cordova https://issues.apache.org/jira/browse/CB-7607 Current Cordova template for Android does not have res sub-folders for xx and xx

RE: New project vs.

2014-09-22 Thread Vladimir Kotikov (Akvelon)
So do we agree to proceed with hardcoded name for android main activity here ('CordovaApp' for example), or we still need to implement additional parameter to cli, platform scripts and config.xml ? --- Best regards, Vladimir -Original Message- From: Vladimir Kotikov (Akvelon