Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1B4CAF66C for ; Mon, 8 Apr 2013 17:15:39 +0000 (UTC) Received: (qmail 77971 invoked by uid 500); 8 Apr 2013 17:15:38 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 77930 invoked by uid 500); 8 Apr 2013 17:15:38 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 77922 invoked by uid 99); 8 Apr 2013 17:15:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Apr 2013 17:15:38 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of chris.delcol@gmail.com designates 74.125.83.43 as permitted sender) Received: from [74.125.83.43] (HELO mail-ee0-f43.google.com) (74.125.83.43) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Apr 2013 17:15:34 +0000 Received: by mail-ee0-f43.google.com with SMTP id e50so2505195eek.2 for ; Mon, 08 Apr 2013 10:15:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=K5Ly6YwwCEfB3UZLKN+Wj5WXQJwsovJtN8BnQO+mRTU=; b=KoOO2rpp/C52FEQ8d2uU5Ipb/I00BKF+T524snih83z1YzaygWHEETAvAFhyRdbTpj MePvBD/igMZX9OX7wcqFdAwuOn77hwjW8NS47IibjvaLMrSmj9hBpBQTWNb9HrmpTmtb AuIuVcceuofDDpd5H0LfrtmmjML3blRnl5e3inSmYv6Rtp1JFqMk7nrJ781FAhyaBHiI zKtKCuUT3VE81WIlE/x0MKzjds44NCQpfraQxpEMEycOSjucLHSZX7UpHd4ynftyAusu Rc0v1F7R600ludBAI3WMMc9lFsW4ES5W7atwNZe2NoMnwjzh+9O7quvNkbWcqFmti4ly bX1g== MIME-Version: 1.0 X-Received: by 10.14.182.137 with SMTP id o9mr15262278eem.13.1365441312576; Mon, 08 Apr 2013 10:15:12 -0700 (PDT) Sender: chris.delcol@gmail.com Received: by 10.14.125.201 with HTTP; Mon, 8 Apr 2013 10:15:12 -0700 (PDT) In-Reply-To: References: <20130406151653.17510542.7158.4475@blackberry.com> Date: Mon, 8 Apr 2013 13:15:12 -0400 X-Google-Sender-Auth: 3kp1jV3YV2BfR6SvLILICHXHR8U Message-ID: Subject: Re: BlackBerry BB10 Repos on GitHub From: Chris DelCol To: dev@cordova.apache.org Content-Type: multipart/alternative; boundary=047d7b343f6065fb8504d9dc94a4 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b343f6065fb8504d9dc94a4 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable I think the biggest impact is that the architecture and features of Cordova are now implemented directly, rather than through a proprietary SDK that is "somewhat" aligned. I'm not sure there will be actual performance gains, or that the architecture is easier. But what it does mean is that compatibility should go way up, and focus on it will go up as well since we are not split between 2 competing products. On Mon, Apr 8, 2013 at 12:09 PM, Michal Mocny wrote: > This sounds pretty cool. > > For those with no prior BB experience, is there a high level summary of t= he > net effect of the changes? x% faster exec, N less bytes of binary, Y > timesr > easier plugin development etc? > > Thanks, > -Michal > > > On Mon, Apr 8, 2013 at 11:22 AM, Bryan Higgins >wrote: > > > It's exactly the same as this extension, but we've converted it into a > > cordova plugin. We'll provide both the source and pre-compiled librarie= s. > > > > > https://github.com/blackberry/BB10-WebWorks-Framework/tree/master/ext/jpp= s > > > > > > On Mon, Apr 8, 2013 at 10:57 AM, Lorin Beer > >wrote: > > > > > sounds great Bryan, > > > > > > about the private native dependency, is that provided as a precompile= d > > > library? > > > Can we run these codes? > > > > > > - Lorin > > > > > > > > > On Mon, Apr 8, 2013 at 7:13 AM, Bryan Higgins > > >wrote: > > > > > > > Sounds good! There are still a few things we need to finish up to g= et > > > test > > > > results in line with the existing implementation. File API is the b= ig > > > one. > > > > > > > > There is also a native library needed which is in the private repo > > right > > > > now. We'll look at moving that into cordova-blackberry. > > > > > > > > > > > > On Mon, Apr 8, 2013 at 9:52 AM, Lorin Beer > > > > > wrote: > > > > > > > > > Great! Last week, I wrote a little script to provide unique tags = to > > the > > > > > unit tests in mobile spec. Once those are tagged, I'll be pushing > up > > > the > > > > > currently failing tests in the existing BB10 implementation. Havi= ng > > > those > > > > > tests documented will hopefully provide an anchor to move the > > > discussion > > > > > forward. > > > > > > > > > > > > > > > On Mon, Apr 8, 2013 at 5:57 AM, Bryan Higgins < > > bhiggins@blackberry.com > > > > > >wrote: > > > > > > > > > > > I'll follow up today with that. There are a few people who need > to > > > sign > > > > > > still. > > > > > > > > > > > > > > > > > > On Sun, Apr 7, 2013 at 6:32 PM, Lorin Beer < > > lorin.beer.dev@gmail.com > > > > > > > > > > wrote: > > > > > > > > > > > > > This is great stuff! I figured we'd be waiting for a while > > longer, > > > > > great > > > > > > to > > > > > > > see this go live! > > > > > > > Tim and I will be going through this right away. > > > > > > > Bryan, I know you are on the > > > > > > > list< > https://people.apache.org/committer-index.html#unlistedclas > > >; > > > > has > > > > > > > the rest of your team signed the Apache CLA as well? > > > > > > > > > > > > > > - Lorin > > > > > > > > > > > > > > On Sat, Apr 6, 2013 at 9:53 AM, Tim Kim > > > wrote: > > > > > > > > > > > > > > > Awesome! > > > > > > > > > > > > > > > > > > > > > > > > On 6 April 2013 08:16, Ken Wallis > > > wrote: > > > > > > > > > > > > > > > > > So awesome to see this go live, thanks Bryan. Looking > forward > > > to > > > > > > seeing > > > > > > > > > progress towards this being merged into the Apache repos! > > > > > > > > > > > > > > > > > > Sent from my BlackBerry Z10 smartphone. > > > > > > > > > From: Bryan Higgins > > > > > > > > > Sent: Saturday, April 6, 2013 6:42 AM > > > > > > > > > To: dev@cordova.apache.org > > > > > > > > > Reply To: dev@cordova.apache.org > > > > > > > > > Subject: BlackBerry BB10 Repos on GitHub > > > > > > > > > > > > > > > > > > > > > > > > > > > Over the last few weeks, we at BlackBerry WebWorks have > been > > > > > working > > > > > > > on a > > > > > > > > > prototype for a new version of our SDK based on Cordova. > I'm > > > > happy > > > > > to > > > > > > > say > > > > > > > > > that we're now able to share our repos publicly! > > > > > > > > > > > > > > > > > > To understand what we've done, you will first need to > > > understand > > > > > that > > > > > > > > > WebWorks for BB10 is really 3 things: > > > > > > > > > > > > > > > > > > 1. Packager (bbwp) =96 a set of node scripts to assemb= le > > apps > > > > from > > > > > > > > source > > > > > > > > > 2. Framework =96 handles bootstrap, extension loading, > exec > > > > calls, > > > > > > > > events > > > > > > > > > 3. Extensions =96 all of the APIs. Similar to cordova > > plugins, > > > > but > > > > > > > > > included in the SDK rather than directly in the project. > > > > > > > > > > > > > > > > > > All of this is built on top of the "web platform" - a lay= er > > on > > > > top > > > > > of > > > > > > > > > WebKit which exposes device APIs. We plan to document thi= s > > > layer > > > > > and > > > > > > > > > provide instructions on how to build a web platform app > using > > > > only > > > > > > the > > > > > > > > NDK. > > > > > > > > > > > > > > > > > > For those wanting a rich set of APIs, we will provide a > > Cordova > > > > > build > > > > > > > > along > > > > > > > > > with a set of custom plugins for platform features. > > > > > > > > > > > > > > > > > > To get to that world, we need to move some logic from the > > > > packager > > > > > > and > > > > > > > > > framework into Cordova. This will really simplify the exe= c > > > chain > > > > > and > > > > > > > ease > > > > > > > > > plugin development. > > > > > > > > > > > > > > > > > > Old world: > > > > > > > > > Plugin script > cordova.exec > WebWorks extension > > > > > webworks.exec > > > > > > > web > > > > > > > > > platform / native > > > > > > > > > > > > > > > > > > New world: > > > > > > > > > Plugin script > cordova.exec > web platform / native > > > > > > > > > > > > > > > > > > All of our repos are up at github.com/blackberry. Here's = a > > > quick > > > > > > > summary > > > > > > > > > of > > > > > > > > > what we have done so far. > > > > > > > > > > > > > > > > > > https://github.com/blackberry/cordova-blackberry > > > > > > > > > > > > > > > > > > * split out BB10 from BBOS/PlayBook > > > > > > > > > * Re-implemented cordova create, build and run in nod= e, > > > using > > > > > > libs > > > > > > > > from > > > > > > > > > our packager > > > > > > > > > * Introduced "target" script for managing device and > > > > simulator > > > > > > > > > configuration > > > > > > > > > * Started the process of converting core plugins from > > > > wrappers > > > > > to > > > > > > > > > calling web platform directly > > > > > > > > > > > > > > > > > > https://github.com/blackberry/cordova-js > > > > > > > > > > > > > > > > > > * Created blackberry10 as a top level platform > > > > > > > > > * Added some bootstrap, exec and event logic from our > > > > Framework > > > > > > > > > * Started the process of removing the wrappers (at > which > > > > point > > > > > > > > > cordova.exec and webworks.exec are merged and webworks > events > > > > will > > > > > go > > > > > > > > away) > > > > > > > > > > > > > > > > > > https://github.com/blackberry/cordova-plugman > > > > > > > > > > > > > > > > > > * Copy "controller" code (index.js) and native .so > files > > > into > > > > > the > > > > > > > > > project > > > > > > > > > * Implemented our prototype of script injection > (wrapping > > > > > > > js-modules > > > > > > > > in > > > > > > > > > cordova.define and generating plugins.json). > > > > > > > > > > > > > > > > > > https://github.com/blackberry/cordova-cli > > > > > > > > > > > > > > > > > > * Minor changes to support splitting out BB10 from BB= OS > > > > > > > > > > > > > > > > > > > https://github.com/blackberry/cordova-blackberry-plugins(not > > > > yet > > > > > > > > public,) > > > > > > > > > > > > > > > > > > * Plugins for BB10 platform features > > > > > > > > > > > > > > > > > > I know this is a lot of dump on the list at once, but Jef= f > > and > > > I > > > > > are > > > > > > > here > > > > > > > > > to answer any questions or concerns. Now that the repos a= re > > > live > > > > > we'd > > > > > > > > like > > > > > > > > > to start a discussion on getting the code into Apache. > We've > > > got > > > > a > > > > > > > small > > > > > > > > > team here working on this (intros to come) and everyone i= s > > > > excited > > > > > to > > > > > > > > start > > > > > > > > > working with the community. > > > > > > > > > > > > > > > > > > Cheers, > > > > > > > > > Bryan > > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > > > > > 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 a= nd > > may > > > > be > > > > > > > > unlawful. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > Timothy Kim > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --047d7b343f6065fb8504d9dc94a4--