[PHP-DOC] CVS Account Request: rafa
I already translated some parts of php docs on Portuguese (pt-BR), but I always need other person to commit to CVS, and I had to wait too much. So I want an CVS account for me to commit the translations. I got recommendations from 'felipe'. I already have and register on 'Revcheck - Translators' of pt_BR with my name.
[PHP-DOC] Re: [PHP-CVS] cvs: php-src /ext/dom dom_fe.h node.c
Lukas Kahwe Smith wrote: On 13.01.2009, at 19:05, Rob Richards wrote: rrichardsTue Jan 13 18:05:41 2009 UTC Modified files: /php-src/ext/domdom_fe.h node.c Log: Add method DomNode::getLineNo to return line number for a parsed node guess this should have had a [DOC] tag ..? Thanks Lukas. And I even told myself to not forget that... guess that didnt work :) Rob
[PHP-DOC] Re: [PHP-CVS] cvs: php-src /ext/dom dom_fe.h node.c
On 13.01.2009, at 19:05, Rob Richards wrote: rrichards Tue Jan 13 18:05:41 2009 UTC Modified files: /php-src/ext/dom dom_fe.h node.c Log: Add method DomNode::getLineNo to return line number for a parsed node guess this should have had a [DOC] tag ..? regards, Lukas
[PHP-DOC] cvs: php-src /ext/gd/libgd gd_png.c
pajoye Wed Jan 14 10:16:42 2009 UTC Modified files: /php-src/ext/gd/libgd gd_png.c Log: - [DOC] support for PNG gray levels+ alpha image, loaded as truecolor http://cvs.php.net/viewvc.cgi/php-src/ext/gd/libgd/gd_png.c?r1=1.26&r2=1.27&diff_format=u Index: php-src/ext/gd/libgd/gd_png.c diff -u php-src/ext/gd/libgd/gd_png.c:1.26 php-src/ext/gd/libgd/gd_png.c:1.27 --- php-src/ext/gd/libgd/gd_png.c:1.26 Thu Nov 6 10:23:52 2008 +++ php-src/ext/gd/libgd/gd_png.c Wed Jan 14 10:16:42 2009 @@ -189,7 +189,8 @@ png_read_info(png_ptr, info_ptr); /* read all PNG info up to image data */ png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type, &interlace_type, NULL, NULL); - if ((color_type == PNG_COLOR_TYPE_RGB) || (color_type == PNG_COLOR_TYPE_RGB_ALPHA)) { + if ((color_type == PNG_COLOR_TYPE_RGB) || (color_type == PNG_COLOR_TYPE_RGB_ALPHA) + || color_type == PNG_COLOR_TYPE_GRAY_ALPHA) { im = gdImageCreateTrueColor((int) width, (int) height); } else { im = gdImageCreate((int) width, (int) height); @@ -251,7 +252,6 @@ } break; case PNG_COLOR_TYPE_GRAY: - case PNG_COLOR_TYPE_GRAY_ALPHA: /* create a fake palette and check for single-shade transparency */ if ((palette = (png_colorp) gdMalloc (256 * sizeof (png_color))) == NULL) { php_gd_error("gd-png error: cannot allocate gray palette"); @@ -293,6 +293,9 @@ } break; + case PNG_COLOR_TYPE_GRAY_ALPHA: + png_set_gray_to_rgb(png_ptr); + case PNG_COLOR_TYPE_RGB: case PNG_COLOR_TYPE_RGB_ALPHA: /* gd 2.0: we now support truecolor. See the comment above @@ -365,6 +368,7 @@ } break; + case PNG_COLOR_TYPE_GRAY_ALPHA: case PNG_COLOR_TYPE_RGB_ALPHA: for (h = 0; h < height; h++) { int boffset = 0;
[PHP-DOC] cvs: php-src(PHP_5_3) /ext/gd/libgd gd_png.c
pajoye Wed Jan 14 10:16:15 2009 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/gd/libgd gd_png.c Log: - [DOC] support for PNG gray levels+ alpha image, loaded as truecolor http://cvs.php.net/viewvc.cgi/php-src/ext/gd/libgd/gd_png.c?r1=1.17.4.2.2.5.2.2&r2=1.17.4.2.2.5.2.3&diff_format=u Index: php-src/ext/gd/libgd/gd_png.c diff -u php-src/ext/gd/libgd/gd_png.c:1.17.4.2.2.5.2.2 php-src/ext/gd/libgd/gd_png.c:1.17.4.2.2.5.2.3 --- php-src/ext/gd/libgd/gd_png.c:1.17.4.2.2.5.2.2 Thu Nov 6 10:14:37 2008 +++ php-src/ext/gd/libgd/gd_png.c Wed Jan 14 10:16:15 2009 @@ -189,7 +189,8 @@ png_read_info(png_ptr, info_ptr); /* read all PNG info up to image data */ png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type, &interlace_type, NULL, NULL); - if ((color_type == PNG_COLOR_TYPE_RGB) || (color_type == PNG_COLOR_TYPE_RGB_ALPHA)) { + if ((color_type == PNG_COLOR_TYPE_RGB) || (color_type == PNG_COLOR_TYPE_RGB_ALPHA) + || color_type == PNG_COLOR_TYPE_GRAY_ALPHA) { im = gdImageCreateTrueColor((int) width, (int) height); } else { im = gdImageCreate((int) width, (int) height); @@ -225,7 +226,6 @@ } #endif - switch (color_type) { case PNG_COLOR_TYPE_PALETTE: png_get_PLTE(png_ptr, info_ptr, &palette, &num_palette); @@ -251,7 +251,6 @@ } break; case PNG_COLOR_TYPE_GRAY: - case PNG_COLOR_TYPE_GRAY_ALPHA: /* create a fake palette and check for single-shade transparency */ if ((palette = (png_colorp) gdMalloc (256 * sizeof (png_color))) == NULL) { php_gd_error("gd-png error: cannot allocate gray palette"); @@ -293,6 +292,9 @@ } break; + case PNG_COLOR_TYPE_GRAY_ALPHA: + png_set_gray_to_rgb(png_ptr); + case PNG_COLOR_TYPE_RGB: case PNG_COLOR_TYPE_RGB_ALPHA: /* gd 2.0: we now support truecolor. See the comment above @@ -365,6 +367,7 @@ } break; + case PNG_COLOR_TYPE_GRAY_ALPHA: case PNG_COLOR_TYPE_RGB_ALPHA: for (h = 0; h < height; h++) { int boffset = 0;
[PHP-DOC] cvs: php-src(PHP_5_3) / NEWS
pajoye Wed Jan 14 09:46:34 2009 UTC Modified files: (Branch: PHP_5_3) /php-srcNEWS Log: - NEWS entry for the recent DNS improvement - [DOC] already submitted but it is a good summary http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.452&r2=1.2027.2.547.2.965.2.453&diff_format=u Index: php-src/NEWS diff -u php-src/NEWS:1.2027.2.547.2.965.2.452 php-src/NEWS:1.2027.2.547.2.965.2.453 --- php-src/NEWS:1.2027.2.547.2.965.2.452 Tue Jan 13 18:27:59 2009 +++ php-src/NEWSWed Jan 14 09:46:34 2009 @@ -1,6 +1,13 @@ PHPNEWS ||| ?? ??? 2009, PHP 5.3.0 Alpha 4 +- Improved DNS API + . Windows support for dns_check_record, dns_get_mx (checkdnsrr and getmxrr). + (Pierre) + . Added support for old style DNS functions (supports OSX and FBSD). (Scott) + . Added a new "entries" array in dns_check_record containing the TXT elements + (Felipe, Pierre) + - Changed __call() to be invoked on private/protected method access, similar to properties and __get(). (Andrei) - Upgraded bundled sqlite to version 3.6.8. (Scott, Ilia) @@ -18,7 +25,6 @@ - Added DOMNode::getLineNo to get line number of parsed node. (Rob) - Added table info to PDO::getColumnMeta() with SQLite. (Martin Jansen, Scott) -- Added support for old style DNS functions. (Scott) - Added mail logging functionality that allows logging of mail sent via mail() function. (Ilia) - Added json_last_error() to return any error information from json_decode().