[PHP-CVS] cvs: php-src /ext/standard/tests/file bug37864.phpt

2006-06-20 Thread Nuno Lopes
nlopess Tue Jun 20 21:58:03 2006 UTC Modified files: /php-src/ext/standard/tests/filebug37864.phpt Log: MFB 5.2 http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/file/bug37864.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/standard/tests/file/bug

[PHP-CVS] cvs: php-src(PHP_5_2) /ext/standard/tests/file bug37864.phpt

2006-06-20 Thread Nuno Lopes
nlopess Tue Jun 20 21:49:16 2006 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/standard/tests/filebug37864.phpt Log: make sure the test outputs what we want http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/file/bug37864.phpt?r1=1.1.2.2&r2=1.1.2.3

[PHP-CVS] cvs: php-src / configure.in /sapi/cgi cgi_main.c

2006-06-17 Thread Nuno Lopes
nlopess Sat Jun 17 11:14:21 2006 UTC Modified files: /php-srcconfigure.in /php-src/sapi/cgi cgi_main.c Log: MFB http://cvs.php.net/viewcvs.cgi/php-src/configure.in?r1=1.603&r2=1.604&diff_format=u Index: php-src/configure.in diff -u php-src/configure.i

[PHP-CVS] cvs: php-src(PHP_5_2) / configure.in /sapi/cgi cgi_main.c

2006-06-17 Thread Nuno Lopes
nlopess Sat Jun 17 11:08:05 2006 UTC Modified files: (Branch: PHP_5_2) /php-srcconfigure.in /php-src/sapi/cgi cgi_main.c Log: plug memory leak in sapi_putenv, by using setenv(), that doesnt need any malloc http://cvs.php.net/viewcvs.cgi/php-src/config

Re: [PHP-CVS] cvs: php-src /ext/date/tests strtotime-mysql.phpt strtotime2.phpt strtotime3.phpt

2006-06-17 Thread Nuno Lopes
On Fri, 16 Jun 2006, Nuno Lopes wrote: +++ php-src/ext/date/tests/strtotime3.phpt Fri Jun 16 22:48:29 2006 @@ -0,0 +1,67 @@ +--TEST-- +strtotime() function +--FILE-- + Please use the new names here... not the old bc ones. Europe/Lisbon would be the one to pick. regards, Derick Fixed

[PHP-CVS] cvs: php-src /ext/date/tests strtotime3.phpt

2006-06-17 Thread Nuno Lopes
nlopess Sat Jun 17 10:31:21 2006 UTC Modified files: /php-src/ext/date/tests strtotime3.phpt Log: MFB http://cvs.php.net/viewcvs.cgi/php-src/ext/date/tests/strtotime3.phpt?r1=1.2&r2=1.3&diff_format=u Index: php-src/ext/date/tests/strtotime3.phpt diff -u php-

[PHP-CVS] cvs: php-src(PHP_5_2) /ext/date/tests strtotime3.phpt

2006-06-17 Thread Nuno Lopes
nlopess Sat Jun 17 10:30:23 2006 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/date/tests strtotime3.phpt Log: change the timezone used (per Derick request) add one string I missed yesterday. Now every strotime() rule is covered http://cvs.php.net/view

[PHP-CVS] cvs: php-src /ext/date/tests strtotime-mysql.phpt strtotime2.phpt strtotime3.phpt

2006-06-16 Thread Nuno Lopes
nlopess Fri Jun 16 22:48:29 2006 UTC Modified files: /php-src/ext/date/tests strtotime-mysql.phpt strtotime2.phpt strtotime3.phpt Log: MFB: new tests http://cvs.php.net/viewcvs.cgi/php-src/ext/date/tests/strtotime-mysql.phpt?

[PHP-CVS] cvs: php-src(PHP_5_2) /ext/date/tests strtotime-mysql.phpt strtotime2.phpt strtotime3.phpt

2006-06-16 Thread Nuno Lopes
nlopess Fri Jun 16 22:46:57 2006 UTC Added files: (Branch: PHP_5_2) /php-src/ext/date/tests strtotime-mysql.phpt strtotime2.phpt strtotime3.phpt Log: new tests. the .re file coverage increases to 96%. really good :) http:/

Re: [PHP-CVS] cvs: php-src(PHP_5_2) /ext/pcre php_pcre.c /ext/pcre/tests bug37800.phpt

2006-06-15 Thread Nuno Lopes
re_handle_exec_error(count TSRMLS_CC); + break; } Previously it entered in the first else when limit == 0 (and when there was an error too, but thats another story). My fix just restores the old behaviour, that is enter in that piece of code. I hope it is more clear now. Nuno On Jun 15, 20

[PHP-CVS] cvs: php-src /ext/pcre php_pcre.c /ext/pcre/tests bug37800.phpt

2006-06-15 Thread Nuno Lopes
nlopess Thu Jun 15 15:35:50 2006 UTC Modified files: /php-src/ext/pcre php_pcre.c /php-src/ext/pcre/tests bug37800.phpt Log: MFB: fix bug #37800 http://cvs.php.net/viewcvs.cgi/php-src/ext/pcre/php_pcre.c?r1=1.185&r2=1.186&diff_format=u Index: php-src/

[PHP-CVS] cvs: php-src(PHP_5_2) /ext/pcre php_pcre.c /ext/pcre/tests bug37800.phpt

2006-06-15 Thread Nuno Lopes
nlopess Thu Jun 15 15:33:25 2006 UTC Added files: (Branch: PHP_5_2) /php-src/ext/pcre/tests bug37800.phpt Modified files: /php-src/ext/pcre php_pcre.c Log: fix bug #37800: preg_replace() limit parameter odd behaviour #this is a regre

[PHP-CVS] cvs: php-src /ext/pcre/tests delimiters.phpt dollar_endonly.phpt locales.phpt match_flags.phpt match_flags2.phpt pcre_anchored.phpt pcre_extended.phpt pcre_extra.phpt ungreedy.phpt

2006-06-14 Thread Nuno Lopes
nlopess Wed Jun 14 18:07:46 2006 UTC Modified files: /php-src/ext/pcre/tests dollar_endonly.phpt match_flags.phpt match_flags2.phpt pcre_anchored.phpt pcre_extended.phpt pcre_extra.phpt

[PHP-CVS] cvs: php-src /ext/pcre php_pcre.c

2006-06-14 Thread Nuno Lopes
nlopess Wed Jun 14 18:04:01 2006 UTC Modified files: /php-src/ext/pcre php_pcre.c Log: MFB: fix mem leak http://cvs.php.net/viewcvs.cgi/php-src/ext/pcre/php_pcre.c?r1=1.184&r2=1.185&diff_format=u Index: php-src/ext/pcre/php_pcre.c diff -u php-src/ext/pcre/php_

[PHP-CVS] cvs: php-src(PHP_5_2) /ext/pcre php_pcre.c

2006-06-14 Thread Nuno Lopes
nlopess Wed Jun 14 17:52:56 2006 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/pcre php_pcre.c Log: fix memory leak uncovered by the pcre_extra.phpt test http://cvs.php.net/viewcvs.cgi/php-src/ext/pcre/php_pcre.c?r1=1.168.2.9.2.4&r2=1.168.2.9.2.5&diff_form

[PHP-CVS] cvs: php-src(PHP_5_2) /ext/pcre/tests delimiters.phpt dollar_endonly.phpt locales.phpt match_flags.phpt match_flags2.phpt pcre_anchored.phpt pcre_extended.phpt pcre_extra.phpt ungreedy.phpt

2006-06-14 Thread Nuno Lopes
nlopess Wed Jun 14 17:37:53 2006 UTC Added files: (Branch: PHP_5_2) /php-src/ext/pcre/tests dollar_endonly.phpt match_flags.phpt match_flags2.phpt pcre_anchored.phpt pcre_extended.phpt pcre_extra.ph

Re: [PHP-CVS] cvs: php-src(PHP_5_2) /ext/pcre config.w32 config0.m4 /ext/pcre/pcrelib pcre_dfa_exec.c

2006-06-14 Thread Nuno Lopes
nlopess Wed Jun 14 16:26:22 2006 UTC Removed files: (Branch: PHP_5_2) /php-src/ext/pcre/pcrelib pcre_dfa_exec.c Modified files: /php-src/ext/pcre config.w32 config0.m4 Log: remove the pcre_dfa_exec.c file, as it is needed (we dont expose that API) the file is *not* nee

[PHP-CVS] cvs: php-src /ext/pcre config.w32 config0.m4 /ext/pcre/pcrelib pcre_dfa_exec.c

2006-06-14 Thread Nuno Lopes
nlopess Wed Jun 14 16:28:16 2006 UTC Removed files: /php-src/ext/pcre/pcrelib pcre_dfa_exec.c Modified files: /php-src/ext/pcre config.w32 config0.m4 Log: MFB: remove pcre_dfa_exec.c http://cvs.php.net/viewcvs.cgi/php-src/ext/pcre/conf

[PHP-CVS] cvs: php-src(PHP_5_2) /ext/pcre config.w32 config0.m4 /ext/pcre/pcrelib pcre_dfa_exec.c

2006-06-14 Thread Nuno Lopes
nlopess Wed Jun 14 16:26:22 2006 UTC Removed files: (Branch: PHP_5_2) /php-src/ext/pcre/pcrelib pcre_dfa_exec.c Modified files: /php-src/ext/pcre config.w32 config0.m4 Log: remove the pcre_dfa_exec.c file, as it is needed (we dont expose t

[PHP-CVS] cvs: php-src /ext/pcre/pcrelib .cvsignore

2006-06-14 Thread Nuno Lopes
nlopess Wed Jun 14 16:16:42 2006 UTC Modified files: /php-src/ext/pcre/pcrelib .cvsignore Log: MFB http://cvs.php.net/viewcvs.cgi/php-src/ext/pcre/pcrelib/.cvsignore?r1=1.9&r2=1.10&diff_format=u Index: php-src/ext/pcre/pcrelib/.cvsignore diff -u php-src/ext/pc

[PHP-CVS] cvs: php-src(PHP_5_2) /ext/pcre/pcrelib .cvsignore

2006-06-14 Thread Nuno Lopes
nlopess Wed Jun 14 16:16:02 2006 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/pcre/pcrelib .cvsignore Log: missing newline http://cvs.php.net/viewcvs.cgi/php-src/ext/pcre/pcrelib/.cvsignore?r1=1.9&r2=1.9.4.1&diff_format=u Index: php-src/ext/pcre/pcrelib/.

[PHP-CVS] cvs: php-src /ext/pcre/tests backtrack_limit.phpt cache_limit.phpt delimiters.phpt grep.phpt locales.phpt multiline.phpt recursion_limit.phpt study.phpt

2006-06-13 Thread Nuno Lopes
nlopess Tue Jun 13 22:05:26 2006 UTC Modified files: /php-src/ext/pcre/tests backtrack_limit.phpt cache_limit.phpt delimiters.phpt grep.phpt locales.phpt multiline.phpt recursion_limit.phpt

[PHP-CVS] cvs: php-src(PHP_5_2) / .cvsignore

2006-06-13 Thread Nuno Lopes
nlopess Tue Jun 13 22:02:57 2006 UTC Modified files: (Branch: PHP_5_2) /php-src.cvsignore Log: also ignore lcov generated files http://cvs.php.net/viewcvs.cgi/php-src/.cvsignore?r1=1.51&r2=1.51.4.1&diff_format=u Index: php-src/.cvsignore diff -u php-src/.cvsi

[PHP-CVS] cvs: php-src(PHP_5_2) /ext/pcre/tests backtrack_limit.phpt cache_limit.phpt delimiters.phpt grep.phpt locales.phpt multiline.phpt recursion_limit.phpt study.phpt

2006-06-13 Thread Nuno Lopes
nlopess Tue Jun 13 21:55:38 2006 UTC Added files: (Branch: PHP_5_2) /php-src/ext/pcre/tests backtrack_limit.phpt cache_limit.phpt delimiters.phpt grep.phpt locales.phpt multiline.phpt recursion_limi

Re: [PHP-CVS] cvs: php-src / Makefile.gcov

2006-06-10 Thread Nuno Lopes
Thanks Rasmus! The SoC student was becoming crazy with this problem :) rasmus Fri Jun 9 23:46:43 2006 UTC Modified files: /php-src Makefile.gcov Log: Patch from Nuno http://cvs.php.net/viewcvs.cgi/php-src/Makefile.gcov?r1=1.13&r2=1.14&diff_format=u Index: php-src/Makefile.gcov diff -u

Re: [PHP-CVS] cvs: php-src /ext/pcre php_pcre.c

2006-05-29 Thread Nuno Lopes
@@ -1115,6 +1115,10 @@ } } else { pcre_handle_exec_error(count TSRMLS_CC); + if (result) { + efree(result); + result = NULL; + } break; } Nice catch, Tony! But you don't need the if, because result is never NULL (it is assigned only from safe_malloc()). Nuno -- PHP CVS Mailing List (h

Re: [PHP-CVS] cvs: php-src(PHP_5_2) /ext/pcre config.w32

2006-05-18 Thread Nuno Lopes
The unix build isn't using that config option, though. Nuno - Original Message - I belive its better to have slower pcre than having php crash left and right. Stack usage of php-5.1+ is so huge pcre becomes a real stability issue due. Edin Nuno Lopes wrote: This shouldn

Re: [PHP-CVS] cvs: php-src(PHP_5_2) /ext/pcre config.w32

2006-05-18 Thread Nuno Lopes
This shouldn't be necessary because of Andrei's patch that allows you to configure the max recursion depth through a ini setting. Also, this patch will make pcre much slower (it will do thousands of malloc's). Nuno - Original Message - edink Thu May 18 21:50:51 2006 UTC Modified f

[PHP-CVS] cvs: php-src /ext/tidy/tests 021.phpt

2006-05-07 Thread Nuno Lopes
nlopess Sun May 7 18:17:53 2006 UTC Modified files: /php-src/ext/tidy/tests 021.phpt Log: fix test, sorry. http://cvs.php.net/viewcvs.cgi/php-src/ext/tidy/tests/021.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/tidy/tests/021.phpt diff -u php-src/ext/

[PHP-CVS] cvs: php-src /ext/tidy tidy.c /ext/tidy/tests 007.phpt 021.phpt

2006-05-07 Thread Nuno Lopes
nlopess Sun May 7 18:11:40 2006 UTC Added files: /php-src/ext/tidy/tests 021.phpt Modified files: /php-src/ext/tidy tidy.c /php-src/ext/tidy/tests 007.phpt Log: convert a few more functions to unicode and adapt the tests as

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

2006-05-06 Thread Nuno Lopes
nlopess Sat May 6 13:19:10 2006 UTC Modified files: /php-src/ext/tidy tidy.c Log: fix thread safe build http://cvs.php.net/viewcvs.cgi/php-src/ext/tidy/tidy.c?r1=1.83&r2=1.84&diff_format=u Index: php-src/ext/tidy/tidy.c diff -u php-src/ext/tidy/tidy.c:1.83 ph

[PHP-CVS] cvs: php-src /ext/tidy/tests 010.phpt 011.phpt 012.phpt

2006-05-06 Thread Nuno Lopes
nlopess Sat May 6 11:19:37 2006 UTC Modified files: /php-src/ext/tidy/tests 010.phpt 011.phpt 012.phpt Log: fix tests in Unicode mode http://cvs.php.net/viewcvs.cgi/php-src/ext/tidy/tests/010.phpt?r1=1.5&r2=1.6&diff_format=u Index: php-src/ext/tidy/tests/010

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

2006-05-06 Thread Nuno Lopes
nlopess Sat May 6 10:48:04 2006 UTC Modified files: /php-src/ext/tidy tidy.c Log: use the new zend_unicode_to_ascii() function. this should also fix windows builds http://cvs.php.net/viewcvs.cgi/php-src/ext/tidy/tidy.c?r1=1.82&r2=1.83&diff_format=u Index: ph

Re: [PHP-CVS] cvs: CVSROOT / avail

2006-05-03 Thread Nuno Lopes
Thanks Marcus! BTW, are you considering mentoring a student to work on the gcov site? Or do you think it doesn't worth for a SoC project? (judging for the votes so far..) Nuno - Original Message - From: "Marcus Boerger" <[EMAIL PROTECTED]> To: Sent: Wednesday, May 03, 2006 7:54 PM

[PHP-CVS] cvs: php-src /ext/tidy/tests 019.phpt tidy_019.phpt

2006-04-29 Thread Nuno Lopes
nlopess Sat Apr 29 12:16:21 2006 UTC Added files: /php-src/ext/tidy/tests 019.phpt Removed files: /php-src/ext/tidy/tests tidy_019.phpt Log: rename test to follow the convention and expand it a little http://cvs.php.net/viewcvs

[PHP-CVS] cvs: php-src /ext/tidy/tests 020.phpt

2006-04-29 Thread Nuno Lopes
nlopess Sat Apr 29 12:07:54 2006 UTC Added files: /php-src/ext/tidy/tests 020.phpt Log: new test that reveals problems in other places. more details on the ML http://cvs.php.net/viewcvs.cgi/php-src/ext/tidy/tests/020.phpt?view=markup&rev=1.1 Index: php-s

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

2006-04-25 Thread Nuno Lopes
nlopess Tue Apr 25 14:54:33 2006 UTC Modified files: /php-src/ext/tidy tidy.c Log: fix a bunch of tests in unicode mode by fixing the config array transverser also fix the compiler warnings # Andrey: is it possible to have a zend_convert_unicode_to_ascii() fu

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

2006-04-25 Thread Nuno Lopes
nlopess Tue Apr 25 12:41:59 2006 UTC Modified files: /php-src/ext/tidy tidy.c Log: mark a couple of functions as unicode-safe. no changes to code required http://cvs.php.net/viewcvs.cgi/php-src/ext/tidy/tidy.c?r1=1.80&r2=1.81&diff_format=u Index: php-src/ext/t

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

2006-04-23 Thread Nuno Lopes
Yep it will always contain ASCII characters. Thanks for your comment, Nuno - Original Message - Looks fine if you're sure that the release date string will always contain only ASCII characters. -Andrei On Apr 23, 2006, at 5:56 AM, Nuno Lopes wrote: -/* {{{ proto s

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

2006-04-23 Thread Nuno Lopes
nlopess Sun Apr 23 12:56:11 2006 UTC Modified files: /php-src/ext/tidy tidy.c Log: upgrade tidy_get_release() to unicode. #say now if anything is wrong before I start upgrading the rest of the functions http://cvs.php.net/viewcvs.cgi/php-src/ext/tidy/tidy.c

Re: [PHP-CVS] cvs: CVSROOT / avail

2006-04-19 Thread Nuno Lopes
On Wed, 19 Apr 2006, Nuno Lopes wrote: Below you forgot to prepend php-src/ to ext/tidy. Oops, fixed. Derick thanks! its working now. Nuno -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2006-04-19 Thread Nuno Lopes
nlopess Wed Apr 19 22:10:44 2006 UTC Modified files: /php-src/ext/tidy tidy.c Log: MFB: fix build with newer libtidy versions on windows http://cvs.php.net/viewcvs.cgi/php-src/ext/tidy/tidy.c?r1=1.78&r2=1.79&diff_format=u Index: php-src/ext/tidy/tidy.c diff -u

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

2006-04-19 Thread Nuno Lopes
nlopess Wed Apr 19 21:47:20 2006 UTC Modified files: (Branch: PHP_5_1) /php-src/ext/tidy tidy.c Log: fix build with newer libtidy versions on windows # first commit on php-src. whatch out :) http://cvs.php.net/viewcvs.cgi/php-src/ext/tidy/tidy.c?r1=1.66.2.7&r

Re: [PHP-CVS] cvs: CVSROOT / avail

2006-04-19 Thread Nuno Lopes
Thanks Derick for your kindness :) Below you forgot to prepend php-src/ to ext/tidy. Thanks, Nuno derick Wed Apr 19 20:54:30 2006 UTC Modified files: /CVSROOT avail Log: - And ext/tidy too as it's a symlink http://cvs.php.net/viewcvs.cgi/CVSROOT/avail?r1=1.1122&r2=1.1123&diff_format=u

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

2006-03-27 Thread Nuno Lopes
Aren't you going to merge this to the 5.1 branch? This change seems pretty useful to me. Nuno - Original Message - pollita Sun Mar 26 04:40:11 2006 UTC Modified files: /php-src NEWS /php-src/ext/standard streamsfuncs.c Log: Expand stream_context_create() to allow specifying

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

2006-03-06 Thread Nuno Lopes
+#if !defined(WINDOWS) we usually use: #ifndef PHP_WIN32 static void php_do_chgrp(INTERNAL_FUNCTION_PARAMETERS, int do_lchgrp) { zval **filename, **group; @@ -368,6 +368,7 @@ } RETURN_TRUE; } +#endif #ifndef NETWARE /* {{{ proto bool chgrp(string filename, mixed group) -- PHP CVS Mailing

Re: [PHP-CVS] cvs: php-src(PHP_5_1) / NEWS /ext/standard url.c

2006-01-19 Thread Nuno Lopes
iliaa Wed Jan 18 14:05:14 2006 UTC Modified files: (Branch: PHP_5_1) /php-src/ext/standard url.c /php-src NEWS Log: Make get_headers() use the default context. http://cvs.php.net/viewcvs.cgi/php-src/ext/standard/url.c?r1=1.86.2.3&r2=1.86.2.4&diff_format=u Index: php-src/ex

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

2006-01-17 Thread Nuno Lopes
@@ -1095,6 +1095,7 @@ zval *IM; long red, green, blue, alpha; gdImagePtr im; + int ct = (-1); if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", &IM, &red, &green, &blue, &alpha) == FAILURE) { RETURN_FALSE; @@ -1103,6 +1104,12 @@ ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Im

Re: [PHP-CVS] cvs: php-src /ext/gd/tests gif.phpt

2005-12-26 Thread Nuno Lopes
Probably you want also to test for imagecreatefromjpeg existence in SKIPIF. Nuno - Original Message - pajoye Mon Dec 26 19:11:51 2005 EDT Added files: /php-src/ext/gd/tests gif.phpt Log: - basic gif i/o test http://cvs.php.net/viewcvs.cgi/php-src/ext/gd/tests/gif.phpt?view=ma

Re: [PHP-CVS] cvs: php-src /sapi/cgi fastcgi.c fastcgi.h

2005-12-26 Thread Nuno Lopes
zeev Mon Dec 26 07:25:45 2005 EDT Added files: /php-src/sapi/cgi fastcgi.c fastcgi.h Log: Commit missing files - sorry! I've made a little patch to fix compile warnings and to define MAXPATHLEN properly on windows (defined in php.h). http://mega.ist.utl.pt/~ncpl/php_fastcgi.txt Nuno

Re: [PHP-CVS] cvs: php-src(PHP_5_1) /ext/standard/tests/file bug35781.phpt/main/streams plain_wrapper.c streams.c

2005-12-24 Thread Nuno Lopes
On 23.12.2005 21:29, Nuno Lopes wrote: @@ -316,7 +316,7 @@ if (data->fd >= 0) { ret = read(data->fd, buf, count); - stream->eof = (ret == 0 || (ret == -1 && errno != EWOULDBLOCK)); + stream->eof = (ret == 0 || (ret == (size_t)-1 && errno != EWOULDBLOCK)); }

Re: [PHP-CVS] cvs: php-src(PHP_5_1) /ext/standard/tests/file bug35781.phpt /main/streams plain_wrapper.c streams.c

2005-12-23 Thread Nuno Lopes
@@ -316,7 +316,7 @@ if (data->fd >= 0) { ret = read(data->fd, buf, count); - stream->eof = (ret == 0 || (ret == -1 && errno != EWOULDBLOCK)); + stream->eof = (ret == 0 || (ret == (size_t)-1 && errno != EWOULDBLOCK)); } else { #if HAVE_FLUSHIO Watch out! EAGAIN and EWOULDBLOCK can have diffe

Re: [PHP-CVS] cvs: php-src / run-tests.php

2005-12-01 Thread Nuno Lopes
redirect the valgrind output to another fd (--log-fd=3) and make run-tests.php also read that fd. Nuno - Original Message - From: "Dmitry Stogov" <[EMAIL PROTECTED]> To: "'Marcus Boerger'" <[EMAIL PROTECTED]>; "Nuno Lopes" <[EMAIL

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

2005-11-27 Thread Nuno Lopes
Which build are you referring to? I just build 5.1.1-cvs with and without ZTS mode and dom extension compiled fine. I also checked the win32 snapshot box and there appear to be no issues with building the dom extension. All dom tests pass as well, more over the last DOM change was before 5.1.0 wa

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

2005-11-27 Thread Nuno Lopes
Watch out.. The DOM extension build is broken.. Nuno - Original Message - iliaa Sun Nov 27 12:29:55 2005 EDT Modified files: (Branch: PHP_5_1) /php-src configure.in /php-src/main php_version.h Log: Back to dev http://cvs.php.net/diff.php/php-src/configure.in?r1

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

2005-11-20 Thread Nuno Lopes
helly Sun Nov 20 08:03:19 2005 EDT Modified files: /php-src/ext/simplexml simplexml.c Log: - Extend SimpleXmlElement::__construct() with two parameters . int options: pass options to 2.6.0+ parsing functions . bool data_is_url: whether first parameter is a url rather then xml data

Re: [PHP-CVS] cvs: php-src(PHP_5_1) / INSTALL

2005-11-19 Thread Nuno Lopes
er to have it that way. I'll leave them alone from now on. :) --Jani On Fri, 18 Nov 2005, Nuno Lopes wrote: Please don't touch in the INSTALL and win32/install.txt files directly, because they are created automatically from the phpdoc files (make install-unix.txt &&

Re: [PHP-CVS] cvs: php-src(PHP_5_1) / INSTALL

2005-11-18 Thread Nuno Lopes
Please don't touch in the INSTALL and win32/install.txt files directly, because they are created automatically from the phpdoc files (make install-unix.txt && make install-win.txt) Thanks, Nuno - Original Message - sniper Fri Nov 18 11:09:51 2005 EDT Modified files: (

Re: [PHP-CVS] cvs: php-src / genfiles

2005-11-08 Thread Nuno Lopes
Zend ones. Zend/zend_ini_scanner.c, language_parser, ini_parser,etc .. 'grep -lr "#line" *' shows all them :) Nuno - Original Message - Be more precise, which ones? :) The relevant ones are handled in the beginning of this file. --Jani On Tue, 8

Re: [PHP-CVS] cvs: php-src / genfiles

2005-11-08 Thread Nuno Lopes
And what about flex/bison parsers? - Original Message - sniper Tue Nov 8 15:21:40 2005 EDT Modified files: /php-src genfiles Log: More files to have #line directives stripped for release http://cvs.php.net/diff.php/php-src/genfiles?r1=1.23&r2=1.24&ty=u Index: php-src/genfiles

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

2005-10-17 Thread Nuno Lopes
Thanks for fixing that out. Now it is correct! My test case was obviously not using the api correctly. Nuno - Original Message - From: "Ilia Alshanetsky" <[EMAIL PROTECTED]> To: Sent: Monday, October 17, 2005 4:29 PM Subject: [PHP-CVS] cvs: php-src /ext/pspell pspell.c iliaa Mon

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

2005-10-07 Thread Nuno Lopes
derick Wed Oct 5 07:06:57 2005 EDT Modified files: (Branch: PHP_5_1) /php-src/ext/date php_date.c Log: - Implement correct Windows timezone guessing. Thanks for you work, Derick! However after checking the correct TZ, you forgot to return it :) Something like the above will

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

2005-10-07 Thread Nuno Lopes
derick Wed Oct 5 07:06:57 2005 EDT Modified files: (Branch: PHP_5_1) /php-src/ext/date php_date.c Log: - Implement correct Windows timezone guessing. Thanks for you work, Derick! However after checking the correct TZ, you forgot to return it :) Something like the above will

Re: [PHP-CVS] cvs: php-src(PHP_5_1) /win32/build buildconf.js

2005-09-18 Thread Nuno Lopes
edink Sat Sep 17 16:00:02 2005 EDT Modified files: (Branch: PHP_5_1) /php-src/win32/build buildconf.js Log: Added --add-modules-dir option to buidconf.js: If this option is not specified buildconf.js will search for PECL in the usual places (pecl, ../pecl). Now it is possibl

Re: [PHP-CVS] cvs: php-src / NEWS /ext/dbx .cvsignore CREDITS INSTALL config.m4 config.w32 dbx.c dbx.dsp dbx.h dbx_fbsql.c dbx_fbsql.h dbx_mssql.c dbx_mssql.h dbx_mysql.c dbx_mysql.h dbx_oci8.c dbx_o

2005-07-12 Thread Nuno Lopes
- Original Message - sniper Sun Jul 10 15:05:10 2005 EDT Modified files: /php-src NEWS Log: - Moved ext/dbx and ext/ircg to PECL. Can you please also create the pecl pages, so that we can link them from the docs? When we don't do that, we always receive lots of notes and bug rep

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

2005-06-26 Thread Nuno Lopes
Watch out! You have a cvs conflict below: $packages = array( // required packages for the installer "PEAR" =>"1.3.5", -"XML_RPC" =>"1.2.2", +"XML_RPC" =>"1.3.0", "Console_Getopt"=>"1.2", +<<< go-pear-list.php +"Archive_Tar

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

2005-06-22 Thread Nuno Lopes
-/* {{{ proto long stream_copy_to_stream(resource source, resource dest [, long maxlen ]) +/* {{{ proto long stream_copy_to_stream(resource source, resource dest [, long maxlen [, long pos]]) Reads up to maxlen bytes from source stream and writes them to dest stream. */ PHP_FUNCTION(stream_c

Re: [PHP-CVS] cvs: php-src /ext/standard math.c /ext/standard/tests/math math_std_dev.phpt

2005-05-07 Thread Nuno Lopes
You forgot to update the protos to add the second parameter. Nuno - Original Message - From: "Andrey Hristov" <[EMAIL PROTECTED]> To: Sent: Monday, May 02, 2005 1:29 PM Subject: [PHP-CVS] cvs: php-src /ext/standard math.c /ext/standard/tests/math math_std_dev.phpt andrey Mon May 2 08:

Re: [PHP-CVS] cvs: php-src /ext/tidy config.m4 php_tidy.def php_tidy.h tidy.c

2005-04-26 Thread Nuno Lopes
This patch doesnt activate that function on windows, because I didn't knew how to do that :) I presume that the config.m4 stuff needs to be ported to the config.w32 file, but I don't know the syntax. Anyway the libtidy in the build machine should also be updated because only the newer versions

Re: [PHP-CVS] cvs: php-src / NEWS /ext/pcre php_pcre.c php_pcre.h/main SAPI.c /win32 sendmail.c

2005-03-12 Thread Nuno Lopes
Just one question: Why do you need to initialize the $count var? prints: Notice: Undefined variable: count in /transfer/test.php on line 4 "1"2"4 "3"5 dgg gg "4"6"6 Notice: Undefined variable: count in /transfer/test.php on line 5 If you remove the comments in $count=0, it works... Nuno -- PHP CVS

Re: [PHP-CVS] cvs: php-src / NEWS /ext/pcre php_pcre.c php_pcre.h /main SAPI.c /win32 sendmail.c

2005-03-12 Thread Nuno Lopes
You don't need to worry. I'll document that in a few minutes :) Nuno - Original Message - Hello Andrey, normally we're supposed to do parameter changes in the docs our own. regards marcus Saturday, March 12, 2005, 1:03:51 PM, you wrote: andrey Sat Mar 12 07:03:51 2005 EDT Modi

[PHP-CVS] Re: [PHP-DOC] Re: [PHP-CVS] cvs: php-src /ext/standard var.c /ext/standard/tests/array var_export2.phpt

2004-12-20 Thread Nuno Lopes
On Sun, 19 Dec 2004, Andi Gutmans wrote: At 03:42 AM 12/18/2004 +0100, Derick Rethans wrote: >On Fri, 17 Dec 2004, Andi Gutmans wrote: > > > OK I think restoring BC for now is OK. I'm not sure var_dump() really > > has > >var_export() you mean? > > > to support protected/private but the manual say

Re: [PHP-CVS] cvs: php-src / configure.in /ext/standard basic_functions.c file.c streamsfuncs.c streamsfuncs.h

2004-12-12 Thread Nuno Lopes
Hello, I have some questions about constants. +/* {{{ proto array stream_socket_pair(int domain, int type, int protocol) + Creates a pair of indistinguishable socket streams */ +PHP_FUNCTION(stream_socket_pair) +{ + if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lll", + &domain

Re: [PHP-CVS] cvs: php-src /ext/session session.c /ext/spl spl_array.c /ext/standard array.c basic_functions.c ZendEngine2 Zend.m4 zend_API.h zend_compile.c zend_compile.h zend_execute.c zend_execu

2004-10-05 Thread Nuno Lopes
Yes, I agree with Derickk that it's too soon to document. In general the explanation is: CALL - Uses function handlers for opcodes. SWITCH - Uses switch() statement for opcode dispatchment GOTO - Uses goto for opcode dispatchment (threaded opcodes architecture). GOTO is usually (depends on CPU and

Re: [PHP-CVS] cvs: php-src /ext/session session.c /ext/spl spl_array.c /ext/standard array.c basic_functions.c ZendEngine2 Zend.m4 zend_API.h zend_compile.c zend_compile.h zend_execute.c zend_execu

2004-10-05 Thread Nuno Lopes
On Tue, 5 Oct 2004, Nuno Lopes wrote: > On Tue, 5 Oct 2004, Nuno Lopes wrote: > >> +PHP_ARG_WITH(zend-vm,[virtual machine dispatch method], >> +[ --with-zend-vm=TYPE Sets virtual machine dispatch methos. Type >> is >> + one of "CAL

Re: [PHP-CVS] cvs: php-src /ext/session session.c /ext/spl spl_array.c /ext/standard array.c basic_functions.c ZendEngine2 Zend.m4 zend_API.h zend_compile.c zend_compile.h zend_execute.c zend_execu

2004-10-05 Thread Nuno Lopes
On Tue, 5 Oct 2004, Nuno Lopes wrote: +PHP_ARG_WITH(zend-vm,[virtual machine dispatch method], +[ --with-zend-vm=TYPE Sets virtual machine dispatch methos. Type is + one of "CALL" (default), "SWITCH" or "GOTO"], CALL, no) May I ask wha

Re: [PHP-CVS] cvs: php-src /ext/session session.c /ext/spl spl_array.c /ext/standard array.c basic_functions.c ZendEngine2 Zend.m4 zend_API.h zend_compile.c zend_compile.h zend_execute.c zend_execute_API.c zend_language_parser.y zend_opcode.c zend_vm.h

2004-10-05 Thread Nuno Lopes
+PHP_ARG_WITH(zend-vm,[virtual machine dispatch method], +[ --with-zend-vm=TYPE Sets virtual machine dispatch methos. Type is + one of "CALL" (default), "SWITCH" or "GOTO"], CALL, no) May I ask whats the difference between them, and which should I choose?... Thanks,

[PHP-CVS] Re: php-src /ext/standard basic_functions.c math.c

2004-09-21 Thread Nuno Lopes
wez Mon Sep 20 18:08:07 2004 EDT Modified files: /php-src/ext/standard basic_functions.c math.c Log: Enable hypot for all Thanks Wez, Nuno -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2004-09-08 Thread Nuno Lopes
Well well well. A basic HTTP client such as PHP does not gain anything from supporting HTTP/1.1. Until the time this feature is proven to be stable (especially the dechunking is not always easy to do correctly and reliably in C), the code should live outside of the mainstream

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

2004-09-08 Thread Nuno Lopes
Hello Sara :) This morning I've started testing this new feature and I've found some bugs: * it is segfaulting on redirects * the chunk decoding algorithm isn't working well. Just run a diff in thw output of both HTTP/1.0 and 1.1. The only thing I can help is with backtraces: * GDB: http://testes

Re: [PHP-CVS] cvs: php-src /win32 install.txt

2004-07-30 Thread Nuno Lopes
Original Message- > > From: Wez Furlong [mailto:[EMAIL PROTECTED] > > Sent: 30 July 2004 19:26 > > To: Andi Gutmans > > Cc: Edin Kadribasic; Nuno Lopes; Phil Driscoll; [EMAIL PROTECTED] > > Subject: Re: [PHP-CVS] cvs: php-src /win32 install.txt > > > >

Re: [PHP-CVS] cvs: php-src /win32 install.txt

2004-07-30 Thread Nuno Lopes
> Sorry I meant the directory of the binary itself. It doesn't check there? No. It checks only in the PATH and in the apache dir > At 07:26 PM 7/30/2004 +0100, Wez Furlong wrote: > >They do, it's just that the CWD is not the php dir :-) > > > >If you stick php5ts.dll in the apache dir it will wo

Re: [PHP-CVS] cvs: php-src /win32 install.txt

2004-07-30 Thread Nuno Lopes
> Why not dump all the dlls in the same directory of the PHP binary? That would be perfect! Currently we have a big dilema in how to advise users to install PHP on windows. If puts dlls in the system/apache dir, put the php dir in the path, etc... If you could change the apache module in a way t

<    2   3   4   5   6   7