2002-06-15 Markus Fischer * ext/gd/gd.c: - Be more verbose which index causes the warning. * ext/gd/gd.c: - Don't forget to close the stream. 2002-06-15 Harald Radi * ext/sockets/php_sockets_win.c ext/sockets/sockets.c: workaround for a win32 memleak 2002-06-15 Sebastian Bergmann * ext/gd/.cvsignore: Add new target directories. 2002-06-14 Markus Fischer * NEWS: - Update Win32/mail changes, mention bundled gd library. 2002-06-14 Tomas V.V.Cox * pear/PEAR/Installer.php: - Fix issue with the DIRECTORY_SEPARATOR, did make the install of XML_image2svg fail - TODO++ and others minor stuff 2002-06-14 Stig Bakken * pear/PEAR/Remote.php: * if verbosity config is > 3, display xmlrpc response * another bugfix 2002-06-14 Andrei Zmievski * NEWS: Fix. 2002-06-14 Sebastian Bergmann * ext/gd/gd_bundled.dsp win32/php_modules.dsw: Add gd_bundled to php_modules.dsw. 2002-06-14 Alan Knowles * pear/PEAR/Command/Remote.php: remote list and remote listall, can now list non-stable packages if you set prefered_state to something else * pear/PEAR/Remote.php: Fixed XML RPC sending of args - lets try and get the right tag :) * pear/PEAR/Remote.php: Fixed XML RPC sending of args 2002-06-14 Edin Kadribasic * ext/gd/libgd/gd.h: Use some more sane paths for win32 version. 2002-06-14 Markus Fischer * ext/gd/gd_bundled.dsp: - Remove freetype.lib and HAVE_LIBTTF; we're always linking against freetype2 anyway. 2002-06-14 Christian Stocker * ext/domxml/php_domxml.c ext/domxml/php_domxml.h: - renamed domxml_parser_reference to domxml_parser_entitiy_reference - renamed domxml_cdata_block to domxml_parser_cdata_section (more consistent with the domxml_create_XXX methods) - added domxml_parser_processing_instruction(target,data) - added domxml_parser_namespace_decl(href,prefix) * ext/domxml/php_domxml.c ext/domxml/php_domxml.h: - oops, that didn't even compile - added domxml_parser_reference(reference) * ext/domxml/php_domxml.h ext/domxml/php_domxml.c: - Added preliminary SAX-Input support. It's now possible to build a DomDocument with SAX-Events (added domxml_parser_start_document(), domxml_parser_end_document(), domxml_parser_start_element(tagname[,attributes]), domxml_parser_end_element(tagname), domxml_parser_characters(characters), domxml_parser_cdata_block(cdata), domxml_parser_comment(comment), domxml_parser_get_document(). (chregu) 2002-06-14 Sebastian Bergmann * ext/standard/datetime.c win32/sendmail.c: Remove unused local variables. 2002-06-14 Jani Taskinen * ext/odbc/php_odbc_includes.h ext/odbc/php_odbc.h ext/odbc/config.m4 ext/odbc/php_odbc.c: - Fixed bug #15803 (and propably others related too, part 2/2) . Changed the configure/compile so that it doesn't "pollute" the INCLUDES anymore and thus cause trouble with other extensions which might use the same header files. (e.g. Informix) . Separated the #include statements to own file so we don't get any errors when compiling main/internal_functions.c * ext/informix/php_informix_includes.h ext/informix/stub.c ext/informix/php_informix.h ext/informix/config.m4 ext/informix/ifx.ec ext/informix/Makefile.frag: - Fixed bug #15803 (and propably others related too) . Changed the compile so that it doesn't "pollute" the INCLUDES anymore and thus cause trouble with other extensions which might use the same header files. (e.g. ODBC) . Some fixes for Informix compile problems (with the new build system) . Removed unnecessary stub.c file. 2002-06-13 Markus Fischer * ext/gd/gd_bundled.dsp: - Initial MSVC makefile to create a php_gd2.dll based on the bundled libgd, works out of the box here with the right image libs and headers. * win32/sendmail.c: - We don't need the check here because the regex makes sure we never have \r\n at the end of the header. 2002-06-13 Jani Taskinen * sapi/apache/mod_php4.c: Fixes bugs: #16653, #14534, #14370 2002-06-13 Pierre-Alain Joye * pear/Date/Calc.php: Fix isValid method : wrong order for the params to checkdate() 2002-06-13 Stefan Esser * win32/sendmail.c: Typo: == instead of = * win32/sendmail.c: - should fix bug#17753 2002-06-13 Jani Taskinen * ext/openssl/openssl.c: Fixed bug: #17751 (typo) 2002-06-13 Stefan Esser * ext/standard/mail.c: Fixed: possible bufferunderrun (worst case == invalid free bytes counter) Fixed: isXXXX macros need (unsigned char) cast Fixed: bug#17746 - control chars are now filtered within "to" and "subject" parameters 2002-06-13 Andrei Zmievski * ext/bz2/bz2.c: Typo. 2002-06-13 Tomas V.V.Cox * pear/PEAR/Registry.php: Change a little the dep db structure Comment the code and some clean up's 2002-06-13 Andrei Zmievski * ext/bz2/bz2.c: Fix #17650. 2002-06-13 Tomas V.V.Cox * pear/PEAR/Registry.php: More work on the dependencies DB (still not tested/used) 2002-06-13 Christian Stocker * ext/domxml/php_domxml.h ext/domxml/php_domxml.c: - Added DOMXML_LOAD_DONT_KEEP_BLANKS as possible mode, if one wants really nicely formatted XML-Documents (but this can have sideeffects, if you depend on whitespaces..) - bumped up domxml-api-version number. * ext/domxml/php_domxml.c ext/domxml/php_domxml.h: - Added better error-messages (3rd parameter) and validating of DTDs (2nd parameter) to domxml_open_mem(string xml[, int mode[, array errors]]) and domxml_open_file(string filename[, int mode[, array errors]]). - Added domxml_doc_validate([array errors]) for validating existing DomDocuments with a DTD. 2002-06-13 Edin Kadribasic * sapi/cli/php_cli.c: MFH (fix for #17733) * sapi/cli/php_cli.c: Fix exit code (bug #17733). 2002-06-13 Derick Rethans * ext/imap/php_imap.c: - Fix for bug #14410 (Patch by C. McCohy ). 2002-06-13 Jani Taskinen * ext/pcre/php_pcre.c: Fix build in ZTS mode 2002-06-12 Jason Greene * NEWS: Fix entry 2002-06-12 Stig Bakken * pear/PEAR/Common.php: * comment typos * pear/package-PEAR.xml: * set working version to 0.91-dev * pear/Makefile.frag: * minor cleanup * LICENSE: * this should have been done last year :) 2002-06-12 Andrei Zmievski * ext/pcre/php_pcre.c NEWS: This patch adds ability to capture string offsets in the preg_match_*() results. 2002-06-12 Jani Taskinen * NEWS: typofix * ext/standard/basic_functions.c: - Fixed bug #17669. PG(magic_quotes_runtime) wasn't reset for each request. * NEWS: cleanup 2002-06-12 Andrei Zmievski * NEWS: set_error_handler() should take methods as callbacks. Also fixed it to report invalid callbacks. * ext/overload/overload.c NEWS: Properly return the result of __call() handler. 2002-06-12 Tomas V.V.Cox * pear/scripts/pear.bat: Attempt to make pear.bat work better under Windows 2002-06-12 Hartmut Holzgraefe * ext/standard/datetime.c ext/standard/tests/time/003.phpt: fix for bug #10616 -> mktime() with negative date offsets not working on MacOSX 2002-06-12 Christian Stocker * ext/domxml/php_domxml.c: MFH (fixed domxml_get_element_by_id() ) * ext/domxml/php_domxml.c: Fixed domxml_get_element_by_id() 2002-06-12 Sascha Schumann * ext/session/session.c ext/session/php_session.h: This option enables administrators to make their users invulnerable to attacks which involve passing session ids in URLs. 2002-06-12 Markus Fischer * ext/bz2/bz2.c: - MFH fixes. 2002-06-11 Markus Fischer * ext/domxml/TODO: - Those have been implemented already. * main/streams.c: - Fix builtin gets() emulation (hopefully). * ext/bz2/bz2.c: - Fix bzcompress(), remove leaks and add some sanity check on emalloc()s. * TODO: - Add some recent observations with bz2. * main/streams.c: - Add missing Id tag. * main/streams.c: - Always \0 terminate data returned from _php_stream_copy_to_mem(). 2002-06-11 Pierre-Alain Joye * pear/Date/Calc.php: Add comment to ::isLeapYear() Remove useless comment added during the last commit * pear/Date/Calc.php: Remove regexp and months checks and use the native php function checkdate() Keep year check, only 4 digits allowed 2002-06-11 Jason Greene * TODO: Forgot one * TODO: Sockets currently works great with all compilers on Solaris Update TODO 2002-06-11 Hartmut Holzgraefe * ext/mime_magic/TODO ext/mime_magic/mime_magic.c: now it works on streams (plus some debug code removed) * main/php_streams.h: macro definition fixed, guess it was the usual kind of cut&past bug? 2002-06-11 Edin Kadribasic * sapi/cli/config.m4 configure.in: Disable installing pear when --disable-cli is used since pear installer needs cli to function. 2002-06-11 Markus Fischer * TODO: - These things have been done already. 2002-06-11 Jason Greene * ext/standard/fsock.c main/network.c main/php_network.h: Also fixed error handling on unix (micropatch) Closes Bug #14740 2002-06-11 Jani Taskinen * ext/mysql/config.m4 NEWS: - Reverted last bogus commit and fixed the credits in NEWS. 2002-06-10 Markus Fischer * ext/pcre/php_pcre.c: - Typo. 2002-06-10 Stig Bakken * ext/mysql/config.m4: Add --with-mysql-sock option (James Cox) 2002-06-10 Markus Fischer * win32/php4dllts.dsp: - Revert zlib.lib patch. 2002-06-10 Harald Radi * ext/rpc/handler.h ext/rpc/php_rpc.h ext/rpc/rpc.c ext/rpc/rpc.h: pooling and singleton finally work * ext/rpc/tests/test1.php ext/rpc/tests/test2.php ext/rpc/tests/test3.php ext/rpc/tests/test4.php ext/rpc/tests/tests.php: new testcases 2002-06-10 Frank M. Kromann * php.ini-dist php.ini-recommended ext/mssql/php_mssql.h ext/mssql/php_mssql.c: Adding ini setting for max_procs 2002-06-10 Harald Radi * win32/php4dllts.dsp: mysql need zlib.lib now 2002-06-10 Sergey Kartashoff * ext/mnogosearch/php_mnogo.c: 2002-06-10 Jan Lehnardt * ext/standard/array.c: - MFH (WS-fix) * ext/standard/array.c: - whitespace fix 2002-06-10 Markus Fischer * ext/mysql/libmysql/config-win.h win32/php4dllts.dsp: - Fix win32/mysql. - Revert cryptic WS commit on php4dllts.dsp. 2002-06-10 Joseph Tate * ext/domxml/php_domxml.c: 2002-06-10 Harald Radi * win32/php4dllts.dsp: mysql need zlib.lib now * ext/mysql/libmysql/my_wincond.c ext/mysql/libmysql/my_winthread.c: fix the build 2002-06-10 Sergey Kartashoff * ext/mnogosearch/php_mnogo.c: - MnoGoSearch extension compile fix with mnogosearch-3.2.4 and 3.2.5 2002-06-10 Markus Fischer * ext/standard/mail.c: - WS fix, damn win32. 2002-06-10 Harald Radi * ext/standard/array.c: fix the build 2002-06-10 Markus Fischer * ext/standard/file.c: - Fix proto. 2002-06-10 Sergey Kartashoff * ext/mnogosearch/php_mnogo.c: 2002-06-10 Markus Fischer * ext/calendar/easter.c: - Fix easter_(days|date)()s first parameter now really defaults to the current year if ommited (it was document but didn't work). 2002-06-10 Andrei Zmievski * ext/standard/array.c NEWS: Fix bug #7045: shuffle() now provides consistent distribution of values in the array. 2002-06-09 Tomas V.V.Cox * pear/Makefile.frag: Commented out old unused stuff * pear/scripts/phptar.in: Moved to pear/Archive_Tar/scripts * pear/PEAR/Frontend/Gtk.php: if (!dl(php_gtk)) die("Unable to load the php_gtk extension\n"); * pear/PEAR/Frontend/CLI.php: Beautify config-show output, some wrap changes and fix small issue with _tableRow() with line counting 2002-06-09 Jani Taskinen * NEWS: cleanup 2002-06-09 Tomas V.V.Cox * pear/install-pear.php: displayLine() -> outputData() * pear/PEAR/Frontend/CLI.php: - outputData($data, $command) + outputData($data, $command = '_default') 2002-06-09 Harald Radi * ext/rpc/com/com.c ext/rpc/com/com.h: reflect the new abstraction changes in the demo layer * ext/rpc/handler.h ext/rpc/php_rpc.h ext/rpc/rpc.c ext/rpc/rpc.h ext/rpc/rpc_proxy.c: - using stas' abstraction now - layer can add individual ini settings now - classentries for the loaded rpc object are created dynamically now class hirarchy looks like: rpc<-[layer]<-[object] (e.g. rpc<-com<-adodb), thus the whole class tree is reflected into php - added user-functions to mark an object as a singleton and as poolable * main/config.w32.h.in: pg_escape_* functions were not available on win32 due to a missing define 2002-06-09 Sander Roobol * ext/dio/dio.c ext/gmp/gmp.c: Don't use headers if the module contains only one phpinfo() entry, just stick to ordinary rows. * ext/gd/config.m4 ext/gd/gd.c: Made phpinfo() show if we're using the bundled version of GD 2002-06-09 James Cox * ext/mysql/config.m4: dont test for the socket -- enables installs over NFS etc. 2002-06-09 Sander Roobol * ext/gd/config.m4: Fixed detection of JPEG support in bundled version of GD. * ext/mysql/config.m4: Fixed configure stuff 2002-06-09 Andrei Zmievski * ext/standard/php_rand.h ext/standard/rand.c: Make RAND_RANGE() an API macro. 2002-06-09 Jani Taskinen * ext/hwapi/config.m4: De-messify * ext/mysql/config.m4: Cleaned up the mess. Now it actually works too. 2002-06-08 Christian Dickmann * pear/PEAR/Command/Config.php pear/PEAR/Command/Remote.php: add modes to list-all. fix a mergerbug 2002-06-08 Sascha Schumann * sapi/apache2filter/sapi_apache2.c: too many flushes are bad 2002-06-08 Tomas V.V.Cox * pear/PEAR/Installer.php: Hopefully fixed a couple of problems with destination paths: - Bug #17529 - In Windows getting \/\ - Documentation under /Package/Package/ 2002-06-08 Andrei Zmievski * NEWS: *** empty log message *** 2002-06-08 James Cox * ext/mysql/config.m4: added support for --with-mysql-sock so people can specify it (eg, NFS compiles, etc) changed the default mysql.sock location to use the one from the RPM. Added /usr/local locations to the search list. (imajes) 2002-06-08 Markus Fischer * ext/standard/info.c main/php_streams.h main/streams.c: - Since streams are always enabled, instead of just printing 'enabled' we tell what streams are currently registered. 2002-06-07 Tomas V.V.Cox * pear/PEAR/Registry.php: Experimental dependencies database handling functions (not yet in production) 2002-06-07 Sebastian Bergmann * main/config.w32.h.in: Unbreak build by setting PHP_PREFIX to c:\php4 for now. * main/config.w32.h.in: Fugbix typo. 2002-06-07 Zak Greant * ext/mysql/libmysql/strmake.c ext/mysql/libmysql/strto.c ext/mysql/libmysql/strtoll.c ext/mysql/libmysql/strtoull.c ext/mysql/libmysql/thr_alarm.h ext/mysql/libmysql/violite.c ext/mysql/libmysql/my_pthread.h ext/mysql/libmysql/my_realloc.c ext/mysql/libmysql/my_static.c ext/mysql/libmysql/my_sys.h ext/mysql/libmysql/my_tempnam.c ext/mysql/libmysql/my_thr_init.c ext/mysql/libmysql/my_wincond.c ext/mysql/libmysql/my_winthread.c ext/mysql/libmysql/my_write.c ext/mysql/libmysql/mysql.h ext/mysql/libmysql/mysql_com.h ext/mysql/libmysql/mysql_version.h ext/mysql/libmysql/mysqld_error.h ext/mysql/libmysql/net.c ext/mysql/libmysql/raid.h ext/mysql/libmysql/config-win.h ext/mysql/libmysql/ctype.c ext/mysql/libmysql/dbug.c ext/mysql/libmysql/dbug.h ext/mysql/libmysql/default.c ext/mysql/libmysql/dll.c ext/mysql/libmysql/errmsg.c ext/mysql/libmysql/errmsg.h ext/mysql/libmysql/get_password.c ext/mysql/libmysql/global.h ext/mysql/libmysql/libmysql.c ext/mysql/libmysql/list.c ext/mysql/libmysql/m_string.h ext/mysql/libmysql/mf_casecnv.c ext/mysql/libmysql/mf_dirname.c ext/mysql/libmysql/mf_format.c ext/mysql/libmysql/mf_path.c ext/mysql/libmysql/my_compress.c ext/mysql/libmysql/my_create.c ext/mysql/libmysql/my_getwd.c ext/mysql/libmysql/my_init.c ext/mysql/libmysql/my_lib.c ext/mysql/libmysql/my_malloc.c ext/mysql/libmysql/my_open.c ext/mysql/libmysql/my_pthread.c ext/mysql/libmysql/charset.c: Updating embedded libmysql to version 3.23.48 2002-06-07 Tomas V.V.Cox * pear/PEAR/Command/Remote.php pear/PEAR/Frontend/CLI.php: Beautify remote-info 2002-06-07 Joseph Tate * ext/domxml/php_domxml.c ext/domxml/php_domxml.h: Added aliases to make attr_node access functions more consistent. Old access functions are now deprecated. CVS: ---------------------------------------------------------------------- CVS: Enter Log. Lines beginning with `CVS:' are removed automatically CVS: CVS: Committing in . CVS: CVS: Modified Files: CVS: php_domxml.c CVS: ---------------------------------------------------------------------- 2002-06-07 Tomas V.V.Cox * pear/PEAR/Command/Config.php: - Reapplied the "treat umask as octal in "config-set" command" Stig's patch - Ported the config-help command to new UI API * pear/PEAR/Frontend/CLI.php: more wrapping cases 2002-06-07 Stig Bakken * main/config.w32.h.in: * fix SHLIB_SUFFIX_NAME define for Windows * main/build-defs.h.in main/main.c configure.in: New constants: PHP_PREFIX and PHP_SHLIB_SUFFIX 2002-06-07 Tomas V.V.Cox * pear/PEAR/Common.php: Remove debug code * pear/PEAR/Command/Registry.php: More info output retouchs * pear/PEAR/Common.php: Fix some minor issues with the parsing 2002-06-07 Stig Bakken * configure.in pear/Makefile.frag: * get rid of pearize 2002-06-07 Tomas V.V.Cox * pear/PEAR/Command/Registry.php: Make "info" full human friendly (in deps list and lastmodified) * pear/PEAR/Command/Common.php pear/PEAR/Command/Package.php: Make $_deps_rel_trans and $_deps_type_trans globally avaible: moved from Command/Package.php -> Command/Common.php * pear/scripts/pear.in: Be nicer with the help * pear/scripts/pear.in: ws 2002-06-07 Stefan Esser * main/rfc1867.c: - Stay always in buffer 2002-06-07 Tomas V.V.Cox * pear/PEAR/Command/Package.php pear/PEAR/Command/Registry.php: Put back the "info" command in its full state: "Displays information about a package. The package argument may be a local package file, an URL to a package file, or the name of an installed package." Command "package-info" depreciated (again) * pear/Net/SMTP.php: fix EOL handling in AUTH (patch from Scott Carr ) * pear/Net/SMTP.php: ws 2002-06-06 Daniela Mariaschi * ext/interbase/interbase.c ext/interbase/php_interbase.h: Add control on Ib version. ibase_add_user(), ibase_modify_user() and ibase_delete_user() available with IB6 or later. fix bug #17184 * ext/interbase/php_interbase.h: Add control on IB version. ibase_add_user(), ibase_modify_user() and ibase_delete_user() are available with IB6 or later * ext/interbase/interbase.c: Add control on the IB version. ibase_add_user(),ibase_modify_user() and ibase_delete_user() are available with IB6 or later 2002-06-06 Markus Fischer * NEWS: - Update * ext/dbx/dbx_sybasect.c: - Remove C++ comments. * ext/gd/libgd/gd.c: - Revert Ws thingy. 2002-06-06 Jani Taskinen * ext/mbstring/config.m4: Changed the configure option to be --enable/disable 2002-06-06 Tomas V.V.Cox * pear/Date/Calc.php: Added method Date_Calc::compareDates($day1,$month1,$year1,$day2,$month2,$year2) * pear/Date/Calc.php: ws+cs 2002-06-06 Stig Bakken * pear/package-PEAR.xml: * prepare 0.90 * pear/PEAR/Command/Install.php pear/PEAR/Installer.php: * add "nobuild" option to installer (-B or --nobuild option to CLI frontend) * pear/PEAR/Builder.php: * remove debug output * pear/PEAR/Builder.php: * when building, look for "package-version" subdirectory, needed for building stuff straight from tarballs * pear/PEAR/Common.php: * add PEAR_COMMON_PACKAGE_NAME_PREG constant * pear/PEAR/Frontend/CLI.php: * make displayFatalError work again 2002-06-06 Tomas V.V.Cox * pear/PEAR/Command/Package.php: Forgot that one * pear/PEAR/Frontend/CLI.php: Wrap table contents * pear/PEAR/Command/Registry.php: Implemented "pear info " command * pear/PEAR/Command/Package.php: Split the doPackageInfo() in doPackageInfo() and _infoForDisplaying() (this last one can be statically called and is used also from the "info" command) * pear/package-Mail.xml: package.xml file for the PEAR Mail package * pear/PEAR/Command/Common.php: That will really avoid PHP warnings * pear/PEAR/Command/Package.php: Fix package command 2002-06-06 Sergey Kartashoff * ext/mnogosearch/php_mnogo.h ext/mnogosearch/php_mnogo.c: 2002-06-05 Jani Taskinen * ext/gd/libgd/gd.c: ws and indent fixes * ext/gd/libgd/gd.c: - Fixes a segfault reported in #17584 2002-06-05 Markus Fischer * win32/sendmail.c win32/sendmail.h: - Headers are now rewritten to always have \r\n line endings for SMTP. Also automatically removes superflous line breaks at the start and end of the header. 2002-06-05 Derick Rethans * ext/domxml/php_domxml.c: - Fix a problem in domxml_dump_mem(_file) with xmlKeepBlanksDefault not being set. (patch by Rob Richards ) 2002-06-05 Sergey Kartashoff * ext/mnogosearch/php_mnogo.c: 2002-06-05 Stefan Esser * main/rfc1867.c: fixed multiline header detection (':' is valid within following lines) fixed fill_buffer to fill the buffer always completely 2002-06-05 Sergey Kartashoff * ext/mnogosearch/php_mnogo.c ext/mnogosearch/php_mnogo.h: more mnogosearch compilation fixes 2002-06-05 Stefan Esser * main/rfc1867.c: fixing some crashbugs that can be triggered with bogus uploads. 2002-06-05 Sergey Kartashoff * ext/mnogosearch/php_mnogo.h ext/mnogosearch/php_mnogo.c: MnoGoSearch extension fixes to compile under latest mnogosearch 3.2.4 and 3.2.5. Still does not compile with them, but the work still in progress... 2002-06-04 Edin Kadribasic * win32/glob.c: Sync with openbsd glob.c 1.19 * win32/glob.c: Removed some leftover debugging code. 2002-06-04 Jani Taskinen * ext/gd/config.m4: - Fixed the include paths for the needed libraries for bundled libgd. - Removed files which are not needed with libgd2 from the PHP_NEW_EXTENSION. 2002-06-04 Edin Kadribasic * ext/pcntl/php_pcntl.h ext/pcntl/pcntl.c: Added function pcntl_alarm(). 2002-06-04 Stig Bakken * pear/PEAR/Command/Registry.php: * sort package names in "pear list" 2002-06-04 Joseph Tate * ext/domxml/php_domxml.c: * ext/domxml/php_domxml.c: Bug fix to #17560 submitted by Rob Richards 2002-06-04 Mark L. Woodward * ext/msession/reqclient.h ext/msession/msession.c: Added persistent connections, and automattic reconnect on lost connections. Requires Phoenix 1.0 2002-06-04 Markus Fischer * ext/posix/posix.c: - Fix ZTS built. 2002-06-04 Jani Taskinen * ext/gd/gd.c: MFH: fix bug #17535 * ext/gd/gd.c: Fixed bug: #17535 * NEWS: fine tuning * ext/gd/config.m4: - Made the bundled libgd actually work. Fixed bug: #17244 2002-06-03 Markus Fischer * ext/posix/posix.c: - Move macro code into distinct function for easier debugging as suggested by Andi. 2002-06-03 Harald Radi * win32/php4dllts.dsp: fix build 2002-06-03 Rasmus Lerdorf * ext/standard/html.c: Make sure len is defined here 2002-06-03 Edin Kadribasic * NEWS ext/standard/array.c: MFH * ext/standard/array.c: Fixed array_rand() on ZTS platforms. 2002-06-03 Markus Fischer * ext/posix/posix.c: - Fix isatty() and ttyname() (Closes #17323, #17333). * win32/sendmail.c: - Fix a leak and a crash. * win32/install.txt: - Add note about IIS/CGI and cgi.force_redirect gotcha 2002-06-02 Stig Bakken * pear/PEAR/Command.php: * fix bug that was re-introduced during merge 2002-06-02 Markus Fischer * win32/sendmail.c: - Only add the To: field with the $to parameter if we don't have it in the custom header. This was the behaviour < 4.2.x (but it was broken, this one isn't). * win32/sendmail.c: - Revert fix for #14407. The From: header field IS different from the sendmail_from field which is in fact the retturn path. * win32/sendmail.c: - Try to fix most of the buffer overflows and dynamically allocate memory where applicable. 2002-06-02 Adam Dickmeiss * ext/yaz/php_yaz.c: Use ZOOM API for newer YAZ versions. * ext/yaz/config.m4: report error when YAZ cannot be found 2002-06-02 Stefan Roehrich * ext/zlib/zlib.c: Added "Vary: Accept-Encoding" header to zlib.output_compression compressed output as with obgzhandler(). 2002-06-02 Christian Dickmann * pear/PEAR/Frontend/CLI.php: make 'pear remote-info' work with CLI * pear/PEAR/Command/Remote.php pear/PEAR/Frontend/CLI.php: make 'pear search' work with CLI. fix a typo 2002-06-02 Markus Fischer * main/main.c win32/sendmail.c: - Finish implementation of custom smtp port (introduces "smtp_port" ini config). * win32/sendmail.c: - Rephrase comment * win32/sendmail.c: - Classig problem: right idea, wrong pointer ... 2002-06-02 Christian Dickmann * pear/PEAR/Registry.php pear/System.php: silence unlink() and rmdir(). fix a bug where wasn't set due to wrong ini setting 2002-06-02 Stig Bakken * pear/PEAR/Frontend/CLI.php pear/scripts/pear.in pear/tests/pear_config.phpt pear/PEAR/Builder.php pear/PEAR/Command.php pear/PEAR/Command/Auth.php pear/PEAR/Command/Build.php pear/PEAR/Command/Common.php pear/PEAR/Command/Config.php pear/PEAR/Command/Install.php pear/PEAR/Command/Package.php pear/PEAR/Command/Registry.php pear/PEAR/Command/Remote.php pear/PEAR/Common.php pear/PEAR/Config.php pear/PEAR/Installer.php pear/package-PEAR.xml: * merge NEW_UI_API branch * pear/PEAR/Common.php pear/PEAR/Installer.php pear/scripts/pear.in pear/package-PEAR.xml: * implemented "package-info" replacement in package.xml * pear/PEAR/Installer.php: * typo? * pear/PEAR/Command/Config.php: * make output of "config-get" easier to parse * pear/PEAR/Command/Config.php: * fix some error reporting * pear/PEAR/Config.php: * less verbose * pear/PEAR/Installer.php: * fix buildcallback * pear/PEAR/Builder.php pear/PEAR/Installer.php pear/package-PEAR.xml: * "pear install" now builds and C extensions * pear/scripts/pear.in: * add custom error handler * pear/PEAR/Frontend/CLI.php: * de-obsolete display{,Fatal}Error 2002-06-01 Stig Bakken * pear/PEAR/Builder.php: * add some phpdoc 2002-06-01 Stefan Roehrich * ext/snmp/config.m4 acinclude.m4 ext/domxml/config.m4 ext/imap/config.m4: WS change to make very old compilers/preprocessors (e.g. HP/UX 9) happy (thanks to Andreas Ley for recognizing this). 2002-06-01 Christian Dickmann * pear/PEAR/Command/Config.php pear/PEAR/Command/Remote.php pear/PEAR/Config.php pear/PEAR/Frontend/CLI.php pear/PEAR/Installer.php: add 'pear search'. introduce type 'mask' to config. 2002-06-01 Sascha Schumann * sapi/apache/php_apache.c: Fix build 2002-06-01 Andi Gutmans * configure.in: - Fix build with Engine 2 * sapi/apache/php_apache.c: - Reapply netware patch 2002-06-01 Rasmus Lerdorf * sapi/apache/php_apache.c: Put Netware header and comment back in. My CVS revision id got messed up somehow. 2002-06-01 Sander Roobol * php.ini-dist php.ini-recommended: Update cracklib path and comment it out (thanks to Urs Gehrig for the hint) 2002-06-01 Frank M. Kromann * ext/mbstring/mbfilter.c: Makring function declarations match implementations (ZTS compilation) 2002-05-31 Rasmus Lerdorf * sapi/apache/php_apache.c: Oops * sapi/apache/php_apache.c: Renamed getallheaders() to apache_request_headers() and kept getallheaders() as an alias to it. Also added apache_response_headers() which returns the current response headers from Apache. 2002-05-31 Jani Taskinen * ext/mbstring/config.m4: Fixed typo.. 2002-05-31 Stig Bakken * pear/PEAR/Frontend/CLI.php: * added missing fold 2002-05-31 Tomas V.V.Cox * pear/System.php: fread already detects EOF * pear/System.php: Be able to handle strings as well as arrays in _multipleToStruct() * pear/System.php: - Make mkTemp() automatically removed temporary created files or dirs at script shutdown time - Remove unnecesarry PEAR inheritance - Some PHPDoc fixes 2002-05-31 Brad LaFountain * ext/domxml/domxml.dsp ext/domxml/php_domxml.h: Changed PHP_EXPORTS to DOMXML_EXPORTS as Edin Kadribasic suggested 2002-05-31 Harald Radi * ext/standard/credits_ext.h: MFH * ext/standard/credits_ext.h: added wez to the com extension * ext/com/CREDITS ext/com/VARIANT.c ext/com/com.h ext/com/conversion.c ext/com/php_COM.h ext/com/variant.h ext/com/COM.c: MFH * ext/com/CREDITS: added wez and ordered names alphabetically 2002-05-31 Venkat Raghavan S * sapi/apache/php_apache.c: Removed ugly code done as part of NetWare change, upon Andi's advice. Now, the typecasting is done for all platforms. 2002-05-31 Derick Rethans * main/rfc1867.c: - Don't issue a notice when no file was uploaded 2002-05-31 Brad LaFountain * ext/domxml/php_domxml.c: initalize variable in domxml_doc_document_element() * ext/domxml/domxml.dsp: defined PHP_EXPORTS for exporting php_domobject_new() * ext/domxml/php_domxml.c ext/domxml/php_domxml.h: added the ability to use new keywork with domxmls objects "new DomDocument()" instead of xmldoc. This also allows you to create nodes without having a whole document "new DomElement("foo")". moved DOMXML_API_VERSION to php_domxml.h exposed php_domobject_new for other extensions to use removed some un-needed code 2002-05-31 Venkat Raghavan S * main/config.nw.h main/php.h main/php_compat.h sapi/apache/php_apache_http.h sapi/apache/php_apache.c sapi/apache/mod_php4.c: NetWare related changes * netware/buildsapi.bat netware/common.mif netware/php4apache.mak netware/phplib.imp netware/pwd.h: NetWare related additions / changes to build mod_php 2002-05-30 Harald Radi * ext/com/COM.c: * ext/com/VARIANT.c ext/com/conversion.c ext/com/dispatch.c ext/com/COM.c: Added missing AddRef() calls in the COM extension. This should fix weird behaviour (in particular with ADODB). 2002-05-30 Sander Roobol * pear/Console/tests/.cvsignore: Add missing .cvsignore 2002-05-30 Markus Fischer * ext/session/mod_files.c: - Tell the user why his session doesn't work if he uses custom session_id()s. * win32/install.txt: - Typo * win32/install.txt: - Give some useful updates to Win32/Apache/PHP4 installation. Also mention strace for advanced users. 2002-05-30 Christian Dickmann * pear/PEAR/Command/Config.php pear/PEAR/Command/Remote.php pear/PEAR/Frontend/CLI.php: fix a typo. add some information to config-show 2002-05-30 Den V. Tsopa * ext/mbstring/mbfilter_ru.c: Fixes some dummy errors (again). 2002-05-30 Jan Lehnardt * pear/tests/pear_error4.phpt: - add testcase for PEAR::delExpect() 2002-05-30 Stig Bakken * pear/PEAR/Config.php: * organize configuration_info array by group 2002-05-30 Venkat Raghavan S * netware/ZendEngine2.mak netware/build.bat: NetWare changes for ZE2 2002-05-30 Stig Bakken * pear/PEAR/Config.php pear/tests/pear_config.phpt: * applied Alan's patch adding groups and prompts 2002-05-30 Cliff Woolley * sapi/apache2filter/php_functions.c: That macro is and always was hopelessly broken, which is why it's now deprecated. 2002-05-29 Jan Lehnardt * pear/PEAR.php: - minor improvement of readability, * pear/PEAR.php: - added delExpect() API method. It allows to unset one or more expected - error codes. - requires _checkDelExpect() (private) which I added as well. - inspired by chregu (PHP-Deluxe, page 75) 2002-05-29 Christian Dickmann * pear/PEAR/Command/Install.php pear/PEAR/Frontend/CLI.php pear/PEAR/Installer.php pear/PEAR/Common.php: fix a bug and add UI::log 2002-05-29 Den V. Tsopa * ext/mbstring/mbfilter.c: Added GB2312 alias for CN-GB 2002-05-29 Derick Rethans * ext/imap/php_imap.c: - Fix for bug #17503 2002-05-29 Venkat Raghavan S * netware/mktemp.h netware/sys/stat.h netware/tsrm.mak: Changes to build TSRM on NetWare 2002-05-29 Den V. Tsopa * ext/mbstring/mbfilter_ru.c: Fixed some dummy errors. (dets) 2002-05-29 Venkat Raghavan S * netware/zend.mak: Changes to build Zend on NetWare 2002-05-29 Stig Bakken * pear/PEAR/Command.php: * no longer test on whether displayLine exists * pear/PEAR/Builder.php pear/PEAR/Command/Build.php: * build extensions in /var/tmp/pear-build-$USER/extname-n.n * copy built .so files * pear/PEAR/Command/Registry.php: * folding marks * pear/PEAR/Common.php: * make PEAR_Common::log work with the new UI API * pear/PEAR/Frontend/CLI.php: * for now, provoke php errors on calls to the old methods 2002-05-28 Andrei Zmievski * acinclude.m4: Fix a bug in case statement. 2002-05-28 Stig Bakken * pear/PEAR/Command.php: * don't create duplicate ui objects * pear/PEAR/Frontend/CLI.php: * gotta love these extra newlines 2002-05-28 Venkat Raghavan S * netware/bisonflexzend.bat: Batch file to do the Lex / Yacc stuff for Zend * netware/common.mif: SDK directory path change 2002-05-28 Bertrand Mansion * pear/HTML/Table.php pear/HTML/Common.php: Moved to /pear 2002-05-28 Venkat Raghavan S * netware/build.bat netware/common.mif netware/tsrm.mak netware/zend.mak: Makefiles and batch file required to build Zend and TSRM * netware/php-nw.bat: *** empty log message *** 2002-05-28 Stig Bakken * pear/PEAR/Command/Auth.php pear/PEAR/Command/Common.php pear/PEAR/Command/Config.php pear/PEAR/Command/Install.php pear/PEAR/Command/Package.php pear/PEAR/Command/Registry.php pear/PEAR/Command/Remote.php pear/PEAR/Frontend/CLI.php pear/PEAR/Common.php: * imported Christian Dickmann's new UI code * converted PEAR_Frontend_CLI::userDialog() to new API * pear/package-PEAR.xml: * 0.11 release coming up * pear/PEAR/Command/Package.php: * drop package-info command (deprecated by "info") * pear/tests/pear_config.phpt: * update test * pear/PEAR/Command/Build.php pear/PEAR/Builder.php pear/package-PEAR.xml: * update 0.11 release notes * move build logic into PEAR_Builder * pear/scripts/pear.in pear/PEAR/Config.php: * disable *&$^*#@ runtime ^@#*&$@ magical ^*!@@!! quoting * pear/Archive/Tar.php pear/docs/Archive_Tar.txt pear/package-Archive_Tar.xml: * sync up * pear/PEAR/Config.php: * disable magic_quotes_runtime (what a broken concept!!) while reading config files * pear/PEAR/Installer.php: * fix some errors/warnings * install data and test files now * pear/PEAR/Config.php: * added data_dir and test_dir 2002-05-27 Stig Bakken * pear/PEAR/Config.php: * moved the --without-pear compat defines to the right place * pear/PEAR/Config.php: * change root for documentation files to /docs * pear/PEAR/Command/Config.php: * treat umask as octal in "config-set" command * pear/PEAR/Common.php: * use new Archive_Tar gzip autodetection * pear/package-Archive_Tar.xml: * prepare 0.9 release * pear/PEAR/Config.php: * fixed a bug in PEAR_Config::set() that broke validation of "set" parameters * pear/Archive/Tar.php: * better gzip detection (magic cookie) 2002-05-27 Andi Gutmans * genfiles: - Hope this is the last commit in the series. Make sure that the .h file - also goes into ext/standard. I'm not sure how 4.2.1 was built with these - broken files * genfiles: - One more try. * genfiles: - Isn't Makefile.frag being called? (Weird) * genfiles: - Be a bit more verbose 2002-05-27 Sascha Schumann * ext/ircg/ircg.c: Flush data related to the streaming connection during php's rshutdown, and not during the ircg_set_current call, because it is otherwise not guaranteed that the HTTP header is sent out first. 2002-05-27 Stig Bakken * pear/PEAR/Installer.php pear/package-PEAR.xml: * fixes for php without zlib * pear/Archive/Tar.php pear/package-Archive_Tar.xml: * make Archive_Tar auto-detect whether zlib is needed based on file extension (.tar -> no zlib) 2002-05-27 Andi Gutmans * makedist.ZendEngine2: - Small update 2002-05-27 Stig Bakken * pear/package.dtd: * update version * pear/PEAR/Command/Build.php pear/PEAR/Common.php pear/package.dtd pear/package-PEAR.xml: * first shot at "pear build" command for building extensions from C code * pear/PEAR/Command/Registry.php: * "info" command * pear/PEAR/Command/Config.php: * added config-help command * pear/PEAR/Config.php: * drop "any" as a valid preferred_state * pear/PEAR/Config.php: * more verbose docs for "verbose" :) 2002-05-26 Stig Bakken * pear/PEAR/Common.php: * un-indent description too * pear/PEAR/Common.php: * try being smart about de-indenting release notes from the xml * pear/PEAR/WebInstaller.php: * PEAR_Frontend_Web is coming! 2002-05-26 Andi Gutmans * genfiles: - Small fix 2002-05-26 Edin Kadribasic * NEWS: I case we ever release 4.2.2. * sapi/cgi/cgi_main.c sapi/cli/php_cli.c: MFH (fix for exit()) 2002-05-26 Andi Gutmans * genfiles: - Update genfiles for new build system 2002-05-26 Tomas V.V.Cox * pear/scripts/pear.in: Added "pear -V" (show version information) 2002-05-26 Stig Bakken * pear/scripts/pear.in: * another help fix 2002-05-26 Tomas V.V.Cox * pear/PEAR/Command/Config.php: Make the error handling work again since the new internal command structure 2002-05-26 Martin Jansen * pear/package-PEAR.xml: * Add /me has helper. 2002-05-26 Stig Bakken * pear/PEAR/Command/Package.php: * bold column headings * pear/package-PEAR.xml: ^t 2002-05-26 Tomas V.V.Cox * pear/PEAR/Command/Install.php pear/scripts/pear.in: "Help" fixes 2002-05-26 Edin Kadribasic * sapi/cgi/cgi_main.c: Merge from cli. 2002-05-26 Stig Bakken * pear/package-PEAR.xml: * add package.dtd to the distribution * pear/package-PEAR.xml: * roll out 0.10 * pear/PEAR/Command.php: * focus on the present * pear/PEAR/Frontend/Gtk.php: * add @nodep stuff here too * pear/PEAR/Remote.php: * be nice to PEAR_Common::detectDepdencencies() * pear/PEAR/Common.php: * more work on the dependency detector * pear/scripts/pear.in: * Console_Getopt POSIX fix * pear/PEAR.php: * phpdoc fixes (un-break the broken) 2002-05-26 Edin Kadribasic * sapi/cli/php_cli.c: Due to the way Zend handles exit() we cannot rely on the return code of php_execute_script. * sapi/cli/php_cli.c: Made constants persistent and fixed a memory leak. 2002-05-26 Stig Bakken * pear/Console/Getopt.php pear/package-Console_Getopt.xml: * POSIX getopt compatibility support (first argv element is the command) * pear/install-pear.php: * tidy output a bit * ext/standard/versioning.c: Fix segfault in version_compare() * pear/PEAR/Installer.php: * cleaned up error handling in _installFile 2002-05-25 Martin Jansen * pear/PEAR/Command/Package.php: * Make rel_trans from doPackageInfo globally available. * Add command "package-dependencies" (shortcut "pd") to list the dependencies of a package. 2002-05-25 Stig Bakken * pear/PEAR/Remote.php: * typo caught by PEAR_Common::detectDependencies :) 2002-05-24 Rui Hirokawa * ext/mbstring/mbstring.c: reverted my patch. * ext/mbstring/config.m4 ext/mbstring/mbfilter.c ext/mbstring/mbfilter_ru.c ext/mbstring/mbfilter_ru.h ext/mbstring/mbstring.c: reverted patch to support iso2022kr. 2002-05-24 Sander Roobol * ext/standard/info.c: Fix and tags in phpinfo() output (#17411) 2002-05-24 Edin Kadribasic * sapi/cli/php_cli.c: Register STDIN, STDOUT, and STDERR "constants" in cli in cases where script itself is not being loaded from STDIN. This enables constructs like fwrite(STDERR, "Error 42"); 2002-05-23 Derick Rethans * ext/standard/image.c ext/standard/php_image.h: - Added support for compressed SWF (Flash MX) files to getimagesize(). (Fixes feature request #17272). - Added support to getimagesize() for compressed Flash MX files. 2002-05-23 Tomas V.V.Cox * pear/PEAR/Installer.php: TODO++ Check dependencies break on package uninstall (when no force given) * pear/PEAR/Dependency.php: Fix package dependency check (reported by Rasmus) 2002-05-23 Andrei Zmievski * ext/pcre/php_pcre.c NEWS: This code adds string offset capturing in preg_split() results. Original patch by David Brown, modified by me. 2002-05-23 Sascha Schumann * ext/ircg/ircg.c: Revamped timeout handling to be more consistent; it disconnects users which are not associated with a stream window within 3 minutes. Improved the id generator, so that it becomes more unlikely that two or more consecutive runs/instances will yield the same ids. Improved error message collecting to run at constant time intervals. Added a facility which aims at ensuring that the extension does not shutdown(2) unrelated sockets. This has been disabled for now, because of lack of extensive testing. The current time is now easily accessible through a wrapper function. This replaces the ugly #ifdefs spread through the code. IRCG does not generate "Pragma: no-cache" headers anymore. Additionally, ircg_set_current() will not cause the HTTP header to be sent, so you can add/change headers afterwards. And some cleanup. 2002-05-23 Edin Kadribasic * ext/standard/math.c: MFH (patch for allowing strings in pow() args, fixes #17374) 2002-05-23 Andi Gutmans * ext/standard/file.c: - Fix typo 2002-05-23 Wez Furlong * ext/standard/tests/general_functions/proc_open.phpt: Add simple test case for proc_open * ext/standard/exec.c: Fix (stupid) segfault. #17379 2002-05-23 Derick Rethans * ext/standard/exec.c: - Fix unchecked return values with parameters to proc_open. (Fixes bug #17375) * ext/standard/file.c: - Fix errormessage and whitespace 2002-05-23 Yasuo Ohgaki * ext/standard/file.c: Added 4th parameter to specify enclosure character. Patch by Dean Richard Benson Spit more meaningful error messages when delim and/or enclosure char is null. 2002-05-22 Jani Taskinen * run-tests.php: Skip POST data if it is empty. 2002-05-22 Andi Gutmans * makedist.ZendEngine2: - makedist script for creating Engine 2 distribution. - Hopefully we can get a preview out in the next few days. 2002-05-22 Tomas V.V.Cox * pear/PEAR/Command/Package.php: Trigger an error if the run-test.php file is not found Make the run-tests pear cmd run with the CGI SAPI * pear/PEAR/Dependency.php: Test first if the package exists before comparing the version (fix the version_compare() segfault) * pear/PEAR/Remote.php: Make pear -vv XXX set the XML_RPC debug flag 2002-05-22 Wez Furlong * sapi/activescript/CREDITS sapi/activescript/README: Add README and CREDITS... * sapi/activescript/scriptengine.cpp: Fix bug when length was queried before the string was converted. 2002-05-21 Wez Furlong * ext/com/COM.c: Add documentation comment for properties in com_print_typeinfo * ext/com/COM.c: Enhance com_print_typeinfo. The main expected use is like this, for figuring out what methods are allowed for a COM object: $ie = new COM("InternetExplorer.Application"); // Prints class definition for IE object com_print_typeinfo($ie, "InternetExplorer.Application", false); // Prints class definition for default IE event handler com_print_typeinfo($ie, "InternetExplorer.Application", true); 2002-05-21 Andrei Zmievski * NEWS: *** empty log message *** * ext/tokenizer/tokenizer.c: Fix bug #16939. 2002-05-21 Wez Furlong * ext/com/COM.c: Correct usage of convert_to_string_ex which is not allowed to zval* * ext/com/COM.c: Reformat some comments. * ext/com/COM.c: Fix a flag, remove an old comment. * ext/com/com.h ext/com/dispatch.c ext/com/php_COM.h ext/com/variant.h ext/com/COM.c: - Make sure that COM and VARIANT resources are returned as resources rather than longs. - Make the IDispatch implementation a bit more generic (and fix my mess of pointers). - Add new com_message_pump() function that acts like an interruptible usleep() that processes COM calls/events. - Add new com_print_typeinfo() function for "decompiling" the typeinfo for an interface into PHP script. This is useful for generating a skeleton for use as an event sink. - Add new com_event_sink() function for sinking events from COM objects. Usage is like this: terminated = true; } } $ie = new COM("InternetExplorer.Application"); $sink =& new IEEventSinker(); com_event_sink($ie, $sink, "DWebBrowserEvents2"); $ie->Visible = true; $ie->Navigate("http://www.php.net"); while(!$sink->terminated) { com_message_pump(4000); } $ie = null; ?> 2002-05-21 Hartmut Holzgraefe * ext/mime_magic/TODO: ZTS issues fixed * ext/mime_magic/mime_magic.c: not beautifull (yet), but should fix ZTS builds 2002-05-21 Tomas V.V.Cox * pear/PEAR/Installer.php: files that are not installed should be removed from the registered file list (TODO--) 2002-05-21 Stig Bakken * pear/PEAR/Command/Registry.php: * show installed_as instead of a "calculated" path for installed packages * pear/PEAR/Installer.php: * add TODO comment 2002-05-21 Sebastian Bergmann * win32/php4dll.dsp win32/php4dllts.dsp main/config.w32.h.in: Add HAVE_MBSTR_RU support for Win32. * ext/mbstring/mbfilter_ru.c: ZTS fixes. 2002-05-21 Stig Bakken * pear/PEAR/Command/Registry.php: * disable wrapping for now 2002-05-21 Den V. Tsopa * ext/mbstring/mbfilter_ru.c ext/mbstring/mbfilter_ru.h ext/mbstring/mbstring.c ext/mbstring/unicode_table_ru.h ext/mbstring/mbfilter.h ext/mbstring/mbfilter.c ext/mbstring/config.m4: Added russian codepages (koi8-r,cp1251,cp866) support. 2002-05-21 Tomas V.V.Cox * pear/PEAR/Common.php: Some minor error verbosity updates * pear/PEAR/Command/Remote.php: doListRemote -> doRemoteList * pear/PEAR/Installer.php: Make the installation of a package fail when _installFile fails and "force" is not set 2002-05-21 Stig Bakken * pear/PEAR/Command/Registry.php: * list command no longer displays test and data files when listing installed files * pear/PEAR/Command/Package.php: * package-list command no longer needed ("list" does the same thing and more) * pear/PEAR/Command/Registry.php: * rename shell-test shortcut to st (was stest) * pear/PEAR/Command/Install.php pear/PEAR/Command/Package.php pear/PEAR/Command/Registry.php pear/PEAR/Command/Remote.php pear/PEAR/Command/Config.php: * added more shortcuts * pear/PEAR/Command/Package.php pear/PEAR/Command/Registry.php pear/PEAR/Command/Remote.php pear/scripts/pear.in pear/PEAR/Command/Install.php pear/PEAR/Command.php pear/PEAR/Command/Auth.php pear/PEAR/Command/Common.php pear/PEAR/Command/Config.php: * implemented shortcuts ("pv" for "package-validate" etc.) do "pear help shortcuts" to see what shortcuts exist * renamed "list-installed" command to "list" and made it able to list the contents of installed packages as well as tar/tgz/xml files * added some more/better command docs * fixed up the synopsis part in the help output * display option parameters (--foo=bar, where bar is specified in 'shortarg' as for example 'f:bar') * renamed list-remote-packages to list-remote * renamed remote-package-info to remote-info * pear/PEAR/Common.php: * make infoFromAny actually work :) * pear/PEAR/Remote.php: * better wording 2002-05-21 Edin Kadribasic * ext/pgsql/pgsql.dsp: MFH (fix for #17315) * ext/pgsql/pgsql.dsp: Fix for #17315. Requires client library 7.2 or greater to compile. 2002-05-20 Markus Fischer * ext/posix/posix.c: - MFH fix for #17323. * ext/posix/posix.c: - Fix posix_isatty() and posix_ttyname() (Closes #17323) 2002-05-20 Stig Bakken * pear/PEAR/Remote.php: * disable debug in XML_RPC fallback 2002-05-20 Wez Furlong * sapi/activescript/php4as_scriptengine.h sapi/activescript/scriptengine.cpp sapi/activescript/php4activescript.h: Use the GIT for inter-thread marshalling. 2002-05-20 Markus Fischer * ext/zip/zip.c: - Add safe_mode/uid and open_basedir check to zip_open() (closes #16927). * ext/standard/filestat.c: - ZTS gotcha * ext/standard/filestat.c: - Add open_basedir check for all functions using php_stat() (filesize, stat, etc), closes #11563. 2002-05-20 Harald Radi * sapi/activescript/classfactory.cpp sapi/activescript/scriptengine.cpp: this way it even compiles * ext/com/com.h ext/com/conversion.c ext/com/COM.c: integrating wez's patch 2002-05-20 Stig Bakken * pear/PEAR/Command/Remote.php: * new command setup * pear/packages/XML_RPC-1.0.2.tar pear/packages/XML_RPC-1.0.3.tar: * upgrade bundled XML_RPC package to 1.0.3 * pear/Makefile.frag pear/install-pear.php: * new installer rule that does not depend on bash * pear/PEAR/Common.php: * _infoFromAny goes public! * pear/PEAR/Installer.php: * some verbosity changes: 0 - only errors, 1 - status report when the install is done, 2 - show each operation, 3 - show file operations * pear/PEAR/Command/Install.php: * no output in verbosity level 0 * pear/PEAR/Config.php: * added PEAR_Config::removeLayer() * pear/PEAR/Command/Package.php: * remove getCommands() from here * added options to "pear cvstag": -q -Q -d -F 2002-05-20 Yasuo Ohgaki * ext/pgsql/pgsql.c: MFH 2002-05-20 Stig Bakken * pear/scripts/pear.in: * support multiple -v and -q options * pear/package-Archive_Tar.xml: * forgot to update the release date * pear/package-Archive_Tar.xml: * fix fix * pear/Archive/docs/Tar.txt pear/Archive/Tar.php pear/package-Archive_Tar.xml: * merge 0.4 files from /pear/Archive_Tar * pear/package-Console_Getopt.xml: * prepare 0.10 * pear/PEAR/Command/Registry.php: * remove run() from this class 2002-05-20 Wez Furlong * win32/php4dllts.dsp: This somehow got undone when I committed the rest... 2002-05-20 Yasuo Ohgaki * ext/pgsql/pgsql.c: Fixed possible pg_lo_write() overflow and make it more fail safe. 2002-05-20 Wez Furlong * win32/php4ts.dsw: Add activescript sapi to the workspace * sapi/activescript/classfactory.cpp sapi/activescript/php4activescript.c sapi/activescript/php4activescript.def sapi/activescript/php4activescript.dsp sapi/activescript/php4activescript.h sapi/activescript/php4as_classfactory.h sapi/activescript/php4as_scriptengine.h sapi/activescript/scriptengine.cpp: Implement ActiveScript interfaces. This allows use of PHP in: Client-side script in Internet Explorer Windows Scripting Host ASP and ASP.NET pages It's mostly working... give it a go. You will need to regsvr32 the php4activescript.dll manually. * main/fopen_wrappers.h main/spprintf.h: Protect C code with extern "C" * ext/com/COM.c ext/com/conversion.c ext/com/dispatch.c ext/com/php_COM.h: Added generic COM wrapper for PHP objects. 2002-05-20 Tomas V.V.Cox * pear/PEAR/Command/Install.php: Added missing key 'doc' for -Z help * pear/PEAR/Common.php: Fix small bug making the baseinstalldir attrib persist 2002-05-20 Yasuo Ohgaki * ext/pgsql/pgsql.c: Improve large object performance. pg_lo_read() and pg_lo_read_all() should perform much better now. Fixed Old API support for pg_lo_import(). 2002-05-20 Stig Bakken * pear/PEAR/Command/Install.php: * no need for getCommands() here * pear/PEAR/Command/Package.php: * new command setup * pear/PEAR/Command/Auth.php: * typo fixes, wrapping 2002-05-19 Stig Bakken * pear/package-PEAR.xml: * install pear.bat on Windows only 2002-05-19 Jani Taskinen * pear/package-Archive_Tar.xml pear/package-Console_Getopt.xml pear/package-PEAR.xml: Make this actually work somewhat better.. 2002-05-19 Edin Kadribasic * NEWS: Give due credit to Markus. 2002-05-19 Stig Bakken * pear/PEAR/Dependency.php: * compat fix 2002-05-19 Markus Fischer * NEWS: - Mention the availability of glob(). 2002-05-19 Tomas V.V.Cox * pear/scripts/pear.in: Put "pear help options" working again * pear/PEAR/Command/Common.php: Put "pear help command" working again 2002-05-19 Sander Roobol * run-tests.php: Fix php.ini-related stuff in run-tests.php * main/php_ini.c: get_cfg_var("get_file_path") didn't work correctly when an alternative php.ini _file_ was specified using -c 2002-05-19 Edin Kadribasic * main/config.w32.h.in win32/glob.c win32/glob.h win32/php4dllts.dsp ext/standard/dir.c: Added glob() support for windows. 2002-05-19 Sander Roobol * php.ini-dist php.ini-recommended: It's get_cfg_var() not cfg_get_var() * tests/basic/.cvsignore tests/classes/.cvsignore tests/func/.cvsignore tests/lang/.cvsignore tests/strings/.cvsignore pear/tests/.cvsignore tests/.cvsignore ext/zip/tests/.cvsignore ext/zlib/tests/.cvsignore pear/XML/tests/.cvsignore ext/standard/tests/strings/.cvsignore ext/standard/tests/time/.cvsignore ext/standard/tests/versioning/.cvsignore ext/xml/tests/.cvsignore ext/xslt/tests/.cvsignore ext/standard/tests/general_functions/.cvsignore ext/standard/tests/math/.cvsignore ext/standard/tests/reg/.cvsignore ext/standard/tests/serialize/.cvsignore ext/standard/tests/.cvsignore ext/standard/tests/aggregation/.cvsignore ext/standard/tests/array/.cvsignore ext/standard/tests/assert/.cvsignore ext/standard/tests/file/.cvsignore ext/pspell/tests/.cvsignore ext/session/tests/.cvsignore ext/skeleton/tests/.cvsignore ext/mcve/tests/.cvsignore ext/ncurses/tests/.cvsignore ext/openssl/tests/.cvsignore ext/pcntl/tests/.cvsignore ext/pgsql/tests/.cvsignore ext/iconv/tests/.cvsignore ext/interbase/tests/.cvsignore ext/mbstring/tests/.cvsignore ext/mcrypt/tests/.cvsignore ext/dio/tests/.cvsignore ext/domxml/tests/.cvsignore ext/exif/tests/.cvsignore ext/gmp/tests/.cvsignore ext/db/tests/.cvsignore ext/dbplus/tests/.cvsignore ext/dbx/tests/.cvsignore ext/crack/tests/.cvsignore ext/ctype/tests/.cvsignore ext/cybermut/tests/.cvsignore ext/bz2/tests/.cvsignore run-tests.php: Fix temporary filename problems, and update .cvsignores with new extensions * Makefile.global run-tests.php: Fix make test and remove a warning * Makefile.global run-tests.php: Cleaned up run-tests.php, and fixed it on linux/unix 2002-05-19 Stig Bakken * pear/PEAR/Command/Package.php: * new command setup * pear/PEAR/Installer.php: * support platform-specific files * pear/OS/Guess.php: * take uname as optional constructor parameter 2002-05-19 Jani Taskinen * NEWS: Typo fixes * ext/exif/exif.c ext/domxml/php_domxml.c: MFH * ext/exif/exif.c ext/domxml/php_domxml.c: DO NOT use C++ comments! 2002-05-18 Christian Stocker * ext/domxml/php_domxml.c: - delete attributes as well in php_free_xml_node - more consistent naming in phpinfo() * ext/domxml/php_domxml.c: added "domxml API version" in phpinfo() output. * ext/domxml/php_domxml.c: MFH for memleak fixes in domxml_dump_mem and domxml_html_dump_mem * ext/domxml/php_domxml.c: mem leak fix for domxml_dump_node * ext/domxml/php_domxml.c: fixes memleak in html_dump_mem * ext/domxml/php_domxml.c: rename the object name for comment nodes to domcoment 2002-05-18 Markus Fischer * ext/standard/dir.c: - Fix portability issues with empty results on Linux and FreeBSD, add safe_mode check and simplify code. 2002-05-18 Christian Stocker * ext/domxml/php_domxml.c: MFH for memleak patch * ext/domxml/php_domxml.c: WS fixes * ext/domxml/php_domxml.c: This should fix a big bad memory leak in freeing the nodes at script end. 2002-05-17 Sascha Schumann * sapi/thttpd/thttpd.c: Improve readability of the header send function 2002-05-17 Markus Fischer * NEWS: - Stuff all Win32 mail() changes together. 2002-05-17 Jon Parise * NEWS: Credit where credit is due. 2002-05-17 Markus Fischer * win32/sendmail.c win32/sendmail.h: - Win32 mail() is no longer case-sensitive when it comes to match for any headers (e.g. from:, cc:, etc). 2002-05-17 Preston L. Bannister * win32/php4ts.dsw: Re-add "tests" project - this is the only change to file. For some reason MSVC chose to put "" around all the project file names. (Why? Ask Microsoft :). Perhaps different patch levels on MSVC6?). These files are not hand-edited. 2002-05-17 Wez Furlong * ext/openssl/openssl.c: proto tweak * ext/sysvsem/sysvsem.c ext/sysvsem/php_sysvsem.h: Add an optional flag to sem_get that specifies if the semaphore should be automatically released on request shutdown. (#16986) Fix a segfault in sem_remove (#17274) 2002-05-17 Joseph Tate * win32/php4ts.dsw: Reverted the last commit which moved all the projects around. 2002-05-17 Cliff Woolley * sapi/apache2filter/config.m4 sapi/apache/config.m4: Allow the version checks for --with-apxs= and --with-apxs2= to work with development version of Apache, whose version strings end in "-dev", eg "Apache/2.0.37-dev". PR: 17233 Submitted by: Dale Ghent * ext/standard/head.c: Only the last cookie was getting set. (You can have more than one Set-Cookie: header, as indicated by http://wp.netscape.com/newsref/std/cookie_spec.html.) PR: 16626 Submitted by: regina@hitel.net * sapi/apache2filter/php_functions.c: apache 2.0's apache_lookup_uri() was returning an array rather than an object, which contradicted both the documentation and the behavior of the same function under apache 1.3. PR: 14999 * sapi/apache2filter/apache_config.c: * restore the php_flag and php_admin_flag Apache directives which for some mysterious reason never made their way from sapi/apache to sapi/apache2filter when it was first written PR: 16629 * change the allowed locations of php_admin_value (and php_admin_flag to match) to ACCESS_CONF instead of OR_NONE to match sapi/apache. No idea why it was ever OR_NONE. PR: 16489 2002-05-17 Preston L. Bannister * tests/php.ini: Default INI file used with run-tests.php 2002-05-16 Christian Stocker * ext/domxml/php_domxml.h ext/domxml/php_domxml.c: - replaced domxml_doc_document_element implementation do use libxml2 method - renamed domxml_add_root to domxml_doc_add_root (and added alias for BC) - aliased $doc->get_root to domxml_document_element - added domxml_doc_set_root to change the root node (Lukas Schroeder) 2002-05-16 Preston L. Bannister * tests/lang/031.phpt: More detailed/explanatory output. * tests/lang/029.phpt: Make failed case tell you what was different. * tests/basic/011.phpt: Make test valid for either "register globals" setting. * ext/ctype/tests/002.phpt: Restrict ctype tests to POSIX portable characters (0..127) and add numeric character tests. * ext/standard/tests/aggregation/aggregate.phpt ext/standard/tests/aggregation/aggregate_methods.phpt ext/standard/tests/aggregation/aggregate_methods_by_list.phpt ext/standard/tests/aggregation/aggregate_methods_by_regexp.phpt ext/standard/tests/aggregation/aggregate_properties.phpt ext/standard/tests/aggregation/aggregate_properties_by_list.phpt ext/standard/tests/aggregation/aggregate_properties_by_regexp.phpt ext/standard/tests/aggregation/aggregation_info.phpt ext/standard/tests/aggregation/deaggregate.phpt: Remove leading "./" from include filenames as in PHP this defeats include_path. * win32/php4ts.dsw: Add "tests" project to invoke run-tests.php (unit tests). * run-tests.php: Updated to run cleanly on Win32, and perform a more controlled test. * tests/tests.mak: Add TEST_PHP_DETAILED usage for verbose test runs. * tests/basic/002.phpt tests/basic/003.phpt tests/basic/004.phpt tests/basic/005.phpt: Fix typo in SKIP clause. * ext/standard/string.c: Adjust dirname() on Win32 to match CWD per drive semantics. * tests/dirname.phpt: dirname() checks that work for both Unix and Win32. 2002-05-16 Jani Taskinen * ext/standard/filestat.c: MFH 2002-05-16 Rasmus Lerdorf * ext/standard/string.c: MFH just in case * ext/standard/string.c: Grr.. I keep leaving my debug in... * ext/standard/string.c: Fix for #17271 2002-05-16 Preston L. Bannister * ext/mbstring/mbstring.c: Range check arguments to mb_strcut(). Test ext/mbstring/013.phpt causes a hard failure w/o this. * ext/mbstring/mbregex.h: Proper declaration to suppress compiler warning. 2002-05-16 Jani Taskinen * ext/standard/filestat.c ext/standard/tests/file/003.inc ext/standard/tests/file/003.phpt: - Made all is_*() functions to return only boolean values. - Killed the "file not found" error for is_link(). (finally..) 2002-05-15 Preston L. Bannister * tests/tests.dsp tests/tests.mak: Win32 project and makefile used to invoke run-tests.php 2002-05-15 Frank M. Kromann * ext/mssql/php_mssql.c: Fixing the mssql_query to handle multiple results correct if the first result does not return any data. 2002-05-15 Harald Radi * ext/com/conversion.c: MFH * ext/com/conversion.c: this should finally fix bug #14353 2002-05-15 Frank M. Kromann * win32/sendmail.c win32/sendmail.h: Fixing line breaks * win32/imap_sendmail.c: Fixing build of IMAP extension, after changes in sendmail 2002-05-15 Markus Fischer * win32/imap_sendmail.c: - Accommodate API changes to Ack(). 2002-05-15 Christian Stocker * ext/domxml/config.m4: libxml2 >= 2.4.14 is needed (since quite some time ...) 2002-05-15 Jani Taskinen * NEWS: Cleanup 2002-05-15 Rui Hirokawa * NEWS: Added Chinese, Korean support in mbstring. * ext/mbstring/mbfilter.c ext/mbstring/mbfilter_cn.c ext/mbstring/mbfilter_kr.c ext/mbstring/mbfilter_kr.h ext/mbstring/mbstring.c: added ISO-2022-KR support in mbstring. 2002-05-15 Tomas V.V.Cox * pear/PEAR/Common.php: make downloadHttp() detect HTTP errors 2002-05-15 Jani Taskinen * INSTALL: MFB * INSTALL: Nuke 4.1 for good this time. * INSTALL: MFH * INSTALL: Nuke .1 * EXTENSIONS: Added ctype to this list too. 2002-05-15 Markus Fischer * win32/sendmail.c: - Add support for Bcc in w32/sendmail code. 2002-05-15 Derick Rethans * ext/ctype/ctype.c: - It's bundled, thus not experimental anymore 2002-05-14 Frank M. Kromann * ext/mssql/php_mssql.h ext/mssql/php_mssql.c: Fixing hanfling of data type REAL. Remove extra bytes allocated by emalloc calls 2002-05-14 Rui Hirokawa * ext/mbstring/mbfilter_tw.c: fixed a initialization bug in euc-tw. 2002-05-14 Sascha Schumann * configure.in: some versions of autoconf pad CONFIG_FILES with a single space. accomodate that Thanks to Cliff Woolley 2002-05-14 Markus Fischer * ext/standard/mail.c: - Adjust for improved error messages from win32/sendmail.c * win32/sendmail.c win32/sendmail.h: - Improve code so errors returned from the server are reported back to the user. 2002-05-14 Tomas V.V.Cox * pear/PEAR/Config.php: Try to create the dir where the conf file resides before trying to write to it * pear/scripts/pear.in: Add "\n" after the error in usage() 2002-05-14 Markus Fischer * win32/sendmail.c: - Do not include the Cc: for the first Cc'd recipient (spotted by Richard). * win32/sendmail.c win32/sendmail.h: - Convert unix to dos line endings. * win32/sendmail.c: - Try to find From: field in header, fallback to sendmail_from php.ini setting (Original patch by Michael Sisolak , enhanced a bit). - Win32 mail() supports parsing 'From:' field from header (msisolak@yahoo.com, Markus). * win32/sendmail.c win32/sendmail.h: - MFH fix for Cc: crash * win32/sendmail.h win32/sendmail.c: - Fix win32 sendmail bug with Cc: in custom header not terminated with \r\n - Fix some obvious errors returned by the module, little cleanup. 2002-05-14 Stig Bakken * pear/PEAR/Command/Config.php: * convert to new command setup * pear/PEAR/Command/Auth.php: * typo 2002-05-14 Jan Lehnardt * README.CVS-RULES: - MFH * README.CVS-RULES: - fix typo, thanks to georg for spotting it. 2002-05-14 Stig Bakken * pear/PEAR/Remote.php: * fall back to XML_RPC if xmlrpc-epi is not loaded * pear/PEAR/Command/Auth.php: * add command definitions, split run() into one method for each command * pear/PEAR/Command/Install.php: * no need for getHelp() here anymore * pear/PEAR/Command/Common.php: * moved get{Help,Commands,Options} here * pear/scripts/pear.in: * moved the {config xxx} help message substitution to PEAR_Command_Common::getHelp 2002-05-14 Jason Greene * sapi/fastcgi/config.m4: Fix fastcgi build, may need more work 2002-05-13 Marko Karppinen * sapi/apache2filter/config.m4: Patch by Justin Erenkrantz for enabling --with-apxs2 build on Darwin. Omitting the change to start linking with libtool for now, though. 2002-05-13 Rasmus Lerdorf * ext/gd/libgd/gd.c: fix copyresampled bug in bundled gd lib 2002-05-13 Jim Jagielski * sapi/apache2filter/apache_config.c: More verbose but more generic error message when we spot multiple PHPINIDir directives 2002-05-13 Rasmus Lerdorf * ext/standard/filestat.c: MFH * ext/standard/filestat.c: Make sure newtime is never NULL 2002-05-13 Jan Lehnardt * README.CVS-RULES: - MFH * README.CVS-RULES: - added reference to http://cvsbook.red-bean.com/ 2002-05-13 Zeev Suraski * ext/standard/info.c: - Fix a buglet in printing of GPCSE arrays - Remove indirect access 2002-05-13 Andrei Zmievski * ext/standard/array.c ext/standard/php_array.h ext/session/session.c ext/wddx/php_wddx.h ext/wddx/wddx.c pear/Console/Getopt.php ext/pcre/php_pcre.c ext/pcre/php_pcre.h: Changing email address. 2002-05-13 Derick Rethans * configure.in main/php_version.h: - Bumb version number 2002-05-13 Sander Roobol * .cvsignore: Added confdefs.h which seems to be generated by configure 2002-05-13 Zeev Suraski * main/main.c ext/standard/info.c: - Centralize html_puts() again - Revolutionize phpinfo()'s speed 2002-05-13 Jon Parise * ext/imap/php_imap.c: Instead of calling mail_fetchheader_full() to retrieve the complete header information just to extract the message envelope, call mail_fetchenvelope(), which returns just what we need. This is simpler, faster, and saves the IMAP server some work. Submitted by: Adam Kauffman 2002-05-12 Stig Bakken * pear/scripts/pear.in: * fix option parsing 2002-05-12 Zeev Suraski * main/output.c: Remove redundant code (thanks to Jani for pointing that out) 2002-05-12 Derick Rethans * configure.in main/php_version.h: - Fix version 2002-05-12 Stig Bakken * pear/PEAR/Command/Common.php pear/PEAR/Command/Install.php pear/scripts/pear.in pear/PEAR/Command.php pear/PEAR/Installer.php: * refactored the command/options code: - now each command class should define a "commands" property with documentation, option specs etc. - both long and short options are now supported - after recent changes to Console_Getopt, you may now have options to commands even though the same option is also valid for the pear command itself - less CLI-centric, better suited to Gtk and Web frontends 2002-05-12 Jani Taskinen * NEWS: sync with branch * NEWS: short is good * NEWS: Made several entries comprehensible. 2002-05-12 Edin Kadribasic * NEWS: Merged safe_mode fixes into one entry. 2002-05-12 Jon Parise * ext/imap/php_imap.c ext/imap/php_imap.h: Submitted by: Rob Siemborski 2002-05-12 Edin Kadribasic * win32/install.txt: Fixed typo. * NEWS: MFH 2002-05-12 Sascha Schumann * ext/sockets/config.m4: As far as I can tell, the AC_CHECK_MEMBER could not succeed, because it does not include which is necessary for the definition of struct msghdr. This include file is not part of ac_includes_default. Regardless, AC_CHECK_MEMBER is a autoconf-2.5x macro and thus we expand it here for 2.13 compatibility. 2002-05-12 Tomas V.V.Cox * pear/scripts/pear.in: The command name is now the first arg not the second * pear/PEAR/Command/Install.php: Add "r" in cmd help * pear/scripts/pear.in: The first entry in argv is the command name, so Getopt will stop parsing more args 2002-05-12 Rasmus Lerdorf * ext/standard/file.c: MFH * ext/standard/file.c: Change safe-mode rule for rmdir() to match unlink() - allow is target is opened by caller or in a directory owned by caller 2002-05-12 Sascha Schumann * main/main.c: Simplify even more * main/main.c: Simplify white space handling in php_html_puts. If we encounter a ' ', we will look for the next non-' ' and set p accordingly. 2002-05-12 Sebastian Bergmann * ext/calendar/easter.c: Nuke unused local variables. 2002-05-12 Marko Karppinen * ext/calendar/calendar.c ext/calendar/easter.c ext/calendar/php_calendar.h: Add an option to calculate easter dates based on the Gregorian calendar during the years 1582-1752. Earlier this was only possible from 1753 onwards. Use the optional parameter CAL_EASTER_ROMAN with easter_days() to enable this. This is a fix for bug #12766. 2002-05-12 Sascha Schumann * ext/mbstring/config.m4: Fix this again. If you are unsure whether enable or with shall be used, please inquire on the mailing list. WITH is solely for the purpose of pointing to paths and other external entities. Note that the comment has always mentioned "--disable-mbstring" which clearly refers to enable and not with. 2002-05-12 Stig Bakken * pear/PEAR/Dependency.php: * fix up package dependency check 2002-05-12 Sascha Schumann * ext/standard/info.c: Use string_len information * ext/standard/info.c main/main.c main/php_ini.c main/php_main.h: reenable php_html_puts 2002-05-12 Tomas V.V.Cox * pear/PEAR/Dependency.php: Make avaible 2002-05-12 Stig Bakken * pear/package-Console_Getopt.xml: * fix description 2002-05-12 Rui Hirokawa * ext/mbstring/mbfilter.c ext/mbstring/mbfilter.h ext/mbstring/mbfilter_cn.c ext/mbstring/mbfilter_cn.h ext/mbstring/mbfilter_kr.c: added chinese HZ encoding support. fixed ascii area character conversion was not work in euc-cn and euc-kr. 2002-05-12 Daniela Mariaschi * ext/interbase/interbase.c: fix bug #17040 User can't close a connection if there are blobs opened. He must close them before to not lose data.... 2002-05-12 Sascha Schumann * ext/session/session.c: - Fix the way code was outcommented - Remove unused STR_CAT macro - Remove limits/tests based on unused macro - Implement cache_limiter(private) using private_no_expire 2002-05-12 Daniela Mariaschi * ext/interbase/interbase.c: fix bug #17040 ibase_close again..... User can't close a connection if there are blobs opened. He must close them before to not loose data.... 2002-05-12 Tomas V.V.Cox * pear/package-Console_Getopt.xml: Vincent is not involved in this class :-) 2002-05-12 Jason Greene * ext/sockets/config.m4 ext/sockets/sockets.c: Fix build on IRIX for both mips and gcc 2002-05-12 Stig Bakken * pear/Console/tests/001-getopt.phpt pear/Console/Getopt.php: * Try again: fixed Console_Getopt::getopt so it does not steal options after the first non-option argument. Added test. * pear/tests/pear_config.phpt: * updated config key names * pear/tests/pear_registry.phpt: * exclude _lastmodified registry attrib from tests 2002-05-12 Rui Hirokawa * ext/mbstring/config.m4: fixed to support --with-mbsting=LANG. 2002-05-10 Edin Kadribasic * configure.in: Fixed "make install" when compiled with --disable-cli option. 2002-05-10 Markus Fischer * sapi/cgi/cgi_main.c sapi/cli/php_cli.c: - Prefix the first version line with 'PHP' so it's easier to use shell tools to parse the version number (both CLI and CGI). * sapi/cli/php_cli.c sapi/cgi/cgi_main.c: - This affects both CGI and CLI sapi: Remove Zend version output from -m switch and move it over to the output of the -v switch (-v is supposed to list version numbers, not -m). 2002-05-10 Christian Stocker * ext/domxml/php_domxml.c: - added fifth optional parameter to domxml_xslt_process. If set, it will output profiling information to the file stated (chregu) - introduced version numbering for this extension 2002-05-10 Martin Jansen * pear/Makefile.frag: * package-pear.xml has been renamed to package-PEAR.xml. 2002-05-10 Edin Kadribasic * NEWS main/config.w32.h.in win32/crypt_win32.c win32/md5crypt.c win32/md5crypt.h win32/php4dllts.dsp: Added MD5 support for crypt() on Windows. * win32/.cvsignore: Ignoring *.aps files. * ext/pgsql/php_pgsql.h: Fix win32 build. 2002-05-09 Preston L. Bannister * sapi/cgi/cgi_main.c: Backed out preceding change. 2002-05-09 Jani Taskinen * main/php_ini.c: ws fix 2002-05-09 Preston L. Bannister * main/php_open_temporary_file.c: Compute directory for temporary files once and use same directory for all subsequent calls. 2002-05-09 Daniela Mariaschi * ext/interbase/interbase.c: corrected parameter * ext/interbase/interbase.c: fix test 5 to pass 2002-05-09 Preston L. Bannister * main/php_ini.c: Detect when running under IIS and default force_redirect to zero. This This means an explicit php.ini setting is no longer required. (NO extraneous whitespace changes this time (sigh)). 2002-05-09 Stig Bakken * pear/package-PEAR.xml pear/package-db.xml pear/package-pear.xml: * remove package-db.xml * rename package-pear.xml to package-PEAR.xml (generic format is package-PKGNAME.xml) 2002-05-09 Preston L. Bannister * sapi/cgi/cgi_main.c: Detect when running under IIS and default force_redirect to zero. This This means an explicit php.ini setting is no longer required. (No extraneous whitespace changes this time :). 2002-05-09 Frank M. Kromann * ext/mssql/php_mssql.h ext/mssql/php_mssql.c: Allow the MSSQL extension to use NT authentication 2002-05-09 James Cox * README.SUBMITTING_PATCH: this is dangerous.... 2002-05-09 Frank M. Kromann * php.ini-dist php.ini-recommended: Adding ini setting that allows the MSSQL extension to use NT authentication 2002-05-09 Preston L. Bannister * main/php_ini.c: Add check for php.ini in same directory as php.exe (or equivalent executable that loaded php4ts.dll). Check is done before looking in the Windows directory. This allows distinct php.ini files when different applications using PHP are installed on the same system. Should be backwards compatible. Note that checking for in CWD php.ini may be a security risk(?), and can now be made compile-time configurable by removing a single #define. (This time with tabs for leading indent). 2002-05-09 Jani Taskinen * main/php_open_temporary_file.c sapi/cgi/cgi_main.c ext/session/session.c main/php_ini.c: Revert the last patches. 2002-05-09 Sander Roobol * ext/session/session.c: Revert Preston's patch 2002-05-09 Jani Taskinen * main/main.c: ws fix 2002-05-09 Preston L. Bannister * main/php_ini.c: Add check for php.ini in same directory as php.exe (or equivalent executable that loaded php4ts.dll). Check is done before looks in the Windows directory. This allows distinct php.ini files when different applications using PHP are installed on the same system. Should be backwards compatible. Note that checking for php.ini in CWD may be a security risk(?), and can now be made compile-time configurable by removing a single #define. * ext/session/session.c: Change default directory for session data from /tmp (non-portable) to none. Default directory for session data (if not specified) is same (platform-specific) directory used for temporary files. This is backwards compatible and removes the need for explicitly specifying the session.save_path on Win32. * main/php_open_temporary_file.c: Compute directory for temporary files once and use same directory for all subsequent calls. * sapi/cgi/cgi_main.c: Detect when running under IIS and not require explicit setting of force_redirect. This means an explicit php.ini setting is no longer required. 2002-05-09 Edin Kadribasic * ext/crack/crack.dsp: No need to link libxm2 in order to build php_crack.lib 2002-05-09 Vincent Blavet * pear/Archive/Tar.php: * Better handling of Windows paths (\php\any_thing or c:\php\any_thing) * Remember that inside the archive path are all the time in unix format /php/any_thing * When necessary, '\' are replaced by '/' and 'c:' are removed * Synchro with cvs:pear/Archive_Tar/Tar.php version 1.20 2002-05-09 Stig Bakken * pear/packages/DB-1.2.tar pear/packages/XML_Parser-1.0.tar pear/packages/XML_RPC-1.0.2.tar: * add some packages to bundle with PHP * pear/PEAR/Command/Package.php: * add "pear run-tests" command * pear/Makefile.frag: * use PEAR installer to install stuff (won't overwrite if newer versions of packages already are installed) * pear/XML/Parser.php pear/XML/Render.php pear/XML/tests/001.phpt pear/XML/tests/002.phpt pear/XML/tests/003.phpt pear/XML/tests/004.phpt pear/XML/tests/005.phpt pear/XML/tests/parser1.r pear/XML/tests/parser1.t pear/XML/tests/parser2.i pear/XML/tests/parser2.r pear/XML/tests/parser2.t pear/XML/tests/parser3.r pear/XML/tests/parser3.t pear/XML/tests/parsererror.r pear/XML/tests/parsererror.t pear/XML/tests/test.xml: * moving XML_Parser to /pear * pear/DB/msql.php pear/DB/mssql.php pear/DB/mysql.php pear/DB/oci8.php pear/DB/odbc.php pear/DB/pgsql.php pear/DB/storage.php pear/DB/sybase.php pear/DB.php pear/DB/IDEAS pear/DB/MAINTAINERS pear/DB/STATUS pear/DB/TESTERS pear/DB/common.php pear/DB/dbase.php pear/DB/fbsql.php pear/DB/ibase.php pear/DB/ifx.php: * permanently moving DB to /pear 2002-05-09 Derick Rethans * pear/scripts/phpize.in: - Fix phpize * pear/scripts/phpize.in: - Dump API NOs 2002-05-09 Jani Taskinen * configure.in pear/scripts/php-config.in: Fix 'php-config --version' 2002-05-09 Derick Rethans * ext/standard/info.c: - Add PHP_API_VERSION too * ext/standard/info.c: - Show both API nos 2002-05-09 Sander Roobol * win32/install.txt: Added notes that php.exe and not php-cli.exe should be used. * sapi/cli/php_cli.c sapi/cgi/cgi_main.c: Added the current SAPI to the output of php -v 2002-05-09 Stig Bakken * pear/PEAR/Command/Install.php: * show "update ok" after updates * run-tests.php: * try the installed cli binary if everything else fails (I'm starting to agree that looking too hard for a php binary is wrong) * pear/Makefile.frag: * install the old-fashioned way for just a bit longer * pear/scripts/pear.in pear/Makefile.frag pear/PEAR/Command.php pear/PEAR/Command/Auth.php pear/PEAR/Command/Config.php pear/PEAR/Command/Install.php pear/PEAR/Command/Package.php pear/PEAR/Command/Registry.php pear/PEAR/Command/Remote.php pear/PEAR/Frontend/Gtk.php pear/package-pear.xml: * add -G option to "pear" for php-gtk frontend * added Gtk stub (only creates window right now) * added command descriptions 2002-05-08 Jason Greene * ext/sockets/sockets.c: Merge overflow fix * ext/sockets/sockets.c: Fix overflow 2002-05-08 Rui Hirokawa * configure.in sapi/apache/mod_php4.c main/main.c ext/mbstring/mbfilter.h ext/mbstring/mbstring.c ext/mbstring/mbstring.h ext/mbstring/mbfilter.c: Added conversion support from script character encoding to internal character encoding. This feature is very useful for japanese who uses Shift_JIS encoding because some of characters in Shift_JIS are including '0x5c' and it causes some troubles on Zend parser. This patch is made by Masaki Fujimoto. 2002-05-08 Yasuo Ohgaki * main/output.c: Added estrdup() needed. Fixed typo. 2002-05-08 Aaron Bannert * EXTENSIONS: This is a more appropriate address for me. 2002-05-08 Zak Greant * ext/mysql/php_mysql.c: Minor improvement to error message for mysql_data_seek 2002-05-08 Markus Fischer * run-tests.php: - Add a warning if running with safe_mode enabled. 2002-05-08 Derick Rethans * ext/standard/credits_sapi.h: - Forgot one * sapi/apache2filter/CREDITS EXTENSIONS: - Added Aaron Bannert as maintainer 2002-05-08 Frank M. Kromann * ext/standard/php_smart_str.h: Kill a compiler warning on Win32 2002-05-07 Sascha Schumann * main/php.h: Due to the thread-safety changes and lots of other stuff, the current tree is not backwards compatible anymore. Bump API no. 2002-05-07 Jason Greene * ext/sockets/sockets.c: MFH BSD fix * ext/sockets/sockets.c: Fix 10830, and 17074 FreeBSD requires the exact length of the socket type 2002-05-07 Frank M. Kromann * main/spprintf.c: Fixing win32 build. 2002-05-07 Sascha Schumann * main/snprintf.c main/snprintf.h: use thread-safe functions unconditionally * main/snprintf.c main/snprintf.h: Add thread-safety to some conversion functions and sync a bit with APR. 2002-05-06 Jason Greene * ext/pcntl/pcntl.c: MFH * ext/pcntl/pcntl.c: Fix invalid warning caused by bogus convert_to_* calls Fix possible invalid data in status for pcntl_waitpid() 2002-05-06 Markus Fischer * ext/standard/datetime.c: - WS fix as pointed out by fabwash@hotmail.com 2002-05-06 Jason Greene * ext/pcntl/pcntl.c: MFH Fix for ZTS and crash bugs * ext/pcntl/pcntl.c: Fix type-o that broke ZTS build Fix 3 nasty crash bugs that could occur if pcntl_exec's call to execve errored 2002-05-06 Derick Rethans * configure.in main/php_version.h: - Swap back version number * NEWS: - Fix release date 2002-05-06 jim winstead * ext/standard/file.c: MFH: fix problem with mkdir() on freebsd * ext/standard/file.c: fix problem with mkdir() on freebsd 2002-05-06 Edin Kadribasic * sapi/cli/README: Update README with register_argc_argv settings override. 2002-05-06 Aaron Bannert * sapi/apache2filter/sapi_apache2.c: Merge two SEGV fixes from the trunk: - startup SEGV caused by delaying the initialization too long. - graceful restart SEGV caused by not re-initializing. 2002-05-06 Derick Rethans * NEWS: - Fix release day * main/php_version.h configure.in: - GO with rc2 2002-05-05 Wez Furlong * ext/standard/html.c: Add support for remaining entities in HTML 4 for the UTF-8 encoding in htmlentities/htmlspecial chars. This is a fix for for #17008. 2002-05-05 Yasuo Ohgaki * NEWS: Clenup before I forgot. 2002-05-05 Aaron Bannert * sapi/apache2filter/sapi_apache2.c: Fix a graceful restart SEGV. We no longer only perform initialization on the second pass through the post_config. Now we only avoid the initialization only on the first DSO load, and on all subsequent loads we rerun the init code. * sapi/apache2filter/sapi_apache2.c: Fix an elusive and intermittent startup SEGV. The problem was the static string we were using to set an initialization flag would get remapped to a different location when Apache reloaded the DSO, causing us to not run our initialization routines. Submitted by: Justin Erenkrantz Reviewed by: Aaron Bannert (I added the big comment too) 2002-05-05 Stanislav Malyshev * ext/standard/exec.c: Return right exit status 2002-05-05 Jani Taskinen * sapi/cli/php_cli.c: MFH * sapi/cli/php_cli.c: Force register_argc_argv=On for CLI 2002-05-05 Thies C. Arntzen * ext/standard/url_scanner_ex.c: touch * ext/session/php_session.h ext/session/session.c ext/standard/url_scanner_ex.c ext/standard/url_scanner_ex.h ext/standard/url_scanner_ex.re: re-add accidentily nuked session_adapt_url() 2002-05-05 Rui Hirokawa * ext/mbstring/mbfilter.c ext/mbstring/unicode_table.h: bug fixed in unicode -> cp1252 table. 2002-05-05 Marko Karppinen * sapi/apache2filter/config.m4: Well that didn't last long! (Reverting previous.) * sapi/apache2filter/config.m4: Prelim. patch to enable apache2filter to link on Darwin. Submitted by: Justin Erenkrantz Reviewed by: markonen 2002-05-05 Rui Hirokawa * ext/standard/reg.c: fixed problem that ereg_replace() couldn't match with line stand/end marker. * ext/mbstring/mbfilter.c ext/mbstring/mbfilter_cn.c ext/mbstring/unicode_table_cn.h: added missing areas on Unicode->CP936 conversion table. added an alias CP932 on sjis-win. 2002-05-05 Sascha Schumann * ext/standard/url_scanner_ex.c: sync * ext/standard/url_scanner_ex.re: the output buffer is flushed during request shutdown before it reaches our rshutdown, so it is safe to delete the contents of the url rewriter variables here. 2002-05-04 Zeev Suraski * main/output.c: We shouldn't force Content-length:, but much worse, it's wrong in many cases (basically, unless you use output buffering to buffer all of your content, it won't work; output buffering is used for lots of different things as a functional interface, and such buffers have no relation to Content-type at all). 2002-05-04 Sascha Schumann * main/output.c: Free string before overwriting it * ext/standard/url_scanner_ex.c: update * ext/standard/basic_functions.c ext/standard/url_scanner_ex.h ext/standard/url_scanner_ex.re main/output.c main/php_output.h ext/session/session.c: simplify handling of variables by maintaining two strings which are simply appended instead of traversing the hash table on each URL/form. also fix an unconditional segfault in rshutdown due to efree'ing a static char *. remove remove_var, add reset_vars. move the function declarations into the right header file. * ext/standard/basic_functions.c: ret set but unused * main/user_streams.c: these are case sensitive * ext/standard/iptc.c: c set but unused * ext/standard/iptc.c: inheader set but unused 2002-05-04 James Cox * main/user_streams.c: touch. * main/user_streams.c: add $id:$ line 2002-05-04 Sascha Schumann * ext/standard/string.c: block_ended/opposite_target were set but never used * ext/standard/strnatcmp.c: don't emit code for version * main/php_variables.c: free_index is set but never used * main/user_streams.c: call_result is set but never used * sapi/cli/getopt.c: ap_php_optopt is set but never used * ext/standard/php_fopen_wrappers.h: Fix linkage of symbols * ext/standard/image.c: entry_length was set but never used * ext/standard/var_unserializer.c: update * ext/standard/var_unserializer.re: rval_temp was declared but never used * ext/standard/http_fopen_wrapper.c: redirected is set but never used * ext/standard/url_scanner_ex.c: include url.h * ext/standard/url_scanner_ex.re: include url.h to pull in declaration of php_url_encode * ext/standard/file.c: Make this code work on compilers which don't consider the address of a variable on the stack available at compile time. * ext/standard/basic_functions.c: unused var * ext/posix/posix.c: p is set, but never used. * ext/mbstring/config.m4: Turn misplaced PHP_ARG_WITH into _ENABLE and fix --enable-mbstring=shared * ext/session/config.m4: Fix --enable-session=shared * ext/xml/config.m4: Fix --enable-xml=shared 2002-05-04 Stig Venaas * ext/ldap/ldap.c: Reworked result resource handling so that result is not freed until all its result entry resources are freed 2002-05-04 Rui Hirokawa * ext/standard/reg.c: fixed a problem that ereg_replace() couldn't match with line stand/end marker. 2002-05-04 Yasuo Ohgaki * main/output.c: Forgot to dup strings. * main/output.c: Fixed reference to freed zval string value. * main/output.c: Fixed crash when buffer is over written in ob callback. (Bug $ 12227) Added check current output function check for Centent-Length header. 2002-05-03 Jani Taskinen * NEWS: MFH * NEWS: Domxml changes go into the 4.2.x branch. 2002-05-03 Christian Stocker * ext/domxml/php_domxml.h ext/domxml/php_domxml.c: full MFH as discussed with derick * ext/domxml/php_domxml.h ext/domxml/php_domxml.c: removed the function for domxml_node_add_child and made an alias to domxml_node_append_child for BC 2002-05-03 Stig Bakken * pear/OS/Guess.php: * switched from static to instance model * added matching method with glob support, some examples: $os->matchSignature('linux'); $os->matchSignature('linux-2.4*); $os->matchSignature('linux-*-i?86'); 2002-05-03 Christian Stocker * ext/domxml/php_domxml.c: WS fixes * ext/domxml/php_domxml.c: one parameter too much * ext/domxml/php_domxml.c: added encoding support for domxml_dump_mem() 2002-05-03 Thies C. Arntzen * ext/standard/url_scanner_ex.c: forgot 2002-05-03 Sebastian Bergmann * ext/session/session.c: Fix ZTS build. 2002-05-03 Thies C. Arntzen * main/output.c ext/standard/url_scanner_ex.h ext/standard/url_scanner_ex.re ext/standard/basic_functions.c ext/session/session.c ext/session/php_session.h: i have also modified the session module to use this - so it doesn't need to fiddle with the output-system any more 2002-05-03 Stig Bakken * pear/OS/Guess.php pear/package-pear.xml: * fixed autoconf vs. pear installer replacement issue in scripts/pear.in (pear installer now substitutes "@prefix@/bin" to bin_dir ;-) * added skeleton for OS_Guess class * NEWS: * unintentional news entry :-) * pear/PEAR/Installer.php: * apply umask when installing files 2002-05-02 Stig Bakken * pear/PEAR/Config.php: * add umask config value 2002-05-02 Frank M. Kromann * ext/mbstring/mbfilter_tw.c: Changed & to &&. * ext/mbstring/mbstring.dsp: Adding missing files to the project * ext/standard/info.c: Fixing wrong pointer 2002-05-02 Sander Roobol * sapi/cgi/cgi_main.c: MFH * sapi/cgi/cgi_main.c: Fixed some minor typos 2002-05-02 Jason Greene * ext/sockets/sockets.c: socket_write() should just use the standard socket error macro so that errors will be consistent if the macro ever changes 2002-05-02 James Cox * sapi/cgi/cgi_main.c: fix. * sapi/cgi/cgi_main.c: MFH. 2002-05-02 Sebastian Bergmann * sapi/cgi/cgi_main.c: Fix build. 2002-05-02 James Cox * sapi/cgi/cgi_main.c: updated cgi warning notice. 2002-05-02 Derick Rethans * configure.in: - MFH 2002-05-02 Zeev Suraski * configure.in: Update comment 2002-05-02 Yasuo Ohgaki * main/output.c: Change nest level to send Content-Length again. It seems this is the best setting for now. PHP will not send Content-Length always. It only sends when it is possible to send. output_buffer=0 is supposed to disable chunked output, but it seems it does not disable. It also behaves a litte strange way. This should be addressed someday. It is possible Content-Length header is not set. If it happens, try to increase chunk size for now. (i.e. output_buffer=40960) I included a little debug code for me and other develpers to play with, when (NestLevel==1 && ObStatus==5), PHP sends Content-Length. 2002-05-02 Harald Radi * ext/com/COM.c: MFH * ext/com/COM.c: remove temporary resources immediately return value fix 2002-05-02 Sascha Schumann * configure.in: Readd warning * configure.in: Readd warning If Mr. Taskinen feels like removing it again, he can commence a discussion. Otherwise, I'll personally disable his CVS account immediately. * configure.in: in6addr_any is defined as extern in IRIX header files, but is not actually contained in any library (sigh). Make this check fail, if the link stage does not succeed. Also avoid GCC optimization which drops the reference to ip6addr_any. Tested on IRIX 6.5.15. 2002-05-02 Derick Rethans * ext/standard/info.c: - Add Zend API No. to phpinofo() output 2002-05-02 Jani Taskinen * ext/xslt/config.m4: MFH: Do not use the old expat libs. * ext/xslt/config.m4: Stop the search when the libs are found. * ext/xslt/config.m4: Added the usual search paths where to look for expat. 2002-05-02 Tomas V.V.Cox * pear/package-pear.xml: Install pear.bat 2002-05-02 Sebastian Bergmann * win32/php4dll.dsp win32/php4dllts.dsp: I could swear it worked the other way before I committed. 2002-05-02 Tomas V.V.Cox * pear/package-pear.xml: untabify 2002-05-02 James Cox * NEWS: englishify. 2002-05-02 Sebastian Bergmann * main/.cvsignore: Add config.w32.h. * win32/php4dllts.dsp: Oops. * NEWS: Fugbix typos. * main/config.w32.h main/config.w32.h.in win32/php4dll.dsp win32/php4dllts.dsp NEWS: The Windows build can now be configures more comfortably, for instance in regard to built-in extensions. 2002-05-02 Jani Taskinen * configure.in: MFH * configure.in: Remove bogus warning. * NEWS: Sync with PHP_4_2_0 branch. 2002-05-02 Yasuo Ohgaki * main/output.c: Fixed header output. Only need to output header when it is actually sent to client. 2002-05-02 Jon Parise * pear/scripts/pear.in: Revert the previous commit (revision 1.40). (FreeBSD 4.5), thus producing a broken shebang line. substitution problem noted above needs to be resolved before the change is reapplied. 2002-05-02 Yasuo Ohgaki * main/output.c: Check buffer status * main/main.c main/output.c: Make Content-Type output always correct. * NEWS: Modify NEWS entry for Content-Length header change * main/output.c ext/zlib/zlib.c: Move Content-Length: header handling from zlib.c to output.c When output buffer is enabled and header can be sent, Content-Length: header is added always from now on. 2002-05-01 Derick Rethans * ext/standard/base64.c: - MFH * ext/standard/base64.c: - Fix String is not zero-terminated error in base64_decode 2002-05-01 Markus Fischer * ext/sockets/sockets.c: - Update protos for socket_read() and socket_write(). - Set last_error in socket_write(). * ext/sockets/sockets.c: - Update protos for getpeer/getsock-name. 2002-05-01 Jason Greene * ext/sockets/sockets.c: Fix BYREF_FORCE that was not being read Fix error message 2002-05-01 Sascha Schumann * configure.in: MFH * configure.in: Add a big disclaimer regarding register_globals. It just bit me again but now on a live customer site :-/ 2002-05-01 Derick Rethans * main/php_version.h configure.in: - Update version number * main/php_version.h NEWS configure.in: - Go with 4.2.1rc1 2002-05-01 Markus Fischer * ext/sockets/php_sockets.h ext/sockets/sockets.c: - Rename setopt and getopt to set_option and get_option, provide alias. * ext/sockets/sockets.c: - Fix couple of problems with socket_create_pair(): - Force fourth argument to be passed by reference - Since the argument is modified there is no need to force it to be an array since it's destroyed anyway - Only modify the argument if socketpair() was successfully - Fix string modified for error message message - Set global last_error when socketpair() fails * ext/sockets/sockets.c: - Add SOMAXCONN constant. 2002-05-01 Wez Furlong * ext/openssl/openssl.c: Fix for #16885 * ext/openssl/openssl.c: No asserts in branch * ext/openssl/openssl.c: MFH fix for #16940, compiler warnings and TSRMLS build fixes. * ext/openssl/openssl.c: Probable fix for #16940. 2002-05-01 Markus Fischer * ext/sockets/sockets.c: - WS fixes * NEWS: - Mention the socket_select() API change * ext/sockets/sockets.c: - MFH fix for socket_select() and some minor memory leak; NEWS entry follows. 2002-05-01 Jason Greene * ext/sockets/sockets.c: Changed socket_select to force reference copy, the older code would modify all references Also fix small memory leak. 2002-04-30 Harald Radi * ext/overload/overload.c: ZE2 compatibility fixes 2002-04-30 Markus Fischer * ext/sockets/sockets.c: - Forgot to update proto * ext/sockets/sockets.c: - Allow resetting the module global last_error too. 2002-04-30 Sebastian Bergmann * ext/mbstring/mbfilter_cn.c ext/mbstring/mbfilter_tw.c: More unused variables. 2002-04-30 Stanislav Malyshev * ext/standard/aggregation.c: Fix ZE1 build 2002-04-30 Harald Radi * NEWS: MFH 2002-04-30 Sebastian Bergmann * ext/mbstring/mbfilter_kr.c: Fix ZTS build. Remove unused variables. * main/config.w32.h: Add missing #define's. 2002-04-30 Harald Radi * NEWS: 2002-04-30 Sebastian Bergmann * win32/php4dll.dsp win32/php4dllts.dsp: Add new ext/mbstring/mbfilter_*.c files. 2002-04-30 Sascha Schumann * ext/standard/var_unserializer.c: Touch file 2002-04-30 Dan Kalowsky * ext/odbc/php_odbc.c: reverting the cursor change as it seems to break many ODBC drivers. * ext/odbc/php_odbc.c: re-setting the CURSOR back to DYNAMIC rather than FORWARD_ONLY. This change broke many other ODBC drivers (obviously testing wasn't extensive). 2002-04-30 Rui Hirokawa * ext/mbstring/mbfilter.c ext/mbstring/mbregex.c: fixed compile warning with Visual C++. * ext/mbstring/mbfilter_cn.c ext/mbstring/mbfilter_cn.h ext/mbstring/mbfilter_ja.c ext/mbstring/mbfilter_kr.c ext/mbstring/mbfilter_kr.h ext/mbstring/mbfilter_tw.c ext/mbstring/mbfilter_tw.h ext/mbstring/mbstring.c ext/mbstring/unicode_table_cn.h ext/mbstring/unicode_table_kr.h ext/mbstring/unicode_table_tw.h ext/mbstring/config.m4 ext/mbstring/mbfilter.c ext/mbstring/mbfilter.h: added simplified chinese, traditional chinese, korean support to mbstring. Note that this feature is experimental. 2002-04-30 Stanislav Malyshev * ext/standard/browscap.c: ZE2 compatibility fix * ext/standard/aggregation.c: ZE2 compatibility fixes 2002-04-30 Jani Taskinen * ext/standard/tests/file/003.phpt: revert last bogus change. There is bug in is_file() 2002-04-30 Uwe Steinmann * ext/domxml/php_domxml.c ext/domxml/php_domxml.h: - added function domxml_parser_set_keep_blanks() 2002-04-30 Frank M. Kromann * ext/mbstring/mbstring.dsp: Adding missing files to project 2002-04-30 Sebastian Bergmann * ext/standard/file.c: Fix ZTS build. 2002-04-30 Wez Furlong * ext/standard/http_fopen_wrapper.c: Make use of new flag so that we can buffer http headers when we know that the stream is not intended to be used in require/include. * ext/standard/file.h ext/standard/file.c ext/standard/basic_functions.c: Implement user-space funtions to operate on stream contexts. * ext/standard/tests/file/003.phpt: Fix is_file test. * main/streams.c: Remove debug code that should not have been committed. * main/network.c: Remove this; it should not have been commited * main/main.c: revert... * main/main.c main/network.c main/php_streams.h main/streams.c: Implement context option setting API. Add/amend debugging code for sockets. Add a flag that will help the http wrapper optimize itself when it is not being used for include/require. 2002-04-29 Jani Taskinen * pear/pear.m4: MFH: Add the shared extension check. * ext/ming/config.m4: Never add libraries without checking that they exist and can be linked. 2002-04-29 Harald Radi * ext/com/COM.c: MFH * ext/com/COM.c: RETURN_NULL() is defined with braces while RETURN_TRUE and RETURN_FALSE are defined without. seems not very consistent ? 2002-04-29 Stanislav Malyshev * ext/standard/var.c: MFH * ext/standard/var.c: Add comments for the fix * ext/standard/var.c: Fix here too 2002-04-29 Harald Radi * ext/com/COM.c: MFH * ext/com/COM.c: functions returned FALSE in case of error and the oo api returned NULL. make them both behave equal (return NULL, as FALSE can be a valid value). 2002-04-29 Stanislav Malyshev * ext/standard/var.c: MFH serializer fix * ext/standard/var.c: Yet another serialization fix - for incomplete class 2002-04-29 Jani Taskinen * ext/recode/config.m4 ext/recode/recode.c: Make it possible to use recode 3.5 too. (happy now Wez? :) * NEWS: Sync with PHP_4_2_0 branch. 2002-04-29 Markus Fischer * ext/sockets/sockets.c: - Fix WS and CS a bit * ext/sockets/php_sockets.h ext/sockets/sockets.c: - Store last errno in the module global 'last_error' implicitely - Set the global 'last_error' explicitely for functions which can't return an error withing a single socket context (socket_create and socket_select) - Modified socket_last_error() to return global modules last error if no socket resource is given - Added a couple of more E_WARNING messages in case something goes foobar so the user isn't left alone in the dark. 2002-04-29 Mika Tuupola * pear/File/Find.php: * fixed the maxrecursion in mapTreeMultiple() 2002-04-29 Yasuo Ohgaki * NEWS: Added touch fix * ext/standard/filestat.c: MFH touch bag fix * NEWS: MFB * NEWS: Added NEWS entry for PostgreSQL function rename. Removed duplicate entry. 2002-04-29 Stig Bakken * pear/package-pear.xml: * version will be 0.10 * pear/PEAR/Packager.php: * slight cleanup * pear/PEAR/Packager.php: * call the right parent constructor * pear/PEAR/Command/Install.php: * PEAR_Installer constructor now expects only the UI object * pear/PEAR/Command/Remote.php: * PEAR_Common::downloadHttp no longer wants a config object * pear/PEAR/Common.php: * always set $this->config (use PEAR_Config::singleton) * rename setFrontend to setFrontendObject * add validPackageName method * added downloadHttp callback types setup, connfailed and writefailed * no more passing config objects around * pear/PEAR/Installer.php: * use the downloadHttp method w/callback 2002-04-29 Rui Hirokawa * ext/ming/config.m4: shlib suffix was not defind and rint() was not found without -lm. 2002-04-28 Jani Taskinen * build/rules.mk: Fixed bug: #16858 2002-04-28 Sascha Schumann * ext/standard/url_scanner_ex.c: touch file * ext/standard/url_scanner_ex.c: Touch generated file 2002-04-28 Sebastian Bergmann * main/config.w32.h main/internal_functions_win32.c win32/php4dll.dsp win32/php4dllts.dsp: Enable bundled build of ext/ctype and ext/mbstring on Win32. 2002-04-28 Stanislav Malyshev * ext/standard/var_unserializer.c ext/standard/var_unserializer.re ext/standard/var.c: MFH: serializer/unserializer fix * ext/standard/var.c ext/standard/var_unserializer.c ext/standard/var_unserializer.re: Fix couple of nasty serializer bugs: a) When array unserializer encounters less data than it expects (like: a:1:{}) it crashes. I don't understand exactly why it does, but the fact is it does. So now it should catch "}" and bail out. b) When array/object data are serialized, the count is written by hash count. However, it can be that in-loop check fails and less data than expected will then be written into the array. Which, due to a), would crash on unserialize. So now it will write empty entries in place of entries it cannot serialize (the other choice would be make two passes on the data, which I don't like). 2002-04-28 Thies C. Arntzen * ext/standard/url_scanner_ex.c: timestamp * NEWS ext/session/php_session.h ext/session/session.c ext/standard/url_scanner_ex.c ext/standard/url_scanner_ex.h ext/standard/url_scanner_ex.re: revert session_set_userdata - diffent patch will come shortly 2002-04-28 Stig Bakken * pear/package.dtd: * forgot script element in release contents * pear/PEAR/Common.php pear/package.dtd: * package.dtd: version 1.0b7 - added element - added