2007-07-15 Jani Taskinen * ext/ereg/tests/001.phpt ext/ereg/tests/002.phpt ext/ereg/tests/003.phpt ext/ereg/tests/004.phpt ext/ereg/tests/005.phpt ext/ereg/tests/006.phpt ext/ereg/tests/007.phpt ext/ereg/tests/008.phpt ext/ereg/tests/009.phpt ext/ereg/tests/010.phpt ext/ereg/tests/011.phpt ext/ereg/tests/012.phpt ext/ereg/tests/013.phpt ext/ereg/tests/014.phpt ext/ereg/tests/015.phpt ext/ereg/tests/016.phpt: - Skip these tests always if unicode.semantics=on * configure.in ext/ereg/config.w32 ext/ereg/config0.m4 ext/ereg/ereg.c ext/ereg/php_ereg.h ext/ereg/php_regex.h ext/pgsql/pgsql.c ext/standard/basic_functions.c ext/standard/browscap.c ext/standard/config.m4 ext/standard/config.w32 ext/standard/html.c ext/standard/php_standard.h ext/standard/reg.c ext/standard/reg.h ext/standard/string.c main/internal_functions_nw.c main/internal_functions_win32.c main/php.h main/php_regex.h sapi/apache/php_apache_http.h sapi/apache_hooks/php_apache_http.h win32/build/config.w32: - Moved the old regex functions to it's own extension: ereg 2007-07-15 Jani Taskinen * (PHP_4_4) ext/ereg/ereg.c ext/ereg/php_ereg.h ext/ereg/php_regex.h ext/ereg/regex/.cvsignore ext/ereg/regex/COPYRIGHT ext/ereg/regex/README ext/ereg/regex/WHATSNEW ext/ereg/regex/cclass.h ext/ereg/regex/cname.h ext/ereg/regex/debug.c ext/ereg/regex/debug.ih ext/ereg/regex/engine.c ext/ereg/regex/engine.ih ext/ereg/regex/main.c ext/ereg/regex/main.ih ext/ereg/regex/mkh ext/ereg/regex/regcomp.c ext/ereg/regex/regcomp.ih ext/ereg/regex/regerror.c ext/ereg/regex/regerror.ih ext/ereg/regex/regex.3 ext/ereg/regex/regex.7 ext/ereg/regex/regex.dsp ext/ereg/regex/regex.dsw ext/ereg/regex/regex.h ext/ereg/regex/regex.mak ext/ereg/regex/regex2.h ext/ereg/regex/regex_extra.h ext/ereg/regex/regexec.c ext/ereg/regex/regfree.c ext/ereg/regex/split.c ext/ereg/regex/tests ext/ereg/regex/utils.h ext/ereg/tests/.cvsignore ext/ereg/tests/001.phpt ext/ereg/tests/002.phpt ext/ereg/tests/003.phpt ext/ereg/tests/004.phpt ext/ereg/tests/005.phpt ext/ereg/tests/006.phpt ext/ereg/tests/007.phpt ext/ereg/tests/008.phpt ext/ereg/tests/009.phpt ext/ereg/tests/010.phpt ext/ereg/tests/011.phpt ext/ereg/tests/012.phpt ext/ereg/tests/013.phpt ext/ereg/tests/014.phpt ext/ereg/tests/015.phpt ext/ereg/tests/016.phpt: - Removed ereg extension from PHP_4_4 branch (never will be added here) 2007-07-15 Jani Taskinen * (PHP_5_2) ext/ereg/ereg.c ext/ereg/php_ereg.h ext/ereg/php_regex.h ext/ereg/regex/.cvsignore ext/ereg/regex/COPYRIGHT ext/ereg/regex/README ext/ereg/regex/WHATSNEW ext/ereg/regex/cclass.h ext/ereg/regex/cname.h ext/ereg/regex/debug.c ext/ereg/regex/debug.ih ext/ereg/regex/engine.c ext/ereg/regex/engine.ih ext/ereg/regex/main.c ext/ereg/regex/main.ih ext/ereg/regex/mkh ext/ereg/regex/regcomp.c ext/ereg/regex/regcomp.ih ext/ereg/regex/regerror.c ext/ereg/regex/regerror.ih ext/ereg/regex/regex.3 ext/ereg/regex/regex.7 ext/ereg/regex/regex.dsp ext/ereg/regex/regex.dsw ext/ereg/regex/regex.h ext/ereg/regex/regex.mak ext/ereg/regex/regex2.h ext/ereg/regex/regex_extra.h ext/ereg/regex/regexec.c ext/ereg/regex/regfree.c ext/ereg/regex/split.c ext/ereg/regex/tests ext/ereg/regex/utils.h ext/ereg/tests/.cvsignore ext/ereg/tests/001.phpt ext/ereg/tests/002.phpt ext/ereg/tests/003.phpt ext/ereg/tests/004.phpt ext/ereg/tests/005.phpt ext/ereg/tests/006.phpt ext/ereg/tests/007.phpt ext/ereg/tests/008.phpt ext/ereg/tests/009.phpt ext/ereg/tests/010.phpt ext/ereg/tests/011.phpt ext/ereg/tests/012.phpt ext/ereg/tests/013.phpt ext/ereg/tests/014.phpt ext/ereg/tests/015.phpt ext/ereg/tests/016.phpt: - Remove ereg/ from PHP_5_2 branch. (not yet wanted here :) * ext/ereg/.cvsignore ext/ereg/CREDITS: - Initial commit (files will be moved from elsewhere in CVS!) * (PHP_5_2) main/main.c: MFH: folding tags and some more ws fixes * main/main.c: MFB: free error messages + ws fix * main/build-defs.h.in: - Unused macros removed 2007-07-15 Ilia Alshanetsky * (PHP_5_2) main/main.c: Clear out last error & last error file information at the end of the request to ensure that they don't propogate to the next request 2007-07-14 Nuno Lopes * ext/filter/.cvsignore ext/pdo/.cvsignore ext/pdo_mysql/.cvsignore ext/pdo_mysql/.cvsignore ext/pdo_oci/.cvsignore ext/pdo_oci/.cvsignore ext/pdo_pgsql/.cvsignore ext/pdo_pgsql/.cvsignore ext/pdo_sqlite/.cvsignore ext/unicode/.cvsignore ext/xmlreader/.cvsignore ext/xmlwriter/.cvsignore ext/zip/.cvsignore ext/zip/lib/.cvsignore: ignore *.gcda 2007-07-14 Dmitry Stogov * ZendEngine2/tests/bug41919.phpt: Fixed test * ZendEngine2/zend_API.c ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h: Fixed compilation on Windows 2007-07-14 Antony Dovgal * ext/standard/exec.c ext/standard/file.c ext/standard/filestat.c ext/standard/flock_compat.c ext/standard/fsock.c ext/standard/ftp_fopen_wrapper.c ext/standard/head.c ext/standard/html.c ext/standard/http_fopen_wrapper.c ext/standard/incomplete_class.c ext/standard/info.c ext/standard/lcg.c ext/standard/math.c ext/standard/md5.c ext/standard/metaphone.c ext/standard/microtime.c ext/standard/pageinfo.c ext/standard/php_fopen_wrapper.c ext/standard/quot_print.c ext/standard/reg.c ext/standard/sha1.c ext/standard/streamsfuncs.c ext/standard/syslog.c ext/standard/url.c ext/standard/url_scanner.c ext/standard/user_filters.c ext/standard/versioning.c: fix ws, cs & folding 2007-07-13 Sara Golemon * ZendEngine2/zend_API.c: Wrong function name in error message 2007-07-13 Derick Rethans * (PHP_5_2) ext/date/lib/timelib.c: - MFH: Let's always use the macro as llabs() requires c99. * ext/date/lib/timelib.c: - Let's always use the macro as llabs() requires c99. 2007-07-13 Antony Dovgal * ext/standard/tests/array/locale_sort.phpt ext/standard/tests/general_functions/call_user_func_return.phpt: fix test * ext/standard/tests/array/array_keys_variation_003.phpt: add key values to the output * ZendEngine2/zend_operators.c: ("0" == NULL) must be false even in Unicode mode * ext/standard/tests/array/array_keys_variation_002_64bit.phpt ext/standard/tests/array/array_keys_variation_002_64bit.phpt: add 64bit version * ext/standard/tests/array/array_keys_variation_004.phpt ext/standard/tests/array/array_keys_variation_004.phpt ext/standard/tests/array/array_keys_variation_005.phpt ext/standard/tests/array/array_keys_variation_005.phpt: split one more huge test into several smaller ones * ext/standard/tests/array/array_keys.phpt ext/standard/tests/array/array_keys_64bit.phpt ext/standard/tests/array/array_keys_basic.phpt ext/standard/tests/array/array_keys_error.phpt ext/standard/tests/array/array_keys_error.phpt ext/standard/tests/array/array_keys_variation_001.phpt ext/standard/tests/array/array_keys_variation_001.phpt ext/standard/tests/array/array_keys_variation_002.phpt ext/standard/tests/array/array_keys_variation_002.phpt ext/standard/tests/array/array_keys_variation_003.phpt ext/standard/tests/array/array_keys_variation_003.phpt: split one more huge test into several smaller ones * ext/standard/tests/array/array_keys.phpt ext/standard/tests/array/array_keys_64bit.phpt: fix test, add 64bit version * ext/standard/formatted_print.c ext/standard/tests/array/bug35014_64bit.phpt: fix %u in Unicode mode * ZendEngine2/tests/array_append_COW.phpt ZendEngine2/tests/array_unshift_COW.phpt ZendEngine2/tests/double_to_string_64bit.phpt: fix tests 2007-07-13 Dmitry Stogov * ext/date/php_date.c ext/date/tests/010.phpt ext/date/tests/bug35499.phpt ext/date/tests/bug41523.phpt ext/date/tests/bug41964.phpt: Unicode support 2007-07-13 Zoe Slattery * (PHP_5_2) ext/standard/tests/assert/assert_basic.phpt ext/standard/tests/assert/assert_basic1.phpt ext/standard/tests/assert/assert_basic2.phpt ext/standard/tests/assert/assert_basic3.phpt ext/standard/tests/assert/assert_basic4.phpt ext/standard/tests/assert/assert_basic5.phpt ext/standard/tests/assert/assert_error.phpt ext/standard/tests/assert/assert_error1.phpt ext/standard/tests/assert/assert_variation.phpt: Assert test cases * ext/standard/tests/assert/assert_basic.phpt ext/standard/tests/assert/assert_basic.phpt ext/standard/tests/assert/assert_basic1.phpt ext/standard/tests/assert/assert_basic1.phpt ext/standard/tests/assert/assert_basic3.phpt ext/standard/tests/assert/assert_basic3.phpt ext/standard/tests/assert/assert_basic4.phpt ext/standard/tests/assert/assert_basic4.phpt ext/standard/tests/assert/assert_basic5.phpt ext/standard/tests/assert/assert_basic5.phpt ext/standard/tests/assert/assert_error.phpt ext/standard/tests/assert/assert_error.phpt ext/standard/tests/assert/assert_error1.phpt ext/standard/tests/assert/assert_error1.phpt ext/standard/tests/assert/assert_variation.phpt ext/standard/tests/assert/assert_variation.phpt: Assert test cases 2007-07-13 Jani Taskinen * ext/dba/config.m4: - fix wrong logic 2007-07-13 Zoe Slattery * ext/standard/tests/assert/assert_basic2.phpt ext/standard/tests/assert/assert_basic2.phpt: Assert test 2007-07-13 Jani Taskinen * ext/dba/config.m4: - Fixed some issues with enabling builtin stuff when anything else is enabled - Changed all AC_ARG_* options to PHP_ARG_* options - Cleanups. 2007-07-13 Dmitry Stogov * (PHP_5_2) NEWS ext/soap/soap.c ext/soap/soap.c: Fixed bug #41635 (SoapServer and zlib.output_compression with FastCGI result in major slowdown 2007-07-13 Rob Richards * (PHP_5_2) ext/date/lib/timelib.c: MFH: use macro - llabs not always available on win32 * ext/date/lib/timelib.c: use macro - llabs not always available on win32 2007-07-13 Jani Taskinen * (PHP_5_2) ext/ldap/ldap.c: - Do not break thousands of scripts.. (will remove in 5.3) 2007-07-13 Antony Dovgal * (PHP_5_2) ext/oci8/config.m4: MFH: don't allow $PHP_OCI8 to be empty if OCI8 is enabled fixes bug #41988 * ext/oci8/config.m4: don't allow $PHP_OCI8 to be empty when OCI8 is enabled 2007-07-13 Dmitry Stogov * ext/soap/php_http.c ext/soap/php_http.c: Fixed memleak 2007-07-13 Antony Dovgal * ext/standard/basic_functions.c: simplify the patch and prevent NULL retval_ptr_ptr's 2007-07-13 Dmitry Stogov * ZendEngine2/zend_compile.c: Fixed erong compilation for static call to constructor 2007-07-13 Jani Taskinen * (PHP_5_2) ext/ldap/ldap.c: MFH: - Make sure people call ldap_first_attribute() before ldap_next_attribute() * ext/ldap/ldap.c: - Make sure people call ldap_first_attribute() before ldap_next_attribute() * (PHP_5_2) NEWS ext/ldap/ldap.c ext/ldap/php_ldap.h: MFH:- Fixed bug #41127 (Memory leak in ldap_{first|next}_attribute functions) * ext/ldap/php_ldap.h: - Removed non-existing function entry * ext/ldap/ldap.c: - Fixed bug #41127 (Memory leak in ldap_{first|next}_attribute functions) [DOC] The last parameter "ber" is removed by this fix! (It's not needed) 2007-07-12 Johannes Schlüter * (PHP_4_4) README.CVS-RULES README.CVS-RULES: MFH: - Mention [DOC] tag in the README - PHP_5_1 is closed meanwhile - Fixed a small typo * README.CVS-RULES: - Mention [DOC] tag in the README - PHP_5_1 is closed meanwhile - Fixed a small typo 2007-07-12 Ilia Alshanetsky * (PHP_5_2) ZendEngine2/tests/bug41919.phpt: revise test to reflect recent code * (PHP_5_2) ZendEngine2/zend_execute.c: Commit previously missing patch for bug #41919 2007-07-12 Jani Taskinen * (PHP_5_2) NEWS ext/ldap/ldap.c: MFH: - Fixed bug #39291 (ldap_sasl_bind() misses the sasl_authc_id parameter). * ext/ldap/ldap.c: - Fixed bug #39291 (ldap_sasl_bind() is mising sasl_authc_id paratemeter) 2007-07-12 Zoe Slattery * ext/reflection/tests/reflectionObject_FileInfo_basic.phpt ext/reflection/tests/reflectionObject_FileInfo_error.phpt ext/reflection/tests/reflectionObject_constructor_basic.phpt ext/reflection/tests/reflectionObject_constructor_error.phpt ext/reflection/tests/reflectionObject_getConstant_basic.phpt ext/reflection/tests/reflectionObject_getConstant_error.phpt ext/reflection/tests/reflectionObject_getConstants_basic.phpt ext/reflection/tests/reflectionObject_getConstants_error.phpt ext/reflection/tests/reflectionObject_getConstructor_basic.phpt ext/reflection/tests/reflectionObject_getConstructor_error.phpt ext/reflection/tests/reflectionObject_getName_basic.phpt ext/reflection/tests/reflectionObject_getName_error.phpt ext/reflection/tests/reflectionObject_getName_error1.phpt ext/reflection/tests/reflectionObject_isInstance_basic.phpt ext/reflection/tests/reflectionObject_isInstance_error.phpt ext/reflection/tests/reflectionObject_isInstantiable_basic.phpt ext/reflection/tests/reflectionObject_isInstantiable_error.phpt ext/reflection/tests/reflectionObject_isInstantiable_variation.phpt ext/reflection/tests/reflectionObject_isInternal_basic.phpt ext/reflection/tests/reflectionObject_isInternal_error.phpt ext/reflection/tests/reflectionObject_isSubclassOf_basic.phpt ext/reflection/tests/reflectionObject_isSubclassOf_error.phpt ext/reflection/tests/reflectionObject_isUserDefined_basic.phpt ext/reflection/tests/reflectionObject_isUserDefined_error.phpt: reflectionObject tests * ext/reflection/tests/reflectionObject_FileInfo_basic.phpt ext/reflection/tests/reflectionObject_FileInfo_basic.phpt ext/reflection/tests/reflectionObject_FileInfo_error.phpt ext/reflection/tests/reflectionObject_FileInfo_error.phpt ext/reflection/tests/reflectionObject_constructor_basic.phpt ext/reflection/tests/reflectionObject_constructor_basic.phpt ext/reflection/tests/reflectionObject_constructor_error.phpt ext/reflection/tests/reflectionObject_constructor_error.phpt ext/reflection/tests/reflectionObject_getConstant_basic.phpt ext/reflection/tests/reflectionObject_getConstant_basic.phpt ext/reflection/tests/reflectionObject_getConstant_error.phpt ext/reflection/tests/reflectionObject_getConstant_error.phpt ext/reflection/tests/reflectionObject_getConstants_basic.phpt ext/reflection/tests/reflectionObject_getConstants_basic.phpt ext/reflection/tests/reflectionObject_getConstants_error.phpt ext/reflection/tests/reflectionObject_getConstants_error.phpt ext/reflection/tests/reflectionObject_getConstructor_basic.phpt ext/reflection/tests/reflectionObject_getConstructor_basic.phpt ext/reflection/tests/reflectionObject_getConstructor_error.phpt ext/reflection/tests/reflectionObject_getConstructor_error.phpt ext/reflection/tests/reflectionObject_getName_basic.phpt ext/reflection/tests/reflectionObject_getName_basic.phpt ext/reflection/tests/reflectionObject_getName_error.phpt ext/reflection/tests/reflectionObject_getName_error.phpt ext/reflection/tests/reflectionObject_getName_error1.phpt ext/reflection/tests/reflectionObject_getName_error1.phpt ext/reflection/tests/reflectionObject_isInstance_basic.phpt ext/reflection/tests/reflectionObject_isInstance_basic.phpt ext/reflection/tests/reflectionObject_isInstance_error.phpt ext/reflection/tests/reflectionObject_isInstance_error.phpt ext/reflection/tests/reflectionObject_isInstantiable_basic.phpt ext/reflection/tests/reflectionObject_isInstantiable_basic.phpt ext/reflection/tests/reflectionObject_isInstantiable_error.phpt ext/reflection/tests/reflectionObject_isInstantiable_error.phpt ext/reflection/tests/reflectionObject_isInstantiable_variation.phpt ext/reflection/tests/reflectionObject_isInstantiable_variation.phpt ext/reflection/tests/reflectionObject_isInternal_basic.phpt ext/reflection/tests/reflectionObject_isInternal_basic.phpt ext/reflection/tests/reflectionObject_isInternal_error.phpt ext/reflection/tests/reflectionObject_isInternal_error.phpt ext/reflection/tests/reflectionObject_isSubclassOf_basic.phpt ext/reflection/tests/reflectionObject_isSubclassOf_basic.phpt ext/reflection/tests/reflectionObject_isSubclassOf_error.phpt ext/reflection/tests/reflectionObject_isSubclassOf_error.phpt ext/reflection/tests/reflectionObject_isUserDefined_basic.phpt ext/reflection/tests/reflectionObject_isUserDefined_basic.phpt ext/reflection/tests/reflectionObject_isUserDefined_error.phpt ext/reflection/tests/reflectionObject_isUserDefined_error.phpt: file reflectionObject_FileInfo_basic.phpt was initially added on branch PHP_5_2. 2007-07-12 Ulf Wendel * ext/mysqli/tests/060.phpt ext/mysqli/tests/061.phpt ext/mysqli/tests/062.phpt ext/mysqli/tests/063.phpt ext/mysqli/tests/064.phpt ext/mysqli/tests/065.phpt ext/mysqli/tests/066.phpt ext/mysqli/tests/067.phpt ext/mysqli/tests/068.phpt ext/mysqli/tests/069.phpt ext/mysqli/tests/070.phpt ext/mysqli/tests/071.phpt ext/mysqli/tests/072.phpt ext/mysqli/tests/073.phpt ext/mysqli/tests/074.phpt: The last bunch of changes to the old 0*.phpt tests. Once final time a verbose explanation of changes: - take connection parameter from connect.inc - use proper UEXPECTF - have 'print "done!"' or similar at the end to detect crashes - whitespace changes where needed - take care of portability: PHP 5 vs. PHP 5, MySQL 4.1 - 6.0 - understand return value checking as sometime that makes you type more when you write but makes you happy when you debug * ext/mysqli/tests/050.phpt ext/mysqli/tests/051.phpt ext/mysqli/tests/052.phpt ext/mysqli/tests/053.phpt ext/mysqli/tests/054.phpt ext/mysqli/tests/055.phpt ext/mysqli/tests/056.phpt ext/mysqli/tests/057.phpt ext/mysqli/tests/058.phpt ext/mysqli/tests/059.phpt: Will this never end? - connection parameter tweaking - a bit of whitespace here and there - use UEXPECTF if need be * ext/mysqli/tests/040.phpt ext/mysqli/tests/041.phpt ext/mysqli/tests/042.phpt ext/mysqli/tests/043.phpt ext/mysqli/tests/044.phpt ext/mysqli/tests/045.phpt ext/mysqli/tests/046.phpt ext/mysqli/tests/047.phpt ext/mysqli/tests/048.phpt ext/mysqli/tests/049.phpt: As usual: - connection parameter tweaking - a bit of whitespace here and there - use UEXPECTF if need be * ext/mysqli/tests/030.phpt ext/mysqli/tests/031.phpt ext/mysqli/tests/032.phpt ext/mysqli/tests/033.phpt ext/mysqli/tests/034.phpt ext/mysqli/tests/035.phpt ext/mysqli/tests/036.phpt ext/mysqli/tests/037.phpt ext/mysqli/tests/038.phpt ext/mysqli/tests/039.phpt: Connection parameter should be taken from connect.inc and used all in mysqli_connect() and friends. Use UEXPECTF instead of crippled EXPECTF. * ext/mysqli/tests/020.phpt ext/mysqli/tests/021.phpt ext/mysqli/tests/022.phpt ext/mysqli/tests/023.phpt ext/mysqli/tests/024.phpt ext/mysqli/tests/025.phpt ext/mysqli/tests/026.phpt ext/mysqli/tests/027.phpt ext/mysqli/tests/028.phpt ext/mysqli/tests/029.phpt: I forgot to mention: some will fail. In particular in unicode mode. Next 10 in row to be tweaked: - take connection parameter from connect.inc - use proper UEXPECTF - have 'print "done!"' or similar at the end to detect crashes - whitespace changes where needed - take care of portability: PHP 5 vs. PHP 5, MySQL 4.1 - 6.0 - understand return value checking as sometime that makes you type more when you write but makes you happy when you debug * ext/mysqli/tests/010.phpt ext/mysqli/tests/011.phpt ext/mysqli/tests/012.phpt ext/mysqli/tests/013.phpt ext/mysqli/tests/014.phpt ext/mysqli/tests/015.phpt ext/mysqli/tests/016.phpt ext/mysqli/tests/017.phpt ext/mysqli/tests/018.phpt ext/mysqli/tests/019.phpt: Next 10 in row to be tweaked: - take connection parameter from connect.inc - use proper UEXPECTF - have 'print "done!"' or similar at the end to detect crashes - whitespace changes where needed - take care of portability: PHP 5 vs. PHP 5, MySQL 4.1 - 6.0 - understand return value checking as sometime that makes you type more when you write but makes you happy when you debug * ext/mysqli/tests/005.phpt ext/mysqli/tests/006.phpt ext/mysqli/tests/007.phpt ext/mysqli/tests/008.phpt ext/mysqli/tests/009.phpt: The usual tweaking: - take connection parameter from connect.inc - use proper UEXPECTF - have 'print "done!"' or similar at the end to detect crashes - whitespace changes where needed - take care of portability: PHP 5 vs. PHP 5, MySQL 4.1 - 6.0 * ext/mysqli/tests/003.phpt ext/mysqli/tests/004.phpt: Pretty much the same cosmetics and tweaking as before (proper UEXPECTF, "done!" at the end to detect crashes, connection parameter tweaking, ...) - plus: check return codes even if failures are unlikely. * ext/mysqli/tests/002.phpt: More typical changes: 1) Try to have portable SQL, don't create your own schema unless the test wants to test exactly this 2) Don't rely on default SQL sort orders 3) Use proper UEXPECTF. There have been a lot of tiny unicode issues when ext/mysqli has returned a binary string in unicode mode although a unicode string could be expected and vice versa * ext/mysqli/tests/001.phpt: All the upcoming changes in the 0*.phpt files are pretty much the same. I'll describe them only once in with a bit of detail. 1) Correct Whitespace (space vs. tab) if need be 2) Recall: you get the connection parameter from connect.inc, no DB name, no port no other connection parameter in any of the tests! 3) At the end of each test you find a "print 'done!'" or similar. This is most helpful to detect crashing/segfaulting tests with all run-tests.php versions. * ext/mysqli/tests/mysqli_affected_rows.phpt ext/mysqli/tests/mysqli_affected_rows_oo.phpt ext/mysqli/tests/mysqli_autocommit.phpt ext/mysqli/tests/mysqli_autocommit_oo.phpt: Adding tests for mysqli_affected_rows() and mysqli_autocommit() * ext/mysqli/tests/table.inc: Some of the upcoming new tests will use this little helper to create a very simple MySQL table with some data in it to play with. * ext/mysqli/tests/skipif.inc: Some tests intentionally fail connecting to the DB. Not being able to connect is no reason to skip the test. Also, no test should have hard-wired connection parameter in it. Connection parameters come from connect.inc (see environment variables in connect.inc). * ext/mysqli/tests/connect.inc: Starting to merge the latest set of ext/mysqli tests from the mysqlnd SVN repro into HEAD. Again, it might happen that I crash the set of tests and don't mention one or the other change while merging. Blame me... 1) Note the new environment variables to control the test run 2) Variables $IS_MYSQLND and $MYSQLND_VERSION are for writing portable tests 3) sys_get_temp_dir function is for PHP5/PHP6 portability 2007-07-12 Derick Rethans * ext/date/lib/parse_date.c: - Commit generated file. * ext/date/php_date.c: - Missing file in commit. * (PHP_5_2) NEWS ext/date/lib/parse_date.re ext/date/lib/timelib.c ext/date/lib/unixtime2tm.c ext/date/tests/bug35499.phpt ext/date/tests/bug41523.phpt ext/date/tests/bug41709.phpt ext/date/tests/bug41842.phpt ext/date/tests/bug41844.phpt ext/date/tests/bug41964.phpt: - MFH: Fixed bug #41964 (strtotime returns a timestamp for non-time string of pattern '(A|a) .+'). - MFH: Fixed bug #41844 (Format returns incorrect number of digits for negative years -0001 to -0999). - MFH: Fixed bug #41842 (Cannot create years < 0100 & negative years with date_create or new DateTime). - MFH: Fixed bug #41709 (strtotime() does not handle 00.00.0000). - MFH: Fixed bug #41523 (strtotime('0000-00-00 00:00:00') is parsed as 1999-11-30). * ext/date/tests/bug41523.phpt ext/date/tests/bug41523.phpt ext/date/tests/bug41709.phpt ext/date/tests/bug41709.phpt ext/date/tests/bug41842.phpt ext/date/tests/bug41842.phpt ext/date/tests/bug41844.phpt ext/date/tests/bug41844.phpt ext/date/tests/bug41964.phpt ext/date/tests/bug41964.phpt: - Fixed bug #41964 (strtotime returns a timestamp for non-time string of pattern '(A|a) .+'). - Fixed bug #41844 (Format returns incorrect number of digits for negative years -0001 to -0999). - Fixed bug #41842 (Cannot create years < 0100 & negative years with date_create or new DateTime). - Fixed bug #41709 (strtotime() does not handle 00.00.0000). - Fixed bug #41523 (strtotime('0000-00-00 00:00:00') is parsed as 1999-11-30). * ext/date/lib/parse_date.re ext/date/lib/timelib.c ext/date/lib/unixtime2tm.c ext/date/tests/bug35499.phpt: - Fixed bug #41964 (strtotime returns a timestamp for non-time string of pattern '(A|a) .+'). - Fixed bug #41844 (Format returns incorrect number of digits for negative years -0001 to -0999). - Fixed bug #41842 (Cannot create years < 0100 & negative years with date_create or new DateTime). - Fixed bug #41709 (strtotime() does not handle 00.00.0000). - Fixed bug #41523 (strtotime('0000-00-00 00:00:00') is parsed as 1999-11-30). 2007-07-12 Jani Taskinen * acinclude.m4: fix the configure output * ext/standard/tests/strings/fprintf.phpt: fix test * ext/unicode/config.m4 ext/unicode/config.w32 ext/unicode/unicode.dsp: - Removed unnecessary stuff 2007-07-12 Ulf Wendel * ext/mysql/tests/mysql_result.phpt: 1) Whitespace/CS 2) Playing with column aliases * ext/mysql/tests/mysql_query.phpt: Testing SELECT "a" AS "". This is nice to test strcmp() and similar... 2007-07-12 Seiji Masugata * ext/mbstring/mbstring.c ext/mbstring/mbstring.c: Synced mail function in mb_send_mail function(Escape mail.force_extra_parameters value). 2007-07-12 Antony Dovgal * ext/unicode/unicode.c: fix MINFO handler 2007-07-12 Ulf Wendel * ext/mysql/tests/mysql_constants.phpt: Blame me for not checking in a version that's been cleaned up with regards to Whitespace/CS... * ext/mysql/tests/mysql_set_charset.phpt: Whoever has hacked this function into ext/mysql, here's a "test" for it. * ext/mysql/tests/mysql_phpinfo.phpt: Checking the phpinfo() entries of ext/mysql * ext/mysql/tests/mysql_list_tables.phpt: Adding test for mysql_list_tables() 2007-07-12 Jani Taskinen * configure.in: - missing comma 2007-07-12 Ulf Wendel * ext/mysql/tests/mysql_constants.phpt: Checks if ext/mysql exposes all constants it should expose. * ext/mysql/tests/mysql_tablename.phpt: No skipping needed anymore, function is there even with mysqlnd. * ext/mysql/tests/mysql_errno.phpt: A bit more verbose message in case of problems. It's been helpful to debug a cross-server version issue. * ext/mysql/tests/mysql_unbuffered_query.phpt: 1) Whitespace/CS 2) Fixing [U]EXPECTF to be portable among different MySQL Server versions * ext/mysql/tests/mysql_thread_id.phpt: 1) Whitespace/CS 2) Added test for default link * ext/mysql/tests/mysql_tablename.phpt: 1) Whitespace/CS 2) Added: skip test with mysqlnd, mysqlnd does not support this function currently * ext/mysql/tests/mysql_stat.phpt: 1) Whitespace/CS 2) Added check for default connection * ext/mysql/tests/mysql_select_db.phpt: 1) Whitespace/CS 2) Fixing [U]EXPECTF to accept whatever db/schema name gets used for the test run 2007-07-12 Jani Taskinen * ext/standard/reg.c: MFB: fix warning * (PHP_5_2) configure.in: MFH: fix invalid logic + prevent non-integers to be passed * configure.in: - Fix invalid logic (plus made it possible to pass only integers to this) * ext/standard/tests/file/bug41815.phpt: - Added test for bug #41815 * ext/standard/tests/file/bug41815.phpt ext/standard/tests/file/bug41815.phpt main/streams/plain_wrapper.c: file bug41815.phpt was initially added on branch PHP_5_2. * (PHP_5_2) NEWS: MFH: - Fixed bug #41815 (Concurrent read/write fails when EOF is reached) 2007-07-12 Ulf Wendel * ext/mysql/tests/mysql_real_escape_string.phpt: 1) Whitespace/CS 2) Tiny check for default link added * ext/mysql/tests/mysql_query.phpt: 1) Whitespace/CS 2) Portability: don't expect any values and have them in the [U]EXPECTF, if they will be available only with certain MySQL Server versions. 2007-07-12 Dmitry Stogov * (PHP_5_2) NEWS ZendEngine2/zend_object_handlers.c ZendEngine2/zend_object_handlers.c ZendEngine2/tests/bug41961.phpt ZendEngine2/tests/bug41961.phpt ZendEngine2/tests/bug41961.phpt: Fixed bug #41961 (Ensure search for hidden private methods does not stray from class hierarchy). (robin_fernandes at uk dot ibm dot com) 2007-07-12 Ulf Wendel * ext/mysql/tests/mysql_ping.phpt: 1) Whitespace/CS 2) One line added to test default connection * ext/mysql/tests/mysql_pconnect.phpt: 1) Whitespace/CS 2) Test mysql.default_socket only if we're using a socket to connect * ext/mysql/tests/mysql_num_rows.phpt: Whitespace/CS only 2007-07-12 Antony Dovgal * ext/xmlrpc/xmlrpc-epi-php.c: fix ws, cs and folding * ext/json/JSON_parser.c ext/json/utf8_decode.c ext/json/utf8_to_utf16.c: fix WS, CS and other S * ZendEngine2/tests/020.phpt: add new test * ZendEngine2/tests/020.phpt ZendEngine2/tests/020.phpt: file 020.phpt was initially added on branch PHP_5_2. * ext/standard/tests/general_functions/is_callable.phpt ext/standard/tests/general_functions/is_callable.phpt: fix test 2007-07-12 Dmitry Stogov * NEWS ZendEngine2/zend_API.c ZendEngine2/zend_compile.c ZendEngine2/zend_compile.h ZendEngine2/zend_execute_API.c ZendEngine2/zend_globals.h ZendEngine2/zend_language_parser.y ZendEngine2/zend_language_scanner.l ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h ZendEngine2/tests/ns_001.phpt ZendEngine2/tests/ns_002.phpt ZendEngine2/tests/ns_003.phpt ZendEngine2/tests/ns_004.phpt ZendEngine2/tests/ns_005.phpt ZendEngine2/tests/ns_006.phpt ZendEngine2/tests/ns_007.phpt ZendEngine2/tests/ns_008.phpt ZendEngine2/tests/ns_009.phpt ZendEngine2/tests/ns_011.phpt ZendEngine2/tests/ns_012.phpt ZendEngine2/tests/ns_013.phpt ZendEngine2/tests/ns_014.phpt ZendEngine2/tests/ns_015.phpt ZendEngine2/tests/ns_016.phpt ZendEngine2/tests/ns_017.phpt ZendEngine2/tests/ns_018.phpt ZendEngine2/tests/ns_019.phpt ZendEngine2/tests/ns_021.phpt ZendEngine2/tests/ns_022.phpt ZendEngine2/tests/ns_023.phpt ZendEngine2/tests/ns_024.phpt ZendEngine2/tests/ns_031.phpt ZendEngine2/tests/ns_032.phpt: Namespaces 2007-07-12 Antony Dovgal * ext/standard/basic_functions.c ext/standard/tests/general_functions/bug41970.phpt: fix #41970 (call_user_func_*() leaks on failure) 2007-07-11 Jani Taskinen * (PHP_5_2) configure.in ext/odbc/config.m4 sapi/aolserver/config.m4 sapi/apache/config.m4 sapi/apache2filter/config.m4 sapi/apache2handler/config.m4 sapi/apache_hooks/config.m4 sapi/caudium/config.m4 sapi/cgi/config9.m4 sapi/cli/config.m4 sapi/continuity/config.m4 sapi/embed/config.m4 sapi/isapi/config.m4 sapi/milter/config.m4 sapi/nsapi/config.m4 sapi/phttpd/config.m4 sapi/pi3web/config.m4 sapi/roxen/config.m4 sapi/thttpd/config.m4 sapi/tux/config.m4 sapi/webjames/config.m4: MFH: - Changed AC_ARG_* options to PHP_ARG_* options. MFH: - Some cleanups here and there MFH: - Enabled PHP_CHECK_CONFIGURE_OPTIONS (checks for unknown configure MFH: options) * configure.in: - Enabled PHP_CHECK_CONFIGURE_OPTIONS (check for unknown configure options) * ext/odbc/config.m4: - Changed all AC_ARG_* options to PHP_ARG_* options. * sapi/aolserver/config.m4 sapi/apache/config.m4 sapi/apache2filter/config.m4 sapi/apache2handler/config.m4 sapi/apache_hooks/config.m4 sapi/caudium/config.m4 sapi/cgi/config9.m4 sapi/cli/config.m4 sapi/continuity/config.m4 sapi/embed/config.m4 sapi/isapi/config.m4 sapi/milter/config.m4 sapi/nsapi/config.m4 sapi/phttpd/config.m4 sapi/pi3web/config.m4 sapi/roxen/config.m4 sapi/thttpd/config.m4 sapi/tux/README sapi/tux/config.m4 sapi/webjames/config.m4: - Changed all AC_ARG_* options to PHP_ARG_* options and cleaned up some 2007-07-11 Antony Dovgal * ext/oci8/config.m4: check PHP version only when enabled and replace tabs with spaces * ext/reflection/php_reflection.c ext/reflection/tests/bug41884.phpt ext/reflection/tests/bug41884.phpt: implement (or fix?) #41884 (ReflectionClass::getDefaultProperties() does not handle static attributes) 2007-07-11 Jani Taskinen * ext/pdo_pgsql/config.m4 ext/pgsql/config.m4: - Removed unused empty macro and nuked illegal use of $withval * acinclude.m4: MFB: PHP_CHECK_CONFIGURE_OPTIONS 2007-07-11 Zoe Slattery * ext/reflection/tests/reflectionClass_getName_basic.phpt ext/reflection/tests/reflectionClass_getName_error.phpt ext/reflection/tests/reflectionClass_getName_error1.phpt ext/reflection/tests/reflectionClass_isInstance_basic.phpt ext/reflection/tests/reflectionClass_isInstance_error.phpt ext/reflection/tests/reflectionClass_isInstantiable_basic.phpt ext/reflection/tests/reflectionClass_isInstantiable_error.phpt ext/reflection/tests/reflectionClass_isInstantiable_variation.phpt ext/reflection/tests/reflectionClass_isInternal_basic.phpt ext/reflection/tests/reflectionClass_isInternal_error.phpt ext/reflection/tests/reflectionClass_isSubclassOf_basic.phpt ext/reflection/tests/reflectionClass_isSubclassOf_error.phpt ext/reflection/tests/reflectionClass_isSubclassOf_error1.phpt ext/reflection/tests/reflectionClass_isUserDefined_basic.phpt ext/reflection/tests/reflectionClass_isUserDefined_error.phpt: More reflectionClass tests * ext/reflection/tests/reflectionClass_getName_basic.phpt ext/reflection/tests/reflectionClass_getName_basic.phpt ext/reflection/tests/reflectionClass_getName_error.phpt ext/reflection/tests/reflectionClass_getName_error.phpt ext/reflection/tests/reflectionClass_getName_error1.phpt ext/reflection/tests/reflectionClass_getName_error1.phpt ext/reflection/tests/reflectionClass_isInstance_basic.phpt ext/reflection/tests/reflectionClass_isInstance_basic.phpt ext/reflection/tests/reflectionClass_isInstance_error.phpt ext/reflection/tests/reflectionClass_isInstance_error.phpt ext/reflection/tests/reflectionClass_isInstantiable_basic.phpt ext/reflection/tests/reflectionClass_isInstantiable_basic.phpt ext/reflection/tests/reflectionClass_isInstantiable_error.phpt ext/reflection/tests/reflectionClass_isInstantiable_error.phpt ext/reflection/tests/reflectionClass_isInstantiable_variation.phpt ext/reflection/tests/reflectionClass_isInstantiable_variation.phpt ext/reflection/tests/reflectionClass_isInternal_basic.phpt ext/reflection/tests/reflectionClass_isInternal_basic.phpt ext/reflection/tests/reflectionClass_isInternal_error.phpt ext/reflection/tests/reflectionClass_isInternal_error.phpt ext/reflection/tests/reflectionClass_isSubclassOf_basic.phpt ext/reflection/tests/reflectionClass_isSubclassOf_basic.phpt ext/reflection/tests/reflectionClass_isSubclassOf_error.phpt ext/reflection/tests/reflectionClass_isSubclassOf_error.phpt ext/reflection/tests/reflectionClass_isSubclassOf_error1.phpt ext/reflection/tests/reflectionClass_isSubclassOf_error1.phpt ext/reflection/tests/reflectionClass_isUserDefined_basic.phpt ext/reflection/tests/reflectionClass_isUserDefined_basic.phpt ext/reflection/tests/reflectionClass_isUserDefined_error.phpt ext/reflection/tests/reflectionClass_isUserDefined_error.phpt: file reflectionClass_getName_basic.phpt was initially added on branch PHP_5_2. 2007-07-11 Johannes Schlüter * acinclude.m4 ext/mbstring/mbstring.c ext/standard/basic_functions.c ext/standard/mail.c ext/standard/php_mail.h main/config.w32.h main/main.c win32/build/config.w32.h.in: - Always enable mail() function 2007-07-11 Dmitry Stogov * ext/standard/basic_functions.c ext/xmlreader/php_xmlreader.c ext/xmlreader/tests/008.phpt main/streams/memory.c: Unicode support 2007-07-11 Ulf Wendel * ext/mysql/tests/mysql_num_fields.phpt: Whitespace/CS only * ext/mysql/tests/mysql_list_processes.phpt: Whitespace/Coding Standards and check added for default connection. 2007-07-11 Johannes Schlüter * ext/standard/tests/strings/count_chars.phpt: Fix test for unicode mode 2007-07-11 Ulf Wendel * ext/mysql/tests/mysql_fetch_field.phpt: Whitespace and more testing. * ext/mysql/tests/mysql_insert_id.phpt ext/mysql/tests/mysql_list_dbs.phpt: Whitespace and new checks for default connection. 2007-07-11 Dmitry Stogov * ZendEngine2/zend_API.h: Fixed ascii->unicode conversion (terminating unicode character must be 0) 2007-07-11 Jani Taskinen * (PHP_5_2) acinclude.m4: - Introducing 1st part of "show unknown configure options" and nuked PHP_REGEX macro for good 2007-07-11 Ulf Wendel * ext/mysql/tests/mysql_info.phpt ext/mysql/tests/mysql_list_fields.phpt: Whitespace only * ext/mysql/tests/mysql_get_host_info.phpt ext/mysql/tests/mysql_get_proto_info.phpt ext/mysql/tests/mysql_get_server_info.phpt: Mainly Whitespace/CS changes. Partly "too many arguments" check added. * ext/mysql/tests/mysql_get_client_info.phpt: Whitespace and new "too many arguments" check. * ext/mysql/tests/mysql_free_result.phpt: Whitespace/Coding Standards and new check what happens if one tries to free not a mysql resource but a file resource. * ext/mysql/tests/mysql_field_type.phpt: Whitespace/Coding Standard * ext/mysql/tests/mysql_field_name.phpt ext/mysql/tests/mysql_field_seek.phpt ext/mysql/tests/mysql_field_table.phpt: Removing reference to skipifemb.inc which is not needed and Whitespace/Coding Standards. 2007-07-11 Dmitry Stogov * main/streams/streams.c main/streams/streams.c: Fixed wrong warning 2007-07-11 Ulf Wendel * ext/mysql/tests/mysql_field_len.phpt: Whitespace and the usual suspect: skipifemb.inc * ext/mysql/tests/mysql_field_flags.phpt: Whitespace/Coding Standards, removal of skipifemb.inc, improved testing and checking for expected field types. * ext/mysql/tests/mysql_fetch_row.phpt: Whitespace and - as usual - removing skipifemb.inc * ext/mysql/tests/mysql_fetch_object.phpt: Whitespace/Coding Standards, removing reference to skipifemb.inc, tweaking EXPECTF. * ext/mysql/tests/mysql_fetch_lengths.phpt: Whitespace. Removing reference to skipifemb.inc. * ext/mysql/tests/mysql_fetch_array.phpt: Aside from whitespace / coding standards this one is more interesting. We added a flag to check if a MySQL column type is a binary type. If so, ext/mysql should return data for such columns not as unicode strings but as binary strings if unicode.semantics is on. * ext/mysql/tests/mysql_fetch_assoc.phpt: Whitespace / Coding Standards 2007-07-11 Antony Dovgal * ext/reflection/php_reflection.c: fix typo and bug #41962 2007-07-11 Ulf Wendel * ext/mysql/tests/mysql_escape_string.phpt: 1) Whitespace / Coding Standards 2) Don't even dare to have variables that sound like connection parameters and don't come from connect.inc 3) skipifem.inc is not there for ext/mysql tests * ext/mysql/tests/mysql_errno.phpt ext/mysql/tests/mysql_error.phpt: Whitespace/Coding Standards. The tests origin from ext/mysqli/tests. ext/mysqli/tests should have a skipifemb.inc, which is not needed and not available for ext/mysql/tests. Nevertheless the tests tried to include that file. 2007-07-11 Dmitry Stogov * ext/standard/tests/array/extract.phpt ext/standard/tests/file/flock_error.phpt: Fixed tests * ZendEngine2/zend_API.c: Made uniform error reporting for unicode/non-unicode modes 2007-07-11 Ulf Wendel * ext/mysql/tests/mysql_db_query.phpt: Whitespace/Coding Standards. Test for default link added. * ext/mysql/tests/mysql_db_name.phpt ext/mysql/tests/mysql_drop_db.phpt: Those two should be whitespace / coding standards only. However, in some of my commit messages I might be wrong, it's hard to say what we added to the tests and I might miss this or that little detail, although I check the diff before commit. * ext/mysql/tests/mysql_create_db.phpt ext/mysql/tests/mysql_data_seek.phpt: Should be whitespace/coding standards changes only. * ext/mysql/tests/mysql_connect.phpt: Mostly whitespace (replacing spaces with tab). Additional, weak test for "host:port:socket" syntax, just to make sure we cover the underlying C code. 2007-07-11 Dmitry Stogov * (PHP_5_2) NEWS ext/openssl/openssl.c ext/openssl/tests/bug28382.phpt: mproced openssl_x509_parse() to return extensions in readable form * ext/openssl/openssl.c ext/openssl/tests/005.phpt ext/openssl/tests/bug28382.phpt: Unicode support improved openssl_x509_parse() extensions support 2007-07-11 Ulf Wendel * ext/mysql/tests/mysql_affected_rows.phpt ext/mysql/tests/mysql_client_encoding.phpt ext/mysql/tests/mysql_close.phpt: Whitespace: replacing spaces with tab to follow coding conventions. One tiny change in mysql_close.phpt: don't overrule connection parameter in any of the tests. Alway take connection parameter, including the database name ($db), from connect.inc. 2007-07-11 Jani Taskinen * ext/standard/config.m4: - Nuke extra AC_MSG_CHECKING * (PHP_5_2) ext/standard/config.m4: MFH: cleanup, removed unnecessary macro definitions 2007-07-11 Antony Dovgal * ZendEngine2/zend_constants.c ZendEngine2/zend_default_classes.c ZendEngine2/zend_dynamic_array.c ZendEngine2/zend_execute.c ZendEngine2/zend_execute_API.c ZendEngine2/zend_extensions.c ZendEngine2/zend_hash.c ZendEngine2/zend_highlight.c ZendEngine2/zend_indent.c ZendEngine2/zend_ini.c ZendEngine2/zend_iterators.c ZendEngine2/zend_list.c ZendEngine2/zend_llist.c ZendEngine2/zend_object_handlers.c ZendEngine2/zend_objects.c ZendEngine2/zend_objects_API.c ZendEngine2/zend_opcode.c ZendEngine2/zend_operators.c ZendEngine2/zend_ptr_stack.c ZendEngine2/zend_qsort.c ZendEngine2/zend_sprintf.c ZendEngine2/zend_stack.c ZendEngine2/zend_static_allocator.c ZendEngine2/zend_stream.c ZendEngine2/zend_strtod.c ZendEngine2/zend_ts_hash.c ZendEngine2/zend_unicode.c ZendEngine2/zend_variables.c: fix folding, CS and WS 2007-07-11 Ulf Wendel * ext/mysql/tests/001.phpt ext/mysql/tests/002.phpt ext/mysql/tests/003.phpt ext/mysql/tests/connect.inc ext/mysql/tests/skipif.inc ext/mysql/tests/table.inc: Trying to fix broken tests. The last set of files committed a few weeks ago broke almost all tests. I'll try to merge the CVS with a working set of tests from the mysqlnd development repository. With this first set of changes most tests should run (and pass) again. Note the additional environment variables in connect.inc that you can use to control a test run. More changes to come. 2007-07-11 Jani Taskinen * acinclude.m4: - Improved PHP_SETUP_ICU * acinclude.m4 ext/standard/config.m4: - Cleanup, nuked some unnecessary macros. * main/main.c: - No return value for void function 2007-07-11 Raghubansh Kumar * (PHP_5_2) ext/standard/tests/file/popen_pclose_error-sunos.phpt ext/standard/tests/file/popen_pclose_error.phpt: better check for skip 2007-07-11 Jani Taskinen * (PHP_5_2) ext/snmp/config.m4: MFH: Changed AC_ARG_ENABLE to PHP_ARG_ENABLE * ext/snmp/config.m4: - Changed AC_ARG_ENABLE to PHP_ARG_ENABLE 2007-07-11 Dmitry Stogov * ext/xml/xml.c: unicode support * ext/openssl/openssl.c ext/openssl/openssl.c: Fixed memory leak * ext/openssl/openssl.c: Fixed crash on non-string passphrase and unicode support * (PHP_5_2) ext/openssl/openssl.c: Fixed crash on non-string passphrase * tests/classes/serialize_001.phpt: removed seccond --UEXPECT-- 2007-07-10 Stanislav Malyshev * (PHP_4_4) NEWS NEWS: add CVE ref * ext/standard/mail.c ext/standard/mail.c: Escape mail.force_extra_parameters value * (PHP_4_4) NEWS: report fix 2007-07-10 Sascha Schumann * main/streams/plain_wrapper.c: - fix concurrent reader/writer use case (we read, while the other process writes -> if we don't try read we won't notice that the file has been growing.) 2007-07-10 Stanislav Malyshev * main/main.c main/main.c main/main.c: check if write is allowed before writing to error log * (PHP_5_2) main/main.c: suppress warnings to avoid potential loop * ext/session/mod_files.c ext/session/mod_files.c ext/session/mod_files.c: always check save_path (issue reported by Maksymilian Arciemowicz) * (PHP_5_2) NEWS: fixes 2007-07-10 Dmitry Stogov * ext/standard/file.c: Fixed fgets() and fgetss() with limits 2007-07-10 Zoe Slattery * (PHP_5_2) ext/reflection/tests/reflectionClass_FileInfo_basic.phpt ext/reflection/tests/reflectionClass_FileInfo_error.phpt ext/reflection/tests/reflectionClass_getConstant_basic.phpt ext/reflection/tests/reflectionClass_getConstant_error.phpt ext/reflection/tests/reflectionClass_getConstants_basic.phpt ext/reflection/tests/reflectionClass_getConstants_error.phpt ext/reflection/tests/reflectionClass_getConstructor_basic.phpt ext/reflection/tests/reflectionClass_getConstructor_error.phpt: tests for reflectionClass * ext/reflection/tests/reflectionClass_FileInfo_basic.phpt ext/reflection/tests/reflectionClass_FileInfo_basic.phpt ext/reflection/tests/reflectionClass_FileInfo_error.phpt ext/reflection/tests/reflectionClass_FileInfo_error.phpt ext/reflection/tests/reflectionClass_getConstant_basic.phpt ext/reflection/tests/reflectionClass_getConstant_basic.phpt ext/reflection/tests/reflectionClass_getConstant_error.phpt ext/reflection/tests/reflectionClass_getConstant_error.phpt ext/reflection/tests/reflectionClass_getConstants_basic.phpt ext/reflection/tests/reflectionClass_getConstants_basic.phpt ext/reflection/tests/reflectionClass_getConstants_error.phpt ext/reflection/tests/reflectionClass_getConstants_error.phpt ext/reflection/tests/reflectionClass_getConstructor_basic.phpt ext/reflection/tests/reflectionClass_getConstructor_basic.phpt ext/reflection/tests/reflectionClass_getConstructor_error.phpt ext/reflection/tests/reflectionClass_getConstructor_error.phpt: Tests for reflectionClass 2007-07-10 Dmitry Stogov * ext/standard/html.c: MFB htmlentities() / htmlspecialchars() "don't double encode" flag support 2007-07-10 Antony Dovgal * ZendEngine2/zend.c ZendEngine2/zend_API.c ZendEngine2/zend_alloc.c ZendEngine2/zend_builtin_functions.c ZendEngine2/zend_compile.c: fix folding and ws 2007-07-10 Dmitry Stogov * ext/standard/string.c ext/standard/tests/strings/strripos_offset.phpt: Fixed limit warnings in non-unicode mode * TSRM/tsrm_virtual_cwd.c TSRM/tsrm_virtual_cwd.c ext/standard/link.c ext/standard/link.c ext/standard/tests/file/symlink_link_linkinfo_is_link_error1.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_error1.phpt main/fopen_wrappers.c main/fopen_wrappers.c: Fixed symlink("", "somthing") and link("", "somthing") in ZTS mode 2007-07-10 Rob Richards * (PHP_5_2) NEWS: BFN * ext/simplexml/simplexml.c ext/simplexml/tests/bug41947.phpt: MFB: fix bug #41947 (SimpleXML incorrectly registers empty strings as namespaces add test * (PHP_5_2) ext/simplexml/simplexml.c ext/simplexml/tests/bug41947.phpt ext/simplexml/tests/bug41947.phpt: fix bug #41947 (SimpleXML incorrectly registers empty strings as namespaces add test 2007-07-10 Dmitry Stogov * (PHP_5_2) main/streams/streams.c: Fixed warning 2007-07-10 Antony Dovgal * ext/bcmath/libbcmath/src/div.c ext/bcmath/libbcmath/src/init.c ext/bcmath/libbcmath/src/num2str.c: use safe_emalloc() 2007-07-10 Dmitry Stogov * tests/unicode/autodetect-SCSU.phpt tests/unicode/autodetect-UTF16BE.phpt tests/unicode/autodetect-UTF16LE.phpt tests/unicode/autodetect-UTF32BE.phpt tests/unicode/autodetect-UTF32LE.phpt tests/unicode/autodetect-UTF7.phpt tests/unicode/autodetect-UTF8.phpt tests/unicode/enc-HZ.phpt tests/unicode/enc-ISO-2022-KR.phpt tests/unicode/enc-JIS.phpt tests/unicode/enc-SJIS.phpt tests/unicode/encrt-HZ.phpt tests/unicode/encrt-ISO-2022-KR.phpt tests/unicode/encrt-JIS.phpt tests/unicode/encrt-SJIS.phpt tests/unicode/normalize_001.phpt tests/unicode/normalize_002.phpt tests/unicode/normalize_003.phpt tests/unicode/normalize_004.phpt: Skip unicode tests in non-unicode mode 2007-07-10 Jani Taskinen * acinclude.m4 configure.in: - Removed --enable-versioning 2007-07-10 Dmitry Stogov * ext/pcre/php_pcre.c: Fixed compilation warnings * ext/pcre/php_pcre.c ext/pcre/tests/bug21732.phpt: Fixed preg_replace_callback() with callback defined by array * ext/openssl/openssl.c: Fixed bug #41353 * ext/date/tests/date_create-3.phpt ext/dom/tests/dom005.phpt ext/json/tests/pass001.1.phpt ext/spl/tests/bug33136.phpt ext/standard/tests/array/locale_sort.phpt: Fixed test 2007-07-10 Raghubansh Kumar * ext/standard/tests/file/popen_pclose_error-sunos.phpt ext/standard/tests/file/popen_pclose_error.phpt: fix and new test for sunos 2007-07-09 Antony Dovgal * ext/standard/filestat.c: fix build on b0rked OSes (see #41920) 2007-07-09 Raghubansh Kumar * ext/standard/tests/file/mkdir_rmdir_variation.phpt ext/standard/tests/file/mkdir_rmdir_variation.phpt ext/standard/tests/file/readlink_realpath_basic.phpt ext/standard/tests/file/readlink_realpath_basic.phpt ext/standard/tests/file/readlink_realpath_variation.phpt ext/standard/tests/file/readlink_realpath_variation.phpt: These testcases are now split into smaller testcases, hence being deleted * ext/standard/tests/file/mkdir_rmdir_variation1.phpt ext/standard/tests/file/mkdir_rmdir_variation2.phpt ext/standard/tests/file/readlink_realpath_basic1.phpt ext/standard/tests/file/readlink_realpath_basic2.phpt ext/standard/tests/file/readlink_realpath_error.phpt ext/standard/tests/file/readlink_realpath_variation1.phpt ext/standard/tests/file/readlink_realpath_variation2.phpt ext/standard/tests/file/readlink_realpath_variation3.phpt: Fix and smaller testcases for mkdir_rmdir_variation.phpt, readlink_realpath_basic.phpt, readlink_realpath_error.phpt & readlink_realpath_variation.phpt * ext/standard/tests/file/mkdir_rmdir_variation1.phpt ext/standard/tests/file/mkdir_rmdir_variation1.phpt ext/standard/tests/file/mkdir_rmdir_variation2.phpt ext/standard/tests/file/mkdir_rmdir_variation2.phpt ext/standard/tests/file/popen_pclose_error.phpt ext/standard/tests/file/readlink_realpath_basic1.phpt ext/standard/tests/file/readlink_realpath_basic1.phpt ext/standard/tests/file/readlink_realpath_basic2.phpt ext/standard/tests/file/readlink_realpath_basic2.phpt ext/standard/tests/file/readlink_realpath_error.phpt ext/standard/tests/file/readlink_realpath_variation1.phpt ext/standard/tests/file/readlink_realpath_variation1.phpt ext/standard/tests/file/readlink_realpath_variation2.phpt ext/standard/tests/file/readlink_realpath_variation2.phpt ext/standard/tests/file/readlink_realpath_variation3.phpt ext/standard/tests/file/readlink_realpath_variation3.phpt: file mkdir_rmdir_variation1.phpt was initially added on branch PHP_5_2. * ext/standard/tests/file/popen_pclose_error-sunos.phpt ext/standard/tests/file/popen_pclose_error-sunos.phpt: file popen_pclose_error-sunos.phpt was initially added on branch PHP_5_2. 2007-07-09 Dmitry Stogov * (PHP_5_2) ext/standard/basic_functions.c ext/standard/streamsfuncs.c ext/standard/streamsfuncs.h ext/standard/tests/file/include_userstream_001.phpt ext/standard/tests/file/include_userstream_002.phpt main/main.c main/php_globals.h main/php_streams.h main/streams/streams.c main/streams/userspace.c: Added ability to create local or remote (URL) user streams Local user streams must not be able to open(), URLs if allow_url_include is off Implemented new function stream_is_local() [ - stream_wrapper_register() extended with additional optional argument "flags" of type long. This time only one flag is implemented - STREAM_IS_URL, that means that userstream wrapper is remote (URL). By default stream is local. - stream_is_local() is a new function that accepts stream and tell if this stream is local or remote (URL) ] * main/php_streams.h: wrong comments * ext/standard/var_unserializer.c ext/standard/var_unserializer.re: Fixed custom unserialixe() in unicode mode * ext/standard/tests/array/count_recursive.phpt: Fixed test * ext/standard/var_unserializer.c ext/standard/var_unserializer.c ext/standard/var_unserializer.re ext/standard/var_unserializer.re ext/standard/tests/serialize/unserializeS.phpt ext/standard/tests/serialize/unserializeS.phpt: Proper fix for MOPB-29 * ext/standard/array.c: wrong condition * ext/standard/var_unserializer.c ext/standard/var_unserializer.re: Fixed deserialization of escaped strings 2007-07-09 Jani Taskinen * (PHP_5_2) ext/snmp/snmp.c: MFH: use defined values instead of plain integers * ext/snmp/snmp.c: - Use the defined values instead of plain integers here 2007-07-09 Zoe Slattery * (PHP_5_2) ZendEngine2/tests/array_append_COW.phpt ZendEngine2/tests/array_unshift_COW.phpt: array copy on write tests * (PHP_5_2) ext/reflection/tests/reflectionClass_constructor_001.phpt ext/reflection/tests/reflectionClass_constructor_002.phpt: ReflectionClass constructor tests * ZendEngine2/tests/array_append_COW.phpt ZendEngine2/tests/array_append_COW.phpt ZendEngine2/tests/array_unshift_COW.phpt ZendEngine2/tests/array_unshift_COW.phpt: array copy on write tests * ext/reflection/tests/reflectionClass_constructor_001.phpt ext/reflection/tests/reflectionClass_constructor_001.phpt ext/reflection/tests/reflectionClass_constructor_002.phpt ext/reflection/tests/reflectionClass_constructor_002.phpt: ReflectionClass constructor tests 2007-07-09 Jani Taskinen * (PHP_5_2) NEWS: bfn * (PHP_5_2) ext/pdo_pgsql/config.m4: MFH:- Fixed bug #35981 (pdo-pgsql should not use pkg-config when not present) * ext/pdo_pgsql/config.m4: - Fixed bug #35981 (pdo-pgsql should not use pkg-config when not present) * ext/pdo_pgsql/config.m4: no tabs * ext/pdo_odbc/config.m4: - Better wording * (PHP_5_2) ext/pdo_odbc/config.m4: MFH: - Use $PHP_LIBDIR where appropriate * ext/pdo_odbc/config.m4: - Use $PHP_LIBDIR where appropriate 2007-07-09 Dmitry Stogov * sapi/cgi/fastcgi.c sapi/cgi/fastcgi.c: ECONNABORTED is not a critical error (Andrei Nigmatulin) * ext/standard/tests/math/bug30695.phpt ext/standard/tests/strings/bug40704.phpt ext/standard/tests/strings/md5.phpt ext/standard/tests/strings/md5_file.phpt ext/standard/tests/strings/substr.phpt ext/standard/tests/strings/trim1.phpt: Fixed tests 2007-07-09 Jani Taskinen * (PHP_5_2) ext/pdo_odbc/config.m4: MFH: Fixed bug #41870 (PDO_ODBC module linking fails with iODBC) * ext/pdo_odbc/config.m4: - Fixed bug #41870 (PDO_ODBC module linking fails with iODBC) * (PHP_5_2) NEWS: fix news 2007-07-09 Antony Dovgal * ext/oci8/php_oci8_int.h: use correct types for scale and precision 2007-07-09 Dmitry Stogov * ZendEngine2/zend_execute.c ZendEngine2/zend_execute.c ZendEngine2/tests/bug41919.phpt ZendEngine2/tests/bug41919.phpt: Fixed bug #41919 2007-07-08 Ilia Alshanetsky * (PHP_5_2) NEWS ZendEngine2/tests/bug41919.phpt ZendEngine2/tests/bug41919.phpt: Fixed bug #41919 (crash in string to array conversion) 2007-07-08 Raghubansh Kumar * ext/standard/tests/file/006_variation.phpt ext/standard/tests/file/006_variation.phpt ext/standard/tests/file/file_get_contents_file_put_contents_variation.phpt ext/standard/tests/file/file_get_contents_file_put_contents_variation.phpt ext/standard/tests/file/filesize_variation-win32.phpt ext/standard/tests/file/filesize_variation-win32.phpt ext/standard/tests/file/filesize_variation.phpt ext/standard/tests/file/filesize_variation.phpt ext/standard/tests/file/fwrite_variation-win32.phpt ext/standard/tests/file/fwrite_variation-win32.phpt ext/standard/tests/file/fwrite_variation.phpt ext/standard/tests/file/fwrite_variation.phpt ext/standard/tests/file/is_executable_variation.phpt ext/standard/tests/file/is_executable_variation.phpt ext/standard/tests/file/is_readable_variation.phpt ext/standard/tests/file/is_readable_variation.phpt ext/standard/tests/file/is_writable_variation.phpt ext/standard/tests/file/is_writable_variation.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_basic.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_basic.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_error.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_error.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_variation.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_variation.phpt: These files are now split into one or more smaller testcases, hence being deleted. * (PHP_5_2) ext/standard/tests/file/symlink_link_linkinfo_is_link_variation6.phpt: Run only on 32-bit OS 2007-07-06 Christopher Jones * ext/oci8/tests/field_funcs.phpt ext/oci8/tests/field_funcs2.phpt ext/oci8/tests/field_funcs_old.phpt: Bug #41917: New OCI8 tests for scale and precision * (PHP_5_2) ext/oci8/tests/field_funcs.phpt ext/oci8/tests/field_funcs2.phpt ext/oci8/tests/field_funcs2.phpt ext/oci8/tests/field_funcs_old.phpt: -** empty log message *** 2007-07-06 Dmitry Stogov * ext/pcre/php_pcre.c ext/pcre/php_pcre.h ext/pcre/tests/bug27103.phpt ext/pcre/tests/bug40909.phpt ext/pcre/tests/invalid_utf8.phpt ext/spl/spl_iterators.c win32/sendmail.c: PCRE unicode/binary support 2007-07-06 Raghubansh Kumar * (PHP_5_2) ext/standard/tests/file/is_executable_variation1.phpt ext/standard/tests/file/is_executable_variation2.phpt ext/standard/tests/file/is_executable_variation3.phpt ext/standard/tests/file/is_readable_variation1.phpt ext/standard/tests/file/is_readable_variation2.phpt ext/standard/tests/file/is_readable_variation3.phpt ext/standard/tests/file/is_writable_variation1.phpt ext/standard/tests/file/is_writable_variation2.phpt ext/standard/tests/file/is_writable_variation3.phpt: Fix and smaller testcases for is_readable_variation.phpt, is_executable_variation.phpt & is_writable_variation.phpt * ext/standard/tests/file/is_executable_variation1.phpt ext/standard/tests/file/is_executable_variation1.phpt ext/standard/tests/file/is_executable_variation2.phpt ext/standard/tests/file/is_executable_variation2.phpt ext/standard/tests/file/is_executable_variation3.phpt ext/standard/tests/file/is_executable_variation3.phpt ext/standard/tests/file/is_readable_variation1.phpt ext/standard/tests/file/is_readable_variation1.phpt ext/standard/tests/file/is_readable_variation2.phpt ext/standard/tests/file/is_readable_variation2.phpt ext/standard/tests/file/is_readable_variation3.phpt ext/standard/tests/file/is_readable_variation3.phpt ext/standard/tests/file/is_writable_variation1.phpt ext/standard/tests/file/is_writable_variation1.phpt ext/standard/tests/file/is_writable_variation2.phpt ext/standard/tests/file/is_writable_variation2.phpt ext/standard/tests/file/is_writable_variation3.phpt ext/standard/tests/file/is_writable_variation3.phpt: Fix and smaller testcases for is_executable_variation.phpt, is_readable_variation.phpt & is_writable_variation.phpt 2007-07-06 Antony Dovgal * ZendEngine2/zend_API.c: fix indentation and make Andrey happy =) * ext/reflection/php_reflection.c: fix folding * configure.in: fix #41908 (CFLAGS="-Os" ./configure --enable-debug fails) patch by christian at hoffie dot info * (PHP_5_2) NEWS configure.in: MFH: fix #41908 (CFLAGS="-Os" ./configure --enable-debug fails) patch by christian at hoffie dot info 2007-07-06 Dmitry Stogov * ext/soap/soap.c: Unicode support fix 2007-07-06 Raghubansh Kumar * (PHP_5_2) ext/standard/tests/file/006_basic.phpt ext/standard/tests/file/006_variation1.phpt ext/standard/tests/file/006_variation2.phpt: better check for root user * ext/standard/tests/file/006_basic.phpt ext/standard/tests/file/006_variation1.phpt ext/standard/tests/file/006_variation2.phpt: Better check for root user 2007-07-06 Ilia Alshanetsky * (PHP_5_2) ext/imap/php_imap.c: Fixed NOTICE message 2007-07-05 Derick Rethans * (PHP_5_2) NEWS: - Marking already fixed bug in NEWS file (Bug #41909). 2007-07-05 Raghubansh Kumar * ext/standard/tests/file/006_error.phpt ext/standard/tests/file/006_error.phpt ext/standard/tests/file/filegroup_basic.phpt ext/standard/tests/file/filegroup_basic.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_basic1.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_basic2.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_error1.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_error2.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_variation1.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_variation2.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_variation3.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_variation4.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_variation5.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_variation6.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_variation7.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_variation8.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_variation9.phpt: fix test: 006_error.phpt & filegroup_basic.phpt fix and smaller tests for symlink_link_linkinfo_is_link[basic|error|variation].phpt * ext/standard/tests/file/symlink_link_linkinfo_is_link_basic1.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_basic1.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_basic2.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_basic2.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_variation2.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_variation2.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_variation3.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_variation3.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_variation4.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_variation4.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_variation5.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_variation5.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_variation6.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_variation6.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_variation7.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_variation7.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_variation8.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_variation8.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_variation9.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_variation9.phpt: file symlink_link_linkinfo_is_link_basic1.phpt was initially added on branch PHP_5_2. * ext/standard/tests/file/symlink_link_linkinfo_is_link_error1.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_error1.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_error2.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_error2.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_variation1.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_variation1.phpt: file symlink_link_linkinfo_is_link_error1.phpt was initially added on branch PHP_5_2. 2007-07-05 Derick Rethans * (PHP_5_2) NEWS ext/date/lib/timezonedb.h: - MFH: Updated timezone database to 2007.6 (2007f). * ext/date/lib/timezonedb.h: - Updated to 2007f. 2007-07-04 Antony Dovgal * (PHP_5_2) NEWS ext/curl/interface.c: MFH: add CURLINFO_PRIVATE & CURLOPT_PRIVATE patch by Andrey A. Belashkov * ext/curl/interface.c: add CURLINFO_PRIVATE & CURLOPT_PRIVATE patch by Andrey A. Belashkov 2007-07-04 Dmitry Stogov * Makefile.global run-tests.php run-tests.php: Fixed "make test" 2007-07-04 Jani Taskinen * (PHP_5_2) NEWS: do not fax the fixes :) 2007-07-04 Sara Golemon * (PHP_5_2) NEWS ext/simplexml/simplexml.c: MFH (r-1.240) Fix behavior of empty($sxe->element) and empty($sxe['prop']) when used on empty elements properties (apply PHP emptiness rules) * ext/simplexml/simplexml.c: Fix behavior of empty($sxe->element) and empty($sxe['prop']) when used on empty elements properties (apply PHP emptiness rules) 2007-07-03 Ilia Alshanetsky * ext/shmop/package2.xml ext/shmop/package2.xml: file package2.xml was initially added on branch PHP_5_2. 2007-07-03 Jani Taskinen * configure.in ext/dom/config.m4 ext/gd/config.m4 ext/hash/config.m4 ext/interbase/config.m4 ext/json/config.m4 ext/libxml/config0.m4 ext/mime_magic/config.m4 ext/msql/config.m4 ext/mssql/config.m4 ext/mysqli/config.m4 ext/oci8/config.m4 ext/odbc/config.m4 ext/pcre/config0.m4 ext/pdo_dblib/config.m4 ext/pdo_firebird/config.m4 ext/pdo_oci/config.m4 ext/pdo_sqlite/config.m4 ext/sqlite/config.m4 ext/sybase/config.m4 ext/sybase_ct/config.m4 ext/xsl/config.m4 ext/zip/config.m4: - Fix some configure --help texts 2007-07-03 Dmitry Stogov * Makefile.global Makefile.global: Fixed "make test" mistakes 2007-07-03 Christopher Jones * ext/oci8/tests/lob_040.phpt: MFB: new test * ext/oci8/tests/lob_040.phpt ext/oci8/tests/lob_040.phpt: file lob_040.phpt was initially added on branch PHP_5_2. 2007-07-03 Rob Richards * (PHP_5_2) NEWS: BFN * ext/simplexml/simplexml.c ext/simplexml/tests/bug41861.phpt: MFB: fix bug #41861 (getNamespaces() returns namespaces of node's siblings) add test * (PHP_5_2) ext/simplexml/simplexml.c ext/simplexml/tests/bug41861.phpt ext/simplexml/tests/bug41861.phpt: fix bug #41861 (getNamespaces() returns namespaces of node's siblings) add test 2007-07-03 Dmitry Stogov * TSRM/tsrm_virtual_cwd.c TSRM/tsrm_virtual_cwd.c: Store existent file in realpath cache * ext/standard/basic_functions.c ext/standard/streamsfuncs.c ext/standard/streamsfuncs.h ext/standard/tests/file/include_userstream_001.phpt ext/standard/tests/file/include_userstream_002.phpt main/main.c main/php_globals.h main/php_streams.h main/streams/streams.c main/streams/userspace.c: Added ability to create local or remote (URL) user streams Local user streams must not be able to open(), URLs if allow_url_include is off Implemented new function stream_is_local() [ - stream_wrapper_register() extended with additional optional argument "flags" of type long. This time only one flag is implemented - STREAM_IS_URL, that means that userstream wrapper is remote (URL). By default stream is local. - stream_is_local() is a new function that accepts stream and tell if this stream is local or remote (URL) ] 2007-07-03 Raghubansh Kumar * ext/standard/tests/file/006_variation1.phpt ext/standard/tests/file/006_variation2.phpt ext/standard/tests/file/file_get_contents_file_put_contents_variation1.phpt ext/standard/tests/file/file_get_contents_file_put_contents_variation2.phpt ext/standard/tests/file/filesize_variation1-win32.phpt ext/standard/tests/file/filesize_variation1.phpt ext/standard/tests/file/filesize_variation2-win32.phpt ext/standard/tests/file/filesize_variation2.phpt ext/standard/tests/file/filesize_variation3-win32.phpt ext/standard/tests/file/filesize_variation3.phpt ext/standard/tests/file/filesize_variation4-win32.phpt ext/standard/tests/file/filesize_variation4.phpt ext/standard/tests/file/fwrite_variation1-win32.phpt ext/standard/tests/file/fwrite_variation1.phpt ext/standard/tests/file/fwrite_variation2-win32.phpt ext/standard/tests/file/fwrite_variation2.phpt ext/standard/tests/file/fwrite_variation3-win32.phpt ext/standard/tests/file/fwrite_variation3.phpt ext/standard/tests/file/fwrite_variation4-win32.phpt ext/standard/tests/file/fwrite_variation4.phpt: Smaller testcases for 006_variation.phpt, file_get_contents_file_put_contents_variation.phpt, filesize_variation.phpt, filesize_variation-win32.phpt, fwrite_variation.phpt, fwrite_variation-win32.phpt. Fix for filesize_variation to match filesize using %d * ext/standard/tests/file/006_variation1.phpt ext/standard/tests/file/006_variation1.phpt ext/standard/tests/file/006_variation2.phpt ext/standard/tests/file/006_variation2.phpt ext/standard/tests/file/file_get_contents_file_put_contents_variation1.phpt ext/standard/tests/file/file_get_contents_file_put_contents_variation1.phpt ext/standard/tests/file/file_get_contents_file_put_contents_variation2.phpt ext/standard/tests/file/file_get_contents_file_put_contents_variation2.phpt ext/standard/tests/file/filesize_variation1-win32.phpt ext/standard/tests/file/filesize_variation1-win32.phpt ext/standard/tests/file/filesize_variation1.phpt ext/standard/tests/file/filesize_variation1.phpt ext/standard/tests/file/filesize_variation2-win32.phpt ext/standard/tests/file/filesize_variation2-win32.phpt ext/standard/tests/file/filesize_variation2.phpt ext/standard/tests/file/filesize_variation2.phpt ext/standard/tests/file/filesize_variation3-win32.phpt ext/standard/tests/file/filesize_variation3-win32.phpt ext/standard/tests/file/filesize_variation3.phpt ext/standard/tests/file/filesize_variation3.phpt ext/standard/tests/file/filesize_variation4-win32.phpt ext/standard/tests/file/filesize_variation4-win32.phpt ext/standard/tests/file/filesize_variation4.phpt ext/standard/tests/file/filesize_variation4.phpt ext/standard/tests/file/fwrite_variation1-win32.phpt ext/standard/tests/file/fwrite_variation1-win32.phpt ext/standard/tests/file/fwrite_variation1.phpt ext/standard/tests/file/fwrite_variation1.phpt ext/standard/tests/file/fwrite_variation2-win32.phpt ext/standard/tests/file/fwrite_variation2-win32.phpt ext/standard/tests/file/fwrite_variation2.phpt ext/standard/tests/file/fwrite_variation2.phpt ext/standard/tests/file/fwrite_variation3-win32.phpt ext/standard/tests/file/fwrite_variation3-win32.phpt ext/standard/tests/file/fwrite_variation3.phpt ext/standard/tests/file/fwrite_variation3.phpt ext/standard/tests/file/fwrite_variation4-win32.phpt ext/standard/tests/file/fwrite_variation4-win32.phpt ext/standard/tests/file/fwrite_variation4.phpt ext/standard/tests/file/fwrite_variation4.phpt: file 006_variation1.phpt was initially added on branch PHP_5_2. 2007-07-03 Christopher Jones * ext/pdo_oci/oci_driver.c ext/pdo_oci/tests/pdo_oci_quote1.phpt: MFB: Basic PDO->quote() for PDO_OCI * ext/pdo_oci/tests/pdo_oci_quote1.phpt ext/pdo_oci/tests/pdo_oci_quote1.phpt: file pdo_oci_quote1.phpt was initially added on branch PHP_5_2. * (PHP_5_2) ext/pdo_oci/oci_driver.c: Added basic PDO->quote() functionality to PDO_OCI 2007-07-02 Ilia Alshanetsky * (PHP_5_2) NEWS ext/openssl/xp_ssl.c: Fixed bug #41770 (SSL: fatal protocol error due to buffer issues). * (PHP_5_2) NEWS: oracle BFN * (PHP_5_2) NEWS ext/pgsql/pgsql.c: Fixed bug #41845 (pgsql extension does not compile with PostgreSQL <7.4) 2007-07-02 Dmitry Stogov * ext/simplexml/simplexml.c: Allow unicode XML 2007-07-02 Rob Richards * (PHP_5_2) NEWS: BFN * ext/simplexml/simplexml.c ext/simplexml/tests/bug41867.phpt: MFB: fix bug #41867 (getName is broken) add test * (PHP_5_2) ext/simplexml/simplexml.c ext/simplexml/tests/bug41867.phpt ext/simplexml/tests/bug41867.phpt: fix bug #41867 (getName is broken) add test 2007-07-02 Dmitry Stogov * ext/standard/pack.c: Unicode support 2007-07-01 Jani Taskinen * (PHP_5_2) NEWS ext/standard/file.c: MFH: - Fixed bug #41865 (fputcsv(): 2nd parameter is not optional) * ext/standard/file.c: - Fixed bug #41865 (fputcsv(): 2nd parameter is not optional) 2007-06-30 Christopher Jones * ext/pdo_oci/oci_driver.c ext/pdo_oci/oci_statement.c ext/pdo_oci/php_pdo_oci_int.h ext/pdo_oci/tests/pecl_bug_11345.phpt: MFB: Fix Bug #11345 Seg fault after NLS environment initialization error * ext/pdo_oci/tests/pecl_bug_11345.phpt ext/pdo_oci/tests/pecl_bug_11345.phpt: file pecl_bug_11345.phpt was initially added on branch PHP_5_2. * (PHP_5_2) ext/pdo_oci/oci_driver.c ext/pdo_oci/oci_statement.c ext/pdo_oci/php_pdo_oci_int.h: Fix Bug #11345 Seg fault after NLS environment initialization error 2007-06-29 Jani Taskinen * Makefile.global: - More portable.. 2007-06-29 Christopher Jones * ext/pdo_oci/tests/pecl_bug_6364.phpt: MFB. Test for old bug fixed in some previous, unknown change * ext/pdo_oci/tests/pecl_bug_6364.phpt ext/pdo_oci/tests/pecl_bug_6364.phpt: file pecl_bug_6364.phpt was initially added on branch PHP_5_2. 2007-06-29 Dmitry Stogov * ext/standard/string.c: ord() must not convert binary data to unicode in unicode mode 2007-06-29 Jani Taskinen * Makefile.global: - More portable solution 2007-06-29 Christopher Jones * ext/oci8/README: MFB. Add testing steps 2007-06-29 Jani Taskinen * (PHP_5_2) ext/json/tests/bug41567.phpt: typo * (PHP_5_2) ext/json/tests/bug41504.phpt ext/json/tests/bug41567.phpt scripts/php-config.in scripts/php-config.in: oops 2007-06-29 Dmitry Stogov * ext/dom/document.c ext/dom/tests/dom002u.phpt ext/libxml/libxml.c ext/libxml/php_libxml.h ext/simplexml/simplexml.c ext/soap/soap.c ext/soap/tests/bugs/bug39815.phpt: Allowed loading XML from unicode strings 2007-06-29 Jani Taskinen * (PHP_5_2) ext/json/tests/bug41403.phpt ext/json/tests/bug41504.phpt ext/json/tests/bug41567.phpt: - Added missing SKIPIFs * ext/json/tests/bug41403.phpt: - Added missing SKIPIF 2007-06-29 Antony Dovgal * (PHP_5_2) ext/standard/tests/file/rename_variation.phpt ext/standard/tests/file/rename_variation1.phpt ext/standard/tests/file/rename_variation2.phpt ext/standard/tests/file/rename_variation3.phpt ext/standard/tests/file/rename_variation4.phpt ext/standard/tests/file/rename_variation5.phpt: divide the test into smaller tests * ext/standard/tests/file/rename_variation2.phpt ext/standard/tests/file/rename_variation2.phpt ext/standard/tests/file/rename_variation3.phpt ext/standard/tests/file/rename_variation3.phpt: cleanup tmp files * ext/standard/tests/file/rename_variation.phpt ext/standard/tests/file/rename_variation1.phpt ext/standard/tests/file/rename_variation1.phpt ext/standard/tests/file/rename_variation2.phpt ext/standard/tests/file/rename_variation3.phpt ext/standard/tests/file/rename_variation4.phpt ext/standard/tests/file/rename_variation4.phpt ext/standard/tests/file/rename_variation5.phpt ext/standard/tests/file/rename_variation5.phpt: divide the test into smaller ones * Makefile.global: remove the quotes in for 2007-06-29 Dmitry Stogov * run-tests.php run-tests.php: Fixed CGI tests 2007-06-29 Antony Dovgal * Makefile.global: fix `make test` with shared extensions 2007-06-29 Christopher Jones * (PHP_5_2) ext/pdo_oci/oci_driver.c ext/pdo_oci/php_pdo_oci_int.h: Un-DOSify line terminators. No merge to 6 required. * (PHP_5_2) ext/oci8/README: Add testing steps 2007-06-29 Jani Taskinen * (PHP_5_2) acinclude.m4 configure.in scripts/php-config.in scripts/phpize.in scripts/man1/php-config.1.in: MFH:- Improved php-config: MFH: . Added --configure-options option to get configure line for current build MFH: . Added --php-sapis option which shows SAPIs available MFH: . Fixed problem with missing php binary when CLI is not build but CGI is. MFH:- Fixed broken sed issues in phpize script * acinclude.m4 configure.in scripts/php-config.in scripts/phpize.in scripts/man1/php-config.1.in: - Improved php-config: . Added --configure-options option to get configure line for current build . Added --php-sapis option which shows SAPIs available . Fixed problem with missing php binary when CLI is not build but CGI is. - Fixed broken sed issues in phpize script 2007-06-28 Stanislav Malyshev * ZendEngine2/zend_compile.c ZendEngine2/zend_constants.c: remove unused vars * ZendEngine2/zend_compile.c ZendEngine2/zend_compile.h ZendEngine2/zend_constants.c: Fix HALT constant handling in unicode mode 2007-06-28 Ilia Alshanetsky * (PHP_5_2) ext/pdo/pdo_dbh.c: When working with persistent connections re-initialize options on each connection. Flags like error reporting may differ. 2007-06-28 Antony Dovgal * ext/oci8/tests/details.inc ext/standard/tests/array/array_values_errors.phpt: MFB * (PHP_5_2) ext/oci8/tests/details.inc: add env vars for test settings (like in PDO) * sapi/apache2handler/sapi_apache2.c: fix crash on shutdown on Win32 patch by Scott * ext/standard/array.c: synchronized range() behaviour in HEAD with 5_2 * ext/standard/tests/array/array_pop.phpt ext/standard/tests/array/array_pop_errors.phpt ext/standard/tests/array/array_pop_errors.phpt ext/standard/tests/array/array_pop_variation.phpt ext/standard/tests/array/array_pop_variation.phpt ext/standard/tests/array/array_values.phpt ext/standard/tests/array/array_values.phpt ext/standard/tests/array/array_values_64bit.phpt ext/standard/tests/array/array_values_errors.phpt ext/standard/tests/array/array_values_variation.phpt ext/standard/tests/array/array_values_variation_64bit.phpt ext/standard/tests/array/range.phpt ext/standard/tests/array/range_errors.phpt ext/standard/tests/array/range_errors.phpt ext/standard/tests/array/range_variation.phpt ext/standard/tests/array/range_variation.phpt ext/standard/tests/array/range_variation1.phpt ext/standard/tests/array/range_variation1.phpt ext/standard/tests/array/range_variation1_64bit.phpt ext/standard/tests/array/range_variation1_64bit.phpt: more smaller tests * ext/standard/tests/array/array_search.phpt ext/standard/tests/array/array_search_errors.phpt ext/standard/tests/array/array_search_errors.phpt ext/standard/tests/array/array_search_variation.phpt ext/standard/tests/array/array_search_variation.phpt ext/standard/tests/array/array_search_variation1.phpt ext/standard/tests/array/array_search_variation1.phpt ext/standard/tests/array/array_search_variation2.phpt ext/standard/tests/array/array_search_variation2.phpt ext/standard/tests/array/array_search_variation3.phpt ext/standard/tests/array/array_search_variation3.phpt: divide array_search.phpt into several smaller tests * (PHP_5_2) ext/standard/tests/array/array_values_errors.phpt: remove 32bit restriction * ext/standard/tests/array/array_values_errors.phpt ext/standard/tests/array/array_values_errors.phpt ext/standard/tests/array/array_values_variation.phpt ext/standard/tests/array/array_values_variation.phpt ext/standard/tests/array/array_values_variation_64bit.phpt ext/standard/tests/array/array_values_variation_64bit.phpt: more smaller tests * ext/standard/tests/array/array_change_key_case.phpt ext/standard/tests/array/array_change_key_case_errors.phpt ext/standard/tests/array/array_change_key_case_errors.phpt ext/standard/tests/array/array_change_key_case_variation.phpt ext/standard/tests/array/array_change_key_case_variation.phpt: divide the test into several smaller ones 2007-06-28 Andrey Hristov * (PHP_5_2) ext/mysqli/mysqli_api.c: Remove dot at the end of the message 2007-06-28 Ilia Alshanetsky * (PHP_5_2) NEWS ext/pdo/pdo_dbh.c ext/pdo_pgsql/pgsql_driver.c: Added support for ATTR_TIMEOUT inside pdo_pgsql driver. Fixed a bug inside PDO's "use persistent" connection detection mechanism that would trigger connections on "" and "0" values 2007-06-28 Stanislav Malyshev * 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_compiler2.phpt ZendEngine2/tests/halt_compiler3.phpt ZendEngine2/tests/halt_compiler4.phpt: MF5 __HALT_COMPILER fix: Remove limitation of __HALT_COMPILER() that allowed only one instance per request. 2007-06-27 Antony Dovgal * Makefile.global: more ksh fixes * (PHP_5_2) Makefile.global: ksh is a pita * ZendEngine2/tests/double_to_string.phpt ZendEngine2/tests/double_to_string.phpt: fix test 2007-06-27 Zoe Slattery * ZendEngine2/tests/selfParent_001.phpt ZendEngine2/tests/selfParent_002.phpt: Tests for constant initialisation * ZendEngine2/tests/selfParent_001.phpt ZendEngine2/tests/selfParent_001.phpt ZendEngine2/tests/selfParent_002.phpt ZendEngine2/tests/selfParent_002.phpt: file selfParent_001.phpt was initially added on branch PHP_5_2. 2007-06-27 Jani Taskinen * (PHP_5_2) acinclude.m4 configure.in: MFH:- Added PHP_CHECK_SIZEOF macro (special version of AC_CHECK_SIZEOF) * acinclude.m4 configure.in: - Added PHP_CHECK_SIZEOF macro (special version of AC_CHECK_SIZEOF) 2007-06-27 Antony Dovgal * ZendEngine2/zend_operators.c: fix ZTS build * ext/spl/spl_array.c ext/spl/tests/iterator_026.phpt ext/spl/tests/iterator_047.phpt: apply corrected fix fix tests * (PHP_5_2) NEWS ext/spl/spl_array.c ext/spl/tests/bug41692.phpt: MFH: fix #41692 (ArrayObject shows weird behaviour in respect to inheritance) * ext/spl/tests/bug41692.phpt ext/spl/tests/bug41692.phpt: fix #41692 (ArrayObject shows weird behaviour in respect to inheritance) * ext/spl/spl_array.c: fix #41692 (ArrayObject shows weird behaviour in respect to inheritance) 2007-06-27 Dmitry Stogov * ZendEngine2/zend_execute_API.c: Unicode support * ZendEngine2/zend_operators.c ZendEngine2/tests/and_001.phpt ZendEngine2/tests/bug41640.phpt ZendEngine2/tests/not_001.phpt ZendEngine2/tests/or_001.phpt ZendEngine2/tests/xor_002.phpt: Fixed bitwise operations with numeric unicode strings * ZendEngine2/zend_operators.c ZendEngine2/tests/decrement_001.phpt ZendEngine2/tests/decrement_001_64bit.phpt ZendEngine2/tests/increment_001.phpt: Implemented ++ and -- operations for unicode strings 2007-06-27 Antony Dovgal * (PHP_5_2) NEWS: BFN * (PHP_5_2) ZendEngine2/tests/bug41813.phpt: add test * ZendEngine2/tests/bug41813.phpt ZendEngine2/tests/bug41813.phpt: add test * ZendEngine2/zend_execute.c: MFB: fix #41813 (segmentation fault when using string offset as an object) patch by judas dot iscariote at gmail dot com * (PHP_5_2) ZendEngine2/zend_execute.c: fix #41813 (segmentation fault when using string offset as an object) patch by judas dot iscariote at gmail dot com 2007-06-27 Ilia Alshanetsky * (PHP_5_2) ext/pdo/pdo_dbh.c: Fixed a crash inside PDO when there is more then one instance of a persistent connection inside a script and PDO object is extended by class with a destructor * (PHP_5_2) NEWS ext/pdo_pgsql/pgsql_driver.c: Added persistent connection status checker to pdo_pgsql 2007-06-26 Antony Dovgal * ext/standard/assert.c ext/standard/base64.c ext/standard/basic_functions.c ext/standard/browscap.c ext/standard/credits.c ext/standard/crypt.c ext/standard/css.c ext/standard/cyr_convert.c ext/standard/datetime.c ext/standard/var.c: fix ws & folding 2007-06-26 Dmitry Stogov * (PHP_5_2) NEWS sapi/cgi/cgi_main.c sapi/cgi/cgi_main.c: Fixed bug #40419 (Trailing Slash in CGI request don't work) 2007-06-26 Antony Dovgal * ext/standard/dir.c: add missing include and fix warning * ext/xmlwriter/tests/007.phpt ext/xmlwriter/tests/OO_007.phpt: MFB * (PHP_5_2) ext/xmlwriter/tests/007.phpt ext/xmlwriter/tests/OO_007.phpt: fix tests as discussed * (PHP_5_2) NEWS ext/standard/basic_functions.c ext/standard/tests/general_functions/bug41445.phpt ext/standard/tests/general_functions/bug41445_1.phpt: MFH: fix #41445 (parse_ini_file() has a problem with certain types of integer as sections) * ext/standard/basic_functions.c ext/standard/tests/general_functions/bug41445.phpt ext/standard/tests/general_functions/bug41445.phpt ext/standard/tests/general_functions/bug41445_1.phpt ext/standard/tests/general_functions/bug41445_1.phpt: fix #41445 (parse_ini_file() has a problem with certain types of integer as sections) * (PHP_5_2) ext/standard/var.c: fix ws * (PHP_5_2) NEWS ext/standard/dns.c: MFH: fix #41795 (checkdnsrr does not support DNS_TXT type) patch by lucas at facebook dot com * ext/standard/dns.c: fix #41795 (checkdnsrr does not support DNS_TXT type) * Makefile.global: fix 'make test' on platforms with broken shells 2007-06-26 Ilia Alshanetsky * (PHP_5_2) NEWS ext/pdo/pdo_stmt.c ext/pdo_mysql/tests/bug_41698.phpt ext/pdo_mysql/tests/bug_41698.phpt: Fixed bug #41698 (float parameters truncated to integer in prepared statements). 2007-06-25 Antony Dovgal * ext/standard/tests/file/bug41655_1.phpt ext/standard/tests/file/bug41655_1.phpt ext/standard/tests/file/bug41655_1.phpt ext/standard/tests/file/bug41655_1.phpt: fix test * (PHP_5_2) NEWS ext/standard/basic_functions.c: fix #41773 (php_strip_whitespace sends headers with errors suppressed) MFB is not needed, output buffering in HEAD handles this situation correctly 2007-06-25 Scott MacVicar * ext/mysql/php_mysql.c ext/mysqli/mysqli.c: MFB: Fixed bug #41350 (my_thread_global_end() error during request shutdown on Windows). 2007-06-25 Antony Dovgal * (PHP_5_2) NEWS ext/oci8/oci8_lob.c ext/oci8/tests/lob_null.phpt: MFH: fix #41711 (Null temporary lobs not supported) * ext/oci8/oci8_lob.c ext/oci8/tests/lob_null.phpt ext/oci8/tests/lob_null.phpt: fix #41711 (Null temporary lobs not supported) * ext/sysvshm/tests/003.phpt: cleanup test data 2007-06-25 Jani Taskinen * (PHP_5_2) ext/pdo_sqlite/config.m4: MFH: - Fixed bug #41794 (build fails with external libs under Solaris) * ext/pdo_sqlite/config.m4: - Fixed bug #41794 (build fails with external libs under Solaris) 2007-06-25 Scott MacVicar * (PHP_5_2) NEWS ext/mysql/php_mysql.c ext/mysqli/mysqli.c: Fixed bug #41350 (my_thread_global_end() error during request shutdown on Windows). 2007-06-25 Dmitry Stogov * configure.in configure.in: Fixed stat() to support rdev, blocksize and blocks on Fedora 7 * ext/standard/dir.c: (forgotten part of fix) * ext/standard/tests/file/lstat_stat_basic.phpt ext/standard/tests/file/lstat_stat_basic.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_variation.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_variation.phpt ext/xmlwriter/tests/007.phpt ext/xmlwriter/tests/007.phpt ext/xmlwriter/tests/OO_007.phpt ext/xmlwriter/tests/OO_007.phpt: Fixed tests * ext/standard/dir.c ext/standard/dir.c ext/standard/tests/file/bug41655_1.phpt ext/standard/tests/file/bug41655_1.phpt: Better fix for bug #41655 * main/snprintf.c main/snprintf.c main/spprintf.c main/spprintf.c: Restore big exponent letter in var_export() ('1e300' -> '1E300') 2007-06-24 Ilia Alshanetsky * (PHP_5_2) NEWS ext/standard/array.c: Fixed bug #41685 (array_push() fails to warn when next index is already occupied). 2007-06-24 Nuno Lopes * ext/simplexml/simplexml.c: MFB:fix memleak in sxe_prop_dim_read() * (PHP_5_2) ext/simplexml/simplexml.c: fix memleak in sxe_prop_dim_read() 2007-06-22 Zoe Slattery * (PHP_5_2) ext/standard/tests/file/lstat_stat_basic.phpt: Reverting test to original after dicsussion with Raghu. Will open bugzilla for Linux/VMware behaviour * (PHP_5_2) ext/standard/tests/file/lstat_stat_basic.phpt: Changed expected output so that this runs on Linux under VMWare as well as Linux. 2007-06-22 Pierre-Alain Joye * ext/standard/tests/file/bug41655_1.phpt ext/standard/tests/file/bug41655_1.phpt ext/standard/tests/file/bug41655_2.phpt ext/standard/tests/file/bug41655_2.phpt: - MFB: add test cases for #41655 * ext/standard/tests/file/bug41655_1.phpt ext/standard/tests/file/bug41655_1.phpt ext/standard/tests/file/bug41655_1.phpt ext/standard/tests/file/bug41655_2.phpt ext/standard/tests/file/bug41655_2.phpt ext/standard/tests/file/bug41655_2.phpt: 1.1.4; file bug41655_1.phpt was initially added on branch PHP_4_4. * (PHP_4_4) NEWS ext/standard/dir.c: - fix build - fix regression in glob introduced by #41655 fix and add test cases 2007-06-22 Raghubansh Kumar * ext/standard/tests/file/symlink_link_linkinfo_is_link_basic.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_basic.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_error.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_variation.phpt: New tests for file system handling functions * ext/standard/tests/file/symlink_link_linkinfo_is_link_basic.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_error.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_error.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_variation.phpt ext/standard/tests/file/symlink_link_linkinfo_is_link_variation.phpt: file symlink_link_linkinfo_is_link_basic.phpt was initially added on branch PHP_5_2. 2007-06-22 Stanislav Malyshev * (PHP_4_4) NEWS NEWS: Fixed bug #41765 (Recode crashes/does not work on amd64) * ext/recode/recode.c ext/recode/recode.c ext/recode/recode.c: fix #41765 2007-06-21 Raghubansh Kumar * ext/standard/tests/file/filesize_variation-win32.phpt ext/standard/tests/file/filesize_variation.phpt ext/standard/tests/file/lstat_stat_basic.phpt ext/standard/tests/file/lstat_stat_error.phpt ext/standard/tests/file/rename_variation-win32.phpt ext/standard/tests/file/rename_variation.phpt ext/standard/tests/file/stat_basic-win32.phpt ext/standard/tests/file/stat_error-win32.phpt: New tests for file system handling functions * ext/standard/tests/file/filesize_variation-win32.phpt ext/standard/tests/file/filesize_variation-win32.phpt ext/standard/tests/file/filesize_variation.phpt ext/standard/tests/file/filesize_variation.phpt ext/standard/tests/file/lstat_stat_basic.phpt ext/standard/tests/file/lstat_stat_basic.phpt ext/standard/tests/file/lstat_stat_error.phpt ext/standard/tests/file/lstat_stat_error.phpt ext/standard/tests/file/rename_variation-win32.phpt ext/standard/tests/file/rename_variation-win32.phpt ext/standard/tests/file/rename_variation.phpt ext/standard/tests/file/rename_variation.phpt ext/standard/tests/file/stat_basic-win32.phpt ext/standard/tests/file/stat_basic-win32.phpt ext/standard/tests/file/stat_error-win32.phpt ext/standard/tests/file/stat_error-win32.phpt: file filesize_variation-win32.phpt was initially added on branch PHP_5_2. * ext/standard/tests/file/file.inc ext/standard/tests/file/file.inc: New functons to compare stat array 2007-06-21 Dmitry Stogov * ext/standard/php_fopen_wrapper.c ext/standard/php_fopen_wrapper.c: Proper fix for bug #39215 Inappropriate close of stdin/stdout/stderr * php.ini-dist php.ini-dist php.ini-recommended php.ini-recommended: Fixed default values * sapi/cgi/cgi_main.c sapi/cgi/cgi_main.c: no need to return exit status of the last fastcgi request 2007-06-20 Ilia Alshanetsky * (PHP_5_2) NEWS: Fixed typos 2007-06-20 Pierre-Alain Joye * ext/openssl/openssl.c: - MFB: Fixed a memory leak inside load_all_certs_file() 2007-06-19 Ilia Alshanetsky * (PHP_5_2) ext/openssl/openssl.c: Fixed a memory leak inside load_all_certs_file() 2007-06-19 Jani Taskinen * (PHP_5_2) NEWS: bfn 2007-06-19 Nuno Lopes * ext/pcre/tests/bug40909.phpt: new test * ext/pcre/tests/bug40909.phpt ext/pcre/tests/bug40909.phpt: file bug40909.phpt was initially added on branch PHP_5_2. * ext/pcre/pcrelib/ChangeLog ext/pcre/pcrelib/NEWS ext/pcre/pcrelib/config.h ext/pcre/pcrelib/pcre.h ext/pcre/pcrelib/pcre_exec.c ext/pcre/pcrelib/doc/pcre.txt ext/pcre/pcrelib/testdata/testinput6 ext/pcre/pcrelib/testdata/testinput9 ext/pcre/pcrelib/testdata/testoutput6 ext/pcre/pcrelib/testdata/testoutput9: final PCRE 7.2 release * (PHP_5_2) ext/pcre/pcrelib/ChangeLog ext/pcre/pcrelib/NEWS ext/pcre/pcrelib/config.h ext/pcre/pcrelib/pcre.h ext/pcre/pcrelib/pcre_exec.c ext/pcre/pcrelib/doc/pcre.txt ext/pcre/pcrelib/testdata/testinput6 ext/pcre/pcrelib/testdata/testinput9 ext/pcre/pcrelib/testdata/testoutput6 ext/pcre/pcrelib/testdata/testoutput9: final PCRE 7.2 release :-) 2007-06-19 Derick Rethans * (PHP_5_2) NEWS ext/standard/var.c ext/standard/tests/general_functions/var_export-locale.phpt main/snprintf.c main/spprintf.c: - MFH: Added the H modifier to create non-locale-aware non-fixed-precision float representations. - MFH: Fixed var_export() to use the new H modifier so that it can generate parsable PHP code for floats again, independent of the locale. * ext/standard/var.c ext/standard/tests/general_functions/var_export-locale.phpt ext/standard/tests/general_functions/var_export-locale.phpt main/snprintf.c main/spprintf.c: - Added the H modifier to create non-locale-aware non-fixed-precision float representations. - Fixed var_export() to use the new H modifier so that it can generate parsable PHP code for floats again, independent of the locale. 2007-06-18 Jani Taskinen * (PHP_5_2) NEWS NEWS: rephrase 2007-06-18 Stanislav Malyshev * (PHP_4_4) NEWS NEWS: mysql fix * (PHP_4_4) ext/mysql/php_mysql.c: Fix INFILE LOCAL option handling with MySQL - now not allowed when safe_mode is active * ext/mysqli/mysqli_api.c ext/pdo_mysql/mysql_driver.c: Fix INFILE LOCAL option handling with MySQL - now not allowed when open_basedir is active * (PHP_5_2) ext/mysql/php_mysql.c ext/mysqli/mysqli_api.c ext/pdo_mysql/mysql_driver.c: Fix INFILE LOCAL option handling with MySQL - now not allowed when open_basedir or safe_mode is active 2007-06-18 Raghubansh Kumar * ext/standard/tests/file/filesize_basic.phpt ext/standard/tests/file/filesize_error.phpt ext/standard/tests/file/fread_basic.phpt ext/standard/tests/file/fread_error.phpt ext/standard/tests/file/is_dir_basic.phpt ext/standard/tests/file/is_dir_error.phpt ext/standard/tests/file/is_file_basic.phpt ext/standard/tests/file/is_file_error.phpt: New tests for file system handling functions * ext/standard/tests/file/filesize_basic.phpt ext/standard/tests/file/filesize_basic.phpt ext/standard/tests/file/filesize_error.phpt ext/standard/tests/file/filesize_error.phpt ext/standard/tests/file/fread_basic.phpt ext/standard/tests/file/fread_basic.phpt ext/standard/tests/file/fread_error.phpt ext/standard/tests/file/fread_error.phpt ext/standard/tests/file/is_dir_basic.phpt ext/standard/tests/file/is_dir_basic.phpt ext/standard/tests/file/is_dir_error.phpt ext/standard/tests/file/is_dir_error.phpt ext/standard/tests/file/is_file_basic.phpt ext/standard/tests/file/is_file_basic.phpt ext/standard/tests/file/is_file_error.phpt ext/standard/tests/file/is_file_error.phpt: file filesize_basic.phpt was initially added on branch PHP_5_2. 2007-06-18 Ilia Alshanetsky * (PHP_5_2) NEWS ext/standard/array.c ext/standard/tests/array/bug41686.phpt ext/standard/tests/array/bug41686.phpt: Fixed bug #41686 (Omitting length param in array_slice not possible). * ext/libxml/libxml.c: MFB: Fixed bug #41724 (libxml_get_last_error() - errors survice request scope). * (PHP_5_2) NEWS ext/libxml/libxml.c: Fixed bug #41724 (libxml_get_last_error() - errors survice request scope). 2007-06-18 Scott MacVicar * (PHP_4_4) NEWS sapi/apache/mod_php.c sapi/apache/mod_php4.c: MFB: Fixed bug #41628 (PHP settings leak between Virtual Hosts in Apache 1.3). * (PHP_5_2) NEWS sapi/apache/mod_php5.c: Fixed bug #41628 (PHP settings leak between Virtual Hosts in Apache 1.3). 2007-06-18 Dmitry Stogov * ext/standard/string.c: Fixed error message * ext/standard/string.c ext/standard/tests/strings/bug40754.phpt: Fixed crash in substr_compare() Fixed error messages * ext/standard/string.c: MTH: Fixed bug #40432 (strip_tags() fails with greater than in attribute). * ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h: MTH: Fixed foreach by-ref bug * ext/zlib/tests/ob_001.phpt ext/zlib/tests/ob_002.phpt: Fixed tests * TSRM/tsrm_virtual_cwd.c TSRM/tsrm_virtual_cwd.c ext/standard/tests/file/readlink_realpath_basic.phpt ext/standard/tests/file/readlink_realpath_basic.phpt ext/standard/tests/file/readlink_realpath_variation.phpt ext/standard/tests/file/readlink_realpath_variation.phpt: Fixed yet another realpath cache bug and wrong tests * ZendEngine2/tests/unset_cv08.phpt ext/standard/tests/array/range.phpt ext/standard/tests/strings/strval.phpt ext/zlib/tests/bug_34821.phpt ext/zlib/tests/compress_zlib_wrapper.phpt ext/zlib/tests/compress_zlib_wrapper.phpt: Fixed test * tests/lang/bug32924.phpt: Fixed test file 2007-06-17 Nuno Lopes * (PHP_5_2) ext/gd/libgd/gd.c: malloc+memset == calloc (sync with libgd) 2007-06-17 Pierre-Alain Joye * ext/gd/libgd/gd.c: - Re commit "sync with libgd: improve _gdImageFillTiled()", I reverted it in my previous commit * ext/gd/libgd/gd.c: - MFB: Drop useless tests (Daniel Diaz) * (PHP_5_2) ext/gd/libgd/gd.c: - Drop useless tests (Daniel Diaz) 2007-06-17 Ilia Alshanetsky * (PHP_5_2) NEWS ZendEngine2/zend_ini.c: Fixed zend_alter_ini_entry() memory_limit interruption vulnerability. * (PHP_4_4) ext/session/session.c: : Fixed compiler warning * ext/session/session.c: MFB: Fixed compiler warning * (PHP_5_2) ext/session/session.c: Fixed compiler warning 2007-06-17 Pierre-Alain Joye * (PHP_5_2) NEWS ext/gd/libgd/gd.c: - MFH: #41717, imagepolygon does not respect thickness (sync with libgd) * ext/gd/libgd/gd.c: - #41717, imagepolygon does not respect thickness (sync with libgd) * ext/standard/image.c: - MFB: #41321, read error downgraded to E_NOTICE 2007-06-16 Stefan Esser * ext/session/session.c: Fix attribute injection security bug correctly by URL encoding session name and session value. (in future maybe encode path/domain, too) Remove backward compatibility breaking blacklist of characters. 2007-06-15 Stanislav Malyshev * ext/session/session.c ext/session/session.c: MF5: Disallow characters that Cookie RFC does not allow in unquoted cookies * (PHP_5_2) ext/session/session.c: Disallow characters that Cookie RFC does not allow in unquoted cookies 2007-06-15 Nuno Lopes * ext/gd/libgd/gd.c: MFB: sync with libgd: improve _gdImageFillTiled() * (PHP_5_2) ext/gd/libgd/gd.c: sync with libgd: improve _gdImageFillTiled() * (PHP_5_2) NEWS ext/pcre/config.w32 ext/pcre/config0.m4 ext/pcre/upgrade-pcre.php 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/testinput1 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/testinput8 ext/pcre/pcrelib/testdata/testinput9 ext/pcre/pcrelib/testdata/testoutput1 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/testoutput8 ext/pcre/pcrelib/testdata/testoutput9: upgrade PCRE to version 7.2 RC3 * ext/pcre/tests/bug41050.phpt ext/pcre/tests/bug41148.phpt ext/pcre/tests/bug41638.phpt: MFB: new tests * ext/pcre/tests/bug41050.phpt ext/pcre/tests/bug41050.phpt ext/pcre/tests/bug41148.phpt ext/pcre/tests/bug41148.phpt ext/pcre/tests/bug41638.phpt ext/pcre/tests/bug41638.phpt: file bug41050.phpt was initially added on branch PHP_5_2. 2007-06-15 Dmitry Stogov * (PHP_5_2) NEWS main/main.c main/main.c: HTTP 500 is sent to browser in case of PHP error instead of blank page * ext/standard/tests/network/bug41347.phpt ext/standard/tests/network/bug41347.phpt ext/standard/tests/strings/unpack.phpt ext/standard/tests/strings/unpack.phpt: Fixed test * ext/standard/tests/file/disk_free_space_basic.phpt ext/standard/tests/file/disk_free_space_basic.phpt: Prevent memory overflow * main/main.c: (wrong previous patch) * main/main.c: Prevent crash in case of wrong arguments to CRT functions (dtrftime()) on PHP complead by MS VC8 * (PHP_5_2) main/main.c: Prevent crash in case of wrong arguments to CRT functions (strftime()) on PHP complead by MS VC2005 2007-06-14 Ilia Alshanetsky * ext/standard/tests/file/bug41693.phpt ext/standard/tests/file/bug41693.phpt: file bug41693.phpt was initially added on branch PHP_5_2. * (PHP_5_2) NEWS ext/standard/dir.c: Fixed bug #41693 (scandir() allows empty directory names). 2007-06-14 Raghubansh Kumar * ext/standard/tests/file/rename_basic.phpt ext/standard/tests/file/rename_error.phpt: New tests for file system handling functions * ext/standard/tests/file/rename_basic.phpt ext/standard/tests/file/rename_basic.phpt ext/standard/tests/file/rename_error.phpt ext/standard/tests/file/rename_error.phpt: file rename_basic.phpt was initially added on branch PHP_5_2. 2007-06-14 Pierre-Alain Joye * ext/standard/file.c: - #41609, file_put_contents is not binary safe when a binary string is given (make it consistent with fwrite&co when unicode=1) 2007-06-14 Nuno Lopes * ext/pcre/upgrade-pcre.php ext/pcre/pcrelib/ChangeLog ext/pcre/pcrelib/HACKING ext/pcre/pcrelib/NEWS ext/pcre/pcrelib/NON-UNIX-USE ext/pcre/pcrelib/config.h ext/pcre/pcrelib/pcre.h ext/pcre/pcrelib/pcre_compile.c ext/pcre/pcrelib/pcre_exec.c ext/pcre/pcrelib/pcre_fullinfo.c ext/pcre/pcrelib/pcre_internal.h ext/pcre/pcrelib/pcreposix.c ext/pcre/pcrelib/doc/pcre.txt ext/pcre/pcrelib/testdata/testinput1 ext/pcre/pcrelib/testdata/testinput2 ext/pcre/pcrelib/testdata/testinput5 ext/pcre/pcrelib/testdata/testinput7 ext/pcre/pcrelib/testdata/testinput8 ext/pcre/pcrelib/testdata/testoutput1 ext/pcre/pcrelib/testdata/testoutput2 ext/pcre/pcrelib/testdata/testoutput5 ext/pcre/pcrelib/testdata/testoutput7 ext/pcre/pcrelib/testdata/testoutput8: upgrade to PCRE 7.2 RC3 add script to automate upgrade of the bundled PCRE lib 2007-06-14 Pierre-Alain Joye * ext/gd/libgd/gd.c: - MFB: Fixed regression introduced by the fix for the libgd bug #74 * (PHP_5_2) NEWS ext/gd/libgd/gd.c: - Fixed regression introduced by the fix for the libgd bug #74 2007-06-14 Zoe Slattery * ext/standard/tests/file/is_executable_basic.phpt ext/standard/tests/file/is_executable_basic.phpt ext/standard/tests/file/is_executable_variation.phpt ext/standard/tests/file/is_executable_variation.phpt ext/standard/tests/file/is_readable_basic.phpt ext/standard/tests/file/is_readable_basic.phpt ext/standard/tests/file/is_readable_variation.phpt ext/standard/tests/file/is_readable_variation.phpt ext/standard/tests/file/is_writable_basic.phpt ext/standard/tests/file/is_writable_basic.phpt ext/standard/tests/file/is_writable_variation.phpt ext/standard/tests/file/is_writable_variation.phpt ext/standard/tests/file/mkdir_rmdir_variation.phpt ext/standard/tests/file/mkdir_rmdir_variation.phpt: Tests are not valid if run by root - adding check to skip is user is root. 2007-06-14 Dmitry Stogov * ext/soap/tests/bugs/bug41566.phpt ext/soap/tests/bugs/bug41566.phpt: file bug41566.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/bug41566.phpt: Fixed bug #41566 (SOAP Server not properly generating href attributes) 2007-06-13 Raghubansh Kumar * ext/standard/tests/file/copy_basic.phpt ext/standard/tests/file/copy_error.phpt ext/standard/tests/file/file_get_contents_file_put_contents_variation.phpt ext/standard/tests/file/filegroup_basic.phpt ext/standard/tests/file/filegroup_error.phpt ext/standard/tests/file/fileowner_basic.phpt ext/standard/tests/file/fileowner_error.phpt ext/standard/tests/file/fwrite_basic-win32.phpt ext/standard/tests/file/fwrite_basic.phpt ext/standard/tests/file/fwrite_variation-win32.phpt ext/standard/tests/file/fwrite_variation.phpt: New tests for file system handling functions * ext/standard/tests/file/copy_basic.phpt ext/standard/tests/file/copy_basic.phpt ext/standard/tests/file/copy_error.phpt ext/standard/tests/file/copy_error.phpt ext/standard/tests/file/file_get_contents_file_put_contents_variation.phpt ext/standard/tests/file/file_get_contents_file_put_contents_variation.phpt ext/standard/tests/file/filegroup_basic.phpt ext/standard/tests/file/filegroup_basic.phpt ext/standard/tests/file/filegroup_error.phpt ext/standard/tests/file/filegroup_error.phpt ext/standard/tests/file/fileowner_basic.phpt ext/standard/tests/file/fileowner_basic.phpt ext/standard/tests/file/fileowner_error.phpt ext/standard/tests/file/fileowner_error.phpt ext/standard/tests/file/fwrite_basic-win32.phpt ext/standard/tests/file/fwrite_basic-win32.phpt ext/standard/tests/file/fwrite_basic.phpt ext/standard/tests/file/fwrite_basic.phpt ext/standard/tests/file/fwrite_error.phpt ext/standard/tests/file/fwrite_error.phpt ext/standard/tests/file/fwrite_variation-win32.phpt ext/standard/tests/file/fwrite_variation-win32.phpt ext/standard/tests/file/fwrite_variation.phpt ext/standard/tests/file/fwrite_variation.phpt: file copy_basic.phpt was initially added on branch PHP_5_2. 2007-06-13 Ilia Alshanetsky * ext/json/JSON_parser.c: MFB: Handle very small longs via double * (PHP_5_2) ext/json/JSON_parser.c: Handle very small longs via double * ext/json/JSON_parser.c ext/json/json.c: MFB: Fixed bug #41673 (json_encode breaks large numbers in arrays). * (PHP_5_2) NEWS ext/json/JSON_parser.c ext/json/json.c ext/json/tests/pass001.1.phpt: Fixed bug #41673 (json_encode breaks large numbers in arrays). 2007-06-13 Dmitry Stogov * (PHP_5_2) NEWS ZendEngine2/zend_execute_API.c ZendEngine2/zend_execute_API.c ZendEngine2/tests/bug41633_3.phpt ZendEngine2/tests/bug41633_3.phpt ZendEngine2/tests/bug41633_3.phpt: Fixed bug #41633 (Crash instantiating classes with self-referencing constants) * ZendEngine2/zend_execute_API.c ZendEngine2/zend_execute_API.c ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h ZendEngine2/zend_vm_execute.h ZendEngine2/tests/bug41633_1.phpt ZendEngine2/tests/bug41633_2.phpt: Fixed some class constant issues related to bug #41633 * ZendEngine2/tests/bug41633_1.phpt ZendEngine2/tests/bug41633_1.phpt ZendEngine2/tests/bug41633_2.phpt ZendEngine2/tests/bug41633_2.phpt: file bug41633_1.phpt was initially added on branch PHP_5_2. * ext/simplexml/simplexml.c ext/simplexml/tests/027.phpt ext/simplexml/tests/bug35785.phpt ext/simplexml/tests/bug41582.phpt: Fixed wrong fic for bug #41582 * (PHP_5_2) ext/simplexml/simplexml.c ext/simplexml/tests/027.phpt ext/simplexml/tests/bug35785.phpt ext/simplexml/tests/bug41582.phpt: Fixed wrong fix for bug #41582 2007-06-12 Johannes Schlüter * ext/simplexml/tests/bug37565.phpt: - Fix test 2007-06-12 Nuno Lopes * .cvsignore .cvsignore: ignore tmp-php.ini 2007-06-12 Scott MacVicar * ext/pcre/php_pcre.c ext/pcre/php_pcre.c: Display PCRE ini entries as part of module info * ext/standard/dir.c ext/standard/dir.c ext/standard/dir.c: Fix ZTS build 2007-06-12 Ilia Alshanetsky * (PHP_4_4) NEWS ext/standard/dir.c ext/standard/dir.c: MFB: Fixed bug #41655 (open_basedir bypass via glob()) * (PHP_5_2) NEWS ext/standard/dir.c: Fixed bug #41655 (open_basedir bypass via glob()) 2007-06-11 Jani Taskinen * (PHP_5_2) NEWS: regroup * (PHP_4_4) NEWS: Human readable.. 2007-06-11 Stanislav Malyshev * (PHP_4_4) NEWS: record fixes 2007-06-11 Raghubansh Kumar * ext/standard/tests/file/005_basic.phpt ext/standard/tests/file/005_error.phpt ext/standard/tests/file/005_variation-win32.phpt ext/standard/tests/file/005_variation.phpt ext/standard/tests/file/006_basic.phpt ext/standard/tests/file/006_error.phpt ext/standard/tests/file/006_variation.phpt ext/standard/tests/file/007_basic.phpt ext/standard/tests/file/007_error.phpt ext/standard/tests/file/popen_pclose_basic-win32.phpt ext/standard/tests/file/popen_pclose_basic.phpt ext/standard/tests/file/popen_pclose_error-win32.phpt ext/standard/tests/file/popen_pclose_error.phpt ext/standard/tests/file/readlink_realpath_basic.phpt ext/standard/tests/file/readlink_realpath_error.phpt ext/standard/tests/file/readlink_realpath_variation.phpt ext/standard/tests/file/realpath_basic-win32.phpt ext/standard/tests/file/realpath_error-win32.phpt ext/standard/tests/file/realpath_variation-win32.phpt: New tests for file handling system functions * ZendEngine2/tests/get_defined_vars.phpt: New testcase for get_defined_vars() function: get_defined_vars.phpt * ext/standard/tests/file/005_basic.phpt ext/standard/tests/file/005_basic.phpt ext/standard/tests/file/005_error.phpt ext/standard/tests/file/005_error.phpt ext/standard/tests/file/005_variation-win32.phpt ext/standard/tests/file/005_variation-win32.phpt ext/standard/tests/file/005_variation.phpt ext/standard/tests/file/005_variation.phpt ext/standard/tests/file/006_basic.phpt ext/standard/tests/file/006_basic.phpt ext/standard/tests/file/006_error.phpt ext/standard/tests/file/006_error.phpt ext/standard/tests/file/006_variation.phpt ext/standard/tests/file/006_variation.phpt ext/standard/tests/file/007_basic.phpt ext/standard/tests/file/007_basic.phpt ext/standard/tests/file/007_error.phpt ext/standard/tests/file/007_error.phpt ext/standard/tests/file/popen_pclose_basic-win32.phpt ext/standard/tests/file/popen_pclose_basic-win32.phpt ext/standard/tests/file/popen_pclose_basic.phpt ext/standard/tests/file/popen_pclose_basic.phpt ext/standard/tests/file/popen_pclose_error-win32.phpt ext/standard/tests/file/popen_pclose_error-win32.phpt ext/standard/tests/file/popen_pclose_error.phpt ext/standard/tests/file/popen_pclose_error.phpt ext/standard/tests/file/readlink_realpath_basic.phpt ext/standard/tests/file/readlink_realpath_basic.phpt ext/standard/tests/file/readlink_realpath_error.phpt ext/standard/tests/file/readlink_realpath_error.phpt ext/standard/tests/file/readlink_realpath_variation.phpt ext/standard/tests/file/readlink_realpath_variation.phpt ext/standard/tests/file/realpath_basic-win32.phpt ext/standard/tests/file/realpath_basic-win32.phpt ext/standard/tests/file/realpath_error-win32.phpt ext/standard/tests/file/realpath_error-win32.phpt ext/standard/tests/file/realpath_variation-win32.phpt ext/standard/tests/file/realpath_variation-win32.phpt: file 005_basic.phpt was initially added on branch PHP_5_2. * ZendEngine2/tests/get_defined_vars.phpt ZendEngine2/tests/get_defined_vars.phpt: file get_defined_vars.phpt was initially added on branch PHP_5_2. * (PHP_5_2) ZendEngine2/tests/019.phpt: New testcase for unset(), isset() and empty functions : 019.phpt 2007-06-11 Ilia Alshanetsky * (PHP_4_4) NEWS ext/wddx/wddx.c ext/wddx/tests/bug41527.phpt: MFB: WDDX deserialize numeric string array key * ext/wddx/wddx.c ext/wddx/tests/bug41283.phpt ext/wddx/tests/bug41527.phpt ext/wddx/tests/bug41527.phpt: MFB: Fixed bug #41527 (WDDX deserialize numeric string array key). * (PHP_5_2) ext/wddx/tests/bug41283.phpt: Fixed test * (PHP_5_2) NEWS ext/wddx/wddx.c ext/wddx/tests/bug41527.phpt ext/wddx/tests/bug41527.phpt: Fixed bug #41527 (WDDX deserialize numeric string array key). * (PHP_5_2) ext/json/tests/pass001.1.phpt: Update test 2007-06-10 Ilia Alshanetsky * ext/exif/exif.c: MFB: Fixed memory corruption when reading exif data of a non-file * (PHP_5_2) ext/exif/exif.c: Fixed memory corruption when reading exif data of a non-file 2007-06-09 Jani Taskinen * Makefile.global: MFB * (PHP_5_2) Makefile.global: - Fix special case of no ini file in use or not found * Makefile.global: - fix "make test" issue with extension entries * (PHP_5_2) NEWS ext/standard/basic_functions.c ext/standard/info.c ext/standard/info.h: MFH:- Added php_ini_loaded_file() function which returns the path to the actual php.ini in use. * ext/standard/basic_functions.c ext/standard/info.c ext/standard/info.h: - Added php_ini_loaded_file() function which returns the path to the actual php.ini in use. 2007-06-09 Johannes Schlüter * (PHP_5_2) NEWS ZendEngine2/zend_builtin_functions.c ZendEngine2/zend_builtin_functions.c ZendEngine2/tests/bug41640.phpt: Fix #41640 (get_class_vars produces error on class constants) * ZendEngine2/tests/bug41640.phpt ZendEngine2/tests/bug41640.phpt: Fix #41640 (get_class_vars produces error on class constants) 2007-06-08 Antony Dovgal * (PHP_5_2) NEWS: bfn * (PHP_5_2) ZendEngine2/zend_ini.c: MFH: fix #41561 (Values set with php_admin_* in httpd.conf can be overwritten with ini_set()) * ZendEngine2/zend_ini.c: fix #41561 (Values set with php_admin_* in httpd.conf can be overwritten with ini_set()) * ext/json/tests/pass001.1.phpt ext/json/tests/pass001.1_64bit.phpt ext/json/tests/pass001.phpt: fix tests * ext/json/JSON_parser.c: oops, empty properties are not allowed * ext/json/JSON_parser.c: MFB: fix #41504 (json_decode() incorrectly decodes JSON arrays with empty string keys). * (PHP_5_2) NEWS: news * (PHP_5_2) ext/oci8/oci8.c ext/oci8/oci8_statement.c: MFH: enable statement cache for non-persistent connections (patch by Chris Jones) * ext/oci8/oci8.c ext/oci8/oci8_statement.c: enable statement cache for non-persistent connections (patch by Chris Jones) * (PHP_5_2) ext/json/tests/pass001.1_64bit.phpt: adjust test for 64bit * (PHP_5_2) ext/json/tests/pass001.1.phpt ext/json/tests/pass001.1_64bit.phpt ext/json/tests/pass001.1_64bit.phpt: fix test, add 64bit version 2007-06-08 Pierre-Alain Joye * (PHP_4_4) NEWS ext/gd/libgd/gd_gif_in.c: - MFH:#41630, segfault when an invalid color index is present in the image data * (PHP_5_2) NEWS: - #41630 entry * ext/gd/libgd/gd_gif_in.c: - MFB: #41630, fix segfault when an invalid color index is present in the image data 2007-06-08 Ilia Alshanetsky * (PHP_5_2) NEWS ext/bcmath/bcmath.c: Added missing error check inside bcpowmod(). 2007-06-07 Ilia Alshanetsky * ext/date/php_date.c: MFB: Final shot at the date issue * (PHP_5_2) ext/date/php_date.c: Final shot at the date issue 2007-06-07 Pierre-Alain Joye * (PHP_5_2) ext/gd/libgd/gd_gif_in.c: - #41630, fix segfault when an invalid color index is present in the image data 2007-06-07 Antony Dovgal * (PHP_4_4) ext/mysql/php_mysql.c ext/mysql/php_mysql.c: MFH: reset active_result_id when fetching persistent connection patch by Peter Christensen * ext/mysql/php_mysql.c: reset active_result_id when fetching persistent connection patch by Peter Christensen * ext/calendar/easter.c ext/pdo_sqlite/sqlite/src/date.c ext/sqlite/libsqlite/src/date.c ext/standard/info.c ext/xmlrpc/libxmlrpc/xmlrpc.c: php_localtime_r() checks * ext/ftp/ftp.c ext/interbase/ibase_query.c ext/session/session.c ext/standard/datetime.c ext/standard/ftp_fopen_wrapper.c: php_gmtime_r() fixes * ext/calendar/cal_unix.c ext/date/php_date.c ext/mime_magic/mime_magic.c main/main.c: check return value of *time_r() functions for NULL more checks will follow * (PHP_5_2) ext/calendar/cal_unix.c ext/date/php_date.c ext/mime_magic/mime_magic.c main/main.c: MFH: check return value of *time_r() functions for NULL * (PHP_5_2) ZendEngine2/zend_constants.c ZendEngine2/tests/class_constants_001.phpt ZendEngine2/tests/class_constants_002.phpt ZendEngine2/tests/class_constants_003.phpt: MFH: change E_NOTICE to E_ERROR when using a class constant from non-existent class (noticed by Jani) add tests 2007-06-07 Ilia Alshanetsky * ext/date/php_date.c: Fixed typo * (PHP_5_2) ext/date/php_date.c: Fixed typo 2007-06-06 Ilia Alshanetsky * ext/date/php_date.c: MFB: Adjust previous patch to work on all compilers * (PHP_5_2) ext/date/php_date.c: Adjust previous patch to work on all compilers * ext/date/php_date.c: MFB: Optimize out a loop * (PHP_5_2) ext/date/php_date.c: Optimize out a loop 2007-06-06 Jani Taskinen * (PHP_5_2) NEWS: fix news 2007-06-06 Stanislav Malyshev * (PHP_5_2) ext/standard/tests/strings/pack.phpt: revert - already have unpack.phpt * (PHP_5_2) ext/standard/tests/strings/pack.phpt: add edge case test 2007-06-06 Antony Dovgal * (PHP_5_2) ext/bcmath/bcmath.c: MFH: improve the checks for integer overflow * ext/bcmath/bcmath.c: improve the checks 2007-06-06 Ilia Alshanetsky * ext/standard/pack.c ext/standard/pack.c ext/standard/tests/strings/unpack.phpt ext/standard/tests/strings/unpack.phpt: MFB: Added missing format validator to unpack() function * (PHP_5_2) NEWS ext/standard/pack.c: Added missing format validator to unpack() function * ext/standard/tests/strings/unpack.phpt ext/standard/tests/strings/unpack.phpt ext/standard/tests/strings/unpack.phpt: 1.1.4; file unpack.phpt was initially added on branch PHP_5_2. 2007-06-06 Antony Dovgal * ext/standard/string.c: improve the check 2007-06-06 Stanislav Malyshev * ext/standard/string.c: MF5: Fix chunk_split fix - avoid using floats MF5: Fix money_format - don't give strfmon more arguments then supplied MF5: Fix str[c]spn integer overflow * (PHP_5_2) NEWS: new fixes * (PHP_4_4) ext/standard/string.c ext/standard/string.c: Fix chunk_split fix - avoid using floats Fix money_format - don't give strfmon more arguments then supplied Fix str[c]spn integer overflow * (PHP_4_4) ext/standard/tests/strings/moneyformat.phpt: update test for 4 2007-06-06 Jani Taskinen * (PHP_5_2) Makefile.global: MFH:- Fix passing of shared extensions to run-tests.php * Makefile.global: - Fix for passing of shared extensions to run-tests.php 2007-06-06 Stanislav Malyshev * (PHP_5_2) ext/standard/string.c: fix the chunks fix * ext/standard/tests/strings/moneyformat.phpt ext/standard/tests/strings/moneyformat.phpt ext/standard/tests/strings/moneyformat.phpt: fix test format * (PHP_4_4) ext/standard/tests/strings/moneyformat.phpt: add tests for moneyformat * ext/standard/tests/strings/chunk_split.phpt ext/standard/tests/strings/chunk_split.phpt ext/standard/tests/strings/chunk_split.phpt ext/standard/tests/strings/strcspn.phpt ext/standard/tests/strings/strcspn.phpt ext/standard/tests/strings/strcspn.phpt: add some edge cases * ext/standard/tests/strings/moneyformat.phpt ext/standard/tests/strings/moneyformat.phpt: add moneyformat test * ext/standard/tests/strings/moneyformat.phpt ext/standard/tests/strings/moneyformat.phpt: file moneyformat.phpt was initially added on branch PHP_5_2. 2007-06-06 Zoe Slattery * (PHP_5_2) ext/standard/tests/file/disk_free_space_basic.phpt ext/standard/tests/file/disk_free_space_variation.phpt ext/standard/tests/file/disk_total_space_basic.phpt ext/standard/tests/file/disk_total_space_variation.phpt ext/standard/tests/file/file_basic.phpt ext/standard/tests/file/file_error.phpt ext/standard/tests/file/file_get_contents_file_put_contents_basic.phpt ext/standard/tests/file/file_get_contents_file_put_contents_error.phpt ext/standard/tests/file/file_variation.phpt ext/standard/tests/file/is_executable_variation.phpt ext/standard/tests/file/is_readable_variation.phpt ext/standard/tests/file/is_writable_variation.phpt: New tests for file handling * ext/standard/tests/file/disk_free_space_basic.phpt ext/standard/tests/file/disk_free_space_basic.phpt ext/standard/tests/file/disk_free_space_variation.phpt ext/standard/tests/file/disk_free_space_variation.phpt ext/standard/tests/file/disk_total_space_basic.phpt ext/standard/tests/file/disk_total_space_basic.phpt ext/standard/tests/file/disk_total_space_variation.phpt ext/standard/tests/file/disk_total_space_variation.phpt ext/standard/tests/file/file_basic.phpt ext/standard/tests/file/file_basic.phpt ext/standard/tests/file/file_error.phpt ext/standard/tests/file/file_error.phpt ext/standard/tests/file/file_get_contents_file_put_contents_basic.phpt ext/standard/tests/file/file_get_contents_file_put_contents_basic.phpt ext/standard/tests/file/file_get_contents_file_put_contents_error.phpt ext/standard/tests/file/file_get_contents_file_put_contents_error.phpt ext/standard/tests/file/file_variation.phpt ext/standard/tests/file/file_variation.phpt ext/standard/tests/file/is_executable_variation.phpt ext/standard/tests/file/is_executable_variation.phpt ext/standard/tests/file/is_readable_variation.phpt ext/standard/tests/file/is_readable_variation.phpt ext/standard/tests/file/is_writable_variation.phpt ext/standard/tests/file/is_writable_variation.phpt: New tests for file handling * ext/standard/tests/file/file.inc ext/standard/tests/file/file.inc: fixed file permission for new empty file 2007-06-06 Nuno Lopes * ext/standard/url_scanner_ex.c: fix gcov build.. * (PHP_5_2) ext/standard/url_scanner_ex.c: fix gcov build for the 100th time.. 2007-06-06 Antony Dovgal * (PHP_5_2) ZendEngine2/zend_operators.c: MFH: minor optimization - make sure the objects are not the same instance before we start comparing their properties * ZendEngine2/zend_operators.c: minor optimization - make sure the objects are not the same instance before we start comparing their properties * (PHP_5_2) NEWS: more details * (PHP_5_2) NEWS ext/gd/gd.c ext/gd/libgd/gd.c: MFH: fix several integer overflows in GD * ext/gd/gd.c ext/gd/libgd/gd.c: fix several integer overflows in GD * (PHP_5_2) NEWS: BFN + fix other entries * (PHP_5_2) ZendEngine2/zend_execute.c: MFH: fix #41608 (segfault on a weird code with objects and switch()) * ZendEngine2/zend_execute.c: fix #41608 (segfault on a weird code with objects and switch()) 2007-06-06 Ilia Alshanetsky * ext/session/tests/bug41600.phpt ext/standard/url_scanner_ex.c ext/standard/url_scanner_ex.re: MFB: Fixed bug #41600 (url rewriter tags doesn't work with namespaced tags). * (PHP_5_2) NEWS ext/session/tests/bug41600.phpt ext/session/tests/bug41600.phpt ext/standard/url_scanner_ex.c ext/standard/url_scanner_ex.re: Fixed bug #41600 (url rewriter tags doesn't work with namespaced tags). 2007-06-05 Ilia Alshanetsky * ext/pdo/pdo_sql_parser.c ext/pdo/pdo_sql_parser.re: MFB: Fixed bug #41596 (Fixed a crash inside pdo_pgsql on some non-well-formed SQL queries). * (PHP_5_2) NEWS ext/pdo/pdo_sql_parser.c ext/pdo/pdo_sql_parser.re: Fixed bug #41596 (Fixed a crash inside pdo_pgsql on some non-well-formed SQL queries). 2007-06-05 Antony Dovgal * ext/spl/spl_directory.c: fix build * ext/standard/array.c ext/standard/array.c ext/standard/string.c ext/standard/string.c: fix folding * ext/spl/spl_directory.c: no readlink() on windows * run-tests.php: enable display_startup_errors 2007-06-05 Zoe Slattery * ext/standard/tests/file/fileinode_variation.phpt ext/standard/tests/file/fileinode_variation.phpt ext/standard/tests/file/filetype_variation.phpt ext/standard/tests/file/filetype_variation.phpt: Fixing incorrect comment in test cases fileinode_variation and filetype_variation 2007-06-05 Antony Dovgal * tests/basic/024.phpt tests/basic/025.phpt tests/basic/026.phpt tests/basic/027.phpt: fix test, add missing ones * ZendEngine2/zend_API.h: add SET_VAR_ASCII_STRINGL() * main/php_content_types.c: fix HTTP_RAW_POST_DATA in Unicode mode * main/php_variables.c: port the max_input_nesting_level ini option to Unicode mode * (PHP_5_2) run-tests.php tests/basic/025.phpt: enable display_startup_errors, fix test * (PHP_5_2) NEWS ext/simplexml/simplexml.c ext/simplexml/tests/bug41582.phpt: MFH: fix #41582 (SimpleXML crashes when accessing newly created element) * ext/simplexml/simplexml.c ext/simplexml/tests/bug41582.phpt ext/simplexml/tests/bug41582.phpt: fix #41582 (SimpleXML crashes when accessing newly created element) 2007-06-05 Zoe Slattery * ext/standard/tests/general_functions/floatval.phpt ext/standard/tests/general_functions/is_callable.phpt: new test cases for general functions * ext/standard/tests/file/is_executable_basic-win32.phpt ext/standard/tests/file/is_executable_basic.phpt ext/standard/tests/file/is_executable_error.phpt ext/standard/tests/file/is_readable_basic-win32.phpt ext/standard/tests/file/is_readable_basic.phpt ext/standard/tests/file/is_readable_error.phpt ext/standard/tests/file/is_writable_basic.phpt ext/standard/tests/file/is_writable_error.phpt ext/standard/tests/file/mkdir_rmdir_error.phpt ext/standard/tests/file/mkdir_rmdir_variation-win32.phpt ext/standard/tests/file/mkdir_rmdir_variation.phpt ext/standard/tests/file/pathinfo_basic.phpt ext/standard/tests/file/pathinfo_error.phpt ext/standard/tests/file/pathinfo_variaton.phpt: New test cases for file system functions * ext/standard/tests/general_functions/floatval.phpt ext/standard/tests/general_functions/floatval.phpt ext/standard/tests/general_functions/is_callable.phpt ext/standard/tests/general_functions/is_callable.phpt: file floatval.phpt was initially added on branch PHP_5_2. * ext/standard/tests/file/is_executable_basic-win32.phpt ext/standard/tests/file/is_executable_basic-win32.phpt ext/standard/tests/file/is_executable_basic.phpt ext/standard/tests/file/is_executable_basic.phpt ext/standard/tests/file/is_executable_error.phpt ext/standard/tests/file/is_executable_error.phpt ext/standard/tests/file/is_readable_basic-win32.phpt ext/standard/tests/file/is_readable_basic-win32.phpt ext/standard/tests/file/is_readable_basic.phpt ext/standard/tests/file/is_readable_basic.phpt ext/standard/tests/file/is_readable_error.phpt ext/standard/tests/file/is_readable_error.phpt ext/standard/tests/file/is_writable_basic.phpt ext/standard/tests/file/is_writable_basic.phpt ext/standard/tests/file/is_writable_error.phpt ext/standard/tests/file/is_writable_error.phpt ext/standard/tests/file/mkdir_rmdir_error.phpt ext/standard/tests/file/mkdir_rmdir_error.phpt ext/standard/tests/file/mkdir_rmdir_variation-win32.phpt ext/standard/tests/file/mkdir_rmdir_variation-win32.phpt ext/standard/tests/file/mkdir_rmdir_variation.phpt ext/standard/tests/file/mkdir_rmdir_variation.phpt ext/standard/tests/file/pathinfo_basic.phpt ext/standard/tests/file/pathinfo_basic.phpt ext/standard/tests/file/pathinfo_error.phpt ext/standard/tests/file/pathinfo_error.phpt ext/standard/tests/file/pathinfo_variaton.phpt ext/standard/tests/file/pathinfo_variaton.phpt: file is_executable_basic-win32.phpt was initially added on branch PHP_5_2. * (PHP_5_2) ext/standard/tests/file/file.inc: Added fill_buffer() function * ext/standard/tests/file/fgetc_basic.phpt ext/standard/tests/file/fileinode_variation.phpt ext/standard/tests/file/filetype_variation.phpt: Updated test output in line with changes to file.inc * ext/standard/tests/file/file.inc: Added fill_buffer() and fixed file_fill() to write binary data only 2007-06-05 Antony Dovgal * (PHP_5_2) NEWS ext/oci8/oci8_statement.c: MFH: fix #41594 (Statement cache is flushed too frequently) * ext/oci8/oci8_statement.c: fix #41594 (Statement cache is flushed too frequently) 2007-06-04 Ilia Alshanetsky * ext/json/json.c: MFB: Fixed bug #41567 (json_encode() double conversion is inconsistent with PHP). * (PHP_5_2) NEWS ext/json/json.c ext/json/tests/bug41567.phpt ext/json/tests/bug41567.phpt: Fixed bug #41567 (json_encode() double conversion is inconsistent with PHP). 2007-06-04 Nuno Lopes * ext/filter/.cvsignore ext/pdo/.cvsignore ext/pdo_mysql/.cvsignore ext/pdo_mysql/.cvsignore ext/pdo_oci/.cvsignore ext/pdo_oci/.cvsignore ext/pdo_pgsql/.cvsignore ext/pdo_pgsql/.cvsignore ext/pdo_sqlite/.cvsignore ext/unicode/.cvsignore ext/xmlreader/.cvsignore ext/xmlwriter/.cvsignore ext/zip/.cvsignore ext/zip/lib/.cvsignore: ignore *.gcno 2007-06-04 Antony Dovgal * ext/standard/tests/general_functions/bug41518.phpt: clean up temp file 2007-06-04 Zoe Slattery * ext/standard/tests/file/fileinode_variation.phpt: missing ?> in skipif section 2007-06-04 Antony Dovgal * (PHP_5_2) NEWS: news entry * (PHP_5_2) sapi/cgi/cgi_main.c: MFH: add missing open_basedir checks to CGI * sapi/cgi/cgi_main.c: add missing open_basedir checks to CGI * (PHP_5_2) sapi/cli/getopt.c sapi/cli/php_cli.c sapi/cli/php_cli_readline.c: fix folding * ZendEngine2/zend_constants.c ZendEngine2/tests/class_constants_001.phpt ZendEngine2/tests/class_constants_002.phpt ZendEngine2/tests/class_constants_003.phpt: change E_NOTICE to E_ERROR when using a class constant from non-existent class (noticed by Jani) add tests * main/php_variables.c: no register_globals in HEAD * ext/zip/php_zip.c ext/zip/php_zip.c: fix ws 2007-06-04 Brian Shire * ext/standard/tests/array/bug35014_64bit.phpt ext/standard/tests/strings/bug23894.phpt ext/standard/tests/strings/bug26973.phpt ext/standard/tests/strings/printf_64bit.phpt ext/standard/tests/strings/sprintf_f_2.phpt: MFB: fix sprintf/printf %u tests so they work correctly on both 32-bit and 64-bit. (broken in previous fix) * (PHP_5_2) ext/standard/tests/array/bug35014_64bit.phpt ext/standard/tests/strings/bug23894.phpt ext/standard/tests/strings/bug26973.phpt ext/standard/tests/strings/printf_64bit.phpt ext/standard/tests/strings/sprintf_f_2.phpt: fix sprintf/printf %u tests so they work correctly on both 32-bit and 64-bit. (broken in previous fix) 2007-06-04 Hannes Magnusson * tests/basic/027.phpt: Fix the expected results 2007-06-03 Hannes Magnusson * (PHP_5_2) tests/basic/027.phpt: fix test 2007-06-03 Jani Taskinen * (PHP_5_2) sapi/cgi/tests/009.phpt: fix test * sapi/cgi/tests/009.phpt: add missing test * sapi/phttpd/config.m4: another missed ]) * sapi/isapi/config.m4: fix configure 2007-06-03 Pierre-Alain Joye * ext/zip/php_zip.c: - MFB: fix logic * (PHP_5_2) ext/zip/php_zip.c: - fix logic (goto is a gift, I should use it :) * ext/zip/php_zip.c ext/zip/tests/bug11216.phpt: - MFB: PECL #11216, addEmptyDir crashes if the directory already exists * (PHP_5_2) NEWS ext/zip/php_zip.c ext/zip/tests/bug11216.phpt: - pecl bug #11216, better fix, leak removed and improved test - typo in news, better late than never (-d) 2007-06-03 Jani Taskinen * (PHP_5_2) NEWS: bug news * (PHP_5_2) sapi/apache/config.m4 sapi/apache2filter/config.m4 sapi/apache2handler/config.m4 sapi/apache_hooks/config.m4 sapi/caudium/config.m4 sapi/embed/config.m4 sapi/isapi/config.m4 sapi/milter/config.m4 sapi/phttpd/config.m4 sapi/pi3web/config.m4 sapi/roxen/config.m4 sapi/thttpd/config.m4 sapi/tux/config.m4 sapi/webjames/config.m4: MFH:- Fixed bug #41576 (misbehaviour when using --without-apxs) * sapi/apache/config.m4 sapi/apache2filter/config.m4 sapi/apache2handler/config.m4 sapi/apache_hooks/config.m4 sapi/caudium/config.m4 sapi/embed/config.m4 sapi/isapi/config.m4 sapi/milter/config.m4 sapi/phttpd/config.m4 sapi/pi3web/config.m4 sapi/roxen/config.m4 sapi/thttpd/config.m4 sapi/tux/config.m4 sapi/webjames/config.m4: - Fixed bug #41576 (misbehaviour when using --without-apxs) 2007-06-03 Pierre-Alain Joye * ext/zip/tests/bug11216.phpt ext/zip/tests/bug11216.phpt: file bug11216.phpt was initially added on branch PHP_5_2. * (PHP_5_2) ext/zip/php_zip.c: - PECL #11216, addEmptyDir crashes if the directory already exists 2007-06-03 Jani Taskinen * (PHP_5_2) NEWS: fix news 2007-06-03 Ilia Alshanetsky * ext/standard/string.c ext/standard/string.c ext/standard/tests/strings/chunk_split.phpt ext/standard/tests/strings/chunk_split.phpt: MFB: Corrected fix for CVE-2007-2872 * (PHP_5_2) NEWS ext/standard/string.c ext/standard/tests/strings/chunk_split.phpt: Corrected fix for CVE-2007-2872 2007-06-03 Pierre-Alain Joye * (PHP_5_2) NEWS ext/gd/gd.c ext/gd/libgd/gd.h: - MFH: @DOC add constants GD_MAJOR_VERSION, GD_MINOR_VERSION, GD_RELEASE_VERSION GD_EXTRA_VERSION and GD_VERSION_STRING * ext/gd/gd.c ext/gd/libgd/gd.h: - @DOC add constants GD_MAJOR_VERSION, GD_MINOR_VERSION, GD_RELEASE_VERSION GD_EXTRA_VERSION and GD_VERSION_STRING - fix #ifdef else clause 2007-06-03 Ilia Alshanetsky * (PHP_5_2) ext/pdo/tests/bug_36798.phpt: Fixed test for PostgreSQL 2007-06-03 Jani Taskinen * (PHP_4_4) main/php_variables.c main/php_variables.c tests/basic/027.phpt tests/basic/027.phpt: MFH:- Improved the error message for exceeding max_input_nesting_level. * main/php_variables.c tests/basic/027.phpt: - Improved the error message for exceeding max_input_nesting_level. 2007-06-03 Ilia Alshanetsky * (PHP_4_4) NEWS main/php_variables.c tests/basic/027.phpt: MFB: Improved fix for MOPB-02-2007 * main/php_variables.c tests/basic/027.phpt tests/basic/027.phpt: MFB: Improved fix for MOPB-02-2007 * (PHP_5_2) NEWS main/php_variables.c: Improved fix for MOPB-02-2007 * tests/basic/027.phpt tests/basic/027.phpt: file 027.phpt was initially added on branch PHP_5_2. 2007-06-03 Brian Shire * (PHP_5_2) ext/standard/formatted_print.c: MFH: Change printf %u behavior so that it does not truncate numbers at 32-bits. (Reported by Aditya Agarwal.) * ext/standard/formatted_print.c: Change printf %u behavior so that it does not truncate numbers at 32-bits. (Reported by Aditya Agarwal.) 2007-06-02 Pierre-Alain Joye * ext/gd/gd.c: - MFB: sx/sy must be > 0 and < INT_MAX * (PHP_5_2) ext/gd/gd.c: - sx/sy must be > 0 and < INT_MAX * (PHP_5_2) ext/gd/tests/bug19366.phpt ext/gd/tests/bug22544.phpt ext/gd/tests/bug24155.phpt ext/gd/tests/bug24594.phpt ext/gd/tests/bug27582_1.phpt ext/gd/tests/bug28147.phpt ext/gd/tests/bug36697.phpt ext/gd/tests/bug37346.phpt ext/gd/tests/bug37360.phpt ext/gd/tests/bug38112.phpt ext/gd/tests/bug39082.phpt ext/gd/tests/bug39273.phpt ext/gd/tests/bug39286.phpt ext/gd/tests/bug39366.phpt ext/gd/tests/bug39508.phpt ext/gd/tests/bug39780.phpt ext/gd/tests/bug39780_extern.phpt ext/gd/tests/createfromgd2.phpt ext/gd/tests/createfromwbmp.phpt ext/gd/tests/createfromwbmp2.phpt ext/gd/tests/createfromwbmp2_extern.phpt ext/gd/tests/gif2gd.phpt ext/gd/tests/gif2jpg.phpt ext/gd/tests/gif2png.phpt ext/gd/tests/imagefilter.phpt ext/gd/tests/imagewbmp.phpt ext/gd/tests/jpeg2png.phpt ext/gd/tests/jpg2gd.phpt ext/gd/tests/libgd00086.phpt ext/gd/tests/libgd00086_extern.phpt ext/gd/tests/png2gd.phpt ext/gd/tests/pngcomp.phpt ext/gd/tests/xpm2gd.phpt ext/gd/tests/xpm2jpg.phpt ext/gd/tests/xpm2png.phpt: - enable tests even when an external GD is used. Latest releases (2.0.34 or 2.0.35) work. 2007-06-01 Jani Taskinen * sapi/cli/tests/015.phpt sapi/cli/tests/015.phpt: fix test * (PHP_5_2) ext/gd/config.m4: MFH: - Fixed bug #41555 (configure failure: regression caused by fix for #41265) * ext/gd/config.m4: - Fixed bug #41555 (configure failure: regression caused by fix for #41265 * (PHP_4_4) scripts/phpize.m4: MFH:- Add missing CXXFLAGS_CLEAN variable. * (PHP_5_2) scripts/phpize.m4: MFH: - Add missing CXXFLAGS_CLEAN variable. * scripts/phpize.m4: - Add missing CXXFLAGS_CLEAN variable. 2007-06-01 Antony Dovgal * (PHP_5_2) NEWS ext/standard/tests/general_functions/bug41518.phpt main/fopen_wrappers.c: MFH: fix #41518 (file_exists() warns of open_basedir restriction on non-existent file) * ext/standard/tests/general_functions/bug41518.phpt ext/standard/tests/general_functions/bug41518.phpt main/fopen_wrappers.c: fix #41518 (file_exists() warns of open_basedir restriction on non-existent file) * (PHP_5_2) NEWS sapi/apache2handler/sapi_apache2.c: MFH: fix #39330 (apache2handler does not call shutdown actions before apache child die) * sapi/apache2handler/sapi_apache2.c: fix #39330 (apache2handler does not call shutdown actions before apache child die) 2007-05-31 Antony Dovgal * ext/standard/type.c: fix folding 2007-05-30 Ilia Alshanetsky * (PHP_5_2) NEWS configure.in main/php_version.h: Back to dev * (PHP_5_2) NEWS configure.in main/php_version.h: 5.2.3 2007-05-30 Antony Dovgal * ZendEngine2/zend_exceptions.c ZendEngine2/zend_interfaces.c: remove semicolons and make SunCC happy * ext/openssl/tests/bug28382.phpt ext/openssl/tests/bug28382.phpt ext/openssl/tests/bug39217.phpt ext/openssl/tests/bug39217.phpt: fix test names 2007-05-30 Pierre-Alain Joye * (PHP_5_2) ext/openssl/tests/bug39217cert1.txt ext/openssl/tests/bug39217cert2.txt: - add missing cert (thx Tony) 2007-05-30 Antony Dovgal * (PHP_5_2) sapi/cli/tests/006.phpt: fix test (second try) * (PHP_5_2) sapi/cli/tests/006.phpt: fix test * (PHP_5_2) TSRM/tsrm_virtual_cwd.c: MFH: fix lstat() function resolving symlinks * TSRM/tsrm_virtual_cwd.c: fix lstat() function resolving symlinks patch by Scott MacVicar * (PHP_5_2) sapi/cli/tests/004.phpt sapi/cli/tests/006.phpt: fix tests * (PHP_5_2) ZendEngine2/zend_API.c: set module in internal_function struct * ext/standard/file.c: check length only when it's specified add the same check to fgetss() 2007-05-30 Michael Wallner * (RELEASE_1_4) ext/hash/hash.c ext/hash/package.xml ext/hash/package2.xml ext/hash/php_hash.h: - version agnosticism (PECL/HEAD) - release 1.4 2007-05-30 Ilia Alshanetsky * ext/standard/string.c ext/standard/tests/strings/chunk_split.phpt: MFB: Fixed an interger overflow inside chunk_split(), identified by Gerhard Wagner * (PHP_4_4) NEWS ext/standard/string.c ext/standard/tests/strings/chunk_split.phpt: MFH: Fixed an interger overflow inside chunk_split(), identified by Gerhard Wagner * (PHP_5_2) NEWS ext/standard/string.c ext/standard/tests/strings/chunk_split.phpt: Fixed an interger overflow inside chunk_split(), identified by Gerhard Wagner 2007-05-29 Antony Dovgal * ext/standard/dl.c: more typofixes 2007-05-29 Ilia Alshanetsky * ZendEngine2/tests/foreach.phpt ext/filter/logical_filters.c ext/filter/tests/PMOPB45.phpt ext/imap/tests/bug40854.phpt ext/pgsql/pgsql.c ext/standard/dir.c ext/standard/dl.c ext/standard/mail.c ext/standard/user_filters.c ext/standard/tests/array/bug40709.phpt ext/standard/tests/strings/bug40432.phpt ext/standard/tests/strings/bug40704.phpt ext/standard/tests/strings/bug40754.phpt ext/standard/tests/strings/htmlentities18.phpt ext/sybase/php_sybase_db.c ext/tidy/tests/024.phpt ext/wddx/tests/bug41283.phpt ext/xmlrpc/libxmlrpc/base64.c ext/xmlrpc/libxmlrpc/base64.h main/streams/transports.c sapi/cgi/cgi_main.c: MFB 2007-05-29 Antony Dovgal * ext/standard/file.c: fix #41516 (fgets() returns a line of text when length parameter is <= 0) * ext/standard/user_filters.c: fix typo & build 2007-05-29 Stanislav Malyshev * win32/build/config.w32: fix build on msvc 8 2007-05-29 Antony Dovgal * ext/standard/tests/general_functions/debug_zval_dump_b_64bit.phpt ext/standard/tests/general_functions/intval.phpt ext/standard/tests/general_functions/is_float.phpt ext/standard/tests/general_functions/is_float_64bit.phpt ext/standard/tests/general_functions/is_int.phpt ext/standard/tests/general_functions/is_int_64bit.phpt ext/standard/tests/general_functions/print_r_64bit.phpt ext/standard/tests/general_functions/var_dump_64bit.phpt: fix tests, add 64bit versions 2007-05-29 Michael Wallner * ext/mhash/config.m4 ext/mhash/mhash.c: - fix build where mhash.h is not declaring mhash_get_hash_name_static and/or mhash_get_keygen_name_static protos 2007-05-29 Antony Dovgal * ext/standard/tests/array/002.phpt ext/standard/tests/array/005.phpt ext/standard/tests/array/009.phpt ext/standard/tests/array/array_change_key_case.phpt ext/standard/tests/array/array_keys.phpt ext/standard/tests/array/array_map.phpt ext/standard/tests/array/array_pop.phpt ext/standard/tests/array/array_search.phpt ext/standard/tests/array/each.phpt: fix tests in unicode mode * ZendEngine2/tests/compare_001_64bit.phpt ZendEngine2/tests/compare_002_64bit.phpt ZendEngine2/tests/compare_003_64bit.phpt ZendEngine2/tests/compare_004_64bit.phpt ZendEngine2/tests/compare_005_64bit.phpt ZendEngine2/tests/compare_006_64bit.phpt ext/standard/tests/file/bug38450.phpt ext/standard/tests/file/bug38450_1.phpt ext/standard/tests/file/filetype_variation.phpt ext/standard/tests/general_functions/debug_zval_dump_o.phpt ext/standard/tests/general_functions/debug_zval_dump_v.phpt ext/standard/tests/general_functions/strval.phpt ext/standard/tests/general_functions/var_export.phpt ext/standard/tests/general_functions/var_export.phpt ext/standard/tests/strings/explode1.phpt ext/standard/tests/strings/explode1.phpt: fix tests * ZendEngine2/tests/019.phpt ext/json/tests/fail001.phpt ext/mysql/tests/mysql_affected_rows.phpt ext/standard/tests/array/bug29253.phpt tests/classes/array_access_010.phpt: fix test 2007-05-29 Marcus Boerger * (PHP_5_2) NEWS ext/reflection/php_reflection.c: - Bug #41525 ReflectionParameter::getPosition() not available 2007-05-29 Antony Dovgal * ext/standard/md5.c: fix typo 2007-05-28 Ilia Alshanetsky * run-tests.php server-tests.php TSRM/tsrm_virtual_cwd.c ext/bz2/bz2.c ext/dbase/dbf_rec.c ext/iconv/iconv.c ext/imap/php_imap.c ext/interbase/php_ibase_udf.c ext/mcrypt/mcrypt.c ext/mime_magic/mime_magic.c ext/mysql/php_mysql.c ext/openssl/openssl.c ext/pdo/pdo_dbh.c ext/pdo/pdo_sql_parser.c ext/pdo/pdo_sql_parser.re ext/pdo_firebird/firebird_statement.c ext/pdo_mysql/mysql_statement.c ext/pdo_pgsql/pgsql_statement.c ext/shmop/shmop.c ext/simplexml/simplexml.c ext/soap/php_http.c ext/sockets/php_sockets.h ext/sockets/sockets.c ext/sqlite/php_sqlite.h ext/sqlite/sess_sqlite.c ext/sqlite/sqlite.c ext/standard/array.c ext/standard/browscap.c ext/standard/http_fopen_wrapper.c ext/standard/md5.c ext/standard/md5.h ext/standard/proc_open.c ext/standard/sha1.c ext/standard/url_scanner.c ext/sysvshm/sysvshm.c ext/wddx/wddx.c ext/xmlrpc/libxmlrpc/xml_to_dandarpc.c ext/xmlrpc/libxmlrpc/xml_to_soap.c ext/xmlrpc/libxmlrpc/xml_to_xmlrpc.c main/php_content_types.c main/streams/plain_wrapper.c: MFB 2007-05-28 Antony Dovgal * ZendEngine2/zend_API.c ZendEngine2/zend_operators.h: fix #41517 (different behaviour of floatval() in Unicode mode) * ext/openssl/tests/bug36732.phpt ext/openssl/tests/bug36732.phpt ext/openssl/tests/bug41353.phpt ext/openssl/tests/bug41353.phpt: fix test names 2007-05-28 Pierre-Alain Joye * ext/gd/tests/bug19366.phpt ext/gd/tests/bug22544.phpt ext/gd/tests/bug24155.phpt ext/gd/tests/bug24594.phpt ext/gd/tests/bug27582_1.phpt ext/gd/tests/bug28147.phpt ext/gd/tests/bug36697.phpt ext/gd/tests/bug37346.phpt ext/gd/tests/bug37360.phpt ext/gd/tests/bug38112.phpt ext/gd/tests/bug39082.phpt ext/gd/tests/bug39273.phpt ext/gd/tests/bug39286.phpt ext/gd/tests/bug39366.phpt ext/gd/tests/bug39508.phpt ext/gd/tests/bug39780.phpt ext/gd/tests/bug39780_extern.phpt ext/gd/tests/createfromgd2.phpt ext/gd/tests/createfromwbmp.phpt ext/gd/tests/createfromwbmp2_extern.phpt ext/gd/tests/dashedlines.phpt ext/gd/tests/gif2gd.phpt ext/gd/tests/gif2jpg.phpt ext/gd/tests/gif2png.phpt ext/gd/tests/imagefilter.phpt ext/gd/tests/imagewbmp.phpt ext/gd/tests/jpeg2png.phpt ext/gd/tests/jpg2gd.phpt ext/gd/tests/libgd00086.phpt ext/gd/tests/libgd00086_extern.phpt ext/gd/tests/png2gd.phpt ext/gd/tests/pngcomp.phpt ext/gd/tests/xpm2gd.phpt ext/gd/tests/xpm2jpg.phpt ext/gd/tests/xpm2png.phpt: - enable tests even when an external GD is used. Latest releases (2.0.34 or 2.0.35) work. NB: if you use Debian, you'll realize how bad their package is and start to either use the source or push all patches I posted to their bugs tracker * ext/gd/tests/createfromwbmp2.phpt: - fix test, requires binary string * (PHP_5_2) ext/openssl/tests/bug37820.phpt ext/openssl/tests/bug39217.phpt: - MFH: - tests for #39217 - skip test if openssl is too old * ext/openssl/openssl.c: - MFB: enable DSA key if HAVE_DSA_DEFAULT_METHOD is set * ext/openssl/tests/bug36732.phpt ext/openssl/tests/bug41353.phpt: - skip if openssl is too old - MFB test bug41353.phpt 2007-05-28 Hannes Magnusson * ext/pdo_odbc/php_pdo_odbc.h ext/standard/basic_functions.h ext/tokenizer/php_tokenizer.h: Remove weird useless entries 2007-05-28 Antony Dovgal * (PHP_5_2) NEWS: reorder 2007-05-28 Hannes Magnusson * ext/reflection/php_reflection.c: Fix logic 2007-05-28 Antony Dovgal * ZendEngine2/zend_alloc.c: use unsigned modifiers 2007-05-28 Dmitry Stogov * sapi/cgi/cgi_main.c sapi/cgi/cgi_main.c: Removed deprecated comment 2007-05-27 Antony Dovgal * run-tests.php sapi/cgi/tests/include.inc: "sapi/cgi/php" -> "sapi/cgi/php-cgi" * ext/openssl/tests/bug38255.phpt ext/openssl/tests/bug38261.phpt: fix tests * ext/openssl/xp_ssl.c: MFB: fix #41236 (Regression in timeout handling of non-blocking SSL connections during reads and writes). Everybody please calm down, we can always fix such issues without starting a war.. 2007-05-27 Hannes Magnusson * (PHP_5_2) sapi/cgi/.cvsignore: the binary is called php-cgi now * sapi/cgi/.cvsignore: The binary is called php-cgi now 2007-05-27 Jani Taskinen * php.ini-dist php.ini-recommended: - Add missing entry * (PHP_5_2) php.ini-dist php.ini-recommended: MFH: add missing entries, these are in PHP_4_4 branch.. 2007-05-27 Ilia Alshanetsky * (PHP_5_2) ext/json/tests/pass001.1.phpt ext/json/tests/pass001.phpt: Adjust tests to reflect the new expected output * (PHP_5_2) NEWS: Fixed SQLite version * (PHP_5_2) NEWS ext/soap/soap.c ext/soap/tests/bugs/bug41477.phpt ext/soap/tests/bugs/bug41477.phpt: Fixed bug #41477 (no arginfo about SoapClient::__soapCall()). * (PHP_5_2) NEWS ext/standard/file.c: Fixed bug #41492 (open_basedir/safe_mode bypass inside realpath()). * (PHP_5_2) NEWS ext/openssl/xp_ssl.c: Fixed bug #41236 (Regression in timeout handling of non-blocking SSL connections during reads and writes). * (PHP_5_2) NEWS ext/json/JSON_parser.c ext/json/tests/bug41504.phpt ext/json/tests/bug41504.phpt: Fixed bug #41504 (json_decode() incorrectly decodes JSON arrays with empty string keys). 2007-05-27 Nuno Lopes * (PHP_5_2) ext/standard/html.c ext/standard/tests/strings/htmlentities18.phpt: fix handling of && by htmlentities 'no-double-encode' expand the test cases * (PHP_5_2) ext/standard/html.c: fix the new 'no-double-encoding' feature of htmlspecialchars() (the length for char search was wrong. this could lead to crashes..) * (PHP_5_2) ext/standard/md5.c: make make_digest() output a 16-byte string so that it wont break the internal PHP API (it was breaking the SOAP extension) 2007-05-27 Antony Dovgal * ext/gmp/tests/001.phpt ext/gmp/tests/011.phpt ext/gmp/tests/012.phpt ext/gmp/tests/013.phpt ext/gmp/tests/014.phpt ext/gmp/tests/015.phpt ext/gmp/tests/016.phpt ext/gmp/tests/017.phpt ext/gmp/tests/018.phpt ext/gmp/tests/019.phpt ext/gmp/tests/020.phpt ext/gmp/tests/021.phpt ext/gmp/tests/022.phpt ext/gmp/tests/023.phpt ext/gmp/tests/024.phpt ext/gmp/tests/025.phpt ext/gmp/tests/026.phpt ext/gmp/tests/027.phpt ext/gmp/tests/028.phpt ext/gmp/tests/029.phpt ext/gmp/tests/030.phpt ext/gmp/tests/031.phpt ext/gmp/tests/032.phpt ext/gmp/tests/033.phpt ext/gmp/tests/034.phpt ext/gmp/tests/035.phpt ext/gmp/tests/036.phpt ext/gmp/tests/037.phpt ext/gmp/tests/038.phpt ext/gmp/tests/039.phpt ext/gmp/tests/040.phpt: add missing skipif sections * (PHP_4_4) ext/standard/basic_functions.c ext/standard/php_var.h: MFH: improve variable name checks (by popular demands..) 2007-05-27 Jani Taskinen * (PHP_4_4) NEWS NEWS: fix news * (PHP_5_2) NEWS ext/standard/md5.c ext/standard/sha1.c: - Fixed bug #41511 (Compile failure under IRIX 6.5.30 building md5.c) 2007-05-27 Antony Dovgal * (PHP_5_2) ext/standard/tests/file/filetype_variation.phpt: check for required func * (PHP_5_2) ext/standard/tests/general_functions/intval.phpt: fix test 2007-05-26 Sara Golemon * ext/hash/hash.c: MFB(r-1.18.2.5.2.7) Use slprintf() instead of snprintf() - Bad Ilia, no biscuit for you. 2007-05-25 Rasmus Lerdorf * (PHP_5_2) TSRM/tsrm_virtual_cwd.c: Remove simple optimization here for now until we clean up this SAPI/TSRM mess. 2007-05-25 Hannes Magnusson * (PHP_5_2) php.ini-recommended: MFH: Mention why short_open_tags is off (bug#37068) * php.ini-recommended: Mention why short_open_tags is off (bug#37068) * (PHP_5_2) ext/standard/html.c: Allow skipping hint_charset (fixes ext/standard/tests/strings/htmlentities18.phpt) 2007-05-25 Zoe Slattery * ext/standard/tests/file/fgetc_basic.phpt ext/standard/tests/file/fgetc_error.phpt ext/standard/tests/file/file.inc ext/standard/tests/file/fileinode_basic.phpt ext/standard/tests/file/fileinode_error.phpt ext/standard/tests/file/fileinode_variation.phpt ext/standard/tests/file/filetype_basic.phpt ext/standard/tests/file/filetype_error.phpt ext/standard/tests/file/filetype_variation.phpt ext/standard/tests/file/flock_basic.phpt ext/standard/tests/file/flock_error.phpt ext/standard/tests/file/flock_variation.phpt ext/standard/tests/file/fnmatch_basic.phpt ext/standard/tests/file/fnmatch_error.phpt ext/standard/tests/file/fnmatch_variation.phpt ext/standard/tests/file/fpassthru_basic.phpt ext/standard/tests/file/fpassthru_error.phpt ext/standard/tests/file/fpassthru_variation.phpt ext/standard/tests/general_functions/intval.phpt ext/standard/tests/general_functions/var_export.phpt ext/standard/tests/strings/dirname_basic.phpt ext/standard/tests/strings/dirname_error.phpt ext/standard/tests/strings/dirname_variation.phpt ext/standard/tests/strings/explode1.phpt: New tests for file/general_functions/strings * ext/standard/tests/file/fgetc_basic.phpt ext/standard/tests/file/fgetc_basic.phpt ext/standard/tests/file/fgetc_error.phpt ext/standard/tests/file/fgetc_error.phpt ext/standard/tests/file/file.inc ext/standard/tests/file/file.inc ext/standard/tests/file/fileinode_basic.phpt ext/standard/tests/file/fileinode_basic.phpt ext/standard/tests/file/fileinode_error.phpt ext/standard/tests/file/fileinode_error.phpt ext/standard/tests/file/fileinode_variation.phpt ext/standard/tests/file/fileinode_variation.phpt ext/standard/tests/file/filetype_basic.phpt ext/standard/tests/file/filetype_basic.phpt ext/standard/tests/file/filetype_error.phpt ext/standard/tests/file/filetype_error.phpt ext/standard/tests/file/filetype_variation.phpt ext/standard/tests/file/filetype_variation.phpt ext/standard/tests/file/flock_basic.phpt ext/standard/tests/file/flock_basic.phpt ext/standard/tests/file/flock_error.phpt ext/standard/tests/file/flock_error.phpt ext/standard/tests/file/flock_variation.phpt ext/standard/tests/file/flock_variation.phpt ext/standard/tests/file/fnmatch_basic.phpt ext/standard/tests/file/fnmatch_basic.phpt ext/standard/tests/file/fnmatch_error.phpt ext/standard/tests/file/fnmatch_error.phpt ext/standard/tests/file/fnmatch_variation.phpt ext/standard/tests/file/fnmatch_variation.phpt ext/standard/tests/file/fpassthru_basic.phpt ext/standard/tests/file/fpassthru_basic.phpt ext/standard/tests/file/fpassthru_error.phpt ext/standard/tests/file/fpassthru_error.phpt ext/standard/tests/file/fpassthru_variation.phpt ext/standard/tests/file/fpassthru_variation.phpt ext/standard/tests/general_functions/intval.phpt ext/standard/tests/general_functions/intval.phpt ext/standard/tests/general_functions/var_export.phpt ext/standard/tests/general_functions/var_export.phpt ext/standard/tests/strings/dirname_basic.phpt ext/standard/tests/strings/dirname_basic.phpt ext/standard/tests/strings/dirname_error.phpt ext/standard/tests/strings/dirname_error.phpt ext/standard/tests/strings/dirname_variation.phpt ext/standard/tests/strings/dirname_variation.phpt ext/standard/tests/strings/explode1.phpt ext/standard/tests/strings/explode1.phpt: file fgetc_basic.phpt was initially added on branch PHP_5_2. 2007-05-25 Hannes Magnusson * (PHP_5_2) ext/json/json.c: MFH: protos (patch by jeffg at activestate dot com) 2007-05-25 Michael Wallner * ext/curl/config.m4 ext/curl/config.m4: - fix typo 2007-05-25 Hannes Magnusson * (PHP_5_2) NEWS: Mention json nesting dept bump * ext/json/tests/fail001.phpt: MFB: Fix test after stack limit bump * (PHP_5_2) ext/json/tests/fail001.phpt: This test should only test failures * (PHP_5_2) ext/json/tests/fail001.phpt: Fix test after stack limit bump 2007-05-25 Rasmus Lerdorf * (PHP_5_2) main/SAPI.c: Slightly cleaner code * main/SAPI.c main/SAPI.c: Optimize sapi_get_request_time() slightly making it use the cached time and also checking if there is a server_context before trying to call the request_time sapi hook. 2007-05-25 Ilia Alshanetsky * (PHP_5_2) NEWS configure.in main/php_version.h: Back to dev * (PHP_5_2) NEWS configure.in main/php_version.h: 5.2.3RC1 2007-05-24 Jani Taskinen * configure.in sapi/cgi/config9.m4: MFB:- Unify installation of SAPIs: CGI is no exception anymore. * (PHP_5_2) NEWS configure.in sapi/cgi/config9.m4: - Unify installation of SAPIs: CGI is no exception anymore. 2007-05-24 Rasmus Lerdorf * (PHP_5_2) ext/json/JSON_parser.c: Make the code match the commit comment * ext/json/JSON_parser.c: MFB 5_2 - increase json parser depth from 20 to 128 * (PHP_5_2) ext/json/JSON_parser.c: I don't see any reason to leave the stack limitation at 20. We have reports of this limit being hit now and as far as I can tell bumping it to 128 isn't going break anything in the parser code. 2007-05-24 Jani Taskinen * Makefile.frag acinclude.m4 configure.in ext/standard/Makefile.frag ext/tokenizer/Makefile.frag: MFB * (PHP_5_2) Makefile.frag acinclude.m4 configure.in ext/standard/Makefile.frag ext/tokenizer/Makefile.frag: - Allow build without flex/bison installed (fixes builddir != srcdir build when using distributed sources which inlude pre-generated bison/flex output. See bug #38762 for more..) 2007-05-24 Rasmus Lerdorf * ext/standard/string.c ext/standard/string.c ext/standard/string.c ext/standard/string.c: MFB 5_2 * (PHP_5_2) ext/standard/string.c: Uh, only meant to remove the null check, not the assignment * (PHP_5_2) ext/standard/string.c: Avoid running off the end of a non-null terminated string. Not that we should have any of those, but a mistake in an extension could hit this and the check doesn't actually make any sense as far as I am concerned. 2007-05-24 Jani Taskinen * acinclude.m4: MFB:- Fix previous fix. (just revert of Stefan's bad fix..) * (PHP_5_2) acinclude.m4: - Fix previous fix. (just revert of Stefan's bad fix..) * acinclude.m4: MFB:- Fix idiotic change in logic. (hint: flex is _REQUIRED_ for building PHP! * (PHP_5_2) acinclude.m4: - Fix idiotic change in logic. (hint: flex is _REQUIRED_ for building PHP! 2007-05-24 Dmitry Stogov * ZendEngine2/zend_language_scanner.l ZendEngine2/zend_language_scanner.l: Impoved error reporting on parser errors (Matt, Dmitry) 2007-05-23 Marcus Boerger * README.PARAMETER_PARSING_API: - Fix f 2007-05-23 Ilia Alshanetsky * (PHP_5_2) ext/standard/math.c: Simplify code 2007-05-23 Hannes Magnusson * (PHP_4_4) ext/standard/credits.c: Credit Philip as the phpdoc editor * (PHP_4_4) NEWS php.ini-dist php.ini-recommended: note on max_input_nesting_level 2007-05-22 Hannes Magnusson * (PHP_5_2) NEWS: new curl constants 2007-05-22 Stanislav Malyshev * (PHP_4_4) main/main.c main/php_globals.h main/php_variables.c: fix for CVE-2007-1285 - crash on deep input variable nesting 2007-05-22 Antony Dovgal * ext/standard/tests/general_functions/gettype_settype_basic.phpt ext/standard/tests/general_functions/import_request.phpt: fix test 2007-05-22 Hannes Magnusson * (PHP_5_2) NEWS: Add entry about --ini 2007-05-22 Raghubansh Kumar * ext/standard/tests/general_functions/gettype_settype_basic.phpt ext/standard/tests/general_functions/gettype_settype_error.phpt ext/standard/tests/general_functions/gettype_settype_variation1.phpt ext/standard/tests/general_functions/gettype_settype_variation2.phpt ext/standard/tests/general_functions/gettype_settype_variation3.phpt ext/standard/tests/general_functions/gettype_settype_variation4.phpt ext/standard/tests/general_functions/gettype_settype_variation5.phpt ext/standard/tests/general_functions/gettype_settype_variation6.phpt ext/standard/tests/general_functions/gettype_settype_variation7.phpt ext/standard/tests/general_functions/gettype_settype_variation8.phpt: New version of gettype_settype_basic.phpt, gettype_settype_variation3.phpt, gettype_settype_variation7.phpt, gettype_settype_error.phpt, gettype_settype_variation4.phpt, gettype_settype_variation8.phpt, gettype_settype_variation1.phpt, gettype_settype_variation5.phpt, gettype_settype_variation2.phpt, gettype_settype_variation6.phpt * ext/standard/tests/strings/basename_basic.phpt ext/standard/tests/strings/basename_error.phpt ext/standard/tests/strings/basename_variation.phpt: New version of basename_basic.phpt basename_error.phpt basename_variation.phpt * ext/standard/tests/general_functions/gettype_settype_error.phpt ext/standard/tests/general_functions/gettype_settype_error.phpt ext/standard/tests/general_functions/gettype_settype_variation1.phpt ext/standard/tests/general_functions/gettype_settype_variation1.phpt ext/standard/tests/general_functions/gettype_settype_variation5.phpt ext/standard/tests/general_functions/gettype_settype_variation5.phpt ext/standard/tests/general_functions/gettype_settype_variation8.phpt ext/standard/tests/general_functions/gettype_settype_variation8.phpt: file gettype_settype_error.phpt was initially added on branch PHP_5_2. * ext/standard/tests/general_functions/gettype_settype_basic.phpt ext/standard/tests/general_functions/gettype_settype_basic.phpt ext/standard/tests/general_functions/gettype_settype_variation2.phpt ext/standard/tests/general_functions/gettype_settype_variation2.phpt ext/standard/tests/general_functions/gettype_settype_variation3.phpt ext/standard/tests/general_functions/gettype_settype_variation3.phpt ext/standard/tests/general_functions/gettype_settype_variation4.phpt ext/standard/tests/general_functions/gettype_settype_variation4.phpt ext/standard/tests/general_functions/gettype_settype_variation6.phpt ext/standard/tests/general_functions/gettype_settype_variation6.phpt ext/standard/tests/general_functions/gettype_settype_variation7.phpt ext/standard/tests/general_functions/gettype_settype_variation7.phpt: file gettype_settype_basic.phpt was initially added on branch PHP_5_2. * ext/standard/tests/strings/basename_basic.phpt ext/standard/tests/strings/basename_basic.phpt ext/standard/tests/strings/basename_error.phpt ext/standard/tests/strings/basename_error.phpt ext/standard/tests/strings/basename_variation.phpt ext/standard/tests/strings/basename_variation.phpt: file basename_basic.phpt was initially added on branch PHP_5_2. 2007-05-22 Hannes Magnusson * ext/standard/credits.c: Philip, the new phpdoc editor \o/ * (PHP_5_2) ext/standard/credits.c: Ladies and gentelmens, I bring you our new documentation editor.... Philip Olson! * (PHP_5_2) ext/standard/basic_functions.c ext/standard/html.c: Update proto&arginfo for double_encode in htmlspecialchars()&htmlentities() 2007-05-22 Pierre-Alain Joye * (PHP_5_2) NEWS: - add cve ref 2007-05-22 Antony Dovgal * (PHP_5_2) ext/standard/basic_functions.c ext/standard/php_var.h ext/standard/tests/general_functions/import_request1.phpt ext/standard/tests/general_functions/import_request2.phpt ext/standard/tests/general_functions/import_request3.phpt: MFH: improve variable name checks add more tests * ext/standard/tests/general_functions/import_request1.phpt ext/standard/tests/general_functions/import_request1.phpt ext/standard/tests/general_functions/import_request2.phpt ext/standard/tests/general_functions/import_request2.phpt ext/standard/tests/general_functions/import_request3.phpt ext/standard/tests/general_functions/import_request3.phpt: improve variable name checks add more tests * ext/standard/basic_functions.c ext/standard/php_var.h: improve variable name checks add more tests 2007-05-22 Hannes Magnusson * php.ini-dist php.ini-recommended: MFB: max_input_nesting_level * (PHP_5_2) php.ini-dist php.ini-recommended: Add max_input_nesting_level 2007-05-22 Ilia Alshanetsky * (PHP_5_2) NEWS ext/standard/html.c ext/standard/html.h ext/standard/tests/strings/htmlentities18.phpt ext/standard/tests/strings/htmlentities18.phpt: [DOC] Added a 4th parameter flag to htmlspecialchars() and htmlentities() that makes the function not encode existing html entities. The feature is disabled by default and can be activated by passing FALSE as the 4th param 2007-05-22 Timm Friebe * (PHP_5_2) ext/sybase_ct/tests/test_long.phpt: - Changed hardcoded "tempdb" database name to a constant * (PHP_5_2) ext/sybase_ct/tests/test_msghandler_handled.phpt: - Fixed expectancy in for SQL query