2003-02-14 Ilia Alshanetsky * ext/mysqli/php_mysqli.h: Allow mysqli to be built when imap (c-client) is used. * ext/ftp/ftp.c ext/ftp/php_ftp.c ext/mysqli/mysqli_api.c: CS fixes. * ext/mysqli/mysqli.c ext/mysqli/mysqli_api.c: Fixed compile warnings. 2003-02-14 Georg Richter * ext/mysqli/tests/045.phpt: test for bind_result with show 2003-02-14 Moriyoshi Koizumi * (PHP_4_3) NEWS: Slight fix for consistency * (PHP_4_3) NEWS: BFN 2003-02-14 Marcus Boerger * ext/standard/image.c: a little bit slower but somewhat tricky and more flexible and it does not allocate static buffers anymore 2003-02-14 Moriyoshi Koizumi * (PHP_4_3) ext/standard/string.c: Fixed wrong commit: s/&/*/ * (PHP_4_3) ext/standard/string.c: MFH(r1.358): Fixed a str_replace() bug similar to bug #22224 * ext/standard/string.c: Fixed a str_replace() bug similar to bug #22224 * (PHP_4_3) ext/standard/string.c ext/standard/tests/strings/bug22224.phpt: MFH(r1.357): Fixed bug #22224 MFH: Added test case for the bug * ext/standard/string.c ext/standard/tests/strings/bug22224.phpt: Fixed bug #22224 (implode changes object references in array) Added test case for the bug 2003-02-14 Ilia Alshanetsky * ext/mysqli/mysqli_nonapi.c: Fixed a typo. 2003-02-14 Georg Richter * ext/mysqli/mysqli_nonapi.c: fixed compiler warning * ext/mysqli/mysqli_api.c: fixed a bug in mysqli_fetch removed c++ comment (thx to Jani :) fixed compiler warning 2003-02-14 Ilia Alshanetsky * ext/mysqli/mysqli.c ext/mysqli/mysqli_api.c ext/mysqli/mysqli_nonapi.c ext/mysqli/php_mysqli.h: Missing portion of the previous patch. * ext/mysqli/php_mysqli.h: Buncha Fixes. * Fixed a number of memory leaks. * Fixed some php_error_docref() calls that tried to print non-existent arguments. * Fixed some signed/unsigned problems. * Fixed the MYSQLI_FETCH_RESOURCE macro so that compilers do not complain about un-initialized variables. * CS fixes. 2003-02-14 Georg Richter * ext/mysqli/mysqli_api.c: bind_result fix * ext/mysqli/mysqli.c: fixed a bug in prepare/bind 2003-02-14 Jani Taskinen * sapi/cgi/cgi_main.c: MFB * (PHP_4_3) sapi/cgi/cgi_main.c: Added missing $Id$ tag 2003-02-14 Thies C. Arntzen * .gdbinit: add really nice dump_bt function for debugging in gdb 2003-02-14 Jani Taskinen * (PHP_4_3) configure.in ext/standard/config.m4: - MFH, do not add libcrypt if crypt() is provided by libc. * configure.in ext/standard/config.m4: - Don't add libcrypt if the crypt() function is provided already. (by libc, like in HP-UX) 2003-02-13 Sara Golemon * ext/ftp/ftp.c: MFB(r-1.68.2.5) Bug 22052 * (PHP_4_3) ext/ftp/ftp.c: Buf #22052 More casual efree()ing causing segfaults 2003-02-13 Marcus Boerger * ext/domxml/php_domxml.c: pass tsrmls instead of fetching it always 2003-02-13 Wez Furlong * main/streams.c: MFB: Fix for bug #22199 * (PHP_4_3) main/streams.c: Fix for Bug #22199 (fputs() + fgets() destroys readbuffer for non-seekable streams). 2003-02-13 Jani Taskinen * (PHP_4_3) NEWS: typofix 2003-02-13 Sara Golemon * NEWS ext/ftp/ftp.c: Bug #22059. ftp_chdir() causes segfault. efree(ftp->pwd) was being called without knowing for certain that ftp->pwd actually pointed anywhere. 2003-02-13 Marcus Boerger * sapi/cgi/cgi_main.c: fix non FCGI build 2003-02-13 Ilia Alshanetsky * ext/standard/tests/strings/bug22187.phpt: Added test case for bug #22187. * main/snprintf.c: Modified fix for bug #22187 so that it does not affect handling of numbers represented in scientific notation. 2003-02-13 Jani Taskinen * ext/standard/tests/strings/crypt.phpt: Added test for those different crypt() methods. Hopefully I got the results right. 2003-02-13 Georg Richter * ext/mysqli/tests/connect.inc: include file for test 2003-02-13 Shane Caraveo * sapi/cgi/cgi_main.c: There is *absolutely no* definitive way to know if argv0 is the actual php script, or if it is the beginning of a query string. Additionaly, passing parameters on the command line is not part of CGI spec, and is not required by either Apache or IIS. So I have removed that code altogether, and done some further cleanup. Also fix pre4.3 behaviour if fix_pathinfo=0. I've tested with IIS and Apache 1.3.27 on w2k and RH 7.3. 2003-02-13 Ilia Alshanetsky * ext/rpc/com/variant.c: Fixed warnings. 2003-02-13 Wez Furlong * main/php_open_temporary_file.c: Another IS_SLASH fix. 2003-02-13 Ilia Alshanetsky * (PHP_4_3) NEWS: Bug fixing news. * ext/standard/formatted_print.c ext/standard/tests/strings/bug22207.phpt: Fixed bug #22207 (e notation in *printf would be missing a 0 when there is no exponent). Added a test case for the bug. 2003-02-13 Wez Furlong * main/streams.c: A probable cure for many getcwd/relative include related problems for win32. 2003-02-13 Ilia Alshanetsky * main/spprintf.c: PAD() macro didn't increase the buffer size resulting in loss of the padding. 2003-02-13 Edin Kadribasic * ext/mysqli/mysqli_api.c: Use my_ulonglong instead of unsigned long long to make msvc++ happy. 2003-02-13 Jani Taskinen * NEWS: change history * (PHP_4_3) NEWS: altering history.. 2003-02-13 Harald Radi * (PHP_4_3) ext/standard/info.c: add missing include 2003-02-13 Edin Kadribasic * ext/mysqli/.cvsignore: Adding missing .cvsignore 2003-02-13 Ilia Alshanetsky * main/streams.c: Fixed a typo. * main/streams.c: Simplified the mode validation code & added support for read+write mode to 'x' mode. * ext/rpc/com/variant.c: Added missing header needed for rpc_error(). 2003-02-13 Wez Furlong * main/streams.c: Clarify error message. 2003-02-13 Edin Kadribasic * ext/mysqli/mysqli.dsp: Initial windows project file 2003-02-13 Ilia Alshanetsky * ext/standard/ftp_fopen_wrapper.c ext/standard/http_fopen_wrapper.c main/streams.c: Added 'x' mode for fopen() used on local files. This mode will create a new file only if a file does not already exist (O_CREAT|O_EXCL). 2003-02-13 Wez Furlong * main/network.c: Potential fixes for #21809 and #22099. * ext/standard/php_fopen_wrapper.c: Use FILE*-less implementation for php://(stdin|stdout|stderr) * (PHP_4_3) ext/standard/http_fopen_wrapper.c: partial MFH: avoid problems with auto_detect_line_endings. * main/php_streams.h main/streams.c: Moving away from ANSI stdio for plain files. * ext/standard/http_fopen_wrapper.c: Avoid problems with chunk_size and auto_detect_line_endings. * (PHP_4_3) ext/standard/config.m4: MFH: cli should be allowed to use chroot() function. * ext/standard/config.m4: cli should be allowed to have the chroot() function. * main/streams.c: Whitespace-fix these goto labels. 2003-02-13 Uwe Steinmann * (PHP_4_3) NEWS ext/hwapi/hwapi.cpp: - Some functions with objects as its parameters didn't recognize them as such 2003-02-13 Wez Furlong * win32/installer/gen-nsis.php: Update installer so that no extensions are enabled by default. 2003-02-13 Georg Richter * ext/mysqli/tests/001.phpt: removed warnings (unused vars) 2003-02-13 Uwe Steinmann * ext/hwapi/hwapi.cpp: - added more missing strcmp() 2003-02-13 Jani Taskinen * sapi/apache/config.m4: Added HAVE_APACHE define. * (PHP_4_3) ext/standard/image.c ext/standard/php_image.h 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/test1pix.jp2: - MFH: improved jpeg 2000 and wbmp support for getimagesize() * NEWS: Merged these to 4.3.x branch * ext/standard/image.c: ws fix * (PHP_4_3) NEWS: clean.. 2003-02-13 Sascha Schumann * sapi/thttpd/thttpd_patch: include limits.h for portability * sapi/thttpd/config.m4: portability work 2003-02-13 Wez Furlong * (PHP_4_3) NEWS: Fixed that one... 2003-02-13 Georg Richter * ext/mysqli/tests/042.phpt ext/mysqli/tests/043.phpt ext/mysqli/tests/044.phpt: new tests 2003-02-13 Wez Furlong * main/streams.c: Fix for Bug #21815 (fpassthru ignored buffered data but then complained anyway) 2003-02-13 Sara Golemon * (PHP_4_3) ext/standard/http_fopen_wrapper.c: Reverting earlier patch to reintroduce buggy behavior (yes, you heard that right) of filtered http streams in favor of performance. This has little consequence given limited filter support in 4.3 branch. Filters will be redesigned in 5.0 release. For more information see Wez, Ilia, or myself. 2003-02-13 Georg Richter * ext/mysqli/mysqli_api.c ext/mysqli/mysqli_fe.c ext/mysqli/php_mysqli.h: added new function int mysql_get_server_version this function is available since libmysql change set 1.1450 (2002-02-13) 2003-02-12 Georg Richter * ext/mysqli/mysqli_fe.c: changed function entries for statements 2003-02-12 Ilia Alshanetsky * (PHP_4_3) NEWS NEWS: Bug fixing news. * ext/fbsql/php_fbsql.c: Fixed bug #22191 (frontbase build was broken for people using older versions). * main/snprintf.c: Fixed bug #22187 (spprintf function did not handle floats correctly). 2003-02-12 Sascha Schumann * main/spprintf.c: - trims +100 lines of code from spprintf.c - introduces an overflow detection in STR_TO_DEC - eliminates dead code (e.g. assert(foo); if (foo) {..}) - removes unused macros from the original code - simplifies code (e.g. cc was completely dropped) - improves run-time performance The max_len feature is never used in our code base. Nevertheless, cpu cycles were spent on each string operation to check the current length against max_len which is quite inefficient. Thus, I've moved the check to vspprintf where it is applied only once per call. 2003-02-12 Mark L. Woodward * ext/msession/config.m4: Fix for GCC 3 2003-02-12 Jani Taskinen * sapi/apache/config.m4: Fixed the "member fd in BUFF" test for --with-apxs builds 2003-02-12 Derick Rethans * ext/mysqli/config.m4: - Let's add the config.m4 file too :-) 2003-02-12 Jani Taskinen * sapi/cli/.cvsignore: added missing entry * (PHP_4_3) NEWS: add blame tag 2003-02-12 Ilia Alshanetsky * ext/standard/url_scanner_ex.c ext/standard/url_scanner_ex.re: Fixed bug #22048 (incorrect insertion of session id when tabs are used to separate tag elements). 2003-02-12 Uwe Steinmann * ext/hwapi/hwapi.cpp: - Fixed compile errors and some oddities like missing strcmp 2003-02-12 Georg Richter * ext/mysqli/tests/036.phpt ext/mysqli/tests/037.phpt ext/mysqli/tests/038.phpt ext/mysqli/tests/039.phpt ext/mysqli/tests/040.phpt ext/mysqli/tests/041.phpt: added new tests * ext/mysqli/mysqli_api.c ext/mysqli/mysqli_fe.c ext/mysqli/php_mysqli.h: removed function mysql_num_warnings (libmysql change). 2003-02-12 Jani Taskinen * sapi/cli/Makefile.frag sapi/cli/config.m4 sapi/cli/php.1 sapi/cli/php.1.in: "Generate" the man page so that it gets correct version always. * NEWS: Man page is added in 4.3.1, moved this entry to branch * sapi/cli/Makefile.frag sapi/cli/config.m4: - Added the man page installation * (PHP_4_3) Makefile.global: MFH: Use $(INSTALL) for installing shared extensions. * ext/yaz/config.m4: Fix obvious errors.. * NEWS: news news news.. 2003-02-12 Georg Richter * ext/mysqli/tests/001.phpt ext/mysqli/tests/002.phpt ext/mysqli/tests/003.phpt ext/mysqli/tests/004.phpt ext/mysqli/tests/005.phpt ext/mysqli/tests/006.phpt ext/mysqli/tests/007.phpt ext/mysqli/tests/008.phpt ext/mysqli/tests/009.phpt ext/mysqli/tests/010.phpt ext/mysqli/tests/011.phpt ext/mysqli/tests/012.phpt ext/mysqli/tests/013.phpt ext/mysqli/tests/014.phpt ext/mysqli/tests/015.phpt ext/mysqli/tests/016.phpt ext/mysqli/tests/017.phpt ext/mysqli/tests/018.phpt ext/mysqli/tests/019.phpt ext/mysqli/tests/020.phpt ext/mysqli/tests/021.phpt ext/mysqli/tests/022.phpt ext/mysqli/tests/023.phpt ext/mysqli/tests/024.phpt ext/mysqli/tests/025.phpt ext/mysqli/tests/026.phpt ext/mysqli/tests/027.phpt ext/mysqli/tests/028.phpt ext/mysqli/tests/029.phpt ext/mysqli/tests/030.phpt ext/mysqli/tests/031.phpt ext/mysqli/tests/032.phpt ext/mysqli/tests/033.phpt ext/mysqli/tests/034.phpt ext/mysqli/tests/035.phpt: adding a few tests * ext/mysqli/CREDITS ext/mysqli/EXPERIMENTAL ext/mysqli/TODO ext/mysqli/mysqli.c ext/mysqli/mysqli_api.c ext/mysqli/mysqli_fe.c ext/mysqli/mysqli_nonapi.c ext/mysqli/php_mysqli.h: initial upload 2003-02-11 Sascha Schumann * configure.in: supply mandir to makefile 2003-02-11 Moriyoshi Koizumi * (PHP_4_3) main/SAPI.c: MFH: reverted my patch & applying a new patch by Stefan Esser 2003-02-11 Ilia Alshanetsky * (PHP_4_3) NEWS: Bug fixing news. * ext/imap/php_imap.c: Fixed bug #22048 (crash in imap_headers when the e-mail contains an abnormally large number of special characters). * NEWS: New function news. * ext/standard/basic_functions.c ext/standard/php_string.h ext/standard/string.c: Added strpbrk(), which is essentially a wrapper around C's strpbrk function that allows searching through a string for a character list. 2003-02-11 Stefan Esser * main/SAPI.c: size matters not. * main/SAPI.c: 8 + 20 + 1 + 1 = 30 There was no Bufferoverflow on 64bit systems. And the "fix" broke the header code on systems with old style snprintf. 2003-02-11 Jani Taskinen * configure.in build/buildcheck.sh: - Fixed some weird crashes causd by the new default behaviour of libtool 1.4.3 - Require libtool 1.4.3 or newer from now on. 2003-02-11 Marcus Boerger * sapi/cli/php_cli.c: Make that clear * sapi/cli/php.1: Document -H added by Ilia * main/spprintf.c: speed up 2003-02-11 Melvyn Sopacua * ext/xslt/TODO: Update time 2003-02-11 Ian Holsman * sapi/apache2handler/.cvsignore sapi/apache2handler/CREDITS sapi/apache2handler/README sapi/apache2handler/apache_config.c sapi/apache2handler/config.m4 sapi/apache2handler/php.sym sapi/apache2handler/php4apache2.dsp sapi/apache2handler/php_apache.h sapi/apache2handler/php_functions.c sapi/apache2handler/sapi_apache2.c: initial checkin of the apache2 SAPI using a handler instead of filters. TBD: src highlighting better post handling 2003-02-11 Ilia Alshanetsky * sapi/cli/php_cli.c: Added -H option to CLI binary. This option can be used to hide any arguments including the script name passed to the CLI binary. 2003-02-11 Jani Taskinen * (PHP_4_3) NEWS NEWS: fugbix news 2003-02-11 Zeev Suraski * ext/rpc/rpc.c: Fix random crashes 2003-02-11 Moriyoshi Koizumi * ext/mbstring/mbstring.c: Fixed ZTS build 2003-02-11 Jani Taskinen * ext/readline/config.m4: - There's no point in allowing using both --with-readline and --with-libedit the same time. Prefer --with-readline. - Use PHP_ADD_LIBRARY when there is no path available. * (PHP_4_3) NEWS: Moved one entry from HEAD here.. * NEWS: moved entry to branch NEWS * (PHP_4_3) ext/ingres_ii/ii.c: MFH: - Fixed bug: #21549 (problem with Ingres II persistent connections) * ext/ingres_ii/ii.c: - Fixed bug: #21549 (problem with Ingres II persistent connections) 2003-02-11 Sascha Schumann * sapi/apache/config.m4: move check to proper place * sapi/apache/config.m4 sapi/apache/mod_php4.c: Detect whether BUFFs contain a fd element. IBM is hiding the actual descriptor behind a void *, so we just disable this for IBM servers 2003-02-11 Frank M. Kromann * ext/mssql/php_mssql.c ext/mssql/php_mssql.c: Bug #20426. Convert SMALLDATETIME correct 2003-02-11 Stig Bakken * pear/Makefile.frag: - clean up so Jani is not so confused 2003-02-11 Sascha Schumann * sapi/thttpd/thttpd_patch: Add "log to stdout" feature 2003-02-11 Harald Radi * ext/rpc/handler.h ext/rpc/rpc.c ext/rpc/rpc.h: clean up source and improve hashing for implicitly created objects (aka return values) * ext/rpc/com/com.c ext/rpc/com/com.h: improved reverse lookup of ProgID based on an IDispatch pointer 2003-02-11 Sascha Schumann * php.ini-dist php.ini-recommended: update regarding session.save_path * ext/session/mod_files.c: support setting the filemode using session.save_path * ext/session/php_session.h ext/session/session.c: use appropiate prefixes in the ps_module structure so we don't clash with syscalls 2003-02-11 Jani Taskinen * NEWS: fix news entry per for file() parameter.. * (PHP_4_3) NEWS: dots..I love ya.. * NEWS: Blah * NEWS: krhm.. 2003-02-10 Wez Furlong * ext/rpc/com/com_wrapper.c: fix rpc_error call 2003-02-10 Ilia Alshanetsky * ext/standard/file.c ext/standard/file.h: Merged the flags for the file() function into a single flag. 2003-02-10 Harald Radi * ext/rpc/handler.h ext/rpc/php_rpc.h ext/rpc/rpc.c ext/rpc/rpc.h ext/rpc/rpc_proxy.c ext/rpc/com/com.c ext/rpc/com/com_wrapper.c ext/rpc/com/conversion.c ext/rpc/com/variant.c ext/rpc/com/variant.h: a bunch of fixes * ext/rpc/skeleton/skeleton.c: s/com/skeleton/ is not always a good idea 2003-02-10 Wez Furlong * ext/rpc/com/com.c: byref really means that we want the zval... 2003-02-10 Moriyoshi Koizumi * main/SAPI.c: Fixed possible snprintf problem * (PHP_4_3) main/SAPI.c: MFH: fixed possible buffer overflow in 64bit systems * main/SAPI.c: Fixed possible buffer overflow in 64bit systems * NEWS NEWS: dot dot dot.. * NEWS: MFB: Fixed typo * (PHP_4_3) NEWS: Fixed typo 2003-02-10 Sara Golemon * (PHP_4_3) NEWS: Bug 22141 2003-02-10 Moriyoshi Koizumi * main/SAPI.c: Jani happification * NEWS: New function 2003-02-10 Sara Golemon * (PHP_4_3) ext/standard/string.c: Partial MFH. Deprecated BM algo for str_replace can hang execution. See Bug#22141 2003-02-10 Moriyoshi Koizumi * sapi/apache2filter/sapi_apache2.c: Removed unnecessary code * ext/zlib/php_zlib.h ext/zlib/zlib.c main/SAPI.c: Fixed zlib.output_compression so it can work even if zlib extension is built as shared 2003-02-10 Melvyn Sopacua * Makefile.global: MFB: disable output buffering * (PHP_4_3) Makefile.global: Make sure we're not buffering stuff 2003-02-10 Wez Furlong * ext/rpc/com/com.c: Implement com_describe 2003-02-10 Jani Taskinen * (PHP_4_3) acinclude.m4 config.guess config.sub configure.in ltmain.sh: - MFH: libtool upgrade to 1.4.3 * acinclude.m4 configure.in ltmain.sh: - Updated libtool to 1.4.3 which has test for the sed problem.. 2003-02-10 Jon Parise * ext/pgsql/pgsql.c: Correct the spelling of 'supported'. 2003-02-10 Stig Bakken * pear/PEAR.php: - update PEAR::isError phpdoc * pear/PEAR.php: - PEAR::isError accepts second parameter that will be matched against the error code. PEAR::isError($obj, FOO) will return true if $obj is an error object, and $obj->getCode() returns FOO. * pear/install-pear.txt: - the "a" in "pear" is "application" now 2003-02-10 Wez Furlong * ext/rpc/com/com_wrapper.c: Error reporting clean up * ext/rpc/rpc.c: Newly created objects should use a separate function_table from the global class entry table. For objects instantiated via new, make sure that intern->function_table uses the newly created table when the class is registered. For generic per-object hashing, copy the ce->function_table into intern->function_table. * ext/rpc/com/com.c ext/rpc/com/com_wrapper.c: Error reporting leaks and cleanup 2003-02-10 Zeev Suraski * tests/lang/bug21961.phpt: Fix the test 2003-02-10 Wez Furlong * ext/openssl/openssl.c: Add additional optional parameter to openssl_pkcs7_encrypt to specify the cipher. The cipher can be one of the constants listed below. Based on a patch from: stefan at cuba dot ionum dot ch OPENSSL_CIPHER_RC2_40, (the default) OPENSSL_CIPHER_RC2_128, OPENSSL_CIPHER_RC2_64, OPENSSL_CIPHER_DES, OPENSSL_CIPHER_3DES, proto bool openssl_pkcs7_encrypt(string infile, string outfile, mixed recipcerts, array headers [, long flags [, long cipher]]) 2003-02-10 Harald Radi * (PHP_4_3) NEWS: 18 times the speed of light 2003-02-10 Hartmut Holzgraefe * ext/fdf/fdf.c: proto fixes 2003-02-10 Jani Taskinen * ext/notes/php_notes.c: some win32 fixes by Kai 2003-02-10 Wez Furlong * win32/installer/gen-nsis.php win32/installer/setini.php: Fix php.ini customization. Apparently, it seems that running the php script with output captured to the log prevented it from working correctly. Also, deletes the php.ini when uninstalled. TODO: The defaults install and activate all extensions. This is a problem for those extension that require non-bundled .dlls (such as OCI). 2003-02-09 Jani Taskinen * (PHP_4_3) sapi/nsapi/nsapi.c: MFH (ws fixes, but merged to ease any fix patch merging) * sapi/nsapi/nsapi.c: style, ws * sapi/nsapi/nsapi.c: Some compilers puke on these.. * (PHP_4_3) sapi/nsapi/nsapi.c: MFH: Fixed _SERVER[] variables, memleaks 2003-02-09 Harald Radi * ext/rpc/rpc.c: fix a memleak 2003-02-09 Wez Furlong * ext/standard/file.c: ZTS fix 2003-02-09 Jani Taskinen * NEWS: We move, fix, change or add stuff * (PHP_4_3) NEWS: sex with punctuation mark.. 2003-02-09 Kai Schröder * ext/standard/datetime.c ext/standard/datetime.c: fix for #17928 2003-02-09 Wez Furlong * ext/rpc/com/com.c ext/rpc/com/com_wrapper.c ext/rpc/com/variant.h: Fix various little leaks and segfaults. Fix scripts like this: $obj = new COM('Foo'); $obj2 = $obj->get_object(); $obj2->method(); // <-- would segfault here * ext/rpc/handler.h ext/rpc/rpc.c: Add get_class_name handler so that the current var_dump implementation does not segfault. Add a generic rpc_object_from_data() function for generating rpc objects from C code (as discussed with Harald). * ext/rpc/rpc_proxy.c: Fix some warnings 2003-02-09 Sascha Schumann * main/SAPI.c sapi/apache/mod_php4.c sapi/thttpd/thttpd.c: use SUCCESS/FAILURE instead of 0/-1 2003-02-09 Ilia Alshanetsky * (PHP_4_3) NEWS: Bug fixing news. * NEWS: New features. * ext/standard/basic_functions.c ext/standard/file.c ext/standard/file.h main/php_streams.h main/streams.c: Added feature request #9173 (added stream_get_line(), this function will read either the specified number of bytes or until the ending string is found). * ext/standard/file.c: Added feature request #17983 (optional parameter to mkdir() that makes directory creation recursive). Fixed prototype for file() function. 2003-02-09 Jani Taskinen * NEWS: order, style.. 2003-02-09 Ilia Alshanetsky * ext/standard/file.c: Added feature request #14097 (option allowing file() command not to include line endings in it's output. As well as another option, which allows blank lines to be excluded from the output). 2003-02-09 Jani Taskinen * ext/dba/config.m4: break: First one not needed, second missing. 2003-02-09 Shane Caraveo * NEWS: news entry for previous commit 2003-02-09 Jani Taskinen * (PHP_4_3) ext/mime_magic/mime_magic.c ext/standard/aggregation.c ext/standard/basic_functions.c ext/standard/image.c main/SAPI.c main/output.c: MFH: fixed compile failures when ZLIB/PCRE are compiled as shared in same build. * ext/mime_magic/mime_magic.c ext/standard/aggregation.c ext/standard/basic_functions.c ext/standard/image.c main/SAPI.c main/output.c: Fixed compile failures when ZLIB / PCRE are compiled as shared extensions in same build. * ext/standard/aggregation.c: Let this compile even if PCRE is compiled as shared in same build. * ext/pcre/config.m4: Fixed bug #22131, enable use of shared lib with pcre. 2003-02-09 Marcus Boerger * ext/gd/libgd/gd.c: Kill some warnings * ext/gd/gd_bundled.dsp: XBM for win 2003-02-09 Kai Schröder * ext/standard/tests/file/003-win32.phpt: shane added is_executable() for windows last night * ext/standard/tests/file/003.phpt: reverting to version 1.5; shane added is_executable() for windows last night * ext/standard/tests/general_functions/007.phpt ext/standard/tests/general_functions/007.phpt: newlines changed * ext/standard/tests/general_functions/getopt.phpt ext/standard/tests/general_functions/getopt.phpt: getopt() is currently not available on Windows * (PHP_4_3) ext/standard/tests/file/001-win32.phpt ext/standard/tests/file/001.phpt: there are no symlinks on Windows * ext/standard/tests/file/001-win32.phpt ext/standard/tests/file/001.phpt: there are no symlinks on Windows * ext/standard/tests/file/003-win32.phpt ext/standard/tests/file/003.phpt: is_executable() does not exist on Windows * ext/standard/tests/file/003-win32.phpt ext/standard/tests/file/003-win32.phpt ext/standard/tests/file/003.phpt: file 003-win32.phpt was initially added on branch PHP_4_3. * ext/standard/tests/time/002.phpt ext/standard/tests/time/002.phpt: die() to skip second message * ext/standard/datetime.c ext/standard/datetime.c: MSVC's mktime() does not examine the existence of a daylight-saving-time zone * ext/standard/tests/time/003.phpt ext/standard/tests/time/003.phpt: Windows doesn't know timezone CET * ext/standard/tests/time/002.phpt ext/standard/tests/time/002.phpt: skip for Windows (does not support dates prior to midnight, January 1, 1970) * ext/standard/tests/time/002-win32.phpt: Windows does not support dates prior to midnight, January 1, 1970 * ext/standard/tests/time/mktime.phpt: test for mktime() 2003-02-09 Derick Rethans * ext/mssql/php_mssql.c ext/mssql/php_mssql.c: - Whitespace fixes 2003-02-09 Kai Schröder * ext/standard/tests/time/mktime.phpt ext/standard/tests/time/mktime.phpt: file mktime.phpt was initially added on branch PHP_4_3. * ext/standard/tests/time/002-win32.phpt ext/standard/tests/time/002-win32.phpt: file 002-win32.phpt was initially added on branch PHP_4_3. 2003-02-09 Frank M. Kromann * ext/mssql/php_mssql.c ext/mssql/php_mssql.c: cleanup variable initializations * ext/mssql/php_mssql.c ext/mssql/php_mssql.c: Fixing coredump when no php.ini file is used * ext/mssql/config.m4 ext/mssql/php_mssql.h: MFB 2003-02-09 Yasuo Ohgaki * ext/pgsql/pgsql.c: Fixed one more improper row offset handling. 2003-02-09 Frank M. Kromann * (PHP_4_3) ext/mssql/php_mssql.h: DBFLT4 is not defined in FreeTDS. Needed for real data types * (PHP_4_3) ext/mssql/config.m4: Fixing autodetect of FreeTDS 2003-02-09 Yasuo Ohgaki * ext/pgsql/pgsql.c: Fixed improper result offset handling. Prevent error when connection is broken. (optional) 2003-02-09 Frank M. Kromann * ext/mssql/php_mssql.c ext/mssql/php_mssql.c ext/mssql/php_mssql.h ext/mssql/php_mssql.h: Bug #21707 problem with real * ext/gd/gd.dsp ext/gd/gd_bundled.dsp: Syncronize with branch * (PHP_4_3) ext/gd/gd.dsp: Fixing build with GD 2.0.11 * (PHP_4_3) ext/gd/gd_bundled.dsp: Adding missing HAVE_GD_STRINGFTEX define * (PHP_4_3) ext/gd/gd.dsp ext/gd/gd_bundled.dsp: Adding some missing defines to enable functions. Fixing bug #22130 2003-02-09 Shane Caraveo * ext/standard/basic_functions.c ext/standard/filestat.c ext/standard/php_filestat.h: is_executable() now available on win32 stats can now get information provided by access() * run-tests2.php: whitespace changes 2003-02-08 Sascha Schumann * ext/gettext/gettext.c: Fix segfault in bindtextdomain when first parameter was empty. The Linux man page states: domainname must be a non-empty string. Noticed by: Nils Meyer 2003-02-08 Marcus Boerger * sapi/cli/php.1: Style corrections See also: Stig's intro Version info 2003-02-08 Jani Taskinen * ext/standard/string.c: style & ws fixes 2003-02-08 Pierre-Alain Joye * (PHP_4_3) ext/gd/libgd/gd.c ext/gd/libgd/gd.h: MFH: Add gdImageEllipse Replace gdImageFilledEllipse by a new function (backported from the new phpgd) the new gdImageFilledEllipse fix bug bug #22103 (ellipse part) * ext/gd/libgd/gd.c ext/gd/libgd/gd.h: Add gdImageEllipse Replace gdImageFilledEllipse by a new function (backported from the new phpgd) the new gdImageFilledEllipse fix bug bug #22103 (ellipse part) 2003-02-07 Sara Golemon * ext/standard/http_fopen_wrapper.c: chunk_size should always be reduced to 1 while scanning response headers to avoid buffering the actual stream prior to any read calls. 2003-02-07 Ilia Alshanetsky * main/php_streams.h: Added missing definitions. 2003-02-07 Marcus Boerger * sapi/cli/php.1: Adding some text and some backslashes which are needed sometimes somewhere... * sapi/cli/php_cli.c: Define STDIN/OUT/ERR for -B -R -F -E (works as expected). Enable exit in same switches. 2003-02-07 Ilia Alshanetsky * NEWS: New function news. * ext/standard/basic_functions.c ext/standard/php_string.h ext/standard/string.c: Added str_split() function. This function can be used to break down a string into an array. * ext/standard/basic_functions.c ext/standard/url.c ext/standard/url.h main/streams.c: Added get_browser() function. This function can be used to fetch the headers sent by the server when a request is made for a given URL. 2003-02-07 Marcus Boerger * sapi/cli/php_cli.c: No more maximum line size for -R and -F 2003-02-07 Uwe Schindler * sapi/nsapi/nsapi.c: (NSAPI SAPI) Fixed _SERVER[] variables (all headers included) to be now similar to apache SAPI; with this new file the memory leaks (webserver eats up memory during a few days running) are also disappeared (all by NSAPI allocated strings are freed). 2003-02-07 Zeev Suraski * main/win95nt.h: Fixlet 2003-02-07 Dan Kalowsky * ext/odbc/php_odbc.c: MFB * (PHP_4_3) ext/odbc/php_odbc.c: Patch for Bug #21279 submitted by ernani@php.net 2003-02-06 James Cox * NEWS: adding news about moved ext 2003-02-06 Tal Peer * ext/fribidi/.cvsignore ext/fribidi/CREDITS ext/fribidi/EXPERIMENTAL ext/fribidi/README ext/fribidi/config.m4 ext/fribidi/fribidi.c ext/fribidi/fribidi.dsp ext/fribidi/php_fribidi.h: Moving fribidi to PECL 2003-02-06 Sara Golemon * ext/bcmath/bcmath.c: bc_raise() can return a scale lower than that passed into it. While most other bcmath calls won't, it's safest to do a quick check that we're only reducing n_scale, not increasing it. 2003-02-06 Marcus Boerger * sapi/cli/php.1: Rewrite/add some stuff 2003-02-06 Jani Taskinen * (PHP_4_3) NEWS: fugbix news * (PHP_4_3) ext/standard/array.c: MFH: - Fixed bug #22088 (array_shift() leaves next index to be +1 too much) * ext/standard/array.c: - Fixed bug #22088 (array_shift() leaves next index to be +1 too much) * ext/standard/tests/array/bug22088.phpt: fix the test * ext/standard/tests/array/bug22088.phpt: Added testcase for bug #22088 2003-02-06 Andrey Hristov * (PHP_4_3) NEWS: added entry for memory_get_usage(). * (PHP_4_3) ext/standard/basic_functions.c ext/standard/php_var.h ext/standard/var.c: Backporting memory_get_usage() from HEAD. As far as the code is small there won't be any problems. 2003-02-05 Marcus Boerger * tests/classes/private_001.phpt tests/classes/private_002.phpt tests/classes/private_003.phpt tests/classes/private_003b.phpt tests/classes/private_004.phpt tests/classes/private_004b.phpt tests/classes/private_005.phpt tests/classes/private_005b.phpt tests/classes/private_006.phpt tests/classes/private_006b.phpt tests/classes/private_007.phpt tests/classes/private_007b.phpt tests/classes/protected_001.phpt tests/classes/protected_001b.phpt tests/classes/protected_002.phpt tests/classes/visibility_000a.phpt tests/classes/visibility_000b.phpt tests/classes/visibility_000c.phpt tests/classes/visibility_001a.phpt tests/classes/visibility_001b.phpt tests/classes/visibility_001c.phpt tests/classes/visibility_002a.phpt tests/classes/visibility_002b.phpt tests/classes/visibility_002c.phpt tests/classes/visibility_003a.phpt tests/classes/visibility_003b.phpt tests/classes/visibility_003c.phpt tests/classes/visibility_004a.phpt tests/classes/visibility_004b.phpt tests/classes/visibility_004c.phpt: Add PPP method tests 2003-02-05 Ilia Alshanetsky * NEWS: New function news. * ext/standard/array.c ext/standard/basic_functions.c ext/standard/php_array.h: Added array_walk_recursive() function that can apply array_walk recursively to an array. 2003-02-05 Wez Furlong * ext/iconv/CREDITS: Credits for iconv * sapi/activescript/EXPERIMENTAL: Mark activescript sapi as experimental, so that the installer can categorize it appropriately. * win32/installer/README win32/installer/gen-nsis.php win32/installer/setini.php: Check in the prototype PHP installer for win32. 2003-02-05 Ilia Alshanetsky * sapi/apache/mod_php4.c sapi/apache_hooks/mod_php4.c: Build Fix. 2003-02-05 Marcus Boerger * sapi/cli/php.1: * sapi/cli/php.1: First step - abrief version. 2003-02-04 Stig Bakken * pear/package-PEAR.xml: - replace @bin_dir@ in pear.bat 2003-02-04 Sara Golemon * (PHP_4_3) ext/bcmath/bcmath.c: FMH(r-1.49/r-1.50) 2003-02-04 Andi Gutmans * ext/bcmath/bcmath.c: - Please follow coding standards (this isn't java :) 2003-02-04 Marcus Boerger * ext/bcmath/bcmath.c: fix ZTS build 2003-02-04 Ilia Alshanetsky * sapi/apache/mod_php4.c sapi/apache_hooks/mod_php4.c: Fixed compilation of Apache & Apache Hooks SAPIs. 2003-02-04 Marcus Boerger * sapi/cli/php_cli.c: remove it then....this forces to put work in man page ... 2003-02-04 Jani Taskinen * (PHP_4_3) NEWS: reorder the bug fixes (reverse #). added missing bug fixing news 2003-02-04 Sara Golemon * ext/bcmath/bcmath.c: Bug#13551 bcmath functions should not apply scale to arguments, only to result 2003-02-04 Ilia Alshanetsky * (PHP_4_3) NEWS: Bug fixing news. * ext/pgsql/pgsql.c: Made the row parameter in pg_result_seek() non-optional, the current implementation would result in random behavior if the 2nd argument is not passed. Fixed bug #22042 (pg_result_seek() would never seek to the 1st row in the result due to always seeking to row next to the one requested). Removed dead code from pg_result_seek(). 2003-02-04 Zeev Suraski * ext/standard/aggregation.c sapi/apache/mod_php4.c sapi/apache_hooks/mod_php4.c: Updates reflecting infrastructure changes 2003-02-04 Uwe Steinmann * ext/pdf/pdf.c: - fixed some prototypes and folding * ext/pdf/pdf.c: - fixed prototype of pdf_get_buffer() 2003-02-04 Jani Taskinen * (PHP_4_3) NEWS: Added missing bugfix news entry. * NEWS: NEWS ordering.. 2003-02-03 Hartmut Holzgraefe * main/output.c: proto-fix 2003-02-03 Ilia Alshanetsky * ext/standard/datetime.c: Fixed bug #22017 (non descriptive error to appear when timestamp passed to date() has value < 0. Win32 does not support timestamps prior to midnight (00:00:00), January 1, 1970). * ext/standard/basic_functions.c: Make putenv() return a proper error rather then NULL when invalid argument is passed. * ext/imap/php_imap.c: Fixed bug #22022 (Crash in imap_mail_compose() if the body is an empty array). * ext/curl/interface.c: Fixed bug #22031 (Made curl_write() & curl_write_header() binary safe). 2003-02-03 Moriyoshi Koizumi * ext/mbstring/tests/mb_http_output.phpt ext/mbstring/tests/mb_internal_encoding.phpt ext/mbstring/tests/mb_strpos.phpt: Trivial test adjustment * ext/mbstring/mbstring.c: zend_get_parameters_* => zend_parse_parameters 2003-02-03 Jani Taskinen * (PHP_4_3) sapi/apache2filter/config.m4: MFH: Fix bug: #22035 (EXTRA_LDFLAGS for AIX not quite right) * sapi/apache2filter/config.m4: Fix bug: #22035 (EXTRA_LDFLAGS for AIX not correct) * (PHP_4_3) NEWS: fugbix news * (PHP_4_3) ext/standard/array.c: MFH: Fixed bug: #21998 (array_pop() did not reset the current array position) * ext/standard/array.c: - Fixed bug: #21998 (array_pop() did not reset the current array position) * ext/standard/tests/array/bug21998.phpt: Correct description of the problem 2003-02-03 Moriyoshi Koizumi * ext/mbstring/mbstring.c: Really fixed proto. * ext/mbstring/mbstring.c: Oops! wrong commit. Reverting... * ext/mbstring/mbstring.c: Fixed proto * tests/lang/bug21961.phpt: Modified the test so it will be skipped under ZE1. Thanks Kai * tests/lang/bug20175.phpt: Added missing "?>" * ext/mbstring/tests/mb_strpos.phpt: Fixed test case for mb_strpos(). 2003-02-03 Jani Taskinen * sapi/apache_hooks/config.m4: Make these configure messages differ from the regular apache configure 2003-02-03 Moriyoshi Koizumi * tests/lang/bug21961.phpt: Added test case for bug #21961 2003-02-03 Jani Taskinen * ext/standard/php_image.h: This cause some warning/error in AIX * (PHP_4_3) main/php_ini.c: MFH: Fixed bug: #22011 (-n must ignore all ini files) * main/php_ini.c: Fixed bug: #22011 (-n must ignore all ini files) 2003-02-03 Derick Rethans * run-tests.php: - Make VIM highlighting happy 2003-02-03 Jani Taskinen * ext/interbase/config.m4: Test that libgds actually exists. * ext/calendar/calendar.c: ws 2003-02-03 Giuseppe Tanzilli * (PHP_4_3) sapi/servlet/Makefile.frag sapi/servlet/config.m4 sapi/servlet/servlet.c sapi/servlet/servlet.java: Fix sapi/servlet build on Unix 2003-02-03 Sebastian Bergmann * sapi/cli/php_cli.c: Fix ZTS build. 2003-02-03 Jani Taskinen * ext/standard/tests/array/bug21998.phpt: Added test for bug #21998 2003-02-03 Stig Bakken * pear/package-PEAR.xml: - 1.1 release notes update * added some elements * pear/PEAR/Common.php: - start using the source tokenizer * pear/package-PEAR.xml: - substitute @php_dir@ in pear.in 2003-02-03 Marcus Boerger * sapi/cli/php_cli.c: - Added -B, -F, -R, -E for line by line std in processing. - Added some error messages. - Added more -h info. 2003-02-02 Ilia Alshanetsky * main/php_scandir.h: Fixed bug #22021. * ext/curl/interface.c: Gave the user the ability to specify encoding of the request. Patch by jens@mermaidconsulting.dk. * main/php_scandir.c: Fixed build on Solaris (patch by Melvyn Sopacua). 2003-02-02 Sebastian Bergmann * ext/standard/info.c: Fix warning. 2003-02-02 Zeev Suraski * ext/standard/info.c ext/standard/info.c: Fix phpinfo() display of Zend extensions 2003-02-02 Marcus Boerger * ext/gd/config.m4 ext/gd/libgd/gd.c ext/gd/libgd/xbm.c ext/gd/tests/conv_test.xbm ext/gd/tests/xbm2png.phpt: - new xbm support 2003-02-01 Marcus Boerger * ext/standard/image.c: avoid warnings * ext/gd/config.m4: Bundled version has XBM support as well as external. * ext/gd/gd.c: Show if XPM support is available & Set availability bit only when available. * ext/standard/image.c ext/standard/php_image.h: * ext/dba/config.m4: Change DBM detection order * (PHP_4_3) ext/dba/config.m4 ext/dba/dba_cdb.c ext/dba/dba_dbm.c ext/dba/dba_gdbm.c ext/dba/dba_ndbm.c: MFH: include file handling and dbm fixes * ext/dba/config.m4 ext/dba/dba_cdb.c ext/dba/dba_dbm.c ext/dba/dba_gdbm.c: - unify configure mechanisms (include file handling) - fix dbm - allow dbm to be based on gdbm 2003-02-01 Melvyn Sopacua * run-tests.php: Make it easier to diff results of several runs in one day. 2003-02-01 Jani Taskinen * NEWS: Correct required mcrypt version 2003-02-01 Melvyn Sopacua * (PHP_4_3) INSTALL: MFH: Bug #21892 (links to apache2 install instructions missing) * INSTALL: Fix Bug #21892 (links to apache2 install instructions missing) 2003-02-01 Martin Jansen * pear/PEAR/Command/Registry.php: - displayLine() is deprecated, so better use displayError() here. 2003-02-01 Wez Furlong * ext/standard/var.c: Don't assume that objects have class entries (in the ZE1 sense) when determining the class name. Additionally, don't assume that objects have a properties hash either. 2003-01-31 Melvyn Sopacua * ext/mcrypt/config.m4: Require 2.5.6+ MFB: Be -ltdl aware 2003-01-31 Ilia Alshanetsky * ext/openssl/openssl.c: Fixed bug #21986 (openssl test failure). 2003-01-31 Marcus Boerger * (PHP_4_3) ext/dba/config.m4: MFH: Shared dba requires at least db-3.3 * ext/dba/config.m4: Shared dba requires at least db-3.3 * ext/dba/dba.c: Fix proto 2003-01-31 Frank M. Kromann * ext/ext_skel.php ext/ext_skel.php ext/ext_skel_win32.php: Rename script. Add check for CLI version * ext/ext_skel_win32.php ext/ext_skel_win32.php: file ext_skel_win32.php was initially added on branch PHP_4_3. 2003-01-31 Sascha Schumann * ext/standard/var.c: Unbreak $Id tag 2003-01-31 Melvyn Sopacua * (PHP_4_3) ext/mcrypt/config.m4: "The ugly patch" Make mcrypt compile, when we finally are free of -ltdl. Bug #20926. 2003-01-31 Moriyoshi Koizumi * (PHP_4_3) ext/mbstring/mbfilter.c ext/mbstring/mbstring.c 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 ext/mbstring/tests/mb_send_mail05.phpt ext/mbstring/tests/mb_send_mail06.phpt: MFH: fixed a mb_send_mail() bug. 2003-01-31 Jani Taskinen * (PHP_4_3) NEWS: Moved from HEAD. * NEWS: Moved these entries to PHP_4_3 branch NEWS (for 4.3.1) * ext/oci8/php_oci8.h: No c++ comments.. 2003-01-31 Moriyoshi Koizumi * ext/mbstring/mbfilter.c ext/mbstring/mbstring.c 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 ext/mbstring/tests/mb_send_mail05.phpt ext/mbstring/tests/mb_send_mail06.phpt ext/mbstring/tests/mb_send_mail07.phpt: Fixed a mb_send_mail() bug that has been reported in php-i18n@lists.php.net See http://lists.php.net/article.php?group=php.i18n&article=427 2003-01-31 Sascha Schumann * php.ini-dist: Remove obsolete warning 2003-01-31 Sara Golemon * ext/ftp/ftp.c ext/ftp/ftp.h ext/ftp/php_ftp.c ext/ftp/php_ftp.h: Add ftp_raw() to send raw command strings to an FTP server. 2003-01-31 Frank M. Kromann * ext/skeleton/skeleton.php: Use platform specific extension. * ext/skeleton/skeleton.dsp: Dtandard visual studio project for ext_skel * ext/ext_skel.php: Wrapper script to use ext_skel on Win32 * (PHP_4_3) ext/ext_skel.php: Wrapper script to execute ext_skel on WIn32 * ext/ext_skel.php: file ext_skel.php was initially added on branch PHP_4_3. * (PHP_4_3) ext/skeleton/skeleton.php: Allow extensions to be loaded on win32 * ext/skeleton/skeleton.dsp ext/skeleton/skeleton.dsp: file skeleton.dsp was initially added on branch PHP_4_3. 2003-01-30 Ilia Alshanetsky * ext/session/session.c: Fix compiler warning. 2003-01-30 Marcus Boerger * ext/dba/config.m4: Revert this part, the new one adds more problems than it solves. 2003-01-30 Sascha Schumann * (PHP_4_3) main/streams.c main/streams.c: Partial MFH: Fix sticky eof issue, and avoid calling system stat macro * main/streams.c: Fix sticky EOF problem Sometimes streams signal a temporary EOF, because all current data has been consumed. But that does not preclude the possibility that more data will become available later. Thus we must not treat eof in the read path as final. Now, "tail -f" like scripts work again. 2003-01-30 Sara Golemon * ext/standard/string.c: Unify str_replace and str_ireplace using INTERNAL_FUNCTION_PARAM_PASSTHRU -- reduce codebase/maintenance complexity 2003-01-30 Jani Taskinen * ext/informix/ifx.ec: fix bug: #21945 (zts build failed) 2003-01-30 Marcus Boerger * (PHP_4_3) ext/dba/config.m4: MFH: Allow to link against chosen modules correctly * ext/dba/config.m4: Allow to link against chosen modules correctly 2003-01-30 Sara Golemon * ext/standard/basic_functions.c ext/standard/php_string.h ext/standard/string.c: Feature Request # 5919 - Addition of str_ireplace() Also removed deprecated BM str replace menthod Also rewrote php_str_to_str to use more processor/memory efficient method (ilia) 2003-01-30 Ilia Alshanetsky * ext/dbx/dbx.c ext/fbsql/php_fbsql.c ext/imap/php_imap.c ext/mcal/php_mcal.c ext/msql/php_msql.c ext/mssql/php_mssql.c ext/mysql/php_mysql.c ext/sybase/php_sybase_db.c ext/sybase_ct/php_sybase_ct.c: Removed pointless checks. 2003-01-29 Stig Bakken * pear/PEAR/Installer.php: - Windows fix (thanks to paj) 2003-01-29 Ilia Alshanetsky * ext/informix/ifx.ec: Added sanity checks. 2003-01-29 Maxim Maletsky * ext/oci8/CREDITS ext/oci8/oci8.c: Added myself to the maintainers list. 2003-01-29 Edin Kadribasic * sapi/embed/php_embed.c: Be more consistent with the sapi internal name. * ext/standard/dl.c: Enable embedded code using sapi/embed to use dl(). 2003-01-29 Jani Taskinen * (PHP_4_3) NEWS: ordered all bug fixes by the number :) * NEWS: NEWS police is back. * (PHP_4_3) NEWS: news entries for new options in phpize and php-config 2003-01-29 Harald Radi * ext/standard/basic_functions.c main/main.c: MFPHP_4_3 * (PHP_4_3) main/main.c: ilia pointet me to a thread on php-dev saying that Co(Un)Initialize should be called per thread 2003-01-29 Ilia Alshanetsky * ext/standard/basic_functions.c ext/standard/php_string.h: Added part of strpos commit that never made it in for some reason. 2003-01-28 Harald Radi * (PHP_4_3) ext/standard/basic_functions.c: moved to php4/main * (PHP_4_3) main/main.c: somehow the module shutdown order got reversed since 4.3.0, thus the CoInitialize / CoUninitialize calles are more sane here than in the basic functions module. 2003-01-28 Jani Taskinen * (PHP_4_3) NEWS: fugbix news 2003-01-28 Ilia Alshanetsky * (PHP_4_3) ext/hyperwave/hw.c: Fixed compile warning. * (PHP_4_3) NEWS: Bug fixing news. * sapi/apache2filter/sapi_apache2.c: Fixed bug #17868 (more then the directive used to include a PHP file would result in a crash). 2003-01-28 Derick Rethans * main/php_scandir.c main/php_scandir.c: - Fix includes 2003-01-28 Ilia Alshanetsky * main/php_scandir.c main/php_scandir.c: Fixed compiler warning. 2003-01-28 Jani Taskinen * (PHP_4_3) Makefile.frag configure.in build/config-stubs pear/Makefile.frag pear/pear.m4 pear/scripts/.cvsignore pear/scripts/php-config.in pear/scripts/phpextdist pear/scripts/phpize.in scripts/.cvsignore scripts/Makefile.frag scripts/config-stubs scripts/conv_proto scripts/conv_z_macros scripts/credits scripts/php-config.in scripts/phpextdist scripts/phpize.in scripts/phpize.m4 scripts/dev/conv_proto scripts/dev/conv_z_macros scripts/dev/credits: - MFH: Fixed bug #13561 (--without-pear prevents install of php-config, phpize) - MFH: Added --ldflags option to php-config - MFH: Added --clean option to phpize 2003-01-28 Edin Kadribasic * sapi/embed/php_embed.c: Call correct module startup function (not a hard coded one) allowing startup override. 2003-01-28 Sascha Schumann * ext/ircg/ircg_scanner.c: sync with .re * ext/ircg/ircg_scanner.re: update year * ext/ircg/Makefile.frag: Looks like we are hitting a bug due to '\xxx' for xxx >= 200 not being handled correctly. 2003-01-28 Zeev Suraski * win32/php4ts.dsw: Get rid of php4ts.dsw - replaced by php5ts.dsw 2003-01-28 Jani Taskinen * build/config-stubs pear/Makefile.frag pear/pear.m4 pear/scripts/.cvsignore scripts/.cvsignore scripts/Makefile.frag scripts/php-config.in scripts/phpextdist scripts/phpize.in scripts/phpize.m4 scripts/dev/conv_proto scripts/dev/conv_z_macros scripts/dev/credits: - Fixed bug: #13561 (--without-pear prevents install of phpize, php-config) * Makefile.frag configure.in pear/scripts/php-config.in pear/scripts/phpextdist pear/scripts/phpize.in scripts/config-stubs scripts/conv_proto scripts/conv_z_macros scripts/credits: - Fixed bug: #13561 (--without-pear prevents install of phpize, php-config) * ext/dba/config.m4: Fix configure. (typo?) 2003-01-28 Edin Kadribasic * sapi/embed/php_embed.c sapi/embed/php_embed.h: Expose php_embed_module struct (and make Wez happy). 2003-01-28 Melvyn Sopacua * (PHP_5_0_dev_before_13561_fix) tests/lang/bug20175.phpt: Fix parse error and edink's fear of bison errors 2003-01-28 Jani Taskinen * (PHP_5_0_dev_before_13561_fix) ext/imap/config.m4: fix some typos * (PHP_5_0_dev_before_13561_fix) ext/mime_magic/config.m4: fix typo 2003-01-28 Marcus Boerger * (PHP_5_0_dev_before_13561_fix) ext/dba/config.m4: - fix this: els is optional but may not be empty 2003-01-28 Frank M. Kromann * (PHP_5_0_dev_before_13561_fix) ext/standard/info.c ext/standard/info.c: Fix the setting of computer name and processor type for php_uname() on Win32 2003-01-28 Jani Taskinen * (PHP_5_0_dev_before_13561_fix) makedist makedist.ZendEngine2: - Removed unnecessary makedist.ZendEngine2 - Modified makedist to use php5 CVS module (alias) 2003-01-28 Ilia Alshanetsky * (PHP_5_0_dev_before_13561_fix) ext/standard/basic_functions.c ext/standard/dir.c ext/standard/php_dir.h: Added scandir() function, which allows quick retrieval of all files & directories within the specified path and sort the output in alphabetical or reverse alphabetical order. * (PHP_5_0_dev_before_13561_fix) sapi/apache2filter/php_functions.c: Fixed win32 build (bug #21506). Fixed a bug that would cause garbage data to appear at the end of the loaded apache modules list in phpinfo(). 2003-01-28 Jani Taskinen * ext/mime_magic/config.m4: - Cleaned up and made less error-prone - Changed --enable-mime-magic -> --with-mime-magic[=FILE] to allow specifying of the file during configure. 2003-01-28 Ilia Alshanetsky * (PHP_5_0_dev_before_13561_fix) main/php_scandir.c main/php_scandir.h: 2nd part of Sebastian's patch. 2003-01-28 Edin Kadribasic * (PHP_5_0_dev_before_13561_fix) win32/php4dllts.dsp: Adding new files to the project. 2003-01-28 Marcus Boerger * (PHP_4_3) ext/dba/config.m4: MFH: --without-flatfile, Berkeley DB version check * ext/dba/config.m4: - fix "--without-flatfile" - simplify Berkley DB verison check 2003-01-27 Ilia Alshanetsky * configure.in main/php_ini.c main/php_scandir.c main/php_scandir.h win32/readdir.c win32/readdir.h: Moved the scandir code into it's own files so that it can be used by other OSes where libc does not have a native scandir() implementation. 2003-01-27 Maxim Maletsky * ext/oci8/oci8.c: This fixes "warning C4101: 'charsetid' : unreferenced local variable" on VC6 * ext/oci8/oci8.c: (Maxim) 2003-01-27 Sara Golemon * ext/ftp/ftp.c ext/ftp/ftp.h ext/ftp/php_ftp.c: Fix potential buffer overflow. 2003-01-27 Ilia Alshanetsky * main/output.c: Removed pointless checks. 2003-01-27 Edin Kadribasic * (PHP_4_3) NEWS ext/standard/dir.c win32/glob.c: MFH: Fixed bug #21597 (made glob() understand Windows paths). * ext/standard/dir.c win32/glob.c: Fixed bug #21597 (made glob() understand windows paths) 2003-01-27 Jani Taskinen * (PHP_4_3) configure.in: revert previous commit * (PHP_4_3) configure.in: MFH: use grep -E instead of egrep. the latter is not defined by POSIX anymore 2003-01-27 Uwe Steinmann * ext/hyperwave/hw.c: - fixed several bugs in hw_document_xx() functions. The macro to access the document was the same as for a link to the sever. 2003-01-27 Sara Golemon * ext/ftp/ftp.c ext/ftp/ftp.h ext/ftp/php_ftp.c ext/ftp/php_ftp.h: Feature Request #21748. Added function ftp_chmod(). 2003-01-27 Moriyoshi Koizumi * tests/lang/bug21600.phpt: Updated test so it describes the problem more clearly. 2003-01-26 Stig Bakken * pear/PEAR.php: - whoops, heritage shows through :) 2003-01-26 Marcus Boerger * run-tests.php: Simplify 2003-01-26 Sander Roobol * (PHP_4_3) ext/mime_magic/mime_magic.c: MFH (well... it's not really an MFH... but who cares :) * ext/mime_magic/mime_magic.c: Fix build 2003-01-26 Shane Caraveo * sapi/isapi/php4isapi.c: normalize CGI variables to the CGI spec PATH_INFO and PATH_TRANSLATED are correct now SCRIPT_FILENAME now contains the full path to the script * (PHP_4_3) main/php_ini.c win32/readdir.c win32/readdir.h: MFH fix broken build by adding scandir and alphasort * main/php_ini.c win32/readdir.c win32/readdir.h: Fix broken build by adding scandir and alphasort for win32 2003-01-26 Sara Golemon * ext/gd/gd.c ext/gd/php_gd.h: Feature Request #21784 Added: imagecolorallocatealpha (pollita@php.net,jasper@pointless.net) 2003-01-25 Shane Caraveo * (PHP_4_3) sapi/cgi/cgi_main.c: MFH fix bug 21261 putenv on some platforms requires we provide the memory cleanup env parsing logic fix bug 21367 missed optargs in a previous patch * sapi/cgi/cgi_main.c: fix bug 21261 putenv on some platforms requires we provide the memory cleanup env parsing logic fix bug 21367 missed optargs in a previous patch 2003-01-25 Ilia Alshanetsky * main/php_ini.c: Fixed bug #21625 (When scanning a directory for ini files, do so in alphabetical order. This gives a user a way to control the order in which the ini files are loaded). Fixed a bug that would make the code try to read files without an extension as ini files. 2003-01-25 Marcus Boerger * (PHP_4_3) ext/dba/config.m4: MFH: The builtin version was always used even if configured otherwise. * (PHP_4_3) run-tests.php: MFH: Bug #21751: Part one never let this happen again... * ext/dba/config.m4: The builtin version was always used even if configured otherwise. * run-tests.php: Bug #21751: Part one never let this happen again... 2003-01-25 Ilia Alshanetsky * ext/informix/ifx.ec: Removed unneeded code. 2003-01-25 Hartmut Holzgraefe * ext/mime_magic/mime_magic.c: - mime file parser messages only with mime_magic.debug=On (default: off) - fix docref URL in startup error messages - show status in php info, either "enabled" or "..., disabled" * ext/mime_magic/php_mime_magic.h: preparations for making magic file parser silent * ext/mime_magic/config.m4: suggesting a plain magic file insteat of a mime one is a bad idea 2003-01-25 Stig Bakken * pear/tests/osguess.php: - not a real test, just a script for displaying OS_Guess output * pear/OS/Guess.php: - add glibc version detection for Linux * pear/PEAR/Command/Remote.php: - typo 2003-01-25 Ilia Alshanetsky * ext/informix/ifx.ec: Fixed a typo. * ext/standard/image.c: Fixed compiler warning. 2003-01-24 Sascha Schumann * ext/session/mod_files.c ext/session/session.c: Remove ugly netware hacks from the code 2003-01-24 Ilia Alshanetsky * ext/wddx/wddx.c: Removed unnecessary checks. 2003-01-24 Dan Kalowsky * (PHP_4_3) ext/odbc/php_odbc.c: busted by the style police... * ext/odbc/php_odbc.c ext/odbc/php_odbc.c: Patch for bug #21844 2003-01-24 Ilia Alshanetsky * ext/gd/gd.c: Fixed bug #21533 (a rare condition where error can remain undefined and result in undefined behavior when it is used without being initialized). * ext/informix/ifx.ec: Fixed bug #21865. 2003-01-24 Jani Taskinen * (PHP_4_3) ext/oci8/config.m4: MFH: Fix bug #21795, Undeclared statement in oci8.c (OCI_ATTR_STATEMENT) * ext/oci8/config.m4: Fix bug #21795, Undeclared statement in oci8.c (OCI_ATTR_STATEMENT) 2003-01-24 Ilia Alshanetsky * ext/yp/yp.c: Fixed a memory leak. zend_error -> php_error_docref. * ext/crack/crack.c ext/gmp/gmp.c ext/standard/array.c ext/standard/assert.c ext/standard/browscap.c ext/standard/html.c ext/standard/var_unserializer.c ext/standard/var_unserializer.re ext/sysvmsg/sysvmsg.c: zend_error -> php_error_docref. * ext/gd/gd.c ext/hyperwave/hw.c ext/standard/proc_open.c: Fixed compile warning. 2003-01-24 Andrey Hristov * ext/standard/string.c: Resolving problem on OSF1 and probably other 64 bit platforms. Thanks for the feedback of Magnus (novell kiruna se). * ext/standard/string.c: Adding cast. 2003-01-24 Jani Taskinen * ext/imap/php_imap.c: - Fixed stupid typo.. * (PHP_4_3) ext/standard/file.c: MFH: Fix potential problem for 64-bit architectures. * (PHP_4_3) NEWS: figbug news * ext/snmp/snmp.c: Fixed bug: #20857, snmpset() fails * ext/snmp/snmp.c: ws fixes * tests/func/001.phpt tests/func/005.phpt tests/func/005a.phpt tests/func/007.phpt tests/func/008.phpt tests/func/009.phpt: MFB, removed unused GET/POST entries * (PHP_4_3) tests/func/001.phpt tests/func/005.phpt tests/func/005a.phpt tests/func/007.phpt tests/func/008.phpt tests/func/009.phpt: Remove unused GET/POST entries 2003-01-24 Ilia Alshanetsky * ext/dbx/dbx.c ext/dio/dio.c ext/pcre/php_pcre.c: zend_error() -> php_error_docref(). 2003-01-23 Moriyoshi Koizumi * tests/lang/bug21849.phpt: Added test case for bug21849.phpt 2003-01-23 Sebastian Bergmann * TODO-PHP5: TODO for PHP 5. 2003-01-23 Moriyoshi Koizumi * ext/mbstring/php_mbregex.c: Really fixed the mb issue of mb_ereg_replace() * ext/mbstring/php_mbregex.c: Fixed a mb_ereg_replace() bug; the function was not completely multibyte-safe. * tests/lang/bug7515.phpt: Fixed typo * tests/lang/029.phpt tests/lang/bug7515.phpt: Changed the test's file name as per the convention * ext/standard/tests/serialize/002.phpt ext/standard/tests/serialize/bug14293.phpt: Renamed the test name as per the convension * ext/standard/tests/image/bug13213.phpt ext/standard/tests/math/bug21523.phpt ext/standard/tests/network/bug20134.phpt ext/standard/tests/strings/bug20108.phpt ext/standard/tests/strings/bug20169.phpt ext/standard/tests/strings/bug20927.phpt: Test name formatting * ext/pcre/tests/bug20528.phpt: Made the test's name more descriptive * ext/pcre/tests/bug20528.phpt ext/pcre/tests/bug21732.phpt: Removed pointless checks * ext/pcre/tests/bug21732.phpt: Added test case for bug #21732 2003-01-23 Jani Taskinen * ext/imap/php_imap.c: Fix bug: #21817 (only enable this if --with-kerberos is used) 2003-01-23 Zeev Suraski * win32/php4dllts.dsp: Fix .dsp 2003-01-23 Jani Taskinen * configure.in: remove this stupid highlight which causes trouble. * ext/gd/config.m4: MFB * (PHP_4_3) ext/gd/config.m4: Enable building with freetype 2.1.3 * ext/ingres_ii/config.m4: Correct default path * (PHP_4_3) NEWS: fugbix news * tests/func/005a.phpt: Added test for bug: #21513 2003-01-22 Ilia Alshanetsky * ext/sybase_ct/php_sybase_ct.c: Removed non-needed code. 2003-01-22 Anil Madhavapeddy * ext/standard/config.m4: typo 2003-01-22 Frank M. Kromann * ext/ming/ming.dsp ext/ming/ming.dsp: adding missing zlib.lib and path to bindlib 2003-01-22 Ilia Alshanetsky * ext/gd/gd.c: Fixed a crash when invalid color is passed to imagepstext(). 2003-01-22 Sascha Schumann * (PHP_4_3) ext/ircg/ircg.c ext/ircg/ircg.c: Fix for treating a NAMES list as single join 2003-01-21 Moriyoshi Koizumi * ext/mbstring/php_mbregex.c: Oops! wrong patch. Reverted. * ext/mbstring/php_mbregex.c: Fixed mb_ereg_replace() bug (the function has ignored the default option) * tests/lang/bug21800.phpt: Added test case for bug #21800 * ext/mbstring/php_mbregex.c: Fixed mb_ereg_search() segfault that occurs when the function is called before a string to be searched is passed by mb_ereg_search_init() 2003-01-21 Andrey Hristov * ext/sysvshm/sysvshm.c: increasing readability. 2003-01-21 Ilia Alshanetsky * ext/odbc/birdstep.c: getParameters -> zend_get_parameters_ex. * ext/fbsql/php_fbsql.c ext/mbstring/mbstring.c ext/standard/array.c ext/standard/basic_functions.c ext/standard/file.c ext/standard/string.c sapi/apache/php_apache.c sapi/apache_hooks/php_apache.c: ARG_COUNT(ht) -> ZEND_NUM_ARGS(). 2003-01-21 Stig Bakken * pear/PEAR.php pear/package-PEAR.xml: - PEAR_Error now supports exceptions when using Zend Engine 2. Set the error mode to PEAR_ERROR_EXCEPTION to make PEAR_Error throw itself as an exception (invoke PEAR errors with raiseError() or throwError() just like before). 2003-01-21 Sascha Schumann * (PHP_4) main/SAPI.h: cvs server: warning: file `main/SAPI.h' seems to still contain conflict indicators ..but it checks it in nevertheless. * main/SAPI.c main/SAPI.h sapi/apache/mod_php4.c: add sapi_get_target_uid/_gid for obtaining information about the non-privileged user the web server is running as. this is useful for creating shared memory segments which need to be accessed by the child processes/threads. 2003-01-21 Jani Taskinen * (PHP_4_3) sapi/apache2filter/config.m4: MFH: Fixed bug: #21698, httpd.conf not modified with "make install" * sapi/apache2filter/config.m4: Fixed bug: #21698, httpd.conf not modified with "make install" * ext/ircg/config.m4: fix typo * (PHP_4_3) ext/ircg/config.m4: MFH: Fix bug: #21249, configure fails when searching for ircg-config script * ext/ircg/config.m4: Fix bug: #21249, configure fails when searching for ircg-config script 2003-01-21 Edin Kadribasic * sapi/embed/EXPERIMENTAL sapi/embed/config.m4: Added missing warning about experimental nature of sapi/embed. 2003-01-21 Pierre-Alain Joye * ext/gd/libgd/gd.c: Remove the (c), in the future, can we add PHP Licence terms for the new functions ? * ext/gd/libgd/gd.c: Add credits to my functions (thx for the advice Wez&Ilia :) 2003-01-20 Ilia Alshanetsky * ext/imap/php_imap.c ext/imap/php_imap.h: quota function fixes. Thanks Wez. * ext/imap/php_imap.c: Changed php_error to php_error_docref. Removed pointless memory allocation checks. Memory leak fix inside quota functions. 2003-01-20 Moriyoshi Koizumi * ext/pcre/php_pcre.c: Fixed bug #21758 2003-01-20 Ilia Alshanetsky * ext/msession/msession.c: Restore php_error -> php_error_docref patch. 2003-01-20 Sascha Schumann * README.TESTING: test commit 2003-01-20 Derick Rethans * ext/standard/credits.c: - Add credits for Magnus 2003-01-20 Jani Taskinen * ext/gd/config.m4: Add test for png.h 2003-01-20 Mark L. Woodward * ext/msession/README ext/msession/msession.c ext/msession/php_msession.h ext/msession/reqclient.h: Updated for Msession 1.2. Includes new APIs 2003-01-19 Ilia Alshanetsky * ext/oracle/oracle.c: ZTS fix. 2003-01-19 Zeev Suraski * acinclude.m4 configure.in: relabel 2003-01-19 Moriyoshi Koizumi * ext/standard/scanf.c: Improved the patched part to prevent further potential bugs 2003-01-19 Ilia Alshanetsky * ext/oracle/oracle.c: fixed typos 2003-01-19 Derick Rethans * README.TESTING: - Moved to http://qa.php.net/write-test.php 2003-01-19 Harald Radi * ext/standard/basic_functions.c main/php_ini.c: ini patch to allow 'entry[] = value' entries 2003-01-19 Moriyoshi Koizumi * ext/standard/string.c ext/standard/tests/strings/bug21744.phpt: Fixed bug #21744(21741) Added test case for the bug 2003-01-19 Ilia Alshanetsky * ext/dbase/dbf_rec.c ext/oci8/oci8.c ext/oracle/oracle.c ext/rpc/com/com.c ext/rpc/com/conversion.c ext/rpc/java/java.c ext/w32api/w32api.c: ZTS fixes. * ext/mcal/php_mcal.c: Changed php_error to php_error_docref. Make mcal compile with ZE2. * ext/dbase/dbf_rec.c ext/dio/dio.c ext/hwapi/hwapi.cpp ext/ingres_ii/ii.c ext/mime_magic/mime_magic.c ext/oci8/oci8.c ext/oracle/oracle.c ext/ovrimos/ovrimos.c ext/pcre/php_pcre.c ext/pdf/pdf.c ext/pfpro/pfpro.c ext/posix/posix.c ext/pspell/pspell.c ext/recode/recode.c ext/rpc/com/com.c ext/rpc/com/com_wrapper.c ext/rpc/com/conversion.c ext/rpc/com/variant.c ext/rpc/dotnet/dotnet.cpp ext/rpc/java/java.c ext/session/session.c ext/snmp/winsnmp.c ext/standard/filters.c ext/sysvsem/sysvsem.c ext/sysvshm/sysvshm.c ext/w32api/w32api.c: Changed php_error to php_error_docref. 2003-01-18 Derick Rethans * ext/standard/credits.c: s/4.4/5.0 2003-01-18 Ilia Alshanetsky * ext/bz2/bz2.c ext/curl/interface.c ext/cyrus/cyrus.c ext/ircg/ircg.c ext/ldap/ldap.c ext/mnogosearch/php_mnogo.c ext/msession/msession.c ext/msql/php_msql.c ext/mssql/php_mssql.c ext/odbc/birdstep.c ext/odbc/php_odbc.c ext/sysvmsg/sysvmsg.c ext/xslt/sablot.c: Changed php_error to php_error_docref. Thanks to Marcus Börger for writing a script that significantly simplifies this process. * ext/pcre/php_pcre.c: Fixed bug #21732 (Added a sanity check, that prevents parameter mismatch). * ext/swf/swf.c ext/xslt/sablot.c ext/yp/yp.c ext/zip/zip.c: Changed php_error to php_error_docref. * ext/wddx/wddx.c ext/yaz/php_yaz.c: Removed pointless memory allocation checks. Changed php_error to php_error_docref. * ext/bz2/bz2.c ext/db/db.c ext/dba/dba.c ext/dbx/dbx.c ext/dbx/dbx_odbc.c ext/domxml/php_domxml.c ext/fbsql/php_fbsql.c ext/fdf/fdf.c ext/hwapi/hwapi.cpp ext/hyperwave/hw.c ext/iconv/iconv.c ext/informix/ifx.ec ext/ingres_ii/ii.c ext/interbase/interbase.c ext/ldap/ldap.c ext/mbstring/mbstring.c ext/mbstring/php_mbregex.c ext/mcal/php_mcal.c ext/mcrypt/mcrypt.c ext/mnogosearch/php_mnogo.c ext/msql/php_msql.c ext/mssql/php_mssql.c ext/mysql/php_mysql.c ext/oci8/oci8.c ext/odbc/php_odbc.c ext/openssl/openssl.c ext/oracle/oracle.c ext/ovrimos/ovrimos.c ext/pdf/pdf.c ext/pgsql/pgsql.c ext/posix/posix.c ext/pspell/pspell.c ext/qtdom/qtdom.c ext/session/session.c ext/sockets/sockets.c ext/standard/exec.c ext/standard/file.c ext/standard/image.c ext/standard/info.c ext/standard/metaphone.c ext/standard/string.c ext/xml/php_xml.h ext/xml/xml.c ext/zlib/zlib.c sapi/aolserver/aolserver.c sapi/apache/php_apache.c sapi/apache2filter/php_functions.c sapi/apache_hooks/php_apache.c: Removed pointless memory allocation checks. 2003-01-18 Moriyoshi Koizumi * tests/lang/bug21094.phpt: Added test case for bug #21094 * ext/standard/scanf.c: WS 2003-01-18 Marcus Boerger * ext/exif/exif.c: correct my fault here and documnet the sense of the test 2003-01-18 Moriyoshi Koizumi * ext/standard/tests/strings/bug21730.phpt: Fixed typo * ext/standard/tests/strings/bug21730.phpt: Added test case for bug #21730 2003-01-18 Ilia Alshanetsky * ext/exif/exif.c: Additional memory allocation fixes by Marcus Börger. 2003-01-18 Moriyoshi Koizumi * ext/standard/scanf.c: Tons of WS fixes 2003-01-18 Ilia Alshanetsky * ext/exif/exif.c: Removed the no longer needed memory allocation checks. 2003-01-18 Moriyoshi Koizumi * ext/standard/scanf.c: Fixed bug #21726 and #21730 2003-01-18 Andrey Hristov * ext/standard/basic_functions.c ext/standard/php_var.h ext/standard/var.c: Renamed get_memory_usage() to memory_get_usage() (per Andi's advice) This doesn't break any BC. 2003-01-18 Wez Furlong * ext/standard/file.c: Fix potential problem for 64-bit architectures. 2003-01-18 Derick Rethans * ext/standard/file.c: - Fixed memleak in fscanf(). * ext/standard/tests/general_functions/proc_open.phpt: - Skip test if the function to test is not available 2003-01-18 Jani Taskinen * (PHP_4_3) ext/imap/config.m4 ext/imap/php_imap.c: MFH: Fix bug: #21687, imap extension does not include gss authentication mechanism * ext/imap/config.m4 ext/imap/php_imap.c: Fix bug: #21687, imap extension does not include gss authentication mechanism 2003-01-17 Ilia Alshanetsky * ext/standard/tests/image/getimagesize.phpt: Added missing test result. 2003-01-17 Moriyoshi Koizumi * header: Bump year. * win32/md5crypt.c: WS fix 2003-01-17 Ilia Alshanetsky * ext/gd/gd.c: Removed pointless checks of array_init() return value. 2003-01-17 Moriyoshi Koizumi * ext/standard/filters.c: Fixed a quoted printable decoder so that it would conform to RFC2045. 2003-01-17 Sascha Schumann * sapi/thttpd/thttpd.c sapi/thttpd/thttpd_patch: Fix POST handling once and for all. The daemon now never blocks and handles uploads of up to 2GB on 32 bit platforms. Uploads >16KB are put into a file-backed mmap area. SG(request_info).content_type got corrupted somewhere. As a workaround, we provide SAPI with a duplicate of the original string. 2003-01-17 Marcus Boerger * ext/standard/image.c ext/standard/tests/image/image_type_to_mime_type.phpt ext/standard/tests/image/test1pix.jp2: fix jp2 detection and add testfile 2003-01-17 Ilia Alshanetsky * ext/gd/gd.c ext/gd/libgd/gd.c ext/gd/libgd/gd.h ext/gd/libgd/gd_gd2.c ext/gd/libgd/gd_jpeg.c: Syncronize bundled GD library with latest GD (2.0.11). 2003-01-17 Derick Rethans * (PHP_4_3) ext/standard/info.c: - MFH: Fixed a bug that made that no newline was displayed when there was no value for a row. * ext/standard/info.c: - Fixed a bug that made that no newline was displayed when there was no value for a row. 2003-01-17 Andrey Hristov * ext/swf/swf.c: Removed pointless checks around array_init(). 2003-01-17 Ilia Alshanetsky * ext/imap/php_imap.c: Fixed memory leaks in imap_get_quota & imap_get_quotaroot. Removed pointless checks around array_init(). 2003-01-17 Moriyoshi Koizumi * ext/standard/filters.c: Significant speed enhancements. I was underestimating the power of recent CPUs :) 2003-01-17 Sebastian Bergmann * main/internal_functions_win32.c: Move ZEND_ENGINE_2 check to where it is defined. 2003-01-16 Harald Radi * main/config.w32.h main/internal_functions_win32.c: move the ZE2 check into internal_functions_win32.c * ext/bcmath/libbcmath/src/config.h: revert previous commit * ext/bcmath/libbcmath/src/config.h: unbreak the build 2003-01-16 Ilia Alshanetsky * ext/pdf/pdf.c: Fixed bug #21651 (crash in pdf_open_memory_image() when inserting a non truecolor image). 2003-01-16 Moriyoshi Koizumi * ext/standard/filters.c: Finally fixed a qp encoder bug that line break characters that appear exactly at the end of the chunk lost in the output. 2003-01-16 Marcus Boerger * ext/standard/tests/image/getimagesize.phpt ext/standard/tests/image/image_type_to_mime_type.phpt: - JPEG 2000 support * ext/standard/image.c ext/standard/php_image.h: - corrected error in file detection for very small files - JPEG 2000 support, mostly Adam Wright 2003-01-16 Harald Radi * ext/rpc/java/java.dsp: change library name * ext/rpc/skeleton/php_skeleton.h ext/rpc/skeleton/skeleton.c ext/rpc/skeleton/skeleton.h: update skeleton * win32/php4dllts.dsp: fix path to config.w32.h * main/internal_functions_win32.c: add COM * main/config.w32.h: prevent HEAD + ZE1 builds and add COM * ext/rpc/com/com.dsp: for those who prefer to have com as a shared lib 2003-01-16 Sascha Schumann * (PHP_4) configure.in main/php_version.h: Open up the PHP_4 branch which has been derived from the current PHP_4_3 branch, so we don't introduce any ZE2-related changes. This branch has the purpose of housing experimental patches in the context of PHP 4/ZE1. Patches which don't qualify as bug fixes should not be committed to the PHP_4_3 branch. Note: The code on this branch is unlikely to be ever released in the form of a standard PHP release. Commit new features to the HEAD branch! Patches for this branch should be the exception. Note: The version is "4.5.0", because 4.4.0 has been used for some time in HEAD before being switched to 5.0.0. I would have used something like "4.X.X", but letters are not really supported by the current system. 2003-01-16 Harald Radi * ext/rpc/handler.h ext/rpc/layer.h ext/rpc/php_rpc.h ext/rpc/rpc.c ext/rpc/rpc.h ext/rpc/com/com.c ext/rpc/com/com.h ext/rpc/com/php_com.h ext/rpc/skeleton/skeleton.c ext/rpc/skeleton/skeleton.h: make layers loadable as self-sustaining php extension which registeres itself in the rpc framework. 2003-01-16 Dan Kalowsky * ext/odbc/php_odbc.h: typo corrected * ext/odbc/php_odbc.c ext/odbc/php_odbc.h: Adding in test ability for WIndows to fetch_objects 2003-01-16 Edin Kadribasic * ext/standard/math.c: Fixed bug #21648 2003-01-16 Sascha Schumann * php.ini-dist php.ini-recommended ext/session/mod_files.c ext/session/php_session.h ext/session/session.c: Add INI setting session.hash_bits_per_character which enables developers to choose how session ids are represented, regardless of the hash algorithm. 2003-01-16 Ilia Alshanetsky * ext/oracle/oracle.c: Fixed bug #20079 (made ora_logoff return TRUE on success). 2003-01-15 Edin Kadribasic * win32/php_modules.dsw: Added some missing modules. Removed some that are built in or moved to ext/rpc. 2003-01-15 Harald Radi * (PHP_4_3) ext/rpc/.cvsignore ext/rpc/CREDITS ext/rpc/EXPERIMENTAL ext/rpc/RPC_HOWTO 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/.cvsignore ext/rpc/com/CREDITS ext/rpc/com/TODO 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/com/conversion.h ext/rpc/com/dispatch.c ext/rpc/com/variant.c ext/rpc/com/variant.h ext/rpc/dotnet/.cvsignore ext/rpc/dotnet/CREDITS ext/rpc/dotnet/EXPERIMENTAL ext/rpc/dotnet/README ext/rpc/dotnet/dotnet.cpp ext/rpc/dotnet/dotnet.dsp ext/rpc/dotnet/dotnet.php ext/rpc/dotnet/php_dotnet.h ext/rpc/java/.cvsignore ext/rpc/java/CREDITS ext/rpc/java/EXPERIMENTAL ext/rpc/java/Makefile.frag ext/rpc/java/README ext/rpc/java/config.m4 ext/rpc/java/except.php ext/rpc/java/java.c ext/rpc/java/java.dsp ext/rpc/java/jawt.php ext/rpc/java/jver.php ext/rpc/java/reflect.java ext/rpc/skeleton/skeleton.c ext/rpc/skeleton/skeleton.h 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 ext/rpc/xmlrpc/.cvsignore ext/rpc/xmlrpc/CREDITS ext/rpc/xmlrpc/EXPERIMENTAL ext/rpc/xmlrpc/config.m4 ext/rpc/xmlrpc/php_xmlrpc.h ext/rpc/xmlrpc/xmlrpc-epi-php.c ext/rpc/xmlrpc/xmlrpc.dsp ext/rpc/xmlrpc/libxmlrpc/.cvsignore ext/rpc/xmlrpc/libxmlrpc/README ext/rpc/xmlrpc/libxmlrpc/acinclude.m4 ext/rpc/xmlrpc/libxmlrpc/base64.c ext/rpc/xmlrpc/libxmlrpc/base64.h ext/rpc/xmlrpc/libxmlrpc/encodings.c ext/rpc/xmlrpc/libxmlrpc/encodings.h ext/rpc/xmlrpc/libxmlrpc/queue.c ext/rpc/xmlrpc/libxmlrpc/queue.h ext/rpc/xmlrpc/libxmlrpc/simplestring.c ext/rpc/xmlrpc/libxmlrpc/simplestring.h ext/rpc/xmlrpc/libxmlrpc/system_methods.c ext/rpc/xmlrpc/libxmlrpc/system_methods_private.h ext/rpc/xmlrpc/libxmlrpc/xml_element.c ext/rpc/xmlrpc/libxmlrpc/xml_element.h ext/rpc/xmlrpc/libxmlrpc/xml_to_dandarpc.c ext/rpc/xmlrpc/libxmlrpc/xml_to_dandarpc.h ext/rpc/xmlrpc/libxmlrpc/xml_to_soap.c ext/rpc/xmlrpc/libxmlrpc/xml_to_soap.h ext/rpc/xmlrpc/libxmlrpc/xml_to_xmlrpc.c ext/rpc/xmlrpc/libxmlrpc/xml_to_xmlrpc.h ext/rpc/xmlrpc/libxmlrpc/xmlrpc.c ext/rpc/xmlrpc/libxmlrpc/xmlrpc.h ext/rpc/xmlrpc/libxmlrpc/xmlrpc.m4 ext/rpc/xmlrpc/libxmlrpc/xmlrpc_introspection.c ext/rpc/xmlrpc/libxmlrpc/xmlrpc_introspection.h ext/rpc/xmlrpc/libxmlrpc/xmlrpc_introspection_private.h ext/rpc/xmlrpc/libxmlrpc/xmlrpc_private.h ext/rpc/xmlrpc/libxmlrpc/xmlrpc_win32.h: removing this stuff from the php 4.3 branch 2003-01-15 Sascha Schumann * main/SAPI.h: scrap STANDARD_SAPI_MODULE_PROPERTIES; it is causing more harm than good 2003-01-15 Ilia Alshanetsky * ext/interbase/interbase.c: More build fixes. 2003-01-15 Wez Furlong * ext/standard/basic_functions.c ext/standard/exec.h ext/standard/proc_open.c ext/standard/proc_open.h ext/standard/tests/general_functions/proc_open.phpt: Relieve scripts of the burden of ensuring that all pipes are closed prior to calling proc_close(). Implement proc_get_status(resource $process) which returns an array of information about a process created with proc_open(). The information includes: array( "command" => string "name of the command", "pid" => long process identifier, "running" => bool true if the process is still running "exitcode" => long exitcode if the process exited "signaled" => bool true if the process was signaled "termsig" => long signal number if signaled "stopped" => bool true if the process is stopped "stopsig" => long signal number if stopped ); 2003-01-15 Ilia Alshanetsky * ext/informix/ifx.ec: Fixed a typo. 2003-01-15 Sebastian Bergmann * main/config.w32.h: Define PHP_CAN_SUPPORT_PROC_OPEN. * win32/php4dll.dsp win32/php4dllts.dsp: Add proc_open.c to project. 2003-01-15 Wez Furlong * ext/standard/basic_functions.c ext/standard/config.m4 ext/standard/exec.c ext/standard/proc_open.c: - Move proc_open code to a source file of it's own. - Tidy up that netware mess by performing a configure check which will define the symbol PHP_CAN_SUPPORT_PROC_OPEN if PHP can support proc_open. - Protected the proc_open specific code with #ifdef PHP_CAN_SUPPORT_PROC_OPEN so that user-space scripts can use function_exists and react accordingly. ** Heads Up Win32: You need to add ext/standard/proc_open.c to the DSP and ** #define PHP_CAN_SUPPORT_PROC_OPEN in the w32 config header. 2003-01-15 Jani Taskinen * (PHP_4_3) ext/session/mod_files.c: MFH: handle ERANGE from strtol properly 2003-01-15 Ilia Alshanetsky * ext/interbase/interbase.c: Build fixes. 2003-01-15 Moriyoshi Koizumi * ext/standard/filters.c: Fixed a qp encoder bug that the constructor sometimes fails if line-breaking mode is off. 2003-01-15 Ilia Alshanetsky * ext/rpc/java/java.c: Typo fixes. * ext/informix/ifx.ec: Fixed typo. * ext/sybase/php_sybase_db.c ext/sybase_ct/php_sybase_ct.c: Various corrections. * ext/interbase/interbase.c: Fixed typos. * ext/dbase/dbase.c: Typo corrections. 2003-01-15 Sascha Schumann * main/SAPI.c main/SAPI.h: whitespace 2003-01-15 Yasuo Ohgaki * ext/pgsql/pgsql.c: Fixed proto 2003-01-15 Adam Dickmeiss * ext/yaz/php_yaz.c ext/yaz/php_yaz.h: Fix functions comments (connection resource rather than connection id). New functions yaz_set_option and yaz_get_option. Cleanup in yaz_connect. * ext/yaz/config.m4: Fix lib config for the case where YAZ depends on multiple libraries 2003-01-15 Ilia Alshanetsky * ext/interbase/interbase.c: Kill compile warning. * ext/informix/ifx.ec ext/interbase/interbase.c ext/sybase/php_sybase_db.c ext/sybase_ct/php_sybase_ct.c: Newer parameter parsing API. * ext/hwapi/hwapi.cpp ext/hyperwave/hw.c ext/qtdom/qtdom.c ext/rpc/dotnet/dotnet.cpp ext/rpc/java/java.c ext/snmp/winsnmp.c: Getting rid of the old API parsing code. * ext/filepro/filepro.c: Changed php_error to php_error_docref. Made use of the more recent parameter parsing API, zend_get_parameters*. * ext/dbase/dbase.c: Removed pointless checks around array_init() & ZE memory allocation macros. Changed php_error to php_error_docref. Dropped getParam* parameter parsing API in favor of zend_get_parameters*. * ext/cpdf/cpdf.c ext/cpdf/php_cpdf.h: This patch allows cpdf to be compiled in conjunction with ncurses, which was not possible before due to conflicting defines. 2003-01-14 Ilia Alshanetsky * ext/rpc/xmlrpc/xmlrpc-epi-php.c: Porting of patch applied to ext/xmlrpc. * ext/xmlrpc/xmlrpc-epi-php.c: Made the code use php_error_docref(). Removed pointless checks around array_init() and emalloc(). Switched to zend_get_parameters_ex() argument parsing API. * ext/domxml/php_domxml.c: Changed getParameters() to zend_get_parameters_ex(). * ext/hyperwave/hw.c: Fixed compile warnings. * ext/cpdf/cpdf.c: One more typo. * ext/cpdf/cpdf.c: Fixed typos. 2003-01-14 Moriyoshi Koizumi * ext/iconv/iconv.c: Appended my name to the list of authors * ext/iconv/tests/iconv_mime_decode.phpt: Test update for new feature 2003-01-14 Ilia Alshanetsky * ext/cpdf/cpdf.c: Switched from old getParse* argument parsing API to a more recent zend_get_parameters*. 2003-01-14 Andrey Hristov * ext/standard/basic_functions.c ext/standard/php_var.h ext/standard/var.c: added function get_memory_usage(). available only when PHP is compiled with --enable-memory-limit 2003-01-14 Ilia Alshanetsky * ext/hyperwave/hg_comm.c: Fixed compile warning & removed useless variable. * ext/hyperwave/hw.c: Changed php_error to php_error_docref. Got rid off the ancient getParameters* parameter parsing API. 2003-01-14 Moriyoshi Koizumi * ext/standard/filters.c: Added a new option "force-encode-first" to the quoted-printable encoder as per Wez's request. If enabled, the encoder forcefully does qp tranformation on every first character of lines in incoming stream. 2003-01-14 Ilia Alshanetsky * ext/cpdf/cpdf.c: Changed php_error() to php_error_docref(). Made pdfdoc retrieval a macro. 2003-01-14 Moriyoshi Koizumi * ext/standard/quot_print.c: Made php_quot_print_decode() RFC2045-compliant 2003-01-14 Edin Kadribasic * (PHP_4_3) NEWS: Bugfixing news * ext/gettext/gettext.dsp: MFB: bind_textdomain_codeset() availability on windows * (PHP_4_3) ext/gettext/gettext.dsp: Made bind_textdomain_codeset() available on windows (fixes #21525). 2003-01-14 Derick Rethans * win32/install.txt: s/gd/gd2 2003-01-14 Ilia Alshanetsky * ext/sockets/sockets.c: Changed php_error to php_error_docref(). Removed pointless checks around array_init(). 2003-01-14 Moriyoshi Koizumi * ext/standard/filters.c: Fixed small memory leak that occurs when the invalid line length is passed to the qprint ctor. * ext/standard/filters.c: Fixed quoted-printable encoder so that it produces RFC2045 complicant output. As per this specification requirement, the constructor now accepts three options: binary (boolean), line-len (uint), line-break-chars (string). 2003-01-13 Jani Taskinen * ext/informix/config.m4 ext/informix/config.m4: Fixed bug: #21543, Informix version detection fails 2003-01-13 Frank M. Kromann * ext/rpc/com/conversion.c: false should be VT_FALSE 2003-01-13 Moriyoshi Koizumi * (PHP_4_3) tests/run-test/test008.phpt: MFH * tests/run-test/test008.phpt: Fixed typoFixed typoFixed typoFixed typoFixed typoFixed typoFixed typoFixed typo 2003-01-13 Andrey Hristov * ext/standard/array.c ext/standard/basic_functions.c ext/standard/php_array.h: added array_combine(). Creates an array by using the elements of the first parameter as keys and the elements of the second as correspoding keys. Error is thrown in case the arrays has different number of elements. Number of elements 0 is not valid for both parameters. 2003-01-13 Edin Kadribasic * sapi/servlet/servlet.dsp: Adjust paths for the new location of ext/rpc/java * ext/rpc/java/java.dsp: Adjust paths to the new location java.dsp * ext/rpc/xmlrpc/xmlrpc-epi-php.c: Fix ZTS build here too. * ext/xmlrpc/xmlrpc-epi-php.c: Fixed ZTS build. 2003-01-13 Moriyoshi Koizumi * ext/standard/filters.c: Fixed a silly segfault bug caused by lack of strict type checking 2003-01-13 Sascha Schumann * build/buildcheck.sh: which is not portable. use our bundled shtool instead. 2003-01-13 Moriyoshi Koizumi * ext/standard/filters.c: . Implemented a common filter parameter parsing function. . Added automatic line-breaking feature for base64 encode filter. This can be turned on by putting a option entry "base64-encode.line-length" to the filter parameters. 2003-01-13 Derick Rethans * ext/domxml/php_domxml.c: - Fix ZTS build 2003-01-12 Moriyoshi Koizumi * tests/lang/bug21600.phpt: Added test case for bug #21600 * ext/standard/filters.c: Fixed a bug of the base64 decoder that a sequence of intervening characters that are supposed to be ignored by the decoder cause output corruption. 2003-01-12 Stanislav Malyshev * ext/standard/aggregation.c: ZE2 compatibility 2003-01-12 Sebastian Bergmann * ext/standard/basic_functions.c ext/standard/info.c: ZTS fixes. 2003-01-12 Stanislav Malyshev * ext/standard/aggregation.c: Disable ZE2-incompatible parts * ext/standard/var.c: remove unneeded var 2003-01-12 Moriyoshi Koizumi * ext/standard/filters.c: Fixed infinite loop bug when an invalid quoted-printable escape sequence appears in the streem. * ext/standard/filters.c: Fixed error msg format so it correctly reports the actual filter name 2003-01-12 Sascha Schumann * php.ini-recommended: recommending SHA-1 as hash function * php.ini-dist: sync entries * php.ini-dist php.ini-recommended ext/session/php_session.h ext/session/session.c: add INI setting session.hash_function add support for creating session ids using SHA-1 source more entropy for session ids * ext/session/mod_files.c: handle ERANGE from strtol properly 2003-01-12 Moriyoshi Koizumi * ext/standard/filters.c: . Updated quoted-printable filter by a neater implementation. . Changed emalloc family functions to pemalloc ones for persistent filters. . Changed base64 and quoted-printable filter names to "convert.base64-encode", "convert.base64-decode", "convert.quoted-printable-encode", and "convert.quoted-printable-decode" respectively for the consistency that may be requested later. 2003-01-12 Derick Rethans * NEWS: - Update NEWS to show 5.0.0 2003-01-12 Jan Lehnardt * run-tests.php: - fix typo 2003-01-12 Sebastian Bergmann * ext/rpc/java/config.m4 sapi/servlet/Makefile.frag sapi/servlet/config.m4 sapi/servlet/servlet.c sapi/servlet/servlet.c sapi/servlet/servlet.java: Patch by Giuseppe Tanzilli . 2003-01-12 Frank M. Kromann * ext/mssql/php_mssql.c: Release skiped results. This will free memory on the server. Make mssql_execute work for stored procedures with and without returning result sets 2003-01-11 Ilia Alshanetsky * ext/sybase_ct/php_sybase_ct.c: Do not 'convert' double columns to integers after the 1st row in the result set. * ext/sybase_ct/php_sybase_ct.c: Fixed handling of NUMERIC type, when it contains numbers that could potentially exceed the interger limit. 2003-01-11 Moriyoshi Koizumi * ext/standard/browscap.c ext/standard/datetime.c ext/standard/file.c ext/standard/formatted_print.c ext/standard/pack.c ext/standard/reg.c ext/standard/string.c: Reverted because correct decision has not been made yet. * sapi/apache2filter/php_functions.c: This patch is likely to fix win32 build * ext/standard/browscap.c ext/standard/datetime.c ext/standard/pack.c ext/standard/reg.c ext/standard/string.c: Reduced warnings in ZE2 build * ext/standard/file.c ext/standard/formatted_print.c: Reduced compiler warnings in ZE2 build 2003-01-11 Ilia Alshanetsky * ext/standard/string.c: Added stripos() & strripos() functions. Added 3rd parameter (offset) to strrpos(). 2003-01-11 Sebastian Bergmann * ext/rpc/rpc.c: Add missing ,. 2003-01-11 Harald Radi * ext/rpc/rpc.c ext/rpc/rpc_proxy.c ext/rpc/com/variant.c: fix build 2003-01-11 Sebastian Bergmann * win32/php4dllts.dsp: Leftover. 2003-01-11 Ilia Alshanetsky * sapi/cli/php_cli.c: Fix the line numbering when the 1st line in the script is #!. 2003-01-10 Harald Radi * main/config.w32.h main/internal_functions_win32.c win32/php4dllts.dsp: HEAD defaults to build with ZE2 now 2003-01-10 Frank M. Kromann * ext/mssql/php_mssql.c: Fixing copy and paste errors * ext/mssql/php_mssql.c: Avoid warnings when running stored procedures returning multiple results before setting output and return values. Additional results can be skipped by the optional parameter to mssql_execute 2003-01-10 Christian Stocker * ext/domxml/php_domxml.c: Throw error if object is not a XML_DOCUMENT_NODE in domxml_dump_node() * (PHP_4_3) ext/domxml/php_domxml.c: Throw error if object is not a XML_DOCUMENT_NODE 2003-01-10 Wez Furlong * ext/standard/math.c: Fix the number format fix when the number of decimal places is 0. 2003-01-10 Derick Rethans * ext/xmlrpc/xmlrpc-epi-php.c: - Fixed bug #20155: xmlrpc compile problem with zendengine2 (Path by Jan Schneider) 2003-01-10 Moriyoshi Koizumi * ext/mime_magic/mime_magic.c ext/standard/reg.c: Reduced compiler warnings * ext/iconv/iconv.c: Added missing cast operators 2003-01-10 Ilia Alshanetsky * ext/gd/libgd/gd.c: Fixed ImageRotate when rotation angle is 90 degrees, patch by leon@leonatkinson.com. 2003-01-10 Stig Bakken * (RELEASE_1_0_1) pear/package-PEAR.xml: - prepare 1.0.1 release 2003-01-10 Ilia Alshanetsky * (PHP_4_3) NEWS: Bug fixing news. 2003-01-10 Stig Bakken * (RELEASE_1_0_1) pear/scripts/pear.in: - obey PHP_PEAR_INSTALL_DIR and PHP_PEAR_PHP_BIN environment variables * (RELEASE_1_0_1) pear/PEAR/Command/Package.php: - verbosity fix for cvstag and cvsdiff commands * (RELEASE_1_0_1) pear/OS/Guess.php: - TODO item * pear/PEAR/Command/Package.php: - add "cvsdiff" command * (RELEASE_1_0_1) pear/PEAR/Config.php: - use getenv() instead of $_ENV[] 2003-01-09 Ilia Alshanetsky * ext/standard/file.c: CS fixes * ext/standard/file.c: Fixed a memory corruption that occurs when an unterminated " is encountered this bug maybe be related to #21556. 2003-01-09 Frank M. Kromann * ext/mssql/config.m4: Adding extended checks for where FreeTDS is installed 2003-01-09 Ilia Alshanetsky * main/safe_mode.c: Fixed compiler warnings. 2003-01-09 Sara Golemon * ext/standard/filestat.c main/safe_mode.c main/safe_mode.h: Bug #21531 file_exists() and other filestat functions throw errors when in safe mode and file/directory does not exist. Extended php_checkuid function to add "flags" field via rename to php_checkuid_ex with alias for BC in functions that do want safe mode errors thrown. 2003-01-09 Moriyoshi Koizumi * ext/ctype/ctype.c: Fixed typo 2003-01-09 Wez Furlong * ext/standard/basic_functions.c ext/standard/basic_functions.h ext/standard/formatted_print.c tests/strings/002.phpt: Implement fprintf() and vfprintf(). Add a couple of tests. 2003-01-09 Sebastian Bergmann * (PHP_4_3) main/.cvsignore main/config.w32.h main/config.w32.h.in win32/php4dll.dsp win32/php4dllts.dsp: MFH: Revert config.w32.h.in -> config.w32.h build step. 2003-01-09 Jani Taskinen * configure.in: Fix bug: #21511, config.status warning 2003-01-09 Wez Furlong * ext/standard/math.c ext/standard/tests/math/bug21523.phpt: Fix Bug #21523 - number_format could cause a memory allocation for a negative memory size in situations where the sprintf implementation of the host system generated less decimal places than were requested. Resolved this issue by making number_format examine the string returned by spprintf and have it pad to the correct number of decimal places. Added a test-case based on the bug report; the length of decimal places required to trigger this bug is sprintf implementation dependent; as the implementation is now using spprintf (provided by PHP), that number is 78 digits (NDIG - 2). 2003-01-09 Stig Bakken * (RELEASE_1_0_1) pear/PEAR.php: - added debug_backtrace() support to PEAR errors * (RELEASE_1_0_1) pear/System.php: - System::which() now checks .exe .bat .cmd and .com on Windows * (RELEASE_1_0_1) pear/PEAR/Frontend/CLI.php: - cleanups 2003-01-09 Zeev Suraski * configure.in main/php_version.h: Time for an update 2003-01-09 Frank M. Kromann * ext/mssql/php_mssql.c: Use the correct link when checking for more results on stored procedures * ext/mssql/php_mssql.c ext/mssql/php_mssql.h: Restire BC for mssql_execute(). This will not break the new feature for handling multiple results from a single stired procedure. Adding mssql_free_statement() 2003-01-09 Ilia Alshanetsky * ext/standard/fsock.c: Fixed bug #21529 (memory corruption by fsockopen()). 2003-01-09 Frank M. Kromann * ext/mssql/php_mssql.c: changed from LVAL to RESVAL macro 2003-01-09 Jani Taskinen * ext/standard/image.c: Fix the ZTS build. 2003-01-08 Moriyoshi Koizumi * ext/standard/filters.c: Reimplemented base64 filter to use iconv()-like facility for flexibility. 2003-01-08 Frank M. Kromann * ext/fbsql/php_fbsql.h ext/mssql/php_mssql.c ext/mssql/php_mssql.h: Changed global data type to avoid problems with initialization 2003-01-08 Ilia Alshanetsky * ext/standard/image.c ext/standard/php_image.h: Added support for WBMP images. * ext/gd/gd.c ext/gd/libgd/gd_io_dp.c: Fixed bug #21518. Fixed memory in leak ImageCreateFromString(). Fixed a bug that prevented proper identification of WBMP images and thus prevented ImageCreateFromString() from working on those images. * (PHP_4_3) NEWS: Bug fixing news. 2003-01-08 Zeev Suraski * ext/session/session.c: Fix UMR 2003-01-08 Georg Richter * (PHP_4_3) ext/mysql/php_mysql.c: fixed bug 21498 * ext/mysql/php_mysql.c: fixed bug #21498 2003-01-08 Ilia Alshanetsky * ext/mcrypt/mcrypt.c: Removed unused variable. * main/main.c: Fixed bug #21499 (more descriptive message in the event of require/include failure). * sapi/cgi/cgi_main.c sapi/cli/php_cli.c: Fixed bug #21297. The fix also fixes miscalculation of lines numbers by 1 due the previously mentioned bug. * ext/odbc/php_odbc.c: Version is char ;). 2003-01-07 Christian Dickmann * pear/PEAR/Config.php: fix default umask(); (thx to Mirco MEEBEY Bauer for bringing this behavior to my attention and testing the patch) 2003-01-07 Dan Kalowsky * ext/odbc/php_odbc.c: Version tag for future move to PECL * ext/odbc/config.m4 ext/odbc/php_odbc.c: Reverting last change as it really doesn't fix longreadlen problems in all cases. 2003-01-07 Moriyoshi Koizumi * ext/standard/filters.c: Instances should not be freed in dtor()... * ext/standard/filters.c: Made error msg format more consistent 2003-01-07 Pierre-Alain Joye * ext/gd/gd.c: Fix line drawed twice (L. Atkinson) 2003-01-07 Sara Golemon * ext/standard/user_filters.c: Backout changes between 1.6 and 1.7 2003-01-07 Zeev Suraski * sapi/cgi/cgi_main.c: Add missing call 2003-01-07 Levi Dixon * ext/oci8/config.m4 ext/oci8/oci8.c: Added support for Shared Data Mode for OCI8_VERSION >= 8.1, which will provide memory savings by sharing common statement data 2003-01-07 Edin Kadribasic * (PHP_4_3) NEWS: Bugfix #17098 in the branch * (PHP_4_3) sapi/apache2filter/sapi_apache2.c: MFH: Fixed bug #17098 (make Apache aware that PHP scripts represent dynamic data and should not be cached). Fix suggested by daniel.eckl@gmx.de. 2003-01-07 Ilia Alshanetsky * run-tests.php: Added a check for availability of PCRE extension needed by test-suite. 2003-01-07 Vincent Blavet * pear/Archive/Tar.php: - Synchronize with /pear/Archive_Tar/Tar.php 1.5 : - Add support for long filenames (greater than 99 characters) - Add private methods _readLongHeader() and _writeLongHeader() 2003-01-07 Ilia Alshanetsky * ext/domxml/php_domxml.c: Fixed ZTS build with ZE2. * ext/ftp/ftp.c ext/ftp/ftp.h ext/ftp/php_ftp.c: ZTS cleanup. 2003-01-07 Zeev Suraski * ext/standard/basic_functions.c: whitespace 2003-01-07 Edin Kadribasic * (PHP_4_3) NEWS: Bugfixing news * win32/sendmail.c: MFB: Fixed bug #21442 (Crash of mail() on Windows when the first parameter is empty). * (PHP_4_3) win32/sendmail.c: Fixed bug #21442 (Crash of mail() on Windows when the first parameter is empty). 2003-01-07 Sascha Schumann * ext/mysql/config.m4: tell user which header files could not be found 2003-01-07 Moriyoshi Koizumi * ext/standard/user_filters.c: Fixed small leak 2003-01-07 Frank M. Kromann * ext/mssql/config.m4: Making the mssql extension work when build as a shared object 2003-01-07 Ilia Alshanetsky * ext/ftp/ftp.c ext/ftp/ftp.h ext/ftp/php_ftp.c: Fixed ZTS build. * ext/ftp/ftp.c ext/ftp/php_ftp.c: MFB + CS * (PHP_4_3) ext/ftp/ftp.c ext/ftp/php_ftp.c: Changed perror() to php_error_docref(), fixed bug #21309. Made extension use ZE memory allocation wrappers, fixed a memory leak in ftp_mkdir. Removed duplicate ftp_syst() call inside ftp_systype(). 2003-01-07 Moriyoshi Koizumi * NEWS: Trivial grammer fix * ext/standard/filters.c: Implemented quoted-printable stream filter 2003-01-07 Sara Golemon * ext/standard/user_filters.c: Add option to stream_get_filters() user-defined fiters vs. all filters, default to user only 2003-01-07 Moriyoshi Koizumi * ext/standard/filters.c: Implemented string.base64 stream filter 2003-01-06 Stefan Esser * main/rfc1867.c: Adding support for anonymous fileuploads (#21450) 2003-01-06 Wez Furlong * main/streams.c: Fix for Bug #20827: where stat is a macro on Tru64. Patch from 2003-01-06 Ilia Alshanetsky * ext/standard/string.c ext/standard/tests/strings/bug21453.phpt: Fixed bug #21453 (improper handling of non-terminated <). * ext/standard/browscap.c: Fixed Bug #21443 and related bug #21468. 2003-01-06 Dan Kalowsky * ext/odbc/php_odbc.c: Patch for bug #19349 * ext/odbc/php_odbc.c: Correction for bug #21279 2003-01-06 Moriyoshi Koizumi * ext/iconv/iconv.c ext/standard/quot_print.c ext/standard/quot_print.h: Moved php_quot_print_decode() to quot_print.c so that it can be used outside the iconv module * ext/iconv/iconv.c: Added more RFC2047-compliancy check in iconv_mime_decode() * ext/iconv/iconv.c: Fixed iconv_mime_decode() so that it comforms to RFC2231 2003-01-06 Georg Richter * ext/mysql/php_mysql.c: fixed missing & (Thx to Sebastian Bergmann) * (PHP_4_3) ext/mysql/php_mysql.c: fixed a missing & (Thx to Sebastian Bergmann 2003-01-06 Wez Furlong * ext/standard/tests/file/userfilters.phpt: Make it slightly more obvious that the return value is relative to the length of the input data. * main/php_streams.h: Fix for bug #21406; infinite loop during filter flushing. 2003-01-06 Edin Kadribasic * (PHP_4_3) NEWS: Bugfixing news. * ext/gd/gd_bundled.dsp: MFB: Fixed bug #20503 (imagesetbrush() availability on windows). * (PHP_4_3) ext/gd/gd_bundled.dsp: Fixed bug #20503 (imagesetbrush() availability on windows). 2003-01-06 Anantha Kesari H Y * ext/pgsql/php_pgsql.h: Removed #ifdef NetWare and made the necessary changes in the directory structure of NetWare. * netware/libpq/libpq-fs.h: Header file for PostgreSQL. Moved from netware directory to netware/libpq directory. * netware/libpq-fs.h: This file moved to netware/libpq directory. 2003-01-06 Christian Stocker * (PHP_4_3) ext/domxml/php_domxml.c: - fix crash in domxml_node_insert_before() (by Lukas Schröder) * ext/domxml/php_domxml.c ext/domxml/php_domxml.h: - get_path forgotten in .h file - fix crash in domxml_node_insert_before() (by Lukas Schröder) 2003-01-06 Anantha Kesari H Y * netware/phplib.imp: Added symbols to build PostgreSQL extension for NetWare. * ext/mysql/mysql.mak: Changes for NetWare makefile. * ext/pgsql/pgsql.mak ext/pgsql/php_pgsql.h: Makefile added newly and modified the header file for NetWare. 2003-01-06 Christian Stocker * (PHP_4_3) ext/domxml/php_domxml.c: partly MFH from 1.288 (Fixed segfault, when trying to add a node to itself) * ext/domxml/php_domxml.c: - Fixed segfault, when trying to add a node to itself. 2003-01-06 Anantha Kesari H Y * ext/standard/basic_functions.c: Added #ifdef HAVE_SYSLOG_H around syslog function in the whole file to avoid link failure. * netware/phplib.mak: Modified for Netware. 2003-01-06 Sara Golemon * ext/standard/filters.c: Added string.toupper and string.tolower filters and generalized non-op filter methods 2003-01-06 Frank M. Kromann * ext/gd/libgd/gdft.c: Nuke warning, on Win32 build * ext/gd/gd_bundled.dsp: enable imageftbbox() and imagefttext() on WIn32 2003-01-06 Sara Golemon * ext/standard/user_filters.c main/php_streams.h main/streams.c: Expose stream_filters_hash so that it can be searched by stream_get_filters() 2003-01-06 Edin Kadribasic * (PHP_4_3) NEWS: Mention gif read-only support on windows. * (PHP_4_3) ext/gd/gd_bundled.dsp: MFH: Added missing flags and .c files for gif read support on Windows. * ext/gd/gd_bundled.dsp: Complete gif readonly support addition by adding missing gd_gif_in.c file to the project. * ext/mcrypt/mcrypt.c: Comment out non ANSI C standard comliant code. Fixes win32 build. * ext/dba/dba.c: Fixed win32 build. 2003-01-06 Ilia Alshanetsky * (PHP_4_3) NEWS: Bug fixing news. * ext/gd/libgd/gd.h ext/gd/libgd/gdft.c: Fixed bug #21445. 2003-01-05 Sara Golemon * ext/standard/file.c ext/standard/user_filters.c: Fixes to stream_get_wrappers() and stream_get_filters() handle hash table layouts better, plus some picune whitespace fixes 2003-01-05 Georg Richter * ext/mysql/php_mysql.c: fixed bug #21435 2003-01-05 Sebastian Bergmann * ext/gd/gd_bundled.dsp: Define HAVE_GD_GIF_READ. 2003-01-05 Zeev Suraski * main/main.c: Remove unnnecessary initialization * sapi/cgi/cgi_main.c sapi/cli/php_cli.c: Initialize lineno using the new infrastructure 2003-01-05 Sebastian Bergmann * main/.cvsignore main/config.w32.h main/config.w32.h.in win32/php4dll.dsp win32/php4dllts.dsp: Revert config.w32.h.in -> config.w32.h build step per discussion with Zeev. 2003-01-05 Zeev Suraski * sapi/apache/php4apache.dsp: Make the .dsp use the php4build build directories 2003-01-05 Edin Kadribasic * ext/xslt/xslt.dsp: MFB: Made xslt_set_encoding() available on windows (bug #20640). * (PHP_4_3) ext/xslt/xslt.dsp: Made xslt_set_encoding() available on windows (bug #20640). * (PHP_4_3) ext/standard/php_incomplete_class.h: Fixed ZTS build. 2003-01-05 Ilia Alshanetsky * ext/standard/string.c: Fixed a memory leak in setlocale() & localeconv(). 2003-01-05 Sara Golemon * ext/standard/basic_functions.c ext/standard/basic_functions.h ext/standard/user_filters.c: Added stream_get_filters(); to list registered filters 2003-01-05 Derick Rethans * ext/standard/filestat.c: - Fix some of the netware crap 2003-01-04 Derick Rethans * ext/standard/filestat.c: - Change Warnings to Notices 2003-01-04 Ilia Alshanetsky * ext/openssl/openssl.c: CS fixes. 2003-01-04 Marcus Boerger * (PHP_4_3) ext/standard/browscap.c ext/wddx/wddx.c: Fix ZTS-ZE2 (After Cygwin now for the rest) * ext/exif/tests/exif003.phpt ext/exif/tests/exif004.phpt: better to check for existance first * ext/dbx/dbx.c ext/imap/php_imap.c ext/standard/browscap.c ext/standard/incomplete_class.c ext/standard/php_incomplete_class.h ext/standard/var_unserializer.c ext/wddx/wddx.c: Fix ZTS-ZE2 build 2003-01-04 Moriyoshi Koizumi * NEWS: Forgot to include these functions in the list 2003-01-04 Derick Rethans * NEWS: - Fix typo 2003-01-04 Moriyoshi Koizumi * ext/iconv/iconv.c: Fixed cut'n'paste failure * NEWS: NEWS update for new iconv functions * ext/iconv/tests/iconv_mime_encode.phpt: Added test case for iconv_mime_encode() 2003-01-04 Derick Rethans * (PHP_4_3) ext/pgsql/pgsql.c: - MFH: Fixed bug #21232 (Unresolved references to PQsetnonblocking). (Patch by Floyd ) * ext/pgsql/pgsql.c: - Fixed bug #21232 (Unresolved references to PQsetnonblocking). (Patch by Floyd ) 2003-01-03 Alex Waugh * acinclude.m4: Provide alternative for glibc brokenness test when cross compiling 2003-01-03 Derick Rethans * sapi/apache/php_apache.c sapi/apache/php_apache.c: - Fix docrefs * sapi/apache/php_apache.c: - Fix typo (patch by Joseph Tate) 2003-01-03 Moriyoshi Koizumi * ext/iconv/tests/iconv_mime_decode.phpt: Added test case for iconv_mime_decode() * ext/iconv/tests/iconv_strpos.phpt ext/iconv/tests/iconv_strrpos.phpt: Added test cases for iconv_strpos() and iconv_strrpos() * ext/iconv/iconv.c: Fixed an iconv_strrpos() bug that the function doesn't return accurate position of last occurrence 2003-01-03 Derick Rethans * ext/mcrypt/TODO: - Update todo * ext/mcrypt/config.m4 ext/mcrypt/mcrypt.c ext/mcrypt/php_mcrypt.h: - Removed support for libmcrypt 2.2.x to allow cleaner code. Another reason to upgrade libmcrypt to a 2.5.x series as the older ones have too much bugs to be safely used with PHP. - Updated macro's, php_errors and parameter parsing. 2003-01-03 Ilia Alshanetsky * ext/standard/file.c: Fixed a bug that would cause flock() to never set the 3rd argument. CS fixes & switched to new parameter parsing API. * (PHP_4_3) ext/standard/http_fopen_wrapper.c: MFH (fix for bug #21267 & memory leak fix on reidrects). * ext/standard/http_fopen_wrapper.c: Fixed a memory leak that occurs if the location specified by redirect header cannot be opened. * ext/standard/http_fopen_wrapper.c: Further fixes related to bug #21267. 2003-01-03 Anantha Kesari H Y * sapi/apache2filter/php_apache.h sapi/apache2filter/sapi_apache2.c: Modifications for NetWare. * netware/phplib.imp netware/phplib.mak netware/sendmail.c netware/sendmail.h: Some existing files modified and a couple of files removed for NetWare. * win32/sendmail.c win32/sendmail.h: NetWare related changes/modifications. 2003-01-03 Moriyoshi Koizumi * ext/iconv/iconv.c: Added offset validity check for iconv_strpos() 2003-01-03 Anantha Kesari H Y * ext/xml/xml.mak netware/geterrnoptr.c netware/sendmail_nw.h sapi/apache/libpre.c: New file added for NetWare. * ext/ftp/ftp.c ext/ldap/ldap.mak ext/ldap/ldap.mak ext/mysql/mysql.mak ext/mysql/mysql.mak ext/session/mod_files.c ext/session/session.c ext/standard/exec.c ext/standard/exec.c ext/standard/file.c ext/standard/filestat.c ext/standard/html.c ext/standard/syslog.c ext/xml/xml.mak netware/buildlib.bat netware/phplib.mak: Modified for NetWare. * main/config.nw.h main/internal_functions_nw.c main/php.h main/php_sprintf.c main/user_streams.c: A new file added and some old files modified for NetWare. 2003-01-03 Edin Kadribasic * netware/ApacheCore.imp netware/BisonExtStandard.bat netware/BisonFlexZend.bat: Checking in files for Ananth Kesari 2003-01-03 Anantha Kesari H Y * netware/ZendEngine2.mak netware/grp.h netware/libpq.imp netware/mktemp.c netware/param.h netware/php-nw.bat netware/php4apache.mak netware/php4apache2filter.mak netware/php4cli.mak netware/phplib.imp netware/phplib.mak netware/phptest.ncf netware/pipe.c netware/pipe.h netware/postgres_ext.h netware/pwd.c netware/pwd.h netware/start.c netware/sysexits.h netware/time_nw.c netware/time_nw.h netware/tsrm.mak netware/wfile.c netware/wfile.h netware/zend.mak: A few New files added and some old files modified for NetWare. * netware/libpq-fe.h netware/libpq-fs.h: New files added for NetWare. * netware/common.mif netware/sys/stat.h: File modified for NetWare. 2003-01-03 Derick Rethans * ext/standard/credits_sapi.h: - Update this one as well * ext/standard/credits_ext.h scripts/credits: - Remove double "Win32 COM" functions line * README.PARAMETER_PARSING_API: - Whitespace * (PHP_4_3) NEWS: Bugfixing news 2003-01-03 Sara Golemon * ext/standard/basic_functions.c ext/standard/file.c ext/standard/file.h: Added stream_get_wrappers() 2003-01-03 Moriyoshi Koizumi * ext/iconv/tests/iconv_strlen.phpt ext/iconv/tests/iconv_substr.phpt: Added test cases for iconv_strlen() and iconv_substr() * ext/iconv/iconv.c: Fixed iconv_mime_decode() so it would give more awareness to stateful codesets * ext/iconv/iconv.c: Fixed infinite loop of iconv_mime_encode() in case the specified line length is too short to contain a proper mime-encoded string * ext/iconv/iconv.c: Give mo' shift-sequence awareness to iconv_mime_encode * ext/iconv/iconv.c: More shift-sequence awareness for iconv_substr() * ext/iconv/iconv.c: Added missing casting operators * ext/iconv/tests/eucjp2iso2022jp.phpt: MFB * (PHP_4_3) ext/iconv/tests/eucjp2iso2022jp.phpt: Updated the test so it reflects the recent change on iconv.c * ext/iconv/iconv.c: MFB: fixed shift-out sequence unawareness issue * (PHP_4_3) ext/iconv/iconv.c: Fixed shift-out sequence unawareness issue * ext/standard/array.c: Fixed small leaks in array_map() in case the first parameter is NULL like array_map(NULL, array(...)); 2003-01-03 Harald Radi * pear/scripts/pear.bat: fixing typo 2003-01-03 Jani Taskinen * NEWS: - Removed entries that are going to 4.3.1 - Grouped the entries a bit. * (PHP_4_3) NEWS: Group these entries a bit to make NEWS easier to read. 2003-01-02 Stig Bakken * pear/PEAR/Config.php: - allways fall back to PHP_SYSCONFDIR 2003-01-02 Ilia Alshanetsky * ext/openssl/openssl.c: Fixed a small memory leak when a NULL variable is passed to openssl_csr_sign() as the first argument. * (PHP_4_3) NEWS: Bug fixing news. * ext/standard/html.c: Fixed bug #21338 (crash inside html_entity_decode() when "" is passed). Added test case for the bug. * ext/standard/tests/strings/bug21338.phpt: Fixed bug #21338 (crash inside html_entity_decode() when "" is passed). Added test case for the bug. * acinclude.m4 configure.in: Raise required OpenSSL version to 0.9.6. 2003-01-02 Derick Rethans * main/SAPI.h: - Fixed bug #21169: Compile Failure, and lots of warnings on UnixWare * (PHP_4_3) main/SAPI.h: -** empty log message *** 2003-01-02 Zeev Suraski * sapi/apache/php4apache.dsp: Fix .dsp 2003-01-02 Derick Rethans * main/php_streams.h: - Fix warnings on UnixWare * (PHP_4_3) Makefile.global: - MFH: Fix "make test" when CC was set to something with a parameter * Makefile.global: - Fix "make test" when CC was set to something with a parameter 2003-01-01 Frank M. Kromann * ext/standard/base64.c ext/standard/base64.h: Allow base64 functions to be called from an extension buils as .so/.dll (iconv) 2003-01-01 Zeev Suraski * ext/standard/browscap.c ext/standard/incomplete_class.c: build fixes 2003-01-01 Derick Rethans * (PHP_4_3) tests/run-test/test005.phpt tests/run-test/test008.phpt: - MFH: Fix tests if Zend Optimizer is loaded * tests/run-test/test005.phpt tests/run-test/test008.phpt: - Fix tests if Zend Optimizer is loaded 2003-01-01 Sebastian Bergmann * win32/php4dll.dsp win32/php4dllts.dsp: Add filter.c, user_filters.c. Group stream related sources. * ext/standard/filters.c ext/standard/user_filters.c: Fix warnings. 2003-01-01 Wez Furlong * ext/standard/filters.c: Tidy up * ext/standard/basic_functions.c ext/standard/config.m4 ext/standard/filters.c ext/standard/php_standard.h ext/standard/php_string.h ext/standard/string.c ext/standard/user_filters.c ext/standard/tests/file/userfilters.phpt: Move rot13 filter into a new filters.c source file. Tidy up some other filter related code. * acinclude.m4 configure.in main/streams.c: Workaround for glibc 2.2.9x and later "a+" bug that does not seek to EOF for files fopen()ed with that mode. * (PHP_4_3) acinclude.m4 configure.in main/streams.c: Workaround a bug in glibc 2.2.9x and later that causes it not to seek to EOF for stdio streams opened with a mode of "a+".