RE: [PHP-CVS] cvs: php-src /ext/standard md5.c /ext/standard/tests/strings explode.phpt strcspn.phpt strspn.phptstrstr.phpt

2005-08-16 Thread Derick Rethans
On Wed, 17 Aug 2005, Dmitry Stogov wrote: > May be nice to have, however ASCII to unicode conversion is not usual case. > Usualy we have non ASCII but some encoding (UG(runrime_encoding)). But we can have a macro for that too, isn't it? :) Derick -- Derick Rethans http://derickrethans.nl | http

RE: [PHP-CVS] cvs: php-src /ext/standard md5.c

2005-08-16 Thread Dmitry Stogov
May be it should return IS_BINARY only in unicode mode, and IS_STRING in non-unicode (as before)? Dmitry. > -Original Message- > From: Andrei Zmievski [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 16, 2005 11:45 PM > To: php-cvs@lists.php.net > Subject: [PHP-CVS] cvs: php-src /ext/st

RE: [PHP-CVS] cvs: php-src /ext/standard md5.c /ext/standard/tests/strings explode.phpt strcspn.phpt strspn.phptstrstr.phpt

2005-08-16 Thread Andi Gutmans
Oh, I didn't realize this was literally meant to be ASCII. In such case, there probably aren't going to be many places At 09:36 AM 8/17/2005 +0400, Dmitry Stogov wrote: May be nice to have, however ASCII to unicode conversion is not usual case. Usualy we have non ASCII but some encoding (UG(ru

RE: [PHP-CVS] cvs: php-src /ext/standard md5.c /ext/standard/tests/strings explode.phpt strcspn.phpt strspn.phptstrstr.phpt

2005-08-16 Thread Dmitry Stogov
May be nice to have, however ASCII to unicode conversion is not usual case. Usualy we have non ASCII but some encoding (UG(runrime_encoding)). Dmitry. > -Original Message- > From: Andi Gutmans [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 17, 2005 4:54 AM > To: Dmitry Stogov; php-c

Re: [PHP-CVS] cvs: php-src /ext/standard md5.c /ext/standard/tests/strings explode.phpt strcspn.phpt strspn.phpt strstr.phpt

2005-08-16 Thread Andi Gutmans
Shouldn't we have a macro that does this? I see lots of places that require the same code. - RETVAL_STRING(md5str, 1); + if (UG(unicode)) { + UChar *u_temp = zend_ascii_to_unicode(md5str, 33 ZEND_FILE_LINE_CC); + RETVAL_UNIC

[PHP-CVS] cvs: php-src /ext/standard string.c

2005-08-16 Thread Marcus Boerger
helly Tue Aug 16 16:22:38 2005 EDT Modified files: /php-src/ext/standard string.c Log: - TSRM Fix http://cvs.php.net/diff.php/php-src/ext/standard/string.c?r1=1.456&r2=1.457&ty=u Index: php-src/ext/standard/string.c diff -u php-src/ext/standard/string.c:

[PHP-CVS] cvs: php-src /ext/soap php_encoding.c

2005-08-16 Thread Marcus Boerger
helly Tue Aug 16 16:15:22 2005 EDT Modified files: /php-src/ext/soap php_encoding.c Log: - TSRM Fix http://cvs.php.net/diff.php/php-src/ext/soap/php_encoding.c?r1=1.103&r2=1.104&ty=u Index: php-src/ext/soap/php_encoding.c diff -u php-src/ext/soap/php_encodin

[PHP-CVS] cvs: php-src /ext/standard md5.c

2005-08-16 Thread Andrei Zmievski
andrei Tue Aug 16 15:45:01 2005 EDT Modified files: /php-src/ext/standard md5.c Log: md5() and md5_file() should return binary strings when raw_output is set. http://cvs.php.net/diff.php/php-src/ext/standard/md5.c?r1=1.40&r2=1.41&ty=u Index: php-src/

[PHP-CVS] cvs: php-src /ext/pdo pdo_stmt.c

2005-08-16 Thread Andrei Zmievski
andrei Tue Aug 16 15:43:24 2005 EDT Modified files: /php-src/ext/pdopdo_stmt.c Log: And here http://cvs.php.net/diff.php/php-src/ext/pdo/pdo_stmt.c?r1=1.121&r2=1.122&ty=u Index: php-src/ext/pdo/pdo_stmt.c diff -u php-src/ext/pdo/pdo_stmt.c:1.121 php-src/

Re: [PHP-CVS] cvs: php-src /ext/simplexml simplexml.c /ext/standard http_fopen_wrapper.c

2005-08-16 Thread Andi Gutmans
never mind. i thought you were changing a PHP function :) At 06:05 AM 8/16/2005 +, Rolland Santimano wrote: rolland Tue Aug 16 02:05:00 2005 EDT Modified files: /php-src/ext/simplexml simplexml.c /php-src/ext/standard http_fopen_wrapper.c Log: Updated calls

Re: [PHP-CVS] cvs: php-src /ext/standard php_string.h string.c

2005-08-16 Thread Andi Gutmans
In-Reply-To: <[EMAIL PROTECTED]> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed why do we need this? shouldn't the return type be the same as the string...? At 06:02 AM 8/16/2005 +, Rolland Santimano wrote: >rolland Tue Aug 16 02:02:57 2005 EDT > > Mod

[PHP-CVS] cvs: php-src /ext/pdo pdo_dbh.c

2005-08-16 Thread Andrei Zmievski
andrei Tue Aug 16 14:22:22 2005 EDT Modified files: /php-src/ext/pdopdo_dbh.c Log: And here. http://cvs.php.net/diff.php/php-src/ext/pdo/pdo_dbh.c?r1=1.86&r2=1.87&ty=u Index: php-src/ext/pdo/pdo_dbh.c diff -u php-src/ext/pdo/pdo_dbh.c:1.86 php-src/ext/pd

[PHP-CVS] cvs: php-src(PHP_5_0) /main main.c

2005-08-16 Thread Marcus Boerger
helly Tue Aug 16 14:11:35 2005 EDT Modified files: (Branch: PHP_5_0) /php-src/main main.c Log: - MFH: Prevent E_STRICT from ending up as exception http://cvs.php.net/diff.php/php-src/main/main.c?r1=1.604.2.21&r2=1.604.2.22&ty=u Index: php-src/main/main.c

[PHP-CVS] cvs: php-src(PHP_5_1) /main main.c

2005-08-16 Thread Marcus Boerger
helly Tue Aug 16 14:10:35 2005 EDT Modified files: (Branch: PHP_5_1) /php-src/main main.c Log: - Prevent E_STRICT from ending up as exception http://cvs.php.net/diff.php/php-src/main/main.c?r1=1.640&r2=1.640.2.1&ty=u Index: php-src/main/main.c diff -u php

[PHP-CVS] cvs: php-src /main main.c

2005-08-16 Thread Marcus Boerger
helly Tue Aug 16 14:09:28 2005 EDT Modified files: /php-src/main main.c Log: - Prevent E_STRICT from ending up as exception http://cvs.php.net/diff.php/php-src/main/main.c?r1=1.643&r2=1.644&ty=u Index: php-src/main/main.c diff -u php-src/main/main.c:1.64

[PHP-CVS] cvs: php-src /ext/standard php_smart_str.h /main spprintf.c

2005-08-16 Thread Derick Rethans
derick Tue Aug 16 14:02:41 2005 EDT Modified files: /php-src/ext/standard php_smart_str.h /php-src/main spprintf.c Log: - Fixed a couple of bugs in the new smart_str macros, and allow them to allocate two extra bytes (so that we can pad them w

Re: [PHP-CVS] cvs: php-src /ext/standard string.c

2005-08-16 Thread Andrei Zmievski
On Aug 16, 2005, at 5:04 AM, Rolland Santimano wrote: + if (Z_TYPE_P(delim) != IS_UNICODE && Z_TYPE_P(delim) != IS_BINARY) { + convert_to_string_ex(&delim); + } + Z_TYPE_P(retval) = return_type = Z_TYPE_P(delim); /* ... to start off */ This is not correct. If the de

[PHP-CVS] cvs: php-src /ext/standard string.c

2005-08-16 Thread Antony Dovgal
tony2001Tue Aug 16 12:58:00 2005 EDT Modified files: /php-src/ext/standard string.c Log: nuke unused vars http://cvs.php.net/diff.php/php-src/ext/standard/string.c?r1=1.455&r2=1.456&ty=u Index: php-src/ext/standard/string.c diff -u php-src/ext/s

[PHP-CVS] cvs: php-src /ext/pdo pdo_dbh.c pdo_stmt.c /ext/pdo/tests pdo_016.phpt

2005-08-16 Thread Dmitry Stogov
dmitry Tue Aug 16 12:29:16 2005 EDT Modified files: /php-src/ext/pdopdo_dbh.c pdo_stmt.c /php-src/ext/pdo/tests pdo_016.phpt Log: Unicode support http://cvs.php.net/diff.php/php-src/ext/pdo/pdo_dbh.c?r1=1.85&r2=1.86&ty=u Index: php-src/ext/pdo/

[PHP-CVS] cvs: php-src /ext/dom/tests bug28817.phpt /ext/simplexml simplexml.c /ext/simplexml/tests 008.phpt 009.phpt 015.phpt 022.phpt /ext/spl spl_sxe.c /ext/spl/tests sxe_002.phpt sxe_003.phpt

2005-08-16 Thread Dmitry Stogov
dmitry Tue Aug 16 11:09:53 2005 EDT Modified files: /php-src/ext/dom/tests bug28817.phpt /php-src/ext/simplexml simplexml.c /php-src/ext/simplexml/tests008.phpt 009.phpt 015.phpt 022.phpt /php-src/ext/splspl_sxe.c /php-src/ext/

[PHP-CVS] cvs: php-src(PHP_5_1) /ext/standard url.c /ext/standard/tests/strings url_t.phpt

2005-08-16 Thread Ilia Alshanetsky
iliaa Tue Aug 16 10:20:42 2005 EDT Modified files: (Branch: PHP_5_1) /php-src/ext/standard url.c /php-src/ext/standard/tests/strings url_t.phpt Log: MFH: Fixed bug #34148 (+,- and . not supported as parts of scheme). http://cvs.php.net/diff.php/php-s

[PHP-CVS] cvs: php-src(PHP_5_0) /ext/standard url.c /ext/standard/tests/strings url_t.phpt

2005-08-16 Thread Ilia Alshanetsky
iliaa Tue Aug 16 10:15:44 2005 EDT Modified files: (Branch: PHP_5_0) /php-src/ext/standard url.c /php-src/ext/standard/tests/strings url_t.phpt Log: MFH: Fixed bug #34148 (+,- and . not supported as parts of scheme). http://cvs.php.net/diff.php/ph

[PHP-CVS] cvs: php-src(PHP_4_4) / NEWS /ext/standard url.c /ext/standard/tests/strings url_t.phpt

2005-08-16 Thread Ilia Alshanetsky
iliaa Tue Aug 16 10:12:15 2005 EDT Modified files: (Branch: PHP_4_4) /php-src/ext/standard url.c /php-src/ext/standard/tests/strings url_t.phpt /php-srcNEWS Log: MFH: Fixed bug #34148 (+,- and . not supported as parts of scheme). http://c

[PHP-CVS] cvs: php-src / NEWS /ext/standard url.c /ext/standard/tests/strings url_t.phpt

2005-08-16 Thread Ilia Alshanetsky
iliaa Tue Aug 16 10:10:15 2005 EDT Modified files: /php-src/ext/standard url.c /php-src/ext/standard/tests/strings url_t.phpt /php-srcNEWS Log: Fixed bug #34148 (+,- and . not supported as parts of scheme). http://cvs.php.net/diff.php/ph

[PHP-CVS] cvs: php-src /ext/standard string.c

2005-08-16 Thread Rolland Santimano
rolland Tue Aug 16 08:04:14 2005 EDT Modified files: /php-src/ext/standard string.c Log: Unicode capable impl of implode() http://cvs.php.net/diff.php/php-src/ext/standard/string.c?r1=1.454&r2=1.455&ty=u Index: php-src/ext/standard/string.c diff -u php-

[PHP-CVS] cvs: php-src(PHP_5_1) / NEWS configure.in /main php_version.h

2005-08-16 Thread Zeev Suraski
zeevTue Aug 16 08:01:42 2005 EDT Modified files: (Branch: PHP_5_1) /php-srcNEWS configure.in /php-src/main php_version.h Log: Go back to dev http://cvs.php.net/diff.php/php-src/NEWS?r1=1.2027.2.16&r2=1.2027.2.17&ty=u Index: php-src/NEWS diff

[PHP-CVS] cvs: php-src(PHP_5_1) /pear go-pear-list.php

2005-08-16 Thread Edin Kadribasic
edink Tue Aug 16 07:35:48 2005 EDT Modified files: (Branch: PHP_5_1) /php-src/pear go-pear-list.php Log: Rebundle XML_RPC in the correct version for the Windows distro. http://cvs.php.net/diff.php/php-src/pear/go-pear-list.php?r1=1.15.2.1&r2=1.15.2.2&ty=u

[PHP-CVS] cvs: php-src(PHP_5_1) / NEWS configure.in /main php_version.h

2005-08-16 Thread Zeev Suraski
zeevTue Aug 16 06:59:57 2005 EDT Modified files: (Branch: PHP_5_1) /php-srcNEWS configure.in /php-src/main php_version.h Log: Roll RC1 http://cvs.php.net/diff.php/php-src/NEWS?r1=1.2027.2.15&r2=1.2027.2.16&ty=u Index: php-src/NEWS diff -u ph

[PHP-CVS] cvs: php-src /ext/standard md5.c /ext/standard/tests/strings explode.phpt strcspn.phpt strspn.phpt strstr.phpt

2005-08-16 Thread Dmitry Stogov
dmitry Tue Aug 16 06:18:43 2005 EDT Modified files: /php-src/ext/standard md5.c /php-src/ext/standard/tests/strings explode.phpt strcspn.phpt strspn.phpt strstr.phpt Log: Unicode support http://cvs.php.net/

[PHP-CVS] cvs: php-src(PHP_5_1) /ext/pgsql pgsql.c

2005-08-16 Thread Edin Kadribasic
edink Tue Aug 16 05:55:48 2005 EDT Modified files: (Branch: PHP_5_1) /php-src/ext/pgsql pgsql.c Log: Use free() instead of PQfreemem() to maintain compabitibility with older PostgreSQL client libraries (bug #33813). http://cvs.php.net/diff.php/php-src/ext

[PHP-CVS] cvs: php-src /ext/standard var.c /ext/standard/tests/array bug25708.phpt bug26458.phpt

2005-08-16 Thread Dmitry Stogov
dmitry Tue Aug 16 05:25:05 2005 EDT Modified files: /php-src/ext/standard var.c /php-src/ext/standard/tests/array bug25708.phpt bug26458.phpt Log: Unicode support http://cvs.php.net/diff.php/php-src/ext/standard/var.c?r1=1.208&r2=1.209&ty=u Inde

[PHP-CVS] cvs: php-src /ext/standard image.c /ext/standard/tests/image bug13213.phpt getimagesize.phpt getimagesize_246x247.phpt getimagesize_384x385.phpt getimagesize_swc.phpt image_type_to_mime_typ

2005-08-16 Thread Dmitry Stogov
dmitry Tue Aug 16 05:11:00 2005 EDT Modified files: /php-src/ext/standard image.c /php-src/ext/standard/tests/image bug13213.phpt getimagesize.phpt getimagesize_246x247.phpt

Re: [PHP-CVS] cvs: php-src /ext/standard php_string.h string.c

2005-08-16 Thread Jani Taskinen
a) Why not call it 'return_type' ?? b) Why don't you put it as last parameter like we have used to do? c) Read CODING_STANDARDS before you commit anything else.. (we don't use extra spaces everywhere) --Jani On Tue, 16 Aug 2005, Rolland Santimano wrote: rolland

[PHP-CVS] Re: Test suite for unicode mode (was RE: [PHP-CVS] cvs: php-src / run-tests.php /ext/pdo/tests pdo_001.phpt ...)

2005-08-16 Thread Derick Rethans
On Tue, 16 Aug 2005, Dmitry Stogov wrote: > We discussed this with Andrei long time ago. > I cannot remember did we it internally or in unicode list. It was not on the unicode list. It's nice to talk to the authors of a specific set of code first before pushing large changes into it. (that's wh