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