Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C34589639 for ; Thu, 2 Feb 2012 18:09:15 +0000 (UTC) Received: (qmail 78581 invoked by uid 500); 2 Feb 2012 18:09:15 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 78484 invoked by uid 500); 2 Feb 2012 18:09:14 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 78474 invoked by uid 99); 2 Feb 2012 18:09:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2012 18:09:14 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of shazron@gmail.com designates 209.85.212.175 as permitted sender) Received: from [209.85.212.175] (HELO mail-wi0-f175.google.com) (209.85.212.175) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2012 18:09:07 +0000 Received: by wibhq7 with SMTP id hq7so2167735wib.6 for ; Thu, 02 Feb 2012 10:08:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=9+R+SXNchAGxIvaImM+piNeTIz1TNtvDDcKRuiwVXuY=; b=r5lZxKdyZ5Y041JVDRdsAQsCHVnYxQpAdgnyShdel63x3o0Y9lAhH4mDNm7aQQJxan sbSKh77F6QZKvIX5qh3wvE6NmZdhTKMJ/QaF7UnI45IPuet5LWklEJ/CGwVqeBGifo41 TtNOsLNrFsHROCXFR1P1PGlfIOwqI1rwW3IIs= Received: by 10.180.101.101 with SMTP id ff5mr19730897wib.14.1328206127408; Thu, 02 Feb 2012 10:08:47 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.1.145 with HTTP; Thu, 2 Feb 2012 10:08:07 -0800 (PST) In-Reply-To: References: From: Shazron Date: Thu, 2 Feb 2012 10:08:07 -0800 Message-ID: Subject: Re: Work Items for 1.5.0 - unified JS To: callback-dev@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Sounds good - set up a meeting invite for a time best for you, we can go on Connect On Thu, Feb 2, 2012 at 9:59 AM, Filip Maj wrote: > Shaz why don't we plan for some mutual programming sessions (online? In > person?) for the week of the 13th? > > On 12-02-02 9:48 AM, "Shazron" wrote: > >>Sounds good for me whenever you are available Fil (although I'm away >>Feb 23 until early Mar) >> >>On Wed, Feb 1, 2012 at 3:14 PM, Filip Maj wrote: >>> I'm in transit early next week to Europe and presenting/at a conference >>> mid-week. I can do late next-week though (Thursday?). Or the following >>> week once im back in north america. >>> >>> On 12-02-01 2:58 PM, "Bryce Curtis" wrote: >>> >>>>Having a session would be helpful. =A0Early next week (Mon/Tue >>>>11PT/1CT/2ET) >>>>would be good. >>>> >>>>On Wed, Feb 1, 2012 at 4:29 PM, Steven Gill >>>>wrote: >>>> >>>>> +1 on connect session >>>>> >>>>> On Wed, Feb 1, 2012 at 2:21 PM, Filip Maj wrote: >>>>> >>>>> > The JS code base is pretty much there. Works on Android. Works >>>>>almost >>>>> > completely on BB + PlayBook. I'll need help to get it working on >>>>>iOS + >>>>> the >>>>> > other platforms. It's here: http://github.com/callback/callback-js >>>>> > >>>>> > If there is enough interest, I am down for setting up a public >>>>>Connect >>>>> > session where I can go over the implementations Gord Tanner and I >>>>>have >>>>> been >>>>> > working on so people can get a feel for how this stuff is laid out. >>>>> > >>>>> > Some general notes about changes that we will need for all native >>>>> > implementations: >>>>> > >>>>> > =A0* =A0 Change all of the JavaScript references in the native >>>>> > implementations. No more global references in native. No more rando= m >>>>> > "_cast" global methods that convert native return values into JS >>>>>objects >>>>> or >>>>> > whatnot - the JS implementation should be doing this anyways. >>>>> > =A0* =A0 Make all plugin service names consistent >>>>> > =A0* =A0 Make all plugin action names consistent >>>>> > =A0* =A0 Normalize file:/// URIs across platforms for the File API.= I.e. >>>>>iOS >>>>> > uses file:///localhost/, BB uses just file:///, android uses >>>>>something >>>>> > else, etc. >>>>> > =A0* =A0 Figure out (i.e. axe) what to do with platform-specific AP= Is >>>>> > (Android's Crypto, iOS SMS+Telephony) >>>>> > =A0* =A0 Normalize error objects returned from native across all >>>>>platforms >>>>> > =A0* >>>>> > >>>>> > Platform-specific notes: >>>>> > >>>>> > =A0* =A0 Android, I have a unified-js branch up on my fork that we = just >>>>>need >>>>> > to merge in: >>>>> > https://github.com/filmaj/incubator-cordova-android/tree/unified-js >>>>> > =A0* =A0 BlackBerry, I have the same thing going on but it is at ab= out >>>>>80%: >>>>> > >>>>> >>>>>https://github.com/filmaj/incubator-cordova-blackberry-webworks/tree/u= n >>>>>if >>>>>ied-js >>>>> > =A0* =A0 For all other platforms, I'd love to do some hack sessions= with >>>>>the >>>>> > platform owner(s) to go over what is required. Looking for >>>>>volunteers >>>>>:) >>>>> > >>>>> > Other things I'd like to get into the cordova-js project before 1.5= : >>>>> > >>>>> > =A0* =A0 move all unit-testy stuff from mobile-spec into the cordov= a-js >>>>>unit >>>>> > tests >>>>> > =A0* =A0 Once we have cordova-js working on platforms (the big 3? B= B >>>>>Android >>>>> > iOS?), we'll need to once-over the API docs again as some stuff in >>>>>there >>>>> > will no longer be relevant (I.e. Platform-specific quirks) >>>>> > >>>>> > I'm looking to get started on this right away. The sooner I can get >>>>>help >>>>> > from platform maintainers in integrating cordova-js into the projec= t >>>>>the >>>>> > better. >>>>> > >>>>> >>> >