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 C598018DAF for ; Fri, 23 Oct 2015 23:42:29 +0000 (UTC) Received: (qmail 28580 invoked by uid 500); 23 Oct 2015 23:42:29 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 28543 invoked by uid 500); 23 Oct 2015 23:42:29 -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 28531 invoked by uid 99); 23 Oct 2015 23:42:29 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Oct 2015 23:42:29 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id C4C741A078D for ; Fri, 23 Oct 2015 23:42:28 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.901 X-Spam-Level: ** X-Spam-Status: No, score=2.901 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id GtZS8H8N5aCQ for ; Fri, 23 Oct 2015 23:42:14 +0000 (UTC) Received: from mail-ob0-f172.google.com (mail-ob0-f172.google.com [209.85.214.172]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id A961821270 for ; Fri, 23 Oct 2015 23:42:13 +0000 (UTC) Received: by obbda8 with SMTP id da8so104802796obb.1 for ; Fri, 23 Oct 2015 16:42:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=2o0Y5xtABIgW8b2prejznTgOh+koHpiS7UAatITqJIw=; b=EjP2vrZjiwUNPADRjRtLWhASLJe/+5rejDdPpAxMZGGBZuGNOIduEyaD/7HQalqGZj o+7G/0PhwgjnNmZ1JNpDXK6fklmLlONQu9QkcYO3PRLeMFjg0Yy16b52DTthlp//5dtB W6y7cVKPZJN87gk/E1ajmVPzbtwWM1Ktpr1MqFJ4qpJ/ewb6QW5gq/+/cRk5fOh8di2X jSxZmghbCQTkSdeOpXWTGJ0oILkZ38HMb1aL0FpEsaONSSvwNh6t6uefuAuiFRvZWnrp Z5JL1Tt5UDVU3UQLeMeR9aEtVYDFujqEcdB7G1NIYRXEcuVGzFg16nDIOaFg8Kpskf4S 9gHA== MIME-Version: 1.0 X-Received: by 10.182.29.99 with SMTP id j3mr16423586obh.1.1445643733052; Fri, 23 Oct 2015 16:42:13 -0700 (PDT) Received: by 10.76.167.132 with HTTP; Fri, 23 Oct 2015 16:42:12 -0700 (PDT) In-Reply-To: References: Date: Fri, 23 Oct 2015 16:42:12 -0700 Message-ID: Subject: Re: [Android][Discuss] Change name of CordovaWebView to CordovaWebInterface From: Jesse To: "dev@cordova.apache.org" Content-Type: multipart/alternative; boundary=001a11c28c6e2e332a0522ce29b4 --001a11c28c6e2e332a0522ce29b4 Content-Type: text/plain; charset=UTF-8 Let's go ahead with renaming CordovaWebView => CordovaWebInterface, and keeping around a CordovaWebView object so that nothing breaks. We should also deprecate CordovaWebView, and document the change so that people who are using it have some notice, and people who are new know what NOT to use. We don't have to remove it immediately, or even on our next major bump, just sometime down the road. If we don't move forward we will just be stuck with it forever ... My team is hiring! @purplecabbage risingj.com On Fri, Oct 23, 2015 at 1:19 PM, Nikhil Khandelwal wrote: > I understand that it won't break currently and it will break on the next > major version bump. IMHO it's just not worth it for this name change. > > Historically, we've had challenges with giving sufficient notice from > breaking changes. I would avoid them unless absolutely needed. > > -Nikhil > > -----Original Message----- > From: Simon MacDonald [mailto:simon.macdonald@gmail.com] > Sent: Thursday, October 22, 2015 12:14 PM > To: dev@cordova.apache.org > Subject: Re: [Android][Discuss] Change name of CordovaWebView to > CordovaWebInterface > > Let's just be clear that in Cordova Android 5.0 nothing will break. > The interface CordovaWebView has been renamed to CordovaWebInterface but > that won't break anything as we introduce a new class called, wait for it, > CordovaWebView that extends the new CordovaWebInterface. This way all > current code that uses CordovaWebView will continue to work without > modification. > > If we start updating our documentation, i.e. how to write a CordovaPlugin > for Android, and give people plenty of notice that this is going to happen > then I don't see why we wouldn't want to move forward. > > That's just my 2 cents. > > Simon Mac Donald > > https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%2fhi.im%2fsimonmacdonald&data=01%7c01%7cnikhilkh%40microsoft.com%7caf6077fb55224d7b1d2c08d2db1508fe%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=50aLt1e0sp9z4TrrSBiMnAaBdSj1RrUuIEcnPaHGD1U%3d > > > On Wed, Oct 21, 2015 at 6:13 PM, Nikhil Khandelwal > wrote: > > Thanks, Joe for the summary of the impact later. > > > > -1. IMO - a naming change is no worth the effort and future breakage. > > > > -Nikhil > > > > -----Original Message----- > > From: Joe Bowser [mailto:bowserj@gmail.com] > > Sent: Wednesday, October 21, 2015 11:06 AM > > To: dev > > Subject: Re: [Android][Discuss] Change name of CordovaWebView to > > CordovaWebInterface > > > > Yes, I do. I had to search through mobilespec, but here it is: > > > > private static final boolean HAS_BUILT_IN_SPLASH_SCREEN = > > Integer.valueOf(CordovaWebView.CORDOVA_VERSION.split("\\.")[0]) < 4; > > > > Also, every plugin that calls initialize requires a CordovaWebView > passed into it. That's a pretty big change. I also haven't touched on > Third Party WebViews like Crosswalk, which would have to do the change. > > > > > > On Tue, Oct 20, 2015 at 1:59 PM, Steven Gill > wrote: > > > >> Joe, do you have a small example of what could break with this change. > >> What is a usecase for someone to reference CordovaWebView > >> > >> On Tue, Oct 20, 2015 at 1:38 PM, Joe Bowser wrote: > >> > >> > I'll pull this in at the end of the day. This small change may > >> > break > >> stuff > >> > further down the road, so people should comment on it now. > >> > > >> > On Tue, Oct 20, 2015 at 1:37 PM, Joe Bowser > wrote: > >> > > >> > > OK, Going to pull this in. > >> > > > >> > > On Tue, Oct 20, 2015 at 10:02 AM, Simon MacDonald < > >> > > simon.macdonald@gmail.com> wrote: > >> > > > >> > >> +1 from me as I'm the one that initiated the PR. > >> > >> > >> > >> Simon Mac Donald > >> > >> https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%2f > >> > >> h > >> > >> i.im%2fsimonmacdonald&data=01%7c01%7cnikhilkh%40microsoft.com%7c > >> > >> 8 > >> > >> 619031b1eef484bd48508d2da425e41%7c72f988bf86f141af91ab2d7cd011db > >> > >> 4 7%7c1&sdata=IXoWw2z2L7EhCorf4kK4EJ7Ux89hdUjmP%2bKsF%2bJdwf0%3d > >> > >> > >> > >> On Tue, Oct 20, 2015 at 12:23 PM, Darryl Pogue > >> > >> > >> > wrote: > >> > >> > >> > >> > +1 for doing this with the major version bump > >> > >> > > >> > >> > On 20 October 2015 at 09:15, Joe Bowser > wrote: > >> > >> > > >> > >> > > Hey > >> > >> > > > >> > >> > > We're close to getting 5.0.x ready for release, but I want > >> > >> > > to add > >> > one > >> > >> > more > >> > >> > > pull request: > >> > >> > > > >> > >> > > https://na01.safelinks.protection.outlook.com/?url=https%3a% > >> > >> > > 2 > >> > >> > > f%2fgithub.com%2fapache%2fcordova-android%2fpull%2f227&data= > >> > >> > > 0 > >> > >> > > 1%7c01%7cnikhilkh%40microsoft.com%7c8619031b1eef484bd48508d2 > >> > >> > > d > >> > >> > > a425e41%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=w5TYcbC > >> > >> > > H %2fhLIhbrZImOsVFgGMfp%2bIk0Dl6Qk6ADzMVc%3d > >> > >> > > > >> > >> > > This is a trivial pull request, but I want to get buy-in > >> > >> > > from the > >> > list > >> > >> > for > >> > >> > > doing the rename for CordovaWebView class to be changed > >> > >> > > before we > >> > >> start > >> > >> > > deprecating it. This means we're probably going to remove > >> > >> > > the > >> shim > >> > in > >> > >> > the > >> > >> > > next major version. > >> > >> > > > >> > >> > > Thoughts? > >> > >> > > > >> > >> > > Joe > >> > >> > > > >> > >> > > >> > >> > >> > > > >> > > > >> > > >> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org > > For additional commands, e-mail: dev-help@cordova.apache.org > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org > For additional commands, e-mail: dev-help@cordova.apache.org > > --001a11c28c6e2e332a0522ce29b4--