[PHP-DEV] Re: [PEAR-DEV] [RFC] Binary pecl packages

2003-06-19 Thread Martin Jansen
On Thu Jun 19, 2003 at 03:5002PM -0400, Jon Parise wrote: > On Thu, Jun 19, 2003 at 01:59:35PM +0200, Tomas V.V.Cox wrote: > > Let's say something like: > > > > pear package [-t ] [-b] [-s] > > > > -t The type of package you want to generate (pear, rpm, > > msi, etc) > > -b Specifies a binary p

Re: [PHP-DEV] Re: [PEAR-DEV] Re: [PHP-DEV] [RFC] Binary pecl packages

2003-06-19 Thread Derick Rethans
On Thu, 19 Jun 2003, Ken Tossell wrote: > Roman Neuhauser wrote: > > > >when has PHP (and/or PEAR) become Linux-only software? > > > It never did. That's another point against RPM. ? WTF has this to do with each other. Because PHP is not Linux-only, that doesn't mean we can not provide RPMs

Re: [PHP-DEV] php5 beta

2003-06-19 Thread Marcus Börger
Hello Zeev, Friday, June 20, 2003, 1:52:55 AM, you wrote: ZS> At 23:07 19/06/2003, George Schlossnagle wrote: >>My understanding of the proposal is that it is errors as exceptions, not >>warnings. errors are fatal in php4, so I don't see how it would change >>the behavior of any code block wri

Re: [PHP-DEV] Re: [PEAR-DEV] Re: [PHP-DEV] [RFC] Binary pecl packages

2003-06-19 Thread Ken Tossell
Roman Neuhauser wrote: # [EMAIL PROTECTED] / 2003-06-18 19:39:22 -0400: On Wed, 18 Jun 2003, Rasmus Lerdorf wrote: On Thu, 19 Jun 2003, Marcus Börger wrote: Why not using RPMs? Only windows is a problem, isn't it ? Windows is the primary platform we need binaries for.

[PHP-DEV] Re: [PEAR-DEV] Re: [PHP-DEV] [RFC] Binary pecl packages

2003-06-19 Thread Pierre-Alain Joye
On Fri, 20 Jun 2003 01:56:41 +0200 Markus Fischer <[EMAIL PROTECTED]> wrote: > For example mod_ssl [1] always includes the version number of > the Apache server it works with: > > 21-Mar-2003: Released 2.8.14-1.3.27: Important bugfixes. > > So, with a quick look on the file

Re: [PHP-DEV] [RFC] Binary pecl packages

2003-06-19 Thread Markus Fischer
Hi, On Thu, Jun 19, 2003 at 01:19:36AM +0200, Tomas V.V.Cox wrote : [...] > pecl package name > - > > The name of the extension would be: > > peclfoo-bin---3.1.2-.tgz > > The os (Operating system) and arch (CPU type), would be the value > returned by the OS_Guess class. STA

Re: [PHP-DEV] php5 beta

2003-06-19 Thread Zeev Suraski
At 23:07 19/06/2003, George Schlossnagle wrote: My understanding of the proposal is that it is errors as exceptions, not warnings. errors are fatal in php4, so I don't see how it would change the behavior of any code block written for 4. Except errors today have a 'contract' where PHP doesn't ha

Re: [PHP-DEV] Animated GIF output for PHP/GD

2003-06-19 Thread Derick Rethans
On Thu, 19 Jun 2003, [ISO-8859-1] Jaakko Hyvätti wrote: > Anyway, I think I'll just maintain the patch for my uses and we'll see in > 2004.. Unless Kiribati Patent Office happens to find the long lost Unisys > patent application, and then the world is again held hostage.. Yup, and the same is mos

[PHP-DEV] CVS Account Request: ohill

2003-06-19 Thread Olivier Hill
Mainly fixing bugs. Currently filling this form because I'd like to correct some mistakes in the PHPDoc documentation (like the incomplete list of tags). I can also contribute in fixing bugs in the PHP Code since I've been doing some C/C++ for a while. I've also been developping with PHP since

Re: [PHP-DEV] php5 beta

2003-06-19 Thread George Schlossnagle
On Thursday, June 19, 2003, at 03:53 PM, Shane Caraveo wrote: George Schlossnagle wrote: try { function_call_to_some_preexisting_library_that_doesnt_do_exceptions() } catch(e) { } The auto-generated exceptions can be of type InternalException extends Exception {}, and then the caller can decide

Re: [PHP-DEV] Animated GIF output for PHP/GD

2003-06-19 Thread Jaakko Hyvätti
Hi all, Out of some.. 191 (UN members).. countries in the world, today Unisys holds a patent on LZW in 7 of them. After tomorrow, only in 6: Canada, United Kingdom, France, Germany, Italy, and Japan (http://www.unisys.com/about__unisys/lzw/index.htm). How worried would people be if the 6 countr

Re: [PHP-DEV] php5 beta

2003-06-19 Thread Shane Caraveo
George Schlossnagle wrote: try { function_call_to_some_preexisting_library_that_doesnt_do_exceptions() } catch(e) { } The auto-generated exceptions can be of type InternalException extends Exception {}, and then the caller can decide whether or not they want to comply with the old method (jus

[PHP-DEV] Re: [PEAR-DEV] [RFC] Binary pecl packages

2003-06-19 Thread Jon Parise
On Thu, Jun 19, 2003 at 01:59:35PM +0200, Tomas V.V.Cox wrote: > >> pear build -b peclfoo-3.1.2.tgz > >> > >> The -b (or --bin) option generates the package containing only the > >> compiled extension and the files marked with role "php", "doc", "test", > >> "data" or "script" with the original p

Re: [PHP-DEV] php5 beta

2003-06-19 Thread George Schlossnagle
On Thursday, June 19, 2003, at 02:57 PM, Shane Caraveo wrote: I knew I should have kept my mouth shut... Marcus Börger wrote: Hello Shane, just to repeat there weren't any exceptions in php4 Yes, you don't have to tell me the obvious. and the things that'll use exceptions in php5 will require f

Re: [PHP-DEV] php5 beta

2003-06-19 Thread Shane Caraveo
I knew I should have kept my mouth shut... Marcus Börger wrote: Hello Shane, just to repeat there weren't any exceptions in php4 Yes, you don't have to tell me the obvious. and the things that'll use exceptions in php5 will require full rewrite anyway. So i don't see any problem. try { function

Re: [PHP-DEV] php5 beta

2003-06-19 Thread Marcus Börger
Hello Shane, just to repeat there weren't any exceptions in php4 and the things that'll use exceptions in php5 will require full rewrite anyway. So i don't see any problem. Thursday, June 19, 2003, 8:45:45 PM, you wrote: SC> +0 While I really like the idea, auto-exceptions for errors would mess

Re: [PHP-DEV] php5 beta

2003-06-19 Thread Shane Caraveo
+0 While I really like the idea, auto-exceptions for errors would mess up library code that isn't written to use exceptions. If that problem can be dealt with correctly, then I'd be +1. Otherwise, we need a new error level. Shane Marcus Börger wrote: Hello Sterling, We need exceptions inste

Re: [PHP-DEV] Animated GIF output for PHP/GD

2003-06-19 Thread Moriyoshi Koizumi
"Ilia A." <[EMAIL PROTECTED]> wrote: > On June 19, 2003 01:42 pm, you wrote: > > Agreed. So how about uncompressed GIF support? :) > > What would be the point, the whole idea behind GIFs (imho) is to have small > images at a more or less reasonable quality. Uncompressed gifs are virtually > poi

Re: [PHP-DEV] Animated GIF output for PHP/GD

2003-06-19 Thread Ilia A.
On June 19, 2003 01:42 pm, you wrote: > Agreed. So how about uncompressed GIF support? :) What would be the point, the whole idea behind GIFs (imho) is to have small images at a more or less reasonable quality. Uncompressed gifs are virtually pointless. Ilia -- PHP Internals - PHP Runtime Dev

Re: [PHP-DEV] [RFC] Binary pecl packages

2003-06-19 Thread Marcus Börger
Hello Mika, Thursday, June 19, 2003, 7:44:11 PM, you wrote: MT> On Thu, 19 Jun 2003, Marcus BXrger wrote: >> Why not using RPMs? Only windows is a problem, isn't it ? MT> Too linux centric IMO. I didn't mean to only support RPMs. But i don't see any reason to not use RPMs where availa

Re: [PHP-DEV] Animated GIF output for PHP/GD

2003-06-19 Thread Derick Rethans
On Fri, 20 Jun 2003, Moriyoshi Koizumi wrote: > "Ilia A." <[EMAIL PROTECTED]> wrote: > > > Jaakko, > > > > Thanks for the patch, but there are a few things you should be aware of. While > > the LZW patent in US expires tomorrow, in Europe and possibly other parts of > > the world the patent wi

[PHP-DEV] Re: [PEAR-DEV] Re: [PHP-DEV] [RFC] Binary pecl packages

2003-06-19 Thread Mika Tuupola
On Thu, 19 Jun 2003, Marcus BXrger wrote: > Why not using RPMs? Only windows is a problem, isn't it ? Too linux centric IMO. -- Mika Tuupola http://www.appelsiini.net/~tuupola/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://

Re: [PHP-DEV] Animated GIF output for PHP/GD

2003-06-19 Thread Moriyoshi Koizumi
"Ilia A." <[EMAIL PROTECTED]> wrote: > Jaakko, > > Thanks for the patch, but there are a few things you should be aware of. While > the LZW patent in US expires tomorrow, in Europe and possibly other parts of > the world the patent will still be in force for another year. Which means non > lic

Re[2]: [PHP-DEV] Animated GIF output for PHP/GD

2003-06-19 Thread Marcus Börger
Hello Ilia, Thursday, June 19, 2003, 7:38:45 PM, you wrote: IA> Jaakko, IA> Thanks for the patch, but there are a few things you should be aware of. While IA> the LZW patent in US expires tomorrow, in Europe and possibly other parts of IA> the world the patent will still be in force for anothe

Re: [PHP-DEV] Animated GIF output for PHP/GD

2003-06-19 Thread Ilia A.
Jaakko, Thanks for the patch, but there are a few things you should be aware of. While the LZW patent in US expires tomorrow, in Europe and possibly other parts of the world the patent will still be in force for another year. Which means non licensed users of GIF format in EU (I am guess you ar

[PHP-DEV] Animated GIF output for PHP/GD

2003-06-19 Thread Jaakko Hyvätti
Hi! Some of yo might remember me from php3 times.. I just implemented animated gif output support with the bundled GD library. Patch works with both php-4.3.2 and php-4.3.3RC1. I keep the patch updated at http://www.iki.fi/hyvatti/sw/, but hopefully it will get included in PHP at some time.

[PHP-DEV] Re: [PEAR-DEV] Re: [PHP-DEV] [RFC] Binary pecl packages

2003-06-19 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2003-06-18 19:39:22 -0400: > On Wed, 18 Jun 2003, Rasmus Lerdorf wrote: > > > On Thu, 19 Jun 2003, Marcus Börger wrote: > > > Why not using RPMs? Only windows is a problem, isn't it ? > > > > Windows is the primary platform we need binaries for. > > And many major Linux dis

Re: [PHP-DEV] php5 beta

2003-06-19 Thread Rasmus Lerdorf
On Fri, 20 Jun 2003, Moriyoshi Koizumi wrote: > Sorry for being too late here. > > Rasmus Lerdorf <[EMAIL PROTECTED]> wrote: > > > We also need to sort out the mbstring license mess. We cannot distribute > > code that is under the LGPL and modified by us. The relevant clauses from > > the LGPL: >

Re: [PHP-DEV] php5 beta

2003-06-19 Thread Moriyoshi Koizumi
Sorry for being too late here. Rasmus Lerdorf <[EMAIL PROTECTED]> wrote: > We also need to sort out the mbstring license mess. We cannot distribute > code that is under the LGPL and modified by us. The relevant clauses from > the LGPL: > We do not meet a) and c) here. Specifically mbregex and

[PHP-DEV] Re: Another easy question

2003-06-19 Thread Jay Smith
Oriol wrote: > > Thank you!! > And... how could I know which PHP file is being executed and which > line > I'm on? Is there any simple way of getting it? > > Oriol > > Take a look at zend_error() in zend.c, where it says "Obtain relevant filename and lineno". J -- PHP Inte

Re: [PHP-DEV] php5 beta

2003-06-19 Thread Per Lundberg
On Thu, 2003-06-19 at 16:16, l0t3k wrote: > "Marcus BRger" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > We need exceptions instead of errors whenever a try/catch block is > > entered or a constructor gets called. This is a very easy thing to > > implement but we need a consensu

Re: [PHP-DEV] php5 beta

2003-06-19 Thread l0t3k
"Marcus BöRger" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > We need exceptions instead of errors whenever a try/catch block is > entered or a constructor gets called. This is a very easy thing to > implement but we need a consensus before doing so. > add my +1 to the consensus. i

Re: [PHP-DEV] retrieving and setting vars from own extension?

2003-06-19 Thread Wei He
On Tue, 17 Jun 2003, Thomas Seifert wrote: > Hi folks, > > sorry but I couldn't find the answer in the docs at php.net > and google didn't turn out anything usefull to. > > I'm trying to write my own extension which would need to retrieve > and set (global) variables for the php-script its calle

Re: [PHP-DEV] php5 beta

2003-06-19 Thread Marcus Börger
Hello Sterling, We need exceptions instead of errors whenever a try/catch block is entered or a constructor gets called. This is a very easy thing to implement but we need a consensus before doing so. regards marcus p.s.: And i'd still like to have final classes Thursday, June 19, 2003, 2:15:06

[PHP-DEV] Another easy question

2003-06-19 Thread Oriol
Thank you!! And... how could I know which PHP file is being executed and which line I'm on? Is there any simple way of getting it? Oriol - Original Message - From: "Derick Rethans" <[EMAIL PROTECTED]> To: "Oriol" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, Ju

[PHP-DEV] CVS Account Request: dsh

2003-06-19 Thread Sunghyuk Do
I'd like to translate the phpdoc to korean. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Easy question

2003-06-19 Thread Derick Rethans
Hi, On Thu, 19 Jun 2003, Oriol wrote: > How can I know if a user function exists? Must I use zend_hash_find()? > How? Yup, zend_hash_find on the function_table hash (check how function_exists (Zend/zend_builtin_functions.c) is implemented). regards, Derick -- "Interpreting what the GPL a

[PHP-DEV] [CFP] The gathering: International PHP Conference 2003 fall edition

2003-06-19 Thread Björn Schotte
Hi folks, International PHP Conference 2003 is coming! From 11/02 to 11/05 Frankfurt/Main, Germany, will be the hot-spot of the PHP world where another issue of the traditional PHP Conference will take place. We're now calling for papers and contributions to this unique event. Whether you're runn

[PHP-DEV] Easy question

2003-06-19 Thread Oriol
Hello! How can I know if a user function exists? Must I use zend_hash_find()? How? Thank you, Oriol -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: [PEAR-DEV] [RFC] Binary pecl packages

2003-06-19 Thread Tomas V.V.Cox
On Thursday, June 19, 2003 4:27, Jon Parise wrote: > On Thu, Jun 19, 2003 at 01:19:36AM +0200, Tomas V.V.Cox wrote: >> package creation >> >> >> pear build -b peclfoo-3.1.2.tgz >> >> The -b (or --bin) option generates the package containing only the >> compiled extension and

[PHP-DEV] Re: [PEAR-DEV] Re: [PHP-DEV] [RFC] Binary pecl packages

2003-06-19 Thread Tomas V.V.Cox
On Thursday, June 19, 2003 8:42, Wez Furlong wrote: > When I get a little more time (in about 2 months!) I will be completing the > work that I started on the .MSI installer generator for PHP. > This will generate an installer for the PHP distribution (including PEAR) > based on the .zip binary

Re[2]: [PHP-DEV] php5 beta

2003-06-19 Thread Marcus Börger
Hello Rasmus, isn't every single extension a "software library" used or incorporated by PHP? Or shall i say incorporating with PHP? But that would make no difference. marcus Thursday, June 19, 2003, 5:47:58 AM, you wrote: RL> On Wed, 18 Jun 2003, Sterling Hughes wrote: >> I've added the mb stuf