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 335BDD96A for ; Tue, 26 Jun 2012 19:35:43 +0000 (UTC) Received: (qmail 94966 invoked by uid 500); 26 Jun 2012 19:35:42 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 94932 invoked by uid 500); 26 Jun 2012 19:35:42 -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 94923 invoked by uid 99); 26 Jun 2012 19:35:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jun 2012 19:35:42 +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.214.175 as permitted sender) Received: from [209.85.214.175] (HELO mail-ob0-f175.google.com) (209.85.214.175) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jun 2012 19:35:37 +0000 Received: by obcva7 with SMTP id va7so326081obc.6 for ; Tue, 26 Jun 2012 12:35:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=F4TrtUnpio9UU/K3n+vYLC6/Ynx9fE5Ww62dOVi0Cp0=; b=sDqnw+xPcujLkgi58BU5Sh4cYe/ClivflmlvLqubfyimhrd2wJkUiLhRf4W4nY4flE nXB1lZcz+VA3drpcSf+XM0IHIaVuqAd+1oQatAbBYg3YOa/7k2iz1JtJ0NKvlp+i05lC Wq2QhbaJufOQ0Fd0Lyw8sXFT7+EseBYEF7AjwnzLsz60+/zYtrV4oj1nlUlpFmZeZoOV N7tTcpwO4kIULySa7YS9hcbIqR173XAiEgMcqz8HgdxS00p7xKyDPpVJ6FfyF/GGWDMj cT0ASV6hz3GgirkfF5tH04Vz29xxbuItaxbrgrRvASgQwnM3vjoWT++uflLVJwTd1C5A WfAw== Received: by 10.182.146.84 with SMTP id ta20mr17545817obb.19.1340739316250; Tue, 26 Jun 2012 12:35:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.128.105 with HTTP; Tue, 26 Jun 2012 12:34:36 -0700 (PDT) In-Reply-To: References: From: Shazron Date: Tue, 26 Jun 2012 12:34:36 -0700 Message-ID: Subject: Re: Plugin Format and Spec To: callback-dev@incubator.apache.org, alunny@gmail.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks for the fix Andrew! Not sure what you are referring to regarding shouldStartLoadWithRequest -- this does not occur in the AppDelegate anymore (the app delegate does not implement the UIWebDelegate interface). This is handled in the CDVViewController - which in the app template, your MainViewController subclasses. Even so, I'm not sure why plugins need to hook into this? If they do, since all plugins have access to the UIWebView, they can "override" the UIWebViewDelegate from the webView.delegate property, like how I did it for the iOS 5.1 localStorage fix (and forward the message on, etc): 1. https://github.com/apache/incubator-cordova-ios/blob/master/CordovaLib/C= lasses/CDVLocalStorage.m#L102 2. https://github.com/apache/incubator-cordova-ios/blob/master/CordovaLib/C= lasses/CDVLocalStorage.m#L319-342 On Tue, Jun 26, 2012 at 12:10 PM, Andrew Lunny wrote: > Re node 0.8: package.json is updated in version 0.3.4. All can rejoice. > > Re speccing engine versions: I commented on Fil's pull request. It's most= ly > all good. > > @Ally - looking at that repo, the only thing you're doing that's not > supported in the current version of the spec is modifying the AppDelegate > class (the shouldStartLoadWithRequest method). I wonder what the best way > to do that programmatically would be - any thoughts Shaz? Perhaps have a > delegate of the app delegate that plugins can hook into? > > On 25 June 2012 19:08, Ally Ogilvie wrote: > >> Hi All :) >> >> Our current build hub at Wizcorp has plugins in separate repos already. >> Each plugin repo is version branched. >> We have a config for each project which contains required plugin name >> (matching repo) and versions (as well as many other things). >> We clone each plugin repo from branch =3D version recursively and inject= code >> or xml/plist data where necessary. >> >> I'd really like to sync the structure you guys have as most likely peopl= e >> will use your format as de facto for setting up plugin repos ;) >> Also, @ https://github.com/alunny/cordova-plugin-spec >> ^ I noticed your happy to dump all your HTML in www dir. I suggest sub d= irs >> as some developers dont want a 100 files at root www. >> maybe; >> >> www/phonegap/js/cordova.js >> www/phonegap/plugins/yourPluginName/plugin1.js >> www/phonegap/plugins/yourPluginName/plugin2.js >> >> our full repo setup is as such; >> https://github.com/Wizcorp/phonegap-plugin-wizViewManager/tree/v1.1 >> >> Thanks! >> >> On Tue, Jun 26, 2012 at 9:50 AM, Shazron wrote: >> >> > Anis can chime in - he was testing with it and reported the error. I >> > believe the error was in the parser functionality in that module (I >> > assume in parsing the .xcodeproj file). >> > >> > On Mon, Jun 25, 2012 at 5:31 PM, Patrick Mueller >> > wrote: >> > > On Mon, Jun 25, 2012 at 8:19 PM, Shazron wrote: >> > > >> > >> It was explained to me that even numbered versions are considered >> > >> unstable >> > >> >> > > >> > > Even numbered versions are stable - 0.6.x, 0.8.x; odd versions aren'= t >> > > stable - 0.7.x, etc; >> > > >> > > >> > > >> > >> http://en.wikipedia.org/wiki/Software_versioning#Odd-numbered%5Fversions= %5Ffor%5Fdevelopment%5Freleases >> > > >> > > Isn't this just a matter of removing >> > > >> > > "engines": { >> > > =A0 =A0"node": "~0.6.7" >> > > =A0} >> > > >> > > >> > > from the package.json? =A0Or is there really some reason we need thi= s? >> > > >> > > -- >> > > Patrick Mueller >> > > http://muellerware.org >> > >> >> >> >> -- >> Ally Ogilvie >> Lead Developer [ iOS, Android ] >> Mobile Devices >> >> [image: >> >> http://www.wizcorp.jp/wp-content/themes/business-lite/images/all/wizcorp= -logo.png >> ] >> >> 3-10-14-6F Higashi Nihombashi, >> Chuo-ku >> 103-0004, Tokyo >> Tel: (+81)3-4550-1448 >> E-mail: aogilvie@wizcorp.jp >>