cordova.js changes

2013-02-19 Thread Leutwyler, Markus
What's the process for adding stuff to cordova.js or how can i make such changes platform specific? Let's say I want to add a new (in my case probably webOS specific) document event for show/hide/relaunch to Cordova: Cordova.js, line 240 channel.onShow =

Re: cordova.js changes

2013-02-19 Thread Gord Tanner
Probably your best bet would be to add it to the initialize function for your platform (example: https://github.com/gtanner/cordova-js/blob/master/lib/blackberry/plugin/qnx/platform.js#L26-42 ) If you need it to be sooner you have the option of the bootstrap file which gets tacked to the end of

Re: cordova.js changes

2013-02-19 Thread Brian LeRoux
Sounds like pause, resume events? (Which we should look to deprecate for page visibility api but thats another story!) On Tue, Feb 19, 2013 at 7:45 AM, Leutwyler, Markus markus.leutwy...@hp.comwrote: What's the process for adding stuff to cordova.js or how can i make such changes platform

feb report

2013-02-19 Thread Brian LeRoux
pls review and let me know if I missed anything big https://github.com/cordova/apache-board-reports/blob/master/2013-02.md

Re: feb report

2013-02-19 Thread Marcel Kinard
Minor point of completeness FWIW, there were 2 DOAP files updated, one for the project and another for the PMC. -- Marcel Kinard On Feb 19, 2013, at 1:36 PM, Brian LeRoux b...@brian.io wrote: pls review and let me know if I missed anything big

CLI tools: verbose mode

2013-02-19 Thread Filip Maj
https://issues.apache.org/jira/browse/CB-2452 The barrier to allowing a verbose mode for the cli scripts is that the underlying platform cli scripts are silent. Thoughts on adding a verbose option to the platform scripts? Essentially redirecting output from commands to stdout

Re: Proposal for JS in Plugins

2013-02-19 Thread Brian LeRoux
I think I like it! (But look forward to seeing it in a pull request.) On Thu, Feb 14, 2013 at 10:31 AM, Braden Shepherdson bra...@chromium.orgwrote: So I've written up my plan for attacking this problem into a Google Doc I've shared for public comments:

Re: Tag 2.5.0rc1?

2013-02-19 Thread Filip Maj
I fear change! But let's do it. On 2/19/13 11:19 AM, Joe Bowser bows...@gmail.com wrote: So, how does this work? Do we create the next branch now and throw things in that?

Re: CLI tools: verbose mode

2013-02-19 Thread Brian LeRoux
I suppose we can thank Java for this. Ideally a script is silent unless there is an error and then it should be noisy. Going to STDOUT fine for now.. On Tue, Feb 19, 2013 at 11:15 AM, Filip Maj f...@adobe.com wrote: https://issues.apache.org/jira/browse/CB-2452 The barrier to allowing a

Re: CLI tools: verbose mode

2013-02-19 Thread Andrew Grieve
Adding flags SGTM. On Tue, Feb 19, 2013 at 2:26 PM, Brian LeRoux b...@brian.io wrote: I suppose we can thank Java for this. Ideally a script is silent unless there is an error and then it should be noisy. Going to STDOUT fine for now.. On Tue, Feb 19, 2013 at 11:15 AM, Filip Maj

Re: Brainstorming Proposal: Implementing apps as plugins

2013-02-19 Thread Filip Maj
Okay, I've let the doodle run for ~5 days. Looks like the best date is Friday, March 22nd, at 9AM Pacific time, noon EST, 6PM Euro time. I'm setting aside an hour for it, but it could last less. I will look into setting up an Adobe Connect room so we can run screenshare and do a recording as

Re: Tag 2.5.0rc1?

2013-02-19 Thread Brian LeRoux
Sounds about right. Lets aim to get this thing tagged/bagged today. On Tue, Feb 19, 2013 at 11:23 AM, Filip Maj f...@adobe.com wrote: I fear change! But let's do it. On 2/19/13 11:19 AM, Joe Bowser bows...@gmail.com wrote: So, how does this work? Do we create the next branch now and throw

Re: more benchmarking in mobile-spec

2013-02-19 Thread Filip Maj
Raising this thread from the dead :) I'm thinking of either http://benchmarkjs.com/ or https://github.com/akdubya/uubench Both apparently support async which is our only requirement AFAIK. Will mess aboot with adding both to mobile-spec and seeing how it pans out. On 10/26/12 11:09 AM, Brian

Re: Tag 2.5.0rc1?

2013-02-19 Thread Filip Maj
I've creatd the JIRA issues for 2.5.0rc1 tagging. Also created a new next branch under the javascript and tagged 2.5.0rc1 from that branch.. Hope I did it right :s On 2/19/13 11:32 AM, Brian LeRoux b...@brian.io wrote: Sounds about right. Lets aim to get this thing tagged/bagged today. On Tue,

Re: more benchmarking in mobile-spec

2013-02-19 Thread Andrew Grieve
Awesome stuff Fil! The first one is one that I tried before when doing the bridge benchmark and found it to not get accurate results. Had a look at the README.md of the second one, and it sounds pretty good. Looking forward to seeing what you come up with :) On Tue, Feb 19, 2013 at 2:41 PM,

Proposition to split cordova-blackberry into two separate plugins

2013-02-19 Thread Jeffrey Heifetz
With all this talk of re-organizing cordova plugins we here at BlackBerry (RIM no more) have been discussing better alleging ourselves with the approach by splitting our existing cordova-blackberry platform into two separate platforms. (I saw a similar call here as well

Re: more benchmarking in mobile-spec

2013-02-19 Thread Filip Maj
K I've got a little bit ready. Just benches: 1. The # of exec invocations possible in a time interval 2. The # of exec callback invocations possible in a time interval Now my conundrum is: where do I push this to? Next branch? Master? :( On 2/19/13 12:16 PM, Andrew Grieve agri...@chromium.org

Re: Proposition to split cordova-blackberry into two separate plugins

2013-02-19 Thread Shazron
+1 Also, any news when BB10 comes to Playbook, ballpark? -- once BB10 is ported to playbook On Tue, Feb 19, 2013 at 1:24 PM, Filip Maj f...@adobe.com wrote: Sounds fine to me. As for process, assuming there are no objections (would wait a couple days), file a JIRA issue on the INFRA

Re: Tag 2.5.0rc1?

2013-02-19 Thread Shazron
Will do the same EOD today for Eye-Oh-Ess, wrapping things up. On Tue, Feb 19, 2013 at 11:55 AM, Joe Bowser bows...@gmail.com wrote: Gone through the same process with Fil. If we fail, we fail together On Tue, Feb 19, 2013 at 11:50 AM, Filip Maj f...@adobe.com wrote: I've creatd the

Re: Proposition to split cordova-blackberry into two separate plugins

2013-02-19 Thread Brian LeRoux
I'm a little uncertain about the reasoning here. What happens when BB11 ships? New repo? Generally we try to keep things in a vendor directory with the pertinent SDK's within. What is wrong w/ the current structure for contribution? On Tue, Feb 19, 2013 at 2:45 PM, Shazron shaz...@gmail.com

RE: Tag 2.5.0rc1?

2013-02-19 Thread Herm Wong
webOS has been tagged 2.5.0rc1. From: shaz...@gmail.com Date: Tue, 19 Feb 2013 14:46:08 -0800 Subject: Re: Tag 2.5.0rc1? To: dev@cordova.apache.org Will do the same EOD today for Eye-Oh-Ess, wrapping things up. On Tue, Feb 19, 2013 at 11:55 AM, Joe Bowser bows...@gmail.com wrote:

[Android] Where does stuff get written?

2013-02-19 Thread Joe Bowser
Fil and I were working on this issue today: https://issues.apache.org/jira/browse/CB-2494 This code writes the LICENCE file to /mnt/shell/emulated/0 on Android, which is some unknown location that isn't accessible using the crappy Android File Transfer app. I have no idea what the relationship

Re: [Android] Where does stuff get written?

2013-02-19 Thread Jesse
seems to me, temp should be whatever is returned by getCacheDir and persistent should be Internal Storage [1] AFAIK all other platforms consider the file storage location to be private to the application. [1] http://developer.android.com/guide/topics/data/data-storage.html#filesInternal On Tue,

Re: Proposition to split cordova-blackberry into two separate plugins

2013-02-19 Thread Tim Kim
I don't mind either way, but I think we should have at least an idea what the cordova-blackberry10 repo should look like before we create it. To separate them right now would mean creating two very similar cordova-blackberry repos (everything the same except some build scripts). And then later on,

Re: docs on cordova.apache.org

2013-02-19 Thread Filip Maj
Awesome work Mike! On 2/19/13 4:38 PM, Michael Brooks mich...@michaelbrooks.ca wrote: Update: Short-term goal [1] is now complete. The documentation is hosted on Apache infrastructure under the Apache Cordova website. Additionally, http://docs.cordova.io/ redirects to the Apache Cordova

Re: docs on cordova.apache.org

2013-02-19 Thread Brian LeRoux
Sweet. I'll update the board report. =) On Tue, Feb 19, 2013 at 4:38 PM, Michael Brooks mich...@michaelbrooks.cawrote: Update: Short-term goal [1] is now complete. The documentation is hosted on Apache infrastructure under the Apache Cordova website. Additionally, http://docs.cordova.io/

Re: docs on cordova.apache.org

2013-02-19 Thread Michael Brooks
Yay! Board Report another objective complete! On Tue, Feb 19, 2013 at 4:54 PM, Brian LeRoux b...@brian.io wrote: Sweet. I'll update the board report. =) On Tue, Feb 19, 2013 at 4:38 PM, Michael Brooks mich...@michaelbrooks.ca wrote: Update: Short-term goal [1] is now complete. The

Re: docs on cordova.apache.org

2013-02-19 Thread Michael Brooks
Yay! Board Report another objective complete! Or better said: Yay! Another board report objective complete! On Tue, Feb 19, 2013 at 4:56 PM, Michael Brooks mich...@michaelbrooks.cawrote: Yay! Board Report another objective complete! On Tue, Feb 19, 2013 at 4:54 PM, Brian LeRoux

Re: docs on cordova.apache.org

2013-02-19 Thread Michael Brooks
Attention: Expect a one hour outage on docs.cordova.io. I'll be updating the DNS for docs.cordova.io to use A-records instead of HTTP Redirects because it's faster. You can still access the docs using the full path: http://cordova.apache.org/docs/en/2.4.0 You can also access the PhoneGap

Re: docs on cordova.apache.org

2013-02-19 Thread Ross Gardler
Sent from a mobile device, please excuse mistakes and brevity On 20 Feb 2013 00:52, Filip Maj f...@adobe.com wrote: Awesome work Mike! +1000 On 2/19/13 4:38 PM, Michael Brooks mich...@michaelbrooks.ca wrote: Update: Short-term goal [1] is now complete. The documentation is hosted on