Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 41932 invoked from network); 2 Apr 2011 10:09:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Apr 2011 10:09:51 -0000 Received: (qmail 74352 invoked by uid 500); 2 Apr 2011 10:09:45 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 74297 invoked by uid 500); 2 Apr 2011 10:09:45 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 74289 invoked by uid 99); 2 Apr 2011 10:09:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Apr 2011 10:09:44 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of robert.newson@gmail.com designates 209.85.214.52 as permitted sender) Received: from [209.85.214.52] (HELO mail-bw0-f52.google.com) (209.85.214.52) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Apr 2011 10:09:38 +0000 Received: by bwj24 with SMTP id 24so5156331bwj.11 for ; Sat, 02 Apr 2011 03:09:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=A9TcQvvyVhboY60/hgaEhnRHOjeO1ZUvXZPBiAesTac=; b=Gg+He9/Wec44XCrrOGhO3/VIBluKBktldAgJgRYIEpQ/XAv/zz/SwQr+klOIEW/Ycr NHBHAl0PfRyMHcZMLYJGYvE6whr20LSwHVIs3VQicZCqP+EtN/pyEJTktUVDTHMwiWIX riJ03qy8oPdEutqsi082LQYCNnc4qxHgrvyJ4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=Ih5gJ+1sg2m7Bp/Lcgyg30e+i8KSov0swdzwxAPSQ8+nSqn45QI9y+tTPDDrP826ao KlB+TJr1evMxK4ByOiXFwyPK3wZ8E7cJ+orqHXr91VzhwF/pcuaA92khHs2pkNv+1QeK uRINMp7/rZ1JDPeSXnEPlUdMoIbmnQz0xRAdE= MIME-Version: 1.0 Received: by 10.204.19.80 with SMTP id z16mr934458bka.198.1301738957121; Sat, 02 Apr 2011 03:09:17 -0700 (PDT) Received: by 10.204.67.67 with HTTP; Sat, 2 Apr 2011 03:09:17 -0700 (PDT) In-Reply-To: <6DC1AA08-D30D-4FC9-A4BA-03B6617D98F7@apache.org> References: <6DC1AA08-D30D-4FC9-A4BA-03B6617D98F7@apache.org> Date: Sat, 2 Apr 2011 11:09:17 +0100 Message-ID: Subject: Re: SpiderMonkey 1.8.5 upgrades From: Robert Newson To: dev@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org +1 for supporting 1.8.5 exclusively from trunk (i.e, 1.2) upwards. Leave couchjs as is on 1.0.x and 1.1.x B. On 2 April 2011 02:59, Adam Kocoloski wrote: > On Apr 1, 2011, at 7:26 PM, Paul Davis wrote: > >> Hey, >> >> Mozilla released a SM 1.8.5 source distribution this morning [1]. >> We've been getting requests from various places to upgrade our couchjs >> to use this newer version for a couple weeks and now that its >> available, there's no better time to act. >> >> As can be expected, this new SpiderMonkey has a fairly significant API >> change from what we've been using in couchjs. Up until now we've been >> able to get away with supporting 1.7 and the 1.8.0rc1 tarballs without >> much hassle. The new API makes this much more difficult. Chris C >> Coulson from Ubuntu has been working on a patch that'll allow us to >> work with 1.8.5 and (IIRC) should work with the 1.8.0rc1 but it >> includes some extra gnarly ifdef magic to make things work. >> >> So my question is what versions of SM should we support? I would >> probably vote to drop everything in favor of 1.8.5 and no longer >> support the older APIs. There is a possibility of just having two >> versions of couchjs that we choose at compile time. But from what I've >> heard and seen, we're basically not going to be able to have a single >> compile time ifdef decision on versions without some super screw code. >> >> Thoughts? >> >> [1] http://ftp.mozilla.org/pub/mozilla.org/js/ > > Well, we need to continue to support SM 1.7 on the 1.0.x branch, and if t= hat means 1.0.x doesn't work with SM 1.8.5 then so be it. =A0For 1.1.0 I'd = want to know what the availability of SM 1.8.5 in various package repositor= ies looks like before dropping support for SM 1.7. Ideally I'd like to ship= at least one version of CouchDB that works with both SM 1.7 and SM 1.8.5, = but I've seen Chris' work in COUCHDB-1078 and I don't relish the thought of= making that any more complicated than it already is. > > Trunk can drop support for SM 1.7. > > Adam > >