[PHP-DEV] Building stand-alone/built-in

2001-02-09 Thread Emiliano
Hi all, I'm building a PHP extension that I'd like to be able to build both as fully external and embedded into PHP. I include some apache headers si I need the build environment to either tell me where apxs is or have the include directories 'handed to me' in the php-provided build environment.

Re: [PHP-DEV] Midgard (Was: cvs: php4 /ext/midgard .cvsignore...)

2001-02-12 Thread Emiliano
James Moore wrote: With the PHP4 version of Midgard, patching is no longer a necessity. It's an ordinary extension like the others. Perhaps it would be an idea to move it out of the main PHP CVS (into another cvs module) for now and put links on php.net, personally I would really like

Re: [PHP-DEV] Midgard (Was: cvs: php4 /ext/midgard .cvsignore...)

2001-02-13 Thread Emiliano
Peter "[DiSAStA]" Petermann wrote: Well right now it won't really solve it because pear is included in the distribution. However, the idea behind pear is to be something more similar what if midgard would be handled like php-gtk? How would that be? Emile -- PHP Development Mailing

Re: [PHP-DEV] Midgard (Was: cvs: php4 /ext/midgard .cvsignore...)

2001-02-13 Thread Emiliano
Andi Gutmans wrote: OK, my mistake. So moving php4/ext/midgard to php4/pear/midgard would solve this? Well right now it won't really solve it because pear is included in the distribution. However, the idea behind pear is to be something more similar to CPAN which means both PHP and C

Re: [PHP-DEV] Midgard (Was: cvs: php4 /ext/midgard .cvsignore...)

2001-02-13 Thread Emiliano
Stanislav Malyshev wrote: E With the PHP4 version of Midgard, patching is no longer a E necessity. It's an ordinary extension like the others. Ah, so parser modifications are out? Good to know. Yes, they are. Emile -- PHP Development Mailing List http://www.php.net/ To unsubscribe,

Re: [PHP-DEV] Midgard

2001-02-16 Thread Emiliano
Emiliano wrote: Midgard extension contains 200k of vanity images. This is unreasonable bloat to the core of PHP. Can you please remove them? They've been removed days ago. My mistake, they were removed from our own CVS. We forgot to do that at cvs.php.net. The mistake has been rectified

Re: [PHP-DEV] Time for 4.0.5?

2001-02-19 Thread Emiliano
Cameron wrote: i'll agree its about due for release, can we do SOMETHING about the download size tho? i dont really have any ideas on decent ways to shrink it but it seems to be bloating to me. could do with the mcrypt fix's and zeev's output buffer fix 1st tho . . . Hum, having just

Re: [PHP-DEV] time to upgrade our bundled expat?

2001-02-19 Thread Emiliano
"Thies C. Arntzen" wrote: We use it a lot. Works well, supports multiple charsets, and is now in as sane library format so internalizatin isn't strictly necesary anymore (although there can be reasons to do so all the same, of course). Is there anything specific you want to know

Re: [PHP-DEV] Time for 4.0.5?

2001-02-19 Thread Emiliano
"Hellekin O. Wolf" wrote: Can we propose extensions outside of the main distribution ? I like the idea of downloading what you want. Through a form, you would chose the extensions you need, then submit and receive a custom GZIP or BZ2 file. It sounds doable. Any constraint, dependency

Re: [PHP-DEV] Time for 4.0.5?

2001-02-20 Thread Emiliano
Wolfgang Drews wrote: delivering .tar.gz, but in addition offer this .bz2 thing. So why not, if at least those modem-users would benefit of it? Could benefit, not would benefit. They'd need to download and install bzip2 first. Emile -- PHP Development Mailing List http://www.php.net/ To

[PHP-DEV] Re: PEAR (was: Re: [PHP-CVS] cvs: php4 /ext/midgard config.m4)

2001-03-19 Thread Emiliano
Rasmus Lerdorf wrote: Having midgard in the PEAR infrastructure makes sense once the PEAR infrastructure is such that it is easy to install PEAR components that include C bits. And yes, perhaps the midgard folks are the right people to push this along, if they are willing and able. Someone

Re: [PHP-DEV] Re: PEAR (was: Re: [PHP-CVS] cvs: php4/ext/midgard config.m4)

2001-03-19 Thread Emiliano
Zeev Suraski wrote: At 02:04 20/3/2001, Rasmus Lerdorf wrote: No, we need tighter integration. We want to be able to do something along the lines of "pear pear.php.net/midgard" and it would go and fetch the the component, build it and install it. I completely agree with Andi about this.

Re: [PHP-DEV] PHP 4.0.5 Release Midgard Problems

2001-03-30 Thread Emiliano
James Moore wrote: This will undoubtedly happen again and again ad midgard and PHP work on different release cycles and is by no means the fault of the midgard people but it just isn't practical if we are trying to release stable versions of PHP and midgard is still undergoing heavy

[PHP-DEV] maybe not a PHP library?

2001-05-02 Thread Emiliano
I'm trying to create a minimal module to do some debugging work, but it fails to load. I essentially used ext_skel to create an fresh extension, moved it out of the PHP tree, then did: $ phpize $ ./configure --enable-apdebug $ make # make install The extension is generated OK AFAICT, but it

Re: [PHP-DEV] maybe not a PHP library?

2001-05-02 Thread Emiliano
Alexander Bokovoy wrote: I'm trying to create a minimal module to do some debugging work, but it fails to load. I essentially used ext_skel to create an fresh extension, moved it out of the PHP tree, then did: $ phpize $ ./configure --enable-apdebug $ make # make install The

Re: [PHP-DEV] Imap SSL support (Bug #10330)

2001-05-03 Thread Emiliano
Jani Taskinen wrote: IMAP-2000 ext/imap does not compiles well using phpize because both PHP_ARG_WITH() in its config.m4. Why would anyone want to use phpize on imap extension? (forgive me but I never have needed phpize..) You do when you want to develop self-contained extensions. SCEs

Re: [PHP-DEV] Imap SSL support (Bug #10330)

2001-05-03 Thread Emiliano
Jani Taskinen wrote: So, it means that you never test PHP extensions in SCE mode. So? I have no use for SCEs. All the world, fall in line with Jani. Some people do need them. For PHP too, see package argument earlier. Emile -- PHP Development Mailing List http://www.php.net/ To

[PHP-DEV] Macro functionality

2001-09-07 Thread Emiliano
Is there any way (with C coding or otherwise) to implement macros a la #define in C for PHP? I need to have something that looks like a function but that calls eval in the body, and I need that eval to be executed in the calling scope. If that's not possible, would it be OK to do something

Re: [PHP-DEV] Woah

2001-09-08 Thread Emiliano
Rasmus Lerdorf wrote: reuse. We can get back to the idea of letting people define % as htmlspecialchars(), You can do that in PHP? How? You can't. You missed the dripping sarcasm. Well, I was torn between accepting it as sarcasm, and getting hints on how to accomplish it :)

[PHP-DEV] Add function aliases at runtime?

2001-10-02 Thread Emiliano
Is it possible to add a function entry for a C-coded funtion at runtime? Emile -- PHP Development Mailing List http://www.php.net/ 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] Add function aliases at runtime?

2001-10-02 Thread Emiliano
[EMAIL PROTECTED] wrote: Is it possible to add a function entry for a C-coded funtion at runtime? I once was interested in that and Sascha said it's possible to do that. It was quite a while back ,so I dunno if recent changes changed also the situation. Any pointers into the

Re: [PHP-DEV] Add function aliases at runtime?

2001-10-02 Thread Emiliano
[EMAIL PROTECTED] wrote: uh, sorry, it was on #php :) on efnet you mean? I tried there but there wasn't anyone around that could answer the question. Any particular time/place where the PHP gurus lounge? Emile -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail:

[PHP-DEV] Metadata, active properties, garbage collection

2001-10-06 Thread Emiliano
A few questions on Zend internals: Is it possible to add (opaque, as far as the PHP script will be concerned) data to object of internal class from C? Preferably, this data would not even be visible to the script. I see the class declaration struct has functions that seem to be related to