Re: [PHP-DEV] GD 2 support planned?

2001-05-13 Thread Wez Furlong
On 2001-05-14 01:04:24, "Al Maw" <[EMAIL PROTECTED]> wrote: > This doesn't strike me as a particularly difficult job, and would be most > beneficial as it has much better support for truecolour images and handles > resampling. Is anyone working on this? I implemented this a couple of weeks ago in

Re: [PHP-DEV] call_user_*()

2001-05-13 Thread Wez Furlong
On 2001-05-13 06:36:33, "Sterling Hughes" <[EMAIL PROTECTED]> wrote: > Stefan Livieratos wrote: > > Well, I thought that the function call_user_func_array() is supposed to > > be called this way. What good is it anyway? I suggest > > 'call_user_func_array' should be removed as it is not needed and

[PHP-DEV] streams support for interbase

2001-05-12 Thread Wez Furlong
Hi, Could someone with interbase test this patch that provides streams support? I would like to know the outcome of doing a regular compile (with no streams support) and a compile with --enable-php-streams before I commit. I'm just being overly cautious... --Wez. Index: ext/interbase/interb

Re: [PHP-DEV] Bug #10832: memory overruns in php_rshutdown_session_globals

2001-05-12 Thread Wez Furlong
On 2001-05-12 21:40:14, "Sascha Schumann" <[EMAIL PROTECTED]> wrote: > On 12 May 2001 [EMAIL PROTECTED] wrote: > > > From: [EMAIL PROTECTED] > > Operating system: SuSE 7.0 i386 > > PHP version: 4.0 Latest CVS (2001-05-12) > > PHP Bug Type: *Session related > > Bug description

Re: [PHP-DEV] zval_copy_ctor

2001-05-12 Thread Wez Furlong
On 2001-05-12 13:45:25, "Andi Gutmans" <[EMAIL PROTECTED]> wrote: > At 11:50 AM 5/12/2001 +0100, Wez Furlong wrote: > >I would like to see an add_assoc_zval() macro to complement > There is an add_assoc_zval() function. Doh! I wonder why I didn't see it before

Re: [PHP-DEV] Latest CVS on Linux

2001-05-12 Thread Wez Furlong
On 2001-05-12 12:10:57, "Sebastian Bergmann" <[EMAIL PROTECTED]> wrote: > Hello there, > > yesterday I upgraded my SuSE 7.1 Linux box to libtool-1.4. I I'm using SuSE 7.0 and I had a similar problem. On my first run, I let libtool go into /usr/local (the default). After the warnings, I de

Re: [PHP-DEV] zval_copy_ctor

2001-05-12 Thread Wez Furlong
Hi, I would like to see an add_assoc_zval() macro to complement the other add_ functions. Just thought that I would throw that in while there are a couple of threads in the Zend API... :-) --Wez. -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: [PHP-DEV] zval_copy_ctor

2001-05-12 Thread Wez Furlong
On 2001-05-12 10:12:14, "Andi Gutmans" <[EMAIL PROTECTED]> wrote: > The code is almost OK. The only problem is that the reference count and > is_ref from rfcbuf->headers are also copied to *headers. So what you should > be doing (if you only add it once to the return_value) is to do > INIT_PZVA

Re: [PHP-DEV] zval_copy_ctor

2001-05-12 Thread Wez Furlong
On 2001-05-12 04:29:19, "Jason Greene" <[EMAIL PROTECTED]> wrote: > zval_copy_ctor used on an array makes a reference copy of the array. > Basically, it just copies all the data items in the hashtable and then adds one to the > reference count for all data items. > > Looking at the code, it app

[PHP-DEV] zval_copy_ctor

2001-05-11 Thread Wez Furlong
Hi, In my mailparse extension I am building up an array to contain the headers while parsing the message. The array is held in a zval in the internal C structure, one for each message part. When the "user space" code requests info for a particular message part it is returned as an assoc. array.

Re: [PHP-DEV] Fork() in php?

2001-05-11 Thread Wez Furlong
On 2001-05-11 16:10:00, "Jason Greene" <[EMAIL PROTECTED]> wrote: > What do you guys think about having fork, waitpid, and signal handling available in php? > I wrote a few simple fork test functions, and everything seemed to work fine. > > I am thinking that with sockets, shm, signals, and fork

Re: [PHP-DEV] unbuffered mysql_db_query for 4.0.6?

2001-05-10 Thread Wez Furlong
On 2001-05-10 05:02:08, "Andi Gutmans" <[EMAIL PROTECTED]> wrote: > At 04:03 PM 5/9/2001 -0400, Jon Parise wrote: > >On Wed, May 09, 2001 at 08:28:55PM +0200, Jani Taskinen wrote: > > > > > Remove. Actually..should that mysql_db_query() be deprecated too? > > > Starting 4.0.6 with warning? > > > >

[PHP-DEV] unbuffered mysql_db_query for 4.0.6?

2001-05-09 Thread Wez Furlong
Hi All, Since Andi wants to RC1 4.0.6, I would like to know if you have an opinion about my recent patch for mysql_db_query() which allows you request an unbuffered rowset. Zeev suggested that using a different combination of function calls would be more optimal, and now that I have done some te

Re: [PHP-DEV] bonsai.php.net down, no one cares?

2001-05-08 Thread Wez Furlong
On 2001-05-07 17:28:16, "Andrei Zmievski" <[EMAIL PROTECTED]> wrote: > The MySQL server on the machine died. I've restarted it and it's now > rebuilding the entire check-in history to make sure it's complete. I know this isn't entirely relevant to PHP, but I thought it might help... I've found a

Re: [PHP-DEV] Re: mysql and unbuffered queries

2001-05-07 Thread Wez Furlong
On 2001-05-07 12:22:13, "Zeev Suraski" <[EMAIL PROTECTED]> wrote: > It's going to be a bit complex to explain why I didn't want this patch, > but I'll give it a try :) It's OK, I understand. I just wish that you had said this before I comitted the patch ;-) > First off, my personal preference w

Re: [PHP-DEV] Re: mysql and unbuffered queries

2001-05-07 Thread Wez Furlong
On 2001-05-07 11:54:45, "Zeev Suraski" <[EMAIL PROTECTED]> wrote: > At 13:51 7/5/2001, Wez Furlong wrote: > >The disadvantage is that you have to retrieve all the rows before you > >can issue further SQL on that connection. > > Zeev, Does the extension take

Re: [PHP-DEV] Re: mysql and unbuffered queries

2001-05-07 Thread Wez Furlong
On 2001-05-07 11:07:14, "Jani Taskinen" <[EMAIL PROTECTED]> wrote: > Second question is: What is the use of mysql_query() function anymore > then? Why not just exchange mysql_query() with mysql_unbuffered_query()? > You didn't say anything about any disadvantages on using it. :) The disadvantage

[PHP-DEV] Re: mysql and unbuffered queries

2001-05-07 Thread Wez Furlong
On 2001-05-07 00:26:02, "Zeev Suraski" <[EMAIL PROTECTED]> wrote: > At 02:16 7/5/2001, Wez Furlong wrote: > >Should I create a patch that enables the parameter? > Probably... Are you sure you can't use mysql_unbuffered_query(), > though? If you're reall

[PHP-DEV] mysql and unbuffered queries

2001-05-06 Thread Wez Furlong
I've seen "mysql_unbuffered_query" mentioned a couple of times lately and I thought that it would be useful for my current project. However, I need the functionality of mysql_db_query, but working in unbuffered mode. I was about to produce a patch and noticed that the proto comments already includ

[PHP-DEV] tracking down segfaults

2001-05-06 Thread Wez Furlong
I don't suppose any of you guys have a magic way of tracking down rare segfaults in apache? Occaisonally I get a seg fault in apache, but I can't pin down the precise circumstances. What would be nice is a way to "automatically" generate a backtrace during a segfault. Also, it would be great if

[PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Branching 4.0.6...

2001-05-06 Thread Wez Furlong
On 2001-05-06 12:04:32, "Sascha Schumann" <[EMAIL PROTECTED]> wrote: > The GD config stuff is also still busted. On www.php.net, > the config system detected GIF support in GD-1.8.3.. How can that be? The gif stuff is detected via AC_CHECK_LIB (I didn't touch that part!) --Wez. -- P

Re: [PHP-DEV] extension/module versioning

2001-05-06 Thread Wez Furlong
On 2001-05-06 02:06:42, [EMAIL PROTECTED] wrote: > what are the chances of having a function call for every extension that > returns the version? this would be extremely useful for determining > whether the correct version is installed, rather than checking to see > if the function_exists(). > $ve

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard fsock.c fsock.h /main network.cphp_network.h php_streams.h streams.c

2001-05-06 Thread Wez Furlong
On 2001-05-06 07:07:54, "Sebastian Bergmann" <[EMAIL PROTECTED]> wrote: > Wez Furlong wrote: > > Fixed and on the PHP_4_0_6 branch. > fsock.c > D:\Programme\MS Visual > Studio\Projekte\php\php4\ext\standard\fsock.c(431) : erro > r C2065: 'FD_SETSIZE&#

[PHP-DEV] Curious problem with sessions over prolonged periods

2001-05-05 Thread Wez Furlong
Hi, I've just managed to pin down a strange intermittent bug that I thought was due to some peculiarity in my php application. It's actually a problem with sessions. I have this code: if (!session_is_registered("profile")) { $profile = array(); $profile_times = array(); $datacache = a

Re: [PHP-DEV] Re: Bug #9878 Updated: gmmktime is 1 hour off during standard time

2001-05-05 Thread Wez Furlong
On 2001-05-05 23:06:09, "Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote: > Andrei, you made the change from: > > gmadjust = -(is_dst ? altzone : timezone + (timezone - altzone)); > to: > gmadjust = -(is_dst ? timezone - 3600 : timezone + 3600); > > These don't look logically equivalent to me. Ca

[PHP-DEV] RE: [PHP-CVS] cvs: php4 /ext/standard fsock.c fsock.h /main network.c php_network.h php_streams.h streams.c

2001-05-05 Thread Wez Furlong
On 2001-05-05 20:30:25, "Andi Gutmans" <[EMAIL PROTECTED]> wrote: > Your patch has broken my build. > On Linux doing a simple ./configure ; make dies with: > /home/andi/php-cvs/main/network.c: In function `php_hostconnect': > /home/andi/php-cvs/main/network.c:274: storage size of `timeoutval' isn'

RE: [PHP-DEV] Branching 4.0.6... (mailer problems)

2001-05-05 Thread Wez Furlong
Sorry for the spamming. --Wez. -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP-DEV] Branching 4.0.6...

2001-05-05 Thread Wez Furlong
On 2001-05-05 20:02:29, "Wez Furlong" <[EMAIL PROTECTED]> wrote: > On 2001-05-05 19:02:29, "Andi Gutmans" <[EMAIL PROTECTED]> wrote: > > Hi, > > > > Now that the pressing problems have been fixed in the CVS I'd like to > > branc

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard fsock.c fsock.h /main network.c php_network.h php_streams.h streams.c

2001-05-05 Thread Wez Furlong
ee what you can do and merge your fix to the PHP_4_0_6 branch. > RC1 will have to wait for this... I'll remove the RC1 tag. > > Andi > > > > At 06:36 PM 5/5/2001 +, Wez Furlong wrote: > >wez Sat May 5 11:36:24 2001 EDT > > > > Mod

Re: [PHP-DEV] Branching 4.0.6...

2001-05-05 Thread Wez Furlong
On 2001-05-05 19:02:29, "Andi Gutmans" <[EMAIL PROTECTED]> wrote: > Hi, > > Now that the pressing problems have been fixed in the CVS I'd like to > branch 4.0.6 and release an RC1. > Any objections? No, but you may want to check that my commit for fsock/network related files works for you all b

[PHP-DEV] credits

2001-05-05 Thread Wez Furlong
On 2001-05-05 12:08:53, "Wez Furlong" <[EMAIL PROTECTED]> wrote: > On 2001-05-05 09:00:54, [EMAIL PROTECTED] wrote: > > PS: It is possible to add my name to CREDITS (not required, but would > > be nice) or would that be cheeky? I've added your name to ext/op

[PHP-DEV] Re: yet another mailparse extension

2001-05-05 Thread Wez Furlong
On 2001-05-05 10:14:06, "Jade Nicoletti" <[EMAIL PROTECTED]> wrote: > About a year ago, I've written a parser too. > ... > May the php developer community make the best of it! > http://nns.ch/ext_msg_a2629.tar.gz (~ 13kB) Thanks - I'll take a look an try to integrate it into my extension. -

Re: [PHP-DEV] PHP 4.0 Bug #10665 Updated: Requesting additional functions in OpenSSL module (working patch available)

2001-05-05 Thread Wez Furlong
On 2001-05-05 09:00:54, [EMAIL PROTECTED] wrote: > PS: It is possible to add my name to CREDITS (not required, but would be nice) or would that be cheeky? :-) I don't know what the "rules" are for that, and I'm not sure if I'm listed either... I put your name at the top of the source file thoug

Re: [PHP-DEV] openssl module for php

2001-05-04 Thread Wez Furlong
I've applied Saschas patch to latest CVS; it's more or less gone in as supplied, although I've slightly modified resource allocation/checking (if emalloc fails then PHP dies, so there is no need to check the return value) and made the padding constants case sensitive in "php space". Sascha, I wou

Re: [PHP-DEV] openssl module for php

2001-05-04 Thread Wez Furlong
On 2001-05-04 20:21:28, "Sascha Kettler" <[EMAIL PROTECTED]> wrote: > Sounds ok, although I wouldn't call it openssl_key_* but openssl_asym_* > similar. Yeah, that sounds better. > I don't know what people would prefer: Separate functions or a > boolean. What's the general opinion on that? IMHO

Re: [PHP-DEV] openssl module for php

2001-05-04 Thread Wez Furlong
On 2001-05-04 20:47:25, "Stig Venaas" <[EMAIL PROTECTED]> wrote: > Even though it is 4 functions, I think users will find it easier to > work with functions called openssl_public_encrypt, > openssl_private_decrypt etc. It also separates them from possible > symmetric enryption later on. So are we

Re: [PHP-DEV] 4.1 & Declaration Case Persistance

2001-05-04 Thread Wez Furlong
"Sterling Hughes" <[EMAIL PROTECTED]> wrote: > On Fri, 4 May 2001, Chuck Hagenbuch wrote: > > That's a problem with it being an option, yes. I'd vote for > > just making php case sensitive, period. > +1 for that! :) +1 --Wez. -- PHP Development Mailing List To unsubscri

Re: [PHP-DEV] Zend API changes

2001-05-04 Thread Wez Furlong
On 2001-05-04 19:59:23, "Andrei Zmievski" <[EMAIL PROTECTED]> wrote: > On Fri, 04 May 2001, Sterling Hughes wrote: > > Well maybe not manpage style. I think there should be some Javadoc-like > > comments in the Zend source, the same way the apache portable runtime is I remember the Amiga coding

Re: [PHP-DEV] 4.1 & Declaration Case Persistance

2001-05-04 Thread Wez Furlong
On 2001-05-04 20:01:42, "Colin Viebrock" <[EMAIL PROTECTED]> wrote: > One "problem" with case sensitivity (perhaps) is that it may make some > scripts non-portable. > > Say I develop a super-duper PEAR class using case-sensitive code (cause > that's what I have on my server). Someone who is runn

Re: [PHP-DEV] openssl module for php

2001-05-04 Thread Wez Furlong
On 2001-05-04 18:22:03, "Sascha Kettler" <[EMAIL PROTECTED]> wrote: > You won't need to pass the algorithm by an arg, as the key already contains > the algorithm identification (pkey->type). I haven't used any DSA encryption > yet, but maybe you can just add the code to the switch statements. Yes

Re: [PHP-DEV] openssl module for php

2001-05-04 Thread Wez Furlong
On 2001-05-04 19:05:05, "spencer 'sporty' portee" <[EMAIL PROTECTED]> wrote: > > On Fri, May 04, 2001 at 07:22:03PM +0200, Sascha Kettler wrote: > > > You won't need to pass the algorithm by an arg, as the key already contains > > > the algorithm identification (pkey->type). I haven't used any DSA

Re: [PHP-DEV] openssl module for php

2001-05-04 Thread Wez Furlong
On 2001-05-04 17:59:03, "Stig Venaas" <[EMAIL PROTECTED]> wrote: > followed up on that. It would be good if you and Sascha Kettler could > agree on how the API should be How about: openssl_key_encrypt( string data, // to encrypt string &crypted, // encrypted result mixed key, // key to u

Re: [PHP-DEV] openssl module for php

2001-05-04 Thread Wez Furlong
On 2001-05-04 17:59:03, "Stig Venaas" <[EMAIL PROTECTED]> wrote: > This sounds good, please have a look at bug report 10665 by > [EMAIL PROTECTED], he has implemented RSA encryption, and [EMAIL PROTECTED] > followed up on that. It would be good if you and Sascha Kettler could > agree on how the AP

Re: [PHP-DEV] Classes & function names

2001-05-04 Thread Wez Furlong
On 2001-05-04 14:45:48, "Wez Furlong" <[EMAIL PROTECTED]> wrote: > that has a higher WTF factor than making it case sensitive in 4.1 4.0 I mean. --Wez. -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP-DEV] Classes & function names

2001-05-04 Thread Wez Furlong
On 2001-05-04 11:29:23, "Zeev Suraski" <[EMAIL PROTECTED]> wrote: > IMHO, in a compatibility breaking upgrade, we should look into defaulting > to case sensitivity, while allowing case insensitivity as a non-default option. +1. Stig suggested making it case-insensitive by default until 4.2; I th

Re: [PHP-DEV] mailparse extension

2001-05-04 Thread Wez Furlong
On 2001-05-04 10:03:00, "Hartmut Holzgraefe" <[EMAIL PROTECTED]> wrote: > Wez Furlong wrote: > > So, it'll be more of an internal dependency... > oops, we are going to have internal extension dependencies beside > those to ext/standard? I can see where you are

Re: [PHP-DEV] mailparse extension

2001-05-04 Thread Wez Furlong
On 2001-05-04 06:07:14, "Chuck Hagenbuch" <[EMAIL PROTECTED]> wrote: > Quoting Wez Furlong <[EMAIL PROTECTED]>: > > > I would like to put my mailparse ("As seen on zend.com weekly summary") > > extension into CVS; shall I just check it into php

Re: [PHP-DEV] mailparse extension

2001-05-03 Thread Wez Furlong
On 2001-05-04 06:07:14, "Chuck Hagenbuch" <[EMAIL PROTECTED]> wrote: > Quoting Wez Furlong <[EMAIL PROTECTED]>: > > > I would like to put my mailparse ("As seen on zend.com weekly summary") > > extension into CVS; shall I just check it into php

Re: [PHP-DEV] 4.1 & Declaration Case Persistance

2001-05-03 Thread Wez Furlong
On 2001-05-03 22:53:49, "Andrei Zmievski" <[EMAIL PROTECTED]> wrote: > On Thu, 03 May 2001, Wez Furlong wrote: > > OK, so +1 to get_declared_class() which returns the class name with > Umm, that sounds kind of arbitrary. There could be an optional > parameter t

[PHP-DEV] mailparse extension

2001-05-03 Thread Wez Furlong
Hi All, I would like to put my mailparse ("As seen on zend.com weekly summary") extension into CVS; shall I just check it into php4/ext? > wc *.c *.h README *.m4 *.in 8052374 21660 mailparse.c 11913096 25926 rfc2045.c 78 2171578 rfc2045_base64encode.c 129

Re: [PHP-DEV] 4.1 & Declaration Case Persistance

2001-05-03 Thread Wez Furlong
On 2001-05-03 22:51:41, "Wez Furlong" <[EMAIL PROTECTED]> wrote: > | "John Donagher" <[EMAIL PROTECTED]> > > Right now, when a class (or method, or function) is declared, its name > > is zend_str_tolower()'d. > > it would be nice if the o

Re: [PHP-DEV] 4.1 & Declaration Case Persistance

2001-05-03 Thread Wez Furlong
| "John Donagher" <[EMAIL PROTECTED]> > Right now, when a class (or method, or function) is declared, its name > is zend_str_tolower()'d. > it would be nice if the original casing on the class name was persisted > so that functions like get_class would return the actual *as-declared* > class name

[PHP-DEV] fork() ?

2001-05-03 Thread Wez Furlong
Hi All, For the project that I am currently working on, I have a number of pages that need to initiate some lengthy processing that would (ideally) be carried out in the background while allowing the site user to carry on with other page views. A fork() call would be ideal for this purpose. Wha

Re: [PHP-DEV] Re: [PHP-QA] 4.0.6

2001-05-02 Thread Wez Furlong
> >>> Wez Furlong <[EMAIL PROTECTED]> 05/02/01 12:02PM >>> > get bash, sed, perl, awk and all those unix tools. I'm suggesting that > perhaps the test suite could be run using those tools on a win32 > platform. On 2001-05-02 18:09:07, "Matt White&

Re: [PHP-DEV] Re: [PHP-QA] 4.0.6

2001-05-02 Thread Wez Furlong
On 2001-05-02 15:43:57, "Andi Gutmans" <[EMAIL PROTECTED]> wrote: > At 03:38 PM 5/2/2001 +0100, Wez Furlong wrote: > >Seriously though, win32 is particular hard to do automated testing. > >Maybe we could use cygwin for running the test-suite under win32 and at &

Re: [PHP-DEV] Re: [PHP-QA] 4.0.6

2001-05-02 Thread Wez Furlong
On 2001-05-02 14:51:53, "Jani Taskinen" <[EMAIL PROTECTED]> wrote: > That COM problem is Win32 specific. And as Microsoft in it's great wisdom > has decided not to include any compilers in their OSs, the lack > of binary builds for RCs kinda makes it a bit hard for those who would > like to to tes

Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Re: [PHP-QA] 4.0.6

2001-05-02 Thread Wez Furlong
On 2001-05-02 15:03:50, "Zeev Suraski" <[EMAIL PROTECTED]> wrote: > We're going to have a Windows build machine at Zend, that will have > automated builds (it's actually quite around the corner now). Once it's > ready, we're going to have daily snapshots as well as RC builds all the time. That'

Re: [PHP-DEV] function table / hashes

2001-04-27 Thread Wez Furlong
On 2001-04-27 11:27:55, "Andi Gutmans" <[EMAIL PROTECTED]> wrote: > At 12:03 AM 4/27/2001 -0400, David Croft wrote: > > >Thank you Andi and Andrei. > > > >I have noticed that object method callbacks are consistently faster than > >global function callbacks, and was wondering why: Perhaps because

Re: [PHP-DEV] gd, freetype 1

2001-04-19 Thread Wez Furlong
On 2001-04-19 14:34:07, "Adam Dickmeiss" wrote: > Problem is that with_freetype_dir is empty in ext/gd/config.m4 so > with-ttf is not really recognized. > The patch below fixes the problem. Thanks - it's in CVS now. --Wez. -- PHP Development Mailing List To unsubscribe,

Re: [PHP-DEV] 4.0.6 and gd 2

2001-04-18 Thread Wez Furlong
On 2001-04-18 15:25:19, "Kurth Bemis" <[EMAIL PROTECTED]> wrote: > Now i'm getting all sorts of problems.loook As a hint, you might want to make sure that you have only one set of gd headers installed, and only one libgd.so. Try setting --with-gd=/path/to/libgd.so I would like to see the c

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 / TODO-4.1.txt

2001-04-18 Thread Wez Furlong
On 2001-04-17 21:08:15, "Andi Gutmans" <[EMAIL PROTECTED]> wrote: > Any chance you can write a small readme file or add some explanations to > the .h file to give people like me a small overview of the abstraction so > that it will be easier to start diving into the code? I've just commited REA

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 / TODO-4.1.txt

2001-04-18 Thread Wez Furlong
On 2001-04-17 22:38:00, "Stig Venaas" <[EMAIL PROTECTED]> wrote: > To do sockets with different families properly I need to store some > place what family it is when it's created. So I want all sockets in > PHP to have an associated datastructure with this and perhaps other > data in it (this is n

Re: [PHP-DEV] 4.0.6 and gd 2

2001-04-18 Thread Wez Furlong
On 2001-04-18 06:43:33, "Kurth Bemis" <[EMAIL PROTECTED]> wrote: > configure: warning: If configure fails try --with-xpm-dir= > checking for freetype(2) (needed by gd 2.0+)... no > ... > heres my config line > ./configure --with-mysql=/usr/local/mysql > --with-apache=/usr/src/apache_1.3.19 --ena

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 / TODO-4.1.txt

2001-04-18 Thread Wez Furlong
On 2001-04-17 21:08:15, "Andi Gutmans" <[EMAIL PROTECTED]> wrote: > I haven't had much time to go over it but it looks like it's definitely in > the right direction. I've wanted to see something like this in PHP for a while. > Any chance you can write a small readme file or add some explanations

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 / TODO-4.1.txt

2001-04-17 Thread Wez Furlong
On 2001-04-17 22:22:47, "Zeev Suraski" <[EMAIL PROTECTED]> wrote: > At 20:24 17/4/2001, Wez Furlong wrote: > >It's in CVS now - take a look at main/php_streams.h. > > Cool - it looks very good! That's exactly what I meant in the 'something >

Re: [PHP-DEV] GD 2.0.1 and FreeType 2

2001-04-17 Thread Wez Furlong
On 2001-04-17 19:04:31, "Brian Moon" <[EMAIL PROTECTED]> wrote: > I found libgd.a from an old version just after sending this email. > So, all compiles and runs without error now. I just don't get an image. > Have you actually produced an image with this? Yes, although I did find a couple of pro

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 / TODO-4.1.txt

2001-04-17 Thread Wez Furlong
Hi Stig (the other one), I would like to end up with a "definitive" hostconnect call - something like a blend between the fsockopen code in fsock.c and php_hostconnect in network.c If you could make me aware of any gotchas I should look out for while coming up with the code, I would appre

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 / TODO-4.1.txt

2001-04-17 Thread Wez Furlong
On 2001-04-17 17:20:34, "Zeev Suraski" <[EMAIL PROTECTED]> wrote: > How did you implement it? The main problem with doing this until now was > that under Windows, it's pretty much impossible to get a FILE* from a > socket. The right way to implement it would most probably be implementing > so

Re: [PHP-DEV] GD 2.0.1 and FreeType 2

2001-04-17 Thread Wez Furlong
On 2001-04-17 15:47:09, "Brian Moon" <[EMAIL PROTECTED]> wrote: > Everything compiles fine. However, now I get this when calling > ImageTTFBBox: > > Warning: libgd was not built with TrueType font support > > I simply installed gd and FreeType per their instructions with no problems. > Any ide

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 / TODO-4.1.txt

2001-04-17 Thread Wez Furlong
On 2001-04-17 16:26:19, "Hartmut Holzgraefe" <[EMAIL PROTECTED]> wrote: > Wez Furlong wrote: > > I'm working on a file abstraction for fopen and friends, > > with the aim of nuking all those issock parameters > > and paving the way so that I can fin

[PHP-DEV] 4.0.5, GD 2.0 and the zend.com weekly summary

2001-04-16 Thread Wez Furlong
Hi, I just noticed that the zend.com weekly summary says that my GD 2.x patch is likely to get into 4.0.5. I would have thought (and have noted in the docs) that it would be 4.0.6, given how far advanced we are with the RCs. Can you (group) confirm/deny this? I'm not bothered either way, but

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 / TODO-4.1.txt

2001-04-16 Thread Wez Furlong
On 2001-04-16 00:09:05, "Zeev Suraski" <[EMAIL PROTECTED]> wrote: > here. Generally, the main differences we came up with so far are (as per > Stig): > - Move most of the non-popular extensions out of the release and into PEAR > (requires lots of PEAR work to be made) > - Always build the CGI >

Re: [PHP-DEV] GD 2.0.1 and FreeType 2

2001-04-13 Thread Wez Furlong
On 2001-04-13 20:59:21, "Brian Moon" <[EMAIL PROTECTED]> wrote: > Ok, first, I had to edit gdttf.c and change: > > #if HAVE_LIBTTF && !defined(USE_GD_IMGSTRTTF) > to: > #if (HAVE_LIBTTF|HAVE_FREETYPE) && !defined(USE_GD_IMGSTRTTF) OK. I was using "--enable-gd-native-ttf", so this

Re: [PHP-DEV] CVS mailling list screwy

2001-04-13 Thread Wez Furlong
On 2001-04-13 13:07:13, "Sebastian Bergmann" <[EMAIL PROTECTED]> wrote: > Wez Furlong wrote: > > I'm subscribed to the CVS commit list, but I've received 0 messages > > from it. > The list works fine, I just recieved OK, I'll resubscribe

[PHP-DEV] GD patch committed

2001-04-13 Thread Wez Furlong
I've committed my GD 2.0.1 patch. If the build breaks, I'm sorry - it should be OK however. Please let me know if you have any problems with it. --Wez. -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROT

[PHP-DEV] CVS mailling list screwy

2001-04-13 Thread Wez Furlong
Hey, I'm subscribed to the CVS commit list, but I've received 0 messages from it. Who is maintaining the list? What can be done about it? --Wez. -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[PHP-DEV] GD Patch

2001-04-12 Thread Wez Furlong
Hi, I've patched the GD extension to support true color and alpha blending as found in GD 2.0.1, plus some other functions from earlier GD versions. Before I commit it I would like a build guru to double check the config.m4 part to make sure it's safe. GD 2.0 builds as a shared library by def

[PHP-DEV] file IO abstraction layer

2001-04-04 Thread Wez Furlong
Stig [+ Andi & others] I've made a start, and concerning sockets, I wanted to ask a question. main/network.c has php_hostconnect, which is used only by the http/ftp fopen wrappers, and does not yet implement the timeout (AFAICS). ext/standard/fsock.c has php_fsockopen, which seems to a m

Re: [PHP-DEV] documenting extensions

2001-04-02 Thread Wez Furlong
On 2001-04-02 13:43:18, "Stig Venaas" <[EMAIL PROTECTED]> wrote: > On Mon, Apr 02, 2001 at 01:42:40PM +0100, Wez Furlong wrote: > > Can anyone give me some pointers on how I might go about documenting the openSSL >extension? > > ATM, there is a readme, but

[PHP-DEV] documenting extensions

2001-04-02 Thread Wez Furlong
Can anyone give me some pointers on how I might go about documenting the openSSL extension? ATM, there is a readme, but I would like to put this stuff in the manual, with some examples. Thanks, --Wez. -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PRO

[PHP-DEV] openssl extension update

2001-04-01 Thread Wez Furlong
Hi again, I've spent a fair amount of time this weekend adding support for pkcs7 encrypt/decrypt/sign/verify operations to the openSSL extension. In plain English, that means that you can now sign/verify, encrypt/decrypt S/MIME messages using the openSSL software. The code is all based on the

[PHP-DEV] PHP mailing lists "on the blink" ?

2001-04-01 Thread Wez Furlong
Hi All, I'm subscribed to the cvs commit list, but aside from the confirmation message, I have received no mail from it. Also, I have gotten the last 3 PHP 3 bug summaries, but not the PHP 4 summaries. Just thought you should know! --Wez. -- PHP Development Mailing List

RE: [PHP-DEV] Leaking references

2001-03-28 Thread Wez Furlong
> I don't have enough mental strength to dive into that script > right now, but :-) > be advised that if you create circular references (which > apparently you do) > then yes, it will leak. PHP doesn't support circular references. Ahhh. It may sound like a stupid question, but why not? An

RE: [PHP-DEV] Leaking references

2001-03-28 Thread Wez Furlong
BTW: This was with CVS PHP updated this morning, ./configure --disable-pear --without-gd --without-mysql --enable-debug > zend_hash.c(291) : Freeing 0x0818E474 (37 bytes), script=leak.php > Last leak repeated 1 time > zend_hash.c(202) : Freeing 0x08193D1C (20 bytes), script=leak.php > Last lea

[PHP-DEV] Leaking references

2001-03-28 Thread Wez Furlong
[I can't reach the PHP web site (100% packet loss), so I can't open a bug report at this time] I have found a leak in the Zend engine: class A { var $t = null; function &run(&$t) { $this->t = &$t; return $this->t->run(); } } clas

RE: [PHP-DEV] (apparently) leaky zend

2001-03-28 Thread Wez Furlong
> How do you see that? That 'last leak repeated 18 times' doesn't mean the > pointer got freed 18 times, but rather, that a leak from zend_hash.c(461) > repeated itself 18 times... My mistake... just after I sent the message I realized that that couldn't be the case, as there would have been a c

[PHP-DEV] (apparently) leaky zend

2001-03-28 Thread Wez Furlong
Hi All, I've been noticing a whole bunch of memory leaks that appear to be coming from zend while running a complex script. zend_hash.c(202) : Freeing 0x088D11E4 (20 bytes), script=/wwwroot/view.php Last leak repeated 37 times ./zend_execute.c(2144) : Freeing 0x089D8E3C (48 bytes), script=/www

[PHP-DEV] mailparse email parsing extension for PHP

2001-03-28 Thread Wez Furlong
Hi, I've written an extension that will parse rfc822/rfc2045 compliant email messages and allow manipulation of the message parts. The main points are: . Based on modified maildrop librfc822 and librfc2045 (part of the courier mail server) . Low resource usage - all parsing is "incremental", us

Re: [PHP-DEV] [IANAL] Re: [PHP-DEV] Debugger protocol

2001-03-20 Thread Wez Furlong
On 2001-03-20 14:22:54, Joey Smith <[EMAIL PROTECTED]> wrote: > I have been told that the Zend Debugger license explicitly > prohibits such activity. I, for one, do not begrudge Zend trying to make > a little money. Just because some of us manage to live an idealistic > world does not me

Re: [PHP-DEV] Debugger protocol

2001-03-20 Thread Wez Furlong
On 2001-03-21 03:03:00, "Varun Shoor" wrote: > working on an Open Source IDE for PHP but from what i heard in the #php the > debugger protocol is no more open in PHP4? And only binaries are distributed > and above all it is illegal to reverse engineer the protocol. Why in the world > is this do

Re: [PHP-DEV] SSL -> joining sockets and files

2001-03-01 Thread Wez Furlong
On 2001-03-01 05:14:18, Andi Gutmans <[EMAIL PROTECTED]> wrote: > This sounds pretty good. I'll try and look at the code this weekend. Some > of the code is really ugly especially the legacy code. > When you say there are places which need a FILE * do you mean they just > need to check the i

Re: [PHP-DEV] SSL -> joining sockets and files

2001-02-28 Thread Wez Furlong
I've just looked through the code. The current issock stuff is a bit of a nightmare, but not too much of a problem. Most of the codebase seems to be fairly well behaved with FP_FGETS and friends (apart from the interbase extension, where it does the same thing as FP_FREAD without using FP_

Re: [PHP-DEV] SSL -> joining sockets and files (resent)

2001-02-28 Thread Wez Furlong
On 2001-02-28 20:51:18, Andi Gutmans <[EMAIL PROTECTED]> wrote: > Doing some C OOP here would probably come in handy. Short incomplete example: > typedef union _io_abstraction { > io_base base; > socket_abstraction socket; > ssl_abstraction ssl; > file_abstracti

[PHP-DEV] SSL -> joining sockets and files (resent)

2001-02-28 Thread Wez Furlong
Sorry - I've been having problems with my mail client; I have resent the message with sensible line breaks. On 2001-02-27 06:53:05, Stig Venaas wrote: > But with for instance IPv6, you won't know what socket you need until > you're done with the resolving. That's why hostconnect() is like it > i

Re: [PHP-DEV] SSL socket support (LONG!)

2001-02-27 Thread Wez Furlong
On 2001-02-27 20:07:09, Andi Gutmans wrote: > Do you have time to map where in PHP we are currently using socket code? > I think according to how many places and how we are using it, it'll help us > decide how much redesigning we can do. Also keep Win32 in mind while > thinking of this. As is

Re: [PHP-DEV] SSL -> joining sockets and files ?

2001-02-27 Thread Wez Furlong
On 2001-02-27 06:53:05, Stig Venaas wrote: > But with for instance IPv6, you won't know what socket you need until > you're done with the resolving. That's why hostconnect() is like it > is. It even needs to connect before it knows what socket to use. That I must have missed hostconnect(). I Do

Re: [PHP-DEV] SSL socket support (LONG!)

2001-02-26 Thread Wez Furlong
On 2001-02-26 08:21:23, Stig Venaas <[EMAIL PROTECTED]> wrote: > Sounds good to me. It's also impossible in a portable way to know if a > socket is AF_INET, AF_INET6 or AF_LOCAL, so for socket() function etc. > I've been thinking of doing something like this to store what domain > a socket is

[PHP-DEV] SSL socket support

2001-02-25 Thread Wez Furlong
I've been reviewing my relatively crude patch from September last year that provided transparent SSL socket access to PHP via the php functions fsockopen, fread etc. etc. It would be very simple to integrate this into the current PHP code base, but to do so I think we would need to make some modi

RE: [PHP-DEV] CVS "Karma" levels

2001-02-25 Thread Wez Furlong
>Changed. You also have access to the full source tree now. >- Sascha Thanks. --Wez. -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PR

RE: [PHP-DEV] CVS "Karma" levels

2001-02-25 Thread Wez Furlong
rify it, I can prove it's me by providing you with my cvs password over private email. (mail to the ryltech address will not reach me). --Wez. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 25, 2001 11:24 PM To: Wez Furlong; php-dev mail

<    1   2   3   4   5   6   7   >