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 108F818267 for ; Sat, 24 Oct 2015 02:16:18 +0000 (UTC) Received: (qmail 44578 invoked by uid 500); 24 Oct 2015 02:16:12 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 44541 invoked by uid 500); 24 Oct 2015 02:16:12 -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 44529 invoked by uid 99); 24 Oct 2015 02:16:12 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Oct 2015 02:16:12 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 1993818099A for ; Sat, 24 Oct 2015 02:16:12 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.151 X-Spam-Level: *** X-Spam-Status: No, score=3.151 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=3, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id puWQaEVXfPZL for ; Sat, 24 Oct 2015 02:15:57 +0000 (UTC) Received: from mail-vk0-f51.google.com (mail-vk0-f51.google.com [209.85.213.51]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 94EAA42BEB for ; Sat, 24 Oct 2015 02:15:57 +0000 (UTC) Received: by vkex70 with SMTP id x70so73003088vke.3 for ; Fri, 23 Oct 2015 19:15:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-type; bh=u1Ki9uGov8U5Z9HSNkneKdMKIrqKf/wNsf/OeSB0HAE=; b=wbT4izSBOgSxNHJubrycXc/jZ49X/zPsm1jDIwN7pEh5r+Nsf3LxLhSwSBjyshHxoF /x5opsQGkff+AZZAD2i+9w8kTSOBT6PFpp94l+8CC/owbzLhJzHuzvjTxwd9WBbJir8r VnbYHWNFzGAnZBm7UPxC98vc6K4j4YRgELifsT5PVk/qyFMvO0IPhCTazZ+vHF1NbxOA ic05pvFHmAnjIK4hwX32nVpXUzpvXvDSOFb+HJTwO0EZZNjGm7Utx58wfRqnBVUb+naC hfQEZiHhPdljX4mTjGxHSFNj5t5w4/1SNrLuuD9+NfSat08pxoZWV0qOOH3DiaGf1EDd oD/g== X-Received: by 10.31.50.16 with SMTP id y16mr15450428vky.75.1445652957103; Fri, 23 Oct 2015 19:15:57 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Carlos Santana Date: Sat, 24 Oct 2015 02:15:47 +0000 Message-ID: Subject: Re: [Android][Discuss] Change name of CordovaWebView to CordovaWebInterface To: "dev@cordova.apache.org" Content-Type: multipart/alternative; boundary=001a11430b6afa0b310522d04e65 --001a11430b6afa0b310522d04e65 Content-Type: text/plain; charset=UTF-8 +1 if what Simon and Jesse are saying is the same thing :-) On Fri, Oct 23, 2015 at 7:42 PM Jesse wrote: > 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 < > nikhilkh@microsoft.com> > > 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 > > > > > --001a11430b6afa0b310522d04e65--