2002-09-19 Colin Viebrock * sapi/apache/php_apache.c ext/standard/config.m4 ext/standard/css.c ext/standard/css.h ext/standard/info.c main/php_ini.c sapi/aolserver/aolserver.c: Change phpinfo() to use CSS styling instead of HTML code. It doesn't render as nicely as it used to on older browsers, but it does result in smaller files, and opens the door to using your own CSS to style it differently. There is a patch to Zend/zend_ini.c, but I don't have enough Karma, so Derick has the patch. * ext/calendar/cal_unix.c ext/calendar/calendar.c ext/calendar/easter.c: change my email address 2002-09-19 Ilia Alshanetsky * ext/sysvmsg/config.m4: Fixed bug #19504 Alligned 'Enable sysvmsg support' message. 2002-09-19 Derick Rethans * ext/exif/config.m4 ext/hwapi/config.m4 ext/mbstring/config.m4 ext/mime_magic/config.m4: - Align configure --help messages 2002-09-19 Ilia Alshanetsky * ext/standard/exec.c ext/standard/exec.h: Fixed bug #19313 Fixed argument count check for system/exec/passthru functions Added a check to system/exec/passthru functions to make sure execution parameter is not blank before attempting to execute it. * ext/standard/datetime.c: Fixed bug #19414 2002-09-19 Derick Rethans * EXTENSIONS: - Add fribidi extension * ext/imap/php_imap.c: - Fix typo 2002-09-19 Zeev Suraski * ext/standard/basic_functions.c: Fix the last part of bug #13982 (ignore_user_abort() settings were 'leaking' between requests) * main/main.c: Fix connection_status() 2002-09-19 Dan Kalowsky * TODO: adding ODBC todo's 2002-09-19 Adam Dickmeiss * ext/yaz/php_yaz.c: Remove compatibility for old YAZ versions (use ZOOM API only) * ext/yaz/php_yaz.c: New option for yaz_connect: charset 2002-09-19 Sascha Schumann * ext/dba/config.m4 ext/dba/dba_cdb.c ext/dba/install_cdb.sh: Add support for cdb-0.75 The install_cdb.sh script fills the gap of installing header files and creating a cdb library which programs can link against. 2002-09-19 Dan Kalowsky * ext/imap/php_imap.c: white space fix 2002-09-18 Zeev Suraski * win32/php4dllts.dsp: Fix debug build options (looks like VC doesn't maintain indentation in the .dsp... Sorry Sebastian :) * sapi/webjames/webjames.c sapi/roxen/roxen.c sapi/servlet/servlet.c sapi/thttpd/thttpd.c sapi/tux/php_tux.c sapi/nsapi/nsapi.c sapi/phttpd/phttpd.c sapi/pi3web/pi3web_sapi.c sapi/fastcgi/fastcgi.c sapi/isapi/php4isapi.c sapi/cgi/cgi_main.c sapi/cli/php_cli.c sapi/apache2filter/sapi_apache2.c sapi/caudium/caudium.c sapi/aolserver/aolserver.c sapi/apache/mod_php4.c sapi/apache2filter/php_functions.c main/main.c main/php_main.h sapi/activescript/php4activescript.c: another startup initialization fix - only ISAPI and CGI SAPI's tested, minor compile buglets might occur in other SAPIs, but should be trivial to fix... 2002-09-18 James Cox * ext/standard/info.c: white background please 2002-09-18 Ilia Alshanetsky * ext/standard/datetime.c: Fixed bug #19446 * ext/standard/image.c: Added additional handlers for compressed swf files, which require entire file to be downloaded for successful decompression. 2002-09-18 Dan Kalowsky * ext/imap/php_imap.c: Patch for Bug #19402 provided by Kevin Way (kevin.way@overtone.org) 2002-09-18 Wez Furlong * ext/standard/tests/file/userstreams.phpt main/user_streams.c: Tidy up some user stream code. Add a small test case (not yet complete). 2002-09-18 Hartmut Holzgraefe * ext/standard/string.c: setlocale() will now accept multiple locale arguments, first match wins 2002-09-17 Tal Peer * ext/fribidi/fribidi.c: * ext/fribidi/README ext/fribidi/fribidi.c: * The second argument of fribidi_log2vis now accepts a constant. The old way (using strings) is still available but deprecated. 2002-09-17 Hartmut Holzgraefe * ext/standard/head.c: it should not only work for the failure case but also not fail (segfault) on the working case * ext/standard/basic_functions.c: stupid lino-typo .... :( * ext/standard/basic_functions.c ext/standard/head.c: headers_sent() may now return information about where output started using the optional $file and $line reference parameters 2002-09-17 Zeev Suraski * main/main.c: MFH * NEWS: Update NEWS * main/main.c: Call zend_post_startup() - use local copies of the function, class and constant tables in the startup thread 2002-09-16 Tal Peer * ext/fribidi/CREDITS: oops. * ext/fribidi/CREDITS: Added myself 2002-09-16 Jani Taskinen * NEWS: tuning * ext/fribidi/README ext/fribidi/config.m4 ext/fribidi/fribidi.c ext/fribidi/fribidi.php ext/fribidi/php_fribidi.h: - Require Fribidi 0.10.4 -> no more glib needed. - Cleaned up a bit. * sapi/isapi/php4isapi.c: Should fix #19425 2002-09-16 Anantha Kesari H Y * netware/phplib.imp: Updatation of symbols exported for NetWare 2002-09-15 Tal Peer * ext/fribidi/fribidi.c: * More work on returning errors properly and freeing resources 2002-09-15 Sebastian Bergmann * win32/php4dllts.dsp: For a change, Sebastian makes Andi happy. :-) 2002-09-15 Tal Peer * ext/fribidi/config.m4 ext/fribidi/fribidi.c ext/fribidi/php_fribidi.h: *Fixed compilation errors and enhanced the code 2002-09-15 Jon Parise * ext/qtdom/config.m4: Line up the 'configure --help' output. 2002-09-15 Wez Furlong * NEWS: PCRE news 2002-09-14 Wez Furlong * ext/pcre/pcrelib/doc/pcregrep.txt ext/pcre/pcrelib/doc/pcretest.1 ext/pcre/pcrelib/doc/pcretest.html ext/pcre/pcrelib/doc/pcretest.txt ext/pcre/pcrelib/testdata/testinput1 ext/pcre/pcrelib/testdata/testinput2 ext/pcre/pcrelib/testdata/testinput6 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/AUTHORS 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/RunTest ext/pcre/pcrelib/dftables.c ext/pcre/pcrelib/doc/Tech.Notes ext/pcre/pcrelib/doc/pcre.3 ext/pcre/pcrelib/doc/pcre.html ext/pcre/pcrelib/doc/pcre.txt ext/pcre/pcrelib/doc/pcregrep.1 ext/pcre/pcrelib/doc/pcregrep.html ext/pcre/pcrelib/get.c ext/pcre/pcrelib/internal.h ext/pcre/pcrelib/maketables.c ext/pcre/pcrelib/pcre.c ext/pcre/pcrelib/pcre.h ext/pcre/pcrelib/pcregrep.c ext/pcre/pcrelib/pcreposix.c ext/pcre/pcrelib/pcreposix.h ext/pcre/pcrelib/pcretest.c ext/pcre/pcrelib/study.c: Update bundled pcrelib to 3.9. 2002-09-14 Jan Lehnardt * ext/standard/http_fopen_wrapper.c: - fix typo in comment 2002-09-14 Andi Gutmans * ext/standard/filestat.c: - Don't think we need the do { } while (0) here 2002-09-13 Andrei Zmievski * pear/package-Console_Getopt.xml: Let's take Console_Getopt to stable release. 2002-09-13 Ilia Alshanetsky * ext/standard/file.c: Do not create the destination file, if opening of the source file failed during copy(). 2002-09-12 Stefan Esser * ext/standard/fsock.c ext/standard/ftp_fopen_wrapper.c main/network.c main/php_network.h: made new ssl activate function the default. 2002-09-12 Jani Taskinen * ext/gd/gd.c: ws fix 2002-09-12 Sebastian Bergmann * win32/php4dll.dsp win32/php4dllts.dsp: Meaningful Custom Build Step information. * win32/php4dll.dsp win32/php4dllts.dsp: Fix logic. 2002-09-12 Marcus Börger * README.TESTING: Update info and synch example test. 2002-09-12 Derick Rethans * ext/interbase/interbase.c ext/interbase/php_interbase.h: - Fixed linker error when HAVE_STRFTIME was not set 2002-09-12 Thies C. Arntzen * ext/oci8/php_oci8.h ext/oci8/oci8.c: - OCIResult() could return garbage if called on empty result-sets. (thies) 2002-09-12 Andrey Hristov * ext/standard/array.c: Fixing my zts fix. * ext/standard/array.c: Removed magic numbers about the behavior of php_array_diff - proposed by Andi and Jon Parise. 2002-09-11 Edin Kadribasic * ext/standard/filestat.c: My compiler likes it like this. * ext/standard/array.c: Fix ZTS build. 2002-09-11 Sterling Hughes * ext/swf/swf.c: virtual filepath fix, don't know why i bother, the module isn't threadsafe and never will be, but still... * ext/standard/filestat.c: max this use the virtual_filepath() function and feel all threadsafe and wholesome inside 2002-09-11 Derick Rethans * ext/mysql/php_mysql.c: - Un-deprecating mysql_escape_string 2002-09-11 Marcus Börger * run-tests.php: Unlink output files even if test is skipped. 2002-09-11 Derick Rethans * ext/standard/array.c: - Little whitespace changes 2002-09-11 Andrey Hristov * ext/standard/tests/array/007.phpt: Regression test for array_diff() and array_diff_assoc(). The latter is newly introduced. * ext/standard/array.c ext/standard/basic_functions.c ext/standard/php_array.h: New function added : array_diff_assoc() . Like array_diff() but does additional checks on key values. Test script will be added too. 2002-09-11 Jani Taskinen * ext/gd/config.m4: For now, check only when not using bundled GD lib. 2002-09-11 Sander Roobol * ext/dba/config.m4: Fix configure 2002-09-11 Jani Taskinen * ext/gd/config.m4: Added build test. Bug: #19345 * ext/iconv/iconv.c: Fix bug: #19355 (the parameter is optional) 2002-09-11 Dan Kalowsky * ext/dba/config.m4: Patch for Bug #19341 submitted by list@firehawksystems.com 2002-09-11 Jani Taskinen * ext/standard/string.c: tok tok.. 2002-09-11 Andrei Zmievski * ext/pcre/php_pcre.c: - Added ability to use Perl-style ${n} subpattern references in the replacement string for preg_replace(). Takes care of bug #18442. 2002-09-11 Jani Taskinen * ext/standard/string.c: ws fix * ext/standard/string.c: fix proto * ext/standard/info.c ext/standard/dir.c: ws fix 2002-09-11 Anantha Kesari H Y * ext/ftp/ftp.c: Removed unnecessary code that was added for NetWare * netware/start.c: Changed the licence to the one used by PHP Group * main/reentrancy.c: NetWare related changes/modifications 2002-09-11 Edin Kadribasic * NEWS: Added note about file_exits() and friends. * ext/standard/filestat.c: Fixed file_exists() on platforms using VCWD. 2002-09-10 Edin Kadribasic * ext/standard/array.c ext/standard/php_array.h: Fixed ZTS build. 2002-09-10 Andrei Zmievski * ext/standard/array.c ext/standard/php_array.h: - Fixed array_merge_recursive() to avoid problems with merging cyclical arrays (bug #16064). * NEWS: *** empty log message *** 2002-09-10 Wez Furlong * ext/sysvmsg/sysvmsg.c ext/sysvmsg/config.m4: Patch for BSD-ish systems from Melvyn Sopacua , slightly modified. 2002-09-10 Stefan Esser * ext/standard/url.c: php_url_parse() replaces controlchars with '_' now. This stops fopen wrapper CR/LF injection issues. 2002-09-10 Jason Greene * ext/sockets/sockets.c: Fix crash bug and memory leak in vectors 2002-09-09 Jani Taskinen * NEWS: consistent.. 2002-09-09 Stig Bakken * pear/packages/DB-1.2.tar pear/packages/DB-1.3.tar pear/packages/Mail-1.0.1.tar pear/packages/Mail-1.0.tar: * upgrade DB and Mail packages * pear/package-PEAR.xml: * 0.91 changelog * pear/PEAR/Frontend/Gtk.php: * no longer needed * pear/PEAR/Command/Install.php: * more consistent output * pear/PEAR/Packager.php: * remove debug output * pear/PEAR/Installer.php: * how did those DOS newlines get here? 2002-09-09 Dan Kalowsky * ext/imap/php_imap.c: missed one section for #15630 * ext/imap/php_imap.c: Now this is correct for bug #15630 * ext/imap/php_imap.c: Revert that last change, it had code that wasn't ment to go in * ext/imap/php_imap.c: Re-applying compiler fix for IRIX, bug #15630 2002-09-09 Christian Stocker * ext/domxml/php_domxml.c: chregu: Can you please use the new php_error_docref in new code? * ext/domxml/php_domxml.c: Fix for bug 19266 (don't allow appending nodes from 2 different documents) 2002-09-09 Andrei Zmievski * ext/standard/array.c: - Added ability to extract() variables as references via OR'able EXTR_REFS flag. 2002-09-09 Wez Furlong * ext/standard/parsedate.y: put that back... * ext/standard/parsedate.y: Revert Dericks accidental commit :-) Add an Id tag so we can see at a glance who is to blame. 2002-09-09 Dan Kalowsky * NEWS: Updated for OCI8 patch * ext/oci8/config.m4: Patch for Bug #18640 (submitted by michael.mauch@gmx.de) 2002-09-09 Jani Taskinen * ext/xslt/config.m4: Version check for Sablotron. 2002-09-09 Georg Richter * ext/mysql/php_mysql.c: - renamed rollback function to _restore_connection_default - in _restore_connection_default: - unset the selected database (thx to Paul DuBois) - set session variable autocommit to default (=1) 2002-09-09 Jani Taskinen * NEWS: Added the 4.2.3 entries. * main/php_version.h configure.in: Make this 4.2.4-dev for now..just in case we need it. 2002-09-09 Anantha Kesari H Y * main/php_syslog.h main/php_open_temporary_file.c main/php_ini.c main/php.h main/network.c main/mergesort.c main/main.c main/fopen_wrappers.c ext/standard/basic_functions.c: NetWare related changes/modifications 2002-09-09 Derick Rethans * ext/fribidi/php_fribidi.h: - Consistent use of macros * CODING_STANDARDS: - spaces instead of tabs * CODING_STANDARDS: - Use PHP_ instead of ZEND_ 2002-09-09 Yasuo Ohgaki * NEWS: Oops. Last commit was not intentinal. It seems 4.3.0-dev has all fixes needed already. Mention Content-Type fix. * main/SAPI.c: Fixed typo. * ext/mbstring/mbstring.c: MFH. This should fix all var initilization problems finally. 2002-09-08 Jon Parise * CODING_STANDARDS: Reword item 10 for greater clarity. 2002-09-08 Yasuo Ohgaki * CODING_STANDARDS: It seems we're better to mention about missing functions. PHP_FUNCTION -> ZEND_FUNCTION 2002-09-08 Stefan Esser * ext/standard/ftp_fopen_wrapper.c main/network.c main/php_network.h: Added possibility to reuse an old SSL session id. Ugly but needed for f.e.: debians ftpd-ssl 2002-09-08 Jani Taskinen * NEWS: s/send/sent/ * NEWS: nice..nice.. 2002-09-08 Jon Parise * ext/cyrus/config.m4: Capitalization 2002-09-08 Shane Caraveo * ext/standard/ftp_fopen_wrapper.c: someone missed code requiring ssl 2002-09-08 Stefan Esser * ext/standard/ftp_fopen_wrapper.c: ftp(s) fopen() wrapper does no longer ignore the ip returned by PASV. * NEWS: Added ftps:// fopen() wrapper to NEWS. * ext/standard/ftp_fopen_wrapper.c: Control connection gets closed in ssl mode now, too. 2002-09-08 Dan Kalowsky * sapi/nsapi/config.m4: Fix for bug #19290 2002-09-08 Stefan Esser * ext/standard/ftp_fopen_wrapper.c ext/standard/basic_functions.c: Added EXPERIMENTAL ftps fopen wrapper. For now this leaks the control connection stream because you cannot close the control connection in ssl mode before you read the data. 2002-09-08 Andi Gutmans * makedist.ZendEngine2: - Simplify makedist 2002-09-08 Sander Roobol * ext/standard/info.c: Fix typo 2002-09-08 Yasuo Ohgaki * main/SAPI.c: Added missing charset. * main/php_variables.c: MFH * main/php_variables.c: Fix last commit. This line isn't supposed to be replaced. 2002-09-07 Wez Furlong * NEWS: Mention php://output wrapper. 2002-09-07 Jan Lehnardt * ext/standard/info.c: - cosmetics 2002-09-07 Yasuo Ohgaki * NEWS: Fixed typo... * ext/mbstring/mbstring.c: This should fix var handling problems finally. 2002-09-07 Ilia Alshanetsky * ext/standard/http_fopen_wrapper.c: Added a check to ensure user_agent header is not sent if user_agent value if blank. 2002-09-07 Yasuo Ohgaki * NEWS: Fixed name * ext/iconv/iconv.c: Fixed errno hanlding. Patch by Moriyoshi Koizumi * NEWS: Update entry * main/php_variables.c: MFB * main/php_variables.c: Fixed POST/GET/COOKIE var handling 2002-09-07 Wez Furlong * ext/standard/file.c ext/standard/http_fopen_wrapper.c main/php_streams.h main/streams.c: Fix a couple of bad pointer indirections (oops). Lets stick to a single category of "http" for the "user_agent" context override. * ext/standard/php_fopen_wrapper.c: fix warning 2002-09-07 Jani Taskinen * ext/gd/config.m4: This was not a good idea. 2002-09-07 Wez Furlong * ext/standard/php_fopen_wrapper.c: Implement php://output wrapper, which can be used to write to the output buffer via PHPWRITE. * main/user_streams.c: Tag user streams as being URLs, so that safe mode restrictions will come into play. 2002-09-07 Hartmut Holzgraefe * main/SAPI.c: WebDAV MKCOL can have post data body, see rfc2518 8.3.1 2002-09-07 Sterling Hughes * ext/standard/http_fopen_wrapper.c: commit the correct/up-to-date version * ext/standard/basic_functions.h ext/standard/file.c ext/standard/http_fopen_wrapper.c: The stream context is untested, but it should/could work :) Either way it doesn't make the rest of the code bad. Wez -- please take a looksie for me :) * php.ini-dist php.ini-recommended: add the user_agent ini option. 2002-09-07 Yasuo Ohgaki * NEWS: Update entry 2002-09-07 Sergey Kartashoff * ext/mnogosearch/php_mnogo.c: - New mnogosearch extension features has been added to group results by site. - Mnogosearch module fixes and cleanups. 2002-09-07 Yasuo Ohgaki * ext/mbstring/mbstring.c: MFH * ext/mbstring/mbstring.c: Fixed array var handling. Patch by Moriyoshi Koizumi 2002-09-07 Sander Roobol * ext/gd/config.m4: Fix build with bundled gd when builddir!=srcdir 2002-09-07 Yasuo Ohgaki * NEWS: Just in case we have 4.2.4 * ext/mbstring/mbstring.c: MFH * ext/mbstring/mbstring.c: Fixed trancated value bug when array is used 2002-09-07 Ilia Alshanetsky * ext/standard/http_fopen_wrapper.c: Fixed a massive memory leak that occurs when an opened webpage returns a non 200 return code. 2002-09-07 Markus Fischer * NEWS: - This should have been in the release (but unfortunately wasn't) 2002-09-06 Jani Taskinen * configure.in: Fix the errors reported by Melvyn 2002-09-06 Georg Richter * ext/mysql/php_mysql.c: fixed typo 2002-09-06 James Cox * ext/xml/xml.c: remove uneeded def 2002-09-06 Sascha Schumann * acinclude.m4 ext/session/config.m4 ext/session/mod_files.c: Reenable pwrite/pread support The old checks supposed that pread/pwrite worked, if a declaration was found in . We now actually check whether they work successfully before using them. 2002-09-06 Anantha Kesari H Y * ext/xml/xml.c: NetWare related changes/modifications 2002-09-06 Derick Rethans * ext/standard/math.c ext/standard/pageinfo.c ext/standard/parsedate.y: - argh... this is getting annoying 2002-09-06 Anantha Kesari H Y * ext/standard/math.c ext/standard/microtime.c ext/standard/pack.c ext/standard/pageinfo.c ext/standard/rand.c: NetWare related changes/modifications * netware/sendmail.h: Main functions declarations for NetWare * netware/sendmail.c: Main functions for NetWare 2002-09-06 Derick Rethans * ext/standard/link.c ext/standard/mail.c: - Please do not use spaces for indentation! - Removed redundend ifdefs 2002-09-06 Anantha Kesari H Y * ext/standard/lcg.c ext/standard/link.c ext/standard/mail.c ext/standard/info.c ext/standard/image.c: NetWare related additions/modifications 2002-09-05 Zeev Suraski * main/php_version.h NEWS configure.in: Go with 4.2.3 (will be posted tomorrow) 2002-09-05 Joseph Tate * win32/.cvsignore: 2002-09-05 Dan Kalowsky * ext/standard/string.c: silence a windows build warning 2002-09-05 Jani Taskinen * ext/standard/filestat.c: Remove unnecessarily commented code. * ext/standard/dl.c: Remove unnecessary commented code. * ext/gd/config.m4: Using --with-zlib-dir should work now with phpized builds too. 2002-09-05 Derick Rethans * ext/standard/filestat.c: - Unbreak build * ext/standard/filestat.c: - Tabs for indentation * ext/standard/dl.c: - Please use tabs for indentation 2002-09-05 Anantha Kesari H Y * main/php_streams.h ext/standard/dl.c ext/standard/dns.c ext/standard/file.c ext/standard/filestat.c ext/standard/flock_compat.c ext/standard/fsock.c ext/standard/fsock.h ext/standard/ftp_fopen_wrapper.c ext/standard/head.c ext/standard/http_fopen_wrapper.c: NetWare related additions/modifications 2002-09-05 Ilia Alshanetsky * ext/standard/string.c: Fixed a buffer overflow that occurs when wordwrap is unable to calculate the correct number of times the multi-byte break needs to be inserted into the string. 2002-09-05 Edin Kadribasic * win32/php4dllts.dsp: Added UTF-8 support to pcre on windows as suggested by Wez Furlong. 2002-09-05 Anantha Kesari H Y * ext/standard/datetime.c ext/standard/basic_functions.c ext/snmp/snmp.c ext/pcre/pcrelib/internal.h: NetWare related additions/modifications * netware/start.c: File used by extensions like LDAP, MySQL etc. 2002-09-05 Derick Rethans * ext/standard/string.c: - php_error -> php_error_docref - corrected proto of implode() (to match the docs) 2002-09-05 Anantha Kesari H Y * ext/ldap/ldap.mak: NetWare makefile for LDAP Extension * ext/ldap/ldap.c: NetWare related additions/modifications 2002-09-05 Hartmut Holzgraefe * ext/standard/string.c: in stristr: this check was in the wrong place, the real version was some lines below, this one assumed the type was 'string' in any case now it looks like strstr 2002-09-05 Anantha Kesari H Y * ext/ftp/ftp.c ext/ftp/php_ftp.c: NetWare related additions/modifications into FTP files * netware/setbuild.bat netware/php-nw.bat: Batch file to set build type (Release/Debug) and Apache version to be built 2002-09-05 Jani Taskinen * ext/gd/config.m4: This _should_ fix those builds where gd.h might be in many places in the system. Not guaranteed, but now the path for the found gd.h is always first in the includes. * ext/gd/gd.c: Fix build with GD < 2.0.x 2002-09-04 Yasuo Ohgaki * ext/pgsql/pgsql.c: php_error -> php_error_docref 2002-09-04 Stefan Esser * main/SAPI.c: This 2 lines should have been removed when the header() code was rewritten. 2002-09-04 Jani Taskinen * sapi/cgi/config.m4 sapi/pi3web/config.m4 ext/xmlrpc/config.m4 ext/xslt/config.m4 ext/zlib/config0.m4 ext/session/config.m4 ext/xml/config.m4 ext/mbstring/config.m4 ext/mysql/config.m4 ext/pdf/config.m4 ext/curl/config.m4 ext/domxml/config.m4 ext/gd/config.m4 configure.in acinclude.m4: - Added --disable-all configure option. * configure.in: MFH: Fix the missing libgcc problems. * ext/cyrus/config.m4: ws fix * ext/cyrus/config.m4: Fix the shared build (nobody ever build this as shared?) 2002-09-04 Marcus Börger * sapi/cgi/cgi_main.c: Fix headers when default content type is used. 2002-09-04 Martin Kraemer * ext/cyrus/config.m4: The sasl.h file is in .../include/sasl/ (at least in cyrus-sasl-2.1.6) 2002-09-04 Jani Taskinen * ext/sockets/config.m4: Fix bug: #19212 2002-09-04 Sebastian Bergmann * ext/overload/overload.c main/internal_functions_win32.c: Don't build ext/overload with Zend Engine 2. 2002-09-04 Dan Kalowsky * ext/session/config.m4: sniper claims its safe to take these out as well. * ext/session/mod_files.c: taking out the PWRITE calls too * ext/session/mod_files.c: Taking out the PWRITE functions too... * ext/session/mod_files.c: MFH, removing PREAD for Bug #15983 * ext/session/mod_files.c: This fixes Bug #19022 and #15983 2002-09-04 Martin Kraemer * ext/fbsql/config.m4: Fix bogus test 2002-09-04 Anantha Kesari H Y * netware/phplib.mak: Makefile to build for NetWare: extensions, main, netware & regex files * netware/buildlib.bat: Batch file to build extensions and files under main, netware and regex folders * ext/bcmath/libbcmath/src/config.h: To include the NetWare config file 2002-09-04 Yasuo Ohgaki * php.ini-dist php.ini-recommended: Fixed mbstring.func_overload description. * ext/iconv/config.m4 ext/iconv/iconv.c ext/iconv/iconv.dsp ext/iconv/php_iconv.h ext/iconv/tests/translit.phpt: Fixed undefiend referece at build time. Fixed transilit test script. Make fixes available on Windows. Patch by Yoshimori Koizumi 2002-09-04 Dan Kalowsky * ext/fbsql/php_fbsql.c: Fix for bug #19155 UNTESTED. Unfortunately I don't have a way to test it hopefully the user will. * ext/fbsql/php_fbsql.h: No more C++ comments again * ext/fbsql/php_fbsql.h: No C++ comments, again! * ext/fbsql/php_fbsql.c: No C++ Comments * ext/fbsql/php_fbsql.c: No C++ comments 2002-09-03 Jani Taskinen * ext/standard/basic_functions.c ext/zlib/zlib.c: Use zend_ini_string instead of the 'alias'. 2002-09-03 Rasmus Lerdorf * ext/skeleton/create_stubs: Check for uppercase function names in .def files - patch from David Viner 2002-09-03 Marcus Börger * ext/exif/exif.c: Fix warnings again.... 2002-09-03 Jani Taskinen * ext/gd/gd.c: Patch by Melvyn to make ttf/ft string functions work again. 2002-09-03 Sascha Schumann * ext/ircg/ircg.c: fix prototype 2002-09-03 Jani Taskinen * NEWS: This does not belong here as it was MFHd.. 2002-09-03 Markus Fischer * NEWS: - Update 2002-09-03 Rui Hirokawa * ext/mbstring/mbstring.c: removed #ifdef for mbstring.encoding_translation. 2002-09-03 Derick Rethans * ext/exif/exif.c: - Fix #ifdefs 2002-09-03 Yasuo Ohgaki * php.ini-dist php.ini-recommended: Added mbstring.encoding_translation to php.ini-dist|recommended 2002-09-03 Rui Hirokawa * ext/mbstring/mbstring.dsp: *** empty log message *** * ext/mbstring/config.m4 main/config.w32.h.in: --enable-mbstr-enc-trans is abolished to prevent some problems about POST/GET/Cookie variables. the same functionality is controllable in php.ini option mbstring.encoding_translation (default:Off). 2002-09-02 Jan Lehnardt * sapi/cli/php_cli.c: - prepare non-html phpinfo output for zend extensions 2002-09-02 Markus Fischer * main/config.w32.h: - MFH as suggested by Derick, see HEAD commit for more on this * main/config.w32.h.in: - Enable strcoll() for win32 build 2002-09-02 Zeev Suraski * main/php_version.h configure.in: Make it stick - please do not revert * LICENSE: Backport license from 4.3 2002-09-02 Jani Taskinen * configure.in main/php_version.h: reset version to 4.2.3-dev (why is the change committed anyway?) 2002-09-02 Derick Rethans * ext/standard/file.c: - Fix the segmentation fault when magic_quotes_runtime was disabled as introduced in http://news.php.net/article.php?group=php.cvs&article=13690 2002-09-02 Zeev Suraski * main/php_version.h configure.in: Go RC2 2002-09-01 Sergey Kartashoff * ext/mnogosearch/php_mnogo.c: - Udm_Cat_Path, Udm_Cat_List, Udm_Get_Doc_Count functions have been fixed to work with mnogosearch-3.2.6 and later. - Removed search words highlighting while getting document URL in mnogosearch extention 2002-09-01 Sebastian Bergmann * main/main.c main/output.c main/php_globals.h main/php_output.h NEWS php.ini-dist php.ini-recommended: Per discussion on #php.bugs (+1 from at least Derick and Jani), revert double_buffering. 2002-09-01 Jani Taskinen * ext/xmlrpc/config.m4: Fix the shared build for real. (thanks to Brian France) 2002-08-31 Jan Lehnardt * ext/standard/info.c: - cosmetics 2002-08-31 Jani Taskinen * NEWS: Fix it back..(what was that commit????) 2002-08-30 George Schlossnagle * sapi/apache/mod_php4.c sapi/apache/mod_php4.h sapi/apache/sapi_apache.c: Cleaned up a bunch of code, fully integrated the class::method handler code into a single stack per handlers (for correct interleaving). Changed the syntax so that now they are of the form phpUriHandler /filename phpUriHandlerMethod Class::Method This now works for all handlers including response handlers. 2002-08-30 Adam Dickmeiss * ext/yaz/php_yaz.c: Bug fix: dont cache connection if proxy setting have changed 2002-08-30 Jani Taskinen * ext/xslt/config.m4: Fix shared build * ext/xmlrpc/config.m4 ext/xmlrpc/xmlrpc-epi-php.c: MFH: Fix for bug: #19124 (shared extension build fixes) * ext/xmlrpc/xmlrpc-epi-php.c ext/xmlrpc/config.m4: Fix bug: #19124, xmlrpc extension builds ok now as shared extension. * ext/gd/config.m4: xpm.h is sometimes in /usr/include/X11 (or /usr/X11R6/include/X11) * ext/pdf/pdf.c: Fix the build when bundled gd library is used 2002-08-29 George Schlossnagle * sapi/apache/mod_php4.c sapi/apache/sapi_apache.c: added the ability to set handlers as class methods (classes will need to be declared in a phpRequire statemenet, of course, or be otherwise available at the hook run-time (builtins)). This is currently only implemented for the uri trans handler it is usable as: phpUriHandlerCodeRef MyClass::MyMethod This can be greatly robustified from whre it stands now, but is a good proof of concept (hopefully!) 2002-08-29 Jan Lehnardt * ext/standard/info.c: - seperate registered streams. 2002-08-29 Ilia Alshanetsky * ext/standard/dns.c: Fixed the \0 check in previous patch. * ext/standard/dns.c: MFH fix for bug: #18966 * ext/standard/dns.c: Fixed bug #18966 2002-08-29 Jani Taskinen * ext/mcrypt/tests/001.phpt: Remove unnecessary whitespace 2002-08-29 Ilia Alshanetsky * ext/bz2/bz2.c: Added a check for a negative return value of php_stream_read, which if left uncheck can result in segv. 2002-08-29 Jan Lehnardt * main/php_ini.c: - reenable "no value" output. thanks to sebastian for pointing that out. 2002-08-29 Pierre-Alain Joye * pear/System.php: Hope to finnally got it, fixes notice (Thx to Sebastian) 2002-08-29 Marcus Börger * tests/basic/011.phpt: MFH (not with cli) 2002-08-29 Jan Lehnardt * ext/standard/info.c: - fix ZTS build. thanks to edin. 2002-08-29 Marcus Börger * ext/exif/exif.c: MFH (One zero to much) * ext/exif/exif.c: One zero to much 2002-08-29 Derick Rethans * ext/exif/config.m4: - EXIF is about meta data from images, not for digital cameras 2002-08-29 Jani Taskinen * ext/mysql/php_mysql.c: MFH fix for bug: #19159 * ext/mysql/php_mysql.c: Fix bug: #19159, mysql_field_count was available since 3.22.24 * NEWS: I would have thought this was clear to everyone already.. * ext/exif/config.m4: revert that undiscussed change until it is really agreed upon. 2002-08-28 Ilia Alshanetsky * ext/standard/info.c: Fixed compile warning (unused variable) Added a \n separator between Addition Modules 2002-08-28 Jan Lehnardt * ext/standard/info.c main/php_ini.c: - add phpinfo() support for CLI. 2002-08-28 Rasmus Lerdorf * ext/standard/html.c: Description didn't match the function here 2002-08-28 George Schlossnagle * sapi/apache/php_apache.c: added all the sub_request methods and logging methods 2002-08-28 Marcus Börger * ext/exif/config.m4: Enable EXIF by default as discussed with Rasmus 2002-08-28 George Schlossnagle * sapi/apache/mod_php4.c sapi/apache/mod_php4.h sapi/apache/php_apache.c sapi/apache/sapi_apache.c main/SAPI.c main/SAPI.h main/main.c: Added wrapper functions for the majority of the apache API_EXPORT functions as class methods for the ApacheRequest objects. broke sapi_activate into two functions to allow for reading of headers/cookies separately from request bodies (POST stuff). Altered some of the send_headers code in mod_php4.c to prevent sending headers twice (since a phpResponseHandler needs to be able to have full freedom for setting headers using the ap_*_header* functions. 2002-08-28 Christian Stocker * NEWS: correct entry about XsltObject->result_dump_*() 2002-08-28 Derick Rethans * ext/ming/ming.c: - Let's make this a little bit more professional :) * ext/domxml/php_domxml.c: - Whitespace 2002-08-28 Jason Greene * ext/sockets/sockets.c: Zero the structure so that when the tcp layer of the OS decides to ignore it, we do not think we are getting a value 2002-08-28 Dan Kalowsky * ext/standard/url_scanner.c: silence build warning, added default case 2002-08-28 George Schlossnagle * sapi/apache/sapi_apache.c sapi/apache/mod_php4.c sapi/apache/php_apache.c: added wrapper for ap_send_http_header so that phpResponseHandler is now working. Added protections to mod_php4's internal call to the same so that headers cannot be accidentally sent twice. * sapi/apache/mod_php4.c: This handler works much better when not commented out. :) 2002-08-28 Jani Taskinen * ext/mcve/mcve.c: This extension is not forced to be compiled as shared. * ext/mcve/php_mcve.h: Added the header and removed some commented out stuff (wrong place anyway) * ext/mcve/mcve.c: ws fixes * ext/mbstring/mbregex.c: Fix ZTS build 2002-08-27 George Schlossnagle * sapi/apache/mod_php4.c sapi/apache/php_apache_http.h: All handlers are now 'stacked' allowing for multiple handlers to be called in the order they are listed in the httpd.conf for a section. phpRequire is now supported (called out of the post-read request handler), and a first attempt at phpResponseHandler, a response-time type handler which is set by a SetHandler php-script phpResponseHandler /tmp/foo.php To allow for the stacked handlers, the entirety of zend_stack.c was imported into mod_php4.c. There is a patch pending to zend_stack.c to add the functionality so that all the redundant code can be removed. 2002-08-27 Brad House * ext/mcve/mcve.c ext/mcve/php_mcve.h: Adding a left-out command 2002-08-27 Marcus Börger * ext/gd/gd.c: Some requirements engineering: today necessary defines exists where needed. * ext/gd/gd.c: php_error_docref BUT didn't we decide to disable those functions when not supported instead of displaying an error? * ext/mbstring/mbregex.c ext/mbstring/mbstring.c ext/mbstring/php_mbregex.c ext/mbstring/mbfilter.c: php_error_docref * ext/mbstring/mbstring.c: Remove this nonsense - this makes the module unpredicable since we do not have default values in ini and more encodings will follow. 2002-08-27 George Schlossnagle * sapi/apache/mod_php4.c: Replaced handler loading commands such that what was php_value uri_handler /tmp/foo.php is now phpUriHandler /tmp/foo.php This fixes some bugs that caused handlers to be skipped or mysteriously 'unloaded', reduces the number of calls to zend_alter_ini_entries that are necessary, as well as allows for easier implementation of stacked handlers (which comes next). Added 2 new hooks, phpPostReadHandler and phpHeaderHandler (going to the obvious places). 2002-08-27 Christian Stocker * ext/domxml/php_domxml.c: MFH (fix some to long property strings) * ext/domxml/php_domxml.c: fix some to long property strings * ext/domxml/php_domxml.c: argh, domxml_doc_free is not yet ready for CVS :) * ext/domxml/php_domxml.c: stupid typo * ext/domxml/php_domxml.c: MFH (fix memleak in php_domxslt_string_to_xpathexpr) * ext/domxml/php_domxml.c: fix memleak in php_domxslt_string_to_xpathexpr 2002-08-27 Derick Rethans * NEWS: - "Use" is not a name :) 2002-08-27 Marcus Börger * ext/db/db.c ext/db/php_db.h: MFH * ext/db/db.c: -php_error_docref -nuke unused variable * ext/db/php_db.h: header for last commit 2002-08-27 Jani Taskinen * NEWS: cleanup 2002-08-27 Marcus Börger * ext/standard/tests/file/002.phpt ext/standard/file.c: MFH * ext/db/db.c: -fix memory leak on failure -only use one function for nearly identical things -fix stripslashes not working on input directly 2002-08-26 lukas schroeder * sapi/apache/php_apache.c: - add interface functions for headers_in, headers_out and err_headers_out 2002-08-26 Marcus Börger * run-tests.php: -reimplemented old style output (.exp, .out) -implemented diff format output -delete error logs on success * ext/standard/file.c: fix fwrite to no longer apply stripslashes on input string when magic_quotes_runtime is set On. * ext/standard/basic_functions.c: fix proto and tweak error message 2002-08-26 lukas schroeder * main/main.c: - put common sapi startup code into a function 2002-08-26 George Schlossnagle * sapi/apache/mod_php4.c sapi/apache/mod_php4.h sapi/apache/php_apache.c sapi/apache/php_apache_http.h sapi/apache/sapi_apache.c: Import of Lukas Schroeder's work to give php a full interface to apache 1.3.x's hook interface, and full class wrappers around the apache request object and it's interfaces. * main/SAPI.c main/SAPI.h main/main.c: new full apache-1.3.x hooks interface support initial import 2002-08-26 Wez Furlong * ext/com/COM.c ext/com/php_COM.h: Implement com_invoke_ex, which allows the user to specify the invoke kind flags, so that custom invocations can be made. Tidy up code for com_propget and com_propset, so that it can work with objects as well as resources. 2002-08-26 Derick Rethans * ext/standard/mail.c: - Whitespace * ext/standard/mail.c: - Use escape_shell_cmd() to allow multiple extra parameters to the invocation of the mailer as used in the fifth parameter to mail(). - Use escape_shell_cmd() to allow multiple extra parameters to the invocation of the mailer as used in the fifth parameter to mail(). 2002-08-26 Marcus Börger * NEWS: that propably wasn't a good idea and thus already removed 2002-08-26 Jani Taskinen * ext/imap/php_imap.h ext/imap/php_imap.c: MFH: bug fixes; #14410, #17503, #17999, #15595. Also some performance improvements. 2002-08-26 Pierre-Alain Joye * pear/scripts/pearize.in: Set 'defaultuser' if 'USER' env not found * pear/PEAR/Builder.php: Replace horrendous code :) * pear/System.php: Rule 1: Never quickly fix a thing in cvs Rule 2: follow rule 1 Thx rasmus :) 2002-08-25 Jason Greene * ext/sockets/sockets.c ext/sockets/unix_socket_constants.h: Implement socket errno values for UNIX based platforms. They are all prefixed with SOCKET_ to preserve name space Win32 will follow... 2002-08-25 Sebastian Bergmann * main/network.c main/php_network.h ext/ftp/ftp.c ext/ftp/ftp.h ext/ftp/php_ftp.c: Fix ZTS build. 2002-08-25 Wez Furlong * ext/standard/html.c: WS 2002-08-25 Ilia Alshanetsky * ext/standard/string.c: Slight optimization of php_strtoupper & php_strtoupper functions. 2002-08-25 Marcus Börger * ext/exif/tests/002.phpt: MFB * main/fopen_wrappers.c main/network.c main/php_variables.c main/safe_mode.c main/user_streams.c: use php_error_docref() 2002-08-25 Pierre-Alain Joye * pear/PEAR/Builder.php: Remove $_ENV usages, getenv() is used instead 'MAKE' and 'USER' are used, if 'USER' not found I set user to 'defaultuser' 2002-08-25 Marcus Börger * ext/standard/basic_functions.c ext/standard/file.c: improoved error messages 2002-08-25 Pierre-Alain Joye * pear/scripts/pearize.in: Remove $_ENV usages Remove $env arg in all functions and uses getenv instead Note only 'USER' env var is used * pear/System.php: Remove $_ENV usages, this causes problems with recommanded php.ini files Replace by getenv() 2002-08-25 Marcus Börger * main/output.c: Removed __output_handler as everybody seems against such implicit behaviour. Instead supply error message. 2002-08-25 Jani Taskinen * NEWS: Fix long line..and typo 2002-08-25 Derick Rethans * ext/curl/config.m4: - PHP's cURL extention now requires cURL version 7.9.8 - Bump up required version number of cURL to 7.9.8 2002-08-25 Marcus Börger * main/output.c: Use zend_is_callable() instead of php_check_object_method_array() and drop the latter. THX to Markus Fischer - i did not recognize this function. 2002-08-25 Wez Furlong * main/streams.c: Fix open_basedir. * ext/standard/file.c: Prevent possible problems with include_path. 2002-08-25 Marcus Börger * main/output.c: Reenable array(object,method) in ob_start() 2002-08-25 Wez Furlong * main/streams.c: Hopefully really fix #18022 this time. * main/streams.c: Potential fix for Bug#18022: Streams that are pipes on systems that HAVE_FLUSHIO should not be seeked as is required for plain files on those systems. * main/streams.c: Unify error messages. * ext/standard/string.c main/php_streams.h main/streams.c: Add a "closing" parameter for filters to determine if a flush is the last flush before the stream is closed. This allows filters to finish a chunk and write footers etc. * ext/ftp/ftp.c ext/ftp/php_ftp.c main/php_streams.h: Remove php_stream_error as discussed with Rasmus. Unify error messages for ext/ftp. (which was using php_stream_error). 2002-08-24 Yasuo Ohgaki * ext/pgsql/pgsql.c: Changed pg_connection_info()/pg_connection_reset()/pg_connection_busy()/pg_result_status()/pg_result_error() silently return FALSE when resource is not passed to them. * ext/mysql/php_mysql.c ext/mysql/php_mysql.h: Rename mysql_character_set_name() to mysql_client_encoding(). pg_client_encoding() is available from PHP4.0.3 and this function is available from PHP 4.3.0 2002-08-24 Marcus Börger * ext/mbstring/html_entities.c: Convert to unix, related to bug 18588 2002-08-24 Zeev Suraski * ext/mysql/php_mysql.c: Fixlet * NEWS ext/mysql/php_mysql.c: Undeprecate mysql_db_query() * ext/mysql/php_mysql.c: mysql_db_query() should not have been deprecated 2002-08-24 Marcus Börger * tests/basic/002.phpt tests/basic/003.phpt tests/basic/004.phpt tests/basic/005.phpt: MFH (skip if cli) 2002-08-24 Jani Taskinen * NEWS: Make this entry a little bit easier for eyes to catch. 2002-08-24 Stefan Esser * NEWS: Added news entry * ext/standard/mail.c: MFH * ext/standard/mail.c: Overwrite control chars in parameters with whitespace instead of truncating. 2002-08-24 Georg Richter * ext/mysql/php_mysql.c: changed zend_error -> php_error_docref() 2002-08-24 Derick Rethans * makedist: - Also make bz2 archives 2002-08-24 Den V. Tsopa * ext/mbstring/mbfilter.c: convert encoding to cp1251,cp866 was not working, fixed 2002-08-24 Derick Rethans * ext/standard/tests/array/003.phpt: - MFH 2002-08-24 Georg Richter * ext/mysql/php_mysql.c: changed error messages according to CODING_STANDARDS * NEWS: MySQL changes 2002-08-24 Yasuo Ohgaki * ext/pgsql/pgsql.c: Fixed typo * ext/pgsql/pgsql.c: Make pg_result_status() a little more useufl by ignoring invalid parameter and return FALSE. (i.e. pg_query() may return FALSE instead of result resource) 2002-08-24 Jani Taskinen * main/php_version.h configure.in: switch the version back to 4.2.3-dev here. 2002-08-24 Marcus Börger * ext/standard/file.c ext/standard/filestat.c ext/standard/formatted_print.c ext/standard/fsock.c ext/standard/ftok.c ext/standard/head.c ext/standard/image.c ext/standard/info.c ext/standard/iptc.c ext/standard/levenshtein.c ext/standard/mail.c ext/standard/math.c ext/standard/md5.c ext/standard/scanf.c ext/standard/sha1.c ext/standard/string.c ext/standard/syslog.c ext/standard/type.c ext/standard/aggregation.c ext/standard/array.c ext/standard/assert.c ext/standard/basic_functions.c ext/standard/browscap.c ext/standard/cyr_convert.c ext/standard/datetime.c ext/standard/dir.c ext/standard/dl.c ext/standard/dns.c ext/standard/exec.c: php_error_docref 2002-08-24 Zeev Suraski * makedist: Zend and TSRM already get checked out in php4 2002-08-24 Jani Taskinen * php.ini-dist php.ini-recommended: MFH * php.ini-dist php.ini-recommended: Remove relic from PHP3 days which is not useful anymore. 2002-08-24 Zeev Suraski * NEWS configure.in main/php_version.h: Update version number, prepare for release * ext/standard/basic_functions.c: Fix import_request_variables() * ext/standard/basic_functions.c: Fix bug #15106 2002-08-23 Zeev Suraski * ext/standard/mail.c: MFH security fix 2002-08-23 Jani Taskinen * ext/dba/dba.c ext/dba/php_dba.h: Made this extension to use the resource stuff * ext/pgsql/pgsql.c: ws fix 2002-08-23 Marcus Börger * ext/standard/tests/array/data.inc: MFH * ext/exif/exif.c ext/exif/tests/002.phpt: fixes magically mentioned in NEWS before being commited * NEWS: differentiate: Makus, Marcus 2002-08-23 Rasmus Lerdorf * ext/gd/gd.c: stream closing bug here too 2002-08-23 Wez Furlong * ext/gd/gd.c: Fix segfault reported by Rasmus. * main/main.c: Respect safe mode setting when opening scripts and things for the ZE. 2002-08-23 Jani Taskinen * NEWS: I like periods..:) 2002-08-23 Georg Richter * ext/mysql/libmysql/my_tempnam.c: fixed bug #18643 2002-08-23 Christian Stocker * ext/domxml/php_domxml.c ext/domxml/php_domxml.h: renamed xslt_dump_* to xslt_result_dump_* to avoid confusion * ext/domxml/php_domxml.c: fix memleak in xslt->dump_mem() 2002-08-23 Georg Richter * ext/mysql/php_mysql.c: fixed bug #19016 SSL is only available for MYSQL_VERSION_ID >= 40000 2002-08-23 Edin Kadribasic * NEWS: One more 2002-08-23 Rasmus Lerdorf * NEWS: Should probably mention this fix too. 2002-08-23 Georg Richter * ext/mysql/php_mysql.c: fixed bug #16965 2002-08-23 Edin Kadribasic * NEWS: Due credit to Steph. 2002-08-23 Zeev Suraski * NEWS: Update NEWS (got as far as ext/standard (not inclusive) in the ext/ dir) Please take a look at it and update it if you find 'bugs'. * ext/session/session.c: Avoid changing behavior in a bug-fix release * NEWS: Update, remove somewhat useless entry (we'd have to figure out a way to update it) * main/output.c ext/zlib/zlib.c: Fix ob_gzhandler()'s handling of requests w/o compression but that do have the Accept-Encoding header * main/output.c ext/zlib/zlib.c: Fix ob_gzhandler()'s handling of requests without compression, but that do have an Accept-Encoding header 2002-08-23 Martin Jansen * pear/File/Passwd.php: * Suppress warning when having empty lines in password file. 2002-08-23 Zeev Suraski * main/fopen_wrappers.c main/fopen_wrappers.h ext/standard/reg.c: Fix a few warnings (MFH) 2002-08-23 Jani Taskinen * NEWS: Sync with HEAD * NEWS: Update/cleanup. 2002-08-22 Wez Furlong * acinclude.m4 main/streams.c: Add a configure check to see if the seeker function in an fopencookie uses off_t or the newer, more portable "fpos_t *". The check could perhaps be more refined, as the test program will segfault on older systems (like mine) that use off_t. 2002-08-22 Ilia Alshanetsky * ext/mime_magic/config.m4: Fixed a typo 2002-08-22 Marcus Börger * ext/gd/gd.c: more php_error_docref * ext/gd/gd.c ext/gd/gd_ctx.c: php_error_docref... 2002-08-22 Wez Furlong * main/streams.c: Fix compile warnings under win32 * ext/zlib/zlib_fopen_wrapper.c: *cough* * ext/zlib/zlib.c ext/zlib/zlib_fopen_wrapper.c: Fix error messages. 2002-08-22 Marcus Börger * ext/gd/libgd/gd.c ext/gd/libgd/gd_topal.c ext/gd/libgd/gdft.c: fiw warnings 2002-08-22 Christian Stocker * ext/domxml/php_domxml.c: - moved xslt_dump_ to better place - removed unused variables * ext/domxml/php_domxml.h ext/domxml/php_domxml.c: - Added XsltObject->dump_file($result,$filename[,$compression]) for dumping xslt-result directly into a file. (chregu) 2002-08-22 Edin Kadribasic * win32/install.txt: Sync install.txt file with the one provided in other 4.2.x distro's. 2002-08-22 Christian Stocker * ext/domxml/config.m4 ext/domxml/php_domxml.c ext/domxml/php_domxml.h: - XsltObject->dump_file() will follow - bumped up needed libxslt version to 1.0.18 2002-08-22 Rasmus Lerdorf * sapi/apache/mod_php4.c: MFH the xbithack fix 2002-08-22 Christian Stocker * ext/domxml/php_domxml.c: return version number of linked libxml2, not of the one, which it was compiled against 2002-08-22 Marcus Börger * CODING_STANDARDS: fix examples * ext/gd/gd.c: fix zts build 2002-08-22 Mark L. Woodward * ext/msession/msession.c ext/msession/reqclient.h: Removed C++ comments 2002-08-22 Edin Kadribasic * ext/mime_magic/mime_magic.c: magic.mime seems to be more common name for the file. * ext/mime_magic/mime_magic.c ext/mime_magic/mime_magic.dsp: Mime_magic extensions builds on windows now. 2002-08-22 Ilia Alshanetsky * ext/mime_magic/config.m4 ext/mime_magic/mime_magic.c: Instead of hardcoding the path of magic.mime file, try to find the file inside common paths for the file. * ext/ncurses/ncurses_functions.c: Fixed a number of compile warnings. 2002-08-22 Marcus Börger * main/output.c: fix warning * main/streams.c: fix php_error_docref parameters 2002-08-22 Christian Stocker * ext/xslt/php_sablot.h ext/xslt/sablot.c: - Added xslt_backend_version() and xslt_backend_name() for getting information about the processor backend. (chregu) 2002-08-22 Stefan Roehrich * ext/zlib/zlib.c: Fixed prototype. Fixed double printing of function name in docref error messages. 2002-08-22 Christian Stocker * php.ini-recommended php.ini-dist: add allow_webdav_methods as option * main/SAPI.c: do not check for POST twice * sapi/apache/mod_php4.c main/SAPI.c main/main.c main/php_globals.h: - Added php.ini option "allow_webdav_methods" to allow handling of WebDAV http requests within PHP scripts. (chregu) 2002-08-22 Tim Toohey * ext/gd/libgd/gd.h ext/gd/libgd/gd_topal.c ext/gd/libgd/gd.c ext/gd/php_gd.h ext/gd/gd.c: (PHP imagecolormatch) makes a palette image match the colours in the true-color version. (PHP imagelayereffect) extended alpha-channel mixing effects for the bundled GD library 2002-08-22 Jason Greene * ext/pcntl/pcntl.c ext/pcntl/php_pcntl.h ext/pcntl/php_signal.c ext/pcntl/php_signal.h ext/pcntl/test-pcntl.php: Changed callback hash table to be initialized and destroyed per reqeust (allows the ability to use request life zvals as handles) Nuked warnings Modified test script to adjust to new ticks backend Some slight WS fixes 2002-08-22 Jani Taskinen * ext/xmlrpc/libxmlrpc/simplestring.c: kill some compile warnings * ext/standard/base64.c: style fix * ext/tokenizer/tokenizer.c: comment out unused variable * ext/domxml/php_domxml.c: kill compiler warning (unused variable) * ext/readline/config.m4: MFH * ext/readline/config.m4: Fix typo. * sapi/apache/mod_php4.c: These functions are not used elsewhere. 2002-08-21 sniper * sapi/apache/mod_php4.c: Fix ZTS build 2002-08-21 helly * ext/exif/tests/003.phpt ext/exif/tests/004.phpt: These require exif and mbstring * tests/basic/012.phpt: Test argument passing for CLI * tests/basic/011.phpt: This does not work for CLI * run-tests.php: Added ARGS section to allow passing arguments to CLI tests 2002-08-21 sniper * ext/standard/array.c: MFH 2002-08-21 iliaa * ext/standard/string.c: Added monetary.h to prevent compile warning. Fixed a memory leak inside money_format function, which occures if the parameters to the function are not valid. Fixed a segmentation fault inside money_format in the event the value to be formated is >1024 bytes. Made the return value of money_format be null terminated. * configure.in: Added a check for monetary.h needed for strfmon inside string.c 2002-08-21 helly * ext/exif/tests/003.phpt ext/exif/tests/004.phpt: Reflect recent changes to exif.c * ext/standard/array.c: Fixes array test 004.phpt. Nice copy paste error. * ext/standard/tests/array/003.phpt: Patch from Melvyn Sopacua finally fixes it (bug 19006). 2002-08-21 sebastian * ext/standard/string.c: Fix ZTS build. 2002-08-21 derick * ext/domxml/CREDITS ext/mysql/CREDITS: - Proper format for CREDITS files 2002-08-21 steinm * ext/domxml/CREDITS: - gave overdue credits to christian 2002-08-21 kalowsky * ext/java/java.c: This final change enables the ext/java to compile on OSX. 2002-08-21 iliaa * ext/ftp/ftp.c: Fixed compile warning. 2002-08-21 helly * ext/standard/tests/array/003.phpt ext/standard/tests/array/004.phpt: add ini setting precision - this does not fix the real problem here * ext/mbstring/tests/020.phpt: more ini settings * main/output.c main/php_output.h: full decopling of size parameters of ob_start() and internal buffer handlers 2002-08-21 kalowsky * ext/java/config.m4 ext/java/java.c: One more patch up towards OSX compatibility... 2002-08-21 helly * ext/standard/tests/general_functions/008.phpt: Add var_dump float format test * ext/standard/tests/general_functions/007.phpt: Add combined base64 and md5 test * ext/standard/tests/array/002.phpt ext/standard/tests/array/001.phpt: fix array tests someone must have changed precision in php.ini-dist from 14 to 12 * main/snprintf.c: make snprintf and f,g,G converions of snprintf/spprintf C99 complient * main/output.c: Ignore double_buffering for ob_start(). 2002-08-20 helly * php.ini-dist php.ini-recommended: speling - thanks (Masaki Fujimoto), acually this wasn't my best piece of doc * main/output.c: Revert ob_start() defaults to 40K/10K until i find a better solution. 2002-08-20 kalowsky * ext/imap/config.m4: MFH or MSG... your choice... * ext/imap/config.m4: Correcting english in config * sapi/nsapi/config.m4: Bug fix for #18999 * sapi/nsapi/config.m4: Fix for Bug #18999 2002-08-20 wez * main/streams.c: Fix newly introduced leak in the debug build. * ext/standard/basic_functions.c ext/standard/file.c ext/standard/file.h ext/standard/php_string.h ext/standard/string.c main/php_streams.h main/streams.c: Implement filter API for streams. Filters can be stacked onto a stream; more details will follow in docs and on php-dev. Implement "string.rot13" filter Allows the following script: $fp = fopen("file.txt", "r"); stream_filter_prepend($fp, "string.rot13"); // File contents will be subject to a rot13 transformation before // being output. fpassthru($fp); fclose($fp); * ext/standard/base64.c: fix vim modeline 2002-08-20 helly * php.ini-dist php.ini-recommended: speling - thanks derick * ext/zlib/zlib.c: change to php_error_docref() * php.ini-dist php.ini-recommended: note about double_buffering * ext/standard/url_scanner_ex.c ext/standard/url_scanner_ex.re ext/zlib/zlib.c: Changed handling of output buffer sizes. * main/main.c main/output.c main/php_globals.h main/php_output.h: Changed handling of output buffer sizes. 2002-08-20 sander * ext/standard/var_unserializer.c: MFH * ext/standard/var_unserializer.re: MFH (var_unserializer.c follows in a second) 2002-08-20 Sascha Schumann * ext/standard/filestat.c: MFH 2002-08-20 sniper * ext/oci8/config.m4: remove tabs 2002-08-20 derick * ext/standard/fsock.c: - Fix for the compiler on Compaq Tru64 4.0F PK3 (bug #18974) 2002-08-20 helly * ext/mbstring/mbfilter.c ext/mbstring/unicode_table_ru.h: NO C++ comments 2002-08-20 edink * ext/oci8/oci8.dsp: Windows build supports returning the sql statement which failed. * ext/dbx/dbx_sybasect.c: MFH (Remove C++ comments, bug #17628) * ext/oci8/config.m4 ext/oci8/oci8.c: Fixed build with Oracle 8.0.x (bug #18973). * ext/standard/dir.c: MFH (Fix for bug #14657, patch by Steph Fox) * win32/readdir.c win32/readdir.h: MFH (Fix for bug #11214, patch by Steph Fox) 2002-08-20 kalowsky * ext/odbc/php_odbc.c: WS fix 2002-08-19 wez * main/network.c main/php_network.h main/php_streams.h main/streams.c ext/standard/file.c: Remove php_stream_sock_set_blocking and replace with php_stream_set_option which can be used in a similar way as ioctl() to set options for streams. Current options include buffering and blocking support. o Buffer control is support for stdio based streams. o Blocking/non-blocking is supported for stdio and socket based streams. 2002-08-19 iliaa * ext/standard/microtime.c: Convert the value of tz_minuteswest inside struct timezone on Windows to minutes from seconds. 2002-08-19 sniper * ext/java/config.m4: Fix the build when using --with-java without any path 2002-08-19 dickmeiss * ext/yaz/php_yaz.c: Make options piggyback and timeout work with ZOOM 2002-08-19 Zeev Suraski * main/fopen_wrappers.c main/fopen_wrappers.h: Fix a few warnings * ext/standard/reg.c: Fix a warning 2002-08-19 sander * ext/standard/var_unserializer.c: Sync with var_unserializer.re * ext/standard/tests/serialize/003.phpt ext/standard/var_unserializer.re: Made unserialize handle floats with an E notation - bug #18654 Patch by Christophe Sollet . (I'll commit a new var_unserializer.c in a second) * run-tests.php: Don't know what this line was supposed to DO!?!? 2002-08-19 helly * main/output.c: -use of php_error_docref -some more information in ob_get_status() * main/main.c: -allow changing html_errors any time changing display_errors is already -use sizeof for strftime call -removed unused #define -mention CODING_STANDARDS as documentation 2002-08-19 Rasmus Lerdorf * sapi/apache/mod_php4.c: Fix xbithack bug finally (see bug #16515) 2002-08-19 edink * sapi/cgi/cgi_main.c: MFH 2002-08-19 chregu * ext/domxml/php_domxml.c: w3c adjustments :) - has_attributes returns empty string if attribute is not there - parent_node returns null, if no parent 2002-08-19 edink * sapi/cgi/cgi_main.c: Debug functions should only work in debug mode. 2002-08-19 kalowsky * sapi/cgi/cgi_main.c: MFH 2002-08-19 stas * ext/standard/var_unserializer.c: ZE2 compatibility fix 2002-08-19 chregu * ext/domxml/php_domxml.c: MFH 1.174 (Make domxml_xslt_process() working again.) MDH 1.187 (DOMXML crash on removing previously created attributes) 2002-08-18 holger * sapi/pi3web/pi3web_sapi.c: Some minor changes related to Pi3Web 2.0.1. 2002-08-18 sesser * sapi/apache/mod_php4.c: make POST requests work again 2002-08-18 stas * ext/standard/var_unserializer.re: ZE2 compatibility fix 2002-08-18 holger * sapi/pi3web/pi3web_sapi.c: Removed unused local variable header_line. 2002-08-18 iliaa * ext/standard/file.c: Corrected if() syntax in previous patch. * ext/standard/file.c: Fixed a segmentation fault that would occur if an entry contained a non-terminated enclosure. Bug #12556 2002-08-18 avsm * ext/pdf/config.m4: include PDFLIB_SHARED_LIBADD in the pdflib test, or it fails with unresolved symbols on OpenBSD 2002-08-18 James Cox * ext/db/db.c: reverting to 1.73 for steph (sfox@php.net) 2002-08-18 kalowsky * ext/bcmath/bcmath.c: MFH * ext/bcmath/bcmath.c: Bug Fix #18960 - Submitted by alan_k@php.net 2002-08-17 Zeev Suraski * ext/odbc/php_odbc.c: Fix build * ext/session/mod_files.c: Use mtime instead of atime, as we always update the session file anyway. 2002-08-17 kalowsky * ext/imap/php_imap.c: MFH - fix Irix compiler errors 2002-08-17 sniper * NEWS: AFAIK, 4.3.0 will not contain ZE2.. 2002-08-17 iliaa * ext/standard/pack.c: Backported memory leak fixes from the 4.3 branch 2002-08-17 kalowsky * ext/vpopmail/php_vpopmail.c: MFH * sapi/nsapi/config.m4: MFH, builds and reportadly re-enables nsapi support * ext/odbc/php_odbc.c: MFH, fixing close crash case on Windows 2002-08-17 venaas * configure.in: Default is enable, so better --disable-ipv6 I guess 2002-08-17 Zeev Suraski * sapi/apache/mod_php4.c: MFH Apache threading fix 2002-08-17 venaas * configure.in main/network.c: Added --enable-ipv6 and only look up AAAA in DNS when enabled 2002-08-17 kalowsky * ext/bz2/bz2.c: when I learn to type, life will be good 2002-08-17 sesser * main/rfc1867.c: MFH * main/rfc1867.c: IE does not use quotes but now we are safe... 2002-08-17 chregu * ext/domxml/php_domxml.c: More W3C conformance stuff (they returned all false before..) - DomNode->attributes() returns NULL, if not found. - DomNode->first_child() returns NULL, if not found - DomNode->last_child() returns NULL, if not found. - DomNode->namespace_uri() returns NULL, if not found. 2002-08-17 sesser * main/rfc1867.c: fixed the user supplied patch for bug #18792 2002-08-17 kalowsky * ext/bz2/bz2.c: Reverting back to original method as requested by Wez 2002-08-17 Rasmus Lerdorf * php.ini-dist: Add warning about atime requirement for session gc 2002-08-16 sniper * ext/imap/php_imap.c: ws fixes 2002-08-16 kalowsky * ext/bz2/bz2.c: no calloc works like this. sorry about that. * ext/bz2/bz2.c: Fix for bug #18947 submitted by pgr75@hotmail.com * main/rfc1867.c: Fix for bug #18792 submitted by t.bubeck@reinform.de * ext/imap/php_imap.c: Silence a compiler warning, and returns the SUCCESS value on PHP_MINIT 2002-08-16 Andi Gutmans * ext/dio/dio.c: - Use tabs instead of spaces for indentation! - Fix all sorts of ugly whitespace things. - People, please write code according to our standards even if you don't - like them. 2002-08-16 iliaa * ext/standard/pageinfo.c: Fixed a compile failure in Win32 caused by previous patch. Changed else statement to comply with PHP coding standards. 2002-08-16 jason * ext/sockets/sockets.c: Nuke warnings on strict compilers 2002-08-16 iliaa * ext/standard/pageinfo.c: Added a handler for php -r '' for SAFE_MODE 2002-08-16 wez * main/streams.c: Fix a little leak. 2002-08-16 Sterling Hughes * ext/standard/basic_functions.c: clean this up a bit 2002-08-16 wez * main/safe_mode.c main/streams.c main/php_streams.h: Enhance Ilia's recent patch to query the wrapper subsystem to determine if a filename is a URL and thus if safe-mode checks should be skipped. 2002-08-16 chregu * ext/domxml/php_domxml.c: More on the way to W3C coformance: 2002-08-16 iliaa * main/safe_mode.c: Make https:// be exempt from safe_mode checks, just like http:// & ftp:// are. * ext/standard/basic_functions.c: Added safe_mode & open_basedir check when a user is chaning ini options that specify file system paths. Fixes bug #17168. 2002-08-16 Stig Bakken * tests/lang/035.phpt: - Added set_exception_handler() function for registering a global, catch-all exception handling function - Added set_exception_handler() function for registering a global, catch-all exception handling function (Stig) * Makefile.global: * allow using the TESTS make variable again to determine which tests are run 2002-08-15 Zeev Suraski * sapi/apache/mod_php4.c: Fix a NASTY multithreading bug with in the Apache module 2002-08-15 edink * sapi/apache2filter/apache_config.c sapi/apache2filter/sapi_apache2.c: MFH (make apache2filter work with Apache 2.0.40) 2002-08-15 Zeev Suraski * ext/session/php_session.h: Make unset($_SESSION['foo']) actually remove the variable from the session, if register_globals is off. * ext/fribidi/fribidi.c ext/fribidi/php_fribidi.h: Update email address 2002-08-15 kalowsky * ext/session/session.c: Correcting some english in the comment... * NEWS: marking the fix for Bug #18401 in NEWS * ext/standard/array.c: Fix for bug #18401, makes shuffle() properly generate all possibilities. Patch provided by Adam Trachtenberg 2002-08-15 chregu * ext/domxml/php_domxml.h: include libxml/xinclude.h to make some compilers happy 2002-08-15 Martin Jansen * pear/PEAR/Common.php: * Fix bug #18918. * Add some PHPdoc comments. 2002-08-15 kalowsky * ext/java/Makefile.frag: A fix suggested by chregu (who doesn't have karma) to re-enable older java JDKs to work. 2002-08-15 chregu * ext/domxml/php_domxml.c: proto fixes * ext/domxml/php_domxml.h ext/domxml/php_domxml.c: - Added DomNode->set_namespace(uri[,prefix]) (chregu) - Added third optional parameter (prefix) to DomDocument->create_element_ns() - generate prefix from random number, if not provided. 2002-08-15 sniper * NEWS: MFH * NEWS: be more verbose 2002-08-15 alan_k * ext/dio/dio.c: changed default stop bits to a valid value * ext/dio/dio.c: changed default stop bits * ext/dio/dio.c ext/dio/php_dio.h: adding dio_tcsetattr and ASYNC support 2002-08-15 yohgaki * NEWS: Add 4.2.2 news just in case it's released. * NEWS: news for disabling trans-sid by default. but no entry for depreciation of --enable-trans-sid :( (from 4.2.0) 2002-08-15 kalowsky * main/win95nt.h: silencing some windows build warnings 2002-08-15 Zeev Suraski * ext/vpopmail/php_vpopmail.c: coming to think of it, it shouldn't be necessary at all (thanks Jani :) * ext/vpopmail/php_vpopmail.c: Fix build 2002-08-15 sniper * NEWS: hot, damn hot. 2002-08-14 helly * ext/standard/info.c: do not include "php_have_iconv.h" 2002-08-14 yohgaki * ext/session/session.c php.ini-dist php.ini-recommended: MFH. Trans SID related changes. * ext/session/session.c: Forgot to update source default. 2002-08-14 kalowsky * ext/imap/php_imap.c: Comming a fix for a compile error found in Bug #15630 * ext/odbc/php_odbc.c: Silencing a compilier warning on windows * ext/java/config.m4: Updating the error message to state a difference between libraries and include. Also restoring old for search to keep BC on configure 2002-08-14 chregu * ext/domxml/php_domxml.c: - let DomNode->replace_child always behave correctly (acc. to W3C specs) if the newchild had the same parent as the old child, nothing happened, which seemed strange behaviout to me... 2002-08-14 kalowsky * NEWS: Giving Ilia his props * sapi/apache/mod_php4.c: Fix for Bug #9280 with regards to an Expect header. patch submitted by Ilia * ext/java/config.m4: Adding a check for the binaries rather than just the directories. 2002-08-14 chregu * ext/domxml/php_domxml.c: DomNode->replace_node moves instead of copies node. 2002-08-14 kalowsky * ext/java/config.m4: JavaC doesn't take flags like this, Java jar does, pay attention kalowsky * ext/java/config.m4: cleaning up the displayed path (removing the ./ in the middle) * sapi/nsapi/config.m4: Fix for Bug #18794, and probably various others with nsapi * ext/odbc/php_odbc.c: correcting these to be only docref's not docref1's * ext/java/config.m4 ext/java/java.c: Adding in MSG_RESULT check and \n for configure output viewing 2002-08-14 chregu * ext/domxml/php_domxml.c: - fix for bug #17771 (insert_before misbeaviour (DOM L2 spec.)) - DomNode->insert_before behaves now according to W3C spec ie. new_child is moved, not copied. (chregu) 2002-08-14 kalowsky * ext/java/config.m4: Correcting mis-versioned comment * ext/java/config.m4: JAVA_INCLUDE, not JAVE_INCLUDE * ext/java/config.m4: A little more clean up on the error messages, with a sample JDK 1.3 path to libjava.so * ext/java/config.m4: correcting the AC_MSG_RESULT line * ext/java/config.m4: adding in PATH check for JavaJar as well... 2002-08-14 chregu * ext/domxml/php_domxml.c ext/domxml/php_domxml.h: - Added some namespace support with DomNode->add_namespace(uri, prefix) and DomDocument->create_element_ns(uri, nodename) (chregu) 2002-08-14 kalowsky * ext/java/config.m4: Fix a bug for a user provided path as eru. 2002-08-14 chregu * ext/domxml/php_domxml.h: bump up api version number * ext/domxml/php_domxml.c: fix for bug #18196 * ext/domxml/php_domxml.c: fix for bug #18395 (DOMXML crash on removing previously created attributes) * ext/domxml/php_domxml.c: - DomNode->child_nodes() returns empty array instead of false, if no - child nodes are found (chregu) 2002-08-14 helly * NEWS: -remove corrupt entry until change has been completed -minor fixes -honor Derick for his idea error messages to point to the manual 2002-08-14 yohgaki * php.ini-dist php.ini-recommended: Added trans_sid security risk examples. 2002-08-14 dets * ext/mbstring/mbfilter.c ext/mbstring/mbfilter.h ext/mbstring/mbstring.c ext/mbstring/mbstring.h ext/mbstring/unicode_table_ru.h: Revert from patch added mb_guess_encoding to previous version 2002-08-14 yohgaki * ext/mbstring/README: Add warning... It seems posting message to php-dev/php-cvs does not work! 2002-08-14 dets * ext/mbstring/mbfilter.c ext/mbstring/mbfilter.h ext/mbstring/mbstring.c ext/mbstring/mbstring.h ext/mbstring/unicode_table_ru.h: Added new function mb_guess_encoding, based on symbols rating 2002-08-14 kalowsky * NEWS: Adding in updates for the fixes to ODBC, and markers for the pack/unpack memory leaks 2002-08-13 kalowsky * ext/odbc/php_odbc.c: Fix for Bug #17572 * ext/standard/pack.c: Fixed another memory leak, patch provided by Ilia * ext/standard/pack.c: Fixes a memory leak which results when an invalid format code is specified. Patch by Ilia * CODING_STANDARDS: As per the suggestion on php-dev, now please #ifdef 0_ * NEWS: Updating to reflect ODBC additons and default timeout * ext/odbc/php_odbc.c: fixing my misunderstanding of the php_error_docref * ext/cpdf/cpdf.c: Removing the PHP_31 tag... 2002-08-13 helly * CODING_STANDARDS: -better use external example -say NULL is intended -correct example * php.ini-dist php.ini-recommended: docref_root and docref_ext for php_error_docref() 2002-08-13 kalowsky * main/network.c: Correcting as per discussion with Iliaa and Edin on efnet://#php.bugs * main/network.c: Bug Fix #16113, as reflective of a php-dev convo between wez and iliaa * ext/odbc/php_odbc.c: Fixing the php_error_docref's to be compliant with the standard. 2002-08-13 helly * CODING_STANDARDS: comments & php_error_docref * ext/exif/exif.c: some work on the messages * main/main.c: allow target anchor only for docref parameter 2002-08-13 fujimoto * Makefile.global: cleaning up include files created by PHP_DEFINE when 'make distclean'ed 2002-08-13 kalowsky * ext/qtdom/config.m4: Fix for Bug #18873 2002-08-13 Rasmus Lerdorf * ext/standard/file.c ext/standard/dir.c: Missing proto * ext/oci8/oci8.c: Single-line comments please 2002-08-13 kalowsky * ext/odbc/php_odbc.c: spelling error * ext/odbc/php_odbc.c: Added more folding markers.... 2002-08-13 Rasmus Lerdorf * ext/ldap/ldap.c ext/standard/basic_functions.c ext/mbstring/mbstring.c ext/xmlrpc/xmlrpc-epi-php.c main/output.c: bool not boolean * main/output.c: Use int, not integer. * ext/standard/dir.c: dir() returns an instantiated object, not a class. * ext/mcve/mcve.c: Don't use long as a type * ext/ftp/php_ftp.c: Fix typo * ext/exif/exif.c: Don't use long as a type 2002-08-13 kalowsky * ext/db/db.c: Fix for Bug #18746 by sfox and I 2002-08-13 Rasmus Lerdorf * sapi/apache/php_apache.c: Fix proto 2002-08-13 kalowsky * ext/odbc/php_odbc.c: Let to php_error_docref revolution begin 2002-08-12 helly * ext/exif/exif.c: use of php_error_docref * main/main.c main/php.h: fix for extension = "" make php_verror available * ext/gd/libgd/gd.c: -wrong fabsf define for MSVC.6 -MIN and MAX only if undefined 2002-08-12 kalowsky * ext/odbc/php_odbc.c: Point corrected by Markus * ext/odbc/php_odbc.c: Umm forgot to clean up the error messages, and add a stop for looping. * ext/odbc/php_odbc.c: cleaned up to work with OpenLink iODBC better 2002-08-12 wez * ext/curl/config.m4 ext/curl/curl.c ext/curl/curlstreams.c ext/curl/php_curl.h ext/standard/basic_functions.c: Implement curl based wrappers. Currently read-only, and http is the only thing tested. Because of this, using them can be controlled by configure: --with-curlwrappers Use CURL for url streams Not for production use... This enables http, https, ftp and ldap protocols as streams. 2002-08-12 helly * ext/gd/libgd/gd.c: ups wrong include committed * main/spprintf.c: increase allocation chunks * ext/gd/config.m4 ext/gd/libgd/gd.c: check for fabsf and floorf in config.m4 msvc.6 needs a define, msvc.net needs special treatment 2002-08-12 chregu * ext/domxml/php_domxml.c ext/domxml/php_domxml.h: - Added $DomDocument->xinclude() for substitution of XIncludes in a DomDocument (chregu) 2002-08-12 helly * ext/gd/libgd/gd.c: more conversion fixes 2002-08-12 edink * main/spprintf.c main/spprintf.h: Export spprintf() so that extension can link properly on win32. 2002-08-12 pbannister * main/php_ini.c: Minor cleanups to path building and php*.ini search logic. Made path_seperator string static (which solves the lookup problems Sebastian saw). 2002-08-12 kalowsky * ext/odbc/php_odbc.c: okay confirmation they don't exist in another driver... they're gone 2002-08-11 helly * ext/gd/libgd/gd.c: -quick hack to allow compilation under windows again -correct solution to follow tomorrow 2002-08-11 kalowsky * win32/php4dllts.dsp: Added the php_odbc_includes.h file * ext/odbc/php_odbc.c ext/odbc/php_odbc.h: The start of adding odbc_data_source() functionality 2002-08-11 helly * ext/gd/libgd/gd_gd.c: missed to commit this fix: correct since this is only a flag * ext/gd/libgd/gd2copypal.c ext/gd/libgd/gd_jpeg.c ext/gd/libgd/gdft.c ext/gd/libgd/gd.c: try even more to fix those warnings..... 2002-08-11 wez * ext/standard/http_fopen_wrapper.c: Missing word... 2002-08-11 kalowsky * ext/java/config.m4: The start of adding in MacOSX compatibility. No objections on the php-dev list from the sent patch for a week. Test and fix. * TODO: removing the TODOs done already. 2002-08-11 wez * ext/standard/ftp_fopen_wrapper.c ext/standard/http_fopen_wrapper.c main/php_streams.h: Properly implement TSRM parameters to the new log_error function... (Thanks Marcus!) Add a convenience macro for importing a stream from a zval. 2002-08-11 helly * ext/gd/libgd/gd_topal.c: try to get this work ... * ext/gd/libgd/gd.c ext/gd/libgd/gd_gd.c ext/gd/libgd/gd_gd2.c ext/gd/libgd/gd_jpeg.c ext/gd/libgd/gd_png.c ext/gd/libgd/gd_topal.c ext/gd/libgd/gd_wbmp.c ext/gd/libgd/gdft.c ext/gd/libgd/gdhelpers.c ext/gd/libgd/wbmp.c: try to fix those warnings..... 2002-08-11 wez * main/network.c: More verbosity when activating SSL on a socket fails. * README.STREAMS ext/standard/ftp_fopen_wrapper.c ext/standard/http_fopen_wrapper.c main/php_streams.h main/streams.c: Introduce an error stack for wrappers, to help prevent multiple errors and warnings (some of which are bogus) when there are problems opening streams. Implement sanity check on the mode used to open ftp and http connections. This fixes Bug 12004. * main/main.c: Minor fix for html_errors=on in php_error_docref. 2002-08-11 yohgaki * ext/zlib/zlib.c php.ini-dist php.ini-recommended: Changed my mind. Let users decided whether users want larger chunk size or not. enable output_buffering also. (Marcus, Yasuo) * ext/zlib/zlib.c: Generally speaking, sending packets less than 1KB is not efficient. We're better to take some benchmarks see if removing extra buffer is actually a good idea or not. 2002-08-10 helly * sapi/cli/php_cli.c: change order of initialisation to allow making filename available through $_SERVER variables (Bug #18657) 2002-08-10 wez * main/streams.c: remove obsolete TSRMLS_FETCH * ext/openssl/openssl.c: correct proto 2002-08-10 Tomas V.V.Cox * pear/System.php: ZE2 fix on calls to mkdir() (thanks Brad Bulger ) 2002-08-10 helly * ext/standard/url_scanner_ex.c ext/standard/url_scanner_ex.re ext/zlib/zlib.c main/output.c: corrected handling of internal output buffers minor fixs * ext/zlib/zlib.c: no need to start additional first buffer when output compression is first buffer * ext/zlib/zlib.c: should fix all windows warnings 2002-08-10 sebastian * main/network.c: Fix ZTS builds. 2002-08-09 helly * ext/zlib/php_zlib.h ext/zlib/zlib.c php.ini-recommended ext/standard/head.c main/main.c main/output.c main/php_output.h php.ini-dist: Improved handling of output buffers (see news)\n#No trim for the string parameter... * main/main.c: docref shall either be NULL or a reference to a manual page without an extension or an external reference starting with 'http://'. 2002-08-09 georg * ext/mysql/php_mysql.c: forgot to remove another LOCAL_INFILE opion call 2002-08-09 wez * configure.in main/network.c ext/standard/file.c: Centralize some blocking socket related code. * ext/openssl/tests/001.phpt: syntax highlighting for vim 2002-08-09 helly * ext/standard/head.c: possible memoryleak 2002-08-09 georg * ext/mysql/libmysql/acinclude.m4: fixed bug #18815 2002-08-09 yohgaki * php.ini-dist: Move unserialize_callback_func description a little * php.ini-recommended: Add unserialize_callback_func to php.ini-recommended. * php.ini-recommended php.ini-dist: Added note for output_handler usage. (with Marcus and Adam's fix) 2002-08-09 James Cox * main/streams.c: Copy() fixed to return 1 on 0 byte files. Patch by Ilia A . 2002-08-08 yohgaki * ext/standard/file.c: Remove duplicated checks. 2002-08-08 helly * main/main.c: No missleading 2002-08-08 James Cox * ext/gd/libgd/gdft.c: thunder seems to have stopped 2002-08-08 hholzgra * ext/standard/info.c: reverting ' to \" to stop stupid discussions although i still do not believe the arguments are reasonable ... 2002-08-08 helly * main/main.c: Say FIXME to non function calls and non TSRM builds. Both will currentls not show a default reference. * main/main.c main/php.h main/php_globals.h: rename php_error_func to php_error_docref and support Wez idea that solves ToDo requirement to point to PHP Manual in error messages. 2002-08-08 sebastian * ext/ftp/ftp.c ext/ftp/php_ftp.c: Fix warnings. 2002-08-08 helly * ext/standard/php_mail.h: those are allways defined -> fixes warning in basic_functions.c 2002-08-08 James Cox * ext/gd/libgd/gdft.c: Reverting patch. after more investigation this doesn't help in all that many cases, and with Wez's better patch, sometimes degrade's quality. 2002-08-08 hholzgra * ext/standard/info.c: the order to do things is save-compile-commit no variations and make sure editor and shell are in the same dir :( * ext/standard/info.c: fix for #18782 (setting background color without making sure the text color is readable on it) someone should change all this to make use of CSS as we already have a CSS block in there, but i do not know enough about it oh, btw: changed all the ugly uses of \" in tag attriutes to ' as i was already on it ;) 2002-08-08 sesser * main/rfc1867.c: A full hard disk is no reason to leak memory... 2002-08-08 mfischer * CODING_STANDARDS: - Add note how php_error() messages SHOULD (rfc2119) look like. 2002-08-08 georg * ext/mysql/php_mysql.c: Ups, forgot to remove load_infile tests. Thx to Brad Bulgar 2002-08-08 kalowsky * sapi/nsapi/config.m4: fix for bug #18794, not checking for actual files 2002-08-08 yohgaki * main/php_variables.c: Add some assertion * ext/iconv/iconv.c: Forgot this one. Fix build * ext/iconv/config.m4: Fix build 2002-08-07 georg * ext/mysql/CREDITS ext/mysql/php_mysql.c: added zend_error messages for deprecated functions inserted zak and me in author list/credits * ext/mysql/php_mysql.c: removed unsued constants (MYSQL_USE_RESULT and MYSQL_STORE_RESULT) 2002-08-07 helly * main/php.h main/main.c: -new functions php_error_func<0> to support unified error messages 2002-08-07 phanto * sapi/cgi/cgi_main.c: dump memory leaks on shutdown 2002-08-07 jtate * ext/domxml/php_domxml.c: php_domxml.c * ext/domxml/php_domxml.c: 2002-08-07 helly * ext/exif/exif.c: left on debug infos * ext/exif/exif.c: Ignore additional thumbnails 2002-08-07 bradmssw * ext/mcve/mcve.c ext/mcve/php_mcve.h: more syncing with libmcve-3.0 2002-08-07 yohgaki * ext/gettext/gettext.c: Fixed crash. Patch by 2002-08-06 kalowsky * ext/java/java.c: A folding we will go, a folding we will go, adding the fold and vim lines to make this easier to follow 2002-08-06 markonen * Makefile.global acinclude.m4 configure.in: Fix the framework support * ext/iconv/iconv.c: Updated proto to match the function (fix compile bustage on osx) * Makefile.global sapi/cgi/config.m4 sapi/cli/config.m4: The link lines don't need any of $DEFS, $INCLUDES, $EXTRA_INCLUDES or $CPPFLAGS, right? Removed them. Added frameworks to $COMMON_FLAGS. 2002-08-06 bradmssw * ext/mcve/mcve.c ext/mcve/php_mcve.h: sync to libmcve-3.0 2002-08-06 Tomas V.V.Cox * pear/PEAR/Registry.php: Changed Windows 9x detection code (reported by Alex Merz) 2002-08-06 markonen * sapi/cgi/config.m4 sapi/cli/config.m4 Makefile.global acinclude.m4 configure.in: Support compiling and linking against Darwin / Mac OS X frameworks 2002-08-06 kalowsky * ext/exif/exif.c: Keeping function prototype variables the same 2002-08-06 helly * ext/exif/exif.c: datatype inconsistency found by Dan Kalowsky 2002-08-06 Sascha Schumann * ext/standard/var_unserializer.c: Touch file 2002-08-05 phanto * ext/com/COM.c: removed a possible NULL pointer referencing inside an error handler * ext/com/VARIANT.c: found a memleak 2002-08-05 kalowsky * ext/imap/php_imap.c ext/imap/php_imap.h: Removing the imap_popen command... because as Jani puts it "it never worked and it never will work" until IMAP servers support this feature. 2002-08-05 venaas * ext/ldap/ldap.c: Made ldap_connect/bind/unbind() use zend_parse_parameters() 2002-08-05 helly * ext/standard/info.c: Correct carset if iconv is active * main/output.c main/php_output.h: Added php_ob_handler_used to check if a specific output handler is used in c. * ext/iconv/iconv.c: ws fix * main/SAPI.c: -keep mimetype until sapi deactivation -move NULL check for sapi_apply_default_charset to proper position. * ext/iconv/iconv.c: -fix one warning -send Content-Type Header with charset 2002-08-05 alan_k * pear/Console/Getopt.php: revert change - this was due to an bug in php HEAD a few days ago 2002-08-05 helly * win32/php4dll.dsp win32/php4dllts.dsp: Add html_entities.c 2002-08-05 phanto * win32/php4dllts.dsp: added testcases to project file 2002-08-05 sniper * NEWS: consistency 2002-08-05 alan_k * pear/Console/Getopt.php: Fixed array_shift messing up array_slice.. 2002-08-05 helly * NEWS: :-) * ext/standard/basic_functions.c main/output.c main/php_output.h: -New function ob_list_handlers 2002-08-04 Shane Caraveo * ext/standard/var_unserializer.c ext/standard/var_unserializer.re ext/standard/php_var.h: need to export var_replace and var_destroy for win32 2002-08-04 helly * ext/mbstring/mbstring.dsp: move html_entities.c to proper place * ext/standard/info.c: -Send charset US-ASCII or ini setting default_charset. 2002-08-04 sniper * ext/mhash/mhash.c ext/mhash/php_mhash.h: Add PHP_MINFO_* 2002-08-04 helly * ext/mbstring/mbfilter.c: -Correct mime_name for HTML-ENTITIES encoding is of cause US-ASCII -Full list of ASCII aliases 2002-08-04 sander * pear/Console/Getopt.php: Nuke notice (thanks to Arnaud Limbourg) 2002-08-04 helly * ext/mbstring/mbregex.c ext/mbstring/mbstring.c: -Fix warnings (fixed all?) 2002-08-04 georg * ext/standard/info.c: ups.. :) 2002-08-04 gluke * ext/mnogosearch/php_mnogo.c: - a small fix to mnogosearch extension (affecting UDM_BROWSER_CHARSET) 2002-08-04 georg * ext/standard/info.c: added meta tag (w3c compliance) Thx to Ilia Alshanetsky (ilia@prohost.org) 2002-08-04 helly * ext/mbstring/mbstring.dsp: -Add new file to windows build * ext/mbstring/config.m4 ext/mbstring/html_entities.c ext/mbstring/mbfilter.c ext/mbstring/mbfilter.h ext/mbstring/tests/020.phpt: -New encoding/decoding HTML-ENTITIES. * ext/mbstring/mbstring.c: -Allow double quotes for encoding lists (if used in ini for example) -New parameter 'L' for mb_http_input() to retieve input encoding as comma separated string. comma separated string. (marcus) 2002-08-03 jflemer * ext/standard/tests/general_functions/proc_open.phpt: Close pipes to avoid deadlock. Submitted By: Melvyn Sopacua 2002-08-03 kalowsky * ext/imap/php_imap.c: Cleaning up the imap_get_quotaroot return array to remove useless data 2002-08-03 Rasmus Lerdorf * main/SAPI.c: Yup, sizeof() includes the space for the \0 2002-08-03 helly * run-tests.php: -additional section INI that allows to set special ini settings on call by adding '-c foo=bar' strings to php call. Each line must have format foo=bar. This of cause only works for cli version. -made sections SKIPIF,INI,GET,POST optional 2002-08-03 gluke * ext/mnogosearch/index.php: * ext/mnogosearch/index.php ext/mnogosearch/php_mnogo.c: - UDM_PARAM_STORED mnogosearch parameter has been added to set stored address. 2002-08-03 Andi Gutmans * ext/mbstring/mbstring.c ext/mbstring/mbstring.h: - Fix build on Windows. Also please don't use Java style opening function - bracket indentation. 2002-08-03 gluke * ext/mnogosearch/php_mnogo.h ext/mnogosearch/index.php ext/mnogosearch/php_mnogo.c: - An Udm_Make_Excerpt function has been added to mnogosearch extension to support excerpts while using with mnogosearch-3.2.5 or later. 2002-08-03 rodif_bl * ext/standard/array.c: one last fix for array_shift 2002-08-02 jflemer * ext/standard/exec.c: Fix typo in #if. Bug #17538. 2002-08-02 helly * ext/mbstring/mbfilter.c ext/mbstring/mbfilter.h ext/mbstring/mbregex.c ext/mbstring/mbstring.c ext/mbstring/mbstring.h main/rfc1867.c: -use const to clarify code -fix tsrmls build (therefore rfc1867.c) 2002-08-02 hholzgra * ext/standard/basic_functions.c ext/standard/config.m4 ext/standard/php_string.h ext/standard/string.c: added money_format() function this is similar to C-libs strfmon(), using the same format string semantics but a different function prototype, so i decided to give it a more speaking name similar to number_format() 2002-08-02 gluke * ext/mnogosearch/php_mnogo.c: - UDM_PARAM_WORD_MATCH icorrect behavior has been fixed in mnogosearch extension 2002-08-02 hirokawa * ext/standard/string.c main/SAPI.c main/SAPI.h main/main.c main/php_content_types.c main/php_main.h main/php_variables.c main/rfc1867.c ext/mbstring/mbstring.c ext/mbstring/mbstring.h: made sapi_register_treat_data() to support multibyte input encoding translation without MBSTR_ENC_TRANS and changed php_treat_data to php_default_treat_data. 2002-08-01 sr * main/SAPI.c: Fixed wrong usage of strncmp. 2002-08-01 rodif_bl * ext/standard/array.c: array_pop wasnt setting next index 2002-08-01 sniper * ext/standard/array.c: That was not correct.. * ext/standard/array.c: Reset index when doing array_pop() * ext/standard/tests/array/006.phpt: Add test for the index resetting. 2002-08-01 Rasmus Lerdorf * ext/standard/exec.c: Ugh 2002-08-01 kalowsky * ext/imap/php_imap.c: Adding in some BC for users to imap_get_quota() function 2002-08-01 sniper * ext/standard/tests/array/005.phpt ext/standard/tests/array/006.phpt: Added tests for array_shift/array_pop. * ext/standard/array.c: Nuke compile warning. * ext/standard/array.c: - Removed the DOS line endings - Changed the '//' comment (this is C, not C++) to /* */ * tests/func/006.phpt: Fix the levels. (php.ini-dist has output_buffering OFF) * tests/lang/034.phpt: Use the constant instead of string for locale type. 2002-08-01 Sascha Schumann * ext/pgsql/config.m4: MFH *.a check 2002-08-01 helly * main/SAPI.c: - free mimetype and statusline early if no longer needed or in deactivation 2002-08-01 Rasmus Lerdorf * main/SAPI.c: Need room for the \0 here to avoid an overflow 2002-08-01 Zeev Suraski * ext/mbstring/mbstring.c: MFH per Rui's request 2002-08-01 rodif_bl * ext/standard/array.c: made array_shift re-index like it did before previous fix 2002-08-01 yohgaki * main/php_variables.c: MFH Cannot take NULL w/o mbstring. 2002-07-31 jason * NEWS: perhaps this tiem i will get it right * NEWS: Fix unwrapped entry * NEWS: Fix my broken entry 2002-07-31 Sterling Hughes * ext/curl/curl.c: add support for the curl dns cache 2002-07-31 helly * ext/exif/exif.c: -fix warnings in windows build * main/SAPI.c: -problem with CLI/mbstring/output buffering 2002-07-31 Zeev Suraski * main/php_variables.c: Fix for non-mbstring builds. Bad Yasuo! :) * ext/mbstring/mbstring.c: Fix crash 2002-07-31 kalowsky * ext/odbc/php_odbc_includes.h: WS * ext/odbc/php_odbc.c: Just adding in an error check that seems to work here well. 2002-07-31 sniper * ext/standard/array.c: Reverted the patch..it breaks the original behaviour of at least array_shift. 2002-07-31 kalowsky * ext/imap/php_imap.c ext/imap/php_imap.h: removing the useless +1's on sizeof() and adding the mail_parameter for the getquot inside the imap_get_quotaroot function. thank Jani. 2002-07-30 kalowsky * ext/imap/php_imap.c: fixes a typo in the word "limit", adds the null character to the strlen, and seems to make imap_get_quotaroot return the correct values despite cclients claim of "getquotaroot list improper". 2002-07-30 rodif_bl * ext/standard/array.c: fixed bugs 16063 and 16068 increased preformance of array_pop and array_shift 2002-07-30 sesser * ext/ftp/php_ftp.c: ftp_close returns now TRUE on success and FALSE on failure. 2002-07-30 kalowsky * ext/standard/filestat.c: Commiting Steph@php.net's patch to re-enable touch on Win32 machines 2002-07-30 Rasmus Lerdorf * ext/ext_skel: Add --skel=dir option to ext_skel (patch from David Viner) * ext/standard/parsedate.y NEWS: Fix strtotime() "next" keyword handling. * NEWS: WTF? What sort of bogus commit was that? Fine, here you go. 2002-07-30 sniper * NEWS: . 2002-07-30 Rasmus Lerdorf * NEWS: . * ext/standard/string.c: Fix for #18638 (str_rot13 bug) 2002-07-30 dickmeiss * ext/yaz/php_yaz.c: Fixed proxy setting for ZOOM 2002-07-30 sniper * NEWS: hot, damn hot. 2002-07-29 Sterling Hughes * ext/xslt/sablot.c: add sablotron version, patch by Christian Stocker... 2002-07-29 dickmeiss * ext/yaz/php_yaz.c: Make PHP part of Z39.50 implementation name * ext/yaz/php_yaz.c: Use type ext rather than raw for ZOOM record fetch 2002-07-29 kalowsky * NEWS: updating the NEWS file 2002-07-29 chregu * ext/domxml/php_domxml.c: - nodename is not always set, check if it really is. - make force_ref for aliases as well 2002-07-29 edink * win32/php4dllts.dsp: Fixed windows build by adding sha1.c and sha1.h to the project file. * ext/standard/dir.c: Fixed bug #14657 (patch by Steph Fox) * win32/readdir.c win32/readdir.h: Fixed bug #11214 (patch by Steph Fox) * main/php_ini.c: First try to open php-SAPI.ini and if it fails fall back to regular php.ini file. For example cli version of PHP will first try to open php-cli.ini in the usual ini file search path and only if it fails will it try to open php.ini using the same path. 2002-07-29 Sascha Schumann * NEWS: style police 2002-07-29 sniper * sapi/apache/config.m4 sapi/apache2filter/config.m4 acinclude.m4: MFH: Fix for Apache version check. 2002-07-28 sniper * ext/mbstring/mbstring.c: MFH 2002-07-28 yohgaki * ext/xmlrpc/config.m4: FHM * ext/xmlrpc/config.m4: Allow xmlrpc-epi header files stored under include/xmlrpc-epi 2002-07-28 derick * ext/standard/md5.c ext/standard/sha1.c: - Copy and paste error -> unify error messages 2002-07-28 sesser * ext/standard/basic_functions.c ext/standard/config.m4 ext/standard/php_standard.h ext/standard/sha1.c ext/standard/sha1.h: Added sha1, sha1_file functions. * ext/standard/filestat.c: MFH 2 * ext/standard/filestat.c: MFH 2002-07-28 helly * php.ini-dist php.ini-recommended: -add & document ini settings for exif * ext/exif/exif.c: -decode several MarkerNotes -correct offset information in debug mode 2002-07-28 tal * pear/scripts/pear.in: * Fixed E_NOTICE on pear -V 2002-07-28 sesser * NEWS: (re)added /ext/ftp news 2002-07-28 sr * main/SAPI.c ext/zlib/php_zlib.h ext/zlib/zlib.c: Commit patch as discussed on LinuxTag and posted to php-dev in June. Disables zlib.output_compression for scripts with image/ content-type header (fixes bug #16109) and makes it possible to switch zlib.output_compression during script execution before the headers are sent. 2002-07-28 sniper * NEWS: - Removed the 2 last entries. * README.CVS-RULES: No exceptions. 2002-07-28 yohgaki * ext/pgsql/pgsql.c: Unify error messages 2002-07-28 helly * ext/gd/gd.c: forgot to move imeageellipse out of #ifdef HAVE_LIBGD20 2002-07-28 yohgaki * ext/mbstring/mbstring.c: MFH * ext/mbstring/mbstring.c: Fixed query string handling. Now some.php?a&b=1;c works. * main/php_variables.c: MFH 2002-07-28 tal * pear/scripts/pear.in: pear -V now shows pear version, php version and ZE version. 2002-07-28 Stig Bakken * pear/package-PEAR.xml: * feature/fixed bug * pear/PEAR/Command/Install.php: * added "upgrade-all" command * pear/PEAR/Installer.php: * don't abort install if errors are found in the package, display a warning instead 2002-07-28 yohgaki * main/php_variables.c: Fixed some.php?a&b&c does not initilize $_GET['a'], $_GET['b'], $_GET['c'] when mbstr-enc-trans is disabled. 2002-07-27 phanto * win32/php4dllts.dsp: add dispatch.c 2002-07-27 hirokawa * ext/mbstring/mbstring.c main/SAPI.c main/SAPI.h: fixed: output encoding translation by mb_output_handler() in ext/mbstring was not usable when Content-Type is set by header(). 2002-07-27 sesser * ext/ftp/ftp.c: Do not leak data connection. 2002-07-26 sniper * ext/curl/curl.c: - Fix bug: #18509, e.g. setting CURLOPT_BINARYTRANSFER succeeds always. - Also set the binary mode ONLY if the passed value is true.. 2002-07-26 fmk * ext/ftp/ftp.c: Fizing ZTS build 2002-07-26 sesser * ext/ftp/ftp.c ext/ftp/ftp.h ext/ftp/php_ftp.c ext/ftp/php_ftp.h: [EXPERIMENTAL] Added functions for asynchronous FTP transfers 2002-07-26 helly * ext/exif/exif.c: Missing Photoshop tags 2002-07-26 kalowsky * ext/imap/php_imap.c: forgot to make the same change to imap_get_quota... * ext/imap/php_imap.c: Minor memory fix suggested by Zeev 2002-07-26 georg * ext/standard/datetime.c: Bugfix: #18532 Fixed week number calculation in accordance with ISO 8601 2002-07-26 sesser * ext/ftp/php_ftp.c: fixed cut & paste typo 2002-07-26 kalowsky * ext/imap/php_imap.c ext/imap/php_imap.h: Adding initial support for PHP imap_get_quotaroot * ext/imap/php_imap.c ext/imap/php_imap.h: (PHP imap_get_quota) updated to properly reflect the RFC 2087 as per bug #14673 per RFC 2087, closes bug #14673 (kalowsky, Sander Steffann) 2002-07-26 Sascha Schumann * sapi/thttpd/thttpd_patch: Fix segfault due to unchecked null pointer 2002-07-26 Tomas V.V.Cox * pear/Archive/Tar.php: In theory this will fix a problem in Window trying to delete a not closed file 2002-07-26 helly * ext/gd/gd.c: reapply patch for imageellipse beeing wrappet to imagearc if missing 2002-07-26 sesser * ext/ftp/CREDITS ext/ftp/ftp.c ext/ftp/ftp.h ext/ftp/php_ftp.c ext/ftp/php_ftp.h: Added (Auto)Resuming functionality to ftp_(f)get/(f)put via optional 5th parameter. 2002-07-26 Tomas V.V.Cox * pear/scripts/pear.bat: use -d output_buffer=0 to workarround the PHP flush() problem * pear/PEAR/Installer.php: download package if force is set * pear/package-PEAR.xml: revert my change from PHP_BINDIR to bin_dir * pear/package-PEAR.xml: Use install-as attrib for pear.bat too, so it gets installed in @bin_dir@ * pear/scripts/pear.bat: Use script arg separator '--' Clean up unused stuff * pear/PEAR/Config.php: Use DIRECTORY_SEPARATOR instead of hardcoded '/' * pear/System.php: Workarround to the empty $_ENV * pear/Console/Getopt.php: use $GLOBALS['HTTP_SERVER_VARS'] instead * pear/Console/Getopt.php: Silence NOTICE 2002-07-26 sesser * ext/standard/filestat.c: all functions based on php_stat are now safe mode aware... 2002-07-26 sniper * NEWS: When Britney learns to sing, I will quit this.. 2002-07-25 sniper * acinclude.m4 sapi/apache/config.m4: - Fixed bug: #18560, the macro was not defined always. * configure.in: MFH: fix bug #18570 * main/main.c: Allow setting post_max_size and upload_max_filesize in .htaccess files too * ext/imap/config.m4: Fixed bug: #18561. 2002-07-25 derick * ext/standard/basic_functions.c: - Added parameter to print_r which returns the variable representation instead of echoing it. - Added parameter to print_r which returns the variable representation instead of echoing it. 2002-07-25 sesser * main/main.c: MFH * main/main.c: do not dtor empty elements 2002-07-25 derick * ext/tokenizer/tokenizer.c: - MFH for fix for bug #16939 2002-07-25 helly * ext/exif/exif.c: -handling of thumbnails in sub IFDs (the Photoshopway for TIFF) -Some Photoshop specific tags 2002-07-24 sesser * main/php_variables.c: MFH * main/php_variables.c: break out if there is no data to work on. 2002-07-24 derick * ext/standard/head.c: - MFH for fix for bug #16626 * main/SAPI.c: - MFH for fix for bug #18268 2002-07-24 yohgaki * ext/standard/incomplete_class.c ext/standard/php_incomplete_class.h ext/standard/type.c: is_object() returns FALSE if object is a "incomplete object". Raise E_NOTICE, instead of E_ERROR, for setting/getting properties to/from a "incomplete object". 2002-07-24 steinm * ext/hyperwave/hw.c: - removed unused variable 2002-07-24 helly * ext/exif/exif.c: -naming convention -better notices -(D)WORD are unsigned datatypes -started to split tygs into different arrays that would allow to handle vendor specific tags after detection of their markers 2002-07-23 Jim Winstead * ext/standard/credits.c: restore shane to list of members of php group (got lost somewhere along the way) 2002-07-23 holger * sapi/pi3web/pi3web_sapi.c: Removed some outdated lines from init_request_info(). 2002-07-23 Sascha Schumann * configure.in main/php_version.h: Working on 4.2.3 now * .cvsignore: Add autom4te.cache * ext/dbx/dbx.c: MFH remove \r * ext/dbx/dbx.c: Remove \r 2002-07-23 edink * ext/pcre/config.m4: MFB (patch by Troels Arvin ). Added pcre include path to global list of includes in order to allow use of external pcre libs. * ext/pcre/config.m4: Allow pcre.h to be in $PREFIX/include/pcre since this is the case with some Linux distributions (patch by Troels Arvin ). 2002-07-23 sniper * configure.in: Fix bug: #18308. (uname -a sometimes has extra linefeeds) * configure.in: This should fix those solaris+gcc bugs when --enable-libgcc is not used * ext/gd/config.m4: Fix bug: #18479. Better error message what was not found. * NEWS: 2002-07-22 jan * ext/standard/datetime.c: - merge forgotten WS fix which makes non gcc compilers groan. (#17621) 2002-07-22 jmoore * NEWS: Added news item about bug 13866 in response to bug 14752 2002-07-22 jason * ext/ftp/ftp.c ext/standard/fsock.c ext/standard/ftp_fopen_wrapper.c ext/standard/http_fopen_wrapper.c main/network.c main/php_network.h: Switch streams socket abstraction to use a timeval structure instead of an integer to allow subsecond timeouts. This supports the previous behavior of fsockopen() Fixes bug #16261 2002-07-22 helly * ext/exif/exif.c: added some more tags from WinXP changed conersion for TAG_FMT_SBYTE & BYTE 2002-07-22 Tomas V.V.Cox * pear/install-pear.php: By the moment trust that the dependencies are good 2002-07-22 helly * ext/exif/exif.c: added EXIF Version 2.2 Tags 2002-07-22 Tomas V.V.Cox * pear/packages/Net_Socket-1.0.1.tar: Bundle Net_socket, needed for Net_SMTP 2002-07-22 sniper * ext/informix/ifx.ec: Fix typo.. 2002-07-22 georg * NEWS: new mysql-functions for PHP 4.3.0 2002-07-22 yohgaki * ext/pgsql/pgsql.c: Copy empty_string, fixed crash. 2002-07-21 helly * ext/exif/exif.c: unify error messages & notices 2002-07-21 georg * ext/mysql/php_mysql.c: Automatic rollback for non committed transactions * ext/mysql/php_mysql.c: removed changes for mysql_select_db (optional parameter) Why: 1) Its not the common way to add additionally functionality for functions or features which are already implemented in SQL. Therefore also a lot of mysql functions are marked as deprecated (and will be removed in near future) 2) The implemented workaround works only when mysql_select_db was called before (fetching the databasename from mysql->conn.db). It returns invalid or inconsistent results e.g.: - when "USE databasename" via mysql_query was used - when database was dropped or grant privileges had changed. In conjunction with persistent connection, there are also some inconsistencies, cause mysql_select_db returns the databasename from an old connection. To determine the database name just use the SQL command "SELECT DATABASE()" * ext/mysql/php_mysql.c: fixed bug in mysql_real_escape_string: allocated 1 more byte for '\0' terminating character 2002-07-21 Stig Bakken * LICENSE: * yeah yeah * LICENSE: * split #3 into two paragraphs again, like the Apache license we once borrowed it from 2002-07-21 markonen * acinclude.m4 sapi/cgi/config.m4 sapi/cli/config.m4: Made PHP_ADD_LIBPATH use the $ld_runpath_switch and changed the Darwin link lines in sapi/cli and sapi/cgi to use $NATIVE_RPATHS. This is a tentative fix for #18450. 2002-07-21 Sascha Schumann * build/build.mk build/buildcheck.sh buildconf: Move autoconf-2.13 check into buildcheck.sh where we already have version parsing code and (more importantly) proper error checking for missing autoconf. * build/build2.mk: One should not ignore AC_PROG_CPP was called before AC_PROG_CC because this error caused the Solaris issue 2002-07-21 derick * configure.in: - Merges sascha's fix 2002-07-21 Sascha Schumann * configure.in: Fix warning Noticed by: Derick 2002-07-21 Stig Bakken * pear/packages/Mail-1.0.tar pear/packages/Net_SMTP-1.0.tar: * bundle these releases * pear/Mail.php pear/package-Mail.xml: * moved to /pear cvs 2002-07-21 yohgaki * ext/pgsql/pgsql.c ext/pgsql/php_pgsql.h: Added pg_fetch_all() that fetch all rows in result. Useful and faster when there is enough memory. 2002-07-21 Stig Bakken * pear/HTTP.php: * already moved to /pear * pear/PEAR/Dependency.php: * support "zend" dependency type * pear/package-Net_SMTP.xml: * moved to /pear cvs * pear/package.dtd: * added missing license element * added "zend" dependency type * pear/PEAR.php: * always enable track_errors * added throwError method (simpler version of raiseError) * LICENSE: * license out of "alpha" 2002-07-20 derick * NEWS: - Typos * configure.in: - Merge Sascha's builds tools fix * main/rfc1867.c: - Merge Stefans patch that fixes the remote vulnarability * NEWS configure.in main/php_version.h: - Update NEWS and version numbers 2002-07-20 James Cox * buildconf: proper patch to cvsclean for bad autoconf. 2002-07-20 Sascha Schumann * configure.in: MFH fix for wrongly detected CPP on platforms such as Solaris where a package might be installed which actually does not contain a real compiler. 2002-07-20 sniper * NEWS: I love rock'n'roll...laalalaa (britney sucks) 2002-07-20 Sascha Schumann * buildconf: reverse bad patch james, when you send me email about your patch which does not work, why don't you wait for a reply first before committing the non-working stuff? 2002-07-20 yohgaki * ext/pgsql/pgsql.c: Fixed php_pgsql_convert's bool type handling. * ext/pgsql/pgsql.c: Hmm. My PostgreSQL returns "bool" for boolean now. * ext/pgsql/pgsql.c: Fixed convetion when null string is passed to php_pgsql_convert() * ext/pgsql/pgsql.c: Fixed crash. 2002-07-20 James Cox * buildconf: more work for buildconf. forces a cvsclean if using a bad am. more ZE/zE2 tests. 2002-07-20 Sascha Schumann * acinclude.m4 configure.in: Improve/fix handling of --disable-rpath Might or might not fix #18374 2002-07-19 jason * main/network.c main/php_network.h: Fix feof() on win32 Bug #18436 2002-07-19 sniper * main/network.c: ws fix 2002-07-19 phanto * ext/rpc/com/com_wrapper.c ext/rpc/skeleton/skeleton.c ext/rpc/skeleton/skeleton.h ext/rpc/com/com.c ext/rpc/handler.h ext/rpc/rpc.c: - added a skeleton for new layers - a bit cleanup 2002-07-19 yohgaki * php.ini-recommended php.ini-dist: MFH * php.ini-dist php.ini-recommended: This option should be left enabled by default by mistake. --enable-trans-sid option is removed and this option should be disabled by default in php.ini. 1) It's insecure by nature 2) It may not work well always 3) It wasn't enabled by default used be 4) It risks security and user should enable it after realizing it's security risks. 2002-07-19 derick * ext/ircg/ircg.c ext/interbase/interbase.c ext/informix/ifx.ec ext/iconv/iconv.c: Unify error messages 2002-07-18 phanto * ext/rpc/com/conversion.h ext/rpc/com/dispatch.c ext/rpc/com/php_com.h ext/rpc/com/php_variant.h ext/rpc/com/variant.c ext/rpc/com/variant.h ext/rpc/com/com.c ext/rpc/com/com.h ext/rpc/com/com_wrapper.c ext/rpc/com/com_wrapper.h ext/rpc/com/conversion.c ext/rpc/handler.h ext/rpc/hash.h ext/rpc/layer.h ext/rpc/php_rpc.h ext/rpc/rpc.c ext/rpc/rpc.h ext/rpc/rpc_proxy.c ext/rpc/rpc_proxy.h: ext/rpc/com should work now, but there's still lots of work left. 2002-07-18 yohgaki * php.ini-dist php.ini-recommended: Move down open_basedir description. 2002-07-17 sniper * configure.in: We have a macro for checking -R, etc. switches. (exactly same code) 2002-07-17 Andrei Zmievski * ext/wddx/wddx.c: Fix DL entry point. 2002-07-17 sniper * ext/gd/config.m4: Remove evil quotes 2002-07-17 chregu * ext/domxml/TODO: even more items on the TODO list * ext/domxml/php_domxml.c: nodename is not always set, check if it really is. 2002-07-17 hholzgra * tests/lang/034.phpt tests/lang/035.phpt: Zend Engine behaviour is affected by setlocale() due to use of locale aware functions like strtod(), atof(), tolower(), toupper() :( 2002-07-17 derick * main/main.c: - set_time_limit() now returns whether it succeeded in changing the time limit. 2002-07-17 yohgaki * ext/pgsql/pgsql.c: Fixed build. 2002-07-17 sniper * ext/mbstring/config.m4: unbreak the shared build..again 2002-07-17 yohgaki * main/safe_mode.c: Accoding to safe_mode.h, php_checkuid() has six modes. * ext/pgsql/pgsql.c: Added safe_mode & open_basedir checks for pg_lo_export() * ext/pgsql/pgsql.c: Added open_basedir check. * php.ini-dist php.ini-recommended: Fixed open_basedir note - thanks to Sander. I also notice I have to modify pg_lo_import(), etc. It does not check open_basedir at all. It checks UID/GID, though. We are better to note how we should treat files in coding standard. * ext/mbstring/config.m4: Changed configure option order to make it clear option dependecy to users. * ext/mbstring/config.m4: Disable input encoding tranlation by default. * php.ini-recommended php.ini-dist: Added note for open_basedir 2002-07-16 sniper * NEWS: This is the real world.. * ext/mysql/php_mysql.c: fix protos 2002-07-16 Sascha Schumann * sapi/thttpd/README ext/ircg/README.txt: refine 2002-07-16 georg * NEWS: added mysql changes: - php.ini option mysql.connect_timeout - optional parameter client_flags (mysql_connect, mysql_pconnect) - automatic rollback for non commited transactions 2002-07-16 jason * ext/standard/basic_functions.c: Prevent reenterant calls to a user tick function by flagging the function entry during call. This prevents code like the following from infinitely recursing until a crash occurs: 2002-07-16 georg * ext/mysql/php_mysql.c ext/mysql/php_mysql.h: Added support for php.ini parameter "mysql.connect_timeout" * php.ini-dist php.ini-recommended: Added php.ini option "mysql_connection.timeout" 2002-07-15 edink * ext/mbstring/mbstring.c: MFH * ext/mbstring/mbstring.c: Fix bug #16985 (wrong count of GET/POST variables). 2002-07-15 sesser * main/rfc1867.c: use Zend API to access llist count 2002-07-15 hyanantha * ext/mysql/php_mysql.c: mysql_create_db and mysql_drop_db disabled for NetWare 2002-07-15 yohgaki * ext/pgsql/pgsql.c: Clean up code a little (Remove a use of magic number) Change/add appropriate comments. * NEWS: Fixed news * NEWS: header sounds like http header. header -> header file 2002-07-14 Andrei Zmievski * ext/pcre/php_pcre.c: Fix Bug #18341. 2002-07-14 Sascha Schumann * NEWS: it is not really cold though * NEWS: the sun was shining a few days ago * sapi/thttpd/thttpd_patch sapi/thttpd/thttpd.c: integrate the public keep-alive patch the patch did not handle pipeling at all, so that some code had to be added from Premium thttpd persistent connections are supported, if a script sets the Content-Length header 2002-07-14 Rasmus Lerdorf * ext/ming/ming.c: Fix a couple of protos 2002-07-14 Sascha Schumann * sapi/thttpd/thttpd.c sapi/thttpd/thttpd_patch: thttpd blocks in rare circumstances where it cannot write out a small HTTP response (happened at customer sites). The response is now written out using the standard state machine. the buffer which is handed to thttpd by php is now simply dealt with as if it were a thttpd generated response (avoids code duplication). * sapi/thttpd/thttpd.c sapi/thttpd/thttpd_patch: make the sapi module hand off a buffer to thttpd for final data delivery, instead of blocking the whole process 2002-07-14 edink * main/rfc1867.c: MFH (fixes linking errors when --enable-mbstring is used) 2002-07-14 yohgaki * ext/iconv/tests/eucjp2utf8.inc ext/iconv/tests/eucjp2utf8.phpt: Move comment. Remove a skip condition does not required. 2002-07-14 sniper * main/rfc1867.c: IF --disable-mbstr-enc-trans is used OR mbstring is compiled as shared extension, these functions are not available. * ext/mbstring/tests/002.inc ext/mbstring/tests/003.inc ext/mbstring/tests/004.inc ext/mbstring/tests/005.inc ext/mbstring/tests/006.inc ext/mbstring/tests/008.inc ext/mbstring/tests/009.inc ext/mbstring/tests/010.inc ext/mbstring/tests/011.inc ext/mbstring/tests/012.inc ext/mbstring/tests/013.inc ext/mbstring/tests/014.inc ext/mbstring/tests/015.inc ext/mbstring/tests/016.inc ext/mbstring/tests/017.inc ext/mbstring/tests/018.inc ext/mbstring/tests/019.inc ext/mbstring/tests/common.inc ext/mbstring/tests/common.php: .php files are in .cvsignore here * ext/mbstring/config.m4: These options are all enabled by default. (why?) 2002-07-14 yohgaki * ext/iconv/tests/eucjp2utf8.inc ext/iconv/tests/eucjp2utf8.phpt ext/iconv/tests/translit.phpt: Fix tests. Moriyoshi Koizumi 2002-07-13 sander * ext/standard/fsock.c: Fixed win32 build 2002-07-13 sniper * ext/iconv/iconv.c: Kill compiler warning * ext/iconv/tests/eucjp2utf8.phpt ext/iconv/tests/translit.phpt: Fix SKIPs for these tests. * ext/standard/fsock.c: nuke unused variable warning * ext/domxml/php_domxml.c: Fixed some unused variable warnings * ext/yaz/php_yaz.c: Nuke unused variable * ext/snmp/snmp.c: Kill compile warning * ext/gd/config.m4: Really fix it this time.. * ext/standard/file.c: Fixed bug: #16638. * sapi/cli/php_cli.c: Needed this to be able to test safe-mode stuff on cmd-line * ext/standard/php_string.h ext/standard/string.c: - Made the trim functions use same base function. (less code :) - Renamed php_trim2 -> php_trim (not used anyplace else, yet) - Made php_trim abit more usable for external use. (not necessary to use zvals with it anymore) * ext/gd/config.m4: Fixed the undefined reference to 'gdttf' errors when using bundled GD lib. 2002-07-13 yohgaki * ext/iconv/tests/eucjp2iso2022jp.phpt ext/iconv/tests/eucjp2utf8.phpt: Fixed tests. Patch by Yoshimori Koizumi 2002-07-13 sniper * main/safe_mode.c: Fix bug: #18285, php_checkuid() mangled the passed path. * main/SAPI.c: - Fixed bug: #18268. If pcre is build as shared extension, we can't use php_pcre_replace() here. - Cleaned up a bit. 2002-07-12 Jani Taskinen * ext/mysql/php_mysql.c: Partially reverted the netware related commit. * ext/mysql/php_mysql.c: Beauify a bit.. * ext/mysql/php_mysql.c: Some ws fixes. And removed the problems causing typedef for ushort. * ext/standard/image.c: - Fixed compile (bug #18297) on such systems which define uchar. * ext/imap/config.m4: Bail out the given path does not have the libraries in it. * ext/openssl/openssl.c: MFH * ext/openssl/openssl.c: Fixed bug: #18295. e_os.h is not supposed to be included.. 2002-07-12 Anantha Kesari H Y * netware/buildext.bat: File needed to build extensions for NetWare * ext/mysql/mysql.mak ext/mysql/php_mysql.c: Added NetWare changes 2002-07-12 Jani Taskinen * ext/imap/config.m4: Make configure stop if something is wrong with libraries/linking. * ext/yaz/php_yaz.c ext/yaz/php_yaz.h: Fix ZTS build 2002-07-12 Sebastian Bergmann * ext/mbstring/mbstring.c: Remove unused variables. 2002-07-12 Jani Taskinen * .cvsignore: missing entry for config.h.in * build/build.mk: .libs/ directories are created when building shared extensions. * NEWS: minor typo fixbug. * main/main.c main/rfc1867.c main/rfc1867.h: - Added predefined constants for the upload errors. - Removed the debugging error (not useful for end-users) 2002-07-11 Jani Taskinen * ext/ftp/php_ftp.c: ws fix 2002-07-11 Derick Rethans * main/main.c: - Fix for bug #18283 2002-07-11 Rui Hirokawa * ext/pgsql/pgsql.c ext/mbstring/mbstring.c php.ini-recommended php.ini-dist: added mbstring.language option in ext/mbstring. 2002-07-11 Tomas V.V.Cox * pear/package-Net_SMTP.xml: typo * pear/package-Net_SMTP.xml: Prepare package.xml for Net_SMTP 2002-07-11 Sascha Schumann * sapi/apache2filter/config.m4: Break up the INSTALL_IT line into comprehensible pieces and fix a bug related to [..] quotes. * sapi/apache/config.m4: the variable interpolation was already subject to IFS treatment, which resulted in the execution of the foremost directory. we capture the output before setting IFS now 2002-07-11 Adam Dickmeiss * ext/yaz/php_yaz.c ext/yaz/php_yaz.h: yaz.max_links, yaz_log_file setting. User-defined Other Info * ext/yaz/config.m4: Include YAZ support libs (if any) 2002-07-11 Sascha Schumann * sapi/apache/config.m4 sapi/apache2filter/config.m4: Use a simple IFS; set step to interprete the httpd -v output 2002-07-11 Uwe Steinmann * ext/hwapi/php_hwapi.h: - added missing file 2002-07-11 James Cox * ext/gd/libgd/gdft.c: adding patch from http://www.coupin.net/gd-freetype/ which makes images anti aliased (and therefore more readable). 2002-07-11 Yasuo Ohgaki * ext/iconv/tests/translit.inc ext/iconv/tests/translit.phpt: Added traslit test files. Moriyoshi Koizumi * ext/iconv/config.m4 ext/iconv/iconv.c: Fix #16069. Patch by Moriyoshi Koizumi 2002-07-11 Jani Taskinen * ext/ftp/ftp.c: Fix bug: #14052 * ext/standard/http_fopen_wrapper.c: MFH: Fix for #16337 * ext/standard/http_fopen_wrapper.c: Fixed bug: #16637, username/password needs to be urlencoded. * ext/curl/curl.c: Fixed bug: #18250 * NEWS: news-entry-robot(tm) 2002-07-10 Harald Radi * ext/rpc/com/com.c win32/php4dllts.dsp: merging parts of the old com extension to the new rpc extension 2002-07-10 Jason Greene * ext/standard/basic_functions.c ext/standard/file.c: Fixed socket_set_timeout on win32 (Jason, Edin, Jani) * ext/standard/basic_functions.c ext/standard/file.c: Fix socket_set_timeout on win32 ( was not being included ) 2002-07-10 Georg Richter * ext/mysql/php_mysql.c: 1) New constants: MYSQL_CLIENT_SSL for ssl connections MYSQL_CLIENT_COMPRESS for compressed protocol MYSQL_CLIENT_IGNORE_SPACES for spaces after function names MYSQL_CLIENT_INTERACTIVE for closing connections after timeout_interactive seconds 2) Optional parameter client_flags for mysql_connect and mysql_pconnect For parameter desctiption see 1. This also should fix bug #13589 3) New internal function _rollback_mysql_transactions, which is called via PHP_RSHUTDOWN_FUNCTION This fixes bug #12513 2002-07-10 Stig Bakken * pear/packages/DB-1.2.tar pear/packages/XML_Parser-1.0.tar pear/packages/XML_RPC-1.0.3.tar: * signed these packages 2002-07-09 Derick Rethans * ext/ftp/php_ftp.c: - Initialize var properly 2002-07-09 Stig Venaas * ext/ldap/ldap.c: Hopefully fixes build with IBM's LDAP library 2002-07-09 Harald Radi * ext/rpc/com/com.h: add file again that andrei deleted by accident (i don't want to blame anyone here) * win32/php4dllts.dsp main/config.w32.h.in main/internal_functions_win32.c: MFH 2002-07-09 Stig Bakken * pear/packages/HTTP-1.2.tar: * add HTTP package (signed) * pear/Console/Getopt.php: * tolerate $args being empty * pear/PEAR/Remote.php: * tiniest optimization * pear/PEAR/Registry.php: * typo 2002-07-08 Sterling Hughes * ext/xslt/sablot.c: eek * ext/xslt/sablot.c: commit petr's sax handler patch 2002-07-08 Andi Gutmans * ext/standard/file.h: - Add TSRMLS_DC to prototype. * ext/standard/cyr_convert.c ext/standard/file.c ext/standard/type.c: - Fix TSRMLS_* stuff 2002-07-08 Martin Jansen * pear/File/Passwd.php: * Use CRYPT_SALT_LENGTH instead of hardcoded value. Patch by: "James E. Flemer" 2002-07-08 Jani Taskinen * NEWS: news update * ext/mysql/config.m4: Fix shared build and made the logic of finding the socket location better. 2002-07-08 Derick Rethans * ext/standard/assert.c ext/standard/basic_functions.c ext/standard/browscap.c ext/standard/cyr_convert.c ext/standard/datetime.c ext/standard/dir.c ext/standard/dl.c ext/standard/dns.c ext/standard/exec.c ext/standard/file.c ext/standard/filestat.c ext/standard/formatted_print.c ext/standard/ftok.c ext/standard/head.c ext/standard/html.c ext/standard/image.c ext/standard/iptc.c ext/standard/levenshtein.c ext/standard/aggregation.c ext/standard/type.c: Unify error messages * ext/standard/type.c: - Add warning to is_*() functions if more than one argument was passed * ext/standard/array.c: Silence warning * ext/standard/array.c: Unify error messages * ext/standard/array.c: - Fix for bug #14580: Made key() binary safe 2002-07-08 Jani Taskinen * main/main.c: These two can not be set in script. (so that they would have any effect) 2002-07-07 Sterling Hughes * ext/standard/filestat.c: fix win32 build 2002-07-07 Stig Bakken * pear/PEAR/Command/Package.php: * added "pear sign" command * pear/PEAR/Installer.php: * use System::mktemp * check if an install is about to overwrite existing files belonging to other packages, bail out if not in "force" mode * pear/scripts/pear.in: * don't set include path if running 'pear.in' without substitutions made by the installer * sort command names in help output * pear/PEAR/Registry.php pear/tests/pear_registry.phpt: * made rebuildFileMap method public, added caching and checkFileMap method 2002-07-07 Shane Caraveo * pear/PEAR/Builder.php: Let 'pear build' work on windows for building pecl extensions. A few notes: Currently only supports release builds, and of course, requires msdev! pecl packages must have package.xml and xxx.dsp files for this to work the package name in package.xml must match the name of the dsp file, so package iisfunc must have dsp iisfunc.dsp 2002-07-07 Stig Bakken * pear/PEAR/Packager.php: * use System::mktemp rather than PEAR_Common::mkTempDir * pear/PEAR/Frontend/CLI.php: * silence warning 2002-07-07 Christian Stocker * ext/domxml/php_domxml.c ext/domxml/php_domxml.h: - Added domxml_node_namespace_uri() (Rui Lopes). 2002-07-07 Jan Lehnardt * INSTALL: - fix #16290 2002-07-07 Jani Taskinen * sapi/apache2filter/config.m4 sapi/apache/config.m4: - Fix the version check again. * NEWS: cleanup 2002-07-07 Sebastian Bergmann * ext/standard/versioning.c: Fix warning. 2002-07-07 Jason Greene * ext/sockets/sockets.c: Remove sleep workaround, and fix the actual win32 memory leak which was occurring in the error reporting system. The reason why sleepex appeared to be working was because it suppressed EWOULDBLOCK errors in the example (which was non-blocking) 2002-07-07 Jani Taskinen * ext/dio/dio.c: ws fix * ext/dio/dio.c: Fix the fix properly. * acinclude.m4: MFH * acinclude.m4: PHP_EVAL_LIBLINE must not reverse the order of libraries. 2002-07-06 Jani Taskinen * ext/informix/.cvsignore: Added missing .libs entry 2002-07-06 Christian Dickmann * pear/PEAR/Config.php pear/PEAR/Remote.php: add local XMLRPC cache 2002-07-06 Derick Rethans * ext/xmlrpc/xmlrpc-epi-php.c: - Consistent error messages 2002-07-05 Jani Taskinen * ext/dio/dio.c: Fix bug: #16707 2002-07-05 Sascha Schumann * acinclude.m4: nuke another instance of newline suppression 2002-07-05 Jani Taskinen * main/rfc1867.c: MFH * main/rfc1867.c: Fix typo * ext/xmlrpc/xmlrpc-epi-php.c: Fix typo. 2002-07-05 Rui Hirokawa * ext/mbstring/mbstring.c ext/mbstring/mbstring.h main/rfc1867.c: fixed shift_jis character corruption including 0x5c as second byte following a slash on uploaded filename. 2002-07-05 Sascha Schumann * acinclude.m4: some seds want to see a newline, so we give them a newline PR: #17072 and others * configure.in: Fix the Solaris issue where CPP was set wrongly to "cc -E", because the AIX macro invoked the CPP check before the CC check, so that autoconf did not know which $CC to use. You can now close all those bug reports about unix.h and misdetected headers. * configure.in: Remove remainings of bsd_makefile 2002-07-05 Dan Libby * ext/xmlrpc/libxmlrpc/queue.c ext/xmlrpc/libxmlrpc/simplestring.c ext/xmlrpc/libxmlrpc/simplestring.h ext/xmlrpc/libxmlrpc/system_methods.c ext/xmlrpc/libxmlrpc/xml_element.c ext/xmlrpc/libxmlrpc/xml_to_soap.c ext/xmlrpc/libxmlrpc/xml_to_xmlrpc.c ext/xmlrpc/libxmlrpc/xmlrpc.c ext/xmlrpc/libxmlrpc/xmlrpc.h ext/xmlrpc/libxmlrpc/xmlrpc_introspection.c ext/xmlrpc/libxmlrpc/xmlrpc_private.h ext/xmlrpc/php_xmlrpc.h ext/xmlrpc/xmlrpc-epi-php.c: merged in updates from SF project. bring php repository up to date with xmlrpc-epi version 0.51 2002-07-05 Stig Bakken * pear/PEAR.php: * define PEAR_ZE2 when running with Zend Engine 2 * ext/standard/versioning.c: * fix segfault in case of odd version numbers * ext/standard/versioning.c: (PHP version_compare) added "alpha" and "beta", make tests pass 2002-07-04 Sascha Schumann * acinclude.m4 configure.in: 1. PHP_CHECK_FUNC(func, lib1, lib2, ..., libn) searches for func and __func using LIBS, and if unsuccessful, searches each specified lib. Defines HAVE_FUNC, if found. If func/__func is found in library foo, HAVE_LIBFOO is defined. (Jani, me) 2. Autoconf 2.5x is more pedantic regarding locating header files. We include the proper header files now in the check. (me) 3. The nsl/bind/socket/etc checks have been rewritten using PHP_CHECK_FUNC. This ensures that no extra library is used, if the symbol is available in libc which avoids issues on BSD/OS, OpenBSD and others. (Jani) 2002-07-04 Martin Jansen * pear/PEAR/Common.php: * Remove http:// from the proxy server string. Patch by: "michiel bakker" 2002-07-04 Jani Taskinen * ext/ftp/ftp.c ext/ftp/ftp.h ext/ftp/php_ftp.c: - Added optional 3rd parameter 'recursive' to ftp_rawlist() which will do 'LIST -R' instead of 'LIST'. 2002-07-04 Marko Karppinen * Makefile.global sapi/cgi/config.m4: Moved the cgi link line to sapi/cgi/config.m4 and stopped using libtool on Darwin on it 2002-07-04 Sascha Schumann * config.sub config.guess: Upgrade to the version shipped with automake-1.6.2 * sapi/cgi/cgi_main.c: Generate content-type header, if the user did not specify one of its own. Noticed by: Edin Kadribasic 2002-07-03 Rui Hirokawa * main/rfc1867.c: fixed ZTS build. * ext/mbstring/mbstring.c ext/mbstring/mbstring.h: fixed ZTS build and added language check. 2002-07-03 Jani Taskinen * Makefile.global ext/java/Makefile.frag pear/Makefile.frag: - Let's be tad more verbose what's happening during 'make install' 2002-07-03 Sebastian Bergmann * main/rfc1867.c: Fix ZTS build. 2002-07-03 Frank M. Kromann * ext/mbstring/mbstring.c: Removed unneeded check for MBSTR_ENC_TRANS * main/config.w32.h.in: Added MBSTR_ENC_TRANS to allow compilation and linking under win32 2002-07-03 Sascha Schumann * README.PARAMETER_PARSING_API: Please note that you need to use 'int' as a length type when fetching strings. 2002-07-03 Frank M. Kromann * ext/mbstring/mbstring.dsp: Adding _RU files to project * ext/mbstring/mbstring.c ext/mbstring/mbstring.h: Fixing ZTS build * ext/standard/php_string.h: Adding missing prototype 2002-07-03 Derick Rethans * README.PARAMETER_PARSING_API: - Fix README 2002-07-03 Rui Hirokawa * ext/mbstring/mbstring.c ext/mbstring/mbstring.h main/rfc1867.c: fixed shift_jis character corruption including 0x5c as second byte on uploaded filename. 2002-07-03 Sterling Hughes * ext/curl/curl.c: formatting fixes * ext/curl/curl.c: fix bug #17963 2002-07-03 Sascha Schumann * sapi/cgi/cgi_main.c: Add CRLF after complete HTTP reply header * sapi/cgi/cgi_main.c: Use "Status: %d" instead of "HTTP/1.0 %d X" in the CGI SAPI module as per the CGI RFC. The status notation is incompatible with Apache's non-parsed-header mode "nph-*", but that has never worked before anyway. One could make the format string configurable. Noticed by: Sebastian Bergmann 2002-07-03 Edin Kadribasic * ext/xmlrpc/libxmlrpc/encodings.c: MFH (win32 build fix) * ext/xmlrpc/libxmlrpc/encodings.c: Fixed win32 build. 2002-07-03 Sascha Schumann * main/SAPI.c: fix typo * main/SAPI.c main/SAPI.h sapi/pi3web/pi3web_sapi.c sapi/tux/php_tux.c sapi/webjames/webjames.c ext/standard/head.c: Add sapi_header_op interface which supersedes the sapi_add_header and _ex calls. Revert the change to the sapi_add_header_ex interface. Fix various bugs: 1. header("HTTP/1.0 306 foo"); header("Location: absolute-uri"); did not work in combination with several SAPI modules, because http_status_line was never properly reset. And thus, all SAPI modules which looked at http_status_line ignored the changed http_response_code. 2. The CGI SAPI did not send out the HTTP status line at all, if http_status_line had not been set explicitly by calling header("HTTP/1.0 200 foo"); 2002-07-03 Christian Stocker * pear/PEAR/WebInstaller.php: - Not maintained (and maybe not working) anymore - There's a new project PEAR_Frontend_Web which does a much better job 2002-07-03 Derick Rethans * ext/standard/basic_functions.c ext/standard/filestat.c ext/standard/php_filestat.h: - Fix windows build 2002-07-03 Uwe Steinmann * ext/hyperwave/hw.c: - fixed bug in hwnew_new_document_from_file 2002-07-03 Jani Taskinen * ext/standard/filestat.c: Fix the nasty crash. And Sterling..test next time before you commit? * ext/session/session.c: ws fix 2002-07-02 Frank M. Kromann * ext/standard/mail.c: Add default arguments to new internal mail function. * ext/imap/php_imap.c: Make sure To addresses are parsed correct with RFC822. * win32/sendmail.c: Oops. Last commit reverted some of sebastians changes. 2002-07-02 Marcus Börger * ext/exif/exif.c: -fix datatypes for some vriables -fix comment for function exif_process_CME -force return parameters to be passed by reference 2002-07-02 Frank M. Kromann * win32/sendmail.c win32/sendmail.h: Switch from imap_sendmail.* to sendmail.c under Win32 * ext/fbsql/php_fbsql.c: Fixing compilation of FrontBase extension with ZTS 2002-07-02 Sterling Hughes * ext/standard/filestat.c: use access instead of manually determining file permissions.. 2002-07-02 Frank M. Kromann * ext/imap/imap.dsp ext/imap/php_imap.c: Switch from imap_sendmail.* to sendmail.c under Win32 * win32/imap_sendmail.c win32/imap_sendmail.h: These files are no longer needed as the imap module will use the standard sendmail function under Win32 2002-07-02 Rui Hirokawa * main/rfc1867.c: *** empty log message *** * ext/mbstring/mbstring.h: fixed shift_jis character corruption including 0x5c as second byte on uploaded filename. * ext/mbstring/mbstring.c: fixed shift_jis character corruption including 0x5c as second byte. 2002-07-02 Derick Rethans * ext/standard/mail.c: - Be nice to users and allow them to check if the mail was send * ext/standard/mail.c: - Disable 5th parameter to mail in safemode - Disabled the fifth parameter to the mail function in safemode. 2002-07-02 Christian Dickmann * pear/PEAR/Command/Remote.php pear/PEAR/Frontend/CLI.php: make 'remote-info' use package.info. add deps to 'list-all' 2002-07-02 Sascha Schumann * configure.in: Avoid error messages, if the variable is empty. ./config.status: test: !=: unary operator expected 2002-07-02 Derick Rethans * ext/standard/file.c: - Fix for bug #15547 (Patch by Justin Garrett ) 2002-07-01 Marko Karppinen * Makefile.global sapi/cli/config.m4: - You don't need libtool to build sapi/cli on Darwin. - We don't need libtool to build sapi/cli on Darwin. - You want the sapi/cli build line to be in sapi/cli, not Makefile.global. - We want the sapi/cli build line to be in sapi/cli, not Makefile.global. - He can go about his business. - You can go about your business. - Move along. - Move along. Move along. 2002-07-01 Derick Rethans * ext/standard/image.c ext/standard/info.c main/memory_streams.c: - No C++ comments 2002-07-01 Marko Karppinen * configure.in: In Darwin we have this thing called two-level namespace 2002-07-01 Christian Stocker * ext/domxml/php_domxml.h ext/domxml/php_domxml.c: outcomment everything related to domxml_elem_set_attribute_node(). This function is not implemented and shouldn't show up at all for the time being 2002-07-01 Jani Taskinen * main/main.c: Fix win32 build. 2002-07-01 James Cox * acinclude.m4: "-" is not acceptable in a #define (i have since discovered). converting all - to _ is the right thing to do. 2002-06-30 Sander Roobol * main/main.c: Main script should not be parsed when (include|require)_once()'ed, #17720 2002-06-30 Derick Rethans * ext/ldap/ldap.c: - More error messages cleanup 2002-06-30 Jani Taskinen * ext/xmlrpc/libxmlrpc/encodings.c: MFH: Fix for bug #16252 * ext/xmlrpc/libxmlrpc/encodings.c: Fix bug: #16252 * Makefile.global: This does not work with AIX find.. 2002-06-29 Jani Taskinen * config.guess config.sub ltmain.sh: - Upgrade bundled libtool to 1.4.2. Following stuff mentioned at: http://www.gnu.org/software/libtool/news.html * Diagnose and warn about not-quite-working combinations of gcc and ld on Solaris. * Improved OpenBSD support. * Improved cygwin support. * Bugfixes. 2002-06-29 Sascha Schumann * ext/ircg/ircg.c ext/standard/php_smart_str.h: Fix some 8bit issues with IRCG nickname encoding and Change the underlying interface of smart_str to accept unsigned char. 2002-06-29 Derick Rethans * ext/exif/exif.c: Unify error messages part 1 * ext/gd/gd.c: - Fix GD build with GD 1.8.3 * ext/standard/array.c: - Fix for bug #17654 2002-06-29 Thies C. Arntzen * ext/standard/url_scanner_ex.c ext/standard/url_scanner_ex.re: fix leak 2002-06-29 Sergey Kartashoff * ext/mnogosearch/README ext/mnogosearch/index.php: Search example (which demonstrates using of mnogosearch API) is updated. 2002-06-29 James Cox * acinclude.m4: fixes extensions with "-" 2002-06-29 Jani Taskinen * ext/xmlrpc/xmlrpc-epi-php.c: Fix some build error on win32 (snapshot build) 2002-06-29 James Cox * ext/gd/gd_bundled.dsp: make this build too. * ext/gd/gd.dsp: removed these files from build. * acinclude.m4: really fix it. 2002-06-29 Jani Taskinen * ext/xslt/sablot.c: This is not done anymore. (should fix win32 snapshot build too) 2002-06-29 James Cox * acinclude.m4: fixes bug #17453 2002-06-29 Jani Taskinen * ext/pdf/config.m4: - Fix the shared problem. (the previous patch really didn't fix anything) * build/rules.mk: Removing libs/ is not a good idea * ext/db/db.c ext/db/php_db.h: Missing TSRMLS_* stuff * sapi/apache2filter/config.m4: Better fix it here too.. 2002-06-29 Rasmus Lerdorf * sapi/apache/config.m4: Oops, extra pipe snuck in 2002-06-28 Rasmus Lerdorf * sapi/apache/config.m4: Fix for bug #18055 2002-06-28 Anil Madhavapeddy * ext/pdf/config.m4: remember the value of ext_shared passed into the --with-pdflib, since it gets overwritten by future PHP_ARG_WITH checks in the same m4 fragment from wilfried@openbsd.org 2002-06-28 Sebastian Bergmann * sapi/apache2filter/README: Mention Apache 2.0.40. 2002-06-28 Derick Rethans * ext/db/db.c: - More gotchas... * ext/msession/msession.c: - Fix more TSRM gotchas 2002-06-28 Jani Taskinen * sapi/apache2filter/config.m4: Require 2.0.40 2002-06-28 Derick Rethans * sapi/apache2filter/sapi_apache2.c: - YAAC: I hope this is the last one! * ext/imap/php_imap.c: - Fix TSRM gotcha 2002-06-28 Jani Taskinen * ext/gd/gd.c: t1lib.h needs to be included here now. * ext/gd/gd.c ext/gd/php_gd.h: Moved all gd.h related stuff to gd.c * ext/gd/php_gd.h: Remove unnecessary #include's * ext/gd/gdt1.c ext/gd/gdt1.h ext/gd/config.m4: Remove unused files. 2002-06-28 Derick Rethans * ext/hyperwave/hw.c ext/icap/php_icap.c ext/imap/php_imap.c: Unify error messages 2002-06-28 Jani Taskinen * ext/gd/gd.c: Fix bug: #14735 * ext/gd/gd.c: Fix bug: #17528, do not crash with empty string. * sapi/apache2filter/config.m4: Fixed bug: #17491 (honor INSTALL_ROOT) * ext/mysql/libmysql/mysql_version.h: - Fix annoying redefine warning.. * ext/gd/config.m4: - Fix bug: #17671 2002-06-28 Derick Rethans * ext/iconv/iconv.c: - Fix for bug #18039 * ext/gd/gd.c ext/gd/gd_ctx.c ext/gd/gdt1.c: Unify error messages 2002-06-28 Jani Taskinen * ext/session/config.m4 ext/session/mod_mm.c ext/session/mod_mm.h ext/session/session.c: - Fixed bug: #17977, session build as shared works now with mm handler too. - Added listing of save handlers into phpinfo() output 2002-06-27 Jani Taskinen * Makefile.global: Fix bug: #18008 * ext/gd/gd.c: Consistency fix. * ext/imap/php_imap.c: - Fixed bug: #15595 (and possibly others too) 2002-06-27 Sander Roobol * ext/standard/Makefile.frag: Update configure line in phpinfo() after re-running configure without running make clean first, bug #18012. 2002-06-27 Derick Rethans * ext/filepro/filepro.c ext/ftp/php_ftp.c ext/fdf/fdf.c ext/fbsql/php_fbsql.c: Unify error messages * ext/ldap/ldap.c: - Remove \n 2002-06-27 Jani Taskinen * ext/imap/php_imap.c: - Cleaning up the mess..these are NOT zvals. 2002-06-26 Jani Taskinen * ext/imap/php_imap.c: MFH: fix for bug: #17999 * ext/imap/php_imap.c: - Fixed bug: #17999 - The errors should always be stored, but they are not supposed to be shown at request shutdown unless E_NOTICES are allowed. 2002-06-26 Anil Madhavapeddy * ext/ncurses/config.m4: use LIBNAME consistently. Useful on systems like OpenBSD where the curses library is called 'curses' and not 'ncurses' * ext/ncurses/example1.php: the ncurses_getch() is in the wrong place and never gets run 2002-06-26 Jani Taskinen * ext/odbc/config.m4: Better not pollute the EXTRA_LIBS with libpaths. 2002-06-26 Marcus Börger * main/spprintf.c: -xbuf_resize does not need to have return value 2002-06-26 Derick Rethans * main/main.c main/php_globals.h php.ini-dist php.ini-recommended: - Implement Andrei's request for disabling memory leak reporting in debug builds. * ext/standard/credits_sapi.h: - And the SAPI too * ext/standard/credits_ext.h: - Update credits * ext/mime_magic/TODO: - Update TODO * ext/mime_magic/mime_magic.c: - Nuke some TSRMLS_FETCHes 2002-06-26 Jani Taskinen * build/buildcheck.sh: silence the warning when glibtool is not found.. 2002-06-26 Derick Rethans * ext/gd/gd.c: - Fix build * Makefile.global: - Let make clean follow symlinks (tested on Linux, IRIX, Solaris, FreeBSD and Tru64) * ext/pgsql/config.m4: - Fix typo * ext/mcrypt/mcrypt.c: - Unify error messages * ext/mnogosearch/php_mnogo.c ext/msession/msession.c: Unify error messages 2002-06-26 Sascha Schumann * build/buildcheck.sh: Prefer glibtool over libtool for Mac OS X compatibility Submitted by: various people, including blakers@mac.com 2002-06-26 Derick Rethans * ext/msql/php_msql.c ext/mssql/php_mssql.c ext/mysql/php_mysql.c: Unify error messages 2002-06-26 Sascha Schumann * ext/interbase/interbase.c sapi/aolserver/aolserver.c: Fix code which makes wrong assumptions about the return value of snprintf. The AOLserver module did not use the return value, so simply drop it. 2002-06-26 Derick Rethans * ext/domxml/php_domxml.c ext/dba/dba.c ext/db/db.c: Unify error messages 2002-06-26 Andi Gutmans * ext/standard/var.c: - No idea why this wasn't crashing before. 2002-06-26 Derick Rethans * ext/cyrus/cyrus.c ext/cybercash/cybercash.c ext/curl/curl.c ext/cpdf/cpdf.c ext/com/COM.c ext/ccvs/ccvs.c ext/calendar/easter.c ext/bcmath/bcmath.c ext/aspell/aspell.c: Unify error messages * ext/ldap/ldap.c: - Unify error messages 2002-06-25 Marcus Börger * ext/gd/gd.c: map imageellipse to imagearc if missing fix warnings * ext/standard/image.c: bits/channels for gif 2002-06-25 Tomas V.V.Cox * pear/scripts/pear.in: change the include_path setting to be in the php space instead of doing in the interpreter line (seems to break FreeBSD) 2002-06-25 Christian Stocker * ext/domxml/php_domxml.c: should compile on windows again * ext/domxml/php_domxml.h: include libxml/parserInternals.h 2002-06-25 Marcus Börger * ext/gd/gd.c ext/gd/config.m4: imageellipse is removed in 2.01 2002-06-25 Derick Rethans * NEWS: - Update NEWS 2002-06-25 Markus Fischer * ext/sockets/sockets.c: - Fix proto. 2002-06-24 Jani Taskinen * NEWS: Minor cleanup. 2002-06-24 Marcus Börger * ext/exif/tests/003.phpt ext/exif/tests/test3.jpg: modified test3 (old one had a warning) * ext/standard/image.c: missing return value * NEWS: cleanup * ext/exif/exif.c ext/standard/image.c ext/standard/php_image.h ext/standard/basic_functions.c: register IMAGETYPE_ constants in image.c as they are needed there. 2002-06-24 Derick Rethans * ext/gd/config.m4 ext/gd/gd.c: - Make functions not exist when they are not available. This means you can now safely do function_exists() on all gd functions. 2002-06-24 Marko Karppinen * ext/xslt/php_sablot.h ext/xslt/sablot.c: Revert to php_4_2_1 to get sablotron working again. 2002-06-24 Marcus Börger * ext/exif/exif.c ext/standard/image.c ext/standard/php_image.h: GetImageSize now allways set fields unknown to 0 and new Imagetype iff. 2002-06-24 Christian Stocker * ext/domxml/TODO: added some points to the todo list 2002-06-24 Rasmus Lerdorf * sapi/apache2filter/sapi_apache2.c: Add runtime Apache2 thread check to ensure we don't run a non-threaded PHP inside a threaded Apache2 MPM. 2002-06-24 Martin Jansen * pear/PEAR/Command/Remote.php: * Rephrase help text. 2002-06-24 Rasmus Lerdorf * sapi/apache2filter/config.m4 sapi/apache2filter/sapi_apache2.c: Turn off ZTS if Apache2 is using the prefork MPM. 2002-06-24 Jani Taskinen * configure.in: - gethostname() is found in glibc (at least on Linux) and the yp_* funcs are in libnsl. Fixes bug: #17941 * NEWS: ..unless someone adds all the missing ones.. :) * ext/mcal/config.m4: Fix the shared build properly. * acinclude.m4: Fixed PHP_ADD_LIBRARY_DEFER_WITH_PATH to work with shared builds. 2002-06-24 Edin Kadribasic * sapi/apache2filter/CREDITS sapi/apache2filter/README sapi/apache2filter/apache_config.c sapi/apache2filter/php_apache.h sapi/apache2filter/php_functions.c sapi/apache2filter/sapi_apache2.c: MFH 2002-06-24 Jani Taskinen * ext/ldap/config.m4: No need to have multiple AC_CHECK_FUNCS calls 2002-06-24 Derick Rethans * Makefile.in: - Fix make install to respect the prefix= argument (patch by Troels Arvin ) * ext/mcal/config.m4: - Fix building a shared extension (patch by Troels Arvin ) * ext/sysvsem/php_sysvsem.h ext/sysvsem/sysvsem.c ext/standard/versioning.c: - MFH 2002-06-24 Edin Kadribasic * win32/time.c win32/time.h: MFH 2002-06-24 Derick Rethans * ext/standard/string.c: - MFH * ext/standard/math.c: - Fix the MFH :) * ext/standard/basic_functions.c: - MFH * ext/mcrypt/mcrypt.c: - Partly MFH * ext/standard/math.c ext/gmp/config.m4: - MFH 2002-06-24 Sascha Schumann * buildconf: iterate through passed arguments 2002-06-23 Edin Kadribasic * win32/time.c win32/time.h: Allow dynamically compiled extensions to use gettimeofday() on win32. 2002-06-23 Sterling Hughes * ext/imap/php_imap.c: standardize a bit (we know its enabled :) 2002-06-23 Derick Rethans * sapi/apache2filter/php_functions.c: - MFH 2002-06-23 Marcus Börger * main/snprintf.h: explain difference between sprintf, snprintf and spprintf * main/spprintf.h: * main/spprintf.c: -freeing memory for pbuf=NULL * main/spprintf.c: -allow pbuf = NULL in case of NO MEMORY, too * main/spprintf.c: -allways terminate buffer -allow pbuf parameter to be NULL for buffer size calculation 2002-06-23 Stefan Esser * main/rfc1867.c: MFH: several fixes to fileupload code * ext/standard/mail.c: merged in the filtering control chars patch * ext/standard/link.c: MFH: link/symlink safe_mode/open_base_dir fix * main/SAPI.c: MFH: replace header fix, content-type header handling fix 2002-06-23 James Cox * buildconf: some people would prefer to be able to specify. So, we specify --ZendEngine2 for ZE2 builds, Zend for the rest. * build/build.mk buildconf: changing this to mv ZendEngine2 Zend instead of shell logic that isn't portable. 2002-06-23 Marcus Börger * main/main.c: -unlimited php_printf * ext/exif/exif.c ext/standard/basic_functions.c ext/standard/image.c ext/standard/php_image.h: -imagetype2mimetype renamed to image_type_to_mime_type * ext/exif/tests/004.phpt ext/exif/tests/test4.jpg: -new test for WinXP tags * ext/exif/tests/003.phpt: -fix test results * run-tests.php: -make it run again * main/snprintf.c: -compiler warning (missing data type) * ext/exif/tests/001.phpt: -corrected test result 2002-06-22 Marcus Börger * ext/exif/exif.c ext/standard/php_image.h: -exif version -missing constant (and notice) -corrected error messages * ext/exif/exif.c: exif_read_data returns mime-type now for image and thumbnail And exif_thumbnail now optionally returns imagetype. * ext/standard/basic_functions.c ext/standard/image.c ext/standard/php_image.h: GetImageSize now returns additional index 'MimeType' and new function imagetype2mimetype to convert php imagetypes to mime-types. * ext/standard/image.c: ws fix 2002-06-22 Stig Venaas * ext/ldap/ldap.c: Better not include ldap_parse_result() and ldap_start_tls() at all in the symbol table when they are not usable. Makes it possible to check on their usability. 2002-06-22 Sander Roobol * sapi/apache2filter/apache_config.c: Made php_admin_value work outside and blocks. 2002-06-22 Andi Gutmans * sapi/cgi/cgi_main.c: - Revert WS changes * sapi/cgi/cgi_main.c: - This shouldn't have snuck in. * sapi/cgi/cgi_main.c: - Stop using persist_alloc(). 2002-06-22 Stig Venaas * ext/ldap/config.m4 ext/ldap/ldap.c: Added test for ldap_start_tls_s() 2002-06-22 Den V. Tsopa * ext/mbstring/mbfilter.c: small fix in preprocessor directive 2002-06-21 Markus Fischer * ext/ldap/ldap.c: - Fix ZTS build, see #17915. 2002-06-21 Stefan Esser * sapi/apache2filter/sapi_apache2.c sapi/nsapi/nsapi.c sapi/apache/mod_php4.c: Fixing the same possible memory leak. 2002-06-21 Edin Kadribasic * main/config.w32.h.in: Made pgsql compile on win32 again. All defines regarding libpq capabilities are kept in ext/pgsql/pgsql.dsp where HAVE_PQESCAPE is already defined. 2002-06-21 Stig Bakken * pear/PEAR/Command/Remote.php: * typo 2002-06-21 Harald Radi * ext/com/COM.c: removed CONST_EFREE_PERSISTENT so that andi can commit his patch 2002-06-21 Derick Rethans * main/SAPI.c main/SAPI.h sapi/pi3web/pi3web_sapi.c sapi/tux/php_tux.c ext/standard/head.c: - Added a new parameter to the header() function which overrides the HTTP response code. - Added a new parameter to the header() function which overrides the HTTP response code. 2002-06-21 Stig Bakken * pear/PEAR/Config.php: * bending over backwards to find sensible defaults 2002-06-21 Jani Taskinen * ext/gmp/config.m4: Make this extension compile as shared extension too. 2002-06-20 Sander Roobol * ext/mime_magic/mime_magic.c: ZTS fixes 2002-06-20 James Cox * build/build.mk: oops.. * build/build.mk: make "make snapshot" work again.. * build/build.mk: fixing to permit builds with ZE2 2002-06-20 Uwe Steinmann * ext/domxml/php_domxml.c: - take version of libxslt and libxml from runtime variables to make sure the reported versions correspond to the actually installed versions of libxml and libxslt 2002-06-20 Yasuo Ohgaki * NEWS: Added missing NEWS entry for a bug fix. 2002-06-19 Tomas V.V.Cox * pear/PEAR/Frontend/CLI.php pear/PEAR/Command/Remote.php pear/PEAR/Command/Registry.php pear/PEAR/Command/Install.php pear/PEAR/Registry.php pear/PEAR/Config.php pear/PEAR/Dependency.php pear/PEAR/Installer.php pear/PEAR/Common.php: - Force params to version_compare() to be strings, otherwise some comparations will fail (ex. 0.9 will be equal to 0.90) - Other minor cleanup's * pear/PEAR/Installer.php: Do NOT allow install packages with errors in its description file 2002-06-19 Marcus Börger * ext/mbstring/mbstring.c: correct handling/generating of php_mbstr_default_identify_list 2002-06-19 Christian Stocker * ext/domxml/php_domxml.c: - Make domxml_xslt_process() working again. 2002-06-19 Sander Roobol * ext/standard/info.c: Made the API versions appear better on phpinfo(); 2002-06-19 Alan Knowles * pear/Date/Calc.php: Fixed Undefined index: 06 in ..... - commit to correct branch * pear/Date/Calc.php: Fixed Undefined index: 06 in ..... 2002-06-19 Jani Taskinen * ext/gd/config.m4: Fix bug: #17130 2002-06-19 Edin Kadribasic * main/streams.c: No need to check for allow_url_fopen here. 2002-06-19 Jani Taskinen * main/main.c: Use correct macro for boolean ini values. 2002-06-18 Stig Venaas * ext/standard/array.c: Made array_unique() always keep the first occurrences of duplicates, making the behavior easier to understand, and maybe more useful. 2002-06-18 Andi Gutmans * ext/bcmath/bcmath.c ext/bcmath/php_bcmath.h: - Nuke use of persist_alloc(). This can't be used with a new memory manager 2002-06-18 Stefan Esser * main/SAPI.c: fix: appending the default charset to text/ content types never worked fix: removed double free 2002-06-18 Jan Lehnardt * ext/standard/array.c: - WS-fixes 2002-06-18 Stefan Esser * main/SAPI.c: keep fingers away from already freed memory. 2002-06-18 Hartmut Holzgraefe * ext/standard/file.c: - fixed bug in enclosure handling (was still hardcoded to '"' in one place) - added possibility to pass empty enclosure if you really don't want one 2002-06-18 Sander Roobol * ext/standard/string.c ext/standard/tests/strings/add-and-stripslashes.phpt: Fixed stripslashes when magic_quotes_sybase is enabled, and add a test for add- and stripslashes(). * ext/standard/tests/strings/add-and-stripslashes.phpt: Fix stripslashes when magic_quotes_sybase is enabled, and add a test for add- and stripslashes(). 2002-06-18 Derick Rethans * ext/standard/var.c: - Fix for bug #16065 2002-06-18 Sander Roobol * main/SAPI.c: Patch by Michael Sisolak to make header() honor the replace parameter. Closes #16458. 2002-06-18 Derick Rethans * ext/zlib/zlib.c: - oops... read before commit :) * ext/zlib/zlib.c: - It doesn't work from within a script... so we disallow it 2002-06-18 Tomas V.V.Cox * pear/package-PEAR.xml: "Release notes"++ 2002-06-18 Markus Fischer * ext/dbx/dbx_sybasect.c: - User proper macros as suggested by Marc. * ext/domxml/php_domxml.c: - Fix ZTS build. 2002-06-18 Jani Taskinen * ext/mbstring/mbstring.c: Fixed bug: #17137, test pass still 2002-06-18 Edin Kadribasic * ext/standard/math.c: ZTS fix. * ext/standard/math.c: Check for +/- infinity in base_convert (bug #14807). 2002-06-17 Sergey Kartashoff * ext/mnogosearch/php_mnogo.c: 2002-06-17 Andrei Zmievski * NEWS: Fix. * NEWS: *** empty log message *** * ext/standard/reg.c: MFH * ext/standard/reg.c: Applied fix for #17764. 2002-06-17 Tomas V.V.Cox * pear/PEAR.php: Dropped case insentive ext search in PEAR::loadExtension() * pear/PEAR.php: Typo in the folding mark 2002-06-17 Stig Bakken * pear/PEAR/Config.php: * php-4.2.1-installer.exe for Windows is installed in c:\php by default, but it has PHP_SYSCONFDIR set to c:\php4. workaround. 2002-06-17 Tomas V.V.Cox * pear/PEAR/Dependency.php: Use the new PEAR::loadExtension() in checkExtension() instead of the "hack" * pear/PEAR.php: Added PEAR::loadExtension($ext) - OS independant PHP extension load * pear/PEAR.php: trailing ws 2002-06-17 Hartmut Holzgraefe * ext/standard/formatted_print.c: making printf/sprintf locale-aware without external dependencies * ext/standard/string.c: fixed return types for ucwords/ucfirst when passed an empty string 2002-06-17 Stig Bakken * pear/PEAR/Remote.php: * doh 2002-06-17 Alan Knowles * pear/PEAR/Common.php: Fixing for the coding standard :) 2002-06-17 Stig Bakken * pear/PEAR/Remote.php: * add xmlrpc request to debug output (verbosity level 4+) 2002-06-17 Alan Knowles * pear/PEAR/Common.php: Added Dependancy check on XML - previously pear installer failed silently 2002-06-17 Jani Taskinen * ext/dbase/dbase.c: - Made dbase_get_record() and dbase_get_record_with_names use same backend function as they both do same thing, just the output is different. Fixes also bug #17762 as side effect. 2002-06-16 Stefan Esser * ext/standard/link.c: Fixed Bug #17790 - link and symlink now check uid and open_base_dir for link and its target 2002-06-16 Hartmut Holzgraefe * ext/standard/formatted_print.c: reverted patch depending on not yet commited work 2002-06-16 Derick Rethans * ext/mcrypt/mcrypt.c: - Fix version in phpinfo(); 2002-06-16 Andi Gutmans * configure.in: - Add zend_mm.c 2002-06-16 Tomas V.V.Cox * pear/package-PEAR.xml: Install the pear command under the bin_dir setting intead of the fixed PHP_BINDIR 2002-06-16 Hartmut Holzgraefe * ext/standard/formatted_print.c: make sprinf() locale-aware (Bug# 12647) 2002-06-16 Sander Roobol * run-tests.php tests/php.ini: Made the tests (and not only run-tests.php) actually use php.ini-dist, and removed unused php.ini file. 2002-06-16 Markus Fischer * php.ini-recommended php.ini-dist: - List new session.use_only_cookies option. 2002-06-16 Stig Bakken * pear/scripts/pear.in pear/package-PEAR.xml: * set include_path when running "pear" 2002-06-16 Jani Taskinen * ext/xmlrpc/xmlrpc-epi-php.c: Fixed bug: #17732. xmlrpc_decode_request() and xmlrpc_set_type() expect some parameters to be passed by reference. 2002-06-15 Markus Fischer * ext/gd/gd.c: - Be more verbose which index causes the warning. * ext/gd/gd.c: - Don't forget to close the stream. 2002-06-15 Harald Radi * ext/sockets/php_sockets_win.c ext/sockets/sockets.c: workaround for a win32 memleak 2002-06-15 Sebastian Bergmann * ext/gd/.cvsignore: Add new target directories. 2002-06-14 Markus Fischer * NEWS: - Update Win32/mail changes, mention bundled gd library. 2002-06-14 Tomas V.V.Cox * pear/PEAR/Installer.php: - Fix issue with the DIRECTORY_SEPARATOR, did make the install of XML_image2svg fail - TODO++ and others minor stuff 2002-06-14 Stig Bakken * pear/PEAR/Remote.php: * if verbosity config is > 3, display xmlrpc response * another bugfix 2002-06-14 Andrei Zmievski * NEWS: Fix. 2002-06-14 Sebastian Bergmann * ext/gd/gd_bundled.dsp win32/php_modules.dsw: Add gd_bundled to php_modules.dsw. 2002-06-14 Alan Knowles * pear/PEAR/Command/Remote.php: remote list and remote listall, can now list non-stable packages if you set prefered_state to something else * pear/PEAR/Remote.php: Fixed XML RPC sending of args - lets try and get the right tag :) * pear/PEAR/Remote.php: Fixed XML RPC sending of args 2002-06-14 Edin Kadribasic * ext/gd/libgd/gd.h: Use some more sane paths for win32 version. 2002-06-14 Markus Fischer * ext/gd/gd_bundled.dsp: - Remove freetype.lib and HAVE_LIBTTF; we're always linking against freetype2 anyway. 2002-06-14 Christian Stocker * ext/domxml/php_domxml.c ext/domxml/php_domxml.h: - renamed domxml_parser_reference to domxml_parser_entitiy_reference - renamed domxml_cdata_block to domxml_parser_cdata_section (more consistent with the domxml_create_XXX methods) - added domxml_parser_processing_instruction(target,data) - added domxml_parser_namespace_decl(href,prefix) * ext/domxml/php_domxml.c ext/domxml/php_domxml.h: - oops, that didn't even compile - added domxml_parser_reference(reference) * ext/domxml/php_domxml.h ext/domxml/php_domxml.c: - Added preliminary SAX-Input support. It's now possible to build a DomDocument with SAX-Events (added domxml_parser_start_document(), domxml_parser_end_document(), domxml_parser_start_element(tagname[,attributes]), domxml_parser_end_element(tagname), domxml_parser_characters(characters), domxml_parser_cdata_block(cdata), domxml_parser_comment(comment), domxml_parser_get_document(). (chregu) 2002-06-14 Sebastian Bergmann * ext/standard/datetime.c win32/sendmail.c: Remove unused local variables. 2002-06-14 Jani Taskinen * ext/odbc/php_odbc_includes.h ext/odbc/php_odbc.h ext/odbc/config.m4 ext/odbc/php_odbc.c: - Fixed bug #15803 (and propably others related too, part 2/2) . Changed the configure/compile so that it doesn't "pollute" the INCLUDES anymore and thus cause trouble with other extensions which might use the same header files. (e.g. Informix) . Separated the #include statements to own file so we don't get any errors when compiling main/internal_functions.c * ext/informix/php_informix_includes.h ext/informix/stub.c ext/informix/php_informix.h ext/informix/config.m4 ext/informix/ifx.ec ext/informix/Makefile.frag: - Fixed bug #15803 (and propably others related too) . Changed the compile so that it doesn't "pollute" the INCLUDES anymore and thus cause trouble with other extensions which might use the same header files. (e.g. ODBC) . Some fixes for Informix compile problems (with the new build system) . Removed unnecessary stub.c file. 2002-06-13 Markus Fischer * ext/gd/gd_bundled.dsp: - Initial MSVC makefile to create a php_gd2.dll based on the bundled libgd, works out of the box here with the right image libs and headers. * win32/sendmail.c: - We don't need the check here because the regex makes sure we never have \r\n at the end of the header. 2002-06-13 Jani Taskinen * sapi/apache/mod_php4.c: Fixes bugs: #16653, #14534, #14370 2002-06-13 Pierre-Alain Joye * pear/Date/Calc.php: Fix isValid method : wrong order for the params to checkdate() 2002-06-13 Stefan Esser * win32/sendmail.c: Typo: == instead of = * win32/sendmail.c: - should fix bug#17753 2002-06-13 Jani Taskinen * ext/openssl/openssl.c: Fixed bug: #17751 (typo) 2002-06-13 Stefan Esser * ext/standard/mail.c: Fixed: possible bufferunderrun (worst case == invalid free bytes counter) Fixed: isXXXX macros need (unsigned char) cast Fixed: bug#17746 - control chars are now filtered within "to" and "subject" parameters 2002-06-13 Andrei Zmievski * ext/bz2/bz2.c: Typo. 2002-06-13 Tomas V.V.Cox * pear/PEAR/Registry.php: Change a little the dep db structure Comment the code and some clean up's 2002-06-13 Andrei Zmievski * ext/bz2/bz2.c: Fix #17650. 2002-06-13 Tomas V.V.Cox * pear/PEAR/Registry.php: More work on the dependencies DB (still not tested/used) 2002-06-13 Christian Stocker * ext/domxml/php_domxml.h ext/domxml/php_domxml.c: - Added DOMXML_LOAD_DONT_KEEP_BLANKS as possible mode, if one wants really nicely formatted XML-Documents (but this can have sideeffects, if you depend on whitespaces..) - bumped up domxml-api-version number. * ext/domxml/php_domxml.c ext/domxml/php_domxml.h: - Added better error-messages (3rd parameter) and validating of DTDs (2nd parameter) to domxml_open_mem(string xml[, int mode[, array errors]]) and domxml_open_file(string filename[, int mode[, array errors]]). - Added domxml_doc_validate([array errors]) for validating existing DomDocuments with a DTD. 2002-06-13 Edin Kadribasic * sapi/cli/php_cli.c: MFH (fix for #17733) * sapi/cli/php_cli.c: Fix exit code (bug #17733). 2002-06-13 Derick Rethans * ext/imap/php_imap.c: - Fix for bug #14410 (Patch by C. McCohy ). 2002-06-13 Jani Taskinen * ext/pcre/php_pcre.c: Fix build in ZTS mode 2002-06-12 Jason Greene * NEWS: Fix entry 2002-06-12 Stig Bakken * pear/PEAR/Common.php: * comment typos * pear/package-PEAR.xml: * set working version to 0.91-dev * pear/Makefile.frag: * minor cleanup * LICENSE: * this should have been done last year :) 2002-06-12 Andrei Zmievski * ext/pcre/php_pcre.c NEWS: This patch adds ability to capture string offsets in the preg_match_*() results. 2002-06-12 Jani Taskinen * NEWS: typofix * ext/standard/basic_functions.c: - Fixed bug #17669. PG(magic_quotes_runtime) wasn't reset for each request. * NEWS: cleanup 2002-06-12 Andrei Zmievski * NEWS: set_error_handler() should take methods as callbacks. Also fixed it to report invalid callbacks. * ext/overload/overload.c NEWS: Properly return the result of __call() handler. 2002-06-12 Tomas V.V.Cox * pear/scripts/pear.bat: Attempt to make pear.bat work better under Windows 2002-06-12 Hartmut Holzgraefe * ext/standard/datetime.c ext/standard/tests/time/003.phpt: fix for bug #10616 -> mktime() with negative date offsets not working on MacOSX 2002-06-12 Christian Stocker * ext/domxml/php_domxml.c: MFH (fixed domxml_get_element_by_id() ) * ext/domxml/php_domxml.c: Fixed domxml_get_element_by_id() 2002-06-12 Sascha Schumann * ext/session/session.c ext/session/php_session.h: This option enables administrators to make their users invulnerable to attacks which involve passing session ids in URLs. 2002-06-12 Markus Fischer * ext/bz2/bz2.c: - MFH fixes. 2002-06-11 Markus Fischer * ext/domxml/TODO: - Those have been implemented already. * main/streams.c: - Fix builtin gets() emulation (hopefully). * ext/bz2/bz2.c: - Fix bzcompress(), remove leaks and add some sanity check on emalloc()s. * TODO: - Add some recent observations with bz2. * main/streams.c: - Add missing Id tag. * main/streams.c: - Always \0 terminate data returned from _php_stream_copy_to_mem(). 2002-06-11 Pierre-Alain Joye * pear/Date/Calc.php: Add comment to ::isLeapYear() Remove useless comment added during the last commit * pear/Date/Calc.php: Remove regexp and months checks and use the native php function checkdate() Keep year check, only 4 digits allowed 2002-06-11 Jason Greene * TODO: Forgot one * TODO: Sockets currently works great with all compilers on Solaris Update TODO 2002-06-11 Hartmut Holzgraefe * ext/mime_magic/TODO ext/mime_magic/mime_magic.c: now it works on streams (plus some debug code removed) * main/php_streams.h: macro definition fixed, guess it was the usual kind of cut&past bug? 2002-06-11 Edin Kadribasic * sapi/cli/config.m4 configure.in: Disable installing pear when --disable-cli is used since pear installer needs cli to function. 2002-06-11 Markus Fischer * TODO: - These things have been done already. 2002-06-11 Jason Greene * ext/standard/fsock.c main/network.c main/php_network.h: Also fixed error handling on unix (micropatch) Closes Bug #14740 2002-06-11 Jani Taskinen * ext/mysql/config.m4 NEWS: - Reverted last bogus commit and fixed the credits in NEWS. 2002-06-10 Markus Fischer * ext/pcre/php_pcre.c: - Typo. 2002-06-10 Stig Bakken * ext/mysql/config.m4: Add --with-mysql-sock option (James Cox) 2002-06-10 Markus Fischer * win32/php4dllts.dsp: - Revert zlib.lib patch. 2002-06-10 Harald Radi * ext/rpc/handler.h ext/rpc/php_rpc.h ext/rpc/rpc.c ext/rpc/rpc.h: pooling and singleton finally work * ext/rpc/tests/test1.php ext/rpc/tests/test2.php ext/rpc/tests/test3.php ext/rpc/tests/test4.php ext/rpc/tests/tests.php: new testcases 2002-06-10 Frank M. Kromann * php.ini-dist php.ini-recommended ext/mssql/php_mssql.h ext/mssql/php_mssql.c: Adding ini setting for max_procs 2002-06-10 Harald Radi * win32/php4dllts.dsp: mysql need zlib.lib now 2002-06-10 Sergey Kartashoff * ext/mnogosearch/php_mnogo.c: 2002-06-10 Jan Lehnardt * ext/standard/array.c: - MFH (WS-fix) * ext/standard/array.c: - whitespace fix 2002-06-10 Markus Fischer * ext/mysql/libmysql/config-win.h win32/php4dllts.dsp: - Fix win32/mysql. - Revert cryptic WS commit on php4dllts.dsp. 2002-06-10 Joseph Tate * ext/domxml/php_domxml.c: 2002-06-10 Harald Radi * win32/php4dllts.dsp: mysql need zlib.lib now * ext/mysql/libmysql/my_wincond.c ext/mysql/libmysql/my_winthread.c: fix the build 2002-06-10 Sergey Kartashoff * ext/mnogosearch/php_mnogo.c: - MnoGoSearch extension compile fix with mnogosearch-3.2.4 and 3.2.5 2002-06-10 Markus Fischer * ext/standard/mail.c: - WS fix, damn win32. 2002-06-10 Harald Radi * ext/standard/array.c: fix the build 2002-06-10 Markus Fischer * ext/standard/file.c: - Fix proto. 2002-06-10 Sergey Kartashoff * ext/mnogosearch/php_mnogo.c: 2002-06-10 Markus Fischer * ext/calendar/easter.c: - Fix easter_(days|date)()s first parameter now really defaults to the current year if ommited (it was document but didn't work). 2002-06-10 Andrei Zmievski * ext/standard/array.c NEWS: Fix bug #7045: shuffle() now provides consistent distribution of values in the array. 2002-06-09 Tomas V.V.Cox * pear/Makefile.frag: Commented out old unused stuff * pear/scripts/phptar.in: Moved to pear/Archive_Tar/scripts * pear/PEAR/Frontend/Gtk.php: if (!dl(php_gtk)) die("Unable to load the php_gtk extension\n"); * pear/PEAR/Frontend/CLI.php: Beautify config-show output, some wrap changes and fix small issue with _tableRow() with line counting 2002-06-09 Jani Taskinen * NEWS: cleanup 2002-06-09 Tomas V.V.Cox * pear/install-pear.php: displayLine() -> outputData() * pear/PEAR/Frontend/CLI.php: - outputData($data, $command) + outputData($data, $command = '_default') 2002-06-09 Harald Radi * ext/rpc/com/com.c ext/rpc/com/com.h: reflect the new abstraction changes in the demo layer * ext/rpc/handler.h ext/rpc/php_rpc.h ext/rpc/rpc.c ext/rpc/rpc.h ext/rpc/rpc_proxy.c: - using stas' abstraction now - layer can add individual ini settings now - classentries for the loaded rpc object are created dynamically now class hirarchy looks like: rpc<-[layer]<-[object] (e.g. rpc<-com<-adodb), thus the whole class tree is reflected into php - added user-functions to mark an object as a singleton and as poolable * main/config.w32.h.in: pg_escape_* functions were not available on win32 due to a missing define 2002-06-09 Sander Roobol * ext/dio/dio.c ext/gmp/gmp.c: Don't use headers if the module contains only one phpinfo() entry, just stick to ordinary rows. * ext/gd/config.m4 ext/gd/gd.c: Made phpinfo() show if we're using the bundled version of GD 2002-06-09 James Cox * ext/mysql/config.m4: dont test for the socket -- enables installs over NFS etc. 2002-06-09 Sander Roobol * ext/gd/config.m4: Fixed detection of JPEG support in bundled version of GD. * ext/mysql/config.m4: Fixed configure stuff 2002-06-09 Andrei Zmievski * ext/standard/php_rand.h ext/standard/rand.c: Make RAND_RANGE() an API macro. 2002-06-09 Jani Taskinen * ext/hwapi/config.m4: De-messify * ext/mysql/config.m4: Cleaned up the mess. Now it actually works too. 2002-06-08 Christian Dickmann * pear/PEAR/Command/Config.php pear/PEAR/Command/Remote.php: add modes to list-all. fix a mergerbug 2002-06-08 Sascha Schumann * sapi/apache2filter/sapi_apache2.c: too many flushes are bad 2002-06-08 Tomas V.V.Cox * pear/PEAR/Installer.php: Hopefully fixed a couple of problems with destination paths: - Bug #17529 - In Windows getting \/\ - Documentation under /Package/Package/ 2002-06-08 Andrei Zmievski * NEWS: *** empty log message *** 2002-06-08 James Cox * ext/mysql/config.m4: added support for --with-mysql-sock so people can specify it (eg, NFS compiles, etc) changed the default mysql.sock location to use the one from the RPM. Added /usr/local locations to the search list. (imajes) 2002-06-08 Markus Fischer * ext/standard/info.c main/php_streams.h main/streams.c: - Since streams are always enabled, instead of just printing 'enabled' we tell what streams are currently registered. 2002-06-07 Tomas V.V.Cox * pear/PEAR/Registry.php: Experimental dependencies database handling functions (not yet in production) 2002-06-07 Sebastian Bergmann * main/config.w32.h.in: Unbreak build by setting PHP_PREFIX to c:\php4 for now. * main/config.w32.h.in: Fugbix typo. 2002-06-07 Zak Greant * ext/mysql/libmysql/strmake.c ext/mysql/libmysql/strto.c ext/mysql/libmysql/strtoll.c ext/mysql/libmysql/strtoull.c ext/mysql/libmysql/thr_alarm.h ext/mysql/libmysql/violite.c ext/mysql/libmysql/my_pthread.h ext/mysql/libmysql/my_realloc.c ext/mysql/libmysql/my_static.c ext/mysql/libmysql/my_sys.h ext/mysql/libmysql/my_tempnam.c ext/mysql/libmysql/my_thr_init.c ext/mysql/libmysql/my_wincond.c ext/mysql/libmysql/my_winthread.c ext/mysql/libmysql/my_write.c ext/mysql/libmysql/mysql.h ext/mysql/libmysql/mysql_com.h ext/mysql/libmysql/mysql_version.h ext/mysql/libmysql/mysqld_error.h ext/mysql/libmysql/net.c ext/mysql/libmysql/raid.h ext/mysql/libmysql/config-win.h ext/mysql/libmysql/ctype.c ext/mysql/libmysql/dbug.c ext/mysql/libmysql/dbug.h ext/mysql/libmysql/default.c ext/mysql/libmysql/dll.c ext/mysql/libmysql/errmsg.c ext/mysql/libmysql/errmsg.h ext/mysql/libmysql/get_password.c ext/mysql/libmysql/global.h ext/mysql/libmysql/libmysql.c ext/mysql/libmysql/list.c ext/mysql/libmysql/m_string.h ext/mysql/libmysql/mf_casecnv.c ext/mysql/libmysql/mf_dirname.c ext/mysql/libmysql/mf_format.c ext/mysql/libmysql/mf_path.c ext/mysql/libmysql/my_compress.c ext/mysql/libmysql/my_create.c ext/mysql/libmysql/my_getwd.c ext/mysql/libmysql/my_init.c ext/mysql/libmysql/my_lib.c ext/mysql/libmysql/my_malloc.c ext/mysql/libmysql/my_open.c ext/mysql/libmysql/my_pthread.c ext/mysql/libmysql/charset.c: Updating embedded libmysql to version 3.23.48 2002-06-07 Tomas V.V.Cox * pear/PEAR/Command/Remote.php pear/PEAR/Frontend/CLI.php: Beautify remote-info 2002-06-07 Joseph Tate * ext/domxml/php_domxml.c ext/domxml/php_domxml.h: Added aliases to make attr_node access functions more consistent. Old access functions are now deprecated. CVS: ---------------------------------------------------------------------- CVS: Enter Log. Lines beginning with `CVS:' are removed automatically CVS: CVS: Committing in . CVS: CVS: Modified Files: CVS: php_domxml.c CVS: ---------------------------------------------------------------------- 2002-06-07 Tomas V.V.Cox * pear/PEAR/Command/Config.php: - Reapplied the "treat umask as octal in "config-set" command" Stig's patch - Ported the config-help command to new UI API * pear/PEAR/Frontend/CLI.php: more wrapping cases 2002-06-07 Stig Bakken * main/config.w32.h.in: * fix SHLIB_SUFFIX_NAME define for Windows * main/build-defs.h.in main/main.c configure.in: New constants: PHP_PREFIX and PHP_SHLIB_SUFFIX 2002-06-07 Tomas V.V.Cox * pear/PEAR/Common.php: Remove debug code * pear/PEAR/Command/Registry.php: More info output retouchs * pear/PEAR/Common.php: Fix some minor issues with the parsing 2002-06-07 Stig Bakken * configure.in pear/Makefile.frag: * get rid of pearize 2002-06-07 Tomas V.V.Cox * pear/PEAR/Command/Registry.php: Make "info" full human friendly (in deps list and lastmodified) * pear/PEAR/Command/Common.php pear/PEAR/Command/Package.php: Make $_deps_rel_trans and $_deps_type_trans globally avaible: moved from Command/Package.php -> Command/Common.php * pear/scripts/pear.in: Be nicer with the help * pear/scripts/pear.in: ws 2002-06-07 Stefan Esser * main/rfc1867.c: - Stay always in buffer 2002-06-07 Tomas V.V.Cox * pear/PEAR/Command/Package.php pear/PEAR/Command/Registry.php: Put back the "info" command in its full state: "Displays information about a package. The package argument may be a local package file, an URL to a package file, or the name of an installed package." Command "package-info" depreciated (again) * pear/Net/SMTP.php: fix EOL handling in AUTH (patch from Scott Carr ) * pear/Net/SMTP.php: ws 2002-06-06 Daniela Mariaschi * ext/interbase/interbase.c ext/interbase/php_interbase.h: Add control on Ib version. ibase_add_user(), ibase_modify_user() and ibase_delete_user() available with IB6 or later. fix bug #17184 * ext/interbase/php_interbase.h: Add control on IB version. ibase_add_user(), ibase_modify_user() and ibase_delete_user() are available with IB6 or later * ext/interbase/interbase.c: Add control on the IB version. ibase_add_user(),ibase_modify_user() and ibase_delete_user() are available with IB6 or later 2002-06-06 Markus Fischer * NEWS: - Update * ext/dbx/dbx_sybasect.c: - Remove C++ comments. * ext/gd/libgd/gd.c: - Revert Ws thingy. 2002-06-06 Jani Taskinen * ext/mbstring/config.m4: Changed the configure option to be --enable/disable 2002-06-06 Tomas V.V.Cox * pear/Date/Calc.php: Added method Date_Calc::compareDates($day1,$month1,$year1,$day2,$month2,$year2) * pear/Date/Calc.php: ws+cs 2002-06-06 Stig Bakken * pear/package-PEAR.xml: * prepare 0.90 * pear/PEAR/Command/Install.php pear/PEAR/Installer.php: * add "nobuild" option to installer (-B or --nobuild option to CLI frontend) * pear/PEAR/Builder.php: * remove debug output * pear/PEAR/Builder.php: * when building, look for "package-version" subdirectory, needed for building stuff straight from tarballs * pear/PEAR/Common.php: * add PEAR_COMMON_PACKAGE_NAME_PREG constant * pear/PEAR/Frontend/CLI.php: * make displayFatalError work again 2002-06-06 Tomas V.V.Cox * pear/PEAR/Command/Package.php: Forgot that one * pear/PEAR/Frontend/CLI.php: Wrap table contents * pear/PEAR/Command/Registry.php: Implemented "pear info " command * pear/PEAR/Command/Package.php: Split the doPackageInfo() in doPackageInfo() and _infoForDisplaying() (this last one can be statically called and is used also from the "info" command) * pear/package-Mail.xml: package.xml file for the PEAR Mail package * pear/PEAR/Command/Common.php: That will really avoid PHP warnings * pear/PEAR/Command/Package.php: Fix package command 2002-06-06 Sergey Kartashoff * ext/mnogosearch/php_mnogo.h ext/mnogosearch/php_mnogo.c: 2002-06-05 Jani Taskinen * ext/gd/libgd/gd.c: ws and indent fixes * ext/gd/libgd/gd.c: - Fixes a segfault reported in #17584 2002-06-05 Markus Fischer * win32/sendmail.c win32/sendmail.h: - Headers are now rewritten to always have \r\n line endings for SMTP. Also automatically removes superflous line breaks at the start and end of the header. 2002-06-05 Derick Rethans * ext/domxml/php_domxml.c: - Fix a problem in domxml_dump_mem(_file) with xmlKeepBlanksDefault not being set. (patch by Rob Richards ) 2002-06-05 Sergey Kartashoff * ext/mnogosearch/php_mnogo.c: 2002-06-05 Stefan Esser * main/rfc1867.c: fixed multiline header detection (':' is valid within following lines) fixed fill_buffer to fill the buffer always completely 2002-06-05 Sergey Kartashoff * ext/mnogosearch/php_mnogo.c ext/mnogosearch/php_mnogo.h: more mnogosearch compilation fixes 2002-06-05 Stefan Esser * main/rfc1867.c: fixing some crashbugs that can be triggered with bogus uploads. 2002-06-05 Sergey Kartashoff * ext/mnogosearch/php_mnogo.h ext/mnogosearch/php_mnogo.c: MnoGoSearch extension fixes to compile under latest mnogosearch 3.2.4 and 3.2.5. Still does not compile with them, but the work still in progress... 2002-06-04 Edin Kadribasic * win32/glob.c: Sync with openbsd glob.c 1.19 * win32/glob.c: Removed some leftover debugging code. 2002-06-04 Jani Taskinen * ext/gd/config.m4: - Fixed the include paths for the needed libraries for bundled libgd. - Removed files which are not needed with libgd2 from the PHP_NEW_EXTENSION. 2002-06-04 Edin Kadribasic * ext/pcntl/php_pcntl.h ext/pcntl/pcntl.c: Added function pcntl_alarm(). 2002-06-04 Stig Bakken * pear/PEAR/Command/Registry.php: * sort package names in "pear list" 2002-06-04 Joseph Tate * ext/domxml/php_domxml.c: * ext/domxml/php_domxml.c: Bug fix to #17560 submitted by Rob Richards 2002-06-04 Mark L. Woodward * ext/msession/reqclient.h ext/msession/msession.c: Added persistent connections, and automattic reconnect on lost connections. Requires Phoenix 1.0 2002-06-04 Markus Fischer * ext/posix/posix.c: - Fix ZTS built. 2002-06-04 Jani Taskinen * ext/gd/gd.c: MFH: fix bug #17535 * ext/gd/gd.c: Fixed bug: #17535 * NEWS: fine tuning * ext/gd/config.m4: - Made the bundled libgd actually work. Fixed bug: #17244 2002-06-03 Markus Fischer * ext/posix/posix.c: - Move macro code into distinct function for easier debugging as suggested by Andi. 2002-06-03 Harald Radi * win32/php4dllts.dsp: fix build 2002-06-03 Rasmus Lerdorf * ext/standard/html.c: Make sure len is defined here 2002-06-03 Edin Kadribasic * NEWS ext/standard/array.c: MFH * ext/standard/array.c: Fixed array_rand() on ZTS platforms. 2002-06-03 Markus Fischer * ext/posix/posix.c: - Fix isatty() and ttyname() (Closes #17323, #17333). * win32/sendmail.c: - Fix a leak and a crash. * win32/install.txt: - Add note about IIS/CGI and cgi.force_redirect gotcha 2002-06-02 Stig Bakken * pear/PEAR/Command.php: * fix bug that was re-introduced during merge 2002-06-02 Markus Fischer * win32/sendmail.c: - Only add the To: field with the $to parameter if we don't have it in the custom header. This was the behaviour < 4.2.x (but it was broken, this one isn't). * win32/sendmail.c: - Revert fix for #14407. The From: header field IS different from the sendmail_from field which is in fact the retturn path. * win32/sendmail.c: - Try to fix most of the buffer overflows and dynamically allocate memory where applicable. 2002-06-02 Adam Dickmeiss * ext/yaz/php_yaz.c: Use ZOOM API for newer YAZ versions. * ext/yaz/config.m4: report error when YAZ cannot be found 2002-06-02 Stefan Roehrich * ext/zlib/zlib.c: Added "Vary: Accept-Encoding" header to zlib.output_compression compressed output as with obgzhandler(). 2002-06-02 Christian Dickmann * pear/PEAR/Frontend/CLI.php: make 'pear remote-info' work with CLI * pear/PEAR/Command/Remote.php pear/PEAR/Frontend/CLI.php: make 'pear search' work with CLI. fix a typo 2002-06-02 Markus Fischer * main/main.c win32/sendmail.c: - Finish implementation of custom smtp port (introduces "smtp_port" ini config). * win32/sendmail.c: - Rephrase comment * win32/sendmail.c: - Classig problem: right idea, wrong pointer ... 2002-06-02 Christian Dickmann * pear/PEAR/Registry.php pear/System.php: silence unlink() and rmdir(). fix a bug where wasn't set due to wrong ini setting 2002-06-02 Stig Bakken * pear/PEAR/Frontend/CLI.php pear/scripts/pear.in pear/tests/pear_config.phpt pear/PEAR/Builder.php pear/PEAR/Command.php pear/PEAR/Command/Auth.php pear/PEAR/Command/Build.php pear/PEAR/Command/Common.php pear/PEAR/Command/Config.php pear/PEAR/Command/Install.php pear/PEAR/Command/Package.php pear/PEAR/Command/Registry.php pear/PEAR/Command/Remote.php pear/PEAR/Common.php pear/PEAR/Config.php pear/PEAR/Installer.php pear/package-PEAR.xml: * merge NEW_UI_API branch * pear/PEAR/Common.php pear/PEAR/Installer.php pear/scripts/pear.in pear/package-PEAR.xml: * implemented "package-info" replacement in package.xml * pear/PEAR/Installer.php: * typo? * pear/PEAR/Command/Config.php: * make output of "config-get" easier to parse * pear/PEAR/Command/Config.php: * fix some error reporting * pear/PEAR/Config.php: * less verbose * pear/PEAR/Installer.php: * fix buildcallback * pear/PEAR/Builder.php pear/PEAR/Installer.php pear/package-PEAR.xml: * "pear install" now builds and C extensions * pear/scripts/pear.in: * add custom error handler * pear/PEAR/Frontend/CLI.php: * de-obsolete display{,Fatal}Error 2002-06-01 Stig Bakken * pear/PEAR/Builder.php: * add some phpdoc 2002-06-01 Stefan Roehrich * ext/snmp/config.m4 acinclude.m4 ext/domxml/config.m4 ext/imap/config.m4: WS change to make very old compilers/preprocessors (e.g. HP/UX 9) happy (thanks to Andreas Ley for recognizing this). 2002-06-01 Christian Dickmann * pear/PEAR/Command/Config.php pear/PEAR/Command/Remote.php pear/PEAR/Config.php pear/PEAR/Frontend/CLI.php pear/PEAR/Installer.php: add 'pear search'. introduce type 'mask' to config. 2002-06-01 Sascha Schumann * sapi/apache/php_apache.c: Fix build 2002-06-01 Andi Gutmans * configure.in: - Fix build with Engine 2 * sapi/apache/php_apache.c: - Reapply netware patch 2002-06-01 Rasmus Lerdorf * sapi/apache/php_apache.c: Put Netware header and comment back in. My CVS revision id got messed up somehow. 2002-06-01 Sander Roobol * php.ini-dist php.ini-recommended: Update cracklib path and comment it out (thanks to Urs Gehrig for the hint) 2002-06-01 Frank M. Kromann * ext/mbstring/mbfilter.c: Makring function declarations match implementations (ZTS compilation) 2002-05-31 Rasmus Lerdorf * sapi/apache/php_apache.c: Oops * sapi/apache/php_apache.c: Renamed getallheaders() to apache_request_headers() and kept getallheaders() as an alias to it. Also added apache_response_headers() which returns the current response headers from Apache. 2002-05-31 Jani Taskinen * ext/mbstring/config.m4: Fixed typo.. 2002-05-31 Stig Bakken * pear/PEAR/Frontend/CLI.php: * added missing fold 2002-05-31 Tomas V.V.Cox * pear/System.php: fread already detects EOF * pear/System.php: Be able to handle strings as well as arrays in _multipleToStruct() * pear/System.php: - Make mkTemp() automatically removed temporary created files or dirs at script shutdown time - Remove unnecesarry PEAR inheritance - Some PHPDoc fixes 2002-05-31 Brad LaFountain * ext/domxml/domxml.dsp ext/domxml/php_domxml.h: Changed PHP_EXPORTS to DOMXML_EXPORTS as Edin Kadribasic suggested 2002-05-31 Harald Radi * ext/standard/credits_ext.h: MFH * ext/standard/credits_ext.h: added wez to the com extension * ext/com/CREDITS ext/com/VARIANT.c ext/com/com.h ext/com/conversion.c ext/com/php_COM.h ext/com/variant.h ext/com/COM.c: MFH * ext/com/CREDITS: added wez and ordered names alphabetically 2002-05-31 Venkat Raghavan S * sapi/apache/php_apache.c: Removed ugly code done as part of NetWare change, upon Andi's advice. Now, the typecasting is done for all platforms. 2002-05-31 Derick Rethans * main/rfc1867.c: - Don't issue a notice when no file was uploaded 2002-05-31 Brad LaFountain * ext/domxml/php_domxml.c: initalize variable in domxml_doc_document_element() * ext/domxml/domxml.dsp: defined PHP_EXPORTS for exporting php_domobject_new() * ext/domxml/php_domxml.c ext/domxml/php_domxml.h: added the ability to use new keywork with domxmls objects "new DomDocument()" instead of xmldoc. This also allows you to create nodes without having a whole document "new DomElement("foo")". moved DOMXML_API_VERSION to php_domxml.h exposed php_domobject_new for other extensions to use removed some un-needed code 2002-05-31 Venkat Raghavan S * main/config.nw.h main/php.h main/php_compat.h sapi/apache/php_apache_http.h sapi/apache/php_apache.c sapi/apache/mod_php4.c: NetWare related changes * netware/buildsapi.bat netware/common.mif netware/php4apache.mak netware/phplib.imp netware/pwd.h: NetWare related additions / changes to build mod_php 2002-05-30 Harald Radi * ext/com/COM.c: * ext/com/VARIANT.c ext/com/conversion.c ext/com/dispatch.c ext/com/COM.c: Added missing AddRef() calls in the COM extension. This should fix weird behaviour (in particular with ADODB). 2002-05-30 Sander Roobol * pear/Console/tests/.cvsignore: Add missing .cvsignore 2002-05-30 Markus Fischer * ext/session/mod_files.c: - Tell the user why his session doesn't work if he uses custom session_id()s. * win32/install.txt: - Typo * win32/install.txt: - Give some useful updates to Win32/Apache/PHP4 installation. Also mention strace for advanced users. 2002-05-30 Christian Dickmann * pear/PEAR/Command/Config.php pear/PEAR/Command/Remote.php pear/PEAR/Frontend/CLI.php: fix a typo. add some information to config-show 2002-05-30 Den V. Tsopa * ext/mbstring/mbfilter_ru.c: Fixes some dummy errors (again). 2002-05-30 Jan Lehnardt * pear/tests/pear_error4.phpt: - add testcase for PEAR::delExpect() 2002-05-30 Stig Bakken * pear/PEAR/Config.php: * organize configuration_info array by group 2002-05-30 Venkat Raghavan S * netware/ZendEngine2.mak netware/build.bat: NetWare changes for ZE2 2002-05-30 Stig Bakken * pear/PEAR/Config.php pear/tests/pear_config.phpt: * applied Alan's patch adding groups and prompts 2002-05-30 Cliff Woolley * sapi/apache2filter/php_functions.c: That macro is and always was hopelessly broken, which is why it's now deprecated. 2002-05-29 Jan Lehnardt * pear/PEAR.php: - minor improvement of readability, * pear/PEAR.php: - added delExpect() API method. It allows to unset one or more expected - error codes. - requires _checkDelExpect() (private) which I added as well. - inspired by chregu (PHP-Deluxe, page 75) 2002-05-29 Christian Dickmann * pear/PEAR/Command/Install.php pear/PEAR/Frontend/CLI.php pear/PEAR/Installer.php pear/PEAR/Common.php: fix a bug and add UI::log 2002-05-29 Den V. Tsopa * ext/mbstring/mbfilter.c: Added GB2312 alias for CN-GB 2002-05-29 Derick Rethans * ext/imap/php_imap.c: - Fix for bug #17503 2002-05-29 Venkat Raghavan S * netware/mktemp.h netware/sys/stat.h netware/tsrm.mak: Changes to build TSRM on NetWare 2002-05-29 Den V. Tsopa * ext/mbstring/mbfilter_ru.c: Fixed some dummy errors. (dets) 2002-05-29 Venkat Raghavan S * netware/zend.mak: Changes to build Zend on NetWare 2002-05-29 Stig Bakken * pear/PEAR/Command.php: * no longer test on whether displayLine exists * pear/PEAR/Builder.php pear/PEAR/Command/Build.php: * build extensions in /var/tmp/pear-build-$USER/extname-n.n * copy built .so files * pear/PEAR/Command/Registry.php: * folding marks * pear/PEAR/Common.php: * make PEAR_Common::log work with the new UI API * pear/PEAR/Frontend/CLI.php: * for now, provoke php errors on calls to the old methods 2002-05-28 Andrei Zmievski * acinclude.m4: Fix a bug in case statement. 2002-05-28 Stig Bakken * pear/PEAR/Command.php: * don't create duplicate ui objects * pear/PEAR/Frontend/CLI.php: * gotta love these extra newlines 2002-05-28 Venkat Raghavan S * netware/bisonflexzend.bat: Batch file to do the Lex / Yacc stuff for Zend * netware/common.mif: SDK directory path change 2002-05-28 Bertrand Mansion * pear/HTML/Table.php pear/HTML/Common.php: Moved to /pear 2002-05-28 Venkat Raghavan S * netware/build.bat netware/common.mif netware/tsrm.mak netware/zend.mak: Makefiles and batch file required to build Zend and TSRM * netware/php-nw.bat: *** empty log message *** 2002-05-28 Stig Bakken * pear/PEAR/Command/Auth.php pear/PEAR/Command/Common.php pear/PEAR/Command/Config.php pear/PEAR/Command/Install.php pear/PEAR/Command/Package.php pear/PEAR/Command/Registry.php pear/PEAR/Command/Remote.php pear/PEAR/Frontend/CLI.php pear/PEAR/Common.php: * imported Christian Dickmann's new UI code * converted PEAR_Frontend_CLI::userDialog() to new API * pear/package-PEAR.xml: * 0.11 release coming up * pear/PEAR/Command/Package.php: * drop package-info command (deprecated by "info") * pear/tests/pear_config.phpt: * update test * pear/PEAR/Command/Build.php pear/PEAR/Builder.php pear/package-PEAR.xml: * update 0.11 release notes * move build logic into PEAR_Builder * pear/scripts/pear.in pear/PEAR/Config.php: * disable *&$^*#@ runtime ^@#*&$@ magical ^*!@@!! quoting * pear/Archive/Tar.php pear/docs/Archive_Tar.txt pear/package-Archive_Tar.xml: * sync up * pear/PEAR/Config.php: * disable magic_quotes_runtime (what a broken concept!!) while reading config files * pear/PEAR/Installer.php: * fix some errors/warnings * install data and test files now * pear/PEAR/Config.php: * added data_dir and test_dir 2002-05-27 Stig Bakken * pear/PEAR/Config.php: * moved the --without-pear compat defines to the right place * pear/PEAR/Config.php: * change root for documentation files to /docs * pear/PEAR/Command/Config.php: * treat umask as octal in "config-set" command * pear/PEAR/Common.php: * use new Archive_Tar gzip autodetection * pear/package-Archive_Tar.xml: * prepare 0.9 release * pear/PEAR/Config.php: * fixed a bug in PEAR_Config::set() that broke validation of "set" parameters * pear/Archive/Tar.php: * better gzip detection (magic cookie) 2002-05-27 Andi Gutmans * genfiles: - Hope this is the last commit in the series. Make sure that the .h file - also goes into ext/standard. I'm not sure how 4.2.1 was built with these - broken files * genfiles: - One more try. * genfiles: - Isn't Makefile.frag being called? (Weird) * genfiles: - Be a bit more verbose 2002-05-27 Sascha Schumann * ext/ircg/ircg.c: Flush data related to the streaming connection during php's rshutdown, and not during the ircg_set_current call, because it is otherwise not guaranteed that the HTTP header is sent out first. 2002-05-27 Stig Bakken * pear/PEAR/Installer.php pear/package-PEAR.xml: * fixes for php without zlib * pear/Archive/Tar.php pear/package-Archive_Tar.xml: * make Archive_Tar auto-detect whether zlib is needed based on file extension (.tar -> no zlib) 2002-05-27 Andi Gutmans * makedist.ZendEngine2: - Small update 2002-05-27 Stig Bakken * pear/package.dtd: * update version * pear/PEAR/Command/Build.php pear/PEAR/Common.php pear/package.dtd pear/package-PEAR.xml: * first shot at "pear build" command for building extensions from C code * pear/PEAR/Command/Registry.php: * "info" command * pear/PEAR/Command/Config.php: * added config-help command * pear/PEAR/Config.php: * drop "any" as a valid preferred_state * pear/PEAR/Config.php: * more verbose docs for "verbose" :) 2002-05-26 Stig Bakken * pear/PEAR/Common.php: * un-indent description too * pear/PEAR/Common.php: * try being smart about de-indenting release notes from the xml * pear/PEAR/WebInstaller.php: * PEAR_Frontend_Web is coming! 2002-05-26 Andi Gutmans * genfiles: - Small fix 2002-05-26 Edin Kadribasic * NEWS: I case we ever release 4.2.2. * sapi/cgi/cgi_main.c sapi/cli/php_cli.c: MFH (fix for exit()) 2002-05-26 Andi Gutmans * genfiles: - Update genfiles for new build system 2002-05-26 Tomas V.V.Cox * pear/scripts/pear.in: Added "pear -V" (show version information) 2002-05-26 Stig Bakken * pear/scripts/pear.in: * another help fix 2002-05-26 Tomas V.V.Cox * pear/PEAR/Command/Config.php: Make the error handling work again since the new internal command structure 2002-05-26 Martin Jansen * pear/package-PEAR.xml: * Add /me has helper. 2002-05-26 Stig Bakken * pear/PEAR/Command/Package.php: * bold column headings * pear/package-PEAR.xml: ^t 2002-05-26 Tomas V.V.Cox * pear/PEAR/Command/Install.php pear/scripts/pear.in: "Help" fixes 2002-05-26 Edin Kadribasic * sapi/cgi/cgi_main.c: Merge from cli. 2002-05-26 Stig Bakken * pear/package-PEAR.xml: * add package.dtd to the distribution * pear/package-PEAR.xml: * roll out 0.10 * pear/PEAR/Command.php: * focus on the present * pear/PEAR/Frontend/Gtk.php: * add @nodep stuff here too * pear/PEAR/Remote.php: * be nice to PEAR_Common::detectDepdencencies() * pear/PEAR/Common.php: * more work on the dependency detector * pear/scripts/pear.in: * Console_Getopt POSIX fix * pear/PEAR.php: * phpdoc fixes (un-break the broken) 2002-05-26 Edin Kadribasic * sapi/cli/php_cli.c: Due to the way Zend handles exit() we cannot rely on the return code of php_execute_script. * sapi/cli/php_cli.c: Made constants persistent and fixed a memory leak. 2002-05-26 Stig Bakken * pear/Console/Getopt.php pear/package-Console_Getopt.xml: * POSIX getopt compatibility support (first argv element is the command) * pear/install-pear.php: * tidy output a bit * ext/standard/versioning.c: Fix segfault in version_compare() * pear/PEAR/Installer.php: * cleaned up error handling in _installFile 2002-05-25 Martin Jansen * pear/PEAR/Command/Package.php: * Make rel_trans from doPackageInfo globally available. * Add command "package-dependencies" (shortcut "pd") to list the dependencies of a package. 2002-05-25 Stig Bakken * pear/PEAR/Remote.php: * typo caught by PEAR_Common::detectDependencies :) 2002-05-24 Rui Hirokawa * ext/mbstring/mbstring.c: reverted my patch. * ext/mbstring/config.m4 ext/mbstring/mbfilter.c ext/mbstring/mbfilter_ru.c ext/mbstring/mbfilter_ru.h ext/mbstring/mbstring.c: reverted patch to support iso2022kr. 2002-05-24 Sander Roobol * ext/standard/info.c: Fix and tags in phpinfo() output (#17411) 2002-05-24 Edin Kadribasic * sapi/cli/php_cli.c: Register STDIN, STDOUT, and STDERR "constants" in cli in cases where script itself is not being loaded from STDIN. This enables constructs like fwrite(STDERR, "Error 42"); 2002-05-23 Derick Rethans * ext/standard/image.c ext/standard/php_image.h: - Added support for compressed SWF (Flash MX) files to getimagesize(). (Fixes feature request #17272). - Added support to getimagesize() for compressed Flash MX files. 2002-05-23 Tomas V.V.Cox * pear/PEAR/Installer.php: TODO++ Check dependencies break on package uninstall (when no force given) * pear/PEAR/Dependency.php: Fix package dependency check (reported by Rasmus) 2002-05-23 Andrei Zmievski * ext/pcre/php_pcre.c NEWS: This code adds string offset capturing in preg_split() results. Original patch by David Brown, modified by me. 2002-05-23 Sascha Schumann * ext/ircg/ircg.c: Revamped timeout handling to be more consistent; it disconnects users which are not associated with a stream window within 3 minutes. Improved the id generator, so that it becomes more unlikely that two or more consecutive runs/instances will yield the same ids. Improved error message collecting to run at constant time intervals. Added a facility which aims at ensuring that the extension does not shutdown(2) unrelated sockets. This has been disabled for now, because of lack of extensive testing. The current time is now easily accessible through a wrapper function. This replaces the ugly #ifdefs spread through the code. IRCG does not generate "Pragma: no-cache" headers anymore. Additionally, ircg_set_current() will not cause the HTTP header to be sent, so you can add/change headers afterwards. And some cleanup. 2002-05-23 Edin Kadribasic * ext/standard/math.c: MFH (patch for allowing strings in pow() args, fixes #17374) 2002-05-23 Andi Gutmans * ext/standard/file.c: - Fix typo 2002-05-23 Wez Furlong * ext/standard/tests/general_functions/proc_open.phpt: Add simple test case for proc_open * ext/standard/exec.c: Fix (stupid) segfault. #17379 2002-05-23 Derick Rethans * ext/standard/exec.c: - Fix unchecked return values with parameters to proc_open. (Fixes bug #17375) * ext/standard/file.c: - Fix errormessage and whitespace 2002-05-23 Yasuo Ohgaki * ext/standard/file.c: Added 4th parameter to specify enclosure character. Patch by Dean Richard Benson Spit more meaningful error messages when delim and/or enclosure char is null. 2002-05-22 Jani Taskinen * run-tests.php: Skip POST data if it is empty. 2002-05-22 Andi Gutmans * makedist.ZendEngine2: - makedist script for creating Engine 2 distribution. - Hopefully we can get a preview out in the next few days. 2002-05-22 Tomas V.V.Cox * pear/PEAR/Command/Package.php: Trigger an error if the run-test.php file is not found Make the run-tests pear cmd run with the CGI SAPI * pear/PEAR/Dependency.php: Test first if the package exists before comparing the version (fix the version_compare() segfault) * pear/PEAR/Remote.php: Make pear -vv XXX set the XML_RPC debug flag 2002-05-22 Wez Furlong * sapi/activescript/CREDITS sapi/activescript/README: Add README and CREDITS... * sapi/activescript/scriptengine.cpp: Fix bug when length was queried before the string was converted. 2002-05-21 Wez Furlong * ext/com/COM.c: Add documentation comment for properties in com_print_typeinfo * ext/com/COM.c: Enhance com_print_typeinfo. The main expected use is like this, for figuring out what methods are allowed for a COM object: $ie = new COM("InternetExplorer.Application"); // Prints class definition for IE object com_print_typeinfo($ie, "InternetExplorer.Application", false); // Prints class definition for default IE event handler com_print_typeinfo($ie, "InternetExplorer.Application", true); 2002-05-21 Andrei Zmievski * NEWS: *** empty log message *** * ext/tokenizer/tokenizer.c: Fix bug #16939. 2002-05-21 Wez Furlong * ext/com/COM.c: Correct usage of convert_to_string_ex which is not allowed to zval* * ext/com/COM.c: Reformat some comments. * ext/com/COM.c: Fix a flag, remove an old comment. * ext/com/com.h ext/com/dispatch.c ext/com/php_COM.h ext/com/variant.h ext/com/COM.c: - Make sure that COM and VARIANT resources are returned as resources rather than longs. - Make the IDispatch implementation a bit more generic (and fix my mess of pointers). - Add new com_message_pump() function that acts like an interruptible usleep() that processes COM calls/events. - Add new com_print_typeinfo() function for "decompiling" the typeinfo for an interface into PHP script. This is useful for generating a skeleton for use as an event sink. - Add new com_event_sink() function for sinking events from COM objects. Usage is like this: terminated = true; } } $ie = new COM("InternetExplorer.Application"); $sink =& new IEEventSinker(); com_event_sink($ie, $sink, "DWebBrowserEvents2"); $ie->Visible = true; $ie->Navigate("http://www.php.net"); while(!$sink->terminated) { com_message_pump(4000); } $ie = null; ?> 2002-05-21 Hartmut Holzgraefe * ext/mime_magic/TODO: ZTS issues fixed * ext/mime_magic/mime_magic.c: not beautifull (yet), but should fix ZTS builds 2002-05-21 Tomas V.V.Cox * pear/PEAR/Installer.php: files that are not installed should be removed from the registered file list (TODO--) 2002-05-21 Stig Bakken * pear/PEAR/Command/Registry.php: * show installed_as instead of a "calculated" path for installed packages * pear/PEAR/Installer.php: * add TODO comment 2002-05-21 Sebastian Bergmann * win32/php4dll.dsp win32/php4dllts.dsp main/config.w32.h.in: Add HAVE_MBSTR_RU support for Win32. * ext/mbstring/mbfilter_ru.c: ZTS fixes. 2002-05-21 Stig Bakken * pear/PEAR/Command/Registry.php: * disable wrapping for now 2002-05-21 Den V. Tsopa * ext/mbstring/mbfilter_ru.c ext/mbstring/mbfilter_ru.h ext/mbstring/mbstring.c ext/mbstring/unicode_table_ru.h ext/mbstring/mbfilter.h ext/mbstring/mbfilter.c ext/mbstring/config.m4: Added russian codepages (koi8-r,cp1251,cp866) support. 2002-05-21 Tomas V.V.Cox * pear/PEAR/Common.php: Some minor error verbosity updates * pear/PEAR/Command/Remote.php: doListRemote -> doRemoteList * pear/PEAR/Installer.php: Make the installation of a package fail when _installFile fails and "force" is not set 2002-05-21 Stig Bakken * pear/PEAR/Command/Registry.php: * list command no longer displays test and data files when listing installed files * pear/PEAR/Command/Package.php: * package-list command no longer needed ("list" does the same thing and more) * pear/PEAR/Command/Registry.php: * rename shell-test shortcut to st (was stest) * pear/PEAR/Command/Install.php pear/PEAR/Command/Package.php pear/PEAR/Command/Registry.php pear/PEAR/Command/Remote.php pear/PEAR/Command/Config.php: * added more shortcuts * pear/PEAR/Command/Package.php pear/PEAR/Command/Registry.php pear/PEAR/Command/Remote.php pear/scripts/pear.in pear/PEAR/Command/Install.php pear/PEAR/Command.php pear/PEAR/Command/Auth.php pear/PEAR/Command/Common.php pear/PEAR/Command/Config.php: * implemented shortcuts ("pv" for "package-validate" etc.) do "pear help shortcuts" to see what shortcuts exist * renamed "list-installed" command to "list" and made it able to list the contents of installed packages as well as tar/tgz/xml files * added some more/better command docs * fixed up the synopsis part in the help output * display option parameters (--foo=bar, where bar is specified in 'shortarg' as for example 'f:bar') * renamed list-remote-packages to list-remote * renamed remote-package-info to remote-info * pear/PEAR/Common.php: * make infoFromAny actually work :) * pear/PEAR/Remote.php: * better wording 2002-05-21 Edin Kadribasic * ext/pgsql/pgsql.dsp: MFH (fix for #17315) * ext/pgsql/pgsql.dsp: Fix for #17315. Requires client library 7.2 or greater to compile. 2002-05-20 Markus Fischer * ext/posix/posix.c: - MFH fix for #17323. * ext/posix/posix.c: - Fix posix_isatty() and posix_ttyname() (Closes #17323) 2002-05-20 Stig Bakken * pear/PEAR/Remote.php: * disable debug in XML_RPC fallback 2002-05-20 Wez Furlong * sapi/activescript/php4as_scriptengine.h sapi/activescript/scriptengine.cpp sapi/activescript/php4activescript.h: Use the GIT for inter-thread marshalling. 2002-05-20 Markus Fischer * ext/zip/zip.c: - Add safe_mode/uid and open_basedir check to zip_open() (closes #16927). * ext/standard/filestat.c: - ZTS gotcha * ext/standard/filestat.c: - Add open_basedir check for all functions using php_stat() (filesize, stat, etc), closes #11563. 2002-05-20 Harald Radi * sapi/activescript/classfactory.cpp sapi/activescript/scriptengine.cpp: this way it even compiles * ext/com/com.h ext/com/conversion.c ext/com/COM.c: integrating wez's patch 2002-05-20 Stig Bakken * pear/PEAR/Command/Remote.php: * new command setup * pear/packages/XML_RPC-1.0.2.tar pear/packages/XML_RPC-1.0.3.tar: * upgrade bundled XML_RPC package to 1.0.3 * pear/Makefile.frag pear/install-pear.php: * new installer rule that does not depend on bash * pear/PEAR/Common.php: * _infoFromAny goes public! * pear/PEAR/Installer.php: * some verbosity changes: 0 - only errors, 1 - status report when the install is done, 2 - show each operation, 3 - show file operations * pear/PEAR/Command/Install.php: * no output in verbosity level 0 * pear/PEAR/Config.php: * added PEAR_Config::removeLayer() * pear/PEAR/Command/Package.php: * remove getCommands() from here * added options to "pear cvstag": -q -Q -d -F 2002-05-20 Yasuo Ohgaki * ext/pgsql/pgsql.c: MFH 2002-05-20 Stig Bakken * pear/scripts/pear.in: * support multiple -v and -q options * pear/package-Archive_Tar.xml: * forgot to update the release date * pear/package-Archive_Tar.xml: * fix fix * pear/Archive/docs/Tar.txt pear/Archive/Tar.php pear/package-Archive_Tar.xml: * merge 0.4 files from /pear/Archive_Tar * pear/package-Console_Getopt.xml: * prepare 0.10 * pear/PEAR/Command/Registry.php: * remove run() from this class 2002-05-20 Wez Furlong * win32/php4dllts.dsp: This somehow got undone when I committed the rest... 2002-05-20 Yasuo Ohgaki * ext/pgsql/pgsql.c: Fixed possible pg_lo_write() overflow and make it more fail safe. 2002-05-20 Wez Furlong * win32/php4ts.dsw: Add activescript sapi to the workspace * sapi/activescript/classfactory.cpp sapi/activescript/php4activescript.c sapi/activescript/php4activescript.def sapi/activescript/php4activescript.dsp sapi/activescript/php4activescript.h sapi/activescript/php4as_classfactory.h sapi/activescript/php4as_scriptengine.h sapi/activescript/scriptengine.cpp: Implement ActiveScript interfaces. This allows use of PHP in: Client-side script in Internet Explorer Windows Scripting Host ASP and ASP.NET pages It's mostly working... give it a go. You will need to regsvr32 the php4activescript.dll manually. * main/fopen_wrappers.h main/spprintf.h: Protect C code with extern "C" * ext/com/COM.c ext/com/conversion.c ext/com/dispatch.c ext/com/php_COM.h: Added generic COM wrapper for PHP objects. 2002-05-20 Tomas V.V.Cox * pear/PEAR/Command/Install.php: Added missing key 'doc' for -Z help * pear/PEAR/Common.php: Fix small bug making the baseinstalldir attrib persist 2002-05-20 Yasuo Ohgaki * ext/pgsql/pgsql.c: Improve large object performance. pg_lo_read() and pg_lo_read_all() should perform much better now. Fixed Old API support for pg_lo_import(). 2002-05-20 Stig Bakken * pear/PEAR/Command/Install.php: * no need for getCommands() here * pear/PEAR/Command/Package.php: * new command setup * pear/PEAR/Command/Auth.php: * typo fixes, wrapping 2002-05-19 Stig Bakken * pear/package-PEAR.xml: * install pear.bat on Windows only 2002-05-19 Jani Taskinen * pear/package-Archive_Tar.xml pear/package-Console_Getopt.xml pear/package-PEAR.xml: Make this actually work somewhat better.. 2002-05-19 Edin Kadribasic * NEWS: Give due credit to Markus. 2002-05-19 Stig Bakken * pear/PEAR/Dependency.php: * compat fix 2002-05-19 Markus Fischer * NEWS: - Mention the availability of glob(). 2002-05-19 Tomas V.V.Cox * pear/scripts/pear.in: Put "pear help options" working again * pear/PEAR/Command/Common.php: Put "pear help command" working again 2002-05-19 Sander Roobol * run-tests.php: Fix php.ini-related stuff in run-tests.php * main/php_ini.c: get_cfg_var("get_file_path") didn't work correctly when an alternative php.ini _file_ was specified using -c 2002-05-19 Edin Kadribasic * main/config.w32.h.in win32/glob.c win32/glob.h win32/php4dllts.dsp ext/standard/dir.c: Added glob() support for windows. 2002-05-19 Sander Roobol * php.ini-dist php.ini-recommended: It's get_cfg_var() not cfg_get_var() * tests/basic/.cvsignore tests/classes/.cvsignore tests/func/.cvsignore tests/lang/.cvsignore tests/strings/.cvsignore pear/tests/.cvsignore tests/.cvsignore ext/zip/tests/.cvsignore ext/zlib/tests/.cvsignore pear/XML/tests/.cvsignore ext/standard/tests/strings/.cvsignore ext/standard/tests/time/.cvsignore ext/standard/tests/versioning/.cvsignore ext/xml/tests/.cvsignore ext/xslt/tests/.cvsignore ext/standard/tests/general_functions/.cvsignore ext/standard/tests/math/.cvsignore ext/standard/tests/reg/.cvsignore ext/standard/tests/serialize/.cvsignore ext/standard/tests/.cvsignore ext/standard/tests/aggregation/.cvsignore ext/standard/tests/array/.cvsignore ext/standard/tests/assert/.cvsignore ext/standard/tests/file/.cvsignore ext/pspell/tests/.cvsignore ext/session/tests/.cvsignore ext/skeleton/tests/.cvsignore ext/mcve/tests/.cvsignore ext/ncurses/tests/.cvsignore ext/openssl/tests/.cvsignore ext/pcntl/tests/.cvsignore ext/pgsql/tests/.cvsignore ext/iconv/tests/.cvsignore ext/interbase/tests/.cvsignore ext/mbstring/tests/.cvsignore ext/mcrypt/tests/.cvsignore ext/dio/tests/.cvsignore ext/domxml/tests/.cvsignore ext/exif/tests/.cvsignore ext/gmp/tests/.cvsignore ext/db/tests/.cvsignore ext/dbplus/tests/.cvsignore ext/dbx/tests/.cvsignore ext/crack/tests/.cvsignore ext/ctype/tests/.cvsignore ext/cybermut/tests/.cvsignore ext/bz2/tests/.cvsignore run-tests.php: Fix temporary filename problems, and update .cvsignores with new extensions * Makefile.global run-tests.php: Fix make test and remove a warning * Makefile.global run-tests.php: Cleaned up run-tests.php, and fixed it on linux/unix 2002-05-19 Stig Bakken * pear/PEAR/Command/Package.php: * new command setup * pear/PEAR/Installer.php: * support platform-specific files * pear/OS/Guess.php: * take uname as optional constructor parameter 2002-05-19 Jani Taskinen * NEWS: Typo fixes * ext/exif/exif.c ext/domxml/php_domxml.c: MFH * ext/exif/exif.c ext/domxml/php_domxml.c: DO NOT use C++ comments! 2002-05-18 Christian Stocker * ext/domxml/php_domxml.c: - delete attributes as well in php_free_xml_node - more consistent naming in phpinfo() * ext/domxml/php_domxml.c: added "domxml API version" in phpinfo() output. * ext/domxml/php_domxml.c: MFH for memleak fixes in domxml_dump_mem and domxml_html_dump_mem * ext/domxml/php_domxml.c: mem leak fix for domxml_dump_node * ext/domxml/php_domxml.c: fixes memleak in html_dump_mem * ext/domxml/php_domxml.c: rename the object name for comment nodes to domcoment 2002-05-18 Markus Fischer * ext/standard/dir.c: - Fix portability issues with empty results on Linux and FreeBSD, add safe_mode check and simplify code. 2002-05-18 Christian Stocker * ext/domxml/php_domxml.c: MFH for memleak patch * ext/domxml/php_domxml.c: WS fixes * ext/domxml/php_domxml.c: This should fix a big bad memory leak in freeing the nodes at script end. 2002-05-17 Sascha Schumann * sapi/thttpd/thttpd.c: Improve readability of the header send function 2002-05-17 Markus Fischer * NEWS: - Stuff all Win32 mail() changes together. 2002-05-17 Jon Parise * NEWS: Credit where credit is due. 2002-05-17 Markus Fischer * win32/sendmail.c win32/sendmail.h: - Win32 mail() is no longer case-sensitive when it comes to match for any headers (e.g. from:, cc:, etc). 2002-05-17 Preston L. Bannister * win32/php4ts.dsw: Re-add "tests" project - this is the only change to file. For some reason MSVC chose to put "" around all the project file names. (Why? Ask Microsoft :). Perhaps different patch levels on MSVC6?). These files are not hand-edited. 2002-05-17 Wez Furlong * ext/openssl/openssl.c: proto tweak * ext/sysvsem/sysvsem.c ext/sysvsem/php_sysvsem.h: Add an optional flag to sem_get that specifies if the semaphore should be automatically released on request shutdown. (#16986) Fix a segfault in sem_remove (#17274) 2002-05-17 Joseph Tate * win32/php4ts.dsw: Reverted the last commit which moved all the projects around. 2002-05-17 Cliff Woolley * sapi/apache2filter/config.m4 sapi/apache/config.m4: Allow the version checks for --with-apxs= and --with-apxs2= to work with development version of Apache, whose version strings end in "-dev", eg "Apache/2.0.37-dev". PR: 17233 Submitted by: Dale Ghent * ext/standard/head.c: Only the last cookie was getting set. (You can have more than one Set-Cookie: header, as indicated by http://wp.netscape.com/newsref/std/cookie_spec.html.) PR: 16626 Submitted by: regina@hitel.net * sapi/apache2filter/php_functions.c: apache 2.0's apache_lookup_uri() was returning an array rather than an object, which contradicted both the documentation and the behavior of the same function under apache 1.3. PR: 14999 * sapi/apache2filter/apache_config.c: * restore the php_flag and php_admin_flag Apache directives which for some mysterious reason never made their way from sapi/apache to sapi/apache2filter when it was first written PR: 16629 * change the allowed locations of php_admin_value (and php_admin_flag to match) to ACCESS_CONF instead of OR_NONE to match sapi/apache. No idea why it was ever OR_NONE. PR: 16489 2002-05-17 Preston L. Bannister * tests/php.ini: Default INI file used with run-tests.php 2002-05-16 Christian Stocker * ext/domxml/php_domxml.h ext/domxml/php_domxml.c: - replaced domxml_doc_document_element implementation do use libxml2 method - renamed domxml_add_root to domxml_doc_add_root (and added alias for BC) - aliased $doc->get_root to domxml_document_element - added domxml_doc_set_root to change the root node (Lukas Schroeder) 2002-05-16 Preston L. Bannister * tests/lang/031.phpt: More detailed/explanatory output. * tests/lang/029.phpt: Make failed case tell you what was different. * tests/basic/011.phpt: Make test valid for either "register globals" setting. * ext/ctype/tests/002.phpt: Restrict ctype tests to POSIX portable characters (0..127) and add numeric character tests. * ext/standard/tests/aggregation/aggregate.phpt ext/standard/tests/aggregation/aggregate_methods.phpt ext/standard/tests/aggregation/aggregate_methods_by_list.phpt ext/standard/tests/aggregation/aggregate_methods_by_regexp.phpt ext/standard/tests/aggregation/aggregate_properties.phpt ext/standard/tests/aggregation/aggregate_properties_by_list.phpt ext/standard/tests/aggregation/aggregate_properties_by_regexp.phpt ext/standard/tests/aggregation/aggregation_info.phpt ext/standard/tests/aggregation/deaggregate.phpt: Remove leading "./" from include filenames as in PHP this defeats include_path. * win32/php4ts.dsw: Add "tests" project to invoke run-tests.php (unit tests). * run-tests.php: Updated to run cleanly on Win32, and perform a more controlled test. * tests/tests.mak: Add TEST_PHP_DETAILED usage for verbose test runs. * tests/basic/002.phpt tests/basic/003.phpt tests/basic/004.phpt tests/basic/005.phpt: Fix typo in SKIP clause. * ext/standard/string.c: Adjust dirname() on Win32 to match CWD per drive semantics. * tests/dirname.phpt: dirname() checks that work for both Unix and Win32. 2002-05-16 Jani Taskinen * ext/standard/filestat.c: MFH 2002-05-16 Rasmus Lerdorf * ext/standard/string.c: MFH just in case * ext/standard/string.c: Grr.. I keep leaving my debug in... * ext/standard/string.c: Fix for #17271 2002-05-16 Preston L. Bannister * ext/mbstring/mbstring.c: Range check arguments to mb_strcut(). Test ext/mbstring/013.phpt causes a hard failure w/o this. * ext/mbstring/mbregex.h: Proper declaration to suppress compiler warning. 2002-05-16 Jani Taskinen * ext/standard/filestat.c ext/standard/tests/file/003.inc ext/standard/tests/file/003.phpt: - Made all is_*() functions to return only boolean values. - Killed the "file not found" error for is_link(). (finally..) 2002-05-15 Preston L. Bannister * tests/tests.dsp tests/tests.mak: Win32 project and makefile used to invoke run-tests.php 2002-05-15 Frank M. Kromann * ext/mssql/php_mssql.c: Fixing the mssql_query to handle multiple results correct if the first result does not return any data. 2002-05-15 Harald Radi * ext/com/conversion.c: MFH * ext/com/conversion.c: this should finally fix bug #14353 2002-05-15 Frank M. Kromann * win32/sendmail.c win32/sendmail.h: Fixing line breaks * win32/imap_sendmail.c: Fixing build of IMAP extension, after changes in sendmail 2002-05-15 Markus Fischer * win32/imap_sendmail.c: - Accommodate API changes to Ack(). 2002-05-15 Christian Stocker * ext/domxml/config.m4: libxml2 >= 2.4.14 is needed (since quite some time ...) 2002-05-15 Jani Taskinen * NEWS: Cleanup 2002-05-15 Rui Hirokawa * NEWS: Added Chinese, Korean support in mbstring. * ext/mbstring/mbfilter.c ext/mbstring/mbfilter_cn.c ext/mbstring/mbfilter_kr.c ext/mbstring/mbfilter_kr.h ext/mbstring/mbstring.c: added ISO-2022-KR support in mbstring. 2002-05-15 Tomas V.V.Cox * pear/PEAR/Common.php: make downloadHttp() detect HTTP errors 2002-05-15 Jani Taskinen * INSTALL: MFB * INSTALL: Nuke 4.1 for good this time. * INSTALL: MFH * INSTALL: Nuke .1 * EXTENSIONS: Added ctype to this list too. 2002-05-15 Markus Fischer * win32/sendmail.c: - Add support for Bcc in w32/sendmail code. 2002-05-15 Derick Rethans * ext/ctype/ctype.c: - It's bundled, thus not experimental anymore 2002-05-14 Frank M. Kromann * ext/mssql/php_mssql.h ext/mssql/php_mssql.c: Fixing hanfling of data type REAL. Remove extra bytes allocated by emalloc calls 2002-05-14 Rui Hirokawa * ext/mbstring/mbfilter_tw.c: fixed a initialization bug in euc-tw. 2002-05-14 Sascha Schumann * configure.in: some versions of autoconf pad CONFIG_FILES with a single space. accomodate that Thanks to Cliff Woolley 2002-05-14 Markus Fischer * ext/standard/mail.c: - Adjust for improved error messages from win32/sendmail.c * win32/sendmail.c win32/sendmail.h: - Improve code so errors returned from the server are reported back to the user. 2002-05-14 Tomas V.V.Cox * pear/PEAR/Config.php: Try to create the dir where the conf file resides before trying to write to it * pear/scripts/pear.in: Add "\n" after the error in usage() 2002-05-14 Markus Fischer * win32/sendmail.c: - Do not include the Cc: for the first Cc'd recipient (spotted by Richard). * win32/sendmail.c win32/sendmail.h: - Convert unix to dos line endings. * win32/sendmail.c: - Try to find From: field in header, fallback to sendmail_from php.ini setting (Original patch by Michael Sisolak , enhanced a bit). - Win32 mail() supports parsing 'From:' field from header (msisolak@yahoo.com, Markus). * win32/sendmail.c win32/sendmail.h: - MFH fix for Cc: crash * win32/sendmail.h win32/sendmail.c: - Fix win32 sendmail bug with Cc: in custom header not terminated with \r\n - Fix some obvious errors returned by the module, little cleanup. 2002-05-14 Stig Bakken * pear/PEAR/Command/Config.php: * convert to new command setup * pear/PEAR/Command/Auth.php: * typo 2002-05-14 Jan Lehnardt * README.CVS-RULES: - MFH * README.CVS-RULES: - fix typo, thanks to georg for spotting it. 2002-05-14 Stig Bakken * pear/PEAR/Remote.php: * fall back to XML_RPC if xmlrpc-epi is not loaded * pear/PEAR/Command/Auth.php: * add command definitions, split run() into one method for each command * pear/PEAR/Command/Install.php: * no need for getHelp() here anymore * pear/PEAR/Command/Common.php: * moved get{Help,Commands,Options} here * pear/scripts/pear.in: * moved the {config xxx} help message substitution to PEAR_Command_Common::getHelp 2002-05-14 Jason Greene * sapi/fastcgi/config.m4: Fix fastcgi build, may need more work 2002-05-13 Marko Karppinen * sapi/apache2filter/config.m4: Patch by Justin Erenkrantz for enabling --with-apxs2 build on Darwin. Omitting the change to start linking with libtool for now, though. 2002-05-13 Rasmus Lerdorf * ext/gd/libgd/gd.c: fix copyresampled bug in bundled gd lib 2002-05-13 Jim Jagielski * sapi/apache2filter/apache_config.c: More verbose but more generic error message when we spot multiple PHPINIDir directives 2002-05-13 Rasmus Lerdorf * ext/standard/filestat.c: MFH * ext/standard/filestat.c: Make sure newtime is never NULL 2002-05-13 Jan Lehnardt * README.CVS-RULES: - MFH * README.CVS-RULES: - added reference to http://cvsbook.red-bean.com/ 2002-05-13 Zeev Suraski * ext/standard/info.c: - Fix a buglet in printing of GPCSE arrays - Remove indirect access 2002-05-13 Andrei Zmievski * ext/standard/array.c ext/standard/php_array.h ext/session/session.c ext/wddx/php_wddx.h ext/wddx/wddx.c pear/Console/Getopt.php ext/pcre/php_pcre.c ext/pcre/php_pcre.h: Changing email address. 2002-05-13 Derick Rethans * configure.in main/php_version.h: - Bumb version number 2002-05-13 Sander Roobol * .cvsignore: Added confdefs.h which seems to be generated by configure 2002-05-13 Zeev Suraski * main/main.c ext/standard/info.c: - Centralize html_puts() again - Revolutionize phpinfo()'s speed 2002-05-13 Jon Parise * ext/imap/php_imap.c: Instead of calling mail_fetchheader_full() to retrieve the complete header information just to extract the message envelope, call mail_fetchenvelope(), which returns just what we need. This is simpler, faster, and saves the IMAP server some work. Submitted by: Adam Kauffman 2002-05-12 Stig Bakken * pear/scripts/pear.in: * fix option parsing 2002-05-12 Zeev Suraski * main/output.c: Remove redundant code (thanks to Jani for pointing that out) 2002-05-12 Derick Rethans * configure.in main/php_version.h: - Fix version 2002-05-12 Stig Bakken * pear/PEAR/Command/Common.php pear/PEAR/Command/Install.php pear/scripts/pear.in pear/PEAR/Command.php pear/PEAR/Installer.php: * refactored the command/options code: - now each command class should define a "commands" property with documentation, option specs etc. - both long and short options are now supported - after recent changes to Console_Getopt, you may now have options to commands even though the same option is also valid for the pear command itself - less CLI-centric, better suited to Gtk and Web frontends 2002-05-12 Jani Taskinen * NEWS: sync with branch * NEWS: short is good * NEWS: Made several entries comprehensible. 2002-05-12 Edin Kadribasic * NEWS: Merged safe_mode fixes into one entry. 2002-05-12 Jon Parise * ext/imap/php_imap.c ext/imap/php_imap.h: Submitted by: Rob Siemborski 2002-05-12 Edin Kadribasic * win32/install.txt: Fixed typo. * NEWS: MFH 2002-05-12 Sascha Schumann * ext/sockets/config.m4: As far as I can tell, the AC_CHECK_MEMBER could not succeed, because it does not include which is necessary for the definition of struct msghdr. This include file is not part of ac_includes_default. Regardless, AC_CHECK_MEMBER is a autoconf-2.5x macro and thus we expand it here for 2.13 compatibility. 2002-05-12 Tomas V.V.Cox * pear/scripts/pear.in: The command name is now the first arg not the second * pear/PEAR/Command/Install.php: Add "r" in cmd help * pear/scripts/pear.in: The first entry in argv is the command name, so Getopt will stop parsing more args 2002-05-12 Rasmus Lerdorf * ext/standard/file.c: MFH * ext/standard/file.c: Change safe-mode rule for rmdir() to match unlink() - allow is target is opened by caller or in a directory owned by caller 2002-05-12 Sascha Schumann * main/main.c: Simplify even more * main/main.c: Simplify white space handling in php_html_puts. If we encounter a ' ', we will look for the next non-' ' and set p accordingly. 2002-05-12 Sebastian Bergmann * ext/calendar/easter.c: Nuke unused local variables. 2002-05-12 Marko Karppinen * ext/calendar/calendar.c ext/calendar/easter.c ext/calendar/php_calendar.h: Add an option to calculate easter dates based on the Gregorian calendar during the years 1582-1752. Earlier this was only possible from 1753 onwards. Use the optional parameter CAL_EASTER_ROMAN with easter_days() to enable this. This is a fix for bug #12766. 2002-05-12 Sascha Schumann * ext/mbstring/config.m4: Fix this again. If you are unsure whether enable or with shall be used, please inquire on the mailing list. WITH is solely for the purpose of pointing to paths and other external entities. Note that the comment has always mentioned "--disable-mbstring" which clearly refers to enable and not with. 2002-05-12 Stig Bakken * pear/PEAR/Dependency.php: * fix up package dependency check 2002-05-12 Sascha Schumann * ext/standard/info.c: Use string_len information * ext/standard/info.c main/main.c main/php_ini.c main/php_main.h: reenable php_html_puts 2002-05-12 Tomas V.V.Cox * pear/PEAR/Dependency.php: Make avaible 2002-05-12 Stig Bakken * pear/package-Console_Getopt.xml: * fix description 2002-05-12 Rui Hirokawa * ext/mbstring/mbfilter.c ext/mbstring/mbfilter.h ext/mbstring/mbfilter_cn.c ext/mbstring/mbfilter_cn.h ext/mbstring/mbfilter_kr.c: added chinese HZ encoding support. fixed ascii area character conversion was not work in euc-cn and euc-kr. 2002-05-12 Daniela Mariaschi * ext/interbase/interbase.c: fix bug #17040 User can't close a connection if there are blobs opened. He must close them before to not lose data.... 2002-05-12 Sascha Schumann * ext/session/session.c: - Fix the way code was outcommented - Remove unused STR_CAT macro - Remove limits/tests based on unused macro - Implement cache_limiter(private) using private_no_expire 2002-05-12 Daniela Mariaschi * ext/interbase/interbase.c: fix bug #17040 ibase_close again..... User can't close a connection if there are blobs opened. He must close them before to not loose data.... 2002-05-12 Tomas V.V.Cox * pear/package-Console_Getopt.xml: Vincent is not involved in this class :-) 2002-05-12 Jason Greene * ext/sockets/config.m4 ext/sockets/sockets.c: Fix build on IRIX for both mips and gcc 2002-05-12 Stig Bakken * pear/Console/tests/001-getopt.phpt pear/Console/Getopt.php: * Try again: fixed Console_Getopt::getopt so it does not steal options after the first non-option argument. Added test. * pear/tests/pear_config.phpt: * updated config key names * pear/tests/pear_registry.phpt: * exclude _lastmodified registry attrib from tests 2002-05-12 Rui Hirokawa * ext/mbstring/config.m4: fixed to support --with-mbsting=LANG. 2002-05-10 Edin Kadribasic * configure.in: Fixed "make install" when compiled with --disable-cli option. 2002-05-10 Markus Fischer * sapi/cgi/cgi_main.c sapi/cli/php_cli.c: - Prefix the first version line with 'PHP' so it's easier to use shell tools to parse the version number (both CLI and CGI). * sapi/cli/php_cli.c sapi/cgi/cgi_main.c: - This affects both CGI and CLI sapi: Remove Zend version output from -m switch and move it over to the output of the -v switch (-v is supposed to list version numbers, not -m). 2002-05-10 Christian Stocker * ext/domxml/php_domxml.c: - added fifth optional parameter to domxml_xslt_process. If set, it will output profiling information to the file stated (chregu) - introduced version numbering for this extension 2002-05-10 Martin Jansen * pear/Makefile.frag: * package-pear.xml has been renamed to package-PEAR.xml. 2002-05-10 Edin Kadribasic * NEWS main/config.w32.h.in win32/crypt_win32.c win32/md5crypt.c win32/md5crypt.h win32/php4dllts.dsp: Added MD5 support for crypt() on Windows. * win32/.cvsignore: Ignoring *.aps files. * ext/pgsql/php_pgsql.h: Fix win32 build. 2002-05-09 Preston L. Bannister * sapi/cgi/cgi_main.c: Backed out preceding change. 2002-05-09 Jani Taskinen * main/php_ini.c: ws fix 2002-05-09 Preston L. Bannister * main/php_open_temporary_file.c: Compute directory for temporary files once and use same directory for all subsequent calls. 2002-05-09 Daniela Mariaschi * ext/interbase/interbase.c: corrected parameter * ext/interbase/interbase.c: fix test 5 to pass 2002-05-09 Preston L. Bannister * main/php_ini.c: Detect when running under IIS and default force_redirect to zero. This This means an explicit php.ini setting is no longer required. (NO extraneous whitespace changes this time (sigh)). 2002-05-09 Stig Bakken * pear/package-PEAR.xml pear/package-db.xml pear/package-pear.xml: * remove package-db.xml * rename package-pear.xml to package-PEAR.xml (generic format is package-PKGNAME.xml) 2002-05-09 Preston L. Bannister * sapi/cgi/cgi_main.c: Detect when running under IIS and default force_redirect to zero. This This means an explicit php.ini setting is no longer required. (No extraneous whitespace changes this time :). 2002-05-09 Frank M. Kromann * ext/mssql/php_mssql.h ext/mssql/php_mssql.c: Allow the MSSQL extension to use NT authentication 2002-05-09 James Cox * README.SUBMITTING_PATCH: this is dangerous.... 2002-05-09 Frank M. Kromann * php.ini-dist php.ini-recommended: Adding ini setting that allows the MSSQL extension to use NT authentication 2002-05-09 Preston L. Bannister * main/php_ini.c: Add check for php.ini in same directory as php.exe (or equivalent executable that loaded php4ts.dll). Check is done before looking in the Windows directory. This allows distinct php.ini files when different applications using PHP are installed on the same system. Should be backwards compatible. Note that checking for in CWD php.ini may be a security risk(?), and can now be made compile-time configurable by removing a single #define. (This time with tabs for leading indent). 2002-05-09 Jani Taskinen * main/php_open_temporary_file.c sapi/cgi/cgi_main.c ext/session/session.c main/php_ini.c: Revert the last patches. 2002-05-09 Sander Roobol * ext/session/session.c: Revert Preston's patch 2002-05-09 Jani Taskinen * main/main.c: ws fix 2002-05-09 Preston L. Bannister * main/php_ini.c: Add check for php.ini in same directory as php.exe (or equivalent executable that loaded php4ts.dll). Check is done before looks in the Windows directory. This allows distinct php.ini files when different applications using PHP are installed on the same system. Should be backwards compatible. Note that checking for php.ini in CWD may be a security risk(?), and can now be made compile-time configurable by removing a single #define. * ext/session/session.c: Change default directory for session data from /tmp (non-portable) to none. Default directory for session data (if not specified) is same (platform-specific) directory used for temporary files. This is backwards compatible and removes the need for explicitly specifying the session.save_path on Win32. * main/php_open_temporary_file.c: Compute directory for temporary files once and use same directory for all subsequent calls. * sapi/cgi/cgi_main.c: Detect when running under IIS and not require explicit setting of force_redirect. This means an explicit php.ini setting is no longer required. 2002-05-09 Edin Kadribasic * ext/crack/crack.dsp: No need to link libxm2 in order to build php_crack.lib 2002-05-09 Vincent Blavet * pear/Archive/Tar.php: * Better handling of Windows paths (\php\any_thing or c:\php\any_thing) * Remember that inside the archive path are all the time in unix format /php/any_thing * When necessary, '\' are replaced by '/' and 'c:' are removed * Synchro with cvs:pear/Archive_Tar/Tar.php version 1.20 2002-05-09 Stig Bakken * pear/packages/DB-1.2.tar pear/packages/XML_Parser-1.0.tar pear/packages/XML_RPC-1.0.2.tar: * add some packages to bundle with PHP * pear/PEAR/Command/Package.php: * add "pear run-tests" command * pear/Makefile.frag: * use PEAR installer to install stuff (won't overwrite if newer versions of packages already are installed) * pear/XML/Parser.php pear/XML/Render.php pear/XML/tests/001.phpt pear/XML/tests/002.phpt pear/XML/tests/003.phpt pear/XML/tests/004.phpt pear/XML/tests/005.phpt pear/XML/tests/parser1.r pear/XML/tests/parser1.t pear/XML/tests/parser2.i pear/XML/tests/parser2.r pear/XML/tests/parser2.t pear/XML/tests/parser3.r pear/XML/tests/parser3.t pear/XML/tests/parsererror.r pear/XML/tests/parsererror.t pear/XML/tests/test.xml: * moving XML_Parser to /pear * pear/DB/msql.php pear/DB/mssql.php pear/DB/mysql.php pear/DB/oci8.php pear/DB/odbc.php pear/DB/pgsql.php pear/DB/storage.php pear/DB/sybase.php pear/DB.php pear/DB/IDEAS pear/DB/MAINTAINERS pear/DB/STATUS pear/DB/TESTERS pear/DB/common.php pear/DB/dbase.php pear/DB/fbsql.php pear/DB/ibase.php pear/DB/ifx.php: * permanently moving DB to /pear 2002-05-09 Derick Rethans * pear/scripts/phpize.in: - Fix phpize * pear/scripts/phpize.in: - Dump API NOs 2002-05-09 Jani Taskinen * configure.in pear/scripts/php-config.in: Fix 'php-config --version' 2002-05-09 Derick Rethans * ext/standard/info.c: - Add PHP_API_VERSION too * ext/standard/info.c: - Show both API nos 2002-05-09 Sander Roobol * win32/install.txt: Added notes that php.exe and not php-cli.exe should be used. * sapi/cli/php_cli.c sapi/cgi/cgi_main.c: Added the current SAPI to the output of php -v 2002-05-09 Stig Bakken * pear/PEAR/Command/Install.php: * show "update ok" after updates * run-tests.php: * try the installed cli binary if everything else fails (I'm starting to agree that looking too hard for a php binary is wrong) * pear/Makefile.frag: * install the old-fashioned way for just a bit longer * pear/scripts/pear.in pear/Makefile.frag pear/PEAR/Command.php pear/PEAR/Command/Auth.php pear/PEAR/Command/Config.php pear/PEAR/Command/Install.php pear/PEAR/Command/Package.php pear/PEAR/Command/Registry.php pear/PEAR/Command/Remote.php pear/PEAR/Frontend/Gtk.php pear/package-pear.xml: * add -G option to "pear" for php-gtk frontend * added Gtk stub (only creates window right now) * added command descriptions 2002-05-08 Jason Greene * ext/sockets/sockets.c: Merge overflow fix * ext/sockets/sockets.c: Fix overflow 2002-05-08 Rui Hirokawa * configure.in sapi/apache/mod_php4.c main/main.c ext/mbstring/mbfilter.h ext/mbstring/mbstring.c ext/mbstring/mbstring.h ext/mbstring/mbfilter.c: Added conversion support from script character encoding to internal character encoding. This feature is very useful for japanese who uses Shift_JIS encoding because some of characters in Shift_JIS are including '0x5c' and it causes some troubles on Zend parser. This patch is made by Masaki Fujimoto. 2002-05-08 Yasuo Ohgaki * main/output.c: Added estrdup() needed. Fixed typo. 2002-05-08 Aaron Bannert * EXTENSIONS: This is a more appropriate address for me. 2002-05-08 Zak Greant * ext/mysql/php_mysql.c: Minor improvement to error message for mysql_data_seek 2002-05-08 Markus Fischer * run-tests.php: - Add a warning if running with safe_mode enabled. 2002-05-08 Derick Rethans * ext/standard/credits_sapi.h: - Forgot one * sapi/apache2filter/CREDITS EXTENSIONS: - Added Aaron Bannert as maintainer 2002-05-08 Frank M. Kromann * ext/standard/php_smart_str.h: Kill a compiler warning on Win32 2002-05-07 Sascha Schumann * main/php.h: Due to the thread-safety changes and lots of other stuff, the current tree is not backwards compatible anymore. Bump API no. 2002-05-07 Jason Greene * ext/sockets/sockets.c: MFH BSD fix * ext/sockets/sockets.c: Fix 10830, and 17074 FreeBSD requires the exact length of the socket type 2002-05-07 Frank M. Kromann * main/spprintf.c: Fixing win32 build. 2002-05-07 Sascha Schumann * main/snprintf.c main/snprintf.h: use thread-safe functions unconditionally * main/snprintf.c main/snprintf.h: Add thread-safety to some conversion functions and sync a bit with APR. 2002-05-06 Jason Greene * ext/pcntl/pcntl.c: MFH * ext/pcntl/pcntl.c: Fix invalid warning caused by bogus convert_to_* calls Fix possible invalid data in status for pcntl_waitpid() 2002-05-06 Markus Fischer * ext/standard/datetime.c: - WS fix as pointed out by fabwash@hotmail.com 2002-05-06 Jason Greene * ext/pcntl/pcntl.c: MFH Fix for ZTS and crash bugs * ext/pcntl/pcntl.c: Fix type-o that broke ZTS build Fix 3 nasty crash bugs that could occur if pcntl_exec's call to execve errored 2002-05-06 Derick Rethans * configure.in main/php_version.h: - Swap back version number * NEWS: - Fix release date 2002-05-06 jim winstead * ext/standard/file.c: MFH: fix problem with mkdir() on freebsd * ext/standard/file.c: fix problem with mkdir() on freebsd 2002-05-06 Edin Kadribasic * sapi/cli/README: Update README with register_argc_argv settings override. 2002-05-06 Aaron Bannert * sapi/apache2filter/sapi_apache2.c: Merge two SEGV fixes from the trunk: - startup SEGV caused by delaying the initialization too long. - graceful restart SEGV caused by not re-initializing. 2002-05-06 Derick Rethans * NEWS: - Fix release day * main/php_version.h configure.in: - GO with rc2 2002-05-05 Wez Furlong * ext/standard/html.c: Add support for remaining entities in HTML 4 for the UTF-8 encoding in htmlentities/htmlspecial chars. This is a fix for for #17008. 2002-05-05 Yasuo Ohgaki * NEWS: Clenup before I forgot. 2002-05-05 Aaron Bannert * sapi/apache2filter/sapi_apache2.c: Fix a graceful restart SEGV. We no longer only perform initialization on the second pass through the post_config. Now we only avoid the initialization only on the first DSO load, and on all subsequent loads we rerun the init code. * sapi/apache2filter/sapi_apache2.c: Fix an elusive and intermittent startup SEGV. The problem was the static string we were using to set an initialization flag would get remapped to a different location when Apache reloaded the DSO, causing us to not run our initialization routines. Submitted by: Justin Erenkrantz Reviewed by: Aaron Bannert (I added the big comment too) 2002-05-05 Stanislav Malyshev * ext/standard/exec.c: Return right exit status 2002-05-05 Jani Taskinen * sapi/cli/php_cli.c: MFH * sapi/cli/php_cli.c: Force register_argc_argv=On for CLI 2002-05-05 Thies C. Arntzen * ext/standard/url_scanner_ex.c: touch * ext/session/php_session.h ext/session/session.c ext/standard/url_scanner_ex.c ext/standard/url_scanner_ex.h ext/standard/url_scanner_ex.re: re-add accidentily nuked session_adapt_url() 2002-05-05 Rui Hirokawa * ext/mbstring/mbfilter.c ext/mbstring/unicode_table.h: bug fixed in unicode -> cp1252 table. 2002-05-05 Marko Karppinen * sapi/apache2filter/config.m4: Well that didn't last long! (Reverting previous.) * sapi/apache2filter/config.m4: Prelim. patch to enable apache2filter to link on Darwin. Submitted by: Justin Erenkrantz Reviewed by: markonen 2002-05-05 Rui Hirokawa * ext/standard/reg.c: fixed problem that ereg_replace() couldn't match with line stand/end marker. * ext/mbstring/mbfilter.c ext/mbstring/mbfilter_cn.c ext/mbstring/unicode_table_cn.h: added missing areas on Unicode->CP936 conversion table. added an alias CP932 on sjis-win. 2002-05-05 Sascha Schumann * ext/standard/url_scanner_ex.c: sync * ext/standard/url_scanner_ex.re: the output buffer is flushed during request shutdown before it reaches our rshutdown, so it is safe to delete the contents of the url rewriter variables here. 2002-05-04 Zeev Suraski * main/output.c: We shouldn't force Content-length:, but much worse, it's wrong in many cases (basically, unless you use output buffering to buffer all of your content, it won't work; output buffering is used for lots of different things as a functional interface, and such buffers have no relation to Content-type at all). 2002-05-04 Sascha Schumann * main/output.c: Free string before overwriting it * ext/standard/url_scanner_ex.c: update * ext/standard/basic_functions.c ext/standard/url_scanner_ex.h ext/standard/url_scanner_ex.re main/output.c main/php_output.h ext/session/session.c: simplify handling of variables by maintaining two strings which are simply appended instead of traversing the hash table on each URL/form. also fix an unconditional segfault in rshutdown due to efree'ing a static char *. remove remove_var, add reset_vars. move the function declarations into the right header file. * ext/standard/basic_functions.c: ret set but unused * main/user_streams.c: these are case sensitive * ext/standard/iptc.c: c set but unused * ext/standard/iptc.c: inheader set but unused 2002-05-04 James Cox * main/user_streams.c: touch. * main/user_streams.c: add $id:$ line 2002-05-04 Sascha Schumann * ext/standard/string.c: block_ended/opposite_target were set but never used * ext/standard/strnatcmp.c: don't emit code for version * main/php_variables.c: free_index is set but never used * main/user_streams.c: call_result is set but never used * sapi/cli/getopt.c: ap_php_optopt is set but never used * ext/standard/php_fopen_wrappers.h: Fix linkage of symbols * ext/standard/image.c: entry_length was set but never used * ext/standard/var_unserializer.c: update * ext/standard/var_unserializer.re: rval_temp was declared but never used * ext/standard/http_fopen_wrapper.c: redirected is set but never used * ext/standard/url_scanner_ex.c: include url.h * ext/standard/url_scanner_ex.re: include url.h to pull in declaration of php_url_encode * ext/standard/file.c: Make this code work on compilers which don't consider the address of a variable on the stack available at compile time. * ext/standard/basic_functions.c: unused var * ext/posix/posix.c: p is set, but never used. * ext/mbstring/config.m4: Turn misplaced PHP_ARG_WITH into _ENABLE and fix --enable-mbstring=shared * ext/session/config.m4: Fix --enable-session=shared * ext/xml/config.m4: Fix --enable-xml=shared 2002-05-04 Stig Venaas * ext/ldap/ldap.c: Reworked result resource handling so that result is not freed until all its result entry resources are freed 2002-05-04 Rui Hirokawa * ext/standard/reg.c: fixed a problem that ereg_replace() couldn't match with line stand/end marker. 2002-05-04 Yasuo Ohgaki * main/output.c: Forgot to dup strings. * main/output.c: Fixed reference to freed zval string value. * main/output.c: Fixed crash when buffer is over written in ob callback. (Bug $ 12227) Added check current output function check for Centent-Length header. 2002-05-03 Jani Taskinen * NEWS: MFH * NEWS: Domxml changes go into the 4.2.x branch. 2002-05-03 Christian Stocker * ext/domxml/php_domxml.h ext/domxml/php_domxml.c: full MFH as discussed with derick * ext/domxml/php_domxml.h ext/domxml/php_domxml.c: removed the function for domxml_node_add_child and made an alias to domxml_node_append_child for BC 2002-05-03 Stig Bakken * pear/OS/Guess.php: * switched from static to instance model * added matching method with glob support, some examples: $os->matchSignature('linux'); $os->matchSignature('linux-2.4*); $os->matchSignature('linux-*-i?86'); 2002-05-03 Christian Stocker * ext/domxml/php_domxml.c: WS fixes * ext/domxml/php_domxml.c: one parameter too much * ext/domxml/php_domxml.c: added encoding support for domxml_dump_mem() 2002-05-03 Thies C. Arntzen * ext/standard/url_scanner_ex.c: forgot 2002-05-03 Sebastian Bergmann * ext/session/session.c: Fix ZTS build. 2002-05-03 Thies C. Arntzen * main/output.c ext/standard/url_scanner_ex.h ext/standard/url_scanner_ex.re ext/standard/basic_functions.c ext/session/session.c ext/session/php_session.h: i have also modified the session module to use this - so it doesn't need to fiddle with the output-system any more 2002-05-03 Stig Bakken * pear/OS/Guess.php pear/package-pear.xml: * fixed autoconf vs. pear installer replacement issue in scripts/pear.in (pear installer now substitutes "@prefix@/bin" to bin_dir ;-) * added skeleton for OS_Guess class * NEWS: * unintentional news entry :-) * pear/PEAR/Installer.php: * apply umask when installing files 2002-05-02 Stig Bakken * pear/PEAR/Config.php: * add umask config value 2002-05-02 Frank M. Kromann * ext/mbstring/mbfilter_tw.c: Changed & to &&. * ext/mbstring/mbstring.dsp: Adding missing files to the project * ext/standard/info.c: Fixing wrong pointer 2002-05-02 Sander Roobol * sapi/cgi/cgi_main.c: MFH * sapi/cgi/cgi_main.c: Fixed some minor typos 2002-05-02 Jason Greene * ext/sockets/sockets.c: socket_write() should just use the standard socket error macro so that errors will be consistent if the macro ever changes 2002-05-02 James Cox * sapi/cgi/cgi_main.c: fix. * sapi/cgi/cgi_main.c: MFH. 2002-05-02 Sebastian Bergmann * sapi/cgi/cgi_main.c: Fix build. 2002-05-02 James Cox * sapi/cgi/cgi_main.c: updated cgi warning notice. 2002-05-02 Derick Rethans * configure.in: - MFH 2002-05-02 Zeev Suraski * configure.in: Update comment 2002-05-02 Yasuo Ohgaki * main/output.c: Change nest level to send Content-Length again. It seems this is the best setting for now. PHP will not send Content-Length always. It only sends when it is possible to send. output_buffer=0 is supposed to disable chunked output, but it seems it does not disable. It also behaves a litte strange way. This should be addressed someday. It is possible Content-Length header is not set. If it happens, try to increase chunk size for now. (i.e. output_buffer=40960) I included a little debug code for me and other develpers to play with, when (NestLevel==1 && ObStatus==5), PHP sends Content-Length. 2002-05-02 Harald Radi * ext/com/COM.c: MFH * ext/com/COM.c: remove temporary resources immediately return value fix 2002-05-02 Sascha Schumann * configure.in: Readd warning * configure.in: Readd warning If Mr. Taskinen feels like removing it again, he can commence a discussion. Otherwise, I'll personally disable his CVS account immediately. * configure.in: in6addr_any is defined as extern in IRIX header files, but is not actually contained in any library (sigh). Make this check fail, if the link stage does not succeed. Also avoid GCC optimization which drops the reference to ip6addr_any. Tested on IRIX 6.5.15. 2002-05-02 Derick Rethans * ext/standard/info.c: - Add Zend API No. to phpinofo() output 2002-05-02 Jani Taskinen * ext/xslt/config.m4: MFH: Do not use the old expat libs. * ext/xslt/config.m4: Stop the search when the libs are found. * ext/xslt/config.m4: Added the usual search paths where to look for expat. 2002-05-02 Tomas V.V.Cox * pear/package-pear.xml: Install pear.bat 2002-05-02 Sebastian Bergmann * win32/php4dll.dsp win32/php4dllts.dsp: I could swear it worked the other way before I committed. 2002-05-02 Tomas V.V.Cox * pear/package-pear.xml: untabify 2002-05-02 James Cox * NEWS: englishify. 2002-05-02 Sebastian Bergmann * main/.cvsignore: Add config.w32.h. * win32/php4dllts.dsp: Oops. * NEWS: Fugbix typos. * main/config.w32.h main/config.w32.h.in win32/php4dll.dsp win32/php4dllts.dsp NEWS: The Windows build can now be configures more comfortably, for instance in regard to built-in extensions. 2002-05-02 Jani Taskinen * configure.in: MFH * configure.in: Remove bogus warning. * NEWS: Sync with PHP_4_2_0 branch. 2002-05-02 Yasuo Ohgaki * main/output.c: Fixed header output. Only need to output header when it is actually sent to client. 2002-05-02 Jon Parise * pear/scripts/pear.in: Revert the previous commit (revision 1.40). (FreeBSD 4.5), thus producing a broken shebang line. substitution problem noted above needs to be resolved before the change is reapplied. 2002-05-02 Yasuo Ohgaki * main/output.c: Check buffer status * main/main.c main/output.c: Make Content-Type output always correct. * NEWS: Modify NEWS entry for Content-Length header change * main/output.c ext/zlib/zlib.c: Move Content-Length: header handling from zlib.c to output.c When output buffer is enabled and header can be sent, Content-Length: header is added always from now on. 2002-05-01 Derick Rethans * ext/standard/base64.c: - MFH * ext/standard/base64.c: - Fix String is not zero-terminated error in base64_decode 2002-05-01 Markus Fischer * ext/sockets/sockets.c: - Update protos for socket_read() and socket_write(). - Set last_error in socket_write(). * ext/sockets/sockets.c: - Update protos for getpeer/getsock-name. 2002-05-01 Jason Greene * ext/sockets/sockets.c: Fix BYREF_FORCE that was not being read Fix error message 2002-05-01 Sascha Schumann * configure.in: MFH * configure.in: Add a big disclaimer regarding register_globals. It just bit me again but now on a live customer site :-/ 2002-05-01 Derick Rethans * main/php_version.h configure.in: - Update version number * main/php_version.h NEWS configure.in: - Go with 4.2.1rc1 2002-05-01 Markus Fischer * ext/sockets/php_sockets.h ext/sockets/sockets.c: - Rename setopt and getopt to set_option and get_option, provide alias. * ext/sockets/sockets.c: - Fix couple of problems with socket_create_pair(): - Force fourth argument to be passed by reference - Since the argument is modified there is no need to force it to be an array since it's destroyed anyway - Only modify the argument if socketpair() was successfully - Fix string modified for error message message - Set global last_error when socketpair() fails * ext/sockets/sockets.c: - Add SOMAXCONN constant. 2002-05-01 Wez Furlong * ext/openssl/openssl.c: Fix for #16885 * ext/openssl/openssl.c: No asserts in branch * ext/openssl/openssl.c: MFH fix for #16940, compiler warnings and TSRMLS build fixes. * ext/openssl/openssl.c: Probable fix for #16940. 2002-05-01 Markus Fischer * ext/sockets/sockets.c: - WS fixes * NEWS: - Mention the socket_select() API change * ext/sockets/sockets.c: - MFH fix for socket_select() and some minor memory leak; NEWS entry follows. 2002-05-01 Jason Greene * ext/sockets/sockets.c: Changed socket_select to force reference copy, the older code would modify all references Also fix small memory leak. 2002-04-30 Harald Radi * ext/overload/overload.c: ZE2 compatibility fixes 2002-04-30 Markus Fischer * ext/sockets/sockets.c: - Forgot to update proto * ext/sockets/sockets.c: - Allow resetting the module global last_error too. 2002-04-30 Sebastian Bergmann * ext/mbstring/mbfilter_cn.c ext/mbstring/mbfilter_tw.c: More unused variables. 2002-04-30 Stanislav Malyshev * ext/standard/aggregation.c: Fix ZE1 build 2002-04-30 Harald Radi * NEWS: MFH 2002-04-30 Sebastian Bergmann * ext/mbstring/mbfilter_kr.c: Fix ZTS build. Remove unused variables. * main/config.w32.h: Add missing #define's. 2002-04-30 Harald Radi * NEWS: 2002-04-30 Sebastian Bergmann * win32/php4dll.dsp win32/php4dllts.dsp: Add new ext/mbstring/mbfilter_*.c files. 2002-04-30 Sascha Schumann * ext/standard/var_unserializer.c: Touch file 2002-04-30 Dan Kalowsky * ext/odbc/php_odbc.c: reverting the cursor change as it seems to break many ODBC drivers. * ext/odbc/php_odbc.c: re-setting the CURSOR back to DYNAMIC rather than FORWARD_ONLY. This change broke many other ODBC drivers (obviously testing wasn't extensive). 2002-04-30 Rui Hirokawa * ext/mbstring/mbfilter.c ext/mbstring/mbregex.c: fixed compile warning with Visual C++. * ext/mbstring/mbfilter_cn.c ext/mbstring/mbfilter_cn.h ext/mbstring/mbfilter_ja.c ext/mbstring/mbfilter_kr.c ext/mbstring/mbfilter_kr.h ext/mbstring/mbfilter_tw.c ext/mbstring/mbfilter_tw.h ext/mbstring/mbstring.c ext/mbstring/unicode_table_cn.h ext/mbstring/unicode_table_kr.h ext/mbstring/unicode_table_tw.h ext/mbstring/config.m4 ext/mbstring/mbfilter.c ext/mbstring/mbfilter.h: added simplified chinese, traditional chinese, korean support to mbstring. Note that this feature is experimental. 2002-04-30 Stanislav Malyshev * ext/standard/browscap.c: ZE2 compatibility fix * ext/standard/aggregation.c: ZE2 compatibility fixes 2002-04-30 Jani Taskinen * ext/standard/tests/file/003.phpt: revert last bogus change. There is bug in is_file() 2002-04-30 Uwe Steinmann * ext/domxml/php_domxml.c ext/domxml/php_domxml.h: - added function domxml_parser_set_keep_blanks() 2002-04-30 Frank M. Kromann * ext/mbstring/mbstring.dsp: Adding missing files to project 2002-04-30 Sebastian Bergmann * ext/standard/file.c: Fix ZTS build. 2002-04-30 Wez Furlong * ext/standard/http_fopen_wrapper.c: Make use of new flag so that we can buffer http headers when we know that the stream is not intended to be used in require/include. * ext/standard/file.h ext/standard/file.c ext/standard/basic_functions.c: Implement user-space funtions to operate on stream contexts. * ext/standard/tests/file/003.phpt: Fix is_file test. * main/streams.c: Remove debug code that should not have been committed. * main/network.c: Remove this; it should not have been commited * main/main.c: revert... * main/main.c main/network.c main/php_streams.h main/streams.c: Implement context option setting API. Add/amend debugging code for sockets. Add a flag that will help the http wrapper optimize itself when it is not being used for include/require. 2002-04-29 Jani Taskinen * pear/pear.m4: MFH: Add the shared extension check. * ext/ming/config.m4: Never add libraries without checking that they exist and can be linked. 2002-04-29 Harald Radi * ext/com/COM.c: MFH * ext/com/COM.c: RETURN_NULL() is defined with braces while RETURN_TRUE and RETURN_FALSE are defined without. seems not very consistent ? 2002-04-29 Stanislav Malyshev * ext/standard/var.c: MFH * ext/standard/var.c: Add comments for the fix * ext/standard/var.c: Fix here too 2002-04-29 Harald Radi * ext/com/COM.c: MFH * ext/com/COM.c: functions returned FALSE in case of error and the oo api returned NULL. make them both behave equal (return NULL, as FALSE can be a valid value). 2002-04-29 Stanislav Malyshev * ext/standard/var.c: MFH serializer fix * ext/standard/var.c: Yet another serialization fix - for incomplete class 2002-04-29 Jani Taskinen * ext/recode/config.m4 ext/recode/recode.c: Make it possible to use recode 3.5 too. (happy now Wez? :) * NEWS: Sync with PHP_4_2_0 branch. 2002-04-29 Markus Fischer * ext/sockets/sockets.c: - Fix WS and CS a bit * ext/sockets/php_sockets.h ext/sockets/sockets.c: - Store last errno in the module global 'last_error' implicitely - Set the global 'last_error' explicitely for functions which can't return an error withing a single socket context (socket_create and socket_select) - Modified socket_last_error() to return global modules last error if no socket resource is given - Added a couple of more E_WARNING messages in case something goes foobar so the user isn't left alone in the dark. 2002-04-29 Mika Tuupola * pear/File/Find.php: * fixed the maxrecursion in mapTreeMultiple() 2002-04-29 Yasuo Ohgaki * NEWS: Added touch fix * ext/standard/filestat.c: MFH touch bag fix * NEWS: MFB * NEWS: Added NEWS entry for PostgreSQL function rename. Removed duplicate entry. 2002-04-29 Stig Bakken * pear/package-pear.xml: * version will be 0.10 * pear/PEAR/Packager.php: * slight cleanup * pear/PEAR/Packager.php: * call the right parent constructor * pear/PEAR/Command/Install.php: * PEAR_Installer constructor now expects only the UI object * pear/PEAR/Command/Remote.php: * PEAR_Common::downloadHttp no longer wants a config object * pear/PEAR/Common.php: * always set $this->config (use PEAR_Config::singleton) * rename setFrontend to setFrontendObject * add validPackageName method * added downloadHttp callback types setup, connfailed and writefailed * no more passing config objects around * pear/PEAR/Installer.php: * use the downloadHttp method w/callback 2002-04-29 Rui Hirokawa * ext/ming/config.m4: shlib suffix was not defind and rint() was not found without -lm. 2002-04-28 Jani Taskinen * build/rules.mk: Fixed bug: #16858 2002-04-28 Sascha Schumann * ext/standard/url_scanner_ex.c: touch file * ext/standard/url_scanner_ex.c: Touch generated file 2002-04-28 Sebastian Bergmann * main/config.w32.h main/internal_functions_win32.c win32/php4dll.dsp win32/php4dllts.dsp: Enable bundled build of ext/ctype and ext/mbstring on Win32. 2002-04-28 Stanislav Malyshev * ext/standard/var_unserializer.c ext/standard/var_unserializer.re ext/standard/var.c: MFH: serializer/unserializer fix * ext/standard/var.c ext/standard/var_unserializer.c ext/standard/var_unserializer.re: Fix couple of nasty serializer bugs: a) When array unserializer encounters less data than it expects (like: a:1:{}) it crashes. I don't understand exactly why it does, but the fact is it does. So now it should catch "}" and bail out. b) When array/object data are serialized, the count is written by hash count. However, it can be that in-loop check fails and less data than expected will then be written into the array. Which, due to a), would crash on unserialize. So now it will write empty entries in place of entries it cannot serialize (the other choice would be make two passes on the data, which I don't like). 2002-04-28 Thies C. Arntzen * ext/standard/url_scanner_ex.c: timestamp * NEWS ext/session/php_session.h ext/session/session.c ext/standard/url_scanner_ex.c ext/standard/url_scanner_ex.h ext/standard/url_scanner_ex.re: revert session_set_userdata - diffent patch will come shortly 2002-04-28 Stig Bakken * pear/package.dtd: * forgot script element in release contents * pear/PEAR/Common.php pear/package.dtd: * package.dtd: version 1.0b7 - added element - added