[GitHub] cordova-plugin-globalization pull request: CB-7258 - added Apache ...

2014-08-05 Thread zalun
GitHub user zalun opened a pull request: https://github.com/apache/cordova-plugin-globalization/pull/19 CB-7258 - added Apache license You can merge this pull request into a Git repository by running: $ git pull https://github.com/zalun/cordova-plugin-globalization licenses A

[GitHub] cordova-plugin-globalization pull request: CB-7258 - added Apache ...

2014-08-05 Thread BBosman
Github user BBosman commented on the pull request: https://github.com/apache/cordova-plugin-globalization/pull/19#issuecomment-51186098 The license headers shouldn't contain the Mozilla Foundation copyright notice as far as I know. See also: http://www.apache.org/dev/apply-li

[GitHub] cordova-windows pull request: CB-7129 Switch to nodejs for windows...

2014-08-05 Thread sgrebnov
Github user sgrebnov commented on the pull request: https://github.com/apache/cordova-windows/pull/38#issuecomment-51191567 rebased, could someone review? --- 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 do

[GitHub] cordova-plugin-globalization pull request: CB-7258 - added Apache ...

2014-08-05 Thread zalun
Github user zalun commented on the pull request: https://github.com/apache/cordova-plugin-globalization/pull/19#issuecomment-51203203 I just copied the https://github.com/mozilla-b2g/gaia/blob/master/LICENSE I will change to the right one. --- If your project is set up for it, yo

Vibration spec and Cordova integration update *** Cordova WIN ***

2014-08-05 Thread Lisa Seacat DeLuca
FYI~ Below is an email thread from the w3c Device API's working group. As you all know, we have worked to identify misalignment and make the code changes to align the latest w3c vibration spec with Apache Cordova (special thanks to Staci and Edna from the IBM team). When performing the align

[GitHub] cordova-plugin-globalization pull request: CB-7258 - added Apache ...

2014-08-05 Thread zalun
Github user zalun closed the pull request at: https://github.com/apache/cordova-plugin-globalization/pull/19 --- 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

[GitHub] cordova-plugin-globalization pull request: CB-7258 - The right Apa...

2014-08-05 Thread zalun
GitHub user zalun opened a pull request: https://github.com/apache/cordova-plugin-globalization/pull/20 CB-7258 - The right Apache License 2.0 added You can merge this pull request into a Git repository by running: $ git pull https://github.com/zalun/cordova-plugin-globalizati

[GitHub] cordova-plugin-globalization pull request: CB-7258 - added Apache ...

2014-08-05 Thread zalun
Github user zalun commented on the pull request: https://github.com/apache/cordova-plugin-globalization/pull/19#issuecomment-51209364 I created another pull request (too many files to modify) --- If your project is set up for it, you can reply to this email and have your reply appear

[DISCUSS] tools release for Android 3.5.1

2014-08-05 Thread Marcel Kinard
On Aug 4, 2014, at 5:59 PM, Marcel Kinard wrote: > On Aug 4, 2014, at 2:46 PM, Carlos Santana wrote: > >> Do we need to publish a new cordova and cordova-lib to npm so >> cordova-android@3.5.1 is the new default [1]? >> >> [1] >> https://github.com/apache/cordova-lib/blob/master/cordova-lib/

W3C Battery Feedback request

2014-08-05 Thread Lisa Seacat DeLuca
I sent a note back in June asking if anyone had any feedback for the Device API's Working Group for the battery concerns that we had previously voiced related to the battery spec. http://apache.markmail.org/search/?q=org.apache.incubator.callback-dev+list%3Aorg.apache.incubator.callback-dev+orde

[GitHub] cordova-plugin-globalization pull request: CB-7258 - The right Apa...

2014-08-05 Thread rodms10
Github user rodms10 commented on the pull request: https://github.com/apache/cordova-plugin-globalization/pull/20#issuecomment-51228619 License audit passes now r+. --- 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

[GitHub] cordova-windows pull request: CB-7129 Switch to nodejs for windows...

2014-08-05 Thread purplecabbage
Github user purplecabbage commented on the pull request: https://github.com/apache/cordova-windows/pull/38#issuecomment-51229282 on it --- 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 fea

[GitHub] cordova-firefoxos pull request: [fxos] Remove hardcoded cordova ve...

2014-08-05 Thread rodms10
GitHub user rodms10 opened a pull request: https://github.com/apache/cordova-firefoxos/pull/21 [fxos] Remove hardcoded cordova version There doesn't seem to be a need to hardcode cordova version. It causes plugins that require a higher versions to fail to install for firefoxos. Y

wp8 splashscreen

2014-08-05 Thread Staci Cooper
I'm trying to prolong the initial splashscreen for several extra seconds in a wp8 app. I've seen the commits that add AutoHideSplashScreen support for wp , and by using the latest cordova-plugin-splashscr

[GitHub] cordova-js pull request: [fxos] Remove hardcoded cordova version

2014-08-05 Thread rodms10
GitHub user rodms10 opened a pull request: https://github.com/apache/cordova-js/pull/76 [fxos] Remove hardcoded cordova version There doesn't seem to be a need to hardcode cordova version. It causes plugins that require a higher versions to fail to install for firefoxos. You can me

[GitHub] cordova-js pull request: [fxos] Remove hardcoded cordova version

2014-08-05 Thread zalun
Github user zalun commented on the pull request: https://github.com/apache/cordova-js/pull/76#issuecomment-51233561 r+ --- 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

[GitHub] cordova-firefoxos pull request: [fxos] Remove hardcoded cordova ve...

2014-08-05 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/cordova-firefoxos/pull/21 --- 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 featu

[GitHub] cordova-js pull request: [fxos] Remove hardcoded cordova version

2014-08-05 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/cordova-js/pull/76 --- 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 feature is e

[GitHub] cordova-lib pull request: CB-7190: Add browserify support in cordo...

2014-08-05 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/cordova-lib/pull/66 --- 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 feature is

[GitHub] cordova-plugin-globalization pull request: CB-7258 - The right Apa...

2014-08-05 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/cordova-plugin-globalization/pull/20 --- 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 i

[GitHub] cordova-firefoxos pull request: [fxos] Remove hardcoded cordova ve...

2014-08-05 Thread zalun
Github user zalun commented on the pull request: https://github.com/apache/cordova-firefoxos/pull/21#issuecomment-51233507 r+ --- 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 enab

NodeJS Hooks dependencies?

2014-08-05 Thread Carlos Santana
I'm writing new cordova hooks, and decided to do them in nodejs First problem I hit was dependencies for the hook scripts: so far I have two scripts: cordovaUserProject/hook/before_prepare/wl_b_prepare.js cordovaUserProject/hook/after_compile/wl_a_compile.js I have both starting like this: #!/usr

Re: wp8 splashscreen

2014-08-05 Thread Jesse
From https://github.com/apache/cordova-plugin-splashscreen/blob/master/doc/index.md Only Android supports the SplashScreenDelay preference. iOS, BlackBerry and WP8 all require js : setTimeout(function() { navigator.splashscreen.hide(); }, 2000); @purplecabbage risingj.com On Tue,

Can I have all my hooks in one file and be event driven?

2014-08-05 Thread Carlos Santana
I started to write hooks, and I got lazy :-) What about having a single hook nodejs script that listen on cordova events? My script will look something like this: function worklightBeforePrepare(){ console.log('Running Worklight worklightBeforePrepare()'); } function worklightAfterCompile(){ con

Re: Can I have all my hooks in one file and be event driven?

2014-08-05 Thread Brian LeRoux
yes! this and related to your earlier thread: maybe hooks themselves should just be npm modules The hook lookups could walk up node_modules and look for modules with a package.json that have a "cordova" key… maybe this should go to the other thread On Tue, Aug 5, 2014 at 1:18 PM, Carlos Santana

Re: NodeJS Hooks dependencies?

2014-08-05 Thread Michal Mocny
Few comments first: - The solution may be different for top-level and plugin hooks. This question seems to ask about application hooks. - I consider top-level hooks to belong to the application, to be versioned alongside www/, and should not be modified by cordova tooling (I think Carlos disagrees

Re: Can I have all my hooks in one file and be event driven?

2014-08-05 Thread Michal Mocny
I like the idea of hooks as events. Re: publishing to npm, I like to idea of hook publishing, but do we need another "package type"? Platforms, plugins, and now hooks would all have different process/documentation. Why not just add hooks support for plugins (I commented as such on the other thre

Re: Can I have all my hooks in one file and be event driven?

2014-08-05 Thread Carlos Santana
yep that was my feeling write a node module with a simple API (i.e. run) what ever and then listen on events coming from cordova. I like the node_modules searching, but I think this is something that npm does better But there still the problem who is going to put the files down for "node_modules"

Re: Can I have all my hooks in one file and be event driven?

2014-08-05 Thread Brian LeRoux
+1 On Tue, Aug 5, 2014 at 1:52 PM, Michal Mocny wrote: > I like the idea of hooks as events. > > Re: publishing to npm, I like to idea of hook publishing, but do we need > another "package type"? Platforms, plugins, and now hooks would all have > different process/documentation. Why not just

Re: NodeJS Hooks dependencies?

2014-08-05 Thread Lorin Beer
a suggestion: as part of the hook script, have it attempt an npm install iff the dependencies are not present. You can hide the require calls in a try/catch, if caught, then run an install script in the relevant hook directories. If admin privileges are required for the install, prompt for creden

Re: NodeJS Hooks dependencies?

2014-08-05 Thread Myles Borins
If you have a package.json at the base of the project any dependencies installed in the node_modules folder will be resolved at any depth. You should only need to do a single install at the base of hook. Do you have a copy of the project I could take a peek at? If the cordovaUserProject itsel

[GitHub] cordova-windows pull request: CB-7129 Switch to nodejs for windows...

2014-08-05 Thread purplecabbage
Github user purplecabbage commented on the pull request: https://github.com/apache/cordova-windows/pull/38#issuecomment-51264009 This looks good, however I would have liked it 1000 times better if it did not use promises. --- If your project is set up for it, you can reply to this em

Re: NodeJS Hooks dependencies?

2014-08-05 Thread Lorin Beer
thanks Myles, nice to see you on the list! On Tue, Aug 5, 2014 at 2:33 PM, Myles Borins wrote: > If you have a package.json at the base of the project any dependencies > installed in the node_modules folder will be resolved at any depth. You > should only need to do a single install at the bas

[GitHub] cordova-plugin-dialogs pull request: ubuntu: misc fixes

2014-08-05 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/cordova-plugin-dialogs/pull/25 --- 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

[GitHub] cordova-plugin-inappbrowser pull request: ubuntu: support qt 5.2

2014-08-05 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/cordova-plugin-inappbrowser/pull/56 --- 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

[GitHub] cordova-plugin-media-capture pull request: ubuntu: support qt 5.2

2014-08-05 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/cordova-plugin-media-capture/pull/23 --- 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 i

[GitHub] cordova-plugin-vibration pull request: ubuntu: Implemented vibrate...

2014-08-05 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/cordova-plugin-vibration/pull/12 --- 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 th

Re: [DISCUSS] Plugins Release

2014-08-05 Thread Steven Gill
Done! Anything else before I move forward? -Steve On Mon, Aug 4, 2014 at 6:57 PM, Maxim Ermilov wrote: > Could you review/merge following changes before release? > > https://github.com/apache/cordova-plugin-vibration/pull/12 > https://github.com/apache/cordova-plugin-dialogs/pull/25 > https:/

[GitHub] cordova-plugin-splashscreen pull request: fixed "WARNING: The spla...

2014-08-05 Thread shanebdavis
GitHub user shanebdavis opened a pull request: https://github.com/apache/cordova-plugin-splashscreen/pull/23 fixed "WARNING: The splashscreen image named Default was not found" fixed "WARNING: The splashscreen image named Default was not found" with iOS and iPad for default project

[GitHub] cordova-plugin-splashscreen pull request: Fix logic when setting t...

2014-08-05 Thread khamasaki
Github user khamasaki commented on the pull request: https://github.com/apache/cordova-plugin-splashscreen/pull/19#issuecomment-51279452 Hi, we are running into this too. Is there an ETA on when this fix will be released to plugins.cordova.io and build.phonegap.com? --- If your proj

Re: [DISCUSS] Plugins Release

2014-08-05 Thread Ian Clelland
Do it! On Tuesday, August 5, 2014, Steven Gill wrote: > Done! > > Anything else before I move forward? > > -Steve > > > On Mon, Aug 4, 2014 at 6:57 PM, Maxim Ermilov > > wrote: > > > Could you review/merge following changes before release? > > > > https://github.com/apache/cordova-plugin-vibra

[GitHub] cordova-mobile-spec pull request: CB-6958 Removed camera tests

2014-08-05 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/cordova-mobile-spec/pull/82 --- 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

[GitHub] cordova-mobile-spec pull request: CB-7160 Removed accelerometer te...

2014-08-05 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/cordova-mobile-spec/pull/81 --- 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

[GitHub] cordova-mobile-spec pull request: CB-6963 Removed old media tests

2014-08-05 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/cordova-mobile-spec/pull/85 --- 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

[GitHub] cordova-mobile-spec pull request: CB-6959 Removed capture tests

2014-08-05 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/cordova-mobile-spec/pull/83 --- 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

Access config.xml preferences from the JavaScript side of a plugin

2014-08-05 Thread Juan Cruz Viotti
Hi everyone, I’ve stumbled in the situation where I want to read the value of a preference present in config.xml from the JavaScript side of a Cordova plugin. My current approach is the following: - Create a native service (iOS in this case) with a method called `getPreference` which queries

Re: Access config.xml preferences from the JavaScript side of a plugin

2014-08-05 Thread Marc Weiner
What about a pre-build hook that parses the config.xml file and generates a config.js file, with a "CorodvaPrefs" or similar object? Marc On Tue, Aug 5, 2014 at 10:15 PM, Juan Cruz Viotti wrote: > Hi everyone, > > I’ve stumbled in the situation where I want to read the value of a > preference

Re: Access config.xml preferences from the JavaScript side of a plugin

2014-08-05 Thread Andrey Kurdumov
There was thread in the mailing archive where this questions was discussed: https://www.mail-archive.com/dev@cordova.apache.org/msg14313.html 2014-08-06 11:40 GMT+06:00 Marc Weiner : > What about a pre-build hook that parses the config.xml file and generates a > config.js file, with a "CorodvaPr

Re: Access config.xml preferences from the JavaScript side of a plugin

2014-08-05 Thread Michal Mocny
David once wrote a plugin that sounds exactly like what you describe: https://github.com/apache/cordova-labs/tree/cdvtest/cordova-plugin-appsettings Just throwing that out there. On Wed, Aug 6, 2014 at 1:44 AM, Andrey Kurdumov wrote: > There was thread in the mailing archive where this questio