Re: [PHP-DEV] operator-0.3 extension update
Am 06.02.13 14:14, schrieb Gabriel Wu: On Wed, Feb 6, 2013 at 7:28 PM, Ferenc Kovacs tyr...@gmail.com wrote: I think mentioning Sara as a sponsor would weight in more than myself. ;) Oh, you aren't the one approving the application? Anyway I was wondering how to go about submitting the update - are there any howto's on creating the pear package that I should upload on http://pecl.php.net/release-upload.php? hi, great, that someone is updating this extension. will you also offer an updated version for php-5.5 later (if it does not already work)? i just wanted to give it a try, but there seems to be a problem with the uploaded package: it seems to only contain the package.xml? greetings, harald -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] operator-0.3 extension update
great, that someone is updating this extension. will you also offer an updated version for php-5.5 later (if it does not already work)? i just wanted to give it a try, but there seems to be a problem with the uploaded package: it seems to only contain the package.xml? % tar -i -- Regards, Mike -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] operator-0.3 extension update
Am 07.02.13 11:40, schrieb Michael Wallner: great, that someone is updating this extension. will you also offer an updated version for php-5.5 later (if it does not already work)? i just wanted to give it a try, but there seems to be a problem with the uploaded package: it seems to only contain the package.xml? % tar -i i feel really stupid, but i am unable to extract this archive on my system (mac). neither with bsdtar nor with gnutar. i've not had such issue with any other archive ever downloaded from php.net before. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] operator-0.3 extension update
On Thu, Feb 7, 2013 at 7:03 PM, Harald Lapp harald.l...@gmail.com wrote: Am 07.02.13 11:40, schrieb Michael Wallner: great, that someone is updating this extension. will you also offer an updated version for php-5.5 later (if it does not already work)? i just wanted to give it a try, but there seems to be a problem with the uploaded package: it seems to only contain the package.xml? % tar -i i feel really stupid, but i am unable to extract this archive on my system (mac). neither with bsdtar nor with gnutar. i've not had such issue with any other archive ever downloaded from php.net before. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php Hi Micheal, I have uploaded a new tarball which hopefully contains the src files. I had problems previously with a bug on the pecl package system, which I thought I sorted out, but apparently not. I will test it on php-5.5 on my own sometime, but please let me know of the outcome of your tests! Best regards, Gabriel -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] operator-0.3 extension update
On Wed, Feb 6, 2013 at 10:51 AM, Gabriel Wu gabrielw...@gmail.com wrote: Hi Sara, Good to hear from you! I have just submitted a pecl account request listing you as the sponsor. I'll be figuring out how to go about submitting the packages, etc, but I'll need the account first. Thanks for your advice! Gabriel Hi, I've approved your pecl account request and assigned you to the package, but it seems that you didn't requested a php.net account. Which is fine, if you want to host the code externally(github, bitbucket, etc.) and only upload there releases on pecl.php.net, but if you want to host the code on svn.php.net or git.php.net, you should also request a php.net account (http://php.net/git-php.php). ps: we prefer top posting on the php.net mailing lists, see http://www.php.net/reST/README.MAILINGLIST_RULES for the rules. -- Ferenc Kovács @Tyr43l - http://tyrael.hu
Re: [PHP-DEV] operator-0.3 extension update
On Wed, Feb 6, 2013 at 12:22 PM, Gabriel Wu gabrielw...@gmail.com wrote: On Wed, Feb 6, 2013 at 6:22 PM, Ferenc Kovacs tyr...@gmail.com wrote: if you want to host the code externally(github, bitbucket, etc.) and only upload there releases on pecl.php.net, but if you want to host the code on svn.php.net or git.php.net, you should also request a php.net account (http://php.net/git-php.php). ps: we prefer top posting on the php.net mailing lists, see http://www.php.net/reST/README.MAILINGLIST_RULES for the rules. Sorry about the top posting thing... it took me a while to figure out what it meant, and for a moment I was worried that I had posted to the wrong newsgroup. I am requesting for a git-php account, sending the request to the 'PHP Group', and mentioning you (Ferenc Kovács) as sponsor. Best regards, Gabriel I think mentioning Sara as a sponsor would weight in more than myself. ;) -- Ferenc Kovács @Tyr43l - http://tyrael.hu
Re: [PHP-DEV] operator-0.3 extension update
On Wed, Feb 6, 2013 at 7:28 PM, Ferenc Kovacs tyr...@gmail.com wrote: I think mentioning Sara as a sponsor would weight in more than myself. ;) Oh, you aren't the one approving the application? Anyway I was wondering how to go about submitting the update - are there any howto's on creating the pear package that I should upload on http://pecl.php.net/release-upload.php? Also, how are compatibility with different php versions incorporated? Do users download the appropriate extension version? or is there an automatic way of detecting the version that I should incorporate into the script? Regardless, I can upload the two updates first, one compatible with php5.3 and another with php5.4 (calling them operator-0.4 and operator-0.5?), and I will learn up these intricacies on the go. Also, please feel free to correct my coding convention. I will comment on the parts of the code that I have changed, so people can review and see if it is sound. Many thanks for your help! Gabriel -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] operator-0.3 extension update
hi, On Wed, Feb 6, 2013 at 2:14 PM, Gabriel Wu gabrielw...@gmail.com wrote: On Wed, Feb 6, 2013 at 7:28 PM, Ferenc Kovacs tyr...@gmail.com wrote: I think mentioning Sara as a sponsor would weight in more than myself. ;) Oh, you aren't the one approving the application? Many do that. Anyway I was wondering how to go about submitting the update - are there any howto's on creating the pear package that I should upload on http://pecl.php.net/release-upload.php? See the pear documentation and the existing extensions in pecl, you only need to update the package.xml information (changelog, lead devs, etc.) and run pecl package package.xml from the src directory. Also, how are compatibility with different php versions incorporated? You deal with it using #ifdef in one tree. See the other extensions as well for example. Regardless, I can upload the two updates first, one compatible with php5.3 and another with php5.4 (calling them operator-0.4 and operator-0.5?), Please do it all in one release only unless you plan to drop support for one a given version :) Cheers, -- Pierre @pierrejoye -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] operator-0.3 extension update
Hi, thank you for pointing me in this direction. The opengrok program is awesome! And I managed to update the operator-0.3 extension to work with php 5.3 (will be working on making it compatible with 5.4 next). I was wondering whether (where) I should submit the code so that the package can be updated, and whether there are issues with supporting operator overloading that make it something that you will not want to support too much. Best regards, Gabriel On Sun, Feb 3, 2013 at 1:22 AM, Ferenc Kovacs tyr...@gmail.com wrote: On Sat, Feb 2, 2013 at 3:32 PM, Gabriel Wu gabrielw...@gmail.com wrote: Dear all, I am looking for the place to get support for writing a php extension. Just wondering if this is the right place. I am looking to create a custom class where I can overload the operators of the class. I have found an old extension called operator-0.3 authored by Sara Golemon poll...@php.net, whom I noticed is CC'ed in the messages here. I just looked over her code, and was trying to make sense of it, but as it stands, I found a dearth of documentation on overloading php class operations. Is this the right place to ask for help for zend interfaces such as php_operator_zval_ptr, etc? Thanks in advance for your help! Gabriel -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php Hi, we have a bunch of information/docs/examples here and there, check out the links at http://pecl.php.net/support.php#resources and using http://lxr.php.net/ is also helps a lot for wading through the php sourcecode. -- Ferenc Kovács @Tyr43l - http://tyrael.hu -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php