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+".