Re: Standardising How to Get Cordova Version in a Project

2013-05-02 Thread Erik Johnson

+1 on this idea.

-Erik

From: Shazron
Sent: Thursday, May 2, 2013 5:28 PM
To: dev@cordova.apache.org
Reply To: dev@cordova.apache.org
Subject: Re: Standardising How to Get Cordova Version in a Project


Why don't we defer to each platform how to read the version - return it in
a script? kinda like bin/check_reqs


On Thu, May 2, 2013 at 2:18 PM, Tim Kim  wrote:

> Hey gang,
>
> So I'm working on the engine tag for plugman and I've come across a bit of
> a problem. For those who don't know, the engine tag is for checking whether
> a plugin needs a certain version of Cordova to work. It's one of the last
> outstanding features for the plugman spec that has yet to be implemented.
>
> Anyhow, the problem is figuring out what version of Cordova a particular
> project is using. Each platform is different in how they 'determine' which
> current version is being used. eg, VERSION files, a jar file that has the
> version string in it, cordova js file with version in the file name or
> first line, etc.
>
> Moving forward, I was hoping that we could include an additional config xml
> element to specify which version of Cordova is being used. So something
> like that could be added in during the create scripts. That way I can just
> reference the config xml file and get all the info I need.
>
> However, the problem with that approach is if a particular user decides to
> just upgrade their project but copying and pasting new files or changed
> version somehow, they will also have to remember to upgrade their version
> string in config xml. It's not so bad, but kinda annoying.
>
> If no change is made, I've done some work to solve this problem but it's
> pretty brittle. You supply a possible path(s) of where you think the
> version string might be and it'll try and figure it out for you. So it
> should work with the recent change of moving the version number to the top
> of the cordova.js file:
> https://github.com/timkim/plugman/tree/search_cordova
>
>
>
>
>
> --
> Timothy Kim
>

-
This transmission (including any attachments) may contain confidential 
information, privileged material (including material protected by the 
solicitor-client or other applicable privileges), or constitute non-public 
information. Any use of this information by anyone other than the intended 
recipient is prohibited. If you have received this transmission in error, 
please immediately reply to the sender and delete this information from your 
system. Use, dissemination, distribution, or reproduction of this transmission 
by unintended recipients is not authorized and may be unlawful.


RE: Standardized gestures

2013-04-17 Thread Erik Johnson
This is an interesting idea. I know we get many requests for gesture 
recognition on BlackBerry 10. Adding the link below as references as well for 
the BB platform :)

https://developer.blackberry.com/native/reference/bb10/com.qnx.doc.gestures.lib_ref/topic/overview.html

-Erik

From: jbo...@openmv.com [jbo...@openmv.com]
Sent: Wednesday, April 17, 2013 12:42 PM
To: dev@cordova.apache.org
Subject: Standardized gestures

I'm experimenting with Cordova on Android, iOS and Windows 8.

Has there been a discussion around trying to implement to set of 'standard' 
gesture recognizers:
http://msdn.microsoft.com/library/windows/apps/BR241937
http://developer.apple.com/library/ios/#documentation/EventHandling/Conceptual/EventHandlingiPhoneOS/GestureRecognizer_basics/GestureRecognizer_basics.html
http://developer.android.com/reference/android/view/GestureDetector.html

The idea would be that the native side executes JavaScript like:
javascript:cordova.fireEvent('tap', {node: document.elementFromPoint(400, 300), 
x: 400, y:300 });
javascript:cordova.fireEvent('slide', {node: document.elementFromPoint(400, 
300), x: 400, y:300});

This function could use document.createEvent to initiate events on the DOM node:
https://developer.mozilla.org/en-US/docs/DOM/document.createEvent

The purpose of this would be to have a consistent set of gesture recognition 
across different devices instead of having javascript code in the 'WebView' 
trying to do gesture detection.

Thoughts?


-
This transmission (including any attachments) may contain confidential 
information, privileged material (including material protected by the 
solicitor-client or other applicable privileges), or constitute non-public 
information. Any use of this information by anyone other than the intended 
recipient is prohibited. If you have received this transmission in error, 
please immediately reply to the sender and delete this information from your 
system. Use, dissemination, distribution, or reproduction of this transmission 
by unintended recipients is not authorized and may be unlawful.


RE: Introduction

2013-04-05 Thread Erik Johnson
I will piggy back on the back of Lucas's intro as well:

Hey All,

I'm Erik a dev at BlackBerry. I've been working on the WebWorks product in some 
capacity for nearly a year now. I hope to be able to contribute as well in some 
meaningful way. Feel free to forward me any BB specific fixes that need to be 
done.

Quick note: I've signed the CLA and have been parousing JIRA as well. My first 
little project is creating the native support in our webview for window.open 
with the menubar=true flag so we can support a menu bar less experience in 
Oauth.

-Erik

From: agri...@google.com [agri...@google.com] on behalf of Andrew Grieve 
[agri...@chromium.org]
Sent: Friday, April 05, 2013 2:50 PM
To: dev
Subject: Re: Introduction

Woohoo! Welcome!


On Fri, Apr 5, 2013 at 11:52 AM, Michal Mocny  wrote:

> Welcome Lucas!
>
> Have you signed the Apache Contributor License Agreement?
>
> Be sure to check out http://wiki.apache.org/cordova/ContributorWorkflow
>
> -Michal
>
>
> On Fri, Apr 5, 2013 at 11:33 AM, Filip Maj  wrote:
>
> > Welcome Lucas!
> >
> > On 4/5/13 7:17 AM, "Lorin Beer"  wrote:
> >
> > >Hi Lucas, welcome to the dev list!
> > >
> > >You've got the right idea to get started, and if you have any questions,
> > >drop it on the mailing list.
> > >
> > >- Lorin
> > >
> > >
> > >On Fri, Apr 5, 2013 at 7:11 AM, Lucas Holmquist 
> > >wrote:
> > >
> > >> Hey all,
> > >>
> > >> i just wanted to introduce myself.  I'm looking to start contributing
> > >>and
> > >> helping out with the project.  I mainly focus on JS, but can help in
> > >>others
> > >> areas as well.
> > >>
> > >> I'll take a look at the JIRA's to get started with.  anything that i
> can
> > >> do to help,  let me know
> > >>
> > >>
> > >> -Luke
> >
> >
>

-
This transmission (including any attachments) may contain confidential 
information, privileged material (including material protected by the 
solicitor-client or other applicable privileges), or constitute non-public 
information. Any use of this information by anyone other than the intended 
recipient is prohibited. If you have received this transmission in error, 
please immediately reply to the sender and delete this information from your 
system. Use, dissemination, distribution, or reproduction of this transmission 
by unintended recipients is not authorized and may be unlawful.