Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31640 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 27525 invoked by uid 1010); 16 Aug 2007 18:50:46 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 27510 invoked from network); 16 Aug 2007 18:50:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Aug 2007 18:50:46 -0000 Authentication-Results: pb1.pair.com smtp.mail=tijnema@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tijnema@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.128.190 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: tijnema@gmail.com X-Host-Fingerprint: 209.85.128.190 fk-out-0910.google.com Received: from [209.85.128.190] ([209.85.128.190:36737] helo=fk-out-0910.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D0/51-18530-38C94C64 for ; Thu, 16 Aug 2007 14:50:45 -0400 Received: by fk-out-0910.google.com with SMTP id f33so278348fkf for ; Thu, 16 Aug 2007 11:50:41 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=YwcjK9VkzovqFCcYyiOhqZUFyHfYW/KvOO/sb/mL4YXAwqX4yfuHHz0F5pZZVkp7edV/q93tAbeMdn68VQgPQv76vjKJ3NovAOQY6zoDYyuHQ5aERbGGqEXQORAMXauOHz3zx1frMivMTfoaYpnUQEcYJtsIhEySNppabHqjJE0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=JfXgM5WNFC1aIeaRucu70xamBV/v2uz29uK9498MgWQHEP2eXZdgB+NHvFv/MMh/DwtzGmsI7twkBVKtv0ZV156oTnGC37Kqu5JKJTi/PHbIl6B40bEcCOpyaBypBqxioMKRbaiDM/jqAR1sWzaCf5NewX1651BxtMH+uiL6vYM= Received: by 10.82.158.12 with SMTP id g12mr3047940bue.1187290240095; Thu, 16 Aug 2007 11:50:40 -0700 (PDT) Received: by 10.82.141.17 with HTTP; Thu, 16 Aug 2007 11:50:39 -0700 (PDT) Message-ID: Date: Thu, 16 Aug 2007 20:50:39 +0200 To: "=?ISO-8859-1?Q?Johannes_Schl=FCter?=" Cc: "PHP Internals List" In-Reply-To: <1187289646.3724.57.camel@johannes.nop> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1186737992.2772.57.camel@johannes.nop> <1187289646.3724.57.camel@johannes.nop> Subject: Re: [PHP-DEV] Renaming namespaces to packages From: tijnema@gmail.com (Tijnema) On 8/16/07, Johannes Schl=FCter wrote: > Hi Tijnema, > > On Thu, 2007-08-16 at 20:27 +0200, Tijnema wrote: > > On 8/10/07, Johannes Schl=FCter wrote: > > > Hi, > > > > > > I think we reached the consensus to rename namespaces to packages as = our > > > implementation is more package-like. Therefore I wrote the correspond= ing > > > patch which tries to get rid of all "namespaces" and "ns" (well, not = all > > > "ns" only the namespace-related ones of course) used in the code. > > > Additionally I changed all package-tests. Any objections? > > > > > > Does anybody (with the move-on-CVS-server powers) care about the hist= ory > > > of the tests? Then please cp ZendEngine2/tests/ns_* to pkg_* there el= se > > > I'll do a simple cvs rm and cvs add. > > > > > > The patch is at > > > http://schlueters.de/~johannes/php/zend_namespace_to_package.diff and > > > the tarball with the changed tests at > > > http://schlueters.de/~johannes/php/zend_package_tests.tar.bz2 > > > > > > johannes > > > > > > > Just a little note, right now, your patch doesn't seem to work > > Johannes. It's saying that T_NAMESPACE and T_NS can't be found in > > Zend/zend_language_scanner.c. > > > > Extra patch (that worked for me): > > > > --------zend_packages_extra_patch.patch------ > > --- Zend/zend_language_scanner.c 31 Jul 2007 23:23:37 -0000 > > +++ Zend/zend_language_scanner.c 16 Aug 2007 20:13:24 -0000 > > If patching that file configure didn't find a proper flex version since > that file is generated from Zend/zend_language_scanner.l using flex. > > johannes > Well, why does PHP compiles fine without the patch?, and why is this file in the snapshot package when it is generated from flex? I have flex 2.5.33 installed btw, that's fine right? Tijnema --=20 Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info