2003-01-13 Jani Taskinen * ext/informix/config.m4 ext/informix/config.m4: Fixed bug: #21543, Informix version detection fails 2003-01-13 Frank M. Kromann * ext/rpc/com/conversion.c: false should be VT_FALSE 2003-01-13 Moriyoshi Koizumi * (PHP_4_3) tests/run-test/test008.phpt: MFH * tests/run-test/test008.phpt: Fixed typoFixed typoFixed typoFixed typoFixed typoFixed typoFixed typoFixed typo 2003-01-13 Andrey Hristov * ext/standard/array.c ext/standard/basic_functions.c ext/standard/php_array.h: added array_combine(). Creates an array by using the elements of the first parameter as keys and the elements of the second as correspoding keys. Error is thrown in case the arrays has different number of elements. Number of elements 0 is not valid for both parameters. 2003-01-13 Edin Kadribasic * sapi/servlet/servlet.dsp: Adjust paths for the new location of ext/rpc/java * ext/rpc/java/java.dsp: Adjust paths to the new location java.dsp * ext/rpc/xmlrpc/xmlrpc-epi-php.c: Fix ZTS build here too. * ext/xmlrpc/xmlrpc-epi-php.c: Fixed ZTS build. 2003-01-13 Moriyoshi Koizumi * ext/standard/filters.c: Fixed a silly segfault bug caused by lack of strict type checking 2003-01-13 Sascha Schumann * build/buildcheck.sh: which is not portable. use our bundled shtool instead. 2003-01-13 Moriyoshi Koizumi * ext/standard/filters.c: . Implemented a common filter parameter parsing function. . Added automatic line-breaking feature for base64 encode filter. This can be turned on by putting a option entry "base64-encode.line-length" to the filter parameters. 2003-01-13 Derick Rethans * ext/domxml/php_domxml.c: - Fix ZTS build 2003-01-12 Moriyoshi Koizumi * tests/lang/bug21600.phpt: Added test case for bug #21600 * ext/standard/filters.c: Fixed a bug of the base64 decoder that a sequence of intervening characters that are supposed to be ignored by the decoder cause output corruption. 2003-01-12 Stanislav Malyshev * ext/standard/aggregation.c: ZE2 compatibility 2003-01-12 Sebastian Bergmann * ext/standard/basic_functions.c ext/standard/info.c: ZTS fixes. 2003-01-12 Stanislav Malyshev * ext/standard/aggregation.c: Disable ZE2-incompatible parts * ext/standard/var.c: remove unneeded var 2003-01-12 Moriyoshi Koizumi * ext/standard/filters.c: Fixed infinite loop bug when an invalid quoted-printable escape sequence appears in the streem. * ext/standard/filters.c: Fixed error msg format so it correctly reports the actual filter name 2003-01-12 Sascha Schumann * php.ini-recommended: recommending SHA-1 as hash function * php.ini-dist: sync entries * php.ini-dist php.ini-recommended ext/session/php_session.h ext/session/session.c: add INI setting session.hash_function add support for creating session ids using SHA-1 source more entropy for session ids * ext/session/mod_files.c: handle ERANGE from strtol properly 2003-01-12 Moriyoshi Koizumi * ext/standard/filters.c: . Updated quoted-printable filter by a neater implementation. . Changed emalloc family functions to pemalloc ones for persistent filters. . Changed base64 and quoted-printable filter names to "convert.base64-encode", "convert.base64-decode", "convert.quoted-printable-encode", and "convert.quoted-printable-decode" respectively for the consistency that may be requested later. 2003-01-12 Derick Rethans * NEWS: - Update NEWS to show 5.0.0 2003-01-12 Jan Lehnardt * run-tests.php: - fix typo 2003-01-12 Sebastian Bergmann * ext/rpc/java/config.m4 sapi/servlet/Makefile.frag sapi/servlet/config.m4 sapi/servlet/servlet.c sapi/servlet/servlet.c sapi/servlet/servlet.java: Patch by Giuseppe Tanzilli . 2003-01-12 Frank M. Kromann * ext/mssql/php_mssql.c: Release skiped results. This will free memory on the server. Make mssql_execute work for stored procedures with and without returning result sets 2003-01-11 Ilia Alshanetsky * ext/sybase_ct/php_sybase_ct.c: Do not 'convert' double columns to integers after the 1st row in the result set. * ext/sybase_ct/php_sybase_ct.c: Fixed handling of NUMERIC type, when it contains numbers that could potentially exceed the interger limit. 2003-01-11 Moriyoshi Koizumi * ext/standard/browscap.c ext/standard/datetime.c ext/standard/file.c ext/standard/formatted_print.c ext/standard/pack.c ext/standard/reg.c ext/standard/string.c: Reverted because correct decision has not been made yet. * sapi/apache2filter/php_functions.c: This patch is likely to fix win32 build * ext/standard/browscap.c ext/standard/datetime.c ext/standard/pack.c ext/standard/reg.c ext/standard/string.c: Reduced warnings in ZE2 build * ext/standard/file.c ext/standard/formatted_print.c: Reduced compiler warnings in ZE2 build 2003-01-11 Ilia Alshanetsky * ext/standard/string.c: Added stripos() & strripos() functions. Added 3rd parameter (offset) to strrpos(). 2003-01-11 Sebastian Bergmann * ext/rpc/rpc.c: Add missing ,. 2003-01-11 Harald Radi * ext/rpc/rpc.c ext/rpc/rpc_proxy.c ext/rpc/com/variant.c: fix build 2003-01-11 Sebastian Bergmann * win32/php4dllts.dsp: Leftover. 2003-01-11 Ilia Alshanetsky * sapi/cli/php_cli.c: Fix the line numbering when the 1st line in the script is #!. 2003-01-10 Harald Radi * main/config.w32.h main/internal_functions_win32.c win32/php4dllts.dsp: HEAD defaults to build with ZE2 now 2003-01-10 Frank M. Kromann * ext/mssql/php_mssql.c: Fixing copy and paste errors * ext/mssql/php_mssql.c: Avoid warnings when running stored procedures returning multiple results before setting output and return values. Additional results can be skipped by the optional parameter to mssql_execute 2003-01-10 Christian Stocker * ext/domxml/php_domxml.c: Throw error if object is not a XML_DOCUMENT_NODE in domxml_dump_node() * (PHP_4_3) ext/domxml/php_domxml.c: Throw error if object is not a XML_DOCUMENT_NODE 2003-01-10 Wez Furlong * ext/standard/math.c: Fix the number format fix when the number of decimal places is 0. 2003-01-10 Derick Rethans * ext/xmlrpc/xmlrpc-epi-php.c: - Fixed bug #20155: xmlrpc compile problem with zendengine2 (Path by Jan Schneider) 2003-01-10 Moriyoshi Koizumi * ext/mime_magic/mime_magic.c ext/standard/reg.c: Reduced compiler warnings * ext/iconv/iconv.c: Added missing cast operators 2003-01-10 Ilia Alshanetsky * ext/gd/libgd/gd.c: Fixed ImageRotate when rotation angle is 90 degrees, patch by leon@leonatkinson.com. 2003-01-10 Stig Bakken * (RELEASE_1_0_1) pear/package-PEAR.xml: - prepare 1.0.1 release 2003-01-10 Ilia Alshanetsky * (PHP_4_3) NEWS: Bug fixing news. 2003-01-10 Stig Bakken * (RELEASE_1_0_1) pear/scripts/pear.in: - obey PHP_PEAR_INSTALL_DIR and PHP_PEAR_PHP_BIN environment variables * (RELEASE_1_0_1) pear/PEAR/Command/Package.php: - verbosity fix for cvstag and cvsdiff commands * (RELEASE_1_0_1) pear/OS/Guess.php: - TODO item * pear/PEAR/Command/Package.php: - add "cvsdiff" command * (RELEASE_1_0_1) pear/PEAR/Config.php: - use getenv() instead of $_ENV[] 2003-01-09 Ilia Alshanetsky * ext/standard/file.c: CS fixes * ext/standard/file.c: Fixed a memory corruption that occurs when an unterminated " is encountered this bug maybe be related to #21556. 2003-01-09 Frank M. Kromann * ext/mssql/config.m4: Adding extended checks for where FreeTDS is installed 2003-01-09 Ilia Alshanetsky * main/safe_mode.c: Fixed compiler warnings. 2003-01-09 Sara Golemon * ext/standard/filestat.c main/safe_mode.c main/safe_mode.h: Bug #21531 file_exists() and other filestat functions throw errors when in safe mode and file/directory does not exist. Extended php_checkuid function to add "flags" field via rename to php_checkuid_ex with alias for BC in functions that do want safe mode errors thrown. 2003-01-09 Moriyoshi Koizumi * ext/ctype/ctype.c: Fixed typo 2003-01-09 Wez Furlong * ext/standard/basic_functions.c ext/standard/basic_functions.h ext/standard/formatted_print.c tests/strings/002.phpt: Implement fprintf() and vfprintf(). Add a couple of tests. 2003-01-09 Sebastian Bergmann * (PHP_4_3) main/.cvsignore main/config.w32.h main/config.w32.h.in win32/php4dll.dsp win32/php4dllts.dsp: MFH: Revert config.w32.h.in -> config.w32.h build step. 2003-01-09 Jani Taskinen * configure.in: Fix bug: #21511, config.status warning 2003-01-09 Wez Furlong * ext/standard/math.c ext/standard/tests/math/bug21523.phpt: Fix Bug #21523 - number_format could cause a memory allocation for a negative memory size in situations where the sprintf implementation of the host system generated less decimal places than were requested. Resolved this issue by making number_format examine the string returned by spprintf and have it pad to the correct number of decimal places. Added a test-case based on the bug report; the length of decimal places required to trigger this bug is sprintf implementation dependent; as the implementation is now using spprintf (provided by PHP), that number is 78 digits (NDIG - 2). 2003-01-09 Stig Bakken * (RELEASE_1_0_1) pear/PEAR.php: - added debug_backtrace() support to PEAR errors * (RELEASE_1_0_1) pear/System.php: - System::which() now checks .exe .bat .cmd and .com on Windows * (RELEASE_1_0_1) pear/PEAR/Frontend/CLI.php: - cleanups 2003-01-09 Zeev Suraski * configure.in main/php_version.h: Time for an update 2003-01-09 Frank M. Kromann * ext/mssql/php_mssql.c: Use the correct link when checking for more results on stored procedures * ext/mssql/php_mssql.c ext/mssql/php_mssql.h: Restire BC for mssql_execute(). This will not break the new feature for handling multiple results from a single stired procedure. Adding mssql_free_statement() 2003-01-09 Ilia Alshanetsky * ext/standard/fsock.c: Fixed bug #21529 (memory corruption by fsockopen()). 2003-01-09 Frank M. Kromann * ext/mssql/php_mssql.c: changed from LVAL to RESVAL macro 2003-01-09 Jani Taskinen * ext/standard/image.c: Fix the ZTS build. 2003-01-08 Moriyoshi Koizumi * ext/standard/filters.c: Reimplemented base64 filter to use iconv()-like facility for flexibility. 2003-01-08 Frank M. Kromann * ext/fbsql/php_fbsql.h ext/mssql/php_mssql.c ext/mssql/php_mssql.h: Changed global data type to avoid problems with initialization 2003-01-08 Ilia Alshanetsky * ext/standard/image.c ext/standard/php_image.h: Added support for WBMP images. * ext/gd/gd.c ext/gd/libgd/gd_io_dp.c: Fixed bug #21518. Fixed memory in leak ImageCreateFromString(). Fixed a bug that prevented proper identification of WBMP images and thus prevented ImageCreateFromString() from working on those images. * (PHP_4_3) NEWS: Bug fixing news. 2003-01-08 Zeev Suraski * ext/session/session.c: Fix UMR 2003-01-08 Georg Richter * (PHP_4_3) ext/mysql/php_mysql.c: fixed bug 21498 * ext/mysql/php_mysql.c: fixed bug #21498 2003-01-08 Ilia Alshanetsky * ext/mcrypt/mcrypt.c: Removed unused variable. * main/main.c: Fixed bug #21499 (more descriptive message in the event of require/include failure). * sapi/cgi/cgi_main.c sapi/cli/php_cli.c: Fixed bug #21297. The fix also fixes miscalculation of lines numbers by 1 due the previously mentioned bug. * ext/odbc/php_odbc.c: Version is char ;). 2003-01-07 Christian Dickmann * pear/PEAR/Config.php: fix default umask(); (thx to Mirco MEEBEY Bauer for bringing this behavior to my attention and testing the patch) 2003-01-07 Dan Kalowsky * ext/odbc/php_odbc.c: Version tag for future move to PECL * ext/odbc/config.m4 ext/odbc/php_odbc.c: Reverting last change as it really doesn't fix longreadlen problems in all cases. 2003-01-07 Moriyoshi Koizumi * ext/standard/filters.c: Instances should not be freed in dtor()... * ext/standard/filters.c: Made error msg format more consistent 2003-01-07 Pierre-Alain Joye * ext/gd/gd.c: Fix line drawed twice (L. Atkinson) 2003-01-07 Sara Golemon * ext/standard/user_filters.c: Backout changes between 1.6 and 1.7 2003-01-07 Zeev Suraski * sapi/cgi/cgi_main.c: Add missing call 2003-01-07 Levi Dixon * ext/oci8/config.m4 ext/oci8/oci8.c: Added support for Shared Data Mode for OCI8_VERSION >= 8.1, which will provide memory savings by sharing common statement data 2003-01-07 Edin Kadribasic * (PHP_4_3) NEWS: Bugfix #17098 in the branch * (PHP_4_3) sapi/apache2filter/sapi_apache2.c: MFH: Fixed bug #17098 (make Apache aware that PHP scripts represent dynamic data and should not be cached). Fix suggested by daniel.eckl@gmx.de. 2003-01-07 Ilia Alshanetsky * run-tests.php: Added a check for availability of PCRE extension needed by test-suite. 2003-01-07 Vincent Blavet * pear/Archive/Tar.php: - Synchronize with /pear/Archive_Tar/Tar.php 1.5 : - Add support for long filenames (greater than 99 characters) - Add private methods _readLongHeader() and _writeLongHeader() 2003-01-07 Ilia Alshanetsky * ext/domxml/php_domxml.c: Fixed ZTS build with ZE2. * ext/ftp/ftp.c ext/ftp/ftp.h ext/ftp/php_ftp.c: ZTS cleanup. 2003-01-07 Zeev Suraski * ext/standard/basic_functions.c: whitespace 2003-01-07 Edin Kadribasic * (PHP_4_3) NEWS: Bugfixing news * win32/sendmail.c: MFB: Fixed bug #21442 (Crash of mail() on Windows when the first parameter is empty). * (PHP_4_3) win32/sendmail.c: Fixed bug #21442 (Crash of mail() on Windows when the first parameter is empty). 2003-01-07 Sascha Schumann * ext/mysql/config.m4: tell user which header files could not be found 2003-01-07 Moriyoshi Koizumi * ext/standard/user_filters.c: Fixed small leak 2003-01-07 Frank M. Kromann * ext/mssql/config.m4: Making the mssql extension work when build as a shared object 2003-01-07 Ilia Alshanetsky * ext/ftp/ftp.c ext/ftp/ftp.h ext/ftp/php_ftp.c: Fixed ZTS build. * ext/ftp/ftp.c ext/ftp/php_ftp.c: MFB + CS * (PHP_4_3) ext/ftp/ftp.c ext/ftp/php_ftp.c: Changed perror() to php_error_docref(), fixed bug #21309. Made extension use ZE memory allocation wrappers, fixed a memory leak in ftp_mkdir. Removed duplicate ftp_syst() call inside ftp_systype(). 2003-01-07 Moriyoshi Koizumi * NEWS: Trivial grammer fix * ext/standard/filters.c: Implemented quoted-printable stream filter 2003-01-07 Sara Golemon * ext/standard/user_filters.c: Add option to stream_get_filters() user-defined fiters vs. all filters, default to user only 2003-01-07 Moriyoshi Koizumi * ext/standard/filters.c: Implemented string.base64 stream filter 2003-01-06 Stefan Esser * main/rfc1867.c: Adding support for anonymous fileuploads (#21450) 2003-01-06 Wez Furlong * main/streams.c: Fix for Bug #20827: where stat is a macro on Tru64. Patch from 2003-01-06 Ilia Alshanetsky * ext/standard/string.c ext/standard/tests/strings/bug21453.phpt: Fixed bug #21453 (improper handling of non-terminated <). * ext/standard/browscap.c: Fixed Bug #21443 and related bug #21468. 2003-01-06 Dan Kalowsky * ext/odbc/php_odbc.c: Patch for bug #19349 * ext/odbc/php_odbc.c: Correction for bug #21279 2003-01-06 Moriyoshi Koizumi * ext/iconv/iconv.c ext/standard/quot_print.c ext/standard/quot_print.h: Moved php_quot_print_decode() to quot_print.c so that it can be used outside the iconv module * ext/iconv/iconv.c: Added more RFC2047-compliancy check in iconv_mime_decode() * ext/iconv/iconv.c: Fixed iconv_mime_decode() so that it comforms to RFC2231 2003-01-06 Georg Richter * ext/mysql/php_mysql.c: fixed missing & (Thx to Sebastian Bergmann) * (PHP_4_3) ext/mysql/php_mysql.c: fixed a missing & (Thx to Sebastian Bergmann 2003-01-06 Wez Furlong * ext/standard/tests/file/userfilters.phpt: Make it slightly more obvious that the return value is relative to the length of the input data. * main/php_streams.h: Fix for bug #21406; infinite loop during filter flushing. 2003-01-06 Edin Kadribasic * (PHP_4_3) NEWS: Bugfixing news. * ext/gd/gd_bundled.dsp: MFB: Fixed bug #20503 (imagesetbrush() availability on windows). * (PHP_4_3) ext/gd/gd_bundled.dsp: Fixed bug #20503 (imagesetbrush() availability on windows). 2003-01-06 Anantha Kesari H Y * ext/pgsql/php_pgsql.h: Removed #ifdef NetWare and made the necessary changes in the directory structure of NetWare. * netware/libpq/libpq-fs.h: Header file for PostgreSQL. Moved from netware directory to netware/libpq directory. * netware/libpq-fs.h: This file moved to netware/libpq directory. 2003-01-06 Christian Stocker * (PHP_4_3) ext/domxml/php_domxml.c: - fix crash in domxml_node_insert_before() (by Lukas Schröder) * ext/domxml/php_domxml.c ext/domxml/php_domxml.h: - get_path forgotten in .h file - fix crash in domxml_node_insert_before() (by Lukas Schröder) 2003-01-06 Anantha Kesari H Y * netware/phplib.imp: Added symbols to build PostgreSQL extension for NetWare. * ext/mysql/mysql.mak: Changes for NetWare makefile. * ext/pgsql/pgsql.mak ext/pgsql/php_pgsql.h: Makefile added newly and modified the header file for NetWare. 2003-01-06 Christian Stocker * (PHP_4_3) ext/domxml/php_domxml.c: partly MFH from 1.288 (Fixed segfault, when trying to add a node to itself) * ext/domxml/php_domxml.c: - Fixed segfault, when trying to add a node to itself. 2003-01-06 Anantha Kesari H Y * ext/standard/basic_functions.c: Added #ifdef HAVE_SYSLOG_H around syslog function in the whole file to avoid link failure. * netware/phplib.mak: Modified for Netware. 2003-01-06 Sara Golemon * ext/standard/filters.c: Added string.toupper and string.tolower filters and generalized non-op filter methods 2003-01-06 Frank M. Kromann * ext/gd/libgd/gdft.c: Nuke warning, on Win32 build * ext/gd/gd_bundled.dsp: enable imageftbbox() and imagefttext() on WIn32 2003-01-06 Sara Golemon * ext/standard/user_filters.c main/php_streams.h main/streams.c: Expose stream_filters_hash so that it can be searched by stream_get_filters() 2003-01-06 Edin Kadribasic * (PHP_4_3) NEWS: Mention gif read-only support on windows. * (PHP_4_3) ext/gd/gd_bundled.dsp: MFH: Added missing flags and .c files for gif read support on Windows. * ext/gd/gd_bundled.dsp: Complete gif readonly support addition by adding missing gd_gif_in.c file to the project. * ext/mcrypt/mcrypt.c: Comment out non ANSI C standard comliant code. Fixes win32 build. * ext/dba/dba.c: Fixed win32 build. 2003-01-06 Ilia Alshanetsky * (PHP_4_3) NEWS: Bug fixing news. * ext/gd/libgd/gd.h ext/gd/libgd/gdft.c: Fixed bug #21445. 2003-01-05 Sara Golemon * ext/standard/file.c ext/standard/user_filters.c: Fixes to stream_get_wrappers() and stream_get_filters() handle hash table layouts better, plus some picune whitespace fixes 2003-01-05 Georg Richter * ext/mysql/php_mysql.c: fixed bug #21435 2003-01-05 Sebastian Bergmann * ext/gd/gd_bundled.dsp: Define HAVE_GD_GIF_READ. 2003-01-05 Zeev Suraski * main/main.c: Remove unnnecessary initialization * sapi/cgi/cgi_main.c sapi/cli/php_cli.c: Initialize lineno using the new infrastructure 2003-01-05 Sebastian Bergmann * main/.cvsignore main/config.w32.h main/config.w32.h.in win32/php4dll.dsp win32/php4dllts.dsp: Revert config.w32.h.in -> config.w32.h build step per discussion with Zeev. 2003-01-05 Zeev Suraski * sapi/apache/php4apache.dsp: Make the .dsp use the php4build build directories 2003-01-05 Edin Kadribasic * ext/xslt/xslt.dsp: MFB: Made xslt_set_encoding() available on windows (bug #20640). * (PHP_4_3) ext/xslt/xslt.dsp: Made xslt_set_encoding() available on windows (bug #20640). * (PHP_4_3) ext/standard/php_incomplete_class.h: Fixed ZTS build. 2003-01-05 Ilia Alshanetsky * ext/standard/string.c: Fixed a memory leak in setlocale() & localeconv(). 2003-01-05 Sara Golemon * ext/standard/basic_functions.c ext/standard/basic_functions.h ext/standard/user_filters.c: Added stream_get_filters(); to list registered filters 2003-01-05 Derick Rethans * ext/standard/filestat.c: - Fix some of the netware crap 2003-01-04 Derick Rethans * ext/standard/filestat.c: - Change Warnings to Notices 2003-01-04 Ilia Alshanetsky * ext/openssl/openssl.c: CS fixes. 2003-01-04 Marcus Boerger * (PHP_4_3) ext/standard/browscap.c ext/wddx/wddx.c: Fix ZTS-ZE2 (After Cygwin now for the rest) * ext/exif/tests/exif003.phpt ext/exif/tests/exif004.phpt: better to check for existance first * ext/dbx/dbx.c ext/imap/php_imap.c ext/standard/browscap.c ext/standard/incomplete_class.c ext/standard/php_incomplete_class.h ext/standard/var_unserializer.c ext/wddx/wddx.c: Fix ZTS-ZE2 build 2003-01-04 Moriyoshi Koizumi * NEWS: Forgot to include these functions in the list 2003-01-04 Derick Rethans * NEWS: - Fix typo 2003-01-04 Moriyoshi Koizumi * ext/iconv/iconv.c: Fixed cut'n'paste failure * NEWS: NEWS update for new iconv functions * ext/iconv/tests/iconv_mime_encode.phpt: Added test case for iconv_mime_encode() 2003-01-04 Derick Rethans * (PHP_4_3) ext/pgsql/pgsql.c: - MFH: Fixed bug #21232 (Unresolved references to PQsetnonblocking). (Patch by Floyd ) * ext/pgsql/pgsql.c: - Fixed bug #21232 (Unresolved references to PQsetnonblocking). (Patch by Floyd ) 2003-01-03 Alex Waugh * acinclude.m4: Provide alternative for glibc brokenness test when cross compiling 2003-01-03 Derick Rethans * sapi/apache/php_apache.c sapi/apache/php_apache.c: - Fix docrefs * sapi/apache/php_apache.c: - Fix typo (patch by Joseph Tate) 2003-01-03 Moriyoshi Koizumi * ext/iconv/tests/iconv_mime_decode.phpt: Added test case for iconv_mime_decode() * ext/iconv/tests/iconv_strpos.phpt ext/iconv/tests/iconv_strrpos.phpt: Added test cases for iconv_strpos() and iconv_strrpos() * ext/iconv/iconv.c: Fixed an iconv_strrpos() bug that the function doesn't return accurate position of last occurrence 2003-01-03 Derick Rethans * ext/mcrypt/TODO: - Update todo * ext/mcrypt/config.m4 ext/mcrypt/mcrypt.c ext/mcrypt/php_mcrypt.h: - Removed support for libmcrypt 2.2.x to allow cleaner code. Another reason to upgrade libmcrypt to a 2.5.x series as the older ones have too much bugs to be safely used with PHP. - Updated macro's, php_errors and parameter parsing. 2003-01-03 Ilia Alshanetsky * ext/standard/file.c: Fixed a bug that would cause flock() to never set the 3rd argument. CS fixes & switched to new parameter parsing API. * (PHP_4_3) ext/standard/http_fopen_wrapper.c: MFH (fix for bug #21267 & memory leak fix on reidrects). * ext/standard/http_fopen_wrapper.c: Fixed a memory leak that occurs if the location specified by redirect header cannot be opened. * ext/standard/http_fopen_wrapper.c: Further fixes related to bug #21267. 2003-01-03 Anantha Kesari H Y * sapi/apache2filter/php_apache.h sapi/apache2filter/sapi_apache2.c: Modifications for NetWare. * netware/phplib.imp netware/phplib.mak netware/sendmail.c netware/sendmail.h: Some existing files modified and a couple of files removed for NetWare. * win32/sendmail.c win32/sendmail.h: NetWare related changes/modifications. 2003-01-03 Moriyoshi Koizumi * ext/iconv/iconv.c: Added offset validity check for iconv_strpos() 2003-01-03 Anantha Kesari H Y * ext/xml/xml.mak netware/geterrnoptr.c netware/sendmail_nw.h sapi/apache/libpre.c: New file added for NetWare. * ext/ftp/ftp.c ext/ldap/ldap.mak ext/ldap/ldap.mak ext/mysql/mysql.mak ext/mysql/mysql.mak ext/session/mod_files.c ext/session/session.c ext/standard/exec.c ext/standard/exec.c ext/standard/file.c ext/standard/filestat.c ext/standard/html.c ext/standard/syslog.c ext/xml/xml.mak netware/buildlib.bat netware/phplib.mak: Modified for NetWare. * main/config.nw.h main/internal_functions_nw.c main/php.h main/php_sprintf.c main/user_streams.c: A new file added and some old files modified for NetWare. 2003-01-03 Edin Kadribasic * netware/ApacheCore.imp netware/BisonExtStandard.bat netware/BisonFlexZend.bat: Checking in files for Ananth Kesari 2003-01-03 Anantha Kesari H Y * netware/ZendEngine2.mak netware/grp.h netware/libpq.imp netware/mktemp.c netware/param.h netware/php-nw.bat netware/php4apache.mak netware/php4apache2filter.mak netware/php4cli.mak netware/phplib.imp netware/phplib.mak netware/phptest.ncf netware/pipe.c netware/pipe.h netware/postgres_ext.h netware/pwd.c netware/pwd.h netware/start.c netware/sysexits.h netware/time_nw.c netware/time_nw.h netware/tsrm.mak netware/wfile.c netware/wfile.h netware/zend.mak: A few New files added and some old files modified for NetWare. * netware/libpq-fe.h netware/libpq-fs.h: New files added for NetWare. * netware/common.mif netware/sys/stat.h: File modified for NetWare. 2003-01-03 Derick Rethans * ext/standard/credits_sapi.h: - Update this one as well * ext/standard/credits_ext.h scripts/credits: - Remove double "Win32 COM" functions line * README.PARAMETER_PARSING_API: - Whitespace * (PHP_4_3) NEWS: Bugfixing news 2003-01-03 Sara Golemon * ext/standard/basic_functions.c ext/standard/file.c ext/standard/file.h: Added stream_get_wrappers() 2003-01-03 Moriyoshi Koizumi * ext/iconv/tests/iconv_strlen.phpt ext/iconv/tests/iconv_substr.phpt: Added test cases for iconv_strlen() and iconv_substr() * ext/iconv/iconv.c: Fixed iconv_mime_decode() so it would give more awareness to stateful codesets * ext/iconv/iconv.c: Fixed infinite loop of iconv_mime_encode() in case the specified line length is too short to contain a proper mime-encoded string * ext/iconv/iconv.c: Give mo' shift-sequence awareness to iconv_mime_encode * ext/iconv/iconv.c: More shift-sequence awareness for iconv_substr() * ext/iconv/iconv.c: Added missing casting operators * ext/iconv/tests/eucjp2iso2022jp.phpt: MFB * (PHP_4_3) ext/iconv/tests/eucjp2iso2022jp.phpt: Updated the test so it reflects the recent change on iconv.c * ext/iconv/iconv.c: MFB: fixed shift-out sequence unawareness issue * (PHP_4_3) ext/iconv/iconv.c: Fixed shift-out sequence unawareness issue * ext/standard/array.c: Fixed small leaks in array_map() in case the first parameter is NULL like array_map(NULL, array(...)); 2003-01-03 Harald Radi * pear/scripts/pear.bat: fixing typo 2003-01-03 Jani Taskinen * NEWS: - Removed entries that are going to 4.3.1 - Grouped the entries a bit. * (PHP_4_3) NEWS: Group these entries a bit to make NEWS easier to read. 2003-01-02 Stig Bakken * pear/PEAR/Config.php: - allways fall back to PHP_SYSCONFDIR 2003-01-02 Ilia Alshanetsky * ext/openssl/openssl.c: Fixed a small memory leak when a NULL variable is passed to openssl_csr_sign() as the first argument. * (PHP_4_3) NEWS: Bug fixing news. * ext/standard/html.c: Fixed bug #21338 (crash inside html_entity_decode() when "" is passed). Added test case for the bug. * ext/standard/tests/strings/bug21338.phpt: Fixed bug #21338 (crash inside html_entity_decode() when "" is passed). Added test case for the bug. * acinclude.m4 configure.in: Raise required OpenSSL version to 0.9.6. 2003-01-02 Derick Rethans * main/SAPI.h: - Fixed bug #21169: Compile Failure, and lots of warnings on UnixWare * (PHP_4_3) main/SAPI.h: -** empty log message *** 2003-01-02 Zeev Suraski * sapi/apache/php4apache.dsp: Fix .dsp 2003-01-02 Derick Rethans * main/php_streams.h: - Fix warnings on UnixWare * (PHP_4_3) Makefile.global: - MFH: Fix "make test" when CC was set to something with a parameter * Makefile.global: - Fix "make test" when CC was set to something with a parameter 2003-01-01 Frank M. Kromann * ext/standard/base64.c ext/standard/base64.h: Allow base64 functions to be called from an extension buils as .so/.dll (iconv) 2003-01-01 Zeev Suraski * ext/standard/browscap.c ext/standard/incomplete_class.c: build fixes 2003-01-01 Derick Rethans * (PHP_4_3) tests/run-test/test005.phpt tests/run-test/test008.phpt: - MFH: Fix tests if Zend Optimizer is loaded * tests/run-test/test005.phpt tests/run-test/test008.phpt: - Fix tests if Zend Optimizer is loaded 2003-01-01 Sebastian Bergmann * win32/php4dll.dsp win32/php4dllts.dsp: Add filter.c, user_filters.c. Group stream related sources. * ext/standard/filters.c ext/standard/user_filters.c: Fix warnings. 2003-01-01 Wez Furlong * ext/standard/filters.c: Tidy up * ext/standard/basic_functions.c ext/standard/config.m4 ext/standard/filters.c ext/standard/php_standard.h ext/standard/php_string.h ext/standard/string.c ext/standard/user_filters.c ext/standard/tests/file/userfilters.phpt: Move rot13 filter into a new filters.c source file. Tidy up some other filter related code. * acinclude.m4 configure.in main/streams.c: Workaround for glibc 2.2.9x and later "a+" bug that does not seek to EOF for files fopen()ed with that mode. * (PHP_4_3) acinclude.m4 configure.in main/streams.c: Workaround a bug in glibc 2.2.9x and later that causes it not to seek to EOF for stdio streams opened with a mode of "a+".