2007-05-13 Ilia Alshanetsky * (PHP_5_2) NEWS ext/openssl/openssl.c ext/openssl/tests/bug41353.phpt ext/openssl/tests/bug41353.phpt: Fixed bug #41353 (crash in openssl_pkcs12_read() on invalid input). 2007-05-12 Hannes Magnusson * (PHP_5_2) main/php_ini.c: MFH: bug#41361 (shell_exec() does not find binaries) * main/php_ini.c: Fixed bug#41361 (shell_exec() does not find binaries) 2007-05-12 Raghubansh Kumar * ZendEngine2/tests/019.phpt: New version of 019.phpt * ext/standard/tests/general_functions/debug_zval_dump_b.phpt ext/standard/tests/general_functions/debug_zval_dump_e.phpt ext/standard/tests/general_functions/debug_zval_dump_o.phpt ext/standard/tests/general_functions/debug_zval_dump_v.phpt ext/standard/tests/general_functions/is_array.phpt ext/standard/tests/general_functions/is_bool.phpt ext/standard/tests/general_functions/is_float.phpt ext/standard/tests/general_functions/is_int.phpt ext/standard/tests/general_functions/is_null.phpt ext/standard/tests/general_functions/is_numeric.phpt ext/standard/tests/general_functions/is_object.phpt ext/standard/tests/general_functions/is_scalar.phpt ext/standard/tests/general_functions/is_string.phpt ext/standard/tests/general_functions/print_r.phpt ext/standard/tests/general_functions/strval.phpt ext/standard/tests/general_functions/var_dump.phpt: New version of debug_zval_dump_b.phpt, debug_zval_dump_v.phpt, is_float.phpt, is_numeric.phpt, is_string.phpt, var_dump.phpt, debug_zval_dump_e.phpt, is_array.phpt, is_int.phpt, is_object.phpt, print_r.phpt, debug_zval_dump_o.phpt, is_bool.phpt, is_null.phpt, is_scalar.phpt, strval.phpt * ext/standard/tests/strings/addcslashes.phpt ext/standard/tests/strings/chr_ord.phpt ext/standard/tests/strings/implode1.phpt ext/standard/tests/strings/md5_file.phpt ext/standard/tests/strings/str_repeat.phpt ext/standard/tests/strings/str_replace.phpt ext/standard/tests/strings/strpos.phpt ext/standard/tests/strings/strstr.phpt ext/standard/tests/strings/substr.phpt ext/standard/tests/strings/substr_count.phpt ext/standard/tests/strings/trim1.phpt: New version of addcslashes.phpt, implode1.phpt, strpos.phpt, str_replace.phpt, substr_count.phpt, trim1.phpt, chr_ord.phpt, md5_file.phpt, str_repeat.phpt, strstr.phpt, substr.phpt * ext/standard/tests/array/005.phpt ext/standard/tests/array/009.phpt ext/standard/tests/array/array_change_key_case.phpt ext/standard/tests/array/array_key_exists.phpt ext/standard/tests/array/array_keys.phpt ext/standard/tests/array/array_map.phpt ext/standard/tests/array/array_pop.phpt ext/standard/tests/array/array_search.phpt ext/standard/tests/array/array_values.phpt ext/standard/tests/array/each.phpt ext/standard/tests/array/end.phpt ext/standard/tests/array/extract.phpt: New version of 005.phpt, array_keys.phpt, array_values.phpt, extract.phpt, 009.phpt, array_map.phpt, each.phpt, array_change_key_case.phpt, array_pop.phpt, end.phpt, array_key_exists.phpt, array_search.phpt, extract.php * ext/standard/tests/general_functions/debug_zval_dump_b.phpt ext/standard/tests/general_functions/debug_zval_dump_b.phpt ext/standard/tests/general_functions/debug_zval_dump_e.phpt ext/standard/tests/general_functions/debug_zval_dump_e.phpt ext/standard/tests/general_functions/debug_zval_dump_o.phpt ext/standard/tests/general_functions/debug_zval_dump_o.phpt ext/standard/tests/general_functions/debug_zval_dump_v.phpt ext/standard/tests/general_functions/debug_zval_dump_v.phpt ext/standard/tests/general_functions/is_array.phpt ext/standard/tests/general_functions/is_array.phpt ext/standard/tests/general_functions/is_bool.phpt ext/standard/tests/general_functions/is_bool.phpt ext/standard/tests/general_functions/is_float.phpt ext/standard/tests/general_functions/is_float.phpt ext/standard/tests/general_functions/is_int.phpt ext/standard/tests/general_functions/is_int.phpt ext/standard/tests/general_functions/is_null.phpt ext/standard/tests/general_functions/is_null.phpt ext/standard/tests/general_functions/is_numeric.phpt ext/standard/tests/general_functions/is_numeric.phpt ext/standard/tests/general_functions/is_object.phpt ext/standard/tests/general_functions/is_object.phpt ext/standard/tests/general_functions/is_scalar.phpt ext/standard/tests/general_functions/is_scalar.phpt ext/standard/tests/general_functions/is_string.phpt ext/standard/tests/general_functions/is_string.phpt ext/standard/tests/general_functions/print_r.phpt ext/standard/tests/general_functions/print_r.phpt ext/standard/tests/general_functions/strval.phpt ext/standard/tests/general_functions/strval.phpt ext/standard/tests/general_functions/var_dump.phpt ext/standard/tests/general_functions/var_dump.phpt: file debug_zval_dump_b.phpt was initially added on branch PHP_5_2. * ext/standard/tests/strings/addcslashes.phpt ext/standard/tests/strings/addcslashes.phpt ext/standard/tests/strings/chr_ord.phpt ext/standard/tests/strings/implode1.phpt ext/standard/tests/strings/md5_file.phpt ext/standard/tests/strings/md5_file.phpt ext/standard/tests/strings/str_repeat.phpt ext/standard/tests/strings/str_replace.phpt ext/standard/tests/strings/strpos.phpt ext/standard/tests/strings/strstr.phpt ext/standard/tests/strings/substr.phpt ext/standard/tests/strings/substr.phpt ext/standard/tests/strings/substr_count.phpt ext/standard/tests/strings/trim1.phpt ext/standard/tests/strings/trim1.phpt: file addcslashes.phpt was initially added on branch PHP_5_2. * (PHP_5_2) ext/standard/tests/array/005.phpt ext/standard/tests/array/array_change_key_case.phpt ext/standard/tests/array/array_key_exists.phpt ext/standard/tests/array/array_keys.phpt ext/standard/tests/array/array_keys.phpt ext/standard/tests/array/array_map.phpt ext/standard/tests/array/array_map.phpt ext/standard/tests/array/array_pop.phpt ext/standard/tests/array/array_pop.phpt ext/standard/tests/array/array_search.phpt ext/standard/tests/array/array_values.phpt ext/standard/tests/array/each.phpt ext/standard/tests/array/each.phpt ext/standard/tests/array/end.phpt ext/standard/tests/array/end.phpt ext/standard/tests/array/extract.phpt ext/standard/tests/array/extract.phpt: New version of 005.phpt, array_change_key_case.phpt, array_key_exists.phpt, array_keys.phpt, array_map.phpt, array_pop.phpt, array_search.phpt, array_values.phpt, each.phpt, end.phpt, extract.phpt * ext/standard/tests/array/009.phpt ext/standard/tests/array/009.phpt: file 009.phpt was initially added on branch PHP_5_2. 2007-05-11 Antony Dovgal * ext/sysvsem/sysvsem.c: remove warnings in resource dtor * (PHP_5_2) NEWS NEWS: BFN * (PHP_5_2) ZendEngine2/zend_ts_hash.c: MFH: fix #41134 (zend_ts_hash_clean not thread-safe) fix also zend_ts_hash_*destroy() * ZendEngine2/zend_ts_hash.c: fix #41134 (zend_ts_hash_clean not thread-safe) fix also zend_ts_hash_*destroy() * (PHP_5_2) ZendEngine2/zend_compile.c ZendEngine2/tests/bug41351.phpt ZendEngine2/tests/bug41351_2.phpt ZendEngine2/tests/bug41351_3.phpt: MFH: fix #41351 (Invalid opcode with foreach ($a[] as $b)) * ZendEngine2/zend_compile.c ZendEngine2/tests/bug41351.phpt ZendEngine2/tests/bug41351.phpt ZendEngine2/tests/bug41351_2.phpt ZendEngine2/tests/bug41351_2.phpt ZendEngine2/tests/bug41351_3.phpt ZendEngine2/tests/bug41351_3.phpt: fix #41351 (Invalid opcode with foreach ($a[] as $b)) 2007-05-11 Dmitry Stogov * ZendEngine2/tests/bug39542.phpt ZendEngine2/tests/bug39542.phpt ZendEngine2/tests/bug39542/bug39542.php ZendEngine2/tests/bug39542/bug39542.php: file bug39542.phpt was initially added on branch PHP_5_2. * (PHP_5_2) NEWS ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h ZendEngine2/zend_vm_execute.h ZendEngine2/tests/bug39542.phpt ZendEngine2/tests/bug39542/bug39542.php: Fixed bug #39542 (Behaviour of require/include different to < 5.2.0) * ext/soap/php_http.c: Fixed compilation error 2007-05-11 Marcus Boerger * (PHP_5_2) ext/spl/spl_iterators.c ext/spl/spl_iterators.h: - MFH Add invert option to RegexIterator * ext/spl/spl_iterators.c ext/spl/spl_iterators.h: -Addvert optionto RegexIterator 2007-05-10 Antony Dovgal * (PHP_5_2) NEWS ext/standard/string.c ext/standard/tests/strings/strripos_offset.phpt: MFH: fix segfault in strripos() when offset == INT_MAX+1 identified and repoted by Joxean Koret * ext/standard/string.c ext/standard/tests/strings/strripos_offset.phpt ext/standard/tests/strings/strripos_offset.phpt: fix segfault in strripos() when offset == INT_MAX+1 identified and repoted by Joxean Koret * ext/soap/php_http.c: add missing header * (PHP_5_2) ext/soap/php_http.c: %d -> %ld * ext/soap/php_http.c: MFB 2007-05-10 Ilia Alshanetsky * (PHP_5_2) ext/soap/php_http.c: Fixed random number generation for http auth mechanism in SOAP 2007-05-10 Hannes Magnusson * main/php_ini.c: MFB - use php_strtok_r() rather than strsep() * (PHP_5_2) main/php_ini.c: use php_strtok_r() rather than strsep() 2007-05-10 Antony Dovgal * (PHP_5_2) ext/standard/basic_functions.c ext/standard/tests/strings/005.phpt ext/standard/tests/strings/006.phpt ext/standard/tests/strings/007.phpt: MFH: flush output buffer when/if highlight_string()/php_strip_whitespace()/highlight_string() fail * ext/standard/basic_functions.c ext/standard/tests/strings/005.phpt ext/standard/tests/strings/005.phpt ext/standard/tests/strings/006.phpt ext/standard/tests/strings/006.phpt ext/standard/tests/strings/007.phpt ext/standard/tests/strings/007.phpt: flush output buffer when/if highlight_string()/php_strip_whitespace()/highlight_string() fail 2007-05-10 Dmitry Stogov * (PHP_5_2) NEWS sapi/cgi/fastcgi.c sapi/cgi/fastcgi.c: Fixed bug #41291 (FastCGI does not set SO_REUSEADDR). (fmajid at kefta dot com) * (PHP_5_2) NEWS ext/soap/php_sdl.c ext/soap/php_sdl.c ext/soap/tests/bugs/bug41337.phpt ext/soap/tests/bugs/bug41337.phpt ext/soap/tests/bugs/bug41337.phpt ext/soap/tests/bugs/bug41337.wsdl ext/soap/tests/bugs/bug41337.wsdl ext/soap/tests/bugs/bug41337.wsdl: Fixed bug #41337 (WSDL parsing doesn't ignore non soap bindings) 2007-05-10 Scott MacVicar * ext/standard/tests/network/bug41347.phpt ext/standard/tests/network/bug41347.phpt: file bug41347.phpt was initially added on branch PHP_5_2. * (PHP_5_2) NEWS ext/standard/dns.c: Fixed bug #41347 (checkdnsrr() segfaults on empty hostname). 2007-05-10 Antony Dovgal * ext/standard/tests/image/iptcembed_001.phpt ext/standard/tests/image/iptcembed_001.phpt: cleanup temp test data * ext/standard/iptc.c ext/standard/tests/image/iptcembed_001.phpt: fix segfault in iptcembed() * (PHP_5_2) ext/bcmath/bcmath.c: MFH: bcmath.scale must be greater or equal to zero * ext/bcmath/bcmath.c: bcmath.scale must be greater or equal to zero looks like negative value cannot cause any problems, but it's still invalid 2007-05-09 Ilia Alshanetsky * (PHP_5_2) NEWS: Fixed a typo 2007-05-08 Pierre-Alain Joye * (PHP_5_2) NEWS ext/xmlwriter/php_xmlwriter.c ext/xmlwriter/tests/bug41287.phpt ext/xmlwriter/tests/bug41326.phpt: - MFH: #41326, Writing empty tags with Xmlwriter::WriteElement[ns] * ext/xmlwriter/tests/bug41326.phpt ext/xmlwriter/tests/bug41326.phpt: - #41326, writing empty tags with Xmlwriter::WriteElement[ns] * ext/xmlwriter/php_xmlwriter.c ext/xmlwriter/tests/bug41287.phpt: - #41326, writing empty tags with Xmlwriter::WriteElement[ns] 2007-05-08 Ilia Alshanetsky * (PHP_5_2) NEWS ext/standard/image.c: Fixed bug #41321 (downgrade read errors in getimagesize() to E_NOTICE). 2007-05-08 Antony Dovgal * (PHP_4_4) NEWS ext/openssl/openssl.c: fix #38798 (OpenSSL init corrected in php5 but not in php4) 2007-05-08 Dmitry Stogov * (PHP_5_2) NEWS ext/zlib/zlib_fopen_wrapper.c ext/zlib/zlib_fopen_wrapper.c main/streams/streams.c main/streams/streams.c: Fixed bug #41304 (compress.zlib temp files left) 2007-05-07 Ilia Alshanetsky * (PHP_5_2) main/php_content_types.c tests/basic/026.phpt tests/basic/026.phpt: Register RAW_POST_DATA even when always_populate_raw_post_data is off in instances where content type is not known 2007-05-07 Antony Dovgal * (PHP_5_2) ext/soap/tests/any.phpt ext/soap/tests/server019.phpt ext/soap/tests/server020.phpt ext/soap/tests/bugs/bug39815.phpt ext/soap/tests/interop/Round2/Base/r2_base_012p.phpt ext/soap/tests/interop/Round2/Base/r2_base_012s.phpt ext/soap/tests/interop/Round2/Base/r2_base_012w.phpt ext/soap/tests/interop/Round2/Base/r2_base_013p.phpt ext/soap/tests/interop/Round2/Base/r2_base_013s.phpt ext/soap/tests/interop/Round2/Base/r2_base_013w.phpt ext/soap/tests/interop/Round2/Base/r2_base_014p.phpt ext/soap/tests/interop/Round2/Base/r2_base_014s.phpt ext/soap/tests/interop/Round2/Base/r2_base_014w.phpt ext/soap/tests/interop/Round2/Base/r2_base_015p.phpt ext/soap/tests/interop/Round2/Base/r2_base_015s.phpt ext/soap/tests/interop/Round2/Base/r2_base_015w.phpt ext/soap/tests/interop/Round2/GroupB/r2_groupB_001p.phpt ext/soap/tests/interop/Round2/GroupB/r2_groupB_001s.phpt ext/soap/tests/interop/Round2/GroupB/r2_groupB_001w.phpt ext/soap/tests/interop/Round2/GroupB/r2_groupB_002p.phpt ext/soap/tests/interop/Round2/GroupB/r2_groupB_002s.phpt ext/soap/tests/interop/Round2/GroupB/r2_groupB_002w.phpt ext/soap/tests/interop/Round2/GroupB/r2_groupB_004p.phpt ext/soap/tests/interop/Round2/GroupB/r2_groupB_004s.phpt ext/soap/tests/interop/Round2/GroupB/r2_groupB_004w.phpt ext/soap/tests/interop/Round2/GroupB/r2_groupB_005p.phpt ext/soap/tests/interop/Round2/GroupB/r2_groupB_005s.phpt ext/soap/tests/interop/Round2/GroupB/r2_groupB_005w.phpt ext/soap/tests/interop/Round3/GroupD/r3_groupD_compound1_001w.phpt ext/soap/tests/interop/Round3/GroupD/r3_groupD_compound2_001w.phpt ext/soap/tests/interop/Round3/GroupD/r3_groupD_doclit_003w.phpt ext/soap/tests/interop/Round3/GroupD/r3_groupD_doclitparams_003w.phpt ext/soap/tests/interop/Round3/GroupD/r3_groupD_import2_001w.phpt ext/soap/tests/interop/Round3/GroupD/r3_groupD_import3_001w.phpt ext/soap/tests/interop/Round3/GroupD/r3_groupD_import3_002w.phpt ext/soap/tests/interop/Round3/GroupD/r3_groupD_rpcenc_003w.phpt ext/soap/tests/interop/Round4/GroupH/r4_groupH_complex_doclit_001w.phpt ext/soap/tests/interop/Round4/GroupH/r4_groupH_complex_doclit_002w.phpt ext/soap/tests/interop/Round4/GroupH/r4_groupH_complex_doclit_003w.phpt ext/soap/tests/interop/Round4/GroupH/r4_groupH_complex_doclit_004w.phpt ext/soap/tests/interop/Round4/GroupH/r4_groupH_complex_doclit_005w.phpt ext/soap/tests/interop/Round4/GroupH/r4_groupH_complex_doclit_006w.phpt ext/soap/tests/interop/Round4/GroupH/r4_groupH_complex_rpcenc_001w.phpt ext/soap/tests/interop/Round4/GroupH/r4_groupH_complex_rpcenc_002w.phpt ext/soap/tests/interop/Round4/GroupH/r4_groupH_complex_rpcenc_003w.phpt ext/soap/tests/interop/Round4/GroupH/r4_groupH_complex_rpcenc_004w.phpt ext/soap/tests/interop/Round4/GroupH/r4_groupH_complex_rpcenc_005w.phpt ext/soap/tests/interop/Round4/GroupH/r4_groupH_complex_rpcenc_006w.phpt ext/soap/tests/interop/Round4/GroupH/r4_groupH_complex_rpcenc_007w.phpt ext/soap/tests/interop/Round4/GroupH/r4_groupH_complex_rpcenc_008w.phpt ext/soap/tests/interop/Round4/GroupH/r4_groupH_complex_rpcenc_009w.phpt ext/soap/tests/interop/Round4/GroupH/r4_groupH_complex_rpcenc_010w.phpt ext/soap/tests/interop/Round4/GroupH/r4_groupH_simple_doclit_004w.phpt ext/soap/tests/interop/Round4/GroupH/r4_groupH_simple_doclit_005w.phpt ext/soap/tests/interop/Round4/GroupH/r4_groupH_simple_doclit_006w.phpt ext/soap/tests/interop/Round4/GroupH/r4_groupH_simple_doclit_007w.phpt ext/soap/tests/interop/Round4/GroupH/r4_groupH_simple_doclit_008w.phpt ext/soap/tests/interop/Round4/GroupH/r4_groupH_simple_doclit_009w.phpt ext/soap/tests/interop/Round4/GroupH/r4_groupH_simple_doclit_010w.phpt ext/soap/tests/interop/Round4/GroupH/r4_groupH_simple_doclit_011w.phpt ext/soap/tests/interop/Round4/GroupH/r4_groupH_simple_rpcenc_004w.phpt ext/soap/tests/interop/Round4/GroupH/r4_groupH_simple_rpcenc_005w.phpt ext/soap/tests/interop/Round4/GroupH/r4_groupH_simple_rpcenc_006w.phpt ext/soap/tests/interop/Round4/GroupH/r4_groupH_simple_rpcenc_007w.phpt ext/soap/tests/interop/Round4/GroupH/r4_groupH_simple_rpcenc_008w.phpt ext/soap/tests/interop/Round4/GroupH/r4_groupH_simple_rpcenc_009w.phpt ext/soap/tests/interop/Round4/GroupH/r4_groupH_simple_rpcenc_010w.phpt ext/soap/tests/interop/Round4/GroupH/r4_groupH_simple_rpcenc_011w.phpt ext/soap/tests/interop/Round4/GroupI/r4_groupI_xsd_003w.phpt ext/soap/tests/interop/Round4/GroupI/r4_groupI_xsd_008w.phpt ext/soap/tests/interop/Round4/GroupI/r4_groupI_xsd_009w.phpt ext/soap/tests/interop/Round4/GroupI/r4_groupI_xsd_011w.phpt ext/soap/tests/interop/Round4/GroupI/r4_groupI_xsd_014w.phpt ext/soap/tests/interop/Round4/GroupI/r4_groupI_xsd_015w.phpt ext/soap/tests/interop/Round4/GroupI/r4_groupI_xsd_019w.phpt ext/soap/tests/interop/Round4/GroupI/r4_groupI_xsd_020w.phpt ext/soap/tests/interop/Round4/GroupI/r4_groupI_xsd_021w.phpt ext/soap/tests/interop/Round4/GroupI/r4_groupI_xsd_022w.phpt ext/soap/tests/interop/Round4/GroupI/r4_groupI_xsd_023w.phpt ext/soap/tests/interop/Round4/GroupI/r4_groupI_xsd_024w.phpt ext/soap/tests/interop/Round4/GroupI/r4_groupI_xsd_025w.phpt ext/soap/tests/interop/Round4/GroupI/r4_groupI_xsd_028w.phpt ext/soap/tests/interop/Round4/GroupI/r4_groupI_xsd_032w.phpt ext/soap/tests/interop/Round4/GroupI/r4_groupI_xsd_033w.phpt ext/soap/tests/interop/Round4/GroupI/r4_groupI_xsd_035w.phpt ext/soap/tests/schema/schema004.phpt ext/soap/tests/schema/schema014.phpt ext/soap/tests/schema/schema016.phpt ext/soap/tests/schema/schema017.phpt ext/soap/tests/schema/schema020.phpt ext/soap/tests/schema/schema022.phpt ext/soap/tests/schema/schema054.phpt ext/soap/tests/schema/schema055.phpt ext/soap/tests/schema/schema063.phpt ext/soap/tests/soap12/T42.phpt ext/soap/tests/soap12/T47.phpt: fix tests (add precision) * ZendEngine2/tests/add_006.phpt ZendEngine2/tests/add_006.phpt ZendEngine2/tests/bug37212.phpt ZendEngine2/tests/cast_to_double.phpt ZendEngine2/tests/cast_to_double.phpt ZendEngine2/tests/decrement_001.phpt ZendEngine2/tests/decrement_001.phpt ZendEngine2/tests/double_to_string_64bit.phpt ZendEngine2/tests/double_to_string_64bit.phpt ZendEngine2/tests/increment_001.phpt ZendEngine2/tests/increment_001.phpt ZendEngine2/tests/settype_double.phpt ZendEngine2/tests/settype_double.phpt ext/oci8/tests/pecl_bug10194.phpt ext/oci8/tests/pecl_bug10194.phpt ext/oci8/tests/pecl_bug10194_blob.phpt ext/oci8/tests/pecl_bug10194_blob.phpt ext/standard/tests/array/array_fill_keys.phpt ext/standard/tests/array/array_fill_keys.phpt ext/standard/tests/array/max.phpt ext/standard/tests/array/max.phpt ext/standard/tests/array/min.phpt ext/standard/tests/array/min.phpt ext/standard/tests/array/range.phpt ext/standard/tests/array/range.phpt ext/standard/tests/math/bug25694.phpt ext/standard/tests/math/bug25694.phpt ext/standard/tests/strings/sprintf_f_2.phpt ext/standard/tests/strings/sprintf_f_2.phpt ext/standard/tests/strings/str_pad.phpt ext/standard/tests/strings/str_pad.phpt: fix tests 2007-05-07 Ilia Alshanetsky * ext/soap/tests/server029.phpt ext/soap/tests/server029.phpt ext/soap/tests/typemap001.phpt ext/soap/tests/typemap002.phpt ext/soap/tests/typemap005.phpt ext/soap/tests/typemap006.phpt ext/soap/tests/typemap009.phpt ext/soap/tests/typemap010.phpt ext/soap/tests/typemap013.phpt ext/soap/tests/bugs/bug28751.phpt ext/soap/tests/bugs/bug30994.phpt ext/soap/tests/bugs/bug31422.phpt ext/soap/tests/bugs/bug36629.phpt ext/soap/tests/bugs/bug39832.phpt ext/soap/tests/interop/Round2/Base/round2_base.inc ext/soap/tests/interop/Round2/GroupB/round2_groupB.inc ext/soap/tests/interop/Round3/GroupD/round3_groupD_compound1.inc ext/soap/tests/interop/Round3/GroupD/round3_groupD_compound2.inc ext/soap/tests/interop/Round3/GroupD/round3_groupD_doclit.inc ext/soap/tests/interop/Round3/GroupD/round3_groupD_doclitparams.inc ext/soap/tests/interop/Round3/GroupD/round3_groupD_emptysa.inc ext/soap/tests/interop/Round3/GroupD/round3_groupD_import1.inc ext/soap/tests/interop/Round3/GroupD/round3_groupD_import2.inc ext/soap/tests/interop/Round3/GroupD/round3_groupD_import3.inc ext/soap/tests/interop/Round3/GroupD/round3_groupD_rpcenc.inc ext/soap/tests/interop/Round3/GroupE/round3_groupE_list.inc ext/soap/tests/interop/Round3/GroupF/round3_groupF_ext.inc ext/soap/tests/interop/Round3/GroupF/round3_groupF_headers.inc ext/soap/tests/interop/Round4/GroupG/round4_groupG_dimedoc.inc ext/soap/tests/interop/Round4/GroupG/round4_groupG_dimerpc.inc ext/soap/tests/interop/Round4/GroupG/round4_groupG_mimedoc.inc ext/soap/tests/interop/Round4/GroupG/round4_groupG_mimerpc.inc ext/soap/tests/interop/Round4/GroupH/round4_groupH_complex_doclit.inc ext/soap/tests/interop/Round4/GroupH/round4_groupH_complex_rpcenc.inc ext/soap/tests/interop/Round4/GroupH/round4_groupH_simple_doclit.inc ext/soap/tests/interop/Round4/GroupH/round4_groupH_simple_rpcenc.inc ext/soap/tests/interop/Round4/GroupH/round4_groupH_soapfault.inc: file server029.phpt was initially added on branch PHP_5_2. * (PHP_5_2) ext/soap/tests/classmap001.phpt ext/soap/tests/server001.phpt ext/soap/tests/server002.phpt ext/soap/tests/server003.phpt ext/soap/tests/server004.phpt ext/soap/tests/server005.phpt ext/soap/tests/server006.phpt ext/soap/tests/server009.phpt ext/soap/tests/server010.phpt ext/soap/tests/server013.phpt ext/soap/tests/server014.phpt ext/soap/tests/server016.phpt ext/soap/tests/server017.phpt ext/soap/tests/server018.phpt ext/soap/tests/server019.phpt ext/soap/tests/server020.phpt ext/soap/tests/server021.phpt ext/soap/tests/server022.phpt ext/soap/tests/server023.phpt ext/soap/tests/server024.phpt ext/soap/tests/server025.phpt ext/soap/tests/server026.phpt ext/soap/tests/server028.phpt ext/soap/tests/interop/Round4/GroupI/round4_groupI_xsd.inc ext/soap/tests/schema/test_schema.inc ext/soap/tests/soap12/soap12-test.inc: Fixed SOAP tests and added additional tests to ensure processing POST data works based on server001.phpt * (PHP_5_2) run-tests.php: Added support for --GZIP_POST-- and --DEFLATE_POST-- that allows emulation of compressed POST input 2007-05-07 Antony Dovgal * ZendEngine2/tests/bug22725.phpt ZendEngine2/tests/bug22725.phpt ZendEngine2/tests/bug27304.phpt ZendEngine2/tests/bug27304.phpt ZendEngine2/tests/bug29104.phpt ZendEngine2/tests/bug29104.phpt ZendEngine2/tests/bug29210.phpt ZendEngine2/tests/bug29210.phpt ZendEngine2/tests/bug30519.phpt ZendEngine2/tests/bug30519.phpt ZendEngine2/tests/bug30702.phpt ZendEngine2/tests/bug30702.phpt ZendEngine2/tests/bug30791.phpt ZendEngine2/tests/bug30791.phpt ZendEngine2/tests/bug30889.phpt ZendEngine2/tests/bug30889.phpt ZendEngine2/tests/bug32296.phpt ZendEngine2/tests/bug32296.phpt ZendEngine2/tests/bug32427.phpt ZendEngine2/tests/bug32427.phpt ZendEngine2/tests/bug32660.phpt ZendEngine2/tests/bug32660.phpt ZendEngine2/tests/bug32674.phpt ZendEngine2/tests/bug32674.phpt ZendEngine2/tests/bug32833.phpt ZendEngine2/tests/bug32833.phpt ZendEngine2/tests/bug33257.phpt ZendEngine2/tests/bug33257.phpt ZendEngine2/tests/bug33771.phpt ZendEngine2/tests/bug34712.phpt ZendEngine2/tests/bug35437.phpt ZendEngine2/tests/bug35437.phpt ZendEngine2/tests/bug37811.phpt ZendEngine2/tests/bug37811.phpt ZendEngine2/tests/bug38220.phpt ZendEngine2/tests/bug38220.phpt ZendEngine2/tests/bug40770.phpt ZendEngine2/tests/bug40770.phpt ZendEngine2/tests/bug40809.phpt ZendEngine2/tests/bug40809.phpt ZendEngine2/tests/bug41075.phpt ZendEngine2/tests/bug41075.phpt ext/dba/tests/bug36436.phpt ext/dba/tests/bug36436.phpt ext/dbase/tests/bug31754.phpt ext/dbase/tests/bug31754.phpt ext/dom/tests/bug36756.phpt ext/dom/tests/bug36756.phpt ext/filter/tests/bug39763.phpt ext/filter/tests/bug39846.phpt ext/ftp/tests/bug27809.phpt ext/ftp/tests/bug27809.phpt ext/ftp/tests/bug37799.phpt ext/ftp/tests/bug37799.phpt ext/ftp/tests/bug39458-2.phpt ext/ftp/tests/bug39458-2.phpt ext/ftp/tests/bug39458.phpt ext/ftp/tests/bug39458.phpt ext/ftp/tests/bug39583-2.phpt ext/ftp/tests/bug39583-2.phpt ext/ftp/tests/bug39583.phpt ext/ftp/tests/bug39583.phpt ext/ftp/tests/bug7216-2.phpt ext/ftp/tests/bug7216-2.phpt ext/ftp/tests/bug7216.phpt ext/ftp/tests/bug7216.phpt ext/gmp/tests/bug32773.phpt ext/gmp/tests/bug32773.phpt ext/iconv/tests/bug16069.phpt ext/iconv/tests/bug16069.phpt ext/mcrypt/tests/bug37595.phpt ext/mcrypt/tests/bug37595.phpt ext/mcrypt/tests/bug8040.phpt ext/mcrypt/tests/bug8040.phpt ext/mysqli/tests/bug28817.phpt ext/mysqli/tests/bug28817.phpt ext/mysqli/tests/bug30967.phpt ext/mysqli/tests/bug30967.phpt ext/mysqli/tests/bug31141.phpt ext/mysqli/tests/bug31141.phpt ext/mysqli/tests/bug31668.phpt ext/mysqli/tests/bug31668.phpt ext/mysqli/tests/bug32405.phpt ext/mysqli/tests/bug32405.phpt ext/mysqli/tests/bug33090.phpt ext/mysqli/tests/bug33090.phpt ext/mysqli/tests/bug33263.phpt ext/mysqli/tests/bug33263.phpt ext/mysqli/tests/bug34785.phpt ext/mysqli/tests/bug34785.phpt ext/mysqli/tests/bug34810.phpt ext/mysqli/tests/bug34810.phpt ext/mysqli/tests/bug35103.phpt ext/mysqli/tests/bug35103.phpt ext/mysqli/tests/bug35517.phpt ext/mysqli/tests/bug35517.phpt ext/mysqli/tests/bug35759.phpt ext/mysqli/tests/bug35759.phpt ext/mysqli/tests/bug36420.phpt ext/mysqli/tests/bug36420.phpt ext/mysqli/tests/bug36745.phpt ext/mysqli/tests/bug36745.phpt ext/mysqli/tests/bug36802.phpt ext/mysqli/tests/bug36802.phpt ext/mysqli/tests/bug36949.phpt ext/mysqli/tests/bug36949.phpt ext/mysqli/tests/bug37090.phpt ext/oci8/tests/bug27303.phpt ext/oci8/tests/bug27303.phpt ext/oci8/tests/bug27303_2.phpt ext/oci8/tests/bug27303_2.phpt ext/oci8/tests/bug27303_3.phpt ext/oci8/tests/bug27303_3.phpt ext/oci8/tests/bug27303_4.phpt ext/oci8/tests/bug27303_4.phpt ext/oci8/tests/bug32325.phpt ext/oci8/tests/bug32325.phpt ext/oci8/tests/bug35973.phpt ext/oci8/tests/bug35973.phpt ext/oci8/tests/bug36010.phpt ext/oci8/tests/bug36010.phpt ext/oci8/tests/bug38161.phpt ext/oci8/tests/bug38161.phpt ext/pcre/tests/bug21758.phpt ext/pcre/tests/bug27011.phpt ext/pcre/tests/bug27011.phpt ext/pcre/tests/bug38600.phpt ext/pcre/tests/bug38600.phpt ext/pcre/tests/bug40195.phpt ext/pcre/tests/bug40195.phpt ext/pdo/tests/bug_34630.phpt ext/pdo/tests/bug_34630.phpt ext/pdo/tests/bug_34687.phpt ext/pdo/tests/bug_34687.phpt ext/pdo/tests/bug_35671.phpt ext/pdo/tests/bug_36428.phpt ext/pdo/tests/bug_36428.phpt ext/pdo/tests/bug_38253.phpt ext/pdo/tests/bug_38253.phpt ext/pdo/tests/bug_38394.phpt ext/pdo/tests/bug_38394.phpt ext/pdo/tests/bug_39398.phpt ext/pdo/tests/bug_39398.phpt ext/pdo/tests/pecl_bug_5217.phpt ext/pdo/tests/pecl_bug_5217.phpt ext/pdo/tests/pecl_bug_5772.phpt ext/pdo/tests/pecl_bug_5809.phpt ext/pdo_mysql/tests/bug_33689.phpt ext/pdo_mysql/tests/bug_33689.phpt ext/pdo_mysql/tests/pecl_bug_5200.phpt ext/pdo_mysql/tests/pecl_bug_5780.phpt ext/pdo_mysql/tests/pecl_bug_5802.phpt ext/pdo_oci/tests/bug_33707.phpt ext/pdo_pgsql/tests/bug_33876.phpt ext/pdo_pgsql/tests/bug_33876.phpt ext/pgsql/tests/80_bug14383.phpt ext/pgsql/tests/80_bug14383.phpt ext/pgsql/tests/80_bug24499.phpt ext/pgsql/tests/80_bug24499.phpt ext/pgsql/tests/80_bug27597.phpt ext/pgsql/tests/80_bug27597.phpt ext/session/tests/bug31454.phpt ext/session/tests/bug31454.phpt ext/session/tests/bug36459.phpt ext/session/tests/bug36459.phpt ext/session/tests/bug38377.phpt ext/session/tests/bug38377.phpt ext/simplexml/tests/bug37565.phpt ext/simplexml/tests/bug37565.phpt ext/soap/tests/bugs/bug29839.phpt ext/soap/tests/bugs/bug29839.phpt ext/soap/tests/bugs/bug30106.phpt ext/soap/tests/bugs/bug30106.phpt ext/soap/tests/bugs/bug30799.phpt ext/soap/tests/bugs/bug30799.phpt ext/soap/tests/bugs/bug30928.phpt ext/soap/tests/bugs/bug30928.phpt ext/soap/tests/bugs/bug30994.phpt ext/soap/tests/bugs/bug30994.phpt ext/soap/tests/bugs/bug31422.phpt ext/soap/tests/bugs/bug31422.phpt ext/soap/tests/bugs/bug31695.phpt ext/soap/tests/bugs/bug31695.phpt ext/soap/tests/bugs/bug31755.phpt ext/soap/tests/bugs/bug31755.phpt ext/soap/tests/bugs/bug32776.phpt ext/soap/tests/bugs/bug32776.phpt ext/soap/tests/bugs/bug34453.phpt ext/soap/tests/bugs/bug34453.phpt ext/soap/tests/bugs/bug35142.phpt ext/soap/tests/bugs/bug35142.phpt ext/soap/tests/bugs/bug35273.phpt ext/soap/tests/bugs/bug35273.phpt ext/soap/tests/bugs/bug36226.phpt ext/soap/tests/bugs/bug36226.phpt ext/soap/tests/bugs/bug41004.phpt ext/soap/tests/bugs/bug41004.phpt ext/spl/tests/bug33136.phpt ext/spl/tests/bug33136.phpt ext/spl/tests/bug36287.phpt ext/spl/tests/bug36287.phpt ext/standard/tests/array/bug28974.phpt ext/standard/tests/array/bug28974.phpt ext/standard/tests/array/bug29253.phpt ext/standard/tests/array/bug29253.phpt ext/standard/tests/array/bug33940.phpt ext/standard/tests/array/bug33940.phpt ext/standard/tests/array/bug34982.phpt ext/standard/tests/array/bug34982.phpt ext/standard/tests/general_functions/bug34794.phpt ext/standard/tests/general_functions/bug34794.phpt ext/standard/tests/general_functions/bug39322.phpt ext/standard/tests/general_functions/bug39322.phpt ext/standard/tests/general_functions/is_resource.phpt ext/standard/tests/general_functions/is_resource.phpt ext/standard/tests/strings/bug36306.phpt ext/standard/tests/strings/bug36306.phpt ext/zip/tests/bug7214.phpt ext/zip/tests/bug7214.phpt ext/zip/tests/bug7658.phpt ext/zip/tests/bug7658.phpt ext/zip/tests/bug8009.phpt ext/zip/tests/bug8009.phpt ext/zip/tests/bug8700.phpt ext/zip/tests/bug8700.phpt tests/lang/031.phpt tests/lang/031.phpt tests/lang/bug23524.phpt tests/lang/bug23524.phpt: fix test names 2007-05-07 Nuno Lopes * main/php_compat.h: update pcre symbols list * ext/pcre/tests/bug21758.phpt ext/pcre/tests/bug21758.phpt: fix test title * ext/pcre/config.w32 ext/pcre/config0.m4 ext/pcre/pcrelib/AUTHORS ext/pcre/pcrelib/COPYING ext/pcre/pcrelib/ChangeLog ext/pcre/pcrelib/HACKING ext/pcre/pcrelib/LICENCE ext/pcre/pcrelib/NEWS ext/pcre/pcrelib/NON-UNIX-USE ext/pcre/pcrelib/README ext/pcre/pcrelib/config.h ext/pcre/pcrelib/dftables.c ext/pcre/pcrelib/libpcre.def ext/pcre/pcrelib/libpcreposix.def ext/pcre/pcrelib/pcre.def ext/pcre/pcrelib/pcre.h ext/pcre/pcrelib/pcre_chartables.c ext/pcre/pcrelib/pcre_compile.c ext/pcre/pcrelib/pcre_config.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_newline.c ext/pcre/pcrelib/pcre_ord2utf8.c ext/pcre/pcrelib/pcre_printint.src ext/pcre/pcrelib/pcre_refcount.c ext/pcre/pcrelib/pcre_scanner.cc ext/pcre/pcrelib/pcre_scanner.h ext/pcre/pcrelib/pcre_scanner_unittest.cc ext/pcre/pcrelib/pcre_stringpiece.cc ext/pcre/pcrelib/pcre_stringpiece.h ext/pcre/pcrelib/pcre_stringpiece_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_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/pcredemo.c ext/pcre/pcrelib/pcregrep.c ext/pcre/pcrelib/pcreposix.c ext/pcre/pcrelib/pcreposix.h ext/pcre/pcrelib/pcretest.c ext/pcre/pcrelib/ucptable.c ext/pcre/pcrelib/ucptable.h ext/pcre/pcrelib/doc/Tech.Notes ext/pcre/pcrelib/doc/pcre.txt ext/pcre/pcrelib/testdata/.cvsignore ext/pcre/pcrelib/testdata/grepinputx ext/pcre/pcrelib/testdata/grepoutput ext/pcre/pcrelib/testdata/grepoutputN ext/pcre/pcrelib/testdata/testinput10 ext/pcre/pcrelib/testdata/testinput2 ext/pcre/pcrelib/testdata/testinput3 ext/pcre/pcrelib/testdata/testinput5 ext/pcre/pcrelib/testdata/testinput6 ext/pcre/pcrelib/testdata/testinput7 ext/pcre/pcrelib/testdata/testinput9 ext/pcre/pcrelib/testdata/testoutput10 ext/pcre/pcrelib/testdata/testoutput2 ext/pcre/pcrelib/testdata/testoutput3 ext/pcre/pcrelib/testdata/testoutput5 ext/pcre/pcrelib/testdata/testoutput6 ext/pcre/pcrelib/testdata/testoutput7 ext/pcre/pcrelib/testdata/testoutput9: update bundled PCRE to version 7.2 RC1. if everything goes right, this will be merged later to php 5.x 2007-05-07 Pierre-Alain Joye * (PHP_5_2) NEWS ext/gd/gd.c: - MFH: fix build when use with a museum freetype version (1.x) * ext/gd/gd.c: - fix build when use with a museum freetype version (1.x) 2007-05-07 Antony Dovgal * (PHP_5_2) ZendEngine2/tests/compare_001_64bit.phpt ZendEngine2/tests/compare_002_64bit.phpt ZendEngine2/tests/compare_003_64bit.phpt ZendEngine2/tests/compare_004_64bit.phpt ZendEngine2/tests/compare_005_64bit.phpt ZendEngine2/tests/compare_006_64bit.phpt ZendEngine2/tests/decrement_001_64bit.phpt: add 64bit version of the tests * ZendEngine2/tests/compare_001_64bit.phpt ZendEngine2/tests/compare_001_64bit.phpt ZendEngine2/tests/compare_002_64bit.phpt ZendEngine2/tests/compare_002_64bit.phpt ZendEngine2/tests/compare_003_64bit.phpt ZendEngine2/tests/compare_003_64bit.phpt ZendEngine2/tests/compare_004_64bit.phpt ZendEngine2/tests/compare_004_64bit.phpt ZendEngine2/tests/compare_005_64bit.phpt ZendEngine2/tests/compare_005_64bit.phpt ZendEngine2/tests/compare_006_64bit.phpt ZendEngine2/tests/compare_006_64bit.phpt ZendEngine2/tests/decrement_001_64bit.phpt ZendEngine2/tests/decrement_001_64bit.phpt: add 64bit version of the tests * ext/oci8/tests/bug27303.phpt ext/oci8/tests/bug27303.phpt ext/standard/tests/strings/printf_64bit.phpt ext/standard/tests/strings/printf_64bit.phpt: fix test 2007-05-06 Ilia Alshanetsky * (PHP_5_2) NEWS ext/soap/soap.c: Allow SOAP extension's handler() to work even when always_populate_raw_post_data is off. * (PHP_5_2) NEWS main/php_content_types.c: Fixed bug #41293 (Fixed creation of HTTP_RAW_POST_DATA when there is no default post handler). * tests/basic/025.phpt tests/basic/025.phpt: file 025.phpt was initially added on branch PHP_5_2. * tests/basic/024.phpt tests/basic/024.phpt: file 024.phpt was initially added on branch PHP_5_2. * (PHP_5_2) NEWS: Clarify bug fix details 2007-05-06 Hannes Magnusson * (PHP_5_2) NEWS main/php_ini.c: MFH: Fixed PHP CLI to use the php.ini from the binary location 2007-05-06 Johannes Schlüter * ZendEngine2/tests/concat_001.phpt: - Fix test 2007-05-06 Hannes Magnusson * (PHP_5_2) ext/standard/tests/general_functions/ini_get_all.phpt: Fix test * ext/standard/tests/general_functions/ini_get_all.phpt: Fix test 2007-05-06 Johannes Schlüter * sapi/cli/php_cli.c: - Fix build without reflection 2007-05-05 Antony Dovgal * ZendEngine2/tests/compare_001.phpt ZendEngine2/tests/compare_001.phpt ZendEngine2/tests/compare_002.phpt ZendEngine2/tests/compare_002.phpt ZendEngine2/tests/compare_003.phpt ZendEngine2/tests/compare_003.phpt ZendEngine2/tests/compare_004.phpt ZendEngine2/tests/compare_004.phpt ZendEngine2/tests/compare_005.phpt ZendEngine2/tests/compare_005.phpt ZendEngine2/tests/compare_006.phpt ZendEngine2/tests/compare_006.phpt ZendEngine2/tests/decrement_001.phpt ZendEngine2/tests/decrement_001.phpt ZendEngine2/tests/exception_handler_001.phpt ZendEngine2/tests/exception_handler_001.phpt ZendEngine2/tests/exception_handler_001.phpt ZendEngine2/tests/exception_handler_002.phpt ZendEngine2/tests/exception_handler_002.phpt ZendEngine2/tests/exception_handler_002.phpt ZendEngine2/tests/exception_handler_003.phpt ZendEngine2/tests/exception_handler_003.phpt ZendEngine2/tests/exception_handler_003.phpt ZendEngine2/tests/exception_handler_004.phpt ZendEngine2/tests/exception_handler_004.phpt ZendEngine2/tests/exception_handler_004.phpt ZendEngine2/tests/exception_handler_005.phpt ZendEngine2/tests/exception_handler_005.phpt ZendEngine2/tests/exception_handler_005.phpt ZendEngine2/tests/exception_handler_006.phpt ZendEngine2/tests/exception_handler_006.phpt ZendEngine2/tests/exception_handler_006.phpt: fix tests, add more 2007-05-05 Jani Taskinen * ext/iconv/tests/iconv004.phpt: fix test on systems where php.ini has something else than default settings 2007-05-05 Marcus Boerger * (PHP_5_2) sapi/cli/php_cli.c: - MFH --ri does not require ext/Reflection - MFH --ini to show ini files being used 2007-05-05 Ilia Alshanetsky * (PHP_5_2) NEWS ext/sqlite/sess_sqlite.c ext/sqlite/sqlite.c: Fixed bug #41285 (Improved fix for CVE-2007-1887 to work with non-bundled sqlite2 lib). 2007-05-05 Michael Wallner * tests/func/006.phpt: - output handler buffers are always binary, thanks Johannes 2007-05-05 Ilia Alshanetsky * (PHP_5_2) NEWS ext/wddx/wddx.c: Fixed bug #41283 (Bug with serializing array key that are doubles or floats). * ext/wddx/tests/bug41283.phpt ext/wddx/tests/bug41283.phpt: file bug41283.phpt was initially added on branch PHP_5_2. 2007-05-05 Marcus Boerger * sapi/cli/php_cli.c: - Fix function signature * acinclude.m4: - Update version in error message as well * acinclude.m4: - Fix re2c check and bump requirement to 0.12.0 * sapi/cli/php_cli.c: - Simplify/use consts 2007-05-04 Antony Dovgal * ext/gmp/tests/011.phpt: check GMP version and skip the test if it's <= 4.2.1 2007-05-04 Marcus Boerger * sapi/cli/php_cli.c: - WS/CS 2007-05-04 Jani Taskinen * (PHP_5_2) ext/gd/config.m4: MFH:- Prevent bugs like #41265 being submitted from now on. * ext/gd/config.m4: - Prevent bugs like #41265 being submitted from now on. 2007-05-04 Rob Richards * (PHP_5_2) NEWS NEWS: BFN * ext/xmlwriter/php_xmlwriter.c ext/xmlwriter/tests/bug41287.phpt: MFB: Fix bug #41287 (Namespace functions don't allow xmlns to be optional) add test * (PHP_5_2) ext/xmlwriter/php_xmlwriter.c ext/xmlwriter/tests/bug41287.phpt ext/xmlwriter/tests/bug41287.phpt: Fix bug #41287 (Namespace functions don't allow xmlns to be optional) add test * ext/dom/element.c ext/dom/node.c ext/dom/tests/bug41257.phpt: MFB: fix bug #41257 (lookupNamespaceURI does not work as expected) fix related issue in isDefaultNamespace add test reconcile namespaces when setting attribute in a new namespace * (PHP_5_2) ext/dom/element.c ext/dom/node.c ext/dom/tests/bug41257.phpt ext/dom/tests/bug41257.phpt: fix bug #41257 (lookupNamespaceURI does not work as expected) fix related issue in isDefaultNamespace add test reconcile namespaces when setting attribute in a new namespace 2007-05-04 Edin Kadribasic * sapi/apache2filter/config.w32 sapi/apache2handler/config.w32: MFB: Update Apache 2 libs to 2.0.59 on the build box and standardize the dirs * (PHP_5_2) sapi/apache2filter/config.w32 sapi/apache2handler/config.w32: Update Apache 2 libs to 2.0.59 on the build box and standardize the dirs 2007-05-04 Nuno Lopes * ext/tidy/tidy.c ext/tidy/tests/007.phpt: use the new 's&' parameter type and simplify the code * (PHP_5_2) ext/tidy/tidy.c: get ride of warnings (different signdess) 2007-05-04 Dmitry Stogov * ZendEngine2/zend_compile.c: ws * ZendEngine2/zend_API.c: Fixed wrong deallocation 2007-05-04 Antony Dovgal * ZendEngine2/zend_strtod.c ZendEngine2/zend_strtod.c: fix comments * (PHP_5_2) ZendEngine2/tests/compare_001.phpt ZendEngine2/tests/compare_002.phpt ZendEngine2/tests/compare_003.phpt ZendEngine2/tests/compare_004.phpt ZendEngine2/tests/compare_005.phpt ZendEngine2/tests/compare_006.phpt ZendEngine2/tests/decrement_001.phpt ZendEngine2/tests/increment_001.phpt: add tests * ZendEngine2/tests/cast_to_string.phpt ZendEngine2/tests/compare_001.phpt ZendEngine2/tests/compare_001.phpt ZendEngine2/tests/compare_002.phpt ZendEngine2/tests/compare_002.phpt ZendEngine2/tests/compare_003.phpt ZendEngine2/tests/compare_003.phpt ZendEngine2/tests/compare_004.phpt ZendEngine2/tests/compare_004.phpt ZendEngine2/tests/compare_005.phpt ZendEngine2/tests/compare_005.phpt ZendEngine2/tests/compare_006.phpt ZendEngine2/tests/compare_006.phpt ZendEngine2/tests/decrement_001.phpt ZendEngine2/tests/decrement_001.phpt ZendEngine2/tests/increment_001.phpt ZendEngine2/tests/increment_001.phpt: new tests * ZendEngine2/zend_API.c ZendEngine2/tests/errmsg_021.phpt: fix disabled classes * ZendEngine2/zend_execute.c: fix arrays with NULL keys in Unicode mode * ext/oci8/config.m4: fix spelling * ZendEngine2/zend_operators.c: merge one more missing patch from 5_2 thank you for not doing MFB * ext/oci8/config.m4: fix "checking checking" noticed by Mikko * ZendEngine2/tests/double_to_string.phpt: fix machine dependent test 2007-05-04 Dmitry Stogov * (PHP_5_2) NEWS ext/soap/php_encoding.c: - Fixed bug #41097 (ext/soap returning associative array as indexed without using WSDL). - Fixed bug #41004 (minOccurs="0" and null class member variable). * (PHP_5_2) NEWS ZendEngine2/zend_compile.c: Fixed altering $this via argument named "this" 2007-05-03 Ilia Alshanetsky * (PHP_5_2) NEWS ext/filter/logical_filters.c ext/filter/tests/PMOPB45.phpt ext/filter/tests/PMOPB45.phpt: Fixed ext/filter Email Validation Vulnerability (MOPB-24 by Stefan Esser) 2007-05-03 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: - 4.4.7 preparations. 2007-05-03 Johannes Schlüter * ZendEngine2/tests/bug40236.phpt: - Fix skipif 2007-05-03 Antony Dovgal * ext/gd/tests/createfromstring.phpt ext/gd/tests/createfromstring.phpt: improve test 2007-05-03 Edin Kadribasic * ext/xmlrpc/libxmlrpc/xml_to_xmlrpc.c: MFB Fix Windows Build * (PHP_5_2) ext/xmlrpc/libxmlrpc/xml_to_xmlrpc.c: Fix Windows Build * (PHP_4_4) ext/gd/.cvsignore: No need for workspace files * (PHP_4_4) ext/gd/gd.dsp ext/mcrypt/mcrypt.c: Fix build 2007-05-03 Ilia Alshanetsky * (PHP_5_2) NEWS configure.in main/php_version.h: Back to dev 2007-05-02 Ilia Alshanetsky * (PHP_5_2) NEWS configure.in main/php_version.h: 5.2.2 2007-05-02 Dmitry Stogov * (PHP_5_2) NEWS ZendEngine2/zend_compile.c ext/soap/php_encoding.c: Reverted the following fixed because of php-5.2.2 release process - Fixed altering $this via argument named "this". - Fixed bug #41097 (ext/soap returning associative array as indexed without using WSDL). - Fixed bug #41004 (minOccurs="0" and null class member variable). 2007-05-02 Antony Dovgal * (PHP_5_2) ZendEngine2/tests/bug40770.phpt: add SKIPIF section * ZendEngine2/tests/bug40770.phpt: this test is only valid when Zend MM is enabled * run-tests.php: make USE_ZEND_ALLOC env var available in SKIPIF section 2007-05-02 Dmitry Stogov * ZendEngine2/tests/bug41117_1.phpt ZendEngine2/tests/bug41117_1.phpt: file bug41117_1.phpt was initially added on branch PHP_5_2. * (PHP_5_2) NEWS ZendEngine2/zend_compile.c ZendEngine2/zend_compile.c ZendEngine2/tests/bug41117_1.phpt: Fixed altering $this via argument named "this" 2007-05-02 Antony Dovgal * ext/session/php_session.h ext/session/session.c: fix build when ext/hash is compiled as shared module 2007-05-02 Dmitry Stogov * (PHP_5_2) NEWS win32/registry.c win32/registry.c: Fixed bug #41192 (Per Directory Values only work for one key) * ext/soap/tests/bugs/bug41004.phpt ext/soap/tests/bugs/bug41004.phpt ext/soap/tests/bugs/bug41004.wsdl ext/soap/tests/bugs/bug41004.wsdl: file bug41004.phpt was initially added on branch PHP_5_2. * (PHP_5_2) NEWS ext/soap/php_encoding.c ext/soap/php_encoding.c ext/soap/tests/bugs/bug41004.phpt ext/soap/tests/bugs/bug41004.wsdl: Fixed bug #41004 (minOccurs="0" and null class member variable) * ext/soap/tests/schema/schema085.phpt: New test * ext/soap/tests/schema/schema085.phpt ext/soap/tests/schema/schema085.phpt: file schema085.phpt was initially added on branch PHP_5_2. * ext/soap/tests/bugs/bug41097.phpt ext/soap/tests/bugs/bug41097.phpt: file bug41097.phpt was initially added on branch PHP_5_2. * (PHP_5_2) NEWS ext/soap/php_encoding.c ext/soap/php_encoding.c ext/soap/soap.c ext/soap/soap.c ext/soap/tests/bugs/bug41097.phpt ext/soap/tests/interop/Round3/GroupD/r3_groupD_compound2_001w.phpt: Fixed bug #41097 (ext/soap returning associative array as indexed without using WSDL) * ext/standard/tests/assert/assert02.phpt ext/standard/tests/assert/assert02.phpt: Fixed test 2007-05-01 Ilia Alshanetsky * (PHP_5_2) TODO: Removed completed TODO items 2007-05-01 Derick Rethans * (PHP_4_4) NEWS ext/mcrypt/mcrypt.c ext/mcrypt/tests/bug41252.phpt: - Fixed bug #41252 (Calling mcrypt_generic without first calling mcrypt_generic_init crashes). * ext/mcrypt/tests/bug41252.phpt ext/mcrypt/tests/bug41252.phpt ext/mcrypt/tests/bug41252.phpt: 1.1.4; - Added test case for bug #41252. 2007-05-01 Johannes Schlüter * ext/dom/tests/dom_xinclude.phpt: - Fix test 2007-05-01 Ilia Alshanetsky * (PHP_5_2) ext/standard/tests/strings/str_pad.phpt ext/standard/tests/strings/strcasecmp.phpt ext/standard/tests/strings/strcmp.phpt: Remove quotes 2007-04-30 Antony Dovgal * ext/ldap/ldap.c: initialize optional parameters 2007-04-30 Johannes Schlüter * (PHP_5_2) NEWS: BFN * (PHP_5_2) ZendEngine2/zend_API.c ext/spl/tests/spl_007.phpt: - MFH Fix "f" modifier for zend_parse_parameters_ex in case of a __call call * ext/spl/tests/spl_007.phpt ext/spl/tests/spl_007.phpt: - Add new test * ZendEngine2/zend_API.c: - Fix "f" modifier for zend_parse_parameters_ex in case of a __call call (fixes Zend/tests/bug19859.phpt and Zend/tests/bug34260.phpt) 2007-04-30 Edin Kadribasic * (PHP_5_2) main/php_version.h: Sync correctly with configure.in 2007-04-30 Antony Dovgal * ZendEngine2/zend_operators.c ZendEngine2/tests/concat_002.phpt: make concatenating two binary strings a special case 2007-04-29 Edin Kadribasic * ext/zlib/php_zlib.def: MFB: Sync with zlib * (PHP_5_2) ext/zlib/php_zlib.def: Sync with zlib 2007-04-29 Ilia Alshanetsky * (PHP_5_2) NEWS ext/pdo/pdo_dbh.c: Fixed bug #41215 (setAttribute return code reversed). 2007-04-29 Jani Taskinen * (PHP_5_2) NEWS: typofix..and exactly HOW or WHAT in commandline handling was fixed? * (PHP_5_2) ext/standard/credits_ext.h ext/standard/credits_sapi.h: - Updated credits 2007-04-28 Antony Dovgal * ZendEngine2/zend.c: this case is handled in convert_to_unicode(), no need to duplicate it * ZendEngine2/zend_operators.c: convert non-strings to unicode in unicode mode * (PHP_5_2) ZendEngine2/tests/add_001.phpt ZendEngine2/tests/add_002.phpt ZendEngine2/tests/add_003.phpt ZendEngine2/tests/add_004.phpt ZendEngine2/tests/add_005.phpt ZendEngine2/tests/add_006.phpt ZendEngine2/tests/add_007.phpt ZendEngine2/tests/and_001.phpt ZendEngine2/tests/concat_001.phpt ZendEngine2/tests/div_001.phpt ZendEngine2/tests/div_002.phpt ZendEngine2/tests/mod_001.phpt ZendEngine2/tests/mul_001.phpt ZendEngine2/tests/not_001.phpt ZendEngine2/tests/not_002.phpt ZendEngine2/tests/or_001.phpt ZendEngine2/tests/shift_001.phpt ZendEngine2/tests/shift_002.phpt ZendEngine2/tests/sub_001.phpt ZendEngine2/tests/xor_001.phpt ZendEngine2/tests/xor_002.phpt ZendEngine2/tests/xor_003.phpt: add new tests * ZendEngine2/tests/add_001.phpt ZendEngine2/tests/add_001.phpt ZendEngine2/tests/add_002.phpt ZendEngine2/tests/add_002.phpt ZendEngine2/tests/add_003.phpt ZendEngine2/tests/add_003.phpt ZendEngine2/tests/add_004.phpt ZendEngine2/tests/add_004.phpt ZendEngine2/tests/add_005.phpt ZendEngine2/tests/add_005.phpt ZendEngine2/tests/add_006.phpt ZendEngine2/tests/add_006.phpt ZendEngine2/tests/add_007.phpt ZendEngine2/tests/add_007.phpt ZendEngine2/tests/and_001.phpt ZendEngine2/tests/and_001.phpt ZendEngine2/tests/concat_001.phpt ZendEngine2/tests/concat_001.phpt ZendEngine2/tests/div_001.phpt ZendEngine2/tests/div_001.phpt ZendEngine2/tests/div_002.phpt ZendEngine2/tests/div_002.phpt ZendEngine2/tests/mod_001.phpt ZendEngine2/tests/mod_001.phpt ZendEngine2/tests/mul_001.phpt ZendEngine2/tests/mul_001.phpt ZendEngine2/tests/not_001.phpt ZendEngine2/tests/not_001.phpt ZendEngine2/tests/not_002.phpt ZendEngine2/tests/not_002.phpt ZendEngine2/tests/or_001.phpt ZendEngine2/tests/or_001.phpt ZendEngine2/tests/shift_001.phpt ZendEngine2/tests/shift_001.phpt ZendEngine2/tests/shift_002.phpt ZendEngine2/tests/shift_002.phpt ZendEngine2/tests/sub_001.phpt ZendEngine2/tests/sub_001.phpt ZendEngine2/tests/xor_001.phpt ZendEngine2/tests/xor_001.phpt ZendEngine2/tests/xor_002.phpt ZendEngine2/tests/xor_002.phpt ZendEngine2/tests/xor_003.phpt ZendEngine2/tests/xor_003.phpt: add new tests 2007-04-27 Antony Dovgal * (PHP_5_2) ZendEngine2/tests/cast_to_array.phpt ZendEngine2/tests/cast_to_bool.phpt ZendEngine2/tests/cast_to_double.phpt ZendEngine2/tests/cast_to_int.phpt ZendEngine2/tests/cast_to_object.phpt ZendEngine2/tests/cast_to_string.phpt ZendEngine2/tests/settype_array.phpt ZendEngine2/tests/settype_bool.phpt ZendEngine2/tests/settype_double.phpt ZendEngine2/tests/settype_int.phpt ZendEngine2/tests/settype_null.phpt ZendEngine2/tests/settype_object.phpt ZendEngine2/tests/settype_resource.phpt ZendEngine2/tests/settype_string.phpt: add new tests * ZendEngine2/tests/cast_to_array.phpt ZendEngine2/tests/cast_to_array.phpt ZendEngine2/tests/cast_to_bool.phpt ZendEngine2/tests/cast_to_bool.phpt ZendEngine2/tests/cast_to_double.phpt ZendEngine2/tests/cast_to_double.phpt ZendEngine2/tests/cast_to_int.phpt ZendEngine2/tests/cast_to_int.phpt ZendEngine2/tests/cast_to_object.phpt ZendEngine2/tests/cast_to_object.phpt ZendEngine2/tests/cast_to_string.phpt ZendEngine2/tests/cast_to_string.phpt ZendEngine2/tests/settype_array.phpt ZendEngine2/tests/settype_array.phpt ZendEngine2/tests/settype_bool.phpt ZendEngine2/tests/settype_bool.phpt ZendEngine2/tests/settype_double.phpt ZendEngine2/tests/settype_double.phpt ZendEngine2/tests/settype_int.phpt ZendEngine2/tests/settype_int.phpt ZendEngine2/tests/settype_null.phpt ZendEngine2/tests/settype_null.phpt ZendEngine2/tests/settype_object.phpt ZendEngine2/tests/settype_object.phpt ZendEngine2/tests/settype_resource.phpt ZendEngine2/tests/settype_resource.phpt ZendEngine2/tests/settype_string.phpt ZendEngine2/tests/settype_string.phpt: add new tests * ZendEngine2/zend_operators.c: fix typo (Z_USTRVAL_P -> Z_USTRLEN_P) and CS 2007-04-27 Edin Kadribasic * (PHP_5_2) main/php_version.h: Sync with configure.in 2007-04-27 Antony Dovgal * ext/gmp/tests/011.phpt ext/gmp/tests/016.phpt ext/gmp/tests/040.phpt: improve the tests * (PHP_5_2) ZendEngine2/zend_execute_API.c ZendEngine2/tests/bug41209.phpt: MFH: initialize retval_ptr_ptr before returning FAILURE this fixes invalid read in #41209 * ZendEngine2/zend_execute_API.c ZendEngine2/tests/bug41209.phpt ZendEngine2/tests/bug41209.phpt: initialize retval_ptr_ptr before returning FAILURE this fixes invalid read in #41209 2007-04-27 Uwe Schindler * (PHP_5_2) sapi/nsapi/nsapi.c: MFH: Fix crash on server startup when log message is printed * sapi/nsapi/nsapi.c: Fix crash on server startup when log message is printed 2007-04-26 Antony Dovgal * ext/filter/tests/010.phpt ext/filter/tests/011.phpt ext/filter/tests/bug7715.phpt ext/json/tests/bug40503.phpt ext/json/tests/pass001.1.phpt ext/json/tests/pass001.phpt ext/reflection/tests/bug29986.phpt ext/standard/tests/array/array_sum.phpt ext/standard/tests/array/bug41121.phpt ext/standard/tests/file/disk.phpt ext/standard/tests/math/constants.phpt ext/standard/tests/math/hexdec.phpt ext/standard/tests/serialize/bug31442.phpt ext/standard/tests/strings/printf.phpt: fix tests add test for yet not merged fix * ZendEngine2/tests/double_to_string.phpt ZendEngine2/tests/double_to_string.phpt ZendEngine2/tests/hex_overflow_32bit.phpt ZendEngine2/tests/hex_overflow_32bit.phpt ZendEngine2/tests/oct_overflow_32bit.phpt ZendEngine2/tests/oct_overflow_32bit.phpt ext/filter/tests/010.phpt ext/filter/tests/011.phpt ext/filter/tests/bug7715.phpt ext/json/tests/bug40503.phpt ext/json/tests/pass001.1.phpt ext/json/tests/pass001.phpt ext/reflection/tests/bug29986.phpt ext/standard/tests/array/array_sum.phpt ext/standard/tests/array/bug41121.phpt ext/standard/tests/file/disk.phpt ext/standard/tests/math/constants.phpt ext/standard/tests/math/hexdec.phpt ext/standard/tests/serialize/bug31442.phpt ext/standard/tests/strings/printf.phpt ext/standard/tests/strings/ucfirst.phpt: fix tests * ZendEngine2/zend_strtod.c: add Id tag 2007-04-26 Ilia Alshanetsky * (PHP_5_2) NEWS configure.in main/php_version.h: Back to dev * (PHP_5_2) NEWS configure.in main/php_version.h: 5.2.2RC2 2007-04-26 Antony Dovgal * ZendEngine2/zend.c ZendEngine2/zend.h: fix build on Tru64 2007-04-26 Andrei Zmievski * ZendEngine2/zend_language_parser.y: Set CG(literal_type) for backticks. 2007-04-26 Antony Dovgal * (PHP_5_2) NEWS ext/gmp/gmp.c ext/gmp/tests/011.phpt: MFH: add test & GMP_VERSION constant do not allow zero operand in gmp_divexact() 2007-04-26 Dmitry Stogov * ext/zlib/zlib_fopen_wrapper.c ext/zlib/zlib_fopen_wrapper.c: Prevent double close() of the same file handle 2007-04-26 Antony Dovgal * ZendEngine2/tests/bug35655.phpt: remove highlight.bg * php.ini-dist php.ini-recommended ext/standard/tests/strings/highlight_file.phpt main/main.c tests/strings/004.phpt tests/strings/bug26703.phpt: removed unused highlight.bg ini option 2007-04-26 Johannes Schlüter * tests/classes/bug26737.phpt: - Fix test 2007-04-25 Ilia Alshanetsky * (PHP_5_2) TODO-PHP5: Update TODO: filter extension was added 2007-04-25 Antony Dovgal * ext/gmp/gmp.c ext/gmp/tests/011.phpt: add GMP_VERSION constant add test do not allow zero operand in gmp_divexact() 2007-04-25 Dmitry Stogov * main/SAPI.c main/SAPI.c: ZTS fix 2007-04-25 Antony Dovgal * main/SAPI.c: MFB: Fix crashes when SAPI handlers are overriden in dl()-ed extensions * (PHP_5_2) main/SAPI.c: fix ZTS build 2007-04-25 Hannes Magnusson * main/php_ini.c: - Don't pick up php.ini from cwd on BSDs - "Resolve" (with the help of $PATH) to /path/to/php and pick up the php.ini from there * sapi/cli/php_cli.c: rename --ri core to --ri main 2007-04-25 Dmitry Stogov * (PHP_5_2) main/SAPI.c: Fixed crashes because of SAPI handlers overrding from inside of dl()-ed extensions 2007-04-25 Jani Taskinen * ext/pdo/.cvsignore ext/pdo/Makefile.frag ext/pdo/config.m4: > date: 2006/12/09 22:18:42; author: wez; state: Exp; lines: +14 -6 > merge PHP 5 pdo into HEAD. This source compiles on both PHP 5 and PHP 6. > If you're poking around in here, please make sure that any changes you make > compile on both PHP 5 and 6. Thanks! Same goes for Wez. :) (pecl build broken for pdo drivers) 2007-04-24 Ilia Alshanetsky * (PHP_5_2) ext/simplexml/simplexml.c: Fixed error message to reflect the check * (PHP_5_2) NEWS ext/simplexml/simplexml.c ext/simplexml/tests/bug41175.phpt ext/simplexml/tests/bug41175.phpt: Fixed bug #41175 (addAttribute() fails to add an attribute with an empty value). 2007-04-24 Jani Taskinen * (PHP_5_2) ext/gd/gd.c: - fix compile warning 2007-04-23 Hannes Magnusson * sapi/cli/php_cli.c: Add the ability to display the core ini entries via "php --ri core" 2007-04-23 Johannes Schlüter * run-tests.php: - Keep unicode.semantcis for SKIPIF * (PHP_5_2) sapi/cli/php.1.in: - MFH: Add my name (sync to CREDITS file) * sapi/cli/php.1.in: - Add my name (sync to CREDITS file) 2007-04-23 Marcus Boerger * sapi/cli/php.1.in sapi/cli/php_cli.c: - Rephrase as suggested by Chris Jones * sapi/cli/php.1.in sapi/cli/php_cli.c: - Add 'php --ini' to CLI which returns the INI file/dir configuration 2007-04-23 Hannes Magnusson * (PHP_5_2) ext/standard/http_fopen_wrapper.c: MFH: Plug leak when trying to write via the http wrapper * ext/standard/http_fopen_wrapper.c: Plug leak 2007-04-23 Ilia Alshanetsky * (PHP_5_2) NEWS: Bug fixing news 2007-04-23 Scott MacVicar * (PHP_5_2) ext/gd/libgd/gd.h ext/gd/libgd/gdft.c: MFH: Fixed bug #40130 (TTF usage doesn't work properly under Netware). * ext/gd/libgd/gd.h ext/gd/libgd/gdft.c: Fixed bug #40130 (TTF usage doesn't work properly under Netware) 2007-04-23 Antony Dovgal * NEWS ext/gmp/gmp.c ext/gmp/php_gmp.h ext/gmp/tests/039.phpt: [DOC] add gmp_testbit() function tests if the specified bit is set and returns false/true * (PHP_5_2) ext/curl/interface.c: MFH: add CURLOPT_FTP_CREATE_MISSING_DIRS * ext/curl/interface.c: add CURLOPT_FTP_CREATE_MISSING_DIRS 2007-04-23 Ilia Alshanetsky * (PHP_5_2) NEWS: Order by bug id 2007-04-23 Antony Dovgal * run-tests.php: there are definitely no problems found if all tests passed * sapi/cgi/getopt.c sapi/cli/getopt.c: fix long options * ext/json/json.c ext/json/tests/002.phpt ext/json/tests/bug41034.phpt ext/json/tests/bug41067.phpt: MFB fix for #41034 add missing tests 2007-04-23 Dmitry Stogov * ext/standard/var.c ext/standard/var.c: 64-bit support * ZendEngine2/zend_operators.c ZendEngine2/zend_operators.c: WIN64 support 2007-04-23 Antony Dovgal * ext/pcre/php_pcre.c ext/pcre/php_pcre.c: fix folding * (PHP_5_2) NEWS ext/mysql/php_mysql.c ext/mysql/php_mysql.c ext/mysqli/mysqli_nonapi.c ext/mysqli/mysqli_nonapi.c: revert 2007-04-22 Antony Dovgal * (PHP_5_2) NEWS: BFN * (PHP_5_2) ZendEngine2/zend_language_scanner.l ZendEngine2/zend_strtod.c ZendEngine2/zend_strtod.h ZendEngine2/tests/hex_overflow_32bit.phpt ZendEngine2/tests/oct_overflow_32bit.phpt: MFH: fix #41118 (PHP does not handle overflow of octal integers) * ext/standard/tests/strings/printf.phpt ext/standard/tests/strings/str_pad.phpt ext/standard/tests/strings/strlen.phpt: fix tests * ext/standard/string.c: fix [l]trim() in unicode mode 2007-04-22 Marcus Boerger * ext/spl/spl.php ext/spl/examples/callbackfilteriterator.inc: - Update docu * (PHP_5_2) NEWS: - BFN * sapi/cli/tests/003-2.phpt sapi/cli/tests/003-2.phpt: - Add new test * sapi/cgi/getopt.c sapi/cli/getopt.c: - Merge getopt fixes from re2c 2007-04-22 Ilia Alshanetsky * (PHP_5_2) NEWS ext/mysql/php_mysql.c: Fixed bug #41159 (mysql_pconnect() hash does not account for connect flags). 2007-04-22 Dmitry Stogov * win32/registry.c win32/registry.c: Fixed buffer overflow * (PHP_5_2) ext/soap/tests/interop/Round3/GroupD/r3_groupD_compound2_001w.phpt: Fixed test 2007-04-21 Johannes Schlüter * ext/standard/tests/strings/ucfirst.phpt: - Fix test 2007-04-20 Antony Dovgal * ext/standard/tests/strings/fprintf.phpt: open the file in text mode and avoid downcoding * ext/gd/tests/createfromwbmp2.phpt: avoid 10 000 warnings * ext/date/tests/010.phpt ext/date/tests/date_parse_001.phpt ext/date/tests/date_sun_info_001.phpt ext/standard/tests/array/array_merge.phpt ext/standard/tests/array/array_push.phpt ext/standard/tests/array/array_slice.phpt ext/standard/tests/array/array_user_key_compare.phpt ext/standard/tests/array/count_recursive.phpt ext/standard/tests/strings/ltrim.phpt ext/standard/tests/strings/rtrim.phpt ext/standard/tests/strings/str_pad.phpt ext/standard/tests/strings/strcasecmp.phpt ext/standard/tests/strings/strcmp.phpt ext/standard/tests/strings/strlen.phpt ext/standard/tests/strings/substr_compare.phpt ext/standard/tests/strings/ucfirst1.phpt: fix tests * ext/date/php_date.c: fix timezone_abbreviations_list() in unicode mode * (PHP_5_2) ext/standard/tests/array/bug41121.phpt: make this test 32bit only 2007-04-20 Nuno Lopes * (PHP_5_2) ext/pdo_sqlite/sqlite/src/parse.c: fix gcov build * (PHP_4_4) INSTALL INSTALL win32/install.txt win32/install.txt: update install instructions (auto-generated from phpdoc XML sources) 2007-04-20 Antony Dovgal * (PHP_5_2) ext/json/tests/pass001.1.phpt: apply correct fix * (PHP_5_2) ZendEngine2/tests/double_to_string_64bit.phpt: new test * ZendEngine2/tests/double_to_string_64bit.phpt ZendEngine2/tests/double_to_string_64bit.phpt: new test * EXTENSIONS: update ext/gmp status and maintainers * ext/filter/tests/bug7715.phpt ext/filter/tests/bug7715.phpt ext/json/tests/pass001.1.phpt ext/json/tests/pass001.1.phpt ext/libxml/tests/003.phpt: fix test * ZendEngine2/tests/double_to_string.phpt: this test is for 32bit 2007-04-19 Ilia Alshanetsky * ext/standard/tests/array/bug41121.phpt ext/standard/tests/array/bug41121.phpt: file bug41121.phpt was initially added on branch PHP_5_2. * (PHP_5_2) NEWS ext/standard/array.c: Fixed bug #41121 (range() overflow handling for large numbers on 32bit machines). * ext/json/JSON_parser.c: MFB: Fixed bug #41067 (json_encode() problem with UTF-16 input). 2007-04-19 Andrei Zmievski * ZendEngine2/zend_unicode.c: Use ZEND_U_CONVERTER(). 2007-04-19 Antony Dovgal * ZendEngine2/zend_language_scanner.l ZendEngine2/zend_operators.h ZendEngine2/zend_strtod.c ZendEngine2/zend_strtod.h ZendEngine2/tests/hex_overflow_32bit.phpt ZendEngine2/tests/oct_overflow_32bit.phpt: fix #41118 (PHP does not handle overflow of octal integers) MFB a small part of optimization patch applied only to 5_2 2007-04-19 Andrey Hristov * ext/mysqli/CREDITS: The right place to edit * (PHP_5_2) ext/mysqli/CREDITS: Hmm, the right place to edit * ext/standard/credits_ext.h: Update credits line * (PHP_5_2) ext/standard/credits_ext.h: Update credits 2007-04-19 Antony Dovgal * ext/gmp/gmp.c ext/gmp/tests/022.phpt: fix gmp_gcdext() in Unicode mode * (PHP_5_2) ZendEngine2/zend_strtod.c ZendEngine2/tests/double_to_string.phpt: fix double-to-string conversion utils * ZendEngine2/zend_operators.c ZendEngine2/zend_strtod.c ZendEngine2/tests/double_to_string.phpt ZendEngine2/tests/double_to_string.phpt: fix & unify double-to-string conversion utils 2007-04-19 Dmitry Stogov * sapi/cli/tests/009.phpt sapi/cli/tests/009.phpt sapi/cli/tests/011.phpt sapi/cli/tests/011.phpt sapi/cli/tests/012.phpt sapi/cli/tests/012.phpt sapi/cli/tests/014.phpt sapi/cli/tests/014.phpt sapi/cli/tests/015.phpt sapi/cli/tests/015.phpt: Fixed tests 2007-04-19 Sascha Schumann * ext/sqlite/config.m4 ext/sqlite/config.m4: - fix vpath build 2007-04-18 Ilia Alshanetsky * (PHP_5_2) NEWS ext/pdo_sqlite/sqlite/VERSION ext/pdo_sqlite/sqlite/src/btree.c ext/pdo_sqlite/sqlite/src/build.c ext/pdo_sqlite/sqlite/src/callback.c ext/pdo_sqlite/sqlite/src/delete.c ext/pdo_sqlite/sqlite/src/expr.c ext/pdo_sqlite/sqlite/src/func.c ext/pdo_sqlite/sqlite/src/insert.c ext/pdo_sqlite/sqlite/src/keywordhash.h ext/pdo_sqlite/sqlite/src/main.c ext/pdo_sqlite/sqlite/src/os_common.h ext/pdo_sqlite/sqlite/src/os_win.c ext/pdo_sqlite/sqlite/src/pager.c ext/pdo_sqlite/sqlite/src/pager.h ext/pdo_sqlite/sqlite/src/parse.y ext/pdo_sqlite/sqlite/src/select.c ext/pdo_sqlite/sqlite/src/sqliteInt.h ext/pdo_sqlite/sqlite/src/test1.c ext/pdo_sqlite/sqlite/src/tokenize.c ext/pdo_sqlite/sqlite/src/vdbe.c ext/pdo_sqlite/sqlite/src/vdbeaux.c ext/pdo_sqlite/sqlite/src/vtab.c: Upgraded SQLite 3 to version 3.3.16 2007-04-18 Antony Dovgal * (PHP_5_2) ext/gmp/tests/012.phpt ext/gmp/tests/013.phpt ext/gmp/tests/014.phpt ext/gmp/tests/015.phpt ext/gmp/tests/016.phpt ext/gmp/tests/017.phpt ext/gmp/tests/018.phpt ext/gmp/tests/019.phpt ext/gmp/tests/020.phpt ext/gmp/tests/021.phpt ext/gmp/tests/022.phpt ext/gmp/tests/023.phpt ext/gmp/tests/024.phpt ext/gmp/tests/025.phpt ext/gmp/tests/026.phpt ext/gmp/tests/027.phpt ext/gmp/tests/028.phpt ext/gmp/tests/029.phpt ext/gmp/tests/030.phpt ext/gmp/tests/031.phpt ext/gmp/tests/032.phpt ext/gmp/tests/033.phpt ext/gmp/tests/034.phpt ext/gmp/tests/035.phpt ext/gmp/tests/036.phpt ext/gmp/tests/037.phpt ext/gmp/tests/038.phpt: new tests for ext/gmp * ext/gmp/tests/005.phpt ext/gmp/tests/012.phpt ext/gmp/tests/012.phpt ext/gmp/tests/013.phpt ext/gmp/tests/013.phpt ext/gmp/tests/014.phpt ext/gmp/tests/014.phpt ext/gmp/tests/015.phpt ext/gmp/tests/015.phpt ext/gmp/tests/016.phpt ext/gmp/tests/016.phpt ext/gmp/tests/017.phpt ext/gmp/tests/017.phpt ext/gmp/tests/018.phpt ext/gmp/tests/018.phpt ext/gmp/tests/019.phpt ext/gmp/tests/019.phpt ext/gmp/tests/020.phpt ext/gmp/tests/020.phpt ext/gmp/tests/021.phpt ext/gmp/tests/021.phpt ext/gmp/tests/022.phpt ext/gmp/tests/022.phpt ext/gmp/tests/023.phpt ext/gmp/tests/023.phpt ext/gmp/tests/024.phpt ext/gmp/tests/024.phpt ext/gmp/tests/025.phpt ext/gmp/tests/025.phpt ext/gmp/tests/026.phpt ext/gmp/tests/026.phpt ext/gmp/tests/027.phpt ext/gmp/tests/027.phpt ext/gmp/tests/028.phpt ext/gmp/tests/028.phpt ext/gmp/tests/029.phpt ext/gmp/tests/029.phpt ext/gmp/tests/030.phpt ext/gmp/tests/030.phpt ext/gmp/tests/031.phpt ext/gmp/tests/031.phpt ext/gmp/tests/032.phpt ext/gmp/tests/032.phpt ext/gmp/tests/033.phpt ext/gmp/tests/033.phpt ext/gmp/tests/034.phpt ext/gmp/tests/034.phpt ext/gmp/tests/035.phpt ext/gmp/tests/035.phpt ext/gmp/tests/036.phpt ext/gmp/tests/036.phpt ext/gmp/tests/037.phpt ext/gmp/tests/037.phpt ext/gmp/tests/038.phpt ext/gmp/tests/038.phpt: add new tests for ext/gmp * ext/gmp/gmp.c: same for gmp_scan*() * ext/gmp/gmp.c: do not allow negative byte index tests will follow soon 2007-04-18 Michael Wallner * NEWS ext/zlib/zlib.c: - fixed bug #40325 (Vary: header missing in gzip output handlers); no MFH [DOC] since PHP 6 a Vary header will be sent without regards to whether the negotiation was successful or not and unless the complete output buffer gets discarded 2007-04-18 Dmitry Stogov * main/streams/plain_wrapper.c main/streams/plain_wrapper.c: Fixed crash on win32 in case of negative size * main/streams/plain_wrapper.c main/streams/plain_wrapper.c: Fixed crash * main/fopen_wrappers.c main/fopen_wrappers.c: Fixed endless loop in open_basedir check 2007-04-18 Antony Dovgal * (PHP_5_2) EXTENSIONS: update to reflect current status * EXTENSIONS: update EXTENSIONS file: - drop extensions which have been moved to PECL - add pdo*, zip, xmlreader, xmlwriter, json - update maintainers lists and statuses to reflect current situation 2007-04-18 Rob Richards * ext/standard/config.w32 main/main.c win32/build/config.w32: MFB: add file locking under windows change win build to use common clock compat files * (PHP_5_2) ext/standard/config.w32 main/main.c win32/build/config.w32: add file locking under windows change win build to use common clock compat files 2007-04-18 Dmitry Stogov * ext/spl/tests/iterator_044.phpt: Fixed test 2007-04-18 Antony Dovgal * ext/hash/tests/hmac-md5.phpt tests/output/ob_010.phpt tests/output/ob_011.phpt: more test fixes * (PHP_5_2) ext/dba/tests/dba007.phpt ext/mcrypt/tests/bug35496.phpt ext/pdo_mysql/tests/bug_37445.phpt ext/spl/tests/iterator_044.phpt tests/classes/abstract_static.phpt: win32 test fixes 2007-04-18 Dmitry Stogov * ext/filter/tests/007.phpt ext/filter/tests/007.phpt ext/filter/tests/011.phpt ext/filter/tests/011.phpt ext/standard/tests/file/bug22414.phpt ext/standard/tests/file/bug22414.phpt ext/standard/tests/file/bug24313.phpt ext/standard/tests/file/bug24313.phpt ext/standard/tests/file/bug26615.phpt ext/standard/tests/file/bug26615.phpt ext/standard/tests/file/bug26938.phpt ext/standard/tests/file/bug26938.phpt ext/standard/tests/file/bug39367.phpt ext/standard/tests/file/bug39367.phpt ext/standard/tests/file/mkdir-002.phpt ext/standard/tests/file/mkdir-002.phpt ext/standard/tests/file/stream_001.phpt ext/standard/tests/file/stream_001.phpt ext/standard/tests/strings/pathinfo.phpt ext/standard/tests/strings/pathinfo.phpt ext/standard/tests/time/bug38524.phpt ext/standard/tests/time/bug38524.phpt: Fixed tests (win32) 2007-04-17 Antony Dovgal * (PHP_5_2) ext/standard/basic_functions.c ext/standard/tests/general_functions/putenv.phpt: MFH: fix putenv("var") (i.e. unset) on BSD systems add test * ext/standard/basic_functions.c ext/standard/tests/general_functions/putenv.phpt ext/standard/tests/general_functions/putenv.phpt: fix putenv("var") (i.e. unset) on BSD systems add test * sapi/cgi/tests/006.phpt sapi/cgi/tests/006.phpt: fix test 2007-04-17 Jani Taskinen * sapi/cgi/cgi_main.c: MFB:- Fix a possible leak when multiple -c parameters are used * (PHP_5_2) sapi/cgi/cgi_main.c sapi/cli/php_cli.c: - Fix a possible leak when multiple -c parameters are used 2007-04-17 Antony Dovgal * (PHP_5_2) sapi/cgi/tests/.cvsignore: add .cvsignore * sapi/cgi/tests/.cvsignore sapi/cgi/tests/.cvsignore: add .cvsignore * run-tests.php run-tests.php sapi/cgi/tests/001.phpt sapi/cgi/tests/001.phpt sapi/cgi/tests/001.phpt sapi/cgi/tests/002.phpt sapi/cgi/tests/002.phpt sapi/cgi/tests/002.phpt sapi/cgi/tests/003.phpt sapi/cgi/tests/003.phpt sapi/cgi/tests/003.phpt sapi/cgi/tests/004.phpt sapi/cgi/tests/004.phpt sapi/cgi/tests/004.phpt sapi/cgi/tests/005.phpt sapi/cgi/tests/005.phpt sapi/cgi/tests/005.phpt sapi/cgi/tests/006.phpt sapi/cgi/tests/006.phpt sapi/cgi/tests/006.phpt sapi/cgi/tests/007.phpt sapi/cgi/tests/007.phpt sapi/cgi/tests/007.phpt sapi/cgi/tests/008.phpt sapi/cgi/tests/008.phpt sapi/cgi/tests/008.phpt sapi/cgi/tests/include.inc sapi/cgi/tests/include.inc sapi/cgi/tests/include.inc sapi/cgi/tests/skipif.inc sapi/cgi/tests/skipif.inc sapi/cgi/tests/skipif.inc: add tests for CGI 2007-04-17 Jani Taskinen * sapi/cli/php_cli.c: MFB 2007-04-17 Antony Dovgal * (PHP_5_2) sapi/cgi/cgi_main.c: MFH: fix leak appearing when more than one -f option specified * sapi/cgi/cgi_main.c: fix leak appearing when more than one -f option specified 2007-04-17 Sara Golemon * ext/curl/interface.c: Add support for CURLOPT_TIMEOUT_MS and CURLOPT_CONNECTTIMEOUT_MS 2007-04-17 Antony Dovgal * (PHP_5_2) ext/pdo/pdo_stmt.c: fix leaks in row_get_properties() thanks to Kellen Bombardier for noticing 2007-04-17 Hannes Magnusson * ext/gd/gd.c ext/gd/gd.c: Fix proto 2007-04-17 Pierre-Alain Joye * (PHP_5_2) ext/gd/gd.c: - INFO_EX not INFO * ext/gd/gd.c: - +ZEND_BEGIN_ARG_INFO_EX not _INFO (thx bjori) * (PHP_5_2) NEWS: - imagegrab* entry * (PHP_5_2) ext/gd/config.w32 ext/gd/gd.c ext/gd/php_gd.h: - MFH: add imagegrabwindow and imagegrabscreen (win32 only) [DOC] capture a window using its handle or a full screen 2007-04-17 Ilia Alshanetsky * (PHP_5_2) ext/pdo_pgsql/pgsql_statement.c: Separate parm zval. 2007-04-17 Pierre-Alain Joye * ext/gd/gd.c: - fix arginfo * ext/gd/config.w32 ext/gd/gd.c ext/gd/php_gd.h: - add imagegrabwindow and imagegrabscreen (win32 only) capture a window using its handle or a full screen optional bbox and to/from clipboard will follow shortly 2007-04-17 Ilia Alshanetsky * (PHP_5_2) main/php_variables.c: Fixed bug #41093 (magic_quotes_gpc ignores first arrays keys). 2007-04-17 Zoe Slattery * ext/standard/tests/strings/ltrim.phpt: Updated testcase ltrim() 2007-04-17 Marcus Boerger * (PHP_5_2) NEWS ext/spl/spl.php ext/spl/internal/recursiveiterator.inc ext/spl/internal/seekableiterator.inc: - MFH Fix #41109: recursiveiterator.inc says 'implements' Iterator instead of 'extends' * ext/spl/spl.php ext/spl/internal/recursiveiterator.inc ext/spl/internal/seekableiterator.inc: - Fix #41109: recursiveiterator.inc says 'implements' Iterator instead of 'extends' 2007-04-17 Dmitry Stogov * TSRM/TSRM.h TSRM/TSRM.h ZendEngine2/zend_types.h ZendEngine2/zend_types.h: typo 2007-04-16 Ilia Alshanetsky * (PHP_5_2) NEWS ext/json/JSON_parser.c ext/json/tests/bug41067.phpt ext/json/tests/bug41067.phpt: Fixed bug #41067 (json_encode() problem with UTF-16 input). 2007-04-16 Jani Taskinen * (PHP_4_4) build/shtool: MF52:- Updated bundled shtool to 2.0.6 and added "platform" command in it. * build/shtool: MFB:- Updated bundled shtool to 2.0.6 and added "platform" command in it. * (PHP_5_2) build/shtool: - Updated bundled shtool to 2.0.6 and added "platform" command in it. 2007-04-16 Johannes Schlüter * ZendEngine2/zend_API.c: - Fix zend_parse_parameters_ex() for format specifiers like "+f", like multiple values followed by forced parameters. Fixes tests like ext/standard/tests/array/007.phpt and others 2007-04-16 Andrei Zmievski * ext/json/JSON_parser.c ext/json/json.c: MFB (handling of control characters) 2007-04-16 Antony Dovgal * ext/standard/head.c: MFB use strlcat() fix buffer overrun & bug #41101 2007-04-16 Dmitry Stogov * TSRM/TSRM.h TSRM/TSRM.h TSRM/tsrm_win32.c TSRM/tsrm_win32.c ZendEngine2/zend_API.c ZendEngine2/zend_API.c ZendEngine2/zend_API.h ZendEngine2/zend_API.h ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.c ZendEngine2/zend_builtin_functions.c ZendEngine2/zend_builtin_functions.c ZendEngine2/zend_compile.c ZendEngine2/zend_compile.c ZendEngine2/zend_execute.c ZendEngine2/zend_execute.c ZendEngine2/zend_execute.h ZendEngine2/zend_execute.h ZendEngine2/zend_execute_API.c ZendEngine2/zend_execute_API.c ZendEngine2/zend_ini.c ZendEngine2/zend_ini.c ZendEngine2/zend_opcode.c ZendEngine2/zend_opcode.c ZendEngine2/zend_types.h ZendEngine2/zend_types.h ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h ZendEngine2/zend_vm_execute.h ext/standard/file.c ext/standard/ftp_fopen_wrapper.c ext/standard/proc_open.c ext/standard/proc_open.c main/SAPI.c main/SAPI.c main/main.c main/main.c main/php_ini.c main/php_ini.c main/streams/plain_wrapper.c main/streams/plain_wrapper.c win32/select.c win32/select.c win32/build/config.w32 win32/build/config.w32: WIN64 support 2007-04-16 Antony Dovgal * (PHP_5_2) ext/json/tests/bug41034.phpt ext/standard/tests/general_functions/highlight_heredoc.phpt ext/standard/tests/general_functions/highlight_heredoc.phpt: fix test 2007-04-16 Brian Shire * (PHP_5_2) main/output.c: fix fold typo 2007-04-15 Jani Taskinen * sapi/cgi/cgi_main.c: MFB: Allow using syntax highlighting in fastcgi mode * sapi/cgi/getopt.c sapi/cgi/php_getopt.h: MFB: sync getopt from CLI * (PHP_5_2) sapi/cgi/cgi_main.c: - Allow using syntax highlighting under FastCGI mode. * (PHP_5_2) sapi/cgi/getopt.c sapi/cgi/php_getopt.h: - Synch these files from sapi/cli/ and allow using s.c. long-options with CGI. 2007-04-15 Ilia Alshanetsky * (PHP_5_2) NEWS ext/pdo_mysql/mysql_statement.c: Fixed bug #40935 (pdo_mysql does not raise an exception on empty fetchAll()). 2007-04-14 Pierre-Alain Joye * (PHP_5_2) NEWS: - add reference to the initial report (helps the packager) * (PHP_4_4) NEWS NEWS ext/gd/libgd/gd.c ext/gd/libgd/gd.c: - MFH: libgd #74, gdImageFilledArc, huge CPU usage with large angles * ext/gd/libgd/gd.c: - libgd #74, gdImageFilledArc, huge CPU usage with large angles 2007-04-14 Marcus Boerger * ext/dba/libcdb/cdb.c: - Fix warning 2007-04-14 Antony Dovgal * ext/mysqli/mysqli_api.c ext/mysqli/mysqli_nonapi.c: use default socket (removed by mistake?) * ext/mysqli/mysqli_nonapi.c: set MYSQL_OPT_RECONNECT (see bug #41083) * (PHP_5_2) NEWS ext/mysql/php_mysql.c: MFH: fix #41083 (mysql_ping() requires MYSQL_OPT_RECONNECT to be set since MySQL 5.0.13) * ext/mysql/php_mysql.c: fix #41083 (mysql_ping() requires MYSQL_OPT_RECONNECT to be set since MySQL 5.0.13) 2007-04-13 Andrei Zmievski * (PHP_5_2) ext/json/JSON_parser.c ext/json/json.c: Fix processing of control characters; they should be escaped as \u sequences. 2007-04-13 Derick Rethans * ext/date/lib/timezonedb.h: - MFB: Updated timezone database to version 2007.5. (Derick) * (PHP_5_2) NEWS ext/date/lib/timezonedb.h: - Updated timezone database to version 2007.5. (Derick) 2007-04-13 Antony Dovgal * (PHP_5_2) NEWS: BFN * ZendEngine2/zend_execute.c ZendEngine2/zend_execute.c: fix #41075 (memleak when creating default object caused exception) 2007-04-13 Derick Rethans * ext/date/php_date.c: - MFB: Fixed bug #39416 (Milliseconds in date()). * (PHP_5_2) NEWS ext/date/php_date.c: - Fixed bug #39416 (Milliseconds in date()). 2007-04-13 Antony Dovgal * ZendEngine2/tests/bug41075.phpt: add UEXPECTF * (PHP_5_2) ZendEngine2/tests/bug41075.phpt: add new test * ZendEngine2/tests/bug41075.phpt ZendEngine2/tests/bug41075.phpt: new test * (PHP_5_2) sapi/cli/tests/004.phpt sapi/cli/tests/006.phpt: fix tests 2007-04-13 Derick Rethans * ext/date/php_date.c ext/date/tests/date_sun_info_001.phpt: - MFB: Fixed bug #39965 (Latitude and longitude are backwards in date_sun_info()). * (PHP_5_2) NEWS ext/date/php_date.c ext/date/tests/date_sun_info_001.phpt ext/date/tests/date_sun_info_002.phpt ext/date/tests/date_sun_info_002.phpt: - Fixed bug #39965 (Latitude and longitude are backwards in date_sun_info()). * ext/date/lib/parse_date.c ext/date/lib/parse_date.re: - MFB: Fixed bug #40290 (strtotime() returns unexpected result with particular timezone offset). * (PHP_5_2) NEWS ext/date/lib/parse_date.c ext/date/lib/parse_date.re: - Fixed bug #40290 (strtotime() returns unexpected result with particular timezone offset). 2007-04-13 Brian Shire * ext/standard/tests/strings/pack.phpt: MFB: reverting incorrect changes to pack test * (PHP_5_2) ext/standard/tests/strings/pack.phpt: reverting incorrect changes to pack test 2007-04-13 Stanislav Malyshev * (PHP_4_4) NEWS: fix for #38236 * (PHP_4_4) main/php_variables.c main/rfc1867.c: fix for #38236 (patch by ass3mbler@gmail.com) 2007-04-12 Antony Dovgal * (PHP_5_2) main/snprintf.c: MFH: add support for %I64(u|d) to sprintf() utilities * main/snprintf.c: add support for %I64(u|d) to sprintf() utilities 2007-04-12 Ilia Alshanetsky * (PHP_5_2) NEWS ext/json/json.c ext/json/tests/002.phpt ext/json/tests/bug41034.phpt ext/json/tests/bug41034.phpt: Fixed bug #41034 (json_encode() ignores null byte started keys in arrays) 2007-04-12 Johannes Schlüter * (PHP_5_2) NEWS ext/reflection/php_reflection.c ext/reflection/tests/bug41061.phpt: - Fix bug #41061 ("visibility error" in ReflectionFunction::export()) * ext/reflection/tests/bug41061.phpt ext/reflection/tests/bug41061.phpt: - Add test 2007-04-12 Dmitry Stogov * (PHP_5_2) NEWS TSRM/tsrm_virtual_cwd.c TSRM/tsrm_virtual_cwd.c: Fixed bug #41063 (chdir doesn't like root paths). 2007-04-12 Antony Dovgal * run-tests.php: bail out if unicode.semantics is On (stream_select() is unable to cast Unicode streams to FDs) check stream_select() return value correctly and avoid endless loop * ext/standard/streamsfuncs.c: return success only if succeeded casting at least one stream to fd * ext/reflection/tests/009.phpt ext/reflection/tests/010.phpt ext/reflection/tests/011.phpt ext/reflection/tests/012.phpt ext/reflection/tests/013.phpt ext/reflection/tests/014.phpt ext/reflection/tests/015.phpt ext/reflection/tests/016.phpt ext/reflection/tests/017.phpt ext/reflection/tests/018.phpt ext/reflection/tests/019.phpt ext/reflection/tests/020.phpt ext/reflection/tests/021.phpt ext/reflection/tests/022.phpt ext/reflection/tests/023.phpt ext/reflection/tests/024.phpt ext/reflection/tests/025.phpt ext/reflection/tests/bug37816.phpt ext/reflection/tests/bug38217.phpt ext/reflection/tests/bug38653.phpt ext/reflection/tests/bug38942.phpt ext/reflection/tests/bug39001.phpt ext/reflection/tests/bug39067.phpt ext/reflection/tests/bug39884.phpt ext/reflection/tests/bug40431.phpt: add new test and SKIPIF sections * php.ini-dist php.ini-recommended: swap the options * (PHP_5_2) ext/reflection/tests/008.phpt ext/reflection/tests/009.phpt ext/reflection/tests/bug37816.phpt ext/reflection/tests/bug38217.phpt ext/reflection/tests/bug38653.phpt ext/reflection/tests/bug38942.phpt ext/reflection/tests/bug39001.phpt ext/reflection/tests/bug39067.phpt ext/reflection/tests/bug39884.phpt ext/reflection/tests/bug40431.phpt: add missing SKIPIF sections * (PHP_5_2) ext/reflection/tests/009.phpt: add new test * php.ini-dist php.ini-recommended: add short descriptions for PCRE ini options 2007-04-11 Antony Dovgal * ZendEngine2/tests/bug40770.phpt ext/date/tests/bug35885.phpt: MFB * (PHP_5_2) ZendEngine2/tests/bug40770.phpt ext/date/tests/bug35885.phpt: minor improvement * ext/soap/tests/bugs/bug34657.phpt ext/soap/tests/bugs/bug34657.phpt: improve test * Makefile.global: we don't ship libmysql anymore, so there is no need for this message 2007-04-11 Derick Rethans * (PHP_5_2) NEWS ext/date/lib/parse_date.c ext/date/lib/parse_date.re ext/date/tests/bug40861.phpt: - MFH: Fixed bug #40861 (strtotime() doesn't handle double negative relative time units correctly). * ext/date/lib/parse_date.c ext/date/lib/parse_date.re ext/date/tests/bug40861.phpt: - Fixed bug #40861 (strtotime() doesn't handle double negative relative time units correctly). 2007-04-11 Pierre-Alain Joye * ext/gd/config.w32: - add HAVE_GD_FONTMUTEX and HAVE_GD_FONTCACHESHUTDOWN to win32 build 2007-04-11 Zoe Slattery * ext/standard/tests/array/array_merge.phpt ext/standard/tests/array/array_push.phpt ext/standard/tests/array/count_recursive.phpt ext/standard/tests/strings/fprintf.phpt ext/standard/tests/strings/md5.phpt: new tests: array_merge, array_push, fprintf. modified tests: count_recursive, md5. 2007-04-11 Pierre-Alain Joye * (PHP_5_2) ext/gd/config.w32: - add HAVE_GD_FONTCACHESHUTDOWN to w32 build script (always here) 2007-04-11 Scott MacVicar * ext/gd/config.m4: fix #41048 (PHP6 Segmentation fault issue) 2007-04-11 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: - 4.4.7RC1. 2007-04-10 Andrei Zmievski * ext/unicode/collator.c: Wrong locale name. 2007-04-10 Ilia Alshanetsky * (PHP_5_2) NEWS configure.in main/php_version.h: Back to dev 2007-04-10 Antony Dovgal * main/fopen_wrappers.c: MFB: fix #40931 (open_basedir bypass via symlink and move_uploaded_file()) 2007-04-10 Ilia Alshanetsky * (PHP_5_2) NEWS configure.in main/php_version.h: 5.2.2RC1 2007-04-10 Antony Dovgal * (PHP_5_2) NEWS main/fopen_wrappers.c: fix #40931 (open_basedir bypass via symlink and move_uploaded_file()) * (PHP_5_2) ext/soap/tests/bugs/bug34657.phpt: skip test if openssl is present * ext/soap/tests/bugs/bug34657.phpt: skip test if openssl is present in this case the error messages are different * ext/standard/tests/network/inet_ipv6.phpt ext/standard/tests/network/inet_ipv6.phpt: skip this test on MacOS * (PHP_5_2) ext/standard/tests/general_functions/bug40398.phpt: fix test name * (PHP_5_2) NEWS ext/pdo_oci/oci_driver.c: fix #41043 (pdo_oci crash when freeing error text with persistent connection) 2007-04-10 Marcus Boerger * ext/sybase_ct/php_sybase_ct.c: - MFB Synch * (PHP_5_2) ext/sybase_ct/php_sybase_ct.c: - WS/CS * (PHP_5_2) ext/sybase_ct/php_sybase_ct.c: - Cleanup the cleanup 2007-04-10 Antony Dovgal * (PHP_5_2) ext/pdo_sqlite/config.m4: declare THREADSAFE explicitly (it's On if undefined) 2007-04-10 Jani Taskinen * ZendEngine2/zend_multiply.h: MFB:- Fixed ZEND_SIGNED_MULTIPLY_LONG() so that ext/filter/tests/046.phpt wont fail. (Integer overflow) * (PHP_5_2) ZendEngine2/zend_multiply.h: - Fixed ZEND_SIGNED_MULTIPLY_LONG() so that ext/filter/tests/046.phpt wont fail. (Integer overflow) 2007-04-10 Antony Dovgal * ext/tokenizer/tests/002.phpt ext/tokenizer/tests/002.phpt: fix test * (PHP_5_2) NEWS ext/standard/basic_functions.c ext/standard/tests/general_functions/bug41037.phpt: MFH: fix #41037 (unregister_tick_function() inside the tick function crash PHP) * ext/standard/basic_functions.c ext/standard/tests/general_functions/bug41037.phpt ext/standard/tests/general_functions/bug41037.phpt: fix #41037 (unregister_tick_function() inside the tick function crash PHP) * ext/pdo_mysql/mysql_statement.c: MFB 2007-04-10 Dmitry Stogov * win32/build/config.w32 win32/build/config.w32 win32/build/config.w32.h.in win32/build/config.w32.h.in: Initial WIN64 support 2007-04-09 Antony Dovgal * (PHP_5_2) ext/standard/formatted_print.c: fix folding tags 2007-04-09 Jani Taskinen * (PHP_5_2) ext/standard/tests/file/disk.phpt: Fix test 2007-04-09 Ilia Alshanetsky * (PHP_5_2) NEWS ext/pdo_sqlite/sqlite/VERSION ext/pdo_sqlite/sqlite/src/analyze.c ext/pdo_sqlite/sqlite/src/attach.c ext/pdo_sqlite/sqlite/src/btree.c ext/pdo_sqlite/sqlite/src/btree.h ext/pdo_sqlite/sqlite/src/build.c ext/pdo_sqlite/sqlite/src/date.c ext/pdo_sqlite/sqlite/src/expr.c ext/pdo_sqlite/sqlite/src/func.c ext/pdo_sqlite/sqlite/src/hash.c ext/pdo_sqlite/sqlite/src/insert.c ext/pdo_sqlite/sqlite/src/keywordhash.h ext/pdo_sqlite/sqlite/src/loadext.c ext/pdo_sqlite/sqlite/src/main.c ext/pdo_sqlite/sqlite/src/opcodes.c ext/pdo_sqlite/sqlite/src/opcodes.h ext/pdo_sqlite/sqlite/src/os.c ext/pdo_sqlite/sqlite/src/os.h ext/pdo_sqlite/sqlite/src/os_common.h ext/pdo_sqlite/sqlite/src/os_unix.c ext/pdo_sqlite/sqlite/src/os_win.c ext/pdo_sqlite/sqlite/src/pager.c ext/pdo_sqlite/sqlite/src/pager.h ext/pdo_sqlite/sqlite/src/parse.c ext/pdo_sqlite/sqlite/src/parse.h ext/pdo_sqlite/sqlite/src/parse.y ext/pdo_sqlite/sqlite/src/pragma.c ext/pdo_sqlite/sqlite/src/prepare.c ext/pdo_sqlite/sqlite/src/printf.c ext/pdo_sqlite/sqlite/src/select.c ext/pdo_sqlite/sqlite/src/shell.c ext/pdo_sqlite/sqlite/src/sqlite.h.in ext/pdo_sqlite/sqlite/src/sqlite3ext.h ext/pdo_sqlite/sqlite/src/sqliteInt.h ext/pdo_sqlite/sqlite/src/tclsqlite.c ext/pdo_sqlite/sqlite/src/test1.c ext/pdo_sqlite/sqlite/src/test2.c ext/pdo_sqlite/sqlite/src/test3.c ext/pdo_sqlite/sqlite/src/trigger.c ext/pdo_sqlite/sqlite/src/update.c ext/pdo_sqlite/sqlite/src/utf.c ext/pdo_sqlite/sqlite/src/util.c ext/pdo_sqlite/sqlite/src/vacuum.c ext/pdo_sqlite/sqlite/src/vdbe.c ext/pdo_sqlite/sqlite/src/vdbeInt.h ext/pdo_sqlite/sqlite/src/vdbeapi.c ext/pdo_sqlite/sqlite/src/vdbeaux.c ext/pdo_sqlite/sqlite/src/vdbefifo.c ext/pdo_sqlite/sqlite/src/vdbemem.c ext/pdo_sqlite/sqlite/src/where.c: Upgrade libsqlite 3 inside PDO sqlite to version 3.3.15 2007-04-09 Dmitry Stogov * sapi/cgi/fastcgi.c sapi/cgi/fastcgi.c: Removed wrong size_t definition * ext/spl/php_spl.c: Usage of sizeof(void*) is not portable * (PHP_5_2) ext/com_dotnet/com_variant.c: Fixed 64-bit issues * ext/com_dotnet/com_com.c ext/com_dotnet/com_com.c main/snprintf.c: ZTS fix * ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.c ext/spl/spl_directory.c ext/standard/streamsfuncs.c ext/standard/streamsfuncs.c main/streams/plain_wrapper.c main/streams/plain_wrapper.c: Fixed 64-bit support 2007-04-09 Antony Dovgal * (PHP_5_2) NEWS: BFN * (PHP_5_2) ZendEngine2/zend_API.c ZendEngine2/tests/bug41026.phpt: fix #41026 (segfault when calling "self::method()" in shutdown functions) * ZendEngine2/tests/bug41026.phpt ZendEngine2/tests/bug41026.phpt: new test 2007-04-08 Ilia Alshanetsky * (PHP_5_2) NEWS ext/pdo_mysql/mysql_statement.c: Fixed bug #40822 (pdo_mysql does not return rowCount() on select). 2007-04-08 Antony Dovgal * ext/mcrypt/mcrypt.c: MFB: fix #40999 (mcrypt_create_iv() not using random seed) * main/main.c: MFB: Avoid locks when appening to the error log file 2007-04-08 Johannes Schlüter * (PHP_5_2) NEWS ext/tokenizer/tokenizer.c ext/tokenizer/tests/002.phpt ext/tokenizer/tests/003.phpt ext/tokenizer/tests/bug26463.phpt: - MFH: Added linenumbers to array returned by token_get_all() * ext/tokenizer/tokenizer.c ext/tokenizer/tests/002.phpt ext/tokenizer/tests/003.phpt ext/tokenizer/tests/bug26463.phpt: - Added linenumbers to array returned by token_get_all() 2007-04-06 Antony Dovgal * (PHP_5_2) ext/standard/filestat.c: MFB: clean & refactored disk_*() funcs implementation Ilia, feel free to make these functions public, though I don't see why would want to do that 2007-04-06 Marcus Boerger * ext/spl/spl_array.c: - Fix unicode issue * ext/spl/php_spl.c: - Fix unicode issue in unregister according to register solution * ext/spl/php_spl.c: - Fix unicode issue (our string termination test checks both ending bytes instead of just one) * ZendEngine2/zend_operators.h: - Add a helper 2007-04-06 Antony Dovgal * ext/standard/tests/strings/printf_64bit.phpt ext/standard/tests/strings/printf_64bit.phpt: fix test 2007-04-06 Andrei Zmievski * main/snprintf.h: MFB * (PHP_5_2) main/snprintf.h: We can't use the printf attribute here since we are supporting non-standard formats (like 'F'). 2007-04-06 Marcus Boerger * ext/spl/php_spl.c: - Fix types * ext/spl/php_spl.c: - MFB #40091 fix 2007-04-06 Andrei Zmievski * (PHP_5_2) ext/soap/php_encoding.c: Apologies. Didn't realize we were using custom snprintf(). * (PHP_5_2) ext/soap/php_encoding.c: Typo? 2007-04-06 Marcus Boerger * (PHP_5_2) NEWS ext/spl/spl_array.c: - Fix 40442 * (PHP_5_2) ext/spl/tests/bug40442.phpt: - Add bug name * (PHP_5_2) ext/spl/php_spl.c: - Better fix for #40091 2007-04-06 Pierre-Alain Joye * ext/gd/config.w32: - MFB: Fix windows mutex intialization, add HAVE_GD_FONTMUTEX and HAVE_LIBFREETYPE to config.w32 (Thanks to Frank for the report) * (PHP_5_2) ext/gd/config.w32 ext/gd/gd.c: - Fix windows mutex intialization, add HAVE_GD_FONTMUTEX and HAVE_LIBFREETYPE to config.w32 (Thanks to Frank for the report) 2007-04-06 Marcus Boerger * ext/spl/spl_array.c ext/spl/tests/bug40442.phpt ext/spl/tests/bug40442.phpt: - Fix #40442 2007-04-06 Ilia Alshanetsky * (PHP_5_2) main/main.c: Avoid locks when appening to the error log file 2007-04-05 Ilia Alshanetsky * ZendEngine2/tests/foreach.phpt ZendEngine2/tests/foreach.phpt: file foreach.phpt was initially added on branch PHP_5_2. * (PHP_5_2) ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h: Fixed foreach by-ref bug. 2007-04-05 Marcus Boerger * (PHP_5_2) ZendEngine2/zend_API.c: - MFH zend_info_call_*() stuff, fixes coverity issue #328, noticed by tony 2007-04-05 Rob Richards * ext/openssl/openssl.c ext/openssl/openssl.c: fix win32 build 2007-04-05 Pierre-Alain Joye * ext/gd/config.m4: - depends on 2.0.34 * (PHP_5_2) ext/gd/gd.c: - reflect the "real" version to avoid confusions. Users should really use only the bundled version * (PHP_5_2) ext/openssl/tests/005_crt.txt: - MFB: import the right data 005_crt.txt 2007-04-05 Antony Dovgal * ext/gd/gd.c: fix build without FreeType * ext/openssl/openssl.c ext/openssl/php_openssl.h ext/openssl/tests/005.phpt: fix build & test improve coding style * (PHP_5_2) ext/openssl/tests/005.phpt: fix test * (PHP_5_2) ext/openssl/openssl.c: fix ZTS build 2007-04-05 Ilia Alshanetsky * (PHP_5_2) NEWS ext/mcrypt/mcrypt.c: Fixed bug #40999 (mcrypt_create_iv() not using random seed). 2007-04-04 Pierre-Alain Joye * (PHP_5_2) ext/openssl/openssl.c: - nuke c++ comments * ext/openssl/openssl.c ext/openssl/tests/005.phpt ext/openssl/tests/005_crt.txt: - MFB: - implement #39867, PKCS#12 support - Fix possible multibyte issues issue in the add_assoc function - add test for openssl_csr_get_subject * (PHP_5_2) NEWS: - #39867 and openssl MB fix * (PHP_5_2) ext/openssl/openssl.c ext/openssl/php_openssl.h ext/openssl/tests/005.phpt: - implement #39867, PKCS#12 support - Fix possible multibyte issues issue in the add_assoc function - add test for openssl_csr_get_subject * (PHP_5_2) NEWS: - filter and gd entries * ext/filter/filter.c: - MFB: #40947, allow a single filter as argument for filter_var_arra * (PHP_5_2) ext/filter/filter.c: - #40947, allow a single filter as argument for filter_var_array 2007-04-04 Antony Dovgal * (PHP_4_4) NEWS NEWS ext/session/session.c ext/session/session.c: MFH: fix #40998 (long session array keys are truncated) * ext/session/session.c: fix #40998 (long session array keys are truncated) 2007-04-04 Seiji Masugata * ext/mbstring/mbstring.c ext/mbstring/mbstring.c ext/mbstring/mbstring.c: Sync with mail function in mb_send_mail function(problem MOPB-33-2007:PHP and MOPB-34-2007:PHP). 2007-04-04 Nuno Lopes * ext/gd/libgd/gdft.c: MFB: fix race condition on font cache shutdown * (PHP_5_2) ext/gd/libgd/gdft.c: fix race condition on font cache shutdown 2007-04-04 Pierre-Alain Joye * ext/gd/libgd/gd_gif_in.c: - MFH: - do not try to use the global color map when none was found (Nuno, Pierre) - free im on error * (PHP_5_2) ext/gd/libgd/gd_gif_in.c: - do not try to use the global color map when none was found (Nuno, Pierre) - free im on error 2007-04-04 Antony Dovgal * ext/openssl/xp_ssl.c: fix leak on error 2007-04-04 Pierre-Alain Joye * (PHP_5_2) ext/gd/gd.c ext/gd/php_gd.h: - MFH: don't declare MSHUTDOWN if both cachesetup and t1lib are not used * ext/gd/gd.c ext/gd/php_gd.h ext/gd/libgd/gd_gif_in.c ext/gd/tests/bug37360.phpt: - fix previous commit (missing #ifdef in shutdown declaration) - MFB: - Sync with gd 2.0.35 (bug #52, #60 and #66) - Improve TS of gif loading code (Roman Nemecek, Nuno, Pierre) - a frame size must be confined to the screen defition (Pierre) - be sure to always read the dimensions in the frame and does not use the screen size (see #66 for a side effect) (Pierre) - Update #37360 test. The frame does not fit the logical screen (specs tell that it must fit) (Pierre) * (PHP_5_2) ext/gd/libgd/gd_gif_in.c ext/gd/tests/bug37360.phpt: - Sync with gd 2.0.35 (bug #52, #60 and #66) - Improve TS of gif loading code (Roman Nemecek, Nuno, Pierre) - a frame size must be confined to the screen defition (Pierre) - be sure to always read the dimensions in the frame and does not use the screen size (see #66 for a side effect) (Pierre) - Update #37360 test. The frame does not fit the logical screen (specs tell that it must fit) (Pierre) * (PHP_5_2) ext/gd/config.m4 ext/gd/gd.c ext/gd/php_gd.h ext/gd/libgd/gd.h ext/gd/libgd/gdft.c: - MFH: - remove double lock (tween colors cache is created in each thread, the cache mutex is already locked earlier) - #40858, other TS improvements for gd freetype cache management cache initialization and shutdown is now done in MINIT and MSHUTDOWN. * ext/gd/gd.c ext/gd/libgd/gd.h ext/gd/libgd/gdft.c: - remove double lock (tween colors cache is created in each thread, the cache mutex is already locked earlier) - #40858, other TS improvements for gd freetype cache management cache initialization and shutdown is now done in MINIT and MSHUTDOWN. 2007-04-04 Ilia Alshanetsky * (PHP_5_2) ZendEngine2/zend_compile.c ZendEngine2/zend_compile.h ZendEngine2/zend_constants.c ZendEngine2/zend_language_parser.y ZendEngine2/tests/halt_compiler1.phpt ZendEngine2/tests/halt_compiler1.phpt ZendEngine2/tests/halt_compiler2.phpt ZendEngine2/tests/halt_compiler2.phpt ZendEngine2/tests/halt_compiler3.phpt ZendEngine2/tests/halt_compiler3.phpt ZendEngine2/tests/halt_compiler4.phpt ZendEngine2/tests/halt_compiler4.phpt: Addres limitation of __HALT_COMPILER() that allowed only one instance per request. 2007-04-04 Pierre-Alain Joye * ext/gd/libgd/gd_topal.c: - MFB: colors allocated henceforth from the resulting image overwrite the palette colors (sync with 2.0.34) (Rob Leslie) * (PHP_5_2) ext/gd/libgd/gd_topal.c: . colors allocated henceforth from the resulting image overwrite the palette colors (sync with 2.0.34) (Rob Leslie) 2007-04-03 Antony Dovgal * (PHP_5_2) NEWS: BFN * (PHP_5_2) TSRM/tsrm_virtual_cwd.c: MFH: fix #39351 (relative include fails on Solaris) * TSRM/tsrm_virtual_cwd.c: fix #39351 (relative include fails on Solaris) 2007-04-03 Brian Shire * ext/standard/pack.c ext/standard/tests/strings/pack.phpt: MFB: correction for previous fix to bug #38770 (pack/unpack is broken on 64bit) fix pack test, correct space to tabs * (PHP_5_2) ext/standard/pack.c ext/standard/tests/strings/pack.phpt: correction for previous fix to bug #38770 (pack/unpack is broken on 64bit) fix pack test, correct space to tabs 2007-04-03 Rob Richards * ext/dom/php_dom.c: MFB: allow registered classes to be changed * (PHP_5_2) ext/dom/php_dom.c: allow registered classes to be changed 2007-04-03 Sebastian Bergmann * NEWS: Fugbix typo. 2007-04-03 Dmitry Stogov * NEWS ZendEngine2/zend_compile.c ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h: Removed undocumnted and incomplete support for strings in list() operator 2007-04-02 Ilia Alshanetsky * (PHP_5_2) NEWS: Fixed typos 2007-04-02 Stanislav Malyshev * (PHP_5_2) NEWS: fix #33664 * TSRM/tsrm_win32.c TSRM/tsrm_win32.c ext/standard/proc_open.c ext/standard/proc_open.c: fix for #33664 Console window appears when using exec() 2007-04-02 Jani Taskinen * ext/standard/tests/strings/printf_64bit.phpt: MFB- 64bit test * ext/standard/tests/strings/printf_64bit.phpt ext/standard/tests/strings/printf_64bit.phpt: file printf_64bit.phpt was initially added on branch PHP_5_2. * ext/standard/tests/strings/printf.phpt: MFB:- Make this 32bit only test. (will add 64bit version next) * (PHP_5_2) ext/standard/tests/strings/printf.phpt: - Make this 32bit only test. (will add 64bit version next) 2007-04-02 Dmitry Stogov * (PHP_5_2) NEWS ext/soap/php_encoding.c ext/soap/php_encoding.c ext/soap/php_encoding.h ext/soap/php_encoding.h ext/soap/php_soap.h ext/soap/php_soap.h ext/soap/soap.c ext/soap/soap.c ext/soap/tests/bugs/bug34657.phpt ext/soap/tests/bugs/bug36999.phpt ext/soap/tests/bugs/bug36999.phpt ext/soap/tests/bugs/bug36999.phpt ext/soap/tests/bugs/bug36999.wsdl ext/soap/tests/bugs/bug36999.wsdl ext/soap/tests/bugs/bug36999.wsdl ext/soap/tests/bugs/bug37013.phpt ext/soap/tests/bugs/bug37013.phpt ext/soap/tests/bugs/bug37013.phpt ext/soap/tests/bugs/bug37013.wsdl ext/soap/tests/bugs/bug37013.wsdl ext/soap/tests/bugs/bug37013.wsdl ext/soap/tests/interop/Round2/Base/r2_base_015p.phpt ext/soap/tests/interop/Round2/Base/r2_base_015p.phpt ext/soap/tests/interop/Round2/Base/r2_base_015s.phpt ext/soap/tests/interop/Round2/Base/r2_base_015s.phpt ext/soap/tests/interop/Round2/Base/r2_base_015w.phpt ext/soap/tests/interop/Round2/Base/r2_base_015w.phpt ext/soap/tests/interop/Round3/GroupD/r3_groupD_import3_002w.phpt ext/soap/tests/interop/Round3/GroupD/r3_groupD_import3_002w.phpt ext/soap/tests/interop/Round3/GroupE/r3_groupE_list_005w.phpt ext/soap/tests/interop/Round3/GroupE/r3_groupE_list_005w.phpt ext/soap/tests/interop/Round3/GroupE/r3_groupE_list_006w.phpt ext/soap/tests/interop/Round3/GroupE/r3_groupE_list_006w.phpt ext/soap/tests/interop/Round4/GroupI/r4_groupI_xsd_014w.phpt ext/soap/tests/interop/Round4/GroupI/r4_groupI_xsd_014w.phpt ext/soap/tests/interop/Round4/GroupI/r4_groupI_xsd_015w.phpt ext/soap/tests/interop/Round4/GroupI/r4_groupI_xsd_015w.phpt: Fixed bug #37013 (server hangs when returning circular object references) 2007-04-02 Jani Taskinen * ext/standard/info.c: MFB52:- Changed phpinfo() to make difference between set php.ini path and what was actually loaded. * (PHP_5_2) ext/standard/info.c: - Changed phpinfo() to make difference between set php.ini path and what was actually loaded. 2007-04-02 Dmitry Stogov * (PHP_5_2) ext/soap/tests/bugs/bug34657.phpt: Fixed test 2007-04-01 Ilia Alshanetsky * (PHP_5_2) NEWS main/main.c: Fixed bug #40897 (error_log file not locked) * (PHP_5_2) NEWS main/php_content_types.c: Fixed bug #40921 (php_default_post_reader crashes when post_max_size is exceeded). 2007-03-30 Dmitry Stogov * (PHP_5_2) ext/soap/tests/bugs/bug34657.phpt: new test * ext/soap/tests/bugs/bug34657.phpt ext/soap/tests/bugs/bug34657.phpt: new test 2007-03-30 Ilia Alshanetsky * (PHP_4_4) ext/standard/mail.c: MFB: Fixed MOPB-34-2007:PHP mail() Header Injection Through Subject and To Parameters * (PHP_5_2) ext/standard/mail.c: Fixed MOPB-34-2007:PHP mail() Header Injection Through Subject and To Parameters 2007-03-29 Sara Golemon * (PHP_5_2) sapi/cgi/cgi_main.c: Add missing #if check 2007-03-29 Antony Dovgal * (PHP_5_2) NEWS: add news entry + minor text fixes * (PHP_5_2) ext/oci8/oci8_lob.c ext/oci8/php_oci8_int.h ext/oci8/tests/pecl_bug10194.phpt ext/oci8/tests/pecl_bug10194_blob.phpt: MFH: fix PECL bug #10194 (crash in Oracle client when memory limit reached in the callback) preallocate the required buffer, so that it would fail earlier. * ext/oci8/oci8_lob.c ext/oci8/php_oci8_int.h ext/oci8/tests/pecl_bug10194.phpt ext/oci8/tests/pecl_bug10194.phpt ext/oci8/tests/pecl_bug10194_blob.phpt ext/oci8/tests/pecl_bug10194_blob.phpt: fix #10194 (crash in Oracle client when memory limit reached in the callback) preallocate the required buffer, so that it would fail earlier. 2007-03-28 Antony Dovgal * ext/oci8/oci8_collection.c: Oracle seems to return non zero terminated strings or strings with only 1 zero at the end in Unicode mode surely u_strlen() doesn't like it, so lets use OCIStringSize() and avoid u_strlen() 2007-03-28 Dmitry Stogov * (PHP_5_2) NEWS sapi/cgi/cgi_main.c sapi/cgi/cgi_main.c sapi/cgi/fastcgi.c sapi/cgi/fastcgi.c sapi/cgi/fastcgi.h sapi/cgi/fastcgi.h: Improved FastCGI SAPI to support external pipe and socket servers on win32 2007-03-28 Jani Taskinen * sapi/cli/tests/015.phpt: - Fixed test * (PHP_5_2) sapi/cli/tests/015.phpt: - Fix test: Some people actually use --enable-debug here.. 2007-03-28 Zoe Slattery * (PHP_5_2) ext/standard/tests/strings/ltrim.phpt ext/standard/tests/strings/rtrim.phpt ext/standard/tests/strings/str_pad.phpt: new ltrim, rtrim and str_pad tests * ext/standard/tests/strings/ltrim.phpt ext/standard/tests/strings/ltrim.phpt ext/standard/tests/strings/rtrim.phpt ext/standard/tests/strings/rtrim.phpt ext/standard/tests/strings/str_pad.phpt ext/standard/tests/strings/str_pad.phpt: New tests for ltrim, rtrim, str_pad 2007-03-28 Antony Dovgal * ext/standard/basic_functions.c main/main.c: drop deprecated funcs and change error level to E_WARNING * (PHP_5_2) sapi/milter/.cvsignore: add .cvsignore * sapi/milter/.cvsignore sapi/milter/.cvsignore: add .cvsignore * (PHP_5_2) NEWS sapi/milter/php_milter.c: MFH: fix #40392 (memory leaks in PHP milter SAPI) * sapi/milter/php_milter.c: fix #40392 (memory leaks in PHP milter SAPI) we should have dropped this SAPI years ago 2007-03-28 Zoe Slattery * ext/standard/tests/strings/ucfirst1.phpt: New ucfirst() test. * ext/standard/tests/strings/printf.phpt: new test for printf * ext/standard/tests/strings/printf.phpt ext/standard/tests/strings/printf.phpt ext/standard/tests/strings/ucfirst.phpt: file printf.phpt was initially added on branch PHP_5_2. 2007-03-28 Antony Dovgal * main/php_variables.c: fix compile warning 2007-03-28 Zoe Slattery * (PHP_5_2) ext/standard/tests/strings/strcasecmp.phpt ext/standard/tests/strings/strcmp.phpt ext/standard/tests/strings/strlen.phpt: Three new string tests for funtions strcasecmp, strcmp and strlen. 2007-03-27 Marcus Boerger * (PHP_5_2) run-tests.php: - MFH Allow to load multipe extensions via -d * run-tests.php: - Allow to load multipe extensions via -d 2007-03-27 Antony Dovgal * (PHP_4_4) ext/standard/mail.c: MF52: fix compile warning * (PHP_5_2) ext/standard/mail.c ext/standard/var_unserializer.c ext/standard/var_unserializer.re: fix compile warning 2007-03-27 Ilia Alshanetsky * (PHP_4_4) NEWS ext/standard/mail.c: MFB: MOPB-33-2007:PHP mail() Message ASCIIZ Byte Truncation * (PHP_5_2) ext/standard/mail.c: Fixed MOPB-33-2007:PHP mail() Message ASCIIZ Byte Truncation 2007-03-26 Rob Richards * (PHP_5_2) NEWS: BFN * ext/simplexml/simplexml.c ext/simplexml/tests/bug37386.phpt: MFB: fix bug #37386 (autocreating element doesn't assign value to first node) all single SimpleXMLElements are addressable using offset 0 use correct node for xpath context node add test * (PHP_5_2) ext/simplexml/simplexml.c ext/simplexml/tests/bug37386.phpt ext/simplexml/tests/bug37386.phpt: fix bug #37386 (autocreating element doesn't assign value to first node) all single SimpleXMLElements are addressable using offset 0 use correct node for xpath context node add test 2007-03-26 Antony Dovgal * (PHP_4_4) NEWS main/php_variables.c: revert by request of Derick * (PHP_4_4) NEWS main/php_variables.c: fix #40586 (_ENV vars get escaped when magic_quotes_gpc is on) * (PHP_4_4) NEWS NEWS ext/standard/string.c ext/standard/string.c ext/standard/tests/strings/bug40915.phpt: MFH: fix #40915 (addcslashes unexpected behavior with binary input) * ext/standard/tests/strings/bug40915.phpt ext/standard/tests/strings/bug40915.phpt: fix #40915 (addcslashes unexpected behavior with binary input) * ext/standard/string.c: fix #40915 (addcslashes unexpected behavior with binary input) * ext/ftp/ftp.c: MFB 2007-03-25 Ilia Alshanetsky * (PHP_4_4) NEWS: Bug fixes * (PHP_4_4) ext/session/session.c: Fixed MOPB-32-2007 (Double free inside session_decode()) 2007-03-25 Marcus Boerger * ext/pcre/config0.m4: - Need to install headers 2007-03-25 Hannes Magnusson * (PHP_5_2) ZendEngine2/tests/bug37212.phpt: Typo 2007-03-25 Jani Taskinen * (PHP_4_4) acinclude.m4: MFB52:- Check if Makefile.frag actually exists before running sed on it. * acinclude.m4: MFB:- Check if Makefile.frag actually exists before running sed on it. * (PHP_5_2) acinclude.m4: - Check if Makefile.frag actually exists before running sed on it. * ext/mysqli/tests/bug38710.phpt ext/mysqli/tests/bug38710.phpt: - Fixed test to skip when mysqld is not running 2007-03-24 Marcus Boerger * ext/spl/spl_array.c: - Drop double variable declaration 2007-03-24 Ilia Alshanetsky * (PHP_4_4) ext/ftp/ftp.c: MFB: Fixed CRLF injection inside ftp_putcmd(). * (PHP_5_2) ext/ftp/ftp.c: Fixed CRLF injection inside ftp_putcmd(). 2007-03-23 Stanislav Malyshev * ext/standard/var_unserializer.c ext/standard/var_unserializer.re ext/standard/tests/serialize/unserializeS.phpt: MFB: fix MOPB-29 - unserialize modifier S does not calculate length correctly 2007-03-23 Nuno Lopes * (PHP_5_2) ext/standard/var_unserializer.c: regenerate to fix gcov build. plus use re2c bitvectors 2007-03-23 Stanislav Malyshev * (PHP_5_2) NEWS: fix MOPB-29 - unserialize modifier S does not calculate length correctly * ext/standard/tests/serialize/unserializeS.phpt ext/standard/tests/serialize/unserializeS.phpt: file unserializeS.phpt was initially added on branch PHP_5_2. * (PHP_5_2) ext/standard/var_unserializer.c ext/standard/var_unserializer.re: fix MOPB-29 - unserialize modifier S does not calculate length correctly * ZendEngine2/zend_object_handlers.c: fix comment * (PHP_5_2) ZendEngine2/zend_object_handlers.c: fix comment - guard system changed 2007-03-23 Douglas Goldstein * ext/ldap/ldap.c: Replaced all instances of ldap_get_values() with ldap_get_values_len(), which returns back the length of the data so on non-NULL terminated data we don't crash in a strlen(). Removed the PHP function ldap_get_values() since it's the same thing as ldap_get_values_len() now and made it alias ldap_get_values_len(). This should fix some random PHP<->LDAP crashes 2007-03-23 Wez Furlong * (PHP_5_2) ext/pdo_sqlite/pdo_sqlite.c: export the module guy in the external dll version of the build 2007-03-23 Dmitry Stogov * (PHP_5_2) NEWS ZendEngine2/zend_compile.c ZendEngine2/zend_compile.c ZendEngine2/tests/bug40899.phpt ZendEngine2/tests/bug40899.phpt ZendEngine2/tests/bug40899.phpt: Fixed bug #40899 (memory leak when nesting list()) 2007-03-23 Antony Dovgal * ext/mysqli/mysqli.c: fix typo and bug #40898 2007-03-23 Dmitry Stogov * (PHP_5_2) NEWS ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.c: Fixed bug #40883 (mysql_query() is allocating memory incorrectly). (Tony) 2007-03-22 Ilia Alshanetsky * (PHP_5_2) ext/date/tests/bug40861.phpt: Added -- test case 2007-03-22 Douglas Goldstein * (PHP_5_2) ext/ldap/ldap.c: Replaced all instances of ldap_get_values() with ldap_get_values_len(), which returns back the length of the data so on non-NULL terminated data we don't crash in a strlen(). Removed the PHP function ldap_get_values() since it's the same thing as ldap_get_values_len() now and made it alias ldap_get_values_len(). This should fix some random PHP<->LDAP crashes 2007-03-22 Johannes Schlüter * (PHP_4_4) sapi/cli/getopt.c sapi/cli/getopt.c sapi/cli/tests/015.phpt: - MFH: Fix handling of not existing long CLI options * sapi/cli/getopt.c sapi/cli/tests/015.phpt sapi/cli/tests/015.phpt: - Fix handling of not existing long CLI options 2007-03-22 Wez Furlong * (PHP_5_2) NEWS ext/pdo_sqlite/config.w32: Add php_pdo_sqlite_external.dll to windows build. This allows the user to provide their own version of sqlite3.dll. The php_pdo_sqlite.dll is still there, and will continue to be there. It is built from the bundled sources. [[DOC]] (this should cc: phpdoc, if it's wrong, please let the docs folks know :-) 2007-03-21 Marcus Boerger * (PHP_4_4) sapi/cli/getopt.c sapi/cli/getopt.c: - MFH Fix issue with long form of command line switches * sapi/cli/getopt.c: - Fix issue with long form of command line switches 2007-03-21 Derick Rethans * (PHP_5_2) ext/date/lib/parse_date.c ext/date/lib/parse_date.re: - Revert this patch, as the code was incorrect. - It was also not committed to HEAD. 2007-03-21 Ilia Alshanetsky * ext/date/tests/bug40861.phpt ext/date/tests/bug40861.phpt: file bug40861.phpt was initially added on branch PHP_5_2. * (PHP_5_2) NEWS ext/date/lib/parse_date.c ext/date/lib/parse_date.re: Fixed bug #40861 (Multiple +/- on relative units breaks strtotime()). 2007-03-20 Marcus Boerger * (PHP_5_2) NEWS ext/spl/spl_array.c ext/spl/tests/bug40872.phpt: - MFH Fix Bug #40872 (inconsistency in offsetSet, offsetExists treatment of string enclosed integers) * ext/spl/spl_array.c ext/spl/tests/bug40872.phpt ext/spl/tests/bug40872.phpt: - Fix Bug #40872 (inconsistency in offsetSet, offsetExists treatment of string enclosed integers) * (PHP_5_2) ext/mysqli/mysqli.c: - MFH Optional dependency for SPL must be specified in header * ext/mysqli/mysqli.c: - Optional dependency for SPL must be specified in header 2007-03-20 Antony Dovgal * (PHP_5_2) NEWS: BFN * (PHP_5_2) TSRM/tsrm_win32.c: MFH: fix shmop_open() with IPC_CREAT|IPC_EXCL flags on win32 * TSRM/tsrm_win32.c: fix shmop_open() with IPC_CREAT|IPC_EXCL flags on win32 2007-03-20 Dmitry Stogov * ext/soap/tests/schema/schema082.phpt ext/soap/tests/schema/schema082.phpt ext/soap/tests/schema/schema083.phpt ext/soap/tests/schema/schema083.phpt ext/soap/tests/schema/schema084.phpt ext/soap/tests/schema/schema084.phpt ext/soap/tests/schema/test_schema.inc: file schema082.phpt was initially added on branch PHP_5_2. * (PHP_5_2) NEWS ext/soap/php_encoding.c ext/soap/php_encoding.c ext/soap/php_soap.h ext/soap/php_soap.h ext/soap/soap.c ext/soap/soap.c ext/soap/tests/interop/Round2/Base/r2_base_009s.phpt ext/soap/tests/interop/Round2/Base/r2_base_009s.phpt ext/soap/tests/schema/schema081.phpt ext/soap/tests/schema/schema081.phpt ext/soap/tests/schema/schema082.phpt ext/soap/tests/schema/schema083.phpt ext/soap/tests/schema/schema084.phpt ext/soap/tests/schema/test_schema.inc: Added ability to encode arrays with "SOAP-ENC:Array" type instead of WSDL type. To activate the ability use "feature"=>SOAP_USE_XSI_ARRAY_TYPE option in SoapClient/SoapServer constructors. * ext/soap/tests/bugs/bug36226-2.phpt ext/soap/tests/bugs/bug36226-2.phpt ext/soap/tests/bugs/bug36226-2.wsdl ext/soap/tests/bugs/bug36226-2.wsdl: file bug36226-2.phpt was initially added on branch PHP_5_2. * (PHP_5_2) NEWS ext/soap/php_encoding.c ext/soap/php_encoding.c ext/soap/tests/bugs/bug36226-2.phpt ext/soap/tests/bugs/bug36226-2.wsdl: Fixed bug #36226 (Inconsistent handling when passing nillable arrays) * (PHP_5_2) NEWS ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.h ZendEngine2/zend_alloc.h ZendEngine2/tests/bug40261.phpt ZendEngine2/tests/bug40261.phpt ZendEngine2/tests/bug40261.phpt ZendEngine2/tests/bug40809.phpt ZendEngine2/tests/bug40809.phpt ZendEngine2/tests/bug40809.phpt: Improved Zend Memory Manager to guarantee reasonable time for worst cases of best-fit free block searching algorithm. 2007-03-19 Antony Dovgal * ZendEngine2/zend_strtod.c: add folding tags 2007-03-19 Ilia Alshanetsky * (PHP_5_2) NEWS ext/imap/php_imap.c ext/imap/tests/bug40854.phpt ext/imap/tests/bug40854.phpt: Fixed bug #40854 (imap_mail_compose() creates an invalid terminator for multipart e-mails). 2007-03-19 Dmitry Stogov * ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h ZendEngine2/tests/bug40833.phpt: Fixed bug #40833 (Crash when using unset() on an ArrayAccess object retrieved via __get()). * ZendEngine2/tests/bug40833.phpt ZendEngine2/tests/bug40833.phpt: file bug40833.phpt was initially added on branch PHP_5_2. * (PHP_5_2) NEWS ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h: Fixed bug #40833 (Crash when using unset() on an ArrayAccess object retrieved via __get()) 2007-03-19 Antony Dovgal * ext/session/session.c: MFB * (PHP_5_2) ext/reflection/tests/bug40794.phpt: new test * ext/reflection/tests/bug40794.phpt ext/reflection/tests/bug40794.phpt: new test 2007-03-19 Edin Kadribasic * win32/build/confutils.js: MFB: Make DLL only once (Wez) * (PHP_5_2) win32/build/confutils.js: Make DLL only once (Wez) 2007-03-18 Rob Richards * (PHP_5_2) NEWS: BFN * (PHP_5_2) ext/dom/node.c ext/dom/tests/bug40836.phpt: MFH: fix bug #40836 (Segfault in ext/dom) add test * ext/dom/node.c ext/dom/tests/bug40836.phpt ext/dom/tests/bug40836.phpt: fix bug #40836 (Segfault in ext/dom) add test 2007-03-18 Wez Furlong * ext/standard/array.c: MFB, #40848 * (PHP_5_2) NEWS: BFN, #40848 * (PHP_5_2) ext/standard/array.c: fixes #40848 2007-03-18 Ilia Alshanetsky * (PHP_4_4) NEWS ext/mbstring/mbstring.c: MFB: Fixed MOPB-26-2007 mb_parse_str() can be used to activate register_globals * (PHP_5_2) ext/mbstring/mb_gpc.c: Fixed MOPB-26-2007 mb_parse_str() can be used to activate register_globals 2007-03-17 Johannes Schlüter * ext/reflection/php_reflection.c ext/reflection/tests/bug39884.phpt: - Fix string compare in unicode mode 2007-03-17 Antony Dovgal * (PHP_5_2) NEWS ext/reflection/php_reflection.c: MFH: fix #40794 (ReflectionObject::getValues() may crash when used with dynamic properties) * ext/reflection/php_reflection.c: fix #40794 (ReflectionObject::getValues() may crash when used with dynamic properties) * (PHP_5_2) sapi/cli/tests/004.phpt sapi/cli/tests/005.phpt sapi/cli/tests/006.phpt: fix tests * sapi/cli/tests/004.phpt sapi/cli/tests/005.phpt sapi/cli/tests/006.phpt: fix tests I was absolutely sure we removed --disable-reflection option. 2007-03-16 Zoe Slattery * ext/standard/tests/strings/strcasecmp.phpt ext/standard/tests/strings/strcmp.phpt: Fixing %i - > %d, previously changed in error 2007-03-16 Stanislav Malyshev * (PHP_5_2) ext/sybase/php_sybase_db.c: fix spprintf usage * (PHP_4_4) NEWS NEWS: clarify * ext/standard/array.c ext/standard/array.c ext/standard/array.c ext/standard/tests/array/array_user_key_compare.phpt ext/standard/tests/array/array_user_key_compare.phpt: Fix UMR in array_user_key_compare() (MOPB24 by Stefan Esser) * (PHP_4_4) NEWS: fix for mopb-24 * (PHP_5_2) NEWS: array_user_key_compare() fix * ext/standard/tests/array/array_user_key_compare.phpt ext/standard/tests/array/array_user_key_compare.phpt ext/standard/tests/array/array_user_key_compare.phpt: 1.1.4; file array_user_key_compare.phpt was initially added on branch PHP_5_2. 2007-03-16 Zoe Slattery * ext/standard/tests/strings/strcasecmp.phpt ext/standard/tests/strings/strcmp.phpt: Changed %d to %i in EXPECTF * ext/standard/tests/strings/strcasecmp.phpt ext/standard/tests/strings/strcmp.phpt ext/standard/tests/strings/strlen.phpt: new test cases for string functions 2007-03-16 Antony Dovgal * (PHP_5_2) NEWS: BFN * ext/interbase/ibase_query.c: MFB: fix #40805 (Failure executing function ibase_execute()) 2007-03-16 Sebastian Bergmann * ext/reflection/php_reflection.c: MFB: Fugbix typo. * (PHP_5_2) ext/reflection/php_reflection.c: Fugbix typo. 2007-03-15 Antony Dovgal * (PHP_4_4) NEWS ext/curl/curl.c: fix #40831 (cURL extension doesn't clean up the buffer of reused handle) * (PHP_5_2) ext/interbase/ibase_query.c: fix #40805 (Failure executing function ibase_execute()) * (PHP_5_2) NEWS: BFN * (PHP_5_2) ZendEngine2/zend.c ZendEngine2/zend_execute_API.c ZendEngine2/tests/bug40815.phpt: fix #40815 (using strings like "class::func" and static methods in set_exception_handler() might result in crash) * ZendEngine2/tests/bug40815.phpt ZendEngine2/tests/bug40815.phpt: new test * ZendEngine2/zend.c: reset the exception if it's still NULL 2007-03-14 Antony Dovgal * (PHP_5_2) ext/pcre/php_pcre.c ext/pcre/tests/preg_replace_callback2.phpt: MFH: remove unnecessary warning in case of exception * ext/pcre/php_pcre.c ext/pcre/tests/preg_replace_callback2.phpt: don't emit any warnings in addition to an exception 2007-03-14 Ilia Alshanetsky * (PHP_4_4) NEWS ext/session/session.c: MFB: Fixed MOPB-22-2007 PHP session_regenerate_id() Double Free Vulnerability. * (PHP_5_2) ext/session/session.c: Fixed MOPB-22-2007:PHP session_regenerate_id() Double Free Vulnerability 2007-03-14 Antony Dovgal * (PHP_5_2) NEWS ext/openssl/xp_ssl.c: MFH: fix #40750 (openssl stream wrapper ignores default_stream_timeout) * ext/openssl/xp_ssl.c: fix #40750 (openssl stream wrapper ignores default_stream_timeout) 2007-03-14 Pierre-Alain Joye * (PHP_5_2) NEWS: - leak in extract * ext/zip/php_zip.c: - MFB: Fixed a possible memory leak on open_basedir validation (Ilia) 2007-03-14 Stanislav Malyshev * (PHP_4_4) NEWS: mopb 8 fix 2007-03-14 Pierre-Alain Joye * (PHP_5_2) NEWS: - add ::open to the safemode check entry * (PHP_4_4) NEWS: - add summary of the CVE 2007-03-14 Ilia Alshanetsky * (PHP_5_2) ext/zip/php_zip.c: Fixed a possible memory leak on open_basedir validation * (PHP_4_4) NEWS: Bug fixing news 2007-03-14 Pierre-Alain Joye * (PHP_5_2) ext/zip/php_zip.c: - MFH: openbasedir and safemode check in ::open() * ext/zip/php_zip.c: - add openbase_dir checks in ::open and addFile() 2007-03-14 Timm Friebe * ext/sybase_ct/tests/bug30312.phpt: - MFB: Changed expected output * ext/sybase_ct/tests/test_fetch_object.phpt ext/sybase_ct/tests/test_fetch_object.phpt ext/sybase_ct/tests/test_fields.phpt ext/sybase_ct/tests/test_fields.phpt: - Changed expected output * ext/sybase_ct/tests/test_msghandler_handled.phpt: - MFB: Changed message handler also to handle message #11021 - Adjusted expected output 2007-03-14 Antony Dovgal * (PHP_5_2) NEWS: BFN * (PHP_5_2) ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.h: MFH: fix #40800 (cannot disable memory_limit with -1) 2007-03-14 Timm Friebe * (PHP_5_2) ext/sybase_ct/tests/test_msghandler_handled.phpt: - Changed message handler also to handle message #11021 - Adjusted expected output 2007-03-14 Antony Dovgal * ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.h: fix #40800 (cannot disable memory_limit with -1) 2007-03-14 Timm Friebe * (PHP_5_2) ext/sybase_ct/php_sybase_ct.c: - Fixed segmentation fault in sybase_connect() * (PHP_5_2) ext/sybase_ct/tests/bug30312.phpt: - Changed expected output 2007-03-14 Pierre-Alain Joye * ext/zip/php_zip.c: - MFB: free rsrc on error in zip_read (old API) * (PHP_5_2) NEWS ext/zip/php_zip.c: - MFH: Fixed possible relative path issues in zip_open in TS mode (old API) * ext/zip/php_zip.c: - MFB: free buffer when zip_entry_read returns an empty entry * ext/zip/php_zip.c ext/zip/php_zip.h ext/zip/zip_stream.c: - MFB: - rename SAFEMODE_CHECKFILE to OPENBASEDIR_CHECKPATH (can be used without confusing in head without confusion) - Add safemode and open basedir checks in zip:// wrapper (revert Ilia's patch). Bug found by Stefan Esser in his MOPB-20-2007 * (PHP_5_2) NEWS ext/zip/php_zip.c ext/zip/php_zip.h ext/zip/zip_stream.c: - rename SAFEMODE_CHECKFILE to OPENBASEDIR_CHECKPATH (can be used without confusing in head without confusion) - Add safemode and open basedir checks in zip:// wrapper (revert Ilia's patch). Bug found by Stefan Esser in his MOPB-20-2007 * (PHP_5_2) ext/zip/tests/oo_getcomment.phpt: - add more cases for getComment 2007-03-14 Martin Kraemer * ext/bcmath/package.xml ext/bcmath/package.xml ext/calendar/package.xml ext/calendar/package.xml ext/com_dotnet/package.xml ext/com_dotnet/package.xml ext/ctype/package.xml ext/ctype/package.xml ext/curl/package.xml ext/curl/package.xml ext/dbase/package.xml ext/dbase/package.xml ext/exif/package.xml ext/exif/package.xml ext/fdf/package.xml ext/fdf/package.xml ext/ftp/package.xml ext/ftp/package.xml ext/mime_magic/package.xml ext/mime_magic/package.xml ext/mysql/package.xml ext/mysqli/package.xml ext/mysqli/package.xml ext/pcntl/package.xml ext/pcntl/package.xml ext/posix/package.xml ext/posix/package.xml ext/session/package.xml ext/session/package.xml ext/shmop/package.xml ext/shmop/package.xml ext/sockets/package.xml ext/sockets/package.xml ext/sysvmsg/package.xml ext/sysvmsg/package.xml ext/sysvsem/package.xml ext/sysvsem/package.xml ext/sysvshm/package.xml ext/sysvshm/package.xml ext/tokenizer/package.xml ext/tokenizer/package.xml ext/wddx/package.xml ext/wddx/package.xml ext/xml/package.xml ext/xml/package.xml ext/zlib/package.xml ext/zlib/package.xml: Typo 2007-03-14 Ilia Alshanetsky * (PHP_4_4) ext/bz2/bz2.c: MFB: Added missing open_basedir & safe_mode checks to bzip:// wrapper. * (PHP_5_2) ext/bz2/bz2.c ext/zip/zip_stream.c: Added missing open_basedir & safe_mode checks to zip:// and bzip:// wrappers. Issues idendtified by MOPB-20 and MOPB-21 2007-03-13 Stanislav Malyshev * (PHP_4_4) Zend/zend.c Zend/zend.h: fix XSS in phpinfo() (MOPB 8) - patch by Joe Orton * ext/odbc/php_odbc.c ext/odbc/php_odbc_includes.h: MFB: fix odbc resource handling, patch by Dave Lawson * (PHP_5_2) ext/odbc/php_odbc.c ext/odbc/php_odbc_includes.h: fix odbc resource handling, patch by Dave Lawson 2007-03-12 Antony Dovgal * (PHP_5_2) ext/standard/string.c: return false instead of empty string when -length is greater than (len - offset) 2007-03-12 Ilia Alshanetsky * (PHP_5_2) ext/interbase/php_ibase_udf.c: malloc() -> pemalloc() 2007-03-12 Antony Dovgal * ext/standard/uuencode.c: fix folding and add missing footer * (PHP_5_2) ext/iconv/iconv.c ext/iconv/tests/iconv_substr.phpt: synchronize iconv_substr() behavior with substr() no MFB so far, since substr() changes are not MFBed either 2007-03-12 Dmitry Stogov * ZendEngine2/tests/bug40770.phpt ZendEngine2/tests/bug40770.phpt: file bug40770.phpt was initially added on branch PHP_5_2. * (PHP_5_2) NEWS ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.c ZendEngine2/tests/bug40770.phpt: Fixed bug #40770 (Apache child exits when PHP memory limit reached) 2007-03-12 Antony Dovgal * (PHP_5_2) NEWS: BFN * (PHP_5_2) ZendEngine2/zend_compile.c ZendEngine2/tests/bug40784.phpt: MFH: fix #40784 (Case sensivity in constructor's fallback) * ZendEngine2/zend_compile.c ZendEngine2/tests/bug40784.phpt ZendEngine2/tests/bug40784.phpt: fix #40784 (Case sensivity in constructor's fallback) 2007-03-12 Dmitry Stogov * sapi/cgi/fastcgi.c sapi/cgi/fastcgi.c: Fixed compilation warning 2007-03-12 Edin Kadribasic * (PHP_5_2) NEWS: Lib upgrade news 2007-03-11 Ilia Alshanetsky * (PHP_5_2) ext/imap/php_imap.c: malloc() -> pemalloc() 2007-03-11 Antony Dovgal * ext/sybase_ct/tests/test.inc: one more fix * (PHP_5_2) ext/sybase_ct/tests/test.inc: fix tests * ext/sybase_ct/tests/test.inc: fix sybase tests 2007-03-10 Ilia Alshanetsky * (PHP_5_2) ext/standard/string.c: Re-added check removed by the previous patch * (PHP_5_2) ext/standard/basic_functions.c: Added additional checks for long input arrays inside import_request_variables(). 2007-03-10 Pierre-Alain Joye * (PHP_4_4) NEWS: - NEWS entry for the ft cve * (PHP_4_4) NEWS NEWS ext/gd/config.m4 ext/gd/config.m4 ext/gd/config.w32 ext/gd/gd.dsp ext/gd/libgd/gd_security.c ext/gd/libgd/gd_security.c ext/gd/libgd/gdhelpers.h ext/gd/libgd/gdhelpers.h ext/gd/libgd/wbmp.c ext/gd/libgd/wbmp.c ext/gd/tests/createfromwbmp2.phpt ext/gd/tests/createfromwbmp2.phpt: - MFH: CVE-2007-1001, integer overflow with invalid wbmp images * (PHP_4_4) ext/gd/libgd/gdft.c: - Fix the Fix for CVE-2007-0455 * ext/gd/config.m4 ext/gd/config.w32 ext/gd/libgd/gd_security.c ext/gd/libgd/gd_security.c ext/gd/libgd/gd_security.c ext/gd/libgd/gdhelpers.h ext/gd/libgd/wbmp.c ext/gd/tests/createfromwbmp2.phpt ext/gd/tests/createfromwbmp2.phpt ext/gd/tests/createfromwbmp2.phpt: - CVE-2007-1001, integer overflow with invalid wbmp images * ext/gd/libgd/gd.c ext/gd/tests/bug40764.phpt: - MFB: #40764, line thickness not respected for horizontal and vertical lines * (PHP_5_2) NEWS ext/gd/tests/bug40764.phpt ext/gd/tests/bug40764.phpt: - #40764, line thickness not respected for horizontal and vertical lines - add test - NEWS entry 2007-03-09 Stanislav Malyshev * ext/mysqli/tests/bug38710.phpt: add testcase * ext/mysqli/tests/bug38710.phpt ext/mysqli/tests/bug38710.phpt: file bug38710.phpt was initially added on branch PHP_5_2. 2007-03-09 Dmitry Stogov * sapi/cgi/cgi_main.c sapi/cgi/cgi_main.c: Return HTTP 403 in case of "access denied". 2007-03-09 Antony Dovgal * (PHP_4_4) NEWS ext/session/mod_files.c: fix #40747 (possible crash in session when save_path is out of open_basedir) * (PHP_5_2) ext/standard/string.c ext/standard/tests/strings/bug40754.phpt: fix substr() it's perfectly legal to do substr("str", 0, 1000000); * (PHP_5_2) ext/date/tests/010.phpt ext/standard/tests/strings/substr_compare.phpt: fix tests 2007-03-09 Ilia Alshanetsky * (PHP_5_2) NEWS ext/standard/string.c ext/standard/tests/strings/bug40754.phpt ext/standard/tests/strings/bug40754.phpt: Fixed bug #40754 (added substr() & substr_replace() overflow checks). * (PHP_5_2) ext/standard/basic_functions.c: Add _SESSION to checklist * (PHP_5_2) ext/standard/basic_functions.c: Fixed a possible super-global overwrite inside import_request_variables(). 2007-03-09 Rasmus Lerdorf * ext/curl/interface.c: MFB Off by ! in file:/// control char check * (PHP_5_2) ext/curl/interface.c: Off by ! in the url control char check for file:/// urls 2007-03-09 Pierre-Alain Joye * (PHP_5_2) ext/gd/libgd/gd.c: - #40764, line thickness not respected for horizontal and vertical lines 2007-03-08 Stanislav Malyshev * ext/mysqli/mysqli_api.c: MFB: fix crash/leak in bug #38710 * (PHP_5_2) NEWS: more fixes * (PHP_5_2) ext/mysqli/mysqli_api.c: fix crash/leak in bug #38710 * (PHP_5_2) NEWS: add news 2007-03-08 Nuno Lopes * (PHP_5_2) NEWS: BFN: gd gif reading 2007-03-08 Stanislav Malyshev * ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h: MFB: fix crash on $x['x']['y'] += 1, patch by Brian Shire * ZendEngine2/tests/offset_assign.phpt: MFB test * ZendEngine2/tests/offset_assign.phpt ZendEngine2/tests/offset_assign.phpt: file offset_assign.phpt was initially added on branch PHP_5_2. * (PHP_5_2) ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h: fix crash on $x['x']['y'] += 1, patch by Brian Shire 2007-03-08 Nuno Lopes * ext/gd/libgd/gd_gif_in.c: MFB: fix thread unsafety in the gif reader code (merge from libgd cvs) * (PHP_5_2) ext/gd/libgd/gd_gif_in.c: fix thread unsafety in the gif reader code (merge from libgd cvs) 2007-03-08 Marcus Boerger * ZendEngine2/zend_compile.c ZendEngine2/zend_compile.h ZendEngine2/zend_execute_API.c ZendEngine2/zend_language_parser.y ZendEngine2/zend_opcode.c ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h ZendEngine2/zend_vm_opcodes.h: - Improved version of ternary shortcut 2007-03-08 Stanislav Malyshev * (PHP_5_2) ext/standard/string.c: clarify checks and error messages 2007-03-08 Antony Dovgal * (PHP_5_2) NEWS ext/standard/basic_functions.c ext/standard/tests/general_functions/bug40752.phpt: MFH: fix #40752 (parse_ini_file() segfaults when a scalar setting is redeclared as an array) * ext/standard/tests/general_functions/bug40752.phpt ext/standard/tests/general_functions/bug40752.phpt: fix #40752 (parse_ini_file() segfaults when a scalar setting is redeclared as an array) * ext/standard/basic_functions.c: fix #40752 (parse_ini_file() segfaults when a scalar setting is redeclared as an array) 2007-03-08 Ilia Alshanetsky * (PHP_5_2) ext/standard/string.c: Improved length parameter validation * (PHP_5_2) ext/standard/string.c: Improved offset validation 2007-03-07 Stanislav Malyshev * (PHP_5_2) ext/standard/string.c: fix MOPB#14 2007-03-07 Antony Dovgal * (PHP_4_4) ext/gmp/tests/bug32773.phpt: fix test 2007-03-07 Zoe Slattery * ext/standard/tests/array/array_slice.phpt: New test case for array_slice 2007-03-07 Antony Dovgal * (PHP_5_2) ext/pdo_mysql/config.m4: fix small typo add --with-zlib-dir option (and simple automagic zlib detection) * (PHP_5_2) NEWS ext/pdo/pdo_stmt.c: MFH: fix #40727 (segfault in PDO when failed to bind parameters) * ext/pdo/pdo_stmt.c: fix #40727 (segfault in PDO when failed to bind parameters) 2007-03-07 Ilia Alshanetsky * (PHP_5_2) ZendEngine2/zend_alloc.h: Fixed calloc wrapper * (PHP_5_2) ext/standard/browscap.c: malloc() -> pemalloc() * (PHP_5_2) ZendEngine2/zend_alloc.h: Add checks around raw allocation code 2007-03-06 Derick Rethans * ext/date/lib/timezonedb.h ext/date/lib/timezonemap.h: - MF52: Updated timezone database to version 2007.3. * (PHP_5_2) NEWS ext/date/lib/timezonedb.h ext/date/lib/timezonemap.h: - Updated timezone database to version 2007.3. (Derick) 2007-03-06 Antony Dovgal * ZendEngine2/zend_ini.c: comment out unused function need to figure out why and what for it has been added in the first place.. * (PHP_5_2) ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c: use the aliases and eliminate one more compile warning * (PHP_5_2) ZendEngine2/zend_alloc.c: MFH: declare zend_mm_random() only when needed * ZendEngine2/zend_alloc.c: declare zend_mm_random() only when needed * ext/standard/var.c: be consistent with non-unicode implementation 2007-03-06 Sara Golemon * main/streams/streams.c: Fix handling over overridden file:// wrapper 2007-03-06 Antony Dovgal * ext/standard/basic_functions.c ext/standard/tests/general_functions/import_request.phpt: fix segfault in import_request_variables() and its test I'm not completely sure it's correct to import numeric vars like _POST["1"] etc. 2007-03-06 Uwe Schindler * sapi/nsapi/nsapi-readme.txt sapi/nsapi/nsapi.c: Update function names for PHP6 to php6* 2007-03-06 Antony Dovgal * ext/standard/var.c: initialize variable * ZendEngine2/tests/bug21478.phpt ZendEngine2/tests/bug31720.phpt ZendEngine2/tests/bug32290.phpt ZendEngine2/tests/bug36214.phpt ext/standard/tests/file/bug37158.phpt ext/standard/tests/file/bug38450.phpt ext/standard/tests/file/bug38450_1.phpt ext/standard/tests/general_functions/call_user_func_return.phpt ext/standard/tests/network/bug20134.phpt ext/standard/tests/serialize/bug24063.phpt ext/standard/tests/strings/bug20934.phpt ext/standard/tests/strings/bug26817.phpt ext/standard/tests/strings/bug29119.phpt ext/standard/tests/strings/explode.phpt ext/standard/tests/strings/http_build_query.phpt ext/standard/tests/strings/metaphone.phpt ext/standard/tests/strings/url_t.phpt: fix tests 2007-03-06 Uwe Schindler * sapi/nsapi/nsapi.c sapi/nsapi/nsapi.c: remove (large) static buffers for header names and request uri * sapi/nsapi/nsapi.c sapi/nsapi/nsapi.c: use slprintf instead of snprintf and remove 0termination things (because slprintf is always available now) 2007-03-06 Antony Dovgal * ext/ming/config.m4: fix AC_TRY_COMPILE usage 2007-03-06 Ilia Alshanetsky * (PHP_5_2) ZendEngine2/zend_strtod.c: Added missing allocation checks 2007-03-06 Stanislav Malyshev * (PHP_5_2) ext/bz2/bz2.c ext/sqlite/sqlite.c ext/sybase_ct/php_sybase_ct.c: use safe_realloc * (PHP_5_2) ext/sybase/php_sybase_db.c: use safe_erealloc 2007-03-06 Marcus Boerger * ext/mbstring/oniguruma/regerror.c: - Add missing return value check * (PHP_5_2) ext/mbstring/oniguruma/regerror.c: - Revert last part and fix issue under windows * (PHP_5_2) ext/mbstring/oniguruma/regversion.c: - And the sizes too * (PHP_5_2) ext/mbstring/oniguruma/regversion.c: - More to go * (PHP_5_2) ext/mbstring/oniguruma/regposerr.c: - There you go * (PHP_5_2) ext/mbstring/oniguruma/regposerr.c: - MFH Revert back to sprintf (we could define snprintf for windows but we don't) * ext/mbstring/oniguruma/regposerr.c: - Revert back to sprintf (we could define snprintf for windows but we don't) 2007-03-06 Ilia Alshanetsky * (PHP_5_2) NEWS ext/pdo/pdo_sql_parser.c ext/pdo/pdo_sql_parser.re: Fixed bug #40417 (Allow multiple instances of the same named PDO token in prepared statement emulation code). 2007-03-06 Stanislav Malyshev * (PHP_5_2) ext/interbase/ibase_service.c: fix broken snprintf code 2007-03-05 Stanislav Malyshev * (PHP_4_4) ext/fdf/fdf.c: MF5: use safe_emalloc * (PHP_4_4) sapi/isapi/php4isapi.c: MF5: use srtlcat * (PHP_4_4) sapi/apache/php_apache.c sapi/apache2handler/php_functions.c: MF5: use snprintf * (PHP_4_4) ext/xmlrpc/libxmlrpc/xml_to_soap.c: MF5: increase array size to fit buffer size * (PHP_5_2) ext/fdf/fdf.c: use safe_emalloc 2007-03-05 Uwe Schindler * sapi/nsapi/nsapi.c sapi/nsapi/nsapi.c: snprintf patch 2007-03-05 andy wharmby * NEWS: Remove bug entry for 35872 as now in 5.2 2007-03-05 Michael Wallner * (PHP_5_2) NEWS: BFN * ext/date/php_date.c ext/date/php_date.c: - fix ws as requested by derick * ext/date/php_date.c ext/date/php_date.c: - fix bug #40691: add comparison object handler 2007-03-05 andy wharmby * NEWS NEWS ext/com_dotnet/com_extension.c ext/com_dotnet/com_extension.c ext/com_dotnet/com_wrapper.c ext/com_dotnet/com_wrapper.c ext/com_dotnet/php_com_dotnet.h ext/com_dotnet/php_com_dotnet.h: Fixed bug #35872 (Prevent object store references during RSHUTDOWN) 2007-03-04 Ilia Alshanetsky * (PHP_5_2) NEWS ext/xmlrpc/libxmlrpc/base64.c ext/xmlrpc/libxmlrpc/base64.h ext/xmlrpc/libxmlrpc/xml_to_dandarpc.c ext/xmlrpc/libxmlrpc/xml_to_soap.c ext/xmlrpc/libxmlrpc/xml_to_xmlrpc.c: Fixed bug #40703 (Resolved a possible namespace conflict between libxmlrpc and MySQL's NDB table handler). * ext/standard/tests/array/bug40709.phpt ext/standard/tests/array/bug40709.phpt: file bug40709.phpt was initially added on branch PHP_5_2. * (PHP_5_2) NEWS ext/standard/array.c: Fixed bug #40709 (array_reduce() behaves strange with one item stored arrays). 2007-03-04 Marcus Boerger * ZendEngine2/zend_language_parser.y: - Implement '?:' [DOC] "expr1 ?: expr1" is a shortcut for: "expr1 ? expr1 : expr2" as exists in gcc and discussed some time back. Note that this is not an implementation ifsetor($var, default). While ifsetor would not generate any message for non existing variables or array indices the ternary shortcut does. Also the ternary shortcut does a boolean evaluation rather then checking for isset(). That way ther ternary shortcut can work on any expression while ifsetor can only work on variables. Also to be silent one has do do: "@$expr1 ?: $expr2". * (PHP_5_2) ext/spl/spl_directory.c ext/spl/spl_iterators.c: - Fix copy'n'paste issues * (PHP_5_2) ext/spl/spl_directory.c ext/spl/spl_iterators.c ext/spl/internal/parentiterator.inc: - MFH simplify, synch docu/implementation * ext/spl/spl_directory.c: - Missed one is-dot check * ext/spl/spl_iterators.c ext/spl/internal/parentiterator.inc: - Match docu with implementation - RecursiveFilterIterator::accept() needs to be abstract * ext/spl/spl_directory.c ext/spl/spl_iterators.c: - Simplify 2007-03-04 Stanislav Malyshev * (PHP_5_2) ext/wddx/wddx.c: ik, make it memcpy * (PHP_5_2) ext/wddx/wddx.c: fix wrong code 2007-03-04 Marcus Boerger * ext/spl/spl_directory.c ext/spl/spl_directory.h: - And finally use prefix style names for consistency sake 2007-03-04 Edin Kadribasic * win32/build/Makefile: MFB: Check that manifest file exists before trying to embed it * (PHP_5_2) win32/build/Makefile: Check that manifest file exists before trying to embed it 2007-03-04 Marcus Boerger * ext/spl/spl_directory.c ext/spl/spl_directory.h: - Reverting glob on child logic makes globbing work better with the example code * ext/spl/spl_directory.c ext/spl/spl_directory.h: - Fix a minor issue with glob support - forgot to set length of string - Add ability to not use glob on subdirs 2007-03-03 Marcus Boerger * main/streams/glob_wrapper.c: - Missed to add [ to meta char check * ext/spl/spl_directory.c ext/spl/spl_directory.h: - Glob might require us to refetch the path for every entry * main/streams/glob_wrapper.c main/streams/php_stream_glob_wrapper.h: - Allow to retrieve flags with php_glob_stream_get_count() - Detect meta chars in pathand switch to append mode so that path can actually changes for each entry 2007-03-03 Edin Kadribasic * (PHP_5_2) NEWS: Library update 2007-03-03 Marcus Boerger * ext/spl/spl_directory.c: - Add DirectoryIterator::count() * main/streams/glob_wrapper.c main/streams/php_stream_glob_wrapper.h: - Allow to get number of entries of a glob stream * main/php_streams.h: - One more tab to go * main/php_streams.h: - Change to hex to help read-/maintainability * ext/spl/spl_directory.c ext/spl/spl_directory.h: - Add glob support for DirectoryIterator * win32/php5dllts.dsp win32/build/config.w32: - Add glob stream to win build * main/streams/glob_wrapper.c main/streams/php_stream_glob_wrapper.h: - Provide access to pattern used in glob * main/streams/glob_wrapper.c main/streams/php_stream_glob_wrapper.h: - php_stream_is() requires php_glob_stream_ops to be public - little bit of additional whitespace * configure.in ext/standard/basic_functions.c main/php_streams.h main/streams/glob_wrapper.c main/streams/php_stream_glob_wrapper.h main/streams/plain_wrapper.c: - Add glob stream wrapper * ext/standard/file.c: - Fix realpath() logic * (PHP_5_2) main/streams/streams.c: - MFH A stream wrapper might only allow directory access * main/streams/streams.c: -A stream wrapper might only allow directory access 2007-03-03 Ilia Alshanetsky * (PHP_5_2) ext/standard/string.c ext/standard/tests/strings/bug40704.phpt ext/standard/tests/strings/bug40704.phpt: Fixed bug #40704 (strip_tags() does not handle single quotes correctly) 2007-03-03 Marcus Boerger * (PHP_5_2) NEWS: - The # line does not belong here * (PHP_5_2) NEWS ext/spl/spl_directory.c: - MFH [DOC] Add SplFileInfo::getBasename(), DirectoryIterator::getBasename - MFH Add SplFileInfo::getLinkTarget(), SplFileInfo::getRealPath() 2007-03-03 Ilia Alshanetsky * (PHP_5_2) ext/session/mod_files.c ext/session/session.c: Adjust checks to allow paths without a trailing / 2007-03-03 Marcus Boerger * ext/spl/spl_directory.c: - SplFileInfo::getRealPath() is not always present * ext/spl/spl_directory.c: * ext/spl/spl_directory.c: - [DOC] Add SplInfo::getBasename(), DirectoryIterator::getBasename() * ZendEngine2/zend_execute_API.c ZendEngine2/zend_execute_API.c: - Catch empty class name error earlier 2007-03-03 Johannes Schlüter * main/output.c tests/output/ob_020.phpt: - Fix old behaviour, ob_list_handlers() should always return an array 2007-03-03 Edin Kadribasic * (PHP_4_4) ext/interbase/interbase.dsp ext/snmp/snmp.dsp ext/sybase_ct/sybase_ct.dsp sapi/apache/php4apache.dsp sapi/apache2handler/php4apache2.dsp sapi/pi3web/php4pi3web.dsp: Use standardised locations for libs and includes * (PHP_4_4) ext/informix/ifx.dsp: Made compile without magic * (PHP_5_2) NEWS: Lib upgrade update 2007-03-02 Stanislav Malyshev * main/main.c main/main.c main/php_globals.h main/php_globals.h main/php_variables.c main/php_variables.c: limit nesting level of input variables * (PHP_5_2) main/php_variables.c: fix variable name * (PHP_5_2) NEWS: limit input variable nesting 2007-03-02 Nuno Lopes * ext/standard/tests/file/proc_open01.phpt: MFB * (PHP_5_2) ext/standard/tests/file/proc_open01.phpt: increase the stream_select() timeout, to make the test pass in a slow machine with valgrind * ext/gd/libgd/gd_gif_in.c: MFB * (PHP_5_2) ext/gd/libgd/gd_gif_in.c: fix access to non initialized memory (check valgrind reports on http://gcov.php.net) 2007-03-02 Antony Dovgal * ext/oci8/tests/bug40415.phpt: mask resource numbers * (PHP_5_2) ext/oci8/tests/lob_029.phpt: improved test 2007-03-02 Ilia Alshanetsky * (PHP_5_2) ext/session/session.c: Improve safe_mode check 2007-03-01 Antony Dovgal * (PHP_5_2) ext/oci8/tests/bug40415.phpt ext/oci8/tests/fetch_all3.phpt ext/oci8/tests/fetch_all3.phpt ext/oci8/tests/lob_037.phpt ext/oci8/tests/lob_038.phpt ext/oci8/tests/lob_039.phpt: new tests * ext/oci8/tests/bug40415.phpt ext/oci8/tests/bug40415.phpt ext/oci8/tests/lob_029.phpt ext/oci8/tests/lob_037.phpt ext/oci8/tests/lob_037.phpt ext/oci8/tests/lob_038.phpt ext/oci8/tests/lob_038.phpt ext/oci8/tests/lob_039.phpt ext/oci8/tests/lob_039.phpt: new tests by Chris and me * ext/oci8/oci8_statement.c ext/oci8/php_oci8_int.h: MFB: allocate and define descriptors dynamically * (PHP_5_2) ext/oci8/oci8_statement.c ext/oci8/php_oci8_int.h: allocate descriptors dynamically 2007-03-01 Nuno Lopes * (PHP_4_4) ext/gd/libgd/gdft.c: MFH * ext/gd/libgd/gdft.c: MFB * (PHP_5_2) ext/gd/libgd/gdft.c: merge from gd sources: unlock mutex before shuting it down 2007-03-01 Antony Dovgal * ext/iconv/config.m4: fix iconv cross-compilation * (PHP_5_2) NEWS ext/posix/config.m4: MFH: fix #40678 (Cross compilation fails) * ext/posix/config.m4: fix #40678 (Cross compilation fails) 2007-03-01 Ilia Alshanetsky * (PHP_5_2) NEWS: Fixed bug #40464 (session.save_path wont use default-value when safe_mode or open_basedir is enabled). 2007-02-28 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.6. 2007-02-28 Hannes Magnusson * ext/interbase/interbase.c ext/interbase/interbase.c: Typo 2007-02-28 Ilia Alshanetsky * (PHP_5_2) ext/mbstring/oniguruma/regerror.c: Fixed typo * (PHP_5_2) ext/mbstring/oniguruma/regerror.c: Adjust vsnprintf() usage 2007-02-27 Ilia Alshanetsky * (PHP_5_2) ext/ftp/ftp.c ext/hash/hash.c ext/mbstring/oniguruma/regerror.c ext/mhash/mhash.c ext/pcre/pcrelib/pcregrep.c ext/pdo_firebird/firebird_driver.c ext/session/mod_mm.c ext/session/session.c ext/spl/spl_directory.c ext/spl/spl_iterators.c ext/standard/html.c ext/standard/http_fopen_wrapper.c ext/standard/string.c ext/wddx/wddx.c main/SAPI.c sapi/cgi/cgi_main.c sapi/cgi/fastcgi.c sapi/tux/php_tux.c: snprintf() -> slprintf() * (PHP_5_2) ext/date/php_date.c ext/exif/exif.c ext/imap/php_imap.c ext/interbase/ibase_query.c ext/interbase/ibase_service.c ext/interbase/interbase.c ext/pdo_firebird/firebird_statement.c ext/soap/soap.c: snprintf() -> slprintf() * (PHP_5_2) ext/standard/string.c: Fixed bug #40637 (Regression in strip_tags() in relation so quote handling) 2007-02-26 Marcus Boerger * ext/spl/spl_directory.c: - Add missing access check * ext/spl/spl.php ext/spl/spl_directory.c: - Add SplFileInfo::getLinkTarget - Add SplFileInfo::getRealPath 2007-02-26 Antony Dovgal * ZendEngine2/zend_operators.c ZendEngine2/zend_operators.h: nuke dead code * ext/standard/filestat.c: simplify disk_*_space() functions sources by moving ifdef'ed implementations into separate functions * (PHP_5_2) ext/session/mod_mm.c: fix typo 2007-02-26 Dmitry Stogov * ext/soap/tests/bugs/bug40609.phpt ext/soap/tests/bugs/bug40609.phpt ext/soap/tests/bugs/bug40609.wsdl ext/soap/tests/bugs/bug40609.wsdl: Fixed tests 2007-02-26 Antony Dovgal * Makefile.global: remind about 'make test' * ext/standard/filestat.c ext/standard/filestat.c: fix folding 2007-02-26 Rob Richards * ext/pcre/php_pcre.def: fix win build 2007-02-26 Antony Dovgal * (PHP_5_2) ext/standard/tests/serialize/bug24063.phpt: fix the sprintf() -> zend_spprintf() change affected this * (PHP_5_2) main/snprintf.c: fix ws/cs and make the ugly code less ugly.. * main/snprintf.c: fix CS/WS * ZendEngine2/zend_operators.c: MFB: use zend_spprintf() 2007-02-26 Dmitry Stogov * main/snprintf.c: ZTS fix 2007-02-26 Antony Dovgal * (PHP_5_2) ext/standard/tests/strings/bug40637.phpt: add new test * ext/standard/tests/strings/bug40637.phpt ext/standard/tests/strings/bug40637.phpt: new test 2007-02-26 Dmitry Stogov * sapi/cgi/fastcgi.c sapi/cgi/fastcgi.c: poll() is not affected by FD_SETSIZE (Tony) 2007-02-26 Antony Dovgal * (PHP_4_4) NEWS ext/curl/curl.c: fix #40635 (segfault in cURL extension) 2007-02-26 Ilia Alshanetsky * (PHP_5_2) ext/standard/head.c: Revert previous commit that caused a buffer overflow (Bug #40634) 2007-02-25 Antony Dovgal * ext/dbase/dbase.c ext/dbase/tests/001.phpt ext/dbase/tests/002.phpt: do not allow db without fields fix test * ext/sockets/sockets.c: zerofill socket structs 2007-02-25 Nuno Lopes * main/php_compat.h: MFB: update pcre symbol list * (PHP_5_2) main/php_compat.h: update pcre symbols list 2007-02-25 Dmitry Stogov * (PHP_5_2) NEWS ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h ZendEngine2/zend_vm_execute.h: Fixed bug #40591 (list()="string"; gives invalid opcode) * ext/soap/tests/bugs/bug40609.phpt ext/soap/tests/bugs/bug40609.phpt ext/soap/tests/bugs/bug40609.wsdl ext/soap/tests/bugs/bug40609.wsdl: file bug40609.phpt was initially added on branch PHP_5_2. * (PHP_5_2) NEWS ext/soap/php_encoding.c ext/soap/php_encoding.c ext/soap/tests/bugs/bug40609.phpt ext/soap/tests/bugs/bug40609.wsdl: Fixed bug #40609 (Segfaults when using more than one SoapVar in a request). (Rob, Dmitry) 2007-02-25 Marcus Boerger * ext/exif/exif.c: - Readability 2007-02-25 Pierre-Alain Joye * ext/gd/libgd/gdft.c: - MFB: sync with libgd.org, patch from Kees Cook * (PHP_5_2) ext/gd/libgd/gdft.c: - sync with libgd.org, patch from Kees Cook 2007-02-24 Rasmus Lerdorf * (PHP_5_2) ext/filter/tests/bug39763.phpt: Fix test 2007-02-24 Antony Dovgal * (PHP_5_2) NEWS: BFN * (PHP_5_2) ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h ZendEngine2/tests/bug40621.phpt: MFH: fix #40621 (Crash when constructor called inappropriately (statically)) * ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h ZendEngine2/tests/bug40621.phpt ZendEngine2/tests/bug40621.phpt: fix #40621 (Crash when constructor called inappropriately (statically)) 2007-02-24 Pierre-Alain Joye * ext/zip/lib/zip_close.c: - MFB: Fixed snprintf() usage * ext/zip/lib/zip_close.c ext/zip/lib/zip_open.c ext/zip/lib/zip_source_file.c: - merge from pecl: Force binary mode on windows * ext/zip/lib/zip_close.c: - MFB: free temp buffer 2007-02-24 Marcus Boerger * ext/exif/exif.c: - MFB Synch * main/snprintf.c: - Make [v]s[nl]printf compatible with 5.2 versions and [v]spprintf of head * main/snprintf.c main/snprintf.h: - Add [v]slprintf * (PHP_5_2) main/snprintf.c main/snprintf.h: - Add [v]slprintf to overcome the returnvalues issue of snprintf 2007-02-24 Ilia Alshanetsky * (PHP_5_2) ext/exif/exif.c: missing -1 * (PHP_5_2) ext/dbase/dbf_head.c ext/dbase/dbf_rec.c ext/gd/libgd/gd_gif_in.c ext/interbase/ibase_query.c ext/pdo_firebird/firebird_statement.c ext/wddx/wddx.c: strncpy() -> strlcpy() * (PHP_5_2) ext/exif/exif.c: Pad to given length, not replace data with spaces * (PHP_5_2) ext/exif/exif.c: Eliminate strncpy and simplify code * (PHP_5_2) ext/standard/html.c: Eliminate strncpy() and simplify code * (PHP_5_2) ext/standard/dir.c: strncpy > strlcpy * (PHP_5_2) ext/shmop/shmop.c: Only do size check on create operations 2007-02-24 Marcus Boerger * ZendEngine2/zend.c ext/bcmath/libbcmath/src/output.c ext/bcmath/libbcmath/src/rt.c ext/com_dotnet/com_wrapper.c ext/dbase/dbf_head.c ext/dbase/dbf_misc.c ext/exif/exif.c ext/fbsql/php_fbsql.c ext/ftp/ftp.c ext/gd/libgd/gdtest.c ext/gd/libgd/webpng.c ext/imap/php_imap.c ext/interbase/ibase_blobs.c ext/interbase/ibase_query.c ext/interbase/ibase_service.c ext/interbase/interbase.c ext/mbstring/mbstring.c ext/mbstring/oniguruma/regposerr.c ext/msql/php_msql.c ext/mssql/php_mssql.c ext/mysql/php_mysql.c ext/mysqli/mysqli.c ext/mysqli/mysqli_api.c ext/mysqli/mysqli_prop.c ext/mysqli/php_mysqli.h ext/oci8/oci8.c ext/odbc/php_odbc.c ext/openssl/openssl.c ext/pcre/pcrelib/pcregrep.c ext/pcre/pcrelib/pcreposix.c ext/pdo_firebird/firebird_statement.c ext/pdo_odbc/odbc_driver.c ext/pgsql/pgsql.c ext/pspell/pspell.c ext/session/mod_mm.c ext/session/session.c ext/skeleton/skeleton.c ext/soap/php_encoding.c ext/soap/php_http.c ext/soap/soap.c ext/standard/dns.c ext/standard/head.c ext/standard/image.c ext/standard/pack.c ext/standard/proc_open.c ext/standard/scanf.c ext/standard/string.c ext/standard/type.c ext/sybase_ct/php_sybase_ct.c ext/wddx/wddx.c ext/zip/lib/zip_close.c ext/zip/lib/zip_error_strerror.c main/fopen_wrappers.c main/php_ini.c main/rfc1867.c sapi/nsapi/nsapi.c sapi/tux/php_tux.c win32/registry.c win32/sendmail.c: - avoid sprintf 2007-02-24 Ilia Alshanetsky * (PHP_5_2) ext/zip/lib/zip_close.c: Fixed snprintf() usage * (PHP_5_2) ext/shmop/shmop.c: Segment size validation * (PHP_5_2) NEWS main/streams/transports.c: Fixed Bug #39396 (stream_set_blocking crashes on Win32). * (PHP_5_2) ext/sysvshm/sysvshm.c ext/sysvshm/tests/002.phpt: Unify validation of shm segment size inside shm_attach() * (PHP_5_2) ext/tidy/tests/024.phpt: Fixed test to work with new version of libtidy that strips spaces 2007-02-24 Marcus Boerger * (PHP_5_2) main/rfc1867.c: - Drop superflous efree * (PHP_5_2) ext/mysqli/php_mysqli.h: - Fix spprintf usage * (PHP_5_2) ext/exif/exif.c: - Make debug code really safe 2007-02-24 Dmitry Stogov * sapi/cgi/fastcgi.c sapi/cgi/fastcgi.c: Use poll() instead of select() if available 2007-02-24 Ilia Alshanetsky * (PHP_5_2) ext/standard/proc_open.c: strdup() can fail 2007-02-24 Stanislav Malyshev * (PHP_5_2) ext/exif/exif.c: use safe allocations 2007-02-24 Ilia Alshanetsky * (PHP_5_2) ext/sybase/php_sybase_db.c: Fixed a typo 2007-02-24 Stanislav Malyshev * (PHP_5_2) TSRM/tsrm_win32.c: Unfortunately, VC does not have snprintf, and sprintf_s supported only in vc2005 Fortunately, we don't need it here too badly. * (PHP_5_2) ext/ftp/ftp.c: fix typo * (PHP_5_2) ext/bcmath/libbcmath/src/rt.c: fix typos 2007-02-24 Marcus Boerger * (PHP_5_2) TSRM/tsrm_win32.c ZendEngine2/zend.c ZendEngine2/zend_builtin_functions.c ZendEngine2/zend_compile.c ZendEngine2/zend_language_scanner.l ZendEngine2/zend_operators.c ext/bcmath/libbcmath/src/output.c ext/bcmath/libbcmath/src/rt.c ext/com_dotnet/com_wrapper.c ext/date/php_date.c ext/dbase/dbf_head.c ext/dbase/dbf_misc.c ext/exif/exif.c ext/fbsql/php_fbsql.c ext/ftp/ftp.c ext/gd/libgd/gdtest.c ext/gd/libgd/webpng.c ext/imap/php_imap.c ext/interbase/ibase_blobs.c ext/interbase/ibase_query.c ext/interbase/ibase_service.c ext/interbase/interbase.c ext/mbstring/mbstring.c ext/mbstring/oniguruma/regerror.c ext/mbstring/oniguruma/regposerr.c ext/mbstring/oniguruma/regversion.c ext/mhash/mhash.c ext/msql/php_msql.c ext/mssql/php_mssql.c ext/mysql/php_mysql.c ext/mysqli/mysqli.c ext/mysqli/mysqli_api.c ext/mysqli/mysqli_prop.c ext/mysqli/php_mysqli.h ext/oci8/oci8.c ext/odbc/php_odbc.c ext/openssl/openssl.c ext/pcre/pcrelib/pcregrep.c ext/pcre/pcrelib/pcreposix.c ext/pdo_firebird/firebird_statement.c ext/pdo_odbc/odbc_driver.c ext/pgsql/pgsql.c ext/pspell/pspell.c ext/session/mod_mm.c ext/session/session.c ext/skeleton/skeleton.c ext/soap/php_encoding.c ext/soap/php_http.c ext/soap/soap.c ext/standard/dns.c ext/standard/head.c ext/standard/image.c ext/standard/pack.c ext/standard/proc_open.c ext/standard/scanf.c ext/standard/string.c ext/standard/type.c ext/sybase_ct/php_sybase_ct.c ext/wddx/wddx.c ext/zip/lib/zip_close.c ext/zip/lib/zip_error_strerror.c main/SAPI.c main/fopen_wrappers.c main/php_ini.c main/rfc1867.c sapi/apache/php_apache.c sapi/apache2handler/php_functions.c sapi/apache_hooks/php_apache.c sapi/cgi/cgi_main.c sapi/cli/php_cli_readline.c sapi/nsapi/nsapi.c sapi/tux/php_tux.c win32/registry.c win32/sendmail.c: - Avoid sprintf, even when checked copy'n'paste or changes lead to errors 2007-02-24 Stanislav Malyshev * (PHP_5_2) ext/session/session.c: disallow negative length 2007-02-23 Sara Golemon * (PHP_5_2) main/streams/plain_wrapper.c: MFH (r-1.82): Add retry for interrupted reads and graceful handling for failed retries * main/streams/plain_wrapper.c: Add retry for interrupted reads and graceful handling for failed retries 2007-02-23 Stanislav Malyshev * (PHP_5_2) sapi/isapi/php5isapi.c sapi/isapi/php5isapi.c: use strlcat * (PHP_5_2) sapi/apache/php_apache.c sapi/apache2handler/php_functions.c sapi/apache_hooks/php_apache.c: use snprintf * (PHP_5_2) ext/xmlrpc/libxmlrpc/xml_to_soap.c: increase array size to fit buffer size 2007-02-23 Antony Dovgal * (PHP_4_4) NEWS ext/curl/curl.c: fix #40611 (possible cURL memory error) * ext/curl/interface.c: fix leak no need to allocate the buffer if there was no data 2007-02-23 Stanislav Malyshev * (PHP_5_2) ext/soap/php_sdl.c: use safe_emalloc 2007-02-23 Antony Dovgal * (PHP_5_2) NEWS ext/standard/file.c: MFH: fix #40606 (umask is not being restored when request is finished) * ext/standard/file.c: fix #40606 (umask is not being restored when request is finished) 2007-02-23 Rob Richards * (PHP_5_2) NEWS: BFN * ext/libxml/libxml.c: fix bug #40598 (libxml segfault) mark more functions unicode safe * (PHP_5_2) ext/libxml/libxml.c: fix bug #40598 (libxml segfault) 2007-02-23 Pierre-Alain Joye * ext/gd/libgd/gdft.c: - MFB: #40578, fix the 2nd race condition on shutdown when the cache is freed * (PHP_5_2) NEWS ext/gd/libgd/gdft.c: - #40578, fix the 2nd race condition on shutdown when the cache is freed 2007-02-23 Ilia Alshanetsky * (PHP_5_2) ext/pgsql/pgsql.c ext/standard/dl.c ext/sybase/php_sybase_db.c ext/sybase_ct/php_sybase_ct.c: Simplify code by converting emalloc() + sprintf() to spprintf() 2007-02-22 Antony Dovgal * (PHP_5_2) ext/posix/posix.c: MFH: check for buflen (on FreeBSD _SC_GETGR_R_SIZE_MAX is not implemented) patch by stas at FreeBSD dot org * ext/posix/posix.c: check for buflen (on FreeBSD _SC_GETGR_R_SIZE_MAX is not implemented) patch by stas at FreeBSD dot org 2007-02-22 Marcus Boerger * main/streams/memory.c: - Fix logic 2007-02-22 Edin Kadribasic * (PHP_4_4) ext/imap/imap.dsp: fix build 2007-02-22 Derick Rethans * (PHP_4_4) NEWS configure.in main/php_version.h: - Back to -dev. * (PHP_4_4) NEWS configure.in main/php_version.h: - Go with RC1. 2007-02-22 Nuno Lopes * ext/standard/tests/general_functions/proc_open02.phpt: MFB * (PHP_5_2) ext/standard/tests/general_functions/proc_open02.phpt: fix test on ultra-fast-machines and/or SOs with long time slices 2007-02-22 Antony Dovgal * sapi/cli/php_cli.c: check for NULL, then add flag 2007-02-22 Dmitry Stogov * ext/standard/basic_functions.c ext/standard/basic_functions.c: Fixed possible crash in putenv() on win32 2007-02-22 Ilia Alshanetsky * (PHP_5_2) ext/standard/url_scanner.c: One more strcpy. (Thanks Stas) * (PHP_5_2) ext/standard/url_scanner.c: strcpy() elimination 2007-02-21 Antony Dovgal * ext/standard/tests/file/bug27508.phpt: minor improvements * (PHP_5_2) main/php_streams.h main/streams/plain_wrapper.c main/streams/streams.c sapi/cli/php_cli.c: MFH: implement PHP_STREAM_FLAG_NO_CLOSE and avoid hacks * main/php_streams.h main/streams/plain_wrapper.c main/streams/streams.c sapi/cli/php_cli.c: implement PHP_STREAM_FLAG_NO_CLOSE and avoid hacks in plain wrapper 2007-02-21 Stanislav Malyshev * ext/soap/php_http.c ext/soap/php_http.c: use snprintf 2007-02-21 Antony Dovgal * ext/standard/tests/file/get_current_user.phpt: fix test on FreeBSD * ext/iconv/tests/bug37176.phpt ext/iconv/tests/bug37773.phpt: fix tests * (PHP_5_2) ext/iconv/tests/bug37176.phpt ext/iconv/tests/bug37773.phpt: fix tests on AIX * ext/xmlrpc/tests/bug40576_64bit.phpt: add test * (PHP_5_2) ext/xmlrpc/tests/bug40576_64bit.phpt: wrong string len * ext/xmlrpc/tests/bug40576_64bit.phpt ext/xmlrpc/tests/bug40576_64bit.phpt: file bug40576_64bit.phpt was initially added on branch PHP_5_2. * ext/ftp/tests/bug37799.phpt ext/ftp/tests/bug37799.phpt ext/standard/tests/file/get_current_user.phpt ext/xmlrpc/tests/bug40576.phpt ext/xmlrpc/tests/bug40576.phpt: fix test * (PHP_4_4) NEWS NEWS ext/gd/libgd/gdft.c ext/gd/libgd/gdft.c: MFH: fix #40578 (imagettftext() multithreading issue) 2007-02-21 Nuno Lopes * ext/standard/tests/general_functions/proc_open02.phpt: MFB * (PHP_5_2) ext/standard/tests/general_functions/proc_open02.phpt: use /usr/bin/nohup instead * (PHP_5_2) ext/pdo_sqlite/sqlite/src/parse.c: fix gcov build (#line stuff) 2007-02-21 Dmitry Stogov * sapi/cgi/fastcgi.c sapi/cgi/fastcgi.c: Check for FD_SETSIZE limit 2007-02-21 Antony Dovgal * ext/gd/libgd/gdft.c: fix #40578 (imagettftext() multithreading issue) * (PHP_5_2) NEWS ext/xmlrpc/libxmlrpc/xml_to_xmlrpc.c ext/xmlrpc/tests/bug40576.phpt: MFH: fix #40576 (double values are truncated to 6 decimal digits when encoding) * ext/xmlrpc/libxmlrpc/xml_to_xmlrpc.c ext/xmlrpc/tests/bug40576.phpt ext/xmlrpc/tests/bug40576.phpt: fix bug #40576 (double values are truncated to 6 decimal digits when encoding) 2007-02-21 Dmitry Stogov * ZendEngine2/zend_hash.c ZendEngine2/zend_hash.c: Special case for last iteration * (PHP_5_2) NEWS TSRM/tsrm_virtual_cwd.c TSRM/tsrm_virtual_cwd.c: Fixed bug #40560 (DIR functions do not work on root UNC path) 2007-02-21 Antony Dovgal * sapi/cgi/cgi_main.c: fix typo 2007-02-21 Ilia Alshanetsky * (PHP_5_2) ext/soap/php_http.c: Improve redirect validation * (PHP_5_2) ext/standard/html.c: Use strlcpy() rather then strcpy() 2007-02-21 Stanislav Malyshev * (PHP_5_2) ext/standard/basic_functions.c: fix putenv - if there was no previous, remove variable from environ * ext/com_dotnet/com_olechar.c ext/com_dotnet/com_olechar.c: Cosmetic fix - safe_emalloc(nmemb, size, offset) * ext/com_dotnet/com_dotnet.c: MF5.2: CreateInstance requires BSTR (should fix #33188) * (PHP_5_2) ext/com_dotnet/com_dotnet.c: CreateInstance requires BSTR (should fix #33188) 2007-02-20 Stanislav Malyshev * (PHP_5_2) ext/com_dotnet/com_dotnet.c: fix unallocated free 2007-02-20 Antony Dovgal * (PHP_5_2) acinclude.m4 configure.in sapi/cgi/config9.m4: MFH: move PHP_TEST_WRITE_STDOUT to acinclude.m4 and use it in configure.in * acinclude.m4 configure.in sapi/cgi/config9.m4: move PHP_TEST_WRITE_STDOUT to acinclude.m4 and use it in configure.in its result is used in sapi/cli & sapi/embed, not just sapi/cgi * sapi/cgi/cgi_main.c sapi/cli/php_cli.c: don't call php_module_startup() directly, use startup functions patch by Andrei Nigmatulin * ext/simplexml/tests/bug38406.phpt ext/simplexml/tests/bug38406.phpt: new test * ext/simplexml/simplexml.c: fix leak, convert unicode values to string before assigning change error message to use zend_error() since there is no active function * (PHP_5_2) NEWS ext/simplexml/simplexml.c: MFH: fix #38406 (crash when assigning objects to SimpleXML attributes) * ext/simplexml/simplexml.c: fix #38406 (crash when assigning objects to SimpleXML attributes) 2007-02-20 Marcus Boerger * (PHP_5_2) NEWS: - BFN * ext/spl/spl_directory.c ext/spl/spl_directory.c: - Make stat based functions throw an exception 2007-02-20 Antony Dovgal * (PHP_5_2) NEWS: BFN * (PHP_5_2) ZendEngine2/zend_strtod.c: MFH: fix #40545 (multithreading issue in zend_strtod()) * ZendEngine2/zend_strtod.c: fix #40545 (multithreading issue in zend_strtod()) * sapi/cgi/cgi_main.c: MFB 2007-02-20 Ilia Alshanetsky * (PHP_5_2) NEWS ext/pdo_sqlite/sqlite/VERSION ext/pdo_sqlite/sqlite/src/btree.c ext/pdo_sqlite/sqlite/src/build.c ext/pdo_sqlite/sqlite/src/callback.c ext/pdo_sqlite/sqlite/src/delete.c ext/pdo_sqlite/sqlite/src/expr.c ext/pdo_sqlite/sqlite/src/func.c ext/pdo_sqlite/sqlite/src/opcodes.h ext/pdo_sqlite/sqlite/src/os_unix.c ext/pdo_sqlite/sqlite/src/parse.c ext/pdo_sqlite/sqlite/src/parse.h ext/pdo_sqlite/sqlite/src/parse.y ext/pdo_sqlite/sqlite/src/select.c ext/pdo_sqlite/sqlite/src/sqliteInt.h ext/pdo_sqlite/sqlite/src/tclsqlite.c ext/pdo_sqlite/sqlite/src/test1.c ext/pdo_sqlite/sqlite/src/test3.c ext/pdo_sqlite/sqlite/src/update.c ext/pdo_sqlite/sqlite/src/vdbemem.c ext/pdo_sqlite/sqlite/src/where.c: Upgraded SQLite 3 library to version 3.3.13 2007-02-19 Ilia Alshanetsky * (PHP_5_2) ext/session/mod_mm.c: Eliminate strcat() usage. * (PHP_5_2) sapi/cgi/cgi_main.c: Fixed strlcat() usage. 2007-02-19 Marcus Boerger * (PHP_5_2) NEWS ext/spl/spl_directory.c ext/spl/spl_directory.c: - Bugfix #40546: SplFileInfo::getPathInfo() throws an execption if directory is in root dir. 2007-02-19 Antony Dovgal * (PHP_5_2) ext/odbc/php_odbc.c: MFH: check SQLError() return value and output a meaningful errmsg when it fails * ext/odbc/php_odbc.c: check SQLError() return value and output a meaningful errmsg when it fails * tests/basic/022.phpt tests/basic/023.phpt tests/classes/bug26737.phpt tests/classes/bug27504.phpt tests/lang/034.phpt: fix tests * sapi/cgi/README.FastCGI sapi/cgi/cgi_main.c: MFB: Eliminate strcat() usage Fixed handling of argv[] for GET * ext/pgsql/config.m4 ext/pgsql/config.w32: MFB: PQfreemem() checks * ext/json/json.c ext/json/tests/bug40503.phpt: MFB: #40503 (json_encode() value corruption on 32bit systems with overflown values) * (PHP_5_2) ZendEngine2/zend_alloc.c: MFH: fix heap protection on SPARC, required by GCC4 patch by Dmitry * ZendEngine2/zend_alloc.c: fix heap protection on SPARC, required by GCC4 patch by Dmitry 2007-02-19 Edin Kadribasic * (PHP_5_2) NEWS: Info on new lib versions and BFN 2007-02-19 Dmitry Stogov * ext/com_dotnet/com_olechar.c ext/com_dotnet/com_olechar.c: typo 2007-02-19 Marcus Boerger * ext/standard/var.c: - MFH Fixed bug #40465 (Ensure that all PHP elements are printed by var_dump) 2007-02-19 Edin Kadribasic * (PHP_5_2) ext/pgsql/config.w32: Fixed bug #40371 2007-02-19 Marcus Boerger * ext/standard/info.c: - WS/CS * (PHP_5_2) ext/spl/spl_iterators.c: - MFH CachingIterator implements Countable 2007-02-19 Edin Kadribasic * ext/imap/php_imap.c ext/pgsql/config.w32: MFB * (PHP_5_2) NEWS ext/imap/php_imap.c: Fixed bug #36496 2007-02-19 Dmitry Stogov * TSRM/tsrm_virtual_cwd.c TSRM/tsrm_virtual_cwd.c: On win32 directories in the middle of the patch may be unreadable * sapi/cgi/cgi_main.c sapi/cgi/cgi_main.c: Initialize "retval" on each request * sapi/cgi/fastcgi.c sapi/cgi/fastcgi.c: Fixed fcgi_putenv() semantic with NULL value 2007-02-19 Antony Dovgal * ZendEngine2/tests/bug39602.phpt: fix test stdout is closed in non-debug mode 2007-02-18 Ilia Alshanetsky * (PHP_5_2) sapi/cgi/cgi_main.c: Eliminate strcat() usage Fixed handling of argv[] for GET * (PHP_5_2) ext/pgsql/config.m4 ext/pgsql/config.w32: PQfreemem checks * (PHP_5_2) NEWS ext/json/json.c ext/json/tests/bug40503.phpt ext/json/tests/bug40503.phpt: Fixed bug #40503 (json_encode() value corruption on 32bit systems with overflown values). 2007-02-17 Stanislav Malyshev * ext/pspell/pspell.c ext/pspell/pspell.c: use safer functions, check error value 2007-02-16 Antony Dovgal * (PHP_5_2) ZendEngine2/zend_alloc.c: fix typo * ZendEngine2/zend_alloc.c: typo in Dmitry's last name =) 2007-02-16 Dmitry Stogov * NEWS ZendEngine2/zend_compile.c ZendEngine2/zend_compile.h ZendEngine2/zend_execute.c ZendEngine2/zend_execute_API.c ZendEngine2/zend_globals.h ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h: Added runtime JIT auto-globals fetching and caching 2007-02-16 Stanislav Malyshev * ext/mysqli/mysqli.c ext/mysqli/mysqli.c: use error message size * (PHP_5_2) ext/calendar/calendar.c: fix snprintf size * ext/calendar/calendar.c: use snprintf, increase hebdate buffer * (PHP_5_2) ext/calendar/calendar.c: increase hebdate buffer, use snprintf 2007-02-16 Antony Dovgal * ZendEngine2/zend_alloc.h: fix build 2007-02-16 Stanislav Malyshev * ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.h ZendEngine2/zend_alloc.h: add safe_realloc * (PHP_5_2) ZendEngine2/zend_alloc.h: fix typo 2007-02-16 Dmitry Stogov * ext/standard/assert.c ext/standard/assert.c ext/standard/basic_functions.c ext/standard/basic_functions.c: Optimize out RINIT() 2007-02-16 Antony Dovgal * ext/imap/php_imap.c: MFB: fix leak * (PHP_5_2) ext/imap/php_imap.c: fix possible double free 2007-02-16 Dmitry Stogov * ext/standard/assert.c ext/standard/assert.c ext/standard/basic_functions.c ext/standard/basic_functions.c: Fixed return value of assert_options(ASSERT_CALLBACK) and possible crash (Andy Wharmby) * (PHP_4_4) NEWS NEWS sapi/cgi/cgi_main.c sapi/cgi/cgi_main.c sapi/cgi/cgi_main.c: Fixed bug #40286 (PHP fastcgi with PHP_FCGI_CHILDREN don't kill children when parent is killed) 2007-02-16 Antony Dovgal * ext/gd/tests/bug38179.phpt: fix test name 2007-02-16 Dmitry Stogov * ZendEngine2/zend_globals_macros.h ZendEngine2/zend_globals_macros.h: Allow C++ extensions to use CG(), EG() ... (Caroline) * (PHP_5_2) NEWS ZendEngine2/zend_llist.c ZendEngine2/zend_llist.c: Fixed zend_llist_remove_tail (Michael Wallner) 2007-02-16 Antony Dovgal * (PHP_4_4) NEWS: BFN * (PHP_4_4) ext/interbase/interbase.c: fix ext/interbase build 2007-02-16 Ilia Alshanetsky * (PHP_5_2) NEWS ext/standard/var.c: Fixed bug #40465 (Ensure that all PHP elements are printed by var_dump). * (PHP_5_2) ext/imap/php_imap.c: Reduce stack usage & improve boundary checks 2007-02-15 Nuno Lopes * ext/pdo_sqlite/config.m4: MFB: fix build on cygwin with windows-style EOLs * (PHP_5_2) ext/pdo_sqlite/config.m4: fix build on cygwin with windows-style EOLs * build/build.mk: MFB: fix cvsclean on cygwin with windows-style EOLs * (PHP_5_2) build/build.mk: fix cvsclean on cygwin with windows-style EOLs 2007-02-15 Antony Dovgal * TSRM/TSRM.h TSRM/tsrm_config_common.h: fix Cygwin build (costs us nothing, but makes some people happy) 2007-02-15 Dmitry Stogov * ext/soap/php_schema.c ext/soap/php_schema.c: Fixed memory leak * (PHP_5_2) NEWS ext/soap/php_encoding.c ext/soap/php_encoding.c: Fixed bug #40467 (Partial SOAP request sent when XSD sequence or choice include minOccurs=0) * (PHP_5_2) NEWS sapi/cgi/cgi_main.c sapi/cgi/cgi_main.c sapi/cgi/fastcgi.c sapi/cgi/fastcgi.c sapi/cgi/fastcgi.h sapi/cgi/fastcgi.h: Fixed bug #40414 (possivle endless fork() loop when running fastcgi) * (PHP_5_2) NEWS sapi/cgi/fastcgi.c sapi/cgi/fastcgi.c: Fixed Bug #40352 (FCGI_WEB_SERVER_ADDRS function get lost) * (PHP_5_2) NEWS ZendEngine2/zend_compile.c ZendEngine2/zend_compile.c ZendEngine2/zend_compile.h ZendEngine2/zend_compile.h ZendEngine2/zend_execute_API.c ZendEngine2/zend_execute_API.c ZendEngine2/zend_language_scanner.l ZendEngine2/zend_language_scanner.l ZendEngine2/zend_opcode.c ZendEngine2/zend_opcode.c ZendEngine2/tests/bug40236.inc ZendEngine2/tests/bug40236.inc ZendEngine2/tests/bug40236.inc ZendEngine2/tests/bug40236.phpt ZendEngine2/tests/bug40236.phpt ZendEngine2/tests/bug40236.phpt: Fixed bug #40236 (php -a function allocation eats memory) 2007-02-15 Antony Dovgal * (PHP_4_4) ext/session/session.c ext/session/tests/002.phpt: fix segfault in php_add_session_var() * (PHP_4_4) ext/standard/string.c: fix possible off-by-one in str_(i)replace() 2007-02-15 Ilia Alshanetsky * (PHP_5_2) ext/mcrypt/mcrypt.c: use constant * (PHP_5_2) ext/mcrypt/mcrypt.c: Improved validation route for size parameter of the mcrypt_create_iv() function. * (PHP_5_2) ext/mime_magic/mime_magic.c: Fixed a possible memory corruption inside mime_content_type() on a non-existent file. 2007-02-14 Derick Rethans * (PHP_5_2) ext/date/php_date.c: - MFH: Clarify the source of the timezone data. * ext/date/php_date.c: - Clarify the source of the timezone data. 2007-02-14 Nuno Lopes * ext/standard/tests/general_functions/bug39322.phpt ext/standard/tests/general_functions/bug40398.phpt ext/standard/tests/general_functions/error_get_last.phpt ext/standard/tests/general_functions/proc_open02.phpt: fix a few tests in unicode mode * ext/standard/proc_open.c ext/standard/tests/general_functions/bug39322.phpt ext/standard/tests/general_functions/phpcredits.phpt ext/standard/tests/general_functions/proc_open02.phpt: MFB * (PHP_5_2) NEWS ext/standard/proc_open.c ext/standard/tests/general_functions/bug39322.phpt ext/standard/tests/general_functions/bug39322.phpt ext/standard/tests/general_functions/proc_open02.phpt ext/standard/tests/general_functions/proc_open02.phpt: Fixed bug #39322 (proc_terminate() destroys process resource) 2007-02-14 Andi Gutmans * (PHP_5_2) sapi/cgi/CREDITS: - Give Dmitry credit for all the FastCGI work 2007-02-13 Ilia Alshanetsky * (PHP_5_2) ext/standard/string.c: Make sure p is not pointing to the start of the buffer * (PHP_5_2) main/streams/plain_wrapper.c: Fixed a memory leak on highlight_file() with a non-existant file 2007-02-13 Nuno Lopes * (PHP_4_4) NEWS ext/pcre/config0.m4 ext/pcre/pcrelib/.cvsignore ext/pcre/pcrelib/COPYING 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.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_newline.c ext/pcre/pcrelib/pcre_ord2utf8.c ext/pcre/pcrelib/pcre_printint.src ext/pcre/pcrelib/pcre_refcount.c ext/pcre/pcrelib/pcre_scanner.cc ext/pcre/pcrelib/pcre_scanner.h 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_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/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/ucpinternal.h ext/pcre/pcrelib/ucptable.c ext/pcre/pcrelib/doc/.cvsignore ext/pcre/pcrelib/doc/Tech.Notes ext/pcre/pcrelib/doc/pcre.txt ext/pcre/pcrelib/testdata/.cvsignore ext/pcre/pcrelib/testdata/grepinput ext/pcre/pcrelib/testdata/grepinput8 ext/pcre/pcrelib/testdata/grepoutput ext/pcre/pcrelib/testdata/grepoutput8 ext/pcre/pcrelib/testdata/testinput1 ext/pcre/pcrelib/testdata/testinput2 ext/pcre/pcrelib/testdata/testinput4 ext/pcre/pcrelib/testdata/testinput5 ext/pcre/pcrelib/testdata/testinput6 ext/pcre/pcrelib/testdata/testinput7 ext/pcre/pcrelib/testdata/testinput8 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 win32/php4dllts.dsp: upgrade bundled PCRE to version 7.0 2007-02-13 Antony Dovgal * ext/oci8/php_oci8_int.h: output debug messages before calling OCI functions 2007-02-13 Ilia Alshanetsky * (PHP_5_2) ext/imap/php_imap.c: Fixed a memory leak inside imap_utf8() 2007-02-13 Nuno Lopes * (PHP_5_2) NEWS ext/standard/proc_open.c ext/standard/tests/general_functions/bug34794.phpt ext/standard/tests/general_functions/bug34794.phpt: Fixed bug #34794 (proc_close() hangs when used with two processes) 2007-02-13 Antony Dovgal * main/streams/userspace.c: improve php_userstreamop_seek() check for errors in stream_seek() and return correct status 2007-02-13 Nuno Lopes * ext/ftp/ftp.c ext/ftp/tests/bug37799.phpt ext/ftp/tests/server.inc ext/standard/proc_open.c ext/standard/tests/general_functions/bug34794.phpt: MFB * (PHP_5_2) NEWS ext/ftp/ftp.c ext/ftp/tests/bug37799.phpt ext/ftp/tests/bug37799.phpt ext/ftp/tests/server.inc: Fixed bug #37799 (ftp_ssl_connect() falls back to non-ssl connection) 2007-02-13 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: - Package 4.4.5. 2007-02-13 Antony Dovgal * (PHP_5_2) NEWS ext/standard/proc_open.c: fix #40455 (proc_open() uses wrong commandline when safe_mode_exec_dir is set) * ZendEngine2/tests/018.phpt ext/standard/tests/file/flock.phpt ext/standard/tests/general_functions/ini_get_all.phpt ext/standard/tests/strings/convert_cyr_string.phpt ext/standard/tests/strings/crypt.phpt: new/improved tests * ZendEngine2/tests/018.phpt ZendEngine2/tests/018.phpt ext/standard/tests/file/flock.phpt ext/standard/tests/file/flock.phpt ext/standard/tests/general_functions/ini_get_all.phpt ext/standard/tests/general_functions/ini_get_all.phpt ext/standard/tests/strings/convert_cyr_string.phpt ext/standard/tests/strings/convert_cyr_string.phpt ext/standard/tests/strings/crypt.phpt: file 018.phpt was initially added on branch PHP_5_2. * ext/standard/file.c: plug possible leak * (PHP_5_2) ext/filter/.cvsignore ext/pdo/.cvsignore ext/pdo_sqlite/.cvsignore ext/xmlreader/.cvsignore ext/zip/.cvsignore ext/zip/lib/.cvsignore: fix .cvsignore's 2007-02-13 Ilia Alshanetsky * (PHP_5_2) NEWS ext/standard/string.c ext/standard/tests/strings/bug40432.phpt ext/standard/tests/strings/bug40432.phpt: Fixed bug #40432 (strip_tags() fails with greater than in attribute). 2007-02-13 Marcus Boerger * ext/spl/examples/phar_from_dir.php: - Drop useless stuff * ext/spl/examples/phar_from_dir.php ext/spl/examples/phar_from_dir.php: - Add new example 2007-02-12 Antony Dovgal * ext/simplexml/simplexml.c ext/simplexml/tests/bug40451.phpt: MFB: #40451 (addAttribute() may crash when used with non-existent child node) * (PHP_5_2) ext/simplexml/simplexml.c ext/simplexml/tests/bug40451.phpt ext/simplexml/tests/bug40451.phpt: fix #40451 (addAttribute() may crash when used with non-existent child node) * (PHP_5_2) ext/standard/iptc.c: upgrade to new parameter parsing API + mostly ws/cs fixes, sort of MFH * (PHP_5_2) NEWS ext/standard/iptc.c: MFH: fix #40109 (iptcembed fails on non-jfif jpegs) * ext/standard/iptc.c: fix bug #40109 (iptcembed fails on non-jfif jpegs) + use safe_emalloc * (PHP_4_4) NEWS main/output.c main/php_output.h: fix #40335 (Compile fails when using GCC 4.1.1/binutils 2.17) * ext/sockets/tests/ipv6loop.phpt ext/standard/tests/file/stream_002.phpt: fix tests * ext/standard/tests/network/inet.phpt ext/standard/tests/network/inet_ipv6.phpt ext/standard/tests/network/inet_ipv6.phpt: add separate IPv6 test * ext/pcre/tests/backtrack_limit.phpt ext/pcre/tests/bug27103.phpt ext/pcre/tests/invalid_utf8.phpt ext/pcre/tests/pcre_anchored.phpt ext/pcre/tests/preg_replace2.phpt ext/pcre/tests/recursion_limit.phpt: add SKIPIF sections to check if PCRE has the functionality tested/used * ext/oci8/config.m4 ext/oci8/oci8.c ext/oci8/php_oci8_int.h: typofixes and other improvements by Chris Jones * (PHP_5_2) NEWS: fix news entry 2007-02-12 Ilia Alshanetsky * (PHP_5_2) ext/readline/readline.c: Fixed a memory leak inside readline_completion_function() on non-callable callback. 2007-02-11 Antony Dovgal * (PHP_5_2) ext/standard/tests/strings/str_ireplace.phpt: add test * ext/standard/tests/strings/str_ireplace.phpt ext/standard/tests/strings/str_ireplace.phpt: new test * tests/lang/bug30638.phpt: add a note * ext/standard/tests/file/bug40374.phpt ext/standard/tests/file/bug40374.phpt: fix test 2007-02-11 Nuno Lopes * ext/tidy/tests/019.phpt ext/tidy/tests/028.phpt: sync tests with php 5.2 * (PHP_5_2) NEWS ext/tidy/tidy.c ext/tidy/tests/028.phpt ext/tidy/tests/028.phpt: merge the tidyNode::getParent() patch from HEAD 2007-02-11 Pierre-Alain Joye * ext/gd/gd.c: - MFB: Fixed bug #40428, imagepstext() doesn't accept optional parameter (Pierre) * (PHP_5_2) NEWS ext/gd/gd.c: - Fixed bug #40428, imagepstext() doesn't accept optional parameter (Pierre) 2007-02-11 Antony Dovgal * ext/imap/config.m4: fix typos 2007-02-10 Nuno Lopes * (PHP_4_4) ext/imap/config.m4: fix typos 2007-02-10 Antony Dovgal * ext/reflection/php_reflection.c ext/reflection/tests/bug40431.phpt ext/reflection/tests/bug40431.phpt: fix #40431 (dynamic properties may cause crash in ReflectionProperty methods) 2007-02-10 Nuno Lopes * (PHP_5_2) ext/pdo_sqlite/sqlite/src/parse.c: fix gcov build (#line directives) 2007-02-10 Antony Dovgal * ext/posix/posix.c: use the same ifdef anf get rid of "unused var" warnings * ext/standard/string.c: fix off-by-one accidentally introduced by safe_emalloc() patch 2007-02-09 Nuno Lopes * ext/pcre/config.w32 ext/pcre/config0.m4 ext/pcre/pcrelib/.cvsignore ext/pcre/pcrelib/COPYING 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.h ext/pcre/pcrelib/pcre_compile.c ext/pcre/pcrelib/pcre_config.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_newline.c ext/pcre/pcrelib/pcre_ord2utf8.c ext/pcre/pcrelib/pcre_printint.src ext/pcre/pcrelib/pcre_refcount.c ext/pcre/pcrelib/pcre_scanner.cc ext/pcre/pcrelib/pcre_scanner.h 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_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/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/ucpinternal.h ext/pcre/pcrelib/ucptable.c ext/pcre/pcrelib/doc/.cvsignore ext/pcre/pcrelib/doc/Tech.Notes ext/pcre/pcrelib/doc/pcre.txt ext/pcre/pcrelib/testdata/grepinput8 ext/pcre/pcrelib/testdata/grepoutput ext/pcre/pcrelib/testdata/grepoutput8 ext/pcre/pcrelib/testdata/testinput1 ext/pcre/pcrelib/testdata/testinput2 ext/pcre/pcrelib/testdata/testinput4 ext/pcre/pcrelib/testdata/testinput5 ext/pcre/pcrelib/testdata/testinput6 ext/pcre/pcrelib/testdata/testinput7 ext/pcre/pcrelib/testdata/testinput8 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/tests/bug40195.phpt: upgrade PCRE to version 7.0 * ext/pcre/tests/bug40195.phpt ext/pcre/tests/bug40195.phpt: file bug40195.phpt was initially added on branch PHP_5_2. * ext/pcre/pcrelib/pcre_newline.c ext/pcre/pcrelib/pcre_newline.c ext/pcre/pcrelib/pcre_ord2utf8.c ext/pcre/pcrelib/pcre_printint.src ext/pcre/pcrelib/pcre_refcount.c ext/pcre/pcrelib/pcre_scanner.cc ext/pcre/pcrelib/pcre_scanner.h 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_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/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/ucpinternal.h ext/pcre/pcrelib/ucptable.c ext/pcre/pcrelib/doc/.cvsignore ext/pcre/pcrelib/doc/Tech.Notes ext/pcre/pcrelib/doc/pcre.txt ext/pcre/pcrelib/testdata/grepinput ext/pcre/pcrelib/testdata/grepinput8 ext/pcre/pcrelib/testdata/grepinput8 ext/pcre/pcrelib/testdata/grepoutput ext/pcre/pcrelib/testdata/grepoutput8 ext/pcre/pcrelib/testdata/grepoutput8 ext/pcre/pcrelib/testdata/testinput1 ext/pcre/pcrelib/testdata/testinput2 ext/pcre/pcrelib/testdata/testinput4 ext/pcre/pcrelib/testdata/testinput5 ext/pcre/pcrelib/testdata/testinput6 ext/pcre/pcrelib/testdata/testinput7 ext/pcre/pcrelib/testdata/testinput8 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: file pcre_newline.c was initially added on branch PHP_5_2. * (PHP_5_2) NEWS ext/pcre/config.w32 ext/pcre/config0.m4 ext/pcre/pcrelib/COPYING 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.h ext/pcre/pcrelib/pcre_compile.c ext/pcre/pcrelib/pcre_config.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: upgrade pcre to version 7.0 2007-02-09 Antony Dovgal * (PHP_5_2) NEWS: BFN * (PHP_5_2) ext/posix/posix.c: MFH: fix #40410 (ext/posix does not compile on MacOS 10.3.9) * ext/posix/posix.c: fix #40410 (ext/posix does not compile on MacOS 10.3.9) 2007-02-09 Ilia Alshanetsky * (PHP_5_2) NEWS ext/pdo_sqlite/sqlite/VERSION ext/pdo_sqlite/sqlite/src/alter.c ext/pdo_sqlite/sqlite/src/btree.c ext/pdo_sqlite/sqlite/src/btree.h ext/pdo_sqlite/sqlite/src/build.c ext/pdo_sqlite/sqlite/src/date.c ext/pdo_sqlite/sqlite/src/expr.c ext/pdo_sqlite/sqlite/src/func.c ext/pdo_sqlite/sqlite/src/insert.c ext/pdo_sqlite/sqlite/src/legacy.c ext/pdo_sqlite/sqlite/src/loadext.c ext/pdo_sqlite/sqlite/src/main.c ext/pdo_sqlite/sqlite/src/opcodes.c ext/pdo_sqlite/sqlite/src/opcodes.h ext/pdo_sqlite/sqlite/src/os.h ext/pdo_sqlite/sqlite/src/os_common.h ext/pdo_sqlite/sqlite/src/os_unix.c ext/pdo_sqlite/sqlite/src/os_win.c ext/pdo_sqlite/sqlite/src/pager.c ext/pdo_sqlite/sqlite/src/pager.h ext/pdo_sqlite/sqlite/src/parse.c ext/pdo_sqlite/sqlite/src/parse.y ext/pdo_sqlite/sqlite/src/pragma.c ext/pdo_sqlite/sqlite/src/prepare.c ext/pdo_sqlite/sqlite/src/printf.c ext/pdo_sqlite/sqlite/src/random.c ext/pdo_sqlite/sqlite/src/select.c ext/pdo_sqlite/sqlite/src/shell.c ext/pdo_sqlite/sqlite/src/sqlite.h.in ext/pdo_sqlite/sqlite/src/sqlite3ext.h ext/pdo_sqlite/sqlite/src/sqliteInt.h ext/pdo_sqlite/sqlite/src/table.c ext/pdo_sqlite/sqlite/src/tclsqlite.c ext/pdo_sqlite/sqlite/src/test1.c ext/pdo_sqlite/sqlite/src/test3.c ext/pdo_sqlite/sqlite/src/tokenize.c ext/pdo_sqlite/sqlite/src/trigger.c ext/pdo_sqlite/sqlite/src/utf.c ext/pdo_sqlite/sqlite/src/util.c ext/pdo_sqlite/sqlite/src/vacuum.c ext/pdo_sqlite/sqlite/src/vdbe.c ext/pdo_sqlite/sqlite/src/vdbe.h ext/pdo_sqlite/sqlite/src/vdbeInt.h ext/pdo_sqlite/sqlite/src/vdbeapi.c ext/pdo_sqlite/sqlite/src/vdbeaux.c ext/pdo_sqlite/sqlite/src/vdbemem.c ext/pdo_sqlite/sqlite/src/vtab.c ext/pdo_sqlite/sqlite/src/where.c: Upgraded SQLite 3 to version 3.3.12 2007-02-08 Marcus Boerger * ext/spl/spl_array.h: - Add include * (PHP_5_2) ext/spl/spl_array.c ext/spl/spl_array.h ext/spl/spl_iterators.c ext/spl/spl_iterators.h: - MFH Rearrange code: mode Countable from spl_array.c to spl_iterator.c * (PHP_5_2) NEWS ext/spl/spl_observer.c: - MFH: Fix Bug #39836 SplObjectStorage empty after unserialize * ext/spl/spl_array.c ext/spl/spl_array.h ext/spl/spl_iterators.c ext/spl/spl_iterators.h: - Moving Countable from spl_array.c to spl_iterator.c allows CachingIterator to implement Countable 2007-02-08 Nuno Lopes * ext/tidy/tidy.c ext/tidy/tests/004.phpt ext/tidy/tests/007.phpt ext/tidy/tests/010.phpt ext/tidy/tests/011.phpt ext/tidy/tests/012.phpt ext/tidy/tests/019.phpt ext/tidy/tests/024.phpt ext/tidy/tests/025.phpt ext/tidy/tests/027.phpt: fix a few tests (segfaults + wrong output) 2007-02-08 Marcus Boerger * ext/standard/basic_functions.c ext/standard/tests/general_functions/bug40398.phpt ext/standard/tests/general_functions/call_user_func_return.phpt: - Simplify call_user_func/call_user_func_array implementation - Allow call_user_func/call_user_func_array to return reference * .gdbinit: - Show whether a zval is a reference in printzv user command 2007-02-08 Nuno Lopes * run-tests.php: MFB: remove ereg() calls * (PHP_5_2) run-tests.php: convert all ereg*() calls to preg_match(), so that we become future-proof (ereg is scheduled for removal in PHP 6) 2007-02-08 Marcus Boerger * ZendEngine2/zend_execute.c ZendEngine2/zend_execute_API.c ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h: - No reason not to pass return_value_ptr for non return-by-reference functions * ZendEngine2/zend_API.c ZendEngine2/zend_API.h: - Fix potential issue with 'f'-parameter parsing - Complete zend_fcall_info_*() API * ZendEngine2/zend_execute_API.c: - Do not set is_ref/refcount for functions that return by reference * ZendEngine2/zend_API.c ZendEngine2/zend_API.h: - More ZEND_API's * ext/standard/tests/general_functions/bug40398.phpt ext/standard/tests/general_functions/bug40398.phpt: - Add new test 2007-02-08 Ilia Alshanetsky * (PHP_5_2) TODO: Remove already done item from the todo 2007-02-07 Antony Dovgal * (PHP_5_2) ext/standard/tests/file/bug40374.phpt: add test * ext/standard/tests/file/bug40374.phpt ext/standard/tests/file/bug40374.phpt: add test * sapi/apache2handler/mod_php.c: explicitly set module name 2007-02-07 Nuno Lopes * (PHP_5_2) run-tests.php: MFH: use getenv() instead of _ENV enable multiple error reporting on the same test 2007-02-07 Antony Dovgal * (PHP_5_2) configure.in: MFH: check if GCC on MacOS supports -no-cpp-precomp before using it * sapi/apache2filter/config.m4 sapi/apache2filter/php.sym sapi/apache2filter/php_apache.h sapi/apache2filter/sapi_apache2.c: upgrade apache2filter to php6 * sapi/apache2handler/.cvsignore sapi/apache2handler/config.m4 sapi/apache2handler/config.w32 sapi/apache2handler/mod_php.c sapi/apache2handler/mod_php5.c sapi/apache2handler/php.sym sapi/apache2handler/php5apache2.dsp sapi/apache2handler/php_apache.h sapi/apache2handler/sapi_apache2.c: change "php5" to "php6" everywhere rename mod_php5.c to mod_php.c 2007-02-07 Ilia Alshanetsky * (PHP_5_2) NEWS configure.in main/php_version.h: Back to dev * (PHP_5_2) NEWS configure.in main/php_version.h: 5.2.1 2007-02-06 Antony Dovgal * main/php_open_temporary_file.c: use strdup() 2007-02-06 Ilia Alshanetsky * (PHP_5_2) NEWS ext/session/php_session.h: Fixed Bug #40274 (Sessions fail with numeric root keys). 2007-02-05 Marcus Boerger * ext/spl/spl_engine.c ext/spl/spl_engine.h: - Add missing PHPAPI 2007-02-05 Andrei Zmievski * README.PARAMETER_PARSING_API: Update * (PHP_5_2) README.PARAMETER_PARSING_API: Update ! docs. 2007-02-05 Andi Gutmans * main/streams/php_stream_transport.h main/streams/php_stream_transport.h: - Make sure to be ANSI C compliant 2007-02-04 Frank M. Kromann * ext/mssql/php_mssql.c: MFB: #39213 Fix for '' returned as ' '. This only works with FreeTDS as microsofts library returns a length of 1 for an empty string! * (PHP_5_2) ext/mssql/php_mssql.c: Fix for '' returned as ' '. This only works with FreeTDS as microsofts library returns a length of 1 for an empty string! 2007-02-04 Ilia Alshanetsky * ext/standard/http.c: Added a double free check. 2007-02-04 Frank M. Kromann * ext/mbstring/config.w32: MFB: Fix win32 build * (PHP_5_2) ext/mbstring/config.w32: Fix win32 build 2007-02-03 Marcus Boerger * (PHP_5_2) main/php_memory_streams.h main/streams/memory.c: - MFH Add PHPAPI to stuff needed by streams API for shared exts - MFH Readonly issue fix to memory streams option handling (still not activated in 5.2.1 though) * main/main.c main/php_open_temporary_file.c main/php_open_temporary_file.h: - Fix memleak * main/php_memory_streams.h main/streams/memory.c: - Fix mem/temp stream exports and readonlyissue 2007-02-02 Andrei Zmievski * ZendEngine2/zend_API.h: Typos. * README.PARAMETER_PARSING_API ZendEngine2/zend_API.c ZendEngine2/zend_API.h: - Add ^ specifier that returns original string type before conversion. - Add ZVAL_ENC_STRING[L] macro that allows returning either a binary string or an encoded strings as Unicode based on type, instead of UG(unicode) 2007-02-02 Michael Wallner * ext/zlib/zlib.c: - add note about the past for the future, see http://bugs.php.net/?id=40310&edit=1 2007-02-02 andy wharmby * NEWS: Remove bug fix entries #34564 and #37927 as now in 5.2.1 * (PHP_5_2) NEWS ext/com_dotnet/com_misc.c: Fixed bug #37927 (Prevent trap when COM extension processes argument of type VT_DISPATCH|VT_REF) * (PHP_5_2) NEWS ext/com_dotnet/com_misc.c ext/com_dotnet/com_variant.c ext/com_dotnet/com_wrapper.c ext/com_dotnet/php_com_dotnet_internal.h: Fixed bug #34564 (COM extension not returning modified "out" argument) 2007-02-02 Antony Dovgal * ZendEngine2/tests/errmsg_001.phpt ZendEngine2/tests/errmsg_002.phpt ZendEngine2/tests/errmsg_003.phpt ZendEngine2/tests/errmsg_004.phpt ZendEngine2/tests/errmsg_005.phpt ZendEngine2/tests/errmsg_006.phpt ZendEngine2/tests/errmsg_007.phpt ZendEngine2/tests/errmsg_008.phpt ZendEngine2/tests/errmsg_009.phpt ZendEngine2/tests/errmsg_010.phpt ZendEngine2/tests/errmsg_011.phpt ZendEngine2/tests/errmsg_012.phpt ZendEngine2/tests/errmsg_013.phpt ZendEngine2/tests/errmsg_014.phpt ZendEngine2/tests/errmsg_015.phpt ZendEngine2/tests/errmsg_016.phpt ZendEngine2/tests/errmsg_017.phpt ZendEngine2/tests/errmsg_018.phpt ZendEngine2/tests/errmsg_019.phpt ZendEngine2/tests/errmsg_020.phpt ZendEngine2/tests/errmsg_021.phpt ZendEngine2/tests/errmsg_022.phpt ZendEngine2/tests/errmsg_023.phpt ZendEngine2/tests/errmsg_024.phpt ZendEngine2/tests/errmsg_025.phpt ZendEngine2/tests/errmsg_026.phpt ZendEngine2/tests/errmsg_027.phpt ZendEngine2/tests/errmsg_028.phpt ZendEngine2/tests/errmsg_029.phpt ZendEngine2/tests/errmsg_030.phpt ZendEngine2/tests/errmsg_031.phpt ZendEngine2/tests/errmsg_032.phpt ZendEngine2/tests/errmsg_033.phpt ZendEngine2/tests/errmsg_034.phpt ZendEngine2/tests/errmsg_035.phpt ZendEngine2/tests/errmsg_036.phpt ZendEngine2/tests/errmsg_037.phpt ZendEngine2/tests/errmsg_038.phpt ZendEngine2/tests/errmsg_039.phpt ZendEngine2/tests/errmsg_040.phpt ZendEngine2/tests/errmsg_041.phpt ZendEngine2/tests/errmsg_042.phpt ZendEngine2/tests/errmsg_043.phpt ZendEngine2/tests/globals.inc ZendEngine2/tests/globals_001.phpt ZendEngine2/tests/globals_002.phpt ZendEngine2/tests/globals_003.phpt ZendEngine2/tests/globals_004.phpt: add new tests * ZendEngine2/zend_API.c: -exactly 1 arguments +exactly 1 argument 2007-02-02 andy wharmby * NEWS: Update NEWS for ealier bug fixes 2007-02-02 Antony Dovgal * ZendEngine2/tests/bug38779.phpt ZendEngine2/tests/bug38779_1.phpt: fix tests * ZendEngine2/zend_compile.c: fix isset() & unset() with CV-superglobals see #40311 2007-02-02 andy wharmby * ext/com_dotnet/com_misc.c ext/com_dotnet/com_variant.c ext/com_dotnet/com_wrapper.c ext/com_dotnet/php_com_dotnet_internal.h: ADW: Fix COM extension bug #35463. Fix in/out argument processing 2007-02-02 Ilia Alshanetsky * (PHP_5_2) ext/pdo/pdo_sql_parser.c: Better generated parser * (PHP_5_2) ext/pdo/tests/bug_39656.phpt ext/pdo/tests/bug_40285.phpt ext/pdo/tests/bug_40285.phpt: Fixed test mixup 2007-02-01 andy wharmby * ext/com_dotnet/com_misc.c: ADW: Fixed COM extension bug #37927. Correct the processing of in/out arguments of type VT_DISPATCH|VT_REF 2007-02-01 Dmitry Stogov * ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h ZendEngine2/zend_vm_execute.h: Removed dead code * ZendEngine2/zend_compile.c ZendEngine2/zend_compile.c: Fixed possible crash because of dereference of NULL * ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.c: Enable canary protection in DEBUG mode only. 2007-02-01 Antony Dovgal * ext/standard/user_filters.c: bailout if bucket is NULL * ext/standard/incomplete_class.c: free class_name when necessary * (PHP_5_2) ext/iconv/iconv.c: plug leak * (PHP_5_2) ext/standard/string.c: fix leaks on error 2007-02-01 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 RC2. 2007-02-01 Ilia Alshanetsky * (PHP_5_2) NEWS ext/pdo/pdo_sql_parser.c ext/pdo/pdo_sql_parser.re ext/pdo/tests/bug_39656.phpt: Fixed bug #40285 (The PDO prepare parser goes into an infinite loop in some instances). 2007-01-31 Antony Dovgal * acinclude.m4: use correct comment marker (dnl, not #) add comment regarding AC_DECL_YYTEXT and the annoying warning (just in case I'm not the only one who's annoyed by it) * (PHP_5_2) NEWS: BFN * (PHP_5_2) ext/oci8/oci8.c ext/oci8/oci8_statement.c ext/oci8/php_oci8_int.h: MFH: fix segfault on rebindinging and rexecuting a statement with LOBs fix compile failure in ZTS mode when collections support is missing * ext/oci8/oci8.c ext/oci8/oci8_statement.c: fix compile failure in ZTS mode when collections support is missing * ext/oci8/oci8_statement.c ext/oci8/php_oci8_int.h ext/oci8/tests/oci_execute_segfault.phpt: fix segfault on re-binding and re-executing a statement improve the test patch by Chris Jones 2007-01-31 Ilia Alshanetsky * ext/shmop/shmop.c: Minor code optimization 2007-01-30 Nuno Lopes * run-tests.php: use getenv() instead of the _ENV var 2007-01-30 Antony Dovgal * ext/oci8/tests/bind_empty.phpt: improve test patch by Chris Jones 2007-01-30 Ilia Alshanetsky * (PHP_5_2) NEWS: Prepare news file for release 2007-01-29 Nuno Lopes * run-tests.php: display all errors/leaks/warnings on each test, instead of showing just the top most error 2007-01-29 Rui Hirokawa * (PHP_5_2) ext/mbstring/config.m4 ext/mbstring/libmbfl/filters/Makefile.am ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.h ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.h ext/mbstring/libmbfl/filters/mbfilter_jis.c ext/mbstring/libmbfl/filters/mbfilter_jis.h ext/mbstring/libmbfl/filters/unicode_table_jis.h ext/mbstring/libmbfl/mbfl/mbfl_convert.c ext/mbstring/libmbfl/mbfl/mbfl_encoding.c ext/mbstring/libmbfl/mbfl/mbfl_ident.c: fixed incompatibility with PHP 5.2.0 for encoding conversion between ShiftJIS(CP932), eucJP, ISO-2022-JP. 2007-01-29 Dmitry Stogov * sapi/cgi/cgi_main.c: Prevent flush() of closed handle on php_module_shutdown() 2007-01-29 Nuno Lopes * ext/soap/php_xml.c: fix access to already free'ed memory 2007-01-29 Dmitry Stogov * (PHP_5_2) sapi/cgi/cgi_main.c: Prevent flush of closed handle on php_module_shutdown() 2007-01-29 Antony Dovgal * ext/oci8/tests/privileged_connect1.phpt: fix test different Oracle client versions report different error messages * ext/oci8/tests/array_bind_005.phpt: fix test 2007-01-29 Pierre-Alain Joye * ext/zip/php_zip.c ext/zip/tests/bug40228.phpt ext/zip/tests/bug40228.zip: - MFB: #40228, ZipArchive::extractTo does create empty directories recursively * (PHP_5_2) NEWS: - #40228 * (PHP_5_2) ext/zip/php_zip.c ext/zip/tests/bug40228.phpt ext/zip/tests/bug40228.phpt ext/zip/tests/bug40228.zip ext/zip/tests/bug40228.zip: - #40228, ZipArchive::extractTo does create empty directories recursively 2007-01-29 Michael Wallner * main/output.c: - don't do memory limit checks for chunk_size 2007-01-29 Dmitry Stogov * (PHP_5_2) NEWS main/output.c: Fixed bug #40259 (ob_start call many times - memory error). (Dmitry) 2007-01-29 Antony Dovgal * (PHP_4_4) NEWS ext/imap/config.m4 ext/imap/php_imap.c: backported fix for ext/imap compilation failure with recent c-client versions (fixes #39401) 2007-01-29 Ilia Alshanetsky * ZendEngine2/zend_ini_parser.y ZendEngine2/zend_language_parser.y ZendEngine2/zend_language_scanner.l win32/build/Makefile win32/build/buildconf.js win32/build/confutils.js win32/build/cvsclean.js win32/build/template.rc: Copyright update 2007-01-27 Antony Dovgal * (PHP_5_2) ext/pdo/pdo_stmt.c: nullify param.parameter and avoid destroying it twice 2007-01-27 Marcus Boerger * (PHP_5_2) main/streams/memory.c: - Disable memory streams set option until 5.2.2 * (PHP_5_2) main/streams/memory.c: - MFH truncate support for mem/temp streams * main/streams/memory.c: - Add option support for temp/memory stream (adds ftruncate support) 2007-01-26 Antony Dovgal * (PHP_5_2) ext/standard/info.c: use length - 1 when we fetch it from hashes 2007-01-26 Dmitry Stogov * (PHP_5_2) NEWS TSRM/tsrm_virtual_cwd.c TSRM/tsrm_virtual_cwd.c: Fixed bug #40231 (file_exists incorrectly reports false) 2007-01-26 Antony Dovgal * (PHP_5_2) ext/pdo_oci/oci_statement.c: fix leak readuce size of the buffer to prevent ORA-01461 * configure.in: check if -no-cpp-precomp is supported by GCC before using it (mac os only) 2007-01-26 Ilia Alshanetsky * (PHP_5_2) configure.in main/php_version.h: Back to dev * (PHP_5_2) NEWS configure.in main/php_version.h: 5.2.1RC4 2007-01-25 Antony Dovgal * ext/oci8/package2.xml ext/oci8/package2.xml: file package2.xml was initially added on branch PHP_5_2. * (PHP_5_2) ext/date/lib/parse_tz.c: add missing ifdefs * (PHP_5_2) ext/date/lib/parse_tz.c: setlocale() returns static buffer, which must be copied * (PHP_5_2) NEWS ext/bz2/bz2_filter.c ext/zlib/zlib_filter.c: MFH: fix #40189 (possible endless loop in zlib.inflate stream filter) * ext/bz2/bz2_filter.c ext/zlib/zlib_filter.c: fix #40189 (possible endless loop in zlib.inflate stream filter) * (PHP_5_2) ext/oci8/oci8_statement.c: PHP4 compatibility 2007-01-25 Rasmus Lerdorf * (PHP_5_2) ext/standard/user_filters.c: Fix typo 2007-01-25 Ilia Alshanetsky * (PHP_5_2) ext/standard/user_filters.c: Added safety checks to the code * (PHP_5_2) ext/standard/head.c ext/standard/mail.c: Eliminate strcat() and strcpy() 2007-01-24 Sara Golemon * NEWS ext/soap/php_http.c ext/soap/php_xml.c ext/standard/php_fopen_wrapper.c main/main.c main/php_globals.h main/php_streams.h main/streams/streams.c main/streams/userspace.c: Expand allow_url_fopen/allow_url_include functionality 2007-01-24 Antony Dovgal * (PHP_5_2) ext/oci8/oci8.c ext/oci8/package.xml: prepare to release 1.2.3 2007-01-24 Ilia Alshanetsky * (PHP_5_2) ext/standard/head.c: strcat() -> strlcat() 2007-01-24 Antony Dovgal * ext/iconv/iconv.c: initialize errno 2007-01-23 Marcus Boerger * sapi/cli/php.1.in sapi/cli/php_cli.c: - Add --ri/--rextinfo * ext/standard/info.c ext/standard/info.h: - Simplify - Add PHPAPI php_info_print_module() 2007-01-23 Nuno Lopes * ext/tidy/tidy.c ext/tidy/tests/027.phpt: MFB: fix a few crashes * ext/tidy/tests/027.phpt ext/tidy/tests/027.phpt: file 027.phpt was initially added on branch PHP_5_2. * (PHP_5_2) ext/tidy/tidy.c: fix a few crashes 2007-01-23 Dmitry Stogov * (PHP_5_2) NEWS: Fixed bug #40200 (The FastCgi version has different realpath results than thread safe version) * TSRM/tsrm_virtual_cwd.c TSRM/tsrm_virtual_cwd.c: Fixed wrong realpath() result for unexistent files on win32 2007-01-23 Johannes Schlüter * ext/standard/info.c: - Use utf-8 instead of utf8 as encoding to fix phpinfo() 2007-01-23 Hannes Magnusson * ext/imap/config.m4: MFB: Fix typo * (PHP_5_2) ext/imap/config.m4: Fix typo 2007-01-23 Ilia Alshanetsky * (PHP_5_2) ext/exif/exif.c: emalloc() -> safe_emalloc() 2007-01-22 Derick Rethans * (PHP_4_4) NEWS ext/standard/config.m4: - Backported a fix in the configure tests to detect the "rounding fuzz". * (PHP_4_4) NEWS: - Move ext/ovrimos to PECL. 2007-01-22 Antony Dovgal * (PHP_5_2) NEWS ext/pdo_oci/oci_statement.c: fix PECL bug #7295 (ORA-01405: fetched column value is NULL on LOB fields) 2007-01-22 Dmitry Stogov * (PHP_5_2) NEWS TSRM/tsrm_virtual_cwd.c TSRM/tsrm_virtual_cwd.c TSRM/tsrm_virtual_cwd.h TSRM/tsrm_virtual_cwd.h ext/standard/dir.c ext/standard/dir.c ext/standard/filestat.c ext/standard/filestat.c ext/standard/tests/file/bug39367.phpt ext/standard/tests/file/bug39367.phpt ext/standard/tests/file/bug39367.phpt: Fixed bug #39367 (clearstatcache() doesn't clear realpath cache) Fixed bug #40092 (chroot() doesn't clear realpath cache) 2007-01-22 Antony Dovgal * ext/interbase/ibase_query.c: fix wrong param definition * ext/interbase/ibase_service.c: fix long/int mess * (PHP_5_2) ZendEngine2/tests/unset_cv08.phpt: fix test * ZendEngine2/tests/unset_cv08.phpt: fix test array_unique() is not expected to modify its argument * ext/spl/examples/directoryfilterdots.inc ext/spl/examples/directoryfilterdots.inc: fix classname * (PHP_4_4) ext/standard/array.c: fix array_unique() to return array with any type of argument * ext/standard/tests/array/bug40191.phpt: add skipif * (PHP_5_2) NEWS ext/standard/array.c ext/standard/tests/array/bug40191.phpt: MFH: fix #40191 (use of array_unique() with objects triggers segfault) * ext/standard/array.c ext/standard/tests/array/bug40191.phpt ext/standard/tests/array/bug40191.phpt: fix #40191 (use of array_unique() with objects triggers segfault) 2007-01-21 Ilia Alshanetsky * (PHP_5_2) NEWS: Fixed typos 2007-01-21 Marcus Boerger * ZendEngine2/tests/.cvsignore ext/bcmath/tests/.cvsignore ext/bz2/tests/.cvsignore ext/calendar/tests/.cvsignore ext/ctype/tests/.cvsignore ext/date/tests/.cvsignore ext/dba/tests/.cvsignore ext/dbase/tests/.cvsignore ext/dom/tests/.cvsignore ext/exif/tests/.cvsignore ext/fdf/tests/.cvsignore ext/filter/tests/.cvsignore ext/gd/tests/.cvsignore ext/gettext/tests/.cvsignore ext/gmp/tests/.cvsignore ext/hash/tests/.cvsignore ext/iconv/tests/.cvsignore ext/imap/tests/.cvsignore ext/interbase/tests/.cvsignore ext/json/tests/.cvsignore ext/libxml/tests/.cvsignore ext/mbstring/tests/.cvsignore ext/mcrypt/tests/.cvsignore ext/mhash/tests/.cvsignore ext/ming/tests/.cvsignore ext/mysql/tests/.cvsignore ext/mysqli/tests/.cvsignore ext/oci8/tests/.cvsignore ext/openssl/tests/.cvsignore ext/pcntl/tests/.cvsignore ext/pcre/pcrelib/testdata/.cvsignore ext/pcre/tests/.cvsignore ext/pdo/tests/.cvsignore ext/pdo_firebird/tests/.cvsignore ext/pdo_mysql/tests/.cvsignore ext/pdo_oci/tests/.cvsignore ext/pdo_odbc/tests/.cvsignore ext/pdo_pgsql/tests/.cvsignore ext/pdo_sqlite/tests/.cvsignore ext/pgsql/tests/.cvsignore ext/posix/tests/.cvsignore ext/pspell/tests/.cvsignore ext/reflection/tests/.cvsignore ext/session/tests/.cvsignore ext/shmop/tests/.cvsignore ext/simplexml/tests/.cvsignore ext/skeleton/tests/.cvsignore ext/soap/tests/.cvsignore ext/soap/tests/bugs/.cvsignore ext/soap/tests/interop/Round2/Base/.cvsignore ext/soap/tests/interop/Round2/GroupB/.cvsignore ext/soap/tests/interop/Round3/GroupD/.cvsignore ext/soap/tests/interop/Round3/GroupE/.cvsignore ext/soap/tests/interop/Round3/GroupF/.cvsignore ext/soap/tests/interop/Round4/GroupG/.cvsignore ext/soap/tests/interop/Round4/GroupH/.cvsignore ext/soap/tests/interop/Round4/GroupI/.cvsignore ext/soap/tests/schema/.cvsignore ext/soap/tests/soap12/.cvsignore ext/sockets/tests/.cvsignore ext/spl/examples/tests/.cvsignore ext/spl/tests/.cvsignore ext/sqlite/tests/.cvsignore ext/sqlite/tests/pdo/.cvsignore ext/standard/tests/.cvsignore ext/standard/tests/array/.cvsignore ext/standard/tests/assert/.cvsignore ext/standard/tests/file/.cvsignore ext/standard/tests/filters/.cvsignore ext/standard/tests/general_functions/.cvsignore ext/standard/tests/image/.cvsignore ext/standard/tests/math/.cvsignore ext/standard/tests/network/.cvsignore ext/standard/tests/reg/.cvsignore ext/standard/tests/serialize/.cvsignore ext/standard/tests/strings/.cvsignore ext/standard/tests/time/.cvsignore ext/standard/tests/versioning/.cvsignore ext/sysvmsg/tests/.cvsignore ext/sysvsem/tests/.cvsignore ext/sysvshm/tests/.cvsignore ext/tidy/tests/.cvsignore ext/tokenizer/tests/.cvsignore ext/unicode/tests/.cvsignore ext/wddx/tests/.cvsignore ext/xml/tests/.cvsignore ext/xmlreader/tests/.cvsignore ext/xmlrpc/tests/.cvsignore ext/xmlwriter/tests/.cvsignore ext/xsl/tests/.cvsignore ext/zip/tests/.cvsignore ext/zlib/tests/.cvsignore sapi/cli/tests/.cvsignore sapi/tests/.cvsignore tests/.cvsignore tests/basic/.cvsignore tests/classes/.cvsignore tests/func/.cvsignore tests/lang/.cvsignore tests/output/.cvsignore tests/run-test/.cvsignore tests/strings/.cvsignore tests/unicode/.cvsignore tests/unicode/func/.cvsignore: - Add *.mem * (PHP_5_2) ext/spl/tests/observer_003.phpt ext/spl/tests/observer_004.phpt ext/spl/tests/observer_005.phpt: - Add tests 2007-01-20 Antony Dovgal * ZendEngine2/zend_hash.c: catch overflow right away 2007-01-20 Ilia Alshanetsky * (PHP_5_2) NEWS main/php_variables.c: Fixed bug #39450 (getenv() fills other super-globals). 2007-01-20 Antony Dovgal * sapi/cli/tests/001.phpt sapi/cli/tests/001.phpt sapi/cli/tests/002.phpt sapi/cli/tests/002.phpt sapi/cli/tests/003.phpt sapi/cli/tests/003.phpt sapi/cli/tests/004.phpt sapi/cli/tests/004.phpt sapi/cli/tests/005.phpt sapi/cli/tests/005.phpt sapi/cli/tests/006.phpt sapi/cli/tests/006.phpt sapi/cli/tests/007.phpt sapi/cli/tests/007.phpt sapi/cli/tests/008.phpt sapi/cli/tests/008.phpt sapi/cli/tests/009.phpt sapi/cli/tests/009.phpt sapi/cli/tests/010-2.phpt sapi/cli/tests/010-2.phpt sapi/cli/tests/010.phpt sapi/cli/tests/010.phpt sapi/cli/tests/011.phpt sapi/cli/tests/011.phpt sapi/cli/tests/012.phpt sapi/cli/tests/012.phpt sapi/cli/tests/013.phpt sapi/cli/tests/013.phpt sapi/cli/tests/014.phpt sapi/cli/tests/014.phpt: use getenv() 2007-01-20 Rob Richards * (PHP_5_2) ext/openssl/openssl.c ext/openssl/tests/005.phpt ext/openssl/tests/bug38261.phpt: MFH: fix accessing public key from x509 resource add test fix test under win32 2007-01-20 Sara Golemon * ZendEngine2/zend_compile.c ZendEngine2/zend_compile.h ZendEngine2/zend_execute.c: Resolve autoglobals as global-fetch CVs when possible 2007-01-20 Antony Dovgal * (PHP_5_2) ext/dom/tests/bug38474.phpt: typo in the test name 2007-01-20 Ilia Alshanetsky * (PHP_5_2) TSRM/tsrm_virtual_cwd.c: CS 2007-01-20 Marcus Boerger * ext/spl/spl_array.c ext/spl/spl_directory.c ext/spl/spl_functions.c ext/spl/spl_functions.h ext/spl/spl_observer.c ext/spl/tests/dit_001.phpt ext/spl/tests/fileobject_003.phpt: - Mode debug info * ext/spl/spl_array.c: - Drop left-over * ext/spl/spl_array.c ext/spl/tests/array_001.phpt ext/spl/tests/array_002.phpt ext/spl/tests/array_003.phpt ext/spl/tests/array_007.phpt ext/spl/tests/array_015.phpt ext/spl/tests/array_017.phpt ext/spl/tests/array_018.phpt ext/spl/tests/array_022.phpt ext/spl/tests/bug33136.phpt ext/spl/tests/iterator_042.phpt ext/spl/tests/iterator_049.phpt ext/spl/tests/iterator_049b.phpt ext/spl/tests/iterator_050.phpt ext/spl/tests/iterator_051.phpt ext/spl/tests/iterator_052.phpt ext/spl/tests/iterator_053.phpt ext/spl/tests/iterator_054.phpt ext/spl/tests/iterator_055.phpt: - Make use of get_debug_info() handler in ArrayObject/Iterator 2007-01-20 Nuno Lopes * ext/tidy/tidy.c ext/tidy/tests/024.phpt ext/tidy/tests/025.phpt ext/tidy/tests/026.phpt: MFB: fix crash & add tests * ext/tidy/tests/024.phpt ext/tidy/tests/024.phpt ext/tidy/tests/025.phpt ext/tidy/tests/025.phpt ext/tidy/tests/026.phpt ext/tidy/tests/026.phpt: file 024.phpt was initially added on branch PHP_5_2. * (PHP_5_2) ext/tidy/tidy.c: fix another crash * ext/tidy/tidy.c: MFB: fix crash * (PHP_5_2) ext/tidy/tidy.c: fix crash. tests will follow 2007-01-20 Marcus Boerger * ext/date/php_date.c: - Fix warnings 2007-01-19 Marcus Boerger * ext/spl/php_spl.c ext/spl/php_spl.h ext/spl/spl_observer.c ext/spl/tests/observer_004.phpt ext/spl/tests/observer_005.phpt: - Make use of get_debug_info handler in SplObjectStorage 2007-01-19 Antony Dovgal * ext/imap/config.m4: fix configure check with imap-2001 2007-01-19 Marcus Boerger * ext/standard/var.c: - Use Z_OBJDEBUG_PP() * ZendEngine2/zend.c ZendEngine2/zend_operators.h: - Add Z_OBJDEBUG[_P[P]] helper macros 2007-01-19 Antony Dovgal * TSRM/tsrm_virtual_cwd.c: improve readability and use constant instead of its value * (PHP_5_2) ext/imap/config.m4: MFH: improve utf8_mime2text() signature detection * ext/imap/config.m4: improve utf8_mime2text() signature detection look also for U8T_CANONICAL, which must exist if new signature was detected * ext/oci8/tests/array_bind_013.phpt: fix test 2007-01-19 Nuno Lopes * (PHP_5_2) INSTALL win32/install.txt: update install instructions from phpdoc XMl sources 2007-01-19 Rob Richards * ext/openssl/openssl.c ext/openssl/tests/005.phpt ext/openssl/tests/bug38261.phpt: fix accessing public key from x509 resource add test fix test under win32 2007-01-19 Nuno Lopes * ext/tidy/tidy.c: MFB: fix segfaults with new libtidy * (PHP_5_2) ext/tidy/tidy.c: fix segfaults with new libtidy. the patch is backwards compatible 2007-01-19 Antony Dovgal * ext/curl/interface.c: improve the fix * (PHP_5_2) NEWS ext/curl/interface.c: MFH: fix #40169 (CURLOPT_TCP_NODELAY only available in curl >= 7.11.2) * ext/curl/interface.c: fix #40169 (CURLOPT_TCP_NODELAY only available in curl >= 7.11.2) 2007-01-19 Pierre-Alain Joye * ext/gd/libgd/gd.c: - MFB: save/restore the alpha blending mode correctly in imagefill and imagefilltoborder * (PHP_5_2) ext/gd/libgd/gd.c: - save/restore the alpha blending mode correctly in imagefill and imagefilltoborder 2007-01-19 Antony Dovgal * ext/standard/streamsfuncs.c ext/standard/user_filters.c: fix #40168 2007-01-19 Marcus Boerger * unicode-progress.txt ext/spl/spl_directory.c ext/spl/spl_iterators.c: - Update unicode progress on SPL, looks like nearly done, actually all is unicode safe by now but a few things need to be added and a few problems be clarified. * README.UNICODE-UPGRADES: - Nicer version * README.UNICODE-UPGRADES: - Update * main/spprintf.c: - Change hardcoded size to lentgh translation to use sizeof(UChar) as suggested by Andrei * ext/spl/spl_directory.c ext/spl/tests/bug36258.phpt ext/spl/tests/bug36287.phpt: - A few unicode fixes and tidying 2007-01-19 Ilia Alshanetsky * (PHP_5_2) ext/standard/http_fopen_wrapper.c: Fix win32 build * (PHP_5_2) NEWS configure.in main/php_version.h: Back to dev * (PHP_5_2) NEWS configure.in main/php_version.h: 5.2.1RC3 * (PHP_5_2) NEWS ext/standard/http_fopen_wrapper.c: Added read-timeout context option "timeout" for HTTP streams. 2007-01-18 Ilia Alshanetsky * (PHP_5_2) NEWS: Old bug fixing news * (PHP_5_2) ZendEngine2/zend_language_scanner.l: Syntax highlighting fix for hex numbers. 2007-01-18 Marcus Boerger * ext/simplexml/simplexml.c: - Implement debug helper * ZendEngine2/zend.c ZendEngine2/zend_object_handlers.c ZendEngine2/zend_object_handlers.h ext/standard/var.c: - Add debug_info helper to overloadedobjects 2007-01-18 Ilia Alshanetsky * (PHP_5_2) NEWS ext/date/lib/parse_tz.c: Fixed bug #39993 (tr_TR.UTF-8 locale has problems with PHP). 2007-01-18 Marcus Boerger * ext/date/php_date.c: - We want the size here not the length * main/spprintf.c main/spprintf.h: - We need to return the length not the byte size * ext/standard/filestat.c: - Use correct string inunicode mode 2007-01-18 Antony Dovgal * ext/spl/spl_directory.c: fix win32 build 2007-01-18 Marcus Boerger * ext/spl/spl_directory.c: - Simplify by using zspprintf * main/spprintf.c main/spprintf.h: - Fix [v]uspprintf() - Add [v]zspprintf 2007-01-18 Andrei Zmievski * unicode-todo.txt: -** empty log message *** 2007-01-18 Antony Dovgal * ext/soap/soap.c ext/standard/html.c ext/wddx/wddx.c: more snprintf() 2007-01-18 Nuno Lopes * main/streams/php_stream_transport.h: MFB: use only 2 bits * (PHP_5_2) main/streams/php_stream_transport.h: only 2 bits are needed for shutdown(2) method (only 3 possible values). this is new code in 5.2.1, so don't worry.. 2007-01-18 Antony Dovgal * ext/interbase/interbase.c: fix the previous patch * ext/interbase/ibase_query.c ext/interbase/interbase.c ext/pdo_firebird/firebird_driver.c: use snprintf() * (PHP_5_2) ext/imap/config.m4: MFH: improve check configure for new version of utf8_mime2text() * ext/imap/config.m4: improve check configure for new version of utf8_mime2text() * ext/imap/php_imap.c: use strlcat() * main/main.c: fix fodling, mark set_time_limit() unicode safe * (PHP_5_2) NEWS ext/informix/.cvsignore ext/informix/.cvsignore ext/informix/CREDITS ext/informix/CREDITS ext/informix/Makefile.frag ext/informix/Makefile.frag ext/informix/config.m4 ext/informix/config.w32 ext/informix/ifx.dsp ext/informix/ifx.dsp ext/informix/ifx.ec ext/informix/ifx.ec ext/informix/php_informix.h ext/informix/php_informix.h ext/informix/php_informix_includes.h ext/informix/php_informix_includes.h: moved ext/informix to PECL * (PHP_5_2) ZendEngine2/zend_exceptions.c: fix folding * ZendEngine2/zend_exceptions.c: fix folding, mark functions as unicode safe 2007-01-17 Ilia Alshanetsky * (PHP_4_4) ext/interbase/interbase.c: Buffer length checks 2007-01-17 Marcus Boerger * ext/spl/tests/fileobject_001.phpt ext/spl/tests/fileobject_002.phpt ext/spl/tests/fileobject_003.phpt: - Different results in unicode now * ext/spl/spl_directory.c: - Ensure string-type is always set correctly * ext/spl/spl_directory.c: - More help from David * ext/spl/spl_directory.c: - A little help from Andrei 2007-01-17 Antony Dovgal * (PHP_5_2) NEWS ext/iconv/iconv.c: MFH: fix #40129 (iconv extension doesn't compile with CodeWarrior on Netware) patch by gk at gknw dot de * ext/iconv/iconv.c: fix #40129 (iconv extension doesn't compile with CodeWarrior on Netware) patch by gk at gknw dot de * ext/standard/formatted_print.c ext/sysvmsg/sysvmsg.c: fix grammar 2007-01-17 Sara Golemon * ext/soap/php_http.c ext/soap/php_xml.c: INI options should not be modified directly. Bad extension. No cookie for you. 2007-01-16 Marcus Boerger * ext/spl/spl_directory.c ext/spl/spl_directory.h: - Steps towards unicode 2007-01-16 Andrei Zmievski * main/php.h: Update PHP API version. 2007-01-16 Marcus Boerger * ext/standard/filestat.c ext/standard/php_filestat.h: - Add php_u_stat() * main/php_streams.h main/streams/streams.c: - Add more unicode stuff 2007-01-16 Ilia Alshanetsky * ext/odbc/php_odbc.c: MFB: Fixed output code inside odbc_result_all() * (PHP_4_4) ext/odbc/php_odbc.c: MFH: Fixed output code inside odbc_result_all() * (PHP_5_2) ext/odbc/php_odbc.c: Fixed output code inside odbc_result_all() 2007-01-16 Antony Dovgal * (PHP_5_2) ext/gettext/gettext.c: MFH: return false if realpath()/getcwd() fail * ext/gettext/gettext.c: return false if realpath()/getcwd() fail * (PHP_5_2) TSRM/tsrm_virtual_cwd.c: MFH: free temp cwd_state struct on error * TSRM/tsrm_virtual_cwd.c: free temporary cwd_state struct on error * ext/pspell/pspell.c: plug leaks initialize the last argument of RegQueryValueEx() fix ws 2007-01-16 Ilia Alshanetsky * (PHP_4_4) win32/sendmail.c: Added buffer length checks 2007-01-15 Marcus Boerger * main/php_streams.h main/streams/cast.c main/streams/streams.c: - Help streams debugging 2007-01-15 Antony Dovgal * ext/standard/user_filters.c main/streams/streams.c main/streams/transports.c main/streams/userspace.c: add trailing '\0' to stream hashes * (PHP_5_2) main/streams/filter.c: revert the patch temporarily, I need to test a bigger patch in HEAD.. * main/streams/filter.c: include \0 to the hash it does matter because we use these strings in phpinfo() * acinclude.m4: tabs -> ws * acinclude.m4: improve icu-config check * ZendEngine2/tests/bug36214.phpt ZendEngine2/tests/bug36214.phpt: fix test * (PHP_5_2) ZendEngine2/zend_compile.c: missing comma * (PHP_5_2) ZendEngine2/zend_compile.c: fix error message and #40111 2007-01-15 Frank M. Kromann * (PHP_5_2) ext/pdo_dblib/dblib_stmt.c: Fix mysql -> dblib 2007-01-14 Marcus Boerger * main/streams/memory.c: - Use relay to aid debugging * main/streams/memory.c: - Fix readonly mode to 'rb' 2007-01-14 Ilia Alshanetsky * (PHP_5_2) NEWS sapi/apache2handler/php_functions.c: Fixed bug #40127 (apache2handler doesnt compile on Netware). * (PHP_5_2) NEWS ext/pdo_dblib/dblib_stmt.c: Fixed bug #40121 (PDO_DBLIB driver wont free statements). 2007-01-14 Hannes Magnusson * ext/standard/http_fopen_wrapper.c: MFB: Fix typo in error message * (PHP_5_2) ext/standard/http_fopen_wrapper.c: Fix typo in error message 2007-01-13 Ilia Alshanetsky * ext/standard/formatted_print.c: MFB: Improve validation of argnum, width and precision. * (PHP_4_4) ext/standard/formatted_print.c: MFH: Improve validation of argnum, width and precision. * (PHP_5_2) ext/standard/formatted_print.c: Improve validation of argnum, width and precision. 2007-01-13 Nuno Lopes * ext/gd/libgd/gd.c ext/gd/libgd/gd.c: MFB * (PHP_5_2) ext/gd/libgd/gd.c: OMG, this line was really bogus (and allocating huge amounts of memory unecessarly) * (PHP_5_2) ext/gd/libgd/gd.c: fix valgrind error in test bug24594.phpt while at it, remove some dead code and change the pts vector to char to save (much) memory 2007-01-13 Frank M. Kromann * (PHP_5_2) win32/build/Makefile: MFH: Kill warnings when mt is not installed or is found as the tape command under cygwin * win32/build/Makefile: Kill warnings when mt is not installed or is found as the tape command under cygwin 2007-01-11 Andrei Zmievski * sapi/apache/mod_php.c: Fake out the module name, since the filename is different now. 2007-01-11 Marcus Boerger * ZendEngine2/zend_API.h ZendEngine2/zend_unicode.h: - Consistency: macros shall be uppercased (as requested by Andrei) * ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h: - MFB Missing part of __toString() support 2007-01-11 Antony Dovgal * ext/mbstring/php_mbregex.c: avoid changing original zval 2007-01-11 Marcus Boerger * ext/spl/spl_engine.h: - Unicode support * ZendEngine2/zend_API.h ZendEngine2/zend_unicode.h: - Add zstrlen() helper 2007-01-11 Dmitry Stogov * (PHP_5_2) NEWS ZendEngine2/zend.c ZendEngine2/zend.c ZendEngine2/tests/bug35634.phpt ZendEngine2/tests/bug35634.phpt ZendEngine2/tests/bug35634.phpt: Fixed bug #35634 (Erroneous "Class declarations may not be nested" error raised). (Carl P. Corliss) 2007-01-11 Antony Dovgal * ext/pgsql/pgsql.c: make sure the string is non-empty and use strlcpy() & strlcat() * main/network.c: use closesocket() on Win32 and close() on *nix * (PHP_5_2) NEWS ext/oci8/oci8_interface.c ext/oci8/oci8_statement.c ext/oci8/tests/array_bind_005.phpt ext/oci8/tests/coll_019.phpt ext/oci8/tests/define2.phpt ext/oci8/tests/define3.phpt ext/oci8/tests/define4.phpt ext/oci8/tests/define5.phpt: MFH: fix #39988 (type argument of oci_define_by_name() is ignored) patch and tests by Chris Jones * ext/oci8/oci8_interface.c ext/oci8/oci8_statement.c ext/oci8/tests/coll_019.phpt ext/oci8/tests/coll_019.phpt ext/oci8/tests/define2.phpt ext/oci8/tests/define2.phpt ext/oci8/tests/define3.phpt ext/oci8/tests/define3.phpt ext/oci8/tests/define4.phpt ext/oci8/tests/define4.phpt ext/oci8/tests/define5.phpt ext/oci8/tests/define5.phpt: fix #39988 (type argument of oci_define_by_name() is ignored) patch and tests by Chris Jones * (PHP_5_2) NEWS ext/oci8/oci8.c ext/oci8/oci8_statement.c ext/oci8/php_oci8_int.h ext/oci8/tests/bug40078.phpt: MFH: fix #40078 (ORA-01405 when fetching NULL values using oci_bind_array_by_name()) * ext/oci8/oci8.c ext/oci8/oci8_statement.c ext/oci8/php_oci8_int.h ext/oci8/tests/bug40078.phpt ext/oci8/tests/bug40078.phpt: fix #40078 (ORA-01405 when fetching NULL values using oci_bind_array_by_name()) * main/.cvsignore main/streams/.cvsignore regex/.cvsignore: add misssing temp directories to .cvsignore 2007-01-11 Sara Golemon * ext/posix/posix.c: * ext/posix/posix.c ext/standard/filestat.c: Some platforms have getpwnam_r() but are missing _SC_GETPW_R_SIZE_MAX 2007-01-10 Andrei Zmievski * INSTALL Makefile.global acinclude.m4 configure.in makerpm sapi/apache/.cvsignore sapi/apache/apMakefile.tmpl sapi/apache/config.m4 sapi/apache/libphp5.module.in sapi/apache/libphp6.module.in sapi/apache/mod_php.c sapi/apache/mod_php.exp sapi/apache/mod_php.h sapi/apache/mod_php5.c sapi/apache/mod_php5.exp sapi/apache/mod_php5.h sapi/apache/php.sym sapi/apache/php_apache_http.h sapi/cli/config.m4: Rename php5 module to php6. Remove version number from sapi/apache/mod_php.* filenames (for future's sake). No other SAPI moduels modified (up to invididual maintainers). * README.UNICODE: Update with rewrites by me and Evan G. * README.UNICODE-UPGRADES: Update with info from README.UNICODE. 2007-01-10 Sara Golemon * main/php_streams.h main/streams/streams.c: Add convenience function for openeing files with unicode names 2007-01-10 Johannes Schlüter * sapi/cli/php.1.in: - Bump year 2007-01-10 Hannes Magnusson * ext/sockets/php_sockets.h ext/sockets/sockets.c: MFB: Add missing ifdefs 2007-01-10 Marcus Boerger * ext/standard/file.c: - Fix mem access 2007-01-10 Ilia Alshanetsky * (PHP_5_2) NEWS ext/spl/php_spl.c ext/spl/tests/bug40091.phpt ext/spl/tests/bug40091.phpt: Fixed bug #40091 (spl_autoload_register with 2 instances of the same class). 2007-01-10 Andrei Zmievski * ZendEngine2/zend_API.h: Remove const warnings. (Andrey) 2007-01-10 Ilia Alshanetsky * (PHP_5_2) NEWS: Another bug fixed by Dmitry 2007-01-10 Dmitry Stogov * ext/simplexml/tests/bug38347.phpt ext/simplexml/tests/bug38347.phpt ext/spl/tests/iterator_035.phpt ext/spl/tests/iterator_035.phpt tests/classes/bug27468.phpt tests/classes/bug27468.phpt tests/lang/bug27439.phpt tests/lang/bug27439.phpt: Fixed tests * ZendEngine2/tests/bug35106.phpt ZendEngine2/tests/bug35106.phpt ZendEngine2/tests/bug36214.phpt ZendEngine2/tests/bug36214.phpt ZendEngine2/tests/bug38146.phpt ZendEngine2/tests/bug39449.phpt ZendEngine2/tests/bug39449.phpt ZendEngine2/tests/bug39990.phpt ZendEngine2/tests/bug39990.phpt: file bug35106.phpt was initially added on branch PHP_5_2. * (PHP_5_2) NEWS ZendEngine2/zend_compile.c ZendEngine2/zend_compile.c ZendEngine2/zend_compile.h ZendEngine2/zend_compile.h ZendEngine2/zend_execute.c ZendEngine2/zend_execute.c ZendEngine2/zend_execute.h ZendEngine2/zend_execute.h ZendEngine2/zend_hash.c ZendEngine2/zend_hash.c ZendEngine2/zend_hash.h ZendEngine2/zend_hash.h ZendEngine2/zend_language_parser.y ZendEngine2/zend_language_parser.y ZendEngine2/zend_object_handlers.c ZendEngine2/zend_object_handlers.c ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h ZendEngine2/zend_vm_execute.h ZendEngine2/tests/bug35106.phpt ZendEngine2/tests/bug36214.phpt ZendEngine2/tests/bug38146.phpt ZendEngine2/tests/bug39449.phpt ZendEngine2/tests/bug39990.phpt: - Fixed bug #35106 (nested foreach fails when array variable has a reference). - Fixed bug #36214 (__get method works properly only when conditional operator is used). - Fixed bug #39449 (Overloaded array properties do not work correctly). - Fixed bug #39990 (Cannot "foreach" over overloaded properties). 2007-01-10 Hannes Magnusson * (PHP_5_2) ext/sockets/php_sockets.h ext/sockets/sockets.c: Add missing ifdefs for shutdown() * ext/standard/file.h: MFB: fix ifdefs * (PHP_5_2) ext/standard/file.h: Fix ifdefs * (PHP_5_2) ext/pcre/php_pcre.c: Fix build on system where HAVE_SETLOCALE is not defined 2007-01-10 Antony Dovgal * (PHP_5_2) NEWS: BFN * sapi/milter/php_milter.c: fix #40083 * (PHP_5_2) sapi/milter/php_milter.c: use RETURN_* instead of RETVAL_* and fix #40083 2007-01-10 Dmitry Stogov * (PHP_5_2) ext/session/session.c: Fixed SIGSEGV 2007-01-09 Ilia Alshanetsky * (PHP_5_2) NEWS configure.in main/safe_mode.c: Fixed bug #40079 (php_get_current_user() not thread safe). 2007-01-09 Marcus Boerger * (PHP_5_2) NEWS: - Ups wrong place * (PHP_5_2) NEWS: - BFN * ext/exif/exif.c: - Improve debugging and fix #40073 2007-01-09 Andrei Zmievski * ZendEngine2/zend_language_scanner.l ZendEngine2/zend_language_scanner.l: Fix 'b' prefix in highlighting and tokenizer. (Matt W) 2007-01-09 Dmitry Stogov * (PHP_4_4) NEWS Zend/zend_execute.c: Fixed bug #39819 (Using $this not in object context can cause segfaults) * ext/standard/proc_open.c ext/standard/proc_open.c: Close open files in case of failure (Amit) 2007-01-09 Ilia Alshanetsky * (PHP_4_4) ext/session/session.c: MFH: Prevent SESSION/GLOBALS overload via session decoding * (PHP_5_2) ext/session/session.c: Prevent SESSION/GLOBALS overload via session decoding 2007-01-09 Dmitry Stogov * (PHP_5_2) NEWS ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.c: Fixed bug #40076 (zend_alloc.c: Value of enumeration constant must be in range of signed integer) 2007-01-09 Ilia Alshanetsky * ext/wddx/wddx.c: MFB: Added key_length intialization for intergers * (PHP_4_4) ext/wddx/wddx.c: MFH: Added key_length intialization for intergers * (PHP_5_2) ext/wddx/wddx.c: Added key_length intialization for intergers 2007-01-09 Dmitry Stogov * (PHP_5_2) NEWS ZendEngine2/zend_compile.c ZendEngine2/zend_compile.c: Fixed bug #40002 (Try/Catch performs poorly) * ZendEngine2/zend_vm_gen.php ZendEngine2/zend_vm_gen.php: Bump year. 2007-01-09 Antony Dovgal * (PHP_5_2) ext/exif/exif.c: MFH: zerofill info_data and fix possible segfault partly fixes #40073 * ext/exif/exif.c: zerofill info_data and fix possible segfault partly fixes #40073 2007-01-08 Nuno Lopes * ext/gd/gd.c ext/gd/php_gd.h: MFB * (PHP_5_2) ext/gd/gd.c ext/gd/php_gd.h: avoid calling MSHUTDOWN when built without libt1 * ext/sysvmsg/php_sysvmsg.h ext/sysvmsg/sysvmsg.c: MFB: remove mshutdown func * (PHP_5_2) ext/sysvmsg/php_sysvmsg.h ext/sysvmsg/sysvmsg.c: remove useless MSHUTDOWN function * ext/hash/hash.c ext/hash/hash_adler32.c ext/hash/hash_crc32.c ext/hash/hash_gost.c ext/hash/hash_haval.c ext/hash/hash_md.c ext/hash/hash_ripemd.c ext/hash/hash_salsa.c ext/hash/hash_sha.c ext/hash/hash_snefru.c ext/hash/hash_tiger.c ext/hash/hash_whirlpool.c ext/hash/php_hash.h: MFB: constify * (PHP_5_2) ext/hash/hash.c ext/hash/hash_adler32.c ext/hash/hash_crc32.c ext/hash/hash_gost.c ext/hash/hash_haval.c ext/hash/hash_md.c ext/hash/hash_ripemd.c ext/hash/hash_salsa.c ext/hash/hash_sha.c ext/hash/hash_snefru.c ext/hash/hash_tiger.c ext/hash/hash_whirlpool.c ext/hash/php_hash.h: make the hash_ops structures const and save some memory 2007-01-08 Sara Golemon * ext/curl/interface.c: Add CURLOPT_TCP_NODELAY * ext/libxml/libxml.c ext/libxml/php_libxml.h: Allow libxml DomNodes to remain persistent when requested by other extensions 2007-01-08 Andrei Zmievski * ext/imap/config.m4: Fix IMAP check. * ZendEngine2/zend_unicode.c: Let caller issue error. * ZendEngine2/zend_vm_def.h: Note. 2007-01-08 Ilia Alshanetsky * ext/standard/string.c: MFB: Use safe_emalloc() rather then emalloc() * (PHP_4_4) ext/standard/string.c: MFH: Use safe_emalloc() rather then emalloc() * (PHP_5_2) ext/standard/string.c: Use safe_emalloc() rather then emalloc() * (PHP_5_2) NEWS ext/spl/php_spl.c ext/spl/tests/bug38325.phpt ext/spl/tests/bug38325.phpt: Fixed bug #38325 (spl_autoload_register() gaves wrong line for "class not found"). * (PHP_5_2) ext/spl/php_spl.c main/main.c main/php_main.h: Provide means for opening file for zend with error supression. Allows us to avoid INI hackery such as the one used in SPL. 2007-01-08 Edin Kadribasic * win32/build/Makefile: Make mt more silent 2007-01-07 Sara Golemon * ZendEngine2/zend_alloc.h: Typo 2007-01-07 Ilia Alshanetsky * (PHP_5_2) NEWS ext/openssl/config.w32 ext/openssl/config0.m4 ext/openssl/openssl.c: Fixed bug #39394 (Missing check for older variants of openssl). 2007-01-07 Hannes Magnusson * ext/date/tests/bug37514.phpt: Use relative timestamp * (PHP_5_2) ext/date/tests/bug37514.phpt: Use relative timestamp 2007-01-07 Sara Golemon * ext/standard/user_filters.c ext/standard/tests/filters/001.phpt ext/standard/tests/filters/bug35916.phpt: Remaining unicode updates for user filters * ZendEngine2/zend_API.c ZendEngine2/zend_API.h: Add add_property_zstr(l)(_ex)() * ZendEngine2/zend_alloc.h: Add pestrndup() * ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.h: Fix prior commit noticing this time that persistent allocators start with zend_*() and that one already exists * ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.h: Flesh out some missing API calls 2007-01-07 Ilia Alshanetsky * (PHP_5_2) NEWS ext/pgsql/pgsql.c: Fixed bug #39979 (PGSQL_CONNECT_FORCE_NEW will causes next connect to establish a new connection). * (PHP_5_2) NEWS ext/spl/spl_array.c ext/spl/tests/bug40036.phpt ext/spl/tests/bug40036.phpt: Fixed bug #40036 (empty() does not work correctly with ArrayObject when using ARRAY_AS_PROPS). * (PHP_5_2) ext/zip/php_zip.c: Fixed memory leaks on error 2007-01-06 Nuno Lopes * main/php_logos.c: make a var static * ext/zip/php_zip.c: MFB * (PHP_5_2) ext/zip/php_zip.c: fix a few memleaks and double-free()s on error conditions * ext/ming/config.m4 ext/ming/ming.c ext/ming/php_ming.h: MFB: fix build with libming 0.3 * (PHP_5_2) ext/ming/config.m4 ext/ming/ming.c ext/ming/php_ming.h: fix build with libming 0.3 and older 2007-01-06 Rob Richards * (PHP_5_2) README.UPDATE_5_2: update xmlwriter_write_dtd_entity parameters * (PHP_5_2) ext/xmlwriter/php_xmlwriter.c ext/xmlwriter/tests/bug39504.phpt: MFH: parameter entity argument (pe) should be bool update test * ext/xmlwriter/php_xmlwriter.c ext/xmlwriter/tests/bug39504.phpt: parameter entity argument (pe) should be bool update test 2007-01-06 Ilia Alshanetsky * (PHP_5_2) ext/session/tests/016.phpt: removed dl() block 2007-01-06 Hannes Magnusson * ext/session/tests/016.phpt: MFB: fix skipif * (PHP_5_2) ext/session/tests/016.phpt: Fix skipif * (PHP_5_2) NEWS README.UPDATE_5_2: ext/XMLWriter updates * NEWS: Remove bugfix entry (will be in 5.2.1) * ext/xmlwriter/php_xmlwriter.c: Fix parameter parsing * (PHP_5_2) ext/xmlwriter/php_xmlwriter.c ext/xmlwriter/tests/008.phpt ext/xmlwriter/tests/bug39504.phpt: MFH: bug #39504 (xmlwriter_write_dtd_entity() creates Attlist tag, not entity) Add & improve test 2007-01-06 Dmitry Stogov * (PHP_5_2) NEWS ext/standard/proc_open.c ext/standard/proc_open.c: Improved proc_open(). Now on Windows it can run external commands not through CMD.EXE 2007-01-06 Georg Richter * ext/mysqli/mysqli_api.c: merged from 5_2 (mysqli_info crash) 2007-01-05 Sara Golemon * (PHP_5_2) ext/posix/config.m4: MFH: (r-1.16) ttyname_r() is broken on BSD * ext/posix/config.m4 ext/posix/posix.c: Refix posix_ttyname(), test for a working implementation of ttyname_r() -- which BSD doesn't have * ext/posix/posix.c: BSD4.1 (possibly others) doesn't support _SC_TTY_NAME_MAX * ZendEngine2/zend_builtin_functions.c: Update create_function() 2007-01-05 Andrei Zmievski * ext/standard/basic_functions.c: Clean up set_include_path(). 2007-01-05 Sara Golemon * ext/session/mod_files.c: Don't bother with conversion when the converter is already UTF8 2007-01-05 Hannes Magnusson * ext/date/tests/bug37514.phpt ext/date/tests/oo_002.phpt ext/standard/tests/strings/bug26819.phpt: MFB: Fix tests * (PHP_5_2) ext/standard/tests/strings/bug26819.phpt: Fix test according to bug#40009 * (PHP_5_2) ext/date/tests/bug37514.phpt ext/date/tests/oo_002.phpt: Fix tests 2007-01-05 Ilia Alshanetsky * (PHP_5_2) ext/fbsql/php_fbsql.c ext/gd/gd.c ext/ldap/ldap.c ext/pdo_firebird/firebird_statement.c ext/pgsql/pgsql.c ext/soap/php_encoding.c ext/standard/uniqid.c ext/sysvmsg/sysvmsg.c: %f -> %F 2007-01-05 Sebastian Bergmann * ext/session/mod_files.c ext/session/session.c: Fix ZTS issues. 2007-01-05 Edin Kadribasic * (PHP_4_4) ext/curl/curl.dsp: New curl lib needs CURL_STATICLIB define when linked statically 2007-01-05 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: - 4.4.5rc1 2007-01-05 Sara Golemon * NEWS ext/session/CREDITS ext/session/php_session.h ext/session/session.c: Allow ext/session to use ext/hash's algorithms for generating IDs * ext/session/mod_files.c ext/session/mod_user.c 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: Unicode Updates 2007-01-04 Ilia Alshanetsky * (PHP_5_2) NEWS configure.in main/php_version.h: Back to dev * (PHP_5_2) NEWS configure.in main/php_version.h: 5.2.1RC2 * ext/session/mod_files.c: MFB: Added missing open_basedir checks * (PHP_5_2) ext/session/mod_files.c: Added missing open_basedir checks 2007-01-04 Sara Golemon * ext/session/mod_files.c ext/session/mod_mm.c ext/session/mod_user.c ext/session/php_session.h ext/session/session.c: Cleanup ext/session so that I can do a unicode update without going insane. 2007-01-04 Nuno Lopes * Makefile.gcov: MFB * (PHP_5_2) Makefile.gcov: remove --show-details from lcov's genhtml, as currently we don't separate the coverage data per test, making this option useless 2007-01-03 Ilia Alshanetsky * ext/standard/http.c: MFB: Fixed bug #40009 (http_build_query(array()) returns NULL). * (PHP_5_2) NEWS ext/standard/http.c: Fixed bug #40009 (http_build_query(array()) returns NULL). 2007-01-03 Nuno Lopes * ext/zlib/tests/bug_34821.phpt: MFB * (PHP_5_2) ext/zlib/tests/bug_34821.phpt: reduce the test data size even further or when running with valgrind it times out * (PHP_5_2) ext/pdo/pdo_sql_parser.c ext/pdo/pdo_sql_parser.re: MFH: fix infinite cycle * ext/pdo/pdo_sql_parser.c ext/pdo/pdo_sql_parser.re: fix a bug where PHP would enter in an infinite cycle with chars with ascii value > 127 while at it, remove the lim structure parameter (it wasn't being used) 2007-01-03 Antony Dovgal * ZendEngine2/zend_extensions.h ZendEngine2/zend_modules.h ext/exif/exif.c ext/mime_magic/mime_magic.c ext/sqlite/sqlite.c: more magic number fixes * ext/oci8/oci8_interface.c: use constant 2007-01-03 Nuno Lopes * ext/pdo/php_pdo_driver.h: fix PDO_DRIVER_API * ext/pdo/pdo_sql_parser.c: fix lcov build 2007-01-03 Hannes Magnusson * ext/pcre/pcrelib/pcregrep.c: Revert pcrelib version string to 2006 2007-01-03 Nuno Lopes * (PHP_4_4) ext/ftp/ftp.c: merge Tony's patch to fix memleak 2007-01-03 Antony Dovgal * sapi/apache2filter/php_functions.c sapi/apache2handler/php_functions.c: fix magic numbers * ext/pcre/pcrelib/pcre.h: revert this date to its previous state 2007-01-03 Derick Rethans * ext/date/php_date.c: - MFB: Fixed bug #40012 (php_date.c doesnt compile on Netware). * (PHP_5_2) NEWS ext/date/php_date.c: - Fixed bug #40012 (php_date.c doesnt compile on Netware). 2007-01-03 Antony Dovgal * ext/date/tests/bug37514.phpt: and one more.. * ext/date/tests/oo_002.phpt ext/date/tests/oo_002.phpt: fix test 2007-01-03 Ilia Alshanetsky * ext/fdf/fdf.c ext/fdf/fdf.c: Use proper length * ext/fdf/fdf.c: MFB: Added filter callback Unlink temporary file on error * (PHP_5_2) ext/fdf/fdf.c: Added filter callback Unlink temporary file on error 2007-01-02 Marcus Boerger * ext/spl/spl_array.c: - Make Andrei happy - spread some U's 2007-01-02 Nuno Lopes * ext/standard/proc_open.c: MFB * (PHP_5_2) NEWS ext/standard/proc_open.c: +- Fixed bug #37619 (proc_open() closes stdin on fork() failure). 2007-01-02 Ilia Alshanetsky * (PHP_4_4) ext/zip/zip.c: Added length parameter validator to zip_entry_read() 2007-01-02 Georg Richter * ext/mysqli/mysqli_api.c: fixed parameters for unicode in mysqli_change_user 2007-01-01 Nuno Lopes * acinclude.m4 acinclude.m4: MFB * (PHP_5_2) acinclude.m4: add EXTRA_LDFLAGS_PROGRAM to config.nice (as LDFLAG is quite useless) 2007-01-01 Ilia Alshanetsky * ext/dba/libinifile/inifile.c: MFB: fixed compiler warnings * (PHP_5_2) ext/dba/libinifile/inifile.c: fixed compiler warnings * (PHP_5_2) ext/xmlwriter/php_xmlwriter.c: fixed compiler warning * (PHP_5_2) header run-tests.php server-tests.php build/build.mk build/build2.mk build/buildcheck.sh ext/informix/ifx.ec ext/interbase/interbase.rc main/build-defs.h.in main/internal_functions.c.in scripts/dev/check_parameters.php scripts/dev/conv_z_macros win32/php5dllts.rc2 win32/php5ts.rc2 win32/php5ts_cli.rc2 win32/build/Makefile win32/build/buildconf.js win32/build/confutils.js win32/build/cvsclean.js win32/build/template.rc: Update copyright year * (PHP_5_2) ext/pdo_oci/oci_driver.c ext/pdo_oci/oci_statement.c: Fixed compiler warnings * (PHP_5_2) ext/xmlwriter/php_xmlwriter.c: Added missing entity functions (MFH from HEAD) Fixed php_xmlwriter_streams_IO_close() docs 2007-01-01 Sebastian Bergmann * TSRM/TSRM.c TSRM/TSRM.h TSRM/tsrm_nw.c TSRM/tsrm_nw.h TSRM/tsrm_virtual_cwd.c TSRM/tsrm_virtual_cwd.h TSRM/tsrm_win32.c TSRM/tsrm_win32.h ZendEngine2/acconfig.h ZendEngine2/zend.c ZendEngine2/zend.h ZendEngine2/zend_API.c ZendEngine2/zend_API.h ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.h ZendEngine2/zend_arg_defs.c ZendEngine2/zend_builtin_functions.c ZendEngine2/zend_builtin_functions.h ZendEngine2/zend_compile.c ZendEngine2/zend_compile.h ZendEngine2/zend_config.nw.h ZendEngine2/zend_config.w32.h ZendEngine2/zend_constants.c ZendEngine2/zend_constants.h ZendEngine2/zend_default_classes.c ZendEngine2/zend_dynamic_array.c ZendEngine2/zend_dynamic_array.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_fast_cache.h ZendEngine2/zend_globals.h ZendEngine2/zend_globals_macros.h ZendEngine2/zend_hash.c ZendEngine2/zend_hash.h ZendEngine2/zend_highlight.c ZendEngine2/zend_highlight.h ZendEngine2/zend_indent.c ZendEngine2/zend_indent.h ZendEngine2/zend_ini.c ZendEngine2/zend_ini.h ZendEngine2/zend_ini_scanner.h ZendEngine2/zend_interfaces.c ZendEngine2/zend_interfaces.h ZendEngine2/zend_istdiostream.h ZendEngine2/zend_iterators.c ZendEngine2/zend_iterators.h ZendEngine2/zend_language_scanner.h ZendEngine2/zend_list.c ZendEngine2/zend_list.h ZendEngine2/zend_llist.c ZendEngine2/zend_llist.h ZendEngine2/zend_modules.h ZendEngine2/zend_multiply.h ZendEngine2/zend_object_handlers.c ZendEngine2/zend_object_handlers.h ZendEngine2/zend_objects.c ZendEngine2/zend_objects.h ZendEngine2/zend_objects_API.c ZendEngine2/zend_objects_API.h ZendEngine2/zend_opcode.c ZendEngine2/zend_operators.c ZendEngine2/zend_operators.h ZendEngine2/zend_ptr_stack.c ZendEngine2/zend_ptr_stack.h ZendEngine2/zend_qsort.c ZendEngine2/zend_qsort.h ZendEngine2/zend_sprintf.c ZendEngine2/zend_stack.c ZendEngine2/zend_stack.h ZendEngine2/zend_static_allocator.c ZendEngine2/zend_static_allocator.h ZendEngine2/zend_stream.c ZendEngine2/zend_stream.h ZendEngine2/zend_strtod.h ZendEngine2/zend_ts_hash.c ZendEngine2/zend_ts_hash.h ZendEngine2/zend_types.h ZendEngine2/zend_unicode.c ZendEngine2/zend_unicode.h ZendEngine2/zend_variables.c ZendEngine2/zend_variables.h ZendEngine2/zend_vm.h ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h ZendEngine2/zend_vm_opcodes.h ext/bcmath/bcmath.c ext/bcmath/php_bcmath.h ext/bz2/bz2.c ext/bz2/bz2_filter.c ext/bz2/php_bz2.h ext/calendar/cal_unix.c ext/calendar/calendar.c ext/calendar/easter.c ext/com_dotnet/com_com.c ext/com_dotnet/com_dotnet.c ext/com_dotnet/com_extension.c ext/com_dotnet/com_handlers.c ext/com_dotnet/com_iterator.c ext/com_dotnet/com_misc.c ext/com_dotnet/com_olechar.c ext/com_dotnet/com_persist.c ext/com_dotnet/com_saproxy.c ext/com_dotnet/com_typeinfo.c ext/com_dotnet/com_variant.c ext/com_dotnet/com_wrapper.c ext/com_dotnet/php_com_dotnet.h ext/com_dotnet/php_com_dotnet_internal.h ext/ctype/ctype.c ext/ctype/php_ctype.h ext/curl/interface.c ext/curl/multi.c ext/curl/php_curl.h ext/curl/streams.c ext/date/php_date.c ext/date/php_date.h ext/date/lib/astro.c ext/date/lib/dow.c ext/date/lib/parse_date.c ext/date/lib/parse_tz.c ext/date/lib/timelib.c ext/date/lib/timelib.h ext/date/lib/timelib_structs.h ext/date/lib/timezonedb.h ext/date/lib/tm2unixtime.c ext/date/lib/unixtime2tm.c ext/dba/dba.c ext/dba/dba_cdb.c ext/dba/dba_db1.c ext/dba/dba_db2.c ext/dba/dba_db3.c ext/dba/dba_db4.c ext/dba/dba_dbm.c ext/dba/dba_flatfile.c ext/dba/dba_gdbm.c ext/dba/dba_inifile.c ext/dba/dba_ndbm.c ext/dba/dba_qdbm.c ext/dba/php_dba.h ext/dba/libcdb/cdb.c ext/dba/libcdb/cdb.h ext/dba/libcdb/cdb_make.c ext/dba/libcdb/cdb_make.h ext/dba/libcdb/uint32.c ext/dba/libcdb/uint32.h ext/dba/libflatfile/flatfile.c ext/dba/libflatfile/flatfile.h ext/dba/libinifile/inifile.c ext/dba/libinifile/inifile.h ext/dbase/dbase.c ext/dbase/php_dbase.h ext/dom/attr.c ext/dom/cdatasection.c ext/dom/characterdata.c ext/dom/comment.c ext/dom/document.c ext/dom/documentfragment.c ext/dom/documenttype.c ext/dom/dom_ce.h ext/dom/dom_fe.h ext/dom/dom_iterators.c ext/dom/dom_properties.h ext/dom/domconfiguration.c ext/dom/domerror.c ext/dom/domerrorhandler.c ext/dom/domexception.c ext/dom/domimplementation.c ext/dom/domimplementationlist.c ext/dom/domimplementationsource.c ext/dom/domlocator.c ext/dom/domstringlist.c ext/dom/element.c ext/dom/entity.c ext/dom/entityreference.c ext/dom/namednodemap.c ext/dom/namelist.c ext/dom/node.c ext/dom/nodelist.c ext/dom/notation.c ext/dom/php_dom.c ext/dom/php_dom.h ext/dom/processinginstruction.c ext/dom/string_extend.c ext/dom/text.c ext/dom/typeinfo.c ext/dom/userdatahandler.c ext/dom/xml_common.h ext/dom/xpath.c ext/exif/exif.c ext/exif/php_exif.h ext/fbsql/php_fbsql.c ext/fbsql/php_fbsql.h ext/fdf/fdf.c ext/fdf/php_fdf.h ext/filter/callback_filter.c ext/filter/filter.c ext/filter/filter_private.h ext/filter/logical_filters.c ext/filter/php_filter.h ext/filter/sanitizing_filters.c ext/ftp/ftp.c ext/ftp/ftp.h ext/ftp/php_ftp.c ext/ftp/php_ftp.h ext/gd/gd.c ext/gd/gd_ctx.c ext/gd/php_gd.h ext/gd/libgd/xbm.c ext/gettext/gettext.c ext/gettext/php_gettext.h ext/gmp/gmp.c ext/gmp/php_gmp.h ext/hash/hash.c ext/hash/hash_adler32.c ext/hash/hash_crc32.c ext/hash/hash_gost.c ext/hash/hash_haval.c ext/hash/hash_md.c ext/hash/hash_ripemd.c ext/hash/hash_salsa.c ext/hash/hash_sha.c ext/hash/hash_snefru.c ext/hash/hash_tiger.c ext/hash/hash_whirlpool.c ext/hash/php_hash.h ext/hash/php_hash_adler32.h ext/hash/php_hash_crc32.h ext/hash/php_hash_crc32_tables.h ext/hash/php_hash_gost.h ext/hash/php_hash_haval.h ext/hash/php_hash_md.h ext/hash/php_hash_ripemd.h ext/hash/php_hash_salsa.h ext/hash/php_hash_sha.h ext/hash/php_hash_snefru.h ext/hash/php_hash_snefru_tables.h ext/hash/php_hash_tiger.h ext/hash/php_hash_tiger_tables.h ext/hash/php_hash_types.h ext/hash/php_hash_whirlpool.h ext/hash/php_hash_whirlpool_tables.h ext/iconv/iconv.c ext/iconv/php_iconv.h ext/imap/php_imap.c ext/imap/php_imap.h ext/informix/php_informix.h ext/informix/php_informix_includes.h ext/interbase/ibase_blobs.c ext/interbase/ibase_events.c ext/interbase/ibase_query.c ext/interbase/ibase_service.c ext/interbase/interbase.c ext/interbase/php_ibase_includes.h ext/interbase/php_ibase_udf.c ext/interbase/php_interbase.h ext/json/json.c ext/json/php_json.h ext/ldap/ldap.c ext/ldap/php_ldap.h ext/libxml/libxml.c ext/libxml/php_libxml.h ext/mbstring/mb_gpc.c ext/mbstring/mb_gpc.h ext/mbstring/mbstring.c ext/mbstring/mbstring.h ext/mbstring/php_mbregex.c ext/mbstring/php_mbregex.h ext/mbstring/php_unicode.c ext/mbstring/php_unicode.h ext/mcrypt/mcrypt.c ext/mcrypt/php_mcrypt.h ext/mhash/mhash.c ext/mhash/php_mhash.h ext/mime_magic/mime_magic.c ext/mime_magic/php_mime_magic.h ext/mime_magic/phpmimemagic.h ext/ming/ming.c ext/ming/php_ming.h ext/msql/php_msql.c ext/msql/php_msql.h ext/mssql/php_mssql.c ext/mssql/php_mssql.h ext/mysql/php_mysql.c ext/mysql/php_mysql.h ext/mysqli/mysqli.c ext/mysqli/mysqli_api.c ext/mysqli/mysqli_driver.c ext/mysqli/mysqli_embedded.c ext/mysqli/mysqli_exception.c ext/mysqli/mysqli_fe.c ext/mysqli/mysqli_nonapi.c ext/mysqli/mysqli_prop.c ext/mysqli/mysqli_repl.c ext/mysqli/mysqli_report.c ext/mysqli/mysqli_report.h ext/mysqli/mysqli_warning.c ext/mysqli/php_mysqli.h ext/oci8/oci8.c ext/oci8/oci8_collection.c ext/oci8/oci8_interface.c ext/oci8/oci8_lob.c ext/oci8/oci8_statement.c ext/oci8/php_oci8.h ext/oci8/php_oci8_int.h ext/odbc/birdstep.c ext/odbc/php_birdstep.h ext/odbc/php_odbc.c ext/odbc/php_odbc.h ext/odbc/php_odbc_includes.h ext/openssl/openssl.c ext/openssl/php_openssl.h ext/openssl/xp_ssl.c ext/pcntl/pcntl.c ext/pcntl/php_pcntl.h ext/pcntl/php_signal.c ext/pcntl/php_signal.h ext/pcre/php_pcre.c ext/pcre/php_pcre.h ext/pcre/pcrelib/dftables.c ext/pcre/pcrelib/pcre.h ext/pcre/pcrelib/pcre_compile.c ext/pcre/pcrelib/pcre_config.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_refcount.c ext/pcre/pcrelib/pcre_study.c ext/pcre/pcrelib/pcre_tables.c ext/pcre/pcrelib/pcre_try_flipped.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/pcregrep.c ext/pcre/pcrelib/pcreposix.c ext/pcre/pcrelib/pcreposix.h ext/pdo/pdo.c ext/pdo/pdo_dbh.c ext/pdo/pdo_sql_parser.c ext/pdo/pdo_sqlstate.c ext/pdo/pdo_stmt.c ext/pdo/php_pdo.h ext/pdo/php_pdo_driver.h ext/pdo/php_pdo_int.h ext/pdo/php_pdo_phpvers_compat.h ext/pdo_dblib/dblib_driver.c ext/pdo_dblib/dblib_stmt.c ext/pdo_dblib/pdo_dblib.c ext/pdo_dblib/php_pdo_dblib.h ext/pdo_dblib/php_pdo_dblib_int.h ext/pdo_firebird/firebird_driver.c ext/pdo_firebird/firebird_statement.c ext/pdo_firebird/pdo_firebird.c ext/pdo_firebird/php_pdo_firebird.h ext/pdo_firebird/php_pdo_firebird_int.h ext/pdo_mysql/mysql_driver.c ext/pdo_mysql/mysql_statement.c ext/pdo_mysql/pdo_mysql.c ext/pdo_mysql/php_pdo_mysql.h ext/pdo_mysql/php_pdo_mysql_int.h ext/pdo_oci/oci_driver.c ext/pdo_oci/oci_statement.c ext/pdo_oci/pdo_oci.c ext/pdo_oci/php_pdo_oci.h ext/pdo_oci/php_pdo_oci_int.h ext/pdo_odbc/odbc_driver.c ext/pdo_pgsql/pdo_pgsql.c ext/pdo_pgsql/pgsql_driver.c ext/pdo_pgsql/pgsql_statement.c ext/pdo_pgsql/php_pdo_pgsql.h ext/pdo_pgsql/php_pdo_pgsql_int.h ext/pdo_sqlite/pdo_sqlite.c ext/pdo_sqlite/php_pdo_sqlite.h ext/pdo_sqlite/php_pdo_sqlite_int.h ext/pdo_sqlite/sqlite_driver.c ext/pdo_sqlite/sqlite_statement.c ext/pdo_sqlite/sqlite/src/alter.c ext/pdo_sqlite/sqlite/src/analyze.c ext/pdo_sqlite/sqlite/src/callback.c ext/pdo_sqlite/sqlite/src/complete.c ext/pdo_sqlite/sqlite/src/loadext.c ext/pdo_sqlite/sqlite/src/os_unix.c ext/pdo_sqlite/sqlite/src/prepare.c ext/pdo_sqlite/sqlite/src/sqlite3ext.h ext/pdo_sqlite/sqlite/src/vdbemem.c ext/pdo_sqlite/sqlite/src/vtab.c ext/pgsql/pgsql.c ext/pgsql/php_pgsql.h ext/posix/php_posix.h ext/posix/posix.c ext/pspell/php_pspell.h ext/pspell/pspell.c ext/readline/php_readline.h ext/readline/readline.c ext/recode/php_recode.h ext/recode/recode.c ext/reflection/php_reflection.c ext/reflection/php_reflection.h ext/session/mod_files.c ext/session/mod_files.h ext/session/mod_mm.c ext/session/mod_mm.h ext/session/mod_user.c ext/session/mod_user.h ext/session/php_session.h ext/session/session.c ext/shmop/php_shmop.h ext/shmop/shmop.c ext/simplexml/php_simplexml.h ext/simplexml/php_simplexml_exports.h ext/simplexml/simplexml.c ext/snmp/php_snmp.h ext/snmp/snmp.c ext/soap/php_encoding.c ext/soap/php_encoding.h ext/soap/php_http.c ext/soap/php_http.h ext/soap/php_packet_soap.c ext/soap/php_packet_soap.h ext/soap/php_schema.c ext/soap/php_schema.h ext/soap/php_sdl.c ext/soap/php_sdl.h ext/soap/php_soap.h ext/soap/php_xml.c ext/soap/php_xml.h ext/soap/soap.c ext/sockets/php_sockets.h ext/sockets/php_sockets_win.c ext/sockets/php_sockets_win.h ext/sockets/sockets.c ext/sockets/unix_socket_constants.h ext/sockets/win32_socket_constants.h ext/spl/php_spl.c ext/spl/php_spl.h ext/spl/spl_array.c ext/spl/spl_array.h ext/spl/spl_directory.c ext/spl/spl_directory.h ext/spl/spl_engine.c ext/spl/spl_engine.h ext/spl/spl_exceptions.c ext/spl/spl_exceptions.h ext/spl/spl_functions.c ext/spl/spl_functions.h ext/spl/spl_iterators.c ext/spl/spl_iterators.h ext/spl/spl_observer.c ext/spl/spl_observer.h ext/spl/spl_sxe.c ext/spl/spl_sxe.h ext/sqlite/pdo_sqlite2.c ext/sqlite/php_sqlite.h ext/sqlite/sess_sqlite.c ext/sqlite/sqlite.c ext/sqlite/libsqlite/src/date.c ext/sqlite/libsqlite/src/encode.c ext/sqlite/libsqlite/src/vdbe.c ext/standard/array.c ext/standard/assert.c ext/standard/base64.c ext/standard/base64.h ext/standard/basic_functions.c ext/standard/basic_functions.h ext/standard/browscap.c ext/standard/crc32.c ext/standard/crc32.h ext/standard/credits.c ext/standard/credits.h ext/standard/crypt.c ext/standard/css.c ext/standard/css.h ext/standard/cyr_convert.c ext/standard/cyr_convert.h ext/standard/datetime.c ext/standard/datetime.h ext/standard/dir.c ext/standard/dl.c ext/standard/dl.h ext/standard/dns.c ext/standard/dns.h ext/standard/exec.c ext/standard/exec.h ext/standard/file.c ext/standard/file.h ext/standard/filestat.c ext/standard/filters.c ext/standard/flock_compat.c ext/standard/flock_compat.h ext/standard/formatted_print.c ext/standard/fsock.c ext/standard/fsock.h ext/standard/ftok.c ext/standard/ftp_fopen_wrapper.c ext/standard/head.c ext/standard/head.h ext/standard/html.c ext/standard/html.h ext/standard/http.c ext/standard/http_fopen_wrapper.c ext/standard/image.c ext/standard/incomplete_class.c ext/standard/info.c ext/standard/info.h ext/standard/iptc.c ext/standard/lcg.c ext/standard/levenshtein.c ext/standard/link.c ext/standard/mail.c ext/standard/math.c ext/standard/md5.c ext/standard/md5.h ext/standard/metaphone.c ext/standard/microtime.c ext/standard/microtime.h ext/standard/pack.c ext/standard/pack.h ext/standard/pageinfo.c ext/standard/pageinfo.h ext/standard/php_array.h ext/standard/php_assert.h ext/standard/php_browscap.h ext/standard/php_crypt.h ext/standard/php_dir.h ext/standard/php_ext_syslog.h ext/standard/php_filestat.h ext/standard/php_fopen_wrapper.c ext/standard/php_fopen_wrappers.h ext/standard/php_ftok.h ext/standard/php_http.h ext/standard/php_image.h ext/standard/php_incomplete_class.h ext/standard/php_iptc.h ext/standard/php_lcg.h ext/standard/php_link.h ext/standard/php_mail.h ext/standard/php_math.h ext/standard/php_metaphone.h ext/standard/php_rand.h ext/standard/php_smart_str.h ext/standard/php_smart_str_public.h ext/standard/php_standard.h ext/standard/php_string.h ext/standard/php_type.h ext/standard/php_uuencode.h ext/standard/php_var.h ext/standard/php_versioning.h ext/standard/proc_open.c ext/standard/proc_open.h ext/standard/quot_print.c ext/standard/quot_print.h ext/standard/rand.c ext/standard/reg.c ext/standard/reg.h ext/standard/scanf.c ext/standard/scanf.h ext/standard/sha1.c ext/standard/sha1.h ext/standard/soundex.c ext/standard/streamsfuncs.c ext/standard/streamsfuncs.h ext/standard/string.c ext/standard/strnatcmp.c ext/standard/syslog.c ext/standard/type.c ext/standard/uniqid.c ext/standard/uniqid.h ext/standard/url.c ext/standard/url.h ext/standard/url_scanner.c ext/standard/url_scanner.h ext/standard/url_scanner_ex.c ext/standard/url_scanner_ex.h ext/standard/user_filters.c ext/standard/uuencode.c ext/standard/var.c ext/standard/var_unserializer.c ext/standard/versioning.c ext/sybase/php_sybase_db.c ext/sybase/php_sybase_db.h ext/sybase_ct/php_sybase_ct.c ext/sybase_ct/php_sybase_ct.h ext/sysvmsg/php_sysvmsg.h ext/sysvmsg/sysvmsg.c ext/sysvsem/php_sysvsem.h ext/sysvsem/sysvsem.c ext/sysvshm/php_sysvshm.h ext/sysvshm/sysvshm.c ext/tidy/php_tidy.h ext/tidy/tidy.c ext/tokenizer/php_tokenizer.h ext/tokenizer/tokenizer.c ext/unicode/collator.c ext/unicode/locale.c ext/unicode/php_property.h ext/unicode/php_transform.h ext/unicode/php_unicode.h ext/unicode/property.c ext/unicode/transform.c ext/unicode/unicode.c ext/unicode/unicode_iterators.c ext/wddx/php_wddx.h ext/wddx/php_wddx_api.h ext/wddx/wddx.c ext/xml/compat.c ext/xml/expat_compat.h ext/xml/php_xml.h ext/xml/xml.c ext/xmlreader/php_xmlreader.c ext/xmlreader/php_xmlreader.h ext/xmlrpc/php_xmlrpc.h ext/xmlrpc/xmlrpc-epi-php.c ext/xmlrpc/libxmlrpc/xml_element.c ext/xmlrpc/libxmlrpc/xmlrpc.c ext/xmlwriter/php_xmlwriter.c ext/xmlwriter/php_xmlwriter.h ext/xsl/php_xsl.c ext/xsl/php_xsl.h ext/xsl/xsl_fe.h ext/xsl/xsltprocessor.c ext/zip/php_zip.c ext/zip/php_zip.h ext/zip/zip_stream.c ext/zip/lib/mkstemp.c ext/zip/lib/zip.h ext/zip/lib/zip_add_dir.c ext/zip/lib/zip_close.c ext/zip/lib/zip_dirent.c ext/zip/lib/zip_entry_free.c ext/zip/lib/zip_entry_new.c ext/zip/lib/zip_err_str.c ext/zip/lib/zip_error.c ext/zip/lib/zip_error_clear.c ext/zip/lib/zip_error_strerror.c ext/zip/lib/zip_file_error_clear.c ext/zip/lib/zip_file_get_offset.c ext/zip/lib/zip_fread.c ext/zip/lib/zip_get_archive_comment.c ext/zip/lib/zip_get_file_comment.c ext/zip/lib/zip_memdup.c ext/zip/lib/zip_new.c ext/zip/lib/zip_open.c ext/zip/lib/zip_replace.c ext/zip/lib/zip_set_archive_comment.c ext/zip/lib/zip_set_file_comment.c ext/zip/lib/zip_source_buffer.c ext/zip/lib/zip_source_filep.c ext/zip/lib/zip_source_function.c ext/zip/lib/zip_source_zip.c ext/zip/lib/zip_stat_index.c ext/zip/lib/zip_stat_init.c ext/zip/lib/zip_unchange.c ext/zip/lib/zip_unchange_all.c ext/zip/lib/zip_unchange_archive.c ext/zip/lib/zipint.h ext/zlib/php_zlib.h ext/zlib/zlib.c ext/zlib/zlib_filter.c ext/zlib/zlib_fopen_wrapper.c main/SAPI.c main/SAPI.h main/config.w32.h main/fopen_wrappers.c main/fopen_wrappers.h main/internal_functions_nw.c main/internal_functions_win32.c main/logos.h main/main.c main/network.c main/output.c main/php.h main/php_compat.h main/php_content_types.c main/php_content_types.h main/php_globals.h main/php_ini.c main/php_ini.h main/php_logos.c main/php_logos.h main/php_main.h main/php_memory_streams.h main/php_network.h main/php_open_temporary_file.c main/php_open_temporary_file.h main/php_output.h main/php_reentrancy.h main/php_regex.h main/php_scandir.c main/php_scandir.h main/php_sprintf.c main/php_streams.h main/php_syslog.h main/php_ticks.c main/php_ticks.h main/php_variables.c main/php_variables.h main/reentrancy.c main/rfc1867.c main/rfc1867.h main/snprintf.c main/snprintf.h main/spprintf.c main/spprintf.h main/strlcat.c main/strlcpy.c main/win95nt.h main/streams/cast.c main/streams/filter.c main/streams/memory.c main/streams/mmap.c main/streams/php_stream_context.h main/streams/php_stream_filter_api.h main/streams/php_stream_mmap.h main/streams/php_stream_plain_wrapper.h main/streams/php_stream_transport.h main/streams/php_stream_userspace.h main/streams/php_streams_int.h main/streams/plain_wrapper.c main/streams/streams.c main/streams/transports.c main/streams/unicode_filter.c main/streams/userspace.c main/streams/xp_socket.c netware/start.c sapi/aolserver/aolserver.c sapi/apache/libpre.c sapi/apache/mod_php5.c sapi/apache/mod_php5.h sapi/apache/php_apache.c sapi/apache/php_apache_http.h sapi/apache/sapi_apache.c sapi/apache2filter/apache_config.c sapi/apache2filter/php_apache.h sapi/apache2filter/php_functions.c sapi/apache2filter/sapi_apache2.c sapi/apache2handler/apache_config.c sapi/apache2handler/mod_php5.c sapi/apache2handler/php_apache.h sapi/apache2handler/php_functions.c sapi/apache2handler/sapi_apache2.c sapi/apache_hooks/mod_php5.c sapi/apache_hooks/mod_php5.h sapi/apache_hooks/php_apache.c sapi/apache_hooks/sapi_apache.c sapi/caudium/caudium.c sapi/cgi/cgi_main.c sapi/cgi/fastcgi.c sapi/cgi/fastcgi.h sapi/cgi/getopt.c sapi/cgi/php_getopt.h sapi/cli/getopt.c sapi/cli/php_cli.c sapi/cli/php_cli_readline.c sapi/cli/php_cli_readline.h sapi/cli/php_getopt.h sapi/continuity/capi.c sapi/embed/php_embed.c sapi/embed/php_embed.h sapi/isapi/php5isapi.c sapi/milter/php_milter.c sapi/nsapi/nsapi.c sapi/phttpd/php_phttpd.h sapi/phttpd/phttpd.c sapi/pi3web/pi3web_sapi.c sapi/roxen/roxen.c sapi/thttpd/php_thttpd.h sapi/thttpd/thttpd.c sapi/tux/php_tux.c sapi/webjames/php_webjames.h sapi/webjames/webjames.c win32/crypt_win32.h win32/glob.c win32/globals.c win32/grp.h win32/md5crypt.c win32/md5crypt.h win32/php_win32_globals.h win32/select.c win32/select.h win32/sendmail.c win32/syslog.h win32/winutil.c win32/winutil.h win32/build/deplister.c: Bump year. 2006-12-31 Ilia Alshanetsky * ext/filter/logical_filters.c: MFB: Simplify code and change strchr() to memchr() * (PHP_5_2) ext/filter/logical_filters.c: Simplify code and change strchr() to memchr() * (PHP_4_4) ext/session/session.c: MFH: Added boundary checks to php_binary deserializer * ext/session/session.c: MFB: Added boundary checks to php_binary deserializer * (PHP_5_2) ext/session/session.c: Added boundary checks to php_binary deserializer * main/SAPI.c: MFB: Fixed bug #39984 (redirect response code in header() could be ignored in CGI sapi). * (PHP_5_2) NEWS main/SAPI.c: Fixed bug #39984 (redirect response code in header() could be ignored in CGI sapi). 2006-12-31 Marcus Boerger * (PHP_5_2) ext/spl/spl.php: - MFH Bugfix: #39996 Wrong PHPDoc comment for SplFileInfo::getType() * ext/spl/spl.php: - Bugfix: #39996 Wrong PHPDoc comment for SplFileInfo::getType() 2006-12-31 Nuno Lopes * ext/standard/proc_open.c: MFB: fix #36427. patch by jdolecek at NetBSD dot org * (PHP_5_2) NEWS ext/standard/proc_open.c: - Fixed bug #36427 (proc_open() / proc_close() leak handles on windows). * ext/standard/proc_open.c ext/standard/proc_open.h: MFB: fix PID info on windows * (PHP_5_2) NEWS ext/standard/proc_open.c ext/standard/proc_open.h: Fixed bug #38542 (proc_get_status() returns wrong PID on windows) 2006-12-30 Ilia Alshanetsky * (PHP_4_4) ext/sysvshm/sysvshm.c: MFH: Added missing resource validation checks * (PHP_5_2) ext/sysvshm/sysvshm.c: Added missing resource validation checks * ext/shmop/shmop.c: MFB: Added missing resource type checks * (PHP_5_2) ext/shmop/shmop.c: Added missing resource type checks 2006-12-30 Rob Richards * (PHP_5_2) NEWS: BFN * ext/simplexml/simplexml.c ext/simplexml/tests/bug39760.phpt: MFB: fix bug #39760 (cloning fails on nested SimpleXML-Object) add test * (PHP_5_2) ext/simplexml/simplexml.c ext/simplexml/tests/bug39760.phpt ext/simplexml/tests/bug39760.phpt: fix bug #39760 (cloning fails on nested SimpleXML-Object) add test 2006-12-30 Ilia Alshanetsky * (PHP_5_2) ext/xsl/xsltprocessor.c: C++ comment * ext/standard/tests/strings/pack.phpt: MFB: Mark test as being 32bit only * (PHP_5_2) ext/standard/tests/strings/pack.phpt: Mark test as being 32bit only * (PHP_5_2) ZendEngine2/zend_operators.c: Simplify & optimize code * ext/filter/logical_filters.c: MFB: Fixes test #50 * (PHP_5_2) ext/filter/logical_filters.c: Fixes test #50 2006-12-29 Ilia Alshanetsky * (PHP_4_4) NEWS ext/pgsql/pgsql.c: MFH: Fixed bug #39971 (pg_insert/pg_update do not allow now() to be used for timestamp fields). * ext/pgsql/pgsql.c: MFB: Fixed bug #39971 (pg_insert/pg_update do not allow now() to be used for timestamp fields). * ext/pgsql/tests/80_bug39971.phpt ext/pgsql/tests/80_bug39971.phpt: file 80_bug39971.phpt was initially added on branch PHP_5_2. * (PHP_5_2) NEWS ext/pgsql/pgsql.c: Fixed bug #39971 (pg_insert/pg_update do not allow now() to be used for timestamp fields). 2006-12-28 Antony Dovgal * sapi/cgi/cgi_main.c: make sure l != 0 * (PHP_5_2) ZendEngine2/zend.c: that was not intentional thanks Nuno * ZendEngine2/zend.c: nuke dead code * ext/fdf/fdf.c ext/mime_magic/mime_magic.c: use strlcpy() 2006-12-28 Nuno Lopes * ext/zlib/tests/bug_34821.phpt: MFB * (PHP_5_2) ext/zlib/tests/bug_34821.phpt: make this test run a little faster (is currently timeout with valgrind) 2006-12-28 Antony Dovgal * ext/mysql/php_mysql.c: include basic_functions.h for php_get_current_user() declaration * ext/fdf/fdf.c: it's ptr, not ptrptr * ext/dba/libflatfile/flatfile.c: use the macro, casting works only with GCC * sapi/embed/php_embed.c: fix sapi/embed build 2006-12-28 Ilia Alshanetsky * ext/pgsql/pgsql.c: MFB: Added buffer length checks * (PHP_5_2) ext/pgsql/pgsql.c: Added buffer length checks 2006-12-28 Antony Dovgal * sapi/apache_hooks/php_apache.c: fix build 2006-12-28 Ilia Alshanetsky * main/php_logos.c: MFB: strcat() stuff * (PHP_5_2) ext/standard/proc_open.c main/php_logos.c: Simplify code and eliminate strcat() usage 2006-12-28 Nuno Lopes * run-tests.php: force tidy.clean_output=0 2006-12-28 Antony Dovgal * ext/standard/file.c: fix ZTS build * ext/odbc/php_odbc.c main/php_ini.c sapi/apache/php_apache.c sapi/apache_hooks/php_apache.c: use strlcat() * ext/sockets/sockets.c ext/standard/reg.c: minor improvements * main/main.c: use strlcat() and a bigger buffer 2006-12-28 Ilia Alshanetsky * (PHP_5_2) ZendEngine2/zend_execute_API.c: Avoid strcpy() & strcat() 2006-12-27 Antony Dovgal * (PHP_4_4) Zend/zend_ini.c: fix build * ext/session/tests/001.phpt ext/session/tests/004.phpt ext/session/tests/005.phpt ext/standard/tests/general_functions/include_path.phpt ext/standard/tests/general_functions/parse_ini_file.phpt ext/standard/tests/strings/bug20108.phpt ext/standard/tests/strings/bug25671.phpt ext/standard/tests/strings/bug27278.phpt ext/standard/tests/strings/bug39873.phpt ext/standard/tests/time/bug38524.phpt: fix tests * ext/standard/math.c: NULL is a special value for number_format() meaning "use default separator" * ZendEngine2/zend_operators.c: restore old behaviour when casting objects to strings and NULL * ZendEngine2/zend_operators.c: fix convert_to_unicode() and convert_to_string() which didn't set the type of the op properly * ext/standard/tests/file/fscanf.phpt ext/standard/tests/strings/bug21730.phpt: fix *scanf() tests * ZendEngine2/zend_operators.h ZendEngine2/zend_strtol.c: add zend_u_strtoul() and fix build * main/php_streams.h: fix php_stream_u_get_line() macro 2006-12-27 Nuno Lopes * (PHP_5_2) ext/session/tests/008.phpt: die("skip this is for PHP < 4.2.3"); * ext/standard/tests/strings/htmlentities02.phpt: MFB * (PHP_5_2) ext/standard/tests/strings/htmlentities02.phpt: oops: remove uneeded code in the skip condition * (PHP_5_2) ext/standard/tests/strings/htmlentities02.phpt: add fr_FR@euro to the setlocale list 2006-12-27 Antony Dovgal * ext/pdo_oci/oci_statement.c: initialize memory with 0's, so we won't get garbage if the statement does not set the var * (PHP_5_2) ext/oci8/tests/function_aliases.phpt ext/oci8/tests/lob_aliases.phpt ext/oci8/tests/num.phpt ext/oci8/tests/statement_type.phpt ext/oci8/tests/statement_type_old.phpt: MFH more test improvements by Chris Jones * ext/oci8/tests/details.inc: that should not be there.. * ext/oci8/tests/details.inc ext/oci8/tests/function_aliases.phpt ext/oci8/tests/function_aliases.phpt ext/oci8/tests/lob_aliases.phpt ext/oci8/tests/lob_aliases.phpt ext/oci8/tests/num.phpt ext/oci8/tests/statement_type.phpt ext/oci8/tests/statement_type_old.phpt: more test improvements by Chris Jones 2006-12-26 Andrei Zmievski * ext/standard/file.c ext/standard/scanf.c ext/standard/scanf.h ext/standard/string.c: Unicode support in sscanf() and fscanf(). (Tony, Andrei) 2006-12-26 Nuno Lopes * ext/snmp/php_snmp.h: fix build 2006-12-26 Ilia Alshanetsky * ZendEngine2/zend_ini.c ZendEngine2/zend_ini.h ext/exif/exif.c ext/interbase/ibase_query.c ext/json/json.c ext/pdo_dblib/dblib_driver.c ext/pdo_dblib/dblib_stmt.c ext/pgsql/pgsql.c ext/soap/php_encoding.c ext/spl/spl_directory.c ext/standard/uuencode.c ext/standard/var.c main/main.c: MFB: safety checks * (PHP_4_4) Zend/zend_ini.c Zend/zend_ini.h ext/exif/exif.c main/main.c: MFB: safety checks * ext/session/session.c: MFB: Session deserializer protection. * (PHP_5_2) ZendEngine2/zend_strtod.c: Fixed compiler warning * (PHP_5_2) ext/curl/interface.c: Don't forget to free url structure * ext/curl/interface.c: MFB: Fixed bug #39878 (CURL doesn't compile on Sun Studio Pro). * (PHP_5_2) NEWS ext/curl/interface.c: Fixed bug #39878 (CURL doesn't compile on Sun Studio Pro). * (PHP_5_2) ext/session/session.c: Session deserializer protection. * (PHP_5_2) ext/standard/type.c: is_numeric_string() optimization * (PHP_5_2) ZendEngine2/bench.php ZendEngine2/zend.c ZendEngine2/zend_exceptions.c ZendEngine2/zend_language_scanner.l ZendEngine2/zend_operators.c ZendEngine2/zend_operators.h ZendEngine2/zend_strtod.c ZendEngine2/zend_strtod.h: is_numeric_string() optimization 2006-12-26 Antony Dovgal * ext/xml/xml.c: fix arguments order (just in the sake of purity) 2006-12-26 Pierre-Alain Joye * ext/gd/config.m4: - Add better zlib detection * (PHP_5_2) NEWS ext/zip/config.m4 ext/zip/config.m4: - #39952 zip ignoring --with-libdir on zlib checks (judas dot iscariote at gmail dot com) 2006-12-26 Dmitry Stogov * ext/filter/filter.c ext/filter/filter.c ext/filter/filter_private.h ext/filter/filter_private.h ext/filter/logical_filters.c ext/filter/logical_filters.c ext/filter/tests/030.phpt ext/filter/tests/030.phpt ext/filter/tests/045.phpt ext/filter/tests/046.phpt ext/filter/tests/047.phpt ext/filter/tests/048.phpt ext/filter/tests/049.phpt ext/filter/tests/050.phpt ext/filter/tests/051.phpt ext/filter/tests/bug7733.phpt: Code review: . fixed integer overflow . fixed buffer overflow/underflow . added more strict IP validation . reimplemented float number validation * ext/filter/tests/045.phpt ext/filter/tests/045.phpt ext/filter/tests/046.phpt ext/filter/tests/046.phpt ext/filter/tests/047.phpt ext/filter/tests/047.phpt ext/filter/tests/048.phpt ext/filter/tests/048.phpt ext/filter/tests/049.phpt ext/filter/tests/049.phpt ext/filter/tests/050.phpt ext/filter/tests/050.phpt ext/filter/tests/051.phpt ext/filter/tests/051.phpt ext/filter/tests/bug7733.phpt: file 045.phpt was initially added on branch PHP_5_2. 2006-12-25 Ilia Alshanetsky * (PHP_5_2) ZendEngine2/zend_ini.c ZendEngine2/zend_ini.h main/main.c: Ensure that OnUpdateLongGEZero is greater or equal to 0. Added a update wrapper for ensuring >0 values * (PHP_5_2) ext/exif/exif.c: Allocation safety checks 2006-12-25 Antony Dovgal * ext/zip/php_zip.c: add missing space for \0 2006-12-25 Ilia Alshanetsky * (PHP_5_2) ext/pgsql/pgsql.c ext/soap/php_encoding.c ext/spl/spl_directory.c ext/standard/math.c main/main.c: Allocation safety checks 2006-12-25 Antony Dovgal * ext/xsl/xsltprocessor.c: more safe_emalloc() 2006-12-25 Ilia Alshanetsky * (PHP_5_2) ext/interbase/ibase_query.c ext/json/json.c ext/oci8/oci8_statement.c ext/pdo_dblib/dblib_driver.c ext/pdo_dblib/dblib_stmt.c ext/standard/uuencode.c ext/standard/var.c: Use safe_emalloc() * ext/standard/tests/array/array_sum.phpt: MFB: Fixed test for 64bit systems * (PHP_5_2) ext/standard/tests/array/array_sum.phpt: Fixed test for 64bit systems 2006-12-25 Antony Dovgal * ext/iconv/iconv.c ext/interbase/ibase_blobs.c ext/mhash/mhash.c ext/oci8/oci8_statement.c ext/standard/streamsfuncs.c: use safe_emalloc() * ext/bz2/bz2.c: improve check for overflow * ext/sockets/sockets.c: fix CS, add missing folding markers mark Unicode safe functions as they are 2006-12-25 Dmitry Stogov * ZendEngine2/tests/bug39825.phpt ZendEngine2/tests/bug39825.phpt: file bug39825.phpt was initially added on branch PHP_5_2. * (PHP_5_2) NEWS ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h ZendEngine2/zend_vm_execute.h ZendEngine2/tests/bug39825.phpt: Fixed bug #39825 (foreach produces memory error) 2006-12-25 Antony Dovgal * ext/standard/streamsfuncs.c: stream_socket_shutdown() is Unicode safe by definition * ext/soap/soap.c: fix proto * ext/mhash/mhash.c: fix protos * ext/posix/posix.c: mark most of the ext/posix functions as Unicode safe, for they do not use strings in any way * ext/oci8/oci8_interface.c: mark all LOB functions as Unicode safe 2006-12-25 Ilia Alshanetsky * ext/exif/exif.c ext/informix/ifx.ec ext/standard/http_fopen_wrapper.c ext/standard/microtime.c: MFB: Use %F (ignores locale) for internal representation of floats * (PHP_5_2) ext/exif/exif.c ext/informix/ifx.ec ext/standard/http_fopen_wrapper.c ext/standard/microtime.c: Use %F (ignores locale) for internal representation of floats 2006-12-25 Hannes Magnusson * (PHP_5_2) NEWS README.UPDATE_5_2: Add missing NEWS entrys and update the README.UPDATE file 2006-12-25 Antony Dovgal * (PHP_4_4) NEWS NEWS configure.in configure.in: MFH: fix bug #39890 (using autoconf 2.6x and --with-layout=GNU breaks PEAR install path) * configure.in: fix bug #39890 (using autoconf 2.6x and --with-layout=GNU breaks PEAR install path) * ext/imap/php_imap.c: fix build * ext/standard/tests/general_functions/001.phpt ext/standard/tests/general_functions/001.phpt ext/standard/tests/strings/bug22207.phpt ext/standard/tests/strings/bug22207.phpt: fix test 2006-12-25 Ilia Alshanetsky * ext/imap/php_imap.c: MFB: Define SENDBUFLEN for older c-client libs * (PHP_4_4) ext/imap/php_imap.c: MFH: Define SENDBUFLEN for older c-client libs * (PHP_5_2) ext/imap/php_imap.c: Define SENDBUFLEN for older c-client libs 2006-12-25 Dmitry Stogov * ZendEngine2/tests/bug39944.phpt ZendEngine2/tests/bug39944.phpt: file bug39944.phpt was initially added on branch PHP_5_2. * (PHP_5_2) NEWS 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 ZendEngine2/tests/bug39944.phpt: Fixed bug #39944 (References broken) * main/streams/filter.c main/streams/filter.c: Fixed heap overflow * ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.c: Fixed possible size_t overflow 2006-12-25 Antony Dovgal * ext/standard/credits.c: update credits at request of Gabor * ext/standard/tests/strings/bug23894.phpt ext/standard/tests/strings/sprintf_f.phpt ext/standard/tests/strings/sprintf_f_2.phpt ext/standard/tests/strings/sprintf_f_2.phpt ext/standard/tests/strings/sprintf_f_3.phpt ext/standard/tests/strings/sprintf_f_3.phpt: fix tests * ext/standard/formatted_print.c: fix #36392 in Unicode mode 2006-12-24 Ilia Alshanetsky * ext/imap/php_imap.c: MFB: Fixed buffer boundary protection * (PHP_5_2) ext/imap/php_imap.c: Fixed buffer boundary protection * ext/sqlite/libsqlite/src/encode.c: MFB: Added empty string checks * (PHP_5_2) ext/sqlite/libsqlite/src/encode.c: Added empty string checks 2006-12-24 Rob Richards * ext/com_dotnet/com_saproxy.c: update function signature * (PHP_5_2) NEWS NEWS: BFN * ext/com_dotnet/com_com.c ext/com_dotnet/com_handlers.c ext/com_dotnet/com_saproxy.c ext/com_dotnet/php_com_dotnet_internal.h: MFB: fix bug #33734 and related (Something strange with COM Object) - caused by fix in com_handlers.c rev 1.22.2.5 * (PHP_5_2) ext/com_dotnet/com_com.c ext/com_dotnet/com_handlers.c ext/com_dotnet/com_saproxy.c ext/com_dotnet/php_com_dotnet_internal.h: fix bug #33734 and related (Something strange with COM Object) - caused by fix in com_handlers.c rev 1.22.2.5 * ext/com_dotnet/com_handlers.c ext/com_dotnet/com_variant.c ext/com_dotnet/com_wrapper.c ext/com_dotnet/tests/bug33386.phpt ext/com_dotnet/tests/bug39596.phpt: MFB: - fix bug #33386 (ScriptControl only sees last function of class): com_wrapper.c - fix bug #37588 (COM Property propputref converts to PHP function and can't be accesed): com_handlers.c - fix bug #39596 (Creating Variant of type VT_ARRAY): com_variant.c - add tests * ext/com_dotnet/tests/bug33386.phpt ext/com_dotnet/tests/bug33386.phpt ext/com_dotnet/tests/bug39596.phpt ext/com_dotnet/tests/bug39596.phpt: file bug33386.phpt was initially added on branch PHP_5_2. * (PHP_5_2) ext/com_dotnet/com_handlers.c ext/com_dotnet/com_variant.c ext/com_dotnet/com_wrapper.c: - fix bug #33386 (ScriptControl only sees last function of class): com_wrapper.c - fix bug #37588 (COM Property propputref converts to PHP function and can't be accesed): com_handlers.c - fix bug #39596 (Creating Variant of type VT_ARRAY): com_variant.c - add tests 2006-12-24 Hannes Magnusson * (PHP_5_2) ext/zip/php_zip.c: Fix typo 2006-12-23 Ilia Alshanetsky * ext/zip/php_zip.c ext/zip/zip_stream.c: MFB: safety checks * (PHP_5_2) ext/zip/php_zip.c ext/zip/zip_stream.c: Safety checks * (PHP_4_4) ext/sysvmsg/sysvmsg.c: MFB: Added checks for negative max length and overflow checks for overly long strings. * ext/sysvmsg/sysvmsg.c: MFB: Added checks for negative max length and overflow checks for overly long strings. * (PHP_5_2) ext/sysvmsg/sysvmsg.c: Added checks for negative max length and overflow checks for overly long strings. 2006-12-23 Derick Rethans * ext/mcrypt/config.m4 ext/mhash/config.m4 ext/pdo_sqlite/config.m4 ext/tidy/config.m4: - MFB: Fixed bug #39935 (Extensions tidy,mcrypt,mhash,pdo_sqlite ignores --with-libdir). * (PHP_5_2) NEWS ext/mcrypt/config.m4 ext/mhash/config.m4 ext/pdo_sqlite/config.m4 ext/tidy/config.m4: - Fixed bug #39935 (Extensions tidy,mcrypt,mhash,pdo_sqlite ignores --with-libdir). 2006-12-23 Antony Dovgal * ext/oci8/tests/error1.phpt: fix test * ZendEngine2/zend_API.h: fix typo * ext/oci8/tests/error.phpt ext/oci8/tests/error1.phpt ext/oci8/tests/error_old.phpt: fix tests * ext/oci8/oci8_interface.c: use add_ascii_assoc_text() * ext/oci8/oci8_collection.c: use OCI_SUCCESS constant, do not rely on its value 2006-12-22 Andrei Zmievski * unicode-progress.txt ZendEngine2/zend_ini.c ZendEngine2/zend_ini.h: Implement OnUpdateUTF8String() handler. It always assumes UTF-8 input, since we cannot check for UG(unicodE) inside it. * ext/standard/math.c: Unicode support in number_format(). 2006-12-22 Nuno Lopes * ext/pdo/pdo_sql_parser.c: fix lcov/genhtml build (yes it is very picky) 2006-12-22 Ilia Alshanetsky * ext/reflection/php_reflection.c ext/reflection/tests/bug39884.phpt: MFB: Fixed bug #39884 (ReflectionParameter::getClass() throws exception for type hint self). * (PHP_5_2) NEWS ext/reflection/php_reflection.c ext/reflection/tests/bug39884.phpt ext/reflection/tests/bug39884.phpt: Fixed bug #39884 (ReflectionParameter::getClass() throws exception for type hint self). * ext/standard/formatted_print.c ext/standard/tests/strings/bug36392.phpt: MFB: Fixed bug #36392 (wrong number of decimal digits with %e specifier in sprintf). * (PHP_5_2) NEWS ext/standard/formatted_print.c: Fixed bug #36392 (wrong number of decimal digits with %e specifier in sprintf). * ext/standard/tests/strings/bug36392.phpt ext/standard/tests/strings/bug36392.phpt: file bug36392.phpt was initially added on branch PHP_5_2. * (PHP_5_2) NEWS ext/date/php_date.c: Small optimization of the date() function 2006-12-22 Antony Dovgal * (PHP_5_2) ext/oci8/tests/coll_018.phpt ext/oci8/tests/error2.phpt ext/oci8/tests/lob_036.phpt ext/oci8/tests/statement_type.phpt: new tests * ext/oci8/tests/coll_018.phpt ext/oci8/tests/coll_018.phpt ext/oci8/tests/error2.phpt ext/oci8/tests/error2.phpt ext/oci8/tests/lob_036.phpt ext/oci8/tests/lob_036.phpt ext/oci8/tests/statement_type.phpt: more OCI8 tests by Chris Jones * (PHP_5_2) ext/date/tests/010.phpt ext/date/tests/011.phpt ext/date/tests/012.phpt ext/date/tests/013.phpt ext/date/tests/014.phpt ext/date/tests/date_parse_001.phpt ext/date/tests/date_sun_info_001.phpt: more tests * ext/date/tests/010.phpt ext/date/tests/010.phpt ext/date/tests/011.phpt ext/date/tests/011.phpt ext/date/tests/012.phpt ext/date/tests/012.phpt ext/date/tests/013.phpt ext/date/tests/013.phpt ext/date/tests/014.phpt ext/date/tests/014.phpt ext/date/tests/date_parse_001.phpt ext/date/tests/date_parse_001.phpt ext/date/tests/date_sun_info_001.phpt ext/date/tests/date_sun_info_001.phpt: more ext/date tests by Chris Jones 2006-12-22 Ilia Alshanetsky * ext/standard/math.c ext/standard/tests/strings/bug39873.phpt: MFB: Fixed bug #39873 (number_format() breaks with locale & decimal points). * ext/standard/tests/strings/bug39873.phpt ext/standard/tests/strings/bug39873.phpt: file bug39873.phpt was initially added on branch PHP_5_2. * (PHP_5_2) NEWS ext/standard/math.c: Fixed bug #39873 (number_format() breaks with locale & decimal points). 2006-12-22 Hannes Magnusson * ext/ftp/tests/005.phpt ext/standard/tests/array/locale_sort.phpt ext/standard/tests/strings/substr_compare.phpt: Fix tests * ext/standard/array.c: Fix ZTS build... 2006-12-22 Marcus Boerger * ext/spl/php_spl.c: - Fix memory allocation/deallocation to match * ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.h ZendEngine2/zend_interfaces.c: - Implement ezstrndup() 2006-12-22 Andrei Zmievski * ext/standard/tests/serialize/006.phpt: Fix serialization test. 2006-12-22 Marcus Boerger * ZendEngine2/zend.h ZendEngine2/zend_interfaces.c ext/standard/var.c ext/standard/var_unserializer.c ext/standard/var_unserializer.re ext/standard/tests/serialize/005.phpt: - Make custom serializing work with zstr (as discussed with andrei) * ZendEngine2/zend_alloc.c: - Use conversion macro 2006-12-21 Andrei Zmievski * ext/standard/levenshtein.c: levenshtein() already supported Unicode. * ext/standard/metaphone.c: Metaphone will work only with binary runtime-encoded strings. 2006-12-21 Marcus Boerger * ext/standard/var.c: - No misleading comments * ext/spl/spl_observer.c ext/spl/spl_sxe.c: - Mark a fewthings as unicode ready * ext/standard/var.c: - Serialization doesn't work with unicode data * ZendEngine2/zend_interfaces.c: -Serialization doesn't work with unicode data 2006-12-21 Antony Dovgal * ext/oci8/oci8_interface.c: temporary fix for oci_error(), just to make it work it should be using add_ascii_assoc_text() instead * ext/oci8/oci8_interface.c: added support for CALL statement type (patch by Chris Jones) * main/SAPI.c: fix ws, cs and overall code readability 2006-12-21 Andrei Zmievski * unicode-progress.txt ext/standard/array.c ext/standard/php_string.h ext/standard/string.c ext/standard/strnatcmp.c: Bite the bullet and port the natural comparison algorithm to support UChar strings. Also, simplify the original code. 2006-12-21 Antony Dovgal * ext/standard/datetime.c: temp is freed in zend_unicode_to_string() on failure * ext/standard/browscap.c: lookup_browser_name cannot be NULL * (PHP_5_2) ext/oci8/tests/array_bind_014.phpt ext/oci8/tests/array_bind_int1.phpt ext/oci8/tests/fetch_all2.phpt ext/oci8/tests/lob_020.phpt ext/oci8/tests/lob_027.phpt ext/oci8/tests/lob_033.phpt ext/oci8/tests/lob_034.phpt ext/oci8/tests/lob_035.phpt: improve tests * ext/oci8/tests/array_bind_014.phpt ext/oci8/tests/array_bind_014.phpt ext/oci8/tests/array_bind_int1.phpt ext/oci8/tests/error1.phpt ext/oci8/tests/fetch_all2.phpt ext/oci8/tests/fetch_all2.phpt ext/oci8/tests/lob_020.phpt ext/oci8/tests/lob_027.phpt ext/oci8/tests/lob_033.phpt ext/oci8/tests/lob_033.phpt ext/oci8/tests/lob_034.phpt ext/oci8/tests/lob_034.phpt ext/oci8/tests/lob_035.phpt ext/oci8/tests/lob_035.phpt ext/oci8/tests/privileged_connect1.phpt: improve tests, add new ones 2006-12-21 Seiji Masugata * ext/mbstring/libmbfl/filters/mbfilter_cp51932.c ext/mbstring/libmbfl/filters/mbfilter_cp51932.h: Initial commit(Synced PHP_5_2 Branch.). * ext/mbstring/config.m4 ext/mbstring/mb_gpc.c ext/mbstring/mbstring.c ext/mbstring/libmbfl/libmbfl.dsw ext/mbstring/libmbfl/libmbfl.sln ext/mbstring/libmbfl/libmbfl.vcproj ext/mbstring/libmbfl/filters/Makefile.am ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c ext/mbstring/libmbfl/filters/mbfilter_jis.c ext/mbstring/libmbfl/filters/mbfilter_jis.h ext/mbstring/libmbfl/filters/unicode_table_jis.h ext/mbstring/libmbfl/mbfl/mbfilter.c ext/mbstring/libmbfl/mbfl/mbfl_convert.c ext/mbstring/libmbfl/mbfl/mbfl_encoding.c ext/mbstring/libmbfl/mbfl/mbfl_encoding.h ext/mbstring/libmbfl/mbfl/mbfl_ident.c ext/mbstring/libmbfl/nls/nls_ru.c ext/mbstring/libmbfl/nls/nls_ru.h: Synced PHP_5_2 Branch. * (PHP_4_4) ext/mbstring/mbstring.c ext/mbstring/mbstring.c: Fixed bug #39361, #39400 (mbstring function overloading problem). 2006-12-21 Dmitry Stogov * php.ini-dist php.ini-dist php.ini-recommended php.ini-recommended: Fixed comments 2006-12-21 Rob Richards * ext/dom/domimplementation.c ext/dom/text.c: MFB: fix issues identitified by coverity * (PHP_5_2) ext/dom/domimplementation.c ext/dom/text.c: fix issues identitified by coverity 2006-12-21 Antony Dovgal * (PHP_5_2) ext/oci8/tests/lob_030.phpt ext/oci8/tests/lob_031.phpt ext/oci8/tests/lob_032.phpt: new tests * ext/oci8/tests/lob_030.phpt ext/oci8/tests/lob_030.phpt ext/oci8/tests/lob_031.phpt ext/oci8/tests/lob_031.phpt ext/oci8/tests/lob_032.phpt ext/oci8/tests/lob_032.phpt: new tests by Christopher Jones * ZendEngine2/zend_execute_API.c: fix possible leak 2006-12-21 Dmitry Stogov * (PHP_5_2) NEWS php.ini-dist php.ini-dist php.ini-recommended php.ini-recommended main/main.c main/main.c: Default memory_limit value is set to 128M * TSRM/tsrm_virtual_cwd.c TSRM/tsrm_win32.c: emoved dependency from SHELL32.DLL * (PHP_5_2) NEWS TSRM/tsrm_virtual_cwd.c TSRM/tsrm_win32.c: Removed dependency from SHELL32.DLL 2006-12-21 Ilia Alshanetsky * ZendEngine2/zend_compile.c: MFB: Fix a possible memory leak * (PHP_5_2) ZendEngine2/zend_compile.c: Fix a possible memory leak * ZendEngine2/zend_operators.c: MFB: Fixed possible memory leak * (PHP_5_2) ZendEngine2/zend_operators.c: Fixed possible memory leak 2006-12-21 Antony Dovgal * main/streams/memory.c: apply correct fix (aka "oops!") 2006-12-21 Ilia Alshanetsky * ext/soap/php_sdl.c: MFB: Optimize out zend_hash_num_elements() call * (PHP_5_2) ext/soap/php_sdl.c: Optimize out zend_hash_num_elements() call 2006-12-21 Antony Dovgal * ext/standard/html.c: fix leak on error * main/streams/xp_socket.c: don't leak on error * ext/posix/posix.c ext/posix/posix.c: fix possible leaks * main/streams/memory.c: fix potential leak * sapi/cli/php_cli.c: prevent potential leak on error * ext/standard/datetime.c: bail out if zend_unicode_to_string() fails * ZendEngine2/zend_unicode.c: make sure err_char is initialized properly * ext/standard/file.c: fix double free 2006-12-20 Antony Dovgal * ext/standard/string.c: fix potential leak, improve length checks 2006-12-20 Marcus Boerger * ext/spl/spl_directory.c: - Quick hackto make tests pass 2006-12-20 Antony Dovgal * ext/standard/string.c: do not allocate the return value if it wasn't requested * ZendEngine2/zend_builtin_functions.c: fix possible leak on failure in get_defined_functions() * ZendEngine2/zend_API.c: fix leak in zend_disable_class() * ext/standard/file.c: fix double free on error 2006-12-20 Marcus Boerger * ext/spl/php_spl.c ext/spl/php_spl.h: - More unicode * ext/spl/tests/spl_autoload_001.phpt: - Add unicode expectations * ext/spl/tests/spl_autoload_002.phpt: - Fix test name 2006-12-20 Andrei Zmievski * unicode-progress.txt: Update. 2006-12-20 Marcus Boerger * ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.h: - Make shorter and do not use problematic attribute * ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.h: - Compilers mightnot like the zstr return,thus return void* 2006-12-20 Andrei Zmievski * ext/standard/browscap.c: Unicode support in get_browser(). To avoid additional copying/conversion during parsing, the browscap values in the returned array will be of IS_STRING type. * ZendEngine2/zend_API.c: Check for conversion failure in "s&" and return appropriately. * ZendEngine2/zend_unicode.c: Fix return value in zval_unicode_to_string_ex(). * ZendEngine2/zend_alloc.c: Fix warning. 2006-12-20 Marcus Boerger * README.UNICODE-UPGRADES: - Mention zend_zstrndup() * ZendEngine2/zend.h ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.h: - Implement zend_zstrndup() 2006-12-20 Ilia Alshanetsky * ext/filter/logical_filters.c: Fixed zts build * (PHP_5_2) ext/filter/logical_filters.c: fixed ZTS build 2006-12-20 Antony Dovgal * (PHP_4_4) ext/session/session.c ext/session/session.c: protect _SESSION, HTTP_SESSION_VARS and GLOBALS maintain an internal reference of _SESSION, so that it won't be possible to destroy it from userspace * ext/session/session.c: remove register_globals remains maintain an internal reference of _SESSION, so that it won't be possible to destroy it from userspace 2006-12-20 Ilia Alshanetsky * ext/filter/logical_filters.c ext/filter/tests/015.phpt ext/filter/tests/033.phpt: MFB: Fixed bug #39898 (FILTER_VALIDATE_URL validates \r\n\t etc). * (PHP_5_2) NEWS ext/filter/logical_filters.c ext/filter/tests/015.phpt ext/filter/tests/033.phpt: Fixed bug #39898 (FILTER_VALIDATE_URL validates \r\n\t etc). 2006-12-20 Antony Dovgal * ZendEngine2/zend_operators.h: return NULL right away if invalid length was passed 2006-12-20 Andrei Zmievski * ext/standard/formatted_print.c: Align Unicode and binary versions of formatted printing. * (PHP_5_2) ZendEngine2/zend_language_scanner.l: More correct patch for b-prefixes. 2006-12-20 Antony Dovgal * (PHP_5_2) NEWS ZendEngine2/zend_language_parser.y: MFH: fix #39903 (Notice message when executing __halt_compiler() more than once) * ZendEngine2/zend_language_parser.y: fix #39903 (Notice message when executing __halt_compiler() more than once) * (PHP_5_2) ZendEngine2/zend_builtin_functions.c: use Z_* macros * ext/pspell/pspell.c: don't reinvent the wheel, use sprintf() 2006-12-20 Derick Rethans * (PHP_5_2) NEWS ext/filter/logical_filters.c: - Fixed the validate email filter so that the letter "v" can also be used in the user part of the email address. (Derick) * ext/filter/logical_filters.c: - Fixed the regexp so that the letter "v" also works. 2006-12-20 Antony Dovgal * ext/curl/streams.c: gracefully bail out on invalid header 2006-12-20 Dmitry Stogov * ZendEngine2/Zend.m4 ZendEngine2/zend_alloc.c ext/standard/basic_functions.c ext/standard/php_var.h ext/standard/var.c main/main.c main/output.c sapi/apache/mod_php5.c sapi/apache2filter/sapi_apache2.c sapi/apache2handler/sapi_apache2.c sapi/apache_hooks/mod_php5.c win32/build/config.w32: Make MEMORY_LIMIT and ZEND_USE_MALLOC_MM to be always enabled. They don't make a ny significant slowdown, but incrise maintainability a lot. Note that the setting of memory_limit wasn't changes (neither in main/main.c nor in php.ini) and it still set to 16M. * (PHP_5_2) NEWS ZendEngine2/Zend.m4 ZendEngine2/zend_alloc.c ext/standard/basic_functions.c ext/standard/php_var.h ext/standard/var.c main/main.c sapi/apache/mod_php5.c sapi/apache2filter/sapi_apache2.c sapi/apache2handler/sapi_apache2.c sapi/apache_hooks/mod_php5.c win32/build/config.w32: Make MEMORY_LIMIT and ZEND_USE_MALLOC_MM to be always enabled. They don't make any significant slowdown, but incrise maintainability a lot. Note that the setting of memory_limit wasn't changes (neither in main/main.c nor in php.ini) and it still set to 16M. 2006-12-20 Hannes Magnusson * ZendEngine2/zend_API.h ext/iconv/iconv.c ext/standard/basic_functions.c main/php.h: MFB: - Fixed incorrect function names on FreeBSD where inet_pton() was named __inet_pton() and inet_ntop() was named __inet_ntop() - Fixed bug #39685 (iconv() - undefined function) - Fixed bug #38852 (XML-RPC Breaks iconv) * (PHP_5_2) NEWS ZendEngine2/zend_API.h ext/iconv/iconv.c ext/standard/basic_functions.c main/php.h: - Fixed incorrect function names on FreeBSD where inet_pton() was named __inet_pton() and inet_ntop() was named __inet_ntop() - Fixed bug #39685 (iconv() - undefined function) - Fixed bug #38852 (XML-RPC Breaks iconv) 2006-12-19 Andrei Zmievski * ext/standard/mail.c: Unicode support in ezmlm_hash(). 2006-12-19 Marcus Boerger * ext/spl/php_spl.c: - Use new 'x' parameter parsing * ext/spl/php_spl.c: - Make spl_autoload_call() unicode safe * ZendEngine2/zend_interfaces.c: - Changed macro once again * README.PARAMETER_PARSING_API: - x was added toparameter parsing api * ZendEngine2/zend_API.c: - Implement parameter parsing 'x' * ZendEngine2/zend_interfaces.c: - Fix macro param order * ZendEngine2/zend_interfaces.c ZendEngine2/zend_interfaces.h: - Implement zend_u_call_method to deal with situations where the function name type is already known 2006-12-19 Andrei Zmievski * ext/standard/basic_functions.c: Unicode support in set_include_path(). 2006-12-19 Nuno Lopes * ext/pcre/tests/005.phpt: new test * ext/pcre/tests/005.phpt ext/pcre/tests/005.phpt: file 005.phpt was initially added on branch PHP_5_2. 2006-12-19 Michael Wallner * (PHP_5_2) ext/curl/interface.c: MFH: check CRYPTO_get_id_callback() if anyone else already set thread lock callbacks * ext/curl/interface.c: - check CRYPTO_get_id_callback() if anyone else already set thread lock callbacks 2006-12-19 Antony Dovgal * ext/soap/tests/bugs/bug39815.phpt: MFB 2006-12-19 Andrei Zmievski * README.UNICODE-UPGRADES: Update. 2006-12-19 Antony Dovgal * (PHP_5_2) ext/soap/tests/bugs/bug39815.phpt: on FreeBSD these locales have different names 2006-12-19 Andrei Zmievski * ZendEngine2/zend_API.h ZendEngine2/zend_execute_API.c ext/reflection/php_reflection.c ext/standard/array.c ext/standard/basic_functions.c ext/standard/string.c: - Marcus was too quick. Let's put type before zstr in the macros. - Also mark get_include_path() and restore_include_path() with U. 2006-12-19 Marcus Boerger * README.UNICODE-UPGRADES ZendEngine2/zend_API.h ZendEngine2/zend_execute_API.c ext/reflection/php_reflection.c ext/standard/array.c: - Fix ZVAL_ZSTRL 2006-12-19 Antony Dovgal * ext/soap/tests/bugs/bug39815.phpt: add check for setlocale() and sv_SE to SKIPIF section 2006-12-19 Andrei Zmievski * ext/standard/formatted_print.c: Unicode support in *printf() functions. (Antony, Andrei) * (PHP_5_2) ZendEngine2/zend_language_scanner.l: Support 'b' prefix in front of string literals for forward compatibility with PHP 6. 2006-12-19 Nuno Lopes * ext/json/json.c: MFB: little cleanup in json_determine_array_type() * (PHP_5_2) ext/json/json.c: remove NOP code in json_determine_array_type(), as we already know the zval passed is an array (based on patch by Ron Korving) 2006-12-19 Antony Dovgal * ext/filter/tests/004.phpt ext/filter/tests/004.phpt ext/filter/tests/006.phpt ext/filter/tests/006.phpt ext/filter/tests/007.phpt ext/filter/tests/007.phpt ext/filter/tests/008.phpt ext/filter/tests/008.phpt ext/filter/tests/009.phpt ext/filter/tests/009.phpt ext/filter/tests/010.phpt ext/filter/tests/010.phpt ext/filter/tests/011.phpt ext/filter/tests/011.phpt ext/filter/tests/012.phpt ext/filter/tests/012.phpt ext/filter/tests/013.phpt ext/filter/tests/013.phpt ext/filter/tests/014.phpt ext/filter/tests/014.phpt ext/filter/tests/015.phpt ext/filter/tests/015.phpt ext/filter/tests/016.phpt ext/filter/tests/016.phpt ext/filter/tests/017.phpt ext/filter/tests/017.phpt ext/filter/tests/018.phpt ext/filter/tests/018.phpt ext/filter/tests/019.phpt ext/filter/tests/019.phpt ext/filter/tests/020.phpt ext/filter/tests/020.phpt ext/filter/tests/021.phpt ext/filter/tests/021.phpt ext/filter/tests/022.phpt ext/filter/tests/022.phpt ext/filter/tests/023.phpt ext/filter/tests/023.phpt ext/filter/tests/024.phpt ext/filter/tests/024.phpt ext/filter/tests/025.phpt ext/filter/tests/025.phpt ext/filter/tests/026.phpt ext/filter/tests/026.phpt ext/filter/tests/027.phpt ext/filter/tests/027.phpt ext/filter/tests/028.phpt ext/filter/tests/028.phpt ext/filter/tests/029.phpt ext/filter/tests/029.phpt ext/filter/tests/030.phpt ext/filter/tests/030.phpt ext/filter/tests/031.phpt ext/filter/tests/031.phpt ext/filter/tests/032.phpt ext/filter/tests/032.phpt ext/filter/tests/033.phpt ext/filter/tests/033.phpt ext/filter/tests/034.phpt ext/filter/tests/034.phpt ext/filter/tests/035.phpt ext/filter/tests/035.phpt ext/filter/tests/037.phpt ext/filter/tests/037.phpt ext/filter/tests/038.phpt ext/filter/tests/038.phpt ext/filter/tests/040.phpt ext/filter/tests/040.phpt ext/filter/tests/041.phpt ext/filter/tests/041.phpt ext/filter/tests/042.phpt ext/filter/tests/042.phpt ext/filter/tests/043.phpt ext/filter/tests/043.phpt ext/filter/tests/044.phpt ext/filter/tests/044.phpt ext/filter/tests/bug39846.phpt ext/filter/tests/bug39846.phpt ext/filter/tests/bug7586.phpt ext/filter/tests/bug7586.phpt ext/filter/tests/bug7715.phpt ext/filter/tests/bug7715.phpt ext/filter/tests/bug7733.phpt ext/filter/tests/bug7733.phpt ext/filter/tests/bug8315.phpt ext/filter/tests/bug8315.phpt ext/filter/tests/callback_non_modified_var.phpt ext/filter/tests/callback_non_modified_var.phpt ext/filter/tests/filter_data.phpt ext/filter/tests/filter_data.phpt: add missing SKIPIF sections * main/snprintf.c: -NAN should not be possible * main/snprintf.c: inf->INF nan->NAN 2006-12-19 Dmitry Stogov * ext/standard/formatted_print.c ext/standard/formatted_print.c main/snprintf.c main/snprintf.c main/spprintf.c main/spprintf.c: Support for systems without locale.h 2006-12-19 Antony Dovgal * ext/pcre/tests/002.phpt sapi/cli/tests/011.phpt sapi/cli/tests/011.phpt: fix test on MacOS * ext/standard/tests/serialize/001.phpt ext/standard/tests/serialize/006.phpt ext/standard/tests/serialize/bug14293.phpt ext/standard/tests/serialize/bug21957.phpt: fix serialize tests after s: -> S: change * ext/standard/var.c: MFB: serialize() should use '.' as decimal point irrespectively to locale * (PHP_5_2) ext/standard/var.c: serialize() should use '.' as decimal point irrespectively to locale 2006-12-19 Dmitry Stogov * ext/soap/tests/bugs/bug39815.phpt ext/soap/tests/bugs/bug39815.phpt ext/soap/tests/interop/Round3/GroupD/r3_groupD_compound2_001w.phpt ext/standard/formatted_print.c main/snprintf.c main/snprintf.h main/spprintf.c: file bug39815.phpt was initially added on branch PHP_5_2. * (PHP_5_2) NEWS ext/soap/php_encoding.c ext/soap/php_encoding.c ext/soap/tests/bugs/bug39815.phpt ext/soap/tests/interop/Round3/GroupD/r3_groupD_compound2_001w.phpt ext/standard/formatted_print.c main/snprintf.c main/snprintf.h main/spprintf.c: Fixed bug #39815 (SOAP double encoding is not locale-independent) 2006-12-19 Edin Kadribasic * php.ini-dist php.ini-recommended: MFB * (PHP_5_2) php.ini-dist php.ini-recommended: Updated list of available extensions in dlls. Updated oci extension ini settings. -- christopher.jones at oracle dot com * win32/build/Makefile win32/build/config.w32 win32/build/confutils.js win32/build/mkdist.php: MFB: Enable full build with newer Microsoft compilers * (PHP_5_2) win32/build/Makefile win32/build/config.w32 win32/build/confutils.js win32/build/mkdist.php: Enable full build with newer Microsoft compilers 2006-12-19 Hannes Magnusson * (PHP_5_2) ZendEngine2/tests/bug34617.phpt ext/ftp/tests/004.phpt ext/standard/tests/array/locale_sort.phpt tests/lang/bug30638.phpt: Fix tests 2006-12-19 Dmitry Stogov * (PHP_5_2) NEWS sapi/cgi/fastcgi.c sapi/cgi/fastcgi.c: Fixed bug #39869 (safe_read does not initialize errno). (michiel at boland dot org) * (PHP_5_2) NEWS ext/standard/basic_functions.c ext/standard/basic_functions.c ext/standard/file.c ext/standard/file.c ext/standard/streamsfuncs.c ext/standard/streamsfuncs.c ext/standard/streamsfuncs.h ext/standard/streamsfuncs.h ext/standard/tests/network/shutdown.phpt ext/standard/tests/network/shutdown.phpt ext/standard/tests/network/shutdown.phpt main/streams/php_stream_transport.h main/streams/php_stream_transport.h main/streams/transports.c main/streams/transports.c main/streams/xp_socket.c main/streams/xp_socket.c: Added function stream_socket_shutdown(). It is a wraper for system shutdown() function, that shut downs part of a full-duplex connection 2006-12-19 Brian Shire * (PHP_5_2) NEWS: BFN * ext/standard/array.c ext/standard/tests/array/bug30074.phpt: -Fixed bug #30074 (apparent symbol table error with extract($blah, EXTR_REFS)) 2006-12-19 Pierre-Alain Joye * unicode-progress.txt: - zip is done * ext/zip/php_zip.c: - unicode support for the procedural API 2006-12-18 Marcus Boerger * ext/spl/tests/observer_004.phpt ext/spl/tests/observer_005.phpt: - More tests - Test naming 2006-12-18 Hannes Magnusson * ext/standard/basic_functions.c: Fix ZTS 2006-12-18 Marcus Boerger * ext/spl/spl_observer.c ext/spl/tests/observer_003.phpt ext/spl/tests/observer_004.phpt: - Support members in SplObjectStorage serialization / shorter serialization 2006-12-18 Andrei Zmievski * unicode-progress.txt ext/standard/basic_functions.c: Unicode support in get_cfg_var(). * ext/standard/basic_functions.c: Fix macro. * ext/standard/basic_functions.c: Unicode support in parse_ini_file(). 2006-12-18 Ilia Alshanetsky * ext/pdo_pgsql/pgsql_driver.c: MFB: Fixed bug #39845 (Persistent connections generate a warning in pdo_pgsql). * (PHP_5_2) NEWS ext/pdo_pgsql/pgsql_driver.c: Fixed bug #39845 (Persistent connections generate a warning in pdo_pgsql). * ext/filter/sanitizing_filters.c: MFB: Cleanup & optimize php_filter_encode_url() * (PHP_5_2) ext/filter/sanitizing_filters.c: Cleanup & optimize php_filter_encode_url() * ext/filter/sanitizing_filters.c ext/standard/php_string.h ext/standard/string.c: MFB: Less hackish support for spaces at the start of tags within strip_tags() * (PHP_5_2) ext/filter/sanitizing_filters.c ext/standard/php_string.h ext/standard/string.c: Less hackish support for spaces at the start of tags within strip_tags() * ext/filter/filter_private.h ext/filter/logical_filters.c ext/filter/tests/042.phpt ext/filter/tests/044.phpt: MFB: Fixed bugs with trimming of spaces * (PHP_5_2) NEWS ext/filter/filter_private.h ext/filter/logical_filters.c ext/filter/tests/042.phpt ext/filter/tests/044.phpt ext/filter/tests/044.phpt: Fixed bugs with trimming of spaces 2006-12-18 Antony Dovgal * (PHP_5_2) NEWS ext/standard/php_fopen_wrapper.c: MFH: fix #39850 (SplFileObject throws contradictory/wrong error messages when trying to open "php://wrong") * ext/standard/php_fopen_wrapper.c: fix #39850 (SplFileObject throws contradictory/wrong error messages when trying to open "php://wrong") 2006-12-18 Dmitry Stogov * ext/soap/tests/bugs/bug39832.phpt ext/soap/tests/bugs/bug39832.phpt ext/soap/tests/bugs/bug39832.wsdl ext/soap/tests/bugs/bug39832.wsdl: file bug39832.phpt was initially added on branch PHP_5_2. * (PHP_5_2) NEWS ext/soap/php_encoding.c ext/soap/php_encoding.c ext/soap/tests/bugs/bug39832.phpt ext/soap/tests/bugs/bug39832.wsdl: Fixed bug #39832 (SOAP Server: parameter not matching the WSDL specified type are set to 0) 2006-12-18 Antony Dovgal * (PHP_5_2) main/SAPI.c: MFH: fix possible invalid read (reproducible only on big-endian machines) * main/SAPI.c: fix possible invalid read (reproducible only on big-endian machines) 2006-12-18 Zeev Suraski * (PHP_5_2) main/SAPI.c: Whitespace 2006-12-18 Dmitry Stogov * (PHP_5_2) NEWS ZendEngine2/Zend.m4 ZendEngine2/Zend.m4 ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.c: Fixed random generation of cookies and canaries 2006-12-18 Antony Dovgal * ext/standard/tests/strings/sprintf_f_2.phpt ext/standard/tests/strings/sprintf_f_3.phpt: fix test names * (PHP_5_2) ext/standard/formatted_print.c: remove the comment, it's not valid anymore 2006-12-18 Hannes Magnusson * (PHP_5_2) ext/standard/formatted_print.c ext/standard/tests/strings/sprintf_f_2.phpt ext/standard/tests/strings/sprintf_f_3.phpt main/snprintf.c: MFH: - make %f locale aware again - fix precision loss with %F (noticed by Sebastian Nohn) - add new tests * ext/standard/formatted_print.c ext/standard/tests/strings/sprintf_f_2.phpt ext/standard/tests/strings/sprintf_f_2.phpt ext/standard/tests/strings/sprintf_f_3.phpt ext/standard/tests/strings/sprintf_f_3.phpt main/snprintf.c: - make %f locale aware again - fix precision loss with %F (noticed by Sebastian Nohn) - add new tests 2006-12-18 Dmitry Stogov * (PHP_5_2) ZendEngine2/zend_alloc.c: MFH: __builtin_expect() exists only in GCC 3.0 and higher 2006-12-18 Ilia Alshanetsky * ext/filter/sanitizing_filters.c ext/filter/tests/025.phpt ext/filter/tests/042.phpt ext/filter/tests/043.phpt ext/standard/string.c: MFB: Filter fixes: Fixed possible double encoding problem with sanitizing filters Make use of space-strict strip_tags() function * (PHP_5_2) NEWS ext/filter/sanitizing_filters.c ext/filter/tests/025.phpt: Filter fixes: Fixed possible double encoding problem with sanitizing filters Make use of space-strict strip_tags() function * ext/filter/tests/042.phpt ext/filter/tests/042.phpt ext/filter/tests/043.phpt ext/filter/tests/043.phpt ext/standard/string.c: file 042.phpt was initially added on branch PHP_5_2. 2006-12-17 Marcus Boerger * ext/spl/spl_observer.c ext/spl/tests/observer_003.phpt: - Make this work in unicode mode 2006-12-17 Brian Shire * (PHP_5_2) ext/standard/array.c ext/standard/tests/array/bug30074.phpt ext/standard/tests/array/bug30074.phpt: Fixed bug #30074 extract with EXTR_REFS was setting EG(unitialized_zval_ptr)->is_ref=1, affecting subsequent usage Added test 2006-12-17 Ilia Alshanetsky * main/main.c main/main.c: Fixed compiler warning * ext/imap/php_imap.c: MFB: Fixed bug #39779 (Enable AUTH PLAIN mechanism in underlaying libc-client). * (PHP_5_2) NEWS ext/imap/php_imap.c: Fixed bug #39779 (Enable AUTH PLAIN mechanism in underlaying libc-client). 2006-12-17 Hannes Magnusson * ext/filter/logical_filters.c: MFB: fix build * (PHP_5_2) ext/filter/logical_filters.c: Fix build 2006-12-16 Ilia Alshanetsky * ext/filter/logical_filters.c ext/filter/tests/bug39846.phpt: MFB: Fixed bug #39846 (Invalid IPv4 treated as valid). * (PHP_5_2) NEWS ext/filter/logical_filters.c ext/filter/tests/bug39846.phpt ext/filter/tests/bug39846.phpt: Fixed bug #39846 (Invalid IPv4 treated as valid). 2006-12-16 Hannes Magnusson * NEWS: Remove items that are already in 5.2 * ZendEngine2/zend_API.h ext/pdo_pgsql/pgsql_driver.c ext/standard/basic_functions.c: Fix ZTS build 2006-12-16 Marcus Boerger * ext/spl/spl_observer.c ext/spl/tests/observer_003.phpt: - Implement feature request #39836i (SplObjectStorage empty after unserialize) 2006-12-16 Andrei Zmievski * ZendEngine2/zend_operators.c ZendEngine2/zend_operators.h: Make convert_to_*() APIs return SUCCESS/FAILURE. 2006-12-15 Andrei Zmievski * README.UNICODE: Update with INI file info. * unicode-progress.txt ext/standard/basic_functions.c: Unicode support in ini_*() functions. * ZendEngine2/zend_alloc.c: __builtin_expect() exists only in GCC 3.0 and higher. * ZendEngine2/zend_API.h: Make all macros (RETURN_*, RETVAL_*, ZVAL_*, add_*) that convert binary strings to Unicode actually issues errors on failure. I'm surprised we haven't done this already. * ZendEngine2/zend_unicode.c: Fix potential buffer overflow in default conversion error handler. * ZendEngine2/zend.c: Make utf8_conv stop on conversion errors when converting to UTF-16. 2006-12-15 Andi Gutmans * ZendEngine2/zend_alloc.c: - MF 5.2 (put cookie in first place) * (PHP_5_2) ZendEngine2/zend_alloc.c: - I prefer cookie to be the first element. 2006-12-15 Dmitry Stogov * (PHP_5_2) NEWS ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.c: Added internal heap protection . safe unlinking . cookies . canary protection (debug build only) 2006-12-15 Wez Furlong * ext/pdo_sqlite/pdo_sqlite.c ext/pdo_sqlite/php_pdo_sqlite.h ext/pdo_sqlite/php_pdo_sqlite_int.h ext/pdo_sqlite/sqlite_driver.c ext/pdo_sqlite/sqlite_statement.c: merge php5 pdo_sqlite into head; this source compiles on both php5 and php6. 2006-12-15 Ilia Alshanetsky * (PHP_5_2) configure.in main/php_version.h: back to dev * (PHP_5_2) NEWS configure.in main/php_version.h: 5.2.1RC1 2006-12-15 Andrei Zmievski * (PHP_5_2) ext/standard/var_unserializer.c ext/standard/var_unserializer.re: Support for 'S' format in unserialize() (forward compatibility with PHP 6) 2006-12-14 Andrei Zmievski * ext/standard/var.c ext/standard/var_unserializer.c ext/standard/var_unserializer.re: Use 'S' for escaped binary strings and 's' for non-escaped. 2006-12-14 Rob Richards * ext/dom/dom_fe.h ext/dom/php_dom.c ext/dom/php_dom.h ext/dom/xpath.c ext/dom/tests/domxpath.phpt: add ability to call PHP functions from XPath update test 2006-12-13 Ilia Alshanetsky * (PHP_5_2) NEWS sapi/apache2filter/sapi_apache2.c: Fixed bug #39816 (apxs2filter ignores httpd.conf & .htaccess php config settings). * (PHP_5_2) ext/standard/string.c: Removed deadcode found by Ron Korving * (PHP_5_2) ext/standard/basic_functions.c ext/wddx/wddx.c: optimize out strlen() calls * sapi/apache2handler/sapi_apache2.c: MFB: Fixed bug #39201 (Possible crash in Apache 2 with 413 ErrorHandler). * (PHP_5_2) NEWS sapi/apache2handler/sapi_apache2.c: Fixed bug #39201 (Possible crash in Apache 2 with 413 ErrorHandler). 2006-12-12 Sara Golemon * (PHP_5_2) ZendEngine2/zend_compile.c: MFH: Bugfix# 39435: 'foo' instanceof bar gives invalid opcode error * ZendEngine2/zend_compile.c: Bugfix# 39435: 'foo' instanceof bar gives invalid opcode error 2006-12-12 Antony Dovgal * ext/standard/file.c: erm.. somehow this part got here twice 2006-12-12 Michael Wallner * ext/recode/CREDITS ext/standard/credits_ext.h: - utf8 * unicode-progress.txt ext/posix/CREDITS ext/standard/credits.c ext/standard/credits_ext.h ext/standard/info.c ext/standard/info.h: - utf8 CREDITS and php_info API - unicode progress in info.c 2006-12-12 Andrei Zmievski * unicode-progress.txt: -** empty log message *** * ext/standard/basic_functions.c: Do not convert args to Unicode in getopt(), they should stay binary. * ext/standard/string.c: Make hebrev(c) support only binary strings. 2006-12-12 Ilia Alshanetsky * sapi/apache2handler/sapi_apache2.c: MFB: Fixed bug #39797 (virtual() does not reset changed INI settings). * (PHP_5_2) NEWS sapi/apache2handler/sapi_apache2.c: Fixed bug #39797 (virtual() does not reset changed INI settings). 2006-12-12 Andrei Zmievski * main/php_variables.c: Keep CLI args as binary strings. 2006-12-12 Ilia Alshanetsky * (PHP_5_2) ext/pcre/php_pcre.c: Removed dummy vars. 2006-12-12 Antony Dovgal * (PHP_5_2) ext/oci8/tests/connect_without_oracle_home.phpt ext/oci8/tests/connect_without_oracle_home_old.phpt: disable tests * ext/oci8/tests/connect_without_oracle_home.phpt ext/oci8/tests/connect_without_oracle_home_old.phpt: disable tests I don't think it makes sense to test a segfault which we cannot fix.. * ext/oci8/tests/privileged_connect1.phpt ext/oci8/tests/privileged_connect1.phpt ext/oci8/tests/statement_type_old.phpt tests/basic/023.phpt: fix test * (PHP_5_2) ext/oci8/tests/connect.inc ext/oci8/tests/details.inc ext/oci8/tests/lob_029.phpt: MFH: skip BFILE tests if Oracle is not on localhost * ext/oci8/tests/connect.inc ext/oci8/tests/details.inc ext/oci8/tests/details.inc ext/oci8/tests/lob_029.phpt: BFILE tests are only valid when Oracle is installed on the same host skip them if it's not * ext/standard/crypt.c: _THREAD_SAFE might be used instead of _REENTRANT * acinclude.m4 ext/standard/crypt.c: missing part of the fix for #39795 crypt.h defines struct crypt_data only if _REENTRANT is defined * ext/oci8/oci8_lob.c: fix LOBs internal position in Unicode mode * acinclude.m4: fix typo * (PHP_5_2) ext/oci8/tests/lob_028.phpt ext/oci8/tests/lob_029.phpt: add new tests * ext/oci8/tests/lob_028.phpt ext/oci8/tests/lob_028.phpt ext/oci8/tests/lob_029.phpt ext/oci8/tests/lob_029.phpt: add new tests * ext/oci8/oci8_lob.c: OCILobGetChunkSize() does not like BFILEs, return read_length right away 2006-12-12 Hannes Magnusson * (PHP_5_2) ext/pgsql/tests/02connection.phpt: Fix test * (PHP_5_2) ext/pdo_mysql/tests/bug_33689.phpt ext/pdo_mysql/tests/bug_37445.phpt ext/pdo_mysql/tests/bug_39483.phpt ext/pdo_mysql/tests/last_insert_id.phpt ext/pdo_mysql/tests/pecl_bug_5200.phpt ext/pdo_mysql/tests/pecl_bug_5780.phpt ext/pdo_mysql/tests/pecl_bug_5802.phpt ext/pdo_mysql/tests/show_tables.phpt: Fix skipif * (PHP_5_2) ext/mysqli/tests/061.phpt ext/mysqli/tests/065.phpt ext/mysqli/tests/skipif.inc: Fix tests 2006-12-12 Antony Dovgal * (PHP_5_2) NEWS acinclude.m4 configure.in ext/standard/crypt.c: MFH: fix #39795 (build fails on AIX because crypt_r() uses different data struct) * acinclude.m4 configure.in ext/standard/crypt.c: fix #39795 (build fails on AIX because crypt_r() uses different data struct) 2006-12-11 Andrei Zmievski * ZendEngine2/zend.c: Clarify stream_encoding. 2006-12-11 Ilia Alshanetsky * ext/date/php_date.c ext/date/tests/bug39782.phpt: MFB: Fixed bug #39782 (setTime() on a DateTime constructed with a Weekday yields incorrect results). * (PHP_5_2) NEWS ext/date/php_date.c ext/date/tests/bug39782.phpt ext/date/tests/bug39782.phpt: Fixed bug #39782 (setTime() on a DateTime constructed with a Weekday yields incorrect results). * (PHP_5_2) ZendEngine2/zend_operators.c: Fixed typo * (PHP_5_2) ZendEngine2/zend_operators.c: Removed bool<>long optimization as it causes issues with strict type checks * (PHP_5_2) ZendEngine2/zend_operators.c ZendEngine2/zend_operators.h: Minor optimization (2-3%) from Brian Shire * sapi/apache2filter/php_functions.c sapi/apache2handler/php_functions.c: MFB: Fixed bug #39787 (PHP doesn't work with Apache 2.3). * (PHP_5_2) NEWS sapi/apache2filter/php_functions.c sapi/apache2handler/php_functions.c: Fixed bug #39787 (PHP doesn't work with Apache 2.3). 2006-12-11 Antony Dovgal * ext/oci8/oci8_interface.c: prevent any possible problems with negative values * (PHP_5_2) ext/oci8/tests/lob_027.phpt: add new test * ext/oci8/tests/lob_027.phpt ext/oci8/tests/lob_027.phpt: add new test 2006-12-11 Ilia Alshanetsky * ext/date/lib/parse_date.c ext/date/lib/parse_date.re: MFB: Fixed bug #39791 (Crash in strtotime() on overly long relative date multipliers). * (PHP_5_2) NEWS ext/date/lib/parse_date.c ext/date/lib/parse_date.re: Fixed bug #39791 (Crash in strtotime() on overly long relative date multipliers). 2006-12-10 Marcus Boerger * (PHP_5_2) ext/spl/examples/dualiterator.inc ext/spl/examples/recursivecomparedualiterator.inc ext/spl/examples/recursivedualiterator.inc ext/spl/examples/tests/dualiterator_001.phpt: - MFH Fix comparison of RecursiveDualIterators * ext/spl/examples/dualiterator.inc ext/spl/examples/recursivecomparedualiterator.inc ext/spl/examples/recursivecomparedualiterator.inc ext/spl/examples/recursivedualiterator.inc ext/spl/examples/tests/dualiterator_001.phpt: - Fix comparison of RecursiveDualIterators 2006-12-10 Ilia Alshanetsky * (PHP_5_2) ext/standard/array.c: Optimize extract() 2006-12-10 Hannes Magnusson * ext/sqlite/pdo_sqlite2.c: Fix build 2006-12-10 Michael Wallner * ext/standard/credits.c ext/standard/info.c main/output.c main/php_output.h: - upgrade phpinfo() and phpcredits() 2006-12-10 Pierre-Alain Joye * ext/pdo_mysql/mysql_driver.c ext/pdo_oci/oci_driver.c ext/pdo_odbc/odbc_driver.c ext/sqlite/pdo_sqlite2.c: - build fix the other driver as well (a macro would be nicer) * ext/zip/php_zip.c: - MFB: addDir returns true * ext/gd/gd.c ext/gd/tests/bug38212.phpt ext/gd/tests/bug39286.phpt: - MFB: #39286, misleading error message when invalid dimensions are given * (PHP_5_2) NEWS: - #39286 entry * ext/gd/tests/bug39286.phpt ext/gd/tests/bug39286.phpt: file bug39286.phpt was initially added on branch PHP_5_2. * (PHP_5_2) ext/gd/gd.c ext/gd/tests/bug38212.phpt: - #39286, misleading error message when nvalid dimensions are given * ext/pdo_sqlite/sqlite_driver.c: - fix build on HEAD (not sure if it should compile on 6 and 5 or if it is required only for pdo, other drivers require this fix) * ext/gd/libgd/gd.c ext/gd/tests/bug39508.phpt: - MFB: #39508, imagefill crashes with small image * ext/gd/tests/bug39508.phpt ext/gd/tests/bug39508.phpt: file bug39508.phpt was initially added on branch PHP_5_2. * (PHP_5_2) NEWS: - #39508, add test (imagefill crashes with small image) * (PHP_5_2) NEWS: - #39780 entry * (PHP_5_2) ext/gd/gd.c ext/gd/libgd/gd_png.c ext/gd/tests/bug39780.phpt ext/gd/tests/bug39780.png: - MFH:#39780, PNG image with CRC/data error raises fatal error * ext/gd/gd.c ext/gd/libgd/gd_png.c ext/gd/tests/bug39780.phpt ext/gd/tests/bug39780.phpt ext/gd/tests/bug39780.png ext/gd/tests/bug39780.png: - #39780, PNG image with CRC/data error raises fatal error 2006-12-10 Edin Kadribasic * (PHP_5_2) NEWS: BFN * ext/standard/basic_functions.c: MFB: Fixed by #39751 by KevinJohnHoffman at gmail dot com * (PHP_5_2) ext/standard/basic_functions.c: Fixed by #39751 by KevinJohnHoffman at gmail dot com 2006-12-09 Wez Furlong * ext/pdo/config.m4 ext/pdo/pdo.c ext/pdo/pdo_dbh.c ext/pdo/pdo_sql_parser.c ext/pdo/pdo_sqlstate.c ext/pdo/pdo_stmt.c ext/pdo/php_pdo.h ext/pdo/php_pdo_driver.h ext/pdo/php_pdo_int.h ext/pdo/php_pdo_phpvers_compat.h: merge PHP 5 pdo into HEAD. This source compiles on both PHP 5 and PHP 6. If you're poking around in here, please make sure that any changes you make compile on both PHP 5 and 6. Thanks! 2006-12-09 Ilia Alshanetsky * (PHP_5_2) NEWS ext/standard/filestat.c: Fixed bug #29840 (is_executable() does not honor safe_mode_exec_dir setting). 2006-12-09 Hannes Magnusson * tests/basic/022.phpt tests/basic/022.phpt tests/basic/023.phpt tests/basic/023.phpt: Cookie tests 2006-12-09 Ilia Alshanetsky * ext/curl/interface.c: Improve handling of POST data with Andrei's help. * run-tests.php ext/filter/filter.c ext/filter/tests/041.phpt main/php_variables.c: MFB: Fixed handling of multiple cookies with the same name. Added support for cookies into run-tests.php * (PHP_5_2) run-tests.php ext/filter/filter.c ext/filter/tests/041.phpt ext/filter/tests/041.phpt: Fixed handling of multiple cookies with the same name. Added support for cookies into run-tests.php 2006-12-09 Hannes Magnusson * ext/curl/interface.c: Fix build 2006-12-09 Ilia Alshanetsky * main/php_variables.c: MFB: Strip leading spaces from cookie names, that can come from multi-cookie headers where ; can be followed by any number of spaces. * (PHP_5_2) main/php_variables.c: Strip leading spaces from cookie names, that can come from multi-cookie headers where ; can be followed by any number of spaces. 2006-12-09 Rob Richards * (PHP_5_2) NEWS: BFN * ext/com_dotnet/com_typeinfo.c ext/com_dotnet/tests/bug39606.phpt: MFB: fix heap corruption when adding/caching typelib (also fixes bug 39606) add test * (PHP_5_2) ext/com_dotnet/com_typeinfo.c ext/com_dotnet/tests/bug39606.phpt ext/com_dotnet/tests/bug39606.phpt: fix heap corruption when adding/caching typelib (also fixes bug 39606) add test 2006-12-09 Ilia Alshanetsky * ext/filter/tests/007.phpt ext/filter/tests/011.phpt: MFB: Fixed tests * (PHP_5_2) ext/filter/tests/007.phpt ext/filter/tests/011.phpt: Fixed tests * ext/filter/tests/004.phpt: MFB: fixed test * (PHP_5_2) ext/filter/tests/004.phpt ext/pdo/tests/bug_39656.phpt: Fixed test 2006-12-08 Antony Dovgal * ext/standard/php_var.h ext/standard/var.c: don't change public API * (PHP_5_2) ext/standard/php_var.h ext/standard/var.c: MFH: fix possible issue in the serializer, which might currupt struc when reallocating arguments stack * ext/standard/php_var.h ext/standard/var.c: fix possible issue in the serializer, which might currupt struc when reallocating arguments stack (no reproduce case, sorry) * (PHP_5_2) NEWS ext/oci8/oci8_lob.c ext/oci8/php_oci8_int.h: MFH: fix #39732 (oci_bind_array_by_name doesn't work on Solaris 64bit) * ext/oci8/oci8_lob.c ext/oci8/php_oci8_int.h: fix #39732 (oci_bind_array_by_name doesn't work on Solaris 64bit) * ext/standard/iptc.c: fix typo 2006-12-08 Ilia Alshanetsky * ext/pdo/pdo_stmt.c ext/pdo_mysql/mysql_statement.c: MFB: Fixed bug #39759 (Can't use stored procedures fetching multiple result sets in pdo_mysql). * (PHP_5_2) NEWS ext/pdo/pdo_stmt.c ext/pdo_mysql/mysql_driver.c ext/pdo_mysql/mysql_statement.c ext/pdo_mysql/tests/pecl_bug_5780.phpt: Fixed bug #39759 (Can't use stored procedures fetching multiple result sets in pdo_mysql). 2006-12-08 Andrei Zmievski * ext/standard/dl.c: Unicode filename support in dl(). * main/main.c: Don't use zend_ascii_hash_find() here -- module names are binary strings. 2006-12-08 Rob Richards * (PHP_5_2) ext/simplexml/tests/027.phpt ext/simplexml/tests/bug35785.phpt: fix tests 2006-12-08 Ilia Alshanetsky * (PHP_5_2) NEWS ext/filter/filter.c ext/filter/tests/bug39763.phpt ext/filter/tests/bug39763.phpt: Fixed bug #39763 (magic quotes are applied twice by ext/filter in parse_str()) 2006-12-08 Antony Dovgal * (PHP_5_2) NEWS: -BFN * ext/filter/filter.c ext/filter/filter.c: revert the fix for #39763 2006-12-08 Rob Richards * ext/dom/document.c ext/dom/xpath.c ext/dom/tests/domxpath.phpt: mark more functions unicode safe add test * ext/dom/documentfragment.c ext/dom/domconfiguration.c ext/dom/domerrorhandler.c ext/dom/domimplementation.c ext/dom/domimplementationlist.c ext/dom/domimplementationsource.c ext/dom/domstringlist.c ext/dom/entityreference.c ext/dom/namednodemap.c ext/dom/namelist.c ext/dom/node.c ext/dom/processinginstruction.c ext/dom/string_extend.c ext/dom/text.c ext/dom/userdatahandler.c ext/dom/xpath.c ext/dom/tests/domattributes.phpt ext/dom/tests/domelement.phpt ext/dom/tests/domfragment.phpt ext/dom/tests/domimplementation.phpt ext/dom/tests/dompi.phpt: mark more functions unicode safe add tests 2006-12-08 Dmitry Stogov * ZendEngine2/zend_execute.c ZendEngine2/zend_object_handlers.c ZendEngine2/tests/bug38146.phpt ZendEngine2/tests/bug39775.phpt ext/spl/tests/iterator_035.phpt tests/classes/array_access_003.phpt tests/classes/array_access_004.phpt tests/classes/array_access_005.phpt tests/classes/array_access_008.phpt tests/classes/array_access_012.phpt: Fixed bug #39775 ("Indirect modification ..." message is not shown) * (PHP_5_2) NEWS ZendEngine2/zend_execute.c ZendEngine2/zend_object_handlers.c ZendEngine2/tests/bug38146.phpt ZendEngine2/tests/bug39775.phpt ZendEngine2/tests/bug39775.phpt ext/spl/tests/iterator_035.phpt tests/classes/array_access_003.phpt tests/classes/array_access_004.phpt tests/classes/array_access_005.phpt tests/classes/array_access_008.phpt tests/classes/array_access_012.phpt: Fixed bug #39775 ("Indirect modification ..." message is not shown) The fix breaks two SimpleXML tests those must be fixed 2006-12-08 Antony Dovgal * (PHP_5_2) ext/standard/tests/assert/assert03.phpt ext/standard/tests/assert/assert04.phpt: add new tests by * ext/standard/tests/assert/assert03.phpt ext/standard/tests/assert/assert03.phpt ext/standard/tests/assert/assert04.phpt ext/standard/tests/assert/assert04.phpt: add new tests by 2006-12-08 Dmitry Stogov * ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.c: Fixed possible failure 2006-12-08 Nuno Lopes * ext/pcre/tests/bug21758.phpt ext/pcre/tests/bug27011.phpt ext/pcre/tests/bug38600.phpt: MFB: new tests * ext/pcre/tests/bug21758.phpt ext/pcre/tests/bug21758.phpt ext/pcre/tests/bug27011.phpt ext/pcre/tests/bug27011.phpt ext/pcre/tests/bug38600.phpt ext/pcre/tests/bug38600.phpt: file bug21758.phpt was initially added on branch PHP_5_2. 2006-12-08 Ilia Alshanetsky * ext/curl/interface.c: Fixed typo 2006-12-08 Sara Golemon * ext/standard/file.c: More BC bodges for fgets/fgetss 2006-12-08 Ilia Alshanetsky * ext/curl/interface.c: Allow POST of unicode data as utf8 2006-12-07 Antony Dovgal * ext/standard/tests/strings/bug39350.phpt: MFB test * ext/standard/file.c ext/standard/tests/file/fgetss.phpt ext/standard/tests/file/fgetss1.phpt: MFB tests (they still fail though) fix BC in fgetss() 2006-12-07 Andrei Zmievski * ext/standard/datetime.c: Unicode support in strptime(). Uses runtime encoding for conversion. * ext/standard/versioning.c: version_compare() will use runtime encoding. * ext/standard/iptc.c: Unicode support/safety in iptc* functions. Untested, cause I know crap about IPTC. 2006-12-07 Antony Dovgal * (PHP_5_2) ZendEngine2/zend_strtod.c ext/standard/formatted_print.c: initialize variables * ZendEngine2/zend_strtod.c ext/standard/formatted_print.c: initialize variables and make Coverity happy 2006-12-07 Andrei Zmievski * ZendEngine2/zend_hash.c ZendEngine2/zend_strtol.c: Apply Matt W's patch to only allow ASCII digits and not use u_digit(). * ZendEngine2/zend_API.h: Guard against ambiguous 'else' clauses. * ext/standard/url.c: Unicode support in parse_url(). 2006-12-07 Antony Dovgal * (PHP_5_2) NEWS ext/filter/filter.c: MFH: fix #39763 (magic quotes are applied twice by ext/filter) * ext/filter/filter.c: fix #39763 (magic quotes are applied twice by ext/filter) no need to add slashes manually, they are added by php_register_variable_ex() 2006-12-07 Sara Golemon * ext/standard/file.c: Change fgets() behavior back to BC version 2006-12-07 Ilia Alshanetsky * ext/posix/config.m4 ext/posix/posix.c: MFB: Fixed bug #39754 (Some POSIX extension functions not thread safe). * (PHP_5_2) NEWS ext/posix/config.m4 ext/posix/posix.c: Fixed bug #39754 (Some POSIX extension functions not thread safe). * ext/curl/interface.c: Allow submission of unicode data in utf8 form 2006-12-06 Sara Golemon * ext/standard/string.c: Use proper zstr for str_getcsv() and add documentation for Andrei's peace of mind 2006-12-06 Rasmus Lerdorf * (PHP_5_2) NEWS: Typo 2006-12-06 Antony Dovgal * ext/pdo_odbc/package.xml: test. please ignore 2006-12-06 Ilia Alshanetsky * ext/curl/interface.c: Final set of unicode changes * ext/curl/interface.c: First part of unicode upgrade 2006-12-06 Antony Dovgal * ext/standard/array.c ext/standard/basic_functions.c ext/standard/basic_functions.h: fix import_request_variables() * ext/oci8/oci8_interface.c ext/oci8/tests/statement_type.phpt: add Unicode support to oci_statement_type() * ext/oci8/oci8_interface.c: mark most of the OCI8 functions as unicode aware * ext/standard/formatted_print.c: move handling of 'F' to the top 2006-12-06 Ilia Alshanetsky * ext/curl/multi.c: Make functions as being unicode safe 2006-12-06 Antony Dovgal * (PHP_5_2) ext/standard/formatted_print.c: MFH: add missing 'F' modified (noticed by Matt) * ext/standard/formatted_print.c: add missing 'F' modified (noticed by Matt) 2006-12-06 Rob Richards * ext/openssl/xp_ssl.c ext/pdo_sqlite/sqlite/src/date.c: MFB: Fix win32 build * (PHP_5_2) ext/openssl/xp_ssl.c ext/pdo_sqlite/sqlite/src/date.c: Fix win32 build 2006-12-06 Antony Dovgal * ZendEngine2/tests/unset_cv05.phpt ext/standard/tests/array/array_fill.phpt ext/standard/tests/array/bug14580.phpt ext/standard/tests/general_functions/007.phpt ext/standard/tests/serialize/002.phpt ext/standard/tests/strings/bug24312.phpt ext/standard/tests/strings/bug36306.phpt ext/standard/tests/strings/crc32.phpt ext/standard/tests/strings/crypt.phpt ext/standard/tests/strings/htmlentities.phpt ext/standard/tests/strings/strrev.phpt ext/standard/tests/strings/strtotitle.phpt ext/standard/tests/strings/strtoupper.phpt tests/classes/bug26737.phpt tests/lang/034.phpt tests/lang/bug24783.phpt tests/lang/bug30638.phpt tests/lang/each_binary_safety.phpt: fix tests * ZendEngine2/zend_strtod.c: add zend_u_strtod() implementation by Matt Wilmas major speedup when using floats in Unicode mode also fixes several problems with the current code * ZendEngine2/zend_strtod.c: destroy freelist before destroying the mutexes * (PHP_5_2) NEWS: news * (PHP_5_2) ZendEngine2/zend.c ZendEngine2/zend_strtod.c ZendEngine2/zend_strtod.h ext/standard/formatted_print.c ext/standard/tests/serialize/003.phpt ext/standard/tests/strings/sprintf_f.phpt main/snprintf.c main/snprintf.h main/spprintf.c: MFH: use BSD licensed implementation of double-to-string utilities instead of LGPL one this patch also fixes thread safety issues in zend_strtod() * ZendEngine2/zend.c ZendEngine2/zend_strtod.c ZendEngine2/zend_strtod.h ext/standard/formatted_print.c ext/standard/tests/serialize/003.phpt ext/standard/tests/strings/sprintf_f.phpt main/snprintf.c main/snprintf.h main/spprintf.c: use BSD licensed implementation of double-to-string utilities instead of LGPL one this patch also fixes thread safety issues in zend_strtod() 2006-12-05 Antony Dovgal * ext/filter/config.m4: let PHP_ADD_EXTENSION_DEP() to take care of this 2006-12-05 Ilia Alshanetsky * ext/filter/config.m4: MFB: Fixed bug #39724 (Broken build due to spl/filter usage of pcre extension). * (PHP_5_2) NEWS ext/filter/config.m4: Fixed bug #39724 (Broken build due to spl/filter usage of pcre extension). 2006-12-05 Andrei Zmievski * ext/standard/array.c: extract() should convert keys using runtime encoding. 2006-12-05 Antony Dovgal * ext/standard/tests/array/bug33382.phpt ext/standard/tests/array/bug33382.phpt ext/standard/tests/array/bug36975.phpt ext/standard/tests/array/bug36975.phpt ext/standard/tests/file/bug35740.phpt ext/standard/tests/file/bug35740.phpt ext/standard/tests/file/bug39538.phpt ext/standard/tests/file/bug39538.phpt ext/standard/tests/general_functions/bug27678.phpt ext/standard/tests/general_functions/bug27678.phpt ext/xmlwriter/tests/bug39504.phpt ext/zlib/tests/bug_34821.phpt ext/zlib/tests/bug_34821.phpt: cosmetic improvements 2006-12-05 Frank M. Kromann * ext/ming/ming.c ext/ming/ming.c: Remove PHP4.x stuff * ext/ming/ming.c ext/ming/ming.c ext/ming/php_ming.h ext/ming/php_ming.h: 2006-12-05 Dmitry Stogov * ZendEngine2/tests/bug39721.phpt ZendEngine2/tests/bug39721.phpt: file bug39721.phpt was initially added on branch PHP_5_2. * (PHP_5_2) NEWS ZendEngine2/zend_compile.c ZendEngine2/zend_compile.c ZendEngine2/tests/bug39721.phpt: Fixed bug #39721 (Runtime inheritance causes data corruption) 2006-12-05 Antony Dovgal * (PHP_5_2) ext/standard/http_fopen_wrapper.c: MFH: nuke redundant zval_ptr_dtor() call * ext/standard/http_fopen_wrapper.c: nuke redundant zval_ptr_dtor() call and fix memory corruption/segfault 2006-12-05 Andrei Zmievski * ext/standard/http.c: Unicode support in http_build_query(). 2006-12-05 Ilia Alshanetsky * ext/pdo/pdo_sql_parser.c ext/pdo/pdo_sql_parser.re ext/pdo/tests/bug_36798.phpt: MFB: Fixed bug #36798 (Error parsing named parameters with queries containing high-ascii chars). * (PHP_5_2) NEWS ext/pdo/pdo_sql_parser.c ext/pdo/pdo_sql_parser.re ext/pdo/tests/bug_36798.phpt ext/pdo/tests/bug_36798.phpt: Fixed bug #36798 (Error parsing named parameters with queries containing high-ascii chars). * (PHP_5_2) ext/dba/config.m4: Revert previous patch and it breaks builds with built-in cdb lib 2006-12-05 Hannes Magnusson * ext/pdo/tests/bug_39656.phpt: MFB: fix test * (PHP_5_2) ext/pdo/tests/bug_39656.phpt: Fix test 2006-12-05 Antony Dovgal * ext/standard/file.c: don't pass negative maxchars to php_stream_get_line_ex() * ZendEngine2/zend_compile.c: remove duplicating line 2006-12-05 Rob Richards * (PHP_5_2) NEWS: BFN * ext/xsl/xsltprocessor.c: MFB: fix bug #39625 (Apache crashes on importStylesheet call) * (PHP_5_2) ext/xsl/xsltprocessor.c: fix bug #39625 (Apache crashes on importStylesheet call) 2006-12-05 Dmitry Stogov * (PHP_5_2) NEWS sapi/cgi/fastcgi.c sapi/cgi/fastcgi.c: Fixed FastCGI impersonation for persistent connections on Windows * configure.in configure.in ZendEngine2/Makefile.am ZendEngine2/Makefile.am ZendEngine2/Zend.dsp ZendEngine2/Zend.dsp ZendEngine2/ZendTS.dsp ZendEngine2/ZendTS.dsp ZendEngine2/zend_mm.c ZendEngine2/zend_mm.c ZendEngine2/zend_mm.h ZendEngine2/zend_mm.h win32/build/config.w32 win32/build/config.w32: Removed unused zend_mm.* 2006-12-05 Sara Golemon * NEWS ext/standard/basic_functions.c ext/standard/file.c ext/standard/php_string.h ext/standard/string.c: Add str_getcsv() and fix a couple cases in recent fgetcsv() reimplementation * ext/standard/file.c ext/standard/file.h ext/standard/tests/file/bug12556.phpt ext/standard/tests/file/fgetcsv.phpt: Unicode upgrade for fgetcsv() 2006-12-05 Stanislav Malyshev * ZendEngine2/zend_operators.c ZendEngine2/zend_operators.h ext/standard/basic_functions.c ext/standard/string.c main/main.c: Merge from 5.2: Improve tolower()-related functions on Windows and VC2005 by caching locale and using tolower_l function. 2006-12-05 Ilia Alshanetsky * ext/openssl/xp_ssl.c: MFB: Fixed bug #39571 (timeout ssl:// connections). * (PHP_5_2) NEWS ext/openssl/xp_ssl.c: Fixed bug #39571 (timeout ssl:// connections). 2006-12-05 Pierre-Alain Joye * (PHP_5_2) NEWS: - invalid filter * (PHP_5_2) ext/filter/filter.c ext/filter/filter_private.h ext/filter/tests/010.phpt ext/filter/tests/039.phpt: - MFH: invalid filter id should not return unsafe values * ext/filter/filter.c ext/filter/filter_private.h ext/filter/tests/010.phpt ext/filter/tests/039.phpt: - invalid filter id should not return unsafe values 2006-12-04 Pierre-Alain Joye * ext/filter/tests/008.phpt ext/filter/tests/009.phpt: - MFB: use %s * ext/filter/filter.c ext/filter/sanitizing_filters.c: - WS * (PHP_5_2) ext/filter/filter.c: - default filter is not string anymore (in comment) - WS and error msg sync with head 2006-12-04 Andrei Zmievski * ext/standard/head.c: Make headers-related functions accept Unicode strings, but only if their contents can be converted to ASCII. * ext/standard/string.c ext/standard/var.c: Unicode support in var_export(). 2006-12-04 Stanislav Malyshev * (PHP_5_2) ZendEngine2/zend_operators.c ZendEngine2/zend_operators.h ext/standard/basic_functions.c ext/standard/string.c main/main.c: Improve tolower()-related functions on Windows and VC2005 by caching locale and using tolower_l function. 2006-12-04 Ilia Alshanetsky * ext/calendar/tests/easter_date.phpt ext/calendar/tests/unixtojd.phpt: MFB: Fixed tests * (PHP_5_2) ext/calendar/tests/easter_date.phpt ext/calendar/tests/unixtojd.phpt: Fixed tests 2006-12-04 Antony Dovgal * (PHP_5_2) acinclude.m4 configure.in: MFH: fix build with Sun compiler, which doesn't support -O0 * acinclude.m4 configure.in: fix build with Sun compiler, which doesn't support -O0 * (PHP_5_2) ext/pcre/config0.m4 ext/spl/config.m4: MFH: partly fix #39724 ext/spl has a soft dependcy from ext/pcre (not ext/pcre-regex) * ext/pcre/config0.m4 ext/spl/config.m4: partly fix #39724 ext/spl has a soft dependcy from ext/pcre (not ext/pcre-regex) 2006-12-04 Ilia Alshanetsky * ext/pdo/tests/bug_39656.phpt: MFB: Fixed test (user is a reserved keyword in pgsql) * (PHP_5_2) ext/pdo/tests/bug_39656.phpt: Fixed test (user is a reserved keyword in pgsql) 2006-12-04 Antony Dovgal * (PHP_5_2) sapi/cli/tests/002-win32.phpt sapi/cli/tests/002.phpt sapi/cli/tests/004.phpt sapi/cli/tests/005.phpt sapi/cli/tests/006.phpt sapi/cli/tests/007.phpt sapi/cli/tests/008.phpt sapi/cli/tests/009.phpt sapi/cli/tests/010-2.phpt sapi/cli/tests/010.phpt sapi/cli/tests/011.phpt sapi/cli/tests/012.phpt sapi/cli/tests/013.phpt: fix tests * sapi/cli/tests/002-win32.phpt sapi/cli/tests/002.phpt sapi/cli/tests/004.phpt sapi/cli/tests/005.phpt sapi/cli/tests/006.phpt sapi/cli/tests/007.phpt sapi/cli/tests/008.phpt sapi/cli/tests/009.phpt sapi/cli/tests/010-2.phpt sapi/cli/tests/010.phpt sapi/cli/tests/011.phpt sapi/cli/tests/012.phpt sapi/cli/tests/013.phpt: fix tests, use -n to prevent any problems with existing php.ini 2006-12-04 Dmitry Stogov * (PHP_5_2) NEWS ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.c: Fixed bug #38274 (Memlimit fatal error sent to "wrong" stderr when using fastcgi) 2006-12-04 Antony Dovgal * ext/session/session.c main/main.c: fix retval type it should be int, not zend_bool 2006-12-04 Andrey Hristov * ext/mysqli/mysqli_api.c: dummy change 2006-12-04 Ilia Alshanetsky * (PHP_5_2) NEWS ext/session/session.c: Fixed bug #37627 (session save_path check checks the parent directory). 2006-12-04 Antony Dovgal * run-tests.php: look for tests in sapi/cli 2006-12-04 Ilia Alshanetsky * ext/pdo/pdo_stmt.c: MFB: Fixed bug #38319 (Remove bogus warnings from persistent PDO connections). * (PHP_5_2) NEWS ext/pdo/pdo_stmt.c: Fixed bug #38319 (Remove bogus warnings from persistent PDO connections). * ext/pdo/pdo_dbh.c: MFB: Fixed bug #38252 (Incorrect PDO error message on invalid default fetch mode). * (PHP_5_2) NEWS ext/pdo/pdo_dbh.c: Fixed bug #38252 (Incorrect PDO error message on invalid default fetch mode). * ext/pdo_mysql/tests/bug_39483.phpt: MFB: Added test for previous bug * ext/pdo_mysql/tests/bug_39483.phpt ext/pdo_mysql/tests/bug_39483.phpt: file bug_39483.phpt was initially added on branch PHP_5_2. * ext/pdo/pdo_sql_parser.c ext/pdo/pdo_sql_parser.re: MFB: Fixed bug #39483 (Problem with handling of \ char in prepared statements). * (PHP_5_2) NEWS ext/pdo/pdo_sql_parser.c ext/pdo/pdo_sql_parser.re: Fixed bug #39483 (Problem with handling of \ char in prepared statements). 2006-12-03 Ilia Alshanetsky * ext/pdo_mysql/mysql_driver.c: MFB: Default to buffered queries (much faster) Default to prepared statement emulation to avoid hitting MySQL bugs * (PHP_5_2) ext/pdo_mysql/mysql_driver.c: Default to buffered queries (much faster) Default to prepared statement emulation to avoid hitting MySQL bugs * ext/pdo/pdo_sql_parser.c ext/pdo/pdo_sql_parser.re: MFB: Added missing check for mismatching number of tokens & bound params in prepared statement emulation. * (PHP_5_2) ext/pdo/pdo_sql_parser.c ext/pdo/pdo_sql_parser.re: Added missing check for mismatching number of tokens & bound params in prepared statement emulation. * ext/filter/filter.c: MFB: Added "default" option that allows a default value to be set for an invalid or missing value. * (PHP_5_2) NEWS ext/filter/filter.c: Added "default" option that allows a default value to be set for an invalid or missing value. * (PHP_5_2) ext/dba/config.m4: Config fix from Gentoo * ext/standard/assert.c: MFB: Fixed bug #39718 (possible crash if assert.callback is set in ini). * (PHP_5_2) NEWS ext/standard/assert.c: Fixed bug #39718 (possible crash if assert.callback is set in ini). * main/php_scandir.c: MFB: Fixed php_readdir_r() usage in scandir emulation * (PHP_5_2) main/php_scandir.c: Fixed php_readdir_r() usage in scandir emulation 2006-12-03 Antony Dovgal * main/php_scandir.c: fix Solaris build * ext/ftp/ftp.c: fix leaks * ext/standard/crypt.c: fix AIX build 2006-12-03 Nuno Lopes * ext/pcre/tests/001.phpt ext/pcre/tests/002.phpt ext/pcre/tests/003.phpt ext/pcre/tests/004.phpt: add UEXPECT sections 2006-12-03 Hannes Magnusson * ext/pcre/tests/002.phpt: MFB: fix test on fbsd * (PHP_5_2) ext/pcre/tests/002.phpt: Fix test on fbsd 2006-12-02 Nuno Lopes * ext/pcre/tests/001.phpt ext/pcre/tests/002.phpt ext/pcre/tests/003.phpt ext/pcre/tests/004.phpt: MFH (not tested. so some tests may fail in unicode mode) * ext/pcre/tests/001.phpt ext/pcre/tests/001.phpt ext/pcre/tests/002.phpt ext/pcre/tests/002.phpt ext/pcre/tests/003.phpt ext/pcre/tests/003.phpt ext/pcre/tests/004.phpt ext/pcre/tests/004.phpt: file 001.phpt was initially added on branch PHP_5_2. 2006-12-02 Ilia Alshanetsky * ext/pdo/tests/pdo_016.phpt ext/pdo/tests/pdo_016a.phpt ext/pdo/tests/pdo_021.phpt ext/pdo_mysql/mysql_statement.c: MFB: Fixed bug #39527 (Failure to retrieve results when multiple unbuffered, prepared statements are used in pdo_mysql). * (PHP_5_2) NEWS ext/pdo/tests/pdo_016.phpt ext/pdo/tests/pdo_016a.phpt ext/pdo/tests/pdo_021.phpt ext/pdo_mysql/mysql_statement.c: Fixed bug #39527 (Failure to retrieve results when multiple unbuffered, prepared statements are used in pdo_mysql). 2006-12-01 Frank M. Kromann * (PHP_5_2) ext/sqlite/libsqlite/src/date.c ext/zip/lib/zip_dirent.c main/php_scandir.c win32/readdir.h: Fix win32 build * main/php_scandir.c win32/readdir.h: MFB: Fix win32 build 2006-12-01 Ilia Alshanetsky * (PHP_5_2) NEWS: Fixed typo 2006-12-01 Dmitry Stogov * (PHP_5_2) NEWS ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.c ZendEngine2/tests/bug39438.phpt: Bug #39438 (Fatal error: Out of memory) * ZendEngine2/tests/bug39438.phpt ZendEngine2/tests/bug39438.phpt: file bug39438.phpt was initially added on branch PHP_5_2. * ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.c: typo 2006-12-01 Andrei Zmievski * ext/standard/var.c ext/standard/var_unserializer.c ext/standard/var_unserializer.re: Finalize Unicode support in serialize() and unserialize(). 2006-12-01 Ilia Alshanetsky * ext/dbase/dbase.c ext/dbase/tests/002.phpt: MFB: Fixed a possible memory corruption in dbase_open() with invalid open mode * (PHP_5_2) ext/dbase/dbase.c ext/dbase/tests/002.phpt: Fixed a possible memory corruption in dbase_open() with invalid open mode 2006-12-01 Andrei Zmievski * ext/standard/filestat.c: Fix group macro access. 2006-12-01 Nuno Lopes * ext/ftp/ftp.c ext/ftp/tests/bug39458-2.phpt ext/ftp/tests/bug39458.phpt ext/ftp/tests/server.inc: MFB: fix #39458 * (PHP_5_2) NEWS ext/ftp/tests/bug39458-2.phpt ext/ftp/tests/bug39458-2.phpt ext/ftp/tests/bug39458.phpt ext/ftp/tests/bug39458.phpt ext/ftp/tests/server.inc: tests + BFN * (PHP_5_2) ext/ftp/ftp.c: fix bug #39458: ftp_nlist() returns false on empty dirs 2006-12-01 Dmitry Stogov * (PHP_5_2) NEWS ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.c: Fixed bug #39702 (php crashes in the allocator on linux-m68k) * ZendEngine2/zend_API.c: Fixed buffer overflow. (Rob) * (PHP_5_2) NEWS ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.c: Fixed bug #39640 (Segfault with "Allowed memory size exhausted") * (PHP_5_2) NEWS ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.c: Fixed bug #39652 (Wrong negative results from memeory_get_usage()) 2006-12-01 Marcus Boerger * (PHP_5_2) ext/spl/examples/dualiterator.inc: - MFH: Fix handling of recursive inner iterators * ext/spl/examples/dualiterator.inc: - Fix handling of recursive inner iterators 2006-12-01 Ilia Alshanetsky * (PHP_4_4) ext/session/session.c: MFH: Disallow \0 chars inside session.save_path * ext/session/session.c: MFB: Disallow \0 chars inside session.save_path * (PHP_5_2) ext/session/session.c: Disallow \0 chars inside session.save_path 2006-11-30 Ilia Alshanetsky * (PHP_5_2) ext/soap/php_sdl.c: Small hash table optimization 2006-11-30 Andrei Zmievski * ext/standard/url.c: get_headers() will keep headers as binary strings. 2006-11-30 Antony Dovgal * (PHP_4_4) acinclude.m4 configure.in: MFH missing fixes required by autoconf 2.6x fixes bug #39696 2006-11-30 Andrei Zmievski * ext/standard/string.c: Mark setlocale() as Unicode-safe. It shouldn't be used in unicode.semantics=on mode anyway. * ext/standard/basic_functions.c: Forgot to mark import_request_variables() as Unicode-safe. * ext/standard/string.c: Mark strtr() as Unicode-safe. * ext/standard/pack.c: Mark pack()/unpack() as Unicode-safe. They will accept Unicode strings but convert them to binary. We can revisit supporting something like 'U' format in the future, if it's needed. * ext/standard/quot_print.c: Make quoted_printable_decode() take only ASCII strings. 2006-11-30 Ilia Alshanetsky * configure.in: MFB: Added check for crypt_r() * (PHP_5_2) configure.in: Added check for crypt_r() * ext/posix/config.m4: MFB: Added missing function checks * (PHP_5_2) ext/posix/config.m4: Added missing function checks * ext/pdo_sqlite/sqlite/src/date.c ext/sqlite/libsqlite/src/date.c ext/xmlrpc/libxmlrpc/xmlrpc.c ext/zip/lib/zip_dirent.c: zts fixes * (PHP_5_2) ext/pdo_sqlite/sqlite/src/date.c ext/sqlite/libsqlite/src/date.c ext/xmlrpc/libxmlrpc/xmlrpc.c ext/zip/lib/zip_dirent.c: last set of zts fixes * ext/interbase/ibase_query.c: MFB: Thread safety fixes. * (PHP_5_2) ext/interbase/ibase_query.c: Thread safety fixes. * main/php_scandir.c: MFB: Thread-safety issues * (PHP_5_2) main/php_scandir.c: Thread-safety issues * ext/standard/crypt.c: MFB: Use reantrant crypt_r() whenever possible. * (PHP_5_2) ext/standard/crypt.c: Use reantrant crypt_r() whenever possible. * ext/mime_magic/mime_magic.c: MFB: Use thread-safe code * (PHP_5_2) ext/mime_magic/mime_magic.c: Use thread-safe code 2006-11-30 Antony Dovgal * ZendEngine2/tests/bug39602.phpt ZendEngine2/tests/bug39602.phpt: fix test 2006-11-30 Ilia Alshanetsky * ext/posix/posix.c: MFB: Thread safety fixed for *nix systems * (PHP_5_2) ext/posix/posix.c: Thread safety fixed for *nix systems 2006-11-29 Ilia Alshanetsky * ext/standard/filestat.c: MFB: Fixed bug #39648 (Implementation of PHP functions chown() and chgrp() are not thread safe). * (PHP_5_2) NEWS configure.in ext/standard/filestat.c: Fixed bug #39648 (Implementation of PHP functions chown() and chgrp() are not thread safe). 2006-11-29 Antony Dovgal * ext/simplexml/simplexml.c: add missing folding marker 2006-11-29 Derick Rethans * (PHP_5_2) NEWS ext/date/lib/timezonedb.h ext/date/lib/timezonedb.h: - Updated timezone database to version 2006.16. 2006-11-29 Ilia Alshanetsky * ext/pdo_pgsql/pgsql_driver.c ext/pgsql/pgsql.c: MFB: Fixed bug #39663 (Memory leak in pg_get_notify() and a possible memory corruption on Windows in pgsql and pdo_pgsql extensions). * (PHP_5_2) NEWS ext/pdo_pgsql/pgsql_driver.c ext/pgsql/pgsql.c: Fixed bug #39663 (Memory leak in pg_get_notify() and a possible memory corruption on Windows in pgsql and pdo_pgsql extensions). 2006-11-29 Antony Dovgal * (PHP_5_2) NEWS ext/standard/tests/file/bug39673.phpt main/streams/plain_wrapper.c: MFH: fix #39673 (file_get_contents causes bus error on certain offsets) * ext/standard/tests/file/bug39673.phpt ext/standard/tests/file/bug39673.phpt main/streams/plain_wrapper.c: fix #39673 (file_get_contents causes bus error on certain offsets) 2006-11-29 Rob Richards * ext/simplexml/simplexml.c ext/simplexml/tests/bug39662.phpt: MFB: correct fix for bug #39662 to fix leak and tree corruption fix test * (PHP_5_2) ext/simplexml/simplexml.c ext/simplexml/tests/bug39662.phpt: correct fix for bug #39662 to fix leak and tree corruption fix test 2006-11-28 Marcus Boerger * ext/spl/examples/callbackfilteriterator.inc ext/spl/examples/callbackfilteriterator.inc: - Add new example 2006-11-28 Antony Dovgal * ZendEngine2/zend_builtin_functions.c: resolve coverity issue #224 * (PHP_5_2) ext/standard/html.h: add php_unescape_html_entities() proto to the header (fixes #39665) * ext/standard/html.h: add php_unescape_html_entities() proto to the header * (PHP_5_2) NEWS ext/simplexml/simplexml.c ext/simplexml/tests/bug39662.phpt: MFH: fix #39662 (Segfault when calling asXML() of a cloned SimpleXMLElement) * ext/simplexml/simplexml.c ext/simplexml/tests/bug39662.phpt ext/simplexml/tests/bug39662.phpt: fix #39662 (Segfault when calling asXML() of a cloned SimpleXMLElement) * ext/pdo/tests/bug_39656.phpt: add test * ext/pdo/tests/bug_39656.phpt ext/pdo/tests/bug_39656.phpt: file bug_39656.phpt was initially added on branch PHP_5_2. 2006-11-28 Ilia Alshanetsky * ext/pdo/pdo_stmt.c ext/pdo_pgsql/pgsql_statement.c: MFB: Fixed bug #39656 (crash when calling fetch() on a PDO statment object after closeCursor()). * (PHP_5_2) NEWS ext/pdo/pdo_stmt.c ext/pdo_pgsql/pgsql_statement.c: Fixed bug #39656 (crash when calling fetch() on a PDO statment object after closeCursor()). 2006-11-28 Antony Dovgal * (PHP_5_2) NEWS: BFN * (PHP_5_2) ext/dba/config.m4: MFH: fix #39653 (ext/dba doesn't check for db-4.5 and db-4.4 when db4 support is enabled) * ext/dba/config.m4: fix #39653 (ext/dba doesn't check for db-4.5 and db-4.4 when db4 support is enabled) 2006-11-28 Pierre-Alain Joye * (PHP_5_2) ext/zip/php_zip.c: - fix warning - addEmptyDir returns true on success - remove useless semi column 2006-11-28 Ilia Alshanetsky * ext/mcrypt/mcrypt.c ext/soap/php_http.c: MFB: Replace non-threadsafe rand() with php_rand_r() * (PHP_5_2) ext/mcrypt/mcrypt.c ext/soap/php_http.c: Replace non-threadsafe rand() with php_rand_r() 2006-11-27 Antony Dovgal * (PHP_5_2) NEWS ext/pdo_sqlite/sqlite_statement.c: MFH: fix #39564 (PDO::errorInfo() returns inconsistent information when sqlite3_step() fails) * ext/pdo_sqlite/sqlite_statement.c: fix #39564 (PDO::errorInfo() returns inconsistent information when sqlite3_step() fails) * ext/ftp/tests/004.phpt: fix test this errmsg is different on FreeBSD 2006-11-26 Alex Waugh * (PHP_5_2) sapi/webjames/webjames.c: MFH: Improve robustness of sending routines * sapi/webjames/webjames.c: Improve robustness of sending routines 2006-11-26 Ilia Alshanetsky * ext/mime_magic/mime_magic.c: MFB: Fixed bug #39623 (thread safety fixes on *nix for mime_magic extenion). * (PHP_5_2) ext/mime_magic/mime_magic.c ext/standard/basic_functions.c: Fixed bug #39623 (thread safety fixes on *nix for putenv() & mime_magic). * (PHP_4_4) NEWS ext/standard/info.c: MFH: Added a meta tag to phpinfo() output to prevent search engines from indexing the page. * ext/imap/tests/imap_utf8.phpt: MFB: Fixed test, in some versions of c-client returned value is always uppercase * (PHP_5_2) ext/imap/tests/imap_utf8.phpt: Fixed test, in some versions of c-client returned value is always uppercase * ext/dbase/tests/002.phpt: MFB: fixed test * (PHP_5_2) ext/dbase/tests/002.phpt: Fixed test * ext/standard/info.c: MFB: Added a meta tag to phpinfo() output to prevent search engines from indexing the page. * (PHP_5_2) NEWS ext/standard/info.c: Added a meta tag to phpinfo() output to prevent search engines from indexing the page. 2006-11-24 Antony Dovgal * (PHP_5_2) NEWS ext/standard/string.c ext/standard/tests/strings/bug39621.phpt: MFH: fix #39621 (str_replace() is not binary safe on strings with equal length) * ext/standard/string.c ext/standard/tests/strings/bug39621.phpt ext/standard/tests/strings/bug39621.phpt: fix #39621 (str_replace() is not binary safe on strings with equal length) * ext/standard/levenshtein.c: add missing argument to zend_parse_parameters() 2006-11-24 Nuno Lopes * ext/ftp/tests/006.phpt ext/ftp/tests/bug39583.phpt ext/ftp/tests/server.inc ext/standard/tests/general_functions/phpcredits.phpt ext/standard/tests/general_functions/phpcredits2.phpt ext/standard/tests/general_functions/phpinfo.phpt ext/standard/tests/general_functions/phpinfo2.phpt: more tests * ext/ftp/tests/006.phpt ext/ftp/tests/006.phpt ext/ftp/tests/bug39583.phpt ext/ftp/tests/server.inc ext/standard/tests/general_functions/phpcredits.phpt ext/standard/tests/general_functions/phpcredits.phpt ext/standard/tests/general_functions/phpcredits2.phpt ext/standard/tests/general_functions/phpcredits2.phpt ext/standard/tests/general_functions/phpinfo.phpt ext/standard/tests/general_functions/phpinfo.phpt ext/standard/tests/general_functions/phpinfo2.phpt ext/standard/tests/general_functions/phpinfo2.phpt: file 006.phpt was initially added on branch PHP_5_2. * ext/ftp/tests/005.phpt ext/ftp/tests/bug39583-2.phpt ext/ftp/tests/bug39583.phpt ext/ftp/tests/bug7216-2.phpt ext/ftp/tests/server.inc: MFB * (PHP_5_2) ext/ftp/tests/005.phpt ext/ftp/tests/bug39583-2.phpt ext/ftp/tests/bug39583-2.phpt ext/ftp/tests/bug39583.phpt ext/ftp/tests/bug39583.phpt ext/ftp/tests/bug7216-2.phpt ext/ftp/tests/server.inc: fix tests after Tony's commit and add a test for the bug he fixed 2006-11-24 Antony Dovgal * ext/ftp/tests/004.phpt ext/ftp/tests/004.phpt sapi/cli/tests/011.phpt sapi/cli/tests/011.phpt: fix test * (PHP_5_2) sapi/cli/tests/.cvsignore sapi/cli/tests/001.phpt sapi/cli/tests/002-win32.phpt sapi/cli/tests/002.phpt sapi/cli/tests/003.phpt sapi/cli/tests/004.phpt sapi/cli/tests/005.phpt sapi/cli/tests/006.phpt sapi/cli/tests/007.phpt sapi/cli/tests/008.phpt sapi/cli/tests/009.phpt sapi/cli/tests/010-2.phpt sapi/cli/tests/010.phpt sapi/cli/tests/011.phpt sapi/cli/tests/012.phpt sapi/cli/tests/013.phpt sapi/cli/tests/014.phpt sapi/cli/tests/skipif.inc: add tests for CLI * sapi/cli/tests/.cvsignore sapi/cli/tests/.cvsignore: add .cvsignore * sapi/cli/tests/001.phpt sapi/cli/tests/001.phpt sapi/cli/tests/002-win32.phpt sapi/cli/tests/002-win32.phpt sapi/cli/tests/002.phpt sapi/cli/tests/002.phpt sapi/cli/tests/003.phpt sapi/cli/tests/003.phpt sapi/cli/tests/004.phpt sapi/cli/tests/004.phpt sapi/cli/tests/005.phpt sapi/cli/tests/005.phpt sapi/cli/tests/006.phpt sapi/cli/tests/006.phpt sapi/cli/tests/007.phpt sapi/cli/tests/007.phpt sapi/cli/tests/008.phpt sapi/cli/tests/008.phpt sapi/cli/tests/009.phpt sapi/cli/tests/009.phpt sapi/cli/tests/010-2.phpt sapi/cli/tests/010-2.phpt sapi/cli/tests/010.phpt sapi/cli/tests/010.phpt sapi/cli/tests/011.phpt sapi/cli/tests/011.phpt sapi/cli/tests/012.phpt sapi/cli/tests/012.phpt sapi/cli/tests/013.phpt sapi/cli/tests/013.phpt sapi/cli/tests/014.phpt sapi/cli/tests/014.phpt sapi/cli/tests/skipif.inc sapi/cli/tests/skipif.inc: add tests for CLI * (PHP_4_4) NEWS NEWS ext/ftp/ftp.h ext/ftp/ftp.h: MFH: fix #39583 (ftp_put() does not change transfer mode to ASCII) * ext/ftp/ftp.h: fix #39583 (ftp_put() does not change transfer mode to ASCII) * sapi/cli/php_cli.c: call sapi_deactivate() & friends on error fixes leak with `php-cli -n -c ..` * ZendEngine2/zend.c: initialize CG(literal_type) using ZEND_STR_TYPE macro add CG(literal_type) initialization in non-ZTS mode fixes backticks operator * (PHP_5_2) NEWS: BFN * ext/imap/php_imap.c ext/imap/php_imap.c: fix #39613 (Possible segfault in imap initialization due to missing module dependency) patch by wharmby at uk dot ibm dot com 2006-11-23 Antony Dovgal * ZendEngine2/zend_language_scanner.l ZendEngine2/zend_language_scanner.l: nullify opened_path and filename (when required) fixes invalid reads with `php-cli -F