2006-08-27 Hannes Magnusson * (PHP_5_2) NEWS ext/standard/basic_functions.c ext/standard/math.c ext/standard/tests/math/constants.phpt: MFH: - Fixed bug #33895 (missing math constants). - Remove M_PI from math.c (its defined in php_math.h) 2006-08-27 Ilia Alshanetsky * (PHP_5_2) ext/standard/string.c: Optimize the operation of implode() on non-string parameters 2006-08-27 Hannes Magnusson * ext/standard/basic_functions.c ext/standard/math.c ext/standard/tests/math/constants.phpt ext/standard/tests/math/constants.phpt: Register missing math constants (been missing since 4.0.2!) Remove M_PI from math.c (its defined in php_math.h) * (PHP_5_2) ext/standard/tests/strings/htmlentities15.phpt ext/standard/tests/strings/htmlentities15.phpt tests/lang/034.phpt tests/lang/034.phpt: fix tests on freebsd * ext/standard/tests/strings/htmlentities15.phpt tests/lang/034.phpt: Fix tests on freebsd 2006-08-26 Hannes Magnusson * (PHP_4_4) NEWS ext/standard/aggregation.c: Fixed bug #37812 aggregate_methods_by_list fails to take certain methods Add test 2006-08-26 Pierre-Alain Joye * ext/zip/php_zip.c: - MFB: don't rely/use VCWD_REALPATH, use expand_filepath instead NB: that'd to be true for all this VCWD mess * (PHP_5_2) ext/zip/php_zip.c: - don't rely/use VCWD_REALPATH, use expand_filepath instead NB: that'd to be true for all this VCWD mess 2006-08-25 Andrei Zmievski * ZendEngine2/zend_API.h: Fix some API definitions. 2006-08-25 Rob Richards * ext/xmlwriter/php_xmlwriter.c: add unicode support 2006-08-25 Seiji Masugata * (PHP_5_2) ext/mbstring/config.m4 ext/mbstring/mbstring.c ext/mbstring/oniguruma/regcomp.c ext/mbstring/oniguruma/regint.h: added configure option --disable-mbregex-backtrack. 2006-08-25 Pierre-Alain Joye * ext/zip/php_zip.c: - MFB: bundled version matches pecl release 1.7.1 * (PHP_5_2) ext/zip/php_zip.c: - bundled matches pecl 1.7.1 2006-08-25 Edin Kadribasic * ext/com_dotnet/com_typeinfo.c: MFB: Fixed #37602 by olek at neurosoft dot pl * (PHP_5_2) ext/com_dotnet/com_typeinfo.c: Fixed #37602 by olek at neurosoft dot pl 2006-08-24 Andrei Zmievski * README.UNICODE: -** empty log message *** * README.UNICODE: Fix typo. 2006-08-24 Pierre-Alain Joye * ext/zip/php_zip.c: - store the resolved path * ext/zip/php_zip.c: - MFB: solve the relative path issues in TS environment 2006-08-24 Seiji Masugata * ext/mbstring/oniguruma/AUTHORS ext/mbstring/oniguruma/AUTHORS: file AUTHORS was initially added on branch PHP_5_2. * (PHP_5_2) ext/mbstring/oniguruma/HISTORY ext/mbstring/oniguruma/index.html ext/mbstring/oniguruma/oniguruma.h ext/mbstring/oniguruma/regcomp.c ext/mbstring/oniguruma/regexec.c ext/mbstring/oniguruma/regint.h ext/mbstring/oniguruma/regparse.c ext/mbstring/oniguruma/regparse.h ext/mbstring/oniguruma/regposix.c: Updated bundled oniguruma library (used for multibyte regular expression) to 4.3.1. * ext/mbstring/mbstring.c ext/mbstring/mbstring.c: added returned value in mb_get_info( ). 2006-08-24 Pierre-Alain Joye * (PHP_5_2) ext/zip/php_zip.c: - solve the relative path issues in TS environment 2006-08-24 Antony Dovgal * (PHP_5_2) ext/pdo/config.m4: it's not a PEAR only issue * ext/pdo/config.m4: it's not a PEAR only issue, this happens with shared builds also 2006-08-24 Ilia Alshanetsky * (PHP_5_1) NEWS configure.in main/php_version.h: Back to dev 2006-08-24 Antony Dovgal * (PHP_5_2) ext/sysvmsg/config.m4: sys/msg.h does not exist on MacOS X * ext/sysvmsg/config.m4: sys/msg.h does not exist on MacOS X, we need to detect it in configure * ext/oci8/oci8.c ext/oci8/oci8.c: update version in phpinfo() * ext/oci8/oci8.c ext/oci8/oci8.c: bump version number * (PHP_5_2) ext/oci8/oci8.c: compat fixes * (PHP_5_2) ext/oci8/package.xml: release 1.2.2 from 5_2 branch, as HEAD doesn't have safe_mode anymore * ext/oci8/package.xml: prepare to 1.2.2 release * ext/zlib/tests/005.phpt ext/zlib/tests/005.phpt: the error message is different on different OSes and zlib versions * (PHP_5_2) ext/standard/tests/time/bug38524.phpt: tm_yday may be 0 * ext/standard/tests/time/bug38524.phpt: tm_yday may be 0 (Solaris) * (PHP_5_2) ext/standard/config.m4 ext/standard/datetime.c: MFH: fix segfault in strptime() on 64bit Linuxes, caused by the missing declaration * ext/standard/config.m4 ext/standard/datetime.c: this fixes segfault in strptime() on 64bit Linuxes, caused by the missing declaration unfortunately defining _XOPEN_SOURCE breaks the build (some odd dependencies in glibc headers) and this seems to be the best solution 2006-08-24 Dmitry Stogov * (PHP_5_2) NEWS ZendEngine2/zend_hash.c ZendEngine2/zend_hash.c: Fixed bug #38315 (Constructing in the destructor causes weird behaviour) 2006-08-24 Antony Dovgal * (PHP_4_4) NEWS ext/standard/tests/file/bug38450.phpt main/user_streams.c: fix #38450 (constructor is not called for classes used in userspace stream wrappers) * (PHP_4_4) NEWS ext/wddx/wddx.c ext/wddx/tests/bug38738.phpt ext/wddx/tests/bug38738.phpt: fix #38378 (wddx_serialize_value() generates no wellformed xml) 2006-08-24 Dmitry Stogov * (PHP_5_2) NEWS ext/soap/php_soap.h ext/soap/php_soap.h ext/soap/soap.c ext/soap/soap.c ext/soap/tests/server026.phpt ext/soap/tests/server026.phpt ext/soap/tests/server026.phpt ext/soap/tests/server027.phpt ext/soap/tests/server027.phpt ext/soap/tests/server027.phpt ext/soap/tests/server028.phpt ext/soap/tests/server028.phpt ext/soap/tests/server028.phpt: Added SoapServer::setObject() method (it is a simplified version of SoapServer::setClass() method). 2006-08-23 Andrei Zmievski * main/php_compat.h main/php_compat.h: MFB * (PHP_5_2) main/php_compat.h: Namespace more PCRE functions. 2006-08-23 Pierre-Alain Joye * (PHP_5_2) NEWS ext/gd/libgd/gdft.c: - MFH: add support for entities in hexadecimal format, like © can be passed as © or © (sync with gd) * ext/gd/libgd/gdft.c: - add support for entities in hexadecimal format, like © can be passed as © or © 2006-08-23 Antony Dovgal * (PHP_5_2) ext/pdo/pdo_stmt.c: MFH: fix possible crash in free_statement() * ext/pdo/pdo_stmt.c: fix possible crash in free_statement() 2006-08-23 Ilia Alshanetsky * (PHP_5_1) NEWS configure.in main/php_version.h: 5.1.6 2006-08-23 Dmitry Stogov * (PHP_5_2) NEWS ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.c: Fixed bug #38265 (heap corruption) 2006-08-23 Antony Dovgal * (PHP_5_1) run-tests.php: fix run-tests on windows 2006-08-23 Pierre-Alain Joye * (PHP_5_2) ext/gd/tests/dashedlines.phpt ext/gd/tests/lines.phpt: - MFH: please don't use base64 to test image files, it does not work fix tests on 64bit platfrom * ext/gd/tests/dashedlines.phpt ext/gd/tests/lines.phpt: - please don't use base64 to test image files, it does not work fix tests on 64bit platfrom 2006-08-23 Antony Dovgal * (PHP_5_2) ext/reflection/config.m4 ext/spl/config.m4: MFH: build ext/spl and ext/reflection as static (fixes #38556) * ext/reflection/config.m4 ext/spl/config.m4: build ext/spl and ext/reflection as static (fixes #38556) 2006-08-23 Hannes Magnusson * ext/spl/spl_observer.c ext/spl/spl_observer.c: Fix arginfo for SplObjectStorage 2006-08-23 Antony Dovgal * (PHP_5_2) run-tests.php: MFH: make run-tests to work with directories containing spaces (bug #38558) Patch by danielc at analysisandsolutions dot com * run-tests.php: make run-tests to work with directories containing spaces (bug #38558) 2006-08-22 Antony Dovgal * (PHP_5_2) ext/standard/tests/strings/implode1.phpt: add test for real * (PHP_5_2) ext/standard/string.c: fix implode() function (see http://news.php.net/php.qa/26876) add test * ext/standard/tests/strings/implode1.phpt ext/standard/tests/strings/implode1.phpt: add test 2006-08-22 Ilia Alshanetsky * ext/date/php_date.c: MFB: Fixed bug #38511, #38473, #38263 (Fixed session extension request shutdown order to ensure it is shutdown before the extensions it may depend on). * (PHP_5_2) NEWS ext/date/php_date.c: Fixed bug #38511, #38473, #38263 (Fixed session extension request shutdown order to ensure it is shutdown before the extensions it may depend on). 2006-08-22 Antony Dovgal * configure.in TSRM/tsrm.m4: fix separate TSRM build 2006-08-22 Dmitry Stogov * (PHP_5_2) NEWS sapi/cli/php_cli.c sapi/cli/php_cli.c: Fixed bug #38543 (shutdown_executor() may segfault when memory_limit is too low). 2006-08-22 Antony Dovgal * (PHP_5_2) ext/oci8/oci8.c ext/oci8/oci8_interface.c ext/oci8/oci8_lob.c ext/oci8/oci8_statement.c ext/oci8/php_oci8_int.h ext/oci8/tests/statement_cache.phpt: minor improvements * ext/oci8/oci8.c ext/oci8/oci8_interface.c ext/oci8/oci8_lob.c ext/oci8/oci8_statement.c ext/oci8/php_oci8_int.h ext/oci8/tests/statement_cache.phpt: minor improvements dropped unused parameters, changed long to int where it should be int 2006-08-22 Michael Wallner * main/output.c: - fix php_output_handler_started() * main/output.c: - use the handler name zval directly when listing stati, too * main/output.c tests/output/ob_014.phpt tests/output/ob_015.phpt: - fix tests to comply with upgraded string.c - use add_next_index_zval() when listing handlers * main/output.c main/php_output.h: - allocate handler stack on the heap and avoid segfaults on shutdown when startup fails - don't try to append empty buffer - fix some dbg format strings 2006-08-22 Dmitry Stogov * (PHP_5_1) NEWS NEWS main/streams/plain_wrapper.c main/streams/plain_wrapper.c main/streams/plain_wrapper.c: Fixed bug #38488 (Access to "php://stdin" and family crashes PHP on win32) * ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.c: Fixed "win32" storage manager * run-tests.php: Fixed "make test" on win32 * (PHP_5_2) run-tests.php: Fix "make test" on win32 * ext/standard/string.c: ZTS fix 2006-08-21 Antony Dovgal * ext/pdo/tests/bug_38394.phpt ext/pdo/tests/bug_38394.phpt: typo 2006-08-21 Ilia Alshanetsky * ext/pdo/pdo_dbh.c: MFB: Fixed bug #38535 (memory corruption in pdo_pgsql driver on error retrieval inside a failed query executed via query() method). * (PHP_5_2) NEWS ext/pdo/pdo_dbh.c: Fixed bug #38535 (memory corruption in pdo_pgsql driver on error retrieval inside a failed query executed via query() method). 2006-08-21 Antony Dovgal * (PHP_5_2) NEWS ext/oci8/oci8.c ext/oci8/oci8_collection.c ext/oci8/oci8_lob.c ext/oci8/oci8_statement.c ext/oci8/php_oci8_int.h: MFH: fix PECL bug #8112 (OCI8 persistent connections misbehave when Apache process times out) * ext/oci8/oci8.c ext/oci8/oci8_collection.c ext/oci8/oci8_lob.c ext/oci8/oci8_statement.c ext/oci8/php_oci8_int.h: fix PECL bug #8112 (OCI8 persistent connections misbehave when Apache process times out) 2006-08-20 Ilia Alshanetsky * (PHP_5_2) sapi/cgi/fastcgi.c: MFH: sa_len compile fix for IRIX * ext/standard/datetime.c ext/standard/tests/time/bug38524.phpt: MFB: Fixed bug #38524 (strptime() does not initialize the internal date storage structure). * (PHP_5_2) NEWS ext/standard/datetime.c ext/standard/tests/time/bug38524.phpt ext/standard/tests/time/bug38524.phpt: Fixed bug #38524 (strptime() does not initialize the internal date storage structure). 2006-08-20 Sascha Schumann * sapi/cgi/fastcgi.c: "sa_len" is defined to "sa_union . sa_generic . sa_len2" on IRIX, so we use another variable name here. 2006-08-19 Ilia Alshanetsky * (PHP_5_2) ZendEngine2/zend.c: Use proper write callback 2006-08-18 Andrei Zmievski * unicode-progress.txt ext/standard/string.c: Unicode support for str_word_count() (using the same semantics as for binary strings). 2006-08-18 Antony Dovgal * (PHP_5_2) ext/openssl/openssl.c: fix #38486 (openssl extension does not build correctly) * (PHP_5_2) ext/standard/file.c: MFH: add a notice to fgetcsv() when delimiter or enclosure is longer than 1 char (feature request #38496) * ext/standard/file.c: add a notice to fgetcsv() when delimiter or enclosure is longer than 1 char (feature request #38496) * (PHP_4_4) run-tests.php: fix typo (bug #38499) 2006-08-17 Antony Dovgal * (PHP_5_2) ext/bz2/bz2.c: fix #38485 (bz2 extension does not compile with GCC 4.1) * ext/exif/exif.c ext/exif/exif.c: initialize static buffer with 0's 2006-08-17 Ilia Alshanetsky * (PHP_5_2) NEWS configure.in main/php_version.h: Back to dev * (PHP_5_2) configure.in main/php_version.h: 5.2.0RC2 * php.ini-dist php.ini-recommended main/main.c: MFB: Increased default memory limit to 16 megabytes to accommodate for a more accurate memory utilization measurement. * (PHP_5_2) NEWS php.ini-dist php.ini-recommended main/main.c: Increased default memory limit to 16 megabytes to accommodate for a more accurate memory utilization measurement. 2006-08-16 Andrei Zmievski * ext/standard/string.c: Simplify php_u_trim(). 2006-08-16 Ilia Alshanetsky * ext/pdo/tests/bug_38394.phpt: MFB: Added skip condition for sqlite2 driver, that uses more forgiving emulated prepared statements. * (PHP_5_2) ext/pdo/tests/bug_38394.phpt: Added skip condition for sqlite2 driver, that uses more forgiving emulated prepared statements. 2006-08-16 Sebastian Bergmann * ext/simplexml/simplexml.c ext/standard/http_fopen_wrapper.c: Sync with php_trim() API change. 2006-08-15 Rob Richards * (PHP_5_2) NEWS: BFN * (PHP_5_2) ext/xml/xml.c ext/xml/tests/xml011.phpt: fix bug #38454 (warning upon disabling handler via xml_set_element_handler) fix bug #38427 (unicode causes xml_parser to misbehave) add test * ext/xml/xml.c ext/xml/tests/xml011.phpt ext/xml/tests/xml011.phpt: fix bug #38454 (warning upon disabling handler via xml_set_element_handler) fix bug #38427 (unicode causes xml_parser to misbehave) remove need for TSRMLS_FETCH() call add test 2006-08-15 Andrei Zmievski * unicode-progress.txt ext/standard/php_string.h ext/standard/string.c: Fix some trim() issues. 2006-08-15 Antony Dovgal * (PHP_5_2) ZendEngine2/zend_object_handlers.c: apply correct fix for bug #38461 * ZendEngine2/zend_object_handlers.c: apply more correct fix for bug #38461 2006-08-15 Pierre-Alain Joye * (PHP_5_2) NEWS ext/openssl/openssl.c ext/openssl/php_openssl.h: - add openssl_csr_get_subject() and openssl_csr_get_public_key() 2006-08-15 Antony Dovgal * (PHP_5_2) NEWS configure.in: MFH: fix #38467 (--enable-versioning causes make fail on OS X) * configure.in: fix #38467 (--enable-versioning causes make fail on OS X) * (PHP_5_2) ext/standard/html.c: MFH: don't try to use "auto", "none" and "pass" charsets returned from mbstring * ext/standard/html.c: don't try to use "auto", "none" and "pass" charsets returned from mbstring * (PHP_5_2) NEWS: BFN * (PHP_5_2) ZendEngine2/zend_object_handlers.c: MFH: fix #38461 (setting private attribute with __set() produces segfault) * ZendEngine2/zend_object_handlers.c: fix #38461 (setting private attribute with __set() produces segfault) 2006-08-15 Ilia Alshanetsky * (PHP_5_1) NEWS configure.in main/php_version.h: Back to dev * (PHP_5_1) NEWS configure.in main/php_version.h: 5.1.5 2006-08-15 Antony Dovgal * ext/oci8/oci8.c ext/oci8/oci8.c ext/oci8/oci8_collection.c ext/oci8/oci8_collection.c ext/oci8/oci8_lob.c ext/oci8/oci8_lob.c ext/oci8/oci8_statement.c ext/oci8/oci8_statement.c: minor CS/WS fixes * ext/oci8/oci8.c: error message might be NULL 2006-08-15 Derick Rethans * (PHP_4_4) NEWS configure.in main/php_version.h: - Back to dev. * (PHP_4_4) NEWS configure.in main/php_version.h: - Go with 4.4.4. 2006-08-15 Antony Dovgal * (PHP_5_2) ext/oci8/oci8.c: MFH: OCIBreak() is not supported on Windows * ext/oci8/oci8.c: OCIBreak() is not supported on Windows * (PHP_5_2) ZendEngine2/tests/bug38461.phpt: add test * ZendEngine2/tests/bug38461.phpt ZendEngine2/tests/bug38461.phpt: add test * (PHP_5_2) ext/standard/tests/file/bug38450.phpt ext/standard/tests/file/bug38450_1.phpt ext/standard/tests/file/bug38450_2.phpt ext/standard/tests/file/bug38450_3.phpt: new tests * ext/standard/tests/file/bug38450.phpt ext/standard/tests/file/bug38450.phpt ext/standard/tests/file/bug38450_1.phpt ext/standard/tests/file/bug38450_1.phpt ext/standard/tests/file/bug38450_2.phpt ext/standard/tests/file/bug38450_2.phpt ext/standard/tests/file/bug38450_3.phpt ext/standard/tests/file/bug38450_3.phpt: new tests 2006-08-15 Michael Wallner * (PHP_5_2) ext/date/php_date.c ext/date/tests/oo_002.phpt: MFH: - fix leak when cloning DateTimeZone, detected by Antony - don't fetch objects multiple times when cloning * ext/date/php_date.c ext/date/tests/oo_002.phpt: - fix leak when cloning DateTimeZone, detected by Antony - don't fetch objects multiple times when cloning 2006-08-15 Pierre-Alain Joye * (PHP_5_2) NEWS ext/openssl/openssl.c ext/openssl/php_openssl.h: - add OPENSSL_KEYTYPE_EC constant - openssl_pkey_get_details(), returns the key details 2006-08-14 Andrei Zmievski * unicode-progress.txt ext/standard/string.c: Unicode support for strcoll(). * ZendEngine2/zend_builtin_functions.c: Remove UTODO's -- this is handled during name mangling/unmangling. 2006-08-14 Antony Dovgal * (PHP_5_2) run-tests.php: fix previous patch * run-tests.php: fix my previous patch 2006-08-14 Andrei Zmievski * ZendEngine2/zend_API.c ZendEngine2/zend_API.h: add_next_index_zstr[l]() * unicode-progress.txt ext/standard/string.c: Unicode support for str_split(). * ZendEngine2/zend_API.c: Typo. * unicode-progress.txt ext/standard/string.c: Unicode support in chunk_split(). * ZendEngine2/zend_API.c: Set T_arg_type to default string type if we were not able to determine it from the args. 2006-08-14 Antony Dovgal * (PHP_5_2) NEWS: BFN * (PHP_5_2) ext/pdo_mysql/config.m4: fix #38451 (PDO_MYSQL doesn't compile on Solaris) 2006-08-14 Nuno Lopes * (PHP_5_2) ext/bz2/bz2.c ext/bz2/php_bz2.h ext/ctype/ctype.c ext/ctype/php_ctype.h ext/json/json.c ext/json/php_json.h ext/pspell/php_pspell.h ext/pspell/pspell.c ext/tidy/php_tidy.h ext/tidy/tidy.c ext/zlib/php_zlib.h ext/zlib/zlib.c ext/zlib/zlib_fopen_wrapper.c: move static declaration to *.c files mroe static/const keywording 2006-08-14 Michael Wallner * (PHP_5_2) ext/date/php_date.c ext/date/tests/oo_002.phpt: MFH: add cloning support to DateTime classes * ext/date/php_date.c ext/date/tests/oo_002.phpt ext/date/tests/oo_002.phpt: - add cloning support to DateTime classes 2006-08-14 Frank M. Kromann * (PHP_5_1) php.ini-dist php.ini-dist php.ini-recommended php.ini-recommended ext/fbsql/php_fbsql.c ext/fbsql/php_fbsql.c ext/fbsql/php_fbsql.h ext/fbsql/php_fbsql.h: MFH: Cleanup before reusing failed persistant connection. Better formating of timestamp and decimal values * php.ini-dist php.ini-recommended ext/fbsql/php_fbsql.c ext/fbsql/php_fbsql.h: Cleanup before reusing failed persistant connection. Better formating of timestamp and decimal values 2006-08-14 Ilia Alshanetsky * ext/pdo_sqlite/config.m4 ext/pdo_sqlite/config.w32 ext/pdo_sqlite/package.xml ext/pdo_sqlite/sqlite/Makefile.in ext/pdo_sqlite/sqlite/Makefile.linux-gcc ext/pdo_sqlite/sqlite/VERSION ext/pdo_sqlite/sqlite/aclocal.m4 ext/pdo_sqlite/sqlite/configure ext/pdo_sqlite/sqlite/configure.ac ext/pdo_sqlite/sqlite/main.mk ext/pdo_sqlite/sqlite/mkdll.sh ext/pdo_sqlite/sqlite/mkopcodeh.awk ext/pdo_sqlite/sqlite/publish.sh ext/pdo_sqlite/sqlite/sqlite3.def ext/pdo_sqlite/sqlite/src/alter.c ext/pdo_sqlite/sqlite/src/analyze.c ext/pdo_sqlite/sqlite/src/attach.c ext/pdo_sqlite/sqlite/src/auth.c ext/pdo_sqlite/sqlite/src/btree.c ext/pdo_sqlite/sqlite/src/btree.h ext/pdo_sqlite/sqlite/src/build.c ext/pdo_sqlite/sqlite/src/callback.c ext/pdo_sqlite/sqlite/src/complete.c ext/pdo_sqlite/sqlite/src/date.c ext/pdo_sqlite/sqlite/src/delete.c ext/pdo_sqlite/sqlite/src/experimental.c ext/pdo_sqlite/sqlite/src/expr.c ext/pdo_sqlite/sqlite/src/func.c ext/pdo_sqlite/sqlite/src/hash.c ext/pdo_sqlite/sqlite/src/hash.h ext/pdo_sqlite/sqlite/src/insert.c ext/pdo_sqlite/sqlite/src/keywordhash.h ext/pdo_sqlite/sqlite/src/legacy.c ext/pdo_sqlite/sqlite/src/loadext.c ext/pdo_sqlite/sqlite/src/main.c ext/pdo_sqlite/sqlite/src/opcodes.h ext/pdo_sqlite/sqlite/src/os.c ext/pdo_sqlite/sqlite/src/os.h ext/pdo_sqlite/sqlite/src/os_common.h ext/pdo_sqlite/sqlite/src/os_mac.c ext/pdo_sqlite/sqlite/src/os_mac.h ext/pdo_sqlite/sqlite/src/os_unix.c ext/pdo_sqlite/sqlite/src/os_win.c ext/pdo_sqlite/sqlite/src/pager.c ext/pdo_sqlite/sqlite/src/pager.h ext/pdo_sqlite/sqlite/src/parse.c ext/pdo_sqlite/sqlite/src/parse.h ext/pdo_sqlite/sqlite/src/parse.y ext/pdo_sqlite/sqlite/src/pragma.c ext/pdo_sqlite/sqlite/src/prepare.c ext/pdo_sqlite/sqlite/src/printf.c ext/pdo_sqlite/sqlite/src/select.c ext/pdo_sqlite/sqlite/src/shell.c ext/pdo_sqlite/sqlite/src/sqlite.h.in ext/pdo_sqlite/sqlite/src/sqlite3ext.h ext/pdo_sqlite/sqlite/src/sqliteInt.h ext/pdo_sqlite/sqlite/src/table.c ext/pdo_sqlite/sqlite/src/tclsqlite.c ext/pdo_sqlite/sqlite/src/test1.c ext/pdo_sqlite/sqlite/src/test2.c ext/pdo_sqlite/sqlite/src/test3.c ext/pdo_sqlite/sqlite/src/test4.c ext/pdo_sqlite/sqlite/src/test5.c ext/pdo_sqlite/sqlite/src/tokenize.c ext/pdo_sqlite/sqlite/src/trigger.c ext/pdo_sqlite/sqlite/src/update.c ext/pdo_sqlite/sqlite/src/utf.c ext/pdo_sqlite/sqlite/src/util.c ext/pdo_sqlite/sqlite/src/vacuum.c ext/pdo_sqlite/sqlite/src/vdbe.c ext/pdo_sqlite/sqlite/src/vdbe.h ext/pdo_sqlite/sqlite/src/vdbeInt.h ext/pdo_sqlite/sqlite/src/vdbeapi.c ext/pdo_sqlite/sqlite/src/vdbeaux.c ext/pdo_sqlite/sqlite/src/vdbemem.c ext/pdo_sqlite/sqlite/src/vtab.c ext/pdo_sqlite/sqlite/src/where.c ext/pdo_sqlite/sqlite/tool/lemon.c ext/pdo_sqlite/sqlite/tool/lempar.c ext/pdo_sqlite/sqlite/tool/memleak3.tcl ext/pdo_sqlite/sqlite/tool/mkkeywordhash.c ext/pdo_sqlite/sqlite/tool/showdb.c ext/pdo_sqlite/sqlite/tool/spaceanal.tcl: MFB: Upgraded libsqlite in pdo_sqlite to 3.3.7 * (PHP_5_2) ext/pdo_sqlite/package2.xml: Added missing file entry * (PHP_5_2) NEWS: Updated libsqlite in ext/pdo_sqlite to 3.3.7. * ext/pdo_sqlite/sqlite/src/sqlite3ext.h ext/pdo_sqlite/sqlite/src/sqlite3ext.h ext/pdo_sqlite/sqlite/src/sqliteInt.h ext/pdo_sqlite/sqlite/src/table.c ext/pdo_sqlite/sqlite/src/tclsqlite.c ext/pdo_sqlite/sqlite/src/test1.c ext/pdo_sqlite/sqlite/src/test2.c ext/pdo_sqlite/sqlite/src/test3.c ext/pdo_sqlite/sqlite/src/test4.c ext/pdo_sqlite/sqlite/src/test5.c ext/pdo_sqlite/sqlite/src/tokenize.c ext/pdo_sqlite/sqlite/src/trigger.c ext/pdo_sqlite/sqlite/src/update.c ext/pdo_sqlite/sqlite/src/utf.c ext/pdo_sqlite/sqlite/src/util.c ext/pdo_sqlite/sqlite/src/vacuum.c ext/pdo_sqlite/sqlite/src/vdbe.c ext/pdo_sqlite/sqlite/src/vdbe.h ext/pdo_sqlite/sqlite/src/vdbeInt.h ext/pdo_sqlite/sqlite/src/vdbeapi.c ext/pdo_sqlite/sqlite/src/vdbeaux.c ext/pdo_sqlite/sqlite/src/vdbemem.c ext/pdo_sqlite/sqlite/src/vtab.c ext/pdo_sqlite/sqlite/src/vtab.c ext/pdo_sqlite/sqlite/src/where.c ext/pdo_sqlite/sqlite/tool/lemon.c ext/pdo_sqlite/sqlite/tool/lempar.c ext/pdo_sqlite/sqlite/tool/memleak3.tcl ext/pdo_sqlite/sqlite/tool/mkkeywordhash.c ext/pdo_sqlite/sqlite/tool/showdb.c ext/pdo_sqlite/sqlite/tool/spaceanal.tcl: file sqlite3ext.h was initially added on branch PHP_5_2. * (PHP_5_2) ext/pdo_sqlite/config.m4 ext/pdo_sqlite/config.w32 ext/pdo_sqlite/package2.xml ext/pdo_sqlite/sqlite/Makefile.in ext/pdo_sqlite/sqlite/Makefile.linux-gcc ext/pdo_sqlite/sqlite/VERSION ext/pdo_sqlite/sqlite/aclocal.m4 ext/pdo_sqlite/sqlite/configure ext/pdo_sqlite/sqlite/configure.ac ext/pdo_sqlite/sqlite/main.mk ext/pdo_sqlite/sqlite/mkdll.sh ext/pdo_sqlite/sqlite/mkopcodeh.awk ext/pdo_sqlite/sqlite/publish.sh ext/pdo_sqlite/sqlite/sqlite3.def ext/pdo_sqlite/sqlite/src/alter.c ext/pdo_sqlite/sqlite/src/analyze.c ext/pdo_sqlite/sqlite/src/attach.c ext/pdo_sqlite/sqlite/src/auth.c ext/pdo_sqlite/sqlite/src/btree.c ext/pdo_sqlite/sqlite/src/btree.h ext/pdo_sqlite/sqlite/src/build.c ext/pdo_sqlite/sqlite/src/callback.c ext/pdo_sqlite/sqlite/src/complete.c ext/pdo_sqlite/sqlite/src/complete.c ext/pdo_sqlite/sqlite/src/date.c ext/pdo_sqlite/sqlite/src/delete.c ext/pdo_sqlite/sqlite/src/experimental.c ext/pdo_sqlite/sqlite/src/expr.c ext/pdo_sqlite/sqlite/src/func.c ext/pdo_sqlite/sqlite/src/hash.c ext/pdo_sqlite/sqlite/src/hash.h ext/pdo_sqlite/sqlite/src/insert.c ext/pdo_sqlite/sqlite/src/keywordhash.h ext/pdo_sqlite/sqlite/src/legacy.c ext/pdo_sqlite/sqlite/src/loadext.c ext/pdo_sqlite/sqlite/src/loadext.c ext/pdo_sqlite/sqlite/src/main.c ext/pdo_sqlite/sqlite/src/opcodes.h ext/pdo_sqlite/sqlite/src/os.c ext/pdo_sqlite/sqlite/src/os.c ext/pdo_sqlite/sqlite/src/os.h ext/pdo_sqlite/sqlite/src/os_common.h ext/pdo_sqlite/sqlite/src/os_mac.c ext/pdo_sqlite/sqlite/src/os_mac.h ext/pdo_sqlite/sqlite/src/os_unix.c ext/pdo_sqlite/sqlite/src/os_win.c ext/pdo_sqlite/sqlite/src/pager.c ext/pdo_sqlite/sqlite/src/pager.h ext/pdo_sqlite/sqlite/src/parse.c ext/pdo_sqlite/sqlite/src/parse.h ext/pdo_sqlite/sqlite/src/parse.y ext/pdo_sqlite/sqlite/src/pragma.c ext/pdo_sqlite/sqlite/src/prepare.c ext/pdo_sqlite/sqlite/src/printf.c ext/pdo_sqlite/sqlite/src/select.c ext/pdo_sqlite/sqlite/src/shell.c ext/pdo_sqlite/sqlite/src/sqlite.h.in: Upgraded bunbled SQLite lib to 3.3.7 2006-08-14 Pierre-Alain Joye * ext/zip/php_zip.c: - MFB: nuke unused parameter (not present in old versions) 2006-08-14 Nuno Lopes * ext/tidy/README ext/tidy/libtidy.txt ext/tidy/php_tidy.h ext/tidy/tidy.c: MFB: static keywording * (PHP_5_2) ext/tidy/README ext/tidy/libtidy.txt ext/tidy/php_tidy.h ext/tidy/tidy.c: more static keywording also remove the libtidy patch, as it is too old. users should use a newer libtify anyway 2006-08-14 Pierre-Alain Joye * (PHP_5_2) ext/zip/php_zip.c: - nuke unused parameter (not present in old versions) 2006-08-14 Antony Dovgal * (PHP_5_2) NEWS main/streams/userspace.c: MFH: fix #38450 (constructor is not called for classes used in userspace stream wrappers) * main/streams/userspace.c: fix #38450 (constructor is not called for classes used in userspace stream wrappers) 2006-08-14 Nuno Lopes * ext/bz2/bz2.c ext/bz2/php_bz2.h ext/ctype/ctype.c ext/ctype/php_ctype.h ext/pspell/php_pspell.h ext/pspell/pspell.c: MFB: a few more static keywording * (PHP_5_2) ext/bz2/bz2.c ext/bz2/php_bz2.h ext/ctype/ctype.c ext/ctype/php_ctype.h ext/pspell/php_pspell.h ext/pspell/pspell.c: a few more static keywording 2006-08-14 Rob Richards * (PHP_5_2) NEWS: BFN fix typo 2006-08-14 Edin Kadribasic * ext/standard/string.c: Fixed windows build. Looking at the macro definition it seems that the second argument to U_STRING_DECL can only be a string literal, not an indetifier. 2006-08-14 Rob Richards * ext/simplexml/simplexml.c ext/simplexml/tests/bug38424.phpt: MFB: fix bug #38424 (Different attribute assignment if new or existing) add test * (PHP_5_2) ext/simplexml/simplexml.c ext/simplexml/tests/bug38424.phpt ext/simplexml/tests/bug38424.phpt: fix bug #38424 (Different attribute assignment if new or existing) add test * ext/dom/php_dom.c: MFB: fix underlying issue for bug #38438 * (PHP_5_2) ext/dom/php_dom.c: fix underlying issue for bug #38438 2006-08-14 Antony Dovgal * (PHP_5_2) run-tests.php: make sure USE_ZEND_ALLOC is always 1 * run-tests.php: make sure USE_ZEND_ALLOC is always 1 when running tests without -m * ext/xmlrpc/xmlrpc-epi-php.c ext/xmlrpc/xmlrpc-epi-php.c ext/xmlrpc/tests/001.phpt ext/xmlrpc/tests/001.phpt ext/xmlrpc/tests/001.phpt ext/xmlrpc/tests/002.phpt ext/xmlrpc/tests/002.phpt ext/xmlrpc/tests/002.phpt: fix segfault and leak in ext/xmlrpc add tests 2006-08-13 Pierre-Alain Joye * (PHP_5_2) ext/zip/php_zip.c ext/zip/tests/oo_namelocate.phpt: - MFH: locateName should not change the state/error, can be used to test an entry * ext/zip/php_zip.c ext/zip/tests/oo_namelocate.phpt: - locateName should not change the state/error, can be used to test an entry * (PHP_5_2) ext/zip/php_zip.c ext/zip/lib/zip.h ext/zip/lib/zip_open.c ext/zip/lib/zip_replace.c: - MFP: - add overwrite mode to ZipArchive::open, always starts a new archive - Fix safe mode checks on extract - Fix possible leaks when a safe mode error has been raised * ext/zip/php_zip.c: - remove all safe mode checks instead of borking the sources...Y * (PHP_5_2) ext/zip/package.xml: - remove package.xml, not needed in php-src but only in pecl * ext/zip/package.xml: - package.xml is not needed here, only in pecl * ext/zip/php_zip.c ext/zip/php_zip.h ext/zip/lib/zip.h ext/zip/lib/zip_open.c ext/zip/lib/zip_replace.c: - add overwrite mode to ZipArchive::open, always starts a new archive - fix build with php6 - remove safemode when built against php6 * ext/zip/examples/create.php ext/zip/examples/dir.php ext/zip/examples/extract.php ext/zip/examples/fopen.php: - remove dl() usage 2006-08-13 Marcus Boerger * run-tests.php: - Always show unicode_semantics state (required for our gcov stuff) 2006-08-13 Ilia Alshanetsky * ext/dom/nodelist.c ext/dom/tests/bug38438.phpt: MFB: Fixed bug #38438 (DOMNodeList->item(0) segfault on empty NodeList) * ext/dom/tests/bug38438.phpt ext/dom/tests/bug38438.phpt: file bug38438.phpt was initially added on branch PHP_5_2. * (PHP_5_2) NEWS ext/dom/nodelist.c: Fixed bug #38438 (DOMNodeList->item(0) segfault on empty NodeList) 2006-08-13 Marcus Boerger * ext/spl/spl.php: - Add link 2006-08-13 Pierre-Alain Joye * (PHP_5_2) ext/zip/TODO ext/zip/php_zip.c: - temp fix for a segfault happening when one adds two entries with the same name 2006-08-12 Nuno Lopes * (PHP_5_2) main/internal_functions.c.in main/internal_functions_nw.c main/internal_functions_win32.c main/php_logos.c main/php_logos.h: const/static keywording 2006-08-12 Derick Rethans * (PHP_4_4) NEWS configure.in main/php_version.h: - Back to -dev * (PHP_4_4) NEWS configure.in main/php_version.h: - Go with RC1. 2006-08-11 Antony Dovgal * (PHP_5_1) NEWS: one bugfix less * (PHP_5_1) ext/xmlrpc/xmlrpc-epi-php.c: revert fix for a segfault 2006-08-11 Ilia Alshanetsky * ext/imap/php_imap.c: PHP 6 does not have safe_mode 2006-08-11 Antony Dovgal * (PHP_4_4) NEWS NEWS NEWS ext/xmlrpc/xmlrpc-epi-php.c ext/xmlrpc/xmlrpc-epi-php.c ext/xmlrpc/xmlrpc-epi-php.c ext/xmlrpc/tests/bug38431.phpt ext/xmlrpc/tests/bug38431.phpt ext/xmlrpc/tests/bug38431.phpt: MFH: fix #38431 (xmlrpc_get_type() crashes PHP on objects) * ext/xmlrpc/xmlrpc-epi-php.c ext/xmlrpc/tests/bug38431.phpt ext/xmlrpc/tests/bug38431.phpt ext/xmlrpc/tests/bug38431.phpt ext/xmlrpc/tests/bug38431.phpt: fix #38431 (xmlrpc_get_type() crashes PHP on objects) 2006-08-11 Nuno Lopes * ext/spl/spl_array.c: MFB5.2: fix #38402 (wrong proto for Array*::offsetGet()) * (PHP_5_2) ext/spl/spl_array.c: fix #38402: wrong proto for Array*::offsetGet() 2006-08-11 Ilia Alshanetsky * ext/imap/php_imap.c ext/imap/php_imap.c ext/imap/php_imap.c: MFB: Extend safe_mode/open_basedir checks to imap_reopen() as well. * (PHP_4_4) ext/imap/php_imap.c: Extend safe_mode/open_basedir checks to imap_reopen() as well. * (PHP_4_4) ext/session/mod_files.c: VCWD_ACCESS does not work on win32 :/ 2006-08-11 Derick Rethans * (PHP_4_4) NEWS Zend/zend_execute.c: - Fixed a memory corruption error with an invalid foreach() call. 2006-08-11 Antony Dovgal * ext/session/tests/bug36459.phpt ext/session/tests/bug36459.phpt ext/session/tests/bug36459.phpt ext/session/tests/bug36459.phpt: fix test 2006-08-11 Ilia Alshanetsky * (PHP_5_1) NEWS configure.in main/php_version.h: 5.1.5RC1 2006-08-10 Ilia Alshanetsky * (PHP_5_1) main/main.c: disable realpath cache for safe_mode & open_basedir * (PHP_5_1) ext/standard/filestat.c: MFB: missing safe_mode check * ext/session/session.c: MFB: fix proto * (PHP_5_2) ext/session/session.c: Fixed proto * ext/curl/interface.c ext/curl/streams.c ext/standard/string.c: MFB: Various security fixes * (PHP_5_2) NEWS: missing bug fixing news * (PHP_5_1) NEWS ext/gd/libgd/gd.c ext/gd/libgd/gd_gd2.c ext/gd/libgd/gd_gif_in.c ext/gd/libgd/gd_gif_out.c: MFH: Fixed bug #38112 (corrupted gif segfaults) (Pierre) * (PHP_5_1) ext/standard/string.c: Fixed typo * (PHP_5_1) NEWS ext/curl/interface.c ext/curl/streams.c ext/standard/string.c: Various security fixes backported from 5.2 * (PHP_5_1) ZendEngine2/zend_alloc.c: Various security fixes backported from 5.2 * (PHP_5_2) ext/curl/streams.c: Fixed condition * (PHP_5_2) ext/curl/interface.c ext/curl/streams.c ext/standard/string.c: Fixed overflow on 64bit systems in str_repeat() and wordwrap(). Disabled CURLOPT_FOLLOWLOCATION in curl when open_basedir or safe_mode are enabled. * php.ini-dist php.ini-recommended ext/session/php_session.h ext/session/session.c ext/standard/head.c ext/standard/head.h: MFB: Added support for httpOnly flag for session extension and cookie setting functions. * (PHP_5_2) NEWS php.ini-dist php.ini-recommended ext/session/php_session.h ext/session/session.c ext/standard/head.c ext/standard/head.h: Added support for httpOnly flag for session extension and cookie setting functions. 2006-08-10 Antony Dovgal * ext/mysqli/tests/028.phpt ext/mysqli/tests/028.phpt ext/standard/tests/file/bug22414.phpt ext/standard/tests/file/bug22414.phpt sapi/apache2handler/sapi_apache2.c sapi/apache2handler/sapi_apache2.c: typos in comments and other minor improvements * (PHP_4_4) ext/standard/tests/file/bug22414.phpt: nuke extra line * ext/oci8/package.xml: add test * ext/oci8/oci8.c ext/oci8/oci8.c ext/oci8/tests/connect_with_charset_001.phpt ext/oci8/tests/connect_with_charset_001.phpt ext/oci8/tests/connect_with_charset_001.phpt: improve connection character set detection: * output a warning if invalid character set was passed to the function * use NLS_LANG by default * ext/standard/string.c: initialize variable 2006-08-09 Nuno Lopes * (PHP_4_4) ext/standard/var_unserializer.c: regenerate file so that #line directives become correct (aka fix lcov builds) * (PHP_5_2) INSTALL win32/install.txt: sync install instructions with the phpdoc xml sources 2006-08-09 Antony Dovgal * ext/standard/tests/strings/add-and-stripcslashes.phpt: fix test * ext/standard/string.c: fix ZTS build 2006-08-09 Andrei Zmievski * unicode-progress.txt ext/standard/string.c: Unicode support for str_shuffle(). * unicode-progress.txt ext/standard/string.c: Upgrade str_rot13() to work with IS_UNICODE type. 2006-08-09 Antony Dovgal * ext/xmlwriter/010.phpt ext/xmlwriter/tests/010.phpt: wrong directory 2006-08-09 Frank M. Kromann * ext/standard/string.c: Fix ZTS builds 2006-08-09 Andrei Zmievski * unicode-progress.txt ext/standard/string.c: addcslashes() and stripcslashes() should work only on binary strings. * ZendEngine2/zend_API.c: Make params API sound less like Raymond Babbitt. 2006-08-09 Antony Dovgal * (PHP_5_2) NEWS: BFN * ext/oci8/package.xml: update * ext/oci8/oci8_lob.c ext/oci8/oci8_lob.c ext/oci8/oci8_statement.c ext/oci8/oci8_statement.c ext/oci8/php_oci8_int.h ext/oci8/php_oci8_int.h ext/oci8/tests/bug35973.phpt ext/oci8/tests/bug35973.phpt ext/oci8/tests/bug35973.phpt: add support for NCLOBs fix #35973 (Error ORA-24806 occurs when trying to fetch a NCLOB field) 2006-08-09 Ilia Alshanetsky * ext/pdo/pdo_stmt.c ext/pdo/tests/bug_38394.phpt: MFB: Fixed bug #38394 (PDO fails to recover from failed prepared statement execution). * (PHP_5_2) NEWS ext/pdo/pdo_stmt.c ext/pdo/tests/bug_38394.phpt ext/pdo/tests/bug_38394.phpt: Fixed bug #38394 (PDO fails to recover from failed prepared statement execution). 2006-08-09 Michael Wallner * main/output.c main/php_output.h tests/output/ob_013.phpt tests/output/ob_018.phpt tests/output/ob_019.phpt: - error message enhancements - avoid duplicate error messages - add PHP_OUTPUT_HANDLER_FLUSHABLE - add PHP_OUTPUT_HANDLER_HOOK_GET_LEVEL - add more tests 2006-08-09 Antony Dovgal * ext/oci8/package.xml: update changelog and file list * (PHP_5_2) NEWS ext/oci8/oci8_statement.c ext/oci8/php_oci8_int.h ext/oci8/tests/bug38161.phpt: MFH: fix #38161 (oci_bind_by_name() returns garbage when Oracle didn't set the variable) * ext/oci8/oci8_statement.c ext/oci8/php_oci8_int.h ext/oci8/tests/bug37581.phpt ext/oci8/tests/bug38161.phpt ext/oci8/tests/bug38161.phpt: fix #38161 (oci_bind_by_name() returns garbage when Oracle didn't set the variable) * ext/oci8/bug37581.phpt: oops, wrong directory * ext/oci8/oci8_statement.c ext/oci8/oci8_statement.c: fix leak on failure 2006-08-09 Michael Wallner * main/output.c: - mark unicode safe functions * main/output.c: - use HashPosition for traversal of registered reverse conflicts - fix protos 2006-08-09 Antony Dovgal * (PHP_5_2) ext/oci8/oci8.c: MFH: fix #8112 (Persistent connections misbehave when Apache process times out) * ext/oci8/oci8.c: fix #8112 (Persistent connections misbehave when Apache process times out) 2006-08-08 Antony Dovgal * ext/standard/string.c: initialize vars * ext/standard/tests/array/compact.phpt ext/standard/tests/strings/trim.phpt: fix tests to be able to run just .phpt's 2006-08-08 Andrei Zmievski * unicode-progress.txt ext/standard/string.c: Convert nl2br() to suppor IS_UNICODE. 2006-08-08 Rob Richards * ext/simplexml/simplexml.c ext/simplexml/tests/002.phpt ext/simplexml/tests/003.phpt ext/simplexml/tests/004.phpt ext/simplexml/tests/005.phpt ext/simplexml/tests/006.phpt ext/simplexml/tests/007.phpt ext/simplexml/tests/008.phpt ext/simplexml/tests/009.phpt ext/simplexml/tests/009b.phpt ext/simplexml/tests/010.phpt ext/simplexml/tests/011.phpt ext/simplexml/tests/012.phpt ext/simplexml/tests/013.phpt ext/simplexml/tests/014.phpt ext/simplexml/tests/014a.phpt ext/simplexml/tests/014b.phpt ext/simplexml/tests/015.phpt ext/simplexml/tests/016.phpt ext/simplexml/tests/016a.phpt ext/simplexml/tests/017.phpt ext/simplexml/tests/018.phpt ext/simplexml/tests/019.phpt ext/simplexml/tests/020.phpt ext/simplexml/tests/021.phpt ext/simplexml/tests/022.phpt ext/simplexml/tests/023.phpt ext/simplexml/tests/024.phpt ext/simplexml/tests/025.phpt ext/simplexml/tests/026.phpt ext/simplexml/tests/027.phpt ext/simplexml/tests/028.phpt ext/simplexml/tests/029.phpt ext/simplexml/tests/030.phpt ext/simplexml/tests/031.phpt ext/simplexml/tests/032.phpt ext/simplexml/tests/033.phpt ext/simplexml/tests/bug26976.phpt ext/simplexml/tests/bug27010.phpt ext/simplexml/tests/bug35785.phpt ext/simplexml/tests/bug36611.phpt ext/simplexml/tests/bug37565.phpt ext/simplexml/tests/bug38347.phpt ext/simplexml/tests/bug38354.phpt ext/simplexml/tests/profile01.phpt ext/simplexml/tests/profile02.phpt ext/simplexml/tests/profile03.phpt ext/simplexml/tests/profile04.phpt ext/simplexml/tests/profile05.phpt ext/simplexml/tests/profile06.phpt ext/simplexml/tests/profile07.phpt ext/simplexml/tests/profile08.phpt ext/simplexml/tests/profile09.phpt ext/simplexml/tests/profile10.phpt ext/simplexml/tests/profile11.phpt ext/simplexml/tests/profile12.phpt ext/simplexml/tests/profile13.phpt: add unicode support update tests (binary string must be passed to simplexml_load_string) * ext/libxml/php_libxml.h: additional unicode/xml macros 2006-08-08 Antony Dovgal * ext/standard/tests/array/bug35014.phpt ext/standard/tests/array/bug35014_64bit.phpt ext/standard/tests/filters/bug22538.phpt: fix tests * ext/standard/array.c: fix logic and memleak * ext/exif/tests/exif001.phpt ext/iconv/tests/iconv001.phpt ext/standard/tests/array/array_filter.phpt ext/standard/tests/strings/nl2br.phpt ext/standard/tests/strings/pathinfo.phpt: fix test 2006-08-08 Andrei Zmievski * ZendEngine2/zend_API.c: Adjust zend_get_unified_string_type() to give correct types. * ZendEngine2/zend_unicode.h: Should be slightly faster to use U16_NEXT here. 2006-08-08 Antony Dovgal * ext/standard/assert.c: fix leak in assert() * main/php_variables.c: unused variable * ext/dom/node.c ext/pdo/pdo_stmt.c ext/simplexml/simplexml.c ext/soap/php_encoding.c ext/soap/php_http.c ext/soap/soap.c ext/sqlite/sqlite.c ext/standard/array.c ext/standard/streamsfuncs.c ext/standard/var.c ext/unicode/unicode.c main/output.c main/php_variables.c main/rfc1867.c main/spprintf.c main/streams/filter.c main/streams/streams.c sapi/cli/php_cli_readline.c: implement zend_unicode_to_string() and zend_string_to_unicode() part #2 (of 2) * ZendEngine2/zend.c ZendEngine2/zend_API.h ZendEngine2/zend_exceptions.c ZendEngine2/zend_hash.c ZendEngine2/zend_language_scanner.l ZendEngine2/zend_unicode.c ZendEngine2/zend_unicode.h: implement zend_unicode_to_string() and zend_string_to_unicode() part #1 (of 2) 2006-08-08 Michael Wallner * (PHP_5_2) NEWS ext/dbase/dbase.c ext/dbase/dbf_head.c: MFH: implement #38357 (dbase_open can't open DBase 3 dbf file) * ext/dbase/dbase.c ext/dbase/dbf_head.c: - implement #38357 (dbase_open can't open DBase 3 dbf file) 2006-08-08 Ilia Alshanetsky * ext/session/mod_files.c ext/session/tests/bug38377.phpt: MFB: Fixed bug #38377 (session_destroy() gives warning after session_regenerate_id()). * (PHP_4_4) NEWS ext/session/mod_files.c ext/session/tests/bug38377.phpt: MFH: Fixed bug #38377 (session_destroy() gives warning after session_regenerate_id()). * (PHP_5_2) NEWS ext/session/mod_files.c ext/session/tests/bug38377.phpt ext/session/tests/bug38377.phpt ext/session/tests/bug38377.phpt: Fixed bug #38377 (session_destroy() gives warning after session_regenerate_id()). 2006-08-08 Antony Dovgal * (PHP_5_2) NEWS: tix fypo 2006-08-08 Stanislav Malyshev * sapi/apache2handler/sapi_apache2.c sapi/apache2handler/sapi_apache2.c sapi/apache2handler/sapi_apache2.c sapi/apache2handler/sapi_apache2.c: fix bug with variables clobbered by longjmp 2006-08-08 Antony Dovgal * (PHP_5_2) ext/standard/info.c: zend_hash_get_current_key_ex() returns string_len + 1, so we need to subtract 1 to get the real length 2006-08-08 Pierre-Alain Joye * (PHP_5_2) ext/gd/gd.c ext/gd/libgd/gd_gd2.c: - fix compiler warnings 2006-08-08 Antony Dovgal * configure.in configure.in ZendEngine2/zend_operators.h ZendEngine2/zend_operators.h: there is no realiable way to detect memrchr() presence because of a mess in glibc so let's use our own implementation 2006-08-08 Pierre-Alain Joye * (PHP_5_2) ext/standard/info.c: - compiler warnings 2006-08-08 Antony Dovgal * (PHP_5_2) ext/standard/string.c ext/standard/tests/strings/strings001.phpt: use memrchr/zend_memrchr instead of strrchr * ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h: %s -> %v ce names are in Unicode * (PHP_5_2) ext/standard/tests/strings/strrchr.phpt: add new test * ext/standard/tests/strings/strrchr.phpt ext/standard/tests/strings/strrchr.phpt: add new test * ext/standard/string.c ext/standard/tests/strings/strings001.phpt: use memrchr/zend_memrchr instead of strrchr fix wrong test 2006-08-08 Derick Rethans * (PHP_5_2) ZendEngine2/zend_operators.h: - Added some docs here so that nobody needs to figure it out once more. 2006-08-08 Antony Dovgal * configure.in configure.in ZendEngine2/zend_operators.h ZendEngine2/zend_operators.h: add zend_memrchr() * ext/standard/string.c: fix typo and invalid read 2006-08-08 Marcus Boerger * ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h ZendEngine2/zend_vm_execute.h tests/classes/ctor_visibility.phpt tests/classes/ctor_visibility.phpt: - Speling 2006-08-07 Marcus Boerger * ext/json/tests/fail001.phpt ext/json/tests/pass001.1.phpt ext/json/tests/pass001.phpt ext/json/tests/pass002.phpt ext/json/tests/pass003.phpt: - MFB Test name must not be more than a single line * (PHP_5_2) ext/json/tests/fail001.phpt ext/json/tests/pass001.1.phpt ext/json/tests/pass001.phpt ext/json/tests/pass002.phpt ext/json/tests/pass003.phpt: - Test name must not be more than a single line * (PHP_5_2) NEWS ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h tests/classes/ctor_visibility.phpt: - MFH Fixed Bug #38064 ignored constructor visibility * ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h: - Fixed Bug #38064 ignored constructor visibility * tests/classes/ctor_visibility.phpt tests/classes/ctor_visibility.phpt: - Add new test 2006-08-07 Antony Dovgal * ext/standard/tests/strings/basename.phpt: fix test in unicode mode * ext/json/tests/001.phpt: add missing UEXPECTF section * ext/exif/tests/exif001.phpt ext/standard/tests/strings/bin2hex.phpt ext/standard/tests/strings/bug24098.phpt ext/wddx/tests/001.phpt: fix test * ext/date/tests/date_constants.phpt ext/date/tests/oo_001.phpt: fix tests * run-tests.php run-tests.php: suppress errors from date() if no date.timezone set don't try to look for libtool if $sys_libtool_path is empty * ext/date/tests/date_create-3.phpt: fix test - class Date has been renamed the test still fails, though... 2006-08-07 Pierre-Alain Joye * ext/zip/lib/zip.h.orig ext/zip/lib/zip.h.orig: - should not have been commited 2006-08-07 Antony Dovgal * (PHP_5_2) ext/dom/node.c: fix types of the variables * ext/dom/node.c: fix types, add missing parentheses 2006-08-07 Ilia Alshanetsky * ext/pdo/pdo_dbh.c: MFB: Fixed memory leak with persistent connections * (PHP_5_2) ext/pdo/pdo_dbh.c: Fixed memory leak with persistent connections * ext/filter/filter.c ext/filter/filter.c: Removed extra byte 2006-08-07 Dmitry Stogov * ZendEngine2/tests/bug38287.phpt ZendEngine2/tests/bug38287.phpt: file bug38287.phpt was initially added on branch PHP_5_2. * (PHP_5_2) NEWS ZendEngine2/zend.h ZendEngine2/zend.h ZendEngine2/zend_objects_API.c ZendEngine2/zend_objects_API.c ZendEngine2/zend_objects_API.h ZendEngine2/zend_objects_API.h ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h ZendEngine2/zend_vm_execute.h ZendEngine2/tests/bug38287.phpt: Fixed bug #38287 (static variables mess up global vars) 2006-08-07 Rob Richards * (PHP_5_2) ext/simplexml/simplexml.c: should be RETURN_ not RETVAL_ * ext/simplexml/php_simplexml.h ext/simplexml/simplexml.c: MFB: asXML() needs to return bool when serializing doc and filename is passed in do not copy the content of the outputbuffer twice in asXML() fix compiler warnings * (PHP_5_2) ext/simplexml/php_simplexml.h ext/simplexml/simplexml.c: asXML() needs to return bool when serializing doc and filename is passed in do not copy the content of the outputbuffer twice in asXML() fix compiler warnings 2006-08-07 Antony Dovgal * (PHP_5_2) ext/spl/php_spl.c: nuke unused variable 2006-08-07 Marcus Boerger * (PHP_5_2) README.UPDATE_5_2: - Update * (PHP_5_2) NEWS ext/dba/config.m4 ext/dba/config.m4: - Fix bug #38290 2006-08-06 Antony Dovgal * configure.in configure.in: use -O0 with --enable-debug * ext/simplexml/tests/bug38354.phpt ext/simplexml/tests/bug38354.phpt: fix test * (PHP_5_2) ext/simplexml/tests/bug38354.phpt: add test * ext/simplexml/tests/bug38354.phpt ext/simplexml/tests/bug38354.phpt: add test 2006-08-06 Christian Stocker * ext/simplexml/simplexml.c: Fix #38354 (Unwanted reformatting of XML when using AsXML) (MFB) * (PHP_5_2) NEWS ext/simplexml/simplexml.c: Fix #38354 (Unwanted reformatting of XML when using AsXML) 2006-08-06 Antony Dovgal * (PHP_5_2) NEWS ext/libxml/libxml.c ext/simplexml/simplexml.c ext/simplexml/tests/bug38347.phpt: MFH: fix #38347 (Segmentation fault when using foreach with an unknown/empty SimpleXMLElement) * ext/libxml/libxml.c ext/simplexml/simplexml.c ext/simplexml/tests/bug38347.phpt ext/simplexml/tests/bug38347.phpt: fix #38347 (Segmentation fault when using foreach with an unknown/empty SimpleXMLElement) * ext/oci8/oci8.c ext/oci8/oci8.c: long -> int 2006-08-06 Marcus Boerger * (PHP_5_2) ext/spl/spl_directory.c: - MFH Fix cvs access through SplFileObject * ext/spl/spl_directory.c: - Fix cvs access through SplFileObject 2006-08-06 Antony Dovgal * (PHP_5_2) ext/simplexml/simplexml.c: avoid extra strlen() call * ext/simplexml/simplexml.c: avoid extra strlen() call, we have the length of the data 2006-08-05 Antony Dovgal * (PHP_5_2) ext/oci8/oci8.c: fix PECL bug #7827 add small optimization * ext/oci8/oci8.c: fix PECL bug #7827 add small optimization - no need to do anything if hash lookup failed, just move along * TSRM/tsrm_virtual_cwd.c: yet another appempt to fix Windows bug thanks Rob for the patch 2006-08-05 Rob Richards * ext/dom/tests/bug34276.phpt ext/dom/tests/bug35342.phpt ext/dom/tests/bug36756.phpt ext/dom/tests/bug37277.phpt ext/dom/tests/canonicalization.phpt ext/dom/tests/dom002.phpt ext/dom/tests/dom007.phpt ext/dom/tests/dom_set_attr_node.phpt ext/dom/tests/dom_test.inc: update tests use binary strings for loadXML() method * ext/dom/document.c: unicode changes * ext/xmlreader/tests/001.phpt ext/xmlreader/tests/005.phpt ext/xmlreader/tests/006.phpt ext/xmlreader/tests/007.phpt ext/xmlreader/tests/008.phpt ext/xmlreader/tests/009.phpt ext/xmlreader/tests/010.phpt ext/xmlreader/tests/011.phpt ext/xmlreader/tests/012.phpt ext/xmlreader/tests/013.phpt: update tests use binary strings for XML() method 2006-08-04 Andrei Zmievski * ext/standard/string.c: Simplify strrchr(). 2006-08-04 Ilia Alshanetsky * ext/mysqli/mysqli_api.c: MFB: Improved fix for bug #37671 * (PHP_5_2) ext/mysqli/mysqli_api.c: Improved fix for bug #37671 2006-08-04 Andrei Zmievski * unicode-progress.txt ext/standard/string.c: Upgrade pathinfo() to Unicode support. * ZendEngine2/zend_API.c ZendEngine2/zend_API.h: Add add_assoc_zstr_ex() and related. * ext/xmlreader/php_xmlreader.c: I believe Rob indicated that XML() should take strictly a binary string. 2006-08-04 Antony Dovgal * (PHP_5_2) TSRM/tsrm_virtual_cwd.c: revert previous patch * TSRM/tsrm_virtual_cwd.c: revert previous patch, it's wrong 2006-08-04 Ilia Alshanetsky * (PHP_4_4) NEWS ext/imap/php_imap.c ext/imap/php_imap.c ext/imap/php_imap.c: MFB: Fixed bug #37265 (Added missing safe_mode & open_basedir checks to imap_body()). * (PHP_5_2) NEWS ext/imap/php_imap.c: Fixed bug #37265 (Added missing safe_mode & open_basedir checks to imap_body()). 2006-08-04 Rob Richards * ext/dom/attr.c ext/dom/cdatasection.c ext/dom/characterdata.c ext/dom/comment.c ext/dom/document.c ext/dom/documentfragment.c ext/dom/domimplementation.c ext/dom/element.c ext/dom/entity.c ext/dom/entityreference.c ext/dom/namednodemap.c ext/dom/node.c ext/dom/notation.c ext/dom/processinginstruction.c ext/dom/text.c ext/dom/xpath.c ext/dom/tests/bug34276.phpt: add unicode support update test * ext/xmlreader/php_xmlreader.c: updated to use new modifier to specify converter 2006-08-04 Andrei Zmievski * ext/standard/php_string.h ext/standard/string.c: Upgrade dirname() to support IS_UNICODE. * ZendEngine2/zend_API.h: Add macros to be able to initialize/return values based on zstr. * ZendEngine2/zend_API.c: One fewer walks needed. * TSRM/tsrm_virtual_cwd.h: Add Unicode constants for default slash and directory separator. * ZendEngine2/zend_API.c: Scan through all the modifiers at once, setting flags. * ZendEngine2/zend_API.c: Fix '&' handling. (patch by Rob R) 2006-08-04 Antony Dovgal * (PHP_4_4) ext/standard/tests/strings/bug38322.phpt ext/standard/tests/strings/bug38322.phpt: add new test * ext/standard/tests/strings/bug38322.phpt ext/standard/tests/strings/bug38322.phpt ext/standard/tests/strings/bug38322.phpt: 1.1.4; add new test 2006-08-04 Rob Richards * ext/soap/soap.c: fix compile 2006-08-04 Antony Dovgal * (PHP_4_4) NEWS NEWS NEWS ext/standard/scanf.c ext/standard/scanf.c ext/standard/scanf.c: MFH: fix #38322 (reading past array in sscanf() leads to arbitary code execution) * ext/standard/scanf.c: fix #38322 (reading past array in sscanf() leads to arbitary code execution) * (PHP_5_2) ext/simplexml/tests/032.phpt: fix test * ext/simplexml/tests/032.phpt: comparing libxml documents and nodes is not yet possible and we can't fix it fix test instead 2006-08-04 Dmitry Stogov * ext/soap/soap.c ext/soap/tests/bugs/bug32776.phpt ext/soap/tests/bugs/bug38005.phpt: Unicode support 2006-08-04 Derick Rethans * ZendEngine2/acinclude.m4: - MFB: Bison 2.3 is working as well. * (PHP_5_1) ZendEngine2/acinclude.m4 ZendEngine2/acinclude.m4: - There is a 2.3 now as well. 2006-08-03 Andrei Zmievski * TSRM/tsrm_virtual_cwd.h: Add IS_U_SLASH_* macros to test for path separator chars. * ext/standard/string.c: Upgraded basename() to work on IS_UNICODE strings as well. * unicode-progress.txt unicode-todo.txt ext/standard/array.c ext/standard/php_string.h ext/standard/string.c: - Adjusted php_u_strtoupper/php_u_strtolower/php_u_strtotitle API to be more sane. - Upgrade strtoupper(), strtolower(), strtotitle() to use params API. * unicode-progress.txt ext/standard/string.c: Update similar_text() to use params API. 2006-08-03 Antony Dovgal * ext/filter/filter.c ext/filter/filter.c: fix leak in php_sapi_filter() 2006-08-03 Dmitry Stogov * ext/soap/php_packet_soap.c ext/soap/soap.c: Unicode support. 2006-08-03 Ilia Alshanetsky * ext/spl/php_spl.c: MFB: Fixed bug #38303 (spl_autoload_register() supress all errors silently). * (PHP_5_2) NEWS ext/spl/php_spl.c: Fixed bug #38303 (spl_autoload_register() supress all errors silently). 2006-08-03 Antony Dovgal * (PHP_5_2) NEWS TSRM/tsrm_virtual_cwd.c: MFH: fix #38276 (file_exists() works incorrectly with long filenames on Windows) * TSRM/tsrm_virtual_cwd.c: fix #38276 (file_exists() works incorrectly with long filenames on Windows) aka "Ilia forgot to MFB fix for #31347" 2006-08-03 Dmitry Stogov * (PHP_5_2) NEWS win32/registry.c win32/registry.c: Added version specific registry keys to allow different configurations for different php version. * (PHP_5_2) NEWS main/php_ini.c main/php_ini.c: In addtion to path to php.ini, PHPRC now may specify full file name 2006-08-03 Antony Dovgal * ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h ZendEngine2/zend_vm_execute.h: make it consistent * ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h: improve error message 2006-08-03 Dmitry Stogov * (PHP_5_2) NEWS sapi/apache/mod_php5.c sapi/apache/mod_php5.c sapi/apache_hooks/mod_php5.c sapi/apache_hooks/mod_php5.c: Added "PHPINIDir" Apache directive to apache and apache_hooks SAPIs 2006-08-02 Antony Dovgal * ext/date/tests/oo_001.phpt ext/date/tests/oo_001.phpt: fix test * (PHP_5_2) ext/wddx/wddx.c: fix ZTS build * ext/wddx/wddx.c: fix build 2006-08-02 Andrei Zmievski * ext/standard/string.c: A few fixes noted during analysis. * unicode-progress.txt: Notes after analyzing remainder of string.c. * ext/standard/string.c: bin2hex() should accept only binary strings. * ZendEngine2/zend_operators.c: Make string comparison functions conver to unicode or printable strings depending on unicode.semantics and do the right thing. * unicode-todo.txt: Some updates. * README.PARAMETER_PARSING_API unicode-progress.txt unicode-todo.txt: -** empty log message *** * ZendEngine2/zend_API.c: Add '&' modifier (for 's' type) that will apply the specified converter during conversion of Unicode strings. 2006-08-02 Ilia Alshanetsky * ext/wddx/wddx.c ext/wddx/tests/bug37569.phpt: MFB: Fixed bug #38213, #37611, #37571 (wddx encoding fails to handle certain characters). * (PHP_5_2) NEWS ext/wddx/wddx.c ext/wddx/tests/bug37569.phpt: Fixed bug #38213, #37611, #37571 (wddx encoding fails to handle certain characters). * ext/xml/php_xml.h ext/xml/xml.c: MFB: Expose the xml_utf8_encode function. * (PHP_5_2) ext/xml/php_xml.h ext/xml/xml.c: Expose the xml_utf8_encode function. 2006-08-02 Antony Dovgal * ext/mysql/php_mysql.c ext/mysql/php_mysql.c: init variable, eliminate compile warning * (PHP_5_2) NEWS ext/session/session.c: MFH: fix #38289 (segfault in session_decode() when _SESSION is NULL) * ext/session/session.c: fix #38289 (segfault in session_decode() when _SESSION is NULL) 2006-08-02 Dmitry Stogov * ext/standard/array.c: zts fix 2006-08-02 Andrei Zmievski * ext/standard/array.c: Fix leaks. 2006-08-01 Antony Dovgal * (PHP_5_2) ext/gd/gd.c ext/gd/gd_ctx.c: MFH: implement my own FR #36995 add missing ifdefs * ext/gd/gd.c ext/gd/gd_ctx.c: implement my own FR #36995 nuke unused variable 2006-08-01 Andrei Zmievski * unicode-progress.txt ext/standard/array.c: Add SORT_LOCALE_STRING support to array_multisort() and mark it with U. * unicode-progress.txt ext/standard/array.c: Whew. Fix up extract to params API, Unicode support, and simplify it as well. * ZendEngine2/zend_unicode.c: Fix off-by-one error in zend_case_fold_string(). * ZendEngine2/zend_operators.c: Rewrite IS_LONG, IS_DOUBLE, and IS_RESOURCE to IS_UNICODE conversion to use custom functions instead of u_sprintf() which is terribly slow at the moment (for numbers). Now long-to-unicode is only 8% slower than long-to-binary and double-to-unicode is actually 6% faster. 2006-08-01 Michael Wallner * ext/date/tests/oo_001.phpt ext/date/tests/oo_001.phpt: - update test * (PHP_5_2) ext/date/php_date.c: MFH: use library error message on time string parse failure * ext/date/php_date.c: - use library error message on time string parse failure 2006-08-01 Ilia Alshanetsky * ext/pdo/pdo_dbh.c ext/pdo/php_pdo_driver.h: Fixed build (added missing functions) * ext/pdo_pgsql/pgsql_statement.c: MFB: Fixed bug #38168 (Crash in pdo_pgsql on missing bound parameters). * (PHP_5_2) NEWS ext/pdo_pgsql/pgsql_statement.c: Fixed bug #38168 (Crash in pdo_pgsql on missing bound parameters). 2006-08-01 Dmitry Stogov * ext/soap/php_encoding.c ext/soap/php_http.c ext/soap/php_soap.h ext/soap/soap.c ext/soap/tests/cookie.phpt ext/soap/tests/bugs/bug32941.phpt: Unicode support 2006-08-01 Michael Wallner * (PHP_5_2) ext/date/php_date.c: MFH: - fix leaks on multiple calls to DateTime::__construct() - throw exception on unparseable time strings in DateTime::__construct() * ext/date/php_date.c: - fix leaks on multiple calls to DateTime::__construct() - throw exception on unparseable time strings in DateTime::__construct() 2006-08-01 Ilia Alshanetsky * ext/pdo/pdo_stmt.c: MFB: Fixed memory leak on unused bound name parameters. * (PHP_5_2) ext/pdo/pdo_stmt.c: Fixed memory leak on unused bound name parameters. 2006-08-01 Michael Wallner * (PHP_5_2) ext/date/php_date.c ext/date/php_date.h ext/date/tests/oo_001.phpt: MFH: - OO fixes: . no is_ref for objects in PHP5+ . initialize objects when created with the `new` operator . check for proper initialization in child classes - fix typo: transistion -> transition - add test 2006-08-01 Antony Dovgal * (PHP_5_2) NEWS ext/curl/streams.c: MFH: fix #38269 (fopen wrapper doesn't fail on invalid hostname with curlwrappers enabled) 2006-08-01 Michael Wallner * ext/date/php_date.c ext/date/php_date.h ext/date/tests/oo_001.phpt ext/date/tests/oo_001.phpt: - OO fixes: . no is_ref for objects in PHP5+ . initialize objects when created with the `new` operator . check for proper initialization in child classes - fix typo: transistion -> transition - add test 2006-08-01 Antony Dovgal * ext/curl/streams.c: fix #38269 (fopen wrapper doesn't fail on invalid hostname with curlwrappers enabled) * ext/oci8/oci8.c ext/oci8/oci8.c: improve error message on Win32 * (PHP_4_4) NEWS ext/sockets/sockets.c: re-apply fix for #38251 (socket_select() and invalid arguments) * (PHP_4_4) tests/lang/bug35239.phpt: fix test (but it still fails) * (PHP_4_4) NEWS NEWS NEWS: BFN * (PHP_4_4) ext/session/session.c ext/session/session.c: MFH: fix #38278 (session_cache_expire()'s value does not match phpinfo's session.cache_expire) * ext/session/session.c: fix #38278 (session_cache_expire()'s value does not match phpinfo's session.cache_expire) 2006-08-01 Derick Rethans * (PHP_4_4) NEWS configure.in main/php_version.h: - Back to dev 2006-07-31 Ilia Alshanetsky * ext/pdo/pdo_dbh.c ext/pdo/pdo_stmt.c ext/pdo_mysql/tests/bug_37445.phpt: MFB: Fixed bug #37445 (Fixed crash in pdo_mysql resulting from premature object destruction). * (PHP_5_2) NEWS ext/pdo/pdo_dbh.c ext/pdo/pdo_stmt.c ext/pdo_mysql/tests/bug_37445.phpt ext/pdo_mysql/tests/bug_37445.phpt ext/pdo_mysql/tests/common.phpt: Fixed bug #37445 (Fixed crash in pdo_mysql resulting from premature object destruction). * (PHP_5_2) ext/pdo_mysql/tests/bug_33689.phpt ext/pdo_mysql/tests/common.phpt ext/pdo_mysql/tests/last_insert_id.phpt ext/pdo_mysql/tests/pecl_bug_5200.phpt ext/pdo_mysql/tests/pecl_bug_5780.phpt ext/pdo_mysql/tests/pecl_bug_5802.phpt ext/pdo_mysql/tests/show_tables.phpt: Fixed tests from being always skipped. 2006-07-31 Dmitry Stogov * ext/soap/php_http.c ext/soap/php_sdl.c ext/soap/php_soap.h ext/soap/soap.c ext/soap/tests/server019.phpt ext/soap/tests/server020.phpt ext/soap/tests/setheaders.phpt: Reimplemented SoapServer and SoapClient classes using ZE2 object API. All internal properties are hidden now. * (PHP_5_2) ext/soap/soap.c: Prevented possible double call in case of fault 2006-07-31 Derick Rethans * (PHP_4_4) NEWS configure.in main/php_version.h: - Go with 4.4.3. 2006-07-31 Dmitry Stogov * ext/soap/tests/setheaders.phpt ext/soap/tests/setheaders.phpt: file setheaders.phpt was initially added on branch PHP_5_2. * (PHP_5_2) ext/soap/soap.c: Fixed crash in SoapClient::__setSoapHeaders() 2006-07-31 Christian Stocker * ext/xsl/xsltprocessor.c: return false instead of null, if it's an invalid document (MFB) * (PHP_5_2) ext/xsl/xsltprocessor.c: return false instead of null, if it's an invalid document * (PHP_5_2) NEWS: make a NEWS entry about - Fixed XSLTProcessor::importStylesheet() to return TRUE on success * ext/xsl/xsltprocessor.c ext/xsl/xsltprocessor.c: return true, if xsl import did work 2006-07-31 Antony Dovgal * (PHP_5_2) NEWS ext/oci8/oci8.c ext/oci8/oci8_statement.c ext/oci8/php_oci8_int.h ext/oci8/tests/array_bind_005.phpt: MFH: fix #37581 (oci_bind_array_by_name clobbers input array when using SQLT_AFC, AVC) * ext/oci8/tests/bug37581.phpt ext/oci8/tests/bug37581.phpt: file bug37581.phpt was initially added on branch PHP_5_2. * ext/oci8/bug37581.phpt ext/oci8/oci8.c ext/oci8/oci8_statement.c ext/oci8/php_oci8_int.h ext/oci8/tests/array_bind_005.phpt: fix #37581 (oci_bind_array_by_name clobbers input array when using SQLT_AFC, AVC) 2006-07-31 Ilia Alshanetsky * ext/openssl/openssl.c: MFB: Fixed compiler warning. * (PHP_5_2) ext/openssl/openssl.c: Fixed compiler warning. 2006-07-31 Pierre-Alain Joye * (PHP_5_2) NEWS: - #36732 entry - move openssl bug fixes * ext/openssl/openssl.c ext/openssl/tests/bug36732.phpt: - MFB: #36732, add req_extensions support to openssl_csr_new and _sign (ben at psc dot edu) - MFB: fix leaks in openssl_csr_new and sig * (PHP_5_2) ext/openssl/openssl.c ext/openssl/tests/bug36732.phpt ext/openssl/tests/bug36732.phpt: - #36732, add req_extensions support to openssl_csr_new and _sign (ben at psc dot edu) - fix leaks in openssl_csr_new and sign 2006-07-30 Antony Dovgal * ext/oci8/package.xml: update changelog * (PHP_5_2) NEWS ext/oci8/oci8_interface.c ext/oci8/oci8_statement.c ext/oci8/php_oci8_int.h ext/oci8/tests/bug38173.phpt: MFH: fix #38173 (Freeing nested cursors causes OCI8 to segfault) * ext/oci8/oci8_interface.c ext/oci8/oci8_statement.c ext/oci8/php_oci8_int.h: fix #38173 (Freeing nested cursors causes OCI8 to segfault) * ext/oci8/tests/bug38173.phpt ext/oci8/tests/bug38173.phpt: fix #38173 (Freeing nested cursors causes OCI8 to segfault) * (PHP_4_4) ext/sockets/sockets.c: temporarily revert the patch by request of Derick 2006-07-30 Pierre-Alain Joye * (PHP_5_2) NEWS: - group openssl entries * ext/openssl/openssl.c ext/openssl/openssl.c ext/openssl/tests/bug28382.phpt ext/openssl/tests/bug28382.phpt ext/openssl/tests/bug28382.phpt ext/openssl/tests/bug28382cert.txt ext/openssl/tests/bug28382cert.txt ext/openssl/tests/bug28382cert.txt: - #28382, add support for x509 extensions * ext/openssl/openssl.c ext/openssl/tests/bug38261.phpt: - MFB: #38261, openssl_x509_parse leaks with invalid certs * (PHP_5_2) NEWS ext/openssl/openssl.c ext/openssl/tests/bug38261.phpt ext/openssl/tests/bug38261.phpt: - 38261: openssl_x509_parse leaks with invalid certs 2006-07-30 Antony Dovgal * ext/sockets/sockets.c ext/sockets/sockets.c: improve checks and fix #38251 * ext/xmlrpc/libxmlrpc/xml_element.c: fix compile warnings (#38257) * ext/pdo/pdo_stmt.c ext/pdo/tests/bug_38253.phpt: MFB: bug #38253 (PDO produces segfault with default fetch mode) add test * (PHP_5_2) NEWS ext/pdo/pdo_stmt.c ext/pdo/tests/bug_38253.phpt ext/pdo/tests/bug_38253.phpt: fix bug #38253 (PDO produces segfault with default fetch mode) add test 2006-07-30 Georg Richter * ext/mysqli/tests/bug37090.phpt ext/mysqli/tests/bug37090.phpt: file bug37090.phpt was initially added on branch PHP_5_2. 2006-07-30 Pierre-Alain Joye * ext/openssl/openssl.c: - MFB: silent compiler warnins (signess) * (PHP_5_2) ext/openssl/openssl.c: - silent compiler warnings (signess) * ext/openssl/openssl.c: - MFB: vi happiness 2006-07-30 Andrei Zmievski * (PHP_5_2) ext/standard/array.c: Make array_merge(_recursive) handle binary keys safely. (Patch by Matt W) 2006-07-29 Pierre-Alain Joye * (PHP_5_2) ext/openssl/openssl.c: - MFH: make the test more obvious and add an explanation * ext/openssl/openssl.c: - make the test more obvious and add an explanation * (PHP_5_2) ext/openssl/openssl.c: - vi happiness++ 2006-07-29 Antony Dovgal * ext/openssl/tests/bug38255.phpt: MFB: improve test * (PHP_5_2) ext/openssl/tests/bug38255.phpt: improve test 2006-07-29 Pierre-Alain Joye * ext/openssl/openssl.c ext/openssl/openssl.c: - #38255, fails on array as well * (PHP_5_2) NEWS: - entry for #37820 and leak * (PHP_5_2) ext/openssl/tests/bug37820.phpt ext/openssl/tests/bug37820cert.pem ext/openssl/tests/bug37820key.pem ext/openssl/tests/bug38255.phpt: - forgot the tests * ext/openssl/openssl.c ext/openssl/tests/bug38255.phpt ext/openssl/tests/bug38255.phpt: - MFH: #38255, fix possible leak in php_openssl_evp_from_zval * (PHP_5_2) ext/openssl/openssl.c: - fix leak when the key is not a valid key (like false or an array) * ext/openssl/openssl.c ext/openssl/tests/bug37820.phpt ext/openssl/tests/bug37820.phpt ext/openssl/tests/bug37820cert.pem ext/openssl/tests/bug37820cert.pem ext/openssl/tests/bug37820key.pem ext/openssl/tests/bug37820key.pem: - #37820, add support for algorithm type in openssl_verify() 2006-07-29 Seiji Masugata * ext/mbstring/tests/mb_strlen.phpt ext/mbstring/tests/mb_strlen.phpt ext/mbstring/tests/mb_strlen.phpt ext/mbstring/tests/mb_substr.phpt ext/mbstring/tests/mb_substr.phpt ext/mbstring/tests/mb_substr.phpt: fix tests. 2006-07-29 Pierre-Alain Joye * (PHP_5_2) ext/filter/logical_filters.c ext/filter/tests/bug8315.phpt: - #8315, flaot is affected too * ext/filter/logical_filters.c ext/filter/package.xml ext/filter/tests/bug8315.phpt: - MFH: #8315, NULL character stops the validation * (PHP_5_2) ext/filter/logical_filters.c ext/filter/package.xml ext/filter/tests/bug8315.phpt ext/filter/tests/bug8315.phpt: - #8315, NULL character stops the validation 2006-07-28 Hannes Magnusson * ext/date/tests/date_constants.phpt: MFB: Update test * (PHP_5_2) ext/date/php_date.c ext/date/tests/date_constants.phpt: Fix DateTime::RSS Update tests 2006-07-28 Ilia Alshanetsky * ext/hash/hash.c: MFB: cleanup of the phpinfo() output. * (PHP_5_2) ext/hash/hash.c: cleanup of the phpinfo() output. * (PHP_5_2) NEWS ext/standard/info.c ext/standard/info.h: ext/standard/info.c ext/standard/info.h * ext/zip/php_zip.c: MFB: Cleanup phpinfo() output * (PHP_5_2) ext/zip/php_zip.c: Cleanup phpinfo() output 2006-07-28 Antony Dovgal * (PHP_5_2) ext/standard/tests/file/bug24313.phpt: fix test * ext/standard/tests/file/bug24313.phpt: fix test I really hope there are no systems where /dev is a symlink * run-tests.php: enabling --leak-check was bad idea, since there are way too much false positives caused by the absence of Zend MM * (PHP_5_2) NEWS ext/standard/string.c: MFH: patch for #37846 (wordwrap() wraps incorrectly) by Dmitry Kononov * ext/standard/string.c: patch for #37846 (wordwrap() wraps incorrectly) by Dmitry Kononov 2006-07-28 Pierre-Alain Joye * ext/filter/filter.c: - HEAD does not suppot magic_gpc 2006-07-27 Ilia Alshanetsky * ext/filter/filter.c: MFB: Fixed a bug in the filter extension that prevented magic_quotes_gpc from being applied when RAW filter is used. * (PHP_5_2) NEWS ext/filter/filter.c: Fixed a bug in the filter extension that prevented magic_quotes_gpc from being applied when RAW filter is used. * main/php_variables.c main/rfc1867.c: MFB: Fixed bug #38236 (Binary data gets corrupted on multipart/formdata POST). * (PHP_5_2) main/rfc1867.c: Binary safe multipart request handling 2006-07-27 Nuno Lopes * ext/zlib/php_zlib.h ext/zlib/zlib.c ext/zlib/tests/001.phpt ext/zlib/tests/002.phpt ext/zlib/tests/003.phpt ext/zlib/tests/005.phpt ext/zlib/tests/006.phpt ext/zlib/tests/007.phpt ext/zlib/tests/bug_34821.phpt: upgrade the rest of the functions to Unicode (except ob_gzhandler, that I leave for Mike). also update tests to force binary data to be passed * ext/zlib/zlib.c: convert void* to zstr when using the 't' parameter type 2006-07-27 Ilia Alshanetsky * (PHP_5_2) NEWS main/php_variables.c: Fixed bug #38236 (Binary data gets corrupted on multipart/formdata POST). * ext/session/mod_files.c ext/session/php_session.h ext/session/session.c: MFB: An improved fix for bug #38224 * (PHP_5_2) ext/session/mod_files.c ext/session/php_session.h ext/session/session.c: An improved fix for bug #38224 2006-07-27 Dmitry Stogov * ext/soap/php_encoding.c ext/soap/php_packet_soap.c ext/soap/php_xml.c ext/soap/php_xml.h ext/soap/soap.c: Removed deprecated #ifdef ZEND_ENGINE_2 * ext/soap/soap.c: Unicode support (not finished) 2006-07-27 Ilia Alshanetsky * ext/session/session.c: MFB: make C++ compilers happy * (PHP_5_2) ext/session/session.c: make C++ compilers happy * ext/session/session.c: Removed debug code * (PHP_5_2) ext/session/session.c: removed debug code * ext/session/session.c: MFB: Fixed bug #38224 (session extension can't handle broken cookies). * (PHP_5_2) NEWS ext/session/session.c: Fixed bug #38224 (session extension can't handle broken cookies). * ext/date/lib/parse_date.c ext/date/lib/parse_date.re ext/date/tests/bug38229.phpt: MFB: Fixed bug #38229 (strtotime() does not parse YYYY-MM format). * ext/date/tests/bug38229.phpt ext/date/tests/bug38229.phpt: file bug38229.phpt was initially added on branch PHP_5_2. * (PHP_5_2) NEWS ext/date/lib/parse_date.c ext/date/lib/parse_date.re: Fixed bug #38229 (strtotime() does not parse YYYY-MM format). 2006-07-27 Antony Dovgal * (PHP_5_2) ext/mysqli/mysqli.c: MFH: fix leak in php_local_infile_init() handler * ext/mysqli/mysqli.c: fix leak in php_local_infile_init() handler 2006-07-27 Dmitry Stogov * ZendEngine2/tests/bug38234.phpt ZendEngine2/tests/bug38234.phpt: file bug38234.phpt was initially added on branch PHP_5_2. * (PHP_5_2) NEWS ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h ZendEngine2/zend_vm_execute.h ZendEngine2/tests/bug38234.phpt: Fixed bug #38234 (Exception in __clone makes memory leak) * ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h: Fixed mess with semantic of zend_normalize_identifier()'s return value (SUCCESS != 1) * ext/reflection/php_reflection.c ext/reflection/tests/bug38132.phpt: Fix usage of uninitialized value and unicode support 2006-07-27 Jani Taskinen * (PHP_5_2) configure.in main/php_version.h scripts/php-config.in scripts/man1/php-config.1.in: MFH: - Added PHP_VERSION_ID == PHP_VERSION as integer. * configure.in main/php_version.h: - Removed unnecessary quotes * configure.in main/php_version.h scripts/php-config.in scripts/man1/php-config.1.in: - Added PHP_VERSION_ID == PHP_VERSION as integer value. 2006-07-27 Dmitry Stogov * (PHP_5_2) NEWS ZendEngine2/zend_builtin_functions.c ZendEngine2/zend_builtin_functions.c ZendEngine2/tests/bug38047.phpt ZendEngine2/tests/bug38047.phpt ZendEngine2/tests/bug38047.phpt: Fixed bug #38047 ("file" and "line" sometimes not set in backtrace from inside error handler) 2006-07-27 Antony Dovgal * ext/calendar/tests/jdtomonthname.phpt: MFB: fix test on 64bit machines * (PHP_5_2) ext/calendar/tests/jdtomonthname.phpt: fix test on 64bit machines * (PHP_5_2) ext/pdo/pdo_dbh.c: initialize var * (PHP_5_2) ext/mbstring/oniguruma/regerror.c: fix build with Intel C Compiler 2006-07-27 Jani Taskinen * (PHP_5_2) NEWS ext/snmp/php_snmp.h ext/snmp/snmp.c: MFH: - Fixed bug #37164 (snmp_set_oid_numeric_print() misbehaves) MFH: . Renamed the function to snmp_set_oid_output_format() which describes MFH: it's behaviour better. Old one was left as an alias for it. MFH: . Added 2 new constants: SNMP_OID_OUTPUT_FULL and SNMP_OID_OUTPUT_NUMERIC MFH: - Fixed some memleaks * ext/snmp/snmp.c: - Fixed bug #37164 (snmp_set_oid_numeric_print() misbehaves) . Renamed the function to snmp_set_oid_output_format() which describes it's behaviour better. Old one was left as an alias for it. . Added 2 new constants: SNMP_OID_OUTPUT_FULL and SNMP_OID_OUTPUT_NUMERIC - Fixed some memleaks * (PHP_5_2) ext/standard/credits_ext.h: update credits * (PHP_5_2) scripts/php-config.in: MFH:- Fix build with ext/date/lib with shared extensions * scripts/php-config.in: - Fix build with ext/date/lib with shared extensions * ext/wddx/config.m4: - Fix phpize build 2006-07-27 Ilia Alshanetsky * ext/zip/zip_stream.c: MFB: Fixed compiler warnings. * (PHP_5_2) ext/zip/zip_stream.c: Fixed compiler warnings. * ext/reflection/php_reflection.c: MFB: Improved fix for bug #38132 2006-07-26 Jani Taskinen * (PHP_5_2) NEWS ext/snmp/snmp.c: MFH: - Fixed bug #37564 (AES privacy encryption not possible due to net-snmp 5.2 compatibility issue) * ext/snmp/snmp.c: - Fixed bug #37564 (AES privacy encryption not possible due to net-snmp 5.2 compatibility issue) 2006-07-26 Ilia Alshanetsky * ext/reflection/tests/bug38132.phpt: Added test for bug #38132 2006-07-26 Pierre-Alain Joye * ext/filter/tests/033.phpt ext/filter/tests/033.phpt ext/filter/tests/033_run.inc: - fix test * (PHP_5_2) ext/filter/tests/033_run.inc: - readability 2006-07-26 Ilia Alshanetsky * (PHP_5_2) ext/reflection/php_reflection.c ext/reflection/tests/bug38132.phpt: Improved fix for bug #38132 2006-07-26 Antony Dovgal * (PHP_4_4) sapi/cli/php.1.in: fix typo (#38223) 2006-07-26 Dmitry Stogov * (PHP_5_2) NEWS ZendEngine2/zend_object_handlers.c ZendEngine2/zend_object_handlers.c ZendEngine2/zend_objects.c ZendEngine2/zend_objects.c ZendEngine2/tests/bug38220.phpt ZendEngine2/tests/bug38220.phpt ZendEngine2/tests/bug38220.phpt: Fixed bug #38220 (Crash on some object operations) 2006-07-26 Antony Dovgal * (PHP_5_2) main/rfc1867.h: eliminate compilation warnings on AIX 2006-07-26 Jani Taskinen * (PHP_5_2) NEWS: fix news 2006-07-26 Antony Dovgal * run-tests.php run-tests.php: turn Off Zend MM and check for leaks when running tests through valgrind * sapi/apache2handler/sapi_apache2.c sapi/apache2handler/sapi_apache2.c: nuke unused variable 2006-07-26 Pierre-Alain Joye * (PHP_5_2) NEWS: - 38212 & 38214 * ext/gd/libgd/gd_gif_out.c: - MFB #38214, gif interlace never worked * (PHP_5_2) ext/gd/libgd/gd_gif_out.c: - #38214, gif interlace never works 2006-07-26 Dmitry Stogov * ZendEngine2/tests/bug38211.phpt ZendEngine2/tests/bug38211.phpt: file bug38211.phpt was initially added on branch PHP_5_2. * (PHP_5_2) NEWS ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h ZendEngine2/zend_vm_execute.h ZendEngine2/tests/bug38211.phpt: Fixed bug #38211 (variable name and cookie name match breaks script execution) 2006-07-26 Pierre-Alain Joye * ext/gd/tests/38179.phpt ext/gd/tests/bug38179.phpt ext/gd/tests/bug38179.phpt: - mv 38179.phpt to bug38179.phpt 2006-07-26 Antony Dovgal * (PHP_5_2) configure.in ext/standard/basic_functions.c: MFH: fix compile warning on Solaris, getloadavg() is in sys/loadavg.h there * configure.in ext/standard/basic_functions.c: fix compile warning on Solaris, getloadavg() is in sys/loadavg.h there 2006-07-26 Pierre-Alain Joye * (PHP_5_2) ext/gd/libgd/gd_gd2.c ext/gd/tests/bug38212.phpt: - MFH #38212, Segfault on invalid imagecreatefromgd2part() parameters * ext/gd/libgd/gd_gd2.c ext/gd/tests/bug38212.phpt ext/gd/tests/bug38212.phpt: - #38212, Segfault on invalid imagecreatefromgd2part() parameters 2006-07-26 Dmitry Stogov * ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.c: Fixed crash of DEBUG version on SPARC CPU because of unaligned pointers. 2006-07-26 Antony Dovgal * ext/reflection/php_reflection.c ext/reflection/tests/bug38217.phpt: fix bug #38217 (ReflectionClass::newInstanceArgs() tries to allocate too much memory) * (PHP_5_2) NEWS ext/reflection/php_reflection.c ext/reflection/tests/bug38217.phpt ext/reflection/tests/bug38217.phpt: MFH: fix bug #38217 (ReflectionClass::newInstanceArgs() tries to allocate too much memory) * ext/oci8/oci8.c ext/oci8/oci8.c: improve connection timeout check (implements FR #38210) 2006-07-25 Michael Wallner * ext/tidy/tidy.c: - fix compiler warnings * ext/tidy/tidy.c: - reduce memory footprint * sapi/apache/php_apache.c: - fix TS issue found by Jani 2006-07-25 Hannes Magnusson * (PHP_5_2) ext/standard/basic_functions.c ext/standard/var.c: MFH: Update protos & arginfo for memory_get_usage() & memory_get_peak_usage() * ext/standard/basic_functions.c ext/standard/var.c: Update protos & arginfo for memory_get_usage() & memory_get_peak_usage() 2006-07-25 Michael Wallner * (PHP_5_2) ext/reflection/php_reflection.c: - ws 2006-07-25 Ilia Alshanetsky * ext/reflection/tests/bug38132.phpt ext/reflection/tests/bug38132.phpt: file bug38132.phpt was initially added on branch PHP_5_2. * (PHP_5_2) NEWS ext/reflection/php_reflection.c: Fixed bug #38132 (ReflectionClass::getStaticProperties() retains \0 in key names). 2006-07-25 Dmitry Stogov * (PHP_5_2) NEWS ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.h ZendEngine2/zend_alloc.h ext/standard/var.c ext/standard/var.c sapi/apache/mod_php5.c sapi/apache/mod_php5.c sapi/apache2filter/sapi_apache2.c sapi/apache2filter/sapi_apache2.c sapi/apache2handler/sapi_apache2.c sapi/apache2handler/sapi_apache2.c sapi/apache_hooks/mod_php5.c sapi/apache_hooks/mod_php5.c: Changed memory_get_usage() and memory_get_peak_usage(). Optional boolean argument allows get memory size allocated by emalloc() (by default) or real size of memory allocated from system. 2006-07-25 Antony Dovgal * (PHP_5_2) NEWS: news entry * (PHP_5_2) NEWS: ext/filepro moved to PECL 2006-07-25 Ilia Alshanetsky * ext/reflection/php_reflection.c ext/reflection/tests/bug38194.phpt: MFB: Fixed bug #38194 (ReflectionClass::isSubclassOf() returns TRUE for the class itself). * (PHP_5_2) NEWS ext/reflection/php_reflection.c ext/reflection/tests/bug38194.phpt ext/reflection/tests/bug38194.phpt: Fixed bug #38194 (ReflectionClass::isSubclassOf() returns TRUE for the class itself). 2006-07-25 Antony Dovgal * (PHP_5_2) ext/filter/filter.c: MFH: check g_hash for NULL before resetting it * ext/filter/filter.c: check g_hash for NULL before resetting it 2006-07-25 Uwe Schindler * (PHP_5_2) ext/sybase_ct/php_sybase_ct.c: MFH: Fix compilation with TSRM (now correct) * (PHP_5_2) ext/sybase_ct/php_sybase_ct.c: revert shitty whitespace patch (forgot to reconfigure my editor after reinstallation) * ext/sybase_ct/php_sybase_ct.c ext/sybase_ct/php_sybase_ct.c: Fix compilation with TSRM 2006-07-25 Antony Dovgal * ext/json/JSON_parser.c ext/json/JSON_parser.c: initialize variable 2006-07-25 Derick Rethans * ZendEngine2/zend_API.c: - MFB: Fixed typo * (PHP_5_2) ZendEngine2/zend_API.c: - Fixed typo. 2006-07-25 Marcus Boerger * ZendEngine2/zend_compile.c: - Fix off by one copy'n'paste error 2006-07-24 Marcus Boerger * (PHP_5_2) ext/standard/var.c: - MFH Correctly handle binary proeprty names which are not mangled * ext/spl/tests/iterator_049.phpt ext/spl/tests/iterator_049b.phpt ext/spl/tests/iterator_049b.phpt: - Update tests * ext/standard/var.c: - Correctly handle binary proeprty names which are not mangled * (PHP_5_2) ZendEngine2/zend_compile.c: - MFH Yet another problematic case with mangled properties * ZendEngine2/zend_compile.c: - Yet another rproblematic case with mangled properties 2006-07-24 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.0RC1 2006-07-24 Pierre-Alain Joye * (PHP_5_2) NEWS: - #38179 and zip entry 2006-07-24 Andrei Zmievski * (PHP_5_2) ext/standard/array.c: +1 for keys 2006-07-24 Marcus Boerger * (PHP_5_2) ext/reflection/php_reflection.c ext/soap/php_encoding.c ext/standard/http.c ext/standard/var.c ext/wddx/wddx.c: - MFH zend_unmangle_property_name(), drop zend_unmangle_property_name_ex() * (PHP_5_2) ZendEngine2/zend.c ZendEngine2/zend_builtin_functions.c ZendEngine2/zend_compile.c ZendEngine2/zend_compile.h ZendEngine2/zend_object_handlers.c ZendEngine2/zend_object_handlers.h ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h: - Better fix for #34505 and related, drop zend_unmangle_property_name_ex() * ext/reflection/php_reflection.c ext/soap/php_encoding.c ext/standard/http.c ext/standard/var.c ext/wddx/wddx.c: - zend_(u_)_unmangle_property_name() has changed * ZendEngine2/zend.c ZendEngine2/zend_builtin_functions.c ZendEngine2/zend_compile.c ZendEngine2/zend_compile.h ZendEngine2/zend_object_handlers.c ZendEngine2/zend_object_handlers.h ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h: - Fix for #34505 and repated (improved version of what is in 5.2, 5.1) 2006-07-24 Rob Richards * ext/xmlreader/php_xmlreader.c: fix segfault 2006-07-24 Pierre-Alain Joye * ext/zip/lib/zip_close.c: - missing file * ext/zip/lib/zip_close.c ext/zip/lib/zip_close.c: file zip_close.c was initially added on branch PHP_5_2. * (php_5_2_0RC1) ext/zip/CREDITS ext/zip/TODO ext/zip/config.m4 ext/zip/config.w32 ext/zip/package.xml ext/zip/php_zip.c ext/zip/php_zip.h ext/zip/zip_stream.c ext/zip/examples/comment.php ext/zip/examples/create.php ext/zip/examples/dir.php ext/zip/examples/extract.php ext/zip/examples/extractAll.php ext/zip/examples/fopen.php ext/zip/examples/get_set_comments.php ext/zip/examples/im.php ext/zip/examples/odt.php ext/zip/examples/oldapi.php ext/zip/examples/test.odt ext/zip/examples/test.zip ext/zip/examples/test1.zip ext/zip/examples/test_im.zip ext/zip/examples/test_with_comment.zip ext/zip/examples/too.php ext/zip/lib/mkstemp.c ext/zip/lib/unistd.h ext/zip/lib/zip.h ext/zip/lib/zip.h.orig ext/zip/lib/zip_add.c ext/zip/lib/zip_delete.c ext/zip/lib/zip_dirent.c ext/zip/lib/zip_entry_free.c ext/zip/lib/zip_entry_new.c ext/zip/lib/zip_err_str.c ext/zip/lib/zip_error.c ext/zip/lib/zip_error_get.c ext/zip/lib/zip_error_get_sys_type.c ext/zip/lib/zip_error_strerror.c ext/zip/lib/zip_error_to_str.c ext/zip/lib/zip_fclose.c ext/zip/lib/zip_file_error_get.c ext/zip/lib/zip_file_get_offset.c ext/zip/lib/zip_file_strerror.c ext/zip/lib/zip_fopen.c ext/zip/lib/zip_fopen_index.c ext/zip/lib/zip_fread.c ext/zip/lib/zip_free.c ext/zip/lib/zip_get_archive_comment.c ext/zip/lib/zip_get_file_comment.c ext/zip/lib/zip_get_name.c ext/zip/lib/zip_get_num_files.c ext/zip/lib/zip_memdup.c ext/zip/lib/zip_name_locate.c ext/zip/lib/zip_new.c ext/zip/lib/zip_open.c ext/zip/lib/zip_rename.c ext/zip/lib/zip_replace.c ext/zip/lib/zip_set_archive_comment.c ext/zip/lib/zip_set_file_comment.c ext/zip/lib/zip_set_name.c ext/zip/lib/zip_source_buffer.c ext/zip/lib/zip_source_file.c ext/zip/lib/zip_source_filep.c ext/zip/lib/zip_source_free.c ext/zip/lib/zip_source_function.c ext/zip/lib/zip_source_zip.c ext/zip/lib/zip_stat.c ext/zip/lib/zip_stat_index.c ext/zip/lib/zip_strerror.c ext/zip/lib/zip_unchange.c ext/zip/lib/zip_unchange_all.c ext/zip/lib/zip_unchange_archive.c ext/zip/lib/zip_unchange_data.c ext/zip/lib/zip_win32.h ext/zip/lib/zipint.h ext/zip/tests/001.phpt ext/zip/tests/binarynull.zip ext/zip/tests/bug7214.phpt ext/zip/tests/bug7658.odt ext/zip/tests/bug7658.phpt ext/zip/tests/bug7658.xml ext/zip/tests/bug8009.phpt ext/zip/tests/bug8009.zip ext/zip/tests/oo_addfile.phpt ext/zip/tests/oo_close.phpt ext/zip/tests/oo_delete.phpt ext/zip/tests/oo_ext_zip.phpt ext/zip/tests/oo_namelocate.phpt ext/zip/tests/oo_open.phpt ext/zip/tests/oo_rename.phpt ext/zip/tests/test.zip ext/zip/tests/test_procedural.zip ext/zip/tests/utils.php ext/zip/tests/zip_close.phpt ext/zip/tests/zip_entry_compressedsize.phpt ext/zip/tests/zip_entry_compressionmethod.phpt ext/zip/tests/zip_entry_filesize.phpt ext/zip/tests/zip_entry_name.phpt ext/zip/tests/zip_entry_open.phpt ext/zip/tests/zip_entry_read.phpt ext/zip/tests/zip_open.phpt ext/zip/tests/zip_read.phpt: - reimport (cannot symlink without replacing 4.4 and 5.0 versions) 2006-07-24 Michael Wallner * (PHP_5_2) README.UPDATE_5_2: - note about allow_url_include 2006-07-24 Dmitry Stogov * ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.c: Fixed memory leaks detection * ZendEngine2/tests/bug38146.phpt ZendEngine2/tests/bug38146.phpt: file bug38146.phpt was initially added on branch PHP_5_2. * (PHP_5_2) NEWS ZendEngine2/tests/bug38146.phpt: Test for bug #38146 (Cannot use array returned from foo::__get('bar') in write context) 2006-07-24 Ilia Alshanetsky * ext/filter/filter.c: MFB: Fixed compiler warning. * (PHP_5_2) ext/filter/filter.c: Fixed compiler warning. 2006-07-24 Jani Taskinen * (PHP_5_2) ext/pdo_dblib/pdo_dblib.c: fix build and typo after another lazy ass who does not test before commit: Dmitry * ext/pdo_dblib/pdo_dblib.c: fix build 2006-07-23 Jani Taskinen * ext/fdf/fdf.c: fix another compile failure. (bjori: TEST before commit!) * (PHP_5_2) ext/sybase_ct/php_sybase_ct.c: MFH: fix compile failure and remove unnecessary TSRMLS_FETCH calls * ext/sybase_ct/php_sybase_ct.c: fix compile failure and remove unnecessary TSRMLS_FETCH calls * scripts/phpize.in: typofix 2006-07-23 Pierre-Alain Joye * ext/gd/libgd/gd.c ext/gd/tests/38179.phpt: - MFB: #38179, imagecopy, palette to truecolor must use alpha channel too * ext/gd/tests/38179.phpt ext/gd/tests/38179.phpt: file 38179.phpt was initially added on branch PHP_5_2. * (PHP_5_2) ext/gd/libgd/gd.c: - #38179, imagecopy, palette to truecolor must use alpha channel too 2006-07-23 Marcus Boerger * (PHP_5_2) README.UPDATE_5_2: - This was reintroduced by Zeev * ext/standard/http.c: - Tiny piece of unicode support * ext/pdo_pgsql/pdo_pgsql.c: -fix a bunch of warnings 2006-07-22 Andrei Zmievski * ext/xmlreader/php_xmlreader.c: Mark XMLReader methods with U. * (PHP_5_2) ext/standard/array.c: Gah. * (PHP_5_2) ext/standard/array.c: Matt should be happy now. 2006-07-22 Stefan Esser * (PHP_5_2) NEWS main/rfc1867.c main/rfc1867.h: Added RFC1867 fileupload processing hook. 2006-07-22 Jani Taskinen * (PHP_4_4) NEWS NEWS Zend/zend_API.c ZendEngine2/zend_API.c: MFH:- Fixed bug #38183 (disable_classes=Foobar causes disabled class to be called Foo) * ZendEngine2/zend_API.c: - Fixed bug #38183 (disable_classes=Foobar causes disabled class to be called Foo) 2006-07-22 Rob Richards * ext/json/config.w32: enable by default 2006-07-22 Nuno Lopes * (PHP_5_2) ext/json/JSON_parser.c ext/json/json.c: more const keywording * (PHP_5_2) ext/gd/tests/dashedlines.phpt ext/gd/tests/lines.phpt: dont create images in the php source root. output them instead 2006-07-22 Rob Richards * win32/build/Makefile: enable native and unicode tests add ntest and utest build targets * run-tests.php: force unicode off in native mode (-N switch) swap usage of single and double quotes for win32 compat 2006-07-22 Pierre-Alain Joye * ext/filter/sanitizing_filters.c: - MFB: fix compiler warnings * (PHP_5_2) ext/filter/sanitizing_filters.c: - hopla, before I got more conflicts ;) (fix compiler warnings with latest const char changes) 2006-07-22 Nuno Lopes * ext/filter/filter.c ext/filter/logical_filters.c ext/filter/sanitizing_filters.c ext/gd/tests/dashedlines.phpt ext/gd/tests/lines.phpt ext/json/JSON_parser.c ext/json/json.c: MFB * (PHP_5_2) ext/filter/filter.c ext/filter/logical_filters.c ext/filter/sanitizing_filters.c: use const keyword where possible 2006-07-22 Pierre-Alain Joye * ext/filter/filter.c ext/filter/sanitizing_filters.c ext/filter/tests/032.phpt ext/filter/tests/bug7586.phpt ext/filter/tests/bug7733.phpt: MFB: - API Shake up #1, change input_get_args argument order - silent compiler warnings - update tests * (PHP_5_2) ext/filter/filter.c ext/filter/sanitizing_filters.c: - silent compiler warnings (char/unsigned char) * (PHP_5_2) ext/filter/filter.c: - api shake #1, parse_pararameter has to be changed too * (PHP_5_2) ext/filter/filter.c ext/filter/tests/032.phpt ext/filter/tests/bug7586.phpt ext/filter/tests/bug7733.phpt: - API Shake up #1, use input type as first argument in input_get_args (INPUT_GET/POST) 2006-07-21 Andrei Zmievski * ext/standard/array.c: Apply Matt W's patch (with a fix) for array_combine() binary key safety. * ZendEngine2/zend.h: It's not legacy - it's binary. * ext/standard/array.c ext/standard/basic_functions.c ext/standard/basic_functions.h: Remove references to BG(user_compare_fnnc_name). * unicode-progress.txt ext/standard/array.c: Make array_*intersect* functions use params API with FCI cache and mark them with U. 2006-07-21 Marcus Boerger * ext/spl/examples/dualiterator.inc ext/spl/internal/regexiterator.inc: - Update docu * ext/spl/spl_iterators.c ext/spl/internal/recursiveregexiterator.inc: - Match code with docu * (PHP_5_2) ext/spl/spl_iterators.c ext/spl/internal/regexiterator.inc ext/spl/tests/iterator_029.phpt: - MFH Update RegexIterator, Docu & Tests * ext/spl/tests/iterator_029.phpt ext/spl/tests/spl_004.phpt: - Update tests * ext/spl/spl_iterators.c ext/spl/internal/regexiterator.inc: - Add control functions to RegexIterator 2006-07-21 Dmitry Stogov * ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h ZendEngine2/tests/bug37144.phpt: MTH: Fixed bug #37144 (PHP craches trying to assign into property of dead object) * ZendEngine2/zend_object_handlers.c ZendEngine2/zend_object_handlers.c ZendEngine2/tests/bug32660.phpt ZendEngine2/tests/bug32660.phpt ZendEngine2/tests/bug37667.phpt ZendEngine2/tests/bug37667.phpt: Changed error message (E_ERROR -> E_NOTICE) in case of indirect modification of overloaded property. * ZendEngine2/zend_API.c ZendEngine2/zend_API.c ZendEngine2/zend_exceptions.c ZendEngine2/zend_exceptions.c ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h ZendEngine2/zend_vm_execute.h: Fixed wrong "type" argument to read_property() handler * ext/standard/array.c: ZTS fix 2006-07-21 Rob Richards * ext/xmlreader/php_xmlreader.c: return EMPTY_TEXT here * ext/xmlreader/php_xmlreader.c: unicode support for handling filenames 2006-07-20 Andrei Zmievski * unicode-progress.txt ext/standard/array.c ext/standard/basic_functions.c ext/standard/basic_functions.h: Make array_walk(_recursive) use params API with FCI cache and mark them with U. 2006-07-20 Marcus Boerger * (PHP_5_2) ext/spl/doxygen.cfg ext/spl/spl_functions.c ext/spl/spl_functions.h ext/spl/spl_iterators.c ext/spl/spl_iterators.h ext/spl/internal/regexiterator.inc ext/spl/tests/iterator_050.phpt ext/spl/tests/iterator_051.phpt ext/spl/tests/iterator_052.phpt ext/spl/tests/iterator_053.phpt ext/spl/tests/iterator_054.phpt ext/spl/tests/iterator_055.phpt: - Synch RegexIterator with HEAD * (PHP_5_2) ext/pcre/php_pcre.c ext/pcre/php_pcre.h ext/pcre/tests/grep2.phpt ext/pcre/tests/match_flags3.phpt ext/pcre/tests/preg_replace.phpt ext/pcre/tests/split.phpt: - MFH Clean up (after consulting Andrei) . Change the handlers SPL uses to php_pcre_*_impl(pcre_cache_entry*,....) . All refactored funcs (match, split, replace, grep) use the above . Change (zend|php)_error() to php_error_docref() . Move from old to new param parsing api . Fix memleaks in unicode mode * ext/spl/spl_iterators.c: - Need to initialized zvals completley 2006-07-20 Andrei Zmievski * unicode-progress.txt ext/standard/array.c: Make all array_*diff* functions use params API (along with FCI cache) and mark them with U. 2006-07-20 Rob Richards * ext/pcre/php_pcre.c: tsrmls fix 2006-07-20 Marcus Boerger * ext/spl/spl_iterators.c ext/spl/internal/regexiterator.inc ext/spl/tests/iterator_050.phpt ext/spl/tests/iterator_051.phpt ext/spl/tests/iterator_052.phpt ext/spl/tests/iterator_053.phpt ext/spl/tests/iterator_054.phpt ext/spl/tests/iterator_055.phpt: - Change order of ctor args 2006-07-20 Edin Kadribasic * (PHP_5_2) NEWS: Lib update 2006-07-20 Marcus Boerger * ext/pcre/php_pcre.c: - TSRM fixes * ext/spl/internal/regexiterator.inc: - Update docu * ext/pcre/php_pcre.c: - WS * ext/pcre/tests/grep2.phpt: - Fix unicode expectations * ext/spl/spl_iterators.c: * ext/spl/doxygen.cfg ext/spl/spl_functions.c ext/spl/spl_functions.h ext/spl/spl_iterators.c ext/spl/spl_iterators.h ext/spl/internal/regexiterator.inc ext/spl/tests/iterator_052.phpt ext/spl/tests/iterator_053.phpt: - Update RegexIterator * ext/pcre/php_pcre.c ext/pcre/php_pcre.h ext/pcre/tests/grep2.phpt ext/pcre/tests/match_flags3.phpt ext/pcre/tests/preg_replace.phpt ext/pcre/tests/preg_replace_callback2.phpt ext/pcre/tests/split.phpt: - Clean up (after consulting Andrei) . Change the handlers SPL uses to php_pcre_*_impl(pcre_cache_entry*,....) . All refactored funcs (match, split, replace, grep) use the above . Change (zend|php)_error() to php_error_docref() . Move from old to new param parsing api . Fix memleaks in unicode mode * ZendEngine2/zend_API.c ZendEngine2/zend_API.h: - Add new unicode functions: add_u_assoc_*[_ex]() which allow to add values using a unicode key. 2006-07-20 Andrei Zmievski * unicode-progress.txt ZendEngine2/zend_API.h ZendEngine2/zend_execute_API.c ext/standard/array.c: Rewrite array_map() to use params API with fci cache and mark it with U. * unicode-todo.txt: -** empty log message *** 2006-07-20 Seiji Masugata * ext/mbstring/oniguruma/enc/gb18030.c ext/mbstring/oniguruma/enc/gb18030.c: file gb18030.c was initially added on branch PHP_5_2. 2006-07-20 Derick Rethans * (PHP_5_2) ext/date/php_date.c ext/date/tests/date_create-1.phpt: - MFH: Rename date classes to DateTime and DateTimeZone * ext/date/php_date.c ext/date/tests/date_create-1.phpt: - Rename date classes to DateTime and DateTimeZone 2006-07-20 Andrei Zmievski * README.PARAMETER_PARSING_API: Fix void* -> zstr 2006-07-20 Seiji Masugata * (PHP_5_2) ext/mbstring/config.m4 ext/mbstring/config.w32 ext/mbstring/oniguruma/COPYING ext/mbstring/oniguruma/HISTORY ext/mbstring/oniguruma/README ext/mbstring/oniguruma/README.ja ext/mbstring/oniguruma/config.h.in ext/mbstring/oniguruma/index.html ext/mbstring/oniguruma/onigcmpt200.h ext/mbstring/oniguruma/oniggnu.h ext/mbstring/oniguruma/oniguruma.h ext/mbstring/oniguruma/regcomp.c ext/mbstring/oniguruma/regenc.c ext/mbstring/oniguruma/regenc.h ext/mbstring/oniguruma/regerror.c ext/mbstring/oniguruma/regexec.c ext/mbstring/oniguruma/regext.c ext/mbstring/oniguruma/reggnu.c ext/mbstring/oniguruma/regint.h ext/mbstring/oniguruma/regparse.c ext/mbstring/oniguruma/regparse.h ext/mbstring/oniguruma/regposix.c ext/mbstring/oniguruma/regsyntax.c ext/mbstring/oniguruma/regversion.c ext/mbstring/oniguruma/st.c ext/mbstring/oniguruma/st.h ext/mbstring/oniguruma/enc/big5.c ext/mbstring/oniguruma/enc/euc_jp.c ext/mbstring/oniguruma/enc/euc_kr.c ext/mbstring/oniguruma/enc/euc_tw.c ext/mbstring/oniguruma/enc/iso8859_1.c ext/mbstring/oniguruma/enc/iso8859_10.c ext/mbstring/oniguruma/enc/iso8859_11.c ext/mbstring/oniguruma/enc/iso8859_13.c ext/mbstring/oniguruma/enc/iso8859_14.c ext/mbstring/oniguruma/enc/iso8859_15.c ext/mbstring/oniguruma/enc/iso8859_16.c ext/mbstring/oniguruma/enc/iso8859_2.c ext/mbstring/oniguruma/enc/iso8859_3.c ext/mbstring/oniguruma/enc/iso8859_4.c ext/mbstring/oniguruma/enc/iso8859_5.c ext/mbstring/oniguruma/enc/iso8859_6.c ext/mbstring/oniguruma/enc/iso8859_7.c ext/mbstring/oniguruma/enc/iso8859_8.c ext/mbstring/oniguruma/enc/iso8859_9.c ext/mbstring/oniguruma/enc/koi8.c ext/mbstring/oniguruma/enc/koi8_r.c ext/mbstring/oniguruma/enc/sjis.c ext/mbstring/oniguruma/enc/unicode.c ext/mbstring/oniguruma/enc/utf16_be.c ext/mbstring/oniguruma/enc/utf16_le.c ext/mbstring/oniguruma/enc/utf32_be.c ext/mbstring/oniguruma/enc/utf32_le.c ext/mbstring/oniguruma/enc/utf8.c ext/mbstring/oniguruma/win32/config.h: Updated bundled oniguruma library (used for multibyte regular expression) to 4.2.0. 2006-07-20 Pierre-Alain Joye * ext/filter/package.xml: - update changelog * ext/filter/logical_filters.c ext/filter/tests/034.phpt: - MFB: - make boolean logical filter works like int/float and php itself - add more tests for boolean input * ext/filter/tests/034.phpt ext/filter/tests/034.phpt: file 034.phpt was initially added on branch PHP_5_2. * (PHP_5_2) ext/filter/logical_filters.c: - make boolean logical filter works like int/float and php itself - add more tests for boolean input 2006-07-20 Antony Dovgal * ext/json/config.m4 ext/json/config.m4: rephrase 2006-07-20 Jani Taskinen * ext/json/config.m4: Simplify configure, no need to have dozen macros which have no use * ext/standard/credits_ext.h ext/standard/credits_ext.h: update * ext/json/CREDITS ext/json/CREDITS: missing credits file 2006-07-20 Antony Dovgal * (PHP_5_2) ext/json/json.c ext/json/tests/003.phpt ext/json/tests/004.phpt ext/json/tests/005.phpt: MFH: use E_WARNING on recursion and add null to the result to keep it valid * ext/json/json.c ext/json/tests/003.phpt ext/json/tests/004.phpt ext/json/tests/005.phpt: use E_WARNING on recursion and add null to the result to keep it valid * ext/json/JSON_parser.c: ZTS fix * (PHP_5_2) ext/json/tests/.cvsignore: add missing .cvsignore * ext/json/tests/.cvsignore ext/json/tests/.cvsignore: add missing .cvsignore * (PHP_5_2) ext/json/json.c ext/json/tests/001.phpt ext/json/tests/002.phpt ext/json/tests/003.phpt ext/json/tests/004.phpt ext/json/tests/005.phpt: MFH: add recursion protection to json_encode() and new tests * ext/json/json.c ext/json/tests/001.phpt ext/json/tests/002.phpt ext/json/tests/002.phpt ext/json/tests/003.phpt ext/json/tests/003.phpt ext/json/tests/004.phpt ext/json/tests/004.phpt ext/json/tests/005.phpt ext/json/tests/005.phpt: add recursion protection to json_encode() and new tests * (PHP_5_2) ext/json/JSON_parser.c ext/json/tests/001.phpt: fix segfault, add test * ext/json/JSON_parser.c ext/json/tests/001.phpt ext/json/tests/001.phpt: fix segfault caused by empty keys is JSON data add test * ext/json/json.c: json_escape_string() doesn't use tsrm_ls, so no need to pass it * ZendEngine2/zend_builtin_functions.c: no need to return bool and false in the same time =) * (PHP_5_2) ext/date/php_date.c: break; break; -> break; 2006-07-19 Marcus Boerger * ext/pcre/php_pcre.h: - WS 2006-07-19 Pierre-Alain Joye * ext/xmlwriter/tests/009.phpt ext/xmlwriter/tests/OO_009.phpt: - MFH: fix tests, libxml 2.6.24 and up adds a new line after a processing instruction (PI) * (PHP_5_2) ext/xmlwriter/tests/009.phpt ext/xmlwriter/tests/OO_009.phpt: - fix tests for PI with libxml 2.6.24+, a new line is now added 2006-07-19 Rob Richards * ext/xmlreader/php_xmlreader.c ext/xmlreader/tests/012.phpt ext/xmlreader/tests/013.phpt: unicode support update tests * ext/libxml/php_libxml.h: add unicode compatible macros for returning strings from xml based extensions 2006-07-19 Andrei Zmievski * ZendEngine2/zend_API.c: Fix usage of 'return_null' option in parameter parsing. * README.PARAMETER_PARSING_API ZendEngine2/zend_API.c: Make 't' and 'T' use zstr for storage type. * README.PARAMETER_PARSING_API ZendEngine2/zend_API.c: Add '+' varargs specifier that requires at least one arg. 2006-07-19 Ilia Alshanetsky * (PHP_5_2) NEWS: Extension news * ext/json/JSON_parser.h ext/json/config.m4 ext/json/json.c: MFB: Fixed compiler warnings and enable Json by default. * (PHP_5_2) ext/json/JSON_parser.h ext/json/config.m4 ext/json/json.c: Fixed compiler warnings and enable Json by default. 2006-07-19 Jani Taskinen * (PHP_5_2) NEWS: un*uck NEWS * (PHP_5_2) ZendEngine2/README.ZEND_MM: Missing file.. 2006-07-19 Michael Wallner * ext/standard/basic_functions.c ext/standard/basic_functions.h main/main.c main/php_globals.h: - added error_get_last() function 2006-07-19 Dmitry Stogov * (PHP_5_2) NEWS ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h ZendEngine2/tests/bug37144.phpt: Fixed bug #37144 (PHP crashes trying to assign into property of dead object) 2006-07-19 Antony Dovgal * (PHP_5_2) ext/filter/callback_filter.c: no need to fetch name and free it immediately after that * ext/filter/callback_filter.c: no need to fetch name and free it immediately after that the patch also fixes a segfault * ext/filter/tests/007.phpt ext/filter/tests/007.phpt ext/filter/tests/011.phpt ext/filter/tests/011.phpt ext/filter/tests/014.phpt ext/filter/tests/014.phpt ext/filter/tests/033.phpt ext/filter/tests/033.phpt ext/filter/tests/033_run.inc ext/filter/tests/033_run.inc ext/filter/tests/033_run.inc ext/filter/tests/033_run.php ext/filter/tests/033_run.php: fix tests * (PHP_5_2) ext/filter/filter.c: MFH: increase refcount when adding zval to the result array * ext/filter/filter.c: increase refcount when adding zval to the result array * ext/filter/filter.c ext/filter/filter.c ext/filter/logical_filters.c ext/filter/logical_filters.c ext/filter/sanitizing_filters.c ext/filter/sanitizing_filters.c: fix compile warnings * ZendEngine2/zend.c: MFB: fetch tsrm_ls, don't use it uninitialized * (PHP_5_2) ZendEngine2/zend.c: fetch tsrm_ls, don't use it uninitialized 2006-07-19 Andrei Zmievski * ZendEngine2/zend_API.c: Initialize some vars. 2006-07-18 Marcus Boerger * ext/filter/filter.c: - CS * ext/filter/filter.c ext/filter/php_filter.h: - Fix build 2006-07-18 Ilia Alshanetsky * ext/spl/spl_iterators.c: MFB: Fixed memory leak * (PHP_5_2) ext/spl/spl_iterators.c: Fixed memory leak 2006-07-18 Andrei Zmievski * README.PARAMETER_PARSING_API ZendEngine2/zend_API.c: Implement varargs parameter parsing. See README for examples. * ZendEngine2/zend_API.c ZendEngine2/zend_builtin_functions.c ZendEngine2/zend_compile.h ZendEngine2/zend_execute.c ZendEngine2/zend_execute.h ZendEngine2/zend_execute_API.c ZendEngine2/zend_language_scanner.l ZendEngine2/zend_operators.c ZendEngine2/zend_unicode.c ext/reflection/php_reflection.c: Callable checks and class fetching and lookup should support identifer normalization now. (Marcus, Andrei) 2006-07-18 Andi Gutmans * ZendEngine2/README.ZEND_MM: - Capture Dmitry's Zend MM email for later reference 2006-07-18 Antony Dovgal * (PHP_5_2) ZendEngine2/zend_alloc.c: MFH: fix build on platforms without mremap() * ZendEngine2/zend_alloc.c: fix build on platforms without mremap() 2006-07-18 Dmitry Stogov * ext/soap/php_encoding.c ext/soap/soap.c: Unicode support (not finished) 2006-07-18 Antony Dovgal * NEWS: patch merged into 5_2 * (PHP_5_2) NEWS: news entry * (PHP_5_2) ext/gmp/gmp.c ext/gmp/php_gmp.h ext/gmp/tests/gmp_nextprime.phpt: MFH: add gmp_nextprime() patch by ants dot aasma at gmail dot com 2006-07-18 Derick Rethans * (PHP_5_2) ext/date/php_date.c ext/date/php_date.h: - Enable all new date functions and classes * ext/date/php_date.c ext/date/php_date.h: - Enable all methods in the already existing Date and Timezone classes 2006-07-18 Dmitry Stogov * ext/soap/php_encoding.c: Fixed compilation error 2006-07-18 Antony Dovgal * ext/pcre/tests/split2.phpt ext/pcre/tests/split2.phpt: fix test 2006-07-18 Dmitry Stogov * (PHP_5_2) NEWS ZendEngine2/Zend.m4 ZendEngine2/Zend.m4 ZendEngine2/zend.c ZendEngine2/zend.c ZendEngine2/zend_API.h ZendEngine2/zend_API.h ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.h ZendEngine2/zend_alloc.h ZendEngine2/zend_compile.c ZendEngine2/zend_compile.c ZendEngine2/zend_config.w32.h ZendEngine2/zend_config.w32.h ZendEngine2/zend_execute.c ZendEngine2/zend_execute.c ZendEngine2/zend_fast_cache.h ZendEngine2/zend_fast_cache.h ZendEngine2/zend_globals.h ZendEngine2/zend_globals.h ZendEngine2/zend_globals_macros.h ZendEngine2/zend_globals_macros.h ZendEngine2/zend_mm.c ZendEngine2/zend_mm.c ZendEngine2/zend_mm.h ZendEngine2/zend_mm.h ZendEngine2/zend_operators.c ZendEngine2/zend_operators.c ext/standard/var.c ext/standard/var.c main/main.c main/main.c sapi/apache/mod_php5.c sapi/apache/mod_php5.c sapi/apache2filter/sapi_apache2.c sapi/apache2filter/sapi_apache2.c sapi/apache2handler/sapi_apache2.c sapi/apache2handler/sapi_apache2.c sapi/apache_hooks/mod_php5.c sapi/apache_hooks/mod_php5.c win32/build/config.w32 win32/build/config.w32: New memory manager 2006-07-18 Antony Dovgal * ZendEngine2/zend_operators.c ZendEngine2/zend_operators.c: fix logic * (PHP_5_2) ZendEngine2/zend_operators.c: MFH: fix DVAL_TO_LVAL() on AIX with old gcc * ZendEngine2/zend_operators.c: fix DVAL_TO_LVAL() macro, which doesn't seem to work correctly on AIX & GCC < 3.5 2006-07-18 Ilia Alshanetsky * ext/mysqli/tests/013.phpt: MFB: Added possible failure note. * (PHP_5_2) ext/mysqli/tests/013.phpt: Added possible failure note. 2006-07-17 Andrei Zmievski * unicode-progress.txt unicode-todo.txt: -** empty log message *** * ext/standard/array.c: Update array_filter() and array_reduce() to use params API with FCI cache and mark them with U. * unicode-progress.txt ext/standard/array.c: Upgrade uasort() and uksort() to use params API with FCI cache and mark them with U. 2006-07-17 Marcus Boerger * (PHP_5_1) NEWS NEWS ext/spl/spl_iterators.c ext/spl/spl_iterators.c: - MFH Fix #38125 undefined reference to spl_dual_it_free_storage * (PHP_5_1) ext/spl/spl_iterators.c: - Fix key handling * ext/spl/spl_iterators.c: - Fix #38125 undefined reference to spl_dual_it_free_storage 2006-07-17 Andrei Zmievski * ZendEngine2/zend_API.c ZendEngine2/zend_API.h ZendEngine2/zend_execute_API.c ext/standard/array.c ext/standard/basic_functions.c ext/standard/basic_functions.h: - Upgrade usort() to support Unicode (including valid Unicode callbacks). - Make usort() use 'f' specifier for function call info/cache. 2006-07-17 Michael Wallner * ext/standard/string.c: MFB52: fix bug #37945 pathinfo() cannot handle argument with special characters like german "Umlaute" * (PHP_5_2) NEWS ext/standard/string.c: - fix bug #37945 pathinfo() cannot handle argument with special characters like german "Umlaute" 2006-07-17 Andrei Zmievski * ext/standard/basic_functions.c: - Use zend_uchar for param type - %v is for UG() - dependent strings, which is not the case here - 'T' is only useful for multiple parameters, so use 't' instead 2006-07-17 Pierre-Alain Joye * ext/gd/libgd/gd_gif_in.c ext/gd/tests/bug38112.gif ext/gd/tests/bug38112.gif ext/gd/tests/bug38112.phpt ext/gd/tests/bug38112.phpt: - MFB: #38112, corrupt GIF Image segfault * (PHP_5_2) ext/gd/libgd/gd_gif_in.c ext/gd/tests/bug38112.gif ext/gd/tests/bug38112.gif ext/gd/tests/bug38112.phpt ext/gd/tests/bug38112.phpt: - #38112, add test and use MAX_LWZ_BITS instead of the value * (PHP_5_2) ext/gd/tests/colorat.phpt ext/gd/tests/colorclosest.phpt ext/gd/tests/colorexact.phpt ext/gd/tests/colorresolve.phpt ext/gd/tests/copy.phpt ext/gd/tests/copyresized.phpt ext/gd/tests/createfromgd2.phpt ext/gd/tests/createfromwbmp.phpt ext/gd/tests/dashedlines.phpt ext/gd/tests/gif.phpt ext/gd/tests/imagewbmp.phpt ext/gd/tests/lines.phpt ext/gd/tests/src.gd2 ext/gd/tests/src.wbmp ext/gd/tests/test_gif_2.gif ext/gd/tests/test_gif_2.gif ext/gd/tests/truecolor.phpt ext/gd/tests/types.phpt: - sync tests with HEAD 2006-07-17 Nuno Lopes * run-tests.php: MFB: valgrind args change * (PHP_5_2) run-tests.php: make valgrind trace child processes. useful for the PCNTL extension (fork()), for example * ext/pcre/tests/preg_replace2.phpt: MFB * ext/pcre/tests/preg_replace2.phpt ext/pcre/tests/preg_replace2.phpt: file preg_replace2.phpt was initially added on branch PHP_5_2. * run-tests.php: MFB 5.2 * (PHP_5_2) run-tests.php: now they are really equivalent.. 2006-07-17 Antony Dovgal * tests/classes/abstract_static.phpt tests/classes/abstract_static.phpt: typofix 2006-07-17 Dmitry Stogov * main/main.c: Fixed memory leaks in ZTS mode * (PHP_5_2) main/main.c: Fixed memory leaks in ZTS mode. 2006-07-17 Antony Dovgal * ext/standard/basic_functions.c: tweak constant() to use the brand new unicode parameters API * ext/standard/basic_functions.c: make use of new param parsing API use convert_to_text(), which makes constant() unicode aware finally nuke invalid reads 2006-07-17 Dmitry Stogov * ext/spl/spl_iterators.c: ZTS fix 2006-07-17 Antony Dovgal * ext/standard/string.c ext/standard/tests/strings/pathinfo.phpt ext/standard/tests/strings/pathinfo.phpt: fix access to freed memory in pathinfo() add test 2006-07-17 Seiji Masugata * ext/mbstring/mbstring.c ext/mbstring/mbstring.c: added option parameter mb_strrpos( ). 2006-07-17 Ilia Alshanetsky * run-tests.php: MFB: Don't use regex where none is needed. * (PHP_5_2) run-tests.php: Don't use regex where none is needed. 2006-07-17 Jon Parise * scripts/phpize.in: If the $PHP_AUTOCONF and $PHP_AUTOHEADER environmental variables are set to full paths, the `shtool path` test would fail (because it only tests for the existence of a bare filename in the current $PATH). We now test the the executability of $PHP_AUTOCONF and $PHP_AUTOHEADER before falling back to the `shtool path` test. Later on, phpize will execute $PHP_AUTOCONF and $PHP_AUTOHEADER directly, so they will work fine as either absolute paths or files within $PATH. Also, improving the grammar of the error messages in the failure cases. * scripts/phpize.in: Wrapping the $PHP_AUTOCONF and $PHP_AUTOHEADER error messages to fit within 80 columns. 2006-07-16 Marcus Boerger * ext/spl/spl.php: -Typo * (PHP_5_2) ext/spl/spl.php ext/spl/spl_iterators.c ext/spl/spl_iterators.h ext/spl/internal/filteriterator.inc ext/spl/internal/recursiveregexiterator.inc ext/spl/internal/regexiterator.inc ext/spl/tests/iterator_049.phpt ext/spl/tests/iterator_050.phpt ext/spl/tests/iterator_051.phpt ext/spl/tests/iterator_052.phpt ext/spl/tests/iterator_053.phpt ext/spl/tests/iterator_054.phpt ext/spl/tests/iterator_055.phpt: - MFH: . Upgrade RegexIterator capabilities, see docu . Update docu . Add test (which fails right now: iterator_049.phpt) . Add tests for new functionality * (PHP_5_2) ext/pcre/php_pcre.c ext/pcre/php_pcre.h: - MFH: Little bit refactoring: Two new PHPAPI functions: . php_pcre_match . php_pcre_split * ext/pcre/php_pcre.h: - TSRM Fix * ext/spl/spl_iterators.c ext/spl/spl_iterators.h ext/spl/internal/regexiterator.inc ext/spl/internal/regexiterator.inc ext/spl/tests/iterator_050.phpt ext/spl/tests/iterator_050.phpt ext/spl/tests/iterator_051.phpt ext/spl/tests/iterator_051.phpt ext/spl/tests/iterator_052.phpt ext/spl/tests/iterator_052.phpt ext/spl/tests/iterator_053.phpt ext/spl/tests/iterator_053.phpt ext/spl/tests/iterator_054.phpt ext/spl/tests/iterator_054.phpt ext/spl/tests/iterator_055.phpt ext/spl/tests/iterator_055.phpt: - Upgrade RegexIterator capabilities, see docu * ext/spl/tests/iterator_049.phpt ext/spl/tests/iterator_049.phpt: - This test fails right now and requires a zend API change to fix 2006-07-16 Nuno Lopes * ext/pcre/tests/grep2.phpt ext/pcre/tests/split.phpt ext/pcre/tests/split2.phpt: MFB * ext/pcre/tests/grep2.phpt ext/pcre/tests/grep2.phpt ext/pcre/tests/split.phpt ext/pcre/tests/split.phpt ext/pcre/tests/split2.phpt ext/pcre/tests/split2.phpt: file grep2.phpt was initially added on branch PHP_5_2. 2006-07-16 Marcus Boerger * ext/pcre/php_pcre.c ext/pcre/php_pcre.h ext/pcre/pcrelib/.cvsignore: - Little bit refactoring: Two new PHPAPI functions: . php_pcre_match . php_pcre_split * ext/spl/spl.php ext/spl/internal/filteriterator.inc ext/spl/internal/recursiveregexiterator.inc ext/spl/internal/recursiveregexiterator.inc ext/spl/internal/recursiveregexiterator.inc ext/spl/internal/regexiterator.inc ext/spl/internal/regexiterator.inc: - Update docu * ext/spl/tests/iterator_048.phpt: - Correct test name 2006-07-16 Christian Stocker * ext/dom/node.c: MFB improved code (after suggestion by helly) * (PHP_5_2) ext/dom/node.c: improved code (after suggestion by helly) 2006-07-16 Antony Dovgal * (PHP_5_2) ext/standard/tests/strings/bug24098.phpt: fix test * ext/standard/tests/strings/bug24098.phpt: 3+1 != 3 =) 2006-07-16 Pierre-Alain Joye * ext/standard/string.c: - MFB: PATHINFO_FILENAME constant registration (Sara) 2006-07-16 Antony Dovgal * ext/standard/file.c: all stream functions are actually macros that already have TSRMLS_CC, no need to pass it manually 2006-07-16 Christian Stocker * ext/dom/dom_fe.h ext/dom/node.c: Added DOMNode::getNodePath() for getting an XPath for a node. (MFB) * (PHP_5_2) NEWS ext/dom/dom_fe.h ext/dom/node.c: Added DOMNode::getNodePath() for getting an XPath for a node. 2006-07-16 Pierre-Alain Joye * (PHP_5_2) ext/gd/libgd/gd_gif_in.c: - #38112, corrupt GIF segfaults, test will follow 2006-07-16 Marcus Boerger * (PHP_4_4) NEWS NEWS ext/standard/math.c ext/standard/math.c ext/standard/tests/strings/bug29538.phpt ext/standard/tests/strings/bug29538.phpt: - MFH Fixed Bug #29538 number_format and problem with 0 * ext/standard/math.c ext/standard/tests/strings/bug29538.phpt ext/standard/tests/strings/bug29538.phpt ext/standard/tests/strings/bug29538.phpt: - Fixed Bug #29538 number_format and problem with 0 * (PHP_5_2) NEWS ext/standard/string.c ext/standard/tests/strings/bug24098.phpt: - MFH Pathinfo allows to get filename (Toby S, Christian S) * ext/standard/string.c ext/standard/tests/strings/bug24098.phpt: - Pathinfo allows to get filename (Toby S, Christian S) 2006-07-15 Marcus Boerger * ZendEngine2/zend_builtin_functions.c: - Provide defined value for autoload flag * (PHP_5_2) NEWS ext/spl/spl_directory.c ext/spl/spl_directory.h ext/spl/internal/splfileobject.inc ext/standard/file.c ext/standard/file.h: - MFH Implement todo: SplFileObject: ability to set the CSV separator per object * ext/spl/internal/splfileobject.inc: - Update docu * ext/spl/spl_directory.c: - Be on the safe side * ext/spl/spl_directory.c: - Implement todo: SplFileObject: ability to set the CSV separator per object, part 2 * ext/spl/spl_directory.c ext/spl/spl_directory.h ext/standard/file.c ext/standard/file.h: - Implement todo: SplFileObject: ability to set the CSV separator per object * (PHP_5_2) ext/spl/spl_directory.c ext/spl/tests/fileobject_003.phpt: - MFH Fix issue with SplFileObject and directories * ext/spl/spl_directory.c ext/spl/tests/fileobject_003.phpt: - Fix issue with SplFileObject and directories * (PHP_5_2) NEWS ext/standard/array.c ext/standard/tests/array/array_fill_keys.phpt: - MFH array_fill_keys, better unicode support, use new param parsing API * ext/standard/array.c: - Readd proto * ext/standard/array.c ext/standard/tests/array/array_fill_keys.phpt: - Update array_fill_keys, better unicode support, use new param parsing API * (PHP_5_2) NEWS ext/standard/array.c ext/standard/basic_functions.c ext/standard/php_array.h ext/standard/tests/array/array_fill_keys.phpt: - MFH Added array_fill_keys(). (Marcus, Mathew W) * ext/standard/tests/array/array_fill_keys.phpt ext/standard/tests/array/array_fill_keys.phpt: - Add array_fill_keys() (Matt W, php_lists at realplain com) * ext/standard/array.c ext/standard/basic_functions.c ext/standard/php_array.h: - Add array_fill_keys() (Matt W, php_lists at realplain com) 2006-07-14 Andrei Zmievski * run-tests.php: remove debugging * run-tests.php: run-tests.php maintainers, rise up! * run-tests.php: Do this workaround only for unicode mode. * ext/standard/tests/array/compact.phpt: Add test for compact(). * run-tests.php: Encode $wanted in output_encoding for comparison (workaround). * unicode-progress.txt ext/standard/array.c: Adjust array_pad(), array_reverse(), and array_unique() for params API and mark them with U. 2006-07-14 Sara Golemon * main/streams/unicode_filter.c: Logic fix: (!a == b) != (a != b) 2006-07-14 Andrei Zmievski * unicode-progress.txt ext/standard/array.c: - Simplify array_combine() and adjust for params API - Adjust array_count_values() and array_rand() for params API and mark with U * unicode-progress.txt ext/standard/array.c: Adjust array_key_exists(), array_slice(), and array_splice() for params API and mark them with U. 2006-07-14 Sara Golemon * ext/standard/file.c: 2006-07-14 Antony Dovgal * ext/standard/file.c ext/standard/streamsfuncs.c: MFB: rephrase the error message (fixes #38106) * (PHP_5_2) ext/standard/file.c ext/standard/streamsfuncs.c: rephrase the error message (fixes #38106) 2006-07-14 Andrei Zmievski * unicode-progress.txt ext/standard/array.c: Make array_change_key_case() -- a candidate for the quite possibly the most useless function ever -- use params API and mark it with U. 2006-07-14 Sara Golemon * ext/standard/file.c: * main/streams/unicode_filter.c: * main/streams/streams.c: 2006-07-14 Andrei Zmievski * unicode-progress.txt ext/standard/array.c: Update end(), prev(), next(), reset(), current(), and key() for params API and mark with U. * unicode-todo.txt: -** empty log message *** * unicode-progress.txt ext/standard/array.c: Update array_search()/in_array() for params API and mark with U. * unicode-progress.txt ext/standard/array.c: Update array_keys() and array_values() for params API and mark with U. * unicode-progress.txt unicode-todo.txt ext/standard/array.c: - Simplify array_fill(). - Do params API for a couple of funcs and mark them as Unicode compliant. 2006-07-14 Nuno Lopes * (PHP_5_2) ext/pspell/tests/003.phpt: fix test with some aspell versions 2006-07-14 Antony Dovgal * ZendEngine2/zend_unicode.h: add USTR_VAL() access zstr value * ext/standard/var.c: WS and CS fixes I suppose STR_FREE() is better than if(..) {efree (..);} 2006-07-14 Dmitry Stogov * ext/standard/var.c: Fixed unserialize() in unicode mode 2006-07-13 Andrei Zmievski * ext/standard/string.c: FIXME note * unicode-progress.txt ext/standard/array.c: Update array_sum() and array_product() (U). * unicode-progress.txt ext/standard/array.c: Mark a few more funcs. * unicode-progress.txt ZendEngine2/zend_API.c ext/standard/array.c ext/standard/string.c: - Let the caller output a warning instead of having zend_get_unified_string_type() do it. - Mark a few more functions are Unicode compatible. * unicode-progress.txt ext/standard/array.c: - Make compact() normalize variablem name before checking symtable. - Mark tested/upgraded functions with 'U' flag. 2006-07-13 Antony Dovgal * ext/standard/string.c main/main.c: initialize variables * main/php_logos.h main/php_logos.h: fix build 2006-07-13 Dmitry Stogov * ext/soap/php_encoding.c ext/soap/php_http.c ext/soap/php_packet_soap.c ext/soap/php_schema.c ext/soap/php_sdl.c ext/soap/php_soap.h ext/soap/soap.c ext/soap/tests/any.phpt ext/soap/tests/classmap002.phpt ext/soap/tests/server007.phpt ext/soap/tests/server008.phpt ext/soap/tests/bugs/bug27722.phpt ext/soap/tests/bugs/bug27742.phpt ext/soap/tests/bugs/bug28751.phpt ext/soap/tests/bugs/bug28969.phpt ext/soap/tests/bugs/bug28985.phpt ext/soap/tests/bugs/bug29061.phpt ext/soap/tests/bugs/bug29109.phpt ext/soap/tests/bugs/bug29236.phpt ext/soap/tests/bugs/bug29795.phpt ext/soap/tests/bugs/bug29830.phpt ext/soap/tests/bugs/bug29839.phpt ext/soap/tests/bugs/bug29844.phpt ext/soap/tests/bugs/bug30045.phpt ext/soap/tests/bugs/bug30106.phpt ext/soap/tests/bugs/bug30175.phpt ext/soap/tests/bugs/bug30799.phpt ext/soap/tests/bugs/bug30928.phpt ext/soap/tests/bugs/bug30994.phpt ext/soap/tests/bugs/bug31422.phpt ext/soap/tests/bugs/bug31695.phpt ext/soap/tests/bugs/bug31755.phpt ext/soap/tests/bugs/bug32776.phpt ext/soap/tests/bugs/bug34449.phpt ext/soap/tests/bugs/bug34453.phpt ext/soap/tests/bugs/bug34643.phpt ext/soap/tests/bugs/bug35142.phpt ext/soap/tests/bugs/bug36226.phpt ext/soap/tests/bugs/bug36575.phpt ext/soap/tests/bugs/bug36629.phpt ext/soap/tests/bugs/bug36908.phpt ext/soap/tests/bugs/bug37278.phpt ext/soap/tests/bugs/bug38004.phpt ext/soap/tests/bugs/bug38005.phpt ext/soap/tests/bugs/bug38055.phpt ext/soap/tests/bugs/bug38067.phpt ext/soap/tests/interop/Round2/Base/r2_base_005p.phpt ext/soap/tests/interop/Round2/Base/r2_base_005s.phpt ext/soap/tests/interop/Round2/Base/r2_base_005w.phpt ext/soap/tests/interop/Round3/GroupE/r3_groupE_list_001w.phpt ext/soap/tests/interop/Round3/GroupE/r3_groupE_list_002w.phpt ext/soap/tests/interop/Round3/GroupE/r3_groupE_list_003w.phpt ext/soap/tests/interop/Round3/GroupE/r3_groupE_list_005w.phpt ext/soap/tests/interop/Round3/GroupE/r3_groupE_list_006w.phpt ext/soap/tests/interop/Round4/GroupI/r4_groupI_xsd_006w.phpt ext/soap/tests/schema/schema004.phpt ext/soap/tests/schema/schema009.phpt ext/soap/tests/schema/schema010.phpt ext/soap/tests/schema/schema011.phpt ext/soap/tests/schema/schema012.phpt ext/soap/tests/schema/schema013.phpt ext/soap/tests/schema/schema014.phpt ext/soap/tests/schema/schema015.phpt ext/soap/tests/schema/schema016.phpt ext/soap/tests/schema/schema017.phpt ext/soap/tests/schema/schema018.phpt ext/soap/tests/schema/schema019.phpt ext/soap/tests/schema/schema020.phpt ext/soap/tests/schema/schema021.phpt ext/soap/tests/schema/schema022.phpt ext/soap/tests/schema/schema030.phpt ext/soap/tests/schema/schema031.phpt ext/soap/tests/schema/schema032.phpt ext/soap/tests/schema/schema033.phpt ext/soap/tests/schema/schema034.phpt ext/soap/tests/schema/schema035.phpt ext/soap/tests/schema/schema036.phpt ext/soap/tests/schema/schema037.phpt ext/soap/tests/schema/schema038.phpt ext/soap/tests/schema/schema039.phpt ext/soap/tests/schema/schema040.phpt ext/soap/tests/schema/schema041.phpt ext/soap/tests/schema/schema042.phpt ext/soap/tests/schema/schema043.phpt ext/soap/tests/schema/schema044.phpt ext/soap/tests/schema/schema045.phpt ext/soap/tests/schema/schema046.phpt ext/soap/tests/schema/schema047.phpt ext/soap/tests/schema/schema048.phpt ext/soap/tests/schema/schema049.phpt ext/soap/tests/schema/schema050.phpt ext/soap/tests/schema/schema051.phpt ext/soap/tests/schema/schema052.phpt ext/soap/tests/schema/schema053.phpt ext/soap/tests/schema/schema054.phpt ext/soap/tests/schema/schema055.phpt ext/soap/tests/schema/schema062.phpt ext/soap/tests/schema/schema064.phpt ext/soap/tests/schema/schema065.phpt ext/soap/tests/schema/schema066.phpt ext/soap/tests/schema/schema067.phpt ext/soap/tests/schema/schema069.phpt ext/soap/tests/schema/schema070.phpt ext/soap/tests/schema/schema074.phpt ext/soap/tests/schema/schema075.phpt ext/soap/tests/schema/schema076.phpt ext/soap/tests/schema/schema077.phpt ext/soap/tests/schema/schema078.phpt ext/soap/tests/schema/schema079.phpt ext/soap/tests/schema/schema080.phpt ext/soap/tests/schema/test_schema.inc: Unicode support (not finished) 2006-07-13 Ilia Alshanetsky * ext/mysqli/tests/bug36802.phpt: MFB: Fixed test for systems where set_charset() method is unavailable. * (PHP_5_2) ext/mysqli/tests/bug36802.phpt: Fixed test for systems where set_charset() method is unavailable. 2006-07-13 Antony Dovgal * ext/reflection/php_reflection.c: Unicode support in ReflectionParameter::__construct() * main/rfc1867.c: fix C++ comments in C code and comment out unused variable * ext/unicode/transform.c: nuke unused variable * (PHP_5_2) NEWS ext/standard/tests/file/bug38086.phpt ext/standard/tests/file/bug38086.txt ext/standard/tests/file/stream_copy_to_stream.phpt main/streams/streams.c: MFH: fix #38086 (stream_copy_to_stream() returns 0 when maxlen is bigger than the actual length) add tests * ext/standard/tests/file/bug38086.phpt ext/standard/tests/file/bug38086.phpt ext/standard/tests/file/bug38086.txt ext/standard/tests/file/bug38086.txt ext/standard/tests/file/stream_copy_to_stream.phpt ext/standard/tests/file/stream_copy_to_stream.phpt main/streams/streams.c: fix #38086 (stream_copy_to_stream() returns 0 when maxlen is bigger than the actual length) 2006-07-13 Ilia Alshanetsky * ext/session/session.c main/php_logos.c: MFB: Fixed compiler warnings. * (PHP_5_2) ext/session/session.c main/php_logos.c: Fixed compiler warnings. 2006-07-12 Andrei Zmievski * unicode-progress.txt: Make notes about array.c functions. 2006-07-12 Antony Dovgal * ext/standard/assert.c: fix assert() in Unicode mode * (PHP_5_2) ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h: MFH: init variables and get rid of annoying warnings * ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h: get rid of more "might be uninitialized" warnings * ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h: make sure return_value_used is always initialized * ZendEngine2/zend.c: initialize EG(exit_status) 2006-07-12 Andrei Zmievski * ZendEngine2/zend_operators.c: No need for TSRMLS_FETCH(). 2006-07-12 Antony Dovgal * (PHP_5_2) ZendEngine2/zend.c: MFH: initialize EG(exit_status) in ZTS mode 2006-07-12 Andrei Zmievski * ZendEngine2/zend_operators.c ZendEngine2/zend_unicode.c ZendEngine2/zend_unicode.h: Implement convert_to_unicode_with_converter() and adjust zval_* APIs. * ext/standard/var.c: Use zend_convert_from_unicode() in var_dump(). * ZendEngine2/zend.c ZendEngine2/zend.h ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h main/main.c: Commit Sara's patch for supporting filesystem enccoding in include/require. 2006-07-12 Michael Wallner * (PHP_5_2) ext/session/session.c: MFH: add note why replace is 0, so that I don't wonder again in 2 months why session_regenerate_id() sends the session cookie twice * ext/session/session.c: - add note why replace is 0, so that I don't wonder again in 2 months why session_regenerate_id() sends the session cookie twice 2006-07-12 Antony Dovgal * ext/dbase/dbase.c ext/dbase/tests/001.phpt: restore missing check and prevent segfaulting MFB and add test * (PHP_5_2) ext/dbase/dbase.c ext/dbase/tests/001.phpt ext/dbase/tests/001.phpt: bailout on error and don't try to create fields of unknown type add test * (PHP_5_2) ext/standard/streamsfuncs.c: it's usually good idea to initialize variables especially if you rely on their values * (PHP_5_2) ext/standard/string.c ext/standard/tests/strings/stripos.phpt: fix invalid read - no need to compare strings if haystack is "" or shorter than needle add test * ext/standard/string.c ext/standard/tests/strings/stripos.phpt ext/standard/tests/strings/stripos.phpt: don't try to compare strings if haystack is "" or shorter than needle add test * ext/mysqli/mysqli_api.c ext/mysqli/tests/074.phpt: MFB: fix #38072 (boolean arg for mysqli_autocommit() is always true on Solaris) * ZendEngine2/zend_API.c: fix argument parsing utilities test before commit? * (PHP_5_2) NEWS ext/mysqli/mysqli_api.c ext/mysqli/tests/068.phpt: fix #38072 (boolean arg for mysqli_autocommit() is always true on Solaris) * (PHP_5_2) ext/mysqli/mysqli.c: fix TSRM build 2006-07-12 Dmitry Stogov * (PHP_5_2) NEWS ext/soap/php_encoding.c ext/soap/php_encoding.c ext/soap/tests/bugs/bug38067.phpt ext/soap/tests/bugs/bug38067.phpt ext/soap/tests/bugs/bug38067.phpt ext/soap/tests/bugs/bug38067.wsdl ext/soap/tests/bugs/bug38067.wsdl ext/soap/tests/bugs/bug38067.wsdl: Fixed bug #38067 (Parameters are not decoded from utf-8 when using encoding option) 2006-07-12 Hartmut Holzgraefe * ext/mysqli/tests/072.phpt ext/mysqli/tests/072.phpt ext/mysqli/tests/073.phpt ext/mysqli/tests/073.phpt: new test cases for mysqli_warnings and mysql_driver properties 2006-07-12 Dmitry Stogov * ext/pdo/tests/pdo_026.phpt ext/pdo/tests/pdo_026.phpt ext/pdo/tests/pdo_029.phpt ext/pdo/tests/pdo_029.phpt ext/pdo/tests/pdo_030.phpt ext/pdo/tests/pdo_030.phpt: Destructors call order is changed (Fixed bug #36759 - Objects destructors are invoked in wrong order when script is finished) * ZendEngine2/zend_execute_API.c ZendEngine2/tests/bug36759.phpt: Fixed bug #36759 (Objects destructors are invoked in wrong order when script is finished) * (PHP_5_2) NEWS ZendEngine2/zend_execute_API.c ZendEngine2/tests/bug36759.phpt ZendEngine2/tests/bug36759.phpt: Fixed bug #36759 (Objects destructors are invoked in wrong order when script is finished). 2006-07-12 Marcus Boerger * README.PARAMETER_PARSING_API README.PARAMETER_PARSING_API: - Reorder and add missing 2006-07-12 Hartmut Holzgraefe * ext/mysqli/mysqli_embedded.c ext/mysqli/mysqli_embedded.c: fixed C&P errors in groups handling, activated groups feature 2006-07-12 Sara Golemon * ZendEngine2/zend_API.c: Fix typo/Syntax error 2006-07-11 Hartmut Holzgraefe * (PHP_5_2) ext/mysqli/tests/connect.inc: MFH make sure that embedded database is correctly initialized * (PHP_5_2) ext/mysqli/tests/connect.inc: debug output was breaking all tests * ext/mysqli/tests/connect.inc ext/mysqli/tests/skipifnotemb.inc ext/mysqli/tests/skipifnotemb.inc: make sure embedded server is correctly initialized * ext/mysqli/tests/bug33263.phpt: skip when testing embedded server * ext/mysqli/tests/071.phpt ext/mysqli/tests/071.phpt: no need to test ping and kill with embedded server 2006-07-11 Andrei Zmievski * README.PARAMETER_PARSING_API: Explain new specifiers * README.UNICODE: Typos * README.UNICODE: Update design doc. * ZendEngine2/zend_API.c: Remove unused 'y' specifier. * unicode-todo.txt: -** empty log message *** 2006-07-11 Ilia Alshanetsky * (PHP_5_2) ext/standard/tests/assert/assert02.phpt: Fixed test 2006-07-11 Antony Dovgal * (PHP_5_2) ext/standard/tests/array/array_fill.phpt ext/standard/tests/array/array_filter.phpt ext/standard/tests/array/array_flip.phpt: add new tests by Ligaya Turmelle * ext/standard/tests/array/array_fill.phpt ext/standard/tests/array/array_fill.phpt ext/standard/tests/array/array_filter.phpt ext/standard/tests/array/array_filter.phpt ext/standard/tests/array/array_flip.phpt ext/standard/tests/array/array_flip.phpt: add new tests by Ligaya Turmelle * (PHP_5_2) ext/standard/tests/file/bug24313.phpt: MFH: /tmp is often a symlink, use /bin instead * ext/standard/tests/file/bug24313.phpt: /tmp is often a symlink, use /bin instead 2006-07-11 Andrei Zmievski * ext/unicode/unicode_iterators.c: Protos. * ext/unicode/unicode_iterators.c: Implement getAll() that can be used to get all the pieces defined by the boundaries. * ext/unicode/unicode_iterators.c: Make next() and previous() take optional step parameter and optimize return value usage. * ext/unicode/unicode_iterators.c: Implement getRuleStatus() and getRuleStatusArray() as well as related constants. * ZendEngine2/zend_API.c: Rename to a more explanatory macro. 2006-07-11 Antony Dovgal * (PHP_5_2) ext/xmlwriter/php_xmlwriter.c ext/xmlwriter/tests/010.phpt ext/xmlwriter/tests/010.phpt: fix typo, add new test * ext/xmlwriter/010.phpt ext/xmlwriter/php_xmlwriter.c: fix typo add test with error messages 2006-07-11 Andrei Zmievski * ext/unicode/unicode_iterators.c: Use object flags. 2006-07-11 Dmitry Stogov * ext/soap/php_encoding.c ext/soap/php_encoding.c ext/soap/php_encoding.c ext/soap/php_encoding.c ext/soap/php_encoding.h ext/soap/php_encoding.h ext/soap/php_http.c ext/soap/php_http.c ext/soap/php_packet_soap.c ext/soap/php_packet_soap.c ext/soap/php_schema.c ext/soap/php_schema.c ext/soap/php_sdl.c ext/soap/php_sdl.c ext/soap/php_sdl.h ext/soap/php_sdl.h ext/soap/php_xml.c ext/soap/php_xml.c ext/soap/php_xml.h ext/soap/php_xml.h ext/soap/soap.c ext/soap/soap.c ext/soap/soap.c ext/soap/soap.c: Nuke signed/unsigned compiler warnings 2006-07-11 Antony Dovgal * (PHP_5_2) ext/calendar/gregor.c ext/calendar/tests/jdtomonthname.phpt: fix segfault in jdmonthname(), add test * ext/calendar/gregor.c ext/calendar/tests/cal_info.phpt ext/calendar/tests/easter_date.phpt ext/calendar/tests/jdtomonthname.phpt ext/calendar/tests/jdtomonthname.phpt ext/calendar/tests/jdtounix.phpt: fix segfault in jfmonthname(), add test fix tests (I don't have /home/hartmut here =)) * ext/date/lib/parse_tz.c: MFB: eliminate compile warnings * (PHP_5_2) ext/date/lib/parse_tz.c: eliminate compile warnings * (PHP_5_2) ZendEngine2/tests/bug28444.phpt ZendEngine2/tests/bug30791.phpt ext/pdo/tests/bug_36428.phpt ext/pdo/tests/pdo_030.phpt ext/spl/tests/array_022.phpt ext/spl/tests/iterator_027.phpt ext/spl/tests/iterator_038.phpt ext/spl/tests/iterator_045.phpt ext/spl/tests/iterator_046.phpt ext/spl/tests/iterator_048.phpt ext/wddx/tests/bug37587.phpt tests/classes/tostring_001.phpt: there is no Unicode in 5_2 2006-07-11 Dmitry Stogov * ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h ZendEngine2/zend_vm_execute.h: Fixed memory leak in case of exception in iterator callbacks in 'foreach(new Iterator()...' (spl/tests/iterator_047.phpt). 2006-07-11 Hartmut Holzgraefe * ext/mysqli/tests/071.phpt: check both OO and procedural style as "thread_id" is a property and not a method in the OO interface * ext/mysqli/tests/071.phpt: modified test to use (and cover) mysqli->thread_id * ext/mysqli/tests/071.phpt: test kill() * ext/mysqli/tests/070.phpt: test ping() * ext/mysqli/tests/069.phpt: test multi_query(), next_result(), more_results() (only partially covered by a bug testcase yet) * ext/mysqli/tests/068.phpt: get_client_info() test * ext/mysqli/tests/047.phpt: test was only covering fetch_fields(), added fetch_field() and fetch_field_direct() * ext/mysqli/tests/019.phpt: test was not covering DOUBLE bindings 2006-07-11 Ilia Alshanetsky * sapi/apache2handler/EXPERIMENTAL: MFB: apache2handler sapi is no longer experimental * (PHP_5_2) sapi/apache2handler/EXPERIMENTAL: apache2handler sapi is no longer experimental 2006-07-10 Andrei Zmievski * unicode-todo.txt: -** empty log message *** * ZendEngine2/zend_API.c: Optimize zero-arg case for parameter parsing. No more need for manual checks. * ZendEngine2/zend_unicode.h: Include uclean.h header. 2006-07-10 Dmitry Stogov * (PHP_5_2) NEWS ext/standard/var.c ext/standard/var.c ext/standard/tests/serialize/bug37947.phpt ext/standard/tests/serialize/bug37947.phpt ext/standard/tests/serialize/bug37947.phpt: Fixed bug #37947 (zend_ptr_stack reallocation problem) 2006-07-10 Antony Dovgal * ZendEngine2/zend_unicode.c: nuke unused variable 2006-07-10 Michael Wallner * ext/mysqli/mysqli.c: - revert messed up patch * ext/mysqli/mysqli.c: - fix 5.2 build 2006-07-10 Antony Dovgal * (PHP_5_2) ext/mysqli/mysqli.c: MFH: fix mysqli_*_free_storage() funcs to conform with their prototypes * ext/mysqli/mysqli.c: fix mysqli_*_free_storage() funcs to conform with their prototypes 2006-07-10 Dmitry Stogov * ext/mysqli/mysqli.c ext/mysqli/mysqli.c: Another fix for #38019 * (PHP_5_2) NEWS: Fixed bug #38055 (Wrong interpretation of boolean parameters) * (PHP_5_2) NEWS ext/mysqli/mysqli.c ext/mysqli/mysqli.c: Fixed bug #38019 (segfault extending mysqli class) * (PHP_5_2) NEWS: Fixed bug #38005 (SoapFault faultstring doesn't follow encoding rules) * (PHP_5_2) NEWS: Fixed bug #38004 Parameters in SoapServer are decoded twice 2006-07-10 Nuno Lopes * ext/calendar/tests/easter_date.phpt: fix test on non-Harmut machine :) 2006-07-10 Marcus Boerger * (PHP_5_2) NEWS: - BFN * (PHP_5_2) ZendEngine2/zend_exceptions.c ZendEngine2/zend_execute.c ZendEngine2/zend_object_handlers.c ZendEngine2/tests/bug37667.phpt: - MFH Fixed Bug #37667 (Object is not added into array returned by __get) * ZendEngine2/tests/bug37667.phpt ZendEngine2/tests/bug37667.phpt: - Add missing test name prefix * ZendEngine2/zend_execute.c: - Drop unused var * (PHP_5_2) NEWS: - MFH Fixed bug #37816 (ReflectionProperty does not throw exception when accessing protected attribute) * ZendEngine2/tests/bug37667.phpt: - Add new test * ZendEngine2/zend_exceptions.c ZendEngine2/zend_execute.c ZendEngine2/zend_object_handlers.c: - Fix issues with __get() returning arrays (might need to be revised) 2006-07-09 Ilia Alshanetsky * ext/calendar/php_calendar.h: MFB: Removed pointless declarations * (PHP_5_2) ext/calendar/php_calendar.h: Removed pointless declarations 2006-07-09 Marcus Boerger * (PHP_5_2) EXTENSIONS: - Add new entry * EXTENSIONS: - Add missing entry * EXTENSIONS: - It appears i am the maintainer * (PHP_5_2) NEWS NEWS: - BFN 2006-07-09 Hartmut Holzgraefe * ext/calendar/tests/easter_date.phpt ext/calendar/tests/jddayofweek.phpt ext/calendar/tests/jdmonthname.phpt: more test coverage 2006-07-09 Marcus Boerger * ZendEngine2/zend_builtin_functions.c ZendEngine2/zend_builtin_functions.c ZendEngine2/tests/bug37811.phpt ZendEngine2/tests/bug37811.phpt ZendEngine2/tests/bug37811.phpt: - Fixed Bug #37811 define not using toString on objects * (PHP_5_2) ZendEngine2/zend_operators.c: - MFH Fix issue with comparing objects with objects * ZendEngine2/zend_operators.c: - Reword comment * ZendEngine2/zend_operators.c: - Fix issue with comparing objects with objects * NEWS: - Entry doesn't belong here, fixed in 5.2 * ZendEngine2/zend_operators.c: - Drop dead code * ZendEngine2/tests/objects_015.phpt ZendEngine2/tests/objects_015.phpt: - Add new test * (PHP_5_2) ZendEngine2/zend_operators.c: - MFH: . Fix comparision edgecases involving objects (Tony, Marcus) . Use ZVAL_LONG() where appropriate * ZendEngine2/zend_operators.c: - Fix comparision edgecases involving objects (Tony, Marcus) - Use ZVAL_LONG() where appropriate * ZendEngine2/tests/abstract-static.phpt: - Fix test 2006-07-09 Hartmut Holzgraefe * ext/calendar/tests/cal_from_jd.phpt ext/calendar/tests/cal_info.phpt ext/calendar/tests/easter_date.phpt ext/calendar/tests/gregoriantojd.phpt ext/calendar/tests/jddayofweek.phpt ext/calendar/tests/jdmonthname.phpt ext/calendar/tests/jdtofrench.phpt ext/calendar/tests/jdtogregorian.phpt ext/calendar/tests/jdtojulian.phpt ext/calendar/tests/jdtounix.phpt ext/calendar/tests/jewishtojd.phpt ext/calendar/tests/juliantojd.phpt ext/calendar/tests/unixtojd.phpt: additional test cases added, should now cover all functions and modes allthough still not all edge cases 2006-07-08 Nuno Lopes * ext/zlib/zlib.c: change char* to void* when using the 't' parameter (as noted by Andrei) 2006-07-07 Nuno Lopes * (PHP_5_2) main/logos.h: static + const keywords * ext/zlib/zlib.c: upgrade a couple of functions to Unicode * main/logos.h: static+const keywords 2006-07-07 Antony Dovgal * ext/oci8/package.xml: add missing items to the changelog 2006-07-06 Ilia Alshanetsky * ext/dba/dba.c ext/dba/libinifile/inifile.c: MFB: E_ERROR > E_RECOVERABLE_ERROR * (PHP_5_2) ext/dba/dba.c ext/dba/libinifile/inifile.c: E_ERROR > E_RECOVERABLE_ERROR 2006-07-06 Antony Dovgal * ZendEngine2/tests/016.phpt: add test * ZendEngine2/tests/016.phpt ZendEngine2/tests/016.phpt: file 016.phpt was initially added on branch PHP_5_2. 2006-07-06 Sara Golemon * (PHP_5_1) ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h ZendEngine2/zend_vm_execute.h: MFH (def.h rev:1.121, execute.h rev:1.120) Silence FETCH_OBJ_IS / undefined notices * ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h: Silence FETCH_OBJ_IS / undefined notices 2006-07-05 Ilia Alshanetsky * (PHP_5_2) ext/standard/php_fopen_wrapper.c: E_ERROR > E_RECOVERABLE_ERROR 2006-07-05 Antony Dovgal * ext/mysqli/tests/bug38003.phpt: add test * ext/mysqli/tests/bug38003.phpt ext/mysqli/tests/bug38003.phpt: file bug38003.phpt was initially added on branch PHP_5_2. * tests/classes/factory_and_singleton_003.phpt tests/classes/factory_and_singleton_004.phpt: fix tests (take #2) * tests/classes/factory_and_singleton_003.phpt tests/classes/factory_and_singleton_003.phpt tests/classes/factory_and_singleton_004.phpt tests/classes/factory_and_singleton_004.phpt: fix tests * (PHP_5_2) ZendEngine2/zend_object_handlers.c: oops.. fix copy/paste typo * (PHP_5_2) NEWS: BFN * (PHP_5_2) ext/mysqli/mysqli.c: MFH: fix bug #38003(in classes inherited from mysqli it's possible to call private constructors from invalid context) * ext/mysqli/mysqli.c: fix bug #38003(in classes inherited from mysqli it's possible to call private constructors from invalid context) also, use appropriate macro instead of accessing structure elements directly * ZendEngine2/zend_object_handlers.c ZendEngine2/zend_object_handlers.h: export zend_std_get_constructor() * ZendEngine2/zend_object_handlers.c: improve error messages 2006-07-05 Edin Kadribasic * (PHP_5_2) NEWS: apache2filter on windows news * sapi/apache2filter/config.w32: Added windows build support for apach2filter, supporting apache 2.0.x and 2.2.x 2006-07-04 Ilia Alshanetsky * ext/curl/interface.c: MFB: Eliminate some compiler warnings * (PHP_5_2) ext/curl/interface.c: Eliminate some compiler warnings 2006-07-04 Derick Rethans * (PHP_5_2) NEWS: - MFH: Updated timezonedb to version 2006.7. - MFH: Fixed test cases because of new constant values for the formats. * (PHP_4_4) NEWS configure.in main/php_version.h: - Back to dev. * (PHP_4_4) NEWS configure.in main/php_version.h: - Go with RC2. 2006-07-04 Dmitry Stogov * (PHP_5_2) NEWS main/php_ini.c main/php_ini.c: Changed priority of PHPRC environment variable on win32 to be higher then value from registry. 2006-07-03 Hannes Magnusson * (PHP_5_2) ext/standard/tests/assert/assert02.phpt: Make everyone happy * ext/standard/tests/assert/assert02.phpt: make everyone happy 2006-07-03 Ilia Alshanetsky * (PHP_5_2) ext/standard/tests/assert/assert02.phpt: Fixed test 2006-07-03 John Coggeshall * (PHP_5_2) NEWS: Adding Apache2Filter news * (PHP_5_2) sapi/apache2filter/php_apache.h sapi/apache2filter/sapi_apache2.c: Reimplementation of the way Apache 2 Filter works. Instead of ripping the source from a file (thus bypassing any previous filters in the chain). This implementation wraps Zend's internal stream mechanism, allowing ZE to read from Apache's streams instead. 2006-07-03 Hannes Magnusson * ext/pcre/tests/preg_replace_callback2.phpt ext/pcre/tests/preg_replace_callback2.phpt ext/standard/tests/assert/assert02.phpt ext/standard/tests/assert/assert02.phpt: fix tests 2006-07-03 Nuno Lopes * ext/pcre/tests/locales.phpt ext/pcre/tests/match_flags3.phpt ext/pcre/tests/preg_replace.phpt ext/pcre/tests/preg_replace_callback.phpt ext/pcre/tests/preg_replace_callback2.phpt: MFB * (PHP_5_2) ext/pcre/tests/match_flags3.phpt ext/pcre/tests/preg_replace_callback2.phpt ext/pcre/tests/preg_replace_callback2.phpt: more testing * (PHP_5_2) ext/pcre/tests/locales.phpt ext/pcre/tests/match_flags3.phpt ext/pcre/tests/match_flags3.phpt ext/pcre/tests/preg_replace.phpt ext/pcre/tests/preg_replace.phpt ext/pcre/tests/preg_replace_callback.phpt ext/pcre/tests/preg_replace_callback.phpt: new tests and fix the locales test where the pt local isnt available. 2006-07-02 Ilia Alshanetsky * (PHP_5_2) NEWS ext/standard/filestat.c: Fixed bug #37987 (invalid return of file_exists() in safe mode). 2006-07-02 Hannes Magnusson * ext/fdf/fdf.c ext/gd/gd.c ext/standard/basic_functions.c: nuke types in arginfo 2006-07-01 Nuno Lopes * ext/standard/assert.c ext/standard/tests/assert/assert02.phpt: MFB5.2: fix assert() problems * (PHP_5_2) ext/standard/assert.c ext/standard/tests/assert/assert02.phpt ext/standard/tests/assert/assert02.phpt: fixed segfaults and such things within the new assert02.phpt test * main/fopen_wrappers.c main/fopen_wrappers.h main/network.c: MFB5.2: const keywording * (PHP_5_2) main/fopen_wrappers.c main/fopen_wrappers.h main/network.c main/safe_mode.c main/safe_mode.h: add const keywords 2006-06-30 Hannes Magnusson * ext/standard/basic_functions.c: Do not force pass by-ref, these functions only prefer by-ref 2006-06-30 Antony Dovgal * (PHP_5_2) NEWS: news * (PHP_5_2) ext/standard/filestat.c: MFH: add error messages to disk_free_space() & disk_total_space() (feature request #37971) * ext/standard/filestat.c: add error messages to disk_free_space() & disk_total_space() (feature request #37971) * ext/standard/string.c: fix off-by-one in addslashes() in Unicode mode 2006-06-29 Ilia Alshanetsky * ext/pspell/tests/002.phpt: MFB: Fixed test for situations where pspell_clear_session() is unavailable. * (PHP_5_2) ext/pspell/tests/002.phpt: Fixed test for situations where pspell_clear_session() is unavailable. * ext/pspell/tests/003.phpt: MFB: Fixed test * (PHP_5_2) ext/pspell/tests/003.phpt: Fixed test 2006-06-29 Hannes Magnusson * ext/standard/tests/file/stream_rfc2397_002.phpt ext/standard/tests/file/stream_rfc2397_002.phpt: fix test * ext/standard/http_fopen_wrapper.c ext/standard/http_fopen_wrapper.c main/streams/memory.c main/streams/memory.c: url->URL * ext/curl/interface.c ext/standard/url.c: MFB: url -> URL * (PHP_5_2) ext/curl/interface.c ext/standard/url.c: Bug #37961 (url should be URL) 2006-06-29 Antony Dovgal * ext/xml/tests/bug26528.phpt ext/xml/tests/bug35447.phpt: fix tests * (PHP_5_2) ext/sysvshm/sysvshm.c: MFH: make sure we won't get into endless loop * ext/sysvshm/sysvshm.c: make sure we won't get into endless loop if value shm_var->next is corrupted 2006-06-28 Ilia Alshanetsky * (PHP_4_4) NEWS: bug fixing news * (PHP_4_4) ext/standard/basic_functions.c ext/standard/basic_functions.c: MFH: Improved safe_mode check for the error_log() function. * (PHP_5_2) NEWS ext/standard/basic_functions.c: Improved safe_mode check for the error_log() function. 2006-06-28 Antony Dovgal * README.UNICODE README.UNICODE-UPGRADES php.ini-dist php.ini-recommended run-tests.php ext/simplexml/tests/000.phpt ext/standard/tests/strings/strtr2.phpt: unicode_semantics -> unicode.semantics * ext/oci8/package.xml: update changelog * (PHP_5_2) NEWS: BFN * (PHP_5_2) ext/oci8/oci8.c: MFH: fix #37931 (possible crash after database restart when using persistent connections) * ext/oci8/oci8.c: fix #37931 (possible crash after database restart when using persistent connections) 2006-06-28 Nuno Lopes * ext/pspell/tests/.cvsignore ext/pspell/tests/001.phpt ext/pspell/tests/002.phpt ext/pspell/tests/003.phpt ext/pspell/tests/004.phpt ext/pspell/tests/005.phpt ext/pspell/tests/01pspell_basic.phpt ext/pspell/tests/wordlist.txt: MFB * (PHP_5_2) ext/pspell/tests/.cvsignore ext/pspell/tests/001.phpt ext/pspell/tests/001.phpt ext/pspell/tests/002.phpt ext/pspell/tests/002.phpt ext/pspell/tests/003.phpt ext/pspell/tests/003.phpt ext/pspell/tests/004.phpt ext/pspell/tests/004.phpt ext/pspell/tests/005.phpt ext/pspell/tests/005.phpt ext/pspell/tests/01pspell_basic.phpt ext/pspell/tests/wordlist.txt ext/pspell/tests/wordlist.txt: new tests (001.phpt is just a rename from the older one) increases coverage from 20% to 70% 2006-06-28 Andrei Zmievski * ZendEngine2/zend.c: Rename unicode_semantics to unicode.semantics. 2006-06-28 Derick Rethans * (PHP_4_4) NEWS ext/standard/info.c: - MF51: Fixed XSS inside phpinfo() with long inputs. 2006-06-27 Ilia Alshanetsky * (PHP_5_2) NEWS: Improved the error reporting in SOAP extension on request failure. 2006-06-27 Hannes Magnusson * (PHP_5_2) ext/standard/basic_functions.c: arginof fixes * ext/standard/basic_functions.c: arginfo fixes * (PHP_5_2) ext/standard/basic_functions.c: Fix arg info (php6 features) 2006-06-27 Antony Dovgal * (PHP_5_2) ZendEngine2/tests/001.phpt ZendEngine2/tests/002.phpt ZendEngine2/tests/003.phpt ZendEngine2/tests/004.phpt ZendEngine2/tests/005.phpt ZendEngine2/tests/006.phpt ZendEngine2/tests/007.phpt ZendEngine2/tests/008.phpt ZendEngine2/tests/009.phpt ZendEngine2/tests/010.phpt ZendEngine2/tests/011.phpt ZendEngine2/tests/012.phpt ZendEngine2/tests/013.phpt ZendEngine2/tests/014.inc ZendEngine2/tests/014.phpt ZendEngine2/tests/015.phpt: add new tests * ZendEngine2/tests/001.phpt ZendEngine2/tests/001.phpt ZendEngine2/tests/002.phpt ZendEngine2/tests/002.phpt ZendEngine2/tests/003.phpt ZendEngine2/tests/003.phpt ZendEngine2/tests/004.phpt ZendEngine2/tests/004.phpt ZendEngine2/tests/005.phpt ZendEngine2/tests/005.phpt ZendEngine2/tests/006.phpt ZendEngine2/tests/006.phpt ZendEngine2/tests/007.phpt ZendEngine2/tests/007.phpt ZendEngine2/tests/008.phpt ZendEngine2/tests/008.phpt ZendEngine2/tests/009.phpt ZendEngine2/tests/009.phpt ZendEngine2/tests/010.phpt ZendEngine2/tests/010.phpt ZendEngine2/tests/011.phpt ZendEngine2/tests/011.phpt ZendEngine2/tests/012.phpt ZendEngine2/tests/012.phpt ZendEngine2/tests/013.phpt ZendEngine2/tests/013.phpt ZendEngine2/tests/014.inc ZendEngine2/tests/014.inc ZendEngine2/tests/014.phpt ZendEngine2/tests/014.phpt ZendEngine2/tests/015.phpt ZendEngine2/tests/015.phpt: add new tests * ZendEngine2/zend_builtin_functions.c: no need to throw E_ERROR here, E_WARNING is more than enough * (PHP_5_2) NEWS: BFN * (PHP_5_2) sapi/cgi/cgi_main.c sapi/cli/php_cli.c: MFH: fix #37920 (compilation problems on z/OS) * sapi/cgi/cgi_main.c sapi/cli/php_cli.c: fix #37920 (compilation problems on z/OS) 2006-06-27 Hannes Magnusson * ext/dom/tests/bug34276.phpt ext/dom/tests/bug35342.phpt ext/dom/tests/dom002.phpt ext/iconv/tests/bug37176.phpt ext/mbstring/tests/mb_send_mail01.phpt ext/mbstring/tests/mb_send_mail02.phpt ext/mbstring/tests/mb_send_mail03.phpt ext/mbstring/tests/mb_send_mail04.phpt ext/mbstring/tests/mb_send_mail05.phpt ext/mbstring/tests/mb_send_mail06.phpt ext/mbstring/tests/mb_send_mail07.phpt ext/simplexml/tests/bug35785.phpt ext/simplexml/tests/bug36611.phpt ext/simplexml/tests/bug37565.phpt ext/simplexml/tests/profile12.phpt ext/simplexml/tests/profile13.phpt ext/wddx/tests/bug37569.phpt ext/wddx/tests/bug37587.phpt: Fix/add SKIPIF 2006-06-26 Hannes Magnusson * ext/pcre/tests/locales.phpt: Fix test 2006-06-26 Antony Dovgal * ext/zlib/tests/004.phpt ext/zlib/tests/004.txt.gz ext/zlib/tests/005.phpt ext/zlib/tests/006.phpt ext/zlib/tests/007.phpt: add new tests * ext/zlib/tests/004.phpt ext/zlib/tests/004.phpt ext/zlib/tests/004.txt.gz ext/zlib/tests/004.txt.gz ext/zlib/tests/005.phpt ext/zlib/tests/005.phpt ext/zlib/tests/006.phpt ext/zlib/tests/006.phpt ext/zlib/tests/007.phpt ext/zlib/tests/007.phpt: file 004.phpt was initially added on branch PHP_5_2. * (PHP_5_2) ext/zlib/zlib.c: MFH: zero-terminate strings produced with FORCE_DEFLATE * ext/zlib/zlib.c: zero-terminate strings produced with FORCE_DEFLATE * ext/zlib/zlib.c: MFB: don't try to inflate empty strings * (PHP_5_2) ext/zlib/zlib.c: don't try to inflate empty strings (and stop segfaulting!) 2006-06-26 Hannes Magnusson * (PHP_5_2) ext/standard/basic_functions.c: nuke obsolete arginfo 2006-06-26 Antony Dovgal * ext/bz2/tests/001.phpt ext/bz2/tests/001.phpt ext/bz2/tests/002.phpt ext/bz2/tests/002.phpt ext/bz2/tests/003.phpt ext/bz2/tests/003.txt.bz2 ext/bz2/tests/004.phpt ext/bz2/tests/004_1.txt.bz2 ext/bz2/tests/004_2.txt.bz2 ext/bz2/tests/005.phpt: add new tests, improve the old ones 2006-06-26 Hannes Magnusson * ext/standard/basic_functions.c: Add arginfo for sys_getloadavg() iUpdate arginfo for base64_decode() * ext/standard/base64.c ext/standard/base64.h ext/standard/tests/strings/bug37244.phpt ext/standard/tests/strings/bug37244.phpt: MFB: bug #37244 (base64_decode violates RFC 3548) -Add test 2006-06-26 Antony Dovgal * ext/bz2/tests/003.phpt ext/bz2/tests/003.phpt ext/bz2/tests/003.txt.bz2 ext/bz2/tests/003.txt.bz2 ext/bz2/tests/004.phpt ext/bz2/tests/004.phpt ext/bz2/tests/004_1.txt.bz2 ext/bz2/tests/004_1.txt.bz2 ext/bz2/tests/004_2.txt.bz2 ext/bz2/tests/004_2.txt.bz2 ext/bz2/tests/005.phpt ext/bz2/tests/005.phpt: file 003.phpt was initially added on branch PHP_5_2. * (PHP_5_2) ext/bz2/bz2.c: MFH: detect empty mode string and avoid off-by-one * ext/bz2/bz2.c: detect empty mode string and avoid off-by-one 2006-06-26 Hannes Magnusson * configure.in ext/standard/basic_functions.c ext/standard/basic_functions.h: MFB: sys_getloadavg() * (PHP_5_2) ext/standard/array.c ext/standard/formatted_print.c ext/standard/levenshtein.c ext/standard/metaphone.c ext/standard/streamsfuncs.c ext/standard/string.c ext/standard/url.c ext/standard/uuencode.c ext/standard/versioning.c: Updated protos & vim folding * (PHP_5_2) ext/standard/user_filters.c ext/standard/tests/filters/php_user_filter_01.phpt ext/standard/tests/filters/php_user_filter_02.phpt ext/standard/tests/filters/php_user_filter_03.phpt: MFH: argument info for php_user_filter Add tests * (PHP_5_2) ext/mcrypt/mcrypt.c ext/mcrypt/php_mcrypt.h ext/mysql/php_mysql.c ext/standard/basic_functions.c ext/standard/streamsfuncs.c ext/standard/streamsfuncs.h: MFH: use the ZEND_ACC_DEPRECATED flag rather than custom warnings * ext/simplexml/simplexml.c: MFB: saveXML() -> asXML() alias * ext/curl/interface.c ext/gmp/gmp.c: Removed obsolete arg_info include * (PHP_5_2) NEWS ext/simplexml/simplexml.c: Added SimpleXMLElement::saveXML() as an alias for SimpleXMLElement::asXML() 2006-06-26 Dmitry Stogov * (PHP_5_2) NEWS: Fixed bug #37862 (Integer pointer comparison to numeric value) 2006-06-26 Rasmus Lerdorf * ext/standard/basic_functions.c: Cleaner fix * ext/standard/basic_functions.c: sapi_getenv() estrdups the returned string now, so we need to free it 2006-06-26 Hannes Magnusson * ext/mcrypt/mcrypt.c ext/mcrypt/php_mcrypt.h ext/mysql/php_mysql.c ext/standard/basic_functions.c ext/standard/streamsfuncs.c ext/standard/streamsfuncs.h: Removed custom deprecate error messages Use the fancy ZEND_ACC_DEPRECATED flag. 2006-06-25 Hannes Magnusson * (PHP_5_2) NEWS: MFH http_build_query() & parse_url() news * NEWS: curl_setopt_array() was added in 5.1.3 http_build_query() & parse_url in 5.2 * ext/standard/user_filters.c ext/standard/tests/filters/php_user_filter_01.phpt ext/standard/tests/filters/php_user_filter_02.phpt ext/standard/tests/filters/php_user_filter_03.phpt: Added argument info (forces user-space filters to register correct arguments) Added tests 2006-06-25 Antony Dovgal * ext/standard/tests/image/image_type_to_extension.phpt: MFB: improve test * (PHP_5_2) ext/standard/tests/image/image_type_to_extension.phpt: improve test file don't forget to test invalid parameters etc. 2006-06-25 Hannes Magnusson * (PHP_5_2) NEWS: Added image_type_to_extension() * (PHP_5_2) ext/standard/image.c: WS fix * ext/standard/basic_functions.c ext/standard/tests/image/image_type_to_extension.phpt ext/standard/tests/image/image_type_to_extension.phpt: Enabled image_type_to_extension() which has been in cvs for 2,5 years now.. Added test * ext/standard/image.c: Fixed image_type_to_extension() Added support for IMAGETYPE_JPX & IMAGETYPE_JB2 * ext/standard/array.c ext/standard/formatted_print.c ext/standard/levenshtein.c ext/standard/metaphone.c ext/standard/streamsfuncs.c ext/standard/string.c ext/standard/url.c ext/standard/uuencode.c ext/standard/versioning.c: Updated protos Fixed vim folding * ext/standard/basic_functions.c sapi/cgi/cgi_main.c sapi/cli/php_cli.c sapi/embed/php_embed.c: Argument info 2006-06-23 Andrei Zmievski * unicode-todo.txt: -** empty log message *** 2006-06-23 Ilia Alshanetsky * ext/standard/assert.c: MFB: Change E_ERROR to E_RECOVERABLE_ERROR * (PHP_5_2) ext/standard/assert.c: Change E_ERROR to E_RECOVERABLE_ERROR 2006-06-23 Antony Dovgal * ext/oci8/oci8.c: fix typo and bug #37886 2006-06-23 Michael Wallner * ext/bz2/bz2_filter.c: MFB: use %zu to format size_t * (PHP_5_2) ext/bz2/bz2_filter.c: - use %zu to format size_t 2006-06-23 Andrei Zmievski * unicode-todo.txt: Update. 2006-06-22 Andrei Zmievski * unicode-todo.txt: Fixed in ICU 3.6. 2006-06-22 Antony Dovgal * ZendEngine2/zend_modules.h ZendEngine2/zend_modules.h: fix typo * ext/oci8/config.m4 ext/oci8/package.xml: add 4.3.10 dependency to package.xml add check for PHP version in ./configure 2006-06-21 Andrei Zmievski * ZendEngine2/zend_constants.c ZendEngine2/zend_unicode.c ZendEngine2/zend_unicode.h main/streams/filter.c main/streams/streams.c: Implement user conversion error handler support. Works as normal error handler, in that it can return false to make the default one take over. Handler signature is: user_handler($direction, $encoding, $char_byte, $offset, $message) Also removed support for using exceptions in default error handler. * main/streams/streams.c: Typos. 2006-06-21 Ilia Alshanetsky * ext/bz2/bz2_filter.c: MFB: Fixed compiler warnings. * (PHP_5_2) ext/bz2/bz2_filter.c: Fixed compiler warnings. 2006-06-21 Antony Dovgal * (PHP_5_2) ext/bz2/bz2.c ext/bz2/tests/001.phpt ext/bz2/tests/002.phpt: MFH: improve check for stream mode, add tests * ext/bz2/bz2.c ext/bz2/tests/001.phpt ext/bz2/tests/001.phpt ext/bz2/tests/002.phpt ext/bz2/tests/002.phpt: improve check for stream mode, add tests * (PHP_5_2) ext/bz2/bz2.c: MFH: don't try to read or write from/to a stream if it was open in different mode (leads to segfault in libbz2) * ext/bz2/bz2.c: don't try to read or write from/to a stream if it was open in different mode (leads to segfault in libbz2) * (PHP_5_2) ext/bz2/bz2.c: MFH: fix invalid read with bzopen("","") and prevent filename from being empty (which causes endless loop somewhere is libbz2) * ext/bz2/bz2.c: fix invalid read with bzopen("","") and prevent filename from being empty (which causes endless loop somewhere is libbz2) tests will follow * ext/oci8/oci8.c: fix compile failure with ancient older PHP versions caused by new globals management code 2006-06-20 Andrei Zmievski * ZendEngine2/zend.c ZendEngine2/zend_execute_API.c ZendEngine2/zend_globals.h: Implement unicode_set_error_handler() / unicode_restore_error_handler(). The error handler doesn't do anything yet. (vaporware) * ZendEngine2/zend_builtin_functions.c: Plug memory leak in set_exception_handler(). 2006-06-20 Ilia Alshanetsky * ext/tokenizer/php_tokenizer.h ext/tokenizer/tokenizer.c: MFB: Removed pointless callbacks. * (PHP_5_2) ext/tokenizer/php_tokenizer.h ext/tokenizer/tokenizer.c: Removed pointless callbacks. 2006-06-20 Nuno Lopes * ext/standard/tests/file/bug37864.phpt: MFB 5.2 * (PHP_5_2) ext/standard/tests/file/bug37864.phpt: make sure the test outputs what we want 2006-06-20 Hannes Magnusson * (PHP_5_2) NEWS: Bug fix news... * (PHP_5_2) ext/standard/tests/file/file_get_contents.phpt: Renamed to bug37864.phpt * ext/standard/tests/file/file_get_contents.phpt: Renamed file to bug37864.phpt * ext/standard/tests/file/bug37864.phpt ext/standard/tests/file/bug37864.phpt: Test for bug #37864 (file_get_contents() leaks on empty file) 2006-06-20 Antony Dovgal * ext/standard/tests/file/file_get_contents.phpt ext/standard/tests/file/file_get_contents.phpt: don't leave garbage in tmp dir 2006-06-20 Hannes Magnusson * (PHP_5_2) ext/standard/tests/file/file_get_contents.phpt: MFH: test for file_get_contents leaking on empty file * ext/standard/tests/file/file_get_contents.phpt ext/standard/tests/file/file_get_contents.phpt: add test for file_get_contents() leaking on empty file * main/streams/streams.c: Plug memleak (leaks on empty files) * ext/dom/php_dom.h: Add missing header include 2006-06-20 Antony Dovgal * ZendEngine2/zend_API.c: init variables * (PHP_5_2) ext/dom/document.c: MFH: nuke unused variables and init variables when needed * ext/dom/document.c: nuke unused variables and init variables when needed * ext/standard/tests/general_functions/sunfuncts.phpt: fix test to work on all platforms * (PHP_5_2) ZendEngine2/tests/objects_013.phpt ext/simplexml/tests/031.phpt ext/simplexml/tests/bug37565.phpt ext/simplexml/tests/bug37565.phpt ext/sqlite/tests/sqlite_004.phpt ext/standard/tests/general_functions/sunfuncts.phpt ext/standard/tests/math/bug27646.phpt: fix test * sapi/cli/php_cli.c: initialize pointers * ZendEngine2/tests/objects_013.phpt ZendEngine2/tests/objects_014.phpt ext/standard/tests/strings/bug23894.phpt ext/standard/tests/strings/bug25671.phpt ext/standard/tests/strings/bug27278.phpt ext/standard/tests/strings/str_shuffle.phpt ext/standard/tests/strings/substr_compare.phpt ext/standard/tests/strings/url_t.phpt: fix tests 2006-06-19 Ilia Alshanetsky * ext/posix/posix.c: MFB: Added missing ifdef block. * (PHP_5_2) ext/posix/posix.c: Added missing ifdef block. 2006-06-19 Antony Dovgal * ext/oci8/oci8.c: display oci8 version in phpinfo() * (PHP_5_2) sapi/cgi/cgi_main.c: MFH: plug leak in CGI SAPI when running scripts with query string in console * sapi/cgi/cgi_main.c: plug leak in CGI SAPI when running scripts with query string in console * (PHP_5_2) ZendEngine2/tests/bug33732.phpt ZendEngine2/tests/objects_014.phpt: fix tests * (PHP_5_2) NEWS: BFN * ext/odbc/php_odbc_includes.h: MFB: fix #37848 (ext/odbc compile failure) * (PHP_5_2) ext/odbc/php_odbc_includes.h: fix #37848 (ext/odbc compile failure) 2006-06-19 Michael Wallner * sapi/cli/php_cli.c: MFB52: Fix Bug #37780 memory leak trying to execute a non existing file (CLI) * (PHP_5_2) NEWS sapi/cli/php_cli.c: - Fix Bug #37780 memory leak trying to execute a non existing file (CLI) 2006-06-19 Antony Dovgal * (PHP_5_2) sapi/cgi/cgi_main.c: MFH: add missing ifdef and avoid "unused variable" warning * sapi/cgi/cgi_main.c: add missing ifdef and avoid "unused variable" warning 2006-06-19 Ilia Alshanetsky * ext/posix/config.m4 ext/posix/php_posix.h ext/posix/posix.c: MFB: Added posix_initgroups() function. * (PHP_5_2) NEWS ext/posix/config.m4 ext/posix/php_posix.h ext/posix/posix.c: Added posix_initgroups() function. 2006-06-17 Hannes Magnusson * ext/iconv/iconv.c: Added argument info Fixed protos Fixed vim folding 2006-06-17 Nuno Lopes * configure.in sapi/cgi/cgi_main.c: MFB * (PHP_5_2) configure.in sapi/cgi/cgi_main.c: plug memory leak in sapi_putenv, by using setenv(), that doesnt need any malloc 2006-06-16 Seiji Masugata * (PHP_5_2) ext/mbstring/mbstring.c: changed GINIT definition. 2006-06-16 Rasmus Lerdorf * (PHP_5_2) NEWS php.ini-dist main/main.c main/php_globals.h main/streams/streams.c: MFH: Backported allow_url_include from HEAD. This directive allows separate control of URL handling in includes/requires allowing sites to enable allow_url_fopen without enabling remote includes. 2006-06-16 Stefan Esser * (PHP_5_2) acinclude.m4: MFH: Only care about wrong flex version, when needed. * acinclude.m4: Fixed that configure bails out on wrong flex version. Now a wrong flex version will issue a warning and when flex is needed during the make process the make process will die with an error message. 2006-06-16 Dmitry Stogov * win32/crypt_win32.c win32/crypt_win32.h: New crypt() implementation for win32 which is about 10 times faster and has more friendly license. * (PHP_5_2) NEWS win32/crypt_win32.c win32/crypt_win32.h: New crypt() implementation for win32 which is about 10 times faster and has more friendly license. 2006-06-16 Jani Taskinen * (PHP_5_2) ext/gmp/gmp.c: Fix build. (gmp_nextprime() was added in PHP 6!) 2006-06-15 Dmitry Stogov * (PHP_5_2) ext/sybase_ct/php_sybase_ct.c ext/tokenizer/tokenizer.c ext/xml/php_xml.h ext/xml/xml.c ext/zlib/zlib.c: Added automatic module globals management * (PHP_5_2) ext/mssql/php_mssql.c ext/mysql/php_mysql.c ext/mysqli/mysqli.c ext/oci8/oci8.c ext/odbc/php_odbc.c ext/odbc/php_odbc_includes.h ext/pcntl/pcntl.c ext/pcre/php_pcre.c ext/pgsql/pgsql.c ext/posix/posix.c ext/recode/recode.c ext/session/session.c ext/skeleton/skeleton.c ext/snmp/snmp.c ext/sockets/sockets.c ext/sqlite/sqlite.c: Added automatic module globals management * (PHP_5_2) ext/bcmath/bcmath.c ext/com_dotnet/com_extension.c ext/dba/dba.c ext/exif/exif.c ext/fbsql/php_fbsql.c ext/fdf/fdf.c ext/gmp/gmp.c ext/iconv/iconv.c ext/imap/php_imap.c ext/interbase/interbase.c ext/ldap/ldap.c ext/mbstring/mbstring.c ext/mcrypt/mcrypt.c ext/mime_magic/mime_magic.c: Added automatic module globals management 2006-06-15 Hannes Magnusson * ext/curl/interface.c ext/dbase/dbase.c ext/gd/gd.c: Add array type hinting Remove unnecessary array checkes 2006-06-15 Seiji Masugata * ext/mbstring/mbstring.c: changed GINIT definition. 2006-06-15 Nuno Lopes * ext/pcre/php_pcre.c ext/pcre/tests/bug37800.phpt: MFB: fix bug #37800 * (PHP_5_2) ext/pcre/php_pcre.c ext/pcre/tests/bug37800.phpt ext/pcre/tests/bug37800.phpt: fix bug #37800: preg_replace() limit parameter odd behaviour 2006-06-15 Hannes Magnusson * ext/curl/interface.c ext/dbase/dbase.c ext/gd/gd.c: Revert array type hinting 2006-06-15 Dmitry Stogov * (PHP_5_2) NEWS main/php.h: Added automatic module globals management * (PHP_5_2) ZendEngine2/zend_API.c ZendEngine2/zend_API.h ZendEngine2/zend_modules.h: MFH: Added automatic module globals management. 2006-06-15 Jani Taskinen * (PHP_5_2) NEWS: fix news. gaps left intentionally.. 2006-06-14 Hannes Magnusson * ext/fbsql/php_fbsql.c ext/fdf/fdf.c ext/gettext/gettext.c ext/gmp/gmp.c: Added arg info Fixed protos * ext/standard/tests/strings/str_word_count.phpt: Fixed test 2006-06-14 Nuno Lopes * ext/pcre/tests/delimiters.phpt ext/pcre/tests/dollar_endonly.phpt ext/pcre/tests/locales.phpt ext/pcre/tests/match_flags.phpt ext/pcre/tests/match_flags2.phpt ext/pcre/tests/pcre_anchored.phpt ext/pcre/tests/pcre_extended.phpt ext/pcre/tests/pcre_extra.phpt ext/pcre/tests/ungreedy.phpt: MFB * ext/pcre/php_pcre.c: MFB: fix mem leak * (PHP_5_2) ext/pcre/php_pcre.c: fix memory leak uncovered by the pcre_extra.phpt test * (PHP_5_2) ext/pcre/tests/delimiters.phpt ext/pcre/tests/dollar_endonly.phpt ext/pcre/tests/dollar_endonly.phpt ext/pcre/tests/locales.phpt ext/pcre/tests/match_flags.phpt ext/pcre/tests/match_flags.phpt ext/pcre/tests/match_flags2.phpt ext/pcre/tests/match_flags2.phpt ext/pcre/tests/pcre_anchored.phpt ext/pcre/tests/pcre_anchored.phpt ext/pcre/tests/pcre_extended.phpt ext/pcre/tests/pcre_extended.phpt ext/pcre/tests/pcre_extra.phpt ext/pcre/tests/pcre_extra.phpt ext/pcre/tests/ungreedy.phpt ext/pcre/tests/ungreedy.phpt: more tests (and fix 2 from yesterday) * ext/pcre/config.w32 ext/pcre/config0.m4 ext/pcre/pcrelib/pcre_dfa_exec.c: MFB: remove pcre_dfa_exec.c * (PHP_5_2) ext/pcre/config.w32 ext/pcre/config0.m4 ext/pcre/pcrelib/pcre_dfa_exec.c: remove the pcre_dfa_exec.c file, as it is needed (we dont expose that API) * ext/pcre/pcrelib/.cvsignore: MFB * (PHP_5_2) ext/pcre/pcrelib/.cvsignore: missing newline 2006-06-14 Ilia Alshanetsky * ext/sqlite/sqlite.c: MFB: E_ERROR -> E_RECOVERABLE_ERROR * (PHP_5_2) ext/sqlite/sqlite.c: E_ERROR -> E_RECOVERABLE_ERROR 2006-06-14 Christian Stocker * (PHP_5_1) ext/xsl/xsltprocessor.c: MFH Fix a segfault, when an unknown type was given support all known xpath object types * (PHP_5_2) ext/xsl/xsltprocessor.c: MFH Fix a segfault, when an unknown type was given and support all known xpath object types * ext/xsl/xsltprocessor.c: Fix a segfault, when an unknown type was given support all known xpath object types 2006-06-14 Dmitry Stogov * ext/odbc/php_odbc.c ext/odbc/php_odbc_includes.h: Fixed compilation (automatic module globals management). 2006-06-13 Nuno Lopes * ext/pcre/tests/backtrack_limit.phpt ext/pcre/tests/cache_limit.phpt ext/pcre/tests/delimiters.phpt ext/pcre/tests/grep.phpt ext/pcre/tests/locales.phpt ext/pcre/tests/multiline.phpt ext/pcre/tests/recursion_limit.phpt ext/pcre/tests/study.phpt: MFB * (PHP_5_2) .cvsignore: also ignore lcov generated files * ext/pcre/tests/backtrack_limit.phpt ext/pcre/tests/backtrack_limit.phpt ext/pcre/tests/cache_limit.phpt ext/pcre/tests/cache_limit.phpt ext/pcre/tests/delimiters.phpt ext/pcre/tests/delimiters.phpt ext/pcre/tests/grep.phpt ext/pcre/tests/grep.phpt ext/pcre/tests/locales.phpt ext/pcre/tests/locales.phpt ext/pcre/tests/multiline.phpt ext/pcre/tests/multiline.phpt ext/pcre/tests/recursion_limit.phpt ext/pcre/tests/recursion_limit.phpt ext/pcre/tests/study.phpt ext/pcre/tests/study.phpt: file backtrack_limit.phpt was initially added on branch PHP_5_2. 2006-06-13 Marcus Boerger * ZendEngine2/zend_exceptions.c: - Arginfo fix (Hannes) 2006-06-13 Ilia Alshanetsky * ext/dom/element.c: MFB: Removed unused variables. * (PHP_5_2) ext/dom/element.c: Removed unused variables. 2006-06-13 Andrei Zmievski * ext/iconv/iconv.c: Move GINIT definition above re-definition of iconv. Gah. 2006-06-13 Dmitry Stogov * sapi/cgi/cgi_main.c sapi/cgi/cgi_main.c: Removed warnings * sapi/cgi/fastcgi.c sapi/cgi/fastcgi.c: Removed warning * ext/sybase_ct/php_sybase_ct.c ext/tokenizer/tokenizer.c ext/xml/php_xml.h ext/xml/xml.c ext/zlib/zlib.c: Added automatic module globals management * ext/mssql/php_mssql.c ext/mysql/php_mysql.c ext/mysqli/mysqli.c ext/oci8/oci8.c ext/odbc/php_odbc.c ext/pcntl/pcntl.c ext/pcre/php_pcre.c ext/pgsql/pgsql.c ext/posix/posix.c ext/recode/recode.c ext/session/session.c ext/skeleton/skeleton.c ext/snmp/snmp.c ext/sockets/sockets.c ext/sqlite/sqlite.c: Added automatic module globals management * ext/bcmath/bcmath.c ext/com_dotnet/com_extension.c ext/dba/dba.c ext/exif/exif.c ext/fbsql/php_fbsql.c ext/fdf/fdf.c ext/gmp/gmp.c ext/iconv/iconv.c ext/imap/php_imap.c ext/interbase/interbase.c ext/ldap/ldap.c ext/mbstring/mbstring.c ext/mcrypt/mcrypt.c ext/mime_magic/mime_magic.c main/php.h: Added automatic module globals management * NEWS ZendEngine2/zend_API.c ZendEngine2/zend_API.h ZendEngine2/zend_modules.h: Added automatic module globals management. 2006-06-13 Stefan Esser * ZendEngine2/zend.c ZendEngine2/zend_compile.c ZendEngine2/zend_compile.h ZendEngine2/zend_execute_API.c ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h: Added hook for compile_string() 2006-06-12 Ilia Alshanetsky * ext/zlib/zlib_filter.c: MFB: Fixed compiler warning * (PHP_5_2) ext/zlib/zlib_filter.c: Fixed compiler warning 2006-06-12 Marcus Boerger * ZendEngine2/zend.c: - Fix memleaks (by nuno) 2006-06-12 Michael Wallner * main/output.c main/php_output.h: - don't use anonymous union 2006-06-12 Andrei Zmievski * ZendEngine2/zend.h ZendEngine2/zend_language_scanner.l: Be more explicit. 2006-06-11 Ilia Alshanetsky * (PHP_5_2) NEWS ext/standard/string.c: Improved performance of the implode() function on associated arrays by 200-300%. * ext/standard/info.c: MFB: Fixed ZTS build * (PHP_5_2) ext/standard/info.c: Fixed ZTS build 2006-06-11 Hannes Magnusson * ext/standard/exec.c ext/standard/streamsfuncs.c ext/standard/string.c ext/zlib/zlib.c: Nuke unused var * ext/ftp/php_ftp.c ext/gd/gd.c: Added argument info Fixed protos & vim folding 2006-06-11 Ilia Alshanetsky * (PHP_5_2) ZendEngine2/zend.c ZendEngine2/zend.h: Make zend_print_zval_r_ex() use the write callback function. * ext/standard/info.c: MFB: Fully print array() in phpinfo(). * (PHP_5_2) ext/standard/info.c: Fully print array() in phpinfo(). 2006-06-11 Hannes Magnusson * ext/dba/tests/dba_cdb.phpt ext/dba/tests/dba_cdb_make.phpt ext/dba/tests/dba_flatfile.phpt ext/dba/tests/dba_inifile.phpt: Fixed tests in unicode mode 2006-06-10 Hannes Magnusson * ext/bcmath/bcmath.c ext/bz2/bz2.c ext/calendar/calendar.c ext/ctype/ctype.c ext/curl/interface.c ext/curl/multi.c ext/dba/dba.c ext/dbase/dbase.c ext/exif/exif.c: Added argument info Fixed protos Fixed vim folding 2006-06-10 Ilia Alshanetsky * ext/standard/string.c: MFB: Improved performance of str_replace() when doing 1 char to 1 char or 1 char to many chars replacement by 30-40%. * (PHP_5_2) NEWS ext/standard/string.c: Improved performance of str_replace() when doing 1 char to 1 char or 1 char to many chars replacement by 30-40%. 2006-06-09 Rasmus Lerdorf * Makefile.gcov: Patch from Nuno 2006-06-09 Michael Wallner * sapi/apache2filter/apache_config.c sapi/apache2filter/apache_config.c sapi/apache2filter/apache_config.c sapi/apache2filter/apache_config.c: - sync with apache2handler * (PHP_4_4) NEWS NEWS: BFN: - Fixed bug #37720 (merge_php_config scrambles values). (Mike, pumuckel at metropolis dot de) * (PHP_4_4) sapi/apache2handler/apache_config.c sapi/apache2handler/apache_config.c sapi/apache2handler/apache_config.c: MFH: fix bug #37720 (merge_php_config scrambles values) * sapi/apache2handler/apache_config.c: - fix bug #37720 (merge_php_config scrambles values) 2006-06-08 Ilia Alshanetsky * (PHP_5_2) NEWS: Update credits 2006-06-08 Derick Rethans * (PHP_5_2) NEWS: - Fixed bug #37747 (strtotime segfaults when given "nextyear"). 2006-06-08 Dmitry Stogov * ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h ZendEngine2/zend_vm_execute.h ZendEngine2/tests/bug37707.phpt ZendEngine2/tests/bug37707.phpt: Proper fix for bug #37707 ("clone $x" must call __clone() enven if result value is not used) * ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h ZendEngine2/zend_vm_execute.h ZendEngine2/zend_vm_gen.php ZendEngine2/zend_vm_gen.php: Wrap "wrong" unreachable code with "#if 0" 2006-06-07 Stanislav Malyshev * (PHP_5_1) sapi/cgi/fastcgi.c: fix compiling with "more strict" compilers 2006-06-07 Ilia Alshanetsky * (PHP_5_2) NEWS: Bug fixing news * ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h ZendEngine2/tests/bug37707.phpt: MFB: Fixed bug #37707 clone without assigning leaks memory * ZendEngine2/tests/bug37707.phpt ZendEngine2/tests/bug37707.phpt: file bug37707.phpt was initially added on branch PHP_5_2. * (PHP_5_2) ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h: Fixed bug #37707 clone without assigning leaks memory 2006-06-07 Antony Dovgal * (PHP_5_2) ext/oci8/oci8_lob.c ext/oci8/php_oci8_int.h: MFH: fix Unicode LOB problems using callbacks to read LOBs using chunk_size*X buffer should speed up LOB reading a bit many thanks to Massimo Squillace for the patch. * ext/oci8/oci8_lob.c ext/oci8/php_oci8_int.h: happy birthday commit, yay =) this patch should fix Unicode LOB problems using callbacks to read LOBs the patch also includes an optimization: using chunk_size*X buffer should speed up LOB reading a bit many thanks to Massimo Squillace for the patch. 2006-06-07 Marcus Boerger * (PHP_5_2) ZendEngine2/zend_API.c ZendEngine2/zend_API.h: - MFH zend_fcall_info_*() and parameter parsing option 'f' * ZendEngine2/zend_vm_execute.h ZendEngine2/zend_vm_execute.h: - Regenerated after zend_vm_def.h change * (PHP_5_2) ZendEngine2/zend_API.c ZendEngine2/zend_compile.c ZendEngine2/zend_vm_def.h: - MFH Fix issue with interfaces being inherited multiple times * ZendEngine2/zend_API.c ZendEngine2/zend_compile.c ZendEngine2/zend_compile.c ZendEngine2/zend_vm_def.h: - Fix issue with interfaces being inherited multiple times 2006-06-07 Ilia Alshanetsky * (PHP_5_2) NEWS: Fixed bug #37709 (Possible crash in PDO::errorCode()). 2006-06-06 Michael Wallner * main/output.c: - fix SEGV in php_output_handler_started() * ext/curl/streams.c: MFB: only try to fetch stream context options if context is set * (PHP_5_2) ext/curl/streams.c: - only try to fetch stream context options if context is set 2006-06-06 Antony Dovgal * NEWS: this function also exists in 5.2, no need for this news entry in HEAD * ZendEngine2/zend_compile.c ZendEngine2/zend_compile.c: revert by Andi's request * main/streams/memory.c: don't leak when decoding failed 2006-06-06 Rob Richards * (PHP_5_2) ext/dom/php_dom.c: nuke unused call * (PHP_5_2) ext/simplexml/simplexml.c: restore missing ze1 compat code 2006-06-06 Antony Dovgal * ZendEngine2/tests/bug33732.phpt ZendEngine2/tests/bug33732.phpt: fix test 2006-06-06 Michael Wallner * main/output.c: - fix regression with bug #22690 (ob_start() with create_function() output handler) 2006-06-06 Antony Dovgal * (PHP_5_2) ZendEngine2/zend_compile.c ZendEngine2/tests/objects_012.phpt ZendEngine2/tests/objects_013.phpt ZendEngine2/tests/objects_014.phpt: MFH: do not allow to implement the same interface twice add tests * ZendEngine2/zend_compile.c ZendEngine2/tests/objects_012.phpt ZendEngine2/tests/objects_012.phpt ZendEngine2/tests/objects_013.phpt ZendEngine2/tests/objects_013.phpt ZendEngine2/tests/objects_014.phpt ZendEngine2/tests/objects_014.phpt: do not allow to implement the same interface twice add tests 2006-06-05 Ilia Alshanetsky * ext/sysvmsg/sysvmsg.c: MFB: Fixed bug #37705 (Semaphore constants not available). * (PHP_5_2) NEWS ext/sysvmsg/sysvmsg.c: Fixed bug #37705 (Semaphore constants not available). 2006-06-05 Antony Dovgal * (PHP_5_2) main/streams/plain_wrapper.c: MFH: no need to check if non-existing include_path complies with open_basedir setting * main/streams/plain_wrapper.c: no need to check if non-existing include_path complies with open_basedir setting the only result we can get is segfault 2006-06-05 Edin Kadribasic * main/streams/plain_wrapper.c: MFB * (PHP_5_2) NEWS main/streams/plain_wrapper.c: Fixed bug #35886 (nlopes) 2006-06-05 Zeev Suraski * (PHP_5_2) ext/dom/php_dom.c ext/simplexml/simplexml.c: Final ze1_compat restoration - it was mostly done by hand, so if anybody spots any (new) problems, let me know. Test wise, the same tests that failed before are failing now. * (PHP_5_2) php.ini-dist php.ini-recommended: ze1 restoration * (PHP_5_2) ZendEngine2/zend.c ZendEngine2/zend_API.c ZendEngine2/zend_execute.c ZendEngine2/zend_execute.h ZendEngine2/zend_execute_API.c ZendEngine2/zend_globals.h ZendEngine2/zend_objects.c ZendEngine2/zend_operators.c ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h ZendEngine2/tests/bug30332.phpt ZendEngine2/tests/bug31828.phpt ZendEngine2/tests/bug32080.phpt ZendEngine2/tests/bug32852.phpt ZendEngine2/tests/bug33243.phpt ZendEngine2/tests/bug34712.phpt ZendEngine2/tests/bug34767.phpt: Restore ZE1 compatibility mode (Zend Engine part - the modules patches will follow later today) 2006-06-05 Antony Dovgal * ext/oci8/package.xml: add new changelog entries * (PHP_5_2) NEWS: BFN 2006-06-05 Stanislav Malyshev * (PHP_5_1) main/timelib_config.h: not for cvs * (PHP_5_1) main/internal_functions_win32.c: fix typo * (PHP_5_1) main/config.w32.h main/config.w32.h main/internal_functions_win32.c main/internal_functions_win32.c main/timelib_config.h main/timelib_config.h win32/php5dllts.dsp win32/php5dllts.dsp: improve .dsp build 2006-06-05 Antony Dovgal * (PHP_5_2) ext/oci8/oci8.c ext/oci8/oci8_interface.c: MFH: fix OCIPasswordChange() parameters (patch by pholdaway at technocom-wireless dot com) prevent username, password and new password from being empty * ext/oci8/oci8.c ext/oci8/oci8_interface.c: fix OCIPasswordChange() parameters (patch by pholdaway at technocom-wireless dot com) prevent username. password and new password from being empty 2006-06-04 Stanislav Malyshev * (PHP_5_2) ZendEngine2/ZendTS.dsp win32/php5dllts.dsp: fix .dsp build 2006-06-04 Ilia Alshanetsky * ext/mysqli/mysqli_api.c: MFB: Fixed bug #37671 (MySQLi extension fails to recognize BIT column). * (PHP_5_2) NEWS ext/mysqli/mysqli_api.c: Fixed bug #37671 (MySQLi extension fails to recognize BIT column). 2006-06-04 Marcus Boerger * ZendEngine2/zend_API.c ZendEngine2/zend_API.c: - Fix function flag check 2006-06-04 Michael Wallner * main/output.c: - fix output handler seeing buffered data when it gets discarded - add test 2006-06-03 Johannes Schlüter * sapi/cgi/cgi_main.c sapi/cli/php_cli.c: - Removed useless -g command line option from CGI and CLI - Fixed conflicting behaviour if -B and -a are set with CLI - Fixed handling of auto_prepend and exceptions in readline-a-mode 2006-06-03 Andrei Zmievski * ext/standard/array.c ext/standard/array.c ext/standard/php_array.h ext/standard/php_array.h: MFB * (PHP_5_2) ext/standard/array.c ext/standard/php_array.h: I swear it wasn't me. 2006-06-03 Michael Wallner * main/php_output.h: - remove obsolete cruft 2006-06-03 Marcus Boerger * ZendEngine2/zend.c: - Revert - Needs further discussing 2006-06-03 Michael Wallner * README.NEW-OUTPUT-API: - update TS macro usage * ext/session/session.c ext/standard/basic_functions.c ext/standard/head.c ext/standard/info.c ext/standard/url_scanner_ex.c ext/standard/url_scanner_ex.re ext/standard/var.c ext/zlib/zlib.c main/SAPI.c main/main.c main/output.c main/php_output.h sapi/apache/mod_php5.c sapi/apache2handler/php_functions.c sapi/apache_hooks/mod_php5.c sapi/cli/php_cli.c sapi/nsapi/nsapi.c: - explicit usage of TS macros 2006-06-03 Marcus Boerger * ZendEngine2/zend.c: - Printable is supposed to return nativ/unicode depending on ini setting 2006-06-02 Antony Dovgal * ext/exif/tests/bug34704.phpt ext/exif/tests/exif001.phpt ext/exif/tests/exif005.phpt tests/classes/serialize_001.phpt: fix tests in unicode mode * ext/dom/php_dom.c ext/dom/xml_common.h: fix error messages in Unicode mode 2006-06-02 Michael Wallner * ext/standard/var.c ext/zlib/php_zlib.h ext/zlib/zlib.c: - fix encoding * README.NEW-OUTPUT-API ext/pgsql/pgsql.c ext/session/session.c ext/standard/basic_functions.c ext/standard/head.c ext/standard/info.c ext/standard/url_scanner_ex.c ext/standard/url_scanner_ex.re ext/standard/var.c ext/zlib/php_zlib.h ext/zlib/zlib.c main/SAPI.c main/main.c main/output.c main/php.h main/php_output.h sapi/apache/mod_php5.c sapi/apache/php_apache.c sapi/apache2handler/php_functions.c sapi/apache_hooks/mod_php5.c sapi/apache_hooks/php_apache.c sapi/cgi/cgi_main.c sapi/cli/php_cli.c sapi/milter/php_milter.c sapi/nsapi/nsapi.c: - new output control code 2006-06-02 Rob Richards * (PHP_5_2) ext/dom/element.c: MFH: add setIdAttribute, setIdAttributeNS and setIdAttributeNode functionality * (BEFORE_NEW_OUTPUT_API) ext/dom/element.c: idness not valid for attribute declarations 2006-06-02 Sebastian Bergmann * (PHP_5_1) ZendEngine2/acinclude.m4: MFH: Add bison 2.2 to the list of supported versions. 2006-06-02 Dmitry Stogov * (BEFORE_NEW_OUTPUT_API) ZendEngine2/zend.c: SAPI globals are destroied at this point and reporting errors about memory leaks can cause crash. * (PHP_5_2) ZendEngine2/zend.c: SAPI globals are destroied at this point and reporting errors about memory leaks can cause crash. 2006-06-01 Ilia Alshanetsky * ext/standard/filters.c: MFB: fixed compiler warning * (PHP_5_2) ext/standard/filters.c: Fixed compiler warning 2006-06-01 Michael Wallner * ext/mysql/config.m4 ext/mysql/php_mysql.c ext/mysqli/config.m4: MFB: #37630 MySQL extensions should link against thread safe client libs if built with ZTS * (PHP_5_2) NEWS ext/mysql/config.m4 ext/mysql/php_mysql.c ext/mysqli/config.m4: - Fix bug #37630: MySQL extensions should link against thread safe client libs if built with ZTS * (PHP_5_2) NEWS: - fix order * (PHP_5_2) NEWS: - Fixed bug #37363 (PDO_MYSQL does not build if no other mysql extension is enabled) 2006-06-01 Antony Dovgal * (PHP_5_2) main/safe_mode.c: no need to do TSRMLS_FETCH() twice * (PHP_5_2) ext/standard/proc_open.c: MFH: suppress_errors is used only on Win32, no need to look for it on other systems * ext/standard/proc_open.c: suppress_errors is used only on Win32, no need to look for it on other systems * ext/standard/filters.c: nuke unused variable * (PHP_5_2) ext/standard/tests/array/007.phpt ext/standard/tests/array/array_chunk2.phpt ext/standard/tests/array/array_count_values2.phpt ext/standard/tests/array/array_diff_key2.phpt ext/standard/tests/array/array_intersect_1.phpt: fix tests * (PHP_5_2) ZendEngine2/tests/offset_array.phpt ZendEngine2/tests/offset_bool.phpt ZendEngine2/tests/offset_long.phpt ZendEngine2/tests/offset_null.phpt ZendEngine2/tests/offset_object.phpt ZendEngine2/tests/offset_string.phpt: add new tests * ZendEngine2/tests/offset_array.phpt ZendEngine2/tests/offset_array.phpt ZendEngine2/tests/offset_bool.phpt ZendEngine2/tests/offset_bool.phpt ZendEngine2/tests/offset_long.phpt ZendEngine2/tests/offset_long.phpt ZendEngine2/tests/offset_null.phpt ZendEngine2/tests/offset_null.phpt ZendEngine2/tests/offset_object.phpt ZendEngine2/tests/offset_object.phpt ZendEngine2/tests/offset_string.phpt ZendEngine2/tests/offset_string.phpt: add new tests * (PHP_5_2) ZendEngine2/zend_execute.c: MFH: throw a warning when using invalid offset types with strings * ZendEngine2/zend_execute.c: throw a warning when using invalid offset types with strings 2006-05-31 Ilia Alshanetsky * (PHP_5_2) NEWS: spelling corrections 2006-05-31 Andrei Zmievski * (PHP_5_2) main/main.c: Revert accidentally committed internal patch 2006-05-31 Antony Dovgal * ext/mcrypt/tests/bug37595.phpt: add expected warning to the test 2006-05-31 Derick Rethans * ext/mcrypt/mcrypt.c ext/mcrypt/tests/blowfish.phpt ext/mcrypt/tests/bug37595.phpt: - MF52: There was nothing wrong here, bug report #37595 is bogus. - MF52: Added a new test case to demonstrate a longer plain text. * (PHP_5_2) NEWS ext/mcrypt/mcrypt.c ext/mcrypt/tests/blowfish.phpt ext/mcrypt/tests/bug37595.phpt: - There was nothing wrong here, bug report #37595 is bogus. - Added a new test case to demonstrate a longer plain text. 2006-05-31 Antony Dovgal * ZendEngine2/zend_interfaces.c: fix error message in Unicode mode * ZendEngine2/tests/objects_010.phpt ZendEngine2/tests/objects_011.phpt ZendEngine2/tests/strict_001.phpt ZendEngine2/tests/strict_002.phpt: add more tests * ZendEngine2/tests/objects_010.phpt ZendEngine2/tests/objects_010.phpt ZendEngine2/tests/objects_011.phpt ZendEngine2/tests/objects_011.phpt ZendEngine2/tests/strict_001.phpt ZendEngine2/tests/strict_001.phpt ZendEngine2/tests/strict_002.phpt ZendEngine2/tests/strict_002.phpt: file objects_010.phpt was initially added on branch PHP_5_2. 2006-05-31 Andrei Zmievski * (PHP_5_2) main/main.c main/php_compat.h main/php_compat.h: MFB * (PHP_4_4) main/php_compat.h: Add pcre_compile2() to the list of aliases. 2006-05-31 Antony Dovgal * ZendEngine2/tests/objects_001.phpt ZendEngine2/tests/objects_002.phpt ZendEngine2/tests/objects_003.phpt ZendEngine2/tests/objects_004.phpt ZendEngine2/tests/objects_005.phpt ZendEngine2/tests/objects_006.phpt ZendEngine2/tests/objects_007.phpt ZendEngine2/tests/objects_008.phpt ZendEngine2/tests/objects_009.phpt: add tests for new E_FATALs * ZendEngine2/tests/objects_002.phpt ZendEngine2/tests/objects_002.phpt ZendEngine2/tests/objects_003.phpt ZendEngine2/tests/objects_003.phpt ZendEngine2/tests/objects_004.phpt ZendEngine2/tests/objects_004.phpt ZendEngine2/tests/objects_005.phpt ZendEngine2/tests/objects_005.phpt ZendEngine2/tests/objects_006.phpt ZendEngine2/tests/objects_006.phpt ZendEngine2/tests/objects_007.phpt ZendEngine2/tests/objects_007.phpt ZendEngine2/tests/objects_008.phpt ZendEngine2/tests/objects_008.phpt ZendEngine2/tests/objects_009.phpt ZendEngine2/tests/objects_009.phpt: file objects_002.phpt was initially added on branch PHP_5_2. 2006-05-31 Dmitry Stogov * ZendEngine2/zend_builtin_functions.c ZendEngine2/zend_builtin_functions.c ZendEngine2/zend_execute.h ZendEngine2/zend_execute.h: Keeping consistent arg_stack during arguments freeing (Exception from destructor may use inconsistent arg_stack for backtrace). * ZendEngine2/zend_objects.c ZendEngine2/zend_objects.c ZendEngine2/zend_objects_API.c ZendEngine2/zend_objects_API.c: Support for nested exceptions and fatal errors in destructors 2006-05-31 Antony Dovgal * (PHP_5_2) NEWS ext/mcrypt/mcrypt.c ext/mcrypt/tests/bug37595.phpt: MFH: fix #37595 (mcrypt_generic calculates data length in wrong way) * ext/mcrypt/mcrypt.c ext/mcrypt/tests/bug37595.phpt ext/mcrypt/tests/bug37595.phpt: fix #37595 (mcrypt_generic calculates data length in wrong way) 2006-05-31 Andi Gutmans * (PHP_5_2) NEWS: - Fix typo 2006-05-30 Marcus Boerger * (PHP_5_2) tests/classes/inheritance_003.phpt tests/classes/inheritance_004.phpt: - Add new tests * tests/classes/inheritance_003.phpt tests/classes/inheritance_003.phpt tests/classes/inheritance_004.phpt tests/classes/inheritance_004.phpt: - Add new tests * ZendEngine2/zend_compile.c: - Fix test logic * (PHP_5_2) ZendEngine2/zend_compile.c: - Switch back to old severities and still keep bugfix for 2006-05-30 Antony Dovgal * ext/oci8/oci8_collection.c: fix compilation on some b0rked systems that must have collections support but they don't 2006-05-30 Marcus Boerger * ZendEngine2/zend_compile.c: - WS 2006-05-30 Sara Golemon * ext/standard/tests/file/mkdir-004.phpt ext/standard/tests/file/mkdir-005.phpt: Minor fixes (bjori) 2006-05-30 Michael Wallner * ext/pcntl/pcntl.c: MFB: fix bug 37635 (argument to pcntl signal handler is trashed) * (PHP_5_2) NEWS ext/pcntl/pcntl.c: - fix bug #37635 (parameter of pcntl signal handler is trashed) 2006-05-30 Seiji Masugata * (PHP_5_2) ext/mbstring/mbstring.c ext/mbstring/mbstring.h: added mb_stristr( ), mb_strrichr( ). * (PHP_5_2) ext/mbstring/mbstring.c ext/mbstring/mbstring.h: added mb_strstr( ), mb_strrchr( ). * (PHP_5_2) ext/mbstring/mbstring.c ext/mbstring/mbstring.h: added mb_stripos( ), mb_strripos( ). * (PHP_5_2) ext/mbstring/mbstring.c ext/mbstring/mbstring.h: added mb_list_encodings_alias_names( ), mb_list_mime_names( ). * (PHP_5_2) ext/mbstring/mbstring.c: added option parameter mb_list_encodings( ). 2006-05-30 Ilia Alshanetsky * ext/standard/basic_functions.c ext/standard/php_var.h ext/standard/var.c: MFB: Added memory_get_peak_usage() function for retrieving peak memory usage of a PHP script. * (PHP_5_2) NEWS ext/standard/basic_functions.c ext/standard/php_var.h ext/standard/var.c: Added memory_get_peak_usage() function for retrieving peak memory usage of a PHP script. 2006-05-30 Antony Dovgal * (PHP_4_4) ext/oci8/config.m4: merge the last change in 4.4 and allow ext/oci8 to be built against basic lite package (as Derick requested) * (PHP_5_2) ext/oci8/config.m4: MFH: don't require libociei, this allows us to build ext/oci8 against basiclite OIC package * ext/oci8/config.m4: don't require libociei, this allows us to build ext/oci8 against basiclite OIC package 2006-05-30 Derick Rethans * (PHP_5_2) NEWS: - MFH: Fixed bug #37616: DATE_RFC822 does not product RFC 822 dates. (Patch by Hannes Magnusson) 2006-05-30 Ilia Alshanetsky * ext/wddx/wddx.c: MFB: Convert E_ERROR to E_RECOVERABLE_ERROR * (PHP_5_2) ext/wddx/wddx.c: Convert E_ERROR to E_RECOVERABLE_ERROR 2006-05-29 Antony Dovgal * ext/pcre/php_pcre.c: no need to check it for not-NULL (as was pointed by Nuno) * (PHP_5_2) ZendEngine2/zend_compile.c: MFH: there is no ce at this point, revert this line to its previous state * ZendEngine2/zend_compile.c: there is no ce at this point, revert this line to its previous state See also: http://news.php.net/php.zend-engine.cvs/4931 * (PHP_5_2) ext/mbstring/tests/common.inc ext/mbstring/tests/mb_strlen.phpt: fix tests * (PHP_5_2) ext/pcre/tests/invalid_utf8.phpt ext/standard/tests/file/file_put_contents.phpt: add test * ext/pcre/tests/invalid_utf8.phpt ext/pcre/tests/invalid_utf8.phpt ext/standard/tests/file/file_put_contents.phpt: add test * ext/pcre/php_pcre.c: return NULL in case of error (and fix leak/non-null-terminated string error) 2006-05-29 Marcus Boerger * (PHP_5_2) NEWS: - BFN * (PHP_5_2) ZendEngine2/zend_compile.c ZendEngine2/zend_object_handlers.c ZendEngine2/tests/bug37632.phpt: - MFH Bugfix #37632 (Protected method access problem) * ZendEngine2/zend_compile.c ZendEngine2/zend_object_handlers.c ZendEngine2/tests/bug37632.phpt ZendEngine2/tests/bug37632.phpt: - Bugfix #37632 (Protected method access problem) 2006-05-29 Antony Dovgal * ext/oci8/config.m4: improve sed expressions 2006-05-29 Michael Wallner * ext/mysqli/mysqli.c ext/mysqli/tests/bug36949.phpt: MFB: Fixed bug #36949 (invalid internal mysqli objects dtor) * (PHP_5_2) NEWS ext/mysqli/mysqli.c ext/mysqli/tests/bug36949.phpt ext/mysqli/tests/bug36949.phpt: - Fixed bug #36949 (invalid internal mysqli objects dtor) 2006-05-29 Antony Dovgal * (PHP_5_2) NEWS: BFN * (PHP_5_2) ext/oci8/oci8.c: MFH: fix #37531 (oci8 persistent connection corruption) * ext/oci8/oci8.c: fix #37531 (oci8 persistent connection corruption) * (PHP_5_2) ext/standard/tests/file/file_put_contents.phpt: file file_put_contents.phpt was added on branch PHP_5_2 on 2006-05-29 10:42:54 +0000 * ext/standard/file.c: initialize srcstream use different variable in local scope * (PHP_5_2) ext/standard/file.c: initialize srcstream * (PHP_5_2) ext/standard/file.c: MFH: prevent resource leaking when passing invalid stream resource as second argument * ext/standard/file.c: prevent resource leaking when passing invalid stream resource as second argument 2006-05-29 Georg Richter * (PHP_5_2) NEWS ext/mysqli/mysqli_api.c: Fix for bug #37620 2006-05-28 Johannes Schlüter * ext/standard/string.c: - Fix str_replace with unicode strings as key 2006-05-28 Michael Wallner * (PHP_5_2) NEWS: - news entry for apache2handler ap_set_content_type() fix * (PHP_5_2) sapi/apache2handler/php_apache.h sapi/apache2handler/sapi_apache2.c: MFH: call ap_set_content_type() only once, else each time we call it, configured output filters for that content type will be added * sapi/apache2handler/php_apache.h sapi/apache2handler/sapi_apache2.c: - call ap_set_content_type() only once, else each time we call it, configured output filters for that content type will be added 2006-05-28 Johannes Schlüter * ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h: - Fix printf modifier 2006-05-28 Ilia Alshanetsky * ext/pcre/config0.m4: MFB: Fixed bug #37586 (Bumped minimum PCRE version to 6.6, needed for recurssion limit support). * (PHP_5_2) NEWS ext/pcre/config0.m4: Fixed bug #37586 (Bumped minimum PCRE version to 6.6, needed for recurssion limit support). 2006-05-27 Johannes Schlüter * main/main.c: - nitpicking "PHP6" vs. "PHP 6" 2006-05-27 Marcus Boerger * (PHP_5_2) ZendEngine2/zend_API.c: - Revert until there is an ok for the full patch * ZendEngine2/zend_API.c ZendEngine2/zend_API.h: - Take care of refcounting in zend_fcall_info_*() functions - Add docu * ZendEngine2/zend_API.c ZendEngine2/zend_API.c ZendEngine2/zend_compile.c ZendEngine2/zend_object_handlers.c: - WS * (PHP_5_2) ZendEngine2/zend_API.c ZendEngine2/zend_compile.h ZendEngine2/zend_object_handlers.c ZendEngine2/tests/bug37212.phpt: - MFH: Fix bug #37212 (Access to protected property of common base class) By adding "zend_class_entry *ce" to struct zend_property_info; 2006-05-27 Johannes Schlüter * (PHP_5_2) NEWS ZendEngine2/zend_compile.c: - MFH Fix #37614 (Class name lowercased in error message) 2006-05-27 Marcus Boerger * (PHP_5_2) ZendEngine2/zend_execute.c: - WS/CS 2006-05-27 Johannes Schlüter * ZendEngine2/zend_compile.c: - Fix #37614 (Class name lowercased in error message) 2006-05-27 Marcus Boerger * ZendEngine2/zend_API.c ZendEngine2/zend_compile.h ZendEngine2/zend_object_handlers.c ZendEngine2/tests/bug37212.phpt ZendEngine2/tests/bug37212.phpt: - Fix bug #37212 (Access to protected property of common base class) By adding "zend_class_entry *ce" to struct zend_property_info; * ZendEngine2/tests/abstract-static.phpt: - There are no abstract static methods in classes, use interfaces 2006-05-26 Rob Richards * (PHP_5_2) ext/dom/dom_fe.h ext/dom/node.c ext/dom/tests/canonicalization.phpt: MFH: add C14N() and C14NFile() methods to perform XML canonicalization add test * ext/dom/dom_fe.h ext/dom/node.c ext/dom/tests/canonicalization.phpt ext/dom/tests/canonicalization.phpt: add C14N() and C14NFile() methods to perform XML canonicalization add test 2006-05-26 Dmitry Stogov * (PHP_5_2) NEWS: Fixed bug #37523 (namespaces added too late, leads to missing xsi:type attributes. incompatibility with libxml2-2.6.24) 2006-05-26 Sara Golemon * ZendEngine2/zend_API.c: Fix ZTS build, call with TSRMLS_CC not DC 2006-05-26 Ilia Alshanetsky * ext/wddx/wddx.c ext/wddx/wddx.c: Corrected previous patch 2006-05-26 Pierre-Alain Joye * ext/openssl/xp_ssl.c: - MFB: fix leaks in openssl context options 2006-05-26 Marcus Boerger * (PHP_5_2) ZendEngine2/zend_execute.c ZendEngine2/tests/bug33996.phpt tests/classes/interfaces_003.phpt: - MFH Sync error messages and simplify error message generation code 2006-05-26 Pierre-Alain Joye * (PHP_5_2) NEWS ext/openssl/xp_ssl.c: - fix leaks in openssl context options 2006-05-26 Marcus Boerger * ZendEngine2/zend_execute.c ZendEngine2/tests/bug33996.phpt tests/classes/interfaces_003.phpt: - Sync error messages and simplify error message generation code 2006-05-25 Ilia Alshanetsky * ext/wddx/wddx.c ext/wddx/tests/bug37569.phpt: MFB: Fixed bug #37569 (WDDX incorrectly encodes high-ascii characters). * (PHP_4_4) NEWS ext/wddx/wddx.c ext/wddx/tests/bug37569.phpt: MFH: Fixed bug #37569 (WDDX incorrectly encodes high-ascii characters). * (PHP_5_2) NEWS ext/wddx/wddx.c ext/wddx/tests/bug37569.phpt ext/wddx/tests/bug37569.phpt ext/wddx/tests/bug37569.phpt: Fixed bug #37569 (WDDX incorrectly encodes high-ascii characters) 2006-05-25 Marcus Boerger * ZendEngine2/zend_API.c ZendEngine2/zend_API.h: - Ease writing functions that deal with php function 'pointers' 2006-05-25 Edin Kadribasic * main/php.h: MFB: Missing definition, patch by Steph Fox * (PHP_5_2) main/php.h: Missing definition, patch by Steph Fox 2006-05-25 Michael Wallner * ext/curl/streams.c: MFB: fix bug #34180, --with-curlwrappers discards stream context options * (PHP_5_2) NEWS ext/curl/streams.c: - implement standard http stream wrapper options, fixes bug #34180 - skip empty headers in on_header_available() 2006-05-25 Antony Dovgal * (PHP_5_2) ext/dbase/dbf_head.c: MFH: remove debug output and fix bug #37589 * ext/dbase/dbf_head.c: remove debug output and fix bug #37589 2006-05-25 Marcus Boerger * ext/standard/tests/strings/bug22224.phpt: - MFB * (PHP_5_2) ext/standard/tests/strings/bug22224.phpt: - Update test 2006-05-25 Antony Dovgal * tests/basic/013.phpt tests/basic/014.phpt tests/basic/015.phpt tests/basic/016.phpt tests/basic/017.phpt tests/basic/018.phpt tests/basic/019.phpt tests/basic/020.phpt: fix tests in unicode mode * ZendEngine2/zend_API.c ZendEngine2/zend_API.h ZendEngine2/zend_operators.c: MFB: fix error messages when converting objects to other types 2006-05-25 Marcus Boerger * (PHP_5_2) NEWS README.UPDATE_5_2: - Update update news and sync with NEWS * (PHP_5_1) NEWS ext/wddx/wddx.c: - MFH Fixed bug #37587 (var without attribute causes segfault 2006-05-25 Antony Dovgal * (PHP_5_2) ZendEngine2/zend_API.c ZendEngine2/zend_API.h ZendEngine2/zend_operators.c: fix error messages when converting objects to other types add new function MFB will follow soon 2006-05-25 Marcus Boerger * ext/wddx/wddx.c ext/wddx/tests/bug37587.phpt ext/wddx/tests/bug37587.phpt: - Bugfix 37587 2006-05-25 Dmitry Stogov * (PHP_5_1) NEWS NEWS: Fixed bug #37278 (SOAP not respecting uri in __soapCall) * (PHP_5_2) NEWS ZendEngine2/zend_execute_API.c ZendEngine2/zend_execute_API.c: Fixed bug #37558 (timeout functionality doesn't work after a second PHP starup on the same thread). (p dot desarnaud at wanadoo dot fr) 2006-05-25 Antony Dovgal * (PHP_5_2) NEWS: reorder 2006-05-25 Dmitry Stogov * (PHP_5_1) NEWS sapi/cgi/fastcgi.c sapi/cgi/fastcgi.h: Fixed bug #37576 (FastCGI env (cgi vars) table overflow). (Piotr) * (PHP_5_1) NEWS NEWS sapi/cgi/fastcgi.c sapi/cgi/fastcgi.c sapi/cgi/fastcgi.c: Fixed bug #37496 (FastCGI output buffer overrun) 2006-05-24 Ilia Alshanetsky * ext/standard/basic_functions.c: MFB: Fixed bug #37563 (array_key_exists performance is poor for &$array). * (PHP_5_2) NEWS ext/standard/basic_functions.c: Fixed bug #37563 (array_key_exists performance is poor for &$array). 2006-05-24 Edin Kadribasic * (PHP_5_2) NEWS: BFN * main/main.c: MFB: Initialize windows globals, fixes #37428 * (PHP_5_2) main/main.c: Initialize windows globals, fixes #37428 2006-05-24 Antony Dovgal * (PHP_5_2) NEWS: BFN * ext/sybase_ct/php_sybase_ct.c: MFB: fix #37499 (CLI segmentation faults during cleanup (only with sybase-ct extension enabled)) * (PHP_5_2) ext/sybase_ct/php_sybase_ct.c: fix #37499 (CLI segmentation faults during cleanup (only with sybase-ct extension enabled)) 2006-05-24 Dmitry Stogov * run-tests.php: Fixed CGI tests * (PHP_5_2) run-tests.php: Fixed CGI tests. * (PHP_5_1) NEWS NEWS sapi/cgi/cgi_main.c sapi/cgi/cgi_main.c sapi/cgi/fastcgi.h: Fixed bug #37256 (php-fastcgi dosen't handle connection abort) * (PHP_5_1) NEWS NEWS sapi/cgi/cgi_main.c sapi/cgi/cgi_main.c sapi/cgi/cgi_main.c: Fixed bug #37341 ($_SERVER in included file is shortened to two entries, if $_ENV gets used). 2006-05-23 Marcus Boerger * (PHP_5_1) ext/standard/tests/array/array_combine.phpt ext/standard/tests/array/array_combine.phpt ext/standard/tests/array/array_diff_assoc.phpt ext/standard/tests/array/array_diff_assoc.phpt: - MFH Add more tests from Ligaya Turmelle * ext/standard/tests/array/array_combine.phpt ext/standard/tests/array/array_combine.phpt ext/standard/tests/array/array_combine.phpt ext/standard/tests/array/array_diff_assoc.phpt ext/standard/tests/array/array_diff_assoc.phpt ext/standard/tests/array/array_diff_assoc.phpt: 1.1.4; - Add more tests from Ligaya Turmelle 2006-05-23 Ilia Alshanetsky * (PHP_4_4) NEWS main/php_open_temporary_file.c main/php_open_temporary_file.c: MFH: Fixed handling of extremely long paths inside tempnam() function. * main/php_open_temporary_file.c: MFB: Fixed handling of extremely long paths inside tempnam() function. * (PHP_5_2) NEWS main/php_open_temporary_file.c: Fixed handling of extremely long paths inside tempnam() function. 2006-05-23 Marcus Boerger * (PHP_5_2) ext/standard/tests/file/stream_rfc2397_007.phpt: file stream_rfc2397_007.phpt was added on branch PHP_5_2 on 2006-05-23 22:31:24 +0000 * main/streams/memory.c: - Fix feof() with temp/memory streams * (PHP_5_2) ext/simplexml/php_simplexml.h ext/simplexml/simplexml.c ext/simplexml/tests/profile12.phpt ext/simplexml/tests/profile13.phpt: - MFH Sync with head (namespace prefix handling) * NEWS: - Done in 5.2 * ext/simplexml/simplexml.c: - Readd NULL as allowed classname to skip parameter * (PHP_5_2) ZendEngine2/zend_API.c: - MFH Handle NULL in C argument parsing correct * ZendEngine2/zend_API.c: - Handle NULL in C argument parsing correct * ext/simplexml/tests/bug37565.phpt ext/simplexml/tests/bug37565.phpt ext/standard/tests/file/stream_rfc2397_007.phpt: - Add new test * (PHP_5_2) ZendEngine2/zend_API.c: - Fix double error raising issue * ext/simplexml/simplexml.c: - Fix SEGV in case class to generate is not derived from SimpleXMLElement by issueing an error 2006-05-23 Sebastian Bergmann * (PHP_5_2) ZendEngine2/acinclude.m4: MFH: Add bison 2.2 to the list of supported versions. * ZendEngine2/acinclude.m4: Add bison 2.2 to the list of supported versions. 2006-05-22 Marcus Boerger * .gdbinit: - Provide user func printztype to retrieve the name of a zval type * (PHP_5_2) NEWS: - Update 2006-05-22 Rob Richards * (PHP_5_2) ext/dom/attr.c ext/dom/document.c ext/dom/dom_fe.h ext/dom/php_dom.c ext/dom/php_dom.h ext/dom/xml_common.h ext/dom/tests/regsiter_node_class.phpt: MFH: add registerNodeClass() method - update attribute isID functionality - add test * ext/dom/tests/regsiter_node_class.phpt ext/dom/tests/regsiter_node_class.phpt: add test 2006-05-22 Ilia Alshanetsky * ext/ming/ming.c: MFB: E_ERROR > E_RECOVERABLE_ERROR * (PHP_5_2) ext/ming/ming.c: E_ERROR > E_RECOVERABLE_ERROR 2006-05-22 Greg Beaver * (PHP_4_4) pear/install-pear.php pear/PEAR/Downloader.php pear/PEAR/REST.php: fix PEAR build * pear/packages/PEAR-1.4.9.tar pear/packages/PEAR-1.4.9.tar: file PEAR-1.4.9.tar was initially added on branch PHP_4_4. * (PHP_4_4) pear/PEAR.php pear/System.php pear/install-pear.php pear/PEAR/ChannelFile.php pear/PEAR/Common.php pear/PEAR/Config.php pear/PEAR/Dependency2.php pear/PEAR/Downloader.php pear/PEAR/Frontend.php pear/PEAR/Installer.php pear/PEAR/PackageFile.php pear/PEAR/REST.php pear/PEAR/Registry.php pear/PEAR/Remote.php pear/PEAR/Validate.php pear/PEAR/Command/Install.php pear/PEAR/Frontend/CLI.php pear/packages/PEAR-1.4.6.tar: sync to PEAR 1.4.9 add PEAR 1.4.9 to installed tarballs 2006-05-22 Dmitry Stogov * sapi/cgi/fastcgi.c sapi/cgi/fastcgi.c sapi/cgi/fastcgi.c: Fixed bug #37496 (FastCGI output buffer overrun) 2006-05-22 Antony Dovgal * sapi/cgi/fastcgi.c sapi/cgi/fastcgi.c: fix typo * (PHP_5_1) ext/oci8/config.w32 ext/oci8/config.w32: re-enable OCILobRead2() support * ext/oci8/config.w32: re-enable OCILobRead2() support on win32 2006-05-21 Marcus Boerger * (PHP_4_4) ext/curl/curl.c: - Fix build * (PHP_5_2) ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h ZendEngine2/zend_vm_gen.php: - MFH Sync vm generation with head - Regenerate vm 2006-05-21 Derick Rethans * (PHP_4_4) NEWS configure.in main/php_version.h: - Back to dev * (PHP_4_4) NEWS configure.in main/php_version.h: - Go with 4.4.3RC1 2006-05-21 Ilia Alshanetsky * (PHP_4_4) NEWS ext/curl/curl.c ext/curl/interface.c: MFH: Added control character checks for cURL extension's open_basedir/safe_mode checks. * (PHP_5_2) NEWS ext/curl/interface.c ext/curl/interface.c: Added control character checks for cURL extension's open_basedir/safe_mode checks. * (PHP_4_4) NEWS ext/mysql/libmysql/libmysql.c: Fixed a possible buffer overflow inside create_named_pipe() for Win32 systems in libmysql.c. * (PHP_5_2) README.UPDATE_5_2: Added a note about E_RECOVERABLE_ERROR being a part of E_ALL. 2006-05-21 Marcus Boerger * (PHP_5_2) ext/standard/tests/file/stream_rfc2397_006.phpt main/streams/memory.c: - MFH Handle corrupt base64 data in data: url * ext/standard/tests/file/stream_rfc2397_006.phpt ext/standard/tests/file/stream_rfc2397_006.phpt main/streams/memory.c: - Handle corrupt base64 data in data: url * ext/standard/base64.c: - Drop unneccesary check and change to safe_emalloc * ZendEngine2/zend_API.c: - Improve error messages (missing unicode todo) * ZendEngine2/zend_execute.c tests/lang/bug24658.phpt: - Improve error messages (part 2) * tests/lang/catchable_error_002.phpt: - Fix unicode expectations * ZendEngine2/zend_execute.c ZendEngine2/tests/array_type_hint_001.phpt ZendEngine2/tests/bug33996.phpt tests/classes/interfaces_003.phpt tests/classes/type_hinting_001.phpt tests/classes/type_hinting_003.phpt tests/lang/bug24658.phpt tests/lang/catchable_error_001.phpt tests/lang/catchable_error_002.phpt tests/lang/type_hints_001.phpt: - Improved error messages * README.CVS-RULES README.CVS-RULES README.CVS-RULES README.CVS-RULES README.CVS-RULES README.CVS-RULES: - Update 2006-05-20 Marcus Boerger * ZendEngine2/zend_objects.c: - Z_LVAL is a long so use %ld 2006-05-20 Antony Dovgal * ZendEngine2/zend_objects_API.c ZendEngine2/zend_objects_API.h: fix the typo before everybody forgets about it 2006-05-20 Marcus Boerger * ZendEngine2/zend_objects.c: - Better error message in case of an exception from a dtor while an exception is already pending * ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h ZendEngine2/zend_vm_gen.php: - Fix warning 2006-05-20 Antony Dovgal * (PHP_5_2) ext/oci8/oci8_lob.c: MFH: attempt to fix OCILobRead2() related problems * ext/oci8/oci8_lob.c: attempt to fix OCILobRead2() related problems 2006-05-20 Marcus Boerger * .gdbinit: - In printzv show private/protected visibility and class in case of private * tests/classes/abstract_by_interface_001.phpt tests/classes/abstract_by_interface_001.phpt tests/classes/abstract_by_interface_002.phpt tests/classes/abstract_by_interface_002.phpt: - Add new tests * ZendEngine2/zend_objects.c: - Do not use the protection at this place, we would need another object shutdown state (e.g. destructed == 2). That's probbaly too much. * ZendEngine2/zend_objects.c ZendEngine2/zend_objects_API.c ZendEngine2/zend_objects_API.h: - Destructors must not be called twice * ZendEngine2/tests/catch_004.phpt: - Should be static and be called (comitted wrong version) * ZendEngine2/tests/catch_002.phpt ZendEngine2/tests/catch_002.phpt ZendEngine2/tests/catch_003.phpt ZendEngine2/tests/catch_003.phpt ZendEngine2/tests/catch_004.phpt ZendEngine2/tests/catch_004.phpt: - Add new tests 2006-05-19 Dmitry Stogov * ZendEngine2/zend_ini.c ZendEngine2/zend_ini.c: Fixed random crashes in ZTS mode becouse of uninitialized EG(modified_ini_directives). 2006-05-19 Derick Rethans * (PHP_5_2) NEWS: - Fixed bug #37514 (strtotime doesn't assume year correctly). 2006-05-19 Antony Dovgal * tests/lang/bug35239.phpt tests/lang/bug35239.phpt: file bug35239.phpt was initially added on branch PHP_4_4. * (PHP_4_4) tests/lang/bug29566.phpt: add new test * (PHP_5_1) tests/basic/021.phpt tests/basic/021.phpt: fix test 2006-05-19 Hartmut Holzgraefe * NEWS ext/standard/basic_functions.c ext/standard/file.c ext/standard/file.h: Name change: php_get_tmpdir() renamed to sys_get_temp_dir() 2006-05-19 Antony Dovgal * (PHP_4_4) ext/wddx/wddx.c: MFH fix for #34306 (wddx_serialize_value() crashes with long array keys) * (PHP_4_4) ext/sysvmsg/sysvmsg.c: MFH: fix possible usage of uninitialized variable * main/streams/filter.c: initialize factory * (PHP_4_4) ext/standard/string.c: fix invalid read in basename("/.gz", ".gz") * (PHP_5_1) ext/standard/tests/array/array_chunk2.phpt ext/standard/tests/array/array_count_values2.phpt ext/standard/tests/array/array_diff_key2.phpt: add new tests by Ligaya Turmelle * ext/standard/tests/array/array_chunk2.phpt ext/standard/tests/array/array_chunk2.phpt ext/standard/tests/array/array_count_values2.phpt ext/standard/tests/array/array_count_values2.phpt ext/standard/tests/array/array_diff_key2.phpt ext/standard/tests/array/array_diff_key2.phpt: add new tests by Ligaya Turmelle * ext/standard/tests/array/array_chunk2.phpt ext/standard/tests/array/array_chunk2.phpt ext/standard/tests/array/array_count_values2.phpt ext/standard/tests/array/array_count_values2.phpt ext/standard/tests/array/array_diff_key2.phpt ext/standard/tests/array/array_diff_key2.phpt: file array_chunk2.phpt was initially added on branch PHP_5_2. 2006-05-19 Dmitry Stogov * (PHP_5_2) NEWS ZendEngine2/zend.c ZendEngine2/zend.c ZendEngine2/zend.h ZendEngine2/zend.h ZendEngine2/zend_extensions.h ZendEngine2/zend_extensions.h ZendEngine2/zend_globals.h ZendEngine2/zend_globals.h ext/standard/basic_functions.c ext/standard/basic_functions.c main/main.c main/main.c: Optimized zend_try/zend_catch macroses (eliminated memcpy()) 2006-05-19 Ilia Alshanetsky * ext/standard/filestat.c: MFB: Fixed bug #37505 (touch() truncates large files). * (PHP_5_2) NEWS ext/standard/filestat.c: Fixed bug #37505 (touch() truncates large files). 2006-05-18 Antony Dovgal * (PHP_4_4) main/main.c: fix compile warning * (PHP_4_4) main/main.c: fix leak (and possible segfault?) see bug #30397 for more details, somebody should really consider doing MFH when fixing such critical things 2006-05-18 Marcus Boerger * (PHP_4_4) NEWS NEWS ext/session/session.c ext/session/session.c: - MFH Fix bug #37510 session_regenerate_id changes session_id() even on failure * ext/session/session.c: - Fix bug #37510 session_regenerate_id changes session_id() even on failure 2006-05-18 Edin Kadribasic * (PHP_5_2) ext/pcre/config.w32: Use heap insted of stack for recursion in hope of avoid stack overflow crashes * (PHP_5_2) sapi/cgi/config.w32 sapi/cli/config.w32: Give exe files 8MB stack (same default as on Linux) instead of Windows default 1MB 2006-05-18 Marcus Boerger * (PHP_5_2) NEWS: - Update 2006-05-18 Antony Dovgal * (PHP_5_2) ZendEngine2/zend_exceptions.c ZendEngine2/zend_interfaces.c: there is no %v in 5.2 2006-05-18 Marcus Boerger * ZendEngine2/zend_object_handlers.c: - Fix error message in unicode mode 2006-05-18 Edin Kadribasic * (PHP_4_4) ext/imap/.cvsignore ext/imap/imap.dsp: Fix windows build 2006-05-18 Antony Dovgal * (PHP_4_4) sapi/cli/php_cli.c: fix leaks * (PHP_4_4) ext/wddx/tests/bug35410.phpt ext/wddx/tests/bug35410_64bit.phpt: fix test and add new for 64bit only * (PHP_5_1) NEWS NEWS ext/oci8/oci8.c ext/oci8/oci8.c: MFH: fix #37487 (oci_fetch_array() array-type should always default to OCI_BOTH) * ext/oci8/oci8.c: fix #37487 (oci_fetch_array() array-type should always default to OCI_BOTH) 2006-05-17 Antony Dovgal * (PHP_5_2) ZendEngine2/tests/error_reporting01.phpt ZendEngine2/tests/error_reporting05.phpt ZendEngine2/tests/error_reporting06.phpt ZendEngine2/tests/error_reporting07.phpt ZendEngine2/tests/error_reporting10.phpt: fix tests 2006-05-17 Marcus Boerger * (PHP_5_2) ZendEngine2/zend_errors.h: - Fix oversight and drop E_STRICT in 5.x series 2006-05-17 Rob Richards * (PHP_5_2) NEWS: BFN * (PHP_5_2) ext/dom/tests/bug37456.phpt ext/dom/tests/dom.ent ext/dom/tests/dom.xml: add tests * (PHP_5_2) ext/dom/dom_iterators.c ext/dom/php_dom.c: Synch from HEAD - Fix bug #37456 (DOMElement->setAttribute() loops forever) - update iterators for engine change merged from HEAD * ext/dom/tests/bug37456.phpt ext/dom/tests/bug37456.phpt ext/dom/tests/dom.ent ext/dom/tests/dom.ent ext/dom/tests/dom.xml ext/dom/tests/dom.xml: add test * ext/dom/php_dom.c: Fix bug #37456 (DOMElement->setAttribute() loops forever) 2006-05-17 Antony Dovgal * ZendEngine2/zend_object_handlers.h ZendEngine2/zend_object_handlers.h: change argument name, it should be "object" not "property" 2006-05-17 Ilia Alshanetsky * (PHP_5_2) NEWS: Bug fixing news * ZendEngine2/zend.c: Fixed bug #35512 (Lack of read permission on main script results in E_WARNING rather then E_ERROR). * (PHP_5_2) ZendEngine2/zend.c: Fixed bug #35512 (Lack of read permission on main script results in E_WARNING rather then E_ERROR). 2006-05-17 Marcus Boerger * ext/simplexml/simplexml.c: - Proto fix/add 2006-05-16 Marcus Boerger * run-tests.php: - '_' is valid in test blocks 2006-05-16 Antony Dovgal * (PHP_5_1) tests/basic/021.phpt tests/basic/021.phpt: fix test 2006-05-16 Ilia Alshanetsky * ext/standard/php_fopen_wrapper.c: MFB: Make filters without a resource throw E_RECOVERABLE_ERROR rather then E_ERROR * (PHP_5_2) ext/standard/php_fopen_wrapper.c: Make filters without a resource throw E_RECOVERABLE_ERROR rather then E_ERROR 2006-05-16 Antony Dovgal * ext/standard/tests/file/mkdir-001.phpt ext/standard/tests/file/mkdir-002.phpt ext/standard/tests/file/mkdir-003.phpt ext/standard/tests/file/mkdir-004.phpt ext/standard/tests/file/mkdir-005.phpt: new mkdir tests * ext/standard/tests/file/mkdir-001.phpt ext/standard/tests/file/mkdir-001.phpt ext/standard/tests/file/mkdir-002.phpt ext/standard/tests/file/mkdir-002.phpt ext/standard/tests/file/mkdir-003.phpt ext/standard/tests/file/mkdir-003.phpt ext/standard/tests/file/mkdir-004.phpt ext/standard/tests/file/mkdir-004.phpt ext/standard/tests/file/mkdir-005.phpt ext/standard/tests/file/mkdir-005.phpt: file mkdir-001.phpt was initially added on branch PHP_5_2. * main/streams/plain_wrapper.c: MFB: fix #37395 (recursive mkdir() fails to create nonexistent directories in root dir) * (PHP_5_2) NEWS main/streams/plain_wrapper.c: fix #37395 (recursive mkdir() fails to create nonexistent directories in root dir) 2006-05-16 Marcus Boerger * (PHP_5_2) NEWS: - MFH Fixed Bug #37457 (Crash when an exception is thrown in accept() method of FilterIterator) 2006-05-16 Ilia Alshanetsky * main/main.c: MFB: Disable realpath cache when open_basedir or safe_mode are enabled on a per-request basis. * (PHP_5_2) NEWS main/main.c: Disable realpath cache when open_basedir or safe_mode are enabled on a per-request basis. 2006-05-15 Dmitry Stogov * (PHP_5_2) ZendEngine2/tests/bug37144.phpt: Added test * ZendEngine2/tests/bug37144.phpt ZendEngine2/tests/bug37144.phpt: Added test * ZendEngine2/tests/bug37144.phpt ZendEngine2/tests/bug37144.phpt: file bug37144.phpt was initially added on branch PHP_5_1. 2006-05-15 Sebastian Bergmann * (PHP_5_2) NEWS: My bad. * (PHP_5_2) NEWS: Fugbix NEWS entries. * (PHP_5_2) NEWS: Fugbix typo. 2006-05-15 Dmitry Stogov * (PHP_5_2) NEWS ZendEngine2/tests/bug37144.phpt: -** empty log message *** * ZendEngine2/zend_execute.c ZendEngine2/zend_execute.c ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h ZendEngine2/zend_vm_execute.h: Optimized require_once/include_once (eliminated fopen() on second usage) * ZendEngine2/zend_globals.h ZendEngine2/zend_ini.c: Optimized request shutdown sequence to iterate only over modified ini directives * (PHP_5_2) ZendEngine2/zend_globals.h ZendEngine2/zend_ini.c: Optimized shutdown sequence to iterate only over modified ini directives * sapi/cgi/cgi_main.c sapi/cgi/fastcgi.c sapi/cgi/fastcgi.h: - Removed source compatibility with libfcgi - Optimized access to FastCGI environment using HashTable instead of linear sear ch - Allowed PHP_FCGI_MAX_REQUESTS=0 to disable PHP die - Allowed PHP_FCGI_CHILDREN=0 to disable PHP spawn workers * (PHP_5_2) sapi/cgi/cgi_main.c sapi/cgi/fastcgi.c sapi/cgi/fastcgi.h: - Removed source compatibility with libfcgi - Optimized access to FastCGI environment using HashTable instead of linear search - Allowed PHP_FCGI_MAX_REQUESTS=0 to disable PHP die - Allowed PHP_FCGI_CHILDREN=0 to disable PHP spawn workers 2006-05-15 Antony Dovgal * (PHP_5_1) ext/oci8/config.w32 ext/oci8/config.w32: MFH: disable OCILobRead2() support on Win32 * ext/oci8/config.w32: disable OCILobRead2() support on Win32 2006-05-14 Marcus Boerger * (PHP_5_2) README.UPDATE_5_2: - Add some update notes * (PHP_5_2) NEWS: - We have it now fully RFC compliant * (PHP_5_2) main/streams/memory.c: - MFH No need to have this controlled by allow_url_fopen * main/streams/memory.c: - No need to have this controlled by allow_url_fopen * (PHP_5_2) ZendEngine2/zend_errors.h: - Readd that E_RECOVERABLE_ERROR, dropping it is a bad idea * (PHP_5_2) ZendEngine2/zend_errors.h: - Do not include E_RECOVERABLE_ERROR to the default mode E_ALL * (PHP_5_2) ext/standard/tests/file/stream_rfc2397_004.phpt ext/standard/tests/file/stream_rfc2397_005.phpt main/streams/streams.c: - MFH Add strict compliant RFC2397 support (no //) * ext/standard/tests/file/stream_rfc2397_004.phpt ext/standard/tests/file/stream_rfc2397_004.phpt ext/standard/tests/file/stream_rfc2397_005.phpt ext/standard/tests/file/stream_rfc2397_005.phpt main/streams/streams.c: - Add strict compliant RFC2397 support (no //) 2006-05-14 Derick Rethans * (PHP_5_2) NEWS: MFH: - Implemented Dmitry's const patch. - Added support for "weekday" as relative item. - Fixed bug #37368 (Incorrect timestamp returned for strtotime()). 2006-05-14 Ilia Alshanetsky * (PHP_5_2) NEWS ext/standard/basic_functions.c ext/standard/basic_functions.h ext/standard/file.c: MFH: Fixed bug #36630 (umask not reset at the end of the request). 2006-05-14 Marcus Boerger * (PHP_5_2) NEWS NEWS README.UPDATE_5_2: - Update * ext/standard/tests/file/stream_rfc2397_003.gif ext/standard/tests/file/stream_rfc2397_003.gif ext/standard/tests/file/stream_rfc2397_003.phpt ext/standard/tests/file/stream_rfc2397_003.phpt main/streams/memory.c: - RFC2397 add decoding * main/streams/memory.c: - Enforce stream mode correct * ext/standard/tests/file/stream_rfc2397_001.phpt ext/standard/tests/file/stream_rfc2397_002.phpt ext/standard/tests/file/stream_rfc2397_002.phpt main/streams/memory.c: - Change to use dedicated stream ops * ext/standard/tests/file/stream_rfc2397_002.phpt main/streams/memory.c: - RFC 2397 meta data handling 2006-05-14 Pierre-Alain Joye * README.UPDATE_5_2 README.UPDATE_5_2: file README.UPDATE_5_2 was initially added on branch PHP_5_2. 2006-05-13 Rasmus Lerdorf * (PHP_5_1) sapi/apache/mod_php5.c: Oh, woops. The cgi_vars optimization patch snuck in there. Reverse that part. * (PHP_5_2) sapi/apache/mod_php5.c: Switch to a signed int for now. Will look at moving to a long throughout the code here. * sapi/apache/mod_php5.c: We might want to consider moving this to a long throughout the sapi code, but for now switch to a signed int. * (PHP_5_1) sapi/apache/mod_php5.c: ap_get_client_block can return a negative value, so don't use an unsigned int here. * (PHP_4_4) sapi/apache/mod_php4.c: ap_get_client_block can return -1, so don't use an unsigned int here 2006-05-13 Marcus Boerger * ext/standard/basic_functions.c ext/standard/tests/file/stream_rfc2397_001.phpt ext/standard/tests/file/stream_rfc2397_001.phpt main/php_memory_streams.h main/streams/memory.c: - Initial RFC2397 support * run-tests.php: - Add support for --EXPECTHEADERS-- - MFB cgi specific stuff * (PHP_5_2) ZendEngine2/zend_API.c: - MFH code layout for __toString() use in parameter parsing api * ZendEngine2/zend_API.c: - Support __tostring() in argument parsing 2006-05-12 Rob Richards * (PHP_5_2) ext/xsl/xsltprocessor.c: MFH: add doXInclude property to allow processor to perform XIncludes * ext/xsl/xsltprocessor.c: add doXInclude property to allow processor to perform XIncludes 2006-05-12 Ilia Alshanetsky * makedist makedist makedist: Download pear phar file when making a distribution package 2006-05-12 Derick Rethans * ZendEngine2/tests/abstract-static.phpt ZendEngine2/tests/abstract-static.phpt ZendEngine2/tests/abstract-static.phpt ZendEngine2/tests/object-null.phpt ZendEngine2/tests/object-null.phpt ZendEngine2/tests/object-null.phpt: 1.1.4; - Added tests for BC breaking changes. 2006-05-12 Antony Dovgal * (PHP_5_1) NEWS NEWS: MFH: fix #37416 (iterator_to_array() hides exceptions thrown in rewind() method) 2006-05-12 Sebastian Bergmann * (PHP_5_2) ZendEngine2/zend.h: Bump version. 2006-05-12 Marcus Boerger * (PHP_5_2) ZendEngine2/zend.c ZendEngine2/zend_API.c: - Missing __toString() pieces 2006-05-11 Marcus Boerger * (PHP_5_2) NEWS: - Update 2006-05-11 Antony Dovgal * (PHP_5_2) ZendEngine2/zend.c: no need to destroy the zval here 2006-05-11 Dmitry Stogov * (PHP_5_1) NEWS NEWS main/main.c main/main.c sapi/cli/php_cli.c sapi/cli/php_cli.c: Fixed bug #37306 (max_execution_time = max_input_time) * main/main.c sapi/cli/php_cli.c: Fixed bug #37306 (max_execution_time = max_input_time). 2006-05-11 Ilia Alshanetsky * acinclude.m4: MFB: Fixed bug #37413 (Rejected versions of flex that don't work). * (PHP_5_2) NEWS acinclude.m4: Fixed bug #37413 (Rejected versions of flex that don't work). 2006-05-11 Marcus Boerger * ZendEngine2/zend_vm_execute.h: - Drop a few superflous if conditions (now the generated file) * ZendEngine2/zend_interfaces.c ZendEngine2/zend_vm_def.h: - Drop a few superflous if conditions * (PHP_5_2) ZendEngine2/zend_compile.c ZendEngine2/zend_compile.h ZendEngine2/zend_execute.c ZendEngine2/zend_interfaces.c ZendEngine2/zend_language_parser.y ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h: - MFH missing bits and pieces of the partial sync with head * (PHP_5_2) ZendEngine2/zend_API.c: - Drop second superflous zval_ptr_dtor in string arg parsing * ext/dba/libflatfile/flatfile.c ext/dba/libinifile/inifile.c: - Fix build 2006-05-11 Andrei Zmievski * ZendEngine2/zend_compile.h ZendEngine2/zend_language_scanner.l: Adjust API for scanning INI files as UTF-8. 2006-05-11 Antony Dovgal * (PHP_5_2) ZendEngine2/zend_API.c: fix segfault when passing objects where strings are expected 2006-05-11 Seiji Masugata * ext/mbstring/mbstring.c ext/mbstring/mbstring.c ext/mbstring/mbstring.c: fixed all mbstring setting information doesn't return in mb_get_info( ). 2006-05-11 Antony Dovgal * ZendEngine2/tests/objects_001.phpt ZendEngine2/tests/objects_001.phpt: file objects_001.phpt was initially added on branch PHP_5_2. 2006-05-11 Marcus Boerger * (PHP_5_2) ext/mcrypt/mcrypt.c: - Use of E_RECOVERABLE_ERROR * main/main.c: - Fix error mode handling 2006-05-10 Antony Dovgal * (PHP_5_2) ZendEngine2/tests/bug33771.phpt: change it to be consistent with the others 2006-05-10 Marcus Boerger * (PHP_5_2) ZendEngine2/tests/array_type_hint_001.phpt ZendEngine2/tests/bug26166.phpt ZendEngine2/tests/bug26166.phpt ZendEngine2/tests/bug28444.phpt ZendEngine2/tests/bug30791.phpt ZendEngine2/tests/bug33771.phpt ZendEngine2/tests/bug33996.phpt tests/classes/interfaces_003.phpt: - Fix tests * (PHP_5_2) tests/lang/bug22367.phpt: - No more ze1 * (PHP_5_2) tests/run-test/test005.phpt tests/run-test/test008.phpt tests/run-test/test008a.phpt: - Hardcoded error mode was changed to 8191 2006-05-10 Rasmus Lerdorf * main/SAPI.c sapi/apache/mod_php5.c: MFB input filter hook for getenv() * main/php_variables.h: MFB filter defines * (PHP_5_2) NEWS main/SAPI.c sapi/apache/mod_php5.c: Add input_filter hook call in getenv() 2006-05-10 Marcus Boerger * (PHP_5_2) ZendEngine2/zend.c: - Missing __ToString() sync * tests/classes/tostring_003.phpt tests/classes/tostring_003.phpt: - Fix tests * ZendEngine2/zend_object_handlers.c ZendEngine2/zend_object_handlers.c: - Enforece rule of disallowing throw in __toString() 2006-05-10 Rasmus Lerdorf * (PHP_5_2) main/php_variables.h: Now that ext/filter is bundled, we should be defining these in one place 2006-05-10 Marcus Boerger * ZendEngine2/zend_compile.c: - MFB missing initialization * (PHP_5_2) php.ini-dist php.ini-recommended ZendEngine2/zend_execute.c ext/dom/php_dom.c ext/simplexml/simplexml.c: - ze1 cleanup (bjori) /thx * (PHP_5_2) ZendEngine2/zend.c ZendEngine2/zend_API.c: - Missing __tostring() conversion snippets * (PHP_5_2) NEWS: - Missed my name 2006-05-10 Frank M. Kromann * (PHP_5_2) ext/dom/dom_iterators.c: Fix win32 build 2006-05-10 Rob Richards * (PHP_5_2) ext/com_dotnet/com_extension.c ext/com_dotnet/com_handlers.c ext/com_dotnet/com_iterator.c ext/com_dotnet/com_saproxy.c ext/com_dotnet/php_com_dotnet_internal.h: - Update after api changes 2006-05-10 Antony Dovgal * (PHP_5_2) ZendEngine2/tests/error_reporting01.phpt ZendEngine2/tests/error_reporting02.phpt ZendEngine2/tests/error_reporting03.phpt ZendEngine2/tests/error_reporting04.phpt ZendEngine2/tests/error_reporting05.phpt ZendEngine2/tests/error_reporting06.phpt ZendEngine2/tests/error_reporting07.phpt ZendEngine2/tests/error_reporting08.phpt ZendEngine2/tests/error_reporting09.phpt ZendEngine2/tests/error_reporting10.phpt: fix tests * (PHP_5_2) ZendEngine2/zend.c ZendEngine2/zend_constants.c main/main.c: add missing parts of E_RECOVERABLE merge * (PHP_5_2) ZendEngine2/zend_compile.c: add missing ZEND_API to the implementation * (PHP_5_2) ZendEngine2/zend_API.c: nuke extra semi-colon 2006-05-10 Ilia Alshanetsky * ext/standard/string.c: MFB: Fixed bug #37394 (substr_compare() returns an error when offset equals string length). * (PHP_5_2) NEWS ext/standard/string.c: Fixed bug #37394 (substr_compare() returns an error when offset equals string length). 2006-05-10 Andrey Hristov * ext/mysqli/mysqli.c ext/mysqli/mysqli_api.c: MFB * (PHP_5_2) ext/mysqli/mysqli.c ext/mysqli/mysqli_api.c: Don't allocate 2 chunks of memory when one can fit. Reduces memory fragmentation. There is one more place that fragments memory but it will complicate the ongoing Unicode upgrade of mysqli so leaving it away for now. 2006-05-10 Antony Dovgal * (PHP_5_1) NEWS NEWS ext/oci8/oci8.c ext/oci8/oci8.c: MFH: fix #37392 (Unnecessary call to OCITransRollback() at the end of request) * ext/oci8/oci8.c: fix #37392 (Unnecessary call to OCITransRollback() at the end of request) 2006-05-10 Andrei Zmievski * (PHP_5_2) NEWS: -** empty log message *** 2006-05-10 Marcus Boerger * (PHP_5_2) ZendEngine2/tests/bug27641.phpt ZendEngine2/tests/bug30332.phpt ZendEngine2/tests/bug31828.phpt ZendEngine2/tests/bug32080.phpt ZendEngine2/tests/bug32852.phpt ZendEngine2/tests/bug33243.phpt ZendEngine2/tests/bug34712.phpt ZendEngine2/tests/bug34767.phpt: i- ZE1_compat tests are no longer necessary * (PHP_5_2) ext/pgsql/pgsql.c: - Update after api changes 2006-05-09 Marcus Boerger * (PHP_5_2) ext/dom/dom_iterators.c ext/dom/php_dom.c ext/dom/php_dom.h ext/mysql/php_mysql.c ext/mysqli/mysqli.c ext/mysqli/mysqli_driver.c ext/simplexml/simplexml.c ext/sqlite/sqlite.c sapi/cli/php_cli.c: - Update after api changes * (PHP_5_2) ext/pcre/php_pcre.c ext/pcre/php_pcre.h: - MFH pcre_get_compiled_regex_cache() support * (PHP_5_2) ZendEngine2/zend.c ZendEngine2/zend.h ZendEngine2/zend_API.c ZendEngine2/zend_API.h ZendEngine2/zend_arg_defs.c ZendEngine2/zend_builtin_functions.c ZendEngine2/zend_compile.c ZendEngine2/zend_compile.h ZendEngine2/zend_errors.h ZendEngine2/zend_exceptions.c ZendEngine2/zend_exceptions.h ZendEngine2/zend_execute.c ZendEngine2/zend_execute.h ZendEngine2/zend_execute_API.c ZendEngine2/zend_extensions.c ZendEngine2/zend_extensions.h ZendEngine2/zend_globals.h ZendEngine2/zend_globals_macros.h ZendEngine2/zend_interfaces.c ZendEngine2/zend_iterators.c ZendEngine2/zend_iterators.h ZendEngine2/zend_modules.h ZendEngine2/zend_object_handlers.c ZendEngine2/zend_object_handlers.h ZendEngine2/zend_objects.c ZendEngine2/zend_objects_API.c ZendEngine2/zend_objects_API.h ZendEngine2/zend_operators.c ZendEngine2/zend_operators.h ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h: - MFH as discussed . zend_exception_get_default() -> zend_exception_get_default(TSRMLS_D) . zend_get_error_exception() -> zend_get_error_exception(TSRMLS_D) . added E_RECOVERABLE_ERROR . added ZEND_TOSTRING_FUNC_NAME . added __tostring function cache to zend_class_entry . added ZEND_NAMED_ME . modified ZEND_ME_MAPPING to support method flags . added ZEND_MN . method entries now use prefix "zim_" instead of "zif_" . drop EG(ze1_compatibility_mode) . changed cast handler, now without (int should_free): typedef int (*zend_object_cast_t)(zval *readobj, zval *retval, int type TSRMLS_DC); . changed get_iterator, now receives whether value is by ref: zend_object_iterator *(*get_iterator)(zend_class_entry *ce, zval *object, int by_ref TSRMLS_DC); . added zend_objects_store_add_ref_by_handle . added zend_objects_store_del_ref_by_handle . convert_to_explicit_type(pzv, type) * ZendEngine2/zend_API.h ext/sqlite/sqlite.c: - Methods have flags * ZendEngine2/zend_exceptions.c ZendEngine2/zend_exceptions.h: - zend_spprintf() is actually used elsewhere in the engine 2006-05-09 Ilia Alshanetsky * sapi/cgi/fastcgi.c: MFB: Fixed bug #37376 (fastcgi.c compile fail with gcc 2.95.4). * (PHP_5_2) NEWS sapi/cgi/fastcgi.c: Fixed bug #37376 (fastcgi.c compile fail with gcc 2.95.4). 2006-05-09 Marcus Boerger * ZendEngine2/zend.h ZendEngine2/zend_exceptions.c: - MFB WS/CS, zend_spprintf() must not be exported * ZendEngine2/zend_builtin_functions.c: - MFB Missing check * ZendEngine2/zend_API.h ZendEngine2/zend_execute.c ZendEngine2/zend_iterators.c ZendEngine2/zend_object_handlers.c: - MFB: WS 2006-05-09 Andrei Zmievski * (PHP_5_2) NEWS: -** empty log message *** * ext/pcre/php_pcre.c ext/pcre/php_pcre.h: Add pcre_last_error() and backtrack/recursion limit settings. 2006-05-09 Georg Richter * ext/mysqli/tests/bug34785.phpt ext/mysqli/tests/bug36745.phpt ext/mysqli/tests/bug36802.phpt: merge from 5.2 * ext/mysqli/mysqli.c ext/mysqli/mysqli_api.c ext/mysqli/mysqli_fe.c ext/mysqli/mysqli_nonapi.c ext/mysqli/mysqli_prop.c ext/mysqli/mysqli_repl.c ext/mysqli/mysqli_warning.c ext/mysqli/php_mysqli.h ext/mysqli/tests/002.phpt ext/mysqli/tests/014.phpt ext/mysqli/tests/017.phpt ext/mysqli/tests/049.phpt ext/mysqli/tests/bug34810.phpt: Merge from 5.2 * (PHP_5_2) ext/mysqli/php_mysqli.h: removed unused macro parameter 2006-05-08 Edin Kadribasic * (PHP_5_2) NEWS: Update news 2006-05-08 Georg Richter * (PHP_5_2) ext/mysqli/mysqli.c ext/mysqli/php_mysqli.h: moved zend_class_entry variables to mysqli.c 2006-05-08 Brian France * (PHP_5_2) NEWS ext/curl/multi.c: MFH: Add implementation of curl_multi_info_read 2006-05-08 Andrey Hristov * (PHP_5_2) ext/mysqli/mysqli_api.c: tweaks and optimizations 2006-05-08 Pierre-Alain Joye * (PHP_4_4) NEWS ext/gd/libgd/gd_gif_in.c ext/gd/tests/bug37346.gif ext/gd/tests/bug37346.phpt ext/gd/tests/bug37360.gif ext/gd/tests/bug37360.phpt: - MFH: #37346, invalid colormap format - MFH: #37360, bad gif size * (PHP_5_2) ext/gd/libgd/gd_gif_in.c: - more CS * ext/gd/libgd/gd_gif_in.c ext/gd/tests/bug37360.gif ext/gd/tests/bug37360.gif ext/gd/tests/bug37360.gif ext/gd/tests/bug37360.gif ext/gd/tests/bug37360.phpt ext/gd/tests/bug37360.phpt ext/gd/tests/bug37360.phpt ext/gd/tests/bug37360.phpt: - #37360, bad gif size * ext/gd/libgd/gd_gif_in.c ext/gd/libgd/gd_gif_in.c: - CS (spaces > tabs) 2006-05-07 Pierre-Alain Joye * (PHP_5_1) NEWS: - +() * (PHP_5_1) NEWS: - entry for #37346, invalid colormap format * ext/gd/libgd/gd_gif_in.c ext/gd/tests/bug37346.gif ext/gd/tests/bug37346.phpt: - MFB: #37346, invalid colormap format * (PHP_5_1) ext/gd/libgd/gd_gif_in.c ext/gd/tests/bug37346.gif ext/gd/tests/bug37346.phpt: - MF52, #37346, invalid colormap format 2006-05-07 Rasmus Lerdorf * (PHP_5_2) ext/mbstring/config.m4: INSTALL_HEADERS takes absolute filenames there in the second arg. This makes pecl/mailparse build again 2006-05-07 Pierre-Alain Joye * (PHP_5_2) ext/gd/libgd/gd_gif_in.c ext/gd/tests/bug37346.gif ext/gd/tests/bug37346.gif ext/gd/tests/bug37346.gif ext/gd/tests/bug37346.phpt ext/gd/tests/bug37346.phpt ext/gd/tests/bug37346.phpt: - #37346, invalid colormap format 2006-05-07 Ilia Alshanetsky * (PHP_4_4) NEWS pear/Makefile.frag: MFH: Fixed bug #37348 (make PEAR install ignore open_basedir). * (PHP_5_2) NEWS pear/Makefile.frag: Fixed bug #37348 (make PEAR install ignore open_basedir). 2006-05-07 Edin Kadribasic * (PHP_5_2) ext/pgsql/pgsql.c ext/pgsql/php_pgsql.h: MFH: Added pg_field_table() as per req: #36750 * sapi/apache2handler/config.w32: MFB: Enable parallel build against Apache 2.2 libs and headers * (PHP_5_2) sapi/apache2handler/config.w32: Enable parallel build against Apache 2.2 libs and headers 2006-05-06 Ilia Alshanetsky * (PHP_5_2) NEWS ext/standard/base64.c ext/standard/base64.h: Fixed bug #37244 (Added strict flag to base64_decode() that enforces RFC3548 compliance). * (PHP_5_2) NEWS configure.in main/php_version.h: Creation of the 5.2 branch 2006-05-06 Hartmut Holzgraefe * NEWS ext/standard/basic_functions.c ext/standard/file.c ext/standard/file.h: Added php_get_tmpdir() function that returns the default directory for temporary files (as requested in bug #35380) 2006-05-05 Michael Wallner * (PHP_5_1) .gdbinit: - treat interfaces and classes gracefully in print_inh * (PHP_5_1) .gdbinit: - add print_inh (prints a very simple class tree, ie. extensible) - add print_pi (prints property_info) - add ____print_str (print strings binary safely, for hash keys etc) 2006-05-05 Dmitry Stogov * ZendEngine2/zend_execute.c ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h ZendEngine2/tests/bug37251.phpt: Fixed bug #37251 (deadlock when custom error handler is to catch array type hint error). * (PHP_5_1) NEWS sapi/cgi/fastcgi.c sapi/cgi/fastcgi.c: Fixed bug #37313 (sigemptyset() used without including ). (jdolecek) 2006-05-04 Antony Dovgal * ext/informix/ifx.ec ext/informix/ifx.ec: plug a leak 2006-05-04 Andrei Zmievski * ZendEngine2/zend_language_scanner.l: Don't use fixed size buffer in zend_uchar_from_uname(); * ZendEngine2/zend.h: Oops again. * ZendEngine2/zend.c: Oops. * ZendEngine2/zend.c ZendEngine2/zend.h ZendEngine2/zend_API.h ZendEngine2/zend_globals.h ZendEngine2/zend_unicode.c ZendEngine2/zend_unicode.h: Add a global ASCII connverter, macros to return single codepoints (UCHAR32), and zend_unicode_to_ascii() function. 2006-05-04 Antony Dovgal * (PHP_5_1) ext/informix/config.m4 ext/informix/ifx.ec: MFH: several minor fixes: nuke compile warnings etc. * ext/informix/config.m4 ext/informix/ifx.ec: several minor fixes: nuke compile warnings etc. 2006-05-03 Ilia Alshanetsky * (PHP_5_1) configure.in main/php_version.h: Back to dev * (PHP_5_1) configure.in main/php_version.h: go with 5.1.4 2006-05-03 Sara Golemon * (PHP_5_1) NEWS: News entry for exporting PDO::PARAM_EVT_* constants 2006-05-03 Pierre-Alain Joye * (PHP_5_1) run-tests.php: - remove debug part nota bene, there is still work in this area, but this is a start * tests/basic/021.phpt tests/basic/021.phpt: file 021.phpt was initially added on branch PHP_5_1. * (PHP_5_1) run-tests.php: - add support for POST_RAW, allow to pass raw POST data - add support for TEST_PHP_CGI_EXECUTABLE env variable, it is now possible to set both TEST_PHP_EXECUTABLE and CGI 2006-05-03 Brian France * NEWS ext/curl/multi.c: - Add implementation of curl_multi_info_read (Brian) Not adding to PHP 5_1, but should go into 5_2. 2006-05-03 Antony Dovgal * sapi/cgi/cgi_main.c: plug leak * tests/basic/013.phpt tests/basic/014.phpt tests/basic/015.phpt tests/basic/016.phpt tests/basic/017.phpt tests/basic/018.phpt tests/basic/019.phpt tests/basic/020.phpt: more POST+arrays tests * tests/basic/013.phpt tests/basic/013.phpt tests/basic/014.phpt tests/basic/014.phpt tests/basic/015.phpt tests/basic/015.phpt tests/basic/016.phpt tests/basic/016.phpt tests/basic/017.phpt tests/basic/017.phpt tests/basic/018.phpt tests/basic/018.phpt tests/basic/019.phpt tests/basic/019.phpt tests/basic/020.phpt tests/basic/020.phpt: file 013.phpt was initially added on branch PHP_5_1. 2006-05-03 Dmitry Stogov * sapi/cgi/fastcgi.c sapi/cgi/fastcgi.c sapi/cgi/fastcgi.h sapi/cgi/fastcgi.h: Fixed bug #37205 (incompatibility with mod_fastcgi) 2006-05-03 Ilia Alshanetsky * (PHP_5_1) NEWS: Prepare news file for release * (PHP_5_1) ext/standard/php_smart_str.h: Revert previous optimization if preparation for 5.1.4 2006-05-03 Dmitry Stogov * (PHP_5_1) NEWS: Fixed bug #37291 (FastCGI now longer works with isapi_fcgi.dll) * sapi/cgi/fastcgi.c sapi/cgi/fastcgi.c: Fixed incompatibility with isapi_fcgi.dll * (PHP_5_1) NEWS main/php_variables.c main/php_variables.c: Fixed bug #37276 (problems witch $_POST array) 2006-05-03 Rob Richards * (PHP_5_1) NEWS: BFN re-order news * (PHP_5_1) ext/dom/attr.c ext/dom/element.c ext/dom/php_dom.c ext/dom/tests/bug37277.phpt: Fix bug #37277 (cloning Dom Documents or Nodes does not work) Proper fix for bug #36859 add test * ext/dom/tests/bug37277.phpt ext/dom/tests/bug37277.phpt: add test * ext/dom/attr.c ext/dom/element.c ext/dom/php_dom.c: Fix bug #37277 (cloning Dom Documents or Nodes does not work) Proper fix for bug #36859 2006-05-02 Sara Golemon * ext/standard/file.c: Unicode Updates: file() now unicode ready get_meta_tags() updated for FS encoding, but content is still non-unicode 2006-05-02 Dmitry Stogov * (PHP_5_1) NEWS: typo * ZendEngine2/zend_compile.c ZendEngine2/zend_compile.c: Fixed possible crash in highlight_string() (proper place) 2006-05-02 Ilia Alshanetsky * (PHP_5_1) ext/standard/php_smart_str.h: Attempt to increase smart_str performance through the use of larger default buffers. Biased micro benchmarks show it makes sense :P 2006-05-02 Antony Dovgal * (RELEASE_1_2_1) ext/oci8/package.xml: prepare to 1.2.1 release 2006-05-02 Dmitry Stogov * (PHP_5_1) ZendEngine2/zend_compile.c: Fixed ossible crash in highlight_string(). 2006-05-01 Marcus Boerger * (PHP_5_1) ext/standard/php_fopen_wrapper.c: - Make SplTempFileObject work in 5.1 * ext/standard/php_fopen_wrapper.c: - WS 2006-05-01 Wez Furlong * (PHP_5_1) NEWS: add note about ssl context options. 2006-04-30 Wez Furlong * ext/openssl/openssl.c ext/openssl/xp_ssl.c: merge from branch: peer certificate capture context options. * (PHP_5_1) ext/openssl/openssl.c ext/openssl/xp_ssl.c: Add two new context options for ssl: "capture_peer_cert" and "capture_peer_cert_chain" If true, the peer certificate and peer certificate chain respectively will be captured and made available in the ssl context variables "peer_certificate" and "peer_certificate_chain" respectively. The certificates are exposed as x509 certificate resources and can be inspected using the existing openssl extension functions. This allows applications to perform extended validation. 2006-04-30 Marcus Boerger * (PHP_5_1) NEWS: - After 5.1.3 follows 5.1.4, 5.2 requires a new branch, preferable from this point of development (ilia will do so) 2006-04-30 Wez Furlong * (PHP_5_1) NEWS: Fix #36632 * (PHP_5_1) NEWS: Fix #35552 2006-04-29 Uwe Schindler * sapi/nsapi/nsapi.c: Remove hiding of authorization headers completely because safe mode canceled 2006-04-29 Frank M. Kromann * ext/com_dotnet/com_handlers.c ext/com_dotnet/com_saproxy.c ext/com_dotnet/com_typeinfo.c ext/com_dotnet/php_com_dotnet_internal.h: fix build * ext/standard/exec.c ext/standard/ftp_fopen_wrapper.c sapi/cli/php_cli.c: More ZSTR() fixes * ext/zlib/zlib.c: fix build. ZSTR() must be applied to the buf argument of php_stream macros 2006-04-28 Frank M. Kromann * ext/standard/file.c ext/standard/http_fopen_wrapper.c ext/standard/image.c main/php_streams.h: Remove ZSTR() from stream macros. Calling function must apply this macro 2006-04-27 Andrei Zmievski * ext/pcntl/pcntl.c: pcntl_signal is safe too * ext/pcntl/pcntl.c: Safe-fy some functions. 2006-04-27 Dmitry Stogov * sapi/cgi/fastcgi.c sapi/cgi/fastcgi.c sapi/cgi/fastcgi.h sapi/cgi/fastcgi.h: Proper fix for bug #37205 2006-04-27 Moriyoshi Koizumi * ext/iconv/iconv.c: - Remove fprintf() used for debugging * (PHP_5_1) ext/iconv/iconv.c ext/iconv/tests/bug37176.phpt: - MFH: fix bug #37176 (iconv_strpos() fails to find a string) * ext/iconv/iconv.c ext/iconv/tests/bug37176.phpt ext/iconv/tests/bug37176.phpt: - Fix bug #37176 (iconv_strpos() fails to find a string) 2006-04-26 Dmitry Stogov * sapi/cgi/fastcgi.c sapi/cgi/fastcgi.c: Revert wrong fix 2006-04-26 Ilia Alshanetsky * (PHP_5_1) NEWS configure.in main/php_version.h: Restore dev * (PHP_5_1) NEWS: Remove soap cache news 2006-04-26 Edin Kadribasic * (PHP_5_1) NEWS: BFN 2006-04-26 Ilia Alshanetsky * (PHP_5_1) configure.in main/php_version.h: Go with 5.1.3 * (PHP_5_1) NEWS: Prepare the news file for release 2006-04-26 Dmitry Stogov * (PHP_5_1) NEWS sapi/cgi/fastcgi.c sapi/cgi/fastcgi.c: Fixed bug #37205 (Serving binary content/images fails with "comm with server aborted" FastCGI err) 2006-04-26 Edin Kadribasic * sapi/apache/php_apache.c: MFB: Correctly import external data (#33292) * (PHP_5_1) sapi/apache/php_apache.c: Correctly import external data (#33292) 2006-04-25 Antony Dovgal * ext/standard/tests/strings/substr_compare.phpt ext/standard/tests/strings/substr_compare.phpt: remove nonexistent tag * ext/standard/string.c ext/standard/tests/strings/bug33605.phpt ext/standard/tests/strings/substr_compare.phpt: MF51: fix possible substr_compare() crash add new tests * ext/standard/tests/strings/bug33605.phpt ext/standard/tests/strings/bug33605.phpt ext/standard/tests/strings/substr_compare.phpt ext/standard/tests/strings/substr_compare.phpt: file bug33605.phpt was initially added on branch PHP_5_1. * (PHP_5_1) ext/standard/string.c: fix possible substr_compare() crash add new tests 2006-04-25 Michael Wallner * (PHP_5_1) NEWS: -improve last entry 2006-04-25 Antony Dovgal * (PHP_5_1) NEWS ext/standard/filestat.c: fix #37191 (chmod takes off sticky bit when safe_mode is On) 2006-04-25 Michael Wallner * (PHP_5_1) NEWS: - Fixed bug #37192 (cc fails on hash_adler.c:32) 2006-04-24 Dmitry Stogov * sapi/cgi/fastcgi.c: Fixed compilation on Solaris * (PHP_5_1) sapi/cgi/fastcgi.c: iFixed compilation on Solaris 2006-04-23 Andrei Zmievski * sapi/cli/php.1.in sapi/cli/php.1.in: MFB * (PHP_5_1) sapi/cli/php.1.in: Typo. 2006-04-23 Ilia Alshanetsky * (PHP_5_1) NEWS: Fixed typos * ext/wddx/wddx.c: MFB51: Fixed bug #37162 (wddx does not build as a shared extension). * (PHP_4_4) NEWS ext/wddx/wddx.c: MFH: Fixed bug #37162 (wddx does not build as a shared extension). * (PHP_5_1) NEWS ext/wddx/wddx.c: Fixed bug #37162 (wddx does not build as a shared extension). 2006-04-22 Antony Dovgal * ext/standard/tests/file/bug37158.phpt main/streams/php_streams_int.h main/streams/streams.c main/streams/userspace.c: merge fix for #37158 into HEAD add test * (PHP_5_1) ext/standard/tests/file/bug37158.phpt: bah.. no UEXPECT in this branch.. * ext/standard/tests/file/bug37158.phpt ext/standard/tests/file/bug37158.phpt: file bug37158.phpt was initially added on branch PHP_5_1. * (PHP_5_1) NEWS: BFN 2006-04-22 Wez Furlong * (PHP_5_1) NEWS main/streams/php_streams_int.h main/streams/streams.c main/streams/userspace.c: fix for #37158 2006-04-22 Frank M. Kromann * ext/standard/file.c ext/standard/image.c sapi/cli/php_cli.c: Fix Win32 build. NULL_ZSTR was converted to ZSTR(NULL_ZSTR) 2006-04-21 Andrei Zmievski * ZendEngine2/zend_objects_API.c: Happy, Pierre? * ZendEngine2/zend_objects_API.c ZendEngine2/zend_objects_API.h: Add: * zend_objects_store_add_ref_by_handle() * zend_objects_store_del_ref_by_handle() * zend_objects_store_get_object_by_handle() 2006-04-20 Ilia Alshanetsky * (PHP_5_1) configure.in main/php_version.h: Back to dev 2006-04-20 Antony Dovgal * (PHP_5_1) ZendEngine2/zend_execute_API.c: there is no %v in 5_1 2006-04-20 Andrei Zmievski * ZendEngine2/zend.c ZendEngine2/zend_globals.h ZendEngine2/zend_operators.c ZendEngine2/zend_unicode.c ZendEngine2/zend_unicode.h: Move to refcounted implementation of collators. 2006-04-20 Ilia Alshanetsky * (PHP_5_1) NEWS configure.in main/php_version.h: Prepare for RC3 2006-04-20 Michael Wallner * main/streams/streams.c: MFB: Fix reading stream filters never notified about EOF * (PHP_5_1) NEWS ext/standard/tests/filters/read.phpt ext/standard/tests/filters/read.phpt main/streams/streams.c: - Fix reading stream filters never notified about EOF 2006-04-20 Dmitry Stogov * ZendEngine2/tests/bug37138.phpt: Test added * ZendEngine2/tests/bug37138.phpt ZendEngine2/tests/bug37138.phpt: file bug37138.phpt was initially added on branch PHP_5_1. * (PHP_5_1) NEWS ZendEngine2/zend_API.c: Fixed bug #37138 (__autoload tries to load callback'ed self and parent) 2006-04-19 Dmitry Stogov * (PHP_5_1) NEWS: Cleaned up Andrei's patch for caching WSDL in process memory, added TTL and LIMIT for memory cache. Memory cache is disblead by fefault because it is experemental and isn't tested enough. It can be enabled whit configuartion directive "soap.wsdl_cache = WSDL_CACHE_MEMORY" or "soap.wsdl_cache = WSDL_CACHE_BOTH" or derectly in SoapClent/SoapServer constructor: $ws = new SoapClient($wsdl, array("cache_wsdl"=>WSDL_CACHE_BOTH)) Disk and memory caches use the same TTL value - "soap.wsdl_cache_ttl". Configuration directive "soap.wsdl_cache_limit" restricts the number of cached wsdl files in memory. Adding new files into full memory cache will delete oldest files from it. Note that, each PHP process or thread uses it's own memory cache. * ZendEngine2/zend.c: Fixed cleanup dependent on uninitialized value 2006-04-19 Antony Dovgal * ext/standard/streamsfuncs.c: fix typo (see #35900) 2006-04-18 Ilia Alshanetsky * (PHP_5_1) configure.in main/php_version.h: Restore dev so win32 snaps can build 2006-04-18 Sara Golemon * ext/standard/file.c: Silence compiler warnings * main/php_streams.h main/streams/streams.c: Fix copy/paste typo in php_stream_path_decode() proto * ZendEngine2/zend_API.c: Fix ZTS build 2006-04-18 Antony Dovgal * ZendEngine2/zend_API.c: binary strings exist only in unicode mode 2006-04-18 Ilia Alshanetsky * ext/sqlite/sqlite.c: MFB51: Fixed bug #29476 (sqlite_fetch_column_types() locks the database forever). * (PHP_5_1) NEWS ext/sqlite/sqlite.c: Fixed bug #29476 (sqlite_fetch_column_types() locks the database forever). 2006-04-18 Dmitry Stogov * (PHP_5_1) NEWS: Fixed bug #37083 (Frequent crashs in SOAP extension with new WSDL caching code in multithread WS). (Andrei, Dmitry) 2006-04-18 Antony Dovgal * run-tests.php: typofix 2006-04-18 Dmitry Stogov * sapi/cgi/fastcgi.c sapi/cgi/fastcgi.c: Fixed SUN_LEN calculation * main/php_variables.c main/php_variables.c sapi/cgi/cgi_main.c sapi/cgi/cgi_main.c: Fixed memory leaks 2006-04-18 Andrei Zmievski * ext/standard/string.c: I'm not sure what the heck people were thinking here, but it should be fixed finally. Please test. * ext/standard/string.c: Fix trim("a") bug. 2006-04-18 Ilia Alshanetsky * (PHP_5_1) ext/session/mod_files.c: Commit the actual fix 2006-04-17 Ilia Alshanetsky * ext/session/mod_files.c: MFB51: Fixed Bug #36872 (session_destroy() fails after call to session_regenerate_id(true)). * (PHP_4_4) ext/session/mod_files.c: MFH: Fixed Bug #36872 (session_destroy() fails after call to session_regenerate_id(true)). * (PHP_5_1) NEWS: Fixed Bug #36872 (session_destroy() fails after call to + session_regenerate_id(true)). 2006-04-17 Jani Taskinen * (PHP_5_1) NEWS: BFN * (PHP_5_1) ext/mbstring/config.m4: MFH: Fixed bug #37103 (libmbfl headers not installed) * ext/mbstring/config.m4: Fixed bug #37103 (libmbfl headers not installed) 2006-04-17 Sara Golemon * (PHP_5_1) ext/standard/filters.c: MFH(r-1.55) Fix 'soft line break' handling in convert.quoted-printable-decode * ext/standard/filters.c: Fix 'soft line break' handling in convert.quoted-printable-decode 2006-04-16 Ilia Alshanetsky * ext/standard/http_fopen_wrapper.c: MFB51: fixed typo * (PHP_5_1) ext/standard/http_fopen_wrapper.c: Fixed a typo in the previous patch. * (PHP_4_4) NEWS ext/standard/http_fopen_wrapper.c: MFH: Fixed bug #37045 (Fixed check for special chars for http redirects). * ext/standard/http_fopen_wrapper.c: MFB51: Fixed bug #37045 (Fixed check for special chars for http redirects). * (PHP_5_1) NEWS ext/standard/http_fopen_wrapper.c: Fixed bug #37045 (Fixed check for special chars for http redirects). 2006-04-15 Antony Dovgal * ext/sqlite/sqlite.c: fix compile failure * ZendEngine2/zend_strtod.c: MF51: fix #37062 (compile failure on ARM architecture) * (PHP_5_1) NEWS ZendEngine2/zend_strtod.c: fix #37062 (compile failure on ARM architecture) if ARM is big endian - don't define IEEE_LITTLE_ENDIAN 2006-04-14 Antony Dovgal * ZendEngine2/tests/bug34873.phpt: make it consistent with the other ones * (PHP_5_1) ZendEngine2/tests/bug34873.phpt: make it consistent with the other ones =) * ext/standard/tests/strings/bug36944.phpt: make this test to work on all systems * (PHP_5_1) ext/standard/tests/strings/bug36944.phpt: ok, let's make this test to work on all systems currently it fails at least on Linux PPC and Solaris, probably because of different strncmp/strncasecmp implementations. 2006-04-14 Sara Golemon * (PHP_4_3) ext/standard/file.c ext/standard/file.c ext/standard/file.c: MFH (r-1.436) copy() should not disrespect open_basedir on source file * ext/standard/file.c: MFB (r-1.409.2.6) copy() should not disrespect open_basedir on source file 2006-04-14 Marcus Boerger * (PHP_5_1) ext/simplexml/simplexml.c ext/simplexml/tests/009b.phpt: - MFH Fix properties access to children() result * ext/simplexml/php_simplexml.h ext/simplexml/simplexml.c ext/simplexml/tests/profile12.phpt: - Fix properties access to children() result - Allow access by namespace prefix * ext/simplexml/tests/009b.phpt ext/simplexml/tests/009b.phpt ext/simplexml/tests/profile13.phpt: - Fix properties access to children() result - Allow access by namespace prefix * ext/simplexml/tests/profile12.phpt: - Do not provide ns info in first sxe creation * ext/simplexml/simplexml.c ext/simplexml/tests/profile12.phpt: - Allow access to namespaced root by specifying prefix on creation - Fix access to non namespaced root * run-tests.php: - Prefix summaries with either U or N * ext/simplexml/simplexml.c: - If node no longer exists then there won't be any data 2006-04-14 Antony Dovgal * ext/standard/streamsfuncs.c: MF51: fix #37077 (stream_socket_server() leaks when the port is not allowed) * (PHP_5_1) ext/standard/streamsfuncs.c: fix #37077 (stream_socket_server() leaks when the port is not allowed) 2006-04-13 Antony Dovgal * main/streams/filter.c: fix CS and prevent NULL dereference 2006-04-13 Dmitry Stogov * ZendEngine2/tests/bug36513.phpt ZendEngine2/tests/bug36513.phpt: file bug36513.phpt was initially added on branch PHP_5_1. * (PHP_5_1) NEWS Zend/zend_language_scanner.l ZendEngine2/zend_language_scanner.l ZendEngine2/zend_language_scanner.l ZendEngine2/tests/bug36513.phpt: Fixed bug #36513 (comment will be outputed in last line) 2006-04-13 Antony Dovgal * ext/curl/interface.c ext/curl/multi.c: MF51: fix bug #37061 (curl_exec() doesn't zero-terminate binary strings) - we get the data length from cURL, so it's binary safe. fix leak appearing when re-using curl handle * (PHP_5_1) NEWS ext/curl/interface.c ext/curl/multi.c: fix bug #37061 (curl_exec() doesn't zero-terminate binary strings) - we get the data length from cURL, so it's binary safe. fix leak appearing when re-using curl handle 2006-04-13 Dmitry Stogov * (PHP_5_1) NEWS: Fixed bug #37054 (SoapClient Error Fetching http headers) * (PHP_4_4) NEWS Zend/zend_execute.c: Fixed bug #37046 (foreach breaks static scope) * ZendEngine2/tests/bug37046.phpt ZendEngine2/tests/bug37046.phpt: Fixed test 2006-04-13 Sara Golemon * ext/standard/streamsfuncs.c main/streams/filter.c main/streams/php_stream_filter_api.h: Preserve full name of filter for use in stream_get_meta_data() 2006-04-12 Sara Golemon * ext/standard/http_fopen_wrapper.c main/streams/filter.c main/streams/php_stream_filter_api.h main/streams/streams.c: Allow http:// wrapper to automatically apply correct unicode.from.* filter based on content-type header 2006-04-12 Antony Dovgal * ext/standard/tests/strings/bug36944.phpt ext/standard/tests/strings/bug36944.phpt: fix test title 2006-04-12 Johannes Schlüter * (PHP_5_1) NEWS ext/standard/array.c: - MFH: Fix bug #37060 (Type of retval of Countable::count() is not checked) * ext/standard/array.c: - Fix bug #37060 (Type of retval of Countable::count() is not checked) 2006-04-12 Antony Dovgal * ext/oci8/oci8.c ext/oci8/oci8_statement.c: MF51: fix #37059 (oci_bind_by_name() doesn't support RAW and LONG RAW fields) add tests * (PHP_5_1) NEWS ext/oci8/oci8.c ext/oci8/oci8_statement.c: fix #37059 (oci_bind_by_name() doesn't support RAW and LONG RAW fields) add tests * (PHP_5_1) ext/oci8/oci8.c: oops.. I didn't want to commit this.. * ext/oci8/oci8.c: MF51: correct fix for bug #37055 * (PHP_5_1) ext/oci8/oci8.c: correct fix for bug #37055 * ext/xmlrpc/xmlrpc-epi-php.c: MF51: fix #37057 (xmlrpc_decode() may produce arrays with numeric string keys which are unaccessible) * (PHP_5_1) NEWS ext/xmlrpc/xmlrpc-epi-php.c: fix #37057 (xmlrpc_decode() may produce arrays with numeric strings which are unaccessible) * ext/oci8/oci8.c: MF51: fix #37055 (incorrect reference counting for persistent OCI8 connections) * (PHP_5_1) NEWS ext/oci8/oci8.c: fix #37055 (incorrect reference counting for persistent OCI8 connections) * main/main.c: MF51: fix #37053 (html_errors with internal classes produces wrong links) * (PHP_5_1) NEWS main/main.c: fix #37053 (html_errors with internal classes produces wrong links) 2006-04-12 Dmitry Stogov * ZendEngine2/tests/bug37046.phpt ZendEngine2/tests/bug37046.phpt: file bug37046.phpt was initially added on branch PHP_5_1. * (PHP_5_1) NEWS ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h ZendEngine2/zend_vm_execute.h ZendEngine2/tests/bug37046.phpt: Fixed bug #37046 (foreach breaks static scope) * (PHP_5_1) NEWS ZendEngine2/zend_ini_parser.y ZendEngine2/zend_ini_parser.y: Fixed bug #37002 (Have to quote literals in INI when concatenating with vars) 2006-04-11 Derick Rethans * (PHP_5_1) NEWS: - MFH: Fixed bug #37017 (strtotime fails before 13:00:00 with some time zones identifiers). (Derick) - MFH: Fixed bug #36988 (mktime freezes on long numbers). (Derick) - MFH: Implemented better error and warning handling that is also used for the date_parse() function. - MFH: Fixed problems with "T" in front of a time string was seen as a time zone string. - MFH: Fixed a problem were 5 and 6 character timezone abbreviations where not correctly parsed. Experimental support (All MFH): - Added the date_parse() function that returns a parsed date/time string including warnings and errors. - Added the timezone_name_from_abbr() function that exposes the guessing mechanism that tries to find a timezone identifier from a timezone abbreviation and GMT offset. 2006-04-11 Jani Taskinen * ext/curl/interface.c ext/gd/php_gd.h main/safe_mode.c main/safe_mode.h: - More safe_mode left-overs. 2006-04-10 Ilia Alshanetsky * ext/standard/tests/file/bug24313.phpt: MFB51: fixed test * (PHP_5_1) ext/standard/tests/file/bug24313.phpt: Fixed test 2006-04-10 Marcus Boerger * ext/simplexml/simplexml.c ext/simplexml/simplexml.c: - Coverity issue 59 * (PHP_5_1) ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h: - MFH Iterators from overloaded objects are allowed to not have keys... * ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h: - Iterators from overloaded objects are allowed to not have keys... * ZendEngine2/zend_interfaces.c: - Allowing to pass in ce as NULL has its charme, too * ZendEngine2/zend_interfaces.c: - Fix coverity issue 49: ce might be forwarded as NULL without an exception being thrown in case the Zend API is being used wrong (in custom exts for instance). * ext/pgsql/pgsql.c: - Better order for SEGV prevention * ext/pgsql/pgsql.c: - Fix possible SEGV * ext/exif/exif.c: - Fix condition 2006-04-10 Jani Taskinen * INSTALL php.ini-dist php.ini-recommended ext/mbstring/tests/skipif.inc ext/standard/tests/array/bug33940.phpt main/php_variables.c tests/basic/012.phpt: more cleanup (lingering ini settings which do not exist anymore, etc.) * ext/session/php_session.h ext/session/session.c ext/session/tests/007.phpt ext/session/tests/008-php4.2.3.phpt ext/session/tests/008.phpt ext/session/tests/009.phpt ext/session/tests/010.phpt ext/session/tests/011.phpt ext/session/tests/012.phpt ext/session/tests/013.phpt ext/session/tests/014.phpt ext/session/tests/019.phpt ext/session/tests/skipif.inc: - Cleanup * ext/iconv/tests/bug16069.phpt ext/iconv/tests/eucjp2iso2022jp.phpt ext/iconv/tests/eucjp2sjis.phpt ext/iconv/tests/eucjp2utf8.phpt ext/iconv/tests/iconv001.phpt ext/iconv/tests/iconv002.phpt ext/iconv/tests/ob_iconv_handler.phpt ext/iconv/tests/test.inc ext/iconv/tests/translit-failure.phpt ext/iconv/tests/translit-utf8.phpt: cleanup 2006-04-10 Dmitry Stogov * (PHP_5_1) NEWS: Fixed bug #36908 (wsdl default value overrides value in soap request). * ZendEngine2/zend_opcode.c ZendEngine2/zend_opcode.c: Fixed possible crash in interactive mode 2006-04-10 Jani Taskinen * acinclude.m4: fix typo * (PHP_5_1) acinclude.m4 configure.in scripts/phpize.m4: MFH: - Determine the shared/link lib suffixes in one macro. * acinclude.m4 configure.in scripts/phpize.m4: - Determine the shared/link lib suffixes in one macro. * (PHP_5_1) TSRM/tsrm_virtual_cwd.h ext/standard/filestat.c: MFH: - Fixed bug #36909 (ld: Undefined symbols: _lchown) * TSRM/tsrm_virtual_cwd.h ext/standard/filestat.c: - Fixed bug #36909 (ld: Undefined symbols: _lchown) * (PHP_5_1) main/php_compat.h: MFH: - Silence some PCRE compile warnings * main/php_compat.h: - Silence some PCRE compile warnings * NEWS: - Fix NEWS. The empty lines were left on purpose.. * (PHP_5_1) ext/standard/credits_ext.h: update credits * ext/standard/credits_ext.h ext/standard/credits_sapi.h: fix credits * (PHP_5_1) NEWS: Fix NEWS 2006-04-09 Andrei Zmievski * (PHP_5_1) NEWS: Speed up SoapClient/SoapServer constructors by caching WSDL structures in memory. All WSDL files will be cached, unless turned off via an option to the constructor. 2006-04-09 Edin Kadribasic * ext/gettext/config.w32: MFB: Fixed bug #36935 * (PHP_5_1) ext/gettext/config.w32: Fixed bug #36935 2006-04-09 Ilia Alshanetsky * ext/standard/filestat.c: MFB51: Fixed bug #36875 (is_*() functions do not account for open_basedir). * (PHP_5_1) NEWS ext/standard/filestat.c: -** empty log message *** 2006-04-08 Andrei Zmievski * Makefile.global acinclude.m4 configure.in main/build-defs.h.in scripts/phpize.m4: Separate suffixes of shared libraries that we link against and the ones we load with dlopen(). This matters on Mac OS X, for example. 2006-04-07 Andrei Zmievski * ext/pcre/TODO ext/pcre/php_pcre.c: Disallowed numeric named captures. 2006-04-07 Ilia Alshanetsky * (PHP_5_1) NEWS configure.in main/php_version.h: RC3 2006-04-07 Pierre-Alain Joye * ext/sockets/sockets.c: - MFB: revert leak fix, something else went wrong * (PHP_5_1) ext/sockets/sockets.c: - revert last commit, something else went wrong 2006-04-07 Dmitry Stogov * main/php_variables.c main/php_variables.c: Optimization * sapi/cgi/cgi_main.c sapi/cgi/cgi_main.c: CGI anf FastCGI assume $_SERVER and $_ENV have the same values, so we don't need construct the same arrays twich and may just copy it 2006-04-07 Pierre-Alain Joye * ext/sockets/sockets.c: - MFB: fix leak when an error occured in socket_read, free tmpbuf * (PHP_5_1) ext/sockets/sockets.c: - fix leak when an error occured in socket_read, free tmpbuf 2006-04-07 Dmitry Stogov * sapi/cgi/cgi_main.c sapi/cgi/cgi_main.c: Removed unnecessary copying * main/main.c main/main.c: We don't need setup the same time-out two times. * (PHP_5_1) ZendEngine2/zend_hash.c: MFH: - Allowed storing NULL pointers in HashTable - Optimized zend_hash_reverse_apply() * ZendEngine2/zend_hash.c: - Fixed storing NULL pointers in HashTable - Optimized zend_hash_reverse_apply() 2006-04-07 Ilia Alshanetsky * (PHP_5_1) ext/posix/CREDITS: Adjusted credits file so that it appears properly on phpinfo() 2006-04-06 Andrei Zmievski * ext/pcre/TODO: That is not the bug you're looking for. * ext/pcre/TODO: Even more stuff from Friedl. * (PHP_5_1) ext/pcre/TODO: I guess we only need this on HEAD. * ext/pcre/TODO: More stuff from Friedl.. * ZendEngine2/zend_arg_defs.c ZendEngine2/zend_modules.h ext/pcre/TODO ext/pcre/php_pcre.c: MFB * (PHP_5_1) NEWS: -** empty log message *** * (PHP_5_1) ZendEngine2/zend_arg_defs.c ZendEngine2/zend_modules.h ext/pcre/TODO ext/pcre/TODO ext/pcre/php_pcre.c: Fix a bug that would not fill in the fifth argument to preg_replace() properly, if the variable was not declared previously. 2006-04-06 Sara Golemon * ext/standard/uniqid.c: Plug leak which occurs in unicode mode * ext/standard/tests/file/stream_get_line.phpt ext/standard/tests/file/userfilters.phpt ext/standard/tests/file/userstreams.phpt ext/standard/tests/filters/basic.phpt: Silence false positives on test results * ext/standard/tests/file/004.phpt ext/standard/tests/file/bug27508.phpt ext/standard/tests/file/bug27619.phpt ext/standard/tests/file/bug35781.phpt: Silence false positives in test failures * main/streams/streams.c: Do runtime conversions (with an E_NOTICE) on writing unicode data to a binary stream. Take the WTF out of the equation 2006-04-06 Antony Dovgal * (PHP_5_1) NEWS: fix #36981 (SplFileObject->fgets() ignores max_length) 2006-04-06 Sara Golemon * ZendEngine2/zend_API.h: Overload 'duplicate' arg as applied to: add_((next_)?index|assoc)_(ascii|rt)_stringl?(_ex)? and (ZVAL|RETVAL|RETURN)_(ASCII|RT|U)_STRINGL? Duplicate keeps traditional value of '1', additional bit '2' tells unicode mode conversion to automatically free the original string in order to avoid leaks due to conversion on a value otherwise being "given" to the engine. /* Uses s as-is for non-unicode, or frees s after converting to unicode */ { char *s = estrdup("Hello"); ZVAL_RT_STRING(pzv, s, ZSTR_AUTOFREE); } /* Duplicates for non-unicode, or converts (but doesn't free original) */ { char *s = "Hello"; ZVAL_RT_STRING(pzv, s, ZSTR_DUPLICATE); } /* Uses as-is for non-unicode, or converts (but doesn't free original) */ { char *s = "Hello"; zval zv; ZVAL_RT_STRING(&zv, s, 0); /* use zv for some temporary purpose */ /* It's now necessary to manually free this generated value */ if (UG(unicode)) { zval_dtor(&zv); } } 2006-04-06 Ilia Alshanetsky * (PHP_5_1) NEWS ext/standard/file.c: Fixed safe_mode check for source argument of the copy() function. 2006-04-05 Antony Dovgal * (PHP_5_1) Makefile.global: MFH: workaround for problem on Solaris: shell tries to parse "for i in ;" and fails * Makefile.global: workaround for problem on Solaris: shell tries to parse "for i in ;" and fails * (PHP_5_1) NEWS: BFN * ext/oci8/config.w32 ext/oci8/config.w32: add missing defines to .w32 * ext/oci8/config.m4 ext/oci8/oci8_lob.c ext/oci8/php_oci8_int.h: fix #36934 (OCILob->read() doesn't move internal pointer when reading 0's) no support for Unicode CLOBs in Oracle < 10, sorry. * (PHP_5_1) ext/oci8/config.m4 ext/oci8/oci8_lob.c ext/oci8/php_oci8_int.h: fix #36934 (OCILob->read() doesn't move internal pointer when reading 0's) * ext/standard/tests/strings/bug36944.phpt: add test * ext/standard/tests/strings/bug36944.phpt ext/standard/tests/strings/bug36944.phpt: file bug36944.phpt was initially added on branch PHP_5_1. 2006-04-05 Georg Richter * (PHP_5_1) NEWS: fixed bigint conversion errors (windows) * (PHP_5_1) ext/mysqli/mysqli_api.c ext/mysqli/mysqli_prop.c ext/mysqli/php_mysqli.h: fixed bigint conversion on windows platforms 2006-04-05 Antony Dovgal * ZendEngine2/zend_builtin_functions.c: MF51: fix #36944 (strncmp & strncasecmp do not return false on negative string length) * (PHP_5_1) NEWS ZendEngine2/zend_builtin_functions.c: fix #36944 (strncmp & strncasecmp do not return false on negative string length) 2006-04-05 Ilia Alshanetsky * (PHP_5_1) NEWS ext/standard/var.c ext/standard/var.c: Fixed bug #36957 (serialize() does not handle recursion). 2006-04-04 Marcus Boerger * (PHP_5_1) NEWS: - MFH . Fixed bug #36941 (ArrayIterator does not clone itself) . Fixed SEGV when ArrayObject/Iterator use reference to self . Added tests 2006-04-04 Frank M. Kromann * ext/mssql/php_mssql.c ext/mssql/php_mssql.c: MFP51: Fix #33694 invalid sql or timeouts makes it impossible to reuse persistent connections * (PHP_5_1) ext/mssql/php_mssql.c: Fix #33694 invalid sql or timeouts makes it impossible to reuse persistent connections 2006-04-04 Seiji Masugata * ext/mbstring/mbstring.c: fixed commnet typo, and duplicate logic. 2006-04-04 Derick Rethans * ext/standard/php_type.h: - No need to have this one twice here... (Thanks Steph) 2006-04-03 Antony Dovgal * ext/gmp/tests/gmp_nextprime.phpt: add test for gmp_nextprime() * NEWS ext/gmp/gmp.c ext/gmp/php_gmp.h: add gmp_nextprime() function patch by ants dot aasma at gmail dot com 2006-04-03 Seiji Masugata * ext/mbstring/mbstring.c ext/mbstring/mbstring.h: added mb_stristr( ), mb_strrichr( ). 2006-04-03 Antony Dovgal * (PHP_5_1) ext/simplexml/simplexml.c: (as was agreed with Ilia) 2006-04-03 Ilia Alshanetsky * (PHP_4_4) ext/standard/basic_functions.c: MFH: Fixed an unlikely, but possible memory leak. * ext/standard/basic_functions.c: MFB51: Fixed an unlikely, but possible memory leak. * (PHP_5_1) ext/standard/basic_functions.c: Fixed an unlikely, but possible memory leak. 2006-04-03 Seiji Masugata * (PHP_4_4) ext/mbstring/mbstring.c ext/mbstring/mbstring.h: added mb_check_encoding( ). detect possible invalid encoding attack(avoids a security issue). 2006-04-03 Antony Dovgal * ext/ftp/ftp.c ext/ftp/ftp.c ext/mhash/mhash.c ext/mhash/mhash.c ext/standard/basic_functions.c ext/standard/basic_functions.c ext/standard/streamsfuncs.c ext/standard/streamsfuncs.c ext/standard/string.c ext/standard/string.c: fix spelling in error messages: greater/less thEn -> greater/less thAn 2006-04-03 Sara Golemon * ext/standard/tests/network/tcp4loop.phpt ext/standard/tests/network/tcp6loop.phpt ext/standard/tests/network/udgloop.phpt ext/standard/tests/network/udp4loop.phpt ext/standard/tests/network/udp6loop.phpt ext/standard/tests/network/unixloop.phpt: Update tests for working with unicode 2006-04-03 Georg Richter * (PHP_5_1) ext/mysqli/mysqli_prop.c: fixed stmt property container and required status for error properties 2006-04-02 Ilia Alshanetsky * (PHP_4_4) main/logos.h main/logos.h sapi/apache/mod_php4.c sapi/apache/mod_php5.c: MFH: Removed extra space in the Content-Type header for logos Simplified stderr error reporting in apache sapi. * main/logos.h sapi/apache/mod_php5.c: Removed extra space in the Content-Type header for logos Simplified stderr error reporting in apache sapi. 2006-04-02 Sara Golemon * ext/zlib/tests/gzfilegzreadfile.phpt ext/zlib/tests/gzreadgzwrite.phpt ext/zlib/tests/gzreadgzwriteplain.phpt ext/zlib/tests/zlib_filter_deflate.phpt ext/zlib/tests/zlib_filter_inflate.phpt: Silence false positive test failures * ext/bz2/tests/bz2_filter_compress.phpt ext/bz2/tests/bz2_filter_decompress.phpt ext/bz2/tests/with_files.phpt ext/bz2/tests/with_strings.phpt: Make some tests pass. compression is just a binary thing. Write unicode and suffer my wrath! 2006-04-02 Marcus Boerger * ext/dba/dba.c: - Fix warning 2006-04-02 Georg Richter * (PHP_5_1) ext/mysqli/mysqli.c: Added additional information for compiled header files. 2006-04-01 Sara Golemon * ext/standard/file.c: Update filename handling and mark various functions for unicode safety 2006-03-31 Sara Golemon * ZendEngine2/zend.c ZendEngine2/zend_globals.h ext/standard/file.c main/php_streams.h main/streams/streams.c: Add API hooks and unicode.filesystem_encoding for handling unicode conversions of filename entries. Normal path conversions will simply use this converter, Certain other protocols (such as http) which specify a required character set (utf8), may override the conversion by defining a path_encode() and/or path_decode() wrapper ops method. 2006-03-31 Antony Dovgal * ext/standard/info.c: MF51: fix compile failure with old GCC (see bug #36931) * (PHP_5_1) ext/standard/info.c: fix compile failure with old GCC (see bug #36931) 2006-03-30 Marcus Boerger * ext/wddx/wddx.c: - Fix build 2006-03-30 Antony Dovgal * ZendEngine2/zend.c ZendEngine2/zend.h: MF51: fix compilation on AIX * (PHP_5_1) ZendEngine2/zend.c ZendEngine2/zend.h: fix compilation on AIX * (PHP_5_1) ext/standard/user_filters.c: nuke compile warning * ext/mysqli/tests/014.phpt ext/mysqli/tests/015.phpt ext/mysqli/tests/045.phpt: MF51: fix tests * (PHP_5_1) ext/mysqli/tests/014.phpt ext/mysqli/tests/015.phpt ext/mysqli/tests/045.phpt: fix tests * ext/standard/info.c: fix TSRM build * (PHP_5_1) ext/standard/info.c: fix build: there is no TSRMLS_CC in this function 2006-03-30 Ilia Alshanetsky * (PHP_5_1) configure.in main/php_version.h: Back to dev * (PHP_5_1) NEWS configure.in main/php_version.h: Go with RC2 * ext/standard/info.c: MFB51: Fixed XSS inside phpinfo() with long inputs. * (PHP_5_1) NEWS ext/standard/info.c: Fixed XSS inside phpinfo() with long inputs. 2006-03-30 Seiji Masugata * ext/mbstring/mbstring.c ext/mbstring/mbstring.h: added mb_stripos( ), mb_strripos( ). 2006-03-30 Dmitry Stogov * README.UPDATING_TO_PHP6: typo 2006-03-30 Antony Dovgal * ext/mysqli/mysqli.c: MF51: fix #36922 (missing MYSQLI_REPORT_STRICT constant in userspace) * (PHP_5_1) ext/mysqli/mysqli.c: fix #36922 (missing MYSQLI_REPORT_STRICT constant in userspace) 2006-03-30 Dmitry Stogov * ZendEngine2/zend_objects.c: Unicode support * README.UPDATING_TO_PHP6: Describe registr_long_arrays, ze1_compatibility_mode, dl(), E_ALL/E_STRICT 2006-03-30 Sara Golemon * ext/standard/file.c main/php_streams.h main/streams/streams.c: Make php_stream_copy_to_mem() unicode aware and update userspace function file_get_contents(). Note: fgc()'s second parameter (use_include_path) has been changed to be a bitmask "flags" parameter instead. For the most commonly used values (TRUE, 1) this will continue functioning as expected since the value of FILE_USE_INCLUDE_PATH is (coincidentally) 1. The impact to other values should be noted in the migration6 guide. This change makes it possible to allow fgc() to return binary file contents (default) or unicode transcoded contents (using FILE_TEXT flag). 2006-03-29 Sara Golemon * ext/standard/file.c main/streams/streams.c: Update php_stream_passthru() to handle unicode data. This updates userspace functions fpassthru() and readfile() UG(output_encoding) is used by php_stream_passthru() to translate unicode stream contents back to an outputable character set. Note: readfile()'s second parameter (use_include_path) has been changed to be a bitmask "flags" parameter instead. For the most commonly used values (TRUE, 1) this will continue functioning as expected since the value of FILE_USE_INCLUDE_PATH is (coincidentally) 1. The impact to other values should be noted in the migration6 guide. This change makes it possible to allow readfile() to output binary file contents (default) or unicode transcoded contents (using FILE_TEXT flag). 2006-03-29 Antony Dovgal * ext/mysqli/mysqli.c ext/mysqli/mysqli.c: fix typo 2006-03-29 Seiji Masugata * ext/mbstring/mbstring.c ext/mbstring/mbstring.h: added mb_strrchr( ). 2006-03-29 Antony Dovgal * ZendEngine2/zend_objects.c ZendEngine2/zend_objects.h ext/com_dotnet/com_persist.c ext/dom/php_dom.c ext/mysqli/mysqli.c ext/simplexml/simplexml.c ext/sqlite/sqlite.c ext/xsl/php_xsl.c: MF51: fix bug #36898 (__set() leaks in classes extending internal ones) Added: ZEND_API void zend_object_std_init(zend_object *object, zend_class_entry *ce TSRMLS_DC) ZEND_API void zend_object_std_dtor(zend_object *object TSRMLS_DC) * (PHP_5_1) NEWS ZendEngine2/zend_objects.c ZendEngine2/zend_objects.h ext/com_dotnet/com_persist.c ext/dom/php_dom.c ext/mysqli/mysqli.c ext/simplexml/simplexml.c ext/sqlite/sqlite.c ext/xsl/php_xsl.c: fix bug #36898 (__set() leaks in classes extending internal ones) Added: ZEND_API void zend_object_std_init(zend_object *object, zend_class_entry *ce TSRMLS_DC) ZEND_API void zend_object_std_dtor(zend_object *object TSRMLS_DC) to initialize and destroy zend_object structs 2006-03-29 Andrei Zmievski * ext/standard/string.c: Bug! 2006-03-29 Sara Golemon * configure.in: Ooops, missed a file * ext/standard/basic_functions.c ext/standard/file.c ext/standard/streamsfuncs.c ext/standard/streamsfuncs.h main/main.c main/php_streams.h main/streams/filter.c main/streams/php_stream_filter_api.h main/streams/streams.c main/streams/unicode_filter.c: Another (and hopefully last) major streams commit. This moves unicode conversion to the filter layer (rather than at the lower streams layer) unicode_filter.c has been moved from ext/unicode to main/streams as it's an integral part of the streams unicode conversion process. There are now three ways to set encoding on a stream: (1) By context $ctx = stream_context_create(NULL,array('encoding'=>'latin1')); $fp = fopen('somefile', 'r+t', false, $ctx); (2) By stream_encoding() $fp = fopen('somefile', 'r+'); stream_encoding($fp, 'latin1'); (3) By filter $fp = fopen('somefile', 'r+'); stream_filter_append($fp, 'unicode.from.latin1', STREAM_FILTER_READ); stream_filter_append($fp, 'unicode.to.latin1', STREAM_FILTER_WRITE); Note: Methods 1 and 2 are convenience wrappers around method 3. 2006-03-29 Yasuo Ohgaki * ext/pgsql/pgsql.c: restore E_WARNING in correct place 2006-03-28 Antony Dovgal * ZendEngine2/zend_objects_API.c: initialize bucket #0 with nulls * (PHP_5_1) ZendEngine2/zend_objects_API.c: initialize bucket #0 with nulls (normally it shouldn't be used at all, but if it is - we don't want any memory issues, do we?) * ZendEngine2/zend_builtin_functions.c: MF51: fix #36897 (debug_print_backtrace() doesn't return void but array(0) {}) * (PHP_5_1) ZendEngine2/zend_builtin_functions.c: fix #36897 (debug_print_backtrace() doesn't return void but array(0) {}) 2006-03-28 Seiji Masugata * ext/mbstring/mbstring.c ext/mbstring/mbstring.h: added mb_strstr( ). 2006-03-28 Ilia Alshanetsky * (PHP_5_1) NEWS ext/standard/user_filters.c: Fixed bug #36886 (User filters can leak buckets in some situations). 2006-03-28 Antony Dovgal * (PHP_4_4) ext/standard/file.c: fix build and #36887 * ext/oci8/oci8_interface.c: MF51: fix #36851 (Documentation and code discrepancies for NULL data) * (PHP_5_1) NEWS ext/oci8/oci8_interface.c: fix #36851 (Documentation and code discrepancies for NULL data) 2006-03-28 Andrei Zmievski * ZendEngine2/zend_operators.c: Note 2006-03-28 Yasuo Ohgaki * (PHP_5_1) ext/pgsql/pgsql.c: reenable pg_execute E_WARNING 2006-03-27 Ilia Alshanetsky * (PHP_4_4) ext/standard/file.c: MFH: Check 2nd parameter of tempnam() against path components. * ext/standard/file.c: MFB51: Check 2nd parameter of tempnam() against path components. * (PHP_5_1) NEWS ext/standard/file.c: Check 2nd parameter of tempnam() against path components. 2006-03-27 Andrei Zmievski * ext/standard/string.c: Fix UErrorCode check. * ext/standard/var.c: Typo. 2006-03-27 Antony Dovgal * ZendEngine2/zend.c: MF51: fix #36878 (error messages are printed even though an exception has been thrown) * (PHP_5_1) NEWS ZendEngine2/zend.c: fix #36878 (error messages are printed even though an exception has been thrown) 2006-03-27 Andrei Zmievski * ext/standard/var.c: Make a UTODO note. * ext/standard/var.c: Proto updates. * unicode-todo.txt: -** empty log message *** * ZendEngine2/zend_unicode.c: Add UTODO. * ZendEngine2/zend_compile.c: Mark with UTODO instead of FIXME. 2006-03-27 Seiji Masugata * ext/mbstring/mbstring.c ext/mbstring/mbstring.h: added mb_list_mime_names( ). 2006-03-27 Dmitry Stogov * ext/standard/tests/strings/strtr3.phpt: Test for strtr() with non-ascii encoding * ZendEngine2/tests/bug30791.phpt ext/session/tests/003.phpt ext/session/tests/009.phpt ext/simplexml/tests/033.phpt tests/classes/bug26737.phpt: Fixed test * ext/standard/incomplete_class.c ext/standard/php_incomplete_class.h ext/standard/var.c ext/standard/var_unserializer.c ext/standard/var_unserializer.c ext/standard/var_unserializer.re ext/standard/var_unserializer.re ext/standard/tests/serialize/001.phpt ext/standard/tests/serialize/002.phpt ext/standard/tests/serialize/005.phpt ext/standard/tests/serialize/006.phpt ext/standard/tests/serialize/bug14293.phpt ext/standard/tests/serialize/bug21957.phpt ext/standard/tests/serialize/bug26762.phpt ext/standard/tests/serialize/bug27469.phpt ext/standard/tests/serialize/bug28325.phpt ext/standard/tests/serialize/bug31402.phpt: Unicode support * ext/standard/tests/strings/strtr.phpt: Fixed testFixed testFixed testFixed testFixed testFixed testFixed testFixed testFixed test * ZendEngine2/zend_compile.c: Fixed bug during function/class declaration in unicode mode * tests/classes/serialize_001.phpt: Fixed test file (test still fail) 2006-03-27 Antony Dovgal * main/output.c: MF51: fix #36869 (memory leak in output buffering when using chunked output) * (PHP_5_1) NEWS main/output.c: fix #36869 (memory leak in output buffering when using chunked output) 2006-03-27 Dmitry Stogov * ZendEngine2/zend_compile.c ZendEngine2/zend_compile.c: Fixed meory leak in case of unknown pragma * NEWS ZendEngine2/zend_unicode.c: Better but incomplete fix for bug #36840 * ZendEngine2/zend_exceptions.c ZendEngine2/zend_unicode.c ZendEngine2/zend_unicode.h ext/standard/string.c: Fixed ZTS build 2006-03-27 Andrei Zmievski * acinclude.m4 acinclude.m4: MFB * (PHP_5_1) acinclude.m4: On Mac OSX, our extensions are actually "bundles" and should not have .dylib extension. Read this: http://www.sm.luth.se/~alapaa/file_fetch/unixcdbookshelf/mac/ch05_03.htm * ZendEngine2/zend_exceptions.c: Fix a case where we could have an encoding conversion exception thrown while building exception trace args! * ZendEngine2/zend_exceptions.c: Use (unsigned char) to make sure that only the control chars are replaced with '?'; * ZendEngine2/zend_unicode.c: Skip BOM for UTF-16/32 converters when setting subst char. 2006-03-27 Yasuo Ohgaki * ext/pgsql/pgsql.c ext/pgsql/pgsql.c: remove pg_execute() E_WARNING error when query plan is not defined 2006-03-27 Andrei Zmievski * ZendEngine2/zend_API.c: Some functions may want to accept only Unicode or binary strings, without having auto-conversion from the other string type. Add 'U' and 'S' specifiers for this. Also, remove traces of 'native' strings. 2006-03-26 Andrei Zmievski * unicode-todo.txt unicode-todo.txt: -** empty log message *** 2006-03-26 Andrey Hristov * (PHP_5_1) ext/mysqli/mysqli_api.c: kill the left unused variable * (PHP_5_1) ext/mysqli/mysqli_api.c: remove unnecessary memcpy, cast directly 2006-03-26 Ilia Alshanetsky * (PHP_4_4) NEWS ext/standard/http_fopen_wrapper.c: MFH: Fixed bug #36857 (Added support for partial content fetching to the HTTP streams wrapper). * ext/standard/http_fopen_wrapper.c: MFB51: Fixed bug #36857 (Added support for partial content fetching to the HTTP streams wrapper). * (PHP_5_1) NEWS ext/standard/http_fopen_wrapper.c: Fixed bug #36857 (Added support for partial content fetching to the HTTP streams wrapper). 2006-03-26 Derick Rethans * ext/standard/array.c ext/standard/php_array.h: - Implemented basic collation support. For some reason "new Collator" gives segfaults when the object's collation resource is used. - The following example shows what is implemented: sort($strings) as $string) { echo $string, "\n"; } echo $c->getAttribute(Collator::FRENCH_COLLATION) == Collator::ON ? "With" : "Without", " french accent sorting order\n"; echo "\nFrench with options:\n"; $c = collator_create( "fr" ); $c->setAttribute(Collator::CASE_FIRST, Collator::UPPER_FIRST); $c->setAttribute(Collator::CASE_LEVEL, Collator::ON); $c->setStrength(Collator::SECONDARY); foreach($c->sort($strings) as $string) { echo $string, "\n"; } echo $c->getAttribute(Collator::FRENCH_COLLATION) == Collator::ON ? "With" : "Without", " french accent sorting order\n"; ?> 2006-03-26 Andrei Zmievski * ZendEngine2/zend.c ZendEngine2/zend_globals.h ZendEngine2/zend_operators.c ZendEngine2/zend_unicode.c ZendEngine2/zend_unicode.h main/main.c main/streams/filter.c main/streams/streams.c: Implement to-Unicode conversion error behavior. Note the adjusted APIs. 2006-03-26 Sara Golemon * NEWS ext/standard/streamsfuncs.c: Expand stream_context_create() to allow specifying params as well as options. Ignore the internal name change of the first arg. The first arg is still for options, the second arg is for actual params. 2006-03-26 Seiji Masugata * ext/mbstring/mbstring.c ext/mbstring/mbstring.c: fixed compiler warning. 2006-03-26 Derick Rethans * ext/standard/string.c ext/standard/tests/strings/strtotitle.phpt ext/standard/tests/strings/strtr2.phpt: - Commit intermediate work so that I can hack on it on some plane. 2006-03-26 Andrei Zmievski * ZendEngine2/zend.c ZendEngine2/zend_constants.c ZendEngine2/zend_globals.h ZendEngine2/zend_unicode.c ZendEngine2/zend_unicode.h main/main.c main/streams/filter.c main/streams/streams.c: - Remove unicode.from_error_mode and unicode.from_subst_char from INI settings. * Add unicode_set_error_mode() and unicode_set_subst_char() functions to manipulate these global settings. 2006-03-26 Antony Dovgal * ext/dom/php_dom.c: MF51: fix #36859 (DOMElement crashes when calling __construct when clone'ing) * (PHP_5_1) NEWS ext/dom/php_dom.c: fix #36859 (DOMElement crashes when calling __construct when clone'ing) 2006-03-25 Sara Golemon * main/streams/streams.c: Handle converter instantiation errors properly 2006-03-24 Sara Golemon * ext/standard/streamsfuncs.c: Allow bidirectional encoding option via single context param * ext/standard/streamsfuncs.c: Fix stream_get_line(): Checking type isn't nearly as important as checking nullness... * ext/standard/file.c: Update fgetss() for unicode 2006-03-24 Andrei Zmievski * main/streams/filter.c: This is probably not a test.. 2006-03-24 Sara Golemon * main/streams/filter.c main/streams/streams.c: Hook into new unicode conversion error handling API * ext/standard/streamsfuncs.c main/php_streams.h main/streams/streams.c: Add php_stream_get_record_unicde() API call. Update stream_get_line() userspace function to handle unicode streams. 2006-03-24 Andrei Zmievski * ZendEngine2/zend_unicode.c: Hey! Don't remove vim modeline completely! :) 2006-03-24 Georg Richter * ext/mysqli/tests/bug36745.phpt ext/mysqli/tests/bug36745.phpt: file bug36745.phpt was initially added on branch PHP_5_1. * (PHP_5_1) NEWS ext/mysqli/mysqli.c: fix and testcase for bug #36745 2006-03-24 Antony Dovgal * (PHP_5_1) ext/simplexml/tests/032.phpt ext/simplexml/tests/033.phpt: add new tests * ext/simplexml/tests/032.phpt ext/simplexml/tests/032.phpt ext/simplexml/tests/033.phpt ext/simplexml/tests/033.phpt: add new tests 2006-03-24 Georg Richter * (PHP_5_1) ext/mysqli/tests/017.phpt ext/mysqli/tests/049.phpt ext/mysqli/tests/bug34810.phpt: fixed minor problems (thx to tony) 2006-03-24 Antony Dovgal * ZendEngine2/zend_unicode.c: whitespaces -> tabs no other changes done 2006-03-24 Dmitry Stogov * NEWS ZendEngine2/zend_unicode.c: Fixed bug #36840 (Memory leak if cast operator throws an exception that is caught) 2006-03-24 Georg Richter * (PHP_5_1) ext/mysqli/mysqli.c ext/mysqli/mysqli_api.c ext/mysqli/mysqli_driver.c ext/mysqli/mysqli_nonapi.c ext/mysqli/mysqli_prop.c ext/mysqli/mysqli_repl.c ext/mysqli/mysqli_warning.c ext/mysqli/php_mysqli.h ext/mysqli/tests/002.phpt ext/mysqli/tests/014.phpt ext/mysqli/tests/bug34810.phpt ext/mysqli/tests/bug36802.phpt ext/mysqli/tests/bug36802.phpt ext/mysqli/tests/connect.inc: Fix for bug #36802 (server crashes with invalid/not opened connections) Added status to mysqli_resource: MYSQLI_STATUS_UNKNOWN MYSQLI_STATUS_CLEARED (for future use) MYSQLI_STATUS_INITIALIZED (after mysqli_init and mysqli_stmt_init) MYSQLI_STATUS_VALID (for valid objects) removed valid flag changed MYSQLI_FETCH_RESOURCE added last parameter __check which specifies the status 2006-03-24 Dmitry Stogov * (PHP_5_1) NEWS: Fixed SoapFault::getMessage() 2006-03-24 Andrei Zmievski * ZendEngine2/zend_default_classes.c ZendEngine2/zend_operators.c ZendEngine2/zend_unicode.c ZendEngine2/zend_unicode.h: Support warning/exceptions flag for conversion errors. * main/SAPI.c: UTODO note 2006-03-24 Sara Golemon * main/streams/streams.c: Add some error checking when stream converters are instantiated. Use the global conversion error handlers for output conversion (for now) We may want to make this customizable on a per-stream basis via context param later on... 2006-03-23 Andrei Zmievski * ZendEngine2/zend.c ZendEngine2/zend_constants.c ZendEngine2/zend_globals.h ZendEngine2/zend_unicode.c ZendEngine2/zend_unicode.h: Update conversion error behavior and add some new modes. * ZendEngine2/zend_language_parser.y ZendEngine2/zend_language_scanner.l: Add (binary) cast operator. * ZendEngine2/zend_operators.c: Allow conversion between binary/Unicode strings (based on runtime_encoding setting). 2006-03-23 Seiji Masugata * ext/mbstring/mbstring.c ext/mbstring/mbstring.h: added mb_list_encodings_alias_names( ). 2006-03-23 Ilia Alshanetsky * ext/standard/credits.c ext/standard/credits_ext.h: MFB51: Added myself to PDO and PDO_MySQL credits Added Wez to PDO_MySQL credits Added Tony to Q&A team credits Regenerated the credits file * (PHP_5_1) ext/standard/credits.c ext/standard/credits_ext.h: Added myself to PDO and PDO_MySQL credits Added Wez to PDO_MySQL credits Added Tony to Q&A team credits Regenerated the credits file 2006-03-23 Marcus Boerger * (PHP_5_1) ZendEngine2/zend_API.c: - Initialized callable_name if present * ZendEngine2/zend_API.c: - Initialize callable_name if requested 2006-03-23 Dmitry Stogov * sapi/cgi/cgi_main.c: MTH: Allowed '-b' with UNIX sockets * (PHP_5_1) sapi/cgi/cgi_main.c: Cleanup * (PHP_5_1) sapi/cgi/cgi_main.c: Allowed '-b' with UNIX sockets: -b : -b -b 2006-03-23 Marcus Boerger * (PHP_4_4) ext/standard/Makefile.frag: - Provide complete rule (to have relative #line info)wq 2006-03-23 Antony Dovgal * ZendEngine2/zend_compile.c ZendEngine2/zend_compile.h: implement correct fix for segfault on 64bit platform 2006-03-23 Seiji Masugata * (PHP_4_4) ext/mbstring/mbstring.c ext/mbstring/mbstring.h: revert.(See http://news.php.net/php.cvs/37387) 2006-03-22 Antony Dovgal * ext/standard/array.c: MF51: prevent segfault when exception is thrown from Countable::count() * (PHP_5_1) ext/standard/array.c: prevent segfault when exception is thrown from Countable::count() * (PHP_5_1) NEWS: fix #36825 (Exceptions thrown in ArrayObject::offsetGet cause segfault) fix similar issue in offsetExists() remove redundant semicolons * ext/exif/tests/exif006.phpt: no magic_quotes anymore * ZendEngine2/zend_compile.c: don't segfault on 64bit platforms * (PHP_5_1) ext/standard/tests/math/bug21523.phpt: MFH: use set_time_limit(), this test takes forever on AIX * ext/standard/tests/math/bug21523.phpt: use set_time_limit(), this test takes forever on AIX 2006-03-22 Ilia Alshanetsky * ext/pgsql/pgsql.c: Simplify and optimize code. 2006-03-22 Derick Rethans * ext/standard/basic_functions.c ext/standard/php_string.h ext/standard/string.c: - Moved strtotitle to ext/standard and implemented the fallback case to non-unicode with ucwords. There is also an implementation for unicode ucwords but that returns different results then strtotitle as it uppercases the first character of every word, and doesn't *titlecase* a word. The test case shows that. 2006-03-22 Antony Dovgal * ext/oci8/oci8.c: MF51: fix #36820 (Privileged connection with an Oracle password file fails) * (PHP_5_1) NEWS ext/oci8/oci8.c: fix #36820 (Privileged connection with an Oracle password file fails) 2006-03-22 Stefan Esser * README.UPDATING_TO_PHP6: Fix the bullshit register_globals emulation 1) S is not _SESSION but _SERVER 2) EXTR_OVERWRITE is evil 2006-03-21 Sara Golemon * main/streams/streams.c: Allow grow_mode && !bufstart (original assertion logic) 2006-03-21 Marcus Boerger * (PHP_5_1) Makefile.gcov: MFH: - Drop --no-prefix as disables --prefix which we do for http://gcov.php.net * Makefile.gcov: - Drop --no-prefix as disables --prefix which we do for http://gcov.php.net 2006-03-21 Antony Dovgal * ext/oci8/oci8_interface.c ext/oci8/oci8_interface.c: change oci_field_type() to return VARCHAR2 instead of VARCHAR (fixes feature request #36800) 2006-03-21 Ilia Alshanetsky * ext/mysqli/mysqli_nonapi.c: MFB51: Fixed bug #36802 (mysqli_set_charset() crash with a non-open connection). * (PHP_5_1) NEWS ext/mysqli/mysqli_nonapi.c: Fixed bug #36802 (mysqli_set_charset() crash with a non-open connection). 2006-03-21 Antony Dovgal * ext/oci8/oci8_lob.c ext/oci8/oci8_lob.c: reimplement php_oci_lob_read() and fix PECL bug #5995 now the function dosn't try to read data by blocks, as this is nearly impossible to do with Unicode and regular LOBs in the same time * main/main.c: fix spelling 2006-03-21 Dmitry Stogov * (PHP_5_1) NEWS: Fixed bug #36721 (The SoapServer is not able to send a header that it didn't receive) * (PHP_5_1) NEWS main/main.c main/main.c: Fixed bug #36809 (__FILE__ behavior changed) 2006-03-21 Rui Hirokawa * ext/mbstring/mbstring.c ext/mbstring/mbstring.h: added mb_check_encoding() to detect possible invalid encoding attack. 2006-03-21 Dmitry Stogov * (PHP_5_1) NEWS: Fixed bug #36749 (SOAP: 'Error Fetching http body' when using HTTP Proxy) 2006-03-21 Rui Hirokawa * ext/mbstring/mbstring.c: changed a option name based on PHP naming convension. * ext/mbstring/mbstring.c ext/mbstring/mbstring.h: MF PHP_5_1 * (PHP_5_1) ext/mbstring/mbstring.c: -** empty log message *** * (PHP_5_1) ext/mbstring/mbstring.c ext/mbstring/mbstring.h: 2006-03-21 Ilia Alshanetsky * ext/standard/syslog.c: MFB51: Fixed bug #36689 (Removed arbitrary limit on the length of syslog messages). * (PHP_5_1) NEWS ext/standard/syslog.c: Fixed bug #36689 (Removed arbitrary limit on the length of syslog messages). 2006-03-20 Antony Dovgal * ext/standard/basic_functions.c ext/standard/basic_functions.c: shutdown syslog module before freeing basic_globals * ext/standard/basic_functions.c ext/standard/php_ext_syslog.h ext/standard/syslog.c: MF51: fix #36808 (syslog ident becomes garbage between requests) * (PHP_5_1) ext/standard/basic_functions.c: .. and add missing #ifdef * (PHP_5_1) ext/standard/basic_functions.c: fix wrong mshutdown func params * (PHP_5_1) NEWS ext/standard/basic_functions.c ext/standard/php_ext_syslog.h ext/standard/syslog.c: fix #36808 (syslog ident becomes garbage between requests) * (PHP_5_1) ext/standard/tests/file/userstreams.phpt: MFH: fix #36741 (userstreams testcase have off-by-one error on fseek()) * ext/standard/tests/file/userstreams.phpt: fix #36741 (userstreams testcase have off-by-one error on fseek()) * ext/standard/filters.c: don't leak memory even though the code is not stable yet 2006-03-20 Dmitry Stogov * ZendEngine2/zend_compile.c ZendEngine2/zend_compile.c: Removed unreachable code 2006-03-20 Antony Dovgal * ext/standard/ftp_fopen_wrapper.c: fix buffer overrun 2006-03-20 Dmitry Stogov * main/php_variables.c tests/basic/011.phpt: Fixed register_argc_argv behavior. Now it behave in the same way as before in combinations with variables_order and auto_globals_jit. $argc and $argv global variables are registered only in CLI mode and under $_SERVER[] in other case. (This is done because register_globals was removed and assumed - off). * (PHP_5_1) main/php_variables.c: Fixed register_argc_argv behavior. Now it behave in the same way as before in all combinations with register_globals, register_long_arrays, variables_order and auto_globals_jit. 2006-03-19 Antony Dovgal * main/network.c: MFB: first check stream for NULL, then dereference * (PHP_5_1) main/network.c: first check stream for NULL, then dereference * ext/standard/array.c: make the code a bit cleaner - no need for two different checks that are doing effectively the same 2006-03-19 Michael Wallner * (PHP_5_1) NEWS: - add comitters name * (PHP_5_1) NEWS: - Fixed Apache2 SAPIs header handler modifying header strings. * sapi/apache2filter/sapi_apache2.c sapi/apache2handler/sapi_apache2.c: MFB: fix php_apache_sapi_header_handler() modifying sapi_header * (PHP_5_1) sapi/apache2filter/sapi_apache2.c sapi/apache2handler/sapi_apache2.c: - fix php_apache_sapi_header_handler() modifying sapi_header 2006-03-19 Pierre-Alain Joye * NEWS: - typos 2006-03-18 Antony Dovgal * ext/oci8/oci8_statement.c: MFB: Added support for BINARY_DOUBLE and BINARY_FLOAT to PDO_OCI and OCI8 (also fixes bug #36764) * (PHP_5_1) NEWS ext/oci8/oci8_statement.c: Added support for BINARY_DOUBLE and BINARY_FLOAT to PDO_OCI and OCI8 (also fixes bug #36764) 2006-03-18 Marcus Boerger * (PHP_5_1) main/streams/memory.c: - MFH Fix seek/eof issue in temp streams * main/streams/memory.c: - Fix seek/eof issue in temp streams * main/streams/streams.c: - Fix issue in _php_stream_get_line(): Allow maxchars == 0 as macro php_stream_get_line() does 2006-03-18 Rob Richards * (PHP_4_4) NEWS: fix news (re-order) * ext/dom/php_dom.c ext/dom/tests/bug36756.phpt: MFB51: Fixed bug #36756 (DOMDocument::removeChild corrupts node) add test * (PHP_5_1) ext/dom/php_dom.c ext/dom/tests/bug36756.phpt ext/dom/tests/bug36756.phpt: Fixed bug #36756 (DOMDocument::removeChild corrupts node) add test * (PHP_4_4) NEWS NEWS: BFN * (PHP_4_4) ext/domxml/php_domxml.c: Fixed bug #36776 (node_list_wrapper_dtor segfault) - no optimizations. this extension is VERY touchy 2006-03-18 Seiji Masugata * (PHP_4_4) ext/mbstring/mbstring.c: fixed doesn't return value when omitting arguments in mb_get_info( ). 2006-03-17 Marcus Boerger * ext/standard/string.c: - Fix TSRM 2006-03-17 Andrei Zmievski * ext/standard/type.c: Make is_string() return TRUE for both Unicode and binary strings. * ext/standard/file.c ext/standard/image.c main/streams/streams.c sapi/cli/php_cli.c: Fix compiler errors by using NULL_ZSTR where zstr is expected. * ext/standard/string.c: Calculate the size of the tmp[] buffer directly at compile time. 2006-03-17 Antony Dovgal * (PHP_5_1) NEWS: fix #36727 (segfault in pdo_pgsql bindValue() when no parameters are defined) 2006-03-17 Dmitry Stogov * main/php_variables.c tests/basic/011.phpt tests/basic/bug29971.phpt: Fixed register_argc_argv 2006-03-17 Derick Rethans * ext/standard/basic_functions.c ext/standard/php_type.h: - Actually make this is_binary() too. * ext/standard/string.c ext/standard/type.c ext/standard/tests/strings/strtr2.phpt ext/standard/tests/strings/ucfirst.phpt: - Fixed bug in ucfirst() implementation. If the tmp_len = 0 then it will not write the uppercased character to the buffer, but only returns the length of the uppercased letter as per http://icu.sourceforge.net/apiref/icu4c/ustring_8h.html#a50. - Updated is_string(): If Unicode semantics is turned on, return "true" for Unicode strings only. If Unicode semantics is turned off, return "true" for native strings only. - Added is_binary() function that returns "true" for native strings only. - Added first implementation of upgraded strtr function. It works except if combining sequences or surrogates are used in the non-array method of calling this function. 2006-03-17 Dmitry Stogov * main/SAPI.h main/main.c main/php_main.h sapi/cgi/cgi_main.c sapi/cli/php_cli.c sapi/embed/php_embed.c: Unicode support for dl() patch. * main/fopen_wrappers.c main/fopen_wrappers.c: Eliminated unnecessary getcwd() syscall 2006-03-17 Antony Dovgal * (PHP_5_1) NEWS: fix #36743 (In a class extending XMLReader array properties are not writable) 2006-03-17 Dmitry Stogov * sapi/cgi/cgi_main.c sapi/cgi/cgi_main.c: Optimized FastCGI SAPI check. Check for ini options only once. * (PHP_5_1) NEWS main/php_variables.c main/php_variables.c: Allowed 'auto_globals_jit' work together with 'register_argc_argv' * ZendEngine2/zend_execute_API.c: FIX: For some reason SIGSEGV handler wasn't set, but was restoring. Now all SIGS EGV related code is commented. * (PHP_5_1) ZendEngine2/zend_execute_API.c: FIX: For some reason SIGSEGV handler wasn't set, but was restoring. Now all SIGSEGV related code is commented. * ZendEngine2/zend.c ZendEngine2/zend.c ZendEngine2/zend_API.c ZendEngine2/zend_API.c: Optimization of module unloading (temporary modules can be only in the end) 2006-03-16 Dmitry Stogov * NEWS ext/standard/basic_functions.c ext/standard/dl.c ext/standard/dl.h main/main.c main/php_globals.h main/php_main.h sapi/cgi/cgi_main.c sapi/cli/php_cli.c sapi/embed/php_embed.c: Disabled dl(). Now it is enabled only when a SAPI layer registers it explicitly. Only CLI, CGI and EMBED do this. * ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h: typo * ZendEngine2/zend_compile.c: ws * NEWS ZendEngine2/zend_compile.c ZendEngine2/zend_compile.h ZendEngine2/zend_language_parser.y ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h: Return "new" by reference now throws an E_STRICT error 2006-03-16 Seiji Masugata * ext/mbstring/mbstring.c: added option parameter mb_list_encodings( ). 2006-03-16 Edin Kadribasic * ext/pgsql/pgsql.c ext/pgsql/php_pgsql.h: Added pg_field_table() as per req: #36750 2006-03-16 Dmitry Stogov * NEWS ZendEngine2/zend_errors.h ZendEngine2/tests/bug33771.phpt ZendEngine2/tests/error_reporting01.phpt ZendEngine2/tests/error_reporting05.phpt ZendEngine2/tests/error_reporting06.phpt ZendEngine2/tests/error_reporting07.phpt ZendEngine2/tests/error_reporting10.phpt: Added E_STRICT to E_ALL 2006-03-16 Antony Dovgal * NEWS: rephrase 2006-03-16 Dmitry Stogov * NEWS ZendEngine2/zend.c ZendEngine2/zend_compile.c ZendEngine2/zend_globals.h ext/standard/tests/array/bug33940.phpt main/main.c main/php_globals.h: Dropped allow_call_time_pass_reference, the error is maden E_STRICT. * NEWS ZendEngine2/zend.c ZendEngine2/zend_API.c ZendEngine2/zend_execute.c ZendEngine2/zend_execute.h ZendEngine2/zend_execute_API.c ZendEngine2/zend_globals.h ZendEngine2/zend_objects.c ZendEngine2/zend_operators.c ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h ZendEngine2/tests/bug30332.phpt ZendEngine2/tests/bug31828.phpt ZendEngine2/tests/bug32080.phpt ZendEngine2/tests/bug32852.phpt ZendEngine2/tests/bug33243.phpt ZendEngine2/tests/bug34712.phpt ZendEngine2/tests/bug34767.phpt ext/dom/php_dom.c ext/simplexml/simplexml.c main/main.c tests/lang/bug22367.phpt: Dropped zend.ze1_compatibility_mode * NEWS ZendEngine2/tests/unset_cv05.phpt ext/pcre/tests/bug33200.phpt ext/session/session.c ext/session/tests/007.phpt ext/session/tests/008-php4.2.3.phpt ext/session/tests/008.phpt ext/session/tests/009.phpt ext/session/tests/016.phpt main/main.c main/php_globals.h main/php_variables.c: Dropped register_long_arrays, added E_CORE for all dropped setting 2006-03-16 Antony Dovgal * (RELEASE_1_2_0) ext/oci8/package.xml: prepare to the 1.2 release 2006-03-16 Marcus Boerger * main/streams/streams.c: - Fix warning 2006-03-15 Sara Golemon * main/streams/streams.c: Fix improper byte count on partial reads 2006-03-15 Dmitry Stogov * (PHP_5_1) NEWS: Fixed Bug #36614 (Segfault when using Soap) * (PHP_5_1) ZendEngine2/zend_constants.c: Fix: incorrect string length passed * ZendEngine2/zend_strtod.c: Fixed zend_u_strtod() that returned uninitialized value in case of empty string 2006-03-15 Derick Rethans * ext/standard/string.c: - Fixed two memory issues: - In the first one we were calculating the tmp_len wrong which made the u_strFromUTF32() function try to convert too many code points. - The second issue was a bit more subtle as the "what" string wasn't duplicated but still modified. This string is passed as data to the function and this kind of data the engine tries to free when the function ends. Because we were re-allocating the data the original memory location was already freed resulting in a double free error when the engine tries to free the argument as it was passed to the function. 2006-03-15 Dmitry Stogov * ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h: Added E_STRICT warning in case of calling non-static method from incompatible context (this feature is staying for BC with php-4) * (PHP_5_1) ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h: Added E_STRICT warning in case of calling non-static method from incompatible context (this feature is staying for BC with php-4). 2006-03-15 Derick Rethans * ext/standard/var.c: - Reduce space in serialization. The first 128 bytes will now use just the character and everything above will use \uXXXX. It seems that unserialize doesn't work at all yet on the U: element so that I added to my to-do list. 2006-03-15 Dmitry Stogov * (PHP_5_1) NEWS ZendEngine2/zend_compile.c ZendEngine2/zend_compile.c ZendEngine2/zend_constants.c ZendEngine2/zend_constants.c ZendEngine2/zend_constants.h ZendEngine2/zend_constants.h: Eliminated run-time constant fetching for TRUE, FALSE and NULL * ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h ZendEngine2/zend_vm_execute.h ZendEngine2/zend_vm_gen.php ZendEngine2/zend_vm_gen.php: Fixed "zend_vm_gen.php --without-specializer" 2006-03-15 Sara Golemon * ext/standard/file.c main/streams/streams.c: Switch (zstr) casts to use ZSTR() macro. 2006-03-14 Sara Golemon * ext/standard/file.c main/php_streams.h main/streams/streams.c: More stream updates. fgets() will work now as will anything which calls one of the _php_stream_get_line() family of functions. The one exception here is when the legacy defines are used on a unicode stream. At the moment they'll simply return NULL, I'll update these to do sloppy conversion in a bit. 'make (u)test' still doesn't work, but it's a different doesn't work. 2006-03-14 Pierre-Alain Joye * README.UPDATING_TO_PHP6: - initial commit, feel free to change/adapt 2006-03-14 Georg Richter * (PHP_5_1) ext/mysqli/mysqli_api.c: fixed a 64-bit problem reported by Pierre 2006-03-14 Dmitry Stogov * (PHP_5_1) NEWS TSRM/TSRM.c TSRM/TSRM.c TSRM/TSRM.h TSRM/TSRM.h main/main.c main/main.c: Fixed bug #35988 (Unknown persistent list entry type in module shutdown) 2006-03-14 Antony Dovgal * ext/standard/string.c: add brackets and clarity 2006-03-14 Ilia Alshanetsky * ext/standard/string.c: MFB51: Fixed offset/length parameter validation in substr_compare() function. * (PHP_5_1) NEWS ext/standard/string.c: Fixed offset/length parameter validation in substr_compare() function. 2006-03-14 Dmitry Stogov * (PHP_5_1) NEWS ZendEngine2/zend.h ZendEngine2/zend.h ZendEngine2/zend_config.w32.h ZendEngine2/zend_config.w32.h ZendEngine2/tests/bug36568.phpt ZendEngine2/tests/bug36568.phpt ZendEngine2/tests/bug36568.phpt: Fixed bug #36568 (memory_limit setting on win32 has no effect) * ZendEngine2/zend_constants.c ZendEngine2/zend_constants.c ZendEngine2/zend_execute_API.c ZendEngine2/zend_execute_API.c ZendEngine2/zend_opcode.c ZendEngine2/zend_opcode.c: zend_hash_apply() doesn't use ZEND_HASH_APPLY_... macros * ZendEngine2/zend_compile.c ZendEngine2/zend_language_scanner.l ZendEngine2/tests/jump01.phpt ZendEngine2/tests/jump02.phpt ZendEngine2/tests/jump03.phpt ZendEngine2/tests/jump04.phpt ZendEngine2/tests/jump05.phpt ZendEngine2/tests/jump06.phpt ZendEngine2/tests/jump07.phpt ZendEngine2/tests/jump08.phpt ZendEngine2/tests/jump09.phpt ZendEngine2/tests/jump10.phpt: "jump" -> "goto" 2006-03-14 Pierre-Alain Joye * ext/gd/libgd/gd_gif_out.c ext/gd/tests/bug36697.phpt: - MFB: #36697, truecolor image lost im->transparent 2006-03-13 Marcus Boerger * (PHP_5_1) ext/pgsql/pgsql.c ext/pgsql/tests/80_bug36625.phpt: - bug #36625 fix * (PHP_5_1) ext/pgsql/tests/.cvsignore: - Add missing file extension * .gdbinit: - Cleanup 2006-03-13 Pierre-Alain Joye * (PHP_5_1) NEWS ext/gd/libgd/gd_gif_out.c ext/gd/tests/bug36697.phpt ext/gd/tests/bug36697.phpt: - #36697, Transparency is lost when using imagecreatetruecolor 2006-03-13 Sara Golemon * main/streams/streams.c: Make php_stream_write_buffer() return characters written, not bytes 2006-03-13 Seiji Masugata * ext/mbstring/mb_gpc.c: fixed compiler warning. 2006-03-13 Derick Rethans * ext/standard/file.c main/streams/streams.c: This makes file_put_contents() work for: "latin1" ) ); file_put_contents( "/tmp/testuc.3", $a, FILE_TEXT, $context); file_put_contents( "/tmp/testuc.4", (string) $a, FILE_TEXT, $context); ?> But it still throws a warning on ".3". It's a small design issue that I didn't want to touch right now. 2006-03-13 Ilia Alshanetsky * (PHP_4_4) NEWS ext/standard/string.c: MFH: Added overflow checks to wordwrap() function. * ext/standard/string.c: MFB51: Added overflow checks to wordwrap() function. * (PHP_5_1) NEWS ext/standard/string.c: Added overflow checks to wordwrap() function. 2006-03-13 Dmitry Stogov * ZendEngine2/zend_compile.h ZendEngine2/zend_compile.h ZendEngine2/zend_constants.c ZendEngine2/zend_constants.c ZendEngine2/zend_execute_API.c ZendEngine2/zend_execute_API.c ZendEngine2/zend_opcode.c ZendEngine2/zend_opcode.c: Optimized cleanup loops on request shutdown * main/main.c main/main.c: Fixed realpath() cache for main script with FastCGI SAPI 2006-03-13 Sara Golemon * ext/bz2/bz2_filter.c ext/standard/file.c ext/standard/filters.c ext/standard/streamsfuncs.c ext/standard/user_filters.c ext/zlib/zlib_filter.c main/php_streams.h main/streams/cast.c main/streams/filter.c main/streams/php_stream_filter_api.h main/streams/streams.c: Refactor streams layer for PHP6. Don't be frightened by the size of this commit. A significant portion of it is restoring the read buffer semantics back to what PHP4/5 use. (Or a close aproximation thereof). See main/streams/streams.c and ext/standard/file.c for a set of UTODO comments covering work yet to be done. 2006-03-13 Marcus Boerger * (PHP_5_1) NEWS: - Fix news 2006-03-12 Ilia Alshanetsky * (PHP_5_1) NEWS: var news * ZendEngine2/zend_language_parser.y: MFB51: As per agreement during PDM, remove the E_STRICT deprecation notice from "var". * (PHP_5_1) ZendEngine2/zend_language_parser.y: As per agreement during PDM, remove the E_STRICT deprecation notice from "var". 2006-03-12 Rui Hirokawa * ext/mbstring/mbstring.c: fixed a possible null injection caused by missuse of mbstring.substitute_character. 2006-03-11 Marcus Boerger * (PHP_5_1) run-tests.php: - MFH Fix writing faillog with redirected tests * run-tests.php: - Fix writing faillog with redirected tests * (PHP_5_1) run-tests.php: - MFH Fix test results with redirected tests * run-tests.php: - Fix test results with redirected tests * run-tests.php: - Load list of extensions to test from php that is being tested rather than from php running the tests - When executing both unicode and native modes then show the type of test in the reult list (PASS:U, PASS:N, etc) * (PHP_5_1) run-tests.php: - Load list of extensions to test from php that is being tested rather than from php running the tests 2006-03-11 Georg Richter * (PHP_5_1) ext/mysqli/mysqli_api.c: fix for MySQL 5.1 (see http://bugs.mysql.com/?id=16144) 2006-03-10 Marcus Boerger * (PHP_5_1) NEWS: - Fix 2006-03-10 Brian France * (PHP_5_1) main/main.c: MFH: for the primary file only lookup the real file path and add it to the included_files list if already opened otherwise it will get opened and added to the included_files list in zend_execute_scripts * main/main.c: for the primary file only lookup the real file path and add it to the included_files list if already opened otherwise it will get opened and added to the included_files list in zend_execute_scripts 2006-03-10 Pierre-Alain Joye * ext/gd/gd.c: - MFB: #36686, do not be quiet with the extern GD * (PHP_5_1) ext/gd/gd.c: - #36686, do not be quiet with the extern GD 2006-03-10 Seiji Masugata * ext/mbstring/mbstring.c ext/mbstring/mbstring.c ext/mbstring/mbstring.c: fixed different value was returned in mb_get_info. 2006-03-10 Dmitry Stogov * ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h: Fixed compilation error (Rob) * ZendEngine2/zend_API.h: Added RETVAL_EMPTRY_TEXT() and RETURN_EMPTY_TEXT() macroses * (PHP_5_1) NEWS: Fixed bug #36629 (SoapServer::handle() exits on SOAP faults) * (PHP_5_1) NEWS ext/standard/var.c ext/standard/var.c: Fixed debug_zval_dump() to support private and protected members * NEWS ZendEngine2/zend_compile.c ZendEngine2/zend_compile.h ZendEngine2/zend_execute_API.c ZendEngine2/zend_globals.h ZendEngine2/zend_language_parser.y ZendEngine2/zend_language_scanner.l ZendEngine2/zend_opcode.c ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h ZendEngine2/zend_vm_opcodes.h ZendEngine2/tests/jump01.phpt ZendEngine2/tests/jump02.phpt ZendEngine2/tests/jump03.phpt ZendEngine2/tests/jump04.phpt ZendEngine2/tests/jump05.phpt ZendEngine2/tests/jump06.phpt ZendEngine2/tests/jump07.phpt ZendEngine2/tests/jump08.phpt ZendEngine2/tests/jump09.phpt ZendEngine2/tests/jump10.phpt: Implemented "jump label" operator (limited "goto") 2006-03-09 Sara Golemon * (PHP_5_1) main/main.c: MFH: Move temporary local storage of primary file's realpath up one block to ensure it stays on the stack. * main/main.c: Move temporary local storage of primary file's realpath up one block to ensure it stays on the stack. 2006-03-09 Ilia Alshanetsky * (PHP_5_1) NEWS configure.in main/php_version.h: Back to dev * (PHP_5_1) NEWS configure.in main/php_version.h: 5.1.3RC1 2006-03-08 Marcus Boerger * .gdbinit: - Fix a bunch of issues, now the classname and the properties of objects are shown correctly (though standard object handlers are assumed and tested for) * .gdbinit: - Automatic tsrm key fetching * .gdbinit: - Automatic TSRM/ZTS detection 2006-03-08 Michael Wallner * ext/standard/http.c: MFB: Fix bug #36656 (http_build_query generates invalid URIs due to use of square brackets) * (PHP_5_1) NEWS ext/standard/http.c: - Fix bug #36656 (http_build_query generates invalid URIs due to use of square brackets) 2006-03-08 Ilia Alshanetsky * NEWS: safe_mode news * Makefile.gcov Makefile.global configure.in php.ini-dist php.ini-recommended run-tests.php server-tests.php ext/standard/basic_functions.c ext/standard/basic_functions.h ext/zlib/zlib.c main/SAPI.c main/config.w32.h main/fopen_wrappers.c main/main.c main/php.h main/php_globals.h main/php_ini.c main/streams/plain_wrapper.c win32/install.txt win32/php5dll.dsp win32/php5dllts.dsp: So long safe_mode mode. Also removed the magic_quotes configure option, no longer relevant since the magic is gone :-). 2006-03-08 Michael Wallner * (PHP_5_1) main/php_variables.h: - remove declaration of non existant function php_treat_data 2006-03-08 Pierre-Alain Joye * NEWS php.ini-dist php.ini-recommended ext/bz2/bz2.c ext/dba/dba.c ext/dba/tests/dba008.phpt ext/dba/tests/dba_cdb_make.phpt ext/exif/exif.c ext/exif/tests/bug34704.phpt ext/exif/tests/exif002.phpt ext/exif/tests/exif006.phpt ext/iconv/tests/translit-utf8.phpt ext/interbase/ibase_query.c ext/mhash/tests/001.phpt ext/msql/php_msql.c ext/mssql/php_mssql.c ext/mysql/php_mysql.c ext/mysqli/mysqli.c ext/pcre/config0.m4 ext/pcre/pcrelib/pcre_internal.h ext/pcre/tests/bug33200.phpt ext/pgsql/pgsql.c ext/standard/basic_functions.c ext/standard/exec.c ext/standard/file.c ext/standard/streamsfuncs.c ext/standard/string.c ext/standard/tests/file/fputcsv.phpt ext/standard/tests/strings/add-and-stripslashes.phpt ext/sybase/php_sybase_db.c ext/sybase_ct/php_sybase_ct.c ext/xml/tests/xml001.phpt ext/xml/tests/xml002.phpt ext/xml/tests/xml003.phpt ext/xml/tests/xml004.phpt ext/zlib/zlib.c main/main.c main/php_globals.h main/php_variables.c main/rfc1867.c sapi/cgi/cgi_main.c: - remove magic_quotes_gpc, magic_quotes_runtime, magic_quotes_sybase (calling ini_set('magic_....') returns 0|false - get_magic_quotes_gpc, get_magic_quotes_runtime are kept but always return false - set_magic_quotes_runtime raises an E_CORE_ERROR 2006-03-07 Alex Waugh * main/php.h sapi/cgi/cgi_main.c: Fix for RISC OS * sapi/webjames/webjames.c: Improve DOCUMENT_ROOT setting 2006-03-07 Marcus Boerger * (PHP_5_1) NEWS: - Update 2006-03-07 Colin Viebrock * php.gif main/logos.h: change these in HEAD too 2006-03-07 Rob Richards * (PHP_5_1) NEWS: updated for simplexml changes * (PHP_5_1) ext/simplexml/simplexml.c ext/simplexml/tests/027.phpt ext/simplexml/tests/030.phpt ext/simplexml/tests/031.phpt ext/simplexml/tests/bug35785.phpt: - Synch with head 2006-03-07 Ilia Alshanetsky * sapi/apache/mod_php5.c sapi/apache/php_apache.c sapi/apache2filter/sapi_apache2.c sapi/apache2handler/sapi_apache2.c sapi/apache_hooks/php_apache.c sapi/nsapi/nsapi.c: Nuke safe_mode from sapi/* 2006-03-07 Antony Dovgal * ext/oci8/package.xml: prepare to the next release 2006-03-07 Edin Kadribasic * (PHP_4_4) win32/php4dllts.dsp: Sync pcre update changes 2006-03-07 Dmitry Stogov * NEWS ZendEngine2/zend_compile.c ZendEngine2/zend_compile.h ZendEngine2/zend_globals.h ZendEngine2/zend_language_parser.y ZendEngine2/tests/break_label01.phpt ZendEngine2/tests/break_label02.phpt ZendEngine2/tests/break_label03.phpt ZendEngine2/tests/break_label04.phpt ZendEngine2/tests/break_label05.phpt ZendEngine2/tests/break_label06.phpt ZendEngine2/tests/break_label07.phpt ZendEngine2/tests/break_label08.inc ZendEngine2/tests/break_label08.phpt ZendEngine2/tests/break_label09.phpt ZendEngine2/tests/break_label10.phpt ZendEngine2/tests/break_label11.phpt: Reverted "break label" 2006-03-07 Andrei Zmievski * ZendEngine2/zend_builtin_functions.c: -** empty log message *** 2006-03-07 Derick Rethans * ZendEngine2/zend_builtin_functions.c: - Make this compile again 2006-03-07 Antony Dovgal * (PHP_5_1) NEWS ext/oci8/oci8.c: MFH add workaround for Oracle server crash, use OCIServerVersion() instead of OCIPing() fix #36250 (PHP Causes ORA-07445 Core dump in Oracle server 9.2.x) * ext/oci8/oci8.c: add workaround for Oracle server crash, use OCIServerVersion() instead of OCIPing() fix #36250 (PHP Causes ORA-07445 Core dump in Oracle server 9.2.x) 2006-03-07 Andrei Zmievski * ZendEngine2/zend_builtin_functions.c: Mark some functions as Unicode-safe and adjust UTODO notices for others. 2006-03-07 Pierre-Alain Joye * NEWS: - gd1 and ft1 entry 2006-03-07 Sara Golemon * ZendEngine2/tests/unset_cv06.phpt: Remove register_globals regression test for Pierre 2006-03-07 Pierre-Alain Joye * NEWS php.ini-dist php.ini-recommended ext/mbstring/mb_gpc.c ext/mbstring/mb_gpc.h ext/mbstring/mbstring.c ext/mbstring/tests/mb_parse_str.phpt ext/mbstring/tests/mb_parse_str02.phpt ext/session/php_session.h ext/session/session.c ext/session/tests/001.phpt ext/session/tests/003.phpt ext/session/tests/004.phpt ext/session/tests/005.phpt ext/session/tests/006.phpt ext/session/tests/007.phpt ext/session/tests/008-php4.2.3.phpt ext/session/tests/008.phpt ext/session/tests/009.phpt ext/session/tests/010.phpt ext/session/tests/011.phpt ext/session/tests/012.phpt ext/session/tests/013.phpt ext/session/tests/014.phpt ext/session/tests/019.phpt ext/session/tests/bug24592.phpt ext/session/tests/bug26862.phpt main/main.c main/php_globals.h main/php_variables.c main/rfc1867.c sapi/apache/mod_php5.c sapi/apache_hooks/mod_php5.c sapi/apache_hooks/sapi_apache.c: - remove register_globals support (aka "Kill the f***ing thing" :) 2006-03-06 Sebastian Bergmann * ext/pcre/config.w32: MFB: Fix build and sync parameters with config0.m4. * (PHP_5_1) ext/pcre/config.w32: Fix build and sync parameters with config0.m4. 2006-03-06 Andrei Zmievski * (PHP_4_4) NEWS NEWS: -** empty log message *** * ext/standard/string.c: Fix protos to use 'string' for parameters that can be either binary or unicode. 2006-03-06 Derick Rethans * (PHP_5_1) NEWS: - MFH: Fixed bug #36638 (strtotime() returns false when 2nd argument < 1). (Derick) 2006-03-06 Andrei Zmievski * ext/pcre/pcrelib/pcre_printint.src ext/pcre/pcrelib/pcre_printint.src ext/pcre/pcrelib/pcre_printint.src ext/pcre/pcrelib/pcre_refcount.c ext/pcre/pcrelib/pcre_scanner.cc ext/pcre/pcrelib/pcre_scanner_unittest.cc ext/pcre/pcrelib/pcre_study.c ext/pcre/pcrelib/pcre_tables.c ext/pcre/pcrelib/pcre_try_flipped.c ext/pcre/pcrelib/pcre_ucp_findchar.c ext/pcre/pcrelib/pcre_ucp_searchfuncs.c ext/pcre/pcrelib/pcre_ucp_searchfuncs.c ext/pcre/pcrelib/pcre_ucp_searchfuncs.c ext/pcre/pcrelib/pcre_valid_utf8.c ext/pcre/pcrelib/pcre_version.c ext/pcre/pcrelib/pcre_xclass.c ext/pcre/pcrelib/pcrecpp.cc ext/pcre/pcrelib/pcrecpp.h ext/pcre/pcrelib/pcrecpp_unittest.cc ext/pcre/pcrelib/pcrecpparg.h ext/pcre/pcrelib/pcrecpparg.h ext/pcre/pcrelib/pcrecpparg.h ext/pcre/pcrelib/pcregrep.c ext/pcre/pcrelib/pcreposix.c ext/pcre/pcrelib/pcreposix.h ext/pcre/pcrelib/pcretest.c ext/pcre/pcrelib/ucp.h ext/pcre/pcrelib/ucp_findchar.c ext/pcre/pcrelib/ucpinternal.h ext/pcre/pcrelib/ucptable.c ext/pcre/pcrelib/doc/Tech.Notes ext/pcre/pcrelib/doc/pcre.txt ext/pcre/pcrelib/testdata/grepinput ext/pcre/pcrelib/testdata/greplist ext/pcre/pcrelib/testdata/grepoutput ext/pcre/pcrelib/testdata/testinput2 ext/pcre/pcrelib/testdata/testinput3 ext/pcre/pcrelib/testdata/testinput4 ext/pcre/pcrelib/testdata/testinput5 ext/pcre/pcrelib/testdata/testinput6 ext/pcre/pcrelib/testdata/testinput7 ext/pcre/pcrelib/testdata/testinput9 ext/pcre/pcrelib/testdata/testoutput1 ext/pcre/pcrelib/testdata/testoutput2 ext/pcre/pcrelib/testdata/testoutput3 ext/pcre/pcrelib/testdata/testoutput4 ext/pcre/pcrelib/testdata/testoutput5 ext/pcre/pcrelib/testdata/testoutput6 ext/pcre/pcrelib/testdata/testoutput7 ext/pcre/pcrelib/testdata/testoutput8 ext/pcre/pcrelib/testdata/testoutput9: 1.1.4; Import PCRE 6.6 and make adjustments. * ext/pcre/config.w32 ext/pcre/config0.m4 ext/pcre/pcrelib/ChangeLog ext/pcre/pcrelib/LICENCE ext/pcre/pcrelib/NEWS ext/pcre/pcrelib/NON-UNIX-USE ext/pcre/pcrelib/README ext/pcre/pcrelib/dftables.c ext/pcre/pcrelib/pcre.def ext/pcre/pcrelib/pcre.h ext/pcre/pcrelib/pcre_compile.c ext/pcre/pcrelib/pcre_config.c ext/pcre/pcrelib/pcre_dfa_exec.c ext/pcre/pcrelib/pcre_exec.c ext/pcre/pcrelib/pcre_fullinfo.c ext/pcre/pcrelib/pcre_get.c ext/pcre/pcrelib/pcre_globals.c ext/pcre/pcrelib/pcre_info.c ext/pcre/pcrelib/pcre_internal.h ext/pcre/pcrelib/pcre_maketables.c ext/pcre/pcrelib/pcre_ord2utf8.c ext/pcre/pcrelib/pcre_printint.c: Import PCRE 6.6 and make adjustments. 2006-03-06 Rob Richards * (PHP_5_1) ext/standard/filestat.c: fix win build 2006-03-06 Marcus Boerger * ext/pgsql/pgsql.c ext/pgsql/tests/.cvsignore ext/pgsql/tests/80_bug36625.phpt: - Fixed #36625 pg_trace() does not work 2006-03-06 Rob Richards * ext/simplexml/simplexml.c ext/simplexml/tests/031.phpt: implement addChild() and addAttribute() methods add test 2006-03-06 Colin Viebrock * (PHP_5_1) php.gif main/logos.h: fix logo (proper spacing between the letters) 2006-03-06 Ilia Alshanetsky * NEWS ext/standard/basic_functions.c ext/standard/basic_functions.h ext/standard/file.c: Fixed bug #36630 (umask not reset at the end of the request). 2006-03-06 Marcus Boerger * ext/ming/ming.c ext/ming/ming.c: - Proto fixes 2006-03-06 Dmitry Stogov * ZendEngine2/bench.php: fixed compatibility with ext/hash * (PHP_5_1) ZendEngine2/bench.php: Fixed compatibility with ext/hash 2006-03-05 Pierre-Alain Joye * NEWS ext/gd/gd.c ext/gd/php_gd.h: - revert Harmut commit, Histogram implementation not correct and no idea where you got the ok to add that 2006-03-05 Derick Rethans * ext/standard/php_filestat.h: - And not here either... * (PHP_5_1) ext/standard/php_filestat.h: - There is no ltouch. * (PHP_5_1) NEWS configure.in TSRM/tsrm_virtual_cwd.c TSRM/tsrm_virtual_cwd.h ext/standard/basic_functions.c ext/standard/filestat.c ext/standard/php_filestat.h: - Added lchown() and lchgrp() to change user/group ownership of symlinks. 2006-03-05 Marcus Boerger * ZendEngine2/zend_compile.c: - Fix comment, too 2006-03-05 Hartmut Holzgraefe * ext/gd/gd.c ext/gd/php_gd.h: - fixed size information for _php_sig_png array - removed extra memcmp step in signature comparison, this seemed to have been inherited from ext/standard/image.c but is not needed here as the provided buffer is big enough from the start 2006-03-05 Marcus Boerger * ZendEngine2/zend_compile.c tests/classes/ctor_in_interface_01.phpt tests/classes/ctor_in_interface_02.phpt tests/classes/ctor_in_interface_03.phpt tests/classes/ctor_in_interface_04.phpt tests/classes/interface_construct.phpt: - Fix Bug #34019 by popular demand: Implementing interface with a __construct method strange behaviour 2006-03-05 Hartmut Holzgraefe * NEWS ext/gd/gd.c ext/gd/php_gd.h: added ImageColorHistogram function 2006-03-05 Michael Wallner * (PHP_5_1) NEWS: - fix typo, reword slightly 2006-03-05 Marcus Boerger * (PHP_5_1) NEWS: - Update * ext/mysqli/mysqli.c ext/mysqli/php_mysqli.h: - Fix build 2006-03-05 Ilia Alshanetsky * (PHP_5_1) NEWS: MFH: Fixed bug #36572 (Added PDO::MYSQL_ATTR_DIRECT_QUERY constant that show be set when executing internal queries such as "show master status" via MySQL). Added missing constant for MAX_BUFFER_SIZE. 2006-03-05 Antony Dovgal * ext/simplexml/tests/bug36611.phpt: add test * ext/simplexml/tests/bug36611.phpt ext/simplexml/tests/bug36611.phpt: file bug36611.phpt was initially added on branch PHP_5_1. 2006-03-05 Marcus Boerger * ZendEngine2/zend_API.c ZendEngine2/zend_API.c ZendEngine2/zend_API.h ZendEngine2/zend_API.h: - Add missing function for completeness 2006-03-05 Antony Dovgal * ext/simplexml/simplexml.c: MF51: fix #36611 (assignment to SimpleXML object attribute changes argument type to string) 2006-03-05 Johannes Schlüter * ext/mysqli/mysqli.c: - Fix build after unicode changes 2006-03-05 Antony Dovgal * (PHP_5_1) NEWS ext/simplexml/simplexml.c: fix #36611 (assignment to SimpleXML object attribute changes argument type to string) 2006-03-05 Rob Richards * ext/simplexml/simplexml.c ext/simplexml/tests/027.phpt ext/simplexml/tests/030.phpt ext/simplexml/tests/bug35785.phpt: fix crash passing non-string member to sxe_prop_dim_exists allow offsets to be used when calling isset/unset fix tests add test 2006-03-05 Antony Dovgal * (PHP_5_1) NEWS ext/pgsql/pgsql.c: MFH: fix #36606 (pg_query_params() changes arguments type to string) * ext/pgsql/pgsql.c: fix #36606 (pg_query_params() changes arguments type to string) 2006-03-04 Johannes Schlüter * ZendEngine2/zend_API.h: - Separate ZEND_METHOD from ZEND_FUNCTION 2006-03-03 Andrei Zmievski * ZendEngine2/zend_execute.h: Clean up after Marcus. 2006-03-03 Marcus Boerger * ZendEngine2/zend_API.c ZendEngine2/zend_execute.h ZendEngine2/zend_execute_API.c: - Make unicode handling portable (noted by andrei) 2006-03-03 Andrei Zmievski * unicode-gotchas.txt: Add note about md5(). 2006-03-03 Marcus Boerger * ZendEngine2/zend_API.c: - As expected (but told otherwise) unicode strings indeed need to be terminated by two \0. * ZendEngine2/zend_exceptions.c: - Fix issue with uncaught exceptions in unicode mode 2006-03-03 Yasuo Ohgaki * ext/mbstring/mbstring.c: remove obsolete check 2006-03-03 Rob Richards * (PHP_5_1) ext/dom/dom_iterators.c ext/dom/namednodemap.c ext/dom/notation.c ext/dom/tests/dom007.phpt: fix crashes using notations and entity decls add test * ext/dom/dom_iterators.c ext/dom/namednodemap.c ext/dom/notation.c ext/dom/tests/dom007.phpt ext/dom/tests/dom007.phpt: update dom iterator get key function for engine iterator changes fix crashes using notations and entity decls add test 2006-03-03 Marcus Boerger * ZendEngine2/tests/break_label10.phpt ZendEngine2/tests/break_label11.phpt: - Add new tests 2006-03-03 Dmitry Stogov * ZendEngine2/zend_vm_execute.h: Regenerated * NEWS ZendEngine2/zend_compile.c ZendEngine2/zend_compile.h ZendEngine2/zend_globals.h ZendEngine2/zend_language_parser.y ZendEngine2/tests/break_label01.phpt ZendEngine2/tests/break_label02.phpt ZendEngine2/tests/break_label03.phpt ZendEngine2/tests/break_label04.phpt ZendEngine2/tests/break_label05.phpt ZendEngine2/tests/break_label06.phpt ZendEngine2/tests/break_label07.phpt ZendEngine2/tests/break_label08.inc ZendEngine2/tests/break_label08.phpt ZendEngine2/tests/break_label09.phpt: Added support for "continue" and "break" operators with labels. Each loop or switch statement can be marked by label and then it is possible to write "break