Re: May News
| From: | Christian Weiske | Date: | Wed, 18 May 2005 10:15:17 +0000 |
| Subject: | Re: May News | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-1293@lists.php.net to get a copy of this message | ||
Andrei,
> We are not going to do selective compilation in this case and offload
> the task of understand what this is all about onto the user who is
> compiling the extension. Either we go for this feature or not. So the
> first thing to fix would be to remove the ENABLE_REFLECTION check and
> always put in the arg info.
I did that for *you*, because you were nervous about the
performance/compile time/whaterver impact on php-gtk2.
Second reason for it was that if something goes wrong with the
reflection generation, you still had the chance to compile it by just
disabling it.
I'll remove it.
> Secondly, what exactly is reflection_class_checker.php for? I could not
> understand the purpose from your comments.
If you reflect a non-existing class (be it in a function parameter), PHP
behaves *very* strange: Reflection browser draws all the lines in the
lists to the last selected class, you can't close the application,
nothing works any more.
So this script checks if the generated files contain such non-existing
classes (like the enum ones) and spits them out, as they have to be
entered in generator.php to be replaced typeless arg_info.
> By the way, since you like this feature so much, it'll be up to you to
> make sure that all the methods and functions and whatever have the arg
> info. I don't have time to put this stuff in every time I create an
> overridden method.
I'll be your slave and run after everything you do.
Regards/MfG,
Christian Weiske
--
XMMS is playing now:
Sportfreunde Stiller - Siehst Du Das Genauso?
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc