Re: [PHP-DEV] embedded libmagic (from file)

2011-03-21 Thread Raphael Geissert
de some more features, but it would be great to keep the divergence to the strict minimum. Cheers, -- Raphael Geissert -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] IMAP patches from kolab -- can we get these merged?

2010-07-30 Thread Raphael Geissert
Pierre Joye wrote: > On Thu, Jul 29, 2010 at 11:44 PM, Raphael Geissert > wrote: >> As it seems, the best and maintainable solution is to switch to some >> other alternative library (sadly, there's no such candidate atm.) > > What make you think that c-client is d

Re: [PHP-DEV] IMAP patches from kolab -- can we get these merged?

2010-07-29 Thread Raphael Geissert
Raphael Geissert wrote: > As it seems, the best and maintainable solution is to switch to some other > alternative library (sadly, there's no such candidate atm.) Actually, I wonder if the imap extension shouldn't be dropped altogether in trunk. The libraries written in PHP a

Re: [PHP-DEV] IMAP patches from kolab -- can we get these merged?

2010-07-29 Thread Raphael Geissert
ere was a discussion in 2004 for FC2 about the situation of libc-client, but besides that: nothing. As it seems, the best and maintainable solution is to switch to some other alternative library (sadly, there's no such candidate atm.) HTH -- Raphael Geissert -- PHP Internals - PHP Runti

Re: Re: [PHP-DEV] Debian PHP patches

2010-04-05 Thread Raphael Geissert
Raphael Geissert wrote: > Johannes Schlüter wrote: > > Although I would have preferred you wait for me to submit each patch > individually with enough information (because I've only been like two > years co-maintaining the packages and most patches were added by others, > a

Re: [PHP-DEV] Re: Commits to PHP_5_3

2010-04-05 Thread Raphael Geissert
Johannes Schlüter wrote: > On Thu, 2010-03-18 at 22:10 -0600, Raphael Geissert wrote: >> At the moment dba is the best place to add support for tokyo cabinets >> without introducing major features (or a pecl extension). > > "without introducing major features" do

Re: [PHP-DEV] Re: Commits to PHP_5_3

2010-03-18 Thread Raphael Geissert
ply it. Cool. Johannes, would it be ok to merge support for tokyo cabinets into PHP_5_3? Cheers, -- Raphael Geissert -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: Commits to PHP_5_3

2010-03-18 Thread Raphael Geissert
Sebastian Bergmann wrote: > Am 18.03.2010 19:10, schrieb Raphael Geissert: >> I was considering adding support for tokyo cabinets, would that still >> be acceptable for 5.3.x? > > I think something like that should go into a PECL extension. I would actually be happy if

[PHP-DEV] Re: Commits to PHP_5_3

2010-03-18 Thread Raphael Geissert
that still be acceptable for 5.3.x? Cheers, -- Raphael Geissert -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] 5.3 release schedule and other bits

2010-03-11 Thread Raphael Geissert
any patches (probably more than those we included in 5.2.6 for lenny, because of our current work to get the testsuite to pass). Cheers, -- Raphael Geissert -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: why not use strtol instead of php_filter_parse_{int,hex,octal}?

2010-03-04 Thread Raphael Geissert
Raphael Geissert wrote: > Pierre Joye wrote: >> >> What patch? Please do not commit anything there without first posting >> to the list. There were enough breakage in this area, no need to >> introduce new ones again. >> No objection then? > Here it is:

Re: [PHP-DEV] Re: why not use strtol instead of php_filter_parse_{int,hex,octal}?

2010-02-27 Thread Raphael Geissert
Derick Rethans wrote: > On Mon, 22 Feb 2010, Raphael Geissert wrote: >> >> gcc 4.4's optimiser removes the overflow check present in >> php_filter_parse_int and ZEND_HANDLE_NUMERIC (but I can't touch that part >> of the code anyway...) which prev

Re: [PHP-DEV] Re: why not use strtol instead of php_filter_parse_{int,hex,octal}?

2010-02-27 Thread Raphael Geissert
idate_int.patch;hb=3061d111de130df7388cc78e26b63cc105574775 Like Sean stated on his post to the list, the engine is also affected. Somebody would need to apply the patch there. Cheers, -- Raphael Geissert -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: htt

Re: [PHP-DEV] Re: why not use strtol instead of php_filter_parse_{int,hex,octal}?

2010-02-22 Thread Raphael Geissert
Derick Rethans wrote: > What exactly are you trying to fix here? > gcc 4.4's optimiser removes the overflow check present in php_filter_parse_int and ZEND_HANDLE_NUMERIC (but I can't touch that part of the code anyway...) which prevents the overflow from being detected. Che

Re: [PHP-DEV] Re: why not use strtol instead of php_filter_parse_{int,hex,octal}?

2010-02-22 Thread Raphael Geissert
dea. > > Poratability was indeed the reason, as well as the locale issues that > you mention (POSIX locales==useless). Please don't commit this. > Ok. Sean came up with a different patch which is being tested right now. If all the tests pass then I'm going to commit it. Cheer

Re: [PHP-DEV] multi-jobs run-tests.php

2010-02-22 Thread Raphael Geissert
is available). > Ah, I see, great. >From a quick look at the code it looks like it also uses pcntl. Is there any plan to switch to that other implementation? No work has been done in something like the threads extension, has there? Cheers, -- Raphael Geissert -- PHP Internals - PHP R

[PHP-DEV] Re: why not use strtol instead of php_filter_parse_{int,hex,octal}?

2010-02-21 Thread Raphael Geissert
Raphael Geissert wrote: > > If there's no objection, I would like to remove them entirely and use > strtol in php_filter_int. > By the way, I don't think that the fact that strtol is locale-aware should be a reason to make the change. Since scripts are expected to use

[PHP-DEV] multi-jobs run-tests.php

2010-02-21 Thread Raphael Geissert
Hi, I've spent the last hours working on making run-tests.php be able to run tests in parallel. The main reason being the time it takes to run the whole testsuite even on multicore CPUs. Attached is the first set of changes needed. It uses pcntl's fork and sysvmsg to send some of the results b

[PHP-DEV] why not use strtol instead of php_filter_parse_{int,hex,octal}?

2010-02-21 Thread Raphael Geissert
ere's no objection, I would like to remove them entirely and use strtol in php_filter_int. Cheers, -- Raphael Geissert -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] SVN Account Request: geissert

2010-02-12 Thread Raphael Geissert
Squash bugs on the test suite and code -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Throwing an E_DEPRECATED for short_open_tag

2010-01-18 Thread Raphael Geissert
ing to change PHP > here, I'd be going after your problematic edge cases and bringing them > up to speed so they can support per-app configuration. > That would be the ideal situation. Sadly it is not that easy to accomplish, hence the need to support more configuration optio

Re: [PHP-DEV] Debian PHP patches

2010-01-18 Thread Raphael Geissert
sions and the various other attempts people have >> made doesn't work. > > Oops, missed the thread link: > > http://lists.gnu.org/archive/html/autoconf/2009-11/msg00100.html > I see, thanks for the pointer. Cheers, -- Raphael Geissert - Debian Developer www.debian.org - get.deb

Re: [PHP-DEV] Debian PHP patches

2010-01-18 Thread Raphael Geissert
6#10 Cheers, -- Raphael Geissert - Debian Developer www.debian.org - get.debian.net -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Debian PHP patches

2010-01-18 Thread Raphael Geissert
Jani Taskinen wrote: > On 01/17/2010 05:19 AM, Raphael Geissert wrote: >> Jani Taskinen wrote: >> >>> 16.1.2010 20:10, Raphael Geissert wrote: >>>> Some of the other patches include: >>>> libdb_is_-ldb >>> >>> Why? Potentially br

Re: [PHP-DEV] Debian PHP patches

2010-01-16 Thread Raphael Geissert
Jani Taskinen wrote: > 16.1.2010 20:10, Raphael Geissert wrote: >> Some of the other patches include: >> libdb_is_-ldb > > Why? Potentially breaks things when you assume db/ being correct place.. Do you have an example of any actual case? > >> 115-autoconf_ft

Re: [PHP-DEV] Debian PHP patches

2010-01-16 Thread Raphael Geissert
You should at least ad an "echo 'done';" or such to the expect >section to make sure it really works ... Could be added, yes, but in case it fails it would lead to a segfault. > > I skipped the patches related to build system and such and maybe skipped &g

Re: [PHP-DEV] Throwing an E_DEPRECATED for short_open_tag

2010-01-16 Thread Raphael Geissert
Patrick ALLAERT wrote: > 2010/1/13 Derick Rethans : >> On Tue, 12 Jan 2010, Raphael Geissert wrote: > > [snip] > >> Would it be possible to force short_open_tag to a specific value for >> those applications alone? Perhaps through an .htaccess file? That way, &g

Re: [PHP-DEV] Throwing an E_DEPRECATED for short_open_tag

2010-01-14 Thread Raphael Geissert
Rasmus Lerdorf wrote: > Raphael Geissert wrote: >> I'm still looking for a way to warn about the use of open_short_tag not >> being explicitly enabled on the PERDIR level. Otherwise the only thing I >> see would make applications change would be when the default is Off a

Re: [PHP-DEV] 5.3 release schedule and other bits

2010-01-14 Thread Raphael Geissert
, do you enable one of the php.ini-* files by default? Which? > Perhaps with a few other changed values to meet the defaults, like with > short_open_tag? On 5.2 and older we use -dist. On 5.3 we will take -production as a base but we have not yet decided what other changes we are going to mak

Re: [PHP-DEV] Throwing an E_DEPRECATED for short_open_tag

2010-01-14 Thread Raphael Geissert
e would be when the default is Off and they break. Cheers, -- Raphael Geissert - Debian Developer www.debian.org - get.debian.net -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] 5.3 release schedule and other bits

2010-01-14 Thread Raphael Geissert
patch is Debian specific or just bringing in something done by > the PHP team itself. Only the debian-quirks and php.ini_securitynotes patches are really Debian- specific. The rest should find its way to the upstream code (but some of the patches were not accepted in the past). Cheers, -- Raphael Gei

Re: [PHP-DEV] Throwing an E_DEPRECATED for short_open_tag

2010-01-13 Thread Raphael Geissert
Rasmus Lerdorf wrote: > Raphael Geissert wrote: >> However, we would like to contribute in the quest to make applications >> stop using short_open_tag. To do so, we have decided to throw an >> E_DEPRECATED warning when an application makes use of short_open_tag. The >>

Re: [PHP-DEV] 5.3 release schedule and other bits

2010-01-13 Thread Raphael Geissert
Daniel Convissor wrote: > Hi Raphael: > > On Tue, Jan 12, 2010 at 02:48:38PM -0600, Raphael Geissert wrote: >> As a first step I'll be trying to forward most of our >> patches so that there's a minor divergence. > > Is there a document somewhere that expla

Re: [PHP-DEV] 5.3 release schedule and other bits

2010-01-13 Thread Raphael Geissert
Johannes Schlüter wrote: > Hi, > > On Tue, 2010-01-12 at 14:48 -0600, Raphael Geissert wrote: >> Hello, >> >> At Debian we are planning to include PHP 5.3 in Squeeze, the next stable >> release. As such, I would like to know for example when we could expect

Re: [PHP-DEV] 5.3 release schedule and other bits

2010-01-13 Thread Raphael Geissert
so that it later migrates to testing. Cheers, -- Raphael Geissert - Debian Developer www.debian.org - get.debian.net -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Throwing an E_DEPRECATED for short_open_tag

2010-01-12 Thread Raphael Geissert
=blob;f=debian/patches/deprecate_short_open_tag;h=57a79c6215afdc8654c6d18e791a9b7c8f5e373b Cheers, -- Raphael Geissert - Debian Developer www.debian.org - get.debian.net -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] 5.3 release schedule and other bits

2010-01-12 Thread Raphael Geissert
Derick Rethans wrote: > On Tue, 12 Jan 2010, Raphael Geissert wrote: > >> At Debian we are planning to include PHP 5.3 in Squeeze, the next stable >> release. As such, I would like to know for example when we could expect >> 5.3.2 and 5.3.3 to be released. > > 5.3

[PHP-DEV] 5.3 release schedule and other bits

2010-01-12 Thread Raphael Geissert
en us (the package maintainers) and you (the upstream developers). As a first step I'll be trying to forward most of our patches so that there's a minor divergence. Cheers, -- Raphael Geissert - Debian Developer www.debian.org - get.debian.net -- PHP Internals - PHP Runtime Deve

Re: [PHP-DEV] About dropping magic_quotes in 5.3 (was: Re: [PHP-DEV] Re: PHP 5.2.7 + magic_quotes_gpc broken)

2008-12-11 Thread Raphael Geissert
Hannes Magnusson wrote: [...] > We really need to work on our relationship with other distros, > starting with marking security fixes as security fixes. Yes, please do mark them as such. > > -Hannes > Cheers, -- Raphael Geissert - Debian Maintainer www.debian.org - get.debian