2007-06-05 Ilia Alshanetsky * ext/pdo/pdo_sql_parser.c ext/pdo/pdo_sql_parser.re: MFB: Fixed bug #41596 (Fixed a crash inside pdo_pgsql on some non-well-formed SQL queries). * (PHP_5_2) NEWS ext/pdo/pdo_sql_parser.c ext/pdo/pdo_sql_parser.re: Fixed bug #41596 (Fixed a crash inside pdo_pgsql on some non-well-formed SQL queries). 2007-06-05 Antony Dovgal * ext/spl/spl_directory.c: fix build * ext/standard/array.c ext/standard/array.c ext/standard/string.c ext/standard/string.c: fix folding * ext/spl/spl_directory.c: no readlink() on windows * run-tests.php: enable display_startup_errors 2007-06-05 Zoe Slattery * ext/standard/tests/file/fileinode_variation.phpt ext/standard/tests/file/fileinode_variation.phpt ext/standard/tests/file/filetype_variation.phpt ext/standard/tests/file/filetype_variation.phpt: Fixing incorrect comment in test cases fileinode_variation and filetype_variation 2007-06-05 Antony Dovgal * tests/basic/024.phpt tests/basic/025.phpt tests/basic/026.phpt tests/basic/027.phpt: fix test, add missing ones * ZendEngine2/zend_API.h: add SET_VAR_ASCII_STRINGL() * main/php_content_types.c: fix HTTP_RAW_POST_DATA in Unicode mode * main/php_variables.c: port the max_input_nesting_level ini option to Unicode mode * (PHP_5_2) run-tests.php tests/basic/025.phpt: enable display_startup_errors, fix test * (PHP_5_2) NEWS ext/simplexml/simplexml.c ext/simplexml/tests/bug41582.phpt: MFH: fix #41582 (SimpleXML crashes when accessing newly created element) * ext/simplexml/simplexml.c ext/simplexml/tests/bug41582.phpt ext/simplexml/tests/bug41582.phpt: fix #41582 (SimpleXML crashes when accessing newly created element) 2007-06-05 Zoe Slattery * ext/standard/tests/general_functions/floatval.phpt ext/standard/tests/general_functions/is_callable.phpt: new test cases for general functions * ext/standard/tests/file/is_executable_basic-win32.phpt ext/standard/tests/file/is_executable_basic.phpt ext/standard/tests/file/is_executable_error.phpt ext/standard/tests/file/is_readable_basic-win32.phpt ext/standard/tests/file/is_readable_basic.phpt ext/standard/tests/file/is_readable_error.phpt ext/standard/tests/file/is_writable_basic.phpt ext/standard/tests/file/is_writable_error.phpt ext/standard/tests/file/mkdir_rmdir_error.phpt ext/standard/tests/file/mkdir_rmdir_variation-win32.phpt ext/standard/tests/file/mkdir_rmdir_variation.phpt ext/standard/tests/file/pathinfo_basic.phpt ext/standard/tests/file/pathinfo_error.phpt ext/standard/tests/file/pathinfo_variaton.phpt: New test cases for file system functions * ext/standard/tests/general_functions/floatval.phpt ext/standard/tests/general_functions/floatval.phpt ext/standard/tests/general_functions/is_callable.phpt ext/standard/tests/general_functions/is_callable.phpt: file floatval.phpt was initially added on branch PHP_5_2. * ext/standard/tests/file/is_executable_basic-win32.phpt ext/standard/tests/file/is_executable_basic-win32.phpt ext/standard/tests/file/is_executable_basic.phpt ext/standard/tests/file/is_executable_basic.phpt ext/standard/tests/file/is_executable_error.phpt ext/standard/tests/file/is_executable_error.phpt ext/standard/tests/file/is_readable_basic-win32.phpt ext/standard/tests/file/is_readable_basic-win32.phpt ext/standard/tests/file/is_readable_basic.phpt ext/standard/tests/file/is_readable_basic.phpt ext/standard/tests/file/is_readable_error.phpt ext/standard/tests/file/is_readable_error.phpt ext/standard/tests/file/is_writable_basic.phpt ext/standard/tests/file/is_writable_basic.phpt ext/standard/tests/file/is_writable_error.phpt ext/standard/tests/file/is_writable_error.phpt ext/standard/tests/file/mkdir_rmdir_error.phpt ext/standard/tests/file/mkdir_rmdir_error.phpt ext/standard/tests/file/mkdir_rmdir_variation-win32.phpt ext/standard/tests/file/mkdir_rmdir_variation-win32.phpt ext/standard/tests/file/mkdir_rmdir_variation.phpt ext/standard/tests/file/mkdir_rmdir_variation.phpt ext/standard/tests/file/pathinfo_basic.phpt ext/standard/tests/file/pathinfo_basic.phpt ext/standard/tests/file/pathinfo_error.phpt ext/standard/tests/file/pathinfo_error.phpt ext/standard/tests/file/pathinfo_variaton.phpt ext/standard/tests/file/pathinfo_variaton.phpt: file is_executable_basic-win32.phpt was initially added on branch PHP_5_2. * (PHP_5_2) ext/standard/tests/file/file.inc: Added fill_buffer() function * ext/standard/tests/file/fgetc_basic.phpt ext/standard/tests/file/fileinode_variation.phpt ext/standard/tests/file/filetype_variation.phpt: Updated test output in line with changes to file.inc * ext/standard/tests/file/file.inc: Added fill_buffer() and fixed file_fill() to write binary data only 2007-06-05 Antony Dovgal * (PHP_5_2) NEWS ext/oci8/oci8_statement.c: MFH: fix #41594 (Statement cache is flushed too frequently) * ext/oci8/oci8_statement.c: fix #41594 (Statement cache is flushed too frequently) 2007-06-04 Ilia Alshanetsky * ext/json/json.c: MFB: Fixed bug #41567 (json_encode() double conversion is inconsistent with PHP). * (PHP_5_2) NEWS ext/json/json.c ext/json/tests/bug41567.phpt ext/json/tests/bug41567.phpt: Fixed bug #41567 (json_encode() double conversion is inconsistent with PHP). 2007-06-04 Nuno Lopes * ext/filter/.cvsignore ext/pdo/.cvsignore ext/pdo_mysql/.cvsignore ext/pdo_mysql/.cvsignore ext/pdo_oci/.cvsignore ext/pdo_oci/.cvsignore ext/pdo_pgsql/.cvsignore ext/pdo_pgsql/.cvsignore ext/pdo_sqlite/.cvsignore ext/unicode/.cvsignore ext/xmlreader/.cvsignore ext/xmlwriter/.cvsignore ext/zip/.cvsignore ext/zip/lib/.cvsignore: ignore *.gcno 2007-06-04 Antony Dovgal * ext/standard/tests/general_functions/bug41518.phpt: clean up temp file 2007-06-04 Zoe Slattery * ext/standard/tests/file/fileinode_variation.phpt: missing ?> in skipif section 2007-06-04 Antony Dovgal * (PHP_5_2) NEWS: news entry * (PHP_5_2) sapi/cgi/cgi_main.c: MFH: add missing open_basedir checks to CGI * sapi/cgi/cgi_main.c: add missing open_basedir checks to CGI * (PHP_5_2) sapi/cli/getopt.c sapi/cli/php_cli.c sapi/cli/php_cli_readline.c: fix folding * ZendEngine2/zend_constants.c ZendEngine2/tests/class_constants_001.phpt ZendEngine2/tests/class_constants_002.phpt ZendEngine2/tests/class_constants_003.phpt: change E_NOTICE to E_ERROR when using a class constant from non-existent class (noticed by Jani) add tests * main/php_variables.c: no register_globals in HEAD * ext/zip/php_zip.c ext/zip/php_zip.c: fix ws 2007-06-04 Brian Shire * ext/standard/tests/array/bug35014_64bit.phpt ext/standard/tests/strings/bug23894.phpt ext/standard/tests/strings/bug26973.phpt ext/standard/tests/strings/printf_64bit.phpt ext/standard/tests/strings/sprintf_f_2.phpt: MFB: fix sprintf/printf %u tests so they work correctly on both 32-bit and 64-bit. (broken in previous fix) * (PHP_5_2) ext/standard/tests/array/bug35014_64bit.phpt ext/standard/tests/strings/bug23894.phpt ext/standard/tests/strings/bug26973.phpt ext/standard/tests/strings/printf_64bit.phpt ext/standard/tests/strings/sprintf_f_2.phpt: fix sprintf/printf %u tests so they work correctly on both 32-bit and 64-bit. (broken in previous fix) 2007-06-04 Hannes Magnusson * tests/basic/027.phpt: Fix the expected results 2007-06-03 Hannes Magnusson * (PHP_5_2) tests/basic/027.phpt: fix test 2007-06-03 Jani Taskinen * (PHP_5_2) sapi/cgi/tests/009.phpt: fix test * sapi/cgi/tests/009.phpt: add missing test * sapi/phttpd/config.m4: another missed ]) * sapi/isapi/config.m4: fix configure 2007-06-03 Pierre-Alain Joye * ext/zip/php_zip.c: - MFB: fix logic * (PHP_5_2) ext/zip/php_zip.c: - fix logic (goto is a gift, I should use it :) * ext/zip/php_zip.c ext/zip/tests/bug11216.phpt: - MFB: PECL #11216, addEmptyDir crashes if the directory already exists * (PHP_5_2) NEWS ext/zip/php_zip.c ext/zip/tests/bug11216.phpt: - pecl bug #11216, better fix, leak removed and improved test - typo in news, better late than never (-d) 2007-06-03 Jani Taskinen * (PHP_5_2) NEWS: bug news * (PHP_5_2) sapi/apache/config.m4 sapi/apache2filter/config.m4 sapi/apache2handler/config.m4 sapi/apache_hooks/config.m4 sapi/caudium/config.m4 sapi/embed/config.m4 sapi/isapi/config.m4 sapi/milter/config.m4 sapi/phttpd/config.m4 sapi/pi3web/config.m4 sapi/roxen/config.m4 sapi/thttpd/config.m4 sapi/tux/config.m4 sapi/webjames/config.m4: MFH:- Fixed bug #41576 (misbehaviour when using --without-apxs) * sapi/apache/config.m4 sapi/apache2filter/config.m4 sapi/apache2handler/config.m4 sapi/apache_hooks/config.m4 sapi/caudium/config.m4 sapi/embed/config.m4 sapi/isapi/config.m4 sapi/milter/config.m4 sapi/phttpd/config.m4 sapi/pi3web/config.m4 sapi/roxen/config.m4 sapi/thttpd/config.m4 sapi/tux/config.m4 sapi/webjames/config.m4: - Fixed bug #41576 (misbehaviour when using --without-apxs) 2007-06-03 Pierre-Alain Joye * ext/zip/tests/bug11216.phpt ext/zip/tests/bug11216.phpt: file bug11216.phpt was initially added on branch PHP_5_2. * (PHP_5_2) ext/zip/php_zip.c: - PECL #11216, addEmptyDir crashes if the directory already exists 2007-06-03 Jani Taskinen * (PHP_5_2) NEWS: fix news 2007-06-03 Ilia Alshanetsky * ext/standard/string.c ext/standard/string.c ext/standard/tests/strings/chunk_split.phpt ext/standard/tests/strings/chunk_split.phpt: MFB: Corrected fix for CVE-2007-2872 * (PHP_5_2) NEWS ext/standard/string.c ext/standard/tests/strings/chunk_split.phpt: Corrected fix for CVE-2007-2872 2007-06-03 Pierre-Alain Joye * (PHP_5_2) NEWS ext/gd/gd.c ext/gd/libgd/gd.h: - MFH: @DOC add constants GD_MAJOR_VERSION, GD_MINOR_VERSION, GD_RELEASE_VERSION GD_EXTRA_VERSION and GD_VERSION_STRING * ext/gd/gd.c ext/gd/libgd/gd.h: - @DOC add constants GD_MAJOR_VERSION, GD_MINOR_VERSION, GD_RELEASE_VERSION GD_EXTRA_VERSION and GD_VERSION_STRING - fix #ifdef else clause 2007-06-03 Ilia Alshanetsky * (PHP_5_2) ext/pdo/tests/bug_36798.phpt: Fixed test for PostgreSQL 2007-06-03 Jani Taskinen * (PHP_4_4) main/php_variables.c main/php_variables.c tests/basic/027.phpt tests/basic/027.phpt: MFH:- Improved the error message for exceeding max_input_nesting_level. * main/php_variables.c tests/basic/027.phpt: - Improved the error message for exceeding max_input_nesting_level. 2007-06-03 Ilia Alshanetsky * (PHP_4_4) NEWS main/php_variables.c tests/basic/027.phpt: MFB: Improved fix for MOPB-02-2007 * main/php_variables.c tests/basic/027.phpt tests/basic/027.phpt: MFB: Improved fix for MOPB-02-2007 * (PHP_5_2) NEWS main/php_variables.c: Improved fix for MOPB-02-2007 * tests/basic/027.phpt tests/basic/027.phpt: file 027.phpt was initially added on branch PHP_5_2. 2007-06-03 Brian Shire * (PHP_5_2) ext/standard/formatted_print.c: MFH: Change printf %u behavior so that it does not truncate numbers at 32-bits. (Reported by Aditya Agarwal.) * ext/standard/formatted_print.c: Change printf %u behavior so that it does not truncate numbers at 32-bits. (Reported by Aditya Agarwal.) 2007-06-02 Pierre-Alain Joye * ext/gd/gd.c: - MFB: sx/sy must be > 0 and < INT_MAX * (PHP_5_2) ext/gd/gd.c: - sx/sy must be > 0 and < INT_MAX * (PHP_5_2) ext/gd/tests/bug19366.phpt ext/gd/tests/bug22544.phpt ext/gd/tests/bug24155.phpt ext/gd/tests/bug24594.phpt ext/gd/tests/bug27582_1.phpt ext/gd/tests/bug28147.phpt ext/gd/tests/bug36697.phpt ext/gd/tests/bug37346.phpt ext/gd/tests/bug37360.phpt ext/gd/tests/bug38112.phpt ext/gd/tests/bug39082.phpt ext/gd/tests/bug39273.phpt ext/gd/tests/bug39286.phpt ext/gd/tests/bug39366.phpt ext/gd/tests/bug39508.phpt ext/gd/tests/bug39780.phpt ext/gd/tests/bug39780_extern.phpt ext/gd/tests/createfromgd2.phpt ext/gd/tests/createfromwbmp.phpt ext/gd/tests/createfromwbmp2.phpt ext/gd/tests/createfromwbmp2_extern.phpt ext/gd/tests/gif2gd.phpt ext/gd/tests/gif2jpg.phpt ext/gd/tests/gif2png.phpt ext/gd/tests/imagefilter.phpt ext/gd/tests/imagewbmp.phpt ext/gd/tests/jpeg2png.phpt ext/gd/tests/jpg2gd.phpt ext/gd/tests/libgd00086.phpt ext/gd/tests/libgd00086_extern.phpt ext/gd/tests/png2gd.phpt ext/gd/tests/pngcomp.phpt ext/gd/tests/xpm2gd.phpt ext/gd/tests/xpm2jpg.phpt ext/gd/tests/xpm2png.phpt: - enable tests even when an external GD is used. Latest releases (2.0.34 or 2.0.35) work. 2007-06-01 Jani Taskinen * sapi/cli/tests/015.phpt sapi/cli/tests/015.phpt: fix test * (PHP_5_2) ext/gd/config.m4: MFH: - Fixed bug #41555 (configure failure: regression caused by fix for #41265) * ext/gd/config.m4: - Fixed bug #41555 (configure failure: regression caused by fix for #41265 * (PHP_4_4) scripts/phpize.m4: MFH:- Add missing CXXFLAGS_CLEAN variable. * (PHP_5_2) scripts/phpize.m4: MFH: - Add missing CXXFLAGS_CLEAN variable. * scripts/phpize.m4: - Add missing CXXFLAGS_CLEAN variable. 2007-06-01 Antony Dovgal * (PHP_5_2) NEWS ext/standard/tests/general_functions/bug41518.phpt main/fopen_wrappers.c: MFH: fix #41518 (file_exists() warns of open_basedir restriction on non-existent file) * ext/standard/tests/general_functions/bug41518.phpt ext/standard/tests/general_functions/bug41518.phpt main/fopen_wrappers.c: fix #41518 (file_exists() warns of open_basedir restriction on non-existent file) * (PHP_5_2) NEWS sapi/apache2handler/sapi_apache2.c: MFH: fix #39330 (apache2handler does not call shutdown actions before apache child die) * sapi/apache2handler/sapi_apache2.c: fix #39330 (apache2handler does not call shutdown actions before apache child die) 2007-05-31 Antony Dovgal * ext/standard/type.c: fix folding 2007-05-30 Ilia Alshanetsky * (PHP_5_2) NEWS configure.in main/php_version.h: Back to dev * (PHP_5_2) NEWS configure.in main/php_version.h: 5.2.3 2007-05-30 Antony Dovgal * ZendEngine2/zend_exceptions.c ZendEngine2/zend_interfaces.c: remove semicolons and make SunCC happy * ext/openssl/tests/bug28382.phpt ext/openssl/tests/bug28382.phpt ext/openssl/tests/bug39217.phpt ext/openssl/tests/bug39217.phpt: fix test names 2007-05-30 Pierre-Alain Joye * (PHP_5_2) ext/openssl/tests/bug39217cert1.txt ext/openssl/tests/bug39217cert2.txt: - add missing cert (thx Tony) 2007-05-30 Antony Dovgal * (PHP_5_2) sapi/cli/tests/006.phpt: fix test (second try) * (PHP_5_2) sapi/cli/tests/006.phpt: fix test * (PHP_5_2) TSRM/tsrm_virtual_cwd.c: MFH: fix lstat() function resolving symlinks * TSRM/tsrm_virtual_cwd.c: fix lstat() function resolving symlinks patch by Scott MacVicar * (PHP_5_2) sapi/cli/tests/004.phpt sapi/cli/tests/006.phpt: fix tests * (PHP_5_2) ZendEngine2/zend_API.c: set module in internal_function struct * ext/standard/file.c: check length only when it's specified add the same check to fgetss() 2007-05-30 Michael Wallner * (RELEASE_1_4) ext/hash/hash.c ext/hash/package.xml ext/hash/package2.xml ext/hash/php_hash.h: - version agnosticism (PECL/HEAD) - release 1.4 2007-05-30 Ilia Alshanetsky * ext/standard/string.c ext/standard/tests/strings/chunk_split.phpt: MFB: Fixed an interger overflow inside chunk_split(), identified by Gerhard Wagner * (PHP_4_4) NEWS ext/standard/string.c ext/standard/tests/strings/chunk_split.phpt: MFH: Fixed an interger overflow inside chunk_split(), identified by Gerhard Wagner * (PHP_5_2) NEWS ext/standard/string.c ext/standard/tests/strings/chunk_split.phpt: Fixed an interger overflow inside chunk_split(), identified by Gerhard Wagner 2007-05-29 Antony Dovgal * ext/standard/dl.c: more typofixes 2007-05-29 Ilia Alshanetsky * ZendEngine2/tests/foreach.phpt ext/filter/logical_filters.c ext/filter/tests/PMOPB45.phpt ext/imap/tests/bug40854.phpt ext/pgsql/pgsql.c ext/standard/dir.c ext/standard/dl.c ext/standard/mail.c ext/standard/user_filters.c ext/standard/tests/array/bug40709.phpt ext/standard/tests/strings/bug40432.phpt ext/standard/tests/strings/bug40704.phpt ext/standard/tests/strings/bug40754.phpt ext/standard/tests/strings/htmlentities18.phpt ext/sybase/php_sybase_db.c ext/tidy/tests/024.phpt ext/wddx/tests/bug41283.phpt ext/xmlrpc/libxmlrpc/base64.c ext/xmlrpc/libxmlrpc/base64.h main/streams/transports.c sapi/cgi/cgi_main.c: MFB 2007-05-29 Antony Dovgal * ext/standard/file.c: fix #41516 (fgets() returns a line of text when length parameter is <= 0) * ext/standard/user_filters.c: fix typo & build 2007-05-29 Stanislav Malyshev * win32/build/config.w32: fix build on msvc 8 2007-05-29 Antony Dovgal * ext/standard/tests/general_functions/debug_zval_dump_b_64bit.phpt ext/standard/tests/general_functions/intval.phpt ext/standard/tests/general_functions/is_float.phpt ext/standard/tests/general_functions/is_float_64bit.phpt ext/standard/tests/general_functions/is_int.phpt ext/standard/tests/general_functions/is_int_64bit.phpt ext/standard/tests/general_functions/print_r_64bit.phpt ext/standard/tests/general_functions/var_dump_64bit.phpt: fix tests, add 64bit versions 2007-05-29 Michael Wallner * ext/mhash/config.m4 ext/mhash/mhash.c: - fix build where mhash.h is not declaring mhash_get_hash_name_static and/or mhash_get_keygen_name_static protos 2007-05-29 Antony Dovgal * ext/standard/tests/array/002.phpt ext/standard/tests/array/005.phpt ext/standard/tests/array/009.phpt ext/standard/tests/array/array_change_key_case.phpt ext/standard/tests/array/array_keys.phpt ext/standard/tests/array/array_map.phpt ext/standard/tests/array/array_pop.phpt ext/standard/tests/array/array_search.phpt ext/standard/tests/array/each.phpt: fix tests in unicode mode * ZendEngine2/tests/compare_001_64bit.phpt ZendEngine2/tests/compare_002_64bit.phpt ZendEngine2/tests/compare_003_64bit.phpt ZendEngine2/tests/compare_004_64bit.phpt ZendEngine2/tests/compare_005_64bit.phpt ZendEngine2/tests/compare_006_64bit.phpt ext/standard/tests/file/bug38450.phpt ext/standard/tests/file/bug38450_1.phpt ext/standard/tests/file/filetype_variation.phpt ext/standard/tests/general_functions/debug_zval_dump_o.phpt ext/standard/tests/general_functions/debug_zval_dump_v.phpt ext/standard/tests/general_functions/strval.phpt ext/standard/tests/general_functions/var_export.phpt ext/standard/tests/general_functions/var_export.phpt ext/standard/tests/strings/explode1.phpt ext/standard/tests/strings/explode1.phpt: fix tests * ZendEngine2/tests/019.phpt ext/json/tests/fail001.phpt ext/mysql/tests/mysql_affected_rows.phpt ext/standard/tests/array/bug29253.phpt tests/classes/array_access_010.phpt: fix test 2007-05-29 Marcus Boerger * (PHP_5_2) NEWS ext/reflection/php_reflection.c: - Bug #41525 ReflectionParameter::getPosition() not available 2007-05-29 Antony Dovgal * ext/standard/md5.c: fix typo 2007-05-28 Ilia Alshanetsky * run-tests.php server-tests.php TSRM/tsrm_virtual_cwd.c ext/bz2/bz2.c ext/dbase/dbf_rec.c ext/iconv/iconv.c ext/imap/php_imap.c ext/interbase/php_ibase_udf.c ext/mcrypt/mcrypt.c ext/mime_magic/mime_magic.c ext/mysql/php_mysql.c ext/openssl/openssl.c ext/pdo/pdo_dbh.c ext/pdo/pdo_sql_parser.c ext/pdo/pdo_sql_parser.re ext/pdo_firebird/firebird_statement.c ext/pdo_mysql/mysql_statement.c ext/pdo_pgsql/pgsql_statement.c ext/shmop/shmop.c ext/simplexml/simplexml.c ext/soap/php_http.c ext/sockets/php_sockets.h ext/sockets/sockets.c ext/sqlite/php_sqlite.h ext/sqlite/sess_sqlite.c ext/sqlite/sqlite.c ext/standard/array.c ext/standard/browscap.c ext/standard/http_fopen_wrapper.c ext/standard/md5.c ext/standard/md5.h ext/standard/proc_open.c ext/standard/sha1.c ext/standard/url_scanner.c ext/sysvshm/sysvshm.c ext/wddx/wddx.c ext/xmlrpc/libxmlrpc/xml_to_dandarpc.c ext/xmlrpc/libxmlrpc/xml_to_soap.c ext/xmlrpc/libxmlrpc/xml_to_xmlrpc.c main/php_content_types.c main/streams/plain_wrapper.c: MFB 2007-05-28 Antony Dovgal * ZendEngine2/zend_API.c ZendEngine2/zend_operators.h: fix #41517 (different behaviour of floatval() in Unicode mode) * ext/openssl/tests/bug36732.phpt ext/openssl/tests/bug36732.phpt ext/openssl/tests/bug41353.phpt ext/openssl/tests/bug41353.phpt: fix test names 2007-05-28 Pierre-Alain Joye * ext/gd/tests/bug19366.phpt ext/gd/tests/bug22544.phpt ext/gd/tests/bug24155.phpt ext/gd/tests/bug24594.phpt ext/gd/tests/bug27582_1.phpt ext/gd/tests/bug28147.phpt ext/gd/tests/bug36697.phpt ext/gd/tests/bug37346.phpt ext/gd/tests/bug37360.phpt ext/gd/tests/bug38112.phpt ext/gd/tests/bug39082.phpt ext/gd/tests/bug39273.phpt ext/gd/tests/bug39286.phpt ext/gd/tests/bug39366.phpt ext/gd/tests/bug39508.phpt ext/gd/tests/bug39780.phpt ext/gd/tests/bug39780_extern.phpt ext/gd/tests/createfromgd2.phpt ext/gd/tests/createfromwbmp.phpt ext/gd/tests/createfromwbmp2_extern.phpt ext/gd/tests/dashedlines.phpt ext/gd/tests/gif2gd.phpt ext/gd/tests/gif2jpg.phpt ext/gd/tests/gif2png.phpt ext/gd/tests/imagefilter.phpt ext/gd/tests/imagewbmp.phpt ext/gd/tests/jpeg2png.phpt ext/gd/tests/jpg2gd.phpt ext/gd/tests/libgd00086.phpt ext/gd/tests/libgd00086_extern.phpt ext/gd/tests/png2gd.phpt ext/gd/tests/pngcomp.phpt ext/gd/tests/xpm2gd.phpt ext/gd/tests/xpm2jpg.phpt ext/gd/tests/xpm2png.phpt: - enable tests even when an external GD is used. Latest releases (2.0.34 or 2.0.35) work. NB: if you use Debian, you'll realize how bad their package is and start to either use the source or push all patches I posted to their bugs tracker * ext/gd/tests/createfromwbmp2.phpt: - fix test, requires binary string * (PHP_5_2) ext/openssl/tests/bug37820.phpt ext/openssl/tests/bug39217.phpt: - MFH: - tests for #39217 - skip test if openssl is too old * ext/openssl/openssl.c: - MFB: enable DSA key if HAVE_DSA_DEFAULT_METHOD is set * ext/openssl/tests/bug36732.phpt ext/openssl/tests/bug41353.phpt: - skip if openssl is too old - MFB test bug41353.phpt 2007-05-28 Hannes Magnusson * ext/pdo_odbc/php_pdo_odbc.h ext/standard/basic_functions.h ext/tokenizer/php_tokenizer.h: Remove weird useless entries 2007-05-28 Antony Dovgal * (PHP_5_2) NEWS: reorder 2007-05-28 Hannes Magnusson * ext/reflection/php_reflection.c: Fix logic 2007-05-28 Antony Dovgal * ZendEngine2/zend_alloc.c: use unsigned modifiers 2007-05-28 Dmitry Stogov * sapi/cgi/cgi_main.c sapi/cgi/cgi_main.c: Removed deprecated comment 2007-05-27 Antony Dovgal * run-tests.php sapi/cgi/tests/include.inc: "sapi/cgi/php" -> "sapi/cgi/php-cgi" * ext/openssl/tests/bug38255.phpt ext/openssl/tests/bug38261.phpt: fix tests * ext/openssl/xp_ssl.c: MFB: fix #41236 (Regression in timeout handling of non-blocking SSL connections during reads and writes). Everybody please calm down, we can always fix such issues without starting a war.. 2007-05-27 Hannes Magnusson * (PHP_5_2) sapi/cgi/.cvsignore: the binary is called php-cgi now * sapi/cgi/.cvsignore: The binary is called php-cgi now 2007-05-27 Jani Taskinen * php.ini-dist php.ini-recommended: - Add missing entry * (PHP_5_2) php.ini-dist php.ini-recommended: MFH: add missing entries, these are in PHP_4_4 branch.. 2007-05-27 Ilia Alshanetsky * (PHP_5_2) ext/json/tests/pass001.1.phpt ext/json/tests/pass001.phpt: Adjust tests to reflect the new expected output * (PHP_5_2) NEWS: Fixed SQLite version * (PHP_5_2) NEWS ext/soap/soap.c ext/soap/tests/bugs/bug41477.phpt ext/soap/tests/bugs/bug41477.phpt: Fixed bug #41477 (no arginfo about SoapClient::__soapCall()). * (PHP_5_2) NEWS ext/standard/file.c: Fixed bug #41492 (open_basedir/safe_mode bypass inside realpath()). * (PHP_5_2) NEWS ext/openssl/xp_ssl.c: Fixed bug #41236 (Regression in timeout handling of non-blocking SSL connections during reads and writes). * (PHP_5_2) NEWS ext/json/JSON_parser.c ext/json/tests/bug41504.phpt ext/json/tests/bug41504.phpt: Fixed bug #41504 (json_decode() incorrectly decodes JSON arrays with empty string keys). 2007-05-27 Nuno Lopes * (PHP_5_2) ext/standard/html.c ext/standard/tests/strings/htmlentities18.phpt: fix handling of && by htmlentities 'no-double-encode' expand the test cases * (PHP_5_2) ext/standard/html.c: fix the new 'no-double-encoding' feature of htmlspecialchars() (the length for char search was wrong. this could lead to crashes..) * (PHP_5_2) ext/standard/md5.c: make make_digest() output a 16-byte string so that it wont break the internal PHP API (it was breaking the SOAP extension) 2007-05-27 Antony Dovgal * ext/gmp/tests/001.phpt ext/gmp/tests/011.phpt ext/gmp/tests/012.phpt ext/gmp/tests/013.phpt ext/gmp/tests/014.phpt ext/gmp/tests/015.phpt ext/gmp/tests/016.phpt ext/gmp/tests/017.phpt ext/gmp/tests/018.phpt ext/gmp/tests/019.phpt ext/gmp/tests/020.phpt ext/gmp/tests/021.phpt ext/gmp/tests/022.phpt ext/gmp/tests/023.phpt ext/gmp/tests/024.phpt ext/gmp/tests/025.phpt ext/gmp/tests/026.phpt ext/gmp/tests/027.phpt ext/gmp/tests/028.phpt ext/gmp/tests/029.phpt ext/gmp/tests/030.phpt ext/gmp/tests/031.phpt ext/gmp/tests/032.phpt ext/gmp/tests/033.phpt ext/gmp/tests/034.phpt ext/gmp/tests/035.phpt ext/gmp/tests/036.phpt ext/gmp/tests/037.phpt ext/gmp/tests/038.phpt ext/gmp/tests/039.phpt ext/gmp/tests/040.phpt: add missing skipif sections * (PHP_4_4) ext/standard/basic_functions.c ext/standard/php_var.h: MFH: improve variable name checks (by popular demands..) 2007-05-27 Jani Taskinen * (PHP_4_4) NEWS NEWS: fix news * (PHP_5_2) NEWS ext/standard/md5.c ext/standard/sha1.c: - Fixed bug #41511 (Compile failure under IRIX 6.5.30 building md5.c) 2007-05-27 Antony Dovgal * (PHP_5_2) ext/standard/tests/file/filetype_variation.phpt: check for required func * (PHP_5_2) ext/standard/tests/general_functions/intval.phpt: fix test 2007-05-26 Sara Golemon * ext/hash/hash.c: MFB(r-1.18.2.5.2.7) Use slprintf() instead of snprintf() - Bad Ilia, no biscuit for you. 2007-05-25 Rasmus Lerdorf * (PHP_5_2) TSRM/tsrm_virtual_cwd.c: Remove simple optimization here for now until we clean up this SAPI/TSRM mess. 2007-05-25 Hannes Magnusson * (PHP_5_2) php.ini-recommended: MFH: Mention why short_open_tags is off (bug#37068) * php.ini-recommended: Mention why short_open_tags is off (bug#37068) * (PHP_5_2) ext/standard/html.c: Allow skipping hint_charset (fixes ext/standard/tests/strings/htmlentities18.phpt) 2007-05-25 Zoe Slattery * ext/standard/tests/file/fgetc_basic.phpt ext/standard/tests/file/fgetc_error.phpt ext/standard/tests/file/file.inc ext/standard/tests/file/fileinode_basic.phpt ext/standard/tests/file/fileinode_error.phpt ext/standard/tests/file/fileinode_variation.phpt ext/standard/tests/file/filetype_basic.phpt ext/standard/tests/file/filetype_error.phpt ext/standard/tests/file/filetype_variation.phpt ext/standard/tests/file/flock_basic.phpt ext/standard/tests/file/flock_error.phpt ext/standard/tests/file/flock_variation.phpt ext/standard/tests/file/fnmatch_basic.phpt ext/standard/tests/file/fnmatch_error.phpt ext/standard/tests/file/fnmatch_variation.phpt ext/standard/tests/file/fpassthru_basic.phpt ext/standard/tests/file/fpassthru_error.phpt ext/standard/tests/file/fpassthru_variation.phpt ext/standard/tests/general_functions/intval.phpt ext/standard/tests/general_functions/var_export.phpt ext/standard/tests/strings/dirname_basic.phpt ext/standard/tests/strings/dirname_error.phpt ext/standard/tests/strings/dirname_variation.phpt ext/standard/tests/strings/explode1.phpt: New tests for file/general_functions/strings * ext/standard/tests/file/fgetc_basic.phpt ext/standard/tests/file/fgetc_basic.phpt ext/standard/tests/file/fgetc_error.phpt ext/standard/tests/file/fgetc_error.phpt ext/standard/tests/file/file.inc ext/standard/tests/file/file.inc ext/standard/tests/file/fileinode_basic.phpt ext/standard/tests/file/fileinode_basic.phpt ext/standard/tests/file/fileinode_error.phpt ext/standard/tests/file/fileinode_error.phpt ext/standard/tests/file/fileinode_variation.phpt ext/standard/tests/file/fileinode_variation.phpt ext/standard/tests/file/filetype_basic.phpt ext/standard/tests/file/filetype_basic.phpt ext/standard/tests/file/filetype_error.phpt ext/standard/tests/file/filetype_error.phpt ext/standard/tests/file/filetype_variation.phpt ext/standard/tests/file/filetype_variation.phpt ext/standard/tests/file/flock_basic.phpt ext/standard/tests/file/flock_basic.phpt ext/standard/tests/file/flock_error.phpt ext/standard/tests/file/flock_error.phpt ext/standard/tests/file/flock_variation.phpt ext/standard/tests/file/flock_variation.phpt ext/standard/tests/file/fnmatch_basic.phpt ext/standard/tests/file/fnmatch_basic.phpt ext/standard/tests/file/fnmatch_error.phpt ext/standard/tests/file/fnmatch_error.phpt ext/standard/tests/file/fnmatch_variation.phpt ext/standard/tests/file/fnmatch_variation.phpt ext/standard/tests/file/fpassthru_basic.phpt ext/standard/tests/file/fpassthru_basic.phpt ext/standard/tests/file/fpassthru_error.phpt ext/standard/tests/file/fpassthru_error.phpt ext/standard/tests/file/fpassthru_variation.phpt ext/standard/tests/file/fpassthru_variation.phpt ext/standard/tests/general_functions/intval.phpt ext/standard/tests/general_functions/intval.phpt ext/standard/tests/general_functions/var_export.phpt ext/standard/tests/general_functions/var_export.phpt ext/standard/tests/strings/dirname_basic.phpt ext/standard/tests/strings/dirname_basic.phpt ext/standard/tests/strings/dirname_error.phpt ext/standard/tests/strings/dirname_error.phpt ext/standard/tests/strings/dirname_variation.phpt ext/standard/tests/strings/dirname_variation.phpt ext/standard/tests/strings/explode1.phpt ext/standard/tests/strings/explode1.phpt: file fgetc_basic.phpt was initially added on branch PHP_5_2. 2007-05-25 Hannes Magnusson * (PHP_5_2) ext/json/json.c: MFH: protos (patch by jeffg at activestate dot com) 2007-05-25 Michael Wallner * ext/curl/config.m4 ext/curl/config.m4: - fix typo 2007-05-25 Hannes Magnusson * (PHP_5_2) NEWS: Mention json nesting dept bump * ext/json/tests/fail001.phpt: MFB: Fix test after stack limit bump * (PHP_5_2) ext/json/tests/fail001.phpt: This test should only test failures * (PHP_5_2) ext/json/tests/fail001.phpt: Fix test after stack limit bump 2007-05-25 Rasmus Lerdorf * (PHP_5_2) main/SAPI.c: Slightly cleaner code * main/SAPI.c main/SAPI.c: Optimize sapi_get_request_time() slightly making it use the cached time and also checking if there is a server_context before trying to call the request_time sapi hook. 2007-05-25 Ilia Alshanetsky * (PHP_5_2) NEWS configure.in main/php_version.h: Back to dev * (PHP_5_2) NEWS configure.in main/php_version.h: 5.2.3RC1 2007-05-24 Jani Taskinen * configure.in sapi/cgi/config9.m4: MFB:- Unify installation of SAPIs: CGI is no exception anymore. * (PHP_5_2) NEWS configure.in sapi/cgi/config9.m4: - Unify installation of SAPIs: CGI is no exception anymore. 2007-05-24 Rasmus Lerdorf * (PHP_5_2) ext/json/JSON_parser.c: Make the code match the commit comment * ext/json/JSON_parser.c: MFB 5_2 - increase json parser depth from 20 to 128 * (PHP_5_2) ext/json/JSON_parser.c: I don't see any reason to leave the stack limitation at 20. We have reports of this limit being hit now and as far as I can tell bumping it to 128 isn't going break anything in the parser code. 2007-05-24 Jani Taskinen * Makefile.frag acinclude.m4 configure.in ext/standard/Makefile.frag ext/tokenizer/Makefile.frag: MFB * (PHP_5_2) Makefile.frag acinclude.m4 configure.in ext/standard/Makefile.frag ext/tokenizer/Makefile.frag: - Allow build without flex/bison installed (fixes builddir != srcdir build when using distributed sources which inlude pre-generated bison/flex output. See bug #38762 for more..) 2007-05-24 Rasmus Lerdorf * ext/standard/string.c ext/standard/string.c ext/standard/string.c ext/standard/string.c: MFB 5_2 * (PHP_5_2) ext/standard/string.c: Uh, only meant to remove the null check, not the assignment * (PHP_5_2) ext/standard/string.c: Avoid running off the end of a non-null terminated string. Not that we should have any of those, but a mistake in an extension could hit this and the check doesn't actually make any sense as far as I am concerned. 2007-05-24 Jani Taskinen * acinclude.m4: MFB:- Fix previous fix. (just revert of Stefan's bad fix..) * (PHP_5_2) acinclude.m4: - Fix previous fix. (just revert of Stefan's bad fix..) * acinclude.m4: MFB:- Fix idiotic change in logic. (hint: flex is _REQUIRED_ for building PHP! * (PHP_5_2) acinclude.m4: - Fix idiotic change in logic. (hint: flex is _REQUIRED_ for building PHP! 2007-05-24 Dmitry Stogov * ZendEngine2/zend_language_scanner.l ZendEngine2/zend_language_scanner.l: Impoved error reporting on parser errors (Matt, Dmitry) 2007-05-23 Marcus Boerger * README.PARAMETER_PARSING_API: - Fix f 2007-05-23 Ilia Alshanetsky * (PHP_5_2) ext/standard/math.c: Simplify code 2007-05-23 Hannes Magnusson * (PHP_4_4) ext/standard/credits.c: Credit Philip as the phpdoc editor * (PHP_4_4) NEWS php.ini-dist php.ini-recommended: note on max_input_nesting_level 2007-05-22 Hannes Magnusson * (PHP_5_2) NEWS: new curl constants 2007-05-22 Stanislav Malyshev * (PHP_4_4) main/main.c main/php_globals.h main/php_variables.c: fix for CVE-2007-1285 - crash on deep input variable nesting 2007-05-22 Antony Dovgal * ext/standard/tests/general_functions/gettype_settype_basic.phpt ext/standard/tests/general_functions/import_request.phpt: fix test 2007-05-22 Hannes Magnusson * (PHP_5_2) NEWS: Add entry about --ini 2007-05-22 Raghubansh Kumar * ext/standard/tests/general_functions/gettype_settype_basic.phpt ext/standard/tests/general_functions/gettype_settype_error.phpt ext/standard/tests/general_functions/gettype_settype_variation1.phpt ext/standard/tests/general_functions/gettype_settype_variation2.phpt ext/standard/tests/general_functions/gettype_settype_variation3.phpt ext/standard/tests/general_functions/gettype_settype_variation4.phpt ext/standard/tests/general_functions/gettype_settype_variation5.phpt ext/standard/tests/general_functions/gettype_settype_variation6.phpt ext/standard/tests/general_functions/gettype_settype_variation7.phpt ext/standard/tests/general_functions/gettype_settype_variation8.phpt: New version of gettype_settype_basic.phpt, gettype_settype_variation3.phpt, gettype_settype_variation7.phpt, gettype_settype_error.phpt, gettype_settype_variation4.phpt, gettype_settype_variation8.phpt, gettype_settype_variation1.phpt, gettype_settype_variation5.phpt, gettype_settype_variation2.phpt, gettype_settype_variation6.phpt * ext/standard/tests/strings/basename_basic.phpt ext/standard/tests/strings/basename_error.phpt ext/standard/tests/strings/basename_variation.phpt: New version of basename_basic.phpt basename_error.phpt basename_variation.phpt * ext/standard/tests/general_functions/gettype_settype_error.phpt ext/standard/tests/general_functions/gettype_settype_error.phpt ext/standard/tests/general_functions/gettype_settype_variation1.phpt ext/standard/tests/general_functions/gettype_settype_variation1.phpt ext/standard/tests/general_functions/gettype_settype_variation5.phpt ext/standard/tests/general_functions/gettype_settype_variation5.phpt ext/standard/tests/general_functions/gettype_settype_variation8.phpt ext/standard/tests/general_functions/gettype_settype_variation8.phpt: file gettype_settype_error.phpt was initially added on branch PHP_5_2. * ext/standard/tests/general_functions/gettype_settype_basic.phpt ext/standard/tests/general_functions/gettype_settype_basic.phpt ext/standard/tests/general_functions/gettype_settype_variation2.phpt ext/standard/tests/general_functions/gettype_settype_variation2.phpt ext/standard/tests/general_functions/gettype_settype_variation3.phpt ext/standard/tests/general_functions/gettype_settype_variation3.phpt ext/standard/tests/general_functions/gettype_settype_variation4.phpt ext/standard/tests/general_functions/gettype_settype_variation4.phpt ext/standard/tests/general_functions/gettype_settype_variation6.phpt ext/standard/tests/general_functions/gettype_settype_variation6.phpt ext/standard/tests/general_functions/gettype_settype_variation7.phpt ext/standard/tests/general_functions/gettype_settype_variation7.phpt: file gettype_settype_basic.phpt was initially added on branch PHP_5_2. * ext/standard/tests/strings/basename_basic.phpt ext/standard/tests/strings/basename_basic.phpt ext/standard/tests/strings/basename_error.phpt ext/standard/tests/strings/basename_error.phpt ext/standard/tests/strings/basename_variation.phpt ext/standard/tests/strings/basename_variation.phpt: file basename_basic.phpt was initially added on branch PHP_5_2. 2007-05-22 Hannes Magnusson * ext/standard/credits.c: Philip, the new phpdoc editor \o/ * (PHP_5_2) ext/standard/credits.c: Ladies and gentelmens, I bring you our new documentation editor.... Philip Olson! * (PHP_5_2) ext/standard/basic_functions.c ext/standard/html.c: Update proto&arginfo for double_encode in htmlspecialchars()&htmlentities() 2007-05-22 Pierre-Alain Joye * (PHP_5_2) NEWS: - add cve ref 2007-05-22 Antony Dovgal * (PHP_5_2) ext/standard/basic_functions.c ext/standard/php_var.h ext/standard/tests/general_functions/import_request1.phpt ext/standard/tests/general_functions/import_request2.phpt ext/standard/tests/general_functions/import_request3.phpt: MFH: improve variable name checks add more tests * ext/standard/tests/general_functions/import_request1.phpt ext/standard/tests/general_functions/import_request1.phpt ext/standard/tests/general_functions/import_request2.phpt ext/standard/tests/general_functions/import_request2.phpt ext/standard/tests/general_functions/import_request3.phpt ext/standard/tests/general_functions/import_request3.phpt: improve variable name checks add more tests * ext/standard/basic_functions.c ext/standard/php_var.h: improve variable name checks add more tests 2007-05-22 Hannes Magnusson * php.ini-dist php.ini-recommended: MFB: max_input_nesting_level * (PHP_5_2) php.ini-dist php.ini-recommended: Add max_input_nesting_level 2007-05-22 Ilia Alshanetsky * (PHP_5_2) NEWS ext/standard/html.c ext/standard/html.h ext/standard/tests/strings/htmlentities18.phpt ext/standard/tests/strings/htmlentities18.phpt: [DOC] Added a 4th parameter flag to htmlspecialchars() and htmlentities() that makes the function not encode existing html entities. The feature is disabled by default and can be activated by passing FALSE as the 4th param 2007-05-22 Timm Friebe * (PHP_5_2) ext/sybase_ct/tests/test_long.phpt: - Changed hardcoded "tempdb" database name to a constant * (PHP_5_2) ext/sybase_ct/tests/test_msghandler_handled.phpt: - Fixed expectancy in for SQL query