2007-03-06 Derick Rethans * ext/date/lib/timezonedb.h ext/date/lib/timezonemap.h: - MF52: Updated timezone database to version 2007.3. * (PHP_5_2) NEWS ext/date/lib/timezonedb.h ext/date/lib/timezonemap.h: - Updated timezone database to version 2007.3. (Derick) 2007-03-06 Antony Dovgal * ZendEngine2/zend_ini.c: comment out unused function need to figure out why and what for it has been added in the first place.. * (PHP_5_2) ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c: use the aliases and eliminate one more compile warning * (PHP_5_2) ZendEngine2/zend_alloc.c: MFH: declare zend_mm_random() only when needed * ZendEngine2/zend_alloc.c: declare zend_mm_random() only when needed * ext/standard/var.c: be consistent with non-unicode implementation 2007-03-06 Sara Golemon * main/streams/streams.c: Fix handling over overridden file:// wrapper 2007-03-06 Antony Dovgal * ext/standard/basic_functions.c ext/standard/tests/general_functions/import_request.phpt: fix segfault in import_request_variables() and its test I'm not completely sure it's correct to import numeric vars like _POST["1"] etc. 2007-03-06 Uwe Schindler * sapi/nsapi/nsapi-readme.txt sapi/nsapi/nsapi.c: Update function names for PHP6 to php6* 2007-03-06 Antony Dovgal * ext/standard/var.c: initialize variable * ZendEngine2/tests/bug21478.phpt ZendEngine2/tests/bug31720.phpt ZendEngine2/tests/bug32290.phpt ZendEngine2/tests/bug36214.phpt ext/standard/tests/file/bug37158.phpt ext/standard/tests/file/bug38450.phpt ext/standard/tests/file/bug38450_1.phpt ext/standard/tests/general_functions/call_user_func_return.phpt ext/standard/tests/network/bug20134.phpt ext/standard/tests/serialize/bug24063.phpt ext/standard/tests/strings/bug20934.phpt ext/standard/tests/strings/bug26817.phpt ext/standard/tests/strings/bug29119.phpt ext/standard/tests/strings/explode.phpt ext/standard/tests/strings/http_build_query.phpt ext/standard/tests/strings/metaphone.phpt ext/standard/tests/strings/url_t.phpt: fix tests 2007-03-06 Uwe Schindler * sapi/nsapi/nsapi.c sapi/nsapi/nsapi.c: remove (large) static buffers for header names and request uri * sapi/nsapi/nsapi.c sapi/nsapi/nsapi.c: use slprintf instead of snprintf and remove 0termination things (because slprintf is always available now) 2007-03-06 Antony Dovgal * ext/ming/config.m4: fix AC_TRY_COMPILE usage 2007-03-06 Ilia Alshanetsky * (PHP_5_2) ZendEngine2/zend_strtod.c: Added missing allocation checks 2007-03-06 Stanislav Malyshev * (PHP_5_2) ext/bz2/bz2.c ext/sqlite/sqlite.c ext/sybase_ct/php_sybase_ct.c: use safe_realloc * (PHP_5_2) ext/sybase/php_sybase_db.c: use safe_erealloc 2007-03-06 Marcus Boerger * ext/mbstring/oniguruma/regerror.c: - Add missing return value check * (PHP_5_2) ext/mbstring/oniguruma/regerror.c: - Revert last part and fix issue under windows * (PHP_5_2) ext/mbstring/oniguruma/regversion.c: - And the sizes too * (PHP_5_2) ext/mbstring/oniguruma/regversion.c: - More to go * (PHP_5_2) ext/mbstring/oniguruma/regposerr.c: - There you go * (PHP_5_2) ext/mbstring/oniguruma/regposerr.c: - MFH Revert back to sprintf (we could define snprintf for windows but we don't) * ext/mbstring/oniguruma/regposerr.c: - Revert back to sprintf (we could define snprintf for windows but we don't) 2007-03-06 Ilia Alshanetsky * (PHP_5_2) NEWS ext/pdo/pdo_sql_parser.c ext/pdo/pdo_sql_parser.re: Fixed bug #40417 (Allow multiple instances of the same named PDO token in prepared statement emulation code). 2007-03-06 Stanislav Malyshev * (PHP_5_2) ext/interbase/ibase_service.c: fix broken snprintf code 2007-03-05 Stanislav Malyshev * (PHP_4_4) ext/fdf/fdf.c: MF5: use safe_emalloc * (PHP_4_4) sapi/isapi/php4isapi.c: MF5: use srtlcat * (PHP_4_4) sapi/apache/php_apache.c sapi/apache2handler/php_functions.c: MF5: use snprintf * (PHP_4_4) ext/xmlrpc/libxmlrpc/xml_to_soap.c: MF5: increase array size to fit buffer size * (PHP_5_2) ext/fdf/fdf.c: use safe_emalloc 2007-03-05 Uwe Schindler * sapi/nsapi/nsapi.c sapi/nsapi/nsapi.c: snprintf patch 2007-03-05 andy wharmby * NEWS: Remove bug entry for 35872 as now in 5.2 2007-03-05 Michael Wallner * (PHP_5_2) NEWS: BFN * ext/date/php_date.c ext/date/php_date.c: - fix ws as requested by derick * ext/date/php_date.c ext/date/php_date.c: - fix bug #40691: add comparison object handler 2007-03-05 andy wharmby * NEWS NEWS ext/com_dotnet/com_extension.c ext/com_dotnet/com_extension.c ext/com_dotnet/com_wrapper.c ext/com_dotnet/com_wrapper.c ext/com_dotnet/php_com_dotnet.h ext/com_dotnet/php_com_dotnet.h: Fixed bug #35872 (Prevent object store references during RSHUTDOWN) 2007-03-04 Ilia Alshanetsky * (PHP_5_2) NEWS ext/xmlrpc/libxmlrpc/base64.c ext/xmlrpc/libxmlrpc/base64.h ext/xmlrpc/libxmlrpc/xml_to_dandarpc.c ext/xmlrpc/libxmlrpc/xml_to_soap.c ext/xmlrpc/libxmlrpc/xml_to_xmlrpc.c: Fixed bug #40703 (Resolved a possible namespace conflict between libxmlrpc and MySQL's NDB table handler). * ext/standard/tests/array/bug40709.phpt ext/standard/tests/array/bug40709.phpt: file bug40709.phpt was initially added on branch PHP_5_2. * (PHP_5_2) NEWS ext/standard/array.c: Fixed bug #40709 (array_reduce() behaves strange with one item stored arrays). 2007-03-04 Marcus Boerger * ZendEngine2/zend_language_parser.y: - Implement '?:' [DOC] "expr1 ?: expr1" is a shortcut for: "expr1 ? expr1 : expr2" as exists in gcc and discussed some time back. Note that this is not an implementation ifsetor($var, default). While ifsetor would not generate any message for non existing variables or array indices the ternary shortcut does. Also the ternary shortcut does a boolean evaluation rather then checking for isset(). That way ther ternary shortcut can work on any expression while ifsetor can only work on variables. Also to be silent one has do do: "@$expr1 ?: $expr2". * (PHP_5_2) ext/spl/spl_directory.c ext/spl/spl_iterators.c: - Fix copy'n'paste issues * (PHP_5_2) ext/spl/spl_directory.c ext/spl/spl_iterators.c ext/spl/internal/parentiterator.inc: - MFH simplify, synch docu/implementation * ext/spl/spl_directory.c: - Missed one is-dot check * ext/spl/spl_iterators.c ext/spl/internal/parentiterator.inc: - Match docu with implementation - RecursiveFilterIterator::accept() needs to be abstract * ext/spl/spl_directory.c ext/spl/spl_iterators.c: - Simplify 2007-03-04 Stanislav Malyshev * (PHP_5_2) ext/wddx/wddx.c: ik, make it memcpy * (PHP_5_2) ext/wddx/wddx.c: fix wrong code 2007-03-04 Marcus Boerger * ext/spl/spl_directory.c ext/spl/spl_directory.h: - And finally use prefix style names for consistency sake 2007-03-04 Edin Kadribasic * win32/build/Makefile: MFB: Check that manifest file exists before trying to embed it * (PHP_5_2) win32/build/Makefile: Check that manifest file exists before trying to embed it 2007-03-04 Marcus Boerger * ext/spl/spl_directory.c ext/spl/spl_directory.h: - Reverting glob on child logic makes globbing work better with the example code * ext/spl/spl_directory.c ext/spl/spl_directory.h: - Fix a minor issue with glob support - forgot to set length of string - Add ability to not use glob on subdirs 2007-03-03 Marcus Boerger * main/streams/glob_wrapper.c: - Missed to add [ to meta char check * ext/spl/spl_directory.c ext/spl/spl_directory.h: - Glob might require us to refetch the path for every entry * main/streams/glob_wrapper.c main/streams/php_stream_glob_wrapper.h: - Allow to retrieve flags with php_glob_stream_get_count() - Detect meta chars in pathand switch to append mode so that path can actually changes for each entry 2007-03-03 Edin Kadribasic * (PHP_5_2) NEWS: Library update 2007-03-03 Marcus Boerger * ext/spl/spl_directory.c: - Add DirectoryIterator::count() * main/streams/glob_wrapper.c main/streams/php_stream_glob_wrapper.h: - Allow to get number of entries of a glob stream * main/php_streams.h: - One more tab to go * main/php_streams.h: - Change to hex to help read-/maintainability * ext/spl/spl_directory.c ext/spl/spl_directory.h: - Add glob support for DirectoryIterator * win32/php5dllts.dsp win32/build/config.w32: - Add glob stream to win build * main/streams/glob_wrapper.c main/streams/php_stream_glob_wrapper.h: - Provide access to pattern used in glob * main/streams/glob_wrapper.c main/streams/php_stream_glob_wrapper.h: - php_stream_is() requires php_glob_stream_ops to be public - little bit of additional whitespace * configure.in ext/standard/basic_functions.c main/php_streams.h main/streams/glob_wrapper.c main/streams/php_stream_glob_wrapper.h main/streams/plain_wrapper.c: - Add glob stream wrapper * ext/standard/file.c: - Fix realpath() logic * (PHP_5_2) main/streams/streams.c: - MFH A stream wrapper might only allow directory access * main/streams/streams.c: -A stream wrapper might only allow directory access 2007-03-03 Ilia Alshanetsky * (PHP_5_2) ext/standard/string.c ext/standard/tests/strings/bug40704.phpt ext/standard/tests/strings/bug40704.phpt: Fixed bug #40704 (strip_tags() does not handle single quotes correctly) 2007-03-03 Marcus Boerger * (PHP_5_2) NEWS: - The # line does not belong here * (PHP_5_2) NEWS ext/spl/spl_directory.c: - MFH [DOC] Add SplFileInfo::getBasename(), DirectoryIterator::getBasename - MFH Add SplFileInfo::getLinkTarget(), SplFileInfo::getRealPath() 2007-03-03 Ilia Alshanetsky * (PHP_5_2) ext/session/mod_files.c ext/session/session.c: Adjust checks to allow paths without a trailing / 2007-03-03 Marcus Boerger * ext/spl/spl_directory.c: - SplFileInfo::getRealPath() is not always present * ext/spl/spl_directory.c: * ext/spl/spl_directory.c: - [DOC] Add SplInfo::getBasename(), DirectoryIterator::getBasename() * ZendEngine2/zend_execute_API.c ZendEngine2/zend_execute_API.c: - Catch empty class name error earlier 2007-03-03 Johannes Schlüter * main/output.c tests/output/ob_020.phpt: - Fix old behaviour, ob_list_handlers() should always return an array 2007-03-03 Edin Kadribasic * (PHP_4_4) ext/interbase/interbase.dsp ext/snmp/snmp.dsp ext/sybase_ct/sybase_ct.dsp sapi/apache/php4apache.dsp sapi/apache2handler/php4apache2.dsp sapi/pi3web/php4pi3web.dsp: Use standardised locations for libs and includes * (PHP_4_4) ext/informix/ifx.dsp: Made compile without magic * (PHP_5_2) NEWS: Lib upgrade update 2007-03-02 Stanislav Malyshev * main/main.c main/main.c main/php_globals.h main/php_globals.h main/php_variables.c main/php_variables.c: limit nesting level of input variables * (PHP_5_2) main/php_variables.c: fix variable name * (PHP_5_2) NEWS: limit input variable nesting 2007-03-02 Nuno Lopes * ext/standard/tests/file/proc_open01.phpt: MFB * (PHP_5_2) ext/standard/tests/file/proc_open01.phpt: increase the stream_select() timeout, to make the test pass in a slow machine with valgrind * ext/gd/libgd/gd_gif_in.c: MFB * (PHP_5_2) ext/gd/libgd/gd_gif_in.c: fix access to non initialized memory (check valgrind reports on http://gcov.php.net) 2007-03-02 Antony Dovgal * ext/oci8/tests/bug40415.phpt: mask resource numbers * (PHP_5_2) ext/oci8/tests/lob_029.phpt: improved test 2007-03-02 Ilia Alshanetsky * (PHP_5_2) ext/session/session.c: Improve safe_mode check 2007-03-01 Antony Dovgal * (PHP_5_2) ext/oci8/tests/bug40415.phpt ext/oci8/tests/fetch_all3.phpt ext/oci8/tests/fetch_all3.phpt ext/oci8/tests/lob_037.phpt ext/oci8/tests/lob_038.phpt ext/oci8/tests/lob_039.phpt: new tests * ext/oci8/tests/bug40415.phpt ext/oci8/tests/bug40415.phpt ext/oci8/tests/lob_029.phpt ext/oci8/tests/lob_037.phpt ext/oci8/tests/lob_037.phpt ext/oci8/tests/lob_038.phpt ext/oci8/tests/lob_038.phpt ext/oci8/tests/lob_039.phpt ext/oci8/tests/lob_039.phpt: new tests by Chris and me * ext/oci8/oci8_statement.c ext/oci8/php_oci8_int.h: MFB: allocate and define descriptors dynamically * (PHP_5_2) ext/oci8/oci8_statement.c ext/oci8/php_oci8_int.h: allocate descriptors dynamically 2007-03-01 Nuno Lopes * (PHP_4_4) ext/gd/libgd/gdft.c: MFH * ext/gd/libgd/gdft.c: MFB * (PHP_5_2) ext/gd/libgd/gdft.c: merge from gd sources: unlock mutex before shuting it down 2007-03-01 Antony Dovgal * ext/iconv/config.m4: fix iconv cross-compilation * (PHP_5_2) NEWS ext/posix/config.m4: MFH: fix #40678 (Cross compilation fails) * ext/posix/config.m4: fix #40678 (Cross compilation fails) 2007-03-01 Ilia Alshanetsky * (PHP_5_2) NEWS: Fixed bug #40464 (session.save_path wont use default-value when safe_mode or open_basedir is enabled). 2007-02-28 Derick Rethans * (PHP_4_4) NEWS configure.in main/php_version.h: - Back to dev. * (PHP_4_4) NEWS configure.in main/php_version.h: - Go with 4.4.6. 2007-02-28 Hannes Magnusson * ext/interbase/interbase.c ext/interbase/interbase.c: Typo 2007-02-28 Ilia Alshanetsky * (PHP_5_2) ext/mbstring/oniguruma/regerror.c: Fixed typo * (PHP_5_2) ext/mbstring/oniguruma/regerror.c: Adjust vsnprintf() usage 2007-02-27 Ilia Alshanetsky * (PHP_5_2) ext/ftp/ftp.c ext/hash/hash.c ext/mbstring/oniguruma/regerror.c ext/mhash/mhash.c ext/pcre/pcrelib/pcregrep.c ext/pdo_firebird/firebird_driver.c ext/session/mod_mm.c ext/session/session.c ext/spl/spl_directory.c ext/spl/spl_iterators.c ext/standard/html.c ext/standard/http_fopen_wrapper.c ext/standard/string.c ext/wddx/wddx.c main/SAPI.c sapi/cgi/cgi_main.c sapi/cgi/fastcgi.c sapi/tux/php_tux.c: snprintf() -> slprintf() * (PHP_5_2) ext/date/php_date.c ext/exif/exif.c ext/imap/php_imap.c ext/interbase/ibase_query.c ext/interbase/ibase_service.c ext/interbase/interbase.c ext/pdo_firebird/firebird_statement.c ext/soap/soap.c: snprintf() -> slprintf() * (PHP_5_2) ext/standard/string.c: Fixed bug #40637 (Regression in strip_tags() in relation so quote handling) 2007-02-26 Marcus Boerger * ext/spl/spl_directory.c: - Add missing access check * ext/spl/spl.php ext/spl/spl_directory.c: - Add SplFileInfo::getLinkTarget - Add SplFileInfo::getRealPath 2007-02-26 Antony Dovgal * ZendEngine2/zend_operators.c ZendEngine2/zend_operators.h: nuke dead code * ext/standard/filestat.c: simplify disk_*_space() functions sources by moving ifdef'ed implementations into separate functions * (PHP_5_2) ext/session/mod_mm.c: fix typo 2007-02-26 Dmitry Stogov * ext/soap/tests/bugs/bug40609.phpt ext/soap/tests/bugs/bug40609.phpt ext/soap/tests/bugs/bug40609.wsdl ext/soap/tests/bugs/bug40609.wsdl: Fixed tests 2007-02-26 Antony Dovgal * Makefile.global: remind about 'make test' * ext/standard/filestat.c ext/standard/filestat.c: fix folding 2007-02-26 Rob Richards * ext/pcre/php_pcre.def: fix win build 2007-02-26 Antony Dovgal * (PHP_5_2) ext/standard/tests/serialize/bug24063.phpt: fix the sprintf() -> zend_spprintf() change affected this * (PHP_5_2) main/snprintf.c: fix ws/cs and make the ugly code less ugly.. * main/snprintf.c: fix CS/WS * ZendEngine2/zend_operators.c: MFB: use zend_spprintf() 2007-02-26 Dmitry Stogov * main/snprintf.c: ZTS fix 2007-02-26 Antony Dovgal * (PHP_5_2) ext/standard/tests/strings/bug40637.phpt: add new test * ext/standard/tests/strings/bug40637.phpt ext/standard/tests/strings/bug40637.phpt: new test 2007-02-26 Dmitry Stogov * sapi/cgi/fastcgi.c sapi/cgi/fastcgi.c: poll() is not affected by FD_SETSIZE (Tony) 2007-02-26 Antony Dovgal * (PHP_4_4) NEWS ext/curl/curl.c: fix #40635 (segfault in cURL extension) 2007-02-26 Ilia Alshanetsky * (PHP_5_2) ext/standard/head.c: Revert previous commit that caused a buffer overflow (Bug #40634) 2007-02-25 Antony Dovgal * ext/dbase/dbase.c ext/dbase/tests/001.phpt ext/dbase/tests/002.phpt: do not allow db without fields fix test * ext/sockets/sockets.c: zerofill socket structs 2007-02-25 Nuno Lopes * main/php_compat.h: MFB: update pcre symbol list * (PHP_5_2) main/php_compat.h: update pcre symbols list 2007-02-25 Dmitry Stogov * (PHP_5_2) NEWS ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h ZendEngine2/zend_vm_execute.h: Fixed bug #40591 (list()="string"; gives invalid opcode) * ext/soap/tests/bugs/bug40609.phpt ext/soap/tests/bugs/bug40609.phpt ext/soap/tests/bugs/bug40609.wsdl ext/soap/tests/bugs/bug40609.wsdl: file bug40609.phpt was initially added on branch PHP_5_2. * (PHP_5_2) NEWS ext/soap/php_encoding.c ext/soap/php_encoding.c ext/soap/tests/bugs/bug40609.phpt ext/soap/tests/bugs/bug40609.wsdl: Fixed bug #40609 (Segfaults when using more than one SoapVar in a request). (Rob, Dmitry) 2007-02-25 Marcus Boerger * ext/exif/exif.c: - Readability 2007-02-25 Pierre-Alain Joye * ext/gd/libgd/gdft.c: - MFB: sync with libgd.org, patch from Kees Cook * (PHP_5_2) ext/gd/libgd/gdft.c: - sync with libgd.org, patch from Kees Cook 2007-02-24 Rasmus Lerdorf * (PHP_5_2) ext/filter/tests/bug39763.phpt: Fix test 2007-02-24 Antony Dovgal * (PHP_5_2) NEWS: BFN * (PHP_5_2) ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h ZendEngine2/tests/bug40621.phpt: MFH: fix #40621 (Crash when constructor called inappropriately (statically)) * ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h ZendEngine2/tests/bug40621.phpt ZendEngine2/tests/bug40621.phpt: fix #40621 (Crash when constructor called inappropriately (statically)) 2007-02-24 Pierre-Alain Joye * ext/zip/lib/zip_close.c: - MFB: Fixed snprintf() usage * ext/zip/lib/zip_close.c ext/zip/lib/zip_open.c ext/zip/lib/zip_source_file.c: - merge from pecl: Force binary mode on windows * ext/zip/lib/zip_close.c: - MFB: free temp buffer 2007-02-24 Marcus Boerger * ext/exif/exif.c: - MFB Synch * main/snprintf.c: - Make [v]s[nl]printf compatible with 5.2 versions and [v]spprintf of head * main/snprintf.c main/snprintf.h: - Add [v]slprintf * (PHP_5_2) main/snprintf.c main/snprintf.h: - Add [v]slprintf to overcome the returnvalues issue of snprintf 2007-02-24 Ilia Alshanetsky * (PHP_5_2) ext/exif/exif.c: missing -1 * (PHP_5_2) ext/dbase/dbf_head.c ext/dbase/dbf_rec.c ext/gd/libgd/gd_gif_in.c ext/interbase/ibase_query.c ext/pdo_firebird/firebird_statement.c ext/wddx/wddx.c: strncpy() -> strlcpy() * (PHP_5_2) ext/exif/exif.c: Pad to given length, not replace data with spaces * (PHP_5_2) ext/exif/exif.c: Eliminate strncpy and simplify code * (PHP_5_2) ext/standard/html.c: Eliminate strncpy() and simplify code * (PHP_5_2) ext/standard/dir.c: strncpy > strlcpy * (PHP_5_2) ext/shmop/shmop.c: Only do size check on create operations 2007-02-24 Marcus Boerger * ZendEngine2/zend.c ext/bcmath/libbcmath/src/output.c ext/bcmath/libbcmath/src/rt.c ext/com_dotnet/com_wrapper.c ext/dbase/dbf_head.c ext/dbase/dbf_misc.c ext/exif/exif.c ext/fbsql/php_fbsql.c ext/ftp/ftp.c ext/gd/libgd/gdtest.c ext/gd/libgd/webpng.c ext/imap/php_imap.c ext/interbase/ibase_blobs.c ext/interbase/ibase_query.c ext/interbase/ibase_service.c ext/interbase/interbase.c ext/mbstring/mbstring.c ext/mbstring/oniguruma/regposerr.c ext/msql/php_msql.c ext/mssql/php_mssql.c ext/mysql/php_mysql.c ext/mysqli/mysqli.c ext/mysqli/mysqli_api.c ext/mysqli/mysqli_prop.c ext/mysqli/php_mysqli.h ext/oci8/oci8.c ext/odbc/php_odbc.c ext/openssl/openssl.c ext/pcre/pcrelib/pcregrep.c ext/pcre/pcrelib/pcreposix.c ext/pdo_firebird/firebird_statement.c ext/pdo_odbc/odbc_driver.c ext/pgsql/pgsql.c ext/pspell/pspell.c ext/session/mod_mm.c ext/session/session.c ext/skeleton/skeleton.c ext/soap/php_encoding.c ext/soap/php_http.c ext/soap/soap.c ext/standard/dns.c ext/standard/head.c ext/standard/image.c ext/standard/pack.c ext/standard/proc_open.c ext/standard/scanf.c ext/standard/string.c ext/standard/type.c ext/sybase_ct/php_sybase_ct.c ext/wddx/wddx.c ext/zip/lib/zip_close.c ext/zip/lib/zip_error_strerror.c main/fopen_wrappers.c main/php_ini.c main/rfc1867.c sapi/nsapi/nsapi.c sapi/tux/php_tux.c win32/registry.c win32/sendmail.c: - avoid sprintf 2007-02-24 Ilia Alshanetsky * (PHP_5_2) ext/zip/lib/zip_close.c: Fixed snprintf() usage * (PHP_5_2) ext/shmop/shmop.c: Segment size validation * (PHP_5_2) NEWS main/streams/transports.c: Fixed Bug #39396 (stream_set_blocking crashes on Win32). * (PHP_5_2) ext/sysvshm/sysvshm.c ext/sysvshm/tests/002.phpt: Unify validation of shm segment size inside shm_attach() * (PHP_5_2) ext/tidy/tests/024.phpt: Fixed test to work with new version of libtidy that strips spaces 2007-02-24 Marcus Boerger * (PHP_5_2) main/rfc1867.c: - Drop superflous efree * (PHP_5_2) ext/mysqli/php_mysqli.h: - Fix spprintf usage * (PHP_5_2) ext/exif/exif.c: - Make debug code really safe 2007-02-24 Dmitry Stogov * sapi/cgi/fastcgi.c sapi/cgi/fastcgi.c: Use poll() instead of select() if available 2007-02-24 Ilia Alshanetsky * (PHP_5_2) ext/standard/proc_open.c: strdup() can fail 2007-02-24 Stanislav Malyshev * (PHP_5_2) ext/exif/exif.c: use safe allocations 2007-02-24 Ilia Alshanetsky * (PHP_5_2) ext/sybase/php_sybase_db.c: Fixed a typo 2007-02-24 Stanislav Malyshev * (PHP_5_2) TSRM/tsrm_win32.c: Unfortunately, VC does not have snprintf, and sprintf_s supported only in vc2005 Fortunately, we don't need it here too badly. * (PHP_5_2) ext/ftp/ftp.c: fix typo * (PHP_5_2) ext/bcmath/libbcmath/src/rt.c: fix typos 2007-02-24 Marcus Boerger * (PHP_5_2) TSRM/tsrm_win32.c ZendEngine2/zend.c ZendEngine2/zend_builtin_functions.c ZendEngine2/zend_compile.c ZendEngine2/zend_language_scanner.l ZendEngine2/zend_operators.c ext/bcmath/libbcmath/src/output.c ext/bcmath/libbcmath/src/rt.c ext/com_dotnet/com_wrapper.c ext/date/php_date.c ext/dbase/dbf_head.c ext/dbase/dbf_misc.c ext/exif/exif.c ext/fbsql/php_fbsql.c ext/ftp/ftp.c ext/gd/libgd/gdtest.c ext/gd/libgd/webpng.c ext/imap/php_imap.c ext/interbase/ibase_blobs.c ext/interbase/ibase_query.c ext/interbase/ibase_service.c ext/interbase/interbase.c ext/mbstring/mbstring.c ext/mbstring/oniguruma/regerror.c ext/mbstring/oniguruma/regposerr.c ext/mbstring/oniguruma/regversion.c ext/mhash/mhash.c ext/msql/php_msql.c ext/mssql/php_mssql.c ext/mysql/php_mysql.c ext/mysqli/mysqli.c ext/mysqli/mysqli_api.c ext/mysqli/mysqli_prop.c ext/mysqli/php_mysqli.h ext/oci8/oci8.c ext/odbc/php_odbc.c ext/openssl/openssl.c ext/pcre/pcrelib/pcregrep.c ext/pcre/pcrelib/pcreposix.c ext/pdo_firebird/firebird_statement.c ext/pdo_odbc/odbc_driver.c ext/pgsql/pgsql.c ext/pspell/pspell.c ext/session/mod_mm.c ext/session/session.c ext/skeleton/skeleton.c ext/soap/php_encoding.c ext/soap/php_http.c ext/soap/soap.c ext/standard/dns.c ext/standard/head.c ext/standard/image.c ext/standard/pack.c ext/standard/proc_open.c ext/standard/scanf.c ext/standard/string.c ext/standard/type.c ext/sybase_ct/php_sybase_ct.c ext/wddx/wddx.c ext/zip/lib/zip_close.c ext/zip/lib/zip_error_strerror.c main/SAPI.c main/fopen_wrappers.c main/php_ini.c main/rfc1867.c sapi/apache/php_apache.c sapi/apache2handler/php_functions.c sapi/apache_hooks/php_apache.c sapi/cgi/cgi_main.c sapi/cli/php_cli_readline.c sapi/nsapi/nsapi.c sapi/tux/php_tux.c win32/registry.c win32/sendmail.c: - Avoid sprintf, even when checked copy'n'paste or changes lead to errors 2007-02-24 Stanislav Malyshev * (PHP_5_2) ext/session/session.c: disallow negative length 2007-02-23 Sara Golemon * (PHP_5_2) main/streams/plain_wrapper.c: MFH (r-1.82): Add retry for interrupted reads and graceful handling for failed retries * main/streams/plain_wrapper.c: Add retry for interrupted reads and graceful handling for failed retries 2007-02-23 Stanislav Malyshev * (PHP_5_2) sapi/isapi/php5isapi.c sapi/isapi/php5isapi.c: use strlcat * (PHP_5_2) sapi/apache/php_apache.c sapi/apache2handler/php_functions.c sapi/apache_hooks/php_apache.c: use snprintf * (PHP_5_2) ext/xmlrpc/libxmlrpc/xml_to_soap.c: increase array size to fit buffer size 2007-02-23 Antony Dovgal * (PHP_4_4) NEWS ext/curl/curl.c: fix #40611 (possible cURL memory error) * ext/curl/interface.c: fix leak no need to allocate the buffer if there was no data 2007-02-23 Stanislav Malyshev * (PHP_5_2) ext/soap/php_sdl.c: use safe_emalloc 2007-02-23 Antony Dovgal * (PHP_5_2) NEWS ext/standard/file.c: MFH: fix #40606 (umask is not being restored when request is finished) * ext/standard/file.c: fix #40606 (umask is not being restored when request is finished) 2007-02-23 Rob Richards * (PHP_5_2) NEWS: BFN * ext/libxml/libxml.c: fix bug #40598 (libxml segfault) mark more functions unicode safe * (PHP_5_2) ext/libxml/libxml.c: fix bug #40598 (libxml segfault) 2007-02-23 Pierre-Alain Joye * ext/gd/libgd/gdft.c: - MFB: #40578, fix the 2nd race condition on shutdown when the cache is freed * (PHP_5_2) NEWS ext/gd/libgd/gdft.c: - #40578, fix the 2nd race condition on shutdown when the cache is freed 2007-02-23 Ilia Alshanetsky * (PHP_5_2) ext/pgsql/pgsql.c ext/standard/dl.c ext/sybase/php_sybase_db.c ext/sybase_ct/php_sybase_ct.c: Simplify code by converting emalloc() + sprintf() to spprintf() 2007-02-22 Antony Dovgal * (PHP_5_2) ext/posix/posix.c: MFH: check for buflen (on FreeBSD _SC_GETGR_R_SIZE_MAX is not implemented) patch by stas at FreeBSD dot org * ext/posix/posix.c: check for buflen (on FreeBSD _SC_GETGR_R_SIZE_MAX is not implemented) patch by stas at FreeBSD dot org 2007-02-22 Marcus Boerger * main/streams/memory.c: - Fix logic 2007-02-22 Edin Kadribasic * (PHP_4_4) ext/imap/imap.dsp: fix build 2007-02-22 Derick Rethans * (PHP_4_4) NEWS configure.in main/php_version.h: - Back to -dev. * (PHP_4_4) NEWS configure.in main/php_version.h: - Go with RC1. 2007-02-22 Nuno Lopes * ext/standard/tests/general_functions/proc_open02.phpt: MFB * (PHP_5_2) ext/standard/tests/general_functions/proc_open02.phpt: fix test on ultra-fast-machines and/or SOs with long time slices 2007-02-22 Antony Dovgal * sapi/cli/php_cli.c: check for NULL, then add flag 2007-02-22 Dmitry Stogov * ext/standard/basic_functions.c ext/standard/basic_functions.c: Fixed possible crash in putenv() on win32 2007-02-22 Ilia Alshanetsky * (PHP_5_2) ext/standard/url_scanner.c: One more strcpy. (Thanks Stas) * (PHP_5_2) ext/standard/url_scanner.c: strcpy() elimination 2007-02-21 Antony Dovgal * ext/standard/tests/file/bug27508.phpt: minor improvements * (PHP_5_2) main/php_streams.h main/streams/plain_wrapper.c main/streams/streams.c sapi/cli/php_cli.c: MFH: implement PHP_STREAM_FLAG_NO_CLOSE and avoid hacks * main/php_streams.h main/streams/plain_wrapper.c main/streams/streams.c sapi/cli/php_cli.c: implement PHP_STREAM_FLAG_NO_CLOSE and avoid hacks in plain wrapper 2007-02-21 Stanislav Malyshev * ext/soap/php_http.c ext/soap/php_http.c: use snprintf 2007-02-21 Antony Dovgal * ext/standard/tests/file/get_current_user.phpt: fix test on FreeBSD * ext/iconv/tests/bug37176.phpt ext/iconv/tests/bug37773.phpt: fix tests * (PHP_5_2) ext/iconv/tests/bug37176.phpt ext/iconv/tests/bug37773.phpt: fix tests on AIX * ext/xmlrpc/tests/bug40576_64bit.phpt: add test * (PHP_5_2) ext/xmlrpc/tests/bug40576_64bit.phpt: wrong string len * ext/xmlrpc/tests/bug40576_64bit.phpt ext/xmlrpc/tests/bug40576_64bit.phpt: file bug40576_64bit.phpt was initially added on branch PHP_5_2. * ext/ftp/tests/bug37799.phpt ext/ftp/tests/bug37799.phpt ext/standard/tests/file/get_current_user.phpt ext/xmlrpc/tests/bug40576.phpt ext/xmlrpc/tests/bug40576.phpt: fix test * (PHP_4_4) NEWS NEWS ext/gd/libgd/gdft.c ext/gd/libgd/gdft.c: MFH: fix #40578 (imagettftext() multithreading issue) 2007-02-21 Nuno Lopes * ext/standard/tests/general_functions/proc_open02.phpt: MFB * (PHP_5_2) ext/standard/tests/general_functions/proc_open02.phpt: use /usr/bin/nohup instead * (PHP_5_2) ext/pdo_sqlite/sqlite/src/parse.c: fix gcov build (#line stuff) 2007-02-21 Dmitry Stogov * sapi/cgi/fastcgi.c sapi/cgi/fastcgi.c: Check for FD_SETSIZE limit 2007-02-21 Antony Dovgal * ext/gd/libgd/gdft.c: fix #40578 (imagettftext() multithreading issue) * (PHP_5_2) NEWS ext/xmlrpc/libxmlrpc/xml_to_xmlrpc.c ext/xmlrpc/tests/bug40576.phpt: MFH: fix #40576 (double values are truncated to 6 decimal digits when encoding) * ext/xmlrpc/libxmlrpc/xml_to_xmlrpc.c ext/xmlrpc/tests/bug40576.phpt ext/xmlrpc/tests/bug40576.phpt: fix bug #40576 (double values are truncated to 6 decimal digits when encoding) 2007-02-21 Dmitry Stogov * ZendEngine2/zend_hash.c ZendEngine2/zend_hash.c: Special case for last iteration * (PHP_5_2) NEWS TSRM/tsrm_virtual_cwd.c TSRM/tsrm_virtual_cwd.c: Fixed bug #40560 (DIR functions do not work on root UNC path) 2007-02-21 Antony Dovgal * sapi/cgi/cgi_main.c: fix typo 2007-02-21 Ilia Alshanetsky * (PHP_5_2) ext/soap/php_http.c: Improve redirect validation * (PHP_5_2) ext/standard/html.c: Use strlcpy() rather then strcpy() 2007-02-21 Stanislav Malyshev * (PHP_5_2) ext/standard/basic_functions.c: fix putenv - if there was no previous, remove variable from environ * ext/com_dotnet/com_olechar.c ext/com_dotnet/com_olechar.c: Cosmetic fix - safe_emalloc(nmemb, size, offset) * ext/com_dotnet/com_dotnet.c: MF5.2: CreateInstance requires BSTR (should fix #33188) * (PHP_5_2) ext/com_dotnet/com_dotnet.c: CreateInstance requires BSTR (should fix #33188) 2007-02-20 Stanislav Malyshev * (PHP_5_2) ext/com_dotnet/com_dotnet.c: fix unallocated free 2007-02-20 Antony Dovgal * (PHP_5_2) acinclude.m4 configure.in sapi/cgi/config9.m4: MFH: move PHP_TEST_WRITE_STDOUT to acinclude.m4 and use it in configure.in * acinclude.m4 configure.in sapi/cgi/config9.m4: move PHP_TEST_WRITE_STDOUT to acinclude.m4 and use it in configure.in its result is used in sapi/cli & sapi/embed, not just sapi/cgi * sapi/cgi/cgi_main.c sapi/cli/php_cli.c: don't call php_module_startup() directly, use startup functions patch by Andrei Nigmatulin * ext/simplexml/tests/bug38406.phpt ext/simplexml/tests/bug38406.phpt: new test * ext/simplexml/simplexml.c: fix leak, convert unicode values to string before assigning change error message to use zend_error() since there is no active function * (PHP_5_2) NEWS ext/simplexml/simplexml.c: MFH: fix #38406 (crash when assigning objects to SimpleXML attributes) * ext/simplexml/simplexml.c: fix #38406 (crash when assigning objects to SimpleXML attributes) 2007-02-20 Marcus Boerger * (PHP_5_2) NEWS: - BFN * ext/spl/spl_directory.c ext/spl/spl_directory.c: - Make stat based functions throw an exception 2007-02-20 Antony Dovgal * (PHP_5_2) NEWS: BFN * (PHP_5_2) ZendEngine2/zend_strtod.c: MFH: fix #40545 (multithreading issue in zend_strtod()) * ZendEngine2/zend_strtod.c: fix #40545 (multithreading issue in zend_strtod()) * sapi/cgi/cgi_main.c: MFB 2007-02-20 Ilia Alshanetsky * (PHP_5_2) NEWS ext/pdo_sqlite/sqlite/VERSION ext/pdo_sqlite/sqlite/src/btree.c ext/pdo_sqlite/sqlite/src/build.c ext/pdo_sqlite/sqlite/src/callback.c ext/pdo_sqlite/sqlite/src/delete.c ext/pdo_sqlite/sqlite/src/expr.c ext/pdo_sqlite/sqlite/src/func.c ext/pdo_sqlite/sqlite/src/opcodes.h ext/pdo_sqlite/sqlite/src/os_unix.c ext/pdo_sqlite/sqlite/src/parse.c ext/pdo_sqlite/sqlite/src/parse.h ext/pdo_sqlite/sqlite/src/parse.y ext/pdo_sqlite/sqlite/src/select.c ext/pdo_sqlite/sqlite/src/sqliteInt.h ext/pdo_sqlite/sqlite/src/tclsqlite.c ext/pdo_sqlite/sqlite/src/test1.c ext/pdo_sqlite/sqlite/src/test3.c ext/pdo_sqlite/sqlite/src/update.c ext/pdo_sqlite/sqlite/src/vdbemem.c ext/pdo_sqlite/sqlite/src/where.c: Upgraded SQLite 3 library to version 3.3.13 2007-02-19 Ilia Alshanetsky * (PHP_5_2) ext/session/mod_mm.c: Eliminate strcat() usage. * (PHP_5_2) sapi/cgi/cgi_main.c: Fixed strlcat() usage. 2007-02-19 Marcus Boerger * (PHP_5_2) NEWS ext/spl/spl_directory.c ext/spl/spl_directory.c: - Bugfix #40546: SplFileInfo::getPathInfo() throws an execption if directory is in root dir. 2007-02-19 Antony Dovgal * (PHP_5_2) ext/odbc/php_odbc.c: MFH: check SQLError() return value and output a meaningful errmsg when it fails * ext/odbc/php_odbc.c: check SQLError() return value and output a meaningful errmsg when it fails * tests/basic/022.phpt tests/basic/023.phpt tests/classes/bug26737.phpt tests/classes/bug27504.phpt tests/lang/034.phpt: fix tests * sapi/cgi/README.FastCGI sapi/cgi/cgi_main.c: MFB: Eliminate strcat() usage Fixed handling of argv[] for GET * ext/pgsql/config.m4 ext/pgsql/config.w32: MFB: PQfreemem() checks * ext/json/json.c ext/json/tests/bug40503.phpt: MFB: #40503 (json_encode() value corruption on 32bit systems with overflown values) * (PHP_5_2) ZendEngine2/zend_alloc.c: MFH: fix heap protection on SPARC, required by GCC4 patch by Dmitry * ZendEngine2/zend_alloc.c: fix heap protection on SPARC, required by GCC4 patch by Dmitry 2007-02-19 Edin Kadribasic * (PHP_5_2) NEWS: Info on new lib versions and BFN 2007-02-19 Dmitry Stogov * ext/com_dotnet/com_olechar.c ext/com_dotnet/com_olechar.c: typo 2007-02-19 Marcus Boerger * ext/standard/var.c: - MFH Fixed bug #40465 (Ensure that all PHP elements are printed by var_dump) 2007-02-19 Edin Kadribasic * (PHP_5_2) ext/pgsql/config.w32: Fixed bug #40371 2007-02-19 Marcus Boerger * ext/standard/info.c: - WS/CS * (PHP_5_2) ext/spl/spl_iterators.c: - MFH CachingIterator implements Countable 2007-02-19 Edin Kadribasic * ext/imap/php_imap.c ext/pgsql/config.w32: MFB * (PHP_5_2) NEWS ext/imap/php_imap.c: Fixed bug #36496 2007-02-19 Dmitry Stogov * TSRM/tsrm_virtual_cwd.c TSRM/tsrm_virtual_cwd.c: On win32 directories in the middle of the patch may be unreadable * sapi/cgi/cgi_main.c sapi/cgi/cgi_main.c: Initialize "retval" on each request * sapi/cgi/fastcgi.c sapi/cgi/fastcgi.c: Fixed fcgi_putenv() semantic with NULL value 2007-02-19 Antony Dovgal * ZendEngine2/tests/bug39602.phpt: fix test stdout is closed in non-debug mode 2007-02-18 Ilia Alshanetsky * (PHP_5_2) sapi/cgi/cgi_main.c: Eliminate strcat() usage Fixed handling of argv[] for GET * (PHP_5_2) ext/pgsql/config.m4 ext/pgsql/config.w32: PQfreemem checks * (PHP_5_2) NEWS ext/json/json.c ext/json/tests/bug40503.phpt ext/json/tests/bug40503.phpt: Fixed bug #40503 (json_encode() value corruption on 32bit systems with overflown values). 2007-02-17 Stanislav Malyshev * ext/pspell/pspell.c ext/pspell/pspell.c: use safer functions, check error value 2007-02-16 Antony Dovgal * (PHP_5_2) ZendEngine2/zend_alloc.c: fix typo * ZendEngine2/zend_alloc.c: typo in Dmitry's last name =) 2007-02-16 Dmitry Stogov * NEWS ZendEngine2/zend_compile.c ZendEngine2/zend_compile.h ZendEngine2/zend_execute.c ZendEngine2/zend_execute_API.c ZendEngine2/zend_globals.h ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h: Added runtime JIT auto-globals fetching and caching 2007-02-16 Stanislav Malyshev * ext/mysqli/mysqli.c ext/mysqli/mysqli.c: use error message size * (PHP_5_2) ext/calendar/calendar.c: fix snprintf size * ext/calendar/calendar.c: use snprintf, increase hebdate buffer * (PHP_5_2) ext/calendar/calendar.c: increase hebdate buffer, use snprintf 2007-02-16 Antony Dovgal * ZendEngine2/zend_alloc.h: fix build 2007-02-16 Stanislav Malyshev * ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.h ZendEngine2/zend_alloc.h: add safe_realloc * (PHP_5_2) ZendEngine2/zend_alloc.h: fix typo 2007-02-16 Dmitry Stogov * ext/standard/assert.c ext/standard/assert.c ext/standard/basic_functions.c ext/standard/basic_functions.c: Optimize out RINIT() 2007-02-16 Antony Dovgal * ext/imap/php_imap.c: MFB: fix leak * (PHP_5_2) ext/imap/php_imap.c: fix possible double free 2007-02-16 Dmitry Stogov * ext/standard/assert.c ext/standard/assert.c ext/standard/basic_functions.c ext/standard/basic_functions.c: Fixed return value of assert_options(ASSERT_CALLBACK) and possible crash (Andy Wharmby) * (PHP_4_4) NEWS NEWS sapi/cgi/cgi_main.c sapi/cgi/cgi_main.c sapi/cgi/cgi_main.c: Fixed bug #40286 (PHP fastcgi with PHP_FCGI_CHILDREN don't kill children when parent is killed) 2007-02-16 Antony Dovgal * ext/gd/tests/bug38179.phpt: fix test name 2007-02-16 Dmitry Stogov * ZendEngine2/zend_globals_macros.h ZendEngine2/zend_globals_macros.h: Allow C++ extensions to use CG(), EG() ... (Caroline) * (PHP_5_2) NEWS ZendEngine2/zend_llist.c ZendEngine2/zend_llist.c: Fixed zend_llist_remove_tail (Michael Wallner) 2007-02-16 Antony Dovgal * (PHP_4_4) NEWS: BFN * (PHP_4_4) ext/interbase/interbase.c: fix ext/interbase build 2007-02-16 Ilia Alshanetsky * (PHP_5_2) NEWS ext/standard/var.c: Fixed bug #40465 (Ensure that all PHP elements are printed by var_dump). * (PHP_5_2) ext/imap/php_imap.c: Reduce stack usage & improve boundary checks 2007-02-15 Nuno Lopes * ext/pdo_sqlite/config.m4: MFB: fix build on cygwin with windows-style EOLs * (PHP_5_2) ext/pdo_sqlite/config.m4: fix build on cygwin with windows-style EOLs * build/build.mk: MFB: fix cvsclean on cygwin with windows-style EOLs * (PHP_5_2) build/build.mk: fix cvsclean on cygwin with windows-style EOLs 2007-02-15 Antony Dovgal * TSRM/TSRM.h TSRM/tsrm_config_common.h: fix Cygwin build (costs us nothing, but makes some people happy) 2007-02-15 Dmitry Stogov * ext/soap/php_schema.c ext/soap/php_schema.c: Fixed memory leak * (PHP_5_2) NEWS ext/soap/php_encoding.c ext/soap/php_encoding.c: Fixed bug #40467 (Partial SOAP request sent when XSD sequence or choice include minOccurs=0) * (PHP_5_2) NEWS sapi/cgi/cgi_main.c sapi/cgi/cgi_main.c sapi/cgi/fastcgi.c sapi/cgi/fastcgi.c sapi/cgi/fastcgi.h sapi/cgi/fastcgi.h: Fixed bug #40414 (possivle endless fork() loop when running fastcgi) * (PHP_5_2) NEWS sapi/cgi/fastcgi.c sapi/cgi/fastcgi.c: Fixed Bug #40352 (FCGI_WEB_SERVER_ADDRS function get lost) * (PHP_5_2) NEWS ZendEngine2/zend_compile.c ZendEngine2/zend_compile.c ZendEngine2/zend_compile.h ZendEngine2/zend_compile.h ZendEngine2/zend_execute_API.c ZendEngine2/zend_execute_API.c ZendEngine2/zend_language_scanner.l ZendEngine2/zend_language_scanner.l ZendEngine2/zend_opcode.c ZendEngine2/zend_opcode.c ZendEngine2/tests/bug40236.inc ZendEngine2/tests/bug40236.inc ZendEngine2/tests/bug40236.inc ZendEngine2/tests/bug40236.phpt ZendEngine2/tests/bug40236.phpt ZendEngine2/tests/bug40236.phpt: Fixed bug #40236 (php -a function allocation eats memory) 2007-02-15 Antony Dovgal * (PHP_4_4) ext/session/session.c ext/session/tests/002.phpt: fix segfault in php_add_session_var() * (PHP_4_4) ext/standard/string.c: fix possible off-by-one in str_(i)replace() 2007-02-15 Ilia Alshanetsky * (PHP_5_2) ext/mcrypt/mcrypt.c: use constant * (PHP_5_2) ext/mcrypt/mcrypt.c: Improved validation route for size parameter of the mcrypt_create_iv() function. * (PHP_5_2) ext/mime_magic/mime_magic.c: Fixed a possible memory corruption inside mime_content_type() on a non-existent file. 2007-02-14 Derick Rethans * (PHP_5_2) ext/date/php_date.c: - MFH: Clarify the source of the timezone data. * ext/date/php_date.c: - Clarify the source of the timezone data. 2007-02-14 Nuno Lopes * ext/standard/tests/general_functions/bug39322.phpt ext/standard/tests/general_functions/bug40398.phpt ext/standard/tests/general_functions/error_get_last.phpt ext/standard/tests/general_functions/proc_open02.phpt: fix a few tests in unicode mode * ext/standard/proc_open.c ext/standard/tests/general_functions/bug39322.phpt ext/standard/tests/general_functions/phpcredits.phpt ext/standard/tests/general_functions/proc_open02.phpt: MFB * (PHP_5_2) NEWS ext/standard/proc_open.c ext/standard/tests/general_functions/bug39322.phpt ext/standard/tests/general_functions/bug39322.phpt ext/standard/tests/general_functions/proc_open02.phpt ext/standard/tests/general_functions/proc_open02.phpt: Fixed bug #39322 (proc_terminate() destroys process resource) 2007-02-14 Andi Gutmans * (PHP_5_2) sapi/cgi/CREDITS: - Give Dmitry credit for all the FastCGI work 2007-02-13 Ilia Alshanetsky * (PHP_5_2) ext/standard/string.c: Make sure p is not pointing to the start of the buffer * (PHP_5_2) main/streams/plain_wrapper.c: Fixed a memory leak on highlight_file() with a non-existant file 2007-02-13 Nuno Lopes * (PHP_4_4) NEWS ext/pcre/config0.m4 ext/pcre/pcrelib/.cvsignore ext/pcre/pcrelib/COPYING ext/pcre/pcrelib/ChangeLog ext/pcre/pcrelib/LICENCE ext/pcre/pcrelib/NEWS ext/pcre/pcrelib/NON-UNIX-USE ext/pcre/pcrelib/README ext/pcre/pcrelib/dftables.c ext/pcre/pcrelib/pcre.h ext/pcre/pcrelib/pcre_compile.c ext/pcre/pcrelib/pcre_config.c ext/pcre/pcrelib/pcre_dfa_exec.c ext/pcre/pcrelib/pcre_exec.c ext/pcre/pcrelib/pcre_fullinfo.c ext/pcre/pcrelib/pcre_get.c ext/pcre/pcrelib/pcre_globals.c ext/pcre/pcrelib/pcre_info.c ext/pcre/pcrelib/pcre_internal.h ext/pcre/pcrelib/pcre_maketables.c ext/pcre/pcrelib/pcre_newline.c ext/pcre/pcrelib/pcre_ord2utf8.c ext/pcre/pcrelib/pcre_printint.src ext/pcre/pcrelib/pcre_refcount.c ext/pcre/pcrelib/pcre_scanner.cc ext/pcre/pcrelib/pcre_scanner.h ext/pcre/pcrelib/pcre_scanner_unittest.cc ext/pcre/pcrelib/pcre_study.c ext/pcre/pcrelib/pcre_tables.c ext/pcre/pcrelib/pcre_try_flipped.c ext/pcre/pcrelib/pcre_ucp_searchfuncs.c ext/pcre/pcrelib/pcre_valid_utf8.c ext/pcre/pcrelib/pcre_version.c ext/pcre/pcrelib/pcre_xclass.c ext/pcre/pcrelib/pcrecpp.cc ext/pcre/pcrelib/pcrecpp.h ext/pcre/pcrelib/pcrecpp_unittest.cc ext/pcre/pcrelib/pcregrep.c ext/pcre/pcrelib/pcreposix.c ext/pcre/pcrelib/pcreposix.h ext/pcre/pcrelib/pcretest.c ext/pcre/pcrelib/ucp.h ext/pcre/pcrelib/ucpinternal.h ext/pcre/pcrelib/ucptable.c ext/pcre/pcrelib/doc/.cvsignore ext/pcre/pcrelib/doc/Tech.Notes ext/pcre/pcrelib/doc/pcre.txt ext/pcre/pcrelib/testdata/.cvsignore ext/pcre/pcrelib/testdata/grepinput ext/pcre/pcrelib/testdata/grepinput8 ext/pcre/pcrelib/testdata/grepoutput ext/pcre/pcrelib/testdata/grepoutput8 ext/pcre/pcrelib/testdata/testinput1 ext/pcre/pcrelib/testdata/testinput2 ext/pcre/pcrelib/testdata/testinput4 ext/pcre/pcrelib/testdata/testinput5 ext/pcre/pcrelib/testdata/testinput6 ext/pcre/pcrelib/testdata/testinput7 ext/pcre/pcrelib/testdata/testinput8 ext/pcre/pcrelib/testdata/testoutput1 ext/pcre/pcrelib/testdata/testoutput2 ext/pcre/pcrelib/testdata/testoutput3 ext/pcre/pcrelib/testdata/testoutput4 ext/pcre/pcrelib/testdata/testoutput5 ext/pcre/pcrelib/testdata/testoutput6 ext/pcre/pcrelib/testdata/testoutput7 ext/pcre/pcrelib/testdata/testoutput8 win32/php4dllts.dsp: upgrade bundled PCRE to version 7.0 2007-02-13 Antony Dovgal * ext/oci8/php_oci8_int.h: output debug messages before calling OCI functions 2007-02-13 Ilia Alshanetsky * (PHP_5_2) ext/imap/php_imap.c: Fixed a memory leak inside imap_utf8() 2007-02-13 Nuno Lopes * (PHP_5_2) NEWS ext/standard/proc_open.c ext/standard/tests/general_functions/bug34794.phpt ext/standard/tests/general_functions/bug34794.phpt: Fixed bug #34794 (proc_close() hangs when used with two processes) 2007-02-13 Antony Dovgal * main/streams/userspace.c: improve php_userstreamop_seek() check for errors in stream_seek() and return correct status 2007-02-13 Nuno Lopes * ext/ftp/ftp.c ext/ftp/tests/bug37799.phpt ext/ftp/tests/server.inc ext/standard/proc_open.c ext/standard/tests/general_functions/bug34794.phpt: MFB * (PHP_5_2) NEWS ext/ftp/ftp.c ext/ftp/tests/bug37799.phpt ext/ftp/tests/bug37799.phpt ext/ftp/tests/server.inc: Fixed bug #37799 (ftp_ssl_connect() falls back to non-ssl connection) 2007-02-13 Derick Rethans * (PHP_4_4) NEWS configure.in main/php_version.h: - Back to -dev. * (PHP_4_4) NEWS configure.in main/php_version.h: - Package 4.4.5. 2007-02-13 Antony Dovgal * (PHP_5_2) NEWS ext/standard/proc_open.c: fix #40455 (proc_open() uses wrong commandline when safe_mode_exec_dir is set) * ZendEngine2/tests/018.phpt ext/standard/tests/file/flock.phpt ext/standard/tests/general_functions/ini_get_all.phpt ext/standard/tests/strings/convert_cyr_string.phpt ext/standard/tests/strings/crypt.phpt: new/improved tests * ZendEngine2/tests/018.phpt ZendEngine2/tests/018.phpt ext/standard/tests/file/flock.phpt ext/standard/tests/file/flock.phpt ext/standard/tests/general_functions/ini_get_all.phpt ext/standard/tests/general_functions/ini_get_all.phpt ext/standard/tests/strings/convert_cyr_string.phpt ext/standard/tests/strings/convert_cyr_string.phpt ext/standard/tests/strings/crypt.phpt: file 018.phpt was initially added on branch PHP_5_2. * ext/standard/file.c: plug possible leak * (PHP_5_2) ext/filter/.cvsignore ext/pdo/.cvsignore ext/pdo_sqlite/.cvsignore ext/xmlreader/.cvsignore ext/zip/.cvsignore ext/zip/lib/.cvsignore: fix .cvsignore's 2007-02-13 Ilia Alshanetsky * (PHP_5_2) NEWS ext/standard/string.c ext/standard/tests/strings/bug40432.phpt ext/standard/tests/strings/bug40432.phpt: Fixed bug #40432 (strip_tags() fails with greater than in attribute). 2007-02-13 Marcus Boerger * ext/spl/examples/phar_from_dir.php: - Drop useless stuff * ext/spl/examples/phar_from_dir.php ext/spl/examples/phar_from_dir.php: - Add new example 2007-02-12 Antony Dovgal * ext/simplexml/simplexml.c ext/simplexml/tests/bug40451.phpt: MFB: #40451 (addAttribute() may crash when used with non-existent child node) * (PHP_5_2) ext/simplexml/simplexml.c ext/simplexml/tests/bug40451.phpt ext/simplexml/tests/bug40451.phpt: fix #40451 (addAttribute() may crash when used with non-existent child node) * (PHP_5_2) ext/standard/iptc.c: upgrade to new parameter parsing API + mostly ws/cs fixes, sort of MFH * (PHP_5_2) NEWS ext/standard/iptc.c: MFH: fix #40109 (iptcembed fails on non-jfif jpegs) * ext/standard/iptc.c: fix bug #40109 (iptcembed fails on non-jfif jpegs) + use safe_emalloc * (PHP_4_4) NEWS main/output.c main/php_output.h: fix #40335 (Compile fails when using GCC 4.1.1/binutils 2.17) * ext/sockets/tests/ipv6loop.phpt ext/standard/tests/file/stream_002.phpt: fix tests * ext/standard/tests/network/inet.phpt ext/standard/tests/network/inet_ipv6.phpt ext/standard/tests/network/inet_ipv6.phpt: add separate IPv6 test * ext/pcre/tests/backtrack_limit.phpt ext/pcre/tests/bug27103.phpt ext/pcre/tests/invalid_utf8.phpt ext/pcre/tests/pcre_anchored.phpt ext/pcre/tests/preg_replace2.phpt ext/pcre/tests/recursion_limit.phpt: add SKIPIF sections to check if PCRE has the functionality tested/used * ext/oci8/config.m4 ext/oci8/oci8.c ext/oci8/php_oci8_int.h: typofixes and other improvements by Chris Jones * (PHP_5_2) NEWS: fix news entry 2007-02-12 Ilia Alshanetsky * (PHP_5_2) ext/readline/readline.c: Fixed a memory leak inside readline_completion_function() on non-callable callback. 2007-02-11 Antony Dovgal * (PHP_5_2) ext/standard/tests/strings/str_ireplace.phpt: add test * ext/standard/tests/strings/str_ireplace.phpt ext/standard/tests/strings/str_ireplace.phpt: new test * tests/lang/bug30638.phpt: add a note * ext/standard/tests/file/bug40374.phpt ext/standard/tests/file/bug40374.phpt: fix test 2007-02-11 Nuno Lopes * ext/tidy/tests/019.phpt ext/tidy/tests/028.phpt: sync tests with php 5.2 * (PHP_5_2) NEWS ext/tidy/tidy.c ext/tidy/tests/028.phpt ext/tidy/tests/028.phpt: merge the tidyNode::getParent() patch from HEAD 2007-02-11 Pierre-Alain Joye * ext/gd/gd.c: - MFB: Fixed bug #40428, imagepstext() doesn't accept optional parameter (Pierre) * (PHP_5_2) NEWS ext/gd/gd.c: - Fixed bug #40428, imagepstext() doesn't accept optional parameter (Pierre) 2007-02-11 Antony Dovgal * ext/imap/config.m4: fix typos 2007-02-10 Nuno Lopes * (PHP_4_4) ext/imap/config.m4: fix typos 2007-02-10 Antony Dovgal * ext/reflection/php_reflection.c ext/reflection/tests/bug40431.phpt ext/reflection/tests/bug40431.phpt: fix #40431 (dynamic properties may cause crash in ReflectionProperty methods) 2007-02-10 Nuno Lopes * (PHP_5_2) ext/pdo_sqlite/sqlite/src/parse.c: fix gcov build (#line directives) 2007-02-10 Antony Dovgal * ext/posix/posix.c: use the same ifdef anf get rid of "unused var" warnings * ext/standard/string.c: fix off-by-one accidentally introduced by safe_emalloc() patch 2007-02-09 Nuno Lopes * ext/pcre/config.w32 ext/pcre/config0.m4 ext/pcre/pcrelib/.cvsignore ext/pcre/pcrelib/COPYING ext/pcre/pcrelib/ChangeLog ext/pcre/pcrelib/LICENCE ext/pcre/pcrelib/NEWS ext/pcre/pcrelib/NON-UNIX-USE ext/pcre/pcrelib/README ext/pcre/pcrelib/dftables.c ext/pcre/pcrelib/pcre.h ext/pcre/pcrelib/pcre_compile.c ext/pcre/pcrelib/pcre_config.c ext/pcre/pcrelib/pcre_exec.c ext/pcre/pcrelib/pcre_fullinfo.c ext/pcre/pcrelib/pcre_get.c ext/pcre/pcrelib/pcre_globals.c ext/pcre/pcrelib/pcre_info.c ext/pcre/pcrelib/pcre_internal.h ext/pcre/pcrelib/pcre_maketables.c ext/pcre/pcrelib/pcre_newline.c ext/pcre/pcrelib/pcre_ord2utf8.c ext/pcre/pcrelib/pcre_printint.src ext/pcre/pcrelib/pcre_refcount.c ext/pcre/pcrelib/pcre_scanner.cc ext/pcre/pcrelib/pcre_scanner.h ext/pcre/pcrelib/pcre_scanner_unittest.cc ext/pcre/pcrelib/pcre_study.c ext/pcre/pcrelib/pcre_tables.c ext/pcre/pcrelib/pcre_try_flipped.c ext/pcre/pcrelib/pcre_ucp_searchfuncs.c ext/pcre/pcrelib/pcre_valid_utf8.c ext/pcre/pcrelib/pcre_version.c ext/pcre/pcrelib/pcre_xclass.c ext/pcre/pcrelib/pcrecpp.cc ext/pcre/pcrelib/pcrecpp.h ext/pcre/pcrelib/pcrecpp_unittest.cc ext/pcre/pcrelib/pcregrep.c ext/pcre/pcrelib/pcreposix.c ext/pcre/pcrelib/pcreposix.h ext/pcre/pcrelib/pcretest.c ext/pcre/pcrelib/ucp.h ext/pcre/pcrelib/ucpinternal.h ext/pcre/pcrelib/ucptable.c ext/pcre/pcrelib/doc/.cvsignore ext/pcre/pcrelib/doc/Tech.Notes ext/pcre/pcrelib/doc/pcre.txt ext/pcre/pcrelib/testdata/grepinput8 ext/pcre/pcrelib/testdata/grepoutput ext/pcre/pcrelib/testdata/grepoutput8 ext/pcre/pcrelib/testdata/testinput1 ext/pcre/pcrelib/testdata/testinput2 ext/pcre/pcrelib/testdata/testinput4 ext/pcre/pcrelib/testdata/testinput5 ext/pcre/pcrelib/testdata/testinput6 ext/pcre/pcrelib/testdata/testinput7 ext/pcre/pcrelib/testdata/testinput8 ext/pcre/pcrelib/testdata/testoutput1 ext/pcre/pcrelib/testdata/testoutput2 ext/pcre/pcrelib/testdata/testoutput3 ext/pcre/pcrelib/testdata/testoutput4 ext/pcre/pcrelib/testdata/testoutput5 ext/pcre/pcrelib/testdata/testoutput6 ext/pcre/pcrelib/testdata/testoutput7 ext/pcre/pcrelib/testdata/testoutput8 ext/pcre/tests/bug40195.phpt: upgrade PCRE to version 7.0 * ext/pcre/tests/bug40195.phpt ext/pcre/tests/bug40195.phpt: file bug40195.phpt was initially added on branch PHP_5_2. * ext/pcre/pcrelib/pcre_newline.c ext/pcre/pcrelib/pcre_newline.c ext/pcre/pcrelib/pcre_ord2utf8.c ext/pcre/pcrelib/pcre_printint.src ext/pcre/pcrelib/pcre_refcount.c ext/pcre/pcrelib/pcre_scanner.cc ext/pcre/pcrelib/pcre_scanner.h ext/pcre/pcrelib/pcre_scanner_unittest.cc ext/pcre/pcrelib/pcre_study.c ext/pcre/pcrelib/pcre_tables.c ext/pcre/pcrelib/pcre_try_flipped.c ext/pcre/pcrelib/pcre_ucp_searchfuncs.c ext/pcre/pcrelib/pcre_valid_utf8.c ext/pcre/pcrelib/pcre_version.c ext/pcre/pcrelib/pcre_xclass.c ext/pcre/pcrelib/pcrecpp.cc ext/pcre/pcrelib/pcrecpp.h ext/pcre/pcrelib/pcrecpp_unittest.cc ext/pcre/pcrelib/pcregrep.c ext/pcre/pcrelib/pcreposix.c ext/pcre/pcrelib/pcreposix.h ext/pcre/pcrelib/pcretest.c ext/pcre/pcrelib/ucp.h ext/pcre/pcrelib/ucpinternal.h ext/pcre/pcrelib/ucptable.c ext/pcre/pcrelib/doc/.cvsignore ext/pcre/pcrelib/doc/Tech.Notes ext/pcre/pcrelib/doc/pcre.txt ext/pcre/pcrelib/testdata/grepinput ext/pcre/pcrelib/testdata/grepinput8 ext/pcre/pcrelib/testdata/grepinput8 ext/pcre/pcrelib/testdata/grepoutput ext/pcre/pcrelib/testdata/grepoutput8 ext/pcre/pcrelib/testdata/grepoutput8 ext/pcre/pcrelib/testdata/testinput1 ext/pcre/pcrelib/testdata/testinput2 ext/pcre/pcrelib/testdata/testinput4 ext/pcre/pcrelib/testdata/testinput5 ext/pcre/pcrelib/testdata/testinput6 ext/pcre/pcrelib/testdata/testinput7 ext/pcre/pcrelib/testdata/testinput8 ext/pcre/pcrelib/testdata/testoutput1 ext/pcre/pcrelib/testdata/testoutput2 ext/pcre/pcrelib/testdata/testoutput3 ext/pcre/pcrelib/testdata/testoutput4 ext/pcre/pcrelib/testdata/testoutput5 ext/pcre/pcrelib/testdata/testoutput6 ext/pcre/pcrelib/testdata/testoutput7 ext/pcre/pcrelib/testdata/testoutput8: file pcre_newline.c was initially added on branch PHP_5_2. * (PHP_5_2) NEWS ext/pcre/config.w32 ext/pcre/config0.m4 ext/pcre/pcrelib/COPYING ext/pcre/pcrelib/ChangeLog ext/pcre/pcrelib/LICENCE ext/pcre/pcrelib/NEWS ext/pcre/pcrelib/NON-UNIX-USE ext/pcre/pcrelib/README ext/pcre/pcrelib/dftables.c ext/pcre/pcrelib/pcre.h ext/pcre/pcrelib/pcre_compile.c ext/pcre/pcrelib/pcre_config.c ext/pcre/pcrelib/pcre_exec.c ext/pcre/pcrelib/pcre_fullinfo.c ext/pcre/pcrelib/pcre_get.c ext/pcre/pcrelib/pcre_globals.c ext/pcre/pcrelib/pcre_info.c ext/pcre/pcrelib/pcre_internal.h ext/pcre/pcrelib/pcre_maketables.c: upgrade pcre to version 7.0 2007-02-09 Antony Dovgal * (PHP_5_2) NEWS: BFN * (PHP_5_2) ext/posix/posix.c: MFH: fix #40410 (ext/posix does not compile on MacOS 10.3.9) * ext/posix/posix.c: fix #40410 (ext/posix does not compile on MacOS 10.3.9) 2007-02-09 Ilia Alshanetsky * (PHP_5_2) NEWS ext/pdo_sqlite/sqlite/VERSION ext/pdo_sqlite/sqlite/src/alter.c ext/pdo_sqlite/sqlite/src/btree.c ext/pdo_sqlite/sqlite/src/btree.h ext/pdo_sqlite/sqlite/src/build.c ext/pdo_sqlite/sqlite/src/date.c ext/pdo_sqlite/sqlite/src/expr.c ext/pdo_sqlite/sqlite/src/func.c ext/pdo_sqlite/sqlite/src/insert.c ext/pdo_sqlite/sqlite/src/legacy.c ext/pdo_sqlite/sqlite/src/loadext.c ext/pdo_sqlite/sqlite/src/main.c ext/pdo_sqlite/sqlite/src/opcodes.c ext/pdo_sqlite/sqlite/src/opcodes.h ext/pdo_sqlite/sqlite/src/os.h ext/pdo_sqlite/sqlite/src/os_common.h ext/pdo_sqlite/sqlite/src/os_unix.c ext/pdo_sqlite/sqlite/src/os_win.c ext/pdo_sqlite/sqlite/src/pager.c ext/pdo_sqlite/sqlite/src/pager.h ext/pdo_sqlite/sqlite/src/parse.c ext/pdo_sqlite/sqlite/src/parse.y ext/pdo_sqlite/sqlite/src/pragma.c ext/pdo_sqlite/sqlite/src/prepare.c ext/pdo_sqlite/sqlite/src/printf.c ext/pdo_sqlite/sqlite/src/random.c ext/pdo_sqlite/sqlite/src/select.c ext/pdo_sqlite/sqlite/src/shell.c ext/pdo_sqlite/sqlite/src/sqlite.h.in ext/pdo_sqlite/sqlite/src/sqlite3ext.h ext/pdo_sqlite/sqlite/src/sqliteInt.h ext/pdo_sqlite/sqlite/src/table.c ext/pdo_sqlite/sqlite/src/tclsqlite.c ext/pdo_sqlite/sqlite/src/test1.c ext/pdo_sqlite/sqlite/src/test3.c ext/pdo_sqlite/sqlite/src/tokenize.c ext/pdo_sqlite/sqlite/src/trigger.c ext/pdo_sqlite/sqlite/src/utf.c ext/pdo_sqlite/sqlite/src/util.c ext/pdo_sqlite/sqlite/src/vacuum.c ext/pdo_sqlite/sqlite/src/vdbe.c ext/pdo_sqlite/sqlite/src/vdbe.h ext/pdo_sqlite/sqlite/src/vdbeInt.h ext/pdo_sqlite/sqlite/src/vdbeapi.c ext/pdo_sqlite/sqlite/src/vdbeaux.c ext/pdo_sqlite/sqlite/src/vdbemem.c ext/pdo_sqlite/sqlite/src/vtab.c ext/pdo_sqlite/sqlite/src/where.c: Upgraded SQLite 3 to version 3.3.12 2007-02-08 Marcus Boerger * ext/spl/spl_array.h: - Add include * (PHP_5_2) ext/spl/spl_array.c ext/spl/spl_array.h ext/spl/spl_iterators.c ext/spl/spl_iterators.h: - MFH Rearrange code: mode Countable from spl_array.c to spl_iterator.c * (PHP_5_2) NEWS ext/spl/spl_observer.c: - MFH: Fix Bug #39836 SplObjectStorage empty after unserialize * ext/spl/spl_array.c ext/spl/spl_array.h ext/spl/spl_iterators.c ext/spl/spl_iterators.h: - Moving Countable from spl_array.c to spl_iterator.c allows CachingIterator to implement Countable 2007-02-08 Nuno Lopes * ext/tidy/tidy.c ext/tidy/tests/004.phpt ext/tidy/tests/007.phpt ext/tidy/tests/010.phpt ext/tidy/tests/011.phpt ext/tidy/tests/012.phpt ext/tidy/tests/019.phpt ext/tidy/tests/024.phpt ext/tidy/tests/025.phpt ext/tidy/tests/027.phpt: fix a few tests (segfaults + wrong output) 2007-02-08 Marcus Boerger * ext/standard/basic_functions.c ext/standard/tests/general_functions/bug40398.phpt ext/standard/tests/general_functions/call_user_func_return.phpt: - Simplify call_user_func/call_user_func_array implementation - Allow call_user_func/call_user_func_array to return reference * .gdbinit: - Show whether a zval is a reference in printzv user command 2007-02-08 Nuno Lopes * run-tests.php: MFB: remove ereg() calls * (PHP_5_2) run-tests.php: convert all ereg*() calls to preg_match(), so that we become future-proof (ereg is scheduled for removal in PHP 6) 2007-02-08 Marcus Boerger * ZendEngine2/zend_execute.c ZendEngine2/zend_execute_API.c ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h: - No reason not to pass return_value_ptr for non return-by-reference functions * ZendEngine2/zend_API.c ZendEngine2/zend_API.h: - Fix potential issue with 'f'-parameter parsing - Complete zend_fcall_info_*() API * ZendEngine2/zend_execute_API.c: - Do not set is_ref/refcount for functions that return by reference * ZendEngine2/zend_API.c ZendEngine2/zend_API.h: - More ZEND_API's * ext/standard/tests/general_functions/bug40398.phpt ext/standard/tests/general_functions/bug40398.phpt: - Add new test 2007-02-08 Ilia Alshanetsky * (PHP_5_2) TODO: Remove already done item from the todo 2007-02-07 Antony Dovgal * (PHP_5_2) ext/standard/tests/file/bug40374.phpt: add test * ext/standard/tests/file/bug40374.phpt ext/standard/tests/file/bug40374.phpt: add test * sapi/apache2handler/mod_php.c: explicitly set module name 2007-02-07 Nuno Lopes * (PHP_5_2) run-tests.php: MFH: use getenv() instead of _ENV enable multiple error reporting on the same test 2007-02-07 Antony Dovgal * (PHP_5_2) configure.in: MFH: check if GCC on MacOS supports -no-cpp-precomp before using it * sapi/apache2filter/config.m4 sapi/apache2filter/php.sym sapi/apache2filter/php_apache.h sapi/apache2filter/sapi_apache2.c: upgrade apache2filter to php6 * sapi/apache2handler/.cvsignore sapi/apache2handler/config.m4 sapi/apache2handler/config.w32 sapi/apache2handler/mod_php.c sapi/apache2handler/mod_php5.c sapi/apache2handler/php.sym sapi/apache2handler/php5apache2.dsp sapi/apache2handler/php_apache.h sapi/apache2handler/sapi_apache2.c: change "php5" to "php6" everywhere rename mod_php5.c to mod_php.c 2007-02-07 Ilia Alshanetsky * (PHP_5_2) NEWS configure.in main/php_version.h: Back to dev * (PHP_5_2) NEWS configure.in main/php_version.h: 5.2.1 2007-02-06 Antony Dovgal * main/php_open_temporary_file.c: use strdup() 2007-02-06 Ilia Alshanetsky * (PHP_5_2) NEWS ext/session/php_session.h: Fixed Bug #40274 (Sessions fail with numeric root keys). 2007-02-05 Marcus Boerger * ext/spl/spl_engine.c ext/spl/spl_engine.h: - Add missing PHPAPI 2007-02-05 Andrei Zmievski * README.PARAMETER_PARSING_API: Update * (PHP_5_2) README.PARAMETER_PARSING_API: Update ! docs. 2007-02-05 Andi Gutmans * main/streams/php_stream_transport.h main/streams/php_stream_transport.h: - Make sure to be ANSI C compliant 2007-02-04 Frank M. Kromann * ext/mssql/php_mssql.c: MFB: #39213 Fix for '' returned as ' '. This only works with FreeTDS as microsofts library returns a length of 1 for an empty string! * (PHP_5_2) ext/mssql/php_mssql.c: Fix for '' returned as ' '. This only works with FreeTDS as microsofts library returns a length of 1 for an empty string! 2007-02-04 Ilia Alshanetsky * ext/standard/http.c: Added a double free check. 2007-02-04 Frank M. Kromann * ext/mbstring/config.w32: MFB: Fix win32 build * (PHP_5_2) ext/mbstring/config.w32: Fix win32 build 2007-02-03 Marcus Boerger * (PHP_5_2) main/php_memory_streams.h main/streams/memory.c: - MFH Add PHPAPI to stuff needed by streams API for shared exts - MFH Readonly issue fix to memory streams option handling (still not activated in 5.2.1 though) * main/main.c main/php_open_temporary_file.c main/php_open_temporary_file.h: - Fix memleak * main/php_memory_streams.h main/streams/memory.c: - Fix mem/temp stream exports and readonlyissue 2007-02-02 Andrei Zmievski * ZendEngine2/zend_API.h: Typos. * README.PARAMETER_PARSING_API ZendEngine2/zend_API.c ZendEngine2/zend_API.h: - Add ^ specifier that returns original string type before conversion. - Add ZVAL_ENC_STRING[L] macro that allows returning either a binary string or an encoded strings as Unicode based on type, instead of UG(unicode) 2007-02-02 Michael Wallner * ext/zlib/zlib.c: - add note about the past for the future, see http://bugs.php.net/?id=40310&edit=1 2007-02-02 andy wharmby * NEWS: Remove bug fix entries #34564 and #37927 as now in 5.2.1 * (PHP_5_2) NEWS ext/com_dotnet/com_misc.c: Fixed bug #37927 (Prevent trap when COM extension processes argument of type VT_DISPATCH|VT_REF) * (PHP_5_2) NEWS ext/com_dotnet/com_misc.c ext/com_dotnet/com_variant.c ext/com_dotnet/com_wrapper.c ext/com_dotnet/php_com_dotnet_internal.h: Fixed bug #34564 (COM extension not returning modified "out" argument) 2007-02-02 Antony Dovgal * ZendEngine2/tests/errmsg_001.phpt ZendEngine2/tests/errmsg_002.phpt ZendEngine2/tests/errmsg_003.phpt ZendEngine2/tests/errmsg_004.phpt ZendEngine2/tests/errmsg_005.phpt ZendEngine2/tests/errmsg_006.phpt ZendEngine2/tests/errmsg_007.phpt ZendEngine2/tests/errmsg_008.phpt ZendEngine2/tests/errmsg_009.phpt ZendEngine2/tests/errmsg_010.phpt ZendEngine2/tests/errmsg_011.phpt ZendEngine2/tests/errmsg_012.phpt ZendEngine2/tests/errmsg_013.phpt ZendEngine2/tests/errmsg_014.phpt ZendEngine2/tests/errmsg_015.phpt ZendEngine2/tests/errmsg_016.phpt ZendEngine2/tests/errmsg_017.phpt ZendEngine2/tests/errmsg_018.phpt ZendEngine2/tests/errmsg_019.phpt ZendEngine2/tests/errmsg_020.phpt ZendEngine2/tests/errmsg_021.phpt ZendEngine2/tests/errmsg_022.phpt ZendEngine2/tests/errmsg_023.phpt ZendEngine2/tests/errmsg_024.phpt ZendEngine2/tests/errmsg_025.phpt ZendEngine2/tests/errmsg_026.phpt ZendEngine2/tests/errmsg_027.phpt ZendEngine2/tests/errmsg_028.phpt ZendEngine2/tests/errmsg_029.phpt ZendEngine2/tests/errmsg_030.phpt ZendEngine2/tests/errmsg_031.phpt ZendEngine2/tests/errmsg_032.phpt ZendEngine2/tests/errmsg_033.phpt ZendEngine2/tests/errmsg_034.phpt ZendEngine2/tests/errmsg_035.phpt ZendEngine2/tests/errmsg_036.phpt ZendEngine2/tests/errmsg_037.phpt ZendEngine2/tests/errmsg_038.phpt ZendEngine2/tests/errmsg_039.phpt ZendEngine2/tests/errmsg_040.phpt ZendEngine2/tests/errmsg_041.phpt ZendEngine2/tests/errmsg_042.phpt ZendEngine2/tests/errmsg_043.phpt ZendEngine2/tests/globals.inc ZendEngine2/tests/globals_001.phpt ZendEngine2/tests/globals_002.phpt ZendEngine2/tests/globals_003.phpt ZendEngine2/tests/globals_004.phpt: add new tests * ZendEngine2/zend_API.c: -exactly 1 arguments +exactly 1 argument 2007-02-02 andy wharmby * NEWS: Update NEWS for ealier bug fixes 2007-02-02 Antony Dovgal * ZendEngine2/tests/bug38779.phpt ZendEngine2/tests/bug38779_1.phpt: fix tests * ZendEngine2/zend_compile.c: fix isset() & unset() with CV-superglobals see #40311 2007-02-02 andy wharmby * ext/com_dotnet/com_misc.c ext/com_dotnet/com_variant.c ext/com_dotnet/com_wrapper.c ext/com_dotnet/php_com_dotnet_internal.h: ADW: Fix COM extension bug #35463. Fix in/out argument processing 2007-02-02 Ilia Alshanetsky * (PHP_5_2) ext/pdo/pdo_sql_parser.c: Better generated parser * (PHP_5_2) ext/pdo/tests/bug_39656.phpt ext/pdo/tests/bug_40285.phpt ext/pdo/tests/bug_40285.phpt: Fixed test mixup 2007-02-01 andy wharmby * ext/com_dotnet/com_misc.c: ADW: Fixed COM extension bug #37927. Correct the processing of in/out arguments of type VT_DISPATCH|VT_REF 2007-02-01 Dmitry Stogov * ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h ZendEngine2/zend_vm_execute.h: Removed dead code * ZendEngine2/zend_compile.c ZendEngine2/zend_compile.c: Fixed possible crash because of dereference of NULL * ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.c: Enable canary protection in DEBUG mode only. 2007-02-01 Antony Dovgal * ext/standard/user_filters.c: bailout if bucket is NULL * ext/standard/incomplete_class.c: free class_name when necessary * (PHP_5_2) ext/iconv/iconv.c: plug leak * (PHP_5_2) ext/standard/string.c: fix leaks on error 2007-02-01 Derick Rethans * (PHP_4_4) NEWS configure.in main/php_version.h: - Back to -dev. * (PHP_4_4) NEWS configure.in main/php_version.h: - Go with RC2. 2007-02-01 Ilia Alshanetsky * (PHP_5_2) NEWS ext/pdo/pdo_sql_parser.c ext/pdo/pdo_sql_parser.re ext/pdo/tests/bug_39656.phpt: Fixed bug #40285 (The PDO prepare parser goes into an infinite loop in some instances). 2007-01-31 Antony Dovgal * acinclude.m4: use correct comment marker (dnl, not #) add comment regarding AC_DECL_YYTEXT and the annoying warning (just in case I'm not the only one who's annoyed by it) * (PHP_5_2) NEWS: BFN * (PHP_5_2) ext/oci8/oci8.c ext/oci8/oci8_statement.c ext/oci8/php_oci8_int.h: MFH: fix segfault on rebindinging and rexecuting a statement with LOBs fix compile failure in ZTS mode when collections support is missing * ext/oci8/oci8.c ext/oci8/oci8_statement.c: fix compile failure in ZTS mode when collections support is missing * ext/oci8/oci8_statement.c ext/oci8/php_oci8_int.h ext/oci8/tests/oci_execute_segfault.phpt: fix segfault on re-binding and re-executing a statement improve the test patch by Chris Jones 2007-01-31 Ilia Alshanetsky * ext/shmop/shmop.c: Minor code optimization 2007-01-30 Nuno Lopes * run-tests.php: use getenv() instead of the _ENV var 2007-01-30 Antony Dovgal * ext/oci8/tests/bind_empty.phpt: improve test patch by Chris Jones 2007-01-30 Ilia Alshanetsky * (PHP_5_2) NEWS: Prepare news file for release 2007-01-29 Nuno Lopes * run-tests.php: display all errors/leaks/warnings on each test, instead of showing just the top most error 2007-01-29 Rui Hirokawa * (PHP_5_2) ext/mbstring/config.m4 ext/mbstring/libmbfl/filters/Makefile.am ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.h ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.h ext/mbstring/libmbfl/filters/mbfilter_jis.c ext/mbstring/libmbfl/filters/mbfilter_jis.h ext/mbstring/libmbfl/filters/unicode_table_jis.h ext/mbstring/libmbfl/mbfl/mbfl_convert.c ext/mbstring/libmbfl/mbfl/mbfl_encoding.c ext/mbstring/libmbfl/mbfl/mbfl_ident.c: fixed incompatibility with PHP 5.2.0 for encoding conversion between ShiftJIS(CP932), eucJP, ISO-2022-JP. 2007-01-29 Dmitry Stogov * sapi/cgi/cgi_main.c: Prevent flush() of closed handle on php_module_shutdown() 2007-01-29 Nuno Lopes * ext/soap/php_xml.c: fix access to already free'ed memory 2007-01-29 Dmitry Stogov * (PHP_5_2) sapi/cgi/cgi_main.c: Prevent flush of closed handle on php_module_shutdown() 2007-01-29 Antony Dovgal * ext/oci8/tests/privileged_connect1.phpt: fix test different Oracle client versions report different error messages * ext/oci8/tests/array_bind_005.phpt: fix test 2007-01-29 Pierre-Alain Joye * ext/zip/php_zip.c ext/zip/tests/bug40228.phpt ext/zip/tests/bug40228.zip: - MFB: #40228, ZipArchive::extractTo does create empty directories recursively * (PHP_5_2) NEWS: - #40228 * (PHP_5_2) ext/zip/php_zip.c ext/zip/tests/bug40228.phpt ext/zip/tests/bug40228.phpt ext/zip/tests/bug40228.zip ext/zip/tests/bug40228.zip: - #40228, ZipArchive::extractTo does create empty directories recursively 2007-01-29 Michael Wallner * main/output.c: - don't do memory limit checks for chunk_size 2007-01-29 Dmitry Stogov * (PHP_5_2) NEWS main/output.c: Fixed bug #40259 (ob_start call many times - memory error). (Dmitry) 2007-01-29 Antony Dovgal * (PHP_4_4) NEWS ext/imap/config.m4 ext/imap/php_imap.c: backported fix for ext/imap compilation failure with recent c-client versions (fixes #39401) 2007-01-29 Ilia Alshanetsky * ZendEngine2/zend_ini_parser.y ZendEngine2/zend_language_parser.y ZendEngine2/zend_language_scanner.l win32/build/Makefile win32/build/buildconf.js win32/build/confutils.js win32/build/cvsclean.js win32/build/template.rc: Copyright update 2007-01-27 Antony Dovgal * (PHP_5_2) ext/pdo/pdo_stmt.c: nullify param.parameter and avoid destroying it twice 2007-01-27 Marcus Boerger * (PHP_5_2) main/streams/memory.c: - Disable memory streams set option until 5.2.2 * (PHP_5_2) main/streams/memory.c: - MFH truncate support for mem/temp streams * main/streams/memory.c: - Add option support for temp/memory stream (adds ftruncate support) 2007-01-26 Antony Dovgal * (PHP_5_2) ext/standard/info.c: use length - 1 when we fetch it from hashes 2007-01-26 Dmitry Stogov * (PHP_5_2) NEWS TSRM/tsrm_virtual_cwd.c TSRM/tsrm_virtual_cwd.c: Fixed bug #40231 (file_exists incorrectly reports false) 2007-01-26 Antony Dovgal * (PHP_5_2) ext/pdo_oci/oci_statement.c: fix leak readuce size of the buffer to prevent ORA-01461 * configure.in: check if -no-cpp-precomp is supported by GCC before using it (mac os only) 2007-01-26 Ilia Alshanetsky * (PHP_5_2) configure.in main/php_version.h: Back to dev * (PHP_5_2) NEWS configure.in main/php_version.h: 5.2.1RC4 2007-01-25 Antony Dovgal * ext/oci8/package2.xml ext/oci8/package2.xml: file package2.xml was initially added on branch PHP_5_2. * (PHP_5_2) ext/date/lib/parse_tz.c: add missing ifdefs * (PHP_5_2) ext/date/lib/parse_tz.c: setlocale() returns static buffer, which must be copied * (PHP_5_2) NEWS ext/bz2/bz2_filter.c ext/zlib/zlib_filter.c: MFH: fix #40189 (possible endless loop in zlib.inflate stream filter) * ext/bz2/bz2_filter.c ext/zlib/zlib_filter.c: fix #40189 (possible endless loop in zlib.inflate stream filter) * (PHP_5_2) ext/oci8/oci8_statement.c: PHP4 compatibility 2007-01-25 Rasmus Lerdorf * (PHP_5_2) ext/standard/user_filters.c: Fix typo 2007-01-25 Ilia Alshanetsky * (PHP_5_2) ext/standard/user_filters.c: Added safety checks to the code * (PHP_5_2) ext/standard/head.c ext/standard/mail.c: Eliminate strcat() and strcpy() 2007-01-24 Sara Golemon * NEWS ext/soap/php_http.c ext/soap/php_xml.c ext/standard/php_fopen_wrapper.c main/main.c main/php_globals.h main/php_streams.h main/streams/streams.c main/streams/userspace.c: Expand allow_url_fopen/allow_url_include functionality 2007-01-24 Antony Dovgal * (PHP_5_2) ext/oci8/oci8.c ext/oci8/package.xml: prepare to release 1.2.3 2007-01-24 Ilia Alshanetsky * (PHP_5_2) ext/standard/head.c: strcat() -> strlcat() 2007-01-24 Antony Dovgal * ext/iconv/iconv.c: initialize errno 2007-01-23 Marcus Boerger * sapi/cli/php.1.in sapi/cli/php_cli.c: - Add --ri/--rextinfo * ext/standard/info.c ext/standard/info.h: - Simplify - Add PHPAPI php_info_print_module() 2007-01-23 Nuno Lopes * ext/tidy/tidy.c ext/tidy/tests/027.phpt: MFB: fix a few crashes * ext/tidy/tests/027.phpt ext/tidy/tests/027.phpt: file 027.phpt was initially added on branch PHP_5_2. * (PHP_5_2) ext/tidy/tidy.c: fix a few crashes 2007-01-23 Dmitry Stogov * (PHP_5_2) NEWS: Fixed bug #40200 (The FastCgi version has different realpath results than thread safe version) * TSRM/tsrm_virtual_cwd.c TSRM/tsrm_virtual_cwd.c: Fixed wrong realpath() result for unexistent files on win32 2007-01-23 Johannes Schlüter * ext/standard/info.c: - Use utf-8 instead of utf8 as encoding to fix phpinfo() 2007-01-23 Hannes Magnusson * ext/imap/config.m4: MFB: Fix typo * (PHP_5_2) ext/imap/config.m4: Fix typo 2007-01-23 Ilia Alshanetsky * (PHP_5_2) ext/exif/exif.c: emalloc() -> safe_emalloc() 2007-01-22 Derick Rethans * (PHP_4_4) NEWS ext/standard/config.m4: - Backported a fix in the configure tests to detect the "rounding fuzz". * (PHP_4_4) NEWS: - Move ext/ovrimos to PECL. 2007-01-22 Antony Dovgal * (PHP_5_2) NEWS ext/pdo_oci/oci_statement.c: fix PECL bug #7295 (ORA-01405: fetched column value is NULL on LOB fields) 2007-01-22 Dmitry Stogov * (PHP_5_2) NEWS TSRM/tsrm_virtual_cwd.c TSRM/tsrm_virtual_cwd.c TSRM/tsrm_virtual_cwd.h TSRM/tsrm_virtual_cwd.h ext/standard/dir.c ext/standard/dir.c ext/standard/filestat.c ext/standard/filestat.c ext/standard/tests/file/bug39367.phpt ext/standard/tests/file/bug39367.phpt ext/standard/tests/file/bug39367.phpt: Fixed bug #39367 (clearstatcache() doesn't clear realpath cache) Fixed bug #40092 (chroot() doesn't clear realpath cache) 2007-01-22 Antony Dovgal * ext/interbase/ibase_query.c: fix wrong param definition * ext/interbase/ibase_service.c: fix long/int mess * (PHP_5_2) ZendEngine2/tests/unset_cv08.phpt: fix test * ZendEngine2/tests/unset_cv08.phpt: fix test array_unique() is not expected to modify its argument * ext/spl/examples/directoryfilterdots.inc ext/spl/examples/directoryfilterdots.inc: fix classname * (PHP_4_4) ext/standard/array.c: fix array_unique() to return array with any type of argument * ext/standard/tests/array/bug40191.phpt: add skipif * (PHP_5_2) NEWS ext/standard/array.c ext/standard/tests/array/bug40191.phpt: MFH: fix #40191 (use of array_unique() with objects triggers segfault) * ext/standard/array.c ext/standard/tests/array/bug40191.phpt ext/standard/tests/array/bug40191.phpt: fix #40191 (use of array_unique() with objects triggers segfault) 2007-01-21 Ilia Alshanetsky * (PHP_5_2) NEWS: Fixed typos 2007-01-21 Marcus Boerger * ZendEngine2/tests/.cvsignore ext/bcmath/tests/.cvsignore ext/bz2/tests/.cvsignore ext/calendar/tests/.cvsignore ext/ctype/tests/.cvsignore ext/date/tests/.cvsignore ext/dba/tests/.cvsignore ext/dbase/tests/.cvsignore ext/dom/tests/.cvsignore ext/exif/tests/.cvsignore ext/fdf/tests/.cvsignore ext/filter/tests/.cvsignore ext/gd/tests/.cvsignore ext/gettext/tests/.cvsignore ext/gmp/tests/.cvsignore ext/hash/tests/.cvsignore ext/iconv/tests/.cvsignore ext/imap/tests/.cvsignore ext/interbase/tests/.cvsignore ext/json/tests/.cvsignore ext/libxml/tests/.cvsignore ext/mbstring/tests/.cvsignore ext/mcrypt/tests/.cvsignore ext/mhash/tests/.cvsignore ext/ming/tests/.cvsignore ext/mysql/tests/.cvsignore ext/mysqli/tests/.cvsignore ext/oci8/tests/.cvsignore ext/openssl/tests/.cvsignore ext/pcntl/tests/.cvsignore ext/pcre/pcrelib/testdata/.cvsignore ext/pcre/tests/.cvsignore ext/pdo/tests/.cvsignore ext/pdo_firebird/tests/.cvsignore ext/pdo_mysql/tests/.cvsignore ext/pdo_oci/tests/.cvsignore ext/pdo_odbc/tests/.cvsignore ext/pdo_pgsql/tests/.cvsignore ext/pdo_sqlite/tests/.cvsignore ext/pgsql/tests/.cvsignore ext/posix/tests/.cvsignore ext/pspell/tests/.cvsignore ext/reflection/tests/.cvsignore ext/session/tests/.cvsignore ext/shmop/tests/.cvsignore ext/simplexml/tests/.cvsignore ext/skeleton/tests/.cvsignore ext/soap/tests/.cvsignore ext/soap/tests/bugs/.cvsignore ext/soap/tests/interop/Round2/Base/.cvsignore ext/soap/tests/interop/Round2/GroupB/.cvsignore ext/soap/tests/interop/Round3/GroupD/.cvsignore ext/soap/tests/interop/Round3/GroupE/.cvsignore ext/soap/tests/interop/Round3/GroupF/.cvsignore ext/soap/tests/interop/Round4/GroupG/.cvsignore ext/soap/tests/interop/Round4/GroupH/.cvsignore ext/soap/tests/interop/Round4/GroupI/.cvsignore ext/soap/tests/schema/.cvsignore ext/soap/tests/soap12/.cvsignore ext/sockets/tests/.cvsignore ext/spl/examples/tests/.cvsignore ext/spl/tests/.cvsignore ext/sqlite/tests/.cvsignore ext/sqlite/tests/pdo/.cvsignore ext/standard/tests/.cvsignore ext/standard/tests/array/.cvsignore ext/standard/tests/assert/.cvsignore ext/standard/tests/file/.cvsignore ext/standard/tests/filters/.cvsignore ext/standard/tests/general_functions/.cvsignore ext/standard/tests/image/.cvsignore ext/standard/tests/math/.cvsignore ext/standard/tests/network/.cvsignore ext/standard/tests/reg/.cvsignore ext/standard/tests/serialize/.cvsignore ext/standard/tests/strings/.cvsignore ext/standard/tests/time/.cvsignore ext/standard/tests/versioning/.cvsignore ext/sysvmsg/tests/.cvsignore ext/sysvsem/tests/.cvsignore ext/sysvshm/tests/.cvsignore ext/tidy/tests/.cvsignore ext/tokenizer/tests/.cvsignore ext/unicode/tests/.cvsignore ext/wddx/tests/.cvsignore ext/xml/tests/.cvsignore ext/xmlreader/tests/.cvsignore ext/xmlrpc/tests/.cvsignore ext/xmlwriter/tests/.cvsignore ext/xsl/tests/.cvsignore ext/zip/tests/.cvsignore ext/zlib/tests/.cvsignore sapi/cli/tests/.cvsignore sapi/tests/.cvsignore tests/.cvsignore tests/basic/.cvsignore tests/classes/.cvsignore tests/func/.cvsignore tests/lang/.cvsignore tests/output/.cvsignore tests/run-test/.cvsignore tests/strings/.cvsignore tests/unicode/.cvsignore tests/unicode/func/.cvsignore: - Add *.mem * (PHP_5_2) ext/spl/tests/observer_003.phpt ext/spl/tests/observer_004.phpt ext/spl/tests/observer_005.phpt: - Add tests 2007-01-20 Antony Dovgal * ZendEngine2/zend_hash.c: catch overflow right away 2007-01-20 Ilia Alshanetsky * (PHP_5_2) NEWS main/php_variables.c: Fixed bug #39450 (getenv() fills other super-globals). 2007-01-20 Antony Dovgal * sapi/cli/tests/001.phpt sapi/cli/tests/001.phpt sapi/cli/tests/002.phpt sapi/cli/tests/002.phpt sapi/cli/tests/003.phpt sapi/cli/tests/003.phpt sapi/cli/tests/004.phpt sapi/cli/tests/004.phpt sapi/cli/tests/005.phpt sapi/cli/tests/005.phpt sapi/cli/tests/006.phpt sapi/cli/tests/006.phpt sapi/cli/tests/007.phpt sapi/cli/tests/007.phpt sapi/cli/tests/008.phpt sapi/cli/tests/008.phpt sapi/cli/tests/009.phpt sapi/cli/tests/009.phpt sapi/cli/tests/010-2.phpt sapi/cli/tests/010-2.phpt sapi/cli/tests/010.phpt sapi/cli/tests/010.phpt sapi/cli/tests/011.phpt sapi/cli/tests/011.phpt sapi/cli/tests/012.phpt sapi/cli/tests/012.phpt sapi/cli/tests/013.phpt sapi/cli/tests/013.phpt sapi/cli/tests/014.phpt sapi/cli/tests/014.phpt: use getenv() 2007-01-20 Rob Richards * (PHP_5_2) ext/openssl/openssl.c ext/openssl/tests/005.phpt ext/openssl/tests/bug38261.phpt: MFH: fix accessing public key from x509 resource add test fix test under win32 2007-01-20 Sara Golemon * ZendEngine2/zend_compile.c ZendEngine2/zend_compile.h ZendEngine2/zend_execute.c: Resolve autoglobals as global-fetch CVs when possible 2007-01-20 Antony Dovgal * (PHP_5_2) ext/dom/tests/bug38474.phpt: typo in the test name 2007-01-20 Ilia Alshanetsky * (PHP_5_2) TSRM/tsrm_virtual_cwd.c: CS 2007-01-20 Marcus Boerger * ext/spl/spl_array.c ext/spl/spl_directory.c ext/spl/spl_functions.c ext/spl/spl_functions.h ext/spl/spl_observer.c ext/spl/tests/dit_001.phpt ext/spl/tests/fileobject_003.phpt: - Mode debug info * ext/spl/spl_array.c: - Drop left-over * ext/spl/spl_array.c ext/spl/tests/array_001.phpt ext/spl/tests/array_002.phpt ext/spl/tests/array_003.phpt ext/spl/tests/array_007.phpt ext/spl/tests/array_015.phpt ext/spl/tests/array_017.phpt ext/spl/tests/array_018.phpt ext/spl/tests/array_022.phpt ext/spl/tests/bug33136.phpt ext/spl/tests/iterator_042.phpt ext/spl/tests/iterator_049.phpt ext/spl/tests/iterator_049b.phpt ext/spl/tests/iterator_050.phpt ext/spl/tests/iterator_051.phpt ext/spl/tests/iterator_052.phpt ext/spl/tests/iterator_053.phpt ext/spl/tests/iterator_054.phpt ext/spl/tests/iterator_055.phpt: - Make use of get_debug_info() handler in ArrayObject/Iterator 2007-01-20 Nuno Lopes * ext/tidy/tidy.c ext/tidy/tests/024.phpt ext/tidy/tests/025.phpt ext/tidy/tests/026.phpt: MFB: fix crash & add tests * ext/tidy/tests/024.phpt ext/tidy/tests/024.phpt ext/tidy/tests/025.phpt ext/tidy/tests/025.phpt ext/tidy/tests/026.phpt ext/tidy/tests/026.phpt: file 024.phpt was initially added on branch PHP_5_2. * (PHP_5_2) ext/tidy/tidy.c: fix another crash * ext/tidy/tidy.c: MFB: fix crash * (PHP_5_2) ext/tidy/tidy.c: fix crash. tests will follow 2007-01-20 Marcus Boerger * ext/date/php_date.c: - Fix warnings 2007-01-19 Marcus Boerger * ext/spl/php_spl.c ext/spl/php_spl.h ext/spl/spl_observer.c ext/spl/tests/observer_004.phpt ext/spl/tests/observer_005.phpt: - Make use of get_debug_info handler in SplObjectStorage 2007-01-19 Antony Dovgal * ext/imap/config.m4: fix configure check with imap-2001 2007-01-19 Marcus Boerger * ext/standard/var.c: - Use Z_OBJDEBUG_PP() * ZendEngine2/zend.c ZendEngine2/zend_operators.h: - Add Z_OBJDEBUG[_P[P]] helper macros 2007-01-19 Antony Dovgal * TSRM/tsrm_virtual_cwd.c: improve readability and use constant instead of its value * (PHP_5_2) ext/imap/config.m4: MFH: improve utf8_mime2text() signature detection * ext/imap/config.m4: improve utf8_mime2text() signature detection look also for U8T_CANONICAL, which must exist if new signature was detected * ext/oci8/tests/array_bind_013.phpt: fix test 2007-01-19 Nuno Lopes * (PHP_5_2) INSTALL win32/install.txt: update install instructions from phpdoc XMl sources 2007-01-19 Rob Richards * ext/openssl/openssl.c ext/openssl/tests/005.phpt ext/openssl/tests/bug38261.phpt: fix accessing public key from x509 resource add test fix test under win32 2007-01-19 Nuno Lopes * ext/tidy/tidy.c: MFB: fix segfaults with new libtidy * (PHP_5_2) ext/tidy/tidy.c: fix segfaults with new libtidy. the patch is backwards compatible 2007-01-19 Antony Dovgal * ext/curl/interface.c: improve the fix * (PHP_5_2) NEWS ext/curl/interface.c: MFH: fix #40169 (CURLOPT_TCP_NODELAY only available in curl >= 7.11.2) * ext/curl/interface.c: fix #40169 (CURLOPT_TCP_NODELAY only available in curl >= 7.11.2) 2007-01-19 Pierre-Alain Joye * ext/gd/libgd/gd.c: - MFB: save/restore the alpha blending mode correctly in imagefill and imagefilltoborder * (PHP_5_2) ext/gd/libgd/gd.c: - save/restore the alpha blending mode correctly in imagefill and imagefilltoborder 2007-01-19 Antony Dovgal * ext/standard/streamsfuncs.c ext/standard/user_filters.c: fix #40168 2007-01-19 Marcus Boerger * unicode-progress.txt ext/spl/spl_directory.c ext/spl/spl_iterators.c: - Update unicode progress on SPL, looks like nearly done, actually all is unicode safe by now but a few things need to be added and a few problems be clarified. * README.UNICODE-UPGRADES: - Nicer version * README.UNICODE-UPGRADES: - Update * main/spprintf.c: - Change hardcoded size to lentgh translation to use sizeof(UChar) as suggested by Andrei * ext/spl/spl_directory.c ext/spl/tests/bug36258.phpt ext/spl/tests/bug36287.phpt: - A few unicode fixes and tidying 2007-01-19 Ilia Alshanetsky * (PHP_5_2) ext/standard/http_fopen_wrapper.c: Fix win32 build * (PHP_5_2) NEWS configure.in main/php_version.h: Back to dev * (PHP_5_2) NEWS configure.in main/php_version.h: 5.2.1RC3 * (PHP_5_2) NEWS ext/standard/http_fopen_wrapper.c: Added read-timeout context option "timeout" for HTTP streams. 2007-01-18 Ilia Alshanetsky * (PHP_5_2) NEWS: Old bug fixing news * (PHP_5_2) ZendEngine2/zend_language_scanner.l: Syntax highlighting fix for hex numbers. 2007-01-18 Marcus Boerger * ext/simplexml/simplexml.c: - Implement debug helper * ZendEngine2/zend.c ZendEngine2/zend_object_handlers.c ZendEngine2/zend_object_handlers.h ext/standard/var.c: - Add debug_info helper to overloadedobjects 2007-01-18 Ilia Alshanetsky * (PHP_5_2) NEWS ext/date/lib/parse_tz.c: Fixed bug #39993 (tr_TR.UTF-8 locale has problems with PHP). 2007-01-18 Marcus Boerger * ext/date/php_date.c: - We want the size here not the length * main/spprintf.c main/spprintf.h: - We need to return the length not the byte size * ext/standard/filestat.c: - Use correct string inunicode mode 2007-01-18 Antony Dovgal * ext/spl/spl_directory.c: fix win32 build 2007-01-18 Marcus Boerger * ext/spl/spl_directory.c: - Simplify by using zspprintf * main/spprintf.c main/spprintf.h: - Fix [v]uspprintf() - Add [v]zspprintf 2007-01-18 Andrei Zmievski * unicode-todo.txt: -** empty log message *** 2007-01-18 Antony Dovgal * ext/soap/soap.c ext/standard/html.c ext/wddx/wddx.c: more snprintf() 2007-01-18 Nuno Lopes * main/streams/php_stream_transport.h: MFB: use only 2 bits * (PHP_5_2) main/streams/php_stream_transport.h: only 2 bits are needed for shutdown(2) method (only 3 possible values). this is new code in 5.2.1, so don't worry.. 2007-01-18 Antony Dovgal * ext/interbase/interbase.c: fix the previous patch * ext/interbase/ibase_query.c ext/interbase/interbase.c ext/pdo_firebird/firebird_driver.c: use snprintf() * (PHP_5_2) ext/imap/config.m4: MFH: improve check configure for new version of utf8_mime2text() * ext/imap/config.m4: improve check configure for new version of utf8_mime2text() * ext/imap/php_imap.c: use strlcat() * main/main.c: fix fodling, mark set_time_limit() unicode safe * (PHP_5_2) NEWS ext/informix/.cvsignore ext/informix/.cvsignore ext/informix/CREDITS ext/informix/CREDITS ext/informix/Makefile.frag ext/informix/Makefile.frag ext/informix/config.m4 ext/informix/config.w32 ext/informix/ifx.dsp ext/informix/ifx.dsp ext/informix/ifx.ec ext/informix/ifx.ec ext/informix/php_informix.h ext/informix/php_informix.h ext/informix/php_informix_includes.h ext/informix/php_informix_includes.h: moved ext/informix to PECL * (PHP_5_2) ZendEngine2/zend_exceptions.c: fix folding * ZendEngine2/zend_exceptions.c: fix folding, mark functions as unicode safe 2007-01-17 Ilia Alshanetsky * (PHP_4_4) ext/interbase/interbase.c: Buffer length checks 2007-01-17 Marcus Boerger * ext/spl/tests/fileobject_001.phpt ext/spl/tests/fileobject_002.phpt ext/spl/tests/fileobject_003.phpt: - Different results in unicode now * ext/spl/spl_directory.c: - Ensure string-type is always set correctly * ext/spl/spl_directory.c: - More help from David * ext/spl/spl_directory.c: - A little help from Andrei 2007-01-17 Antony Dovgal * (PHP_5_2) NEWS ext/iconv/iconv.c: MFH: fix #40129 (iconv extension doesn't compile with CodeWarrior on Netware) patch by gk at gknw dot de * ext/iconv/iconv.c: fix #40129 (iconv extension doesn't compile with CodeWarrior on Netware) patch by gk at gknw dot de * ext/standard/formatted_print.c ext/sysvmsg/sysvmsg.c: fix grammar 2007-01-17 Sara Golemon * ext/soap/php_http.c ext/soap/php_xml.c: INI options should not be modified directly. Bad extension. No cookie for you. 2007-01-16 Marcus Boerger * ext/spl/spl_directory.c ext/spl/spl_directory.h: - Steps towards unicode 2007-01-16 Andrei Zmievski * main/php.h: Update PHP API version. 2007-01-16 Marcus Boerger * ext/standard/filestat.c ext/standard/php_filestat.h: - Add php_u_stat() * main/php_streams.h main/streams/streams.c: - Add more unicode stuff 2007-01-16 Ilia Alshanetsky * ext/odbc/php_odbc.c: MFB: Fixed output code inside odbc_result_all() * (PHP_4_4) ext/odbc/php_odbc.c: MFH: Fixed output code inside odbc_result_all() * (PHP_5_2) ext/odbc/php_odbc.c: Fixed output code inside odbc_result_all() 2007-01-16 Antony Dovgal * (PHP_5_2) ext/gettext/gettext.c: MFH: return false if realpath()/getcwd() fail * ext/gettext/gettext.c: return false if realpath()/getcwd() fail * (PHP_5_2) TSRM/tsrm_virtual_cwd.c: MFH: free temp cwd_state struct on error * TSRM/tsrm_virtual_cwd.c: free temporary cwd_state struct on error * ext/pspell/pspell.c: plug leaks initialize the last argument of RegQueryValueEx() fix ws 2007-01-16 Ilia Alshanetsky * (PHP_4_4) win32/sendmail.c: Added buffer length checks 2007-01-15 Marcus Boerger * main/php_streams.h main/streams/cast.c main/streams/streams.c: - Help streams debugging 2007-01-15 Antony Dovgal * ext/standard/user_filters.c main/streams/streams.c main/streams/transports.c main/streams/userspace.c: add trailing '\0' to stream hashes * (PHP_5_2) main/streams/filter.c: revert the patch temporarily, I need to test a bigger patch in HEAD.. * main/streams/filter.c: include \0 to the hash it does matter because we use these strings in phpinfo() * acinclude.m4: tabs -> ws * acinclude.m4: improve icu-config check * ZendEngine2/tests/bug36214.phpt ZendEngine2/tests/bug36214.phpt: fix test * (PHP_5_2) ZendEngine2/zend_compile.c: missing comma * (PHP_5_2) ZendEngine2/zend_compile.c: fix error message and #40111 2007-01-15 Frank M. Kromann * (PHP_5_2) ext/pdo_dblib/dblib_stmt.c: Fix mysql -> dblib 2007-01-14 Marcus Boerger * main/streams/memory.c: - Use relay to aid debugging * main/streams/memory.c: - Fix readonly mode to 'rb' 2007-01-14 Ilia Alshanetsky * (PHP_5_2) NEWS sapi/apache2handler/php_functions.c: Fixed bug #40127 (apache2handler doesnt compile on Netware). * (PHP_5_2) NEWS ext/pdo_dblib/dblib_stmt.c: Fixed bug #40121 (PDO_DBLIB driver wont free statements). 2007-01-14 Hannes Magnusson * ext/standard/http_fopen_wrapper.c: MFB: Fix typo in error message * (PHP_5_2) ext/standard/http_fopen_wrapper.c: Fix typo in error message 2007-01-13 Ilia Alshanetsky * ext/standard/formatted_print.c: MFB: Improve validation of argnum, width and precision. * (PHP_4_4) ext/standard/formatted_print.c: MFH: Improve validation of argnum, width and precision. * (PHP_5_2) ext/standard/formatted_print.c: Improve validation of argnum, width and precision. 2007-01-13 Nuno Lopes * ext/gd/libgd/gd.c ext/gd/libgd/gd.c: MFB * (PHP_5_2) ext/gd/libgd/gd.c: OMG, this line was really bogus (and allocating huge amounts of memory unecessarly) * (PHP_5_2) ext/gd/libgd/gd.c: fix valgrind error in test bug24594.phpt while at it, remove some dead code and change the pts vector to char to save (much) memory 2007-01-13 Frank M. Kromann * (PHP_5_2) win32/build/Makefile: MFH: Kill warnings when mt is not installed or is found as the tape command under cygwin * win32/build/Makefile: Kill warnings when mt is not installed or is found as the tape command under cygwin 2007-01-11 Andrei Zmievski * sapi/apache/mod_php.c: Fake out the module name, since the filename is different now. 2007-01-11 Marcus Boerger * ZendEngine2/zend_API.h ZendEngine2/zend_unicode.h: - Consistency: macros shall be uppercased (as requested by Andrei) * ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h: - MFB Missing part of __toString() support 2007-01-11 Antony Dovgal * ext/mbstring/php_mbregex.c: avoid changing original zval 2007-01-11 Marcus Boerger * ext/spl/spl_engine.h: - Unicode support * ZendEngine2/zend_API.h ZendEngine2/zend_unicode.h: - Add zstrlen() helper 2007-01-11 Dmitry Stogov * (PHP_5_2) NEWS ZendEngine2/zend.c ZendEngine2/zend.c ZendEngine2/tests/bug35634.phpt ZendEngine2/tests/bug35634.phpt ZendEngine2/tests/bug35634.phpt: Fixed bug #35634 (Erroneous "Class declarations may not be nested" error raised). (Carl P. Corliss) 2007-01-11 Antony Dovgal * ext/pgsql/pgsql.c: make sure the string is non-empty and use strlcpy() & strlcat() * main/network.c: use closesocket() on Win32 and close() on *nix * (PHP_5_2) NEWS ext/oci8/oci8_interface.c ext/oci8/oci8_statement.c ext/oci8/tests/array_bind_005.phpt ext/oci8/tests/coll_019.phpt ext/oci8/tests/define2.phpt ext/oci8/tests/define3.phpt ext/oci8/tests/define4.phpt ext/oci8/tests/define5.phpt: MFH: fix #39988 (type argument of oci_define_by_name() is ignored) patch and tests by Chris Jones * ext/oci8/oci8_interface.c ext/oci8/oci8_statement.c ext/oci8/tests/coll_019.phpt ext/oci8/tests/coll_019.phpt ext/oci8/tests/define2.phpt ext/oci8/tests/define2.phpt ext/oci8/tests/define3.phpt ext/oci8/tests/define3.phpt ext/oci8/tests/define4.phpt ext/oci8/tests/define4.phpt ext/oci8/tests/define5.phpt ext/oci8/tests/define5.phpt: fix #39988 (type argument of oci_define_by_name() is ignored) patch and tests by Chris Jones * (PHP_5_2) NEWS ext/oci8/oci8.c ext/oci8/oci8_statement.c ext/oci8/php_oci8_int.h ext/oci8/tests/bug40078.phpt: MFH: fix #40078 (ORA-01405 when fetching NULL values using oci_bind_array_by_name()) * ext/oci8/oci8.c ext/oci8/oci8_statement.c ext/oci8/php_oci8_int.h ext/oci8/tests/bug40078.phpt ext/oci8/tests/bug40078.phpt: fix #40078 (ORA-01405 when fetching NULL values using oci_bind_array_by_name()) * main/.cvsignore main/streams/.cvsignore regex/.cvsignore: add misssing temp directories to .cvsignore 2007-01-11 Sara Golemon * ext/posix/posix.c: * ext/posix/posix.c ext/standard/filestat.c: Some platforms have getpwnam_r() but are missing _SC_GETPW_R_SIZE_MAX 2007-01-10 Andrei Zmievski * INSTALL Makefile.global acinclude.m4 configure.in makerpm sapi/apache/.cvsignore sapi/apache/apMakefile.tmpl sapi/apache/config.m4 sapi/apache/libphp5.module.in sapi/apache/libphp6.module.in sapi/apache/mod_php.c sapi/apache/mod_php.exp sapi/apache/mod_php.h sapi/apache/mod_php5.c sapi/apache/mod_php5.exp sapi/apache/mod_php5.h sapi/apache/php.sym sapi/apache/php_apache_http.h sapi/cli/config.m4: Rename php5 module to php6. Remove version number from sapi/apache/mod_php.* filenames (for future's sake). No other SAPI moduels modified (up to invididual maintainers). * README.UNICODE: Update with rewrites by me and Evan G. * README.UNICODE-UPGRADES: Update with info from README.UNICODE. 2007-01-10 Sara Golemon * main/php_streams.h main/streams/streams.c: Add convenience function for openeing files with unicode names 2007-01-10 Johannes Schlüter * sapi/cli/php.1.in: - Bump year 2007-01-10 Hannes Magnusson * ext/sockets/php_sockets.h ext/sockets/sockets.c: MFB: Add missing ifdefs 2007-01-10 Marcus Boerger * ext/standard/file.c: - Fix mem access 2007-01-10 Ilia Alshanetsky * (PHP_5_2) NEWS ext/spl/php_spl.c ext/spl/tests/bug40091.phpt ext/spl/tests/bug40091.phpt: Fixed bug #40091 (spl_autoload_register with 2 instances of the same class). 2007-01-10 Andrei Zmievski * ZendEngine2/zend_API.h: Remove const warnings. (Andrey) 2007-01-10 Ilia Alshanetsky * (PHP_5_2) NEWS: Another bug fixed by Dmitry 2007-01-10 Dmitry Stogov * ext/simplexml/tests/bug38347.phpt ext/simplexml/tests/bug38347.phpt ext/spl/tests/iterator_035.phpt ext/spl/tests/iterator_035.phpt tests/classes/bug27468.phpt tests/classes/bug27468.phpt tests/lang/bug27439.phpt tests/lang/bug27439.phpt: Fixed tests * ZendEngine2/tests/bug35106.phpt ZendEngine2/tests/bug35106.phpt ZendEngine2/tests/bug36214.phpt ZendEngine2/tests/bug36214.phpt ZendEngine2/tests/bug38146.phpt ZendEngine2/tests/bug39449.phpt ZendEngine2/tests/bug39449.phpt ZendEngine2/tests/bug39990.phpt ZendEngine2/tests/bug39990.phpt: file bug35106.phpt was initially added on branch PHP_5_2. * (PHP_5_2) NEWS ZendEngine2/zend_compile.c ZendEngine2/zend_compile.c ZendEngine2/zend_compile.h ZendEngine2/zend_compile.h ZendEngine2/zend_execute.c ZendEngine2/zend_execute.c ZendEngine2/zend_execute.h ZendEngine2/zend_execute.h ZendEngine2/zend_hash.c ZendEngine2/zend_hash.c ZendEngine2/zend_hash.h ZendEngine2/zend_hash.h ZendEngine2/zend_language_parser.y ZendEngine2/zend_language_parser.y ZendEngine2/zend_object_handlers.c ZendEngine2/zend_object_handlers.c ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h ZendEngine2/zend_vm_execute.h ZendEngine2/tests/bug35106.phpt ZendEngine2/tests/bug36214.phpt ZendEngine2/tests/bug38146.phpt ZendEngine2/tests/bug39449.phpt ZendEngine2/tests/bug39990.phpt: - Fixed bug #35106 (nested foreach fails when array variable has a reference). - Fixed bug #36214 (__get method works properly only when conditional operator is used). - Fixed bug #39449 (Overloaded array properties do not work correctly). - Fixed bug #39990 (Cannot "foreach" over overloaded properties). 2007-01-10 Hannes Magnusson * (PHP_5_2) ext/sockets/php_sockets.h ext/sockets/sockets.c: Add missing ifdefs for shutdown() * ext/standard/file.h: MFB: fix ifdefs * (PHP_5_2) ext/standard/file.h: Fix ifdefs * (PHP_5_2) ext/pcre/php_pcre.c: Fix build on system where HAVE_SETLOCALE is not defined 2007-01-10 Antony Dovgal * (PHP_5_2) NEWS: BFN * sapi/milter/php_milter.c: fix #40083 * (PHP_5_2) sapi/milter/php_milter.c: use RETURN_* instead of RETVAL_* and fix #40083 2007-01-10 Dmitry Stogov * (PHP_5_2) ext/session/session.c: Fixed SIGSEGV 2007-01-09 Ilia Alshanetsky * (PHP_5_2) NEWS configure.in main/safe_mode.c: Fixed bug #40079 (php_get_current_user() not thread safe). 2007-01-09 Marcus Boerger * (PHP_5_2) NEWS: - Ups wrong place * (PHP_5_2) NEWS: - BFN * ext/exif/exif.c: - Improve debugging and fix #40073 2007-01-09 Andrei Zmievski * ZendEngine2/zend_language_scanner.l ZendEngine2/zend_language_scanner.l: Fix 'b' prefix in highlighting and tokenizer. (Matt W) 2007-01-09 Dmitry Stogov * (PHP_4_4) NEWS Zend/zend_execute.c: Fixed bug #39819 (Using $this not in object context can cause segfaults) * ext/standard/proc_open.c ext/standard/proc_open.c: Close open files in case of failure (Amit) 2007-01-09 Ilia Alshanetsky * (PHP_4_4) ext/session/session.c: MFH: Prevent SESSION/GLOBALS overload via session decoding * (PHP_5_2) ext/session/session.c: Prevent SESSION/GLOBALS overload via session decoding 2007-01-09 Dmitry Stogov * (PHP_5_2) NEWS ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.c: Fixed bug #40076 (zend_alloc.c: Value of enumeration constant must be in range of signed integer) 2007-01-09 Ilia Alshanetsky * ext/wddx/wddx.c: MFB: Added key_length intialization for intergers * (PHP_4_4) ext/wddx/wddx.c: MFH: Added key_length intialization for intergers * (PHP_5_2) ext/wddx/wddx.c: Added key_length intialization for intergers 2007-01-09 Dmitry Stogov * (PHP_5_2) NEWS ZendEngine2/zend_compile.c ZendEngine2/zend_compile.c: Fixed bug #40002 (Try/Catch performs poorly) * ZendEngine2/zend_vm_gen.php ZendEngine2/zend_vm_gen.php: Bump year. 2007-01-09 Antony Dovgal * (PHP_5_2) ext/exif/exif.c: MFH: zerofill info_data and fix possible segfault partly fixes #40073 * ext/exif/exif.c: zerofill info_data and fix possible segfault partly fixes #40073 2007-01-08 Nuno Lopes * ext/gd/gd.c ext/gd/php_gd.h: MFB * (PHP_5_2) ext/gd/gd.c ext/gd/php_gd.h: avoid calling MSHUTDOWN when built without libt1 * ext/sysvmsg/php_sysvmsg.h ext/sysvmsg/sysvmsg.c: MFB: remove mshutdown func * (PHP_5_2) ext/sysvmsg/php_sysvmsg.h ext/sysvmsg/sysvmsg.c: remove useless MSHUTDOWN function * ext/hash/hash.c ext/hash/hash_adler32.c ext/hash/hash_crc32.c ext/hash/hash_gost.c ext/hash/hash_haval.c ext/hash/hash_md.c ext/hash/hash_ripemd.c ext/hash/hash_salsa.c ext/hash/hash_sha.c ext/hash/hash_snefru.c ext/hash/hash_tiger.c ext/hash/hash_whirlpool.c ext/hash/php_hash.h: MFB: constify * (PHP_5_2) ext/hash/hash.c ext/hash/hash_adler32.c ext/hash/hash_crc32.c ext/hash/hash_gost.c ext/hash/hash_haval.c ext/hash/hash_md.c ext/hash/hash_ripemd.c ext/hash/hash_salsa.c ext/hash/hash_sha.c ext/hash/hash_snefru.c ext/hash/hash_tiger.c ext/hash/hash_whirlpool.c ext/hash/php_hash.h: make the hash_ops structures const and save some memory 2007-01-08 Sara Golemon * ext/curl/interface.c: Add CURLOPT_TCP_NODELAY * ext/libxml/libxml.c ext/libxml/php_libxml.h: Allow libxml DomNodes to remain persistent when requested by other extensions 2007-01-08 Andrei Zmievski * ext/imap/config.m4: Fix IMAP check. * ZendEngine2/zend_unicode.c: Let caller issue error. * ZendEngine2/zend_vm_def.h: Note. 2007-01-08 Ilia Alshanetsky * ext/standard/string.c: MFB: Use safe_emalloc() rather then emalloc() * (PHP_4_4) ext/standard/string.c: MFH: Use safe_emalloc() rather then emalloc() * (PHP_5_2) ext/standard/string.c: Use safe_emalloc() rather then emalloc() * (PHP_5_2) NEWS ext/spl/php_spl.c ext/spl/tests/bug38325.phpt ext/spl/tests/bug38325.phpt: Fixed bug #38325 (spl_autoload_register() gaves wrong line for "class not found"). * (PHP_5_2) ext/spl/php_spl.c main/main.c main/php_main.h: Provide means for opening file for zend with error supression. Allows us to avoid INI hackery such as the one used in SPL. 2007-01-08 Edin Kadribasic * win32/build/Makefile: Make mt more silent 2007-01-07 Sara Golemon * ZendEngine2/zend_alloc.h: Typo 2007-01-07 Ilia Alshanetsky * (PHP_5_2) NEWS ext/openssl/config.w32 ext/openssl/config0.m4 ext/openssl/openssl.c: Fixed bug #39394 (Missing check for older variants of openssl). 2007-01-07 Hannes Magnusson * ext/date/tests/bug37514.phpt: Use relative timestamp * (PHP_5_2) ext/date/tests/bug37514.phpt: Use relative timestamp 2007-01-07 Sara Golemon * ext/standard/user_filters.c ext/standard/tests/filters/001.phpt ext/standard/tests/filters/bug35916.phpt: Remaining unicode updates for user filters * ZendEngine2/zend_API.c ZendEngine2/zend_API.h: Add add_property_zstr(l)(_ex)() * ZendEngine2/zend_alloc.h: Add pestrndup() * ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.h: Fix prior commit noticing this time that persistent allocators start with zend_*() and that one already exists * ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.h: Flesh out some missing API calls 2007-01-07 Ilia Alshanetsky * (PHP_5_2) NEWS ext/pgsql/pgsql.c: Fixed bug #39979 (PGSQL_CONNECT_FORCE_NEW will causes next connect to establish a new connection). * (PHP_5_2) NEWS ext/spl/spl_array.c ext/spl/tests/bug40036.phpt ext/spl/tests/bug40036.phpt: Fixed bug #40036 (empty() does not work correctly with ArrayObject when using ARRAY_AS_PROPS). * (PHP_5_2) ext/zip/php_zip.c: Fixed memory leaks on error 2007-01-06 Nuno Lopes * main/php_logos.c: make a var static * ext/zip/php_zip.c: MFB * (PHP_5_2) ext/zip/php_zip.c: fix a few memleaks and double-free()s on error conditions * ext/ming/config.m4 ext/ming/ming.c ext/ming/php_ming.h: MFB: fix build with libming 0.3 * (PHP_5_2) ext/ming/config.m4 ext/ming/ming.c ext/ming/php_ming.h: fix build with libming 0.3 and older 2007-01-06 Rob Richards * (PHP_5_2) README.UPDATE_5_2: update xmlwriter_write_dtd_entity parameters * (PHP_5_2) ext/xmlwriter/php_xmlwriter.c ext/xmlwriter/tests/bug39504.phpt: MFH: parameter entity argument (pe) should be bool update test * ext/xmlwriter/php_xmlwriter.c ext/xmlwriter/tests/bug39504.phpt: parameter entity argument (pe) should be bool update test 2007-01-06 Ilia Alshanetsky * (PHP_5_2) ext/session/tests/016.phpt: removed dl() block 2007-01-06 Hannes Magnusson * ext/session/tests/016.phpt: MFB: fix skipif * (PHP_5_2) ext/session/tests/016.phpt: Fix skipif * (PHP_5_2) NEWS README.UPDATE_5_2: ext/XMLWriter updates * NEWS: Remove bugfix entry (will be in 5.2.1) * ext/xmlwriter/php_xmlwriter.c: Fix parameter parsing * (PHP_5_2) ext/xmlwriter/php_xmlwriter.c ext/xmlwriter/tests/008.phpt ext/xmlwriter/tests/bug39504.phpt: MFH: bug #39504 (xmlwriter_write_dtd_entity() creates Attlist tag, not entity) Add & improve test 2007-01-06 Dmitry Stogov * (PHP_5_2) NEWS ext/standard/proc_open.c ext/standard/proc_open.c: Improved proc_open(). Now on Windows it can run external commands not through CMD.EXE 2007-01-06 Georg Richter * ext/mysqli/mysqli_api.c: merged from 5_2 (mysqli_info crash) 2007-01-05 Sara Golemon * (PHP_5_2) ext/posix/config.m4: MFH: (r-1.16) ttyname_r() is broken on BSD * ext/posix/config.m4 ext/posix/posix.c: Refix posix_ttyname(), test for a working implementation of ttyname_r() -- which BSD doesn't have * ext/posix/posix.c: BSD4.1 (possibly others) doesn't support _SC_TTY_NAME_MAX * ZendEngine2/zend_builtin_functions.c: Update create_function() 2007-01-05 Andrei Zmievski * ext/standard/basic_functions.c: Clean up set_include_path(). 2007-01-05 Sara Golemon * ext/session/mod_files.c: Don't bother with conversion when the converter is already UTF8 2007-01-05 Hannes Magnusson * ext/date/tests/bug37514.phpt ext/date/tests/oo_002.phpt ext/standard/tests/strings/bug26819.phpt: MFB: Fix tests * (PHP_5_2) ext/standard/tests/strings/bug26819.phpt: Fix test according to bug#40009 * (PHP_5_2) ext/date/tests/bug37514.phpt ext/date/tests/oo_002.phpt: Fix tests 2007-01-05 Ilia Alshanetsky * (PHP_5_2) ext/fbsql/php_fbsql.c ext/gd/gd.c ext/ldap/ldap.c ext/pdo_firebird/firebird_statement.c ext/pgsql/pgsql.c ext/soap/php_encoding.c ext/standard/uniqid.c ext/sysvmsg/sysvmsg.c: %f -> %F 2007-01-05 Sebastian Bergmann * ext/session/mod_files.c ext/session/session.c: Fix ZTS issues. 2007-01-05 Edin Kadribasic * (PHP_4_4) ext/curl/curl.dsp: New curl lib needs CURL_STATICLIB define when linked statically 2007-01-05 Derick Rethans * (PHP_4_4) NEWS configure.in main/php_version.h: - Back to -dev * (PHP_4_4) NEWS configure.in main/php_version.h: - 4.4.5rc1 2007-01-05 Sara Golemon * NEWS ext/session/CREDITS ext/session/php_session.h ext/session/session.c: Allow ext/session to use ext/hash's algorithms for generating IDs * ext/session/mod_files.c ext/session/mod_user.c ext/session/php_session.h ext/session/session.c ext/session/tests/001.phpt ext/session/tests/003.phpt ext/session/tests/004.phpt ext/session/tests/005.phpt: Unicode Updates 2007-01-04 Ilia Alshanetsky * (PHP_5_2) NEWS configure.in main/php_version.h: Back to dev * (PHP_5_2) NEWS configure.in main/php_version.h: 5.2.1RC2 * ext/session/mod_files.c: MFB: Added missing open_basedir checks * (PHP_5_2) ext/session/mod_files.c: Added missing open_basedir checks 2007-01-04 Sara Golemon * ext/session/mod_files.c ext/session/mod_mm.c ext/session/mod_user.c ext/session/php_session.h ext/session/session.c: Cleanup ext/session so that I can do a unicode update without going insane. 2007-01-04 Nuno Lopes * Makefile.gcov: MFB * (PHP_5_2) Makefile.gcov: remove --show-details from lcov's genhtml, as currently we don't separate the coverage data per test, making this option useless 2007-01-03 Ilia Alshanetsky * ext/standard/http.c: MFB: Fixed bug #40009 (http_build_query(array()) returns NULL). * (PHP_5_2) NEWS ext/standard/http.c: Fixed bug #40009 (http_build_query(array()) returns NULL). 2007-01-03 Nuno Lopes * ext/zlib/tests/bug_34821.phpt: MFB * (PHP_5_2) ext/zlib/tests/bug_34821.phpt: reduce the test data size even further or when running with valgrind it times out * (PHP_5_2) ext/pdo/pdo_sql_parser.c ext/pdo/pdo_sql_parser.re: MFH: fix infinite cycle * ext/pdo/pdo_sql_parser.c ext/pdo/pdo_sql_parser.re: fix a bug where PHP would enter in an infinite cycle with chars with ascii value > 127 while at it, remove the lim structure parameter (it wasn't being used) 2007-01-03 Antony Dovgal * ZendEngine2/zend_extensions.h ZendEngine2/zend_modules.h ext/exif/exif.c ext/mime_magic/mime_magic.c ext/sqlite/sqlite.c: more magic number fixes * ext/oci8/oci8_interface.c: use constant 2007-01-03 Nuno Lopes * ext/pdo/php_pdo_driver.h: fix PDO_DRIVER_API * ext/pdo/pdo_sql_parser.c: fix lcov build 2007-01-03 Hannes Magnusson * ext/pcre/pcrelib/pcregrep.c: Revert pcrelib version string to 2006 2007-01-03 Nuno Lopes * (PHP_4_4) ext/ftp/ftp.c: merge Tony's patch to fix memleak 2007-01-03 Antony Dovgal * sapi/apache2filter/php_functions.c sapi/apache2handler/php_functions.c: fix magic numbers * ext/pcre/pcrelib/pcre.h: revert this date to its previous state 2007-01-03 Derick Rethans * ext/date/php_date.c: - MFB: Fixed bug #40012 (php_date.c doesnt compile on Netware). * (PHP_5_2) NEWS ext/date/php_date.c: - Fixed bug #40012 (php_date.c doesnt compile on Netware). 2007-01-03 Antony Dovgal * ext/date/tests/bug37514.phpt: and one more.. * ext/date/tests/oo_002.phpt ext/date/tests/oo_002.phpt: fix test 2007-01-03 Ilia Alshanetsky * ext/fdf/fdf.c ext/fdf/fdf.c: Use proper length * ext/fdf/fdf.c: MFB: Added filter callback Unlink temporary file on error * (PHP_5_2) ext/fdf/fdf.c: Added filter callback Unlink temporary file on error 2007-01-02 Marcus Boerger * ext/spl/spl_array.c: - Make Andrei happy - spread some U's 2007-01-02 Nuno Lopes * ext/standard/proc_open.c: MFB * (PHP_5_2) NEWS ext/standard/proc_open.c: +- Fixed bug #37619 (proc_open() closes stdin on fork() failure). 2007-01-02 Ilia Alshanetsky * (PHP_4_4) ext/zip/zip.c: Added length parameter validator to zip_entry_read() 2007-01-02 Georg Richter * ext/mysqli/mysqli_api.c: fixed parameters for unicode in mysqli_change_user 2007-01-01 Nuno Lopes * acinclude.m4 acinclude.m4: MFB * (PHP_5_2) acinclude.m4: add EXTRA_LDFLAGS_PROGRAM to config.nice (as LDFLAG is quite useless) 2007-01-01 Ilia Alshanetsky * ext/dba/libinifile/inifile.c: MFB: fixed compiler warnings * (PHP_5_2) ext/dba/libinifile/inifile.c: fixed compiler warnings * (PHP_5_2) ext/xmlwriter/php_xmlwriter.c: fixed compiler warning * (PHP_5_2) header run-tests.php server-tests.php build/build.mk build/build2.mk build/buildcheck.sh ext/informix/ifx.ec ext/interbase/interbase.rc main/build-defs.h.in main/internal_functions.c.in scripts/dev/check_parameters.php scripts/dev/conv_z_macros win32/php5dllts.rc2 win32/php5ts.rc2 win32/php5ts_cli.rc2 win32/build/Makefile win32/build/buildconf.js win32/build/confutils.js win32/build/cvsclean.js win32/build/template.rc: Update copyright year * (PHP_5_2) ext/pdo_oci/oci_driver.c ext/pdo_oci/oci_statement.c: Fixed compiler warnings * (PHP_5_2) ext/xmlwriter/php_xmlwriter.c: Added missing entity functions (MFH from HEAD) Fixed php_xmlwriter_streams_IO_close() docs 2007-01-01 Sebastian Bergmann * TSRM/TSRM.c TSRM/TSRM.h TSRM/tsrm_nw.c TSRM/tsrm_nw.h TSRM/tsrm_virtual_cwd.c TSRM/tsrm_virtual_cwd.h TSRM/tsrm_win32.c TSRM/tsrm_win32.h ZendEngine2/acconfig.h ZendEngine2/zend.c ZendEngine2/zend.h ZendEngine2/zend_API.c ZendEngine2/zend_API.h ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.h ZendEngine2/zend_arg_defs.c ZendEngine2/zend_builtin_functions.c ZendEngine2/zend_builtin_functions.h ZendEngine2/zend_compile.c ZendEngine2/zend_compile.h ZendEngine2/zend_config.nw.h ZendEngine2/zend_config.w32.h ZendEngine2/zend_constants.c ZendEngine2/zend_constants.h ZendEngine2/zend_default_classes.c ZendEngine2/zend_dynamic_array.c ZendEngine2/zend_dynamic_array.h ZendEngine2/zend_errors.h ZendEngine2/zend_exceptions.c ZendEngine2/zend_exceptions.h ZendEngine2/zend_execute.c ZendEngine2/zend_execute.h ZendEngine2/zend_execute_API.c ZendEngine2/zend_extensions.c ZendEngine2/zend_extensions.h ZendEngine2/zend_fast_cache.h ZendEngine2/zend_globals.h ZendEngine2/zend_globals_macros.h ZendEngine2/zend_hash.c ZendEngine2/zend_hash.h ZendEngine2/zend_highlight.c ZendEngine2/zend_highlight.h ZendEngine2/zend_indent.c ZendEngine2/zend_indent.h ZendEngine2/zend_ini.c ZendEngine2/zend_ini.h ZendEngine2/zend_ini_scanner.h ZendEngine2/zend_interfaces.c ZendEngine2/zend_interfaces.h ZendEngine2/zend_istdiostream.h ZendEngine2/zend_iterators.c ZendEngine2/zend_iterators.h ZendEngine2/zend_language_scanner.h ZendEngine2/zend_list.c ZendEngine2/zend_list.h ZendEngine2/zend_llist.c ZendEngine2/zend_llist.h ZendEngine2/zend_modules.h ZendEngine2/zend_multiply.h ZendEngine2/zend_object_handlers.c ZendEngine2/zend_object_handlers.h ZendEngine2/zend_objects.c ZendEngine2/zend_objects.h ZendEngine2/zend_objects_API.c ZendEngine2/zend_objects_API.h ZendEngine2/zend_opcode.c ZendEngine2/zend_operators.c ZendEngine2/zend_operators.h ZendEngine2/zend_ptr_stack.c ZendEngine2/zend_ptr_stack.h ZendEngine2/zend_qsort.c ZendEngine2/zend_qsort.h ZendEngine2/zend_sprintf.c ZendEngine2/zend_stack.c ZendEngine2/zend_stack.h ZendEngine2/zend_static_allocator.c ZendEngine2/zend_static_allocator.h ZendEngine2/zend_stream.c ZendEngine2/zend_stream.h ZendEngine2/zend_strtod.h ZendEngine2/zend_ts_hash.c ZendEngine2/zend_ts_hash.h ZendEngine2/zend_types.h ZendEngine2/zend_unicode.c ZendEngine2/zend_unicode.h ZendEngine2/zend_variables.c ZendEngine2/zend_variables.h ZendEngine2/zend_vm.h ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h ZendEngine2/zend_vm_opcodes.h ext/bcmath/bcmath.c ext/bcmath/php_bcmath.h ext/bz2/bz2.c ext/bz2/bz2_filter.c ext/bz2/php_bz2.h ext/calendar/cal_unix.c ext/calendar/calendar.c ext/calendar/easter.c ext/com_dotnet/com_com.c ext/com_dotnet/com_dotnet.c ext/com_dotnet/com_extension.c ext/com_dotnet/com_handlers.c ext/com_dotnet/com_iterator.c ext/com_dotnet/com_misc.c ext/com_dotnet/com_olechar.c ext/com_dotnet/com_persist.c ext/com_dotnet/com_saproxy.c ext/com_dotnet/com_typeinfo.c ext/com_dotnet/com_variant.c ext/com_dotnet/com_wrapper.c ext/com_dotnet/php_com_dotnet.h ext/com_dotnet/php_com_dotnet_internal.h ext/ctype/ctype.c ext/ctype/php_ctype.h ext/curl/interface.c ext/curl/multi.c ext/curl/php_curl.h ext/curl/streams.c ext/date/php_date.c ext/date/php_date.h ext/date/lib/astro.c ext/date/lib/dow.c ext/date/lib/parse_date.c ext/date/lib/parse_tz.c ext/date/lib/timelib.c ext/date/lib/timelib.h ext/date/lib/timelib_structs.h ext/date/lib/timezonedb.h ext/date/lib/tm2unixtime.c ext/date/lib/unixtime2tm.c ext/dba/dba.c ext/dba/dba_cdb.c ext/dba/dba_db1.c ext/dba/dba_db2.c ext/dba/dba_db3.c ext/dba/dba_db4.c ext/dba/dba_dbm.c ext/dba/dba_flatfile.c ext/dba/dba_gdbm.c ext/dba/dba_inifile.c ext/dba/dba_ndbm.c ext/dba/dba_qdbm.c ext/dba/php_dba.h ext/dba/libcdb/cdb.c ext/dba/libcdb/cdb.h ext/dba/libcdb/cdb_make.c ext/dba/libcdb/cdb_make.h ext/dba/libcdb/uint32.c ext/dba/libcdb/uint32.h ext/dba/libflatfile/flatfile.c ext/dba/libflatfile/flatfile.h ext/dba/libinifile/inifile.c ext/dba/libinifile/inifile.h ext/dbase/dbase.c ext/dbase/php_dbase.h ext/dom/attr.c ext/dom/cdatasection.c ext/dom/characterdata.c ext/dom/comment.c ext/dom/document.c ext/dom/documentfragment.c ext/dom/documenttype.c ext/dom/dom_ce.h ext/dom/dom_fe.h ext/dom/dom_iterators.c ext/dom/dom_properties.h ext/dom/domconfiguration.c ext/dom/domerror.c ext/dom/domerrorhandler.c ext/dom/domexception.c ext/dom/domimplementation.c ext/dom/domimplementationlist.c ext/dom/domimplementationsource.c ext/dom/domlocator.c ext/dom/domstringlist.c ext/dom/element.c ext/dom/entity.c ext/dom/entityreference.c ext/dom/namednodemap.c ext/dom/namelist.c ext/dom/node.c ext/dom/nodelist.c ext/dom/notation.c ext/dom/php_dom.c ext/dom/php_dom.h ext/dom/processinginstruction.c ext/dom/string_extend.c ext/dom/text.c ext/dom/typeinfo.c ext/dom/userdatahandler.c ext/dom/xml_common.h ext/dom/xpath.c ext/exif/exif.c ext/exif/php_exif.h ext/fbsql/php_fbsql.c ext/fbsql/php_fbsql.h ext/fdf/fdf.c ext/fdf/php_fdf.h ext/filter/callback_filter.c ext/filter/filter.c ext/filter/filter_private.h ext/filter/logical_filters.c ext/filter/php_filter.h ext/filter/sanitizing_filters.c ext/ftp/ftp.c ext/ftp/ftp.h ext/ftp/php_ftp.c ext/ftp/php_ftp.h ext/gd/gd.c ext/gd/gd_ctx.c ext/gd/php_gd.h ext/gd/libgd/xbm.c ext/gettext/gettext.c ext/gettext/php_gettext.h ext/gmp/gmp.c ext/gmp/php_gmp.h ext/hash/hash.c ext/hash/hash_adler32.c ext/hash/hash_crc32.c ext/hash/hash_gost.c ext/hash/hash_haval.c ext/hash/hash_md.c ext/hash/hash_ripemd.c ext/hash/hash_salsa.c ext/hash/hash_sha.c ext/hash/hash_snefru.c ext/hash/hash_tiger.c ext/hash/hash_whirlpool.c ext/hash/php_hash.h ext/hash/php_hash_adler32.h ext/hash/php_hash_crc32.h ext/hash/php_hash_crc32_tables.h ext/hash/php_hash_gost.h ext/hash/php_hash_haval.h ext/hash/php_hash_md.h ext/hash/php_hash_ripemd.h ext/hash/php_hash_salsa.h ext/hash/php_hash_sha.h ext/hash/php_hash_snefru.h ext/hash/php_hash_snefru_tables.h ext/hash/php_hash_tiger.h ext/hash/php_hash_tiger_tables.h ext/hash/php_hash_types.h ext/hash/php_hash_whirlpool.h ext/hash/php_hash_whirlpool_tables.h ext/iconv/iconv.c ext/iconv/php_iconv.h ext/imap/php_imap.c ext/imap/php_imap.h ext/informix/php_informix.h ext/informix/php_informix_includes.h ext/interbase/ibase_blobs.c ext/interbase/ibase_events.c ext/interbase/ibase_query.c ext/interbase/ibase_service.c ext/interbase/interbase.c ext/interbase/php_ibase_includes.h ext/interbase/php_ibase_udf.c ext/interbase/php_interbase.h ext/json/json.c ext/json/php_json.h ext/ldap/ldap.c ext/ldap/php_ldap.h ext/libxml/libxml.c ext/libxml/php_libxml.h ext/mbstring/mb_gpc.c ext/mbstring/mb_gpc.h ext/mbstring/mbstring.c ext/mbstring/mbstring.h ext/mbstring/php_mbregex.c ext/mbstring/php_mbregex.h ext/mbstring/php_unicode.c ext/mbstring/php_unicode.h ext/mcrypt/mcrypt.c ext/mcrypt/php_mcrypt.h ext/mhash/mhash.c ext/mhash/php_mhash.h ext/mime_magic/mime_magic.c ext/mime_magic/php_mime_magic.h ext/mime_magic/phpmimemagic.h ext/ming/ming.c ext/ming/php_ming.h ext/msql/php_msql.c ext/msql/php_msql.h ext/mssql/php_mssql.c ext/mssql/php_mssql.h ext/mysql/php_mysql.c ext/mysql/php_mysql.h ext/mysqli/mysqli.c ext/mysqli/mysqli_api.c ext/mysqli/mysqli_driver.c ext/mysqli/mysqli_embedded.c ext/mysqli/mysqli_exception.c ext/mysqli/mysqli_fe.c ext/mysqli/mysqli_nonapi.c ext/mysqli/mysqli_prop.c ext/mysqli/mysqli_repl.c ext/mysqli/mysqli_report.c ext/mysqli/mysqli_report.h ext/mysqli/mysqli_warning.c ext/mysqli/php_mysqli.h ext/oci8/oci8.c ext/oci8/oci8_collection.c ext/oci8/oci8_interface.c ext/oci8/oci8_lob.c ext/oci8/oci8_statement.c ext/oci8/php_oci8.h ext/oci8/php_oci8_int.h ext/odbc/birdstep.c ext/odbc/php_birdstep.h ext/odbc/php_odbc.c ext/odbc/php_odbc.h ext/odbc/php_odbc_includes.h ext/openssl/openssl.c ext/openssl/php_openssl.h ext/openssl/xp_ssl.c ext/pcntl/pcntl.c ext/pcntl/php_pcntl.h ext/pcntl/php_signal.c ext/pcntl/php_signal.h ext/pcre/php_pcre.c ext/pcre/php_pcre.h ext/pcre/pcrelib/dftables.c ext/pcre/pcrelib/pcre.h ext/pcre/pcrelib/pcre_compile.c ext/pcre/pcrelib/pcre_config.c ext/pcre/pcrelib/pcre_exec.c ext/pcre/pcrelib/pcre_fullinfo.c ext/pcre/pcrelib/pcre_get.c ext/pcre/pcrelib/pcre_globals.c ext/pcre/pcrelib/pcre_info.c ext/pcre/pcrelib/pcre_internal.h ext/pcre/pcrelib/pcre_maketables.c ext/pcre/pcrelib/pcre_ord2utf8.c ext/pcre/pcrelib/pcre_refcount.c ext/pcre/pcrelib/pcre_study.c ext/pcre/pcrelib/pcre_tables.c ext/pcre/pcrelib/pcre_try_flipped.c ext/pcre/pcrelib/pcre_ucp_searchfuncs.c ext/pcre/pcrelib/pcre_valid_utf8.c ext/pcre/pcrelib/pcre_version.c ext/pcre/pcrelib/pcre_xclass.c ext/pcre/pcrelib/pcregrep.c ext/pcre/pcrelib/pcreposix.c ext/pcre/pcrelib/pcreposix.h ext/pdo/pdo.c ext/pdo/pdo_dbh.c ext/pdo/pdo_sql_parser.c ext/pdo/pdo_sqlstate.c ext/pdo/pdo_stmt.c ext/pdo/php_pdo.h ext/pdo/php_pdo_driver.h ext/pdo/php_pdo_int.h ext/pdo/php_pdo_phpvers_compat.h ext/pdo_dblib/dblib_driver.c ext/pdo_dblib/dblib_stmt.c ext/pdo_dblib/pdo_dblib.c ext/pdo_dblib/php_pdo_dblib.h ext/pdo_dblib/php_pdo_dblib_int.h ext/pdo_firebird/firebird_driver.c ext/pdo_firebird/firebird_statement.c ext/pdo_firebird/pdo_firebird.c ext/pdo_firebird/php_pdo_firebird.h ext/pdo_firebird/php_pdo_firebird_int.h ext/pdo_mysql/mysql_driver.c ext/pdo_mysql/mysql_statement.c ext/pdo_mysql/pdo_mysql.c ext/pdo_mysql/php_pdo_mysql.h ext/pdo_mysql/php_pdo_mysql_int.h ext/pdo_oci/oci_driver.c ext/pdo_oci/oci_statement.c ext/pdo_oci/pdo_oci.c ext/pdo_oci/php_pdo_oci.h ext/pdo_oci/php_pdo_oci_int.h ext/pdo_odbc/odbc_driver.c ext/pdo_pgsql/pdo_pgsql.c ext/pdo_pgsql/pgsql_driver.c ext/pdo_pgsql/pgsql_statement.c ext/pdo_pgsql/php_pdo_pgsql.h ext/pdo_pgsql/php_pdo_pgsql_int.h ext/pdo_sqlite/pdo_sqlite.c ext/pdo_sqlite/php_pdo_sqlite.h ext/pdo_sqlite/php_pdo_sqlite_int.h ext/pdo_sqlite/sqlite_driver.c ext/pdo_sqlite/sqlite_statement.c ext/pdo_sqlite/sqlite/src/alter.c ext/pdo_sqlite/sqlite/src/analyze.c ext/pdo_sqlite/sqlite/src/callback.c ext/pdo_sqlite/sqlite/src/complete.c ext/pdo_sqlite/sqlite/src/loadext.c ext/pdo_sqlite/sqlite/src/os_unix.c ext/pdo_sqlite/sqlite/src/prepare.c ext/pdo_sqlite/sqlite/src/sqlite3ext.h ext/pdo_sqlite/sqlite/src/vdbemem.c ext/pdo_sqlite/sqlite/src/vtab.c ext/pgsql/pgsql.c ext/pgsql/php_pgsql.h ext/posix/php_posix.h ext/posix/posix.c ext/pspell/php_pspell.h ext/pspell/pspell.c ext/readline/php_readline.h ext/readline/readline.c ext/recode/php_recode.h ext/recode/recode.c ext/reflection/php_reflection.c ext/reflection/php_reflection.h ext/session/mod_files.c ext/session/mod_files.h ext/session/mod_mm.c ext/session/mod_mm.h ext/session/mod_user.c ext/session/mod_user.h ext/session/php_session.h ext/session/session.c ext/shmop/php_shmop.h ext/shmop/shmop.c ext/simplexml/php_simplexml.h ext/simplexml/php_simplexml_exports.h ext/simplexml/simplexml.c ext/snmp/php_snmp.h ext/snmp/snmp.c ext/soap/php_encoding.c ext/soap/php_encoding.h ext/soap/php_http.c ext/soap/php_http.h ext/soap/php_packet_soap.c ext/soap/php_packet_soap.h ext/soap/php_schema.c ext/soap/php_schema.h ext/soap/php_sdl.c ext/soap/php_sdl.h ext/soap/php_soap.h ext/soap/php_xml.c ext/soap/php_xml.h ext/soap/soap.c ext/sockets/php_sockets.h ext/sockets/php_sockets_win.c ext/sockets/php_sockets_win.h ext/sockets/sockets.c ext/sockets/unix_socket_constants.h ext/sockets/win32_socket_constants.h ext/spl/php_spl.c ext/spl/php_spl.h ext/spl/spl_array.c ext/spl/spl_array.h ext/spl/spl_directory.c ext/spl/spl_directory.h ext/spl/spl_engine.c ext/spl/spl_engine.h ext/spl/spl_exceptions.c ext/spl/spl_exceptions.h ext/spl/spl_functions.c ext/spl/spl_functions.h ext/spl/spl_iterators.c ext/spl/spl_iterators.h ext/spl/spl_observer.c ext/spl/spl_observer.h ext/spl/spl_sxe.c ext/spl/spl_sxe.h ext/sqlite/pdo_sqlite2.c ext/sqlite/php_sqlite.h ext/sqlite/sess_sqlite.c ext/sqlite/sqlite.c ext/sqlite/libsqlite/src/date.c ext/sqlite/libsqlite/src/encode.c ext/sqlite/libsqlite/src/vdbe.c ext/standard/array.c ext/standard/assert.c ext/standard/base64.c ext/standard/base64.h ext/standard/basic_functions.c ext/standard/basic_functions.h ext/standard/browscap.c ext/standard/crc32.c ext/standard/crc32.h ext/standard/credits.c ext/standard/credits.h ext/standard/crypt.c ext/standard/css.c ext/standard/css.h ext/standard/cyr_convert.c ext/standard/cyr_convert.h ext/standard/datetime.c ext/standard/datetime.h ext/standard/dir.c ext/standard/dl.c ext/standard/dl.h ext/standard/dns.c ext/standard/dns.h ext/standard/exec.c ext/standard/exec.h ext/standard/file.c ext/standard/file.h ext/standard/filestat.c ext/standard/filters.c ext/standard/flock_compat.c ext/standard/flock_compat.h ext/standard/formatted_print.c ext/standard/fsock.c ext/standard/fsock.h ext/standard/ftok.c ext/standard/ftp_fopen_wrapper.c ext/standard/head.c ext/standard/head.h ext/standard/html.c ext/standard/html.h ext/standard/http.c ext/standard/http_fopen_wrapper.c ext/standard/image.c ext/standard/incomplete_class.c ext/standard/info.c ext/standard/info.h ext/standard/iptc.c ext/standard/lcg.c ext/standard/levenshtein.c ext/standard/link.c ext/standard/mail.c ext/standard/math.c ext/standard/md5.c ext/standard/md5.h ext/standard/metaphone.c ext/standard/microtime.c ext/standard/microtime.h ext/standard/pack.c ext/standard/pack.h ext/standard/pageinfo.c ext/standard/pageinfo.h ext/standard/php_array.h ext/standard/php_assert.h ext/standard/php_browscap.h ext/standard/php_crypt.h ext/standard/php_dir.h ext/standard/php_ext_syslog.h ext/standard/php_filestat.h ext/standard/php_fopen_wrapper.c ext/standard/php_fopen_wrappers.h ext/standard/php_ftok.h ext/standard/php_http.h ext/standard/php_image.h ext/standard/php_incomplete_class.h ext/standard/php_iptc.h ext/standard/php_lcg.h ext/standard/php_link.h ext/standard/php_mail.h ext/standard/php_math.h ext/standard/php_metaphone.h ext/standard/php_rand.h ext/standard/php_smart_str.h ext/standard/php_smart_str_public.h ext/standard/php_standard.h ext/standard/php_string.h ext/standard/php_type.h ext/standard/php_uuencode.h ext/standard/php_var.h ext/standard/php_versioning.h ext/standard/proc_open.c ext/standard/proc_open.h ext/standard/quot_print.c ext/standard/quot_print.h ext/standard/rand.c ext/standard/reg.c ext/standard/reg.h ext/standard/scanf.c ext/standard/scanf.h ext/standard/sha1.c ext/standard/sha1.h ext/standard/soundex.c ext/standard/streamsfuncs.c ext/standard/streamsfuncs.h ext/standard/string.c ext/standard/strnatcmp.c ext/standard/syslog.c ext/standard/type.c ext/standard/uniqid.c ext/standard/uniqid.h ext/standard/url.c ext/standard/url.h ext/standard/url_scanner.c ext/standard/url_scanner.h ext/standard/url_scanner_ex.c ext/standard/url_scanner_ex.h ext/standard/user_filters.c ext/standard/uuencode.c ext/standard/var.c ext/standard/var_unserializer.c ext/standard/versioning.c ext/sybase/php_sybase_db.c ext/sybase/php_sybase_db.h ext/sybase_ct/php_sybase_ct.c ext/sybase_ct/php_sybase_ct.h ext/sysvmsg/php_sysvmsg.h ext/sysvmsg/sysvmsg.c ext/sysvsem/php_sysvsem.h ext/sysvsem/sysvsem.c ext/sysvshm/php_sysvshm.h ext/sysvshm/sysvshm.c ext/tidy/php_tidy.h ext/tidy/tidy.c ext/tokenizer/php_tokenizer.h ext/tokenizer/tokenizer.c ext/unicode/collator.c ext/unicode/locale.c ext/unicode/php_property.h ext/unicode/php_transform.h ext/unicode/php_unicode.h ext/unicode/property.c ext/unicode/transform.c ext/unicode/unicode.c ext/unicode/unicode_iterators.c ext/wddx/php_wddx.h ext/wddx/php_wddx_api.h ext/wddx/wddx.c ext/xml/compat.c ext/xml/expat_compat.h ext/xml/php_xml.h ext/xml/xml.c ext/xmlreader/php_xmlreader.c ext/xmlreader/php_xmlreader.h ext/xmlrpc/php_xmlrpc.h ext/xmlrpc/xmlrpc-epi-php.c ext/xmlrpc/libxmlrpc/xml_element.c ext/xmlrpc/libxmlrpc/xmlrpc.c ext/xmlwriter/php_xmlwriter.c ext/xmlwriter/php_xmlwriter.h ext/xsl/php_xsl.c ext/xsl/php_xsl.h ext/xsl/xsl_fe.h ext/xsl/xsltprocessor.c ext/zip/php_zip.c ext/zip/php_zip.h ext/zip/zip_stream.c ext/zip/lib/mkstemp.c ext/zip/lib/zip.h ext/zip/lib/zip_add_dir.c ext/zip/lib/zip_close.c ext/zip/lib/zip_dirent.c ext/zip/lib/zip_entry_free.c ext/zip/lib/zip_entry_new.c ext/zip/lib/zip_err_str.c ext/zip/lib/zip_error.c ext/zip/lib/zip_error_clear.c ext/zip/lib/zip_error_strerror.c ext/zip/lib/zip_file_error_clear.c ext/zip/lib/zip_file_get_offset.c ext/zip/lib/zip_fread.c ext/zip/lib/zip_get_archive_comment.c ext/zip/lib/zip_get_file_comment.c ext/zip/lib/zip_memdup.c ext/zip/lib/zip_new.c ext/zip/lib/zip_open.c ext/zip/lib/zip_replace.c ext/zip/lib/zip_set_archive_comment.c ext/zip/lib/zip_set_file_comment.c ext/zip/lib/zip_source_buffer.c ext/zip/lib/zip_source_filep.c ext/zip/lib/zip_source_function.c ext/zip/lib/zip_source_zip.c ext/zip/lib/zip_stat_index.c ext/zip/lib/zip_stat_init.c ext/zip/lib/zip_unchange.c ext/zip/lib/zip_unchange_all.c ext/zip/lib/zip_unchange_archive.c ext/zip/lib/zipint.h ext/zlib/php_zlib.h ext/zlib/zlib.c ext/zlib/zlib_filter.c ext/zlib/zlib_fopen_wrapper.c main/SAPI.c main/SAPI.h main/config.w32.h main/fopen_wrappers.c main/fopen_wrappers.h main/internal_functions_nw.c main/internal_functions_win32.c main/logos.h main/main.c main/network.c main/output.c main/php.h main/php_compat.h main/php_content_types.c main/php_content_types.h main/php_globals.h main/php_ini.c main/php_ini.h main/php_logos.c main/php_logos.h main/php_main.h main/php_memory_streams.h main/php_network.h main/php_open_temporary_file.c main/php_open_temporary_file.h main/php_output.h main/php_reentrancy.h main/php_regex.h main/php_scandir.c main/php_scandir.h main/php_sprintf.c main/php_streams.h main/php_syslog.h main/php_ticks.c main/php_ticks.h main/php_variables.c main/php_variables.h main/reentrancy.c main/rfc1867.c main/rfc1867.h main/snprintf.c main/snprintf.h main/spprintf.c main/spprintf.h main/strlcat.c main/strlcpy.c main/win95nt.h main/streams/cast.c main/streams/filter.c main/streams/memory.c main/streams/mmap.c main/streams/php_stream_context.h main/streams/php_stream_filter_api.h main/streams/php_stream_mmap.h main/streams/php_stream_plain_wrapper.h main/streams/php_stream_transport.h main/streams/php_stream_userspace.h main/streams/php_streams_int.h main/streams/plain_wrapper.c main/streams/streams.c main/streams/transports.c main/streams/unicode_filter.c main/streams/userspace.c main/streams/xp_socket.c netware/start.c sapi/aolserver/aolserver.c sapi/apache/libpre.c sapi/apache/mod_php5.c sapi/apache/mod_php5.h sapi/apache/php_apache.c sapi/apache/php_apache_http.h sapi/apache/sapi_apache.c sapi/apache2filter/apache_config.c sapi/apache2filter/php_apache.h sapi/apache2filter/php_functions.c sapi/apache2filter/sapi_apache2.c sapi/apache2handler/apache_config.c sapi/apache2handler/mod_php5.c sapi/apache2handler/php_apache.h sapi/apache2handler/php_functions.c sapi/apache2handler/sapi_apache2.c sapi/apache_hooks/mod_php5.c sapi/apache_hooks/mod_php5.h sapi/apache_hooks/php_apache.c sapi/apache_hooks/sapi_apache.c sapi/caudium/caudium.c sapi/cgi/cgi_main.c sapi/cgi/fastcgi.c sapi/cgi/fastcgi.h sapi/cgi/getopt.c sapi/cgi/php_getopt.h sapi/cli/getopt.c sapi/cli/php_cli.c sapi/cli/php_cli_readline.c sapi/cli/php_cli_readline.h sapi/cli/php_getopt.h sapi/continuity/capi.c sapi/embed/php_embed.c sapi/embed/php_embed.h sapi/isapi/php5isapi.c sapi/milter/php_milter.c sapi/nsapi/nsapi.c sapi/phttpd/php_phttpd.h sapi/phttpd/phttpd.c sapi/pi3web/pi3web_sapi.c sapi/roxen/roxen.c sapi/thttpd/php_thttpd.h sapi/thttpd/thttpd.c sapi/tux/php_tux.c sapi/webjames/php_webjames.h sapi/webjames/webjames.c win32/crypt_win32.h win32/glob.c win32/globals.c win32/grp.h win32/md5crypt.c win32/md5crypt.h win32/php_win32_globals.h win32/select.c win32/select.h win32/sendmail.c win32/syslog.h win32/winutil.c win32/winutil.h win32/build/deplister.c: Bump year. 2006-12-31 Ilia Alshanetsky * ext/filter/logical_filters.c: MFB: Simplify code and change strchr() to memchr() * (PHP_5_2) ext/filter/logical_filters.c: Simplify code and change strchr() to memchr() * (PHP_4_4) ext/session/session.c: MFH: Added boundary checks to php_binary deserializer * ext/session/session.c: MFB: Added boundary checks to php_binary deserializer * (PHP_5_2) ext/session/session.c: Added boundary checks to php_binary deserializer * main/SAPI.c: MFB: Fixed bug #39984 (redirect response code in header() could be ignored in CGI sapi). * (PHP_5_2) NEWS main/SAPI.c: Fixed bug #39984 (redirect response code in header() could be ignored in CGI sapi). 2006-12-31 Marcus Boerger * (PHP_5_2) ext/spl/spl.php: - MFH Bugfix: #39996 Wrong PHPDoc comment for SplFileInfo::getType() * ext/spl/spl.php: - Bugfix: #39996 Wrong PHPDoc comment for SplFileInfo::getType() 2006-12-31 Nuno Lopes * ext/standard/proc_open.c: MFB: fix #36427. patch by jdolecek at NetBSD dot org * (PHP_5_2) NEWS ext/standard/proc_open.c: - Fixed bug #36427 (proc_open() / proc_close() leak handles on windows). * ext/standard/proc_open.c ext/standard/proc_open.h: MFB: fix PID info on windows * (PHP_5_2) NEWS ext/standard/proc_open.c ext/standard/proc_open.h: Fixed bug #38542 (proc_get_status() returns wrong PID on windows) 2006-12-30 Ilia Alshanetsky * (PHP_4_4) ext/sysvshm/sysvshm.c: MFH: Added missing resource validation checks * (PHP_5_2) ext/sysvshm/sysvshm.c: Added missing resource validation checks * ext/shmop/shmop.c: MFB: Added missing resource type checks * (PHP_5_2) ext/shmop/shmop.c: Added missing resource type checks 2006-12-30 Rob Richards * (PHP_5_2) NEWS: BFN * ext/simplexml/simplexml.c ext/simplexml/tests/bug39760.phpt: MFB: fix bug #39760 (cloning fails on nested SimpleXML-Object) add test * (PHP_5_2) ext/simplexml/simplexml.c ext/simplexml/tests/bug39760.phpt ext/simplexml/tests/bug39760.phpt: fix bug #39760 (cloning fails on nested SimpleXML-Object) add test 2006-12-30 Ilia Alshanetsky * (PHP_5_2) ext/xsl/xsltprocessor.c: C++ comment * ext/standard/tests/strings/pack.phpt: MFB: Mark test as being 32bit only * (PHP_5_2) ext/standard/tests/strings/pack.phpt: Mark test as being 32bit only * (PHP_5_2) ZendEngine2/zend_operators.c: Simplify & optimize code * ext/filter/logical_filters.c: MFB: Fixes test #50 * (PHP_5_2) ext/filter/logical_filters.c: Fixes test #50 2006-12-29 Ilia Alshanetsky * (PHP_4_4) NEWS ext/pgsql/pgsql.c: MFH: Fixed bug #39971 (pg_insert/pg_update do not allow now() to be used for timestamp fields). * ext/pgsql/pgsql.c: MFB: Fixed bug #39971 (pg_insert/pg_update do not allow now() to be used for timestamp fields). * ext/pgsql/tests/80_bug39971.phpt ext/pgsql/tests/80_bug39971.phpt: file 80_bug39971.phpt was initially added on branch PHP_5_2. * (PHP_5_2) NEWS ext/pgsql/pgsql.c: Fixed bug #39971 (pg_insert/pg_update do not allow now() to be used for timestamp fields). 2006-12-28 Antony Dovgal * sapi/cgi/cgi_main.c: make sure l != 0 * (PHP_5_2) ZendEngine2/zend.c: that was not intentional thanks Nuno * ZendEngine2/zend.c: nuke dead code * ext/fdf/fdf.c ext/mime_magic/mime_magic.c: use strlcpy() 2006-12-28 Nuno Lopes * ext/zlib/tests/bug_34821.phpt: MFB * (PHP_5_2) ext/zlib/tests/bug_34821.phpt: make this test run a little faster (is currently timeout with valgrind) 2006-12-28 Antony Dovgal * ext/mysql/php_mysql.c: include basic_functions.h for php_get_current_user() declaration * ext/fdf/fdf.c: it's ptr, not ptrptr * ext/dba/libflatfile/flatfile.c: use the macro, casting works only with GCC * sapi/embed/php_embed.c: fix sapi/embed build 2006-12-28 Ilia Alshanetsky * ext/pgsql/pgsql.c: MFB: Added buffer length checks * (PHP_5_2) ext/pgsql/pgsql.c: Added buffer length checks 2006-12-28 Antony Dovgal * sapi/apache_hooks/php_apache.c: fix build 2006-12-28 Ilia Alshanetsky * main/php_logos.c: MFB: strcat() stuff * (PHP_5_2) ext/standard/proc_open.c main/php_logos.c: Simplify code and eliminate strcat() usage 2006-12-28 Nuno Lopes * run-tests.php: force tidy.clean_output=0 2006-12-28 Antony Dovgal * ext/standard/file.c: fix ZTS build * ext/odbc/php_odbc.c main/php_ini.c sapi/apache/php_apache.c sapi/apache_hooks/php_apache.c: use strlcat() * ext/sockets/sockets.c ext/standard/reg.c: minor improvements * main/main.c: use strlcat() and a bigger buffer 2006-12-28 Ilia Alshanetsky * (PHP_5_2) ZendEngine2/zend_execute_API.c: Avoid strcpy() & strcat() 2006-12-27 Antony Dovgal * (PHP_4_4) Zend/zend_ini.c: fix build * ext/session/tests/001.phpt ext/session/tests/004.phpt ext/session/tests/005.phpt ext/standard/tests/general_functions/include_path.phpt ext/standard/tests/general_functions/parse_ini_file.phpt ext/standard/tests/strings/bug20108.phpt ext/standard/tests/strings/bug25671.phpt ext/standard/tests/strings/bug27278.phpt ext/standard/tests/strings/bug39873.phpt ext/standard/tests/time/bug38524.phpt: fix tests * ext/standard/math.c: NULL is a special value for number_format() meaning "use default separator" * ZendEngine2/zend_operators.c: restore old behaviour when casting objects to strings and NULL * ZendEngine2/zend_operators.c: fix convert_to_unicode() and convert_to_string() which didn't set the type of the op properly * ext/standard/tests/file/fscanf.phpt ext/standard/tests/strings/bug21730.phpt: fix *scanf() tests * ZendEngine2/zend_operators.h ZendEngine2/zend_strtol.c: add zend_u_strtoul() and fix build * main/php_streams.h: fix php_stream_u_get_line() macro 2006-12-27 Nuno Lopes * (PHP_5_2) ext/session/tests/008.phpt: die("skip this is for PHP < 4.2.3"); * ext/standard/tests/strings/htmlentities02.phpt: MFB * (PHP_5_2) ext/standard/tests/strings/htmlentities02.phpt: oops: remove uneeded code in the skip condition * (PHP_5_2) ext/standard/tests/strings/htmlentities02.phpt: add fr_FR@euro to the setlocale list 2006-12-27 Antony Dovgal * ext/pdo_oci/oci_statement.c: initialize memory with 0's, so we won't get garbage if the statement does not set the var * (PHP_5_2) ext/oci8/tests/function_aliases.phpt ext/oci8/tests/lob_aliases.phpt ext/oci8/tests/num.phpt ext/oci8/tests/statement_type.phpt ext/oci8/tests/statement_type_old.phpt: MFH more test improvements by Chris Jones * ext/oci8/tests/details.inc: that should not be there.. * ext/oci8/tests/details.inc ext/oci8/tests/function_aliases.phpt ext/oci8/tests/function_aliases.phpt ext/oci8/tests/lob_aliases.phpt ext/oci8/tests/lob_aliases.phpt ext/oci8/tests/num.phpt ext/oci8/tests/statement_type.phpt ext/oci8/tests/statement_type_old.phpt: more test improvements by Chris Jones 2006-12-26 Andrei Zmievski * ext/standard/file.c ext/standard/scanf.c ext/standard/scanf.h ext/standard/string.c: Unicode support in sscanf() and fscanf(). (Tony, Andrei) 2006-12-26 Nuno Lopes * ext/snmp/php_snmp.h: fix build 2006-12-26 Ilia Alshanetsky * ZendEngine2/zend_ini.c ZendEngine2/zend_ini.h ext/exif/exif.c ext/interbase/ibase_query.c ext/json/json.c ext/pdo_dblib/dblib_driver.c ext/pdo_dblib/dblib_stmt.c ext/pgsql/pgsql.c ext/soap/php_encoding.c ext/spl/spl_directory.c ext/standard/uuencode.c ext/standard/var.c main/main.c: MFB: safety checks * (PHP_4_4) Zend/zend_ini.c Zend/zend_ini.h ext/exif/exif.c main/main.c: MFB: safety checks * ext/session/session.c: MFB: Session deserializer protection. * (PHP_5_2) ZendEngine2/zend_strtod.c: Fixed compiler warning * (PHP_5_2) ext/curl/interface.c: Don't forget to free url structure * ext/curl/interface.c: MFB: Fixed bug #39878 (CURL doesn't compile on Sun Studio Pro). * (PHP_5_2) NEWS ext/curl/interface.c: Fixed bug #39878 (CURL doesn't compile on Sun Studio Pro). * (PHP_5_2) ext/session/session.c: Session deserializer protection. * (PHP_5_2) ext/standard/type.c: is_numeric_string() optimization * (PHP_5_2) ZendEngine2/bench.php ZendEngine2/zend.c ZendEngine2/zend_exceptions.c ZendEngine2/zend_language_scanner.l ZendEngine2/zend_operators.c ZendEngine2/zend_operators.h ZendEngine2/zend_strtod.c ZendEngine2/zend_strtod.h: is_numeric_string() optimization 2006-12-26 Antony Dovgal * ext/xml/xml.c: fix arguments order (just in the sake of purity) 2006-12-26 Pierre-Alain Joye * ext/gd/config.m4: - Add better zlib detection * (PHP_5_2) NEWS ext/zip/config.m4 ext/zip/config.m4: - #39952 zip ignoring --with-libdir on zlib checks (judas dot iscariote at gmail dot com) 2006-12-26 Dmitry Stogov * ext/filter/filter.c ext/filter/filter.c ext/filter/filter_private.h ext/filter/filter_private.h ext/filter/logical_filters.c ext/filter/logical_filters.c ext/filter/tests/030.phpt ext/filter/tests/030.phpt ext/filter/tests/045.phpt ext/filter/tests/046.phpt ext/filter/tests/047.phpt ext/filter/tests/048.phpt ext/filter/tests/049.phpt ext/filter/tests/050.phpt ext/filter/tests/051.phpt ext/filter/tests/bug7733.phpt: Code review: . fixed integer overflow . fixed buffer overflow/underflow . added more strict IP validation . reimplemented float number validation * ext/filter/tests/045.phpt ext/filter/tests/045.phpt ext/filter/tests/046.phpt ext/filter/tests/046.phpt ext/filter/tests/047.phpt ext/filter/tests/047.phpt ext/filter/tests/048.phpt ext/filter/tests/048.phpt ext/filter/tests/049.phpt ext/filter/tests/049.phpt ext/filter/tests/050.phpt ext/filter/tests/050.phpt ext/filter/tests/051.phpt ext/filter/tests/051.phpt ext/filter/tests/bug7733.phpt: file 045.phpt was initially added on branch PHP_5_2. 2006-12-25 Ilia Alshanetsky * (PHP_5_2) ZendEngine2/zend_ini.c ZendEngine2/zend_ini.h main/main.c: Ensure that OnUpdateLongGEZero is greater or equal to 0. Added a update wrapper for ensuring >0 values * (PHP_5_2) ext/exif/exif.c: Allocation safety checks 2006-12-25 Antony Dovgal * ext/zip/php_zip.c: add missing space for \0 2006-12-25 Ilia Alshanetsky * (PHP_5_2) ext/pgsql/pgsql.c ext/soap/php_encoding.c ext/spl/spl_directory.c ext/standard/math.c main/main.c: Allocation safety checks 2006-12-25 Antony Dovgal * ext/xsl/xsltprocessor.c: more safe_emalloc() 2006-12-25 Ilia Alshanetsky * (PHP_5_2) ext/interbase/ibase_query.c ext/json/json.c ext/oci8/oci8_statement.c ext/pdo_dblib/dblib_driver.c ext/pdo_dblib/dblib_stmt.c ext/standard/uuencode.c ext/standard/var.c: Use safe_emalloc() * ext/standard/tests/array/array_sum.phpt: MFB: Fixed test for 64bit systems * (PHP_5_2) ext/standard/tests/array/array_sum.phpt: Fixed test for 64bit systems 2006-12-25 Antony Dovgal * ext/iconv/iconv.c ext/interbase/ibase_blobs.c ext/mhash/mhash.c ext/oci8/oci8_statement.c ext/standard/streamsfuncs.c: use safe_emalloc() * ext/bz2/bz2.c: improve check for overflow * ext/sockets/sockets.c: fix CS, add missing folding markers mark Unicode safe functions as they are 2006-12-25 Dmitry Stogov * ZendEngine2/tests/bug39825.phpt ZendEngine2/tests/bug39825.phpt: file bug39825.phpt was initially added on branch PHP_5_2. * (PHP_5_2) NEWS ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h ZendEngine2/zend_vm_execute.h ZendEngine2/tests/bug39825.phpt: Fixed bug #39825 (foreach produces memory error) 2006-12-25 Antony Dovgal * ext/standard/streamsfuncs.c: stream_socket_shutdown() is Unicode safe by definition * ext/soap/soap.c: fix proto * ext/mhash/mhash.c: fix protos * ext/posix/posix.c: mark most of the ext/posix functions as Unicode safe, for they do not use strings in any way * ext/oci8/oci8_interface.c: mark all LOB functions as Unicode safe 2006-12-25 Ilia Alshanetsky * ext/exif/exif.c ext/informix/ifx.ec ext/standard/http_fopen_wrapper.c ext/standard/microtime.c: MFB: Use %F (ignores locale) for internal representation of floats * (PHP_5_2) ext/exif/exif.c ext/informix/ifx.ec ext/standard/http_fopen_wrapper.c ext/standard/microtime.c: Use %F (ignores locale) for internal representation of floats 2006-12-25 Hannes Magnusson * (PHP_5_2) NEWS README.UPDATE_5_2: Add missing NEWS entrys and update the README.UPDATE file 2006-12-25 Antony Dovgal * (PHP_4_4) NEWS NEWS configure.in configure.in: MFH: fix bug #39890 (using autoconf 2.6x and --with-layout=GNU breaks PEAR install path) * configure.in: fix bug #39890 (using autoconf 2.6x and --with-layout=GNU breaks PEAR install path) * ext/imap/php_imap.c: fix build * ext/standard/tests/general_functions/001.phpt ext/standard/tests/general_functions/001.phpt ext/standard/tests/strings/bug22207.phpt ext/standard/tests/strings/bug22207.phpt: fix test 2006-12-25 Ilia Alshanetsky * ext/imap/php_imap.c: MFB: Define SENDBUFLEN for older c-client libs * (PHP_4_4) ext/imap/php_imap.c: MFH: Define SENDBUFLEN for older c-client libs * (PHP_5_2) ext/imap/php_imap.c: Define SENDBUFLEN for older c-client libs 2006-12-25 Dmitry Stogov * ZendEngine2/tests/bug39944.phpt ZendEngine2/tests/bug39944.phpt: file bug39944.phpt was initially added on branch PHP_5_2. * (PHP_5_2) NEWS ZendEngine2/zend_execute.c ZendEngine2/zend_execute.c ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_def.h ZendEngine2/zend_vm_execute.h ZendEngine2/zend_vm_execute.h ZendEngine2/tests/bug39944.phpt: Fixed bug #39944 (References broken) * main/streams/filter.c main/streams/filter.c: Fixed heap overflow * ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.c: Fixed possible size_t overflow 2006-12-25 Antony Dovgal * ext/standard/credits.c: update credits at request of Gabor * ext/standard/tests/strings/bug23894.phpt ext/standard/tests/strings/sprintf_f.phpt ext/standard/tests/strings/sprintf_f_2.phpt ext/standard/tests/strings/sprintf_f_2.phpt ext/standard/tests/strings/sprintf_f_3.phpt ext/standard/tests/strings/sprintf_f_3.phpt: fix tests * ext/standard/formatted_print.c: fix #36392 in Unicode mode 2006-12-24 Ilia Alshanetsky * ext/imap/php_imap.c: MFB: Fixed buffer boundary protection * (PHP_5_2) ext/imap/php_imap.c: Fixed buffer boundary protection * ext/sqlite/libsqlite/src/encode.c: MFB: Added empty string checks * (PHP_5_2) ext/sqlite/libsqlite/src/encode.c: Added empty string checks 2006-12-24 Rob Richards * ext/com_dotnet/com_saproxy.c: update function signature * (PHP_5_2) NEWS NEWS: BFN * ext/com_dotnet/com_com.c ext/com_dotnet/com_handlers.c ext/com_dotnet/com_saproxy.c ext/com_dotnet/php_com_dotnet_internal.h: MFB: fix bug #33734 and related (Something strange with COM Object) - caused by fix in com_handlers.c rev 1.22.2.5 * (PHP_5_2) ext/com_dotnet/com_com.c ext/com_dotnet/com_handlers.c ext/com_dotnet/com_saproxy.c ext/com_dotnet/php_com_dotnet_internal.h: fix bug #33734 and related (Something strange with COM Object) - caused by fix in com_handlers.c rev 1.22.2.5 * ext/com_dotnet/com_handlers.c ext/com_dotnet/com_variant.c ext/com_dotnet/com_wrapper.c ext/com_dotnet/tests/bug33386.phpt ext/com_dotnet/tests/bug39596.phpt: MFB: - fix bug #33386 (ScriptControl only sees last function of class): com_wrapper.c - fix bug #37588 (COM Property propputref converts to PHP function and can't be accesed): com_handlers.c - fix bug #39596 (Creating Variant of type VT_ARRAY): com_variant.c - add tests * ext/com_dotnet/tests/bug33386.phpt ext/com_dotnet/tests/bug33386.phpt ext/com_dotnet/tests/bug39596.phpt ext/com_dotnet/tests/bug39596.phpt: file bug33386.phpt was initially added on branch PHP_5_2. * (PHP_5_2) ext/com_dotnet/com_handlers.c ext/com_dotnet/com_variant.c ext/com_dotnet/com_wrapper.c: - fix bug #33386 (ScriptControl only sees last function of class): com_wrapper.c - fix bug #37588 (COM Property propputref converts to PHP function and can't be accesed): com_handlers.c - fix bug #39596 (Creating Variant of type VT_ARRAY): com_variant.c - add tests 2006-12-24 Hannes Magnusson * (PHP_5_2) ext/zip/php_zip.c: Fix typo 2006-12-23 Ilia Alshanetsky * ext/zip/php_zip.c ext/zip/zip_stream.c: MFB: safety checks * (PHP_5_2) ext/zip/php_zip.c ext/zip/zip_stream.c: Safety checks * (PHP_4_4) ext/sysvmsg/sysvmsg.c: MFB: Added checks for negative max length and overflow checks for overly long strings. * ext/sysvmsg/sysvmsg.c: MFB: Added checks for negative max length and overflow checks for overly long strings. * (PHP_5_2) ext/sysvmsg/sysvmsg.c: Added checks for negative max length and overflow checks for overly long strings. 2006-12-23 Derick Rethans * ext/mcrypt/config.m4 ext/mhash/config.m4 ext/pdo_sqlite/config.m4 ext/tidy/config.m4: - MFB: Fixed bug #39935 (Extensions tidy,mcrypt,mhash,pdo_sqlite ignores --with-libdir). * (PHP_5_2) NEWS ext/mcrypt/config.m4 ext/mhash/config.m4 ext/pdo_sqlite/config.m4 ext/tidy/config.m4: - Fixed bug #39935 (Extensions tidy,mcrypt,mhash,pdo_sqlite ignores --with-libdir). 2006-12-23 Antony Dovgal * ext/oci8/tests/error1.phpt: fix test * ZendEngine2/zend_API.h: fix typo * ext/oci8/tests/error.phpt ext/oci8/tests/error1.phpt ext/oci8/tests/error_old.phpt: fix tests * ext/oci8/oci8_interface.c: use add_ascii_assoc_text() * ext/oci8/oci8_collection.c: use OCI_SUCCESS constant, do not rely on its value 2006-12-22 Andrei Zmievski * unicode-progress.txt ZendEngine2/zend_ini.c ZendEngine2/zend_ini.h: Implement OnUpdateUTF8String() handler. It always assumes UTF-8 input, since we cannot check for UG(unicodE) inside it. * ext/standard/math.c: Unicode support in number_format(). 2006-12-22 Nuno Lopes * ext/pdo/pdo_sql_parser.c: fix lcov/genhtml build (yes it is very picky) 2006-12-22 Ilia Alshanetsky * ext/reflection/php_reflection.c ext/reflection/tests/bug39884.phpt: MFB: Fixed bug #39884 (ReflectionParameter::getClass() throws exception for type hint self). * (PHP_5_2) NEWS ext/reflection/php_reflection.c ext/reflection/tests/bug39884.phpt ext/reflection/tests/bug39884.phpt: Fixed bug #39884 (ReflectionParameter::getClass() throws exception for type hint self). * ext/standard/formatted_print.c ext/standard/tests/strings/bug36392.phpt: MFB: Fixed bug #36392 (wrong number of decimal digits with %e specifier in sprintf). * (PHP_5_2) NEWS ext/standard/formatted_print.c: Fixed bug #36392 (wrong number of decimal digits with %e specifier in sprintf). * ext/standard/tests/strings/bug36392.phpt ext/standard/tests/strings/bug36392.phpt: file bug36392.phpt was initially added on branch PHP_5_2. * (PHP_5_2) NEWS ext/date/php_date.c: Small optimization of the date() function 2006-12-22 Antony Dovgal * (PHP_5_2) ext/oci8/tests/coll_018.phpt ext/oci8/tests/error2.phpt ext/oci8/tests/lob_036.phpt ext/oci8/tests/statement_type.phpt: new tests * ext/oci8/tests/coll_018.phpt ext/oci8/tests/coll_018.phpt ext/oci8/tests/error2.phpt ext/oci8/tests/error2.phpt ext/oci8/tests/lob_036.phpt ext/oci8/tests/lob_036.phpt ext/oci8/tests/statement_type.phpt: more OCI8 tests by Chris Jones * (PHP_5_2) ext/date/tests/010.phpt ext/date/tests/011.phpt ext/date/tests/012.phpt ext/date/tests/013.phpt ext/date/tests/014.phpt ext/date/tests/date_parse_001.phpt ext/date/tests/date_sun_info_001.phpt: more tests * ext/date/tests/010.phpt ext/date/tests/010.phpt ext/date/tests/011.phpt ext/date/tests/011.phpt ext/date/tests/012.phpt ext/date/tests/012.phpt ext/date/tests/013.phpt ext/date/tests/013.phpt ext/date/tests/014.phpt ext/date/tests/014.phpt ext/date/tests/date_parse_001.phpt ext/date/tests/date_parse_001.phpt ext/date/tests/date_sun_info_001.phpt ext/date/tests/date_sun_info_001.phpt: more ext/date tests by Chris Jones 2006-12-22 Ilia Alshanetsky * ext/standard/math.c ext/standard/tests/strings/bug39873.phpt: MFB: Fixed bug #39873 (number_format() breaks with locale & decimal points). * ext/standard/tests/strings/bug39873.phpt ext/standard/tests/strings/bug39873.phpt: file bug39873.phpt was initially added on branch PHP_5_2. * (PHP_5_2) NEWS ext/standard/math.c: Fixed bug #39873 (number_format() breaks with locale & decimal points). 2006-12-22 Hannes Magnusson * ext/ftp/tests/005.phpt ext/standard/tests/array/locale_sort.phpt ext/standard/tests/strings/substr_compare.phpt: Fix tests * ext/standard/array.c: Fix ZTS build... 2006-12-22 Marcus Boerger * ext/spl/php_spl.c: - Fix memory allocation/deallocation to match * ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.h ZendEngine2/zend_interfaces.c: - Implement ezstrndup() 2006-12-22 Andrei Zmievski * ext/standard/tests/serialize/006.phpt: Fix serialization test. 2006-12-22 Marcus Boerger * ZendEngine2/zend.h ZendEngine2/zend_interfaces.c ext/standard/var.c ext/standard/var_unserializer.c ext/standard/var_unserializer.re ext/standard/tests/serialize/005.phpt: - Make custom serializing work with zstr (as discussed with andrei) * ZendEngine2/zend_alloc.c: - Use conversion macro 2006-12-21 Andrei Zmievski * ext/standard/levenshtein.c: levenshtein() already supported Unicode. * ext/standard/metaphone.c: Metaphone will work only with binary runtime-encoded strings. 2006-12-21 Marcus Boerger * ext/standard/var.c: - No misleading comments * ext/spl/spl_observer.c ext/spl/spl_sxe.c: - Mark a fewthings as unicode ready * ext/standard/var.c: - Serialization doesn't work with unicode data * ZendEngine2/zend_interfaces.c: -Serialization doesn't work with unicode data 2006-12-21 Antony Dovgal * ext/oci8/oci8_interface.c: temporary fix for oci_error(), just to make it work it should be using add_ascii_assoc_text() instead * ext/oci8/oci8_interface.c: added support for CALL statement type (patch by Chris Jones) * main/SAPI.c: fix ws, cs and overall code readability 2006-12-21 Andrei Zmievski * unicode-progress.txt ext/standard/array.c ext/standard/php_string.h ext/standard/string.c ext/standard/strnatcmp.c: Bite the bullet and port the natural comparison algorithm to support UChar strings. Also, simplify the original code. 2006-12-21 Antony Dovgal * ext/standard/datetime.c: temp is freed in zend_unicode_to_string() on failure * ext/standard/browscap.c: lookup_browser_name cannot be NULL * (PHP_5_2) ext/oci8/tests/array_bind_014.phpt ext/oci8/tests/array_bind_int1.phpt ext/oci8/tests/fetch_all2.phpt ext/oci8/tests/lob_020.phpt ext/oci8/tests/lob_027.phpt ext/oci8/tests/lob_033.phpt ext/oci8/tests/lob_034.phpt ext/oci8/tests/lob_035.phpt: improve tests * ext/oci8/tests/array_bind_014.phpt ext/oci8/tests/array_bind_014.phpt ext/oci8/tests/array_bind_int1.phpt ext/oci8/tests/error1.phpt ext/oci8/tests/fetch_all2.phpt ext/oci8/tests/fetch_all2.phpt ext/oci8/tests/lob_020.phpt ext/oci8/tests/lob_027.phpt ext/oci8/tests/lob_033.phpt ext/oci8/tests/lob_033.phpt ext/oci8/tests/lob_034.phpt ext/oci8/tests/lob_034.phpt ext/oci8/tests/lob_035.phpt ext/oci8/tests/lob_035.phpt ext/oci8/tests/privileged_connect1.phpt: improve tests, add new ones 2006-12-21 Seiji Masugata * ext/mbstring/libmbfl/filters/mbfilter_cp51932.c ext/mbstring/libmbfl/filters/mbfilter_cp51932.h: Initial commit(Synced PHP_5_2 Branch.). * ext/mbstring/config.m4 ext/mbstring/mb_gpc.c ext/mbstring/mbstring.c ext/mbstring/libmbfl/libmbfl.dsw ext/mbstring/libmbfl/libmbfl.sln ext/mbstring/libmbfl/libmbfl.vcproj ext/mbstring/libmbfl/filters/Makefile.am ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c ext/mbstring/libmbfl/filters/mbfilter_jis.c ext/mbstring/libmbfl/filters/mbfilter_jis.h ext/mbstring/libmbfl/filters/unicode_table_jis.h ext/mbstring/libmbfl/mbfl/mbfilter.c ext/mbstring/libmbfl/mbfl/mbfl_convert.c ext/mbstring/libmbfl/mbfl/mbfl_encoding.c ext/mbstring/libmbfl/mbfl/mbfl_encoding.h ext/mbstring/libmbfl/mbfl/mbfl_ident.c ext/mbstring/libmbfl/nls/nls_ru.c ext/mbstring/libmbfl/nls/nls_ru.h: Synced PHP_5_2 Branch. * (PHP_4_4) ext/mbstring/mbstring.c ext/mbstring/mbstring.c: Fixed bug #39361, #39400 (mbstring function overloading problem). 2006-12-21 Dmitry Stogov * php.ini-dist php.ini-dist php.ini-recommended php.ini-recommended: Fixed comments 2006-12-21 Rob Richards * ext/dom/domimplementation.c ext/dom/text.c: MFB: fix issues identitified by coverity * (PHP_5_2) ext/dom/domimplementation.c ext/dom/text.c: fix issues identitified by coverity 2006-12-21 Antony Dovgal * (PHP_5_2) ext/oci8/tests/lob_030.phpt ext/oci8/tests/lob_031.phpt ext/oci8/tests/lob_032.phpt: new tests * ext/oci8/tests/lob_030.phpt ext/oci8/tests/lob_030.phpt ext/oci8/tests/lob_031.phpt ext/oci8/tests/lob_031.phpt ext/oci8/tests/lob_032.phpt ext/oci8/tests/lob_032.phpt: new tests by Christopher Jones * ZendEngine2/zend_execute_API.c: fix possible leak 2006-12-21 Dmitry Stogov * (PHP_5_2) NEWS php.ini-dist php.ini-dist php.ini-recommended php.ini-recommended main/main.c main/main.c: Default memory_limit value is set to 128M * TSRM/tsrm_virtual_cwd.c TSRM/tsrm_win32.c: emoved dependency from SHELL32.DLL * (PHP_5_2) NEWS TSRM/tsrm_virtual_cwd.c TSRM/tsrm_win32.c: Removed dependency from SHELL32.DLL 2006-12-21 Ilia Alshanetsky * ZendEngine2/zend_compile.c: MFB: Fix a possible memory leak * (PHP_5_2) ZendEngine2/zend_compile.c: Fix a possible memory leak * ZendEngine2/zend_operators.c: MFB: Fixed possible memory leak * (PHP_5_2) ZendEngine2/zend_operators.c: Fixed possible memory leak 2006-12-21 Antony Dovgal * main/streams/memory.c: apply correct fix (aka "oops!") 2006-12-21 Ilia Alshanetsky * ext/soap/php_sdl.c: MFB: Optimize out zend_hash_num_elements() call * (PHP_5_2) ext/soap/php_sdl.c: Optimize out zend_hash_num_elements() call 2006-12-21 Antony Dovgal * ext/standard/html.c: fix leak on error * main/streams/xp_socket.c: don't leak on error * ext/posix/posix.c ext/posix/posix.c: fix possible leaks * main/streams/memory.c: fix potential leak * sapi/cli/php_cli.c: prevent potential leak on error * ext/standard/datetime.c: bail out if zend_unicode_to_string() fails * ZendEngine2/zend_unicode.c: make sure err_char is initialized properly * ext/standard/file.c: fix double free 2006-12-20 Antony Dovgal * ext/standard/string.c: fix potential leak, improve length checks 2006-12-20 Marcus Boerger * ext/spl/spl_directory.c: - Quick hackto make tests pass 2006-12-20 Antony Dovgal * ext/standard/string.c: do not allocate the return value if it wasn't requested * ZendEngine2/zend_builtin_functions.c: fix possible leak on failure in get_defined_functions() * ZendEngine2/zend_API.c: fix leak in zend_disable_class() * ext/standard/file.c: fix double free on error 2006-12-20 Marcus Boerger * ext/spl/php_spl.c ext/spl/php_spl.h: - More unicode * ext/spl/tests/spl_autoload_001.phpt: - Add unicode expectations * ext/spl/tests/spl_autoload_002.phpt: - Fix test name 2006-12-20 Andrei Zmievski * unicode-progress.txt: Update. 2006-12-20 Marcus Boerger * ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.h: - Make shorter and do not use problematic attribute * ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.h: - Compilers mightnot like the zstr return,thus return void* 2006-12-20 Andrei Zmievski * ext/standard/browscap.c: Unicode support in get_browser(). To avoid additional copying/conversion during parsing, the browscap values in the returned array will be of IS_STRING type. * ZendEngine2/zend_API.c: Check for conversion failure in "s&" and return appropriately. * ZendEngine2/zend_unicode.c: Fix return value in zval_unicode_to_string_ex(). * ZendEngine2/zend_alloc.c: Fix warning. 2006-12-20 Marcus Boerger * README.UNICODE-UPGRADES: - Mention zend_zstrndup() * ZendEngine2/zend.h ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.h: - Implement zend_zstrndup() 2006-12-20 Ilia Alshanetsky * ext/filter/logical_filters.c: Fixed zts build * (PHP_5_2) ext/filter/logical_filters.c: fixed ZTS build 2006-12-20 Antony Dovgal * (PHP_4_4) ext/session/session.c ext/session/session.c: protect _SESSION, HTTP_SESSION_VARS and GLOBALS maintain an internal reference of _SESSION, so that it won't be possible to destroy it from userspace * ext/session/session.c: remove register_globals remains maintain an internal reference of _SESSION, so that it won't be possible to destroy it from userspace 2006-12-20 Ilia Alshanetsky * ext/filter/logical_filters.c ext/filter/tests/015.phpt ext/filter/tests/033.phpt: MFB: Fixed bug #39898 (FILTER_VALIDATE_URL validates \r\n\t etc). * (PHP_5_2) NEWS ext/filter/logical_filters.c ext/filter/tests/015.phpt ext/filter/tests/033.phpt: Fixed bug #39898 (FILTER_VALIDATE_URL validates \r\n\t etc). 2006-12-20 Antony Dovgal * ZendEngine2/zend_operators.h: return NULL right away if invalid length was passed 2006-12-20 Andrei Zmievski * ext/standard/formatted_print.c: Align Unicode and binary versions of formatted printing. * (PHP_5_2) ZendEngine2/zend_language_scanner.l: More correct patch for b-prefixes. 2006-12-20 Antony Dovgal * (PHP_5_2) NEWS ZendEngine2/zend_language_parser.y: MFH: fix #39903 (Notice message when executing __halt_compiler() more than once) * ZendEngine2/zend_language_parser.y: fix #39903 (Notice message when executing __halt_compiler() more than once) * (PHP_5_2) ZendEngine2/zend_builtin_functions.c: use Z_* macros * ext/pspell/pspell.c: don't reinvent the wheel, use sprintf() 2006-12-20 Derick Rethans * (PHP_5_2) NEWS ext/filter/logical_filters.c: - Fixed the validate email filter so that the letter "v" can also be used in the user part of the email address. (Derick) * ext/filter/logical_filters.c: - Fixed the regexp so that the letter "v" also works. 2006-12-20 Antony Dovgal * ext/curl/streams.c: gracefully bail out on invalid header 2006-12-20 Dmitry Stogov * ZendEngine2/Zend.m4 ZendEngine2/zend_alloc.c ext/standard/basic_functions.c ext/standard/php_var.h ext/standard/var.c main/main.c main/output.c sapi/apache/mod_php5.c sapi/apache2filter/sapi_apache2.c sapi/apache2handler/sapi_apache2.c sapi/apache_hooks/mod_php5.c win32/build/config.w32: Make MEMORY_LIMIT and ZEND_USE_MALLOC_MM to be always enabled. They don't make a ny significant slowdown, but incrise maintainability a lot. Note that the setting of memory_limit wasn't changes (neither in main/main.c nor in php.ini) and it still set to 16M. * (PHP_5_2) NEWS ZendEngine2/Zend.m4 ZendEngine2/zend_alloc.c ext/standard/basic_functions.c ext/standard/php_var.h ext/standard/var.c main/main.c sapi/apache/mod_php5.c sapi/apache2filter/sapi_apache2.c sapi/apache2handler/sapi_apache2.c sapi/apache_hooks/mod_php5.c win32/build/config.w32: Make MEMORY_LIMIT and ZEND_USE_MALLOC_MM to be always enabled. They don't make any significant slowdown, but incrise maintainability a lot. Note that the setting of memory_limit wasn't changes (neither in main/main.c nor in php.ini) and it still set to 16M. 2006-12-20 Hannes Magnusson * ZendEngine2/zend_API.h ext/iconv/iconv.c ext/standard/basic_functions.c main/php.h: MFB: - Fixed incorrect function names on FreeBSD where inet_pton() was named __inet_pton() and inet_ntop() was named __inet_ntop() - Fixed bug #39685 (iconv() - undefined function) - Fixed bug #38852 (XML-RPC Breaks iconv) * (PHP_5_2) NEWS ZendEngine2/zend_API.h ext/iconv/iconv.c ext/standard/basic_functions.c main/php.h: - Fixed incorrect function names on FreeBSD where inet_pton() was named __inet_pton() and inet_ntop() was named __inet_ntop() - Fixed bug #39685 (iconv() - undefined function) - Fixed bug #38852 (XML-RPC Breaks iconv) 2006-12-19 Andrei Zmievski * ext/standard/mail.c: Unicode support in ezmlm_hash(). 2006-12-19 Marcus Boerger * ext/spl/php_spl.c: - Use new 'x' parameter parsing * ext/spl/php_spl.c: - Make spl_autoload_call() unicode safe * ZendEngine2/zend_interfaces.c: - Changed macro once again * README.PARAMETER_PARSING_API: - x was added toparameter parsing api * ZendEngine2/zend_API.c: - Implement parameter parsing 'x' * ZendEngine2/zend_interfaces.c: - Fix macro param order * ZendEngine2/zend_interfaces.c ZendEngine2/zend_interfaces.h: - Implement zend_u_call_method to deal with situations where the function name type is already known 2006-12-19 Andrei Zmievski * ext/standard/basic_functions.c: Unicode support in set_include_path(). 2006-12-19 Nuno Lopes * ext/pcre/tests/005.phpt: new test * ext/pcre/tests/005.phpt ext/pcre/tests/005.phpt: file 005.phpt was initially added on branch PHP_5_2. 2006-12-19 Michael Wallner * (PHP_5_2) ext/curl/interface.c: MFH: check CRYPTO_get_id_callback() if anyone else already set thread lock callbacks * ext/curl/interface.c: - check CRYPTO_get_id_callback() if anyone else already set thread lock callbacks 2006-12-19 Antony Dovgal * ext/soap/tests/bugs/bug39815.phpt: MFB 2006-12-19 Andrei Zmievski * README.UNICODE-UPGRADES: Update. 2006-12-19 Antony Dovgal * (PHP_5_2) ext/soap/tests/bugs/bug39815.phpt: on FreeBSD these locales have different names 2006-12-19 Andrei Zmievski * ZendEngine2/zend_API.h ZendEngine2/zend_execute_API.c ext/reflection/php_reflection.c ext/standard/array.c ext/standard/basic_functions.c ext/standard/string.c: - Marcus was too quick. Let's put type before zstr in the macros. - Also mark get_include_path() and restore_include_path() with U. 2006-12-19 Marcus Boerger * README.UNICODE-UPGRADES ZendEngine2/zend_API.h ZendEngine2/zend_execute_API.c ext/reflection/php_reflection.c ext/standard/array.c: - Fix ZVAL_ZSTRL 2006-12-19 Antony Dovgal * ext/soap/tests/bugs/bug39815.phpt: add check for setlocale() and sv_SE to SKIPIF section 2006-12-19 Andrei Zmievski * ext/standard/formatted_print.c: Unicode support in *printf() functions. (Antony, Andrei) * (PHP_5_2) ZendEngine2/zend_language_scanner.l: Support 'b' prefix in front of string literals for forward compatibility with PHP 6. 2006-12-19 Nuno Lopes * ext/json/json.c: MFB: little cleanup in json_determine_array_type() * (PHP_5_2) ext/json/json.c: remove NOP code in json_determine_array_type(), as we already know the zval passed is an array (based on patch by Ron Korving) 2006-12-19 Antony Dovgal * ext/filter/tests/004.phpt ext/filter/tests/004.phpt ext/filter/tests/006.phpt ext/filter/tests/006.phpt ext/filter/tests/007.phpt ext/filter/tests/007.phpt ext/filter/tests/008.phpt ext/filter/tests/008.phpt ext/filter/tests/009.phpt ext/filter/tests/009.phpt ext/filter/tests/010.phpt ext/filter/tests/010.phpt ext/filter/tests/011.phpt ext/filter/tests/011.phpt ext/filter/tests/012.phpt ext/filter/tests/012.phpt ext/filter/tests/013.phpt ext/filter/tests/013.phpt ext/filter/tests/014.phpt ext/filter/tests/014.phpt ext/filter/tests/015.phpt ext/filter/tests/015.phpt ext/filter/tests/016.phpt ext/filter/tests/016.phpt ext/filter/tests/017.phpt ext/filter/tests/017.phpt ext/filter/tests/018.phpt ext/filter/tests/018.phpt ext/filter/tests/019.phpt ext/filter/tests/019.phpt ext/filter/tests/020.phpt ext/filter/tests/020.phpt ext/filter/tests/021.phpt ext/filter/tests/021.phpt ext/filter/tests/022.phpt ext/filter/tests/022.phpt ext/filter/tests/023.phpt ext/filter/tests/023.phpt ext/filter/tests/024.phpt ext/filter/tests/024.phpt ext/filter/tests/025.phpt ext/filter/tests/025.phpt ext/filter/tests/026.phpt ext/filter/tests/026.phpt ext/filter/tests/027.phpt ext/filter/tests/027.phpt ext/filter/tests/028.phpt ext/filter/tests/028.phpt ext/filter/tests/029.phpt ext/filter/tests/029.phpt ext/filter/tests/030.phpt ext/filter/tests/030.phpt ext/filter/tests/031.phpt ext/filter/tests/031.phpt ext/filter/tests/032.phpt ext/filter/tests/032.phpt ext/filter/tests/033.phpt ext/filter/tests/033.phpt ext/filter/tests/034.phpt ext/filter/tests/034.phpt ext/filter/tests/035.phpt ext/filter/tests/035.phpt ext/filter/tests/037.phpt ext/filter/tests/037.phpt ext/filter/tests/038.phpt ext/filter/tests/038.phpt ext/filter/tests/040.phpt ext/filter/tests/040.phpt ext/filter/tests/041.phpt ext/filter/tests/041.phpt ext/filter/tests/042.phpt ext/filter/tests/042.phpt ext/filter/tests/043.phpt ext/filter/tests/043.phpt ext/filter/tests/044.phpt ext/filter/tests/044.phpt ext/filter/tests/bug39846.phpt ext/filter/tests/bug39846.phpt ext/filter/tests/bug7586.phpt ext/filter/tests/bug7586.phpt ext/filter/tests/bug7715.phpt ext/filter/tests/bug7715.phpt ext/filter/tests/bug7733.phpt ext/filter/tests/bug7733.phpt ext/filter/tests/bug8315.phpt ext/filter/tests/bug8315.phpt ext/filter/tests/callback_non_modified_var.phpt ext/filter/tests/callback_non_modified_var.phpt ext/filter/tests/filter_data.phpt ext/filter/tests/filter_data.phpt: add missing SKIPIF sections * main/snprintf.c: -NAN should not be possible * main/snprintf.c: inf->INF nan->NAN 2006-12-19 Dmitry Stogov * ext/standard/formatted_print.c ext/standard/formatted_print.c main/snprintf.c main/snprintf.c main/spprintf.c main/spprintf.c: Support for systems without locale.h 2006-12-19 Antony Dovgal * ext/pcre/tests/002.phpt sapi/cli/tests/011.phpt sapi/cli/tests/011.phpt: fix test on MacOS * ext/standard/tests/serialize/001.phpt ext/standard/tests/serialize/006.phpt ext/standard/tests/serialize/bug14293.phpt ext/standard/tests/serialize/bug21957.phpt: fix serialize tests after s: -> S: change * ext/standard/var.c: MFB: serialize() should use '.' as decimal point irrespectively to locale * (PHP_5_2) ext/standard/var.c: serialize() should use '.' as decimal point irrespectively to locale 2006-12-19 Dmitry Stogov * ext/soap/tests/bugs/bug39815.phpt ext/soap/tests/bugs/bug39815.phpt ext/soap/tests/interop/Round3/GroupD/r3_groupD_compound2_001w.phpt ext/standard/formatted_print.c main/snprintf.c main/snprintf.h main/spprintf.c: file bug39815.phpt was initially added on branch PHP_5_2. * (PHP_5_2) NEWS ext/soap/php_encoding.c ext/soap/php_encoding.c ext/soap/tests/bugs/bug39815.phpt ext/soap/tests/interop/Round3/GroupD/r3_groupD_compound2_001w.phpt ext/standard/formatted_print.c main/snprintf.c main/snprintf.h main/spprintf.c: Fixed bug #39815 (SOAP double encoding is not locale-independent) 2006-12-19 Edin Kadribasic * php.ini-dist php.ini-recommended: MFB * (PHP_5_2) php.ini-dist php.ini-recommended: Updated list of available extensions in dlls. Updated oci extension ini settings. -- christopher.jones at oracle dot com * win32/build/Makefile win32/build/config.w32 win32/build/confutils.js win32/build/mkdist.php: MFB: Enable full build with newer Microsoft compilers * (PHP_5_2) win32/build/Makefile win32/build/config.w32 win32/build/confutils.js win32/build/mkdist.php: Enable full build with newer Microsoft compilers 2006-12-19 Hannes Magnusson * (PHP_5_2) ZendEngine2/tests/bug34617.phpt ext/ftp/tests/004.phpt ext/standard/tests/array/locale_sort.phpt tests/lang/bug30638.phpt: Fix tests 2006-12-19 Dmitry Stogov * (PHP_5_2) NEWS sapi/cgi/fastcgi.c sapi/cgi/fastcgi.c: Fixed bug #39869 (safe_read does not initialize errno). (michiel at boland dot org) * (PHP_5_2) NEWS ext/standard/basic_functions.c ext/standard/basic_functions.c ext/standard/file.c ext/standard/file.c ext/standard/streamsfuncs.c ext/standard/streamsfuncs.c ext/standard/streamsfuncs.h ext/standard/streamsfuncs.h ext/standard/tests/network/shutdown.phpt ext/standard/tests/network/shutdown.phpt ext/standard/tests/network/shutdown.phpt main/streams/php_stream_transport.h main/streams/php_stream_transport.h main/streams/transports.c main/streams/transports.c main/streams/xp_socket.c main/streams/xp_socket.c: Added function stream_socket_shutdown(). It is a wraper for system shutdown() function, that shut downs part of a full-duplex connection 2006-12-19 Brian Shire * (PHP_5_2) NEWS: BFN * ext/standard/array.c ext/standard/tests/array/bug30074.phpt: -Fixed bug #30074 (apparent symbol table error with extract($blah, EXTR_REFS)) 2006-12-19 Pierre-Alain Joye * unicode-progress.txt: - zip is done * ext/zip/php_zip.c: - unicode support for the procedural API 2006-12-18 Marcus Boerger * ext/spl/tests/observer_004.phpt ext/spl/tests/observer_005.phpt: - More tests - Test naming 2006-12-18 Hannes Magnusson * ext/standard/basic_functions.c: Fix ZTS 2006-12-18 Marcus Boerger * ext/spl/spl_observer.c ext/spl/tests/observer_003.phpt ext/spl/tests/observer_004.phpt: - Support members in SplObjectStorage serialization / shorter serialization 2006-12-18 Andrei Zmievski * unicode-progress.txt ext/standard/basic_functions.c: Unicode support in get_cfg_var(). * ext/standard/basic_functions.c: Fix macro. * ext/standard/basic_functions.c: Unicode support in parse_ini_file(). 2006-12-18 Ilia Alshanetsky * ext/pdo_pgsql/pgsql_driver.c: MFB: Fixed bug #39845 (Persistent connections generate a warning in pdo_pgsql). * (PHP_5_2) NEWS ext/pdo_pgsql/pgsql_driver.c: Fixed bug #39845 (Persistent connections generate a warning in pdo_pgsql). * ext/filter/sanitizing_filters.c: MFB: Cleanup & optimize php_filter_encode_url() * (PHP_5_2) ext/filter/sanitizing_filters.c: Cleanup & optimize php_filter_encode_url() * ext/filter/sanitizing_filters.c ext/standard/php_string.h ext/standard/string.c: MFB: Less hackish support for spaces at the start of tags within strip_tags() * (PHP_5_2) ext/filter/sanitizing_filters.c ext/standard/php_string.h ext/standard/string.c: Less hackish support for spaces at the start of tags within strip_tags() * ext/filter/filter_private.h ext/filter/logical_filters.c ext/filter/tests/042.phpt ext/filter/tests/044.phpt: MFB: Fixed bugs with trimming of spaces * (PHP_5_2) NEWS ext/filter/filter_private.h ext/filter/logical_filters.c ext/filter/tests/042.phpt ext/filter/tests/044.phpt ext/filter/tests/044.phpt: Fixed bugs with trimming of spaces 2006-12-18 Antony Dovgal * (PHP_5_2) NEWS ext/standard/php_fopen_wrapper.c: MFH: fix #39850 (SplFileObject throws contradictory/wrong error messages when trying to open "php://wrong") * ext/standard/php_fopen_wrapper.c: fix #39850 (SplFileObject throws contradictory/wrong error messages when trying to open "php://wrong") 2006-12-18 Dmitry Stogov * ext/soap/tests/bugs/bug39832.phpt ext/soap/tests/bugs/bug39832.phpt ext/soap/tests/bugs/bug39832.wsdl ext/soap/tests/bugs/bug39832.wsdl: file bug39832.phpt was initially added on branch PHP_5_2. * (PHP_5_2) NEWS ext/soap/php_encoding.c ext/soap/php_encoding.c ext/soap/tests/bugs/bug39832.phpt ext/soap/tests/bugs/bug39832.wsdl: Fixed bug #39832 (SOAP Server: parameter not matching the WSDL specified type are set to 0) 2006-12-18 Antony Dovgal * (PHP_5_2) main/SAPI.c: MFH: fix possible invalid read (reproducible only on big-endian machines) * main/SAPI.c: fix possible invalid read (reproducible only on big-endian machines) 2006-12-18 Zeev Suraski * (PHP_5_2) main/SAPI.c: Whitespace 2006-12-18 Dmitry Stogov * (PHP_5_2) NEWS ZendEngine2/Zend.m4 ZendEngine2/Zend.m4 ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.c: Fixed random generation of cookies and canaries 2006-12-18 Antony Dovgal * ext/standard/tests/strings/sprintf_f_2.phpt ext/standard/tests/strings/sprintf_f_3.phpt: fix test names * (PHP_5_2) ext/standard/formatted_print.c: remove the comment, it's not valid anymore 2006-12-18 Hannes Magnusson * (PHP_5_2) ext/standard/formatted_print.c ext/standard/tests/strings/sprintf_f_2.phpt ext/standard/tests/strings/sprintf_f_3.phpt main/snprintf.c: MFH: - make %f locale aware again - fix precision loss with %F (noticed by Sebastian Nohn) - add new tests * ext/standard/formatted_print.c ext/standard/tests/strings/sprintf_f_2.phpt ext/standard/tests/strings/sprintf_f_2.phpt ext/standard/tests/strings/sprintf_f_3.phpt ext/standard/tests/strings/sprintf_f_3.phpt main/snprintf.c: - make %f locale aware again - fix precision loss with %F (noticed by Sebastian Nohn) - add new tests 2006-12-18 Dmitry Stogov * (PHP_5_2) ZendEngine2/zend_alloc.c: MFH: __builtin_expect() exists only in GCC 3.0 and higher 2006-12-18 Ilia Alshanetsky * ext/filter/sanitizing_filters.c ext/filter/tests/025.phpt ext/filter/tests/042.phpt ext/filter/tests/043.phpt ext/standard/string.c: MFB: Filter fixes: Fixed possible double encoding problem with sanitizing filters Make use of space-strict strip_tags() function * (PHP_5_2) NEWS ext/filter/sanitizing_filters.c ext/filter/tests/025.phpt: Filter fixes: Fixed possible double encoding problem with sanitizing filters Make use of space-strict strip_tags() function * ext/filter/tests/042.phpt ext/filter/tests/042.phpt ext/filter/tests/043.phpt ext/filter/tests/043.phpt ext/standard/string.c: file 042.phpt was initially added on branch PHP_5_2. 2006-12-17 Marcus Boerger * ext/spl/spl_observer.c ext/spl/tests/observer_003.phpt: - Make this work in unicode mode 2006-12-17 Brian Shire * (PHP_5_2) ext/standard/array.c ext/standard/tests/array/bug30074.phpt ext/standard/tests/array/bug30074.phpt: Fixed bug #30074 extract with EXTR_REFS was setting EG(unitialized_zval_ptr)->is_ref=1, affecting subsequent usage Added test 2006-12-17 Ilia Alshanetsky * main/main.c main/main.c: Fixed compiler warning * ext/imap/php_imap.c: MFB: Fixed bug #39779 (Enable AUTH PLAIN mechanism in underlaying libc-client). * (PHP_5_2) NEWS ext/imap/php_imap.c: Fixed bug #39779 (Enable AUTH PLAIN mechanism in underlaying libc-client). 2006-12-17 Hannes Magnusson * ext/filter/logical_filters.c: MFB: fix build * (PHP_5_2) ext/filter/logical_filters.c: Fix build 2006-12-16 Ilia Alshanetsky * ext/filter/logical_filters.c ext/filter/tests/bug39846.phpt: MFB: Fixed bug #39846 (Invalid IPv4 treated as valid). * (PHP_5_2) NEWS ext/filter/logical_filters.c ext/filter/tests/bug39846.phpt ext/filter/tests/bug39846.phpt: Fixed bug #39846 (Invalid IPv4 treated as valid). 2006-12-16 Hannes Magnusson * NEWS: Remove items that are already in 5.2 * ZendEngine2/zend_API.h ext/pdo_pgsql/pgsql_driver.c ext/standard/basic_functions.c: Fix ZTS build 2006-12-16 Marcus Boerger * ext/spl/spl_observer.c ext/spl/tests/observer_003.phpt: - Implement feature request #39836i (SplObjectStorage empty after unserialize) 2006-12-16 Andrei Zmievski * ZendEngine2/zend_operators.c ZendEngine2/zend_operators.h: Make convert_to_*() APIs return SUCCESS/FAILURE. 2006-12-15 Andrei Zmievski * README.UNICODE: Update with INI file info. * unicode-progress.txt ext/standard/basic_functions.c: Unicode support in ini_*() functions. * ZendEngine2/zend_alloc.c: __builtin_expect() exists only in GCC 3.0 and higher. * ZendEngine2/zend_API.h: Make all macros (RETURN_*, RETVAL_*, ZVAL_*, add_*) that convert binary strings to Unicode actually issues errors on failure. I'm surprised we haven't done this already. * ZendEngine2/zend_unicode.c: Fix potential buffer overflow in default conversion error handler. * ZendEngine2/zend.c: Make utf8_conv stop on conversion errors when converting to UTF-16. 2006-12-15 Andi Gutmans * ZendEngine2/zend_alloc.c: - MF 5.2 (put cookie in first place) * (PHP_5_2) ZendEngine2/zend_alloc.c: - I prefer cookie to be the first element. 2006-12-15 Dmitry Stogov * (PHP_5_2) NEWS ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.c: Added internal heap protection . safe unlinking . cookies . canary protection (debug build only) 2006-12-15 Wez Furlong * ext/pdo_sqlite/pdo_sqlite.c ext/pdo_sqlite/php_pdo_sqlite.h ext/pdo_sqlite/php_pdo_sqlite_int.h ext/pdo_sqlite/sqlite_driver.c ext/pdo_sqlite/sqlite_statement.c: merge php5 pdo_sqlite into head; this source compiles on both php5 and php6. 2006-12-15 Ilia Alshanetsky * (PHP_5_2) configure.in main/php_version.h: back to dev * (PHP_5_2) NEWS configure.in main/php_version.h: 5.2.1RC1 2006-12-15 Andrei Zmievski * (PHP_5_2) ext/standard/var_unserializer.c ext/standard/var_unserializer.re: Support for 'S' format in unserialize() (forward compatibility with PHP 6) 2006-12-14 Andrei Zmievski * ext/standard/var.c ext/standard/var_unserializer.c ext/standard/var_unserializer.re: Use 'S' for escaped binary strings and 's' for non-escaped. 2006-12-14 Rob Richards * ext/dom/dom_fe.h ext/dom/php_dom.c ext/dom/php_dom.h ext/dom/xpath.c ext/dom/tests/domxpath.phpt: add ability to call PHP functions from XPath update test 2006-12-13 Ilia Alshanetsky * (PHP_5_2) NEWS sapi/apache2filter/sapi_apache2.c: Fixed bug #39816 (apxs2filter ignores httpd.conf & .htaccess php config settings). * (PHP_5_2) ext/standard/string.c: Removed deadcode found by Ron Korving * (PHP_5_2) ext/standard/basic_functions.c ext/wddx/wddx.c: optimize out strlen() calls * sapi/apache2handler/sapi_apache2.c: MFB: Fixed bug #39201 (Possible crash in Apache 2 with 413 ErrorHandler). * (PHP_5_2) NEWS sapi/apache2handler/sapi_apache2.c: Fixed bug #39201 (Possible crash in Apache 2 with 413 ErrorHandler). 2006-12-12 Sara Golemon * (PHP_5_2) ZendEngine2/zend_compile.c: MFH: Bugfix# 39435: 'foo' instanceof bar gives invalid opcode error * ZendEngine2/zend_compile.c: Bugfix# 39435: 'foo' instanceof bar gives invalid opcode error 2006-12-12 Antony Dovgal * ext/standard/file.c: erm.. somehow this part got here twice 2006-12-12 Michael Wallner * ext/recode/CREDITS ext/standard/credits_ext.h: - utf8 * unicode-progress.txt ext/posix/CREDITS ext/standard/credits.c ext/standard/credits_ext.h ext/standard/info.c ext/standard/info.h: - utf8 CREDITS and php_info API - unicode progress in info.c 2006-12-12 Andrei Zmievski * unicode-progress.txt: -** empty log message *** * ext/standard/basic_functions.c: Do not convert args to Unicode in getopt(), they should stay binary. * ext/standard/string.c: Make hebrev(c) support only binary strings. 2006-12-12 Ilia Alshanetsky * sapi/apache2handler/sapi_apache2.c: MFB: Fixed bug #39797 (virtual() does not reset changed INI settings). * (PHP_5_2) NEWS sapi/apache2handler/sapi_apache2.c: Fixed bug #39797 (virtual() does not reset changed INI settings). 2006-12-12 Andrei Zmievski * main/php_variables.c: Keep CLI args as binary strings. 2006-12-12 Ilia Alshanetsky * (PHP_5_2) ext/pcre/php_pcre.c: Removed dummy vars. 2006-12-12 Antony Dovgal * (PHP_5_2) ext/oci8/tests/connect_without_oracle_home.phpt ext/oci8/tests/connect_without_oracle_home_old.phpt: disable tests * ext/oci8/tests/connect_without_oracle_home.phpt ext/oci8/tests/connect_without_oracle_home_old.phpt: disable tests I don't think it makes sense to test a segfault which we cannot fix.. * ext/oci8/tests/privileged_connect1.phpt ext/oci8/tests/privileged_connect1.phpt ext/oci8/tests/statement_type_old.phpt tests/basic/023.phpt: fix test * (PHP_5_2) ext/oci8/tests/connect.inc ext/oci8/tests/details.inc ext/oci8/tests/lob_029.phpt: MFH: skip BFILE tests if Oracle is not on localhost * ext/oci8/tests/connect.inc ext/oci8/tests/details.inc ext/oci8/tests/details.inc ext/oci8/tests/lob_029.phpt: BFILE tests are only valid when Oracle is installed on the same host skip them if it's not * ext/standard/crypt.c: _THREAD_SAFE might be used instead of _REENTRANT * acinclude.m4 ext/standard/crypt.c: missing part of the fix for #39795 crypt.h defines struct crypt_data only if _REENTRANT is defined * ext/oci8/oci8_lob.c: fix LOBs internal position in Unicode mode * acinclude.m4: fix typo * (PHP_5_2) ext/oci8/tests/lob_028.phpt ext/oci8/tests/lob_029.phpt: add new tests * ext/oci8/tests/lob_028.phpt ext/oci8/tests/lob_028.phpt ext/oci8/tests/lob_029.phpt ext/oci8/tests/lob_029.phpt: add new tests * ext/oci8/oci8_lob.c: OCILobGetChunkSize() does not like BFILEs, return read_length right away 2006-12-12 Hannes Magnusson * (PHP_5_2) ext/pgsql/tests/02connection.phpt: Fix test * (PHP_5_2) ext/pdo_mysql/tests/bug_33689.phpt ext/pdo_mysql/tests/bug_37445.phpt ext/pdo_mysql/tests/bug_39483.phpt ext/pdo_mysql/tests/last_insert_id.phpt ext/pdo_mysql/tests/pecl_bug_5200.phpt ext/pdo_mysql/tests/pecl_bug_5780.phpt ext/pdo_mysql/tests/pecl_bug_5802.phpt ext/pdo_mysql/tests/show_tables.phpt: Fix skipif * (PHP_5_2) ext/mysqli/tests/061.phpt ext/mysqli/tests/065.phpt ext/mysqli/tests/skipif.inc: Fix tests 2006-12-12 Antony Dovgal * (PHP_5_2) NEWS acinclude.m4 configure.in ext/standard/crypt.c: MFH: fix #39795 (build fails on AIX because crypt_r() uses different data struct) * acinclude.m4 configure.in ext/standard/crypt.c: fix #39795 (build fails on AIX because crypt_r() uses different data struct) 2006-12-11 Andrei Zmievski * ZendEngine2/zend.c: Clarify stream_encoding. 2006-12-11 Ilia Alshanetsky * ext/date/php_date.c ext/date/tests/bug39782.phpt: MFB: Fixed bug #39782 (setTime() on a DateTime constructed with a Weekday yields incorrect results). * (PHP_5_2) NEWS ext/date/php_date.c ext/date/tests/bug39782.phpt ext/date/tests/bug39782.phpt: Fixed bug #39782 (setTime() on a DateTime constructed with a Weekday yields incorrect results). * (PHP_5_2) ZendEngine2/zend_operators.c: Fixed typo * (PHP_5_2) ZendEngine2/zend_operators.c: Removed bool<>long optimization as it causes issues with strict type checks * (PHP_5_2) ZendEngine2/zend_operators.c ZendEngine2/zend_operators.h: Minor optimization (2-3%) from Brian Shire * sapi/apache2filter/php_functions.c sapi/apache2handler/php_functions.c: MFB: Fixed bug #39787 (PHP doesn't work with Apache 2.3). * (PHP_5_2) NEWS sapi/apache2filter/php_functions.c sapi/apache2handler/php_functions.c: Fixed bug #39787 (PHP doesn't work with Apache 2.3). 2006-12-11 Antony Dovgal * ext/oci8/oci8_interface.c: prevent any possible problems with negative values * (PHP_5_2) ext/oci8/tests/lob_027.phpt: add new test * ext/oci8/tests/lob_027.phpt ext/oci8/tests/lob_027.phpt: add new test 2006-12-11 Ilia Alshanetsky * ext/date/lib/parse_date.c ext/date/lib/parse_date.re: MFB: Fixed bug #39791 (Crash in strtotime() on overly long relative date multipliers). * (PHP_5_2) NEWS ext/date/lib/parse_date.c ext/date/lib/parse_date.re: Fixed bug #39791 (Crash in strtotime() on overly long relative date multipliers). 2006-12-10 Marcus Boerger * (PHP_5_2) ext/spl/examples/dualiterator.inc ext/spl/examples/recursivecomparedualiterator.inc ext/spl/examples/recursivedualiterator.inc ext/spl/examples/tests/dualiterator_001.phpt: - MFH Fix comparison of RecursiveDualIterators * ext/spl/examples/dualiterator.inc ext/spl/examples/recursivecomparedualiterator.inc ext/spl/examples/recursivecomparedualiterator.inc ext/spl/examples/recursivedualiterator.inc ext/spl/examples/tests/dualiterator_001.phpt: - Fix comparison of RecursiveDualIterators 2006-12-10 Ilia Alshanetsky * (PHP_5_2) ext/standard/array.c: Optimize extract() 2006-12-10 Hannes Magnusson * ext/sqlite/pdo_sqlite2.c: Fix build 2006-12-10 Michael Wallner * ext/standard/credits.c ext/standard/info.c main/output.c main/php_output.h: - upgrade phpinfo() and phpcredits() 2006-12-10 Pierre-Alain Joye * ext/pdo_mysql/mysql_driver.c ext/pdo_oci/oci_driver.c ext/pdo_odbc/odbc_driver.c ext/sqlite/pdo_sqlite2.c: - build fix the other driver as well (a macro would be nicer) * ext/zip/php_zip.c: - MFB: addDir returns true * ext/gd/gd.c ext/gd/tests/bug38212.phpt ext/gd/tests/bug39286.phpt: - MFB: #39286, misleading error message when invalid dimensions are given * (PHP_5_2) NEWS: - #39286 entry * ext/gd/tests/bug39286.phpt ext/gd/tests/bug39286.phpt: file bug39286.phpt was initially added on branch PHP_5_2. * (PHP_5_2) ext/gd/gd.c ext/gd/tests/bug38212.phpt: - #39286, misleading error message when nvalid dimensions are given * ext/pdo_sqlite/sqlite_driver.c: - fix build on HEAD (not sure if it should compile on 6 and 5 or if it is required only for pdo, other drivers require this fix) * ext/gd/libgd/gd.c ext/gd/tests/bug39508.phpt: - MFB: #39508, imagefill crashes with small image * ext/gd/tests/bug39508.phpt ext/gd/tests/bug39508.phpt: file bug39508.phpt was initially added on branch PHP_5_2. * (PHP_5_2) NEWS: - #39508, add test (imagefill crashes with small image) * (PHP_5_2) NEWS: - #39780 entry * (PHP_5_2) ext/gd/gd.c ext/gd/libgd/gd_png.c ext/gd/tests/bug39780.phpt ext/gd/tests/bug39780.png: - MFH:#39780, PNG image with CRC/data error raises fatal error * ext/gd/gd.c ext/gd/libgd/gd_png.c ext/gd/tests/bug39780.phpt ext/gd/tests/bug39780.phpt ext/gd/tests/bug39780.png ext/gd/tests/bug39780.png: - #39780, PNG image with CRC/data error raises fatal error 2006-12-10 Edin Kadribasic * (PHP_5_2) NEWS: BFN * ext/standard/basic_functions.c: MFB: Fixed by #39751 by KevinJohnHoffman at gmail dot com * (PHP_5_2) ext/standard/basic_functions.c: Fixed by #39751 by KevinJohnHoffman at gmail dot com 2006-12-09 Wez Furlong * ext/pdo/config.m4 ext/pdo/pdo.c ext/pdo/pdo_dbh.c ext/pdo/pdo_sql_parser.c ext/pdo/pdo_sqlstate.c ext/pdo/pdo_stmt.c ext/pdo/php_pdo.h ext/pdo/php_pdo_driver.h ext/pdo/php_pdo_int.h ext/pdo/php_pdo_phpvers_compat.h: merge PHP 5 pdo into HEAD. This source compiles on both PHP 5 and PHP 6. If you're poking around in here, please make sure that any changes you make compile on both PHP 5 and 6. Thanks! 2006-12-09 Ilia Alshanetsky * (PHP_5_2) NEWS ext/standard/filestat.c: Fixed bug #29840 (is_executable() does not honor safe_mode_exec_dir setting). 2006-12-09 Hannes Magnusson * tests/basic/022.phpt tests/basic/022.phpt tests/basic/023.phpt tests/basic/023.phpt: Cookie tests 2006-12-09 Ilia Alshanetsky * ext/curl/interface.c: Improve handling of POST data with Andrei's help. * run-tests.php ext/filter/filter.c ext/filter/tests/041.phpt main/php_variables.c: MFB: Fixed handling of multiple cookies with the same name. Added support for cookies into run-tests.php * (PHP_5_2) run-tests.php ext/filter/filter.c ext/filter/tests/041.phpt ext/filter/tests/041.phpt: Fixed handling of multiple cookies with the same name. Added support for cookies into run-tests.php 2006-12-09 Hannes Magnusson * ext/curl/interface.c: Fix build 2006-12-09 Ilia Alshanetsky * main/php_variables.c: MFB: Strip leading spaces from cookie names, that can come from multi-cookie headers where ; can be followed by any number of spaces. * (PHP_5_2) main/php_variables.c: Strip leading spaces from cookie names, that can come from multi-cookie headers where ; can be followed by any number of spaces. 2006-12-09 Rob Richards * (PHP_5_2) NEWS: BFN * ext/com_dotnet/com_typeinfo.c ext/com_dotnet/tests/bug39606.phpt: MFB: fix heap corruption when adding/caching typelib (also fixes bug 39606) add test * (PHP_5_2) ext/com_dotnet/com_typeinfo.c ext/com_dotnet/tests/bug39606.phpt ext/com_dotnet/tests/bug39606.phpt: fix heap corruption when adding/caching typelib (also fixes bug 39606) add test 2006-12-09 Ilia Alshanetsky * ext/filter/tests/007.phpt ext/filter/tests/011.phpt: MFB: Fixed tests * (PHP_5_2) ext/filter/tests/007.phpt ext/filter/tests/011.phpt: Fixed tests * ext/filter/tests/004.phpt: MFB: fixed test * (PHP_5_2) ext/filter/tests/004.phpt ext/pdo/tests/bug_39656.phpt: Fixed test 2006-12-08 Antony Dovgal * ext/standard/php_var.h ext/standard/var.c: don't change public API * (PHP_5_2) ext/standard/php_var.h ext/standard/var.c: MFH: fix possible issue in the serializer, which might currupt struc when reallocating arguments stack * ext/standard/php_var.h ext/standard/var.c: fix possible issue in the serializer, which might currupt struc when reallocating arguments stack (no reproduce case, sorry) * (PHP_5_2) NEWS ext/oci8/oci8_lob.c ext/oci8/php_oci8_int.h: MFH: fix #39732 (oci_bind_array_by_name doesn't work on Solaris 64bit) * ext/oci8/oci8_lob.c ext/oci8/php_oci8_int.h: fix #39732 (oci_bind_array_by_name doesn't work on Solaris 64bit) * ext/standard/iptc.c: fix typo 2006-12-08 Ilia Alshanetsky * ext/pdo/pdo_stmt.c ext/pdo_mysql/mysql_statement.c: MFB: Fixed bug #39759 (Can't use stored procedures fetching multiple result sets in pdo_mysql). * (PHP_5_2) NEWS ext/pdo/pdo_stmt.c ext/pdo_mysql/mysql_driver.c ext/pdo_mysql/mysql_statement.c ext/pdo_mysql/tests/pecl_bug_5780.phpt: Fixed bug #39759 (Can't use stored procedures fetching multiple result sets in pdo_mysql). 2006-12-08 Andrei Zmievski * ext/standard/dl.c: Unicode filename support in dl(). * main/main.c: Don't use zend_ascii_hash_find() here -- module names are binary strings. 2006-12-08 Rob Richards * (PHP_5_2) ext/simplexml/tests/027.phpt ext/simplexml/tests/bug35785.phpt: fix tests 2006-12-08 Ilia Alshanetsky * (PHP_5_2) NEWS ext/filter/filter.c ext/filter/tests/bug39763.phpt ext/filter/tests/bug39763.phpt: Fixed bug #39763 (magic quotes are applied twice by ext/filter in parse_str()) 2006-12-08 Antony Dovgal * (PHP_5_2) NEWS: -BFN * ext/filter/filter.c ext/filter/filter.c: revert the fix for #39763 2006-12-08 Rob Richards * ext/dom/document.c ext/dom/xpath.c ext/dom/tests/domxpath.phpt: mark more functions unicode safe add test * ext/dom/documentfragment.c ext/dom/domconfiguration.c ext/dom/domerrorhandler.c ext/dom/domimplementation.c ext/dom/domimplementationlist.c ext/dom/domimplementationsource.c ext/dom/domstringlist.c ext/dom/entityreference.c ext/dom/namednodemap.c ext/dom/namelist.c ext/dom/node.c ext/dom/processinginstruction.c ext/dom/string_extend.c ext/dom/text.c ext/dom/userdatahandler.c ext/dom/xpath.c ext/dom/tests/domattributes.phpt ext/dom/tests/domelement.phpt ext/dom/tests/domfragment.phpt ext/dom/tests/domimplementation.phpt ext/dom/tests/dompi.phpt: mark more functions unicode safe add tests 2006-12-08 Dmitry Stogov * ZendEngine2/zend_execute.c ZendEngine2/zend_object_handlers.c ZendEngine2/tests/bug38146.phpt ZendEngine2/tests/bug39775.phpt ext/spl/tests/iterator_035.phpt tests/classes/array_access_003.phpt tests/classes/array_access_004.phpt tests/classes/array_access_005.phpt tests/classes/array_access_008.phpt tests/classes/array_access_012.phpt: Fixed bug #39775 ("Indirect modification ..." message is not shown) * (PHP_5_2) NEWS ZendEngine2/zend_execute.c ZendEngine2/zend_object_handlers.c ZendEngine2/tests/bug38146.phpt ZendEngine2/tests/bug39775.phpt ZendEngine2/tests/bug39775.phpt ext/spl/tests/iterator_035.phpt tests/classes/array_access_003.phpt tests/classes/array_access_004.phpt tests/classes/array_access_005.phpt tests/classes/array_access_008.phpt tests/classes/array_access_012.phpt: Fixed bug #39775 ("Indirect modification ..." message is not shown) The fix breaks two SimpleXML tests those must be fixed 2006-12-08 Antony Dovgal * (PHP_5_2) ext/standard/tests/assert/assert03.phpt ext/standard/tests/assert/assert04.phpt: add new tests by * ext/standard/tests/assert/assert03.phpt ext/standard/tests/assert/assert03.phpt ext/standard/tests/assert/assert04.phpt ext/standard/tests/assert/assert04.phpt: add new tests by 2006-12-08 Dmitry Stogov * ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.c: Fixed possible failure 2006-12-08 Nuno Lopes * ext/pcre/tests/bug21758.phpt ext/pcre/tests/bug27011.phpt ext/pcre/tests/bug38600.phpt: MFB: new tests * ext/pcre/tests/bug21758.phpt ext/pcre/tests/bug21758.phpt ext/pcre/tests/bug27011.phpt ext/pcre/tests/bug27011.phpt ext/pcre/tests/bug38600.phpt ext/pcre/tests/bug38600.phpt: file bug21758.phpt was initially added on branch PHP_5_2. 2006-12-08 Ilia Alshanetsky * ext/curl/interface.c: Fixed typo 2006-12-08 Sara Golemon * ext/standard/file.c: More BC bodges for fgets/fgetss 2006-12-08 Ilia Alshanetsky * ext/curl/interface.c: Allow POST of unicode data as utf8 2006-12-07 Antony Dovgal * ext/standard/tests/strings/bug39350.phpt: MFB test * ext/standard/file.c ext/standard/tests/file/fgetss.phpt ext/standard/tests/file/fgetss1.phpt: MFB tests (they still fail though) fix BC in fgetss() 2006-12-07 Andrei Zmievski * ext/standard/datetime.c: Unicode support in strptime(). Uses runtime encoding for conversion. * ext/standard/versioning.c: version_compare() will use runtime encoding. * ext/standard/iptc.c: Unicode support/safety in iptc* functions. Untested, cause I know crap about IPTC. 2006-12-07 Antony Dovgal * (PHP_5_2) ZendEngine2/zend_strtod.c ext/standard/formatted_print.c: initialize variables * ZendEngine2/zend_strtod.c ext/standard/formatted_print.c: initialize variables and make Coverity happy 2006-12-07 Andrei Zmievski * ZendEngine2/zend_hash.c ZendEngine2/zend_strtol.c: Apply Matt W's patch to only allow ASCII digits and not use u_digit(). * ZendEngine2/zend_API.h: Guard against ambiguous 'else' clauses. * ext/standard/url.c: Unicode support in parse_url(). 2006-12-07 Antony Dovgal * (PHP_5_2) NEWS ext/filter/filter.c: MFH: fix #39763 (magic quotes are applied twice by ext/filter) * ext/filter/filter.c: fix #39763 (magic quotes are applied twice by ext/filter) no need to add slashes manually, they are added by php_register_variable_ex() 2006-12-07 Sara Golemon * ext/standard/file.c: Change fgets() behavior back to BC version 2006-12-07 Ilia Alshanetsky * ext/posix/config.m4 ext/posix/posix.c: MFB: Fixed bug #39754 (Some POSIX extension functions not thread safe). * (PHP_5_2) NEWS ext/posix/config.m4 ext/posix/posix.c: Fixed bug #39754 (Some POSIX extension functions not thread safe). * ext/curl/interface.c: Allow submission of unicode data in utf8 form 2006-12-06 Sara Golemon * ext/standard/string.c: Use proper zstr for str_getcsv() and add documentation for Andrei's peace of mind 2006-12-06 Rasmus Lerdorf * (PHP_5_2) NEWS: Typo 2006-12-06 Antony Dovgal * ext/pdo_odbc/package.xml: test. please ignore 2006-12-06 Ilia Alshanetsky * ext/curl/interface.c: Final set of unicode changes * ext/curl/interface.c: First part of unicode upgrade 2006-12-06 Antony Dovgal * ext/standard/array.c ext/standard/basic_functions.c ext/standard/basic_functions.h: fix import_request_variables() * ext/oci8/oci8_interface.c ext/oci8/tests/statement_type.phpt: add Unicode support to oci_statement_type() * ext/oci8/oci8_interface.c: mark most of the OCI8 functions as unicode aware * ext/standard/formatted_print.c: move handling of 'F' to the top 2006-12-06 Ilia Alshanetsky * ext/curl/multi.c: Make functions as being unicode safe 2006-12-06 Antony Dovgal * (PHP_5_2) ext/standard/formatted_print.c: MFH: add missing 'F' modified (noticed by Matt) * ext/standard/formatted_print.c: add missing 'F' modified (noticed by Matt) 2006-12-06 Rob Richards * ext/openssl/xp_ssl.c ext/pdo_sqlite/sqlite/src/date.c: MFB: Fix win32 build * (PHP_5_2) ext/openssl/xp_ssl.c ext/pdo_sqlite/sqlite/src/date.c: Fix win32 build 2006-12-06 Antony Dovgal * ZendEngine2/tests/unset_cv05.phpt ext/standard/tests/array/array_fill.phpt ext/standard/tests/array/bug14580.phpt ext/standard/tests/general_functions/007.phpt ext/standard/tests/serialize/002.phpt ext/standard/tests/strings/bug24312.phpt ext/standard/tests/strings/bug36306.phpt ext/standard/tests/strings/crc32.phpt ext/standard/tests/strings/crypt.phpt ext/standard/tests/strings/htmlentities.phpt ext/standard/tests/strings/strrev.phpt ext/standard/tests/strings/strtotitle.phpt ext/standard/tests/strings/strtoupper.phpt tests/classes/bug26737.phpt tests/lang/034.phpt tests/lang/bug24783.phpt tests/lang/bug30638.phpt tests/lang/each_binary_safety.phpt: fix tests * ZendEngine2/zend_strtod.c: add zend_u_strtod() implementation by Matt Wilmas major speedup when using floats in Unicode mode also fixes several problems with the current code * ZendEngine2/zend_strtod.c: destroy freelist before destroying the mutexes * (PHP_5_2) NEWS: news * (PHP_5_2) ZendEngine2/zend.c ZendEngine2/zend_strtod.c ZendEngine2/zend_strtod.h ext/standard/formatted_print.c ext/standard/tests/serialize/003.phpt ext/standard/tests/strings/sprintf_f.phpt main/snprintf.c main/snprintf.h main/spprintf.c: MFH: use BSD licensed implementation of double-to-string utilities instead of LGPL one this patch also fixes thread safety issues in zend_strtod() * ZendEngine2/zend.c ZendEngine2/zend_strtod.c ZendEngine2/zend_strtod.h ext/standard/formatted_print.c ext/standard/tests/serialize/003.phpt ext/standard/tests/strings/sprintf_f.phpt main/snprintf.c main/snprintf.h main/spprintf.c: use BSD licensed implementation of double-to-string utilities instead of LGPL one this patch also fixes thread safety issues in zend_strtod() 2006-12-05 Antony Dovgal * ext/filter/config.m4: let PHP_ADD_EXTENSION_DEP() to take care of this 2006-12-05 Ilia Alshanetsky * ext/filter/config.m4: MFB: Fixed bug #39724 (Broken build due to spl/filter usage of pcre extension). * (PHP_5_2) NEWS ext/filter/config.m4: Fixed bug #39724 (Broken build due to spl/filter usage of pcre extension). 2006-12-05 Andrei Zmievski * ext/standard/array.c: extract() should convert keys using runtime encoding. 2006-12-05 Antony Dovgal * ext/standard/tests/array/bug33382.phpt ext/standard/tests/array/bug33382.phpt ext/standard/tests/array/bug36975.phpt ext/standard/tests/array/bug36975.phpt ext/standard/tests/file/bug35740.phpt ext/standard/tests/file/bug35740.phpt ext/standard/tests/file/bug39538.phpt ext/standard/tests/file/bug39538.phpt ext/standard/tests/general_functions/bug27678.phpt ext/standard/tests/general_functions/bug27678.phpt ext/xmlwriter/tests/bug39504.phpt ext/zlib/tests/bug_34821.phpt ext/zlib/tests/bug_34821.phpt: cosmetic improvements 2006-12-05 Frank M. Kromann * ext/ming/ming.c ext/ming/ming.c: Remove PHP4.x stuff * ext/ming/ming.c ext/ming/ming.c ext/ming/php_ming.h ext/ming/php_ming.h: 2006-12-05 Dmitry Stogov * ZendEngine2/tests/bug39721.phpt ZendEngine2/tests/bug39721.phpt: file bug39721.phpt was initially added on branch PHP_5_2. * (PHP_5_2) NEWS ZendEngine2/zend_compile.c ZendEngine2/zend_compile.c ZendEngine2/tests/bug39721.phpt: Fixed bug #39721 (Runtime inheritance causes data corruption) 2006-12-05 Antony Dovgal * (PHP_5_2) ext/standard/http_fopen_wrapper.c: MFH: nuke redundant zval_ptr_dtor() call * ext/standard/http_fopen_wrapper.c: nuke redundant zval_ptr_dtor() call and fix memory corruption/segfault 2006-12-05 Andrei Zmievski * ext/standard/http.c: Unicode support in http_build_query(). 2006-12-05 Ilia Alshanetsky * ext/pdo/pdo_sql_parser.c ext/pdo/pdo_sql_parser.re ext/pdo/tests/bug_36798.phpt: MFB: Fixed bug #36798 (Error parsing named parameters with queries containing high-ascii chars). * (PHP_5_2) NEWS ext/pdo/pdo_sql_parser.c ext/pdo/pdo_sql_parser.re ext/pdo/tests/bug_36798.phpt ext/pdo/tests/bug_36798.phpt: Fixed bug #36798 (Error parsing named parameters with queries containing high-ascii chars). * (PHP_5_2) ext/dba/config.m4: Revert previous patch and it breaks builds with built-in cdb lib 2006-12-05 Hannes Magnusson * ext/pdo/tests/bug_39656.phpt: MFB: fix test * (PHP_5_2) ext/pdo/tests/bug_39656.phpt: Fix test 2006-12-05 Antony Dovgal * ext/standard/file.c: don't pass negative maxchars to php_stream_get_line_ex() * ZendEngine2/zend_compile.c: remove duplicating line 2006-12-05 Rob Richards * (PHP_5_2) NEWS: BFN * ext/xsl/xsltprocessor.c: MFB: fix bug #39625 (Apache crashes on importStylesheet call) * (PHP_5_2) ext/xsl/xsltprocessor.c: fix bug #39625 (Apache crashes on importStylesheet call) 2006-12-05 Dmitry Stogov * (PHP_5_2) NEWS sapi/cgi/fastcgi.c sapi/cgi/fastcgi.c: Fixed FastCGI impersonation for persistent connections on Windows * configure.in configure.in ZendEngine2/Makefile.am ZendEngine2/Makefile.am ZendEngine2/Zend.dsp ZendEngine2/Zend.dsp ZendEngine2/ZendTS.dsp ZendEngine2/ZendTS.dsp ZendEngine2/zend_mm.c ZendEngine2/zend_mm.c ZendEngine2/zend_mm.h ZendEngine2/zend_mm.h win32/build/config.w32 win32/build/config.w32: Removed unused zend_mm.* 2006-12-05 Sara Golemon * NEWS ext/standard/basic_functions.c ext/standard/file.c ext/standard/php_string.h ext/standard/string.c: Add str_getcsv() and fix a couple cases in recent fgetcsv() reimplementation * ext/standard/file.c ext/standard/file.h ext/standard/tests/file/bug12556.phpt ext/standard/tests/file/fgetcsv.phpt: Unicode upgrade for fgetcsv() 2006-12-05 Stanislav Malyshev * ZendEngine2/zend_operators.c ZendEngine2/zend_operators.h ext/standard/basic_functions.c ext/standard/string.c main/main.c: Merge from 5.2: Improve tolower()-related functions on Windows and VC2005 by caching locale and using tolower_l function. 2006-12-05 Ilia Alshanetsky * ext/openssl/xp_ssl.c: MFB: Fixed bug #39571 (timeout ssl:// connections). * (PHP_5_2) NEWS ext/openssl/xp_ssl.c: Fixed bug #39571 (timeout ssl:// connections). 2006-12-05 Pierre-Alain Joye * (PHP_5_2) NEWS: - invalid filter * (PHP_5_2) ext/filter/filter.c ext/filter/filter_private.h ext/filter/tests/010.phpt ext/filter/tests/039.phpt: - MFH: invalid filter id should not return unsafe values * ext/filter/filter.c ext/filter/filter_private.h ext/filter/tests/010.phpt ext/filter/tests/039.phpt: - invalid filter id should not return unsafe values 2006-12-04 Pierre-Alain Joye * ext/filter/tests/008.phpt ext/filter/tests/009.phpt: - MFB: use %s * ext/filter/filter.c ext/filter/sanitizing_filters.c: - WS * (PHP_5_2) ext/filter/filter.c: - default filter is not string anymore (in comment) - WS and error msg sync with head 2006-12-04 Andrei Zmievski * ext/standard/head.c: Make headers-related functions accept Unicode strings, but only if their contents can be converted to ASCII. * ext/standard/string.c ext/standard/var.c: Unicode support in var_export(). 2006-12-04 Stanislav Malyshev * (PHP_5_2) ZendEngine2/zend_operators.c ZendEngine2/zend_operators.h ext/standard/basic_functions.c ext/standard/string.c main/main.c: Improve tolower()-related functions on Windows and VC2005 by caching locale and using tolower_l function. 2006-12-04 Ilia Alshanetsky * ext/calendar/tests/easter_date.phpt ext/calendar/tests/unixtojd.phpt: MFB: Fixed tests * (PHP_5_2) ext/calendar/tests/easter_date.phpt ext/calendar/tests/unixtojd.phpt: Fixed tests 2006-12-04 Antony Dovgal * (PHP_5_2) acinclude.m4 configure.in: MFH: fix build with Sun compiler, which doesn't support -O0 * acinclude.m4 configure.in: fix build with Sun compiler, which doesn't support -O0 * (PHP_5_2) ext/pcre/config0.m4 ext/spl/config.m4: MFH: partly fix #39724 ext/spl has a soft dependcy from ext/pcre (not ext/pcre-regex) * ext/pcre/config0.m4 ext/spl/config.m4: partly fix #39724 ext/spl has a soft dependcy from ext/pcre (not ext/pcre-regex) 2006-12-04 Ilia Alshanetsky * ext/pdo/tests/bug_39656.phpt: MFB: Fixed test (user is a reserved keyword in pgsql) * (PHP_5_2) ext/pdo/tests/bug_39656.phpt: Fixed test (user is a reserved keyword in pgsql) 2006-12-04 Antony Dovgal * (PHP_5_2) sapi/cli/tests/002-win32.phpt sapi/cli/tests/002.phpt sapi/cli/tests/004.phpt sapi/cli/tests/005.phpt sapi/cli/tests/006.phpt sapi/cli/tests/007.phpt sapi/cli/tests/008.phpt sapi/cli/tests/009.phpt sapi/cli/tests/010-2.phpt sapi/cli/tests/010.phpt sapi/cli/tests/011.phpt sapi/cli/tests/012.phpt sapi/cli/tests/013.phpt: fix tests * sapi/cli/tests/002-win32.phpt sapi/cli/tests/002.phpt sapi/cli/tests/004.phpt sapi/cli/tests/005.phpt sapi/cli/tests/006.phpt sapi/cli/tests/007.phpt sapi/cli/tests/008.phpt sapi/cli/tests/009.phpt sapi/cli/tests/010-2.phpt sapi/cli/tests/010.phpt sapi/cli/tests/011.phpt sapi/cli/tests/012.phpt sapi/cli/tests/013.phpt: fix tests, use -n to prevent any problems with existing php.ini 2006-12-04 Dmitry Stogov * (PHP_5_2) NEWS ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.c: Fixed bug #38274 (Memlimit fatal error sent to "wrong" stderr when using fastcgi) 2006-12-04 Antony Dovgal * ext/session/session.c main/main.c: fix retval type it should be int, not zend_bool 2006-12-04 Andrey Hristov * ext/mysqli/mysqli_api.c: dummy change 2006-12-04 Ilia Alshanetsky * (PHP_5_2) NEWS ext/session/session.c: Fixed bug #37627 (session save_path check checks the parent directory). 2006-12-04 Antony Dovgal * run-tests.php: look for tests in sapi/cli 2006-12-04 Ilia Alshanetsky * ext/pdo/pdo_stmt.c: MFB: Fixed bug #38319 (Remove bogus warnings from persistent PDO connections). * (PHP_5_2) NEWS ext/pdo/pdo_stmt.c: Fixed bug #38319 (Remove bogus warnings from persistent PDO connections). * ext/pdo/pdo_dbh.c: MFB: Fixed bug #38252 (Incorrect PDO error message on invalid default fetch mode). * (PHP_5_2) NEWS ext/pdo/pdo_dbh.c: Fixed bug #38252 (Incorrect PDO error message on invalid default fetch mode). * ext/pdo_mysql/tests/bug_39483.phpt: MFB: Added test for previous bug * ext/pdo_mysql/tests/bug_39483.phpt ext/pdo_mysql/tests/bug_39483.phpt: file bug_39483.phpt was initially added on branch PHP_5_2. * ext/pdo/pdo_sql_parser.c ext/pdo/pdo_sql_parser.re: MFB: Fixed bug #39483 (Problem with handling of \ char in prepared statements). * (PHP_5_2) NEWS ext/pdo/pdo_sql_parser.c ext/pdo/pdo_sql_parser.re: Fixed bug #39483 (Problem with handling of \ char in prepared statements). 2006-12-03 Ilia Alshanetsky * ext/pdo_mysql/mysql_driver.c: MFB: Default to buffered queries (much faster) Default to prepared statement emulation to avoid hitting MySQL bugs * (PHP_5_2) ext/pdo_mysql/mysql_driver.c: Default to buffered queries (much faster) Default to prepared statement emulation to avoid hitting MySQL bugs * ext/pdo/pdo_sql_parser.c ext/pdo/pdo_sql_parser.re: MFB: Added missing check for mismatching number of tokens & bound params in prepared statement emulation. * (PHP_5_2) ext/pdo/pdo_sql_parser.c ext/pdo/pdo_sql_parser.re: Added missing check for mismatching number of tokens & bound params in prepared statement emulation. * ext/filter/filter.c: MFB: Added "default" option that allows a default value to be set for an invalid or missing value. * (PHP_5_2) NEWS ext/filter/filter.c: Added "default" option that allows a default value to be set for an invalid or missing value. * (PHP_5_2) ext/dba/config.m4: Config fix from Gentoo * ext/standard/assert.c: MFB: Fixed bug #39718 (possible crash if assert.callback is set in ini). * (PHP_5_2) NEWS ext/standard/assert.c: Fixed bug #39718 (possible crash if assert.callback is set in ini). * main/php_scandir.c: MFB: Fixed php_readdir_r() usage in scandir emulation * (PHP_5_2) main/php_scandir.c: Fixed php_readdir_r() usage in scandir emulation 2006-12-03 Antony Dovgal * main/php_scandir.c: fix Solaris build * ext/ftp/ftp.c: fix leaks * ext/standard/crypt.c: fix AIX build 2006-12-03 Nuno Lopes * ext/pcre/tests/001.phpt ext/pcre/tests/002.phpt ext/pcre/tests/003.phpt ext/pcre/tests/004.phpt: add UEXPECT sections 2006-12-03 Hannes Magnusson * ext/pcre/tests/002.phpt: MFB: fix test on fbsd * (PHP_5_2) ext/pcre/tests/002.phpt: Fix test on fbsd 2006-12-02 Nuno Lopes * ext/pcre/tests/001.phpt ext/pcre/tests/002.phpt ext/pcre/tests/003.phpt ext/pcre/tests/004.phpt: MFH (not tested. so some tests may fail in unicode mode) * ext/pcre/tests/001.phpt ext/pcre/tests/001.phpt ext/pcre/tests/002.phpt ext/pcre/tests/002.phpt ext/pcre/tests/003.phpt ext/pcre/tests/003.phpt ext/pcre/tests/004.phpt ext/pcre/tests/004.phpt: file 001.phpt was initially added on branch PHP_5_2. 2006-12-02 Ilia Alshanetsky * ext/pdo/tests/pdo_016.phpt ext/pdo/tests/pdo_016a.phpt ext/pdo/tests/pdo_021.phpt ext/pdo_mysql/mysql_statement.c: MFB: Fixed bug #39527 (Failure to retrieve results when multiple unbuffered, prepared statements are used in pdo_mysql). * (PHP_5_2) NEWS ext/pdo/tests/pdo_016.phpt ext/pdo/tests/pdo_016a.phpt ext/pdo/tests/pdo_021.phpt ext/pdo_mysql/mysql_statement.c: Fixed bug #39527 (Failure to retrieve results when multiple unbuffered, prepared statements are used in pdo_mysql). 2006-12-01 Frank M. Kromann * (PHP_5_2) ext/sqlite/libsqlite/src/date.c ext/zip/lib/zip_dirent.c main/php_scandir.c win32/readdir.h: Fix win32 build * main/php_scandir.c win32/readdir.h: MFB: Fix win32 build 2006-12-01 Ilia Alshanetsky * (PHP_5_2) NEWS: Fixed typo 2006-12-01 Dmitry Stogov * (PHP_5_2) NEWS ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.c ZendEngine2/tests/bug39438.phpt: Bug #39438 (Fatal error: Out of memory) * ZendEngine2/tests/bug39438.phpt ZendEngine2/tests/bug39438.phpt: file bug39438.phpt was initially added on branch PHP_5_2. * ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.c: typo 2006-12-01 Andrei Zmievski * ext/standard/var.c ext/standard/var_unserializer.c ext/standard/var_unserializer.re: Finalize Unicode support in serialize() and unserialize(). 2006-12-01 Ilia Alshanetsky * ext/dbase/dbase.c ext/dbase/tests/002.phpt: MFB: Fixed a possible memory corruption in dbase_open() with invalid open mode * (PHP_5_2) ext/dbase/dbase.c ext/dbase/tests/002.phpt: Fixed a possible memory corruption in dbase_open() with invalid open mode 2006-12-01 Andrei Zmievski * ext/standard/filestat.c: Fix group macro access. 2006-12-01 Nuno Lopes * ext/ftp/ftp.c ext/ftp/tests/bug39458-2.phpt ext/ftp/tests/bug39458.phpt ext/ftp/tests/server.inc: MFB: fix #39458 * (PHP_5_2) NEWS ext/ftp/tests/bug39458-2.phpt ext/ftp/tests/bug39458-2.phpt ext/ftp/tests/bug39458.phpt ext/ftp/tests/bug39458.phpt ext/ftp/tests/server.inc: tests + BFN * (PHP_5_2) ext/ftp/ftp.c: fix bug #39458: ftp_nlist() returns false on empty dirs 2006-12-01 Dmitry Stogov * (PHP_5_2) NEWS ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.c: Fixed bug #39702 (php crashes in the allocator on linux-m68k) * ZendEngine2/zend_API.c: Fixed buffer overflow. (Rob) * (PHP_5_2) NEWS ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.c: Fixed bug #39640 (Segfault with "Allowed memory size exhausted") * (PHP_5_2) NEWS ZendEngine2/zend_alloc.c ZendEngine2/zend_alloc.c: Fixed bug #39652 (Wrong negative results from memeory_get_usage()) 2006-12-01 Marcus Boerger * (PHP_5_2) ext/spl/examples/dualiterator.inc: - MFH: Fix handling of recursive inner iterators * ext/spl/examples/dualiterator.inc: - Fix handling of recursive inner iterators 2006-12-01 Ilia Alshanetsky * (PHP_4_4) ext/session/session.c: MFH: Disallow \0 chars inside session.save_path * ext/session/session.c: MFB: Disallow \0 chars inside session.save_path * (PHP_5_2) ext/session/session.c: Disallow \0 chars inside session.save_path 2006-11-30 Ilia Alshanetsky * (PHP_5_2) ext/soap/php_sdl.c: Small hash table optimization 2006-11-30 Andrei Zmievski * ext/standard/url.c: get_headers() will keep headers as binary strings. 2006-11-30 Antony Dovgal * (PHP_4_4) acinclude.m4 configure.in: MFH missing fixes required by autoconf 2.6x fixes bug #39696 2006-11-30 Andrei Zmievski * ext/standard/string.c: Mark setlocale() as Unicode-safe. It shouldn't be used in unicode.semantics=on mode anyway. * ext/standard/basic_functions.c: Forgot to mark import_request_variables() as Unicode-safe. * ext/standard/string.c: Mark strtr() as Unicode-safe. * ext/standard/pack.c: Mark pack()/unpack() as Unicode-safe. They will accept Unicode strings but convert them to binary. We can revisit supporting something like 'U' format in the future, if it's needed. * ext/standard/quot_print.c: Make quoted_printable_decode() take only ASCII strings. 2006-11-30 Ilia Alshanetsky * configure.in: MFB: Added check for crypt_r() * (PHP_5_2) configure.in: Added check for crypt_r() * ext/posix/config.m4: MFB: Added missing function checks * (PHP_5_2) ext/posix/config.m4: Added missing function checks * ext/pdo_sqlite/sqlite/src/date.c ext/sqlite/libsqlite/src/date.c ext/xmlrpc/libxmlrpc/xmlrpc.c ext/zip/lib/zip_dirent.c: zts fixes * (PHP_5_2) ext/pdo_sqlite/sqlite/src/date.c ext/sqlite/libsqlite/src/date.c ext/xmlrpc/libxmlrpc/xmlrpc.c ext/zip/lib/zip_dirent.c: last set of zts fixes * ext/interbase/ibase_query.c: MFB: Thread safety fixes. * (PHP_5_2) ext/interbase/ibase_query.c: Thread safety fixes. * main/php_scandir.c: MFB: Thread-safety issues * (PHP_5_2) main/php_scandir.c: Thread-safety issues * ext/standard/crypt.c: MFB: Use reantrant crypt_r() whenever possible. * (PHP_5_2) ext/standard/crypt.c: Use reantrant crypt_r() whenever possible. * ext/mime_magic/mime_magic.c: MFB: Use thread-safe code * (PHP_5_2) ext/mime_magic/mime_magic.c: Use thread-safe code 2006-11-30 Antony Dovgal * ZendEngine2/tests/bug39602.phpt ZendEngine2/tests/bug39602.phpt: fix test 2006-11-30 Ilia Alshanetsky * ext/posix/posix.c: MFB: Thread safety fixed for *nix systems * (PHP_5_2) ext/posix/posix.c: Thread safety fixed for *nix systems 2006-11-29 Ilia Alshanetsky * ext/standard/filestat.c: MFB: Fixed bug #39648 (Implementation of PHP functions chown() and chgrp() are not thread safe). * (PHP_5_2) NEWS configure.in ext/standard/filestat.c: Fixed bug #39648 (Implementation of PHP functions chown() and chgrp() are not thread safe). 2006-11-29 Antony Dovgal * ext/simplexml/simplexml.c: add missing folding marker 2006-11-29 Derick Rethans * (PHP_5_2) NEWS ext/date/lib/timezonedb.h ext/date/lib/timezonedb.h: - Updated timezone database to version 2006.16. 2006-11-29 Ilia Alshanetsky * ext/pdo_pgsql/pgsql_driver.c ext/pgsql/pgsql.c: MFB: Fixed bug #39663 (Memory leak in pg_get_notify() and a possible memory corruption on Windows in pgsql and pdo_pgsql extensions). * (PHP_5_2) NEWS ext/pdo_pgsql/pgsql_driver.c ext/pgsql/pgsql.c: Fixed bug #39663 (Memory leak in pg_get_notify() and a possible memory corruption on Windows in pgsql and pdo_pgsql extensions). 2006-11-29 Antony Dovgal * (PHP_5_2) NEWS ext/standard/tests/file/bug39673.phpt main/streams/plain_wrapper.c: MFH: fix #39673 (file_get_contents causes bus error on certain offsets) * ext/standard/tests/file/bug39673.phpt ext/standard/tests/file/bug39673.phpt main/streams/plain_wrapper.c: fix #39673 (file_get_contents causes bus error on certain offsets) 2006-11-29 Rob Richards * ext/simplexml/simplexml.c ext/simplexml/tests/bug39662.phpt: MFB: correct fix for bug #39662 to fix leak and tree corruption fix test * (PHP_5_2) ext/simplexml/simplexml.c ext/simplexml/tests/bug39662.phpt: correct fix for bug #39662 to fix leak and tree corruption fix test 2006-11-28 Marcus Boerger * ext/spl/examples/callbackfilteriterator.inc ext/spl/examples/callbackfilteriterator.inc: - Add new example 2006-11-28 Antony Dovgal * ZendEngine2/zend_builtin_functions.c: resolve coverity issue #224 * (PHP_5_2) ext/standard/html.h: add php_unescape_html_entities() proto to the header (fixes #39665) * ext/standard/html.h: add php_unescape_html_entities() proto to the header * (PHP_5_2) NEWS ext/simplexml/simplexml.c ext/simplexml/tests/bug39662.phpt: MFH: fix #39662 (Segfault when calling asXML() of a cloned SimpleXMLElement) * ext/simplexml/simplexml.c ext/simplexml/tests/bug39662.phpt ext/simplexml/tests/bug39662.phpt: fix #39662 (Segfault when calling asXML() of a cloned SimpleXMLElement) * ext/pdo/tests/bug_39656.phpt: add test * ext/pdo/tests/bug_39656.phpt ext/pdo/tests/bug_39656.phpt: file bug_39656.phpt was initially added on branch PHP_5_2. 2006-11-28 Ilia Alshanetsky * ext/pdo/pdo_stmt.c ext/pdo_pgsql/pgsql_statement.c: MFB: Fixed bug #39656 (crash when calling fetch() on a PDO statment object after closeCursor()). * (PHP_5_2) NEWS ext/pdo/pdo_stmt.c ext/pdo_pgsql/pgsql_statement.c: Fixed bug #39656 (crash when calling fetch() on a PDO statment object after closeCursor()). 2006-11-28 Antony Dovgal * (PHP_5_2) NEWS: BFN * (PHP_5_2) ext/dba/config.m4: MFH: fix #39653 (ext/dba doesn't check for db-4.5 and db-4.4 when db4 support is enabled) * ext/dba/config.m4: fix #39653 (ext/dba doesn't check for db-4.5 and db-4.4 when db4 support is enabled) 2006-11-28 Pierre-Alain Joye * (PHP_5_2) ext/zip/php_zip.c: - fix warning - addEmptyDir returns true on success - remove useless semi column 2006-11-28 Ilia Alshanetsky * ext/mcrypt/mcrypt.c ext/soap/php_http.c: MFB: Replace non-threadsafe rand() with php_rand_r() * (PHP_5_2) ext/mcrypt/mcrypt.c ext/soap/php_http.c: Replace non-threadsafe rand() with php_rand_r() 2006-11-27 Antony Dovgal * (PHP_5_2) NEWS ext/pdo_sqlite/sqlite_statement.c: MFH: fix #39564 (PDO::errorInfo() returns inconsistent information when sqlite3_step() fails) * ext/pdo_sqlite/sqlite_statement.c: fix #39564 (PDO::errorInfo() returns inconsistent information when sqlite3_step() fails) * ext/ftp/tests/004.phpt: fix test this errmsg is different on FreeBSD 2006-11-26 Alex Waugh * (PHP_5_2) sapi/webjames/webjames.c: MFH: Improve robustness of sending routines * sapi/webjames/webjames.c: Improve robustness of sending routines 2006-11-26 Ilia Alshanetsky * ext/mime_magic/mime_magic.c: MFB: Fixed bug #39623 (thread safety fixes on *nix for mime_magic extenion). * (PHP_5_2) ext/mime_magic/mime_magic.c ext/standard/basic_functions.c: Fixed bug #39623 (thread safety fixes on *nix for putenv() & mime_magic). * (PHP_4_4) NEWS ext/standard/info.c: MFH: Added a meta tag to phpinfo() output to prevent search engines from indexing the page. * ext/imap/tests/imap_utf8.phpt: MFB: Fixed test, in some versions of c-client returned value is always uppercase * (PHP_5_2) ext/imap/tests/imap_utf8.phpt: Fixed test, in some versions of c-client returned value is always uppercase * ext/dbase/tests/002.phpt: MFB: fixed test * (PHP_5_2) ext/dbase/tests/002.phpt: Fixed test * ext/standard/info.c: MFB: Added a meta tag to phpinfo() output to prevent search engines from indexing the page. * (PHP_5_2) NEWS ext/standard/info.c: Added a meta tag to phpinfo() output to prevent search engines from indexing the page. 2006-11-24 Antony Dovgal * (PHP_5_2) NEWS ext/standard/string.c ext/standard/tests/strings/bug39621.phpt: MFH: fix #39621 (str_replace() is not binary safe on strings with equal length) * ext/standard/string.c ext/standard/tests/strings/bug39621.phpt ext/standard/tests/strings/bug39621.phpt: fix #39621 (str_replace() is not binary safe on strings with equal length) * ext/standard/levenshtein.c: add missing argument to zend_parse_parameters() 2006-11-24 Nuno Lopes * ext/ftp/tests/006.phpt ext/ftp/tests/bug39583.phpt ext/ftp/tests/server.inc ext/standard/tests/general_functions/phpcredits.phpt ext/standard/tests/general_functions/phpcredits2.phpt ext/standard/tests/general_functions/phpinfo.phpt ext/standard/tests/general_functions/phpinfo2.phpt: more tests * ext/ftp/tests/006.phpt ext/ftp/tests/006.phpt ext/ftp/tests/bug39583.phpt ext/ftp/tests/server.inc ext/standard/tests/general_functions/phpcredits.phpt ext/standard/tests/general_functions/phpcredits.phpt ext/standard/tests/general_functions/phpcredits2.phpt ext/standard/tests/general_functions/phpcredits2.phpt ext/standard/tests/general_functions/phpinfo.phpt ext/standard/tests/general_functions/phpinfo.phpt ext/standard/tests/general_functions/phpinfo2.phpt ext/standard/tests/general_functions/phpinfo2.phpt: file 006.phpt was initially added on branch PHP_5_2. * ext/ftp/tests/005.phpt ext/ftp/tests/bug39583-2.phpt ext/ftp/tests/bug39583.phpt ext/ftp/tests/bug7216-2.phpt ext/ftp/tests/server.inc: MFB * (PHP_5_2) ext/ftp/tests/005.phpt ext/ftp/tests/bug39583-2.phpt ext/ftp/tests/bug39583-2.phpt ext/ftp/tests/bug39583.phpt ext/ftp/tests/bug39583.phpt ext/ftp/tests/bug7216-2.phpt ext/ftp/tests/server.inc: fix tests after Tony's commit and add a test for the bug he fixed 2006-11-24 Antony Dovgal * ext/ftp/tests/004.phpt ext/ftp/tests/004.phpt sapi/cli/tests/011.phpt sapi/cli/tests/011.phpt: fix test * (PHP_5_2) sapi/cli/tests/.cvsignore sapi/cli/tests/001.phpt sapi/cli/tests/002-win32.phpt sapi/cli/tests/002.phpt sapi/cli/tests/003.phpt sapi/cli/tests/004.phpt sapi/cli/tests/005.phpt sapi/cli/tests/006.phpt sapi/cli/tests/007.phpt sapi/cli/tests/008.phpt sapi/cli/tests/009.phpt sapi/cli/tests/010-2.phpt sapi/cli/tests/010.phpt sapi/cli/tests/011.phpt sapi/cli/tests/012.phpt sapi/cli/tests/013.phpt sapi/cli/tests/014.phpt sapi/cli/tests/skipif.inc: add tests for CLI * sapi/cli/tests/.cvsignore sapi/cli/tests/.cvsignore: add .cvsignore * sapi/cli/tests/001.phpt sapi/cli/tests/001.phpt sapi/cli/tests/002-win32.phpt sapi/cli/tests/002-win32.phpt sapi/cli/tests/002.phpt sapi/cli/tests/002.phpt sapi/cli/tests/003.phpt sapi/cli/tests/003.phpt sapi/cli/tests/004.phpt sapi/cli/tests/004.phpt sapi/cli/tests/005.phpt sapi/cli/tests/005.phpt sapi/cli/tests/006.phpt sapi/cli/tests/006.phpt sapi/cli/tests/007.phpt sapi/cli/tests/007.phpt sapi/cli/tests/008.phpt sapi/cli/tests/008.phpt sapi/cli/tests/009.phpt sapi/cli/tests/009.phpt sapi/cli/tests/010-2.phpt sapi/cli/tests/010-2.phpt sapi/cli/tests/010.phpt sapi/cli/tests/010.phpt sapi/cli/tests/011.phpt sapi/cli/tests/011.phpt sapi/cli/tests/012.phpt sapi/cli/tests/012.phpt sapi/cli/tests/013.phpt sapi/cli/tests/013.phpt sapi/cli/tests/014.phpt sapi/cli/tests/014.phpt sapi/cli/tests/skipif.inc sapi/cli/tests/skipif.inc: add tests for CLI * (PHP_4_4) NEWS NEWS ext/ftp/ftp.h ext/ftp/ftp.h: MFH: fix #39583 (ftp_put() does not change transfer mode to ASCII) * ext/ftp/ftp.h: fix #39583 (ftp_put() does not change transfer mode to ASCII) * sapi/cli/php_cli.c: call sapi_deactivate() & friends on error fixes leak with `php-cli -n -c ..` * ZendEngine2/zend.c: initialize CG(literal_type) using ZEND_STR_TYPE macro add CG(literal_type) initialization in non-ZTS mode fixes backticks operator * (PHP_5_2) NEWS: BFN * ext/imap/php_imap.c ext/imap/php_imap.c: fix #39613 (Possible segfault in imap initialization due to missing module dependency) patch by wharmby at uk dot ibm dot com 2006-11-23 Antony Dovgal * ZendEngine2/zend_language_scanner.l ZendEngine2/zend_language_scanner.l: nullify opened_path and filename (when required) fixes invalid reads with `php-cli -F