2002-12-27 Edin Kadribasic * (PHP_4_3) NEWS: MFB: Mention the fact that zlib extension is now built-in in win32 distro. * NEWS: Mention the fact that zlib extension is now built-in in win32 distro. * NEWS: Resolved apperent cvs commit confict. 2002-12-27 Georg Richter * (PHP_4_3) NEWS: ISO-8601 bug, typo 2002-12-27 Ilia Alshanetsky * NEWS: Bug fixing news. 2002-12-26 Derick Rethans * ext/ftp/CREDITS ext/ncurses/CREDITS ext/standard/credits.c ext/standard/credits_ext.h: - MFB * ext/ncurses/CREDITS: All on one line * ext/ftp/CREDITS ext/standard/credits.c ext/standard/credits_ext.h: - update credits 2002-12-26 Georg Richter * ext/ncurses/CREDITS: added Wez, Ilia & myself * ext/ncurses/CREDITS: added Wez, Ilia and myself 2002-12-26 Wez Furlong * ext/standard/file.c: MFH: get_meta_tags() stream leak * ext/standard/file.c: Remove cruft that opened a stream that was never closed in get_meta_tags(). (probably my fault). Noticed by Philip Olson 2002-12-26 Sterling Hughes * ext/standard/string.c: if needle is empty free allocated memory * ext/standard/string.c: remove memleak 2002-12-26 Marcus Boerger * ext/dba/tests/dba_db4.phpt: Add missing test for db4 handler 2002-12-26 Georg Richter * ext/mysql/php_mysql.c: fixed some compiler warnings when using external libmysqlclient 4.x 2002-12-26 Edin Kadribasic * php.ini-dist php.ini-recommended main/config.w32.h.in main/internal_functions_win32.c win32/php4dllts.dsp: MFB: Made ZLIB extension built in on Windows. Fixes #21139. * php.ini-dist php.ini-recommended main/config.w32.h.in main/internal_functions_win32.c win32/php4dllts.dsp: Made ZLIB extension built in on Windows. Fixes #21139. 2002-12-25 George Schlossnagle * sapi/cgi/cgi_main.c: fixed ws * sapi/cgi/cgi_main.c: mfh (bug #21177) * sapi/cgi/cgi_main.c: fix for 21177 2002-12-25 Derick Rethans * ext/standard/tests/array/bug21182.phpt: - Add test for bug #21182 2002-12-25 Ilia Alshanetsky * ext/standard/array.c: Make range operate on the copies of the parameters rather then modify the actual parameters. 2002-12-25 Moriyoshi Koizumi * ext/standard/array.c: Fixed bug #21182 2002-12-24 Stefan Esser * sapi/cgi/cgi_main.c: fix compile warning * ext/mime_magic/mime_magic.c sapi/cgi/cgi_main.c: MFH * ext/mime_magic/mime_magic.c: do correct casting 2002-12-24 Ilia Alshanetsky * ext/ncurses/ncurses_functions.c: Removed pointless assignment. * ext/ncurses/ncurses_functions.c: The -1 is no longer needed, since it is done automatically by strlcpy(). * ext/ncurses/ncurses_functions.c: Changed strncpy() to strlcpy(). * ext/ncurses/ncurses_fe.c ext/ncurses/ncurses_functions.c: A variety of CS style fixes, which include: * Changed all argument parsing to use the new zend_parse_parameters() * If a function is unavailable due to lack of support for a certain feature, do not make the function avaliable, rather then making it print an error saying that the functionality offered by the function is not avaliable. * Lots of WS fixes all over the file. * Change strcpy() to strncpy() to prevent possible buffer overflows. Fixed a bug in ncurses_pair_content(), 1st parameter was wrong. Fixed several function prototypes that failed to indicate that functions accepted arguments by reference. 2002-12-24 Melvyn Sopacua * ext/standard/dir.c: MFH: crash fix in glob() with no results 2002-12-23 Melvyn Sopacua * ext/standard/dir.c: Verify if gl_pathv is not NULL, which it is, when GLOB_NOMATCH isn't supported and there are no matches. 2002-12-23 Stefan Esser * ext/mime_magic/mime_magic.c: MFH * ext/mime_magic/mime_magic.c: fix compile error on IRIX * ext/exif/exif.c: MFH: fix compile error with IRIX compiler 2002-12-23 Edin Kadribasic * sapi/cgi/.cvsignore: MFB: Ignore the new name of the binary built. Allows cvsclean to work again in sapi/cgi. * sapi/cgi/.cvsignore: Ignore the new name of the binary built. Allows cvsclean to work again in sapi/cgi. 2002-12-23 Wez Furlong * main/streams.c: MFB: fpos_t -> off_t * main/streams.c: fpos_t should have been off_t. Noticed by Philip Olson. 2002-12-22 Ilia Alshanetsky * ext/ncurses/ncurses_functions.c: MFH * ext/ncurses/ncurses_functions.c: Fixed various memory leaks. 2002-12-22 Moriyoshi Koizumi * ext/ncurses/ncurses_functions.c: Removed "%s" from format strings 2002-12-22 Ilia Alshanetsky * ext/ncurses/ncurses.c ext/ncurses/ncurses_functions.c ext/ncurses/php_ncurses.h: MFH (fix for bug #21146). * ext/ncurses/ncurses.c ext/ncurses/ncurses_functions.c ext/ncurses/php_ncurses.h: Fixed bug #21146. 2002-12-22 Moriyoshi Koizumi * ext/ncurses/ncurses_functions.c: MFH: php_error => php_error_docref * ext/ncurses/ncurses_functions.c: php_error => php_error_docref * ext/ncurses/ncurses.c: MFH: WS fix * ext/ncurses/ncurses.c: WS fix * ext/ncurses/ncurses.c ext/ncurses/ncurses_functions.c ext/ncurses/php_ncurses.h: MFH * ext/ncurses/ncurses.c ext/ncurses/ncurses_functions.c ext/ncurses/php_ncurses.h: Fixed bug #21144 2002-12-22 Wez Furlong * ext/standard/tests/file/bug21131.phpt ext/standard/tests/file/userstreams.phpt main/streams.c: MFH fix for Bug #21131 * ext/standard/tests/file/bug21131.phpt: Forgot to include this in my previous commit for #21131 fix. * ext/standard/tests/file/userstreams.phpt main/streams.c: Fix for Bug #21131: fopen($file, 'a+') would incorrectly assume that the stream position was at offset 0. This corrects that assumption by querying the stream for it's position when it detects the 'a' "flag" in the mode parameter to fopen. Also added a test for plain files and amended the userstreams test to take this into account. 2002-12-22 Sascha Schumann * ext/exif/exif.c: (char *) vptr += expr; is refused by the IRIX compiler, so we use vptr = (char *) vptr + expr; instead. * ext/exif/exif.c: 'index' is a function name in the C library, do not use it as variable name. also, cast the 'void *' correctly to a 'char *' for manipulation instead of an 'int'. 2002-12-22 Wez Furlong * main/network.c: MFH: A Simple fix for Bug #12360 (fsockopen timeout doesn't work). Analysis: On systems with HAVE_GETADDRINFO and IPV6 support, php_hostconnect would attempt to connect to each possible address that matched the requested IP. If the remote host:port combination are dropping packets this would cause the first connection to timeout (after waiting for the full timeout duration). PHP would then attempt the second address and wait the full duration again. Solution: If the first connection attempt times out, abort the connection loop. * main/network.c: A Simple fix for Bug #12360 (fsockopen timeout doesn't work). Analysis: On systems with HAVE_GETADDRINFO and IPV6 support, php_hostconnect would attempt to connect to each possible address that matched the requested IP. If the remote host:port combination are dropping packets this would cause the first connection to timeout (after waiting for the full timeout duration). PHP would then attempt the second address and wait the full duration again. Solution: If the first connection attempt times out, abort the connection loop. 2002-12-22 Melvyn Sopacua * run-tests.php: Delete some security related env variables 2002-12-22 Stig Bakken * pear/System.php pear/PEAR/Config.php: MFH * pear/System.php: - Windows fix from Edin * pear/PEAR/Config.php: - set default xml-rpc cache ttl to 1 hour 2002-12-21 Frank M. Kromann * win32/php4ts_cli.dsp: MFH * win32/php4ts_cli.dsp: Create php.exe in cli directory to avoid conflict with the cgi version 2002-12-21 Edin Kadribasic * php.ini-dist php.ini-recommended: MFB: Updated list of bundled windows extensions compiled by Christoph Grottolo * php.ini-dist php.ini-recommended: Updated list of bundled windows extensions compiled by Christoph Grottolo * NEWS: MFB: Reflect recent changes to the build process. * NEWS: Reflect recent changes to the build process. 2002-12-21 Moriyoshi Koizumi * sapi/apache2filter/sapi_apache2.c: MFH: Made auth information inaccessible under safe mode * sapi/apache2filter/sapi_apache2.c: Made auth information inaccessible under safe mode as discussed in the list 2002-12-21 Melvyn Sopacua * tests/lang/bug20993.phpt: MFB: There won't be a warning/fix on this, so remove the test * tests/lang/bug20993.phpt: There won't be a warning/fix on this, so remove the test 2002-12-21 Ilia Alshanetsky * NEWS: Moved the bug fix news entry to 4.3.0 section, to indicate that it has been MFHed. * NEWS: Bug fixing news * ext/curl/curl.c: MFH 2002-12-21 Andrei Zmievski * NEWS sapi/apache/mod_php4.c: MFB. * sapi/apache/mod_php4.c: Make PHP_AUTH_* variables not available in safe mode under Apache. Patch by Philip Olson. 2002-12-21 Ilia Alshanetsky * NEWS: Bug fixing news & range() changes. * ext/curl/interface.c: Fixed bug #20987 (no handling for client certificates). 2002-12-21 Derick Rethans * ext/pgsql/pgsql.c: MFB: Fix typo * ext/pgsql/pgsql.c: - Fix typo 2002-12-21 Melvyn Sopacua * tests/lang/bug20993.phpt: MFB: Skip the test, until a proper descision is made * tests/lang/bug20993.phpt: Skip the test, until a proper descision is made 2002-12-21 Moriyoshi Koizumi * sapi/apache2filter/sapi_apache2.c: WS * sapi/apache2filter/sapi_apache2.c: Added some notes about the brigade bug detection 2002-12-21 Andrei Zmievski * configure.in main/php_version.h: Back to -dev. * configure.in main/php_version.h: Go with RC4. * NEWS ext/dba/dba.c: MFH * NEWS NEWS: -** empty log message *** * ext/dba/dba.c: Alias dba_popen() to dba_open() until persistent STDIO streams are implemented. 2002-12-20 Sascha Schumann * netware/ZendEngine2.mak: test commit 2002-12-20 Marcus Boerger * ext/dba/dba.c ext/dba/dba_cdb.c ext/dba/dba_db2.c ext/dba/dba_db3.c ext/dba/dba_dbm.c ext/dba/dba_flatfile.c ext/dba/dba_gdbm.c ext/dba/php_dba.h ext/dba/tests/dba_cdb.phpt ext/dba/tests/dba_handler.inc: MFH: as discussed 2002-12-20 Stefan Esser * ext/sybase/php_sybase_db.c: MFH * ext/sybase/php_sybase_db.c: need more space 2002-12-20 Georg Richter * ext/mysql/php_mysql.c: fixed some warning when using external 4.x libs 2002-12-20 Frank M. Kromann * ext/domxml/domxml.dsp win32/php4ts.dsp: MFH * ext/domxml/domxml.dsp: Fixing Win32 build by adding missing libraries 2002-12-20 Sara Golemon * ext/standard/dns.c: Minor clarification in meaning of bitmask constants /* PHP_DNS_xx = 1<<(T_xx-1) */ T_CNAME = 5 ergo PHP_DNS_CNAME should be 0x00000010. T_SOA = 6 ergo PHP_DNS_CNAME should be 0x00000020. 2002-12-20 Marcus Boerger * ext/dba/dba.c ext/dba/dba_cdb.c ext/dba/dba_db2.c ext/dba/dba_db3.c ext/dba/dba_db4.c ext/dba/dba_dbm.c ext/dba/dba_flatfile.c ext/dba/dba_gdbm.c ext/dba/php_dba.h ext/dba/tests/dba_cdb.phpt ext/dba/tests/dba_handler.inc: -Fix memory handling of persistent dba connections. -Update tests. 2002-12-20 Frank M. Kromann * win32/php4ts.dsp: Make sure the debug version is created in the right directory 2002-12-20 Ilia Alshanetsky * ext/standard/array.c ext/standard/tests/array/range.phpt: When low & high are the same return an array containing the low value. Added support for float values and handling of numeric values being passed as strings. Added a test case for range(). 2002-12-20 Marcus Boerger * ext/standard/uniqid.c: * ext/standard/uniqid.c: MFB * ext/standard/uniqid.c: Avoid compiler warnings 2002-12-20 Andrei Zmievski * ext/dba/dba.c: MFH * ext/dba/dba.c: At least this problem exposed some leaks.. 2002-12-20 Marcus Boerger * ext/standard/basic_functions.c ext/standard/uniqid.c ext/standard/uniqid.h: MFH * ext/standard/basic_functions.c ext/standard/uniqid.c ext/standard/uniqid.h: -disable uniqid() when required lib functions not available -emit an error when uniqid() will fail -make more_entropy parameter default to true for CYGWIN 2002-12-20 Moriyoshi Koizumi * sapi/cli/php_cli.c: MFH * sapi/cli/php_cli.c: Recommited the patch 2002-12-20 Sterling Hughes * ext/sockets/sockets.c: mfh 2002-12-20 Edin Kadribasic * sapi/cli/config.m4: MFB: Make sure cli install dir is created before trying to install in it. * sapi/cli/config.m4: Make sure cli install dir is created before trying to install in it. 2002-12-20 James Cox * INSTALL: testing cvs commit.. 2002-12-20 Ilia Alshanetsky * ext/gd/libgd/gd.c: MFH 2002-12-20 Melvyn Sopacua * run-tests.php: MFB: libtool detection * run-tests.php: Fix libtool detection 2002-12-19 Wez Furlong * ext/standard/exec.c main/streams.c: MFH fix for bug #21077. (proc_open problems with BSD) * ext/standard/exec.c main/streams.c: Correct mistake introduced by my last commit on these files; *_from_pipe() is for process-pipes created by fopen, not generic pipes created from proc_open(). Correctly implemented the fifo/pipe check for *_from_file() and it seems to be working correctly now. 2002-12-19 Edin Kadribasic * win32/install.txt win32/php4.dsp win32/php4ts.dsp win32/php4ts.rc2 win32/pws-php4cgi.reg: MFB: Making windows build system changes according to proposal: http://news.php.net/article.php?group=php.dev&article=92682 * win32/install.txt win32/php4.dsp win32/php4ts.dsp win32/php4ts.rc2 win32/pws-php4cgi.reg: Making windows build system changes according to proposal: http://news.php.net/article.php?group=php.dev&article=92682 2002-12-19 Ilia Alshanetsky * ext/standard/datetime.c: MFH * ext/standard/datetime.c: Fixed bug #21098. 2002-12-19 Edin Kadribasic * configure.in sapi/cgi/config9.m4: MFB: Making build system changes according to proposal: http://news.php.net/article.php?group=php.dev&article=92682 * configure.in sapi/cgi/config9.m4: Making build system changes according to proposal: http://news.php.net/article.php?group=php.dev&article=92682 2002-12-19 Moriyoshi Koizumi * tests/basic/bug20539.phpt: MFH * tests/basic/bug20539.phpt: Appended "\n" as suggested by Derick. 2002-12-19 Anantha Kesari H Y * netware/ZendEngine2.mak: NetWare related files added and changes/modifications done for the existing ones. * netware/sys/stat.h: NetWare related changes/modifications. 2002-12-19 Edin Kadribasic * ext/mcrypt/mcrypt.dsp: MFB: Remove dependancy on libtool library which is no longer needed. * ext/mcrypt/mcrypt.dsp: Removed libtool library from link which is no longer needed. This fixes windows build. * sapi/cli/php_cli.c: MFB: Reverted previous patches as suggested by Andi. * sapi/cli/php_cli.c: Reverted previous patch as suggested by Andi. (reopening #20539). 2002-12-18 Moriyoshi Koizumi * ext/standard/tests/file/bug12556.phpt: MFH * ext/standard/tests/file/bug12556.phpt: Prevented test failure caused by LF code variety * tests/basic/bug20539.phpt: MFH: added a test case for bug #20539 * tests/basic/bug20539.phpt: Added a test case for bug #20539 2002-12-18 Pierre-Alain Joye * ext/gd/libgd/gd.c: Fix a crash while using an invalid color with imagesetstyle, see the sample script in the manual to reproduce it :) 2002-12-18 Moriyoshi Koizumi * sapi/apache2filter/sapi_apache2.c: An intuitive attempt to hunt the bug. * NEWS: Added entry for the new feature of array_search() 2002-12-18 Frank M. Kromann * ext/mssql/php_mssql.c ext/mssql/php_mssql.h: MFH 2002-12-16 Frank M. Kromann * ext/mssql/php_mssql.h: Fixing WIn32 build after adding support for FreeTDS * ext/mssql/config.m4 ext/mssql/php_mssql.c ext/mssql/php_mssql.h: Allow the native MSSQL extension to be compiled with FreeTDS on *nix platforms. This will make the whole MSSAL API available on these platforms. 2002-12-16 Stig Bakken * pear/PEAR/Remote.php: - fix one missing DIRECTORY_SEPARATOR and a typo 2002-12-16 Sergey Kartashoff * ext/mnogosearch/php_mnogo.c: - mnogosearch extension updated to compile with mnogosearch-3.2.8 2002-12-16 Marcus Boerger * ext/exif/exif.c ext/exif/exif.c ext/exif/exif.c: MFH * ext/exif/exif.c ext/exif/exif.c: fix compiler definition tests 2002-12-16 Ilia Alshanetsky * main/main.c: MFH * main/main.c: A better, strtok() free implementaion of php_disable_functions(). * ext/pgsql/pgsql.c: MFH (memory leak). 2002-12-16 Marcus Boerger * ext/exif/tests/exif006.phpt: fix test * ext/exif/tests/exif006.phpt: Add version check since this will be available since php 4.4. * ext/exif/tests/exif002.phpt ext/exif/tests/exif003.phpt ext/exif/tests/exif004.phpt ext/exif/tests/exif005.phpt: MFH: that silly dot * ext/exif/tests/exif002.phpt ext/exif/tests/exif003.phpt ext/exif/tests/exif004.phpt ext/exif/tests/exif005.phpt ext/exif/tests/exif006.phpt: forgot to remove that dot * ext/exif/tests/exif002.phpt ext/exif/tests/exif003.phpt ext/exif/tests/exif004.phpt ext/exif/tests/exif005.phpt: MFH * ext/exif/exif.c ext/exif/tests/exif002.phpt ext/exif/tests/exif003.phpt ext/exif/tests/exif004.phpt ext/exif/tests/exif005.phpt ext/exif/tests/exif006.phpt: -Add constant that shows whether or not exif uses mbstring. -Fix tests 2002-12-16 Sascha Schumann * pear/pear.m4: CFLAGS_CLEAN was not properly defined 2002-12-16 Marcus Boerger * ext/exif/exif.c: change mbstring detection 2002-12-16 Derick Rethans * NEWS: - Fix typo * NEWS: - MFB * NEWS: - Update NEWS * ext/mcrypt/tests/bug21039.phpt ext/mcrypt/tests/bug21039.phpt: file bug21039.phpt was initially added on branch PHP_4_3. * ext/mcrypt/mcrypt.c: - Fix bug #21039 2002-12-16 Ilia Alshanetsky * ext/pgsql/pgsql.c: A better memory leak patch. 2002-12-15 Marcus Boerger * ext/exif/exif.c: ws * ext/gd/libgd/gd.c: MFB: gd uses float instead of double 2002-12-15 Ilia Alshanetsky * ext/yaz/php_yaz.c: Close log file on shutdown. * ext/pgsql/pgsql.c: Fixed a memory leak. 2002-12-14 Marcus Boerger * ext/exif/exif.c: MFH * ext/exif/exif.c: Fix build when mbstring is a shared module or dll under windows 2002-12-14 Pierre-Alain Joye * ext/gd/libgd/gd.c: Do not allow AA if not trueColor (imageantialias does nothing) 2002-12-14 Marcus Boerger * ext/exif/exif.c: MFH: bugfix: #21010 * ext/exif/exif.c: Bugfix: #21010 (Here it's maker (manufacturer) instead of marker) 2002-12-14 Stefan Esser * main/rfc1867.c: cleanup 2002-12-14 Jani Taskinen * ext/gd/config.m4: MFB: Fix bug #20995 * ext/gd/config.m4: Fixed bug: #20995 2002-12-13 Melvyn Sopacua * tests/lang/bug20993.phpt: MFH * tests/lang/bug20993.phpt: Add testcase for bug #20993 2002-12-13 Vlad Krupin * ext/dbase/dbf_head.c: MFH fix for bug 19727 2002-12-13 Marcus Boerger * configure.in: MFH * ext/dba/tests/.cvsignore: MFH * ext/dba/tests/.cvsignore: Add missing entry * configure.in: Fix cli build for cygwin * ext/openssl/openssl.c: MFB: ZTS fix by Ilia 2002-12-13 Vlad Krupin * ext/dbase/dbf_head.c: Fix for bug 19727. dBase5 (at least for windows) seems to allow 1024 fields 2002-12-13 Stig Bakken * pear/package-PEAR.xml: MFH * pear/package-PEAR.xml: - update release notes, remove warning * pear/PEAR/Frontend/CLI.php pear/scripts/pear.bat pear/scripts/pear.in pear/scripts/phpize.in: MFH * pear/PEAR/Command/Registry.php pear/PEAR/Command/Remote.php: MFH * pear/PEAR/Config.php pear/PEAR/Dependency.php pear/PEAR/Installer.php pear/PEAR/Remote.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: MFH * pear/System.php pear/install-pear.php pear/package-PEAR.xml pear/package.dtd pear/OS/Guess.php pear/PEAR/Common.php: MFH * pear/package-PEAR.xml: - fix version/date * pear/package-PEAR.xml pear/PEAR/Config.php pear/scripts/pear.bat pear/scripts/pear.in: - introduce php_bin config parameter * use PHP_PEAR_ environment variables for defaults (for example PHP_PEAR_PHP_DIR) * Windows cleanups * pear/System.php: - _parseArgs bugfix 2002-12-13 Sascha Schumann * ext/ircg/ircg.c: remove IRCGG() * ext/ircg/ircg.c ext/ircg/php_ircg.h: make IRCG startup behaviour configurable (work dir, shared mem size, control user) 2002-12-12 Moriyoshi Koizumi * ext/standard/tests/strings/bug20934.phpt: MFB * ext/standard/tests/strings/bug20934.phpt: Forgot to prepend "SKIP" * ext/standard/tests/strings/bug20934.phpt: MFH * ext/standard/tests/strings/bug20934.phpt: Added a test case for bug #20934 2002-12-12 Stefan Esser * ext/sybase/php_sybase_db.c: MFH: finally?! correct * ext/sybase/php_sybase_db.c: remove extra char in case of binary/money fields 2002-12-12 Ilia Alshanetsky * ext/gd/gd.c: MFH * ext/gd/gd.c: Fixed bug #20974 (added missing sanity check). * ext/standard/basic_functions.c: MFH 2002-12-12 Melvyn Sopacua * ext/standard/basic_functions.c: Fix for BSD's (possibly others): Accept system default, for the index. Don't initialize it. 2002-12-12 Ilia Alshanetsky * ext/openssl/openssl.c: Fixed ZTS build. 2002-12-12 Wez Furlong * ext/standard/exec.c main/streams.c: MFB: popen/pclose and proc_open/proc_close fixes. * ext/standard/exec.c main/streams.c: Fix some issues with the return value from pclose and proc_close, and bogus seek-on-pipe warnings when used with fpassthru. 2002-12-12 Ilia Alshanetsky * run-tests.php: Fix a possible E_NOTICE warning message. * run-tests.php: MFH 2002-12-12 Wez Furlong * ext/openssl/tests/001.phpt: MFH more entropy "fix" * ext/openssl/tests/001.phpt: Attempt to add more entropy for key generation. * NEWS: MFB streams news 2002-12-12 Ilia Alshanetsky * ext/standard/html.c ext/standard/string.c: MFH * ext/standard/html.c: Fixed misspelling of the Greek letter lambda, noticed by jmartin-php@notamusica.com. 2002-12-12 Wez Furlong * NEWS: Collect streams related changes into one place, as requested by Jani. 2002-12-12 Marcus Boerger * ext/openssl/openssl.c ext/pcntl/pcntl.c: MFH * ext/openssl/openssl.c: php_error -> php_error_docref conversion fix (noticed by derick) 2002-12-12 Ilia Alshanetsky * NEWS: MFH * NEWS: Bug fixing news. 2002-12-12 Wez Furlong * ext/openssl/README ext/openssl/openssl.c: MFH #20936 fix 2002-12-12 Moriyoshi Koizumi * NEWS: MFH 2002-12-12 Ilia Alshanetsky * ext/standard/tests/strings/bug20927.phpt: MFH 2002-12-12 Moriyoshi Koizumi * NEWS: Jani happification 2002-12-12 Wez Furlong * ext/openssl/README ext/openssl/openssl.c: Patch for #20936 (openssl: public key handling was broken). Thanks to for the patch. 2002-12-12 Ilia Alshanetsky * ext/standard/tests/strings/bug20927.phpt: Fixed bug #20927 and updated the test case for the bug. * ext/standard/string.c: Fixed bug #20927 and updated the test case for the bug. 2002-12-12 Moriyoshi Koizumi * NEWS: Bug fixing news * ext/standard/html.c: MFH: Fixed bug #20934 (htmlspecialchars returns latin1 from UTF-8) * ext/standard/html.c: Fixed bug #20934 (htmlspecialchars returns latin1 from UTF-8) 2002-12-12 Marcus Boerger * ext/openssl/openssl.c: MFH: ws, php_error_docref, typeconversion for cygwin * ext/dio/dio.c: MFH * ext/pcntl/pcntl.c: php_error -> php_error_docref * ext/pcntl/pcntl.c: SIGIOT may not be defined in cygwin * ext/openssl/openssl.c: typeconversion is needed here for cygwin * ext/dio/dio.c: O_ASYNC is not defined in cygwin 2002-12-12 Edin Kadribasic * ext/domxml/domxml.dsp: MFB: DOM/XSLT support in win32 build (bug #20485). * ext/domxml/domxml.dsp: Fixed bug #20485 (added flags to windows build to compile DOM/XSLT). 2002-12-11 Ilia Alshanetsky * ext/gd/gd.c ext/gd/php_gd.h: MFH (make imagecreatefromxpm() unavailable when bundled GD is used) * NEWS: GD library news. * ext/gd/tests/jpeg2png.phpt: MFH * ext/gd/tests/jpeg2png.phpt: Added check for availability of jpeg support. * ext/gd/gd.c ext/gd/php_gd.h: Fixed build with non-bundled GD. Hidden the anti-alias functions when non-bundled GD is used and made imagecreatefromxpm() unavailable because of a bug in the external GD library. 2002-12-11 Pierre-Alain Joye * ext/gd/libgd/gd.c: Fix brightness filter (argument ingnored) 2002-12-11 Ilia Alshanetsky * ext/gd/libgd/gd.c: White space fixes. * ext/gd/libgd/gd.c: Syncronize bundled gd sources with that of gd 2.0.9, affected functions are: gdImageBrushApply() & gdImageCopyResized(). 2002-12-11 Pierre-Alain Joye * ext/gd/libgd/gd.h: Add antialias flag to image structure Add AA support * ext/gd/libgd/gd.c: Add gdImageAAline (antialiased line) Add AA support for gdImagePolygon * ext/gd/php_gd.h: Remove double definition of imagesettile Add imageantiallias * ext/gd/gd.c: Add imageantialias(im, flag) Add AA support for bundled imageline 2002-12-11 Melvyn Sopacua * ext/standard/tests/strings/bug20927.phpt: Add testcase for reported wordwrap bug 2002-12-11 Derick Rethans * run-tests.php: - MFB * run-tests.php: - Make it also work when you press enter instead of typing 'y' 2002-12-11 Ilia Alshanetsky * ext/fdf/fdf.c: MFH * ext/fdf/fdf.c: Added missing &. 2002-12-11 Andrei Zmievski * configure.in main/php_version.h: Back to -dev. * configure.in main/php_version.h: Go for RC3. 2002-12-11 Ilia Alshanetsky * ext/standard/tests/general_functions/getopt.phpt: MFH * ext/standard/tests/general_functions/getopt.phpt: Added getopt() test. * run-tests.php: MFH * run-tests.php: Ask the user for their e-mail address so that we can contact them if need be. 2002-12-11 Sara Golemon * ext/bcmath/bcmath.c ext/bcmath/php_bcmath.h: Renamed bc_powmod to bcpowmod to keep it inline with existing module functions. Fixed whitespace problem. 2002-12-11 Ilia Alshanetsky * ext/fdf/fdf.c: Added missing variable to parameter retrieval. 2002-12-11 Jani Taskinen * ext/oci8/oci8.c: - ws fixes - // -> /* */ (No C++ comments in c code!) - #if / #else / etc. have to start from first column. * ext/standard/tests/image/.cvsignore ext/sysvsem/tests/.cvsignore pear/Console/tests/.cvsignore: MFH * ext/sysvsem/tests/.cvsignore pear/Console/tests/.cvsignore tests/run-test/.cvsignore: - Some more missing .cvsignore files. * ext/calendar/tests/.cvsignore ext/standard/tests/image/.cvsignore: - Some more missing .cvsignore files. * pear/tests/.cvsignore tests/run-test/.cvsignore: MFH * pear/tests/.cvsignore: missing entry * ext/bcmath/tests/.cvsignore: missing file * ext/bcmath/tests/.cvsignore ext/bcmath/tests/.cvsignore: file .cvsignore was initially added on branch PHP_4_3. 2002-12-11 Rui Hirokawa * ext/mbstring/mbfilter_kr.c ext/mbstring/mbfilter_kr.c: fixed lack of variable initialization bug. 2002-12-11 Abdul-Kareem Abo-Namous * ext/oci8/oci8.c: fixed string comparison which brought up a gcc warning. 2002-12-11 Marcus Boerger * ext/dba/dba.c: MFH * ext/dba/dba.c: Warnings and Notices when lock modifiers for dba_(p)open are used wrong. This finally closes bug #20828 (and i hope it must not be reopened) 2002-12-11 Edin Kadribasic * sapi/cli/php_cli.c: MFH: Fix for #20539 (patch by Moriyoshi Koizumi). * sapi/cli/php_cli.c: Fix for #20539 (patch by Moriyoshi Koizumi). 2002-12-11 Jani Taskinen * NEWS: MFH * NEWS: snow..not again.. * ext/mysql/libmysql/libmysql.c: MFH: fix from 3.23.54 * configure.in sapi/apache/libphp4.module.in: MFH: Fix for bug #20928 * configure.in sapi/apache/libphp4.module.in: Fixed bug #20298: LDFLAGS were not passed to the static apache module build 2002-12-11 Georg Richter * NEWS: fixed security bug in libmysql * ext/mysql/libmysql/libmysql.c: Security fix (merged from 3.23.54) 2002-12-11 Ilia Alshanetsky * ext/exif/exif.c: decode variable is only used when mbstring is avaliable. * ext/openssl/openssl.c: ZTS fix. * sapi/pi3web/pi3web_sapi.c: MFH * sapi/pi3web/pi3web_sapi.c: Fixed compiler warning. * ext/openssl/openssl.c: Fix ZTS build 2002-12-10 Marcus Boerger * ext/dba/dba.c: MFH * ext/dba/dba.c: add missing comment * ext/dba/dba.c: LOCK_EX is not allowed in read mode -> try using existing .lck file in read only mode only when in read mode. 2002-12-10 Wez Furlong * ext/openssl/EXPERIMENTAL: No longer experimental * ext/openssl/EXPERIMENTAL: No longer experimental. * ext/openssl/openssl.c: use php_error_docref and tidy up some WS/coding standards. * ext/openssl/openssl.c: Fix proto and avoid potential segfault on an error. 2002-12-10 Marcus Boerger * ext/dba/dba.c: -remove second attempt to close lock file -default to lock on db file instead on .lck file. -try to use existing .lck file and only create it on failure (allows ro access) * ext/cpdf/config.m4: stick to "check " scheme, do not repeat messages and align messages correctly. 2002-12-10 Stefan Esser * ext/sybase/php_sybase_db.c ext/sybase/php_sybase_db.c: MFH * ext/sybase/php_sybase_db.c: fixing cut&paste bug 2002-12-10 Ilia Alshanetsky * main/php_main.h sapi/apache_hooks/mod_php4.c sapi/apache_hooks/php_apache.c sapi/apache_hooks/sapi_apache.c: Fixed a few compile warnings and one compile error. 2002-12-10 Marcus Boerger * ext/gd/config.m4: MFH * ext/gd/config.m4: directory values are optional * ext/fam/config.m4: remove not wanted skeleton comment and align configure message 2002-12-10 Ilia Alshanetsky * ext/gd/gd.c ext/gd/gd.c: Fixed build with GD 1.8.4 2002-12-10 Frank M. Kromann * ext/bcmath/bcmath.c: Fixing ZTS Build 2002-12-10 Sara Golemon * ext/bcmath/bcmath.c ext/bcmath/php_bcmath.h: Added support for libbcmath's bc_raisemod function as bc_powmod() 2002-12-10 Sascha Schumann * ext/ircg/ircg.c: Change to more suitable defaults until I add the appropiate ini settings 2002-12-10 Ilia Alshanetsky * ext/exif/exif.c ext/exif/exif.c: MFH * ext/exif/exif.c: Fixed win32 build. * ext/gd/gd.c: MFH 2002-12-10 Edin Kadribasic * ext/snmp/snmp.c: MFB: Fix ZTS build. * ext/snmp/snmp.c: Fix ZTS build. 2002-12-10 Ilia Alshanetsky * main/streams.c: MFB * main/streams.c: Fix for bug #20831. 2002-12-10 Jani Taskinen * ext/cyrus/config.m4: MFH: added the version check * ext/cyrus/config.m4: This extension requires cyrus-imap >= 2.0.8 2002-12-10 Edin Kadribasic * main/streams.c: Improve UNC path detection. 2002-12-10 Ilia Alshanetsky * main/rfc1867.c main/rfc1867.c: MFH * main/rfc1867.c: Removed one more unneeded check. * main/rfc1867.c: Removed a pointless check. Thanks Stefan. 2002-12-10 Stefan Esser * ext/sybase/php_sybase_db.c: fixing crashbug patch by freddy77@angelfire.com 2002-12-10 Marcus Boerger * ext/exif/exif.c: MFH * ext/exif/exif.c: -make those debug messages * ext/cpdf/config.m4: -when required haeder was not found --with-cdpf was simply ignored. I changed this to be an error. -cpdf did not check for --with-jpeg-dir and --with-tiff-dir * tests/classes/abstract.phpt tests/classes/abstract_class.phpt tests/classes/static_mix_1.phpt tests/classes/static_mix_2.phpt: "of cause" should have been "of course" but is not needed anyway 2002-12-10 Ilia Alshanetsky * ext/exif/exif.c: Fixed bug #20907, patch by m-arai@sco.bekkoame.ne.jp. 2002-12-09 Jani Taskinen * ext/cyrus/config.m4: MFH 2002-12-09 Ilia Alshanetsky * sapi/apache2filter/sapi_apache2.c: MFH * sapi/apache2filter/sapi_apache2.c: Replaced deprecated APR_BRIGADE_FOREACH macro. 2002-12-09 Jani Taskinen * ext/cyrus/config.m4: fix typos * ext/cyrus/config.m4: Make this actually work too. 2002-12-09 Wez Furlong * configure.in ext/zip/config.m4 ext/zlib/config0.m4: Centralize fopencookie test * configure.in ext/zip/config.m4 ext/zlib/config0.m4: Centralize the fopencookie test. * ext/curl/curlstreams.c: No need to compile this code if curl streams are not enabled, which they cannot be in 4.3 (configure option is disabled and they don't work yet anyway). 2002-12-09 Marcus Boerger * ext/dba/dba.c: MFH: '-' modifier (bug #20282, #20858) 2002-12-09 Jani Taskinen * ext/cyrus/config.m4: Fix the build with new cyrus and sasl2 libs 2002-12-09 Marcus Boerger * ext/dba/dba.c: Recheckin as unix * ext/dba/dba.c: Added open modifier '-' to skip/ignore locking. See bug #20828, #20858 2002-12-09 Melvyn Sopacua * sapi/cgi/config9.m4 sapi/cli/config.m4: MFH: fix make install target on Cygwin * sapi/cgi/config9.m4 sapi/cli/config.m4: Fix make install target on Cygwin, bug #20807 2002-12-09 Wez Furlong * ext/zlib/tests/gzreadgzwrite.phpt ext/zlib/tests/gzreadgzwriteplain.phpt: MFB: zlib stream tests * configure.in main/streams.c: MFH: fopencookie for BSD patch * configure.in main/streams.c: Emulate fopencookie on *BSD systems. Patch mostly from Melvyn Sopacua 2002-12-09 Moriyoshi Koizumi * ext/standard/array.c: 2002-12-09 Sascha Schumann * Makefile.global: Use $(INSTALL) rather than cp to install modules. $(INSTALL) will usually unlink the target file first, so that in-memory instances of the old file don't get simply overwritten (and crash and burn). * ext/ircg/ircg_scanner.c ext/ircg/ircg_scanner.re: turn frequently called functions into macros to reduce function call and pointer dereference overhead. 2002-12-09 Edin Kadribasic * ext/sockets/sockets.c: MFB: Fix for #20894. 2002-12-09 Sascha Schumann * ext/ircg/ircg.c ext/ircg/php_ircg_formats.h ext/ircg/php_ircg_private.h ext/ircg/php_ircg_tokenizer.h: It is now possible to run 'apachectl restart' even if PHP and/or the IRCG extension are a shared module. In those cases, the heap will be initialized to zero during a restart, so we basically lose all state information, including pointers to already allocated data structures. We compensate that by introducing a separate area manager which maintains a id => ptr mapping. That manager can be queried through a UNIX domain socket, so that the newly loaded DSO (which still has the shared memory segment attached) can ask the manager for the pointers. 2002-12-09 Jani Taskinen * ext/standard/dns.c: T_AAAA is not always available. 2002-12-09 Sebastian Bergmann * sapi/cli/php_cli.c: Fix build. 2002-12-09 Edin Kadribasic * ext/sockets/sockets.c: Fixed crash in socket_read on windows #20894 (patch by Wez Furlong). 2002-12-09 Wez Furlong * ext/zlib/zlib_fopen_wrapper.c: MFB zlib related fixes (sorry I didn't get around to doing this sooner) * main/streams.c: MFB: #20831 fix * main/streams.c: Fix for bug #20831; include() from UNC paths does not work. 2002-12-09 Christian Stocker * ext/domxml/php_domxml.c: PHP_FALIAS for doc_get_elements_by_tagname got lost 2002-12-08 Ilia Alshanetsky * ext/gd/libgd/gd.c: Fixed a color mixup in gdImageCopyResampled() when dealing with true-color images & brought the code up to PHP coding standards. 2002-12-08 Harald Radi * sapi/milter/php_milter.c: MFH those punctuation fixes * sapi/milter/TODO: update todo * sapi/milter/php_milter.h: initial checkin * sapi/milter/php_milter.c: threaded version to 1:1 map connections and php request handler threads 2002-12-08 Timm Friebe * ext/sybase_ct/php_sybase_ct.c: - MFH 2002-12-08 Moriyoshi Koizumi * sapi/cli/php_cli.c: Fixed stream leaks * ext/standard/dns.c: Prevented return_value from being freed() twice 2002-12-08 Sara Golemon * ext/standard/dns.c: Bug #17174 Added IPv6 (AAAA record) support to dns_check_record() also added support to dns_get_record 2002-12-07 Marcus Boerger * tests/classes/abstract_class.phpt tests/classes/abstract_redeclare.phpt: Updated error message 2002-12-07 Timm Friebe * ext/sybase_ct/php_sybase_ct.c: - Fixed three memory leaks - Fixed segfault with sybase_unbuffered_query() and unfetched resultsets 2002-12-07 Ilia Alshanetsky * NEWS: MFH * NEWS: Bug fixing news. * main/php_variables.c: MFH * main/php_variables.c: Fixed bug #20796. $_GET/$_POST/$_COOKIE data can get overwritten when register_globals are on and input contains arrays. 2002-12-07 Marcus Boerger * tests/classes/abstract_class.phpt: Adding a test for abstract class instanciation 2002-12-07 Jani Taskinen * NEWS: sync * NEWS: Bug fixes for new stuff do not belong in NEWS.. 2002-12-07 Sander Roobol * NEWS: sync with branch * NEWS: MFH * NEWS: Forgot to add this entry... 2002-12-07 Frank M. Kromann * ext/imap/php_imap.c: MFH * ext/imap/php_imap.c: fixing code style 2002-12-07 Ilia Alshanetsky * main/rfc1867.c: MFH * main/rfc1867.c: Fixed bugs #20725 & #20860. Post form variables get lost if the uploaded files cannot be written to disk. 2002-12-06 Frank M. Kromann * win32/sendmail.c win32/sendmail.h: MFH * win32/sendmail.c win32/sendmail.h: Removing unused code and making sure headers are send when called from imap_mail() * ext/imap/php_imap.c: MFH * ext/imap/php_imap.c: Fixing a possible strcat on a NULL pointer 2002-12-06 Moriyoshi Koizumi * ext/oci8/config.m4: Fixed build with autoconf-2.54 2002-12-06 Ilia Alshanetsky * ext/standard/tests/array/bug20865.phpt: MFH * ext/standard/tests/array/bug20865.phpt: Added test case for bug #20865. * ext/standard/array.c: MFH * ext/standard/array.c: Fixed bug #20865, array_key_exists() could not locate NULL keys. 2002-12-06 Marcus Boerger * ext/cpdf/cpdf.c: cpdf + bundled gd 2002-12-06 Abdul-Kareem Abo-Namous * ext/oci8/config.m4 ext/oci8/oci8.c ext/oci8/php_oci8.h: added support for multiple character sets. OCILogon now has a forth optional parameter, which is the character set requested by the string (i.e. we8iso8859p1). when left blank, NLS_LANG or default is used. config.m4 was changed to identify Oracle 9+ which is needed for this feature. all other oracle versions (lesser) fall back to the old behaviour. 2002-12-06 Sascha Schumann * ext/ircg/ircg.c: fix uninitialized pointer issue 2002-12-06 Sebastian Bergmann * sapi/servlet/README: A bit of an update for the sapi/servlet installation guide. 2002-12-06 Sascha Schumann * ext/ircg/config.m4: enable shared build 2002-12-06 Sebastian Bergmann * NEWS: MFH 2002-12-06 Sascha Schumann * ext/ircg/ircg.c: added a hook-registration function similiar to irc_connect() for the write buffer. we register a callback for closed-conn notification and an async handler for write_buf_add completion, so that we can maintain proper reference counts. we also call the global IRCG init function only once. this proves to be successful all the time and even apachectl restart/graceful works beautifully now. 2002-12-06 Ilia Alshanetsky * ext/ftp/php_ftp.c: MFH 2002-12-06 Sebastian Bergmann * NEWS: Deprecate sapi/fastcgi. 2002-12-06 Ilia Alshanetsky * ext/ftp/php_ftp.c: Fixed bug #20812, ftp_get returned NULL on success instead of TRUE. 2002-12-06 Pierre-Alain Joye * ext/gd/gd.c ext/gd/php_gd.h: Add imageistruecolor 2002-12-06 Stig Bakken * pear/PEAR/Frontend/CLI.php: MFH * pear/PEAR/Frontend/CLI.php: - fix upgrade-all output 2002-12-05 Ilia Alshanetsky * ext/calendar/calendar.c: Fixed memory leaks inside heb_number_to_chars(). 2002-12-05 James Cox * INSTALL: more rain * INSTALL: rainy and cold here. * INSTALL: touch again. 2002-12-05 Ilia Alshanetsky * ext/calendar/calendar.c: Fixed a memory leak inside heb_number_to_chars(). * ext/standard/array.c ext/standard/basic_functions.c ext/standard/datetime.c ext/standard/dns.c ext/standard/filestat.c ext/standard/iptc.c ext/standard/pack.c ext/standard/reg.c ext/standard/scanf.c ext/standard/string.c: MFH 2002-12-05 James Cox * INSTALL: touch2. * INSTALL: touch 2002-12-05 Ilia Alshanetsky * ext/standard/array.c ext/standard/basic_functions.c ext/standard/datetime.c ext/standard/dns.c ext/standard/filestat.c ext/standard/iptc.c ext/standard/pack.c ext/standard/reg.c ext/standard/scanf.c ext/standard/string.c: Remove pointless checks for array_init() return values. 2002-12-05 Marcus Boerger * ext/domxml/php_domxml.c: MFH * ext/xml/xml.c main/SAPI.c main/main.c: MFH * ext/bcmath/bcmath.c ext/calendar/easter.c ext/db/db.c: MFH * ext/bcmath/bcmath.c ext/calendar/easter.c ext/domxml/php_domxml.c: php_error -> php_error_docref * main/SAPI.c: -php_error -> php_error_docref 2002-12-05 Sara Golemon * ext/standard/aggregation.c ext/standard/aggregation.h ext/standard/basic_functions.c: Bug #20746. Renamed aggregation_info() to aggregate_info() per naming conventions and created alias for BC. 2002-12-05 Marcus Boerger * ext/standard/base64.c: MFH: both the check and php_error in the comment * ext/standard/base64.c ext/standard/dl.c ext/standard/exec.c ext/standard/http_fopen_wrapper.c ext/standard/incomplete_class.c ext/standard/levenshtein.c ext/standard/link.c ext/standard/math.c ext/standard/pack.c ext/standard/reg.c ext/standard/scanf.c ext/standard/uniqid.c ext/standard/url.c ext/standard/var.c: -php_error -> php_error_docref -removed some cases where emalloc result was tested * ext/session/session.c: correct code that is guarded by "#if 0" * ext/session/mod_mm.c: fix ZTS build * ext/session/mod_files.c ext/session/mod_mm.c ext/session/mod_mm.c ext/session/session.c ext/session/session.c ext/standard/dl.c ext/standard/exec.c ext/standard/http_fopen_wrapper.c ext/standard/incomplete_class.c ext/standard/levenshtein.c ext/standard/link.c ext/standard/math.c ext/standard/pack.c ext/standard/reg.c ext/standard/scanf.c ext/standard/uniqid.c ext/standard/url.c ext/standard/var.c: MFH * ext/session/mod_files.c ext/session/mod_mm.c ext/session/session.c ext/xml/xml.c main/main.c sapi/apache/php_apache.c: php_error -> php_error_docref 2002-12-05 Ilia Alshanetsky * ext/standard/tests/file/bug12556.phpt ext/standard/tests/file/test.csv: MFH * ext/standard/file.c: MFH 2002-12-05 Marcus Boerger * ext/mysql/php_mysql.c: MFH * ext/mysql/php_mysql.c: -fix a warning that was an error -php_error -> php_error_docref 2002-12-05 Ilia Alshanetsky * ext/standard/tests/file/bug12556.phpt: Fixed bug #12556, updated the test for this bug. * ext/standard/file.c: Fixed bug #12556, updated the test for this bug. 2002-12-05 Marcus Boerger * ext/db/db.c: fix debug only 2002-12-05 Derick Rethans * ext/snmp/php_snmp.h ext/snmp/snmp.c: MFH: - Renamed snmpv3_* to snmp3_* - Conversion to php_error_docref - Whitespace fixes * ext/snmp/php_snmp.h ext/snmp/snmp.c: - Renamed snmpv3_* to snmp3_* - Conversion to php_error_docref - Whitespace fixes 2002-12-05 Melvyn Sopacua * ext/standard/tests/file/test.csv: Test data * ext/standard/tests/file/bug12556.phpt: Add a testcase for this bug 2002-12-05 Marcus Boerger * ext/standard/image.c: MFH: Remove unnecessary code here * ext/standard/image.c: Remove unnecessary code here 2002-12-05 Jani Taskinen * ext/mysql/libmysql/acinclude.m4: MFH * ext/mysql/libmysql/acinclude.m4: ws fix (bug: #20808) 2002-12-05 Sascha Schumann * ext/ircg/ircg.c: let the write buffer notify us about terminated connections 2002-12-05 Marcus Boerger * ext/standard/image.c: MFH: return FALSE * ext/standard/image.c: MFH: swc & zlib\nMFH: return FALSE * ext/standard/aggregation.c: Fix aggregation with ZE2 in PHP4.3\n#I will not MFB it since aggregation should move to ZEndEngine * ext/standard/image.c: Return FALSE on error as mentioned by John Coggeshall. See Bug #20822 * configure.in: MFH 2002-12-04 Ilia Alshanetsky * ext/gd/gd.c: MFH (build fix, when xpm support is not avaliable). 2002-12-04 Rasmus Lerdorf * ext/gd/gd.c: Fix build 2002-12-04 Ilia Alshanetsky * ext/gd/tests/jpeg2png.phpt ext/gd/tests/jpg2gd.phpt ext/gd/tests/png2gd.phpt ext/gd/tests/xpm2gd.phpt ext/gd/tests/xpm2jpg.phpt ext/gd/tests/xpm2png.phpt: MFH * ext/gd/gd.c ext/gd/libgd/gd.h ext/gd/tests/conv_test.gif ext/gd/tests/conv_test.jpeg ext/gd/tests/conv_test.png ext/gd/tests/conv_test.xpm ext/gd/tests/gif2gd.phpt ext/gd/tests/gif2jpg.phpt ext/gd/tests/gif2png.phpt: MFH * ext/gd/tests/conv_test.gif ext/gd/tests/conv_test.jpeg ext/gd/tests/conv_test.png ext/gd/tests/conv_test.xpm ext/gd/tests/gif2gd.phpt ext/gd/tests/gif2jpg.phpt ext/gd/tests/gif2png.phpt ext/gd/tests/jpeg2png.phpt ext/gd/tests/jpg2gd.phpt ext/gd/tests/png2gd.phpt ext/gd/tests/xpm2gd.phpt ext/gd/tests/xpm2jpg.phpt ext/gd/tests/xpm2png.phpt: Added GD image conversion tests. * ext/gd/gd.c ext/gd/libgd/gd.h: Made imagecreatefromxpm() work once again. * NEWS NEWS: Fixed a typo. * NEWS: MFH * NEWS: Bug fixing news. * ext/gd/gd.c ext/gd/libgd/gd_gd2.c ext/gd/libgd/gd_png.c ext/gd/libgd/gd_topal.c: MFH (truecolor fixes + gdImageTrueColorToPalette() fix). * ext/gd/libgd/gd_topal.c: Fixed a memory leak inside gdImageTrueColorToPalette(). 2002-12-04 Moriyoshi Koizumi * ext/standard/array.c: Forgot to merge this part * ext/standard/tests/array/bug12776.phpt: MFH * ext/standard/tests/array/bug12776.phpt: Added a test for bug #12776 * NEWS: MFH: bug fix news * NEWS: Bug fix news * ext/standard/array.c: MFH: fixed segfaults in array_walk() when keys are passed to cb by reference * ext/standard/array.c: Fixed segfaults of array_walk() when keys are passed to cb by reference. Fixed bug #12776. 2002-12-04 Ilia Alshanetsky * ext/gd/gd.c: WS fixes. 2002-12-04 Sascha Schumann * ext/ircg/ircg.c: display data from IRCG's logging subsystem * ext/ircg/ircg.c ext/ircg/php_ircg_private.h: Delay put_irconn call for set_current until we actually finish using the conn structure. This just passed a test with 25M messages delivered and 45K logins handled in an Apache 1.3 context. 2002-12-04 Sebastian Bergmann * NEWS ext/java/java.c: MFH * NEWS: Fix bugs #20270, #15702, #18600 (segfaults in ext/java). (Tony J. White) * ext/java/java.c: Fix bugs #20270, #15702, #18600. Patch by Tony J. White . 2002-12-04 Pierre-Alain Joye * ext/gd/gd.c: Fix imagegd stdoutput Typo 256 colors * ext/gd/gd.c: Fix imagegd crashes when used with truecolor image (from jpeg,png, or imagecreatetruecolor) may we add parameters to imagegd to let user specify the palette size and dither (set to 256 and true) ? 2002-12-04 Sascha Schumann * ext/ircg/ircg.c: restore inline allocation of write buffer * ext/ircg/ircg.c ext/ircg/php_ircg_private.h: Ensure that a terminating Apache child does not destroy our globally shared locks and data structures. 2002-12-03 Christian Dickmann * pear/PEAR/Command/Remote.php: silence some possible warnings 2002-12-03 Frank M. Kromann * ext/fbsql/php_fbsql.c ext/mssql/php_mssql.c: MFH * ext/fbsql/php_fbsql.c ext/mssql/php_mssql.c: Changed php_error() to php_error_docref() 2002-12-03 Ilia Alshanetsky * ext/pdf/pdf.c: MFH * ext/pdf/pdf.c: Fixed a bug that caused a crash in pdf_open_memory_image(), when a truecolor image was loaded, it now checks if the image is truecolor and performs the appropriate calculations (fixed bug #20785). Changed E_WARNING back to E_ERROR. 2002-12-03 Frank M. Kromann * ext/mssql/php_mssql.c ext/mssql/php_mssql.h: MFH * ext/mssql/php_mssql.c ext/mssql/php_mssql.h: Bug #19370 Allow stored procedures to return multiple results. * ext/mssql/php_mssql.c: MFH * ext/mssql/php_mssql.c: Bug #17593 Make sure any pending data is released from the server when freeing the result 2002-12-03 Harald Radi * sapi/milter/TODO: damn milter api: "Furthermore, since there is not a one-to-one correspondence between threads and connections (N connections mapped onto M threads, M <= N), connection-specific data must be accessed through the handles provided by the Milter library." which in other words means php_request_startup() and the corresponding php_request_shutdown() will never be called for the same thread 2002-12-03 Edin Kadribasic * ext/mssql/php_mssql.c: MFH: Allocating enough memory to hold values. Fix crash when certan stored procedures was called. This caused the free_result function to free memory not yet allocated. 2002-12-03 Ilia Alshanetsky * ext/gd/libgd/gd_gd2.c ext/gd/libgd/gd_png.c: Fixed a crash that occurs during the last step of png/jpeg -> gd2 -> png/jpeg conversion. The same crash still occures with png/jpeg -> gd -> png/jpeg, because apparently gd format cannot handle truecolor images. Turned off debug messages inside gd_gd2.c. 2002-12-03 Moriyoshi Koizumi * ext/standard/array.c: MFH: fixed leaks in array_walk() * ext/standard/array.c: Fixed leaks in array_walk() 2002-12-03 Harald Radi * sapi/milter/milter.php: fix typos and make example more useful 2002-12-03 Sascha Schumann * ext/ircg/ircg.c ext/ircg/php_ircg_private.h: further work on stabilizing concurrent IRCG accesses 2002-12-03 Jani Taskinen * ext/ldap/config.m4: MFH: Need these libraries for static build * ext/ldap/config.m4: - Need these libraries for static build 2002-12-03 Sascha Schumann * ext/ircg/config.m4 ext/ircg/ircg.c ext/ircg/php_ircg.h ext/ircg/php_ircg_alloc.h ext/ircg/php_ircg_cache.c ext/ircg/php_ircg_cache.h ext/ircg/php_ircg_conversion.c ext/ircg/php_ircg_conversion.h ext/ircg/php_ircg_error.c ext/ircg/php_ircg_error.h ext/ircg/php_ircg_private.h ext/ircg/php_ircg_tokenizer.c ext/ircg/php_ircg_tokenizer.h: Move subsystems into their own source file. 2002-12-03 Jani Taskinen * ext/ldap/config.m4: MFH: Fixed build with iPlanet LDAP SDK 5.x * ext/ldap/config.m4: - Fixed the build with iPlanet LDAP SDK 5.x 2002-12-03 Frank M. Kromann * ext/mssql/php_mssql.c: Allocating enough memory to hold values. Fix crash when certan stored procedures was called. This caused the free_result function to free memory not yet allocated. 2002-12-03 Jason Greene * ext/sockets/php_sockets_win.c: MFH 2002-12-02 Moriyoshi Koizumi * ext/iconv/EXPERIMENTAL: Iconv extension is no longer experimental * ext/mbstring/mbregex.c ext/mbstring/mbstring.dsp ext/mbstring/mbstring.h ext/mbstring/php_mbregex.c ext/mbstring/php_unicode.c ext/mbstring/php_unicode.h: Reverted the changes because the problem was elsewhere. * main/config.w32.h.in: Reverted wrong part of the commit made in 1.24 2002-12-02 Frank M. Kromann * ext/mbstring/mbregex.c ext/mbstring/mbstring.h: Fixing the Win32 compilation of mbstring with mbregex enabled. * ext/mbstring/mbstring.dsp ext/mbstring/mbstring.h ext/mbstring/php_mbregex.c ext/mbstring/php_unicode.c ext/mbstring/php_unicode.h: Fixing build on WIn32 MBREGEX is disabled for now. 5 mbre_* functions are undefined on WIn32 2002-12-02 Sterling Hughes * TODO: apparently this isn't finished 2002-12-02 Ilia Alshanetsky * configure.in: MFH * configure.in: Fixed flex version check. Some lex scanners like Sun's SGU do not appear to support -V flag, so by passing them data on stdin we prevent them from sitting idle waiting for stdin data. I've also added some common version retrieval flags, that may be supported by various lex scanners. * ext/standard/basic_functions.c: MFH * ext/standard/basic_functions.c: Repositioned CoInitialize and CoUninitialize that apparetly makes it more correct according to MS docs. Patch (+5) by Michael Sisolak . * ext/pdf/pdf.c: MFH * ext/pdf/pdf.c: Fixed a crash bug that can occur due to PDF_delete() being called more then once and E_ERROR occurring during the shutdown sequence. 2002-12-02 Jason Greene * ext/sockets/php_sockets_win.c: Revert patch that should have been reverted a long time ago. There was a memory leak in the error handling system on win32, that this patch circumvented (by preventing the errors (EAGAIN mesages) from being generated). 2002-12-02 Shane Caraveo * sapi/cgi/libfcgi/acinclude.m4: MFH * sapi/cgi/libfcgi/acinclude.m4 sapi/cgi/libfcgi/libfcgi.m4: aparently did not add these on head removed ssize_t which was causing problems, and not in libfcgi anyway * sapi/cgi/cgi_main.c: MFH * sapi/cgi/cgi_main.c: fix use of Alias under apache by defaulting script_name to redirect_url dont lstat, stat. 2002-12-02 Jon Parise * sapi/milter/php_milter.c: Correct the punctuation of these error messages. 2002-12-01 Shane Caraveo * sapi/cgi/cgi_main.c sapi/cgi/config9.m4: MFH * configure.in main/config.w32.h.in main/fopen_wrappers.c main/win95nt.h sapi/cgi/README.FastCGI: MFH * sapi/cgi/libfcgi/include/fcgi_config.h sapi/cgi/libfcgi/include/fcgi_config_win32.h sapi/cgi/libfcgi/include/fcgiapp.h sapi/cgi/libfcgi/include/fcgios.h win32/php4ts.dsp: MFH * sapi/cgi/libfcgi/acinclude.m4 sapi/cgi/libfcgi/acinclude.m4 sapi/cgi/libfcgi/fcgiapp.c sapi/cgi/libfcgi/libfcgi.m4 sapi/cgi/libfcgi/libfcgi.m4 sapi/cgi/libfcgi/os_unix.c: file acinclude.m4 was initially added on branch PHP_4_3. 2002-12-01 Sterling Hughes * TODO ext/bz2/bz2.c ext/sockets/sockets.c: TODO: Cleanup elements that have happened, or most likely won't happen. There is probably more that should be gone, but its still a move in the right direction. Other stuff is ws/formatting changes 2002-12-01 Shane Caraveo * sapi/cgi/config9.m4: build support for cgi fixes previously commited * main/config.w32.h.in main/win95nt.h sapi/cgi/cgi_main.c sapi/cgi/libfcgi/fcgiapp.c sapi/cgi/libfcgi/include/fcgiapp.h: Fix CGI to match cgi spec. This patch properly fixes support for CGI in PHP. For backwards compatible broken behaviour, cgi.fix_pathinfo can be set to zero in php.ini. CGI failed to work under apache at all, either using the cgi-script directive or as a ScriptAlias setup. Typicaly it would try to parse itself. This will still happen if you dissable fix_pathinfo, and set DISCARD_PATH. This also fixes PATH_INFO, and finally we can run pres2 under cgi or fastcgi. This patch has been tested under Apache 1.3, 2.0, IIS, as both cgi and fastcgi, on Windows and OSX. A followup patch with build stuff for linux will follow. * main/fopen_wrappers.c: php_error_docref aborts cgi. This broke using php as cgi under apache/mod_cgi with the cgi-script directive and bang lines in php scripts. removing it allows this to work again. 2002-12-01 Harald Radi * sapi/milter/milter.php: example * sapi/milter/php_milter.c: rename callbacks to fit the original name * sapi/milter/php_getopt.h: initial checkin * sapi/milter/TODO sapi/milter/php_milter.c: if the api functions are called, check if they're valid in that context reopen file per request, so milter doesn't hang. PHPA or APC can be used to speed the milter up added a milter_init callback to init the milter before it is registered added protos to make sniper happy 2002-12-01 Stefan Roehrich * ext/zlib/zlib.c: Comment about maximal length now matches code. 2002-12-01 Jani Taskinen * ext/overload/config.m4: fix build.. 2002-12-01 Harald Radi * sapi/milter/php_milter.c: first working version * sapi/milter/config.m4: check for libmilter path 2002-12-01 Derick Rethans * ext/ext_skel: -fix typo 2002-12-01 Stanislav Malyshev * sapi/isapi/php4isapi.c: improve username/password detection for IIS 2002-12-01 Harald Radi * sapi/milter/TODO sapi/milter/config.m4: no message 2002-12-01 Marcus Boerger * ext/gd/libgd/gd.c ext/gd/libgd/gd.h ext/gd/libgd/gd_arc_f_buggy.c ext/gd/libgd/gd_gd2.c ext/gd/libgd/gd_gif_in.c ext/gd/libgd/gd_jpeg.c ext/gd/libgd/gd_png.c ext/gd/libgd/gd_ss.c ext/gd/libgd/gd_wbmp.c ext/gd/libgd/gdkanji.c ext/gd/libgd/gdxpm.c: No more (f)printf for errors and warnings instead use php_error_docref. 2002-12-01 Sascha Schumann * ext/ircg/ircg.c ext/ircg/ircg_scanner.c ext/ircg/ircg_scanner.re ext/ircg/php_ircg_alloc.h: expand define's make the msg scanner use shared memory, if necessary replace the msg cache with a more predictable algorithm 2002-12-01 Jani Taskinen * sapi/milter/config.m4: Fix build 2002-12-01 Sascha Schumann * ext/ircg/ircg.c: Make error subsystem work properly in a multi-process environment * ext/ircg/ircg.c: fix condition * ext/ircg/ircg.c: flush write buffer in idle handler add missing condition before deleting write buffer * ext/ircg/ircg.c: move back initialization of the write buffer to the original place, so that the condition "fd>=0" can be equated to "wb is initialized" again. * ext/ircg/config.m4 ext/ircg/ircg.c ext/ircg/ircg_common.c ext/ircg/ircg_dummy.c ext/ircg/ircg_thttpd.c ext/ircg/php_ircg.h ext/ircg/php_ircg_alloc.h ext/ircg/php_ircg_hash.h ext/ircg/php_ircg_lock.h: Initial work on porting extension to IRCG 4. 2002-12-01 Harald Radi * sapi/milter/Makefile.frag sapi/milter/TODO sapi/milter/config.m4 sapi/milter/getopt.c sapi/milter/php_milter.c: it finally compiles now tests will follow tomorrow 2002-12-01 Sascha Schumann * main/SAPI.c main/SAPI.h sapi/apache/mod_php4.c: add a "force HTTP/1.0 response" facility to the SAPI layer this is necessary, when you want to take over control of a connection and the web server is doing stupid things by default (like enabling chunked transfer encoding for no reason). 2002-12-01 Sterling Hughes * run-tests2.php: remove dos line endings 2002-12-01 Harald Radi * sapi/milter/php_milter.c: fix build 2002-12-01 Moriyoshi Koizumi * ext/standard/base64.c: Fixed possible buffer overflow in php_base64_decode(); 2002-12-01 Harald Radi * sapi/milter/TODO: todo or not todo * sapi/milter/EXPERIMENTAL sapi/milter/php_milter.c: added remaining functions, still untested, still having problems with config.m4 2002-12-01 Marcus Boerger * ext/overload/config.m4: Skip overload for ZE2 Bug #20156 2002-12-01 Harald Radi * sapi/milter/CREDITS sapi/milter/Makefile.frag sapi/milter/config.m4 sapi/milter/php_milter.c: Sendmail Milter SAPI initial version 2002-11-30 Frank M. Kromann * ext/imap/php_imap.c: MFH * win32/sendmail.c: MFH * win32/sendmail.c: Dont scan headers for cc abd bcc if extra parameters are used for these * ext/imap/php_imap.c: Fix the use of "personal" information in To and Cc headers 2002-11-30 Ilia Alshanetsky * ext/standard/file.c: MFH * ext/standard/file.c: Fixed bug #20716. 2002-11-30 Marcus Boerger * ext/standard/file.h main/php_globals.h: MFH: Bug #20433 * ext/standard/file.h main/php_globals.h: Bug #20433 2002-11-30 Christian Stocker * ext/domxml/php_domxml.c: MFH (fixed big bad memory leak in xpath objects.) * ext/domxml/php_domxml.c: fixed big bad memory leak in xpath objects. 2002-11-29 Jason Greene * ext/sockets/EXPERIMENTAL: Sockets is no longer experimental 2002-11-29 Moriyoshi Koizumi * ext/mbstring/tests/mb_split.phpt: MFH * ext/mbstring/tests/mb_split.phpt: Prevented the result from being affected by function overloading 2002-11-29 Sander Roobol * ext/bcmath/libbcmath/src/init.c ext/bcmath/libbcmath/src/private.h ext/bcmath/libbcmath/src/recmul.c: MFH * ext/bcmath/libbcmath/src/init.c ext/bcmath/libbcmath/src/private.h ext/bcmath/libbcmath/src/recmul.c: Remove all traces of _bc_Free_list - it's not used anymore 2002-11-29 Yasuo Ohgaki * ext/pgsql/pgsql.c: MFH * ext/pgsql/pgsql.c: Fixed problem with PostgreSQL 7.3 2002-11-29 Christian Stocker * ext/domxml/php_domxml.c: removed unused variable 2002-11-29 Derick Rethans * ext/mcrypt/mcrypt.c: - Fix memleak (patch by Oleg.Roitburd@lycos-europe.com) 2002-11-29 Jani Taskinen * main/php_content_types.c: MFB 2002-11-29 Martin Kraemer * main/php_content_types.c: Portability: In C sources, do not use C++ comments 2002-11-29 Christian Stocker * ext/java/config.m4: MFH fix for bug #20389 (no trailing slash in configure option) * ext/java/config.m4: fix for bug #20389 (no trailing slash in configure option) 2002-11-29 Sascha Schumann * sapi/thttpd/thttpd.c: add missing line 2002-11-29 Christian Stocker * ext/domxml/php_domxml.c ext/domxml/php_domxml.h: changed my mind. Automatic namesapce registration is not done within xpath_eval() anymore, but in a seperate function. 2002-11-29 Martin Kraemer * ext/bcmath/libbcmath/src/private.h ext/gd/gdcache.h ext/standard/mail.c: Portability fixes (MFH) 2002-11-29 Christian Stocker * ext/domxml/php_domxml.c: do some kind of automatic namespace registration in xpath_eval(). This works only for namespaces defined in the context node (eg docroot if no second argument is given. If one wants to use namespaces defined elsewhere or with different prefixes, you still have to use xpath_ns_register() * ext/domxml/TODO: MFH relative xpath queries are already possible (use $ctx->xpath_eval($xpath,$contextnode) ) * ext/domxml/TODO: relative xpath queries are already possible (use $ctx->xpath_eval($xpath,$contextnode) ) * ext/domxml/php_domxml.c: get_element_by_id does not need LIBXML_XPATH support 2002-11-29 Marcus Boerger * ext/gd/libgd/gd.c ext/gd/libgd/gd_jpeg.c ext/gd/libgd/gdft.c: Conversion fixes * ext/gd/gd.c: Conversion fixes * ext/gd/libgd/gd.c ext/gd/libgd/gd_gd2.c ext/gd/libgd/gd_jpeg.c ext/gd/libgd/gd_png.c: Conversion fixes * tests/classes/abstract.phpt: Do not instanciate an abstract class 2002-11-28 Ilia Alshanetsky * ext/mhash/tests/001.phpt ext/mhash/tests/003.phpt: MFH * ext/mhash/tests/001.phpt ext/mhash/tests/003.phpt: Fixed mhash tests, apparently the TIGER algorithm was updated (fixed?) in later mhash releases and consequently returns a different hash. I've updated the hash to the one generated by latter releases. Removed useless \r from ext/mhash/tests/003.phpt. 2002-11-28 Martin Kraemer * ext/gd/gdcache.h: Portability: avoid warnings on FreeBSD * ext/bcmath/libbcmath/src/private.h: Portability: The header contains the declaration; while the source ext/bcmath/libbcmath/src/init.c has the definition (otherwise some compilers complain about 'duplicate symbols') * ext/standard/mail.c: Portability: Use 0 if the platform does not define EX_OK 2002-11-27 Sterling Hughes * ext/standard/file.c: MFH * ext/standard/scanf.h: no more need for this either * ext/standard/file.c: don't use stupid constants, be smart, just read the line 2002-11-27 Frank M. Kromann * ext/imap/php_imap.c ext/w32api/w32api_function_definition_parser.y ext/xmlrpc/xmlrpc-epi-php.c ext/xmlrpc/libxmlrpc/base64.c ext/xmlrpc/libxmlrpc/encodings.c ext/xmlrpc/libxmlrpc/xml_element.c: MFH 2002-11-27 Andrei Zmievski * configure.in main/php_version.h: Back to -dev 2002-11-27 Frank M. Kromann * ext/imap/php_imap.c: free alocated mem. minor changes in the layout 2002-11-27 Andrei Zmievski * configure.in main/php_version.h: Update version to RC2. 2002-11-27 Sterling Hughes * ext/curl/curl.c: fix memleak 2002-11-27 Sascha Schumann * ext/ircg/README.txt: Add note about GNU make 2002-11-27 Tal Peer * ext/calendar/tests/jdtojewish.phpt: jdtojewish() test * ext/calendar/calendar.c: Added an additional (optional) argument to jdtojewish() to keep BC with 4.3 (and let users getdates in Hebrew without further formatting) 2002-11-27 Ilia Alshanetsky * ext/standard/string.c ext/standard/tests/strings/strip_tags.phpt: MFH * ext/standard/string.c ext/standard/tests/strings/strip_tags.phpt: Fixed bug #20664. 2002-11-27 Marcus Boerger * ext/exif/exif.c: MFH: remove comment * ext/exif/exif.c: -Code completley rewritten * ext/exif/exif.c: MFH: Canon fix * ext/exif/tests/exif006.phpt ext/exif/tests/test6.jpg: -Add test for exif_read_data and magic_quotes_runtime * ext/exif/exif.c: -Forgot to correct length * ext/exif/exif.c: -Add magic_quotes_runtime support -Fix Canon Markernote 2002-11-27 Stig Bakken * pear/package-PEAR.xml pear/package.dtd pear/PEAR/Common.php: MFH 2002-11-27 Frank M. Kromann * ext/w32api/php_w32api.h ext/w32api/w32api.c ext/w32api/w32api_function_definition_scanner.l ext/w32api/w32api_function_definition_scanner.l ext/w32api/w32api_type_definition_parser.y ext/w32api/w32api_type_definition_scanner.l ext/w32api/w32api_type_definition_scanner.l: Convert 0D 0D 0A line breaks to 0D 0A 2002-11-26 Stig Bakken * pear/PEAR/Command/Registry.php pear/PEAR/Command/Registry.php: MFH * pear/PEAR/Command/Registry.php: - fix typo 2002-11-26 Frank M. Kromann * ext/xmlrpc/xmlrpc-epi-php.c: time is a function. Use the name of the variable 'timestamp' * ext/xmlrpc/libxmlrpc/encodings.c: Adding missing header file on Win32 * ext/xmlrpc/libxmlrpc/base64.c ext/xmlrpc/libxmlrpc/xml_element.c: removing unused variables 2002-11-26 Stig Bakken * pear/package-PEAR.xml pear/package.dtd pear/PEAR/Common.php: - lose obsolete tags: libfile, libname, sources, includes, libadd 2002-11-26 Frank M. Kromann * ext/w32api/w32api_function_definition_parser.y: Adding missing ; 2002-11-26 Moriyoshi Koizumi * ext/standard/array.c: MFH: improved the error reporting portion of array_walk() * ext/standard/array.c: Improved the error reporting portion of array_walk() as suggested by Markus * ext/standard/array.c: MFH: prevent too many error reports from being displayed 2002-11-26 Stig Bakken * pear/PEAR/Command/Auth.php pear/PEAR/Command/Build.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: MFH 2002-11-26 Moriyoshi Koizumi * ext/standard/array.c: Prevent too many error reports from being displayed 2002-11-26 Stig Bakken * pear/PEAR/Command/Auth.php pear/PEAR/Command/Build.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: - ws/folding 2002-11-26 Moriyoshi Koizumi * ext/standard/array.c: MFH: Fixed incorrect error messages of array_walk() * ext/standard/array.c: Fixed incorrect error messages of array_walk() in case the callback is specified in an array form 2002-11-26 Stig Bakken * pear/PEAR/Command/Registry.php: - changed "info" shortcut to "in" 2002-11-26 Christian Stocker * ext/domxml/php_domxml.c: MFH (Fix for Bug #20639 DomElement->get_elements_by_tagname() doesn't work) * ext/domxml/php_domxml.c: Fix for Bug #20639 DomElement->get_elements_by_tagname() doesn't work 2002-11-26 Wez Furlong * ext/calendar/calendar.c: Update to use new parameter parsing API. Updates to Jewish/Hebrew calendar code. Patch from Moshe Doron, amended by Tal Peer, reviewed by me. 2002-11-26 Marcus Boerger * ext/dba/config.m4 ext/dba/dba.c ext/dba/dba_db4.c ext/dba/php_db4.h: Add Berkeley db4 support * ext/dba/config.m4: -Disallow combining db2 with db3 which are conflicting. -Stop searching for headers and libraries when found. -Check version for Berkeley DB library headers. * configure.in: Highlight "Thank you" 2002-11-26 Frank M. Kromann * ext/imap/php_imap.c: Avoid , at the end of each string (to, cc and bcc) 2002-11-26 Shane Caraveo * win32/php4ts.dsp: fix windows build of cgi/fastcgi 2002-11-26 Jani Taskinen * main/SAPI.h sapi/activescript/php4activescript.c sapi/aolserver/aolserver.c sapi/apache2filter/sapi_apache2.c sapi/apache_hooks/mod_php4.c sapi/caudium/caudium.c sapi/cgi/cgi_main.c sapi/cli/php_cli.c sapi/embed/php_embed.c sapi/isapi/php4isapi.c sapi/nsapi/nsapi.c sapi/phttpd/phttpd.c sapi/pi3web/pi3web_sapi.c sapi/roxen/roxen.c sapi/servlet/servlet.c sapi/tux/php_tux.c sapi/webjames/webjames.c: - Made the STANDARD_SAPI_MODULE_PROPERTIES be what it says it is. 2002-11-26 Shane Caraveo * sapi/cgi/libfcgi/include/fcgi_config_win32.h sapi/cgi/libfcgi/include/fcgios.h: configure now supports building the cgi-fcgi module configure --enable-fastcgi * configure.in sapi/cgi/README.FastCGI sapi/cgi/cgi_main.c sapi/cgi/config9.m4 sapi/cgi/libfcgi/fcgiapp.c sapi/cgi/libfcgi/os_unix.c sapi/cgi/libfcgi/include/fcgi_config.h: configure now supports building the cgi-fcgi module configure --enable-fastcgi 2002-11-26 Sascha Schumann * main/SAPI.c main/SAPI.h sapi/apache/mod_php4.c sapi/thttpd/thttpd.c: Add sapi_get_fd() and implement it for the Apache/thttpd SAPIs. 2002-11-26 Yasuo Ohgaki * ext/pgsql/pgsql.c: MFH * ext/pgsql/pgsql.c: Remove a warning 2002-11-26 Stig Bakken * pear/PEAR/Common.php: - a little more "windows robust" when looking for package.xml * pear/package-PEAR.xml pear/package-PEAR.xml: MFH * pear/package-PEAR.xml: - forgot to set release date * pear/PEAR/Command/Install.php: MFH * pear/PEAR/Installer.php: MFH * pear/package-PEAR.xml pear/PEAR/Installer.php pear/PEAR/Command/Install.php: - added --ignore-errors option, --force no longer ignores errors * pear/PEAR/Config.php: - added sig_keyid config param * pear/PEAR/Command/Remote.php: MFH * pear/PEAR/Command/Config.php: MFH * pear/PEAR/Remote.php pear/PEAR/Command/Common.php pear/PEAR/Command/Package.php pear/PEAR/Frontend/CLI.php: MFH 2002-11-25 Ilia Alshanetsky * ext/session/tests/001.phpt ext/session/tests/003.phpt ext/session/tests/004.phpt ext/session/tests/005.phpt ext/session/tests/006.phpt ext/session/tests/007.phpt ext/session/tests/008-php4.2.3.phpt ext/session/tests/009.phpt ext/session/tests/012.phpt ext/session/tests/013.phpt ext/session/tests/014.phpt ext/session/tests/015.phpt ext/session/tests/016.phpt ext/session/tests/017.phpt ext/session/tests/018.phpt ext/session/tests/019.phpt ext/session/tests/020.phpt ext/session/tests/021.phpt: MFH (test failure if session.serialize_handler is not set to php). * ext/session/tests/001.phpt ext/session/tests/003.phpt ext/session/tests/004.phpt ext/session/tests/005.phpt ext/session/tests/006.phpt ext/session/tests/007.phpt ext/session/tests/008-php4.2.3.phpt ext/session/tests/009.phpt ext/session/tests/012.phpt ext/session/tests/013.phpt ext/session/tests/014.phpt ext/session/tests/015.phpt ext/session/tests/016.phpt ext/session/tests/017.phpt ext/session/tests/018.phpt ext/session/tests/019.phpt ext/session/tests/020.phpt ext/session/tests/021.phpt: Set serialize_handler to php to prevent test failures. 2002-11-25 Stig Bakken * pear/PEAR/Command/Package.php: - more accurate description of "makerpm" command * pear/PEAR/Command/Common.php: - silence some notices 2002-11-25 Ilia Alshanetsky * ext/gd/config.m4 ext/gd/libgd/gdxpm.c: MFH (fixed a compile failure when --with-xpm-dir is used). 2002-11-25 Stefan Esser * ext/standard/ftp_fopen_wrapper.c: MFH * ext/standard/ftp_fopen_wrapper.c: tmp_line was possible uninitialised, resulting in crap error messages. 2002-11-25 Ilia Alshanetsky * ext/standard/ftp_fopen_wrapper.c: MFH * ext/standard/ftp_fopen_wrapper.c: Added a check to determine if the file can be retrieved or sent. This check also prevents incorrect error reporting in the event the retrieval or the sending of the file cannot be accomplished. 2002-11-25 Maxim Maletsky * ext/oci8/oci8.c: Bug# 16798. Tests appreciated by someone with Oracle 8.0 2002-11-25 Moriyoshi Koizumi * ext/mbstring/config.m4: * ext/mbstring/mbstring.c: Forgot to adjust this one * ext/mbstring/mbstring.c ext/mbstring/php_mbregex.c ext/mbstring/php_mbregex.h: Renamed several internal functions for consistency 2002-11-25 Rui Hirokawa * ext/mbstring/mbfilter_kr.c ext/mbstring/unicode_table_kr.h: simplified and a bug fixed in korean encoding conversion table. * ext/mbstring/mbfilter_kr.c ext/mbstring/unicode_table_kr.h: simplified korean encoding conversion table. 2002-11-25 Ilia Alshanetsky * ext/gd/libgd/gd_gd2.c: Removed un-needed zlib check. 2002-11-25 Hartmut Holzgraefe * EXTENSIONS ext/calendar/cal_unix.c ext/calendar/calendar.c ext/calendar/easter.c ext/ctype/ctype.c ext/ctype/php_ctype.h ext/fdf/fdf.c ext/imap/php_imap.c ext/imap/php_imap.h ext/mime_magic/mime_magic.c ext/ncurses/ncurses.c ext/ncurses/ncurses_fe.c ext/ncurses/ncurses_functions.c ext/ncurses/php_ncurses.h ext/ncurses/php_ncurses_fe.h ext/standard/levenshtein.c ext/standard/url_scanner.c ext/zlib/zlib_fopen_wrapper.c main/php_logos.c: email address change 2002-11-25 Ilia Alshanetsky * ext/gd/config.m4 ext/gd/libgd/gd.c ext/gd/libgd/gd.h ext/gd/libgd/gd_gd2.c ext/gd/libgd/gd_jpeg.c ext/gd/libgd/gd_png.c ext/gd/libgd/gd_wbmp.c ext/gd/libgd/gdft.c ext/gd/libgd/gdxpm.c: Synchronized bundled gd library with the latest stable GD, 2.0.6 Fixed a configuration problem with xpm. Fixed 2 possible memory leaks in fontFetch(). 2002-11-25 Yasuo Ohgaki * ext/pgsql/pgsql.c: Cleanup state=4 and avoid using sscanf() 2002-11-24 Moriyoshi Koizumi * ext/mbstring/tests/mb_parse_str02.phpt: MFB * ext/mbstring/tests/mb_parse_str02.phpt ext/mbstring/tests/mb_parse_str02.phpt: file mb_parse_str02.phpt was initially added on branch PHP_4_3. 2002-11-24 Sergey Kartashoff * ext/mnogosearch/php_mnogo.h: - Header file update for new mnogosearch functions * ext/mnogosearch/php_mnogo.c: udm_get_res_field_ex - A new functions have been added: udm_set_agent_param_ex and udm_get_res_field_ex 2002-11-24 Moriyoshi Koizumi * ext/mbstring/mbstring.c: Fixed mb_parse_str() bug pointed out by Yasuo. 2002-11-24 Sascha Schumann * ext/pgsql/pgsql.c: Use proper form of NUL Drop superfluous checks for NULL results 2002-11-24 Marcus Boerger * tests/classes/static_mix_1.phpt tests/classes/static_mix_2.phpt: Better naming * tests/classes/abstract_redeclare.phpt: Add test against redeclaring an overloaded method abstract * tests/classes/static_mix_1.phpt tests/classes/static_mix_2.phpt: Add test against mixing static/non static methods 2002-11-24 Sterling Hughes * ext/pgsql/pgsql.c: null after the erealloc() 2002-11-24 Christian Dickmann * pear/PEAR/Remote.php: remove the check, cause i don't really know, if content has to be an array everytime * pear/PEAR/Remote.php: add some checks to increase cache integrity * pear/PEAR/Command/Remote.php: add errormessage, but that does not fix the problem 2002-11-24 Yasuo Ohgaki * ext/pgsql/pgsql.c: Added missing '\0' 2002-11-24 Jani Taskinen * php.ini-dist: MFB: ; instead of : * php.ini-dist: fix typo (; instead of :) 2002-11-24 Moriyoshi Koizumi * ext/gd/tests/imagefttext.phpt ext/gd/tests/imagettftext.phpt: Renamed the file because this is actually a test for gdImageStringFt(). 2002-11-24 Ilia Alshanetsky * ext/gd/libgd/gdft.c: Fix compile warning, MIN/MAX macros may already be defined by param.h * ext/gd/libgd/gdhelpers.h: Added gdPEstrdup macro. * ext/gd/libgd/gdft.c: Fixed 3 memory leaks. Formatted the code to meet PHP's coding standards, which makes it MUCH easier to understand. 2002-11-24 Moriyoshi Koizumi * ext/gd/gd.c: Fixed the macro so this can be compiled with ft1 * ext/gd/tests/imagettftext.phpt: Sorry, wrong commit. * ext/gd/tests/imagettftext.phpt: Dismissed the second part of the test 2002-11-23 Frank M. Kromann * ext/mbstring/mbstring.dsp: Adding mb_gpc files to project 2002-11-23 Moriyoshi Koizumi * ext/gd/gd.c ext/gd/php_gd.h: Fixed leaks. Other leaks are originated in libgd. 2002-11-23 Derick Rethans * tests/func/002.phpt tests/func/003.phpt tests/func/004.phpt tests/lang/033.phpt: - MFH: Adjust tests for removed old_function() in Zend Engine 2 * tests/func/002.phpt tests/func/003.phpt tests/func/004.phpt tests/lang/033.phpt: - Adjust tests for removed old_function() in Zend Engine 2 2002-11-23 Moriyoshi Koizumi * ext/gd/libgd/gdcache.c: Fixed segfaults 2002-11-23 Marcus Boerger * ext/dba/dba_db3.c ext/dba/dba_db3.c: MFH * ext/dba/dba_db3.c: Allow db4.0 & db4.1 here. Patch by Ralf Engelschall (rse@engelschall.com) 2002-11-23 Moriyoshi Koizumi * ext/mbstring/html_entities.c: Forgot this one. Updated license information * ext/mbstring/mb_gpc.c ext/mbstring/mbstring.c ext/mbstring/mbstring.h ext/mbstring/php_mbregex.c: Updated license information headers * ext/mbstring/config.m4 ext/mbstring/mb_gpc.c ext/mbstring/mb_gpc.h ext/mbstring/mbstring.c ext/mbstring/mbstring.h: Separated GPC related part from mbstring.c 2002-11-23 Jani Taskinen * ext/gd/gd.c: ws fix 2002-11-23 Derick Rethans * ext/standard/flock_compat.c: - Make it compile on IRIX again 2002-11-23 Marcus Boerger * run-tests.php: MFH * run-tests.php: Move up general tests 2002-11-23 Moriyoshi Koizumi * ext/standard/array.c: Fixed some odd behaviours of range() * ext/gd/gd.c: Fixed tab positions * ext/gd/gd.c: Fixed tab positions. * ext/mbstring/tests/mb_send_mail07.phpt: Test for mb_send_mail() under language=Korean * ext/gd/gd.c: MFH (imagecolordeallocate() fix) 2002-11-23 Marcus Boerger * main/streams.c: MFB: Fix memleak in debug mode * main/streams.c: Fix memleak in debug mode 2002-11-23 Sara Golemon * ext/standard/dns.c: New function dns_get_record(): close resolver socket after use. fix to internal func php_parserr(): correct bug in return state. 2002-11-23 Marcus Boerger * ext/exif/tests/exif000.phpt: MFH: Testing default behaviour * ext/exif/tests/exif000.phpt: Testing default behaviour 2002-11-22 Rui Hirokawa * ext/mbstring/mbfilter_kr.c ext/mbstring/mbfilter_kr.c: fixed some bugs in korean encoding conversion. 2002-11-22 Rasmus Lerdorf * ext/gd/gd.c: Applied imagedeallocate() fix 2002-11-22 Ilia Alshanetsky * main/rfc1867.c: Added missing declaration. * ext/exif/exif.c: MFH * ext/exif/exif.c: Fixed bug #20560. 2002-11-22 Stefan Esser * main/rfc1867.c: MFH * main/rfc1867.c: little fix 2002-11-22 Marcus Boerger * ext/dba/tests/dba008.phpt: MFH * ext/dba/dba.c: MFH * ext/dba/dba.c ext/dba/tests/dba008.phpt: Make magic_quotes_runtime work bidirectional for dba 2002-11-22 Edin Kadribasic * sapi/cgi/cgi_main.c: MFH: Avoid possible buffer overflow. * sapi/cgi/cgi_main.c: Avoid possible buffer overflow. 2002-11-22 Marcus Boerger * ext/mhash/tests/001.phpt ext/mhash/tests/002.phpt ext/mhash/tests/003.phpt: MFH * ext/mhash/tests/001.phpt ext/mhash/tests/002.phpt ext/mhash/tests/003.phpt: Show which algorythm fails and do not fail when we have new algos. 2002-11-22 Edin Kadribasic * sapi/cgi/cgi_main.c: MFB: Don't send default http status (200). * sapi/cgi/cgi_main.c: Don't send default http status (200) (Thanks to Sascha Schumann for idea). 2002-11-22 Andrey Hristov * tests/classes/abstract.phpt: typo fix. 2002-11-22 Stefan Esser * ext/standard/tests/general_functions/009.phpt: MFH: sha1() test 2002-11-22 Marcus Boerger * tests/classes/abstract.phpt: Update error message and say 'method' instead of 'function' 2002-11-22 Edin Kadribasic * php.ini-dist php.ini-recommended sapi/cgi/cgi_main.c: MFH: Fixed bug #19207 by adding cgi.rfc2616_headers config directive. * php.ini-dist php.ini-recommended sapi/cgi/cgi_main.c: Fixed bug #19207 by adding cgi.rfc2616_headers configuration directive. 2002-11-22 Sander Roobol * ext/bcmath/bcmath.c ext/bcmath/php_bcmath.h ext/bcmath/libbcmath/src/bcmath.h ext/bcmath/libbcmath/src/debug.c ext/bcmath/libbcmath/src/div.c ext/bcmath/libbcmath/src/divmod.c ext/bcmath/libbcmath/src/init.c ext/bcmath/libbcmath/src/output.c ext/bcmath/libbcmath/src/raise.c ext/bcmath/libbcmath/src/raisemod.c ext/bcmath/libbcmath/src/recmul.c ext/bcmath/libbcmath/src/sqrt.c ext/bcmath/libbcmath/src/str2num.c ext/bcmath/libbcmath/src/zero.c: MFH * ext/bcmath/bcmath.c ext/bcmath/php_bcmath.h ext/bcmath/libbcmath/src/bcmath.h ext/bcmath/libbcmath/src/debug.c ext/bcmath/libbcmath/src/div.c ext/bcmath/libbcmath/src/divmod.c ext/bcmath/libbcmath/src/init.c ext/bcmath/libbcmath/src/output.c ext/bcmath/libbcmath/src/raise.c ext/bcmath/libbcmath/src/raisemod.c ext/bcmath/libbcmath/src/recmul.c ext/bcmath/libbcmath/src/sqrt.c ext/bcmath/libbcmath/src/str2num.c ext/bcmath/libbcmath/src/zero.c: Made bcmath extension thread safe. 2002-11-22 Stig Bakken * pear/PEAR/Frontend/CLI.php: - fix config-show output 2002-11-22 Ilia Alshanetsky * ext/gd/gdcache.c: Added missing header (fixed bug #20555). * ext/pcre/tests/.cvsignore ext/pcre/tests/bug20528.phpt: MFH * ext/pcre/tests/.cvsignore ext/pcre/tests/bug20528.phpt: Added a test case for bug #20528. * ext/pcre/php_pcre.c: MFH * ext/pcre/php_pcre.c: Fixed bug #20528. 2002-11-21 Melvyn Sopacua * ext/xslt/php_sablot.h ext/xslt/sablot.c: MFH Fix bug #20518 * ext/xslt/tests/bug20518.phpt: test for bug #20518 * ext/xslt/php_sablot.h ext/xslt/sablot.c: Fix bug #20518 * ext/xslt/tests/bug20518.phpt: test for bug #20518 2002-11-21 Maxim Maletsky * ext/oci8/oci8.c: Added E_WARNING to OCIPasswordChage() when Safe Mode is in effect * ext/oci8/oci8.c: * ext/oci8/oci8.c: comment typo * ext/oci8/oci8.c: Disabled OCIPasswordChange() in safe mode. Possible security risks. 2002-11-21 Moriyoshi Koizumi * ext/mbstring/tests/mb_send_mail01.phpt ext/mbstring/tests/mb_send_mail03.phpt ext/mbstring/tests/mb_send_mail04.phpt: MFH (added missing mb_internal_encoding()) * ext/mbstring/tests/mb_send_mail01.phpt ext/mbstring/tests/mb_send_mail03.phpt ext/mbstring/tests/mb_send_mail04.phpt: Added missing mb_internal_encoding() * ext/mbstring/tests/mb_ereg_replace-compat-13.phpt: MFH (removed unnecessary \n) * ext/mbstring/tests/mb_ereg_replace-compat-13.phpt: Removed unnecessary "\n" * ext/gd/tests/imagettftext.phpt ext/gd/tests/test8859.ttf: Added a test case for imagettftext() 2002-11-21 Marcus Boerger * run-tests.php: MFH * run-tests.php: Revert that unwanted debug thing - thanks to Sander Robol 2002-11-21 Sander Roobol * ext/bcmath/tests/bcadd.phpt ext/bcmath/tests/bcadd.phpt ext/bcmath/tests/bccomp.phpt ext/bcmath/tests/bccomp.phpt ext/bcmath/tests/bcdiv.phpt ext/bcmath/tests/bcdiv.phpt ext/bcmath/tests/bcmod.phpt ext/bcmath/tests/bcmod.phpt ext/bcmath/tests/bcmul.phpt ext/bcmath/tests/bcmul.phpt ext/bcmath/tests/bcpow.phpt ext/bcmath/tests/bcpow.phpt ext/bcmath/tests/bcscale.phpt ext/bcmath/tests/bcscale.phpt ext/bcmath/tests/bcsqrt.phpt ext/bcmath/tests/bcsqrt.phpt ext/bcmath/tests/bcsub.phpt ext/bcmath/tests/bcsub.phpt: MFH * ext/bcmath/tests/bcadd.phpt ext/bcmath/tests/bccomp.phpt ext/bcmath/tests/bcdiv.phpt ext/bcmath/tests/bcmod.phpt ext/bcmath/tests/bcmul.phpt ext/bcmath/tests/bcpow.phpt ext/bcmath/tests/bcscale.phpt ext/bcmath/tests/bcsqrt.phpt ext/bcmath/tests/bcsub.phpt: Hardcode the bcmath.scale ini-entry 2002-11-21 Rui Hirokawa * ext/mbstring/CREDITS ext/mbstring/CREDITS ext/mbstring/mbstring.c ext/mbstring/mbstring.c: mbstring is supporting CJK + some other encodings. * ext/mbstring/mbfilter_kr.c ext/mbstring/mbfilter_kr.c ext/mbstring/unicode_table_kr.h ext/mbstring/unicode_table_kr.h: fixed incorrect encoding conversion in korean. 2002-11-21 Sander Roobol * ext/bcmath/tests/bcadd.phpt ext/bcmath/tests/bccomp.phpt ext/bcmath/tests/bcdiv.phpt ext/bcmath/tests/bcmod.phpt ext/bcmath/tests/bcmul.phpt ext/bcmath/tests/bcpow.phpt ext/bcmath/tests/bcscale.phpt ext/bcmath/tests/bcsqrt.phpt ext/bcmath/tests/bcsub.phpt: Adding tests for the bcmath extension 2002-11-21 Marcus Boerger * run-tests.php: Force showing the question * tests/classes/abstract.phpt: Test: An abstract function can be overwritten but not called * run-tests.php main/main.c main/php_globals.h: Make it possible to test language features like newly introduced 'abstract' independantly from debug mode. 2002-11-21 Moriyoshi Koizumi * ext/mbstring/mbstring.c: Fixed yet another mb_parse_str() bug 2002-11-21 Hartmut Holzgraefe * ext/standard/php_fopen_wrapper.c main/SAPI.c: MFH * ext/standard/php_fopen_wrapper.c main/SAPI.c: the apache 1.x sapi read_posts tests for SG(read_post_bytes) being counted up, so lets make it happy although this value is not really needed in these cases ... 2002-11-20 Jani Taskinen * ext/mysql/php_mysql.c: MFH, as requested by georg 2002-11-20 James Cox * win32/php4dllts.dsp: grr.. * win32/php4dllts.dsp: remove number.c from the win32 build.. 2002-11-20 Andi Gutmans * ext/bcmath/config.m4: - CVS nuked number.* so we'll nuke it from the build:) 2002-11-20 Frank M. Kromann * ext/w32api/.cvsignore: Adding generated files to ignore list 2002-11-20 Andi Gutmans * ext/bcmath/bcmath.c ext/bcmath/libbcmath/src/bcmath.h ext/bcmath/libbcmath/src/init.c ext/bcmath/libbcmath/src/output.c ext/bcmath/libbcmath/src/raise.c ext/bcmath/libbcmath/src/raisemod.c ext/bcmath/libbcmath/src/recmul.c ext/bcmath/libbcmath/src/sqrt.c ext/bcmath/libbcmath/src/str2num.c ext/bcmath/libbcmath/src/zero.c: - Revert previous patch * ext/bcmath/bcmath.c ext/bcmath/libbcmath/src/bcmath.h ext/bcmath/libbcmath/src/init.c ext/bcmath/libbcmath/src/output.c ext/bcmath/libbcmath/src/raise.c ext/bcmath/libbcmath/src/raisemod.c ext/bcmath/libbcmath/src/recmul.c ext/bcmath/libbcmath/src/sqrt.c ext/bcmath/libbcmath/src/str2num.c ext/bcmath/libbcmath/src/zero.c: - Intermediate commit which works on making bcmath thread-safe. 2002-11-20 Frank M. Kromann * ext/domxml/domxml.dsp: Adding path to resolv.lib * ext/w32api/php_w32api.h ext/w32api/w32api.c ext/w32api/w32api_function_definition_parser.y ext/w32api/w32api_type_definition_parser.y: Changing line endings to CRLF. This allows the extension to build again. 2002-11-20 Derick Rethans * ext/session/session.c: - MFH: Add an error message to the ini handlers 2002-11-20 Sascha Schumann * ext/session/session.c: Add an error message to the ini handlers 2002-11-20 Ilia Alshanetsky * ext/shmop/php_shmop.h ext/shmop/shmop.c ext/shmop/tests/.cvsignore ext/shmop/tests/001.phpt: MFH 2002-11-20 Sascha Schumann * ext/session/session.c: add protective checks to ini updates Noticed by: Derick Rethans PR: #20284 2002-11-20 Ilia Alshanetsky * ext/shmop/php_shmop.h ext/shmop/shmop.c ext/shmop/tests/.cvsignore ext/shmop/tests/001.phpt: Switched to a new parameter parsing API, which simplifies the code. Made error reporting use php_error_docref(). Fixed a memory leak in shmop_open() when an invalid flag is specified. Added tests for shmop() extension. 2002-11-20 Sander Roobol * ext/standard/credits_sapi.h: One Apache 1.3 line is enough 2002-11-20 Ilia Alshanetsky * ext/mhash/tests/001.phpt ext/mhash/tests/002.phpt ext/mhash/tests/003.phpt ext/mhash/tests/skip.inc: MFH * ext/mhash/mhash.c ext/mhash/tests/.cvsignore: MFH 2002-11-20 Stig Bakken * pear/PEAR/Command/Config.php: - convert to english * pear/PEAR/Command/Config.php: - fix doc for config-{set,get} 2002-11-20 Ilia Alshanetsky * ext/mhash/tests/.cvsignore: Added .cvsignore file. * ext/mhash/mhash.c ext/mhash/tests/001.phpt ext/mhash/tests/002.phpt ext/mhash/tests/003.phpt ext/mhash/tests/skip.inc: Switched to a new parameter parsing API, which simplifies the code a great deal. Made error reporting use php_error_docref() Fixed a bug in mhash_keygen_s2k() that caused non \0 terminated data to be returned. Added tests of all mhash functions. 2002-11-19 Stefan Esser * ext/standard/tests/general_functions/009.phpt: Adding SHA1 tests. 2002-11-19 Ilia Alshanetsky * ext/standard/image.c: Do not register IMAGETYPE_SWC if zlib, which is needed for parsing of swc files is not available. 2002-11-19 Wez Furlong * ext/zlib/zlib_fopen_wrapper.c: Be pedantic with the return value * ext/zlib/tests/gzreadgzwriteplain.phpt ext/zlib/tests/gzreadgzwriteplain.phpt: file gzreadgzwriteplain.phpt was initially added on branch PHP_4_3. * ext/zlib/zlib_fopen_wrapper.c: Remove a memset I added while debugging 2002-11-19 Ilia Alshanetsky * ext/gd/gdcache.c ext/gd/gdttf.c ext/gd/libgd/gd_topal.c ext/gd/libgd/gdcache.c ext/gd/libgd/gdhelpers.h: Addressed the issue of persistant allocation. Fixed bug #20470. Fixed a memory leak in gdttf.c that would happen when an error during processing occures. 2002-11-19 George Schlossnagle * sapi/apache_hooks/README: brief v1 documentation * sapi/apache_hooks/CREDITS: Props to Lukas as well 2002-11-19 Wez Furlong * ext/zlib/zlib_fopen_wrapper.c ext/zlib/tests/gzreadgzwrite.phpt ext/zlib/tests/gzreadgzwrite.phpt: Resolve some problems with zlib streams, mostly related to opening the stream with an invalid mode. There still seem to be some issues when reading from non-compressed files. Investigation continues. 2002-11-19 Jani Taskinen * sapi/apache_hooks/CREDITS: Add George to the credits and add note about it being different than the real Apache SAPI * sapi/apache_hooks/config.m4: Fix the configure.. 2002-11-19 Moriyoshi Koizumi * ext/mbstring/mbstring.c ext/mbstring/mbstring.h: Function renamings: s/php_mbstr_/php_mb/. * ext/mbstring/mbstring.c: Unified the duplicated portions. * ext/mbstring/tests/mb_parse_str.phpt: MFH * ext/mbstring/tests/mb_parse_str.phpt: Added a test to check whether mb_parse_str() works properly * ext/mbstring/tests/zend-multibyte.phpt: MFH * ext/mbstring/tests/zend-multibyte.phpt: Modified the test so it wouldn't be affected by ini settings. 2002-11-19 Edin Kadribasic * ext/standard/credits_ext.h ext/standard/credits_ext.h ext/standard/credits_sapi.h ext/standard/credits_sapi.h: Update Credits 2002-11-19 Derick Rethans * tests/lang/bison1.phpt win32/install.txt: - MFH * tests/lang/bison1.phpt: - Add test for bison weirdness as some people experienced (seems fixed now though) 2002-11-19 Edin Kadribasic * ext/pcre/pcrelib/pcre.h: MFH (Fix for linking warnings on windows). 2002-11-19 Derick Rethans * pear/Makefile.frag: - MFB: Safemode install problem * pear/Makefile.frag: - Fix safemode relating pear install problems 2002-11-19 Marcus Boerger * main/main.c: MFH * main/main.c: Allow error_prepend and error_append being empty as used in run-test.php 2002-11-19 Derick Rethans * win32/install.txt: - Committing patch by Philip Olson . 2002-11-19 Marcus Boerger * ext/standard/basic_functions.c ext/standard/config.m4 ext/standard/dns.c ext/standard/dns.h: -rename checkdnsrr to dns_check_record, keep old name as alias -rename getmxrr to dns_get_mx, keep old name as alias -added dns_get_record 2002-11-19 Stig Bakken * pear/PEAR/Command/Config.php: MFH * pear/PEAR/Command/Config.php: - allow config-get in the default layer 2002-11-19 George Schlossnagle * sapi/apache_hooks/config.m4: now this works (thanks Rasmus) Note: the correct line is --with-apache-hooks 2002-11-19 Edin Kadribasic * ext/dba/dba.dsp ext/dba/libcdb/cdb.c ext/dba/libcdb/cdb.h ext/dba/libcdb/cdb_make.c ext/dba/libcdb/cdb_make.h ext/dba/libcdb/uint32.c ext/dba/libcdb/uint32.h ext/dba/libflatfile/flatfile.c ext/dba/libflatfile/flatfile.h: MFH (fix windows build) * ext/dba/dba.dsp ext/dba/libcdb/cdb.c ext/dba/libcdb/cdb.h ext/dba/libcdb/cdb_make.c ext/dba/libcdb/cdb_make.h ext/dba/libcdb/uint32.c ext/dba/libcdb/uint32.h ext/dba/libflatfile/flatfile.c ext/dba/libflatfile/flatfile.h: No need to declare functions used internally by DBA as PHPAPI. This fixes windows build. 2002-11-18 Moriyoshi Koizumi * ext/mime_magic/mime_magic.c: MFH (binary mode fix) * ext/mime_magic/mime_magic.c: We have to use binary mode here. * ext/mime_magic/mime_magic.c: MFH (fixed possible leaks) * ext/mime_magic/mime_magic.c: Fixed possible leaks 2002-11-18 George Schlossnagle * sapi/apache_hooks/mod_php4.c sapi/apache_hooks/sapi_apache.c: fixed recurrent entrance to add_cgi_vars 2002-11-18 Thies C. Arntzen * ext/xml/xml.c: use FREE_ZVAL when freeing zvals 2002-11-18 Marcus Boerger * main/streams.c: Fix warning as discussed with Wez. 2002-11-18 Sascha Schumann * ext/fam/.cvsignore ext/fam/CREDITS ext/fam/config.m4 ext/fam/fam.c ext/fam/php_fam.h: Add FAM support for LGPLed libfam. FAM, the File Alteration Monitor, provides an API that applications can use to be notified when specific files or directories are changed. FAM is being used in Enlightenment, GNOME/Nautilus, and KDE. 2002-11-18 Marcus Boerger * ext/standard/tests/image/246x247.png ext/standard/tests/image/384x385.png ext/standard/tests/image/getimagesize.phpt ext/standard/tests/image/getimagesize_246x247.phpt ext/standard/tests/image/getimagesize_384x385.phpt: MFH -Added colordepth for png -Added tests for width/heidth for unsigned/signed problems * ext/standard/image.c: MFH: Added colordepth for png\n * ext/standard/tests/image/246x247.png ext/standard/tests/image/384x385.png ext/standard/tests/image/getimagesize.phpt ext/standard/tests/image/getimagesize_246x247.phpt ext/standard/tests/image/getimagesize_384x385.phpt: -Added colordepth for png -Added tests for width/heidth for unsigned/signed problems * ext/standard/image.c: Added colordepth for png 2002-11-18 Sascha Schumann * ext/ext_skel: add missing backslash 2002-11-18 Edin Kadribasic * ext/pcre/pcrelib/pcre.h: Nuke one more win32 linking warning. 2002-11-18 Marcus Boerger * ext/standard/image.c: Fixing unsigned/signed problems (and i thought about it before...)\n * ext/standard/image.c: Fixing unsigned/signed problems (and i thought about it before...) 2002-11-18 Derick Rethans * ext/standard/image.c: - MFH * ext/standard/image.c: - Remove outdated GPL clause; the file was totally rewritten 2002-11-18 Edin Kadribasic * ext/xml/expat/expat.h: Really nuke win32 linking warnings. 2002-11-18 Ilia Alshanetsky * main/php_compat.h: Fix bug #20442. * ext/xml/expat/expat.h: Hopefully fix win32 linker warnings. 2002-11-18 Derick Rethans * ext/gd/libgd/gdft.c ext/gd/libgd/gdhelpers.c: - Remove e*() memory function calls from the branch 2002-11-18 Edin Kadribasic * sapi/apache_hooks/mod_php4.c sapi/apache_hooks/php_apache.c sapi/apache_hooks/php_apache_http.h: Initial attempt to get apache_hooks api to compile on windows. Still getting link errors with undefined symbol: 'php_request_startup_for_hook'. 2002-11-18 Wez Furlong * main/memory_streams.c main/memory_streams.c main/php_open_temporary_file.c main/php_open_temporary_file.c main/streams.c main/streams.c: wb -> r+b 2002-11-18 Ilia Alshanetsky * ext/gd/libgd/gd_jpeg.c ext/gd/libgd/gd_png.c ext/gd/libgd/gdhelpers.c ext/gd/libgd/gdhelpers.h: Changed memory allocation wrappers to macros, so that it is possible to see where the memory leak is happening. 2002-11-18 Edin Kadribasic * sapi/apache_hooks/php4apache.dsp sapi/apache_hooks/php4apache_hooks.dsp: Updated windows build file. * sapi/apache_hooks/.cvsignore: Added .cvsignore file. * NEWS: MFH (fribidi is not available on windows yet). * NEWS: Remove fribidi from the NEWS item about extensions available on windows for now. This is because I'm unable to get fribidi library to compile on windows. 2002-11-18 Wez Furlong * ext/curl/config.m4: Re-enable the curlwrappers configure option. I still don't recommend it's use unless you are hacking both curl and PHP to make it work. * NEWS: Amend news about mbstring enabled by default * NEWS: Amend info about mbstring enabled by default (no longer true). * main/php_open_temporary_file.c: MFH other temp file mode fixes and Id tag. * main/php_open_temporary_file.c: Merge the temp file mode fix from the branch, add missing Id tag. * acinclude.m4 ext/zlib/zlib.c main/php_streams.h main/streams.c: Merge streams changes from branch. * ext/zlib/zlib.c: Remove redundant info line (all wrappers are listed near the start of the phpinfo page). 2002-11-18 Rasmus Lerdorf * sapi/apache_hooks/php_apache.c: Fix a few warnings - compiles nicely now 2002-11-18 George Schlossnagle * sapi/apache_hooks/php_apache.c: 2002-11-18 Sebastian Bergmann * main/SAPI.h main/main.c: Fix ZTS build. 2002-11-18 Jani Taskinen * ext/qtdom/config.m4: MFH; Fixed bug: #20458 (--with-qtdom=shared broken) * ext/qtdom/config.m4: Fixed bug: #20458 (--with-qtdom=shared broken) * ext/standard/browscap.c: MFH: Added error message if browscap location is not set in php.ini * ext/standard/browscap.c: Added error message if browscap location is not set in php.ini 2002-11-18 Ilia Alshanetsky * ext/standard/browscap.c: MFH * ext/standard/browscap.c: Fixed bug #20462. * ext/xml/expat/xmlparse.c: Removed duplicate php_compat.h include. 2002-11-18 George Schlossnagle * sapi/apache_hooks/CREDITS sapi/apache_hooks/apMakefile.libdir sapi/apache_hooks/apMakefile.tmpl sapi/apache_hooks/config.m4 sapi/apache_hooks/libphp4.module.in sapi/apache_hooks/mod_php4.c sapi/apache_hooks/mod_php4.exp sapi/apache_hooks/mod_php4.h sapi/apache_hooks/php.sym sapi/apache_hooks/php4apache.dsp sapi/apache_hooks/php_apache.c sapi/apache_hooks/php_apache_http.h sapi/apache_hooks/sapi_apache.c: initial import of all these files. This was previously the apache_hooks branch of the apache sapi. Now it lives on its own. General functionality seems to be working, though there may be a problem with some output buffering, most likely due to the way that sapi_deactivate needs to be mangled with here. * main/SAPI.c main/SAPI.h main/main.c main/php_main.h: added support functions for the apache_hooks SAPI 2002-11-18 Jani Taskinen * ext/gd/config.m4: MFH * ext/gd/config.m4: Fix the test. (and indented it for easier bug spotting :) 2002-11-17 Wez Furlong * main/php_streams.h: Add missing Id tag. * main/php_streams.h main/streams.c: Revise stream shutdown procedure. 2002-11-17 Ilia Alshanetsky * main/main.c: MFH * main/main.c: Fixed bug #20466. * ext/gd/config.m4 ext/gd/config.m4: MFH * ext/gd/config.m4: Fixed gd 2.0.4 check 2002-11-17 Sebastian Bergmann * ext/xml/expat/winconfig.h: Fix warning. HAVE_MEMMOVE is already defined in config.w32.h. * ext/xml/expat/xmlparse.c ext/xml/expat/xmlrole.c ext/xml/expat/xmltok.c: Fix Win32 build. (Lots of linkage warnings remain!) 2002-11-17 Ilia Alshanetsky * ext/gd/config.m4: A better gd >=2.0.4 version check for non-bundled gd library. 2002-11-17 Derick Rethans * ext/gd/libgd/gdft.c ext/gd/libgd/gdhelpers.c ext/gd/libgd/gdhelpers.h: - MFB * ext/gd/libgd/gdft.c ext/gd/libgd/gdhelpers.c ext/gd/libgd/gdhelpers.h: - Fix memory problem for real this time. 2002-11-17 Wez Furlong * acinclude.m4 main/streams.c: s/off64t/off64_t/ * acinclude.m4 main/streams.c: Fix fopencookie detection for newer versions of glibc. The GNU people strike again with their useless docs; fopencookie does NOT use "fpos_t *" as documented :/ Additionally, it appears that the the libio layer buffers in chunks of 8KB, so our test needs to exploit this in order to function correctly. Thanks to Derick for doing some groundwork. 2002-11-17 Ilia Alshanetsky * NEWS: Expat upgrade news. * ext/xml/config.m4 ext/xml/expat/Changes ext/xml/expat/ascii.h ext/xml/expat/asciitab.h ext/xml/expat/expat.h ext/xml/expat/iasciitab.h ext/xml/expat/internal.h ext/xml/expat/latin1tab.h ext/xml/expat/utf8tab.h ext/xml/expat/winconfig.h ext/xml/expat/xmlparse.c ext/xml/expat/xmlrole.c ext/xml/expat/xmlrole.h ext/xml/expat/xmltok.c ext/xml/expat/xmltok.h ext/xml/expat/xmltok_impl.c ext/xml/expat/xmltok_ns.c main/php_compat.h: Upgraded the bundled expat library to 1.95.5 (latest stable, atm). Fixed bug #20442. 2002-11-17 Derick Rethans * ext/gd/libgd/gd.c: - Fix compile problems for mips pro 2002-11-17 Zeev Suraski * main/main.c: MFH - unify error_reporting handling through the INI subsystem * main/main.c: Unify handling of error_reporting - fix bug #16137 2002-11-17 Derick Rethans * ext/gd/libgd/gdft.c: - MFB: Fix memory allocation problem in bundled GD (reported by Brian Havard) * ext/gd/libgd/gdft.c: - Fix memory allocation problem in bundled GD (reported by Brian Havard) 2002-11-17 Marcus Boerger * ext/standard/tests/math/hexdec.phpt: MFH: Conversion fix by Michael Mauch * ext/standard/tests/math/hexdec.phpt: Conversion fix by Michael Mauch 2002-11-17 Sascha Schumann * ext/ircg/ircg.c ext/ircg/php_ircg.h: add invite handling 2002-11-17 Wez Furlong * main/streams.c: Avoid a potential double fclose(). 2002-11-17 Ilia Alshanetsky * main/streams.c: Fix compile warning. 2002-11-17 Wez Furlong * main/streams.c: Remove debugging printf 2002-11-17 Ilia Alshanetsky * main/streams.c: MFH * main/streams.c: Fixed a problem that would cause include/require("/dir/file") to fail on Windows. 2002-11-16 Marcus Boerger * ext/standard/tests/general_functions/008.phpt: MFH: Force float for the float test * ext/standard/tests/general_functions/008.phpt: Force float for the float test 2002-11-16 Wez Furlong * main/streams.c: initialize this member so that it doesn't segfault on shutdown... * main/php_streams.h main/streams.c: php_stream_fopen_tmpfile now uses php_open_temporary_file rather than tmpfile(). tmpfile() under win32 will try to use the root directory; the default IIS settings prohibit access to the root directory, which renders tmpfile() useless. PHP's tmpfile() streams are correctly cleaned up and unlinked when closed (or at request shutdown). However, if the stream is cast and passed to a third party library, the temporary file may linger. This is unfortunate, since streams uses this process internally for handling the casting of user-streams. --> some more work is needed on this, but this can be done more easily under Linux. * main/php_open_temporary_file.c: Change "wb" -> "r+b" for win32. The difference is staggering - I've spent hours tracking this down. It should probably be made the same for all platforms. 2002-11-16 Marcus Boerger * ext/dbx/tests/skipif.inc: Show module used in test * ext/standard/tests/array/001.phpt ext/standard/tests/array/002.phpt ext/standard/tests/array/003.phpt ext/standard/tests/array/004.phpt ext/standard/tests/array/005.phpt ext/standard/tests/array/006.phpt ext/standard/tests/array/007.phpt ext/standard/tests/array/008.phpt ext/standard/tests/array/array_change_key_case.phpt ext/standard/tests/array/array_chunk.phpt ext/standard/tests/array/array_count_values.phpt ext/standard/tests/array/array_search.phpt ext/standard/tests/array/count_recursive.phpt ext/standard/tests/array/data.inc ext/standard/tests/array/var_export.phpt: MFH * ext/standard/tests/array/001.phpt ext/standard/tests/array/002.phpt ext/standard/tests/array/003.phpt ext/standard/tests/array/data.inc: -Do not rely on a side effect of 32bit platforms (patch by Michael Mauch) -remove unused sections * ext/standard/tests/array/004.phpt ext/standard/tests/array/005.phpt ext/standard/tests/array/006.phpt ext/standard/tests/array/007.phpt ext/standard/tests/array/008.phpt ext/standard/tests/array/array_change_key_case.phpt ext/standard/tests/array/array_chunk.phpt ext/standard/tests/array/array_count_values.phpt ext/standard/tests/array/array_search.phpt ext/standard/tests/array/count_recursive.phpt ext/standard/tests/array/var_export.phpt: removed unused sections 2002-11-16 Ilia Alshanetsky * ext/standard/tests/strings/crc32.phpt: MFH * ext/standard/tests/strings/crc32.phpt: Fixed the test so it works properly on both 32 and 64 bit platforms. 2002-11-16 Marcus Boerger * ext/standard/image.c: MFH: Make getimagesize more robust against corrupt files * ext/standard/image.c: Make getimagesize more robust against corrupt files 2002-11-16 Wez Furlong * main/streams.c: This is not needed here. 2002-11-16 Georg Richter * ext/mysql/php_mysql.c: forgot to decrement result_allocated :( 2002-11-16 Sascha Schumann * ext/ircg/ircg.c ext/ircg/php_ircg.h: Add ircg_who(), and Change function table so that it leaves unsupported functions undefined. 2002-11-16 Wez Furlong * main/streams.c: Remove debugging line... * main/php_streams.h main/streams.c: Make include/require of user-streams work on systems without fopencookie. 2002-11-16 Sebastian Bergmann * ext/standard/html.c: MFH * ext/standard/html.c: Fix Win32 build. 2002-11-15 Stig Bakken * pear/scripts/pearize.in: MFH * pear/scripts/pearize.in: no longer in use 2002-11-15 Marcus Boerger * ext/dba/config.m4: MFH: When --enable-dba is used then include builtin modules unless --without-xxx is not used. * ext/dba/config.m4: When --enable-dba is used then include builtin modules unless --without-xxx is not used. 2002-11-15 Ilia Alshanetsky * ext/gd/tests/imagefilter.phpt: Removed the md5 checks since the files may be slightly different due to float -> int conversion inconsistencies on various architectures. 2002-11-15 Maxim Maletsky * ext/oci8/oci8.c: WS * ext/oci8/oci8.c: Tons of WS fixes all over the file 2002-11-15 Marcus Boerger * ext/pgsql/tests/80_bug14383.phpt: MFH: Added test for bug 14383 * ext/gd/tests/bug19366.phpt: MFH: simplify and show skip reason * ext/xslt/config.m4: MFH: show correct result * tests/lang/bug20175.phpt: MFH: new syntax * ext/dba/tests/dba001.phpt ext/dba/tests/dba002.phpt ext/dba/tests/dba003.phpt ext/dba/tests/dba004.phpt ext/dba/tests/dba005.phpt ext/dba/tests/dba006.phpt ext/dba/tests/dba007.phpt ext/dba/tests/dba008.phpt ext/dba/tests/skipif.inc ext/dba/tests/test.inc: MFH: info about handler used and use flatfile if available * configure.in ext/db/config.m4: MFH: deprecate ext/db 2002-11-15 Moriyoshi Koizumi * ext/mime_magic/mime_magic.c ext/standard/array.c ext/standard/html.c: MFH * NEWS: MFH 2002-11-15 Ilia Alshanetsky * ext/standard/link.c: MFH (symlinks + ZTS). * ext/standard/link.c: With ZTS on, we need to resolve the full paths before making symlinks. If a chdir() call occurs before the symlink operation, the symlink is created in the current directory rather then directory we've chdired to because in ZTS we don't actually chdir but store the new path internally. For an example of this problem consider the ext/standard/tests/file/001.phpt test under ZTS. 2002-11-15 Marcus Boerger * run-tests.php: MFH: SKIP and INFO result from --SKIPIF-- * run-tests.php: Use eregi is better (noticed by Jon) 2002-11-15 Moriyoshi Koizumi * ext/standard/tests/array/bug20381.phpt: MFH. * ext/mime_magic/mime_magic.c: Always use binary mode for magic files * ext/standard/html.c: Include php_config.h for HAVE_MBSTRING 2002-11-15 Marcus Boerger * run-tests.php: MFH -Allow skip in upper letters. -Add 'info' result to --SKIPIF-- -> see following dba commits * ext/dba/tests/skipif.inc ext/dba/tests/test.inc: Use flatfile if available. 2002-11-15 Moriyoshi Koizumi * ext/mbstring/tests/overload.phpt ext/mbstring/tests/overload01.phpt ext/mbstring/tests/overload02.phpt: MFH * ext/mbstring/tests/overload02.phpt: Divided the overload test into two so as to handle the case mbregex is not enabled * ext/mbstring/tests/overload.phpt ext/mbstring/tests/overload01.phpt: Divided the overload test into two so as to handle the case mbregex is not enabled 2002-11-15 Marcus Boerger * ext/dba/tests/dba001.phpt ext/dba/tests/dba002.phpt ext/dba/tests/dba003.phpt ext/dba/tests/dba004.phpt ext/dba/tests/dba005.phpt ext/dba/tests/dba006.phpt ext/dba/tests/dba007.phpt ext/dba/tests/dba008.phpt ext/dba/tests/skipif.inc: Show which handler was used in the test * run-tests.php: -Allow skip in upper letters. -Add 'info' result to --SKIPIF-- -> see following dba commits 2002-11-15 Moriyoshi Koizumi * ext/mbstring/tests/casefold.phpt ext/mbstring/tests/mb_ereg-compat-01.phpt ext/mbstring/tests/mb_ereg-compat-01.phpt ext/mbstring/tests/mb_ereg-compat-01.phpt ext/mbstring/tests/mb_ereg-compat-02.phpt ext/mbstring/tests/mb_ereg-compat-02.phpt ext/mbstring/tests/mb_ereg-compat-02.phpt ext/mbstring/tests/mb_ereg.phpt ext/mbstring/tests/mb_ereg.phpt ext/mbstring/tests/mb_ereg_replace-compat-01.phpt ext/mbstring/tests/mb_ereg_replace-compat-01.phpt ext/mbstring/tests/mb_ereg_replace-compat-01.phpt ext/mbstring/tests/mb_ereg_replace-compat-02.phpt ext/mbstring/tests/mb_ereg_replace-compat-02.phpt ext/mbstring/tests/mb_ereg_replace-compat-02.phpt ext/mbstring/tests/mb_ereg_replace-compat-03.phpt ext/mbstring/tests/mb_ereg_replace-compat-03.phpt ext/mbstring/tests/mb_ereg_replace-compat-03.phpt ext/mbstring/tests/mb_ereg_replace-compat-04.phpt ext/mbstring/tests/mb_ereg_replace-compat-04.phpt ext/mbstring/tests/mb_ereg_replace-compat-04.phpt ext/mbstring/tests/mb_ereg_replace-compat-05.phpt ext/mbstring/tests/mb_ereg_replace-compat-05.phpt ext/mbstring/tests/mb_ereg_replace-compat-05.phpt ext/mbstring/tests/mb_ereg_replace-compat-06.phpt ext/mbstring/tests/mb_ereg_replace-compat-06.phpt ext/mbstring/tests/mb_ereg_replace-compat-06.phpt ext/mbstring/tests/mb_ereg_replace-compat-07.phpt ext/mbstring/tests/mb_ereg_replace-compat-07.phpt ext/mbstring/tests/mb_ereg_replace-compat-07.phpt ext/mbstring/tests/mb_ereg_replace-compat-08.phpt ext/mbstring/tests/mb_ereg_replace-compat-08.phpt ext/mbstring/tests/mb_ereg_replace-compat-08.phpt ext/mbstring/tests/mb_ereg_replace-compat-09.phpt ext/mbstring/tests/mb_ereg_replace-compat-09.phpt ext/mbstring/tests/mb_ereg_replace-compat-09.phpt ext/mbstring/tests/mb_ereg_replace-compat-10.phpt ext/mbstring/tests/mb_ereg_replace-compat-10.phpt ext/mbstring/tests/mb_ereg_replace-compat-10.phpt ext/mbstring/tests/mb_ereg_replace-compat-11.phpt ext/mbstring/tests/mb_ereg_replace-compat-11.phpt ext/mbstring/tests/mb_ereg_replace-compat-11.phpt ext/mbstring/tests/mb_ereg_replace-compat-12.phpt ext/mbstring/tests/mb_ereg_replace-compat-12.phpt ext/mbstring/tests/mb_ereg_replace-compat-12.phpt ext/mbstring/tests/mb_ereg_replace-compat-13.phpt ext/mbstring/tests/mb_ereg_replace-compat-13.phpt ext/mbstring/tests/mb_ereg_replace-compat-13.phpt ext/mbstring/tests/mb_ereg_replace.phpt ext/mbstring/tests/mb_ereg_replace.phpt ext/mbstring/tests/mb_ereg_replace.phpt ext/mbstring/tests/mb_ereg_replace.phpt ext/mbstring/tests/mb_ereg_search_xxx.phpt ext/mbstring/tests/mb_regex_set_options.phpt ext/mbstring/tests/mb_split-compat-01.phpt ext/mbstring/tests/mb_split.phpt ext/mbstring/tests/php_gr_jp_10830.phpt: MFH 2002-11-15 Marcus Boerger * configure.in: Speling (found by Andi) 2002-11-15 Moriyoshi Koizumi * ext/mbstring/tests/casefold.phpt ext/mbstring/tests/mb_ereg-compat-01.phpt ext/mbstring/tests/mb_ereg-compat-02.phpt ext/mbstring/tests/mb_ereg.phpt ext/mbstring/tests/mb_ereg_replace-compat-01.phpt ext/mbstring/tests/mb_ereg_replace-compat-02.phpt ext/mbstring/tests/mb_ereg_replace-compat-03.phpt ext/mbstring/tests/mb_ereg_replace-compat-04.phpt ext/mbstring/tests/mb_ereg_replace-compat-05.phpt ext/mbstring/tests/mb_ereg_replace-compat-06.phpt ext/mbstring/tests/mb_ereg_replace-compat-07.phpt ext/mbstring/tests/mb_ereg_replace-compat-08.phpt ext/mbstring/tests/mb_ereg_replace-compat-09.phpt ext/mbstring/tests/mb_ereg_replace-compat-10.phpt ext/mbstring/tests/mb_ereg_replace-compat-11.phpt ext/mbstring/tests/mb_ereg_replace-compat-12.phpt ext/mbstring/tests/mb_ereg_replace-compat-13.phpt ext/mbstring/tests/mb_ereg_replace.phpt ext/mbstring/tests/mb_ereg_search_xxx.phpt ext/mbstring/tests/mb_regex_set_options.phpt ext/mbstring/tests/mb_split-compat-01.phpt ext/mbstring/tests/mb_split.phpt ext/mbstring/tests/php_gr_jp_10830.phpt: %s/SKIP/skip/g 2002-11-15 Marcus Boerger * ext/gd/tests/bug19366.phpt: Simplify and show skip reason * tests/lang/bug20175.phpt: Update to new syntax suggestion * ext/xslt/config.m4: Show correct result 2002-11-15 Moriyoshi Koizumi * ext/mime_magic/mime_magic.c: Fixed segfault in case the specified magic file cannot be read. * NEWS NEWS: Bug fixing news * ext/mbstring/tests/mb_ereg_replace.phpt: Removed unnecessary ?> * ext/mbstring/tests/mb_split-compat-01.phpt ext/mbstring/tests/mb_split-compat-01.phpt: MFH * ext/mbstring/tests/mb_ereg-compat-01.phpt ext/mbstring/tests/mb_ereg-compat-02.phpt ext/mbstring/tests/mb_ereg.phpt ext/mbstring/tests/mb_ereg_replace-compat-01.phpt ext/mbstring/tests/mb_ereg_replace-compat-02.phpt ext/mbstring/tests/mb_ereg_replace-compat-03.phpt ext/mbstring/tests/mb_ereg_replace-compat-04.phpt ext/mbstring/tests/mb_ereg_replace-compat-05.phpt ext/mbstring/tests/mb_ereg_replace-compat-06.phpt ext/mbstring/tests/mb_ereg_replace-compat-07.phpt ext/mbstring/tests/mb_ereg_replace-compat-08.phpt ext/mbstring/tests/mb_ereg_replace-compat-09.phpt ext/mbstring/tests/mb_ereg_replace-compat-10.phpt ext/mbstring/tests/mb_ereg_replace-compat-11.phpt ext/mbstring/tests/mb_ereg_replace-compat-12.phpt ext/mbstring/tests/mb_ereg_replace-compat-13.phpt ext/mbstring/tests/mb_ereg_replace.phpt ext/mbstring/tests/mb_split-compat-01.phpt: Fixed bogus SKIPIF conditions. 2002-11-15 Marcus Boerger * ext/standard/tests/time/001.phpt: MFH: Only show the first results * ext/standard/tests/time/001.phpt: Only show the first results * run-tests.php: Correction 2002-11-15 Moriyoshi Koizumi * ext/mbstring/tests/mb_ereg-compat-01.phpt ext/mbstring/tests/mb_ereg-compat-02.phpt ext/mbstring/tests/mb_ereg_replace-compat-01.phpt ext/mbstring/tests/mb_ereg_replace-compat-02.phpt ext/mbstring/tests/mb_ereg_replace-compat-03.phpt ext/mbstring/tests/mb_ereg_replace-compat-04.phpt ext/mbstring/tests/mb_ereg_replace-compat-05.phpt ext/mbstring/tests/mb_ereg_replace-compat-06.phpt ext/mbstring/tests/mb_ereg_replace-compat-07.phpt ext/mbstring/tests/mb_ereg_replace-compat-08.phpt ext/mbstring/tests/mb_ereg_replace-compat-09.phpt ext/mbstring/tests/mb_ereg_replace-compat-10.phpt ext/mbstring/tests/mb_ereg_replace-compat-11.phpt ext/mbstring/tests/mb_ereg_replace-compat-12.phpt ext/mbstring/tests/mb_ereg_replace-compat-13.phpt ext/mbstring/tests/mb_ereg_replace.phpt ext/mbstring/tests/mb_split-compat-01.phpt: Added some skipif conditions to handle the case mbstring is enabled but mbregex is disabled. 2002-11-15 Marcus Boerger * run-tests.php: MFH: Show Zend version * run-tests.php: Show Zend version * ext/domxml/tests/domxml002.phpt: MFH: Showing memleaks for a memleak test is a good idea * ext/domxml/tests/domxml002.phpt: Showing memleaks for a memleak test is a good idea * configure.in ext/db/config.m4: db is deprecated now * ext/domxml/php_domxml.c: MFH: Fix segfaults (check ext/domxml/tests/domxml002.phpt) * ext/domxml/php_domxml.c: Fix segfaults (check ext/domxml/tests/domxml002.phpt) 2002-11-15 Derick Rethans * ext/mysql/php_mysql.c: - MFH: removed restore_connection_defaults for pconnects (discussed on php-dev@) bug #19529 closed bug #12513 reopened 2002-11-15 Sander Roobol * run-tests.php: MFH * run-tests.php: Move the build-environment stuff down or the test results up, so you don't need to scroll down to see the failed tests. 2002-11-15 Georg Richter * ext/mysql/php_mysql.c: removed restore_connection_defaults for pconnects (discussed on php-dev@) bug #19529 closed bug #12513 reopened 2002-11-15 Jani Taskinen * ext/mime_magic/mime_magic.c: MFH * ext/standard/dir.c: ws fix * NEWS: clean the mess.. 2002-11-15 Moriyoshi Koizumi * ext/standard/array.c: Fixed bug #20381 * ext/standard/tests/array/bug20381.phpt: Added a test case for bug #20381 2002-11-15 Maxim Maletsky * ext/oci8/oci8.c: I mean - todo typo :) * ext/oci8/oci8.c: todo typo 2002-11-15 Sascha Schumann * ext/ircg/ircg.c: Simplify handling of ctcp messages by improving %t. 2002-11-15 Moriyoshi Koizumi * ext/mime_magic/mime_magic.c: Use C comments 2002-11-15 Andrei Zmievski * sapi/cgi/cgi_main.c: MFH * sapi/cgi/cgi_main.c: Oops. * sapi/cgi/cgi_main.c: Fix function prototype. 2002-11-15 Sascha Schumann * acinclude.m4 configure.in pear/scripts/phpize.in: use grep -E instead of egrep. the latter is not defined by POSIX anymore 2002-11-14 Stig Bakken * pear/PEAR/Common.php pear/PEAR/Dependency.php pear/PEAR/Installer.php: MFH * pear/install-pear.php pear/OS/Guess.php: MFH * pear/PEAR/Common.php pear/PEAR/Dependency.php pear/PEAR/Installer.php: Added error codes for the PEAR_Dependency class Changed the dependency API to have a reference to an error message string as first arg to all check methods 2002-11-14 Moriyoshi Koizumi * ext/iconv/iconv.c ext/mbstring/mbstring.c: MFH * ext/iconv/iconv.c: Fixed a problem that ICONV_IMPL doesn't give a correct value in win32 build. 2002-11-14 Stig Bakken * ext/standard/dir.c: MFH * ext/standard/dir.c: Added PATH_SEPARATOR constant * pear/OS/Guess.php: - a little bit of internal refactoring 2002-11-14 Moriyoshi Koizumi * ext/mbstring/tests/zend-multibyte.phpt: MFH * ext/mbstring/tests/zend-multibyte.phpt: Added a test for zend-multibyte extension 2002-11-14 Marcus Boerger * ext/exif/tests/exif001.phpt ext/exif/tests/exif003.phpt ext/exif/tests/exif004.phpt ext/exif/tests/exif005.phpt: MFH: Test updates * NEWS: Correct last update * ext/dba/dba.c ext/dba/tests/dba008.phpt ext/dba/tests/dba_cdb_make.phpt: MFH: magic_quotes_runtime support is needed to have ext/dba being superset of deprectaed ext/db * ext/exif/tests/exif001.phpt ext/exif/tests/exif004.phpt ext/exif/tests/exif005.phpt: Minor test corrections * ext/exif/exif.c ext/exif/tests/exif003.phpt: Test is affected by mbstring 2002-11-14 Moriyoshi Koizumi * ext/mbstring/mbstring.c: Fixed possible buffer over run in php_mb_safe_strrchr_ex() 2002-11-14 Maxim Maletsky * ext/oci8/oci8.c: Added function OCIPasswordChange() that allows renewal of an expired Oracle password. 2002-11-14 Andrei Zmievski * ext/standard/info.c: MFH * ext/standard/info.c: Sort the modules for info output as well. 2002-11-14 Marcus Boerger * ext/dba/tests/dba_cdb_make.phpt: file() is affected by magic_quotes_runtime * NEWS NEWS: Add info: Add magic_quotes_runtime support 2002-11-14 Andrei Zmievski * sapi/cgi/cgi_main.c sapi/cli/php_cli.c: MFH 2002-11-14 Marcus Boerger * ext/dba/tests/dba008.phpt: Add magic_quotes_runtime support * ext/dba/dba.c: Add magic_quotes_runtime support * run-tests.php: MFH: Add magic_quotes_runtime which affects several tests * run-tests.php: Add magic_quotes_runtime which affects several tests 2002-11-14 Melvyn Sopacua * README.SUBMITTING_PATCH: typo * README.SUBMITTING_PATCH: MFH plus typo fix 2002-11-14 Andrei Zmievski * sapi/cgi/cgi_main.c sapi/cli/php_cli.c: Sort the modules and extensions before printing them when -m switch is used. 2002-11-14 Marcus Boerger * ext/pgsql/tests/80_bug14383.phpt: Test for bug #14383 * run-tests.php: MFH: Only set the overwrites once (keep this in sync as long as possible) * run-tests.php: Only set the overwrites once 2002-11-14 Melvyn Sopacua * README.SUBMITTING_PATCH: Add a note about the mime-type 2002-11-14 Andrei Zmievski * configure.in main/php_version.h: Back to 4.3.0-dev. 2002-11-14 Moriyoshi Koizumi * ext/mbstring/php_mbregex.c: Fix build * ext/mbstring/mbstring.c ext/mbstring/php_mbregex.c ext/mbstring/php_mbregex.h: Moved some mbregex related portions from mbstring.c to php_mbregex.c * ext/standard/tests/strings/bug20169.phpt: Prevent warnings under safe mode 2002-11-14 Ilia Alshanetsky * run-tests.php: MFH (disable safe_mode for test). * run-tests.php: Disable safe_mode as it interferes with just about every test that needs to access the file system, set enviroment variables or execute commands. 2002-11-14 Marcus Boerger * NEWS NEWS: Missed that 2002-11-14 Andrei Zmievski * configure.in: Fix version. * configure.in main/php_version.h: Go for RC1. 2002-11-14 Stefan Esser * main/rfc1867.c: MFH 2002-11-14 Ilia Alshanetsky * ext/sysvmsg/sysvmsg.c ext/sysvshm/sysvshm.c: MFH (zts compile warning). * ext/sysvmsg/sysvmsg.c ext/sysvshm/sysvshm.c: Fixed ZTS compile warning. 2002-11-14 Stefan Esser * main/rfc1867.c: Fixing possible remote overflow due to mbstring translation. 2002-11-14 Ilia Alshanetsky * ext/standard/link.c: MFH (fic for bug #20423). * ext/standard/link.c: Fixed bug #20423. 2002-11-14 Marcus Boerger * ext/gd/gd.c: Fix TSRM build * ext/gd/libgd/gd.c: Fix warnings (Marcus & Pierre-Alain Joye) * NEWS NEWS: Info about gd changes 2002-11-14 Wez Furlong * ext/standard/tests/network/bug20134.phpt: Add a test case for this "bug" # 20134. I'm not sure that this test is actually useful, so I'm not adding it to the branch. 2002-11-14 Marcus Boerger * ext/dba/dba.c ext/dba/php_dba.h ext/dba/tests/dba_cdb.phpt ext/dba/tests/dba_db2.phpt ext/dba/tests/dba_db3.phpt ext/dba/tests/dba_dbm.phpt ext/dba/tests/dba_flatfile.phpt ext/dba/tests/dba_gdbm.phpt ext/dba/tests/dba_handler.inc ext/dba/tests/dba_ndbm.phpt: MFH: Fix locking behaviour: On some systems read during write is permitted but most libraries are not capable of that. GDBM is system dependant so there we only test that we do not deadlock. * NEWS: MFH: Info about closed bugs * NEWS: Info about closed bugs * ext/dba/dba.c ext/dba/php_dba.h ext/dba/tests/dba_cdb.phpt ext/dba/tests/dba_db2.phpt ext/dba/tests/dba_db3.phpt ext/dba/tests/dba_dbm.phpt ext/dba/tests/dba_flatfile.phpt ext/dba/tests/dba_gdbm.phpt ext/dba/tests/dba_handler.inc ext/dba/tests/dba_ndbm.phpt: Fix locking behaviour: On some systems read during write is permitted but most libraries are not capable of that. GDBM is system dependant so there we only test that we do not deadlock. 2002-11-14 Wez Furlong * ext/standard/tests/file/fopencookie.phpt ext/standard/tests/file/fopencookie.phpt: MFB * ext/standard/tests/file/fopencookie.phpt: Add note about shortcomings of this test. 2002-11-14 Ilia Alshanetsky * ext/mbstring/tests/mb_send_mail05.phpt ext/mbstring/tests/mb_send_mail06.phpt ext/mbstring/tests/overload.phpt: MFH (skip conditions for tests) * ext/yaz/php_yaz.c: MFH (compile warning fix). * NEWS: Bug fix news. * ext/standard/url.c ext/standard/tests/strings/url_t.phpt: MFH (parse_url bug). * ext/standard/url.c ext/standard/tests/strings/url_t.phpt: Fixed bug #20420 and added partial urls to the test of the function. 2002-11-14 Edin Kadribasic * ext/mbstring/mbstring.h: MFH (fixes unix build of mbstring) 2002-11-14 Wez Furlong * ext/standard/tests/file/fopencookie.phpt: Add this test to make sure that fopencookie is detected and working correctly (or that the less efficient tmpfile casting is working). More details in the test itself. * ext/mbstring/mbstring.h: Fix build for unix. Not sure if this needs merging to the branch (haven't got that far yet today). * ext/curl/interface.c ext/curl/streams.c: Commit these before Sterling renames the files again :-) When curlstreams are enabled, registers a each supported protocol with PHP. "More Correctly" implement eof for curlstreams. Still not ready for anything like primetime. 2002-11-14 Derick Rethans * NEWS ext/standard/tests/file/bug20424.phpt main/streams.c: - MFB: Fixed bug #20484 (stream_get_meta_data crashes on a normal file stream). (Derick, Wez) * NEWS ext/standard/tests/file/bug20424.phpt ext/standard/tests/file/bug20424.phpt main/streams.c: - Fixed bug #20424 (stream_get_meta_data craches on a normal file stream). (Derick, Wez) 2002-11-14 Jon Parise * ext/standard/array.c: 2002-11-14 Sterling Hughes * ext/curl/multi.c: remove C++ comments 2002-11-14 James Cox * ext/standard/credits.c: MFH.. * ext/standard/credits.c: changing.. * NEWS: MFH 2002-11-14 Jani Taskinen * pear/Makefile.frag: MFH 2002-11-14 James Cox * NEWS: englishify 2002-11-14 Sascha Schumann * pear/Makefile.frag: Fix "make install" in vpath env * acinclude.m4 configure.in ext/ircg/config.m4 ext/ircg/ircg.c ext/ircg/ircg_dummy.c ext/ircg/ircg_thttpd.c sapi/cli/config.m4: - Remove PHP_DISABLE_CLI - Streamline ircg build: thttpd-dependent part moved into separate source file, so that it can be added to the SAPI-only object list. * config.guess config.sub: upgrade files to libtool 1.4.3 shipped ones 2002-11-14 Jani Taskinen * ext/pdf/config.m4: MFB: Fix for bug: #20412 * ext/pdf/config.m4: Fixed bug: #20414, shared build did not work 2002-11-13 Sascha Schumann * ext/ircg/ircg.c: Remove debugging stuff 2002-11-13 Edin Kadribasic * ext/mbstring/mbstring.c ext/mbstring/mbstring.dsp ext/mbstring/mbstring.h ext/mbstring/php_mbregex.c ext/mbstring/php_mbregex.h ext/mbstring/php_unicode.c ext/mbstring/php_unicode.h: MFB (made mbstring compile on windows again). 2002-11-13 Sascha Schumann * ext/ircg/ircg.c: always use the mass_join formats, when the server is sending a namelist always use the single join format, when the server is sending a JOIN combining both was originally seen as more convenient, but proved to be difficult when developing frontends. 2002-11-13 Edin Kadribasic * ext/mbstring/mbstring.c ext/mbstring/mbstring.dsp ext/mbstring/mbstring.h ext/mbstring/php_mbregex.c ext/mbstring/php_mbregex.h ext/mbstring/php_unicode.c ext/mbstring/php_unicode.h: Made mbstring compile on windows again. 2002-11-13 Sterling Hughes * ext/curl/multi.c: curl_multi_info_read is unimplemented... 2002-11-13 Ilia Alshanetsky * NEWS: Moved news entry about imagefilter() to proper location. 2002-11-13 Sterling Hughes * ext/curl/CREDITS ext/curl/config.m4 ext/curl/curl.c ext/curl/curl.dsp ext/curl/curlstreams.c ext/curl/interface.c ext/curl/multi.c ext/curl/php_curl.h ext/curl/streams.c: add multi support and reorganize things a bit... 2002-11-13 Jani Taskinen * NEWS: Welcome 4.4.0 2002-11-13 Edin Kadribasic * win32/php4dll.dsp win32/php4dllts.dsp: MFH (relly disable compilation of mbstring) * main/config.w32.h.in: MFH (mbstring defines commented out to allow defining them elsewhere). * win32/php4dll.dsp win32/php4dllts.dsp: Really remove mbstring from the build. * main/config.w32.h.in: Allow mbstring defines to be somewhere else without warnings. 2002-11-13 Stig Bakken * pear/install-pear.php: MFH: remove debug output 2002-11-13 Ilia Alshanetsky * NEWS: New gd function. * ext/gd/tests/imagefilter.phpt ext/gd/tests/test.png: Added tests for imagefilter() function. * ext/gd/gd.c ext/gd/php_gd.h ext/gd/libgd/gd.c ext/gd/libgd/gd.h: Added imagefilter() function by Pierre-Alain Joye (paj@pearfr.org). This function allows negate, grayscale, brightness, contrast, colorize, selective blur, Gaussian blur, edge detect, smooth, sharpen and emboss filters to be applied on an image. 2002-11-13 Stig Bakken * pear/install-pear.php: - remove debug output 2002-11-13 Derick Rethans * NEWS: - MFH: moved ext/cybermut to PECL * NEWS: - Moved cybermut to PECL 2002-11-13 Andrei Zmievski * configure.in main/php_version.h: Change version to 4.4.0-dev. 2002-11-13 Jani Taskinen * NEWS: moved this entry under correct version 2002-11-13 Ilia Alshanetsky * ext/yaz/php_yaz.c: Compile warning fix. * ext/mbstring/tests/overload.phpt: Added a skip condition for when mail() function is not avaliable. * ext/mbstring/tests/mb_send_mail05.phpt ext/mbstring/tests/mb_send_mail06.phpt: Added a skip condition for when the encoding needed for the test is not available or supported. 2002-11-13 Marcus Boerger * ext/dba/libcdb/cdb.c: must be unsigned * ext/dba/libflatfile/flatfile.c ext/dba/libflatfile/flatfile.h: -use size_t -recheckin header as unix file 2002-11-13 Christian Dickmann * pear/PEAR/Common.php pear/PEAR/Command/Install.php pear/PEAR/Frontend/CLI.php: Add new tag to package.xml named .\nThis warnings are printed when installing/upgrading the package.\nThis patch was created in a cooperation with Tal Peer (Thanks for the idea Tal) 2002-11-13 John Coggeshall * ext/standard/dir.c: Added GLOB_ONLYDIR and GLOB_BRACE for compatiable systems for the glob() function. Modified the layout and some minor logic in the experimental webHarness() test class Added Whitespace accidently to array.c :) * run-tests2.php ext/standard/array.c: Added GLOB_ONLYDIR and GLOB_BRACE for compatiable systems for the glob() function. Modified the layout and some minor logic in the experimental webHarness() test class Added Whitespace accidently to array.c :) 2002-11-13 Edin Kadribasic * ext/dba/config.m4: Allow use of Berkeley db version 3.1 as found on many RedHat systems. 2002-11-13 Jan Lehnardt * sapi/cli/php_cli.c: - be more verbose 2002-11-13 Edin Kadribasic * ext/dba/dba.dsp ext/dba/dba_cdb.c ext/dba/dba_flatfile.c ext/dba/libcdb/cdb.c ext/dba/libcdb/cdb_make.c: Added support for bundled flatfile, cdb and cdb_make handlers to win32 build of the dba extension. 2002-11-13 Moriyoshi Koizumi * ext/mbstring/tests/mb_send_mail06.phpt: Added a test for mb_send_mail() to check if the function properly handles Traditional Chinese characters. * ext/mbstring/mbfilter.c: Corrected Traditional Chinese language spec and the preferred MIME name of which the encoding is used in that locale. 2002-11-13 Marcus Boerger * ext/db/db.c: avoid fileno() 2002-11-13 Andrey Hristov * TODO: Already binary safe. 2002-11-13 Derick Rethans * ext/mysql/php_mysql.c: - Reset globals for each request 2002-11-13 Moriyoshi Koizumi * ext/mbstring/tests/mb_send_mail05.phpt: Added a test for mb_send_mail() to check if the simplified Chinese support works * ext/mbstring/tests/mb_send_mail02.phpt: Updated the test * ext/mbstring/mbstring.c: Prevented unwanted encoding detections in mb_send_mail() * NEWS: Update for a recent change on mbstring * ext/mbstring/mbstring.c: Fixed mb_encode_mimeheader() to work with languages other than Japanese and English * ext/mbstring/mbstring.c: Fixed a buffer over-run bug in case a function to be overloaded doesn't exist. 2002-11-13 Sebastian Bergmann * main/config.w32.h.in: Disable mbstring (and sync behaviour with *NIX per Andrei's commit). 2002-11-13 Andrei Zmievski * ext/mbstring/config.m4: Disable mbstring by default. 2002-11-13 Jani Taskinen * pear/install-pear.php: added missing cvs id tag 2002-11-13 Stig Bakken * pear/install-pear.php: - support INSTALL_ROOT 2002-11-12 Jani Taskinen * ext/mysql/libmysql/libmysql.c ext/mysql/libmysql/my_getwd.c ext/mysql/libmysql/my_tempnam.c: Using // is not very good idea.. * pear/Makefile.frag: Do not use any php.ini files for the installs. 2002-11-12 Edin Kadribasic * ext/sybase_ct/php_sybase_ct.c: Fixed ZTS build and removed an unused variable. * ext/db/db.dsp: Fix build. flock_compat.c and flock_compat.h are now in the exported part of php4ts.dll. 2002-11-12 Moriyoshi Koizumi * ext/mbstring/mbstring.c: Cosmetics * ext/mbstring/mbstring.c: Fixed a function overloading related bug. * ext/standard/tests/strings/htmlentities02.phpt ext/standard/tests/strings/htmlentities03.phpt ext/standard/tests/strings/htmlentities04.phpt: Fixed the tests so that they won't be affected by the ini setting of default_charset 2002-11-12 Marcus Boerger * ext/dbase/dbf_rec.c: ftruncate is defined in flock_compat.h on windows * main/SAPI.h main/php_ini.c: Implemented -n switch to skip parsing ini at startup as suggested by Wez. * sapi/cgi/cgi_main.c sapi/cli/php_cli.c: Implemented -n switch to skip parsing ini at startup as suggested by Wez. 2002-11-12 Moriyoshi Koizumi * ext/mbstring/tests/mb_send_mail03.phpt: Fixed language name * ext/mbstring/tests/mb_send_mail01.phpt ext/mbstring/tests/mb_send_mail02.phpt ext/mbstring/tests/mb_send_mail03.phpt ext/mbstring/tests/mb_send_mail04.phpt: Added test cases for mb_send_mail() * ext/mbstring/mbfilter.c: Forgot to change this one. * ext/mbstring/mbfilter.c ext/mbstring/mbfilter.h ext/mbstring/mbstring.c: Added neutral language spec for backwards compatibility 2002-11-12 Hartmut Holzgraefe * ext/standard/php_fopen_wrapper.c main/SAPI.c main/SAPI.h main/php_content_types.c: HTTP_RAW_POST_DATA BC fixes php://input stream fixes (POST data handerl mangles data, CLI crashbug) 2002-11-12 Ilia Alshanetsky * ext/standard/tests/image/getimagesize_swc.phpt: Added test for swc files (compressed swf files), this must be done in a separate test, since this test has a dependency on the zlib extension. * ext/mbstring/mbregex.c: Fixed a memory leak. 2002-11-12 Sascha Schumann * Makefile.global: Add missing $(INSTALL_ROOT) 2002-11-12 Jani Taskinen * ext/odbc/config.m4: ws fixes 2002-11-12 Hartmut Holzgraefe * sapi/cgi/cgi_main.c: reverting accidential commit * sapi/cgi/cgi_main.c: -** empty log message *** 2002-11-12 Ilia Alshanetsky * ext/standard/image.c: Data manipulation (for big endian transformation) should occur after the data has been read from file. 2002-11-12 Jason Greene * NEWS: Correct Entry, Add entry 2002-11-12 Marcus Boerger * ext/gd/libgd/gdhelpers.c: use *e*malloc functions * NEWS: -add gd_info() -keep important news at top -speling 2002-11-12 Ilia Alshanetsky * main/main.c: Changed max_input_time PHP_INI_SYSTEM|PHP_INI_PERDIR because ini_set() will already be too late, the POST/GET/COOKIE processing occures before the script gets parsed. Changed the default value to -1. If users have previously (older PHPs) adressed the problem by setting timeout to a large value, we can avoid breaking their script by detecting the -1 and using timeout_seconds instead of max_input_time when setting the 'input' timeout. 2002-11-12 James Moore * ext/w32api/w32api_function_definition_parser.y ext/w32api/w32api_function_definition_scanner.l ext/w32api/w32api_type_definition_parser.y ext/w32api/w32api_type_definition_scanner.l: Forgot the parsers and scanners * ext/w32api/php_w32api.h ext/w32api/w32api.c ext/w32api/w32api.dsp: Rewrite of the W32api extension * ext/w32api/README ext/w32api/TODO: Rewrite of the W32api extension 2002-11-12 Ilia Alshanetsky * ext/ming/ming.c: Fixed compile error. 2002-11-12 Marcus Boerger * ext/ming/ming.c: php_error() => php_error_docref() 2002-11-12 Timm Friebe * ext/sybase_ct/php_sybase_ct.c: - Added optional parameter to sybase_fetch_object() (Timm) - Changed php_error and zend_error to php_error_docref (Timm) - Changed sybase_query() to clean up and free unread results (Timm) 2002-11-12 Marcus Boerger * ext/gd/libgd/gd.c ext/gd/libgd/gd_gd2.c ext/gd/libgd/gdft.c ext/mbstring/mbstring.c ext/ming/config.m4 ext/ming/ming.c ext/ming/ming.c: fix warnings * ext/dbase/dbf_rec.c: fix windows warning: not needed here * ext/db/db.c: -fix includes -fix one missing efree -replace efree/emalloc with erealloc * ext/gd/gd.c ext/gd/php_gd.h: new function gd_info() returns an associative array of gd support options. # The index names are those from the minfo function. Therefore it is * ext/standard/math.c: fix warnings * ext/standard/flock_compat.c: correct the last patch: make flock() a function again when it is missing 2002-11-12 Yasuo Ohgaki * ext/pgsql/pgsql.c: Speed up pg_escape_bytea, from O(n^2) => O(n). My test script speed up from 50 sec to 5 sec. (sscanf is too slow at least under my linux, I might write better function that unescape values later) Use emalloc/erealloc for bundled PQescapeBytea(php_pgsql_escape_bytea) 2002-11-12 Derick Rethans * ext/mysql/php_mysql.c: - Fix warning 2002-11-12 David Viner * ext/xslt/TODO: adding to do list to help clarify exactly what we are (or should be) working on for the XSLT extension. --dviner 2002-11-12 Zak Greant * ext/mysql/php_mysql.c: Modified php_mysql_do_connect() as suggested by Nick Gaugler - using mysql_ping() as a more efficient alternative to using mysql_stat() to check if the server is alive and then calling mysql_(real_)?connect() to reconnect. Simple tests of opening pconnects indicate that only about 10k of data per ping needs to be returned to the client per connection check, rather than about 110k per status check. 2002-11-11 Marcus Boerger * ext/standard/flock_compat.c ext/standard/flock_compat.h: make flock() a function again when it is missing 2002-11-11 Harrie Hazewinkel * ext/snmp/php_snmp.h ext/snmp/snmp.c: Adding a more detail print functions, that assist/make it easier for creating SNMP scripts. They are only supported when you have NET-SNMP. Need to be documented still though. * ext/snmp/CREDITS ext/snmp/php_snmp.h ext/snmp/snmp.c: Adding SNMPv3 support. This splits the old php_snmp function into an argument parsing part and a data retrieval part. The data retrieval part is reused for SNMPv3. SNMPv3 has only a different argument parsing. THe code is not extremely beautiful, but having NET-SNMP and UCD-SNMP support creates this. :-( Documentation must still be done. 2002-11-11 Marcus Boerger * ext/dba/dba.c: Use php_flock instead of flock * ext/standard/flock_compat.c ext/standard/flock_compat.h: -make the flock() emulation a separate function named php_flock() -use a define to make php_flock() available as flock() when necessary 2002-11-11 Harrie Hazewinkel * ext/snmp/snmp.c: Fixing the php_info function. Print UCD-SNMP when UCD-SNMP is used. Print NET-SNMP when NET-SNMP is used. 2002-11-11 Marcus Boerger * README.STREAMS: forgot to add fprintf in list 2002-11-11 Ilia Alshanetsky * ext/mysql/php_mysql.c: Fixed compile warnings. 2002-11-11 Marcus Boerger * ext/standard/flock_compat.c ext/standard/flock_compat.h: make flock PHPAPI 2002-11-11 Jason Greene * ext/standard/math.c: Switch to using error_docref 2002-11-11 Derick Rethans * pear/pear.m4: - Revert that patch, this was not optional at all. 2002-11-11 Ilia Alshanetsky * configure.in: Added a flex version check. In the event required flex version is not available, an advisory warning (similar to bison one) will be given to the user. This is needed for systems such as Sun OS, where the existing lex parser cannot be used to regenerate Zend/PHP lexical parsers. 2002-11-11 Edin Kadribasic * ext/openssl/openssl.dsp: Fixed windows build. Symbol PHP_EXPORTS is a no-no for dynamically linked extensions. 2002-11-11 Georg Richter * php.ini-dist php.ini-recommended: added a little bit more information for mysql.trace_mode 2002-11-11 Moriyoshi Koizumi * ext/standard/html.c: Added support for windows code pages. * ext/standard/html.c: WS 2002-11-11 Georg Richter * php.ini-dist php.ini-recommended: added mysql.trace_mode * ext/mysql/php_mysql.c ext/mysql/php_mysql.h: Added new functionality: Warnings for table/index scans Warnings for SQL-Errors Warnings for non free result sets It can be activated via ini.setting "mysql.trace_mode" 2002-11-11 Marcus Boerger * ext/dba/dba.c: -fix file open mode when modifier 'd' is used * ext/dba/tests/dba_handler.inc ext/dba/tests/test.inc: -Precondiftion: no open files -do not show warning from dba_open call for read during write * ext/dba/libflatfile/flatfile.c: Add missing flush 2002-11-11 Jason Greene * ext/standard/math.c: Report function name when log() triggers a base warning * ext/standard/math.c ext/standard/tests/math/log.phpt: Add the ability to take the logarithm of any base by adding a base parameter to log() Added regression tests for the new form * ext/standard/tests/math/log.phpt: add test function for log() 2002-11-11 Moriyoshi Koizumi * ext/mbstring/php_unicode.c: Fixed mb_convert_case() / mb_strtolower() / mb_strtoupper() to work in 64bit systems 2002-11-11 Christian Dickmann * pear/PEAR/Remote.php: make cache (get/set) binary safe 2002-11-11 Moriyoshi Koizumi * tests/lang/bug17882.phpt: Removed the test. I should have been more aware of variability of error messages. Thanks Ilia. 2002-11-10 James Cox * ext/standard/credits.c: give Wez streams credits he deserves. 2002-11-10 Marcus Boerger * ext/dba/dba.c: Emit a warning when open mode modifier t is used wrong. * ext/dba/tests/dba_gdbm.phpt ext/dba/tests/dba_handler.inc ext/dba/tests/test.inc: Add $lock_flag which allows to change lock behaviour for both 'l' and 'd' Remember gdbm has its own locking so 't' does not work here - maybe a warning is needed for that, too. * ext/dba/tests/dba_handler.inc: Use 'l' to open database file with locking on .lck file. 2002-11-10 Moriyoshi Koizumi * ext/mbstring/mbstring.c: Fixed mb_send_mail() so that it correctly handles the language setting. * ext/mbstring/mbfilter.c: Fixed German language spec entry. 2002-11-10 Derick Rethans * ext/curl/curl.c: - Make it rely on cURL version 7.9.8 again, so that we can start with the Release Process. * ext/curl/config.m4: - Make it rely on cURL version 7.9.8 again, so that we can start with the Release Process. * ext/pcre/php_pcre.c ext/rpc/com/com_wrapper.c ext/standard/assert.c: - Remove \n from error messages * ext/com/COM.c ext/dbx/dbx.c: - Remove \n from error messages 2002-11-10 Moriyoshi Koizumi * ext/mbstring/mbstring.c: Fixed OnUpdate_mbstring_language so that change for mbstring.language would be reflected to the setting properly * ext/mbstring/mbstring.c: Changed the default settings so that it shouldn't affect htmlentities() 2002-11-10 Ilia Alshanetsky * ext/xslt/tests/xslt_backend_info.phpt: Added a missing '.', which is needed for proper skip check. * sapi/apache/mod_php4.c sapi/apache2filter/apache_config.c: PHP flags specified in .htaccess can now be turned on by using '1' as well as 'On'. * main/main.c: Added missing zend_lineno initilization. 2002-11-10 Moriyoshi Koizumi * tests/lang/bug17882.phpt: Made it conscious of the line number * ext/mbstring/mbstring.c: These changes seems to have bad effect on htmlentities(). Remove it. * tests/lang/bug17882.phpt: Added a test case for bug #17882 2002-11-10 Marcus Boerger * ext/dba/dba.c ext/dba/dba_cdb.c ext/dba/dba_flatfile.c ext/dba/php_dba.h: -Centralise open stream for builtin modules that use streams -If locks work on database file then only one stream open call is used * NEWS: update dba change list * ext/dba/dba.c: finish work on locking -all but gdbm do internal locking now since only gdbm has internal locking -you can force locking on database or lck file (with gdbm this makes no sense so a notice is generated) 2002-11-10 Moriyoshi Koizumi * ext/mbstring/tests/ini_language.phpt: Added a test case to check if my recent patch works 2002-11-10 Sascha Schumann * sapi/thttpd/thttpd_patch: Defend against pipelined requests on persistent connections as used by IRCG. These could cause thttpd to start a second request in the same connection context, and thereby causing real damage. Mozilla 1.0.1 is buggy in that context: When HTTP/1.1 pipelining is enabled (defaults to off), it will send any number of requests over a persistent connection (which is fine), even after it has received a "Connection: close" header field in a subsequent response header. This blatantly violates RFC 2616, section 8.1.2. Because it cannot receive any response on the dead connection, the download manager pops up and tries to download a file (which never arrives). Also, we don't try to send a 400 message anymore, if the connection dies. 2002-11-10 Melvyn Sopacua * ext/xslt/config.m4 ext/xslt/php_sablot.h ext/xslt/sablot.c ext/xslt/tests/xslt_backend_info.phpt: - implement xslt_backend_info - add test for it - fix some prototypes * run-tests.php: - Make it possible for people to save results and/or remove unwanted ENV data. - Use more options for the CC 'version' flag 2002-11-10 Maxim Maletsky * ext/oci8/oci8.c: fixed several proto return types throughout the extension 2002-11-10 Ilia Alshanetsky * NEWS: Bug fixing news. * ext/openssl/openssl.c: Fixed bug #19935. Made OpenSSL file system operations abide by safe_mode & open_basedir restrictions. * main/streams.c: Fixed a bug that in many situations would cause open_basedir restriction to be bypassed. Most notable exception, is the inclusion of files via include(), with a partial path. 2002-11-10 Stig Bakken * pear/PEAR/Installer.php: - implement transactions for uninstall * change "revert" to "rollback" * pear/PEAR/Installer.php: - implemented file transactions so installs may be safely aborted * preparing 1.0b2 release * pear/package-PEAR.xml: - implemented file transactions so installs may be safely aborted * preparing 1.0b2 release 2002-11-10 Jani Taskinen * main/main.c: ws fixes 2002-11-10 Stig Bakken * pear/PEAR/Remote.php: - add folds * main/main.c: - honor track_errors ini setting in php_verror() 2002-11-09 Moriyoshi Koizumi * ext/mbstring/mbstring.c: Fixed typo * ext/mbstring/tests/mb_substr_count.phpt: Added a test for mb_substr_count() * ext/mbstring/mbfilter.c ext/mbstring/mbfilter.h ext/mbstring/mbstring.c ext/mbstring/mbstring.h: Added mb_substr_count() as per the request #15097 * ext/mbstring/mbstring.c: Fixed PHP_INI_MH(OnUpdate_mbstring_language) so that ini entry values are properly updated. 2002-11-09 Sterling Hughes * ext/curl/curl.c: add a whole bunch of constants that make the interface somewhat up-to-date. * ext/curl/config.m4: add check for curl 7.10.2 2002-11-09 Andrei Zmievski * ext/pcre/php_pcre.c: Fix memory leak in non-ZTS mode. 2002-11-09 Stig Bakken * pear/Makefile.frag: - cleaning house 2002-11-08 Ilia Alshanetsky * main/fopen_wrappers.c: Made open_basedir error more descriptive. 2002-11-08 Andrei Zmievski * ext/tokenizer/php_tokenizer.h: Remove unnecessary comments. 2002-11-08 Moriyoshi Koizumi * ext/iconv/iconv.c: Use proper types * ext/iconv/iconv.c: Fixed typo 2002-11-08 Sterling Hughes * ext/curl/curl.c ext/curl/php_curl.h: add support for curl 7.10.* constants (at least most of them) add support for persistent connections 2002-11-08 Moriyoshi Koizumi * tests/lang/bug19566.phpt: Added a test for bug #19566 2002-11-08 Marcus Boerger * ext/standard/tests/strings/htmlentities06.phpt: hide possible warnings 2002-11-08 Sterling Hughes * ext/standard/basic_functions.c: use consistent constants 2002-11-08 Sascha Schumann * sapi/thttpd/thttpd.c: s/PHP_API/PHP_API_VERSION/ 2002-11-08 Marcus Boerger * build/shtool: -update to version 1.6.2 -added path command as requested by jani 2002-11-08 Hartmut Holzgraefe * main/SAPI.c main/php_content_types.c: fix for #20198: "always_populate_raw_post_data = On" breaks HTTP file uploads 2002-11-08 Moriyoshi Koizumi * ext/mbstring/tests/overload.phpt: Added a test for function overloading behaviour 2002-11-08 CHAILLAN Nicolas * ext/readline/readline.c: Very little fixes 2002-11-08 Ilia Alshanetsky * ext/standard/image.c: Fixed prototype of image_type_to_mime_type(), bug #20094. * ext/standard/ftp_fopen_wrapper.c: Fixed compile warning when compiling without openssl support. * ext/standard/tests/image/getimagesize.phpt ext/standard/tests/image/image_type_to_mime_type.phpt ext/standard/tests/image/skipif_imagetype.inc: Move SWC (compressed swf) check into a separate test because this check requires zlib. This separation allows us to skip the test if zlib is not available and not fail. * NEWS: Bug fixing news. * ext/standard/tests/strings/htmlentities05.phpt ext/standard/tests/strings/htmlentities06.phpt ext/standard/tests/strings/htmlentities07.phpt ext/standard/tests/strings/htmlentities08.phpt ext/standard/tests/strings/htmlentities09.phpt: Added skip conditions in the event the required charset is not avaliabled. Removed old (commented out) module loading code. * run-tests.php: This option is needed if we need to track errors inside the skip condition. * ext/pspell/tests/01pspell_basic.phpt: Added a skip condition if the English dictionary needed for the test is not avaliable. * ext/pcntl/tests/001.phpt: Added a skip condition in the event posix_kill(), which is used by the test is not avaliable. * ext/exif/exif.c: Removed duplicate assignment. 2002-11-08 Marcus Boerger * ext/dba/dba.c ext/dba/dba_flatfile.c ext/dba/php_dba.h: -lock support moved from dba_flatfile.c to dba.c -flatfile, cdb, cdb_make use locking now 2002-11-08 Stig Bakken * pear/PEAR/Installer.php: - fix path prepends 2002-11-07 Marcus Boerger * ext/dba/dba_flatfile.c: not needed anywhere here * ext/db/tests/003.phpt: expand test: see if another insert fails * ext/dba/dba_flatfile.c ext/dba/libflatfile/flatfile.c ext/dba/libflatfile/flatfile.h: -rename anything to flatfile_xxx/FLATFILE_xxx -fix update function -add warnings for update function 2002-11-07 Brian France * ext/xml/config.m4: Changed: EXPAT_SHARED_LIBADD -> XML_SHARED_LIBADD If the xml extension was built shared with a shared libexpat it would not get the required link to libexpat.so. 2002-11-07 Wez Furlong * ext/curl/config.m4: Really disable curlwrappers configure option. 2002-11-07 Ilia Alshanetsky * ext/standard/tests/array/001.phpt ext/standard/tests/array/002.phpt ext/standard/tests/array/003.phpt ext/standard/tests/array/data.inc: This makes the output of the tests consistent on 32bit and 64 bit platforms. The old test relied on the 32 bit behaviour, which caused them to always fail on 64 bit platforms. * ext/standard/tests/image/image_type_to_mime_type.phpt: Added swf info. * ext/standard/tests/image/getimagesize.phpt ext/standard/tests/image/test13pix.swf ext/standard/tests/image/test4pix.swf: Added swf and swc (compressed swf) test cases and added 'bits' portion to the expected bmp test results. * ext/standard/image.c: Fixed a crash in image_type_to_mime_type(), when a non integer value is passed to the function. Fixed Width/Height detection of bmp files on big endian systems. Added bit depth detection for bmp files. * ext/standard/tests/strings/url_t.phpt: Added additional tests to parse_url() test suit, corrected the output of 2 existing tests, which were affected by a bug fixed in latest update to parse_url() source code. * ext/standard/url.c: parse_url can now correctly parse mailto:, zlib: (old zlib wrapper) and simular. Thanks to Wez Furlong for noticing the problem. 2002-11-07 Andrei Zmievski * NEWS: Fix. 2002-11-07 Wez Furlong * ext/calendar/calendar.c: WS * ext/calendar/calendar.c: Make this static also. * ext/calendar/calendar.c: Make this static 2002-11-07 Marcus Boerger * ext/dba/tests/dba_handler.inc: add test to see if insert fails when key already exists * ext/dba/dba_gdbm.c: remove debug output and use php_error_docref instead 2002-11-07 Sascha Schumann * sapi/thttpd/thttpd.c: let this source file compile with php 4.2.x * main/php.h: bumb api version because of module_startup change * sapi/thttpd/README: Add two missing entries 2002-11-07 Ilia Alshanetsky * ext/standard/head.c: Fixed a crash in headers_sent(), that occures if php_get_output_start_filename() returns NULL. * ext/standard/file.c main/safe_mode.c: Instead of checking whether realpath exists based on OS. Use the HAVE_REALPATH define, which is set if realpath() is avaliable. This patch also resolves bug #18868. 2002-11-06 Sascha Schumann * ext/dba/dba.c ext/dba/dba_cdb.c ext/dba/dba_db2.c ext/dba/dba_db3.c ext/dba/dba_dbm.c ext/dba/dba_flatfile.c ext/dba/dba_gdbm.c ext/dba/dba_ndbm.c: emalloc never returns 0, so we can simplify the code paths. also replace ecalloc with emalloc+memset, so that the latter can be inlined. * sapi/thttpd/thttpd_patch: - use TCP_DEFER_ACCEPT - don't timeout connections which are managed by IRCG - don't generate invalid HTTP replies, if the client did not send a request line yet 2002-11-06 Moriyoshi Koizumi * ext/iconv/tests/iconv001.phpt ext/iconv/tests/iconv002.phpt ext/iconv/tests/ob_iconv_handler.phpt: Cosmetics * ext/iconv/tests/iconv003.phpt: Added a test case to check the behaviour on failure 2002-11-06 Marcus Boerger * ext/dbx/tests/005.phpt ext/dbx/tests/009.phpt: added missing magic_quotes_runtime=0 2002-11-06 Moriyoshi Koizumi * ext/iconv/iconv.c: Clean up * ext/iconv/tests/iconv002.phpt: Stricter SKIPIF conditions * ext/iconv/iconv.c: Fixed segfaults in case the specified encoding is not acceptable to iconv. * ext/standard/tests/strings/htmlentities02.phpt ext/standard/tests/strings/htmlentities03.phpt ext/standard/tests/strings/htmlentities04.phpt: Oops, preg_match() returns integer value, not boolean. * ext/standard/tests/strings/htmlentities02.phpt ext/standard/tests/strings/htmlentities03.phpt ext/standard/tests/strings/htmlentities04.phpt: Made skip conditions stricter. 2002-11-06 Marcus Boerger * ext/dba/tests/dba_handler.inc ext/dba/tests/test.inc: -convert from dos to unix file * ext/dba/tests/skipif.inc: -convert from dos to unix file -disallow cdb_make * ext/dba/tests/dba_cdb.phpt ext/dba/tests/dba_db2.phpt ext/dba/tests/dba_db3.phpt ext/dba/tests/dba_dbm.phpt ext/dba/tests/dba_flatfile.phpt ext/dba/tests/dba_gdbm.phpt ext/dba/tests/dba_handler.inc ext/dba/tests/dba_ndbm.phpt ext/dba/tests/test.inc: check whether a written databse can be appended and if read during write is permitted * ext/dba/dba_flatfile.c: fix locks and reading 2002-11-06 Wez Furlong * ext/curl/config.m4: Disable --with-curlwrappers. (Pending support from libcurl itself) 2002-11-06 Marcus Boerger * ext/dba/config.m4: There shall never be an external library for this (hopefully). * ext/dba/config.m4 ext/dba/dba.c ext/dba/dba_flatfile.c ext/dba/dba_flatile.c ext/dba/libflatfile/flatfile.c ext/dba/libflatfile/flatfile.h: Use the the name 'flatfile' correctly so the handler support can be built now. * ext/dba/config.m4 ext/dba/dba.c ext/dba/dba_dbm.c ext/dba/dba_flatile.c ext/dba/php_flatfile.h ext/dba/libflatfile/.cvsignore ext/dba/libflatfile/flatfile.c ext/dba/libflatfile/flatfile.h ext/dba/tests/dba_flatfile.phpt: move newly introduced flatfile support from dbm to new flatfile handler * ext/dba/dba_dbm.c: correct file open modes * README.STREAMS: add fprintf replacement: tested, working, used * ext/dba/dba_dbm.c: * ext/dba/config.m4 ext/dba/dba_dbm.c: Incorporate rewritten version of dbm from db extension. * main/php_streams.h: Make the macro use the function and not the other macro as discussed with Wez. * main/php_streams.h main/streams.c: php_stream replacement for fprintf 2002-11-05 Ilia Alshanetsky * sapi/cgi/cgi_main.c sapi/cli/php_cli.c: Fixed bug #20035. ZE now allows us to pass the current line position by setting zend_lineno to (current_line * -1). * ext/yaz/php_yaz.c: Fixed compile warning, removed unused variables and added process.h header, which is needed on Windows for getpid() function. 2002-11-05 Marcus Boerger * ext/dba/dba_gdbm.c: correct errors 2002-11-05 Andi Gutmans * ext/tokenizer/tokenizer.c: - Arghh... Change #ifdef to #ifndef * ext/tokenizer/tokenizer.c: - Fix Engine 2 build 2002-11-05 Moriyoshi Koizumi * ext/standard/tests/strings/bug20261.phpt: Fixed typo * ext/standard/tests/strings/bug20261.phpt: Added a test for bug #20261 2002-11-05 Ilia Alshanetsky * ext/standard/array.c: Fixed a memory leak in array_fill(). The refcount hack is now done for ZE1 only and is slightly faster then the original. After this patch array_fill() can consistently create arrays with >65k elements. 2002-11-05 Marcus Boerger * sapi/cli/php_cli.c: call php_module_startup after zts has been initialised. This way we could have called zend_ini_deactivate(TSRMLS_C). But it seems unnecessary. * ext/dba/dba.c: -use of emalloc functions -info was not initialised fulle due to memset parameters now that the whole structure is initialised we can stop putting 0 in it. 2002-11-05 Edin Kadribasic * ext/ldap/.cvsignore: Ignore all temporary target directories created by the windows build. 2002-11-05 Ilia Alshanetsky * main/fopen_wrappers.c: Added 4th argument to virtual_file_ex() that specifies whether or not realpath() should be used during path resolving. In a number of functions we do not want to use realpath(), since realpath() will resolve symlinks. 2002-11-05 Marcus Boerger * ext/dba/dba.c ext/dba/dba_cdb.c ext/dba/dba_db2.c ext/dba/dba_db3.c ext/dba/dba_dbm.c ext/dba/dba_gdbm.c ext/dba/dba_ndbm.c ext/dba/php_dba.h: Why did open fail? 2002-11-05 Ilia Alshanetsky * ext/pgsql/pgsql.c: Fix compile warning. 2002-11-05 Edin Kadribasic * ext/ldap/ldap.dsp: Added two new targets to the ldap win32 build which enable ldap extension to be linked with ssl version of openldap libs. * ext/ldap/ldap.c: Fixed win32 build by including missing stddef.h 2002-11-05 Moriyoshi Koizumi * ext/standard/string.c: style fix 2002-11-05 Edin Kadribasic * sapi/embed/php4embed.dsp win32/phpembed.dsp: Moving php/embed windows build files to sapi/embed folder. 2002-11-05 Andrey Hristov * php.ini-dist php.ini-recommended: correcting typos. 2002-11-05 Marcus Boerger * ext/dba/config.m4: added missing compiler define * ext/dba/dba_cdb.c: no memory no members * ext/standard/ftp_fopen_wrapper.c: silence 2002-11-05 Edin Kadribasic * sapi/cli/php_cli.c: Made php -v output look nicer on standard 80 column display. 2002-11-05 Marcus Boerger * main/php_streams.h: correct define: silences compiler warning in http_fopen_wrapper.c * ext/standard/tests/time/001.phpt: Use EXPECT again * tests/lang/bug20175.phpt: Comment out part 3 for now Added Part 4 2002-11-05 Adam Dickmeiss * ext/yaz/php_yaz.c: Fix handling of zero-length records 2002-11-05 Timm Friebe * ext/sybase_ct/CREDITS: * ext/sybase_ct/php_sybase_ct.c ext/sybase_ct/php_sybase_ct.h: 2002-11-05 Stig Bakken * ext/standard/basic_functions.c ext/standard/basic_functions.h: Added separate functions for setting include_path, for environments where ini_set has been disabled. New functions: get_include_path(), set_include_path(), restore_include_path() 2002-11-04 Ilia Alshanetsky * ext/standard/link.c: Revert virtual_link() patch. 2002-11-04 David Reid * main/php_reentrancy.h main/reentrancy.c: Work around a daft mistake in the beos headers... * configure.in ext/standard/ftok.c: Not all systems have sys/ipc.h so let's check and only include it if we have it. 2002-11-04 Marcus Boerger * NEWS: collect and append dba changes * ext/dba/CREDITS ext/dba/config.m4 ext/dba/dba.c ext/dba/dba_cdb.c ext/dba/install_cdb.sh ext/dba/libcdb/.cvsignore ext/dba/libcdb/cdb.c ext/dba/libcdb/cdb.h ext/dba/libcdb/cdb_make.c ext/dba/libcdb/cdb_make.h ext/dba/libcdb/uint32.c ext/dba/libcdb/uint32.h ext/dba/tests/dba_cdb.phpt ext/dba/tests/dba_cdb_make.phpt ext/dba/tests/dba_cdb_read.phpt: incorporate cdb-0.75 as suggested by D. J. Bernstein 2002-11-04 Ilia Alshanetsky * ext/standard/exec.c: Silence compiler warning. 2002-11-04 Marcus Boerger * tests/lang/bug20175.phpt: 2nd wow returns different results with ZE1/ZE2 2002-11-04 Ilia Alshanetsky * tests/lang/bug20175.phpt: Removed \r, which caused the test to fail. 2002-11-04 Marcus Boerger * ext/dba/dba_db2.c ext/dba/dba_db3.c ext/dba/dba_dbm.c ext/dba/dba_gdbm.c: use ecmalloc/efree functions instead of (c|m)alloc/free 2002-11-04 Sascha Schumann * sapi/apache2filter/README: Fix debugging description 2002-11-04 Moriyoshi Koizumi * ext/standard/dl.c: Fixed bug #20243 2002-11-04 Marcus Boerger * ext/dba/dba.c ext/dba/dba_db2.c ext/dba/dba_db3.c ext/dba/php_dba.h: passing around TSRM * tests/lang/bug20175.phpt: See http://bugs.php.net/20175 * run-tests.php: move the run-test tests to the top * tests/dirname.phpt tests/run-test/test001.phpt tests/run-test/test002.phpt tests/run-test/test003.phpt tests/run-test/test004.phpt tests/run-test/test005.phpt tests/run-test/test006.phpt tests/run-test/test007.phpt: -testing the tests -moved tests/dirname.phpt to tests/run-test/test007.phpt because many tests use this to find their additional files. -no more tests in tests directly only in subdirectories * run-tests.php: sort them 2002-11-04 Melvyn Sopacua * ext/sysvsem/tests/sysv.phpt: Add test for both sysvsem and sysvshm 2002-11-03 Ilia Alshanetsky * ext/gd/libgd/gdft.c: Fix win32 build. 2002-11-03 Moriyoshi Koizumi * ext/mbstring/tests/mb_output_handler_shift_jis.phpt: Added a new test * ext/zlib/zlib.c: Fixed OnUpdate_zlib_output_compression() behaviour 2002-11-03 Marcus Börger * run-tests.php: better use 'Off' here * ext/dba/tests/dba_dbm.phpt: missing 2002-11-03 Melvyn Sopacua * ext/xslt/tests/qa.dtd: ws 2002-11-03 Marcus Börger * run-tests.php: without these nearly all tests fail if for example php.ini contains output_handler=mb_string mbstring.http_output=UCS-2LE * run-tests.php: force showing progress of test * NEWS: info about added functionality in dba 2002-11-03 Jon Parise * win32/php_modules.dsw: The cybercash extension no longer exists in ext/. 2002-11-03 Marcus Börger * ext/dba/dba_cdb.c: no c++ comments * ext/dba/tests/dba_cdb_read.phpt ext/dba/dba.c ext/dba/dba_cdb.c ext/dba/php_dba.h: cdb now allows multiple key-value pairs with same key 2002-11-03 Ilia Alshanetsky * run-tests.php: Fixed ini argument parsing. We now support ini options with = in the argument, such as the one being used in session test #21, which is once again working properly. 2002-11-03 Marcus Börger * ext/dba/tests/dba_cdb.phpt ext/dba/tests/dba_cdb_read.phpt ext/dba/tests/skipif.inc ext/dba/tests/test.inc ext/dba/tests/test.cdb: cdb interface is currently readonly * ext/dba/dba_cdb.c: -fixed -use *e*malloc * ext/standard/tests/image/bug13213.jpg ext/standard/tests/image/bug13213.phpt ext/standard/tests/image/getimagesize.phpt ext/standard/tests/image/image_type_to_mime_type.phpt ext/standard/tests/image/skipif_imagetype.inc ext/standard/tests/image/test1pix.bmp ext/standard/tests/image/test1pix.jpc ext/standard/tests/image/test1pix.jpg ext/standard/tests/image/test2pix.gif ext/standard/tests/image/test4pix.gif ext/standard/tests/image/test4pix.iff ext/standard/tests/image/test4pix.png ext/standard/tests/image/test4pix.psd ext/standard/tests/image/test4pix.tif: add tests for functions in image.c (not requiring gd,zlib or exif) 2002-11-03 Wez Furlong * ext/dio/dio.c: Fix leak when read call fails (see comment in #16635). 2002-11-03 Marcus Börger * run-tests.php: pass params used for info call to skipif also 2002-11-03 Moriyoshi Koizumi * ext/mbstring/mbstring.c: style keisatsu * ext/mbstring/tests/casefold.phpt ext/mbstring/tests/mb_convert_encoding.phpt ext/mbstring/tests/mb_convert_variables.phpt ext/mbstring/tests/mb_ereg.phpt ext/mbstring/tests/mb_ereg_search_xxx.phpt ext/mbstring/tests/mb_strcut.phpt ext/mbstring/tests/mb_strimwidth.phpt ext/mbstring/tests/mb_substr.phpt ext/mbstring/tests/simpletest.phpt ext/standard/tests/strings/htmlentities.phpt ext/standard/tests/strings/htmlentities01.phpt ext/standard/tests/strings/htmlentities02.phpt ext/standard/tests/strings/htmlentities03.phpt ext/standard/tests/strings/htmlentities04.phpt: Disabled output_handler in INI section 2002-11-01 Colin Viebrock * main/logos.h: ahem 2002-11-01 Jani Taskinen * ext/imap/config.m4: - Added searching for Kerberos libs in default locations if no path is given for --with-kerberos. 2002-11-01 Martin Jansen * pear/PEAR/Command/Common.php: * Fix bug #20207. 2002-11-01 Lenar Lõhmus * ext/xslt/sablot.c: Fix scheme_getall() function so that data returned by user is always converted to string except when script returns FALSE or NULL. In this case signal sablotron that we are not able to handle requested scheme. 2002-11-01 Martin Jansen * pear/HTML/Form.php: * Fix warning with allow_call_time_pass_reference = Off. 2002-11-01 Marcus Börger * ext/dba/tests/dba_cdb.phpt ext/dba/tests/dba_db2.phpt ext/dba/tests/dba_db3.phpt ext/dba/tests/dba_gdbm.phpt ext/dba/tests/dba_handler.inc ext/dba/tests/dba_ndbm.phpt: Add testcase for every single handler * ext/dba/tests/dba002.phpt ext/dba/tests/dba003.phpt ext/dba/tests/dba004.phpt ext/dba/tests/dba005.phpt ext/dba/tests/dba006.phpt ext/dba/tests/dba007.phpt ext/dba/tests/dba001.phpt: Always show handler used * ext/dba/tests/.cvsignore ext/dba/tests/test.inc: test.dbm* -> test0.dbm* * ext/dba/dba.c: php_error -> php_error_docref 2002-11-01 Melvyn Sopacua * ext/xslt/tests/xslt_set_scheme_handlers-003.phpt: Fix test output 2002-11-01 Marcus Börger * run-tests.php: -move -d stuff into function and update settings for info call * ext/standard/tests/time/001.phpt: update test 2002-11-01 Sascha Schumann * sapi/thttpd/thttpd_patch: Simplify handler dispatching mechanism * sapi/thttpd/thttpd_patch: Add missing return statement. * sapi/thttpd/README: update * sapi/thttpd/thttpd_patch: improve host header checking, only affects systems which have virtual hosting enabled 2002-11-01 Christian Stocker * ext/domxml/php_domxml.c: fix for bug #20209 (appending text nodes leads to segfaults sometimes) 2002-11-01 Wez Furlong * main/streams.c: Probable fix for #20180. 2002-11-01 Ilia Alshanetsky * main/config.w32.h.in: Reverting previous OpenSSL patch. 2002-11-01 Melvyn Sopacua * ext/xslt/tests/xslt_set_scheme_handlers-003.phpt: Segfault test, currently unsolved * ext/xslt/tests/xslt_set_scheme_handlers-002.phpt: Testcase for new Sablotron option * ext/xslt/sablot.c: - Fix registration of XSLT_SABOPT_FILES_TO_HANDLER 2002-11-01 Ilia Alshanetsky * ext/gd/gd_bundled.dsp: Fixed win32 build (hopefuly). * main/config.w32.h.in: Possible fix for #20014. Suggested by wez@php.net * ext/standard/string.c: Fixed bug #18710. dirname() now returns consistent output when dealing with \ directory separators on Windows. 2002-11-01 John Coggeshall * ext/session/tests/021.phpt run-tests2.php: Modified the experimental new test class to make it easier to port to the web. Pushed all echo statements through a function that can be overwritten, changed the way pass/skip/fail is handled (separate function) that of course can also be overwritten. To begin testing of a web-based test script also created a webHarness class which will output HTML. To use, just $a = new webHarness(); instead of $a = new testHarness(); A few modifications still must be made to remove the CLI reliance completely. Also modified a test script description. 2002-10-31 Melvyn Sopacua * ext/xslt/tests/xslt_getopt.phpt: copy/waste error * ext/xslt/config.m4 ext/xslt/php_sablot.h ext/xslt/sablot.c: - Add constant XSLT_SABOPT_FILES_TO_HANDLER overriding the default behavior of Sablotron to handle files itself, even if a scheme-handler is registered. - Implement xslt_getopt - Modify behavior of xslt_setopt, so that it returns the previous value. * ext/xslt/tests/xslt_setopt.phpt: Fix typo * ext/xslt/tests/xslt_getopt.phpt: Add test for xslt_getopt 2002-10-31 Moriyoshi Koizumi * ext/iconv/config.m4: Fixed library capability detection behaviour. 2002-10-31 Christian Stocker * ext/domxml/php_domxml.c: fix proto for clone_node 2002-10-31 Jani Taskinen * sapi/cli/php_cli.c: Added built date and time to -v output. 2002-10-31 Moriyoshi Koizumi * ext/standard/tests/strings/htmlentities.phpt tests/strings/003.phpt: Moved the test into the suitable place 2002-10-31 Derick Rethans * README.CVS-RULES: - Bah, Jani needs to be clearer next time ;P * README.CVS-RULES: - Make Jani happy 2002-10-31 Jani Taskinen * NEWS: jaws 2002-10-31 Derick Rethans * Makefile.global run-tests.php: Discuss first! 2002-10-31 Yasuo Ohgaki * Makefile.global run-tests.php: Fixed more ini settings. 2002-10-31 Derick Rethans * ext/calendar/calendar.c ext/calendar/jewish.c ext/calendar/sdncal.h: - Added an aditional parameter to the jdtojewish() function which makes the function return the symbolic hebrew name. (Patch by Moshe Doron ) - Added an aditional parameter to the jdtojewish() function which makes the function return the symbolic hebrew name. (Moshe Doron, Derick) 2002-10-31 Wez Furlong * ext/com/COM.c: Correct a copy-n-paste bug. Spotted by Michael Sisolak 2002-10-31 Derick Rethans * ext/standard/tests/strings/004.phpt: - Fix test, in some cases the first significant number in the time was a 3 2002-10-31 Dan Kalowsky * ext/odbc/php_odbc.c: Patch for windows DSN less connection #20086 (by john@johnandlouise.com) 2002-10-30 Moriyoshi Koizumi * ext/iconv/iconv.c: Prevent unnecessary notices on success 2002-10-30 Sascha Schumann * sapi/thttpd/thttpd.c sapi/thttpd/thttpd_patch: first step towards asynchronous content body processing 2002-10-30 Ilia Alshanetsky * run-tests.php: Corrected my email address. 2002-10-30 Shane Caraveo * run-tests2.php: initial reorganization of run-tests, commiting so both John and I can work on it. 2002-10-30 Moriyoshi Koizumi * NEWS: Bug fix news 2002-10-30 Ilia Alshanetsky * ext/ldap/ldap.c: Fixed a memory leak on ldap_connect() failure. 2002-10-30 Marcus Börger * ext/gd/gd.c ext/gd/libgd/gdxpm.c: fix warnings * ext/domxml/config.m4: that was not good :-( 2002-10-30 Hartmut Holzgraefe * ext/standard/config.m4 ext/standard/basic_functions.c: getopt with long options reverted to configure problems (may find the wrong getopt.h so needed structures are not defined :( ) 2002-10-30 Marc Boeren * ext/dbx/dbx_sybasect.c ext/dbx/dbx_fbsql.c ext/dbx/dbx_mssql.c ext/dbx/dbx_mysql.c ext/dbx/dbx_oci8.c ext/dbx/dbx_odbc.c ext/dbx/dbx_pgsql.c: Coding style. 2002-10-30 Marcus Börger * ext/domxml/config.m4: added default library path 2002-10-30 Marc Boeren * ext/dbx/dbx_oci8.c: Fixed weird membug in oci8 support. 2002-10-30 Marcus Börger * ext/xslt/sablot.c ext/xslt/xslt.c: php_error -> php_error_docref 2002-10-30 Christian Stocker * ext/domxml/TODO: Added 2 more items 2002-10-30 Anantha Kesari H Y * netware/BisonExtStandard.bat: Bison tool to build phplib for NetWare. * netware/BisonExtStandard.bat: New file. * netware/BisonFlexZend.bat: Bison/Flex tool to build Zend for NetWare. * netware/BisonFlexZend.bat: New file. 2002-10-30 Marcus Börger * README.TESTING run-tests.php: Enough discussion on display_erros it seems 2002-10-30 Marc Boeren * ext/dbx/dbx_sybasect.c ext/dbx/dbx_mysql.c ext/dbx/dbx_oci8.c ext/dbx/dbx_odbc.c ext/dbx/dbx_pgsql.c ext/dbx/dbx_fbsql.c ext/dbx/dbx_mssql.c: escape_string functions will now return empty string directly. 2002-10-30 Moriyoshi Koizumi * ext/standard/tests/strings/bug20169.phpt: Fixed typo * ext/standard/tests/strings/bug20169.phpt: Added a test case for bug #20169 * ext/standard/string.c: Fixed bug #20169 2002-10-30 Sascha Schumann * build/buildcheck.sh: Remove overzealous bison check 1. bison is not invoked during buildconf, so why the heck was the check embedded here. 2. bison 1.35 works fine for ze1. if there is a problem with ze2, the check should be limited to that ze version. don't inconvenience people who are using a perfectly fine combination. 2002-10-30 Marcus Börger * run-tests.php: Get infos from php running tests not from php running run-test.php 2002-10-30 Moriyoshi Koizumi * ext/mbstring/php_mbregex.c: Fixed mb_ereg_replace() bug * ext/mbstring/tests/bug20087.phpt ext/mbstring/tests/casefold.phpt ext/mbstring/tests/htmlent.phpt ext/mbstring/tests/mb_convert_encoding.phpt ext/mbstring/tests/mb_convert_variables.phpt ext/mbstring/tests/mb_detect_encoding.phpt ext/mbstring/tests/mb_detect_order.phpt ext/mbstring/tests/mb_ereg.phpt ext/mbstring/tests/mb_ereg_replace.phpt ext/mbstring/tests/mb_ereg_search_xxx.phpt ext/mbstring/tests/mb_http_input.phpt ext/mbstring/tests/mb_http_output.phpt ext/mbstring/tests/mb_internal_encoding.phpt ext/mbstring/tests/mb_output_handler_euc_jp.phpt ext/mbstring/tests/mb_preferred_mime_name.phpt ext/mbstring/tests/mb_regex_set_options.phpt ext/mbstring/tests/mb_split.phpt ext/mbstring/tests/mb_strcut.phpt ext/mbstring/tests/mb_strimwidth.phpt ext/mbstring/tests/mb_strlen.phpt ext/mbstring/tests/mb_strpos.phpt ext/mbstring/tests/mb_strwidth.phpt ext/mbstring/tests/mb_substitute_character.phpt ext/mbstring/tests/mb_substr.phpt ext/mbstring/tests/php_gr_jp_10830.phpt ext/mbstring/tests/simpletest.phpt: Clean up. * ext/mbstring/tests/skipif.inc: Removed dl() code * ext/mbstring/tests/mb_ereg-compat-01.phpt ext/mbstring/tests/mb_ereg-compat-02.phpt ext/mbstring/tests/mb_ereg_replace-compat-01.phpt ext/mbstring/tests/mb_ereg_replace-compat-02.phpt ext/mbstring/tests/mb_ereg_replace-compat-03.phpt ext/mbstring/tests/mb_ereg_replace-compat-04.phpt ext/mbstring/tests/mb_ereg_replace-compat-05.phpt ext/mbstring/tests/mb_ereg_replace-compat-06.phpt ext/mbstring/tests/mb_ereg_replace-compat-07.phpt ext/mbstring/tests/mb_ereg_replace-compat-08.phpt ext/mbstring/tests/mb_ereg_replace-compat-09.phpt ext/mbstring/tests/mb_ereg_replace-compat-10.phpt ext/mbstring/tests/mb_ereg_replace-compat-11.phpt ext/mbstring/tests/mb_ereg_replace-compat-12.phpt ext/mbstring/tests/mb_ereg_replace-compat-13.phpt ext/mbstring/tests/mb_split-compat-01.phpt: Shortened comments. I also think they were too long. 2002-10-30 Wez Furlong * ext/ncurses/ncurses_fe.c ext/ncurses/ncurses_functions.c ext/ncurses/php_ncurses_fe.h: And some more ncurses functions. 2002-10-30 Brad House * ext/mcve/mcve.c: constant MC_TRAN_CHNGPWD typo 2002-10-30 Ilia Alshanetsky * ext/gd/gd_ctx.c ext/gd/config.m4 ext/gd/gd.c: This patch allows compilation of gd against non-bundled gd library older then 2.0.4. 2002-10-29 Marcus Börger * ext/standard/basic_functions.c ext/standard/microtime.c ext/standard/microtime.h: make microtime and gettimeofday unavailable instead of return false return false in case needed library function is unavailable. 2002-10-29 Rasmus Lerdorf * ext/gd/gd.c ext/gd/gd_ctx.c ext/gd/libgd/gd.c ext/gd/libgd/gd.h ext/gd/libgd/gd2topng.c ext/gd/libgd/gd_gd.c ext/gd/libgd/gd_gd2.c ext/gd/libgd/gd_gif_in.c ext/gd/libgd/gd_io.h ext/gd/libgd/gd_io_dp.c ext/gd/libgd/gd_io_file.c ext/gd/libgd/gd_io_ss.c ext/gd/libgd/gd_jpeg.c ext/gd/libgd/gd_png.c ext/gd/libgd/gd_ss.c ext/gd/libgd/gd_wbmp.c ext/gd/libgd/gdcache.h ext/gd/libgd/gdft.c ext/gd/libgd/gdhelpers.h ext/gd/libgd/gdkanji.c ext/gd/libgd/gdparttopng.c ext/gd/libgd/gdtest.c: Update bundled gd library with relevant changes from gd-2.0.4 I still need to add a configure check for the gdIOCtx struct changes so building against older external gd libs will work again. 2002-10-29 Marcus Börger * ext/xslt/tests/xslt_process-001.phpt ext/xslt/tests/xslt_set_object.phpt ext/xslt/tests/xslt_setopt.phpt: -add reason to --SKIPIF-- -add magic_quotes_runtime to --INI-- --use var_dump() * ext/iconv/tests/skipif.inc ext/iconv/tests/test.inc ext/iconv/tests/translit-utf8.phpt: -do not dl() load -magic_quotes_runtime * CODING_STANDARDS: rewrite paragraph 9 No instances yet. And it does not work with #if 0_FOO but with #if FOO_0 2002-10-29 Ilia Alshanetsky * ext/gd/libgd/gd.c: Corrected un-initialized variable usage. 2002-10-29 Moriyoshi Koizumi * ext/iconv/iconv.c: It's better to know the version is "unknown", rather than "" * ext/mbstring/tests/mb_split-compat-01.phpt ext/mbstring/tests/mb_ereg_replace-compat-02.phpt ext/mbstring/tests/mb_ereg_replace-compat-03.phpt ext/mbstring/tests/mb_ereg_replace-compat-04.phpt ext/mbstring/tests/mb_ereg_replace-compat-05.phpt ext/mbstring/tests/mb_ereg_replace-compat-06.phpt ext/mbstring/tests/mb_ereg_replace-compat-07.phpt ext/mbstring/tests/mb_ereg_replace-compat-08.phpt ext/mbstring/tests/mb_ereg_replace-compat-09.phpt ext/mbstring/tests/mb_ereg_replace-compat-10.phpt ext/mbstring/tests/mb_ereg_replace-compat-11.phpt ext/mbstring/tests/mb_ereg_replace-compat-12.phpt ext/mbstring/tests/mb_ereg_replace-compat-13.phpt ext/mbstring/tests/mb_ereg-compat-01.phpt ext/mbstring/tests/mb_ereg-compat-02.phpt ext/mbstring/tests/mb_ereg_replace-compat-01.phpt: Added test cases to check the compatibility with standard ereg functions. 2002-10-29 Melvyn Sopacua * ext/standard/tests/strings/strtoupper.phpt: Add locale for BSDi 2002-10-29 Marcus Börger * ext/domxml/php_domxml.c: fix warnings * ext/domxml/php_domxml.c: -php_error => php_error_docref -two warnings 2002-10-29 Moriyoshi Koizumi * ext/standard/tests/strings/htmlentities05.phpt ext/standard/tests/strings/htmlentities06.phpt ext/standard/tests/strings/htmlentities07.phpt ext/standard/tests/strings/htmlentities08.phpt ext/standard/tests/strings/htmlentities09.phpt ext/iconv/tests/bug16069.phpt ext/iconv/tests/eucjp2iso2022jp.phpt ext/iconv/tests/eucjp2sjis.phpt ext/iconv/tests/eucjp2utf8.phpt ext/iconv/tests/iconv001.phpt ext/iconv/tests/iconv002.phpt ext/iconv/tests/ob_iconv_handler.phpt ext/iconv/tests/translit-failure.phpt ext/iconv/tests/translit-utf8.phpt: Removed dl() stuff 2002-10-29 Wez Furlong * configure.in: Don't use autoconf 2.52 macros. 2002-10-29 Moriyoshi Koizumi * ext/iconv/config.m4: Improved library identification 2002-10-29 Marcus Börger * ext/domxml/tests/domxml002.phpt: corrected output * ext/domxml/tests/001.phpt ext/domxml/tests/domxml001.phpt ext/domxml/tests/domxml002.phpt: -Use skipif.inc -split into two tests -domxml001.phpt should work -domxml002.phpt contains the part that fails * ext/domxml/tests/skipif.inc ext/domxml/tests/xmldoc.phpt: Add simple parsing test 2002-10-29 Ilia Alshanetsky * pear/Makefile.frag: Allows pear installer to run un-harassed by safe_mode & open_basedir. * ext/standard/tests/time/002.phpt: Added a skip condition for situations where the TZ variable could not be set (safe_mode). * Makefile.global: Allows 'make test' to run without being harassed by open_basedir & safe_mode. 2002-10-29 Moriyoshi Koizumi * ext/standard/html.c: WS fix 2002-10-29 Wez Furlong * configure.in main/network.c main/php_network.h: Fix for #19508 by poleson@verio.net. * ext/standard/tests/file/userstreams.phpt: I like my C comments, thanks very much. * ext/standard/tests/file/userstreams.phpt: length of lyrics is not part of the test. 2002-10-29 Marcus Börger * run-tests.php: better use array_diff_assoc the old way resulted in erroneus .diff 2002-10-29 Marc Boeren * ext/dbx/dbx_pgsql.c ext/dbx/dbx_pgsql.h ext/dbx/dbx_sybasect.c ext/dbx/dbx_sybasect.h ext/dbx/php_dbx.h ext/dbx/dbx.c ext/dbx/dbx.h ext/dbx/dbx_fbsql.c ext/dbx/dbx_fbsql.h ext/dbx/dbx_mssql.c ext/dbx/dbx_mssql.h ext/dbx/dbx_mysql.c ext/dbx/dbx_mysql.h ext/dbx/dbx_oci8.c ext/dbx/dbx_oci8.h ext/dbx/dbx_odbc.c ext/dbx/dbx_odbc.h: Added dbx_escape_string function 2002-10-29 Marcus Börger * ext/standard/tests/file/userstreams.phpt: -WS -Use "//" instead of "/* ... */" comments * ext/session/tests/008-php4.2.3.phpt: -Only accept one single message which is expected. -Move error related settings to --INI-- section 2002-10-29 Marc Boeren * ext/dbx/tests/009.phpt: Added test for dbx_escape_string 2002-10-29 Marcus Börger * tests/lang/035.phpt: Rewrite: Taken from ZE2 RFC + a little textual modification * tests/lang/029.phpt: no notices here * ext/standard/file.c: no C++ comments 2002-10-29 Anantha Kesari H Y * netware/start.c: NetWare related files. 2002-10-29 Marcus Börger * ext/standard/file.c: fix overrun * ext/xslt/tests/skipif.inc: add reason * ext/xml/tests/xml001.phpt ext/xml/tests/xml002.phpt ext/xml/tests/xml003.phpt ext/xml/tests/xml004.phpt ext/xml/tests/xml007.phpt: Fix tests 2002-10-29 Anantha Kesari H Y * netware/sys/stat.h: Copyright change and adding some comments. 2002-10-29 Marcus Börger * ext/xml/tests/001.phpt ext/xml/tests/002.phpt ext/xml/tests/003.phpt ext/xml/tests/004.phpt ext/xml/tests/006.phpt ext/xml/tests/007.phpt ext/xml/tests/xml001.phpt ext/xml/tests/xml002.phpt ext/xml/tests/xml003.phpt ext/xml/tests/xml004.phpt ext/xml/tests/xml006.phpt ext/xml/tests/xml007.phpt: rename and WS fixes * ext/iconv/iconv.c: -php_error => php_error_docref * ext/xml/tests/skipif.inc: do not dl() load in skipif.inc * NEWS: update dba changes 2002-10-29 Jani Taskinen * acinclude.m4: - Remove the "which" call and just expect sed to be in PATH 2002-10-29 Anantha Kesari H Y * netware/build.bat netware/buildext.bat netware/buildlib.bat netware/buildsapi.bat netware/common.mif netware/env.c netware/env.h netware/geterrnoptr.c netware/grp.h netware/libpq-fe.h netware/libpq-fs.h netware/libpq.imp netware/mktemp.c netware/mktemp.h netware/param.h netware/php-nw.bat netware/php4apache.mak netware/php4apache2filter.mak netware/php4cli.mak netware/phplib.imp netware/phplib.mak netware/pipe.c netware/pipe.h netware/postgres_ext.h netware/pwd.c netware/pwd.h netware/setbuild.bat netware/start.c netware/sysexits.h netware/time_nw.c netware/time_nw.h netware/tsrm.mak netware/wfile.c netware/wfile.h netware/zend.mak: NetWare related files. * netware/env.c netware/env.h netware/geterrnoptr.c netware/grp.h netware/libpq-fe.h netware/libpq-fs.h netware/libpq.imp netware/mktemp.c netware/param.h netware/php4apache2filter.mak netware/php4cli.mak netware/pipe.c netware/pipe.h netware/postgres_ext.h netware/pwd.c netware/sysexits.h netware/time_nw.c netware/time_nw.h netware/wfile.c netware/wfile.h: New file. * netware/sys/stat.h netware/ApacheCore.imp netware/BisonExtSTandard.bat: NetWare related files. * netware/ApacheCore.imp netware/BisonExtSTandard.bat: New file. 2002-10-29 Jani Taskinen * NEWS: Be a bit more wordy about when this function is available. 2002-10-29 Markus Fischer * NEWS: - Update 2002-10-29 Ilia Alshanetsky * ext/iconv/iconv.c: Fixed compile warning. * ext/gd/libgd/gd.c ext/gd/libgd/gd.h ext/gd/gd.c ext/gd/php_gd.h: Added a patch by Pierre-Alain Joye , which implements the imagerotate() that allows rotation of images in gd. 2002-10-28 Jani Taskinen * acinclude.m4: - Only test the sed in PATH. (testing others is useless) * NEWS: if it fits, it fits 2002-10-28 Markus Fischer * NEWS: - Update & keep most important things on top. 2002-10-28 Sterling Hughes * ext/mssql/php_mssql.c: fix bug # 17497 (fix by: ddb@bitxtender.de) 2002-10-28 Ilia Alshanetsky * run-tests.php: This patch addresses the bogus test failures due to error logging/reporting confusion. 2002-10-28 Marcus Börger * run-tests.php: remove last line commited by error revert log_errors * run-tests.php: forgot 'error_log=' and 'report_memleaks=1' 2002-10-28 Sander Roobol * ext/sockets/php_sockets.h: Fix proto and #20137 2002-10-28 Marcus Börger * run-tests.php: forgot 'error_log=' and 'report_memleaks=1' * ext/iconv/tests/bug16069.inc ext/iconv/tests/bug16069.phpt ext/iconv/tests/eucjp2iso2022jp.inc ext/iconv/tests/eucjp2iso2022jp.phpt ext/iconv/tests/eucjp2sjis.inc ext/iconv/tests/eucjp2sjis.phpt ext/iconv/tests/eucjp2utf8.inc ext/iconv/tests/eucjp2utf8.phpt ext/iconv/tests/iconv001.phpt ext/iconv/tests/iconv002.inc ext/iconv/tests/iconv002.phpt ext/iconv/tests/ob_iconv_handler.phpt ext/iconv/tests/skipif.inc ext/iconv/tests/test.inc ext/iconv/tests/translit-failure.phpt ext/iconv/tests/translit-utf8.inc ext/iconv/tests/translit-utf8.phpt: fix this tests -they did not dl load module in test.... -disable E_NOTICE 2002-10-28 Sterling Hughes * NEWS: update... 2002-10-28 Ilia Alshanetsky * main/streams.c: Fix win32 build. 2002-10-28 Adam Dickmeiss * ext/yaz/php_yaz.c: Raw records for yaz_record 2002-10-28 Marc Boeren * php.ini-dist php.ini-recommended: Added dbx.colnames_case option that controls the case of the returned column names. * ext/dbx/dbx.c ext/dbx/dbx.h ext/dbx/dbx_oci8.c ext/dbx/tests/002.phpt ext/dbx/tests/005.phpt: Added ini-entry and dbx_query flags to control the returned column names (unchanged, lowercase, uppercase). 2002-10-28 Christian Stocker * ext/domxml/php_domxml.c: Patch by Morus Walter, concerning some dtd/entity expanding stuff. 2002-10-28 Ilia Alshanetsky * main/php_streams.h main/streams.c main/main.c: A better fix for bug #20110. 2002-10-28 Sterling Hughes * ext/sockets/sockets.c: make one-line read work on win32... * main/main.c: remove $_FILES from $_REQUEST as per php-dev conversation... 2002-10-28 Jani Taskinen * configure.in: - Enable the sed check. (and moved earlier so we can use the $SED everywhere) 2002-10-28 Shane Caraveo * run-tests.php: windows will not have these, so dont bother, but add an OS to the stuff so that it makes sense why they are N/A * run-tests.php: fix getting ini values that contain the char = fix command line quoting. windows requires double quotes in order to handle & (in ini values) correctly 2002-10-28 Ilia Alshanetsky * NEWS: Bug fixing news. * main/streams.c: Fixed bug #20110. 2002-10-28 Marcus Börger * run-tests.php: allow default ini overwrites to be overwritten themselves in --INI-- * ext/mbstring/tests/htmlent.phpt: fix test 2002-10-27 Marcus Börger * ext/session/tests/008-php4.2.3.phpt: This test requires special settings 2002-10-27 Shane Caraveo * main/streams.c: dont memmove a null pointer. caught by bounds checker. * main/streams.c: fix Bug #20126 write returns an int, with < 0 being a failure. 2002-10-27 Andrei Zmievski * configure.in main/php_version.h: Back to 4.3.0-dev. 2002-10-27 Jani Taskinen * build/buildcheck.sh: We have to require bison version <= 1.30 >= 1.75 since any versions between are broken.. 2002-10-27 Andrei Zmievski * configure.in main/php_version.h: Update to -pre2. 2002-10-27 Derick Rethans * tests/classes/bug20120.phpt: - Add test case for bug 20120, bison bug. 2002-10-27 Wez Furlong * ext/ncurses/ncurses_fe.c ext/ncurses/ncurses_functions.c ext/ncurses/php_ncurses_fe.h: Expose some more ncurses functions. 2002-10-27 Melvyn Sopacua * ext/standard/tests/strings/htmlentities02.phpt ext/standard/tests/strings/htmlentities04.phpt ext/standard/tests/strings/htmlentities03.phpt: Add FreeBSD locale * ext/sysvmsg/config.m4 ext/sysvmsg/php_sysvmsg.h ext/sysvmsg/sysvmsg.c: Avoid possible clash with mysql, but still make it work for BSD's. Struct verified to be compatible with Linux, FreeBSD, BSDi, AIX 4.3.3 and Solaris 5.7. 2002-10-27 Moriyoshi Koizumi * ext/mbstring/tests/bug20087.phpt: Capitalized the title string 2002-10-26 Marcus Börger * README.TESTING: Only in EXPECTREGEX 2002-10-26 Sascha Schumann * sapi/thttpd/README: s/-// * sapi/thttpd/thttpd_patch: add phppat/phpspat configuration file support and fix some indention * sapi/thttpd/README: update and extend 2002-10-26 Ilia Alshanetsky * ext/standard/formatted_print.c: Better fix for bug #20108. * sapi/nsapi/nsapi.c: Added a sanity check (hopefuly will fix bug #20109). According to http://developer.netscape.com/docs/manuals/enterprise/40/nsapi/05_nsapi.htm#551539 util_hostname() can return a NULL value. 2002-10-26 Sascha Schumann * configure.in: Define HAVE_LIBDL, if dlopen() was found. It was tempting to do a complete s/HAVE_LIBDL/HAVE_DLOPEN/ over the whole code base. I defer that to a later point in time for now. * sapi/thttpd/thttpd.c: Fix build and .phps support 2002-10-26 Ilia Alshanetsky * ext/standard/tests/strings/bug20108.phpt: Added expected output. 2002-10-26 Sascha Schumann * sapi/thttpd/php_thttpd.h sapi/thttpd/thttpd.c sapi/thttpd/thttpd_patch: experimental .phps support * sapi/thttpd/thttpd.c: not sure what this async_send is doing in here, so relieve it from its duty. 2002-10-26 Ilia Alshanetsky * ext/standard/formatted_print.c: Fixed bug #20108. 2002-10-26 Derick Rethans * ext/standard/tests/strings/bug20108.phpt: - Fix typoes * ext/standard/tests/strings/strings001.phpt: - fix type 2002-10-26 Melvyn Sopacua * ext/standard/tests/strings/bug20108.phpt: Test for bug in sprintf 2002-10-26 Sascha Schumann * sapi/thttpd/thttpd_patch: Donate "Fast Accept Loop" from Premium thttpd which speeds up processing new connections when the connection table contains lots of entries. 2002-10-26 Ilia Alshanetsky * sapi/cli/php_cli.c: Fixed memory leaks. 2002-10-26 Sascha Schumann * sapi/thttpd/thttpd_patch: Donate "Periodic Connection Expiring" from Premium thttpd, because it is simple and gives a +40% improvement in terms of requests/s when serving static files. 2002-10-26 Marcus Börger * ext/standard/tests/strings/002.phpt: remove original version * ext/standard/tests/strings/strings001.phpt: change to use EXPECTREGEX and rename * README.TESTING run-tests.php: -introduce EXPECTREGEX -add %c for EXPECTF * ext/standard/tests/strings/001.phpt ext/standard/tests/strings/strcspn.phpt ext/standard/tests/strings/strspn.phpt: split tests * ext/standard/tests/strings/htmlentities02.phpt ext/standard/tests/strings/htmlentities03.phpt ext/standard/tests/strings/htmlentities04.phpt ext/standard/tests/strings/htmlentities10.phpt ext/standard/tests/strings/htmlentities11.phpt ext/standard/tests/strings/htmlentities12.phpt ext/standard/tests/strings/htmlentities13.phpt ext/standard/tests/strings/htmlentities14.phpt: fine tune 2002-10-26 Sascha Schumann * sapi/thttpd/thttpd.c: some system headers (irix) define sa_len prefix sa_len with x 2002-10-26 Moriyoshi Koizumi * ext/iconv/iconv.c: Clean-ups * ext/iconv/tests/001.phpt ext/iconv/tests/002.inc ext/iconv/tests/002.phpt ext/iconv/tests/iconv001.phpt ext/iconv/tests/iconv002.inc ext/iconv/tests/iconv002.phpt: Renamed the test * ext/iconv/tests/ob_iconv_handler.phpt: Added a test case for ob_iconv_handler() * ext/iconv/iconv.c: Fixed typo... what did this "#" sign mean? * ext/mbstring/mbstring.c: MFH (in real sense :) ) 2002-10-26 Yasuo Ohgaki * ext/mbstring/mbstring.c: Remove useless check. 2002-10-25 Moriyoshi Koizumi * ext/standard/tests/strings/htmlentities2.phpt ext/standard/tests/strings/htmlentities3.phpt ext/standard/tests/strings/htmlentities4.phpt ext/standard/tests/strings/htmlentities5.phpt ext/standard/tests/strings/htmlentities6.phpt ext/standard/tests/strings/htmlentities7.phpt ext/standard/tests/strings/htmlentities8.phpt ext/standard/tests/strings/htmlentities9.phpt ext/standard/tests/strings/htmlentities01.phpt ext/standard/tests/strings/htmlentities02.phpt ext/standard/tests/strings/htmlentities03.phpt ext/standard/tests/strings/htmlentities04.phpt ext/standard/tests/strings/htmlentities05.phpt ext/standard/tests/strings/htmlentities06.phpt ext/standard/tests/strings/htmlentities07.phpt ext/standard/tests/strings/htmlentities08.phpt ext/standard/tests/strings/htmlentities09.phpt ext/standard/tests/strings/htmlentities1.phpt: Renamed test cases * ext/mbstring/tests/bug20087.phpt: Added a test case for bug #20087 2002-10-25 Ilia Alshanetsky * ext/standard/string.c: This is needed for BSD (FreeBSD, BSDi and possibly others), problem was indentified by Melvyn Sopacua. * ext/standard/basic_functions.c: Cleanup (make sterling happy). 2002-10-25 Melvyn Sopacua * ext/xslt/php_sablot.h ext/xslt/sablot.c: - Add XSLT_REG_ERRMSG macro to register an error on the handle - Rename constants to a bit more appropreate format - Add XSLT_ERR_UNSUPPORTED_SCHEME to be returned for scheme handlers. * ext/xslt/tests/bug17791.phpt ext/xslt/tests/bug17931.phpt ext/xslt/tests/skipif.inc ext/xslt/tests/xslt-001.phpt ext/xslt/tests/xslt.phpt ext/xslt/tests/xslt_process-001.phpt ext/xslt/tests/xslt_process-002.phpt ext/xslt/tests/xslt_set_object.phpt ext/xslt/tests/xslt_set_scheme_handlers-001.phpt ext/xslt/tests/xslt_setopt.phpt: Tests renamed Remove dl() from skipif, for potential problems accross platforms and versions. * ext/xslt/tests/001.phpt ext/xslt/tests/002.phpt ext/xslt/tests/003.phpt ext/xslt/tests/004.phpt ext/xslt/tests/005.phpt ext/xslt/tests/006.phpt ext/xslt/tests/007.phpt ext/xslt/tests/008.phpt ext/xslt/tests/009.phpt: test renaming 2002-10-25 Moriyoshi Koizumi * ext/mbstring/mbstring.c: Additional fix for #20087 2002-10-25 Ilia Alshanetsky * README.TESTING: Added note about error reporting in tests. * ext/session/tests/008-php4.2.3.phpt: Fixed a bug in the test that would cause it to always fail. 2002-10-25 Derick Rethans * ext/mbstring/mbstring.c: - Fixed bug #20087 (Assertion failure when the value was empty) 2002-10-25 Ilia Alshanetsky * run-tests.php: The log_errors=1 breaks a number of tests and is useless for our purposes, removing. 2002-10-25 Derick Rethans * sapi/cgi/cgi_main.c: - Fix build 2002-10-25 Moriyoshi Koizumi * ext/standard/tests/strings/htmlentities5.phpt ext/standard/tests/strings/htmlentities6.phpt ext/standard/tests/strings/htmlentities7.phpt ext/standard/tests/strings/htmlentities8.phpt ext/standard/tests/strings/htmlentities9.phpt: Updated the test cases for htmlentities() * ext/standard/html.c: Fix build if mbstring is enabled as shared extension. 2002-10-25 Marcus Börger * ext/iconv/iconv.c: fix ZTS build 2002-10-25 Derick Rethans * ext/mcrypt/tests/bug8040.phpt ext/mcrypt/tests/001.phpt: - Naming style 2002-10-25 Marcus Börger * README.TESTING: update * ext/exif/tests/exif005.phpt: README.TESTING examples * ext/dba/tests/001.phpt ext/dba/tests/002.phpt ext/dba/tests/003.phpt ext/dba/tests/004.phpt ext/dba/tests/005.phpt ext/dba/tests/006.phpt ext/dba/tests/007.phpt ext/dba/tests/dba001.phpt ext/dba/tests/dba002.phpt ext/dba/tests/dba003.phpt ext/dba/tests/dba004.phpt ext/dba/tests/dba005.phpt ext/dba/tests/dba006.phpt ext/dba/tests/dba007.phpt ext/exif/tests/001.phpt ext/exif/tests/002.phpt ext/exif/tests/003.phpt ext/exif/tests/004.phpt ext/exif/tests/005.phpt ext/exif/tests/exif001.phpt ext/exif/tests/exif002.phpt ext/exif/tests/exif003.phpt ext/exif/tests/exif004.phpt ext/exif/tests/exif005.phpt: New naming scheme * ext/standard/tests/strings/003.phpt ext/standard/tests/strings/str_shuffle.phpt ext/standard/tests/strings/strtr.phpt: README.TESTING examples * ext/standard/tests/strings/strtr.phpt: remove unnecessary sections * ext/dba/dba.c ext/dba/php_dba.h ext/dba/tests/.cvsignore ext/dba/tests/007.phpt: Implemented dba_list() that returns an array rsrcid=>filename and a test. * ext/dba/tests/.cvsignore ext/dba/tests/001.phpt ext/dba/tests/002.phpt ext/dba/tests/003.phpt ext/dba/tests/004.phpt ext/dba/tests/005.phpt ext/dba/tests/006.phpt ext/dba/tests/skipif.inc ext/dba/tests/test.inc: Added some tests for dba extension 2002-10-25 Moriyoshi Koizumi * ext/mbstring/mbstring.c: Fixed null value check in php_mb_mbchar_bytes_ex() as it should be 2002-10-25 Jan Lehnardt * sapi/cli/php_cli.c: - alphabetical output for php -h (cli) * sapi/cgi/cgi_main.c: - alphabetcial output for php -h (cgi) - cosmetics 2002-10-25 Moriyoshi Koizumi * ext/iconv/iconv.c: Added two new rows to MINFO that describes iconv library info. * ext/mbstring/mbstring.c: Adjusted MINFO table style 2002-10-25 Jani Taskinen * NEWS: style 2002-10-25 Sascha Schumann * sapi/thttpd/thttpd.c: thttpd initializes contentlength to -1, so we need to transfer that to 0 for SAPI/PHP. Otherwise, SAPI will try to read (unsigned long) -1 bytes from the connection. 2002-10-25 Ilia Alshanetsky * ext/standard/basic_functions.c: Added a mechanism allowing the disabling of the ability to change certain INI options when safe_mode is enabled. ATM three options are limited: max_execution_time memory_limit child_terminate This patch also fixes bug #17287. 2002-10-24 Moriyoshi Koizumi * ext/standard/tests/strings/htmlentities10.phpt ext/standard/tests/strings/htmlentities11.phpt ext/standard/tests/strings/htmlentities12.phpt ext/standard/tests/strings/htmlentities13.phpt ext/standard/tests/strings/htmlentities14.phpt: Added some cases which test if charset determination with SG(default_charset) works. * ext/standard/html.c: Improved determine_charset() to look up SG(default_charset) value * ext/standard/tests/strings/htmlentities1.phpt ext/standard/tests/strings/htmlentities2.phpt ext/standard/tests/strings/htmlentities3.phpt ext/standard/tests/strings/htmlentities4.phpt ext/standard/tests/strings/htmlentities5.phpt ext/standard/tests/strings/htmlentities6.phpt ext/standard/tests/strings/htmlentities7.phpt ext/standard/tests/strings/htmlentities8.phpt ext/standard/tests/strings/htmlentities9.phpt: Added new test cases for htmlentities * ext/standard/html.c: Fixed ISO-8859-1 handling. 2002-10-24 Marcus Börger * ext/dba/php_dba.h ext/dba/dba.c: implemented dba_handlers() 2002-10-24 Hartmut Holzgraefe * ext/standard/basic_functions.c ext/standard/config.m4: trying to fix #20063 2002-10-24 Moriyoshi Koizumi * ext/standard/html.c: Added € support to cp1252 table 2002-10-24 Marcus Börger * ext/dbx/tests/001.phpt ext/dbx/tests/002.phpt ext/dbx/tests/003.phpt ext/dbx/tests/004.phpt ext/dbx/tests/005.phpt ext/dbx/tests/006.phpt ext/dbx/tests/007.phpt ext/dbx/tests/008.phpt ext/dbx/tests/skipif.inc: -specify reason if connection is not specified -remove unnecessary sections 2002-10-24 Melvyn Sopacua * ext/standard/tests/strings/strtoupper.phpt: - Add locale string for FreeBSD ATTN: Test nog longer skips, but fails. So whatever has changed since 4.2.3 affects BSD systems. 2002-10-24 Marcus Börger * ext/standard/file.c: fix compiler warning?: implement default mentioned by manual * ext/standard/math.c ext/standard/string.c ext/mbstring/mbstring.c ext/dbx/dbx_odbc.c ext/pcre/php_pcre.c ext/pgsql/pgsql.c ext/mysql/libmysql/string.c: fix compiler warning 2002-10-24 Derick Rethans * ext/standard/php_math.h: - Protect function definitions with #ifdef's too 2002-10-24 Tal Peer * pear/HTML/Select.php: More raiseError fixes. 2002-10-24 Jani Taskinen * ext/standard/math.c: - If functions are not available on OS, they're not available in PHP. 2002-10-24 Marcus Börger * ext/session/tests/008-php4.2.3.phpt ext/session/tests/008.phpt: one version for php<4.2.3 and one for php>=4.2.3 * run-tests.php: -improoved number detection -display every error/warning only once 2002-10-24 Ilia Alshanetsky * ext/domxml/tests/001.phpt: Added an ini option to hide the expected memory leak. This is done for compatibility with systems where report_memleak is turned off or running PHP with --disable-debug. 2002-10-24 Derick Rethans * main/main.c: - Allow the report_memleak setting to be set everywhere 2002-10-24 Sascha Schumann * sapi/cli/php_cli.c: add missing {} 2002-10-24 Marc Boeren * ext/dbx/dbx_oci8.c: Changed the dbx_oci8 behaviour to return lowercase column-names, which is a hack but at least it makes it easier for users to create portable apps. * ext/dbx/tests/007.phpt ext/dbx/tests/008.phpt ext/dbx/tests/dbx_test.p ext/dbx/tests/005.phpt: Not happy with the hack to handle the uppercase fieldnames that oracle returns. Changed the dbx_oci8 behaviour to return lowercase instead, which is also a hack but at least it makes it much easier for users to create portable apps (Mc). 2002-10-24 Moriyoshi Koizumi * ext/standard/dl.c: Reverted because my patch doesn't make sense: it was just my problem. * ext/standard/dl.c: Fix build 2002-10-24 Derick Rethans * sapi/cli/php_cli.c: - whitespace 2002-10-24 Sascha Schumann * sapi/cli/php_cli.c: Improve shutdown-behaviour Noticed by: Anantha Kesari H Y 2002-10-24 Derick Rethans * sapi/cli/php_cli.c: *** empty log message *** 2002-10-24 Sascha Schumann * sapi/cli/php_cli.c sapi/servlet/servlet.c regex/regex_extra.h sapi/apache/php_apache.c sapi/cgi/cgi_main.c main/streams.c main/php.h main/php_ini.c ext/xml/xml.c main/main.c ext/standard/info.c ext/standard/mail.c ext/oracle/oracle.c ext/standard/dl.c ext/standard/fsock.c ext/odbc/php_odbc.c ext/oci8/oci8.c ext/mysql/php_mysql.c ext/mcal/php_mcal.h ext/imap/php_imap.h ext/informix/ifx.ec ext/hwapi/hwapi.cpp ext/hyperwave/hw.c ext/filepro/filepro.c ext/gd/gdcache.c ext/fbsql/php_fbsql.c ext/dbase/dbase.c ext/dotnet/php_dotnet.h configure.in: centralize #include "build-defs.h" and drop (sometimes inconsistent) other instances 2002-10-24 Ilia Alshanetsky * run-tests.php: Added failed test summary. 2002-10-24 Derick Rethans * ext/dbx/dbx_oci8.c: - True and false are not always defined, used numbers now 2002-10-24 Sascha Schumann * ext/standard/math.c acinclude.m4 configure.in ext/standard/config.m4: Make PHP compile out-of-the-box with uClibc 2002-10-24 Anantha Kesari H Y * win32/sendmail.c win32/sendmail.h sapi/cli/php_cli.c sapi/apache2filter/sapi_apache2.c sapi/apache/sapi_apache.c sapi/apache/php_apache.c sapi/apache/mod_php4.c: NetWare related changes/modifications. * sapi/apache/libpre.c: NetWare related file. * sapi/apache/libpre.c: New file. * main/SAPI.h main/SAPI.c main/safe_mode.c main/reentrancy.c main/php_syslog.h main/php_sprintf.c main/php_open_temporary_file.c main/php_logos.c main/php_ini.c main/php_compat.h main/php.h main/network.c main/mergesort.c main/main.c: NetWare related changes/modifications. * main/internal_functions_nw.c: NetWare related file. * main/internal_functions_nw.c: New file. * main/fopen_wrappers.c: NetWare related changes/modifications. * main/config.nw.h: NetWare related file. * ext/xml/expat/xmltok_impl.c ext/xml/xml.c ext/standard/var_unserializer.c ext/standard/syslog.c ext/standard/string.c ext/standard/rand.c ext/standard/pageinfo.c ext/standard/pack.c ext/standard/microtime.c ext/standard/md5.c ext/standard/math.c ext/standard/mail.c ext/standard/link.c ext/standard/lcg.c ext/standard/iptc.c ext/standard/info.c ext/standard/image.c ext/standard/html.c ext/standard/head.c ext/standard/http_fopen_wrapper.c ext/standard/ftp_fopen_wrapper.c ext/standard/fsock.h ext/standard/fsock.c ext/standard/flock_compat.c ext/standard/filestat.c ext/standard/file.c ext/standard/dns.c ext/standard/dl.c ext/standard/datetime.c ext/standard/basic_functions.c ext/standard/base64.c: NetWare related changes/modifications. 2002-10-24 Sascha Schumann * acinclude.m4: Quote macro names in AC_DEFUN() and prefix the internal macros using a single underscore. Also rename AC_PHP_ONCE as PHP_RUN_ONCE. * ext/session/session.c: improved warning message 2002-10-24 Anantha Kesari H Y * ext/snmp/snmp.c ext/session/mod_files.c ext/session/session.c ext/pgsql/php_pgsql.h: NetWare related changes/modifications. * ext/pgsql/pgsql.mak: NetWare related file. * ext/pgsql/pgsql.mak: New file. * ext/pcre/pcrelib/internal.h ext/mysql/php_mysql.c: NetWare related changes/modifications. * ext/mysql/mysql.mak: NetWare related file. * ext/ldap/php_ldap.h ext/ldap/ldap.c: NetWare related changes/modifications. * ext/ldap/ldap.mak ext/imap/imap.mak: NetWare related file. * ext/imap/imap.mak: New file. * ext/imap/php_imap.c ext/ftp/php_ftp.c ext/ftp/ftp.c ext/bcmath/libbcmath/src/config.h: NetWare related changes/modifications. 2002-10-24 Jan Lehnardt * run-tests.php: - gcc prints -v information on stderr, make sure that we catch it anyway. - I hope this does not cause problems with other compilers or shells. IMHO we - already rely on /bin/sh anyway, right? * ext/standard/exec.c: - fix segfault in proc_open 2002-10-24 Jani Taskinen * NEWS: style is everything 2002-10-24 Moriyoshi Koizumi * main/rfc1867.c: Fixed build when mbstring is not used - my previous patch is insufficient. * main/rfc1867.c: MFH; we would see a nasty problem again if it was not fixed... 2002-10-24 Ilia Alshanetsky * ext/xslt/tests/009.phpt: Various corrections aimed at making the test's results consistent across all enviroments. 2002-10-24 Marcus Börger * ext/standard/tests/strings/strtoupper.phpt: use german characters for a test with german locale * README.TESTING: additions 2002-10-23 Marcus Börger * ext/exif/tests/001.phpt ext/exif/tests/003.phpt: better use var_dump and EXPECTF 2002-10-23 Moriyoshi Koizumi * main/rfc1867.c ext/mbstring/mbstring.c ext/mbstring/mbstring.h: Make php_mb_is_mb_leadbyte() obsolete. It only works with double-byte chars. 2002-10-23 Marcus Börger * tests/.cvsignore: allow php here for the moment * ext/standard/html.c: fix warning * ext/mbstring/mbstring.h: fix warning: used in rfc1867.c * ext/mbstring/mbstring.c: fix style and warnings 2002-10-23 Ilia Alshanetsky * ext/standard/tests/strings/strtoupper.phpt: Added 'skip logic' to the test on platforms where the locale required by this test is not avaliable. 2002-10-23 Melvyn Sopacua * ext/xslt/tests/009.phpt: suddenly, there was a newline 2002-10-23 Jon Parise * README.UNIX-BUILD-SYSTEM: Correct spelling. * README.TESTING: Correct mispellings and some word misuse. * README.SUBMITTING_PATCH: Capitalize PHP and spell "web server" using two words. * README.STREAMS: - Apply proper capitalization to PHP and MySQL. - Correct some spelling errors. * README.SELF-CONTAINED-EXTENSIONS: Improve the wording in this paragraph. * README.PARAMETER_PARSING_API: Formatting nit: "autoconverted" to "auto-converted" 2002-10-23 Melvyn Sopacua * README.TESTING: Provide an example cron script, to invite people to test. 2002-10-23 Jon Parise * README.EXT_SKEL: - Spell out "cd" as "change directory". - Replace "ie" with "e.g.", which is more appropriate in this context. 2002-10-23 Melvyn Sopacua * README.TESTING: no more looking * README.TESTING: statis->status clarity on the exit status * README.TESTING: Some english fixes Added docs for automated testing. Now telling the current version of the truth about ini settings :) Be more verbose about QA goals intentions and the tester's part in the process. * run-tests.php: Implement 'no interaction' for automated tests Implement exit status 1 to make actions for automated testing selectable 2002-10-23 Moriyoshi Koizumi * ext/mbstring/tests/casefold.phpt: Updated the test case 2002-10-23 Derick Rethans * tests/lang/034.phpt: - Use new setlocal semantics 2002-10-23 Moriyoshi Koizumi * ext/mbstring/php_unicode.c: Modified mb_convert_case() to handle cased characters properly when MB_CASE_TITLE is specified. 2002-10-23 Derick Rethans * run-tests.php: [0.05] - Disable html_errors in info sent 2002-10-23 Moriyoshi Koizumi * ext/mbstring/mbstring.c: Fixed comment position. 2002-10-23 Melvyn Sopacua * ext/xslt/tests/003.phpt ext/xslt/tests/xslt_set_error_handler.php: Make it work without .php files 2002-10-23 Moriyoshi Koizumi * main/rfc1867.c ext/mbstring/mbstring.h ext/mbstring/mbstring.c: Function renaming. * ext/mbstring/mbstring.c: Added folding markers for happier hacking 2002-10-23 Andrey Hristov * ext/standard/tests/strings/004.phpt: Test case regarding randomization of shuffle() and str_shuffle(). The code was provided by Adam Trachtenberg : adam trachtenberg com 2002-10-23 Moriyoshi Koizumi * ext/mbstring/mbstring.c: Style keisatsu * sapi/apache/mod_php4.c: Forgot this one. * ext/mbstring/mbstring.h main/main.c ext/mbstring/mbstring.c: Renaming the functions. 2002-10-23 Jan Lehnardt * Makefile.global run-tests.php: - use the cc that was detected by ./configure when determining version information in run-tests.php 2002-10-23 Moriyoshi Koizumi * main/rfc1867.c ext/mbstring/mbstring.h ext/mbstring/mbstring.c: Remaned the functions for consistency * ext/mbstring/mbstring.c: MFH 2002-10-23 Hartmut Holzgraefe * ext/yp/config.m4: don't assume yp-functions are always in libc, try also libnsl 2002-10-23 Marcus Börger * README.TESTING: update and correct * run-tests.php: remove *.php file for EXPECTF tests, too. * ext/standard/tests/strings/003.phpt: Shorten 2002-10-23 Marc Boeren * ext/dbx/dbx_oci8.c ext/dbx/howto_extend_dbx.html ext/dbx/dbx.c: Added Oracle (oci8) support * ext/dbx/tests/004.phpt ext/dbx/tests/005.phpt ext/dbx/tests/006.phpt ext/dbx/tests/007.phpt ext/dbx/tests/008.phpt ext/dbx/tests/dbx_test.p: Updated tests for Oracle (oci8) support (Mc) 2002-10-23 Sascha Schumann * sapi/apache2filter/apache_config.c: Maintain appropiate line breaks 2002-10-23 Derick Rethans * main/main.c: - Trying to clean up this mess :) * main/main.c: - No reason why implicit_flush should not be settable from a script 2002-10-23 Jan Lehnardt * run-tests.php: - be more verbose 2002-10-23 Derick Rethans * Makefile.global: - Remove this messed up thing AGAIN 2002-10-23 George Schlossnagle * sapi/apache/mod_php4.c: white space changes (s/ /\t/g) * sapi/apache/mod_php4.c: fixed directory merging 2002-10-23 Jani Taskinen * ext/fdf/config.m4: - No tabs, no echoing, no unnecessary code 2002-10-23 Yasuo Ohgaki * sapi/cli/php_cli.c: Make CLI behave like other moder scripting languages. * Makefile.global: Fixed buffring issue again. 2002-10-23 Hartmut Holzgraefe * ext/fdf/config.m4 ext/fdf/fdf.c: make it work with pre-v5 fdftk again 2002-10-23 Jani Taskinen * configure.in: Possible fix for cygwin detection. 2002-10-22 Stig Bakken * pear/PEAR/Command/Package.php: * make *_dir config parameters available for substitution in the rpm spec file template * pear/PEAR/Installer.php: * add transactions member array (for queueing file transactions) * pear/template.spec: * some minor fixes to the rpm spec file template * pear/PEAR/Config.php: * add some signature handling config options 2002-10-22 Moriyoshi Koizumi * ext/mbstring/tests/casefold.phpt: Do the same test as ext/standard/test/strings/strtoupper.phpt does * ext/standard/html.c: Improved determine_charset() to use mbstring.internal_encoding when the last param is a null string. (If the param is omitted, it takes iso-8859-1 as the default charset in favour of backwards compatibility.) 2002-10-22 Melvyn Sopacua * ext/standard/tests/strings/strtoupper.phpt: test for locale support in strtoupper 2002-10-22 Ilia Alshanetsky * ext/curl/curl.c: Fixed ZTS build. 2002-10-22 Stefan Esser * Makefile.global run-tests.php: fix make test for an external build dir setup 2002-10-22 Marcus Börger * ext/db/db.c: ups - the other way round of course * ext/db/tests/001.phpt ext/db/tests/002.phpt ext/db/tests/003.phpt ext/db/tests/004.phpt ext/db/tests/005.phpt ext/db/tests/006.phpt ext/db/tests/test.inc: Updated tests * ext/db/tests/.cvsignore: Add lock file * ext/db/db.c: Fix this extension. * ext/standard/string.c: Fix for cases when new_length is NULL 2002-10-22 Ilia Alshanetsky * ext/standard/file.c: Fixed a possible segmentation fault in file() function. 2002-10-22 Marcus Börger * tests/README: No longer needed. See README.TESTING 2002-10-22 Ilia Alshanetsky * ext/xslt/tests/009.phpt: Small corrections to the expected output. * pear/tests/pear_autoloader.phpt: One more PEAR test to be skipped. * ext/standard/tests/strings/implode.phpt: Fixed implode test * main/streams.c: When doing automatic line end detection, pick the line end that is found first. * pear/tests/pear_error.phpt pear/tests/pear_error2.phpt pear/tests/pear_error3.phpt pear/tests/pear_error4.phpt pear/tests/pear_registry.phpt pear/tests/pear_system.phpt pear/Console/tests/001-getopt.phpt pear/tests/pear1.phpt pear/tests/pear_config.phpt: Disable PEAR tests. These tests have too many dependcies such as pre-installed PEAR, needing to run as root user, most tests will fail if PEAR install directory is not inside include_path and so on. * sapi/apache2filter/apache_config.c: Fixed a bug that caused the values of options/flags set via httpd.conf/.htaccess and other apache methods to contain a \0 as part of the value. 2002-10-22 Derick Rethans * pear/pear.m4: - Add optional targets to allow the usage of Makefile.frag for shared extensions. 2002-10-22 Jon Parise * ext/skeleton/tests/001.phpt: Correct case for README.TESTING. 2002-10-22 Ilia Alshanetsky * sapi/apache2filter/apache_config.c sapi/apache2filter/php_apache.h sapi/apache2filter/sapi_apache2.c: Added support for 'engine Off' directive Added support for 'none' option for *_value options. 2002-10-22 Derick Rethans * pear/scripts/phpize.in: - Explicitly return "0" at the end of the script. For some weird reason it was returning error code 256 for me. This fixes pear install .tar.gz for me. 2002-10-22 Marcus Börger * tests/func/006.phpt: Test result depends on these ini settings * ext/skeleton/tests/001.phpt README.TESTING: Update documentation * tests/.cvsignore tests/classes/.cvsignore tests/func/.cvsignore tests/lang/.cvsignore tests/strings/.cvsignore ext/zlib/tests/.cvsignore tests/basic/.cvsignore ext/standard/tests/.cvsignore ext/sysvmsg/tests/.cvsignore ext/xml/tests/.cvsignore ext/xslt/tests/.cvsignore ext/zip/tests/.cvsignore ext/standard/tests/reg/.cvsignore ext/standard/tests/serialize/.cvsignore ext/standard/tests/strings/.cvsignore ext/standard/tests/time/.cvsignore ext/standard/tests/versioning/.cvsignore ext/standard/tests/assert/.cvsignore ext/standard/tests/file/.cvsignore ext/standard/tests/general_functions/.cvsignore ext/standard/tests/math/.cvsignore ext/skeleton/tests/.cvsignore ext/standard/tests/aggregation/.cvsignore ext/standard/tests/array/.cvsignore ext/pcntl/tests/.cvsignore ext/pgsql/tests/.cvsignore ext/pspell/tests/.cvsignore ext/session/tests/.cvsignore ext/mbstring/tests/.cvsignore ext/mcrypt/tests/.cvsignore ext/mcve/tests/.cvsignore ext/ncurses/tests/.cvsignore ext/openssl/tests/.cvsignore ext/gd/tests/.cvsignore ext/gmp/tests/.cvsignore ext/iconv/tests/.cvsignore ext/interbase/tests/.cvsignore ext/dio/tests/.cvsignore ext/domxml/tests/.cvsignore ext/exif/tests/.cvsignore ext/fribidi/tests/.cvsignore ext/db/tests/.cvsignore ext/dbx/tests/.cvsignore ext/bz2/tests/.cvsignore ext/crack/tests/.cvsignore ext/ctype/tests/.cvsignore ext/cybermut/tests/.cvsignore: Missing and updated. Now including *.php * run-tests.php: Give back the php file and leave it in case test fails. 2002-10-22 Frank M. Kromann * ext/standard/dl.c: Fixing check to enable dl() for both cgi and cgi-fcgi 2002-10-22 Jani Taskinen * NEWS: Style polizei * Makefile.global: - Revert the undiscussed change. 2002-10-22 Yasuo Ohgaki * Makefile.global: Hmm. -c options was there, but removed. It is _needed_ for php.ini users uses buffer by default. 2002-10-21 Jani Taskinen * ext/gd/config.m4: Nuke tabs. * ext/standard/config.m4: Removed tabs and combined those multiple AC_CHECK_FUNCS calls to one. 2002-10-21 Ilia Alshanetsky * ext/standard/link.c: Fixed symlink/link functions on ZTS builds. Made URL detection in symlink code use php_stream_locate_url_wrapper(). 2002-10-21 Jani Taskinen * ext/fdf/config.m4: Cleanup. (no tabs here!) 2002-10-21 Wez Furlong * ext/standard/file.c main/php_streams.h main/streams.c: Refine stream_select() to work with streams that have data in their read buffers. When selecting for read, the streams are examined; if any of them have pending read data, no actual select(2) call is performed; instead the streams with buffered data are returned; just like a regular select call. Prevent erroneous warning in stream_select when obtaining the fd. 2002-10-21 Sterling Hughes * ext/curl/curl.c: no need to double fetch 2002-10-21 Hartmut Holzgraefe * sapi/apache/mod_php4.c: this will be handled elsewhere * ext/fdf/config.m4 ext/fdf/fdf.c ext/fdf/php_fdf.h: reworked some existing stuff added some functions suporting stuff that have been added since fdftk 2.0 emulating read from/save to strings by transparently using temp. files (activeX version of fdftk has this, but not plain C version :( ) * ext/standard/basic_functions.c: fixed build for getopt_long-less platforms, removed left-over todo comments 2002-10-21 Jani Taskinen * ext/gd/config.m4: Changed --with-gd to behave same way as --with-mysql does. 2002-10-21 Moriyoshi Koizumi * ext/mbstring/tests/mb_detect_encoding.phpt ext/mbstring/tests/mb_detect_order.phpt ext/mbstring/tests/mb_ereg.phpt ext/mbstring/tests/mb_ereg_replace.phpt ext/mbstring/tests/mb_ereg_search_xxx.phpt ext/mbstring/tests/mb_http_input.phpt ext/mbstring/tests/mb_http_output.phpt ext/mbstring/tests/mb_internal_encoding.phpt ext/mbstring/tests/mb_output_handler_euc_jp.phpt ext/mbstring/tests/mb_preferred_mime_name.phpt ext/mbstring/tests/mb_regex_set_options.phpt ext/mbstring/tests/mb_split.phpt ext/mbstring/tests/mb_strcut.phpt ext/mbstring/tests/mb_strimwidth.phpt ext/mbstring/tests/mb_strlen.phpt ext/mbstring/tests/mb_strpos.phpt ext/mbstring/tests/mb_strwidth.phpt ext/mbstring/tests/mb_substitute_character.phpt ext/mbstring/tests/mb_substr.phpt ext/mbstring/tests/php_gr_jp_10830.phpt ext/mbstring/tests/simpletest.phpt ext/mbstring/tests/001.phpt ext/mbstring/tests/002.inc ext/mbstring/tests/002.phpt ext/mbstring/tests/003.inc ext/mbstring/tests/003.phpt ext/mbstring/tests/004.inc ext/mbstring/tests/004.phpt ext/mbstring/tests/005.inc ext/mbstring/tests/005.phpt ext/mbstring/tests/006.inc ext/mbstring/tests/006.phpt ext/mbstring/tests/007.inc ext/mbstring/tests/007.phpt ext/mbstring/tests/008.inc ext/mbstring/tests/008.phpt ext/mbstring/tests/009.inc ext/mbstring/tests/009.phpt ext/mbstring/tests/010.inc ext/mbstring/tests/010.phpt ext/mbstring/tests/011.inc ext/mbstring/tests/011.phpt ext/mbstring/tests/012.inc ext/mbstring/tests/012.phpt ext/mbstring/tests/013.inc ext/mbstring/tests/013.phpt ext/mbstring/tests/014.inc ext/mbstring/tests/014.phpt ext/mbstring/tests/015.inc ext/mbstring/tests/015.phpt ext/mbstring/tests/016.inc ext/mbstring/tests/016.phpt ext/mbstring/tests/017.inc ext/mbstring/tests/017.phpt ext/mbstring/tests/018.inc ext/mbstring/tests/018.phpt ext/mbstring/tests/019.inc ext/mbstring/tests/019.phpt ext/mbstring/tests/020.phpt ext/mbstring/tests/021.inc ext/mbstring/tests/021.phpt ext/mbstring/tests/022.inc ext/mbstring/tests/022.phpt ext/mbstring/tests/023.inc ext/mbstring/tests/023.phpt ext/mbstring/tests/024.inc ext/mbstring/tests/024.phpt ext/mbstring/tests/025.inc ext/mbstring/tests/025.phpt ext/mbstring/tests/026.inc ext/mbstring/tests/026.phpt ext/mbstring/tests/027.inc ext/mbstring/tests/027.phpt ext/mbstring/tests/casefold.phpt ext/mbstring/tests/htmlent.phpt ext/mbstring/tests/mb_convert_encoding.phpt ext/mbstring/tests/mb_convert_variables.phpt: Renamed the test cases. 2002-10-21 Hartmut Holzgraefe * main/SAPI.c: removed left-over unused variable 2002-10-21 Jon Parise * ext/standard/basic_functions.c: Convert C++ style comments to C style comments. 2002-10-21 Hartmut Holzgraefe * ext/standard/php_fopen_wrapper.c: killed some warnings identified by sebastian * main/SAPI.c: removed bogus paranoid header checking * ext/standard/php_fopen_wrapper.c main/SAPI.c main/main.c main/php_content_types.c main/php_globals.h: some changes to how request input data (Content-Lenght >0) is handled - webdav-specific stuff removed (should be handled using httpd.conf LIMIT or equivalents) - always_populate_raw_post_data now working on any method, not just POST (and webdav methods with allow_webdav_methods), when Content-Length is greater zero - raw input data is also available using php://input stream, this way one doesn't have to care about memory_limit - input data is now always consumed (although maybe ignored, this fixes we had withproblems with keep-alive connections * ext/standard/basic_functions.c ext/standard/config.m4: getopt() now supports long options on platforms that have getopt_long() getopt() now working independant of register_argc_argv settings * build/build.mk: workaround for the "autoconf-cache-bug" workaround -> don't remove config.nice 2002-10-21 Andrei Zmievski * NEWS: Tweak. 2002-10-21 Hartmut Holzgraefe * ext/ncurses/php_ncurses.h: ZTS build fix 2002-10-21 Ilia Alshanetsky * main/php_globals.h php.ini-dist php.ini-recommended main/main.c: Fixed bug #16880. Added an ini option max_input_time that allows the user to specify how much time a script may spend parsing input data (POST, GET, etc..). 2002-10-21 Hartmut Holzgraefe * pear/scripts/phpize.in: fix for #19712 & #19715 -> whitepsace in extension dir name 2002-10-21 Thies C. Arntzen * ext/oci8/oci8.c: 2002-10-21 Moriyoshi Koizumi * ext/mbstring/mbstring.c: More style fixes... * ext/iconv/tests/001.phpt ext/iconv/tests/bug16069.phpt ext/iconv/tests/translit-failure.phpt ext/iconv/tests/translit-utf8.phpt: Let them say why they are skipped * run-tests.php: Fixed typo. * run-tests.php: \s cannot be used with ereg() 2002-10-21 Sander Roobol * run-tests.php: The results of each test should go on a single line 2002-10-21 Derick Rethans * run-tests.php: - Stijl polizei 2002-10-21 Melvyn Sopacua * ext/xml/tests/007.phpt: Skip this when strtoupper doesn't behave as expected, because casefolding depends on this. * run-tests.php: Adds a 'reason' for skipping a test. 2002-10-21 Jani Taskinen * acinclude.m4: remove the remains of that comment. * acinclude.m4 configure.in sapi/cgi/config.m4 sapi/cgi/config9.m4: - Moved CGI specific lines from configure.in to sapi/cgi/config9.m4 which is 'executed' last of the SAPI config.m4's. - Added --disable-cgi option. (was possible only with above change) - Made the sed check to not test for the possibly working sed on Solaris since that would make the test quite useless. (compile would still fail) * scripts/config-stubs: - Add one 'level' more (0 first, 9 last) * ext/pdf/config.m4 ext/gd/config.m4 ext/mysql/config.m4 ext/domxml/config.m4: - Prevent resetting the PHP_*_DIR variables if already set. 2002-10-21 Moriyoshi Koizumi * ext/mbstring/mbstring.c: style keisatsu :) * ext/mbstring/tests/027.inc ext/mbstring/tests/027.phpt: Added a new test case to confirm the inconsistent regex behaviour reported on php-users@php.gr.jp (10830) * ext/mbstring/mbstring.c: Changed the dafault option for consistency * ext/mbstring/mbstring.c ext/mbstring/mbstring.h ext/mbstring/tests/026.inc ext/mbstring/tests/026.phpt: Added mb_strtolower() and mb_strtoupper() * main/streams.c: MFH 2002-10-21 Jani Taskinen * ext/odbc/config.m4: Align with other configure --help texts * ext/standard/tests/file/001.phpt: There is no point doing this test. Some systems think root can always execute so this is always true. 2002-10-20 Sean Bright * README.SELF-CONTAINED-EXTENSIONS: Fix some verbage. 2002-10-20 Jani Taskinen * NEWS: Try keep those most important entries as first.. 2002-10-20 Moriyoshi Koizumi * main/memory_streams.c: style fix 2002-10-20 Ilia Alshanetsky * main/streams.c: Fixed incorrect handling of files starting with a . 2002-10-20 Moriyoshi Koizumi * ext/mbstring/php_mbregex.c: Changed mb_regex_set_options() more informative 2002-10-20 Wez Furlong * configure.in: Add the actual ftok check for Derick :-) 2002-10-20 Derick Rethans * ext/standard/basic_functions.c ext/standard/ftok.c ext/standard/php_ftok.h: - Only include ftok() if it is available * ext/standard/ftok.c ext/standard/php_ftok.h ext/standard/basic_functions.c: - Remove #ifdefs around ftok function so that it is also available when none of the IPC extensions are enabled. 2002-10-20 Moriyoshi Koizumi * ext/mbstring/mbstring.c: ZTS fixes 2002-10-20 Masaki Fujimoto * main/main.c ext/mbstring/mbfilter.c ext/mbstring/mbstring.c ext/mbstring/mbstring.h: fixed highlight related bugs (in case shift_jis input/output filters are enabled) 2002-10-20 Maxim Maletsky * ext/oci8/oci8.c: fixed proto: OCIExecute() returns boolean, not integer 2002-10-19 Derick Rethans * ext/standard/tests/strings/implode.phpt: - Hopefully fix test file problems 2002-10-19 Ilia Alshanetsky * ext/dio/dio.c: Silence compile warning. * main/network.c: Silence compile warning, when compiling --with-openssl. * main/network.c: Fixed a typo. 2002-10-19 Maxim Maletsky * ext/oci8/oci8.c: a silly comment typo * ext/oci8/oci8.c: - fixed proto for OciBindByName to represent the forth parameter optional 2002-10-19 Jani Taskinen * ext/gd/config.m4: --with-zlib-dir has to be defined here to enable phpize build 2002-10-19 Wez Furlong * ext/standard/file.c main/php_streams.h main/streams.c: made fgets() binary safe. php_stream_gets is now a macro which calls php_stream_get_line. The latter has an option argument to return the number of bytes in the line. Functions like fgetcsv(), fgetss() can be made binary safe by calling php_stream_get_line directly. 2002-10-19 Derick Rethans * ext/pgsql/pgsql.c: - Style polizei =) 2002-10-19 Wez Furlong * main/streams.c: Probable fix for #19944 2002-10-19 Marcus Börger * ext/exif/exif.c ext/exif/tests/005.phpt ext/exif/tests/test5.jpg: MFH: Allow ifd start at offset other than 00000008h and provide testcase. * ext/exif/exif.c ext/exif/tests/005.phpt ext/exif/tests/test5.jpg: Allow ifd start at offset other than 00000007h and provide testcase. 2002-10-19 Yasuo Ohgaki * ext/pgsql/pgsql.c: Revert invalid patch. It seems the real problem is in php error function(s). It exits with return code -1 when php_error_docref() is called. There is custom error handler and without custom error handler, it is working. * ext/pgsql/pgsql.c: Skip field when there is obvious error. Fixed freeing of wrong zval. * ext/pgsql/pgsql.c: Fixed typo. 2002-10-18 Ilia Alshanetsky * ext/standard/url.c: Added handling for file:/ schema, which does not contain a host. 2002-10-18 Jani Taskinen * ext/standard/dns.c: ws fixes 2002-10-18 Ilia Alshanetsky * ext/standard/file.c main/php_streams.h main/streams.c: Fixed bug #19971 (optimized the file() function). The file() function is now also binary safe. 2002-10-18 Derick Rethans * run-tests.php: - Added %x for HEX chars - Added %d as alias for %i (too much C here :) - Added beginning and end markers to regexp 2002-10-18 Wez Furlong * main/network.c: Revert my last bogus commit. Change the comparison to something that is less likely to inspire me to make the same mistake again... * ext/standard/file.c: Improve file(). Patch by Tal Peer 2002-10-18 Andrei Zmievski * apidoc-zend.txt: This is deprecated too. * apidoc.txt: Remove deprecated apidoc.txt. * ext/standard/string.c: - Fixed an infinite loop in setlocale() when only invalid locale names were passed in the array. (patch by Pal Loberg, pallo@initio.no). 2002-10-18 Wez Furlong * main/network.c main/streams.c: Improve EOF detection. Fixes #19970. 2002-10-18 Tal Peer * ext/fribidi/fribidi.c ext/fribidi/tests/002.phpt: Changed fribidi_get_charsets() return value to also include the constant itself (as the key). 2002-10-18 Harald Radi * NEWS: make jani happy 2002-10-18 Jani Taskinen * NEWS: achtung: keep the style consistent! :) 2002-10-18 Yasuo Ohgaki * ext/pgsql/tests/17result.phpt ext/pgsql/tests/18pg_escape_bytea.phpt ext/pgsql/tests/19pg_ping.phpt ext/pgsql/tests/20pg_get_pid.phpt ext/pgsql/tests/21pg_get_notify.phpt ext/pgsql/tests/README ext/pgsql/tests/createdb.inc ext/pgsql/tests/large_object.inc ext/pgsql/tests/pg_escape_bytea.inc ext/pgsql/tests/pg_get_notify.inc ext/pgsql/tests/pg_get_pid.inc ext/pgsql/tests/pg_ping.inc ext/pgsql/tests/result.inc: Added tests for new functions 2002-10-18 Markus Fischer * NEWS: - word_count() -> str_word_count() 2002-10-17 Yasuo Ohgaki * NEWS: Added pg_get_pid() that get backend process PID. Does anyone prefer pg_get_backend_pid() or else? * ext/pgsql/README ext/pgsql/pgsql.c ext/pgsql/php_pgsql.h: Added pg_get_pid() 2002-10-17 Ilia Alshanetsky * ext/standard/php_string.h ext/standard/string.c ext/standard/basic_functions.c: Renamed word_count to str_word_count to comply with naming conventions. Thanks Andi, for catching this oversight. 2002-10-17 Tal Peer * ext/fribidi/fribidi.c: Improved fribidi_charset_info() slightly * ext/fribidi/php_fribidi.h ext/fribidi/fribidi.c: New functions: fribidi_get_charsets() fribidi_charset_info() 2002-10-17 Harald Radi * ext/com/COM.c: fixes bugs #19156 and #19544 (memleak) 2002-10-17 Derick Rethans * run-tests.php: - Removing debugging info 2002-10-17 Ilia Alshanetsky * ext/standard/url.c: Added support for file:/. Thanks to Thies for noticing the problem. 2002-10-17 Sascha Schumann * ext/ircg/ircg.c: A child process should not have access to IRCG's file descriptors. 2002-10-17 Yasuo Ohgaki * php.ini-recommended php.ini-dist: Add note for short_open_tag 2002-10-17 Thies C. Arntzen * ext/oci8/oci8.c: - Added Oracle TIMESTAMP type to oci8 extension. (thies) 2002-10-17 Yasuo Ohgaki * NEWS: Added pg_get_notify() for better performace for applications cache query results. Removed unneeded entry. * ext/pgsql/pgsql.c ext/pgsql/php_pgsql.h: Added async message function - pg_get_notify() * ext/mysql/php_mysql.c: Remove mysql_result_seek() alias. 2002-10-17 Jani Taskinen * ext/snmp/config.m4 ext/snmp/snmp.c: Fix this for Wez and his antique ucd-snmp * NEWS: Snow..yuck.. * ext/zip/config.m4: Fix the phpize build * pear/pear.m4: Fix some phpize problems. * ext/zip/zip.c: Part 1 of fixing the shared build * ext/pdf/config.m4: --with-zlib-dir was missing. Needed for phpize builds 2002-10-17 Ilia Alshanetsky * ext/standard/basic_functions.c ext/standard/php_string.h ext/standard/string.c: Added word_count() function that allows counting of words inside a string. The function also allows the user to retrieve all the words from a string. 2002-10-17 Jani Taskinen * ext/snmp/snmp.c: ws fixes 2002-10-16 Harald Radi * ext/com/VARIANT.c ext/com/conversion.c ext/com/conversion.h: changed the VARIANT class to be able to create arrays of all types and not only VT_VARIANT 2002-10-16 Rasmus Lerdorf * ext/gd/libgd/gd_topal.c: Fix for bug #19941 2002-10-16 Ilia Alshanetsky * sapi/apache2filter/sapi_apache2.c: Fixed a bug with .phps handler. * main/main.c: Fixed bug #19921. (memory leak introduced by me in rev 1.492) 2002-10-16 Jani Taskinen * acinclude.m4: - Fix typo.. 2002-10-16 Sebastian Bergmann * main/config.w32.h.in: Revert. Again. 2002-10-16 Rui Hirokawa * ext/mbstring/mbstring.c: modified zend_bool handling code. * ext/mbstring/mbstring.h: *** empty log message *** * ext/mbstring/mbstring.c: fixed a problem when mbstring.encoding_translation is defined per directory basis. 2002-10-16 Edin Kadribasic * NEWS: Newly available extensions on windows. 2002-10-16 Sebastian Bergmann * main/config.w32.h.in: Patch by Urs Gehrig . 2002-10-16 Jani Taskinen * ext/snmp/snmp.c: - Fixed memleak when connection fails. - Fixed snmpget() to work with net-snmp - Fixed the error messages to use the new style. * ext/snmp/snmp.c: Some more compatibility fixes for net-snmp vs ucd-snmp * ext/snmp/snmp.c: - Fix the last commit..(thanks to Harrie Hazewinkel ) 2002-10-16 Edin Kadribasic * ext/fribidi/fribidi.dsp: Added win32 project file. 2002-10-15 Yasuo Ohgaki * main/output.c: Sync with head 2002-10-15 Jani Taskinen * acinclude.m4: - Added PHP_PROG_SED which checks whether the sed in system works with very long strings. 2002-10-15 Markus Fischer * win32/php4dllts.dsp: - Define LINK_SIZE=2 needed for newly updated pcrelib; fixes Win32 build. 2002-10-15 Ilia Alshanetsky * run-tests.php: Fixed a bug in the calculation of the POST request length. 2002-10-15 Wez Furlong * ext/standard/file.c main/streams.c: Nope, that last one wasn't a leak in main/streams.c, it was file_get_contents misinterpreting the result... 2002-10-15 Sterling Hughes * ext/xslt/php_sablot.h ext/xslt/sablot.c: Fix a problem relating to these structure symbols being redefined on LFS systems. Fix by Sascha Schumann 2002-10-15 Wez Furlong * main/streams.c: Fix mem leak for zero-byte files. * main/streams.c: Some buffer paranoia. Also, make feof() detection safer (ala recent changes to zlib extension). * ext/zlib/zlib_fopen_wrapper.c: Fix for 19906. gzeof has different semantics from feof, in that gzeof will return true if the read position is at EOF, even if the most recent read was 100% successful. feof will return true only (usually) if the most recent fread failed. 2002-10-15 Sterling Hughes * ext/standard/math.c: hopefully silence compile warnings on Solaris related to HUGEVAL being undefined.. HUGEVAL is defined (well the manual would indicate so) in stdlib.h, not math.h. Bug #: 19807 2002-10-15 Andrei Zmievski * ext/pcre/pcrelib/testdata/testinput1 ext/pcre/pcrelib/testdata/testinput2 ext/pcre/pcrelib/testdata/testinput3 ext/pcre/pcrelib/testdata/testinput4 ext/pcre/pcrelib/testdata/testinput5 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/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/doc/pcregrep.txt ext/pcre/pcrelib/doc/pcretest.1 ext/pcre/pcrelib/doc/pcretest.html ext/pcre/pcrelib/doc/pcretest.txt ext/pcre/pcrelib/doc/perltest.txt ext/pcre/pcrelib/ChangeLog ext/pcre/pcrelib/NON-UNIX-USE ext/pcre/pcrelib/README ext/pcre/pcrelib/RunTest ext/pcre/pcrelib/internal.h ext/pcre/pcrelib/maketables.c ext/pcre/pcrelib/pcre-config.in ext/pcre/pcrelib/pcre.c ext/pcre/pcrelib/pcre.def ext/pcre/pcrelib/pcre.h ext/pcre/pcrelib/pcregrep.c ext/pcre/pcrelib/pcreposix.c ext/pcre/pcrelib/pcretest.c ext/pcre/pcrelib/perltest ext/pcre/pcrelib/perltest8 ext/pcre/pcrelib/study.c ext/pcre/config.m4: Upgrade to version 3.92. 2002-10-15 Ilia Alshanetsky * ext/exif/tests/002.phpt: Fixed the output_handler ini setting. Code cleanup. * NEWS: Bug fixing news. * ext/standard/tests/general_functions/001.phpt: Added tests for %e & %E * ext/standard/formatted_print.c: Fixed bug #4232. (Added support for %e and %E to printf/sprintf) 2002-10-15 Sascha Schumann * ext/ircg/README.txt: update 2002-10-15 Derick Rethans * ext/exif/tests/002.phpt: - Staying consistent with other tests 2002-10-15 Wez Furlong * ext/zlib/zlib_fopen_wrapper.c: Don't use streams-level buffer on zlib streams. 2002-10-15 Ilia Alshanetsky * main/user_streams.c: Fixed possible memory leaks. 2002-10-15 Wez Furlong * main/user_streams.c: Fix leak, and avoid initialization problems where retval is re-used within a function. 2002-10-15 Jani Taskinen * NEWS: Try keep those moved/removed exts entry at top. 2002-10-15 Ilia Alshanetsky * NEWS: Bug fixing news entries. 2002-10-15 Jani Taskinen * ext/snmp/config.m4 ext/snmp/snmp.c: Make this thing to compile with net-snmp-5.0.x 2002-10-15 Marcus Börger * ext/exif/tests/002.phpt: remove ob_end_clean() and instead use ini section 2002-10-14 Jani Taskinen * ext/iconv/tests/translit-failure.phpt: This test should not print out the error (which is correct). 2002-10-14 Edin Kadribasic * sapi/embed/config.m4: Respect INSTALL_ROOT var. Thanks to Jani for catching this one. 2002-10-14 Tal Peer * pear/PEAR/Installer.php: * Fixed a nasty bug preventing installation of pecl exts. 2002-10-14 Ilia Alshanetsky * ext/standard/browscap.c: Fixed bug #19649. * ext/standard/tests/general_functions/001.phpt: Added float printing tests. 2002-10-14 Sebastian Bergmann * main/php_network.h: Revert to 1.34. 2002-10-14 Ilia Alshanetsky * ext/standard/formatted_print.c: Fixed a bug (introduced in previous patch) that caused non-double values to be converted to 0 by printf/sprint functions when %f format is specified. 2002-10-14 Zeev Suraski * NEWS win32/registry.c: Change the 'security level' of registry entries to PHP_INI_SYSTEM. They're in the system hive in the registry, so only people with administrative priveleges can add stuff in there. 2002-10-14 Derick Rethans * sapi/cli/php_cli.c: - Revert, got tricked by a stale object file 2002-10-14 Yasuo Ohgaki * run-tests.php: Fixed warnings 2002-10-14 Edin Kadribasic * sapi/embed/config.m4: Install lib into $(prefix)/lib. Make $(prefix)/lib before trying to copy the lib into it. 2002-10-14 Derick Rethans * run-tests.php: - Added the TEST_PHP_USER environment variable with which you can specify additional directories with tests to run. This is ideal for having your own test suite on your system. You can specify more directories by seperating them with a ",", for example: TEST_PHP_USER=/dat/dev/xdebug/tests,/dat/dev/srm/tests make test * sapi/cli/php_cli.c: - Fix CLI 2002-10-14 Sebastian Bergmann * main/php_network.h: Whitespace fixes. * main/php_network.h: Fix Win32 build. 2002-10-14 Wez Furlong * main/streams.c: *cough* Fix inverted logic for the assert. 2002-10-14 Jani Taskinen * ext/snmp/snmp.c: This is not zval.. 2002-10-14 Wez Furlong * ext/standard/file.c main/streams.c: - fgets($fp) (with no length parameter) now uses a buffer as long as the the next line available from the $fp. Previously, there was a 1KB limit. * ext/standard/tests/file/userstreams.phpt: Add a sanity check and more verbose output in the case of an error. * main/network.c: Implement better SSL error handling. * main/user_streams.c: Fix stream_eof result interpretation (and thus the user-streams test). 2002-10-13 Wez Furlong * main/streams.c: Remove some old code. * main/network.c main/php_network.h: A much better probable fix for #16114. * main/network.c: Probable fix for #16114 * main/streams.c: Fix a nasty nasty bug: When not enough data to satisfy a read was found in the buffer, fgets modifies the buf pointer to point to the position to store the next chunk. It then returned the modified buf pointer, instead of a pointer to the start of the buffer. Also added some infrastructure for making fgets grow the buffer on-demand to the correct line-size. Since streams uses reasonable chunk sizes, the performance of the realloc's should be pretty good; in the best case, the line is already found completely in the buffer, so the returned buffer will be allocated to precisely the correct size. In the worst case, where the buffer only contains part of the line, we get a realloc per buffer fill. The reallocs are either the size of the remainder of the line, or the chunk_size (if the buffer sill does not contain a complete line). Each realloc adds an extra byte for a NUL terminator. I think this will perform quite well using the default chunk size of 8K. * main/php_network.h ext/standard/fsock.c main/network.c: (php_socket_errno) win32 errno compatible macro. (php_socket_strerror) win32 compatible strerror replacement. Add an E_NOTICE when a socket write fails. 2002-10-13 Derick Rethans * ext/standard/dl.c: - Fixed bug #19885, dl() no longer gives a fatal error when a module could not be loaded. (Derick) 2002-10-13 Sascha Schumann * sapi/thttpd/thttpd_patch: Redo the patch on Linux, the cygwin diff seems to be a bit broken. * sapi/thttpd/thttpd_patch: PHP + thttpd (+IRCG) build using CYGWIN now * sapi/thttpd/config.m4: Remove set .x * sapi/thttpd/config.m4: Use if block rather than an or expression 2002-10-13 Derick Rethans * ext/session/tests/004.phpt ext/session/tests/005.phpt ext/session/tests/014.phpt ext/session/tests/015.phpt ext/session/tests/018.phpt ext/session/tests/020.phpt ext/session/tests/021.phpt: - Hardcode dependent ini setting 2002-10-13 Martin Jansen * pear/pear.m4: * Add missing PHP_SUBST(awk). 2002-10-13 Yasuo Ohgaki * ext/pgsql/pgsql.c: Fixed proto. Clean up. * ext/pgsql/pgsql.c: Need to init connstring when there are 2 args. 2002-10-13 Shane Caraveo * sapi/cgi/CREDITS sapi/cgi/README.FastCGI sapi/cgi/cgi_main.c: make fastcgi usage threadsafe, ready for future multithreaded fastcgi implementation get rid of environment overwriting but hooking into php's environment function set $_ENV correctly for mod_fastcgi add -b to specify binding for fastcgi new readme file with information for running under apache2.0 and iis 2002-10-13 Yasuo Ohgaki * ext/pgsql/pgsql.c ext/pgsql/php_pgsql.h: Introduce connect_type option to pg_connect(). pg_connect(conn_str, conn_type) is allowed. 2002-10-13 Shane Caraveo * main/php_variables.c main/php_variables.h: make php_import_environment_variables overwritable so fastcgi can correctly set $_ENV. * sapi/cgi/libfcgi/os_unix.c: fixes for unix, untested remove exit calls fix a couple function definitions 2002-10-13 Jani Taskinen * ext/db/tests/.cvsignore: ignore test.dbm * ext/standard/tests/file/.cvsignore: These should be ignored. 2002-10-13 Shane Caraveo * sapi/cgi/libfcgi/os_win32.c: fix shutdown issues * sapi/cgi/libfcgi/os_win32.c: fix invalid handle issue that shutdown php fastcgi prematurly fix checking os name for impersonation 2002-10-13 Yasuo Ohgaki * ext/pgsql/php_pgsql.h ext/pgsql/pgsql.c: Enable pg_escape_bytea(). 2002-10-13 Ilia Alshanetsky * ext/ftp/ftp.c: Fixed ZTS build Fixed 2 ZTS related warnings 2002-10-13 Wez Furlong * ext/standard/http_fopen_wrapper.c: Make PHP follow 301 correctly. 2002-10-12 Jani Taskinen * NEWS: Add note about fhttpd removal. * sapi/cgi/config.m4: - Removed sapi/fhttpd (this webserver is dead) 2002-10-12 Pierre-Alain Joye * pear/ITX.xml: No more needed here 2002-10-12 Derick Rethans * run-tests.php: - woohooo! Automatic build test submits! 2002-10-12 Stig Bakken * pear/tests/pear_config.phpt: * update test 2002-10-12 James Cox * NEWS: mention vpopmail. 2002-10-12 Derick Rethans * ext/session/tests/015.phpt: - Hardcode setting which affects the test * ext/standard/tests/file/003.inc ext/standard/tests/file/003.phpt: - Make the test do what it says 2002-10-12 Sander Roobol * ext/domxml/php_domxml.c: Typo 2002-10-12 Ilia Alshanetsky * ext/standard/url.c: Fixed a bug introduced by previous patch. 2002-10-12 Pierre-Alain Joye * pear/tests/pear_system.phpt: Add test for single directory creation this test actually fails 2002-10-12 Jani Taskinen * NEWS: added cybercash to the killed exts list.. 2002-10-12 Stig Bakken * pear/package-PEAR.xml: * 1.0b1 is today * pear/PEAR/Command/Package.php pear/package-PEAR.xml pear/template.spec: * added "pear makerpm" command for wrapping PEAR packages in RPMs * pear/System.php pear/tests/pear_system.phpt: * rename System::type to System::which * pear/PEAR/Command/Common.php: * CLI layout adjustment 2002-10-12 Stefan Esser * ext/standard/url.c: I already said that this construct was wrong... most probably fixes bug #19876 2002-10-12 Ilia Alshanetsky * ext/standard/info.c: Fixed memory leaks. 2002-10-12 Jani Taskinen * sapi/pi3web/config.m4: Use AC_ARG_WITH instead of PHP_ARG_WITH. 2002-10-12 Wez Furlong * main/streams.c: paranoia 2002-10-12 Jani Taskinen * sapi/embed/config.m4: Fix typo 2002-10-12 Wez Furlong * main/streams.c: Write in blocks of the current chunk_size for a stream. Should resolve problems with network writes. 2002-10-12 Jani Taskinen * sapi/cgi/config.m4: ws fix 2002-10-12 Edin Kadribasic * sapi/embed/.cvsignore sapi/embed/CREDITS: Added .cvsignore and CREDITS. 2002-10-12 Stig Bakken * pear/pear.m4: * look for awk, fix for #19819 2002-10-12 Rui Hirokawa * ext/mbstring/mbstring.c: changed INI restriction to enable per-directory settings. 2002-10-12 Jani Taskinen * sapi/embed/config.m4: Add the proper install lines. * ext/fribidi/config.m4: Made the fribidi-config search a bit better. * NEWS: Add the removed extensions. 2002-10-12 Edin Kadribasic * pear/Makefile.frag: Install sapi/embed header file as well. 2002-10-12 Jani Taskinen * sapi/embed/config.m4: Default to shared. 2002-10-12 Stig Bakken * pear/PEAR/Installer.php: * verify md5 checksums during install * pear/PEAR/Common.php: * include platform file attribute! * pear/package-PEAR.xml: * package updates 2002-10-11 Jani Taskinen * sapi/embed/config.m4: - Removed the unnecessary extra configure option --enable-shared-embed - Changed --enable-embed to accept parameters shared/static and default to static build. 2002-10-11 Tal Peer * ext/fribidi/tests/001.phpt: Use var_dump instaed of plain echo 2002-10-11 Moriyoshi Koizumi * ext/iconv/tests/translit-failure.phpt ext/iconv/tests/translit-utf8.phpt: Improved the test cases so that they will be skipped rather than failed, if libiconv is not used. 2002-10-11 Markus Fischer * ext/standard/tests/strings/explode.phpt: - Document were the first test came from. 2002-10-11 Moriyoshi Koizumi * ext/iconv/config.m4 ext/iconv/iconv.c: *** empty log message *** * ext/iconv/iconv.c: Fixed possible compile-time failure 2002-10-11 Jani Taskinen * ext/gd/tests/bug19266.phpt ext/gd/tests/bug19366.phpt: Renamed and fixed constant * ext/iconv/config.m4: ws fix 2002-10-11 Ilia Alshanetsky * ext/standard/tests/strings/explode.phpt: Added test for explode() function. * ext/standard/php_string.h: Fixed bug #19865 2002-10-11 Christian Stocker * ext/domxml/tests/001.phpt: text and comment nodes do not have children... test was wrong, implementation is right :) * ext/domxml/php_domxml.c: node->attributes returns null, if there are no attributes. 2002-10-11 Derick Rethans * ext/standard/tests/array/var_export.phpt ext/standard/var.c: - Fix problem with var_export when objects with numeric indexes were exported. We now skip those, as there is no way to export valid code for it. 2002-10-11 Jani Taskinen * ext/iconv/tests/translit-failure.phpt: fix typo. 2002-10-11 Derick Rethans * ext/gd/gd.c: - Change constant name 2002-10-11 Sander Roobol * ext/standard/string.c: Fixed problems with the new nl2br() and beautified the code a little. Closes #19858. 2002-10-11 Derick Rethans * ext/standard/tests/strings/nl2br.phpt: - Add case for bug 19858 * ext/gd/tests/bug19266.phpt: - Skip if an external lib gd is used (which always has this crash-bug) * ext/gd/gd.c: - Add indetified for bundled GD 2002-10-11 Edin Kadribasic * main/config.w32.h.in: Revert Stig's patch. Windows build should work again. 2002-10-11 Derick Rethans * ext/iconv/iconv.c: - Style polizei :) 2002-10-11 Moriyoshi Koizumi * ext/iconv/iconv.c: Reformatted. * ext/iconv/config.m4 ext/iconv/iconv.c: Added ICONV_IMPL and ICONV_VERSION constants. * ext/iconv/tests/translit-failure.phpt: Added set_time_limit(); We should stop it in some time. See the comment in the script for detail. 2002-10-11 Sebastian Bergmann * ext/standard/formatted_print.c: Fix ZTS build. 2002-10-11 Ilia Alshanetsky * ext/standard/string.c: Switched from localeconv to localeconv_r, which is apparently thread-safe. 2002-10-10 Jani Taskinen * NEWS: SP 2002-10-10 Stig Bakken * pear/PEAR/Installer.php: * the actual implementation of the installroot option 2002-10-10 Melvyn Sopacua * tests/lang/034.phpt: Sorry, shouldn't use undo on packetloss connections 2002-10-10 Sterling Hughes * ext/standard/array.c: revert patch 2002-10-10 Sebastian Bergmann * main/config.w32.h.in: Break it again (after 4.3.0-pre1 :-) 2002-10-10 Andrei Zmievski * main/php_version.h configure.in: Back to 4.3.0-dev. 2002-10-10 Melvyn Sopacua * ext/iconv/tests/translit-failure.phpt: Another small test for iconv transliteration, from GNU libiconv testkit 2002-10-10 Derick Rethans * makedist: - Argh... test before commit 2002-10-10 Andrey Hristov * ext/standard/string.c: ws fixes 2002-10-10 Ilia Alshanetsky * NEWS: Bug fix news. 2002-10-10 Derick Rethans * makedist: - Fix typo * makedist: - Update makedist script 2002-10-10 Andrei Zmievski * tests/lang/034.phpt: Fix the test after Ilia's patch. 2002-10-10 Sebastian Bergmann * main/config.w32.h.in: Revert to revision 1.13 for 4.3.0-pre1. 2002-10-10 Andrei Zmievski * configure.in main/php_version.h: Update to 4.3.0-pre1. 2002-10-10 Moriyoshi Koizumi * ext/mbstring/tests/025.inc: Fixed the encoding * ext/mbstring/tests/022.inc ext/mbstring/tests/023.inc ext/mbstring/tests/024.inc ext/mbstring/tests/025.inc ext/mbstring/tests/025.phpt ext/mbstring/tests/021.inc: Updated the test cases so that they use mb_regex_set_options. Added a test for mb_regex_set_options. 2002-10-10 Jon Parise * CODING_STANDARDS: Adding a new item (number 11) that explains why it's important to use emalloc() and friends in place of the standard C library functions. 2002-10-10 Moriyoshi Koizumi * ext/mbstring/php_mbregex.c: Fixed mb_regex_set_options() * ext/mbstring/config.m4: --disable-mbregex had no effect 2002-10-10 Melvyn Sopacua * ext/iconv/tests/translit-utf8.phpt: It used to be 003 * tests/lang/034.phpt: Fix platform dependencies, setlocale output, bug #19836 Testing numerics, so set numeric. If the platform doesn't support this category, passing this test is more likely to be coincedence than expected behavior. 2002-10-10 Ilia Alshanetsky * ext/standard/formatted_print.c ext/standard/string.c: This patch fixes handling of floats on locales where decimal point is not a '.'. Problem is best demonstrated by bug #17079. 2002-10-10 Melvyn Sopacua * run-tests.php: When you say string, match at least one char in EXPECTF section Plus a little protection against globbing like ext/foo/tests/* or worse. * ext/ctype/tests/002.phpt: Fix platform dependencies, setlocale output, bug #19836 2002-10-10 Ilia Alshanetsky * ext/pfpro/pfpro.c: Fixed a few more memory leaks. 2002-10-10 Yasuo Ohgaki * NEWS: Fixed entry 2002-10-10 Jani Taskinen * ext/standard/css.c ext/standard/info.c: - Fix the text alignment to be about same in any browser. * ext/fribidi/fribidi.c: Be consistent with other extensions. * ext/pfpro/pfpro.c ext/pfpro/php_pfpro.h: - Cleaned up some code and used the proper macros for ZTS stuff. - Fixed a memleak. - Fixed a bug in pfpro_process() when response contains only 2 entries. (random garbage added in the end of the value + key sometimes wrong) 2002-10-10 Stig Bakken * pear/PEAR/Command/Install.php: * add --installroot / -R option to install/upgrade commands * pear/PEAR/Common.php: * $this->destdir is not used * pear/packages/XML_RPC-1.0.3.tar pear/packages/XML_RPC-1.0.4.tar: * upgrade XML_RPC to 1.0.4 * pear/package-PEAR.xml: * fix Archive_Tar dependency * pear/PEAR/Command/Common.php: * options displayed in "pear help" did not have option parameters listed 2002-10-10 Jani Taskinen * ext/pfpro/config.m4: - Fixed the payflowpro version check and cleaned up this a bit. 2002-10-09 Jani Taskinen * ext/standard/css.c: Revert previous change, it did not fix anything. 2002-10-09 Melvyn Sopacua * ext/iconv/tests/Quotes.UTF-8 ext/iconv/tests/translit-utf8.inc ext/iconv/tests/translit-utf8.phpt: Test for standard transliteration. Original check-translit from GNU libiconv-1.8 2002-10-09 Stig Bakken * pear/PEAR/Remote.php: * fix a diff/patch screwup 2002-10-09 James Cox * ext/standard/css.c: overrule
2002-10-09 Derick Rethans * ext/iconv/tests/003.inc ext/iconv/tests/003.phpt ext/iconv/tests/bug16069.inc ext/iconv/tests/bug16069.phpt: - Use a more descriptive filename 2002-10-09 Moriyoshi Koizumi * ext/iconv/tests/003.inc ext/iconv/tests/003.phpt ext/iconv/tests/translit.inc ext/iconv/tests/translit.phpt: Renamed the test case files in order to avoid confusion 2002-10-09 Jan Lehnardt * ext/qtdom/config.m4: - fix alignment * ext/pspell/config.m4: - note aspell * ext/readline/readline.c: - fix build on FreeBSD, verified by thies. 2002-10-09 Sterling Hughes * ext/standard/array.c: clean these functions up using zend_parse_parameters and nuke the use of HASH_OF() which is inappropriate in these cases... * ext/standard/array.c: small cleanups... 2002-10-09 Colin Viebrock * ext/standard/info.c: no charsets, only basic entity escaping 2002-10-09 Derick Rethans * ext/gd/tests/bug19266.phpt: - Skip when GD is not available 2002-10-09 Andrey Hristov * ext/standard/string.c: ws fixes. 2002-10-09 Derick Rethans * ext/gd/tests/bug19266.phpt: - Added test case for bug #19266 2002-10-09 Zak Greant * ext/mysql/php_mysql.c: Removed spurious code. Thanks Derick 2002-10-09 Ilia Alshanetsky * ext/standard/php_string.h ext/standard/string.c: Optimizations to various php string functions substr_count(), strrev(), nl2br(), php_addslashes() and php_memnstr(). * ext/sybase/php_sybase_db.c: Fixed memory leaks. 2002-10-09 Zak Greant * ext/mysql/php_mysql.c: Minor tweak - using memcpy(), instead of strcpy() for static strings. Gives better performance. Thanks Zeev. 2002-10-09 Rui Hirokawa * ext/iconv/tests/translit.phpt: added @ to suppress a notice. 2002-10-09 Zak Greant * ext/mysql/php_mysql.c: Possible fix for bug #19529 (thanks Rasmus, Arjen and Monty) Major changes to _restore_connection_defaults - added code block to finds and releases the active mysql result (if any) - this should prevent the 'Commands out of sync' error that would be raised when a query is made when unfreed results exist Minor changes to _restore_connection_defaults - replaced calls to mysql_real_query with mysql_query - we probably should not be using mysql_real_query without checking to see if we have a version that supports the function. - given that we control the query strings here and do not need to worry about binary safety, I am using mysql_query instead - see the bug report for further discussion 2002-10-09 Pierre-Alain Joye * pear/tests/pear_config.phpt: Add cache_ttl, cache_dir to expect output Update text for username, password Tests pass now 2002-10-09 Andrey Hristov * ext/standard/tests/strings/003.phpt: Test case for str_shuffle(). * ext/standard/string.c: Returning to the old behavior of str_shuffle() a bit. Now the passed string is left unmodified and the shuffled string is returned. 2002-10-09 Markus Fischer * ext/imap/php_imap.c: - Fix protos (resource instead of int for stream_id, fix some return protos, consistent usage of options instead of flags). - Make imap_ping,imap_setquota and imap_setacl return a real (bool) now. 2002-10-09 Sascha Schumann * php.ini-dist: Emphasize a couple of points 2002-10-09 Markus Fischer * NEWS: - Update 2002-10-09 Zak Greant * ext/mysql/php_mysql.c: Set default value for mysql.connect_timeout to -1. This setting matches the setting in php.ini-dist and ensures that the default behavior is to leave connect_timeout alone. 2002-10-09 George Schlossnagle * sapi/apache/mod_php4.c: fixed return values for php_response_handler 2002-10-08 Ilia Alshanetsky * ext/standard/tests/strings/nl2br.phpt: Added nl2br() test * ext/standard/tests/strings/strrev.phpt: Added test for strrev() function. 2002-10-08 Andrei Zmievski * ext/tokenizer/EXPERIMENTAL: Tokenizer has been stable for some time now. 2002-10-08 Ilia Alshanetsky * ext/imap/php_imap.c: Fixed bug #19280 2002-10-08 Jani Taskinen * main/php_version.h: revert version here too.. 2002-10-08 Colin Viebrock * ext/standard/css.c: don't define fonts ... use the browser defaults 2002-10-08 Derick Rethans * ext/session/tests/021.phpt: - hardcode default rewriting tags * run-tests.php: - Fix .exp output 2002-10-08 Andrei Zmievski * configure.in: Revert to 4.3.0. 2002-10-08 Moriyoshi Koizumi * ext/mbstring/mbstring.c ext/mbstring/mbregex.c: ZTS fixes 2002-10-08 Melvyn Sopacua * ext/sysvmsg/config.m4: Fix config bug reported by Jan Lehnart. Keep it simple, and the size of a pointer is always known, duh. 2002-10-08 Moriyoshi Koizumi * ext/mbstring/mbregex.c: Removed table generating code. The return values of isalnum() may vary by the locale setting. 2002-10-08 Ilia Alshanetsky * ext/mbstring/mbregex.c: Fixed memory leak. 2002-10-08 Tal Peer * ext/fribidi/tests/001.phpt: Enhanced test to also check charsets CP1255 and ISO-8859-8 2002-10-08 Ilia Alshanetsky * NEWS: Apache 2 news 2002-10-08 Pierre-Alain Joye * pear/PEAR.php: Sorry Derick, generated the wrong patch and we don't need to recreate an array ;) 2002-10-08 Derick Rethans * pear/PEAR.php: - Fix for deprecated function * ext/mcrypt/tests/vectors.txt: - Add the source file too * ext/mcrypt/tests/blowfish.phpt: - Add blowfish compatibility test 2002-10-08 Andrey Hristov * ext/standard/string.c: Now str_shuffle() has the randomization characteristics of shuffle(). str_shuffle() won't return anymore the randomized string and thus will be consistent with shuffle(). Since this function is new to 4.3.0 no BC problems. 2002-10-08 Derick Rethans * ext/standard/tests/aggregation/aggregate_properties_by_regexp.phpt: - Skip if the function is not available (in case pcre was not compiled in). * run-tests.php: - Show easier parseable and greppable output * run-tests.php: - Use getenv, as $_ENV is not available when variables_order= in php.ini does not include "E". 2002-10-08 Tal Peer * ext/fribidi/tests/002.phpt: Added test to check if charsets constants are defined 2002-10-08 Derick Rethans * ext/mbstring/mbregex.c: - Please do not use notices for debug information * Makefile.global: - Drop dependency on fixed php.ini * ext/standard/tests/strings/implode.phpt: - Use error_reporting E_ALL * tests/strings/004.phpt run-tests.php: - Drop requirement for php.ini-dist - Adjust test script to hard code ini settings * php.ini-dist php.ini-recommended: - Document correct default * php.ini-recommended php.ini-dist: - Do not change those from the default in Zend/zend_highlight.h 2002-10-08 George Schlossnagle * main/SAPI.c: headers code cleanup * sapi/apache/php_apache.c: header code cleanup 2002-10-08 Sebastian Bergmann * ext/mbstring/php_mbregex.c ext/mbstring/php_mbregex.h: Fix ZTS build. 2002-10-08 Jani Taskinen * tests/func/.cvsignore tests/lang/.cvsignore tests/strings/.cvsignore tests/.cvsignore tests/basic/.cvsignore tests/classes/.cvsignore pear/tests/.cvsignore ext/zip/tests/.cvsignore ext/zlib/tests/.cvsignore pear/Console/tests/.cvsignore ext/sysvmsg/tests/.cvsignore ext/xml/tests/.cvsignore ext/xslt/tests/.cvsignore ext/standard/tests/serialize/.cvsignore ext/standard/tests/strings/.cvsignore ext/standard/tests/time/.cvsignore ext/standard/tests/versioning/.cvsignore ext/standard/tests/file/.cvsignore ext/standard/tests/general_functions/.cvsignore ext/standard/tests/math/.cvsignore ext/standard/tests/reg/.cvsignore ext/standard/tests/array/.cvsignore ext/standard/tests/assert/.cvsignore ext/standard/tests/aggregation/.cvsignore ext/session/tests/.cvsignore ext/skeleton/tests/.cvsignore ext/standard/tests/.cvsignore ext/pcntl/tests/.cvsignore ext/pgsql/tests/.cvsignore ext/pspell/tests/.cvsignore ext/openssl/tests/.cvsignore ext/mbstring/tests/.cvsignore ext/mcrypt/tests/.cvsignore ext/mcve/tests/.cvsignore ext/ncurses/tests/.cvsignore ext/iconv/tests/.cvsignore ext/interbase/tests/.cvsignore ext/domxml/tests/.cvsignore ext/exif/tests/.cvsignore ext/gmp/tests/.cvsignore ext/db/tests/.cvsignore ext/dbx/tests/.cvsignore ext/dio/tests/.cvsignore ext/crack/tests/.cvsignore ext/ctype/tests/.cvsignore ext/cybermut/tests/.cvsignore ext/bz2/tests/.cvsignore: Add php.* to be ignored. * run-tests.php: ws fixes 2002-10-08 Sascha Schumann * configure.in: add support for adding /usr/lib to the linkline by default 2002-10-08 George Schlossnagle * sapi/apache/mod_php4.c sapi/apache/php_apache.c: sync with head. add optional content type param to send_http_header * main/SAPI.c main/main.c main/php_main.h: sync with head 2002-10-08 Jani Taskinen * NEWS: style polizei 2002-10-08 Stig Bakken * main/config.w32.h.in: * make these variables configurable from environment on Windows: PEAR_INSTALLDIR PHP_BINDIR PHP_CONFIG_FILE_PATH PHP_CONFIG_FILE_SCAN_DIR PHP_DATADIR PHP_EXTENSION_DIR PHP_INCLUDE_PATH PHP_LIBDIR PHP_LOCALSTATEDIR PHP_PREFIX PHP_SYSCONFDIR 2002-10-08 Rasmus Lerdorf * ext/ming/config.m4: Get rid of redundant loop * ext/ming/config.m4: FreeBSD ming port sticks ming.h in /usr/local/include/ming/ming.h and we weren't finding it there. * sapi/apache/php_apache_http.h: zlib.h being included before ssl.h needs to be handled here too 2002-10-07 Rasmus Lerdorf * ext/zlib/config0.m4: Make zlib-dir actually mean something during the check 2002-10-07 Dan Kalowsky * ext/standard/quot_print.c: Fix for bug #19798 (submitted by mclap@simpage.mv.ru) 2002-10-07 Melvyn Sopacua * NEWS: Add xslt milestones 2002-10-07 Rasmus Lerdorf * ext/zlib/config0.m4: Argh! Revert. I'm on drugs. Was linking in a newer libz when I checked this. 2002-10-07 Ilia Alshanetsky * ext/standard/tests/strings/strpos.phpt ext/standard/tests/strings/strstr.phpt ext/standard/tests/strings/substr_count.phpt: Added tests for strstr(), strpos() and substr_count() functions. 2002-10-07 Rasmus Lerdorf * ext/zlib/config0.m4: Oops, should still define that. Didn't think I needed it as nothing in ext/zlib checks it, but it is checked elsewhere. * ext/zlib/config0.m4: This restriction is no longer true after the streams changes. 2002-10-07 Moriyoshi Koizumi * ext/mbstring/php_mbregex.c: Fixed typo. 2002-10-07 Markus Fischer * NEWS: - Update 2002-10-07 Tal Peer * ext/fribidi/tests/001.phpt: Initial commit of fribidi_log2vis test 2002-10-07 Moriyoshi Koizumi * ext/mbstring/tests/022.inc ext/mbstring/tests/022.phpt ext/mbstring/tests/023.inc ext/mbstring/tests/023.phpt ext/mbstring/tests/024.inc ext/mbstring/tests/024.phpt ext/mbstring/tests/021.inc ext/mbstring/tests/021.phpt: Added test cases for mbregex * ext/mbstring/php_mbregex.h ext/mbstring/mbstring.c ext/mbstring/mbstring.h ext/mbstring/php_mbregex.c: Lots of clean-up for upcoming mbstring merging event. Added mb_regex_set_options(). The Options parameters of various mbregex functions are now deprecated. 2002-10-07 Colin Viebrock * php.ini-dist: Document session.save_path option in php.ini 2002-10-07 Andrei Zmievski * ext/pcre/php_pcre.c: Use a copy of locale instead of the original. Fixes bug #19482. 2002-10-07 Derick Rethans * NEWS: 2. :) 2002-10-07 Rasmus Lerdorf * NEWS: . 2002-10-07 David Viner * ext/xslt/tests/008.phpt ext/xslt/tests/xslt_set_object.xsl: adding test of xslt_set_object --dviner 2002-10-07 Moriyoshi Koizumi * ext/mbstring/php_mbregex.c: fixed mb_split() * ext/mbstring/php_mbregex.c: fixed mb_split (the value of third parameter treated wrongly) 2002-10-07 Rasmus Lerdorf * ext/standard/dir.c: readdir() was returning NULL instead of FALSE when used on an invalid directory handle. If someone forgot to check (as someone here did) that the opendir() succeeded, and then followed the documented usage by checking readdir()!==FALSE things would go awry. The ZEND_FETCH_RESOURCE macro explicitly does a RETURN_NULL on failure which is not what we want in this case, so work around it. No need to change it for the OO case since the object is not created if the opendir fails. 2002-10-07 Moriyoshi Koizumi * ext/mbstring/php_mbregex.c: MFH 2002-10-07 Stefan Esser * ext/mbstring/mbfilter.c: never smash the stack... * ext/mbstring/mbfilter.c: fixing possible off by one in error case 2002-10-07 Sander Roobol * run-tests.php: Temporary (?) workaround (?) for is_executable() on Windows. 2002-10-07 Stefan Esser * main/rfc1867.c: MFH: closing protected variables hole * main/rfc1867.c: Closing protected variables hole 2002-10-07 Zeev Suraski * main/output.c: Whitespace 2002-10-07 Jani Taskinen * ext/fbsql/config.m4: Fix obvious error.. 2002-10-07 Jan Lehnardt * ext/fbsql/config.m4: - fix typo and improve error message 2002-10-07 Sascha Schumann * ext/session/tests/021.phpt: Call ob_flush to force the buffer contents to go through the rewriter. 2002-10-07 Marc Boeren * ext/dbx/tests/003.phpt ext/dbx/tests/004.phpt ext/dbx/tests/005.phpt ext/dbx/tests/006.phpt ext/dbx/tests/007.phpt ext/dbx/tests/008.phpt ext/dbx/tests/dbx_test.p: Tests will be skipped if a tester does not explicitly specify the test-database setup in dbx_test.p. 2002-10-07 Sascha Schumann * main/streams.c: stdio buffers data in user land. By calling fflush(3), this data is sent to the kernel using write(2). fsync'ing a file descriptor is not required -- writing to a fd has the same affect as calling fflush after each fwrite. * ext/session/session.c: Print out warning only, if a variable was actually migrated 2002-10-07 Melvyn Sopacua * ext/xslt/tests/009.phpt: MFH * run-tests.php: Add --EXPECTF-- section: 'sprintf' for EXPECT sections. See for usage example ext/xslt/tests/009.phpt. 2002-10-06 Melvyn Sopacua * ext/xslt/tests/009.phpt: (xslt tests) Add test for memory leaks, caused by inapproreate use of the struct. Memory leak is caused by at least 2 errors on handle. 2002-10-06 Wez Furlong * main/streams.c: Try to ensure that we return the number of bytes requested during fread(). 2002-10-06 Sebastian Bergmann * ext/session/session.c: Silence warning. 2002-10-06 Sander Roobol * tests/lang/029.phpt: Skip this test if we're not using ZE2 * ext/standard/tests/strings/add-and-stripcslashes.phpt: We're testing stripCslashes() here :) * ext/standard/tests/strings/add-and-stripcslashes.phpt: Some more weird tests on Derick's request :) * ext/standard/tests/strings/add-and-stripcslashes.phpt ext/standard/tests/strings/bin2hex.phpt ext/standard/tests/strings/chr_ord.phpt ext/standard/tests/strings/chunk_split.phpt ext/standard/tests/strings/count_chars.phpt ext/standard/tests/strings/crc32.phpt ext/standard/tests/strings/trim.phpt: Some string tests 2002-10-06 Derick Rethans * ext/standard/tests/array/array_change_key_case.phpt ext/standard/tests/array/array_chunk.phpt ext/standard/tests/array/array_count_values.phpt: - Add new tests for: array_change_key_case, array_chunk and array_count_values. 2002-10-06 Sander Roobol * ext/standard/string.c: MFH * ext/standard/string.c: Fix another leak in implode() 2002-10-06 Rasmus Lerdorf * ext/gd/libgd/gd_topal.c: MFH fixes 19704 and 19781 * ext/gd/libgd/gd_topal.c: Fix for bug 19781 2002-10-06 Derick Rethans * tests/strings/004.phpt: - Fix highlight_string test. 2002-10-06 Ilia Alshanetsky * ext/session/session.c: Code cleanup. Thanks Andi. 2002-10-06 Rasmus Lerdorf * ext/standard/basic_functions.c ext/standard/info.c ext/standard/info.h run-tests.php: Add php_ini_scanned_files() so "make test" can tell you when you have additional .ini files that are scanned. 2002-10-06 Sander Roobol * ext/standard/basic_functions.c: MFH * ext/standard/basic_functions.c: You can't detect NULL nicely - false is better and more PHPish. 2002-10-06 Moriyoshi Koizumi * ext/mbstring/php_mbregex.c: Fix build. Thanks to Sebastian, Rasmus. 2002-10-06 Rasmus Lerdorf * ext/mbstring/php_mbregex.c: Fix build 2002-10-06 Sander Roobol * ext/standard/basic_functions.c: Fixed getopt() - made it actually work 2002-10-06 Melvyn Sopacua * ext/xslt/README.XSLT-BACKENDS ext/xslt/php_sablot.h ext/xslt/sablot.c ext/xslt/xslt.c: MFB 2002-10-06 Ilia Alshanetsky * ext/standard/tests/strings/url_t.phpt: Added expected data to parse_url() test * ext/standard/url.c: Added a much faster parse_url() implementation. This also fixes a number of bugs in the old parse_url() implementation. 2002-10-06 Melvyn Sopacua * ext/xslt/tests/public.xml: MFH * ext/xslt/tests/public.xml: missed this, needed by 007.phpt 2002-10-06 Moriyoshi Koizumi * ext/mbstring/mbfilter.c: merging * ext/mbstring/php_mbregex.c: Added support for aliases of the encoding names. * ext/mbstring/php_mbregex.c: added support for aliases of the encodings. 2002-10-06 Melvyn Sopacua * ext/xslt/sablot.c: whitespace 2002-10-06 Zeev Suraski * main/output.c ext/standard/basic_functions.c ext/standard/var.c: Revert the implicit_flush mess. Do not revert it again under any circumstances! Yasuo/anybody else - if there are issues with implicit_flush, please inform me and I will fix them. 2002-10-06 Sander Roobol * ext/standard/string.c: MFH * ext/standard/string.c: Fixed segfault and memory leak in the new implementation of implode() * ext/standard/tests/strings/implode.phpt ext/standard/tests/strings/str_repeat.phpt: Add testcases for implode() and str_repeat() 2002-10-06 Sebastian Bergmann * ext/mbstring/mbfilter.c: HAVE_MBSTRING awareness. * ext/mbstring/mbregex.c: HAVE_MBREGEX awareness. 2002-10-06 Zeev Suraski * ext/standard/basic_functions.c main/output.c main/php_output.h: Begin the cleanup - remove ob_flush_all() 2002-10-06 Rasmus Lerdorf * ext/gd/libgd/gd.c: MFH * ext/gd/libgd/gd.c: WS fix - although the entire libgd directory is horrendously formatted. However, since we are forking existing code, fixing it would make it much harder to merge any Boutell patches (if they ever come out with any). * ext/gd/libgd/gd.c: Oops * ext/gd/libgd/gd_topal.c: Ok, perhaps it's too late at night, but I see absolutely no reason for this chunk of code here. Why is it writing a palette.map file to disk in the middle of this function? Looks like leftover debug code, and this particular code seems to be crashing on OSX as per bug #19704. * ext/gd/libgd/gd.c: MFH bug fix for #19700 * ext/gd/libgd/gd.c: Fix for bug #19700 - code by Wez 2002-10-06 Moriyoshi Koizumi * ext/mbstring/php_mbregex.c: made messages more consistent 2002-10-06 Sebastian Bergmann * sapi/servlet/README: Add note about javax.servlet package. 2002-10-06 Moriyoshi Koizumi * ext/mbstring/php_mbregex.c: Warnings for empty regular expressions 2002-10-06 Rasmus Lerdorf * ext/gd/config.m4 ext/gd/libgd/gd.h ext/gd/libgd/gd_gif_in.c NEWS: MFH the read-only GIF support * ext/gd/libgd/gd.h ext/gd/libgd/gd_gif_in.c NEWS ext/gd/config.m4: As discussed a while ago, decoding GIF images is not considered a Unisys LZW patent violation so we can distribute read-only GIF support with our bundled GD2. The patent also expires in 2003, which is quickly approaching, so we can roll in write support soon unless things change. 2002-10-06 Frank M. Kromann * ext/fbsql/fbsql.dsp: Adding missing include path's to non TS projects * ext/fbsql/php_fbsql.c: Fixing comment allowing the module to compile again 2002-10-05 Melvyn Sopacua * ext/xslt/README.XSLT-BACKENDS: (xslt dev-doc) Revert 1.6-1.7 - no need to change names on stable ext. * ext/xslt/php_sablot.h ext/xslt/sablot.c ext/xslt/xslt.c: (xslt) Introduce revised interaction with Sablotron backend. ATTENTION: interaction with Sablotron backend, now uses the API prefered by the Ginger Alliance. Test it for BC issues. It also changes internals of the abstraction, to resolve issues that would arrise with invalid argument or parameter arrays. New functions: * xslt_set_object, similar to xml_set_object * xslt_setopt, set global options for a processor instance. Introduces new constants, related to the xslt_setopt function. Removes a warning, when skipping argument array with NULL. 2002-10-05 Andrei Zmievski * main/php_version.h configure.in: Change HEAD version to 4.4.0-dev. 2002-10-05 Derick Rethans * ext/standard/tests/strings/url_t.phpt: - Add parse_url() tests (expect will follow later)url_t.phpt 2002-10-05 Andrei Zmievski * NEWS: *** empty log message *** 2002-10-05 Melvyn Sopacua * ext/xslt/tests/005.phpt ext/xslt/tests/006.phpt ext/xslt/tests/007.phpt ext/xslt/tests/args.xsl ext/xslt/tests/param.xsl ext/xslt/tests/qa.dtd ext/xslt/tests/test.xml: (xslt tests) Add test for new backend API (005.phpt), new function (006.phpt) and a crash test (007.phpt) 006.phpt also tests handling of public entities, which is in essence new to the extension, since there was no way to turn it on. 2002-10-05 Wez Furlong * ext/bz2/bz2.c: This got omitted from an earlier commit. EOF related checks for bzip2 streams. * NEWS: sp 2002-10-05 Melvyn Sopacua * ext/xslt/tests/004.phpt: (xslt tests) Test for reference to a non-existing scheme handler. 2002-10-05 Bertrand Mansion * pear/HTML/Select.php: Fix bug for select of type multiple. Thanks to Alan Morey for reporting it. 2002-10-05 Melvyn Sopacua * ext/xslt/sablot.c: (xslt: error_print) Fixes a leak when multiple error messages are issued during a transformation. * NEWS: remove tests entry. Fix patch entry to contain function name 2002-10-05 Wez Furlong * ext/standard/file.c main/php_network.h main/streams.c: EOF related fixes. * ext/standard/info.c: Revert. The problem lies elsewhere. * ext/standard/info.c: Fix Win32 build as PHP_CONFIG_FILE_SCAN_DIR is not #defined. * ext/standard/tests/file/userstreams.phpt ext/zlib/zlib_fopen_wrapper.c main/memory_streams.c main/network.c main/php_streams.h main/streams.c main/user_streams.c ext/standard/php_fopen_wrapper.c: This seems to resolve the issues with fgets. I've moved EOF detection into the streams layer; a stream reader implementation should set stream->eof when it detects EOF. Fixed test for user streams - it still fails but that is due to an output buffering bug. 2002-10-05 Markus Fischer * ext/mysql/php_mysql.c: - Remove superfluous E_WARNING if mysql_connect() fails; there's already an E_WARNING a few lines above. 2002-10-04 David Viner * ext/xslt/php_sablot.h ext/xslt/php_xslt.h ext/xslt/sablot.c ext/xslt/xslt.c: adding the xslt_set_object function (as per discussion on php-dev and the newly created sab-php@gingerall.cz) --dviner * ext/xslt/sablot.c ext/xslt/xslt.dsp: adding segfault detection as proposed by Lenar Lõhmus [lenar@vision.ee] --dviner 2002-10-04 Stefan Esser * ext/ftp/ftp.c: some FTP servers return 32bit port numbers. 2002-10-04 Brian France * main/fopen_wrappers.c: Fixed a problem where opendir with / and having / in open_basedir ini option didn't work. It was removing the trailing slashes and then addeding it back to only one of the string, now it adds it back to to both if needed. 2002-10-04 Stefan Esser * ext/standard/ftp_fopen_wrapper.c: some broken ftp servers return 32bit port numbers. 2002-10-04 Ilia Alshanetsky * sapi/apache2filter/sapi_apache2.c: A slightly better content-type check. * sapi/apache2filter/README: Added a note on how to enable .phps support. 2002-10-04 Marcus Börger * run-tests.php: Return to old counting where every test is counted (even those of skipped extensions). Inform about the number of extensions tested and skipped. This makes the test summary more compareable. Maybe i'll add a parameter/env-var to skip extension tests. That way we could fasten tests for changes in the core. But it has to wait some days. 2002-10-04 Ilia Alshanetsky * sapi/apache2filter/sapi_apache2.c: Added .phps support to Apache 2. It can be enabled by adding AddType application/x-httpd-php-source .phps to httpd.conf 2002-10-04 Sterling Hughes * ext/standard/string.c: have implode use the smart_str_*() functions, this should speed things up quite a bit... 2002-10-04 Martin Jansen * pear/PEAR/Registry.php: * Nuke warning when $php_errormsg is not set. 2002-10-04 Sascha Schumann * main/streams.c: Fix EOF cases Noticed by: Ilia * main/streams.c: Interrupt loop, if the stream op fails. * main/main.c: Nuke warning * main/network.c main/streams.c: Add a few notes 2002-10-04 Wez Furlong * ext/mime_magic/mime_magic.c: Make that error message more meaningful for systems like my SuSE 7.0 with an apparently broken magic file. * main/network.c main/php_streams.h main/streams.c: replace dont_block with a flag. 2002-10-04 Ilia Alshanetsky * main/streams.c: Fixed bug #19746 2002-10-04 Sascha Schumann * main/network.c main/php_streams.h main/streams.c: Improve the general behaviour of stream_gets and fix its semantics with regard to sockets. The behaviour should be aligned with PHP 4.2 now. This has been verified to some degree. If the underlying stream operations block when no new data is readable, we need to take extra precautions. If there is buffered data available, we check for a EOL. If it exists, we pass the data immediately back to the caller. This saves a call to the read implementation and will not block where blocking is not necessary at all. If the stream buffer contains more data than the caller requested, we can also avoid that costly step and simply return that data. 2002-10-04 Rasmus Lerdorf * ext/standard/dir.c: Kill a few more warnings * ext/sockets/sockets.c: Kill warning 2002-10-04 Jani Taskinen * NEWS: combine those ob_* entries and keep the attention line on top 2002-10-04 Marcus Börger * ext/standard/basic_functions.c: return FALSE on error * main/output.c: suggest paranthesis around || and && 2002-10-04 Sander Roobol * ext/standard/string.c: Fixed a bug in the new implementation of str_repeat() 2002-10-04 Derick Rethans * ext/standard/string.c: - dot :) 2002-10-04 Sterling Hughes * ext/standard/string.c: fix a memory leak in implode() * ext/standard/string.c: Make the glue argument to implode() optional, if it is not specified default to using "". 2002-10-04 Andrei Zmievski * NEWS: that was reverted for now 2002-10-04 Melvyn Sopacua * ext/xslt/tests/002.phpt ext/xslt/tests/003.phpt ext/xslt/tests/skipif.inc ext/xslt/tests/xslt_set_error_handler.php: Improve testkit for xslt. 002.phpt and 003.phpt are regression tests for reported bugs. 004.phpt has been known to cause problems in some Sab/PHP combinations. No known reports in bug db for that one. Added skip mechanism * ext/xslt/sablot.c: (xslt_set_error_handler) Fixes array 'fields' argument to contain correct information. Patch by Lenar Lohmus. 2002-10-04 Sebastian Bergmann * main/config.w32.h.in: Add PHP_CONFIG_FILE_SCAN_DIR. 2002-10-04 Rasmus Lerdorf * main/php_ini.c ext/standard/info.c main/build-defs.h.in main/main.c NEWS configure.in: As discussed, add --with-config-file-scan-dir compile-time switch defining a directory which will be scanned for *.ini files after the main php.ini file has been parsed. This makes it much easier to automatically deploy a modular PHP since adding extensions which have their own ini switches can now be done by simply dropping a foo.ini file in the right directory and restarting. A list of parsed ini files is maintained and shown on the phpinfo page. 2002-10-04 Sean Bright * ext/standard/tests/math/hexdec.phpt: Add missing ?> 2002-10-04 Sascha Schumann * ext/standard/math.c: peek at freebsd's libc and fix _php_math_basetozval PR: #19733 * ext/standard/tests/math/hexdec.phpt: overflow check for _php_math_basetozval * ext/standard/filestat.c: Fix php_stat brokenness. 2002-10-03 Sascha Schumann * ext/session/tests/019.phpt: remove trans_sid=1 * ext/session/tests/020.phpt ext/session/tests/021.phpt: 20: rewriter uses arg_seperator.output for modifying URLs 21: rewriter handles
and
correctly * ext/session/tests/018.phpt ext/session/tests/019.phpt: 19: serializing references test case using globals 18: rewriter correctly handles attribute names which contain dashes 2002-10-03 Jani Taskinen * NEWS: sigh..is this so hard? 2002-10-03 Andrei Zmievski * ext/wddx/php_wddx.h ext/wddx/php_wddx_api.h ext/wddx/wddx.c: Revert the patch for now. We'll be branching on Saturday the way it's implemented is a bit half-baked. We can always merge it into the branch at a later point. 2002-10-03 Marcus Börger * run-tests.php: $val not in first param to sprintf 2002-10-03 Andrey Hristov * ext/standard/string.c: ws fixes. 2002-10-03 Sascha Schumann * ext/session/tests/017.phpt: code from ancient bug #5271 setting $_SESSION before session_start() should not cause segfault * ext/session/tests/016.phpt: invalid session.save_path should not cause a segfault * ext/session/tests/015.phpt: use_trans_sid should not affect SID * ext/session/tests/004.phpt ext/session/tests/005.phpt ext/session/tests/006.phpt ext/session/tests/007.phpt ext/session/tests/008.phpt ext/session/tests/009.phpt ext/session/tests/010.phpt ext/session/tests/011.phpt ext/session/tests/012.phpt ext/session/tests/013.phpt ext/session/tests/014.phpt ext/session/tests/001.phpt ext/session/tests/002.phpt ext/session/tests/003.phpt: editing 2002-10-03 Marcus Börger * main/streams.c: fix position handling 2002-10-03 Sascha Schumann * ext/session/tests/014.phpt: A script should not be able to modify session.use_trans_sid * ext/session/tests/013.phpt: There should not be any warning with regard to redefining SID * ext/session/tests/012.phpt: Registering _SESSION should not segfault. * ext/session/tests/010.phpt ext/session/tests/011.phpt: Mini test cases for fixed segfaults * ext/session/session.c: session_decode should not segfault * ext/session/tests/004.phpt ext/session/tests/005.phpt ext/session/tests/006.phpt ext/session/tests/007.phpt ext/session/tests/008.phpt: Remove ob_start() * ext/session/tests/009.phpt: Add test for unset($_SESSION["x"]); behaviour * ext/session/tests/003.phpt ext/session/tests/004.phpt ext/session/tests/005.phpt ext/session/tests/006.phpt ext/session/tests/007.phpt ext/session/tests/008.phpt ext/session/tests/skipif.inc ext/session/tests/001.phpt: make tests work with CLI * ext/session/session.c: Don't emit warning, if there is nothing to send 2002-10-03 Ilia Alshanetsky * ext/standard/string.c: Optimized str_repeat() function, it is now 10x faster on 1 byte multipliers and 5-6x faster on multi-byte multipliers. 2002-10-03 Yasuo Ohgaki * main/output.c ext/standard/var.c ext/standard/basic_functions.c: Fixed broken code by Derick. ob_implicit_flush() and ob_flush_all() are stopped working. var_dump() and hightlisht_string() outputs buffer contents wrongly with ob_implicit_flush(). Everyone should be happy now. It was only OG(implicit_flush) interpretation issue after all. 2002-10-03 Andrey Hristov * php.ini-recommended: colon written instead of semi-colon. 2002-10-03 Stefan Esser * ext/ftp/ftp.c ext/ftp/ftp.h: swapped conditions to correct the logic 2002-10-03 Andrey Hristov * ext/standard/html.c: few ws fixes. 2002-10-03 James Moore * main/output.c: Keep comments and code in sync. 2002-10-03 Stefan Esser * EXTENSIONS: Tell everyone that I am the ext/ftp maintainer... * NEWS: Added news entry about ftp_ssl_connect() * ext/ftp/ftp.c ext/ftp/ftp.h ext/ftp/php_ftp.c ext/ftp/php_ftp.h: Added ftp_ssl_connect() for FTP over SSL. 2002-10-03 Zeev Suraski * main/main.c: Guys, please keep K&R. 2002-10-03 Sebastian Bergmann * main/output.c: Fix warnings. 2002-10-03 Derick Rethans * tests/func/008.phpt tests/func/009.phpt: - Fix descriptions * tests/strings/004.phpt: - Add highlight_string buffering test 2002-10-03 Marcus Börger * ext/exif/exif.c: typing 2002-10-03 Derick Rethans * tests/func/008.phpt tests/func/009.phpt: - Add tests 2002-10-03 Andrey Hristov * ext/standard/basic_functions.c: ws fixes. 2002-10-03 Derick Rethans * ext/standard/basic_functions.c ext/standard/var.c sapi/cli/php_cli.c main/output.c: - Revert changed to implicit_flush behavior. The new behavior was not intended in the first place. 2002-10-03 Andrey Hristov * NEWS: Added some info about new functions and changed functionality in old ones. 2002-10-03 Yasuo Ohgaki * sapi/cli/php_cli.c: Shouldn't enable implicit_flush like this. Most problems are fixed. If you find internal function that does not follow my comment, please fix it or let me know. * ext/standard/basic_functions.c: Fixed broken higlight_string() 2002-10-03 Stefan Esser * ext/ftp/ftp.h ext/ftp/php_ftp.c ext/ftp/php_ftp.h ext/ftp/ftp.c: renamed ftp_async_* into ftp_nb_* 2002-10-03 Jan Lehnardt * ext/wddx/php_wddx_api.h ext/wddx/wddx.c ext/wddx/php_wddx.h: - Added wddx_serialize_type(). Allows users to cast values to WDDX types 2002-10-03 Yasuo Ohgaki * ext/standard/var.c: Prevent unwanted fluhsing. * main/output.c: Added comment for php_output_set_status(). Please use this function if you would like to prevent unwanted flush by implicit_flush=On or ob_implicit_flush(). 2002-10-03 Sascha Schumann * ext/session/tests/001.phpt ext/session/tests/003.phpt ext/session/tests/004.phpt ext/session/tests/005.phpt ext/session/tests/006.phpt ext/session/tests/007.phpt ext/session/tests/008.phpt: Purge ini_set calls and replace through INI sections. 2002-10-03 Andi Gutmans * ext/session/session.c: - Fix ZTS build 2002-10-03 Yasuo Ohgaki * ext/mbstring/tests/007.phpt: Update test * main/php_output.h main/output.c ext/mbstring/tests/007.inc ext/standard/basic_functions.c: Added ob_flush_all() that flushes bufferred contents until it actually sent/printed. 2002-10-03 Sascha Schumann * php.ini-dist: move gc_maxlifetime one up * php.ini-recommended: Add recommened entries, including disabling the session bug/feature * php.ini-dist: Add new session options * ext/session/php_session.h ext/session/session.c: Make the interpretation of gc_probability configurable by adding session.gc_dividend. The probability of running gc on each request is then gc_probability/gc_dividend. * ext/session/tests/008.phpt: Reenable E_WARNING and test session.bug_compat_warn in addition. * ext/session/tests/007.phpt: session_destroy resets the sid, so we need to set it again here * ext/session/tests/008.phpt: Verify PHP 4.2 compatibility: global is used albeit register_globals=0 * ext/session/session.c: Use ZEND_SET_SYMBOL_WITH_LENGTH correctly (hopefully) It strikes me as awkward that a Zend API user needs to take care of doing the engine's reference counting. This fixes a memory overrun in a testcase. All ZEND_SET_* calls should be correct now. * ext/session/session.c: (track_init) Use is_ref/refcount parameters of SET_SYMBOL macros (save_current_state) Prevent a possible deadlock which occurs when the track vars are inaccessible * ext/session/tests/007.phpt: Verify PHP 4.2 compatibility: unset($c) with enabled register_globals 2002-10-03 Yasuo Ohgaki * ext/standard/string.c: Forgot 1 byte for \0 * ext/standard/string.c: Save memory 2002-10-03 Sascha Schumann * ext/session/session.c: Align behaviour with 4.2 with regard to register_globals=1 session_register("c"); unset($c); $c = time(); If a user unsets a global session variable, it is not a reference to a $_SESSION slot anymore. During serialization, PHP 4.2 will not find the respective entry in $_SESSION and fall back to the global sym table. 2002-10-03 Yasuo Ohgaki * main/output.c: Added missing proto and foldings. * ext/zlib/zlib.c main/output.c main/php_output.h: Move wrong output buffer usage check to ob_gzhandler init. Export some output buffer functions. 2002-10-03 Sascha Schumann * ext/session/php_session.h ext/session/session.c: Nuke PS(vars), we keep the state of registered session variables now completely in PS(http_session_vars). This avoids bugs which are caused by a lack of synchronization between the two hashes. We also don't need to worry about prioritizing one of them. Add session.bug_compat_42 and session.bug_compat_warn which are enabled by default. The logic behind bug_compat_42: IF bug_compat_42 is on, and IF register_globals is off, and IF any value of $_SESSION["key"] is NULL, and IF there is a global variable $key, then $_SESSION["key"] is set to $key. The extension emits this warning once per script, unless told otherwise. "Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn. 2002-10-03 Yasuo Ohgaki * main/output.c: Made some functions inline. Added static for unexported functions. * NEWS: Rename pg_data_seek() to pg_result_seek(). Give a correct credit for Marcus and Wez. * ext/mysql/php_mysql.c ext/pgsql/pgsql.c ext/pgsql/php_pgsql.h: Rename pg_data_seek() to pg_result_seek(). Added mysql_result_seek() which is alias of mysql_data_seek(). * main/output.c main/php_output.h ext/standard/basic_functions.c: Added ob_get_clean() and ob_get_flush(). Someone requested this feature before. 2002-10-03 Ilia Alshanetsky * sapi/apache2filter/php_functions.c: Added missing TSRMLS_DC to php_apache_lookup_uri() 2002-10-02 David Reid * ext/standard/file.c: Add more BeOS support... * main/safe_mode.c: Add some more BeOS support. 2002-10-02 Daniela Mariaschi * ext/interbase/interbase.c: syntax to avoid error while reading data from file in ibase_blob_import 2002-10-02 Jani Taskinen * NEWS: stylissimo * tests/lang/.cvsignore tests/strings/.cvsignore pear/tests/.cvsignore tests/.cvsignore tests/basic/.cvsignore tests/classes/.cvsignore tests/func/.cvsignore ext/sysvmsg/tests/.cvsignore ext/xml/tests/.cvsignore ext/xslt/tests/.cvsignore ext/zip/tests/.cvsignore ext/zlib/tests/.cvsignore pear/Console/tests/.cvsignore ext/standard/tests/strings/.cvsignore ext/standard/tests/time/.cvsignore ext/standard/tests/versioning/.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/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/mcve/tests/.cvsignore ext/dbx/tests/.cvsignore ext/dio/tests/.cvsignore ext/domxml/tests/.cvsignore ext/exif/tests/.cvsignore ext/gmp/tests/.cvsignore ext/bz2/tests/.cvsignore ext/crack/tests/.cvsignore ext/ctype/tests/.cvsignore ext/cybermut/tests/.cvsignore ext/db/tests/.cvsignore run-tests.php: unify these files to conform with the new files created by run-tests.php 2002-10-02 Sascha Schumann * ext/session/session.c: Fix harmless memory leaks and simplify track_vars_init. 2002-10-02 Ilia Alshanetsky * NEWS: Notes about additions to Apache 2 sapi. 2002-10-02 Stig Bakken * pear/package-PEAR.xml: * we're releasing 1.0 along with PHP 4.3, so this is 1.0RC1 * pear/PEAR/Command/Remote.php pear/PEAR/Common.php pear/PEAR/Remote.php: * add support for http proxy authorization (thanks Arnaud) 2002-10-02 Ilia Alshanetsky * sapi/apache2filter/php_functions.c: Added apache_response_headers(), apache_note(), apache_getenv() and apache_setenv() functions. The getallheaders() is renamed to apache_request_headers() and an getallheaders() is aliased to it. Added a better error reporting mechanism to apache_lookup_uri() and virtual(). 2002-10-02 Andrey Hristov * ext/standard/string.c ext/standard/tests/strings/002.phpt: Making strrchr() binary safe. Test case added. * ext/standard/string.c: Making strstr() binary safe. * ext/standard/string.c: Ws fix. Forgot to add this in the previous commit. * ext/standard/string.c: ws fixes. 2002-10-02 Derick Rethans * ext/curl/curl.c: - Added CURLOPT_FTP_USE_EPSV option. (Patch by Alex Howansky ) 2002-10-02 Marcus Börger * NEWS: Better... * main/output.c NEWS: Fix implicit_flush * main/output.c: Modified get_status(): Display chunk_size allways and size which is in most cases initial_size as well as block_size only when used. * ext/zlib/zlib.c main/output.c: Revisted Wez patch: chunk_size 0 means cahce the whole output. So we must apply the default before calling php_enable_output_compression(). I have left the default setting in the rinit function even though i do think it is not necessary. 2002-10-02 Colin Viebrock * ext/standard/info.c: Fix for SRM module (and maybe others). Header rows are now not HTML escaped, so make sure you do this yourself in the modules. 2002-10-02 Marcus Börger * main/streams.c: Another missing variable init * main/streams.c: Missing variable init 2002-10-02 Harald Radi * ext/com/COM.c: fixes bugs #19156 and #19544 2002-10-02 Marcus Börger * acinclude.m4 configure.in: Check for C99 conformance of snprintf. 2002-10-02 Sascha Schumann * acinclude.m4: Another Linux x86 system returns ELIMIT so we need to check errno as well before assuming that pread/pwrite work. * NEWS: Reflect actual stance wrt cli/cgi 2002-10-02 Yasuo Ohgaki * ext/pgsql/pgsql.c: Fixed pg_escape_typea() * ext/pgsql/pgsql.c: Clean up a little. 2002-10-02 Sascha Schumann * ext/session/config.m4 ext/session/mod_files.c acinclude.m4: The pread/pwrite macros check for a bug in the Linux glibc now. The bug causes the kernel not to return -1/EAGAIN. The new test case has been borrowed from the Linux Test Project. This also fixes a bug which apparently caused HAVE_PREAD/WRITE to be defined even if the more complex checks failed (ac_cv_func_NAME=no was set albeit with no difference). 2002-10-02 Yasuo Ohgaki * tests/func/006.phpt: Improve test to show output bufferring bypass bug clearly. * ext/pgsql/pgsql.c NEWS: Added pg_unescape_bytea(). Fixed pg_data_seek(). php_pgsql_unescape_bytea(PQunescapeBytea) is shamelessly stolen from PostgreSQL 7.3 :) * ext/pgsql/mysql_users.php: Add some example functions for mysql users. * NEWS: pg_data_seek() * ext/pgsql/php_pgsql.h ext/pgsql/pgsql.c: Added pg_data_seek(). pg_result_seek() woudl be better name, but there is mysql_data_seek()... * ext/pgsql/pgsql.c ext/pgsql/php_pgsql.h NEWS: Added pg_ping() * ext/pgsql/php_pgsql.h ext/pgsql/tests/11pg_meta_data.phpt ext/pgsql/tests/11pg_metadata.phpt ext/pgsql/tests/pg_meta_data.inc ext/pgsql/tests/pg_metadata.inc NEWS ext/pgsql/pgsql.c: Rename pg_metadata() to pg_meta_data() to confirm naming standard 2002-10-02 Jani Taskinen * run-tests.php: - Run ext/* tests only for those modules that are actually compiled into the php binary. (faster) - Skip search of .phpt files if they are passed as parameters 2002-10-01 Stefan Esser * ext/standard/filestat.c: repairing the chaos utime("filename", NULL) is not only valid but a MUST on linux if you are not the owner... 2002-10-01 Sascha Schumann * ext/session/mod_files.c: Disable pread/pwrite for now until we can clarify why it should be impossible to write a check for a broken OS feature. * ext/session/php_session.h ext/session/session.c: The session extension ensures now that get_session_var can rely on the state of $_SESSION/$HTTP_SESSION_VARS. It does not look up symbols in the global symbol table anymore. This was achieved by actually planting references between every $_SESSION["x"] and $x, not only when restoring a session, but also when registering a session variable (in a register_globals=1 context). Upon registering a new variable, this memory leak continues to show up, regardless of register_globals. ext/session/session.c(272) : Freeing 0x0818F01C (12 bytes), script=test Obviously, the newly allocated empty zval is not properly freed. If anyone has any idea on how to fix that, please step forward. 2002-10-01 Yasuo Ohgaki * tests/lang/031.phpt: WS and added missing output. It seems this bug is fixed in latest version at least. * main/output.c: FMH. Implicit flush. * main/output.c: MFH 2002-10-01 Zeev Suraski * ext/mbstring/php_unicode.c: Fix warnings 2002-10-01 Yasuo Ohgaki * NEWS: Bug fix * main/output.c: Fixed bug #17825. Double zval_ptr_dtor(). * NEWS: Implicit flush fix 2002-10-01 Jani Taskinen * configure.in: - Revert the removal of dlopen check here. 2002-10-01 Yasuo Ohgaki * main/output.c: Fixed implicit flush. 2002-10-01 Jani Taskinen * ext/standard/config.m4 configure.in: - Removed unnecessary dlopen checks. (this is done in Zend.m4 already) * NEWS: some typos fixed.. 2002-09-30 Yasuo Ohgaki * main/output.c: Users can shoot themselves by their own output handler always. Therefore, this check is overkill and it should be documented limitation, IMO. Anyway, a little optimization. 2002-09-30 David Reid * ext/standard/config.m4: Use the built in autoconf test for fnmatch. Simply using the AC_CHECK_FUNCS seems to give false positives on beos and reading the comments on other systems as well. 2002-09-30 Wez Furlong * ext/session/mod_files.c: Add header file required for pread/pwrite (on my system at least). * ext/zlib/zlib.c main/output.c: Fix infinite recursion bug when using zlib output compression. Cause: the chunk size is taken from the zlib.output_compression setting, which is 0 or 1. This causes the block_size for output buffer to be set to 0 (1 / 2) and thus causes infinite recursion in php_ob_allocate(). Solution: use a value of 0 for the chunk size which will use the default sizes. Also add a sanity check which will default the block_size to 1 if it ends up as 0. 2002-09-30 Edin Kadribasic * sapi/cgi/.cvsignore: Those can be safely ignored. 2002-09-30 Derick Rethans * ext/overload/php_overload.h: - Fix ZE2 build when overload is enabled 2002-09-30 Yasuo Ohgaki * NEWS: Fixed typo. 2002-09-30 Uwe Steinmann * ext/hyperwave/hw.c: - make_objrec_from_array() gets a second parameter to handle key/pairs of the form key=value and key:value. - Proper treatment of the attribute SQLStmt 2002-09-30 Yasuo Ohgaki * Makefile.global: Remove space * ext/pgsql/pgsql.c ext/pgsql/php_pgsql.h: Added pg_fetch_assoc(). Fixed proto. Added/fixed comments. 2002-09-30 Wez Furlong * NEWS: Even better. * NEWS: Slight grammar fix. 2002-09-30 Yasuo Ohgaki * NEWS: Consolidate some entries. * NEWS: Fixed my name :) * NEWS: Added pg_fetch_assoc() * ext/pgsql/pgsql.c: Use PGSQL_CONV_FORCE_NULL as it is supposed. PGSQL_CONV_FORCE_NULL inserts NULL to field instead of NULL string for string type tuples. * ext/pgsql/pgsql.c: Use of PGSQL_CONV_INGORE_NOT_NULL as it is supposed. Change comment a little. 2002-09-30 Tim Toohey * ext/gd/libgd/gd.c: fix gdImageCopyResampled() for non-constant alpha layer 2002-09-30 Derick Rethans * NEWS: - Rewording 2002-09-30 Sascha Schumann * ext/standard/url_scanner_ex.c: sync * ext/standard/url_scanner_ex.re: Fix my stupid mistake which broke handling * Makefile.global: Apparently, Solaris 2.6's find is overwhelmed with more than 2 -names per invocation (add some parantheses and it segfaults). And thus, we split the clean target up. 2002-09-30 Yasuo Ohgaki * ext/pgsql/pgsql.c: Fix TODO desc * ext/pgsql/pgsql.c: Remove unused def. Add TODO. * ext/pgsql/pgsql.c: Improve error message. Fix proto. 2002-09-30 Jon Parise * ext/standard/basic_functions.h ext/standard/basic_functions.c: - Added getopt() for parsing command line options and arguments. 2002-09-30 Jason Greene * ext/sockets/php_sockets.h ext/sockets/sockets.c: Fix thread safety issue 2002-09-30 Yasuo Ohgaki * NEWS: Added warning for CLI and CGI SAPI changes. Fixed wrong description for 4.2.0. 2002-09-30 Sascha Schumann * acinclude.m4: remove unused lines 2002-09-29 Wez Furlong * ext/ncurses/ncurses_functions.c: Prevent possible problems with two resource ids referencing the same panel. 2002-09-29 Jani Taskinen * sapi/nsapi/config.m4: Possible fix for #19290 2002-09-29 Ilia Alshanetsky * main/main.c: Fixed a mem leak inside the path resolving code. 2002-09-29 Markus Fischer * NEWS: - Update 2002-09-29 Ilia Alshanetsky * ext/standard/tests/math/floorceil.phpt: Removed the ceil(-0.5); test. The return value is depedant on system's libc and even when proper value '-0' is returned, var_dump() converts it to 0 anyway. 2002-09-29 Jani Taskinen * ext/session/session.c main/main.c: ws fix 2002-09-29 Ilia Alshanetsky * ext/standard/tests/math/floorceil.phpt: Corrected ceil(-0.5) output value, it is 0 not -0. 2002-09-29 Jani Taskinen * ext/fribidi/fribidi.c: Make it compile with the latest _release_ too.. 2002-09-29 Ilia Alshanetsky * ext/session/session.c: Fixed a crash, which would occur when save_handler is invalid. 2002-09-29 Sascha Schumann * Makefile.global: Fix some typos * sapi/fastcgi/Makefile.frag sapi/fastcgi/config.m4 win32/phpembed.dsp main/php_embed.c main/php_embed.h sapi/cgi/Makefile.frag sapi/cgi/config.m4 sapi/cli/Makefile.frag sapi/cli/config.m4 sapi/embed/config.m4 sapi/embed/php_embed.c sapi/embed/php_embed.h Makefile.global acinclude.m4 configure.in: Follow Yasuo's suggestion and build sapi program's under the sapi-specific directory. Move sapi-specific makefile fragments to their respective directory. Create an embed sapi module which resides in its own dir now. 2002-09-29 Ilia Alshanetsky * ext/session/session.c: Fixed bug #17281 * ext/session/session.c: Fixed bugs #16995 and #19392 * NEWS: Bug fixing news. * ext/gd/libgd/gd.c: Fixed bug #19366 2002-09-29 Derick Rethans * main/php_embed.c main/php_embed.h: - Fix Edin's name 2002-09-29 Edin Kadribasic * main/php_embed.c main/php_embed.h win32/phpembed.dsp Makefile.global configure.in: Added php/embed toolkit for embedding PHP engine into C/C++ applications. See my post to php-dev on the subject. 2002-09-28 Ilia Alshanetsky * NEWS: Bug fixing news 2002-09-28 Wez Furlong * ext/ncurses/ncurses_fe.c ext/ncurses/ncurses_functions.c ext/ncurses/php_ncurses_fe.h: Added ncurses_getyx(). * NEWS: WS * NEWS: More streams related news. * ext/standard/file.c ext/standard/file.h ext/standard/http_fopen_wrapper.c ext/standard/tests/file/userstreams.phpt main/user_streams.c ext/standard/basic_functions.c: Rename streams functions to fit with naming conventions, adding aliases for old functions where required. Make use of recent changes to chunk size and timeout setting code. * main/network.c main/php_network.h: remove chunk size setting code (it's now in streams.c). Move timeout setting code. * main/php_streams.h main/streams.c: Differentiate between write buffer and streams read buffer sizes. Add options for timeout and chunk size; previously these were only set-able for socket streams. 2002-09-28 Stig Bakken * pear/scripts/php-config.in: * added --libs option 2002-09-28 Ilia Alshanetsky * main/main.c: Fixed bug #13936 2002-09-28 Sergey Kartashoff * ext/mnogosearch/CREDITS ext/mnogosearch/php_mnogo.c: - Site mirror detection and popularity rank has been added to mnogosearch extension 2002-09-28 Wez Furlong * ext/ncurses/ncurses_functions.c: Fix crash bug and return value. 2002-09-28 Rasmus Lerdorf * main/fopen_wrappers.c: MFH fix for bug 19292 * main/fopen_wrappers.c: Uh, this is what I meant to do. Fix for #19292 * main/fopen_wrappers.c: Probable fix for bug #19292 2002-09-28 Tal Peer * ext/fribidi/fribidi.c: - Eliminated LFs 2002-09-28 James Moore * ext/fribidi/fribidi.c: Make ext/fribidi compile against latest fribidi CVS 2002-09-28 Marcus Börger * ext/iconv/tests/002.phpt: Synch with README.TESTING 2002-09-28 Wez Furlong * main/php_streams.h main/streams.c main/user_streams.c: Allow user streams/wrappers to implement fstat(), opendir() and stat(). * ext/standard/file.c: Add missing folding marker. 2002-09-28 Derick Rethans * NEWS: - Consistency 2002-09-28 Yasuo Ohgaki * ext/standard/dir.c: It must be GLOB_NOCHECK instead of GLOB_NOMATCH. GLOB_NOMATCH does not make sense at all. 2002-09-28 Markus Fischer * NEWS: - Don't forget whom to blame ... ;) 2002-09-27 Wez Furlong * ext/standard/basic_functions.c ext/standard/file.c ext/standard/file.h: Implement stream_select() which works just like socket_select, but only on streams. * ext/ncurses/ncurses.c ext/ncurses/ncurses_fe.c ext/ncurses/ncurses_functions.c ext/ncurses/php_ncurses.h ext/ncurses/php_ncurses_fe.h: More ncurses functions and constants. * ext/ncurses/config.m4 ext/ncurses/ncurses.c ext/ncurses/ncurses_fe.c ext/ncurses/ncurses_functions.c ext/ncurses/php_ncurses.h ext/ncurses/php_ncurses_fe.h: Implement some more window routines, add pad functions. Add panel functions when libpanel is also detected. Register STDSCR constant during ncurses_init(). 2002-09-27 Colin Viebrock * ext/standard/info.c: fix formating by breaking on to separate lines 2002-09-27 Edin Kadribasic * ext/gd/gd.dsp ext/gd/gd_bundled.dsp: (Edin) Fixed bug #19595 (Missing functions for GD2 format handling). 2002-09-27 Jani Taskinen * ext/standard/dir.c: ws 2002-09-27 Hartmut Holzgraefe * ext/standard/dir.c: /tmp/cvsmLUuXQ 2002-09-27 Edin Kadribasic * ext/standard/credits_ext.h ext/standard/credits_sapi.h: Update credits. * sapi/cli/CREDITS: Those two have enough credits already :) 2002-09-27 Tal Peer * ext/fribidi/CREDITS: - Fixed case in extension name 2002-09-27 Jani Taskinen * NEWS: style polizei 2002-09-27 Yasuo Ohgaki * ext/standard/dir.c: No need to define GLOB_NOMATCH. 2002-09-27 Derick Rethans * ext/ldap/config.m4: - Fix for bug #19633 (wrong directories in ext/ldap/config.m4). - Fix for bug #19633 (wrong directories in ext/ldap/config.m4). 2002-09-27 Wez Furlong * ext/sysvsem/sysvsem.c: Really *really* fix the segfault bug #17274 and bug #19627 this time. 2002-09-27 Jan Lehnardt * ext/standard/info.c: - be more conservative ;) 2002-09-27 Wez Furlong * NEWS: And a couple more. * NEWS: Add some bug #'s to make Markus happier :-) * EXTENSIONS: Typo 2002-09-27 Markus Fischer * NEWS: - Update. 2002-09-27 Dan Kalowsky * EXTENSIONS: They seem to be working... 2002-09-26 Colin Viebrock * NEWS: document changes 2002-09-26 Derick Rethans * win32/install.txt: - Added Sambar install notes (patch by Steffen ) 2002-09-26 Sebastian Bergmann * ext/standard/credits.c ext/standard/info.c ext/standard/info.h: Fix ZTS build. 2002-09-26 Colin Viebrock * ext/standard/info.h ext/standard/credits.c ext/standard/info.c: update credits page with proper HTML, fix HTML escaping, and a few tweaks 2002-09-26 Sebastian Bergmann * ext/standard/string.c: Fix warning. * ext/standard/html.c ext/standard/html.h ext/wddx/php_wddx_api.h ext/wddx/wddx.c: Fix ZTS build. 2002-09-26 Ilia Alshanetsky * ext/session/session.c: Fixed bug #11643 2002-09-26 Colin Viebrock * sapi/apache/php_apache.c ext/standard/css.c ext/standard/info.c main/php_ini.c sapi/aolserver/aolserver.c: fix phpinfo() output for better browser BC 2002-09-26 Jani Taskinen * ext/session/session.c: Fix bug: #14991 (changing session.use_trans_sid does not work in scripts) 2002-09-26 Wez Furlong * main/streams.c: Fix for #19580. (Incorrectly warning about lost data when that is not the case on systems without fopencookie). * ext/standard/html.c: Emit a warning when an unsupported charset is requested in htmlentities. Fixed #18521. 2002-09-26 Jani Taskinen * NEWS: style,consistency.. 2002-09-26 Derick Rethans * NEWS: - Cleaning up 2002-09-26 Tal Peer * ext/fribidi/fribidi.c: - Fixed fatal error 2002-09-26 Wez Furlong * ext/standard/file.h main/streams.c main/user_streams.c ext/standard/file.c: Fix segfault in wrapper error log mechanism when errors are logged on second and subsequent events. Implement very simple recursion protection for user streams written like this: class urlEncodeStream { var $fp = NULL; function stream_open($path, $mode, $options, &$opened_path) { $this->fp = fopen($path, $mode); // <-- this recurses infinitely return is_resource($this->fp); } } file_register_wrapper('urlencode', 'urlEncodeStream'); $fp = fopen('urlencode:///tmp/outputfile.txt', 'w'); Noticed by: Yasuo. 2002-09-26 Jan Lehnardt * ext/standard/dir.c: - GLOB_NOMATCH and GLOB_NOESCAPE are only defined in win32/glob.h - fixes build on FreeBSD 4.6 2002-09-26 Tal Peer * ext/fribidi/README ext/fribidi/fribidi.c: - Reverted back to old param parsing api (and eliminated a segfault by doing that) - Added the CapRTL charset -- should be used for testing on machines without Hebrew/Arabic/Persian fonts - Changed the note about deprecated behaviour from E_WARNING to E_NOTICE 2002-09-26 Wez Furlong * ext/standard/http_fopen_wrapper.c ext/standard/file.c ext/standard/file.h: Remove an unused variable and a now-unused function. * ext/bz2/bz2.c ext/standard/file.h ext/standard/ftp_fopen_wrapper.c ext/standard/http_fopen_wrapper.c ext/standard/php_fopen_wrapper.c ext/zlib/zlib_fopen_wrapper.c main/php_streams.h ext/standard/basic_functions.c ext/standard/file.c: Rename file_get_wrapper_data -> file_get_meta_data. It now always returns useful information for all streams. Unified that data with socket_get_status and made socket_get_status an alias for file_get_meta_data. Fix Location header following which was broken in this commit: http://cvs.php.net/diff.php/php4/ext/standard/http_fopen_wrapper.c?r1=1.41&r2=1.42&ty=h 2002-09-26 Yasuo Ohgaki * ext/standard/dir.c: Remove dup 2002-09-26 Hartmut Holzgraefe * EXTENSIONS: temporarily giving some orphands a new home 2002-09-26 Georg Richter * EXTENSIONS: maintainers for the famous mysql extension 2002-09-26 Markus Fischer * NEWS: - Add missing bug fixes. 2002-09-26 Sebastian Bergmann * ext/standard/dir.c: Fix ZTS build. Fix warning. 2002-09-26 Hartmut Holzgraefe * ext/standard/dir.c: fix windows build 2002-09-26 Markus Fischer * php.ini-recommended: - Merge url_rewriter.tags description from Sascha. 2002-09-26 Sebastian Bergmann * ext/mbstring/mbstring.dsp win32/php4dll.dsp win32/php4dllts.dsp: Sync MSVC project files. 2002-09-26 Tal Peer * ext/fribidi/EXPERIMENTAL: - Initial commit 2002-09-26 Wez Furlong * NEWS: Note that the GD functions now also work with remote files. * ext/mbstring/config.m4 ext/mbstring/mbstring.c ext/mbstring/mbstring.h ext/mbstring/php_unicode.c ext/mbstring/php_unicode.h ext/mbstring/unicode_data.h: (PHP mb_convert_case) Add function that will convert the case of a string Respecting it's encoding (or the internal encoding). 2002-09-26 Hartmut Holzgraefe * ext/standard/dir.c: glob should now be ZTS/open_basedir/safe_mode aware (finally) * ext/standard/file.c: symbolic constants for fnmatch flags added 2002-09-25 Yasuo Ohgaki * php.ini-dist: on -> On * php.ini-recommended: Merge changes from php.ini-dist 2002-09-25 Sascha Schumann * ext/ircg/ircg.c: Add support for LIST 2002-09-25 Andrey Hristov * ext/standard/tests/strings/001.phpt: Test case for strspn()/strcspn(). * ext/standard/string.c: Added common handler for strspn() and strcspn(). Almost of the code is identical. Modified to accept up to 4 params. Last 2 optional start & len. They are analogic to start & len of substr(). So the behavior when start & len are used is like strspn(substr($s,$start,$len),$good_chars) and strcspn(substr($s,$start,$len), $bad_chars) 2002-09-25 Sascha Schumann * php.ini-dist: add note about url_rewriter.tags 2002-09-25 Andrey Hristov * ext/standard/basic_functions.c ext/standard/php_string.h ext/standard/string.c: str_shuffle() function added. Like shuffle() for arrays - however the algorithm for creating the permutation is quite simple. More like the implementation of shuffle() for 4.2.1 . 2002-09-25 Andrei Zmievski * ext/standard/reg.h: *** empty log message *** 2002-09-25 Martin Jansen * pear/PEAR.php: * Fix bug #19269. This patch makes popErrorHandling() pop the first _two_ elements from the error handler stack to prevent un-necessary memory consumption. 2002-09-25 Sterling Hughes * EXTENSIONS: add two extensions - and orphan them. 2002-09-25 Sascha Schumann * NEWS main/main.c php.ini-dist: We are about to enter 2003, sending two-digit years does not make too much sense anymore. According to an article from '98, only Netscape 3.x was affected anyway. * EXTENSIONS NEWS: style police 2002-09-25 Wez Furlong * ext/standard/exec.c ext/standard/file.c ext/posix/posix.c ext/recode/recode.c ext/interbase/interbase.c ext/ming/ming.c ext/pdf/pdf.c ext/bz2/bz2.c ext/ftp/php_ftp.c: Make these all work with persistent streams too. * main/main.c main/network.c main/php.h main/php_network.h main/php_streams.h main/streams.c ext/standard/basic_functions.c ext/standard/file.c ext/standard/file.h ext/standard/fsock.c: Implement persistent streams. (for pfsockopen). Juggle some includes/definitions. Tidy up streams use in ext/standard/file.c 2002-09-25 Sterling Hughes * EXTENSIONS: if this makes people happier about me not working on these anymore, so be it :) 2002-09-25 Andrei Zmievski * ext/standard/reg.c ext/standard/reg.h: Fix bug #17570. 2002-09-25 Tal Peer * ext/fribidi/fribidi.c: - Update proto 2002-09-25 Ilia Alshanetsky * ext/session/session.c: Fixed bugs #18167 & #16859 2002-09-25 Sascha Schumann * ext/session/mod_files.c: Improve error messages 2002-09-25 Ilia Alshanetsky * ext/standard/datetime.c: prevent segv on Windows with negative localtime values. 2002-09-25 Sascha Schumann * ext/standard/url_scanner_ex.c: Sync * ext/standard/url_scanner_ex.re: Allow - as part of an attribute PR: #19573 * php.ini-dist ext/standard/url_scanner_ex.re: Fix #13472 by making it possible to append the stuff after
for xhtml compliance. * ext/standard/url_scanner_ex.c: Sync with .re * ext/standard/url_scanner_ex.re: Allow malformed HTML such as where ["'] are part of the attribute value. 2002-09-24 Ilia Alshanetsky * ext/standard/reg.c: Fixed bug #17957 2002-09-24 Zeev Suraski * ext/standard/basic_functions.c: Fix indirection 2002-09-24 Wez Furlong * ext/standard/html.c: Fix for #19570: last character in translation table is omitted. 2002-09-24 Sascha Schumann * ext/mime_magic/mime_magic.c: Fix typo * ext/mime_magic/config.m4: Replace underscores with dashes in --enable-mime-magic 2002-09-24 Wez Furlong * ext/standard/file.c: Fix EOL markers for file() so that Mac EOL work correctly. 2002-09-23 Jani Taskinen * NEWS: yadda yadda.. 2002-09-23 Wez Furlong * main/streams.c: Correct a buglet in the newly introduced buffer code. 2002-09-23 Jani Taskinen * ext/ldap/ldap.c: MFH: fix for bug #17915 2002-09-23 Tal Peer * ext/fribidi/fribidi.c: - Fixed build on Win32 (and made the ext use a newer API) - Various CS fixes - Converted the parameter parsing to the new API 2002-09-23 Wez Furlong * NEWS: include(URL). * main/streams.c: Ensure that the seekable stream returned for include("http://") under win32 is based on a temporary file rather than a memory stream. * main/php_streams.h: Enable include("http://....") under win32 by downloading to a temporary stream so that flex will get on nicely with the content. 2002-09-23 Ilia Alshanetsky * sapi/apache2filter/php_apache.h sapi/apache2filter/sapi_apache2.c: Fixed bug #17466 2002-09-23 Wez Furlong * NEWS: Reflect recent streams changes. * main/user_streams.c: Remove allow_url_fopen checks from the user streams code. Rationale: user streams might not be implementing network access, and the administrator can disable the file_register_wrapper function and other network access functions if s/he does not want to allow this functionality. * ext/standard/file.h: WS * main/streams.c ext/standard/basic_functions.h ext/standard/file.c ext/standard/file.h ext/standard/http_fopen_wrapper.c main/network.c php.ini-dist php.ini-recommended: Implement a default_socket_timeout and auto_detect_line_endings ini options. Also move user_agent from BG to FG. 2002-09-23 David Reid * sapi/apache2filter/config.m4: Allow this to build on beos with it's bizarre linking. 2002-09-23 Wez Furlong * ext/standard/basic_functions.c: basic_functions.c 2002-09-23 Sascha Schumann * sapi/thttpd/thttpd_patch: Force /nocache/ entities to be delivered completely, even if a broken proxy ignores our anti-cache headers and sends an IMS request. 2002-09-23 Wez Furlong * main/streams.c: Hopefully fix the other warnings that my last warning-fixing commit caused. 2002-09-23 Sascha Schumann * ext/standard/filestat.c: (PHP touch) Remove an extraneous time() call. Yasuo added this line in rev 1.90 for no apparent reason. 2002-09-23 Wez Furlong * ext/ftp/ftp.c main/streams.c main/php_streams.h: fix some warnings. 2002-09-23 Sebastian Bergmann * ext/standard/string.c: Fix warning. 2002-09-23 Zeev Suraski * main/output.c: Fix bug #19525 2002-09-23 Sascha Schumann * ext/session/session.c: (php_get_session_var) Always return FAILURE if no data source was found. Noticed by: Sebastian Bergmann 2002-09-23 Wez Furlong * ext/standard/tests/file/userstreams.phpt main/memory_streams.c main/php_streams.h main/streams.c main/user_streams.c: Revise buffer/seek code a little. Tidy up user streams even more. Make test case quite aggressive. 2002-09-23 Zeev Suraski * main/php_ini.c: Compat fix * sapi/cgi/cgi_main.c: We leak quite a few things intentionally, if you want to debug it - enable explicitly please.. 2002-09-23 Ilia Alshanetsky * sapi/apache2filter/sapi_apache2.c: Fixed bug #17662 2002-09-23 Jason Greene * ext/sockets/sockets.c ext/sockets/win32_socket_constants.h: Implement contstants on win32 2002-09-23 Wez Furlong * main/network.c main/php_network.h main/php_streams.h main/streams.c main/user_streams.c main/memory_streams.c ext/bz2/bz2.c ext/standard/file.c ext/standard/http_fopen_wrapper.c ext/standard/php_fopen_wrapper.c ext/zlib/zlib_fopen_wrapper.c ext/curl/curlstreams.c: Implement read buffering in streams. Eliminate similar code from network.c. Implement fgets equivalent at the streams level, which can detect the mac, dos and unix line endings and handle them appropriately. The default behaviour is unix (and dos) line endings. An ini option to control this behaviour will follow. 2002-09-23 Sascha Schumann * sapi/thttpd/thttpd.c: Use generic getnameinfo for address-to-name translation, if available. This adds support for IPv6 addresses. 2002-09-22 Ilia Alshanetsky * main/fopen_wrappers.c: Fixed bug #19395 2002-09-22 Derick Rethans * ext/gd/gd_bundled.dsp: - update project file (no precompiled headers) * ext/standard/mail.c: - Unbreak build 2002-09-22 James Cox * ext/standard/mail.c: typo 2002-09-21 Sascha Schumann * ext/ircg/ircg.c ext/ircg/php_ircg.h: (PHP) Add ircg_eval_ecmascript_params This function turns a flat ecmascript parameter string, including escapes back into an array. 5-10 times speedup when compared to user implementation. 2002-09-21 Derick Rethans * ext/standard/ftp_fopen_wrapper.c: - Fix ZTS build 2002-09-21 Ilia Alshanetsky * NEWS: news about various strip_tags() fixes. * ext/standard/tests/strings/strip_tags.phpt: Added a test script for strip_tags() function. * ext/standard/string.c: Fixed bug #7472 as well as many other bugs with strip_tags implementation. 2002-09-21 Sascha Schumann * sapi/thttpd/thttpd_patch: Immediately unmap /nocache/ entries, so that the mmc cache does not get polluted too much. 2002-09-21 Andrey Hristov * ext/standard/array.c: ws fixes. 2002-09-21 Ilia Alshanetsky * sapi/apache/mod_php4.c: Fixed bug #15038, original patch by: phpman@toowards.com * ext/standard/datetime.c: Fixed bug #12934 locatime() now returns an error message when passed a negative value. 2002-09-21 Sascha Schumann * ext/standard/formatted_print.c: Add '+' modifier. + A sign (+ or -) always be placed before a number produced by a signed conversion. By default a sign is used only for negative numbers. A + overrides a space if both are used. 2002-09-21 Markus Fischer * win32/sendmail.c: - Forgot to add an extra space. 2002-09-21 Andrey Hristov * ext/standard/tests/array/008.phpt: Test case for array_intersect() and array_intersect_assoc() * ext/standard/basic_functions.c ext/standard/php_array.h ext/standard/array.c: New function added - array_intersect_assoc() similar to array_intersect() but the keys are also used in the comparison. So the result is a subset of the result of array_intersect(). Test will be committed too. 2002-09-21 Tal Peer * ext/fribidi/fribidi.c: Changed version from NO_VERSION_YET to 0.1 2002-09-21 Sascha Schumann * ext/session/session.c: Because track vars are always initialized, get_session_var failed to work in the register_globals=1 case. It is now possible again to store session variables in global vars. 2002-09-21 Zeev Suraski * sapi/apache2filter/php_apache.h sapi/apache2filter/php_functions.c sapi/apache2filter/sapi_apache2.c: Fix double initialization 2002-09-20 Derick Rethans * win32/php4ts_cli.rc win32/php4dllts.rc win32/php4ts.rc: - Fix line-endings - Changed afxres.h to winres.h to make it compile when MFC is not installed (see http://www.winprog.org/tutorial/errors.html, "Fatal error RC1015: cannot open include file 'afxres.h'.") 2002-09-20 Sander Roobol * main/main.c: Changing the magic_quotes_gpc setting has no effect at USER level 2002-09-20 Jani Taskinen * ext/yaz/config.m4: fix typo 2002-09-20 Martin Kraemer * ext/cyrus/cyrus.c: Since the cyrus extension prints only one line, and no subsequent info, it should have a similar appearance as the other one-liners. Use php_info_print_table_row() instead of php_info_print_table_header(), as in the other extensions. 2002-09-20 Ilia Alshanetsky * ext/standard/string.c: Fixed bugs #12989 and #12120 2002-09-20 Sebastian Bergmann * win32/php4dll.dsp win32/php4dllts.dsp: Sync MSVC project files. 2002-09-20 Jani Taskinen * ext/yaz/config.m4: Added check for yaz version into configure. 2002-09-20 Ilia Alshanetsky * ext/gd/gd.c: Fixed bug #19487 2002-09-20 Jani Taskinen * ext/gd/gd.c: MFH * ext/gd/gd.c: Added missing convert_to_* funcs. (should fix some crashes) 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