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 05E8F91A5 for ; Mon, 18 Jun 2012 19:08:36 +0000 (UTC) Received: (qmail 25512 invoked by uid 500); 18 Jun 2012 19:08:35 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 25479 invoked by uid 500); 18 Jun 2012 19:08:35 -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 25471 invoked by uid 99); 18 Jun 2012 19:08:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Jun 2012 19:08:35 +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 curtis.bryce@gmail.com designates 209.85.160.175 as permitted sender) Received: from [209.85.160.175] (HELO mail-gh0-f175.google.com) (209.85.160.175) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Jun 2012 19:08:28 +0000 Received: by ghbz2 with SMTP id z2so3651115ghb.6 for ; Mon, 18 Jun 2012 12:08:07 -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:content-transfer-encoding; bh=vdBt3MPNoISgL9iI45utn/UxG79Ey3EQ0EA/aMEh7FI=; b=auLhuOSdacl78Kb/1VESKkxElwh+Tdxf0P7qHsdTwkQSN6X2fLClrzWLqr/47v1Qsq Ugc2TAgZpzJfdYEq6SDI9YZFtxo0ypIImoBtXhR6Xel940U2OjQP0bA/77TcAp62NOOi D+klKi4A2ZUbys6VMB+JSqYWhWaTF+ng+LPzCGyYr0E9dIMnS0ZX20jBPcaLg6gpUHYX ozyKLbHM9s+8fPNQoiAqIJTzSisaONNX9x7atLZMHWw/ttfqf34c0SSI23nUuL3Jh3LS IzMe5ZKwVEn3puTleoqcf0cLSKOZp6cLvS4O4Gy5yjVYPSirkEglN5PdtF7A5JRtxFfL Lrgg== MIME-Version: 1.0 Received: by 10.50.181.137 with SMTP id dw9mr9749064igc.45.1340046485326; Mon, 18 Jun 2012 12:08:05 -0700 (PDT) Received: by 10.64.21.3 with HTTP; Mon, 18 Jun 2012 12:08:05 -0700 (PDT) In-Reply-To: References: Date: Mon, 18 Jun 2012 14:08:05 -0500 Message-ID: Subject: Re: [Android] Plugin.ctx needs a rename From: Bryce Curtis To: callback-dev@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Makes sense - I'm fine with rename for 2.0. We may want to introduce "cordova" into 1.9 and keep "ctx" with deprecation notice. Also, make sure it's documented. This will break plug-ins when removed. On Mon, Jun 18, 2012 at 1:50 PM, Filip Maj wrote: > Yeh "ctx" implies Context, especially for Android peoples, so +1 to > renaming to something less Android-ey. > > On 6/18/12 11:45 AM, "Joe Bowser" wrote: > >>Hey >> >>Since we're approaching 2.0 and since part of the goals of 2.0 is to >>improve the plugin architecture, I'm wondering if we should take the >>opportunity to give the CordovaInterface variable on Plugin.java a name >>other than ctx, which on Android usually refers to a context. =A0The reas= on >>for this is the fact that there's a use case where the CordovaInterface >>may >>not be a Context. =A0I propose that we change the name to cordova. >> >>I'm not sure if this needs a JIRA ticket or not. >> >>Any thoughts? >> >>Joe >