2002-05-20 Markus Fischer * ext/posix/posix.c: - MFH fix for #17323. * ext/posix/posix.c: - Fix posix_isatty() and posix_ttyname() (Closes #17323) 2002-05-20 Stig Bakken * pear/PEAR/Remote.php: * disable debug in XML_RPC fallback 2002-05-20 Wez Furlong * sapi/activescript/php4as_scriptengine.h sapi/activescript/scriptengine.cpp sapi/activescript/php4activescript.h: Use the GIT for inter-thread marshalling. 2002-05-20 Markus Fischer * ext/zip/zip.c: - Add safe_mode/uid and open_basedir check to zip_open() (closes #16927). * ext/standard/filestat.c: - ZTS gotcha * ext/standard/filestat.c: - Add open_basedir check for all functions using php_stat() (filesize, stat, etc), closes #11563. 2002-05-20 Harald Radi * sapi/activescript/classfactory.cpp sapi/activescript/scriptengine.cpp: this way it even compiles * ext/com/com.h ext/com/conversion.c ext/com/COM.c: integrating wez's patch 2002-05-20 Stig Bakken * pear/PEAR/Command/Remote.php: * new command setup * pear/packages/XML_RPC-1.0.2.tar pear/packages/XML_RPC-1.0.3.tar: * upgrade bundled XML_RPC package to 1.0.3 * pear/Makefile.frag pear/install-pear.php: * new installer rule that does not depend on bash * pear/PEAR/Common.php: * _infoFromAny goes public! * pear/PEAR/Installer.php: * some verbosity changes: 0 - only errors, 1 - status report when the install is done, 2 - show each operation, 3 - show file operations * pear/PEAR/Command/Install.php: * no output in verbosity level 0 * pear/PEAR/Config.php: * added PEAR_Config::removeLayer() * pear/PEAR/Command/Package.php: * remove getCommands() from here * added options to "pear cvstag": -q -Q -d -F 2002-05-20 Yasuo Ohgaki * ext/pgsql/pgsql.c: MFH 2002-05-20 Stig Bakken * pear/scripts/pear.in: * support multiple -v and -q options * pear/package-Archive_Tar.xml: * forgot to update the release date * pear/package-Archive_Tar.xml: * fix fix * pear/Archive/docs/Tar.txt pear/Archive/Tar.php pear/package-Archive_Tar.xml: * merge 0.4 files from /pear/Archive_Tar * pear/package-Console_Getopt.xml: * prepare 0.10 * pear/PEAR/Command/Registry.php: * remove run() from this class 2002-05-20 Wez Furlong * win32/php4dllts.dsp: This somehow got undone when I committed the rest... 2002-05-20 Yasuo Ohgaki * ext/pgsql/pgsql.c: Fixed possible pg_lo_write() overflow and make it more fail safe. 2002-05-20 Wez Furlong * win32/php4ts.dsw: Add activescript sapi to the workspace * sapi/activescript/classfactory.cpp sapi/activescript/php4activescript.c sapi/activescript/php4activescript.def sapi/activescript/php4activescript.dsp sapi/activescript/php4activescript.h sapi/activescript/php4as_classfactory.h sapi/activescript/php4as_scriptengine.h sapi/activescript/scriptengine.cpp: Implement ActiveScript interfaces. This allows use of PHP in: Client-side script in Internet Explorer Windows Scripting Host ASP and ASP.NET pages It's mostly working... give it a go. You will need to regsvr32 the php4activescript.dll manually. * main/fopen_wrappers.h main/spprintf.h: Protect C code with extern "C" * ext/com/COM.c ext/com/conversion.c ext/com/dispatch.c ext/com/php_COM.h: Added generic COM wrapper for PHP objects. 2002-05-20 Tomas V.V.Cox * pear/PEAR/Command/Install.php: Added missing key 'doc' for -Z help * pear/PEAR/Common.php: Fix small bug making the baseinstalldir attrib persist 2002-05-20 Yasuo Ohgaki * ext/pgsql/pgsql.c: Improve large object performance. pg_lo_read() and pg_lo_read_all() should perform much better now. Fixed Old API support for pg_lo_import(). 2002-05-20 Stig Bakken * pear/PEAR/Command/Install.php: * no need for getCommands() here * pear/PEAR/Command/Package.php: * new command setup * pear/PEAR/Command/Auth.php: * typo fixes, wrapping 2002-05-19 Stig Bakken * pear/package-PEAR.xml: * install pear.bat on Windows only 2002-05-19 Jani Taskinen * pear/package-Archive_Tar.xml pear/package-Console_Getopt.xml pear/package-PEAR.xml: Make this actually work somewhat better.. 2002-05-19 Edin Kadribasic * NEWS: Give due credit to Markus. 2002-05-19 Stig Bakken * pear/PEAR/Dependency.php: * compat fix 2002-05-19 Markus Fischer * NEWS: - Mention the availability of glob(). 2002-05-19 Tomas V.V.Cox * pear/scripts/pear.in: Put "pear help options" working again * pear/PEAR/Command/Common.php: Put "pear help command" working again 2002-05-19 Sander Roobol * run-tests.php: Fix php.ini-related stuff in run-tests.php * main/php_ini.c: get_cfg_var("get_file_path") didn't work correctly when an alternative php.ini _file_ was specified using -c 2002-05-19 Edin Kadribasic * main/config.w32.h.in win32/glob.c win32/glob.h win32/php4dllts.dsp ext/standard/dir.c: Added glob() support for windows. 2002-05-19 Sander Roobol * php.ini-dist php.ini-recommended: It's get_cfg_var() not cfg_get_var() * tests/basic/.cvsignore tests/classes/.cvsignore tests/func/.cvsignore tests/lang/.cvsignore tests/strings/.cvsignore pear/tests/.cvsignore tests/.cvsignore ext/zip/tests/.cvsignore ext/zlib/tests/.cvsignore pear/XML/tests/.cvsignore ext/standard/tests/strings/.cvsignore ext/standard/tests/time/.cvsignore ext/standard/tests/versioning/.cvsignore ext/xml/tests/.cvsignore ext/xslt/tests/.cvsignore ext/standard/tests/general_functions/.cvsignore ext/standard/tests/math/.cvsignore ext/standard/tests/reg/.cvsignore ext/standard/tests/serialize/.cvsignore ext/standard/tests/.cvsignore ext/standard/tests/aggregation/.cvsignore ext/standard/tests/array/.cvsignore ext/standard/tests/assert/.cvsignore ext/standard/tests/file/.cvsignore ext/pspell/tests/.cvsignore ext/session/tests/.cvsignore ext/skeleton/tests/.cvsignore ext/mcve/tests/.cvsignore ext/ncurses/tests/.cvsignore ext/openssl/tests/.cvsignore ext/pcntl/tests/.cvsignore ext/pgsql/tests/.cvsignore ext/iconv/tests/.cvsignore ext/interbase/tests/.cvsignore ext/mbstring/tests/.cvsignore ext/mcrypt/tests/.cvsignore ext/dio/tests/.cvsignore ext/domxml/tests/.cvsignore ext/exif/tests/.cvsignore ext/gmp/tests/.cvsignore ext/db/tests/.cvsignore ext/dbplus/tests/.cvsignore ext/dbx/tests/.cvsignore ext/crack/tests/.cvsignore ext/ctype/tests/.cvsignore ext/cybermut/tests/.cvsignore ext/bz2/tests/.cvsignore run-tests.php: Fix temporary filename problems, and update .cvsignores with new extensions * Makefile.global run-tests.php: Fix make test and remove a warning * Makefile.global run-tests.php: Cleaned up run-tests.php, and fixed it on linux/unix 2002-05-19 Stig Bakken * pear/PEAR/Command/Package.php: * new command setup * pear/PEAR/Installer.php: * support platform-specific files * pear/OS/Guess.php: * take uname as optional constructor parameter 2002-05-19 Jani Taskinen * NEWS: Typo fixes * ext/exif/exif.c ext/domxml/php_domxml.c: MFH * ext/exif/exif.c ext/domxml/php_domxml.c: DO NOT use C++ comments! 2002-05-18 Christian Stocker * ext/domxml/php_domxml.c: - delete attributes as well in php_free_xml_node - more consistent naming in phpinfo() * ext/domxml/php_domxml.c: added "domxml API version" in phpinfo() output. * ext/domxml/php_domxml.c: MFH for memleak fixes in domxml_dump_mem and domxml_html_dump_mem * ext/domxml/php_domxml.c: mem leak fix for domxml_dump_node * ext/domxml/php_domxml.c: fixes memleak in html_dump_mem * ext/domxml/php_domxml.c: rename the object name for comment nodes to domcoment 2002-05-18 Markus Fischer * ext/standard/dir.c: - Fix portability issues with empty results on Linux and FreeBSD, add safe_mode check and simplify code. 2002-05-18 Christian Stocker * ext/domxml/php_domxml.c: MFH for memleak patch * ext/domxml/php_domxml.c: WS fixes * ext/domxml/php_domxml.c: This should fix a big bad memory leak in freeing the nodes at script end. 2002-05-17 Sascha Schumann * sapi/thttpd/thttpd.c: Improve readability of the header send function 2002-05-17 Markus Fischer * NEWS: - Stuff all Win32 mail() changes together. 2002-05-17 Jon Parise * NEWS: Credit where credit is due. 2002-05-17 Markus Fischer * win32/sendmail.c win32/sendmail.h: - Win32 mail() is no longer case-sensitive when it comes to match for any headers (e.g. from:, cc:, etc). 2002-05-17 Preston L. Bannister * win32/php4ts.dsw: Re-add "tests" project - this is the only change to file. For some reason MSVC chose to put "" around all the project file names. (Why? Ask Microsoft :). Perhaps different patch levels on MSVC6?). These files are not hand-edited. 2002-05-17 Wez Furlong * ext/openssl/openssl.c: proto tweak * ext/sysvsem/sysvsem.c ext/sysvsem/php_sysvsem.h: Add an optional flag to sem_get that specifies if the semaphore should be automatically released on request shutdown. (#16986) Fix a segfault in sem_remove (#17274) 2002-05-17 Joseph Tate * win32/php4ts.dsw: Reverted the last commit which moved all the projects around. 2002-05-17 Cliff Woolley * sapi/apache2filter/config.m4 sapi/apache/config.m4: Allow the version checks for --with-apxs= and --with-apxs2= to work with development version of Apache, whose version strings end in "-dev", eg "Apache/2.0.37-dev". PR: 17233 Submitted by: Dale Ghent * ext/standard/head.c: Only the last cookie was getting set. (You can have more than one Set-Cookie: header, as indicated by http://wp.netscape.com/newsref/std/cookie_spec.html.) PR: 16626 Submitted by: regina@hitel.net * sapi/apache2filter/php_functions.c: apache 2.0's apache_lookup_uri() was returning an array rather than an object, which contradicted both the documentation and the behavior of the same function under apache 1.3. PR: 14999 * sapi/apache2filter/apache_config.c: * restore the php_flag and php_admin_flag Apache directives which for some mysterious reason never made their way from sapi/apache to sapi/apache2filter when it was first written PR: 16629 * change the allowed locations of php_admin_value (and php_admin_flag to match) to ACCESS_CONF instead of OR_NONE to match sapi/apache. No idea why it was ever OR_NONE. PR: 16489 2002-05-17 Preston L. Bannister * tests/php.ini: Default INI file used with run-tests.php 2002-05-16 Christian Stocker * ext/domxml/php_domxml.h ext/domxml/php_domxml.c: - replaced domxml_doc_document_element implementation do use libxml2 method - renamed domxml_add_root to domxml_doc_add_root (and added alias for BC) - aliased $doc->get_root to domxml_document_element - added domxml_doc_set_root to change the root node (Lukas Schroeder) 2002-05-16 Preston L. Bannister * tests/lang/031.phpt: More detailed/explanatory output. * tests/lang/029.phpt: Make failed case tell you what was different. * tests/basic/011.phpt: Make test valid for either "register globals" setting. * ext/ctype/tests/002.phpt: Restrict ctype tests to POSIX portable characters (0..127) and add numeric character tests. * ext/standard/tests/aggregation/aggregate.phpt ext/standard/tests/aggregation/aggregate_methods.phpt ext/standard/tests/aggregation/aggregate_methods_by_list.phpt ext/standard/tests/aggregation/aggregate_methods_by_regexp.phpt ext/standard/tests/aggregation/aggregate_properties.phpt ext/standard/tests/aggregation/aggregate_properties_by_list.phpt ext/standard/tests/aggregation/aggregate_properties_by_regexp.phpt ext/standard/tests/aggregation/aggregation_info.phpt ext/standard/tests/aggregation/deaggregate.phpt: Remove leading "./" from include filenames as in PHP this defeats include_path. * win32/php4ts.dsw: Add "tests" project to invoke run-tests.php (unit tests). * run-tests.php: Updated to run cleanly on Win32, and perform a more controlled test. * tests/tests.mak: Add TEST_PHP_DETAILED usage for verbose test runs. * tests/basic/002.phpt tests/basic/003.phpt tests/basic/004.phpt tests/basic/005.phpt: Fix typo in SKIP clause. * ext/standard/string.c: Adjust dirname() on Win32 to match CWD per drive semantics. * tests/dirname.phpt: dirname() checks that work for both Unix and Win32. 2002-05-16 Jani Taskinen * ext/standard/filestat.c: MFH 2002-05-16 Rasmus Lerdorf * ext/standard/string.c: MFH just in case * ext/standard/string.c: Grr.. I keep leaving my debug in... * ext/standard/string.c: Fix for #17271 2002-05-16 Preston L. Bannister * ext/mbstring/mbstring.c: Range check arguments to mb_strcut(). Test ext/mbstring/013.phpt causes a hard failure w/o this. * ext/mbstring/mbregex.h: Proper declaration to suppress compiler warning. 2002-05-16 Jani Taskinen * ext/standard/filestat.c ext/standard/tests/file/003.inc ext/standard/tests/file/003.phpt: - Made all is_*() functions to return only boolean values. - Killed the "file not found" error for is_link(). (finally..) 2002-05-15 Preston L. Bannister * tests/tests.dsp tests/tests.mak: Win32 project and makefile used to invoke run-tests.php 2002-05-15 Frank M. Kromann * ext/mssql/php_mssql.c: Fixing the mssql_query to handle multiple results correct if the first result does not return any data. 2002-05-15 Harald Radi * ext/com/conversion.c: MFH * ext/com/conversion.c: this should finally fix bug #14353 2002-05-15 Frank M. Kromann * win32/sendmail.c win32/sendmail.h: Fixing line breaks * win32/imap_sendmail.c: Fixing build of IMAP extension, after changes in sendmail 2002-05-15 Markus Fischer * win32/imap_sendmail.c: - Accommodate API changes to Ack(). 2002-05-15 Christian Stocker * ext/domxml/config.m4: libxml2 >= 2.4.14 is needed (since quite some time ...) 2002-05-15 Jani Taskinen * NEWS: Cleanup 2002-05-15 Rui Hirokawa * NEWS: Added Chinese, Korean support in mbstring. * ext/mbstring/mbfilter.c ext/mbstring/mbfilter_cn.c ext/mbstring/mbfilter_kr.c ext/mbstring/mbfilter_kr.h ext/mbstring/mbstring.c: added ISO-2022-KR support in mbstring. 2002-05-15 Tomas V.V.Cox * pear/PEAR/Common.php: make downloadHttp() detect HTTP errors 2002-05-15 Jani Taskinen * INSTALL: MFB * INSTALL: Nuke 4.1 for good this time. * INSTALL: MFH * INSTALL: Nuke .1 * EXTENSIONS: Added ctype to this list too. 2002-05-15 Markus Fischer * win32/sendmail.c: - Add support for Bcc in w32/sendmail code. 2002-05-15 Derick Rethans * ext/ctype/ctype.c: - It's bundled, thus not experimental anymore 2002-05-14 Frank M. Kromann * ext/mssql/php_mssql.h ext/mssql/php_mssql.c: Fixing hanfling of data type REAL. Remove extra bytes allocated by emalloc calls 2002-05-14 Rui Hirokawa * ext/mbstring/mbfilter_tw.c: fixed a initialization bug in euc-tw. 2002-05-14 Sascha Schumann * configure.in: some versions of autoconf pad CONFIG_FILES with a single space. accomodate that Thanks to Cliff Woolley 2002-05-14 Markus Fischer * ext/standard/mail.c: - Adjust for improved error messages from win32/sendmail.c * win32/sendmail.c win32/sendmail.h: - Improve code so errors returned from the server are reported back to the user. 2002-05-14 Tomas V.V.Cox * pear/PEAR/Config.php: Try to create the dir where the conf file resides before trying to write to it * pear/scripts/pear.in: Add "\n" after the error in usage() 2002-05-14 Markus Fischer * win32/sendmail.c: - Do not include the Cc: for the first Cc'd recipient (spotted by Richard). * win32/sendmail.c win32/sendmail.h: - Convert unix to dos line endings. * win32/sendmail.c: - Try to find From: field in header, fallback to sendmail_from php.ini setting (Original patch by Michael Sisolak , enhanced a bit). - Win32 mail() supports parsing 'From:' field from header (msisolak@yahoo.com, Markus). * win32/sendmail.c win32/sendmail.h: - MFH fix for Cc: crash * win32/sendmail.h win32/sendmail.c: - Fix win32 sendmail bug with Cc: in custom header not terminated with \r\n - Fix some obvious errors returned by the module, little cleanup. 2002-05-14 Stig Bakken * pear/PEAR/Command/Config.php: * convert to new command setup * pear/PEAR/Command/Auth.php: * typo 2002-05-14 Jan Lehnardt * README.CVS-RULES: - MFH * README.CVS-RULES: - fix typo, thanks to georg for spotting it. 2002-05-14 Stig Bakken * pear/PEAR/Remote.php: * fall back to XML_RPC if xmlrpc-epi is not loaded * pear/PEAR/Command/Auth.php: * add command definitions, split run() into one method for each command * pear/PEAR/Command/Install.php: * no need for getHelp() here anymore * pear/PEAR/Command/Common.php: * moved get{Help,Commands,Options} here * pear/scripts/pear.in: * moved the {config xxx} help message substitution to PEAR_Command_Common::getHelp 2002-05-14 Jason Greene * sapi/fastcgi/config.m4: Fix fastcgi build, may need more work 2002-05-13 Marko Karppinen * sapi/apache2filter/config.m4: Patch by Justin Erenkrantz for enabling --with-apxs2 build on Darwin. Omitting the change to start linking with libtool for now, though. 2002-05-13 Rasmus Lerdorf * ext/gd/libgd/gd.c: fix copyresampled bug in bundled gd lib 2002-05-13 Jim Jagielski * sapi/apache2filter/apache_config.c: More verbose but more generic error message when we spot multiple PHPINIDir directives 2002-05-13 Rasmus Lerdorf * ext/standard/filestat.c: MFH * ext/standard/filestat.c: Make sure newtime is never NULL 2002-05-13 Jan Lehnardt * README.CVS-RULES: - MFH * README.CVS-RULES: - added reference to http://cvsbook.red-bean.com/ 2002-05-13 Zeev Suraski * ext/standard/info.c: - Fix a buglet in printing of GPCSE arrays - Remove indirect access 2002-05-13 Andrei Zmievski * ext/standard/array.c ext/standard/php_array.h ext/session/session.c ext/wddx/php_wddx.h ext/wddx/wddx.c pear/Console/Getopt.php ext/pcre/php_pcre.c ext/pcre/php_pcre.h: Changing email address. 2002-05-13 Derick Rethans * configure.in main/php_version.h: - Bumb version number 2002-05-13 Sander Roobol * .cvsignore: Added confdefs.h which seems to be generated by configure 2002-05-13 Zeev Suraski * main/main.c ext/standard/info.c: - Centralize html_puts() again - Revolutionize phpinfo()'s speed 2002-05-13 Jon Parise * ext/imap/php_imap.c: Instead of calling mail_fetchheader_full() to retrieve the complete header information just to extract the message envelope, call mail_fetchenvelope(), which returns just what we need. This is simpler, faster, and saves the IMAP server some work. Submitted by: Adam Kauffman 2002-05-12 Stig Bakken * pear/scripts/pear.in: * fix option parsing 2002-05-12 Zeev Suraski * main/output.c: Remove redundant code (thanks to Jani for pointing that out) 2002-05-12 Derick Rethans * configure.in main/php_version.h: - Fix version 2002-05-12 Stig Bakken * pear/PEAR/Command/Common.php pear/PEAR/Command/Install.php pear/scripts/pear.in pear/PEAR/Command.php pear/PEAR/Installer.php: * refactored the command/options code: - now each command class should define a "commands" property with documentation, option specs etc. - both long and short options are now supported - after recent changes to Console_Getopt, you may now have options to commands even though the same option is also valid for the pear command itself - less CLI-centric, better suited to Gtk and Web frontends 2002-05-12 Jani Taskinen * NEWS: sync with branch * NEWS: short is good * NEWS: Made several entries comprehensible. 2002-05-12 Edin Kadribasic * NEWS: Merged safe_mode fixes into one entry. 2002-05-12 Jon Parise * ext/imap/php_imap.c ext/imap/php_imap.h: Submitted by: Rob Siemborski 2002-05-12 Edin Kadribasic * win32/install.txt: Fixed typo. * NEWS: MFH 2002-05-12 Sascha Schumann * ext/sockets/config.m4: As far as I can tell, the AC_CHECK_MEMBER could not succeed, because it does not include which is necessary for the definition of struct msghdr. This include file is not part of ac_includes_default. Regardless, AC_CHECK_MEMBER is a autoconf-2.5x macro and thus we expand it here for 2.13 compatibility. 2002-05-12 Tomas V.V.Cox * pear/scripts/pear.in: The command name is now the first arg not the second * pear/PEAR/Command/Install.php: Add "r" in cmd help * pear/scripts/pear.in: The first entry in argv is the command name, so Getopt will stop parsing more args 2002-05-12 Rasmus Lerdorf * ext/standard/file.c: MFH * ext/standard/file.c: Change safe-mode rule for rmdir() to match unlink() - allow is target is opened by caller or in a directory owned by caller 2002-05-12 Sascha Schumann * main/main.c: Simplify even more * main/main.c: Simplify white space handling in php_html_puts. If we encounter a ' ', we will look for the next non-' ' and set p accordingly. 2002-05-12 Sebastian Bergmann * ext/calendar/easter.c: Nuke unused local variables. 2002-05-12 Marko Karppinen * ext/calendar/calendar.c ext/calendar/easter.c ext/calendar/php_calendar.h: Add an option to calculate easter dates based on the Gregorian calendar during the years 1582-1752. Earlier this was only possible from 1753 onwards. Use the optional parameter CAL_EASTER_ROMAN with easter_days() to enable this. This is a fix for bug #12766. 2002-05-12 Sascha Schumann * ext/mbstring/config.m4: Fix this again. If you are unsure whether enable or with shall be used, please inquire on the mailing list. WITH is solely for the purpose of pointing to paths and other external entities. Note that the comment has always mentioned "--disable-mbstring" which clearly refers to enable and not with. 2002-05-12 Stig Bakken * pear/PEAR/Dependency.php: * fix up package dependency check 2002-05-12 Sascha Schumann * ext/standard/info.c: Use string_len information * ext/standard/info.c main/main.c main/php_ini.c main/php_main.h: reenable php_html_puts 2002-05-12 Tomas V.V.Cox * pear/PEAR/Dependency.php: Make avaible 2002-05-12 Stig Bakken * pear/package-Console_Getopt.xml: * fix description 2002-05-12 Rui Hirokawa * ext/mbstring/mbfilter.c ext/mbstring/mbfilter.h ext/mbstring/mbfilter_cn.c ext/mbstring/mbfilter_cn.h ext/mbstring/mbfilter_kr.c: added chinese HZ encoding support. fixed ascii area character conversion was not work in euc-cn and euc-kr. 2002-05-12 Daniela Mariaschi * ext/interbase/interbase.c: fix bug #17040 User can't close a connection if there are blobs opened. He must close them before to not lose data.... 2002-05-12 Sascha Schumann * ext/session/session.c: - Fix the way code was outcommented - Remove unused STR_CAT macro - Remove limits/tests based on unused macro - Implement cache_limiter(private) using private_no_expire 2002-05-12 Daniela Mariaschi * ext/interbase/interbase.c: fix bug #17040 ibase_close again..... User can't close a connection if there are blobs opened. He must close them before to not loose data.... 2002-05-12 Tomas V.V.Cox * pear/package-Console_Getopt.xml: Vincent is not involved in this class :-) 2002-05-12 Jason Greene * ext/sockets/config.m4 ext/sockets/sockets.c: Fix build on IRIX for both mips and gcc 2002-05-12 Stig Bakken * pear/Console/tests/001-getopt.phpt pear/Console/Getopt.php: * Try again: fixed Console_Getopt::getopt so it does not steal options after the first non-option argument. Added test. * pear/tests/pear_config.phpt: * updated config key names * pear/tests/pear_registry.phpt: * exclude _lastmodified registry attrib from tests 2002-05-12 Rui Hirokawa * ext/mbstring/config.m4: fixed to support --with-mbsting=LANG. 2002-05-10 Edin Kadribasic * configure.in: Fixed "make install" when compiled with --disable-cli option. 2002-05-10 Markus Fischer * sapi/cgi/cgi_main.c sapi/cli/php_cli.c: - Prefix the first version line with 'PHP' so it's easier to use shell tools to parse the version number (both CLI and CGI). * sapi/cli/php_cli.c sapi/cgi/cgi_main.c: - This affects both CGI and CLI sapi: Remove Zend version output from -m switch and move it over to the output of the -v switch (-v is supposed to list version numbers, not -m). 2002-05-10 Christian Stocker * ext/domxml/php_domxml.c: - added fifth optional parameter to domxml_xslt_process. If set, it will output profiling information to the file stated (chregu) - introduced version numbering for this extension 2002-05-10 Martin Jansen * pear/Makefile.frag: * package-pear.xml has been renamed to package-PEAR.xml. 2002-05-10 Edin Kadribasic * NEWS main/config.w32.h.in win32/crypt_win32.c win32/md5crypt.c win32/md5crypt.h win32/php4dllts.dsp: Added MD5 support for crypt() on Windows. * win32/.cvsignore: Ignoring *.aps files. * ext/pgsql/php_pgsql.h: Fix win32 build. 2002-05-09 Preston L. Bannister * sapi/cgi/cgi_main.c: Backed out preceding change. 2002-05-09 Jani Taskinen * main/php_ini.c: ws fix 2002-05-09 Preston L. Bannister * main/php_open_temporary_file.c: Compute directory for temporary files once and use same directory for all subsequent calls. 2002-05-09 Daniela Mariaschi * ext/interbase/interbase.c: corrected parameter * ext/interbase/interbase.c: fix test 5 to pass 2002-05-09 Preston L. Bannister * main/php_ini.c: Detect when running under IIS and default force_redirect to zero. This This means an explicit php.ini setting is no longer required. (NO extraneous whitespace changes this time (sigh)). 2002-05-09 Stig Bakken * pear/package-PEAR.xml pear/package-db.xml pear/package-pear.xml: * remove package-db.xml * rename package-pear.xml to package-PEAR.xml (generic format is package-PKGNAME.xml) 2002-05-09 Preston L. Bannister * sapi/cgi/cgi_main.c: Detect when running under IIS and default force_redirect to zero. This This means an explicit php.ini setting is no longer required. (No extraneous whitespace changes this time :). 2002-05-09 Frank M. Kromann * ext/mssql/php_mssql.h ext/mssql/php_mssql.c: Allow the MSSQL extension to use NT authentication 2002-05-09 James Cox * README.SUBMITTING_PATCH: this is dangerous.... 2002-05-09 Frank M. Kromann * php.ini-dist php.ini-recommended: Adding ini setting that allows the MSSQL extension to use NT authentication 2002-05-09 Preston L. Bannister * main/php_ini.c: Add check for php.ini in same directory as php.exe (or equivalent executable that loaded php4ts.dll). Check is done before looking in the Windows directory. This allows distinct php.ini files when different applications using PHP are installed on the same system. Should be backwards compatible. Note that checking for in CWD php.ini may be a security risk(?), and can now be made compile-time configurable by removing a single #define. (This time with tabs for leading indent). 2002-05-09 Jani Taskinen * main/php_open_temporary_file.c sapi/cgi/cgi_main.c ext/session/session.c main/php_ini.c: Revert the last patches. 2002-05-09 Sander Roobol * ext/session/session.c: Revert Preston's patch 2002-05-09 Jani Taskinen * main/main.c: ws fix 2002-05-09 Preston L. Bannister * main/php_ini.c: Add check for php.ini in same directory as php.exe (or equivalent executable that loaded php4ts.dll). Check is done before looks in the Windows directory. This allows distinct php.ini files when different applications using PHP are installed on the same system. Should be backwards compatible. Note that checking for php.ini in CWD may be a security risk(?), and can now be made compile-time configurable by removing a single #define. * ext/session/session.c: Change default directory for session data from /tmp (non-portable) to none. Default directory for session data (if not specified) is same (platform-specific) directory used for temporary files. This is backwards compatible and removes the need for explicitly specifying the session.save_path on Win32. * main/php_open_temporary_file.c: Compute directory for temporary files once and use same directory for all subsequent calls. * sapi/cgi/cgi_main.c: Detect when running under IIS and not require explicit setting of force_redirect. This means an explicit php.ini setting is no longer required. 2002-05-09 Edin Kadribasic * ext/crack/crack.dsp: No need to link libxm2 in order to build php_crack.lib 2002-05-09 Vincent Blavet * pear/Archive/Tar.php: * Better handling of Windows paths (\php\any_thing or c:\php\any_thing) * Remember that inside the archive path are all the time in unix format /php/any_thing * When necessary, '\' are replaced by '/' and 'c:' are removed * Synchro with cvs:pear/Archive_Tar/Tar.php version 1.20 2002-05-09 Stig Bakken * pear/packages/DB-1.2.tar pear/packages/XML_Parser-1.0.tar pear/packages/XML_RPC-1.0.2.tar: * add some packages to bundle with PHP * pear/PEAR/Command/Package.php: * add "pear run-tests" command * pear/Makefile.frag: * use PEAR installer to install stuff (won't overwrite if newer versions of packages already are installed) * pear/XML/Parser.php pear/XML/Render.php pear/XML/tests/001.phpt pear/XML/tests/002.phpt pear/XML/tests/003.phpt pear/XML/tests/004.phpt pear/XML/tests/005.phpt pear/XML/tests/parser1.r pear/XML/tests/parser1.t pear/XML/tests/parser2.i pear/XML/tests/parser2.r pear/XML/tests/parser2.t pear/XML/tests/parser3.r pear/XML/tests/parser3.t pear/XML/tests/parsererror.r pear/XML/tests/parsererror.t pear/XML/tests/test.xml: * moving XML_Parser to /pear * pear/DB/msql.php pear/DB/mssql.php pear/DB/mysql.php pear/DB/oci8.php pear/DB/odbc.php pear/DB/pgsql.php pear/DB/storage.php pear/DB/sybase.php pear/DB.php pear/DB/IDEAS pear/DB/MAINTAINERS pear/DB/STATUS pear/DB/TESTERS pear/DB/common.php pear/DB/dbase.php pear/DB/fbsql.php pear/DB/ibase.php pear/DB/ifx.php: * permanently moving DB to /pear 2002-05-09 Derick Rethans * pear/scripts/phpize.in: - Fix phpize * pear/scripts/phpize.in: - Dump API NOs 2002-05-09 Jani Taskinen * configure.in pear/scripts/php-config.in: Fix 'php-config --version' 2002-05-09 Derick Rethans * ext/standard/info.c: - Add PHP_API_VERSION too * ext/standard/info.c: - Show both API nos 2002-05-09 Sander Roobol * win32/install.txt: Added notes that php.exe and not php-cli.exe should be used. * sapi/cli/php_cli.c sapi/cgi/cgi_main.c: Added the current SAPI to the output of php -v 2002-05-09 Stig Bakken * pear/PEAR/Command/Install.php: * show "update ok" after updates * run-tests.php: * try the installed cli binary if everything else fails (I'm starting to agree that looking too hard for a php binary is wrong) * pear/Makefile.frag: * install the old-fashioned way for just a bit longer * pear/scripts/pear.in pear/Makefile.frag pear/PEAR/Command.php pear/PEAR/Command/Auth.php pear/PEAR/Command/Config.php pear/PEAR/Command/Install.php pear/PEAR/Command/Package.php pear/PEAR/Command/Registry.php pear/PEAR/Command/Remote.php pear/PEAR/Frontend/Gtk.php pear/package-pear.xml: * add -G option to "pear" for php-gtk frontend * added Gtk stub (only creates window right now) * added command descriptions 2002-05-08 Jason Greene * ext/sockets/sockets.c: Merge overflow fix * ext/sockets/sockets.c: Fix overflow 2002-05-08 Rui Hirokawa * configure.in sapi/apache/mod_php4.c main/main.c ext/mbstring/mbfilter.h ext/mbstring/mbstring.c ext/mbstring/mbstring.h ext/mbstring/mbfilter.c: Added conversion support from script character encoding to internal character encoding. This feature is very useful for japanese who uses Shift_JIS encoding because some of characters in Shift_JIS are including '0x5c' and it causes some troubles on Zend parser. This patch is made by Masaki Fujimoto. 2002-05-08 Yasuo Ohgaki * main/output.c: Added estrdup() needed. Fixed typo. 2002-05-08 Aaron Bannert * EXTENSIONS: This is a more appropriate address for me. 2002-05-08 Zak Greant * ext/mysql/php_mysql.c: Minor improvement to error message for mysql_data_seek 2002-05-08 Markus Fischer * run-tests.php: - Add a warning if running with safe_mode enabled. 2002-05-08 Derick Rethans * ext/standard/credits_sapi.h: - Forgot one * sapi/apache2filter/CREDITS EXTENSIONS: - Added Aaron Bannert as maintainer 2002-05-08 Frank M. Kromann * ext/standard/php_smart_str.h: Kill a compiler warning on Win32 2002-05-07 Sascha Schumann * main/php.h: Due to the thread-safety changes and lots of other stuff, the current tree is not backwards compatible anymore. Bump API no. 2002-05-07 Jason Greene * ext/sockets/sockets.c: MFH BSD fix * ext/sockets/sockets.c: Fix 10830, and 17074 FreeBSD requires the exact length of the socket type 2002-05-07 Frank M. Kromann * main/spprintf.c: Fixing win32 build. 2002-05-07 Sascha Schumann * main/snprintf.c main/snprintf.h: use thread-safe functions unconditionally * main/snprintf.c main/snprintf.h: Add thread-safety to some conversion functions and sync a bit with APR. 2002-05-06 Jason Greene * ext/pcntl/pcntl.c: MFH * ext/pcntl/pcntl.c: Fix invalid warning caused by bogus convert_to_* calls Fix possible invalid data in status for pcntl_waitpid() 2002-05-06 Markus Fischer * ext/standard/datetime.c: - WS fix as pointed out by fabwash@hotmail.com 2002-05-06 Jason Greene * ext/pcntl/pcntl.c: MFH Fix for ZTS and crash bugs * ext/pcntl/pcntl.c: Fix type-o that broke ZTS build Fix 3 nasty crash bugs that could occur if pcntl_exec's call to execve errored 2002-05-06 Derick Rethans * configure.in main/php_version.h: - Swap back version number * NEWS: - Fix release date 2002-05-06 jim winstead * ext/standard/file.c: MFH: fix problem with mkdir() on freebsd * ext/standard/file.c: fix problem with mkdir() on freebsd 2002-05-06 Edin Kadribasic * sapi/cli/README: Update README with register_argc_argv settings override. 2002-05-06 Aaron Bannert * sapi/apache2filter/sapi_apache2.c: Merge two SEGV fixes from the trunk: - startup SEGV caused by delaying the initialization too long. - graceful restart SEGV caused by not re-initializing. 2002-05-06 Derick Rethans * NEWS: - Fix release day * main/php_version.h configure.in: - GO with rc2 2002-05-05 Wez Furlong * ext/standard/html.c: Add support for remaining entities in HTML 4 for the UTF-8 encoding in htmlentities/htmlspecial chars. This is a fix for for #17008. 2002-05-05 Yasuo Ohgaki * NEWS: Clenup before I forgot. 2002-05-05 Aaron Bannert * sapi/apache2filter/sapi_apache2.c: Fix a graceful restart SEGV. We no longer only perform initialization on the second pass through the post_config. Now we only avoid the initialization only on the first DSO load, and on all subsequent loads we rerun the init code. * sapi/apache2filter/sapi_apache2.c: Fix an elusive and intermittent startup SEGV. The problem was the static string we were using to set an initialization flag would get remapped to a different location when Apache reloaded the DSO, causing us to not run our initialization routines. Submitted by: Justin Erenkrantz Reviewed by: Aaron Bannert (I added the big comment too) 2002-05-05 Stanislav Malyshev * ext/standard/exec.c: Return right exit status 2002-05-05 Jani Taskinen * sapi/cli/php_cli.c: MFH * sapi/cli/php_cli.c: Force register_argc_argv=On for CLI 2002-05-05 Thies C. Arntzen * ext/standard/url_scanner_ex.c: touch * ext/session/php_session.h ext/session/session.c ext/standard/url_scanner_ex.c ext/standard/url_scanner_ex.h ext/standard/url_scanner_ex.re: re-add accidentily nuked session_adapt_url() 2002-05-05 Rui Hirokawa * ext/mbstring/mbfilter.c ext/mbstring/unicode_table.h: bug fixed in unicode -> cp1252 table. 2002-05-05 Marko Karppinen * sapi/apache2filter/config.m4: Well that didn't last long! (Reverting previous.) * sapi/apache2filter/config.m4: Prelim. patch to enable apache2filter to link on Darwin. Submitted by: Justin Erenkrantz Reviewed by: markonen 2002-05-05 Rui Hirokawa * ext/standard/reg.c: fixed problem that ereg_replace() couldn't match with line stand/end marker. * ext/mbstring/mbfilter.c ext/mbstring/mbfilter_cn.c ext/mbstring/unicode_table_cn.h: added missing areas on Unicode->CP936 conversion table. added an alias CP932 on sjis-win. 2002-05-05 Sascha Schumann * ext/standard/url_scanner_ex.c: sync * ext/standard/url_scanner_ex.re: the output buffer is flushed during request shutdown before it reaches our rshutdown, so it is safe to delete the contents of the url rewriter variables here. 2002-05-04 Zeev Suraski * main/output.c: We shouldn't force Content-length:, but much worse, it's wrong in many cases (basically, unless you use output buffering to buffer all of your content, it won't work; output buffering is used for lots of different things as a functional interface, and such buffers have no relation to Content-type at all). 2002-05-04 Sascha Schumann * main/output.c: Free string before overwriting it * ext/standard/url_scanner_ex.c: update * ext/standard/basic_functions.c ext/standard/url_scanner_ex.h ext/standard/url_scanner_ex.re main/output.c main/php_output.h ext/session/session.c: simplify handling of variables by maintaining two strings which are simply appended instead of traversing the hash table on each URL/form. also fix an unconditional segfault in rshutdown due to efree'ing a static char *. remove remove_var, add reset_vars. move the function declarations into the right header file. * ext/standard/basic_functions.c: ret set but unused * main/user_streams.c: these are case sensitive * ext/standard/iptc.c: c set but unused * ext/standard/iptc.c: inheader set but unused 2002-05-04 James Cox * main/user_streams.c: touch. * main/user_streams.c: add $id:$ line 2002-05-04 Sascha Schumann * ext/standard/string.c: block_ended/opposite_target were set but never used * ext/standard/strnatcmp.c: don't emit code for version * main/php_variables.c: free_index is set but never used * main/user_streams.c: call_result is set but never used * sapi/cli/getopt.c: ap_php_optopt is set but never used * ext/standard/php_fopen_wrappers.h: Fix linkage of symbols * ext/standard/image.c: entry_length was set but never used * ext/standard/var_unserializer.c: update * ext/standard/var_unserializer.re: rval_temp was declared but never used * ext/standard/http_fopen_wrapper.c: redirected is set but never used * ext/standard/url_scanner_ex.c: include url.h * ext/standard/url_scanner_ex.re: include url.h to pull in declaration of php_url_encode * ext/standard/file.c: Make this code work on compilers which don't consider the address of a variable on the stack available at compile time. * ext/standard/basic_functions.c: unused var * ext/posix/posix.c: p is set, but never used. * ext/mbstring/config.m4: Turn misplaced PHP_ARG_WITH into _ENABLE and fix --enable-mbstring=shared * ext/session/config.m4: Fix --enable-session=shared * ext/xml/config.m4: Fix --enable-xml=shared 2002-05-04 Stig Venaas * ext/ldap/ldap.c: Reworked result resource handling so that result is not freed until all its result entry resources are freed 2002-05-04 Rui Hirokawa * ext/standard/reg.c: fixed a problem that ereg_replace() couldn't match with line stand/end marker. 2002-05-04 Yasuo Ohgaki * main/output.c: Forgot to dup strings. * main/output.c: Fixed reference to freed zval string value. * main/output.c: Fixed crash when buffer is over written in ob callback. (Bug $ 12227) Added check current output function check for Centent-Length header. 2002-05-03 Jani Taskinen * NEWS: MFH * NEWS: Domxml changes go into the 4.2.x branch. 2002-05-03 Christian Stocker * ext/domxml/php_domxml.h ext/domxml/php_domxml.c: full MFH as discussed with derick * ext/domxml/php_domxml.h ext/domxml/php_domxml.c: removed the function for domxml_node_add_child and made an alias to domxml_node_append_child for BC 2002-05-03 Stig Bakken * pear/OS/Guess.php: * switched from static to instance model * added matching method with glob support, some examples: $os->matchSignature('linux'); $os->matchSignature('linux-2.4*); $os->matchSignature('linux-*-i?86'); 2002-05-03 Christian Stocker * ext/domxml/php_domxml.c: WS fixes * ext/domxml/php_domxml.c: one parameter too much * ext/domxml/php_domxml.c: added encoding support for domxml_dump_mem() 2002-05-03 Thies C. Arntzen * ext/standard/url_scanner_ex.c: forgot 2002-05-03 Sebastian Bergmann * ext/session/session.c: Fix ZTS build. 2002-05-03 Thies C. Arntzen * main/output.c ext/standard/url_scanner_ex.h ext/standard/url_scanner_ex.re ext/standard/basic_functions.c ext/session/session.c ext/session/php_session.h: i have also modified the session module to use this - so it doesn't need to fiddle with the output-system any more 2002-05-03 Stig Bakken * pear/OS/Guess.php pear/package-pear.xml: * fixed autoconf vs. pear installer replacement issue in scripts/pear.in (pear installer now substitutes "@prefix@/bin" to bin_dir ;-) * added skeleton for OS_Guess class * NEWS: * unintentional news entry :-) * pear/PEAR/Installer.php: * apply umask when installing files 2002-05-02 Stig Bakken * pear/PEAR/Config.php: * add umask config value 2002-05-02 Frank M. Kromann * ext/mbstring/mbfilter_tw.c: Changed & to &&. * ext/mbstring/mbstring.dsp: Adding missing files to the project * ext/standard/info.c: Fixing wrong pointer 2002-05-02 Sander Roobol * sapi/cgi/cgi_main.c: MFH * sapi/cgi/cgi_main.c: Fixed some minor typos 2002-05-02 Jason Greene * ext/sockets/sockets.c: socket_write() should just use the standard socket error macro so that errors will be consistent if the macro ever changes 2002-05-02 James Cox * sapi/cgi/cgi_main.c: fix. * sapi/cgi/cgi_main.c: MFH. 2002-05-02 Sebastian Bergmann * sapi/cgi/cgi_main.c: Fix build. 2002-05-02 James Cox * sapi/cgi/cgi_main.c: updated cgi warning notice. 2002-05-02 Derick Rethans * configure.in: - MFH 2002-05-02 Zeev Suraski * configure.in: Update comment 2002-05-02 Yasuo Ohgaki * main/output.c: Change nest level to send Content-Length again. It seems this is the best setting for now. PHP will not send Content-Length always. It only sends when it is possible to send. output_buffer=0 is supposed to disable chunked output, but it seems it does not disable. It also behaves a litte strange way. This should be addressed someday. It is possible Content-Length header is not set. If it happens, try to increase chunk size for now. (i.e. output_buffer=40960) I included a little debug code for me and other develpers to play with, when (NestLevel==1 && ObStatus==5), PHP sends Content-Length. 2002-05-02 Harald Radi * ext/com/COM.c: MFH * ext/com/COM.c: remove temporary resources immediately return value fix 2002-05-02 Sascha Schumann * configure.in: Readd warning * configure.in: Readd warning If Mr. Taskinen feels like removing it again, he can commence a discussion. Otherwise, I'll personally disable his CVS account immediately. * configure.in: in6addr_any is defined as extern in IRIX header files, but is not actually contained in any library (sigh). Make this check fail, if the link stage does not succeed. Also avoid GCC optimization which drops the reference to ip6addr_any. Tested on IRIX 6.5.15. 2002-05-02 Derick Rethans * ext/standard/info.c: - Add Zend API No. to phpinofo() output 2002-05-02 Jani Taskinen * ext/xslt/config.m4: MFH: Do not use the old expat libs. * ext/xslt/config.m4: Stop the search when the libs are found. * ext/xslt/config.m4: Added the usual search paths where to look for expat. 2002-05-02 Tomas V.V.Cox * pear/package-pear.xml: Install pear.bat 2002-05-02 Sebastian Bergmann * win32/php4dll.dsp win32/php4dllts.dsp: I could swear it worked the other way before I committed. 2002-05-02 Tomas V.V.Cox * pear/package-pear.xml: untabify 2002-05-02 James Cox * NEWS: englishify. 2002-05-02 Sebastian Bergmann * main/.cvsignore: Add config.w32.h. * win32/php4dllts.dsp: Oops. * NEWS: Fugbix typos. * main/config.w32.h main/config.w32.h.in win32/php4dll.dsp win32/php4dllts.dsp NEWS: The Windows build can now be configures more comfortably, for instance in regard to built-in extensions. 2002-05-02 Jani Taskinen * configure.in: MFH * configure.in: Remove bogus warning. * NEWS: Sync with PHP_4_2_0 branch. 2002-05-02 Yasuo Ohgaki * main/output.c: Fixed header output. Only need to output header when it is actually sent to client. 2002-05-02 Jon Parise * pear/scripts/pear.in: Revert the previous commit (revision 1.40). (FreeBSD 4.5), thus producing a broken shebang line. substitution problem noted above needs to be resolved before the change is reapplied. 2002-05-02 Yasuo Ohgaki * main/output.c: Check buffer status * main/main.c main/output.c: Make Content-Type output always correct. * NEWS: Modify NEWS entry for Content-Length header change * main/output.c ext/zlib/zlib.c: Move Content-Length: header handling from zlib.c to output.c When output buffer is enabled and header can be sent, Content-Length: header is added always from now on. 2002-05-01 Derick Rethans * ext/standard/base64.c: - MFH * ext/standard/base64.c: - Fix String is not zero-terminated error in base64_decode 2002-05-01 Markus Fischer * ext/sockets/sockets.c: - Update protos for socket_read() and socket_write(). - Set last_error in socket_write(). * ext/sockets/sockets.c: - Update protos for getpeer/getsock-name. 2002-05-01 Jason Greene * ext/sockets/sockets.c: Fix BYREF_FORCE that was not being read Fix error message 2002-05-01 Sascha Schumann * configure.in: MFH * configure.in: Add a big disclaimer regarding register_globals. It just bit me again but now on a live customer site :-/ 2002-05-01 Derick Rethans * main/php_version.h configure.in: - Update version number * main/php_version.h NEWS configure.in: - Go with 4.2.1rc1 2002-05-01 Markus Fischer * ext/sockets/php_sockets.h ext/sockets/sockets.c: - Rename setopt and getopt to set_option and get_option, provide alias. * ext/sockets/sockets.c: - Fix couple of problems with socket_create_pair(): - Force fourth argument to be passed by reference - Since the argument is modified there is no need to force it to be an array since it's destroyed anyway - Only modify the argument if socketpair() was successfully - Fix string modified for error message message - Set global last_error when socketpair() fails * ext/sockets/sockets.c: - Add SOMAXCONN constant. 2002-05-01 Wez Furlong * ext/openssl/openssl.c: Fix for #16885 * ext/openssl/openssl.c: No asserts in branch * ext/openssl/openssl.c: MFH fix for #16940, compiler warnings and TSRMLS build fixes. * ext/openssl/openssl.c: Probable fix for #16940. 2002-05-01 Markus Fischer * ext/sockets/sockets.c: - WS fixes * NEWS: - Mention the socket_select() API change * ext/sockets/sockets.c: - MFH fix for socket_select() and some minor memory leak; NEWS entry follows. 2002-05-01 Jason Greene * ext/sockets/sockets.c: Changed socket_select to force reference copy, the older code would modify all references Also fix small memory leak. 2002-04-30 Harald Radi * ext/overload/overload.c: ZE2 compatibility fixes 2002-04-30 Markus Fischer * ext/sockets/sockets.c: - Forgot to update proto * ext/sockets/sockets.c: - Allow resetting the module global last_error too. 2002-04-30 Sebastian Bergmann * ext/mbstring/mbfilter_cn.c ext/mbstring/mbfilter_tw.c: More unused variables. 2002-04-30 Stanislav Malyshev * ext/standard/aggregation.c: Fix ZE1 build 2002-04-30 Harald Radi * NEWS: MFH 2002-04-30 Sebastian Bergmann * ext/mbstring/mbfilter_kr.c: Fix ZTS build. Remove unused variables. * main/config.w32.h: Add missing #define's. 2002-04-30 Harald Radi * NEWS: 2002-04-30 Sebastian Bergmann * win32/php4dll.dsp win32/php4dllts.dsp: Add new ext/mbstring/mbfilter_*.c files. 2002-04-30 Sascha Schumann * ext/standard/var_unserializer.c: Touch file 2002-04-30 Dan Kalowsky * ext/odbc/php_odbc.c: reverting the cursor change as it seems to break many ODBC drivers. * ext/odbc/php_odbc.c: re-setting the CURSOR back to DYNAMIC rather than FORWARD_ONLY. This change broke many other ODBC drivers (obviously testing wasn't extensive). 2002-04-30 Rui Hirokawa * ext/mbstring/mbfilter.c ext/mbstring/mbregex.c: fixed compile warning with Visual C++. * ext/mbstring/mbfilter_cn.c ext/mbstring/mbfilter_cn.h ext/mbstring/mbfilter_ja.c ext/mbstring/mbfilter_kr.c ext/mbstring/mbfilter_kr.h ext/mbstring/mbfilter_tw.c ext/mbstring/mbfilter_tw.h ext/mbstring/mbstring.c ext/mbstring/unicode_table_cn.h ext/mbstring/unicode_table_kr.h ext/mbstring/unicode_table_tw.h ext/mbstring/config.m4 ext/mbstring/mbfilter.c ext/mbstring/mbfilter.h: added simplified chinese, traditional chinese, korean support to mbstring. Note that this feature is experimental. 2002-04-30 Stanislav Malyshev * ext/standard/browscap.c: ZE2 compatibility fix * ext/standard/aggregation.c: ZE2 compatibility fixes 2002-04-30 Jani Taskinen * ext/standard/tests/file/003.phpt: revert last bogus change. There is bug in is_file() 2002-04-30 Uwe Steinmann * ext/domxml/php_domxml.c ext/domxml/php_domxml.h: - added function domxml_parser_set_keep_blanks() 2002-04-30 Frank M. Kromann * ext/mbstring/mbstring.dsp: Adding missing files to project 2002-04-30 Sebastian Bergmann * ext/standard/file.c: Fix ZTS build. 2002-04-30 Wez Furlong * ext/standard/http_fopen_wrapper.c: Make use of new flag so that we can buffer http headers when we know that the stream is not intended to be used in require/include. * ext/standard/file.h ext/standard/file.c ext/standard/basic_functions.c: Implement user-space funtions to operate on stream contexts. * ext/standard/tests/file/003.phpt: Fix is_file test. * main/streams.c: Remove debug code that should not have been committed. * main/network.c: Remove this; it should not have been commited * main/main.c: revert... * main/main.c main/network.c main/php_streams.h main/streams.c: Implement context option setting API. Add/amend debugging code for sockets. Add a flag that will help the http wrapper optimize itself when it is not being used for include/require. 2002-04-29 Jani Taskinen * pear/pear.m4: MFH: Add the shared extension check. * ext/ming/config.m4: Never add libraries without checking that they exist and can be linked. 2002-04-29 Harald Radi * ext/com/COM.c: MFH * ext/com/COM.c: RETURN_NULL() is defined with braces while RETURN_TRUE and RETURN_FALSE are defined without. seems not very consistent ? 2002-04-29 Stanislav Malyshev * ext/standard/var.c: MFH * ext/standard/var.c: Add comments for the fix * ext/standard/var.c: Fix here too 2002-04-29 Harald Radi * ext/com/COM.c: MFH * ext/com/COM.c: functions returned FALSE in case of error and the oo api returned NULL. make them both behave equal (return NULL, as FALSE can be a valid value). 2002-04-29 Stanislav Malyshev * ext/standard/var.c: MFH serializer fix * ext/standard/var.c: Yet another serialization fix - for incomplete class 2002-04-29 Jani Taskinen * ext/recode/config.m4 ext/recode/recode.c: Make it possible to use recode 3.5 too. (happy now Wez? :) * NEWS: Sync with PHP_4_2_0 branch. 2002-04-29 Markus Fischer * ext/sockets/sockets.c: - Fix WS and CS a bit * ext/sockets/php_sockets.h ext/sockets/sockets.c: - Store last errno in the module global 'last_error' implicitely - Set the global 'last_error' explicitely for functions which can't return an error withing a single socket context (socket_create and socket_select) - Modified socket_last_error() to return global modules last error if no socket resource is given - Added a couple of more E_WARNING messages in case something goes foobar so the user isn't left alone in the dark. 2002-04-29 Mika Tuupola * pear/File/Find.php: * fixed the maxrecursion in mapTreeMultiple() 2002-04-29 Yasuo Ohgaki * NEWS: Added touch fix * ext/standard/filestat.c: MFH touch bag fix * NEWS: MFB * NEWS: Added NEWS entry for PostgreSQL function rename. Removed duplicate entry. 2002-04-29 Stig Bakken * pear/package-pear.xml: * version will be 0.10 * pear/PEAR/Packager.php: * slight cleanup * pear/PEAR/Packager.php: * call the right parent constructor * pear/PEAR/Command/Install.php: * PEAR_Installer constructor now expects only the UI object * pear/PEAR/Command/Remote.php: * PEAR_Common::downloadHttp no longer wants a config object * pear/PEAR/Common.php: * always set $this->config (use PEAR_Config::singleton) * rename setFrontend to setFrontendObject * add validPackageName method * added downloadHttp callback types setup, connfailed and writefailed * no more passing config objects around * pear/PEAR/Installer.php: * use the downloadHttp method w/callback 2002-04-29 Rui Hirokawa * ext/ming/config.m4: shlib suffix was not defind and rint() was not found without -lm. 2002-04-28 Jani Taskinen * build/rules.mk: Fixed bug: #16858 2002-04-28 Sascha Schumann * ext/standard/url_scanner_ex.c: touch file * ext/standard/url_scanner_ex.c: Touch generated file 2002-04-28 Sebastian Bergmann * main/config.w32.h main/internal_functions_win32.c win32/php4dll.dsp win32/php4dllts.dsp: Enable bundled build of ext/ctype and ext/mbstring on Win32. 2002-04-28 Stanislav Malyshev * ext/standard/var_unserializer.c ext/standard/var_unserializer.re ext/standard/var.c: MFH: serializer/unserializer fix * ext/standard/var.c ext/standard/var_unserializer.c ext/standard/var_unserializer.re: Fix couple of nasty serializer bugs: a) When array unserializer encounters less data than it expects (like: a:1:{}) it crashes. I don't understand exactly why it does, but the fact is it does. So now it should catch "}" and bail out. b) When array/object data are serialized, the count is written by hash count. However, it can be that in-loop check fails and less data than expected will then be written into the array. Which, due to a), would crash on unserialize. So now it will write empty entries in place of entries it cannot serialize (the other choice would be make two passes on the data, which I don't like). 2002-04-28 Thies C. Arntzen * ext/standard/url_scanner_ex.c: timestamp * NEWS ext/session/php_session.h ext/session/session.c ext/standard/url_scanner_ex.c ext/standard/url_scanner_ex.h ext/standard/url_scanner_ex.re: revert session_set_userdata - diffent patch will come shortly 2002-04-28 Stig Bakken * pear/package.dtd: * forgot script element in release contents * pear/PEAR/Common.php pear/package.dtd: * package.dtd: version 1.0b7 - added element - added