2002-02-27 Rasmus Lerdorf * php.ini-dist: Drop this default to 12 to avoid some of the .000000000000001 questions. I can't imagine much of a BC issue, and we aren't changing existing php.ini files anyway. If someone can think of a problem with this, please speak up 2002-02-27 Brad House * ext/mcve/CREDITS ext/mcve/Makefile.in ext/mcve/config.m4 ext/mcve/mcve.c ext/mcve/mcve.php ext/mcve/php_mcve.h ext/mcve/tests/001.phpt ext/mcve/tests/mcve_simple_test.php ext/mcve/tests/mcve_test1.php ext/mcve/tests/mcve_test2.php: Initial MCVE extension added (Credit Card Processing) 2002-02-27 Andrei Zmievski * ext/overload/EXPERIMENTAL ext/overload/README: This has been scaring people off. 2002-02-27 Jani Taskinen * NEWS: - Missed this one.. 2002-02-27 Derick Rethans * ext/standard/basic_functions.c: - Fix proto 2002-02-27 Adam Dickmeiss * ext/yaz/php_yaz.c ext/yaz/php_yaz.h: Implemented yaz_schema. Cleanup. 1.8 YAZ required 2002-02-27 Jani Taskinen * configure.in main/php_version.h: Fixed minor typo. 2002-02-27 Derick Rethans * main/php_version.h: - Oops... wishful thinking here :) * main/php_version.h configure.in: - Update version number 2002-02-27 James Cox * NEWS: correcting grammar so it's readable 2002-02-27 Sebastian Bergmann * NEWS: Add 4.1.2 NEWS entries to HEAD. 2002-02-27 Zeev Suraski * main/php_version.h NEWS configure.in: Go with 4.1.2 2002-02-27 Sebastian Bergmann * sapi/servlet/servlet.java: URLEncoder.encode(string) is deprecated in the Java 2 SDK 1.4. 2002-02-26 Andi Gutmans * main/php_main.h main/main.c: - Hopefully fix the shutdown_memory_manager() stuff. Part of my previous - patch seems to have gotten lost 2002-02-26 Derick Rethans * ext/session/session.c: - Bring error message back 2002-02-26 Sebastian Bergmann * main/main.c: TSRM Cleanup. 2002-02-26 Andi Gutmans * main/main.c main/php_main.h: - Pass shutdown_memory_manager the TSRMLS context. 2002-02-26 Rasmus Lerdorf * NEWS: There are no fdf changes in this branch as far as I can see. Not sure where this NEWS item came from. * NEWS: Remove gd NEWS item * ext/gd/config.m4: This line makes no sense to me 2002-02-26 Zeev Suraski * NEWS: Beautify 2002-02-26 Dan Kalowsky * ext/odbc/php_odbc.c: Bug fix 15719 as submited by Joseph Southwell and allows NULL values in ODBC 2002-02-26 Edin Kadribasic * ext/standard/dl.c: Allow use of dl() when CLI is compiled with ZTS (bug #15717). 2002-02-25 Yasuo Ohgaki * ext/pspell/pspell.c: Fix pspell function entry 2002-02-25 jim winstead * sapi/apache/config.m4: make it more clear that --with-apache and --with-apxs only work with apache 1.x. 2002-02-25 Thomas V.V.Cox * pear/DB/ibase.php: Experimental support for handling all the parameters accepted by ibase_connect(). 2002-02-25 Yasuo Ohgaki * NEWS: Add news for mm save handler and multiple SAPI start up problem fix * ext/session/mod_mm.c ext/session/session.c: MFH - Fixed CGI (or other SAPI) start up failure when mm save handler is used 2002-02-24 Rui Hirokawa * pear/DB/pgsql.php: fixed error message handling with PostgreSQL 7.2 2002-02-24 Derick Rethans * ext/standard/var.c: - Fix the fix.. no need to escape " in single quotes * ext/standard/var.c: - Add slashes around string output * win32/install.txt: - Update with XP (Thanx to Jan for the patch) 2002-02-24 Stig Bakken * pear/package.dtd: * fix broken dtd 2002-02-24 Sebastian Bergmann * ext/wddx/wddx.c: Make phpinfo() look nicer. 2002-02-23 Markus Fischer * ext/xslt/sablot.c: - Fix info output (Peter Neuman ). 2002-02-23 Thomas V.V.Cox * pear/package.dtd: DTD corrections (make it require minimal data for installer) 2002-02-23 Stig Bakken * pear/PEAR/Command/Common.php pear/PEAR/Command/Install.php pear/PEAR/Command.php pear/PEAR/CommandResponse.php pear/PEAR/Packager.php: * started implementing new "cross-environment" command API 2002-02-23 Holger Zimmermann * sapi/pi3web/pi3web_sapi.h sapi/pi3web/pi3web_sapi.c: Fixed functionality to read in server variables. 2002-02-23 Rui Hirokawa * pear/DB/MAINTAINERS pear/DB/pgsql.php: updated message format for PostgreSQL 7.2. 2002-02-23 Thomas V.V.Cox * pear/README: Point readers to pear web * pear/TODO: outdated TODO not needed for the moment 2002-02-23 Rui Hirokawa * NEWS: NEWS updated. * ext/mbstring/mbstring.c ext/gd/config.m4 ext/fdf/Makefile.in: - fixed configuration problem as shared extension for fdf. - fixed configuration problem as shared extension for gd with freetype1. - default output encoding of mbstring changed to pass to fix initialization problem. * ext/gd/config.m4: fixed configure error with freetype1. * ext/mbstring/mbstring.c ext/mbstring/php_mbregex.c: fixed a comment and default output encoding changed to pass. * ext/mbstring/mbfilter.c: php.h included. 2002-02-22 Christian Stocker * pear/HTML/ITX.php: E_ALL fix 2002-02-22 Vincent Blavet * pear/PEAR/Installer.php pear/PEAR/Packager.php: * Packager : Changing the order of the files in the package archive file. The package.xml file is now at the 'root' of the archive, the files tree are under a 'packagename'-'packageversion' folder * Installer : installing the knew archive format AND supporting the existing format 2002-02-22 Frank M. Kromann * ext/fbsql/php_fbsql.c: Return true on update success. 2002-02-22 Rasmus Lerdorf * NEWS: Keep track of what has gone into 4.1.2 so far 2002-02-22 Yasuo Ohgaki * ext/session/session.c: Fix crash bug. 4th parameter is not incremental value, but it's assigned. * ext/pspell/pspell.c: Fix crash bug 15607 2002-02-21 Stefan Esser * main/rfc1867.c: fixing boundary check before someone other does it... 2002-02-21 Yasuo Ohgaki * ext/standard/math.c ext/standard/php_math.h ext/standard/basic_functions.c: Added fmod() function 2002-02-21 Mika Tuupola * pear/File/Find.php: * Update PHPDoc. 2002-02-21 Sebastian Bergmann * win32/php4dllts.dsp win32/php4dll.dsp: Add aggregation to Win32 build. 2002-02-21 Andrei Zmievski * ext/standard/basic_functions.h ext/standard/php_standard.h ext/standard/tests/aggregation/.cvsignore ext/standard/tests/aggregation/aggregate.lib.php 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 ext/standard/aggregation.c ext/standard/aggregation.h ext/standard/basic_functions.c ext/standard/Makefile.in NEWS: Adding object aggregation capability along with tests. 2002-02-21 Sean Bright * acinclude.m4: Fix for bug #15605 2002-02-20 Christian Stocker * ext/domxml/php_domxml.c: "o|a|b" is not valid ZE code. changed to "o|ab" 2002-02-20 Vincent Blavet * pear/scripts/pearwin.php: Config variables must be set between "" while using pear.bat windows script * pear/Archive/Tar.php: * Correct bug while using windows dir separator. It is now supported 2002-02-20 Rasmus Lerdorf * ext/standard/crc32.c ext/standard/crc32.h: Split CRC32 table out into a header file so other code can use it 2002-02-20 Derick Rethans * ext/iconv/iconv.c: - Fix for bug #15628 (for real now :) * sapi/nsapi/nsapi-readme.txt: - Reformatting * ext/iconv/iconv.c: - Fix for bug #15638 2002-02-19 David Hedbor * sapi/caudium/caudium.c: Fixed environment hashing again. 2002-02-19 Derick Rethans * genfiles: - Fix removal of #line lines * EXTENSIONS: - Update to note that I'm the mcrypt extension maintainer 2002-02-19 Marc Boeren * EXTENSIONS: changed comment for dbx module 2002-02-19 Dan Kalowsky * EXTENSIONS: 2002-02-18 Martin Jansen * pear/PEAR.php: ='typo' 2002-02-18 Marc Boeren * ext/dbx/dbx.c ext/dbx/dbx_sybasect.h: Oops: source copy&paste should be done with care :) (Mc) * ext/dbx/CREDITS ext/dbx/Makefile.in ext/dbx/dbx.c ext/dbx/dbx.dsp ext/dbx/dbx_sybasect.c ext/dbx/dbx_sybasect.h ext/dbx/tests/002.phpt ext/dbx/tests/005.phpt ext/dbx/tests/006.phpt ext/dbx/tests/dbx_test.p: Added support for Sybase-CT to dbx module (Mc). 2002-02-18 Ludovico Magnocavallo * pear/DB/ibase.php: fixed typo 2002-02-17 Martin Jansen * pear/scripts/pearcmd-info.php: * Fix for bug #15500 2002-02-17 Stig Bakken * pear/package.dtd: * allow in both and * added element * added "data" role for files * allow nested elements 2002-02-17 Alex Waugh * sapi/webjames/webjames.c: Updated to new TSRM macros 2002-02-17 Mika Tuupola * pear/File/Find.php: * added mapTreeMultiple() method. 2002-02-17 Jon Parise * pear/Makefile.in: Image/Remote.php and Mail/mime.php have moved to the pear/ repository. 2002-02-15 Andrei Zmievski * NEWS: Fix. 2002-02-15 Jason Greene * ext/sockets/sockets.c: Fix parse string (Since arg6 is initialized at null this still catches the wrong param condition) 2002-02-15 Dan Kalowsky * ext/odbc/php_odbc.c: fix for bug 15516, patch submitted by torben@php.net 2002-02-15 Derick Rethans * sapi/cgi/cgi_main.c sapi/cli/php_cli.c: - Make the errorcode 255. (Doing docs right away) 2002-02-15 Yasuo Ohgaki * ext/pgsql/config.m4: Fix problem with sesssion_pgsql module 2002-02-15 Sean Bright * ext/xslt/config.m4: Fix cosmetic bug. (#15142) 2002-02-14 Derick Rethans * sapi/cgi/cgi_main.c sapi/cli/php_cli.c sapi/pi3web/pi3web_sapi.c main/main.c: - Let php_execute_script return 0 on failure and 1 on sucess, and change SAPIs accordingly. (Andrei, Derick) 2002-02-14 Adam Daniel * pear/HTML/Page.php: changed html tags to lowercase and added Nils-Fredrik G. Kaland's suggested array support to toHtml 2002-02-14 Edin Kadribasic * sapi/cli/php_cli.c: Turned implicit_flush on. Cleaned up help text. * sapi/cli/README: Added README file for CLI SAPI. 2002-02-14 Derick Rethans * ext/ncurses/ncurses.c: - Remove duplicate constant 2002-02-13 Frank M. Kromann * ext/sockets/sockets.dsp: Fixing release and debug build on Win32 2002-02-13 Vincent Blavet * pear/scripts/pearwin.php: * Synchronize pearwin script with pearcmd-xxx.php commands * Still work to do * pear/scripts/pearcmd-list.php: * user system/user config rather than default value 2002-02-13 Yavor Shahpasov * pear/HTML/Select.php: Initialize $this->_values to avoid warrnings in case _values property is not set * pear/Schedule/At.php: White spaces. 2002-02-13 Yasuo Ohgaki * ext/dbx/dbx_pgsql.c: Fix memory leaks. 2002-02-13 Marc Boeren * ext/dbx/dbx_pgsql.c: Fixed bug where users with empty passwords could not connect. (Mc) 2002-02-13 Vincent Blavet * pear/scripts/pearwin.php: - Adding support for remote-list command (with XML-RPC installed) - Start support of show-config (still work to do ...) 2002-02-13 Andrei Zmievski * NEWS: Ack. 2002-02-13 Stig Bakken * pear/PEAR/Installer.php: * "pear-get install Auth" works now * pear/PEAR/Remote.php: * don't use ext/overload yet * pear/scripts/pearcmd-remote-list.php: * print package name 2002-02-12 Jason Greene * NEWS: Fix entry 2002-02-12 Jan Lehnardt * pear/DB/mysql.php: - added default case for mysql_select_db error handling. It throws a - DB_ERROR (unknown error) in the default case. * pear/DB.php pear/DB/mysql.php: - added support for different error messages for the following cases: - - if a user with unsufficient permissions trys to select a database - PEAR::DB previously threw a "no database selected" error instead - of a more proper "insufficient permissions". This is fixed now. - - if a user selects a nonexistant database PEAR::DB threw a - "no database selected" error instead of "no such database". - This is fixed as well. - - I added two new constants to DB.php and a simple case construct to - DB/mysql.php which can be easily extended to achive the above. I - hope this is ok. - Thanks to Till Gerken for mentioning this. 2002-02-12 Andrei Zmievski * NEWS: Fix-up. 2002-02-12 Sascha Schumann * main/network.c: Irix defines AF_INET6, but lacks IPv6 support, including struct sockaddr_in6. 2002-02-12 Yasuo Ohgaki * ext/pgsql/pgsql.c: Initialize automatic persistent connection reset flag 2002-02-12 Andrei Zmievski * ext/pcre/php_pcre.h ext/pcre/php_pcre.c: Fix a long-standing infelicity that resulted in extra regex information not being passed to PCRE functions. * ext/pcre/php_pcre.h ext/pcre/php_pcre.c: Expose pcre_get_compiled_regex as an API function. 2002-02-11 Mark L. Woodward * ext/msession/msession.c: Added one more tweak for 4.0.x compatibility. Used "#warning" to inform users of a hard dependency. (If #warning is unaccptable, let me know!) 2002-02-11 Sebastian Bergmann * sapi/servlet/README: Fugbix typo. 2002-02-11 Martin Jansen * pear/HTTP.php: * Fix bug #15423. 2002-02-11 Richard Heyes * pear/Mail/mime.php pear/Mail/mimeDecode.php pear/Mail/mimePart.php pear/Mail/xmail.dtd pear/Mail/xmail.xsl: * Removed these files as they're now in /pear/Mail_Mime 2002-02-11 Markus Fischer * ext/ldap/ldap.c: - Fix protos. 2002-02-10 Sean Bright * ext/gmp/gmp.c: '0b' could be the beginning of a hex string (without leading '0x') so if the user specifies base 16, use that instead. * ext/gmp/tests/003.phpt: Add a new test for GMP base recognition. * ext/gmp/gmp.c: Fix for bugs #10133 and #15454. Bug #15454 results from a bug in GMP. If you pass in a string '0xABCD' and specify a base of 0, GMP figures out that it is hex and skips over the 0x characters. If you specify base 16, then it doesn't skip those chars. This was confirmed with the following test program: int main() { char *str_one, *str_two; mpz_t num_one, num_two; mpz_init_set_str (num_one, "0x45", 0); str_one = mpz_get_str(NULL, 10, num_one); mpz_init_set_str (num_two, "0x45", 16); str_two = mpz_get_str(NULL, 10, num_two); printf("%s / %s\n", str_one, str_two); mpz_clear (num_one); mpz_clear (num_two); return 0; } We now take anything that starts with 0[xX] as hexidecimal and anything that starts 0[bB] as binary (this is what GMP does internally). We also no longer force the base to 10 or 16, but instead let GMP decide what the best base is, be it hex, dec, or octal. 2002-02-10 Jason Greene * ext/standard/basic_functions.c ext/standard/php_var.h ext/standard/var.c: Renamed zval_debug_dump() to debug_zval_dump() 2002-02-10 Thomas V.V.Cox * pear/PEAR/Common.php: Now System will return false on fail * pear/tests/pear_system.phpt: test suite for the System class * pear/System.php: - Now error will be triggered with trigger_error(). When a command fails the function will return false - In-line documentation update 2002-02-10 Thies C. Arntzen * ext/oci8/oci8.c ext/oci8/php_oci8.h: only rollback at script end if there is something to rollback. 2002-02-10 Stig Venaas * ext/ftp/ftp.c main/network.c main/php_network.h: Added php_sockaddr_size() in network.c (and the header file). This is used in ftp.c to make sure connect() and bind() is called with size argument which is exactly the size of the relevant sockaddr_xx structure 2002-02-10 Rui Hirokawa * pear/Mail/mime.php: Mail/mime/get has wrong parameter name. 2002-02-10 Sebastian Bergmann * ext/tokenizer/tokenizer.c: TSRM fixes. 2002-02-10 Jason Greene * ext/standard/basic_functions.c ext/standard/php_var.h ext/standard/var.c: internal information such as refcounts, and the true type names (Jason) 2002-02-10 Yasuo Ohgaki * ext/mbstring/mbstring.c: Fix typo 2002-02-09 Andrei Zmievski * ext/tokenizer/php_tokenizer.h ext/tokenizer/tokenizer.c: *** empty log message *** 2002-02-09 Stig Bakken * ext/tokenizer/tokenizer.c: * ZTS fix 2002-02-08 Sebastian Bergmann * ext/tokenizer/.cvsignore ext/tokenizer/tokenizer.dsp win32/php_modules.dsw php.ini-dist php.ini-recommended: Add MSVC workspace for tokenizer extension. Add php_tokenizer.dll entries to php.ini-*. 2002-02-08 Thies C. Arntzen * ext/oci8/oci8.c ext/oci8/php_oci8.h: - got rid of unneded calls to OCIAttrGet when reexecuting the same query - only invalidate the define list after all rows from a REFCORSOR are read, "normal" corsors will now remember their column defines. this means that ocigetcolumn[name|type|..] will from now on work even after the result set has been read. 2002-02-08 Stig Bakken * ext/tokenizer/.cvsignore ext/tokenizer/CREDITS ext/tokenizer/EXPERIMENTAL ext/tokenizer/Makefile.in ext/tokenizer/config.m4 ext/tokenizer/php_tokenizer.h ext/tokenizer/tokenizer.c ext/tokenizer/tokenizer.php: Added Andrei's tokenizer extension 2002-02-08 Mark L. Woodward * ext/msession/msession.c: Backward compatibility to 4.0.6 does not have "HAVE_PHP_SESSION" define Renamed PHP_4_x_API to PHP_4_x 2002-02-07 Sterling Hughes * ext/session/php_session.h ext/session/session.c: move to the ZEND_DECLARE_MODULE_GLOBALS() and ZEND_EXTERN_MODULE_GLOBALS macros 2002-02-07 Martin Jansen * pear/scripts/pearcmd-remote-list.php: * Better error handling. * pear/HTTP.php: * Partially fix bug #15423. 2002-02-07 Yasuo Ohgaki * main/output.c: Legacy code removed. This line incorrectly removes buffer. This line was correct only when ouput.c does not support nested output buffers. Fixed bug #15178 2002-02-07 Thomas V.V.Cox * pear/DB/common.php pear/DB/oci8.php: Moved the array_change_key_case() PHP func definition to common * pear/DB/ibase.php: change column case to lower in compatibility mode * pear/DB/ibase.php: ws 2002-02-06 Frank M. Kromann * ext/fbsql/php_fbsql.c: Convert pLists to output character set before parsing the list * ext/fbsql/php_fbsql.c: Added order by clause in fbsql_list_tables(). Table names will now be sorted. * ext/fbsql/php_fbsql.c ext/fbsql/php_fbsql.h: Adding fbsql_table_name() aliased fbsql_tablename() for compatibility with MySQL 2002-02-06 Derick Rethans * ext/odbc/config.m4: - Fix for bug 15404 2002-02-06 Yasuo Ohgaki * ext/mbstring/mbstring.c: Remove unused line * ext/mbstring/mbstring.c: Fixed crash with mb_output_handler() When mb_output_hanlder is applied muiltiple times, PHP does not output. This should be fixed also. 2002-02-06 Thomas V.V.Cox * pear/System.php: added 'System::type()' (show the full path of a command) Copied almost verbatim from Stig's PEAR_Dependency::checkProgram() 2002-02-06 Yasuo Ohgaki * ext/pgsql/pgsql.c ext/pgsql/php_pgsql.h: Clean up code. Removed PHP_PGSQL_API macro. Define pgsql_globals_id * ext/pgsql/pgsql.c ext/pgsql/php_pgsql.h: Make module specified functions to static. Added TSRMLS_D/C, get rid of one TSRMLS_FETCH. 2002-02-05 Andi Gutmans * ext/wddx/wddx.c ext/standard/array.c: - Add TSRMLS_FETCH()'s needed for the new object overloading in ZE2. 2002-02-05 Mark L. Woodward * ext/msession/msession.c: Sorry guys, PHP 4.0.6's ZEND_MODULE_API_NO is whacked, it has an extra zero, thus ZEND_MODULE_API_NO >= xxxx, will not work for about 18000 years. Added better checking, and cleaned up some of the #ifdef you seem to love so much. 2002-02-05 Hartmut Holzgraefe * ext/msession/msession.c: removed the new-style parameter parser code for bc *and* readability reasons, changed the remaining #ifdefs to check the api version directly instead of using the not really related OLD_ZEND_PARAM macro 2002-02-05 David Eriksson * ext/satellite/.cvsignore ext/satellite/Makefile.in ext/satellite/README ext/satellite/class.c ext/satellite/class.h ext/satellite/common.c ext/satellite/common.h ext/satellite/config.m4 ext/satellite/corba.c ext/satellite/corba.h ext/satellite/enum.c ext/satellite/enum.h ext/satellite/findtype.c ext/satellite/findtype.h ext/satellite/hashtable.c ext/satellite/hashtable.h ext/satellite/multiple_components.patch ext/satellite/namedvalue_to_zval.c ext/satellite/namedvalue_to_zval.h ext/satellite/object.c ext/satellite/object.h ext/satellite/php_orbit.c ext/satellite/php_orbit.h ext/satellite/struct.c ext/satellite/struct.h ext/satellite/typecode.c ext/satellite/typecode.h ext/satellite/typemanager.c ext/satellite/typemanager.h ext/satellite/zval_to_namedvalue.c ext/satellite/zval_to_namedvalue.h: - Removed Satellite. It is now part of PEAR. 2002-02-05 Yasuo Ohgaki * main/output.c: pval -> zval Check number of parameters * main/main.c php.ini-dist: register_globals=off is defualt for 4.2.0 2002-02-05 Jani Taskinen * ext/session/session.c: Let's be consistent and use zval instead of pval * ext/session/php_session.h ext/session/session.c: Export php_session_start(). * configure.in: The extensions build as shared were installed into wrong place even as the layout was PHP. 2002-02-04 Jaroslaw Kolakowski * ext/domxml/php_domxml.c: Fixed compile error 2002-02-04 Mark L. Woodward * ext/msession/msession.c: More 4.0.6 compatibility. * ext/msession/msession.c: Restored backward compatibility to PHP 4.0.6 2002-02-04 Thomas V.V.Cox * pear/DB/TESTERS: Added How To Run Tests 2002-02-04 Yasuo Ohgaki * ext/crack/crack.c ext/mailparse/mailparse.c: Fix ZTS startup crash 2002-02-04 Thies C. Arntzen * ext/oracle/config.m4: add oracle 9 detection for oracle-module 2002-02-04 Yasuo Ohgaki * ext/mbstring/mbstring.c: Remove TSRMLS_FETCH() does not need * ext/msession/msession.c ext/domxml/php_domxml.c: Fix ZTS build 2002-02-03 jim winstead * makedist: don't include old changelogs in distribution, either 2002-02-03 Adam Dickmeiss * Makefile.in configure.in: Zend config sets ZEND_EXTRA_LIBS. Bugs 14452, 14602, 14616, 14824 2002-02-03 Martin Jansen * pear/DB/ibase.php: * nextID() and tableInfo() support by Lutz Brueckner . 2002-02-03 Yasuo Ohgaki * ext/session/mod_files.c ext/session/session.c: Revert last commit. Last patch has problem for the 1st request. * ext/session/mod_files.c ext/session/session.c: Fixed crash when save_path is invalid. Fixed crash when user save handler is incorrectly used. Fixed crash when session read failed. * ext/iconv/tests/001.phpt ext/iconv/tests/002.inc ext/iconv/tests/002.phpt ext/iconv/tests/skipif.inc: Added UCS4 test * sapi/roxen/roxen.c: MFH 2002-02-02 Shane Caraveo * sapi/isapi/stresstest/getopt.c sapi/isapi/stresstest/getopt.h: now needs getopt * sapi/isapi/stresstest/stresstest.cpp sapi/isapi/stresstest/stresstest.dsp: an update to stresstest 2002-02-02 Sebastian Bergmann * sapi/cgi/cgi_main.c sapi/fastcgi/fastcgi.c sapi/pi3web/pi3web_sapi.c sapi/servlet/servlet.c: Remove obsolete CG(extended_info) = 0 calls, we already do this in zend_set_default_compile_time_values(). * ext/calendar/french.c ext/calendar/julian.c: Consistency. * ext/calendar/gregor.c ext/calendar/jewish.c: Fix a warning. 2002-02-02 Jon Parise * configure.in: Revert revision 1.294. This commit broke things in interesting ways under FreeBSD. By adding these default header files to every header check, a number of subsequent checks failed (due to unsatisfied header file dependencies). This occured because , for example, requires . In other words, these default includes are not autonomous and don't make workable defaults. 2002-02-02 Sebastian Bergmann * main/fopen_wrappers.c: Fix thread-safe build. 2002-02-02 Stig Bakken * pear/DB/odbc.php: * use seqname_format option * pear/DB/common.php pear/DB/fbsql.php pear/DB/mssql.php pear/DB/mysql.php pear/DB/oci8.php pear/DB/odbc.php pear/DB/pgsql.php: * the actual name of the sequences or sequence emulation tables may now be configured with the "seqname_format" option * pear/package.dtd: * add some missing attributes 2002-02-01 Andrei Zmievski * ext/standard/array.c: Converted extract() to use smart_str for variable name manipulation. This sped it up a bit. 2002-02-01 James E. Flemer * main/fopen_wrappers.c main/fopen_wrappers.h: Changed php.ini directive 'safe_mode_include_dir' to accept a (semi)colon separated path, rather than a single directory. Also moved checking of said path into a separate path for code readability. 2002-02-01 Andrei Zmievski * NEWS: Added is_a() function. 2002-02-01 Adam Dickmeiss * ext/yaz/php_yaz.c: Fixes in MARC decoder (base adress, DANmarc case). 2002-02-01 Thomas V.V.Cox * pear/DB.php: Fix remote security risk, pointed out by Wolfram Kriesing * pear/DB/tests/db_parsedsn.phpt pear/DB.php: Added support for passing special backend params in DSN. Ex: ibase://user:pass@localhost/db?role=foo&dialect=bar 2002-02-01 Thies C. Arntzen * ext/readline/readline.c: remove some crap 2002-02-01 James Cox * php.gif php4.gif php4.spec.in: 2 years is ages.... and no way temporary. changed the php4 logo to a versionless one. 2002-02-01 Derick Rethans * ext/gd/gd.c: - Fix for bug 14899 (patch by Sander Roobol ) 2002-02-01 Yasuo Ohgaki * ext/iconv/iconv.c: Fixed bug with encodings that has 0 byte in strings. Patch by Fixed possible problem with encodings that a char can be larger than 4 bytes. 2002-01-31 James Cox * LICENSE: updating license to 2002 (hasn't been done since 2000) 2002-01-31 Boian Bonev * ext/vpopmail/php_vpopmail.c: fix comment 2002-01-31 Martin Jansen * pear/HTTP.php: * Fix bug #15313 2002-01-31 Bertrand Mansion * pear/HTML/Table.php: Thanks to Arnaud Limbourg: - phpDoc and cosmetic fixes 2002-01-31 Derick Rethans * ext/standard/dl.c: - Fix for bug 15311 (type mismatch of php_dl when #ifndef HAVE_LIBDL) 2002-01-31 Yasuo Ohgaki * sapi/roxen/roxen.c: A fix for the bug number 13231 & 11699. Makes the roxen support compile. Patch by Lars Wilhelmsen 2002-01-31 Derick Rethans * ext/openssl/openssl.c: - Fix for openssl_pkcs7_sign segfaults (patch by Christian Stocker ) 2002-01-31 Stig Bakken * pear/scripts/pearize.in: * lowercase tags and attributes * pear/Makefile.in: * remove broken rule for rebuilding Makefile 2002-01-31 Edin Kadribasic * main/main.c: Ignore register_globals for $argc and $argv under CLI SAPI. 2002-01-30 Edin Kadribasic * acinclude.m4 configure.in sapi/cli/Makefile.in: Enable extensions to specify that they are not supposed to be built with the CLI SAPI. This is done by passing "nocli" as the 3rd parameter to PHP_EXTENSION macro. 2002-01-30 Dan Kalowsky * ext/odbc/php_odbc.c: Fix for bug #14803 2002-01-30 Sebastian Bergmann * sapi/servlet/README: Fugbix typo. Update path to /lib/optional. 2002-01-30 Stig Bakken * pear/Makefile.in: * don't make command libs executable * pear/scripts/pear-get.in pear/scripts/pear.in pear/scripts/pearcmd-common.php pear/scripts/pearcmd-help.php pear/scripts/pearcmd-info.php pear/scripts/pearcmd-install.php pear/scripts/pearcmd-list.php pear/scripts/pearcmd-package.php pear/scripts/pearcmd-remote-list.php pear/scripts/pearcmd-show-config.php pear/scripts/pearcmd-uninstall.php pear/Makefile.in: * modularize "pear" and "pear-get" commands somewhat. checking options etc. is done for both in pearcmd-common.php. * pear/PEAR/Common.php: * silence warning * pear/HTML/Form.php: * XHTML fixes by Hans Westerbeek * pear/package.dtd: * bring DTD up to date 2002-01-30 Thies C. Arntzen * ext/oci8/oci8.c: enable "user-interrupts" 2002-01-29 Chuck Hagenbuch * pear/DB/mysql.php: Fix errors caused by not checking for variables before using them. 2002-01-29 Sebastian Bergmann * win32/php_modules.dsw: Overload is built-in. 2002-01-29 Stig Bakken * pear/DB/oci8.php: typo :) 2002-01-28 Stig Bakken * pear/Net/Socket.php: * doc comments, add setTimeout() and getStatus(), thanks to Mads Mohr Christensen 2002-01-28 Sterling Hughes * EXTENSIONS: Commit for mr. torben: Add XSLT to extensions file, mark sablot obsolete 2002-01-28 Jon Parise * ext/standard/math.c: These are now defined in zend_config.w32.h. 2002-01-28 Thomas V.V.Cox * pear/DB/dbase.php: PEAR dbase driver. Supports, connect, fetch modes, row limit, numrows and numcols. 2002-01-28 jim winstead * ext/interbase/Makefile.in: testing checkin 2002-01-27 Jon Parise * ext/standard/math.c: zend_isinf() is already defined in Zend/zend_config.w32.h for Win32. 2002-01-27 Sterling Hughes * ext/bz2/bz2.c: fix proto's for Herr. Holzraefe. int -> resource 2002-01-27 Chuck Hagenbuch * pear/Net/SMTP.php: command spacing 2002-01-27 fabrice aeschbacher * ext/interbase/php_interbase.h ext/interbase/interbase.c: add ibase_add_user(), ibase_modify_user(), ibase_delete_use() 2002-01-27 Jon Parise * ext/standard/math.c: Use the zend_* versions of finite(), isinf(), and isnan(), as defined in php_config.h. Redefine the zend_* versions in the case of Win32. This fixes the build on systems that don't provide a native version of, say, isinf() (e.g. Solaris). * sapi/cgi/getopt.c sapi/cli/getopt.c ext/xml/xml.c: Add a note that this statement will never be reached. * ext/standard/mail.c: Add a comment indicating that this return statement will never be reached. * ext/sockets/sockets.c: Use socklen_t (instead of int) where appropriate. * ext/sockets/sockets.c: Because php_network.h includes , it must be included after _XPG4_2 is defined. This fixes the build under Solaris 8. 2002-01-27 Sterling Hughes * ext/standard/pack.c: don't throw fatal errors, throw E_WARNING instead. * ext/curl/curl.c: hopefully fix --with-openssl issues * ext/bz2/bz2.c: Source code cleanup * ext/bz2/bz2.c: Update code to last working version to avoid recent breaks. 2002-01-27 Marko Karppinen * acinclude.m4: Enable developers to use PHP_ARG_ENABLE and PHP_ARG_WITH silently to maintain legacy configure options without clutter in the configure help and checking output. 2002-01-26 Marko Karppinen * configure.in: - Reorganized stuff in configure.in and added a few comments - Added a check for ApplicationServices/ApplicationServices.h (Mac OS X) - Added AC_PROG_CPP, AC_PROG_CXX and AC_PROG_CXXCPP - Improved the IPv6 check to fail on Mac OS X (there's no IPv6 there yet) 2002-01-26 Vincent Blavet * pear/PEAR/Packager.php: * Remove the use of a temp dir * Tar archive is now doing the same work with less overhead 2002-01-25 Marko Karppinen * configure.in: Improve detection of resolv.h on versions of Darwin, FreeBSD and Solaris (this requires post-2.13 autoconf, but 2.13 ignores it gracefully) * configure.in: Relying only on host_alias is wrong 2002-01-25 Yasuo Ohgaki * ext/session/mod_mm.c: We need mm file for each user. 2002-01-25 Derick Rethans * ext/xmlrpc/config.m4: - Fix for bug #15227: Compiling the CGI binary with xmlrpc fails to build/link expat * ext/standard/basic_functions.c: - Fixed highlight_* (make it more robust) 2002-01-25 Hartmut Holzgraefe * ext/ctype/EXPERIMENTAL: no longer experimental 2002-01-25 Derick Rethans * ext/standard/basic_functions.c: - Added optional parameter to highlight_string and highlight_file which makes these functions return a highlighted string instead of dumping to standard output. (Derick) - Added optional parameter to highlight_string and highlight_file which makes these functions return a highlighted string instead of dumping to standard output. 2002-01-25 Rasmus Lerdorf * ext/standard/array.c: (extraxt) add EXTR_IF_EXISTS and EXTR_PREFIX_IF_EXISTS flags 2002-01-25 Derick Rethans * ext/domxml/php_domxml.c: - Fix for bug #14934: type property not set in comment nodes (domxml) 2002-01-25 Yasuo Ohgaki * ext/session/mod_mm.c: Add sapi postfix for mm save path. cli/cgi would not complain about mm save handler with this. 2002-01-25 Doug MacEachern * sapi/apache2filter/sapi_apache2.c: adjust to ap_get_brigade() API change 2002-01-25 Yasuo Ohgaki * php.ini-recommended php.ini-dist: Added "pgsql.auto_reset_persistent" ini entry to catch broken connection always with pg_pconnect(). (Default Off in source and php.ini-*) This option requires a little overhead for pg_pconnect(). * ext/pgsql/pgsql.c ext/pgsql/php_pgsql.h: Added "auto_reset_presistent" ini entry. 2002-01-24 Marko Karppinen * build/buildcheck.sh: Latest libtools output a multiline version info. Deal with that * ext/standard/parsedate.y: Ignore ordinal suffixes on numbers (bug #15210) 2002-01-24 Edin Kadribasic * sapi/cli/config.m4: Added --disable-cli option. * NEWS: Made entry more consistent. 2002-01-24 Sascha Schumann * configure.in: fix typo, found by edin 2002-01-24 Andrei Zmievski * ext/wddx/wddx.c: Revert back to using element for newlines. 2002-01-24 Thomas V.V.Cox * pear/CODING_STANDARDS: correct url 2002-01-24 Marko Karppinen * acinclude.m4: Added a case for Darwin / Mac OS X to PHP_SHLIB_SUFFIX_NAME * php.ini-dist php.ini-recommended: Corrected a confusing comment (see bug #14972) 2002-01-24 Sascha Schumann * Makefile.in acinclude.m4 configure.in ext/ircg/config.m4: Don't build CLI, if an extension requests that. In this case, the ircg extension refers to thttpd-specific symbols which causes the build of the cli sapi module to fail. 2002-01-24 Yasuo Ohgaki * NEWS: Change NEWS entry according to pgsql source change. * ext/pgsql/pgsql.c: Revert last 2 commit. Instead, make php_pgsql_do_connect() to catch broken connection always. 2002-01-24 Vincent Blavet * pear/scripts/pearwin.php pear/PEAR/Installer.php: * Call the PEAR_Registry constructor with the optional parameter * pear/PEAR/Registry.php: * Adding the ability to set the PEAR_INSTALL_DIR while creating the Registry object (in the same way as Installer.php) * pear/Archive/Tar.php: * Adding support of extraction of remote archive http://www/archive.tgz * Correct bug while using Windows root path c:\xxx\yyy in extract fct 2002-01-24 Yasuo Ohgaki * NEWS: Added pgsql connection reset feature. Add my name to --enable-safe-mode fix. * ext/pgsql/pgsql.c: Add a little more fault tolerance for pg_host, pg_tty and more. * ext/pgsql/pgsql.c: No more httpd restart is required when PostgreSQL is rebooted. 2002-01-24 James Cox * INSTALL: updated INSTALL to be more relevant.. more fixes coming (at some point) 2002-01-23 Vincent Blavet * pear/scripts/pearwin.php: * Add uninstall command * Add list-installed command 2002-01-23 Thomas V.V.Cox * pear/System.php: Return false when the directory can not be created in mkDir() * pear/DB/tests/driver/.cvsignore: cvsignore 2002-01-23 Frank M. Kromann * ext/fbsql/php_fbsql.c: Fixing spelling error in FrontBase section Changed som int to unsigned int to remove compiler warnings * php.ini-dist php.ini-recommended: Fixing spelling error in FrontBase section 2002-01-23 Sebastian Bergmann * win32/php4ts.dsw win32/php4ts_cli.dsp: Add workspace to build CLI SAPI Module on Win32. * sapi/cli/php_cli.c: Give Edin Kadribasic his due credits. 2002-01-23 Edin Kadribasic * sapi/cli/php_cli.c: No need to dupe this string in cli sapi (Bug #15181). 2002-01-23 Yasuo Ohgaki * EXTENSIONS: Added comment for pgsql module. 2002-01-23 Hartmut Holzgraefe * EXTENSIONS: claiming maintainance ownership of ext/calendar * apidoc-zend.txt: added info about FETCH macros (written over a year ago but somehow never commited) 2002-01-22 Jaroslaw Kolakowski * ext/domxml/php_domxml.c: Simplified domxml_substitute_entities_default() function 2002-01-22 Sterling Hughes * ext/curl/curl.c: just init CURL_GLOBAL_SSL 2002-01-22 Thomas V.V.Cox * pear/DB/ibase.php: - Fix a problem with the cast to array from ibase_fetch_object (reported by Ludovico Magnocavallo ) - Removed old, unsupported, unused DB_ibase->fetchRow() (remember that fetchRow is a method from DB_result not DB_driver) 2002-01-22 Jan Lehnardt * pear/File/Find.php: - whitespace fix * pear/File/Find.php: - initialize $matches to avoid error message on unset variable if no matches are found. 2002-01-22 Christian Stocker * ext/domxml/php_domxml.c: Getting rid of some compile warnings (thanks to markus for pointing me in the right direction :) ) 2002-01-22 Sean Bright * ext/standard/string.c: Fix for bug #15130. Way too much effort for this bug, but cleaned up code a bit, use zend_parse_parameters(), etc, etc. We only look for extensions in the basename, not the full path. 2002-01-21 Jaroslaw Kolakowski * ext/domxml/php_domxml.h ext/domxml/php_domxml.c: Added domxml_substitute_entities_default() function 2002-01-21 Chris Jarecki * ext/domxml/php_domxml.c: - fixed bug caused by libxml2 in xpath_register_ns() - registered namespaces are now persistent 2002-01-21 Jon Parise * pear/Archive/Tar.php pear/Makefile.in: Adding Archive/Tar.php to php4/pear/. This is needed in order for the phptar script (php4/pear/scripts/phptar) to be useful, so it makes sense to make Archive/Tar.php a standard component. 2002-01-21 Martin Jansen * pear/HTML/IT.php: * Add possibility to load external files in template. (Patch by Christian Dickmann .) 2002-01-21 Hartmut Holzgraefe * acinclude.m4: removed check macros no longer needed due to CLI work (plus reverting last commit, was in wrong dir :( ) * acinclude.m4: removed check macros no longer needed due to CLI work 2002-01-21 Dan Kalowsky * ext/odbc/php_odbc.c: this closes off a number of ODBC bugs. 2002-01-21 Derick Rethans * main/network.c: - Fix for bug #15057: getimagesize() crashes when offline (on MacOSX) 2002-01-21 Yasuo Ohgaki * ext/pgsql/pgsql.c: Fixed typo and proto 2002-01-20 Edin Kadribasic * sapi/cgi/cgi_main.c: Fixed bug #9041 and others in the same class (patch by pete.lee@ubs.com) 2002-01-20 Markus Fischer * ext/standard/datetime.c: - Fix crash with invalid localtime on Win32 systems. 2002-01-20 Doug MacEachern * sapi/apache2filter/sapi_apache2.c: adjust to ap_get_brigade and input filter api changes 2002-01-20 Sebastian Bergmann * pear/Cache.php pear/Cache.xml pear/Makefile.in: Move Cache to /pear. * pear/Makefile.in: Move Payment_Verisign to /pear. * pear/Makefile.in pear/Log.php: Move Benchmark, Math, Numbers to /pear. Remove Log, it was already in /pear. 2002-01-20 Hartmut Holzgraefe * ext/fbsql/php_fbsql.c: cut&paste errors in protos fixed * ext/domxml/php_domxml.c: proto fix 2002-01-20 Sebastian Bergmann * TODO: Fixed by Sean Bright's commit. 2002-01-20 Sean Bright * ext/db/db.c: Forgot to remove the return from a void function * ext/db/db.c ext/db/php_db.h: These PHP3_* macros aren't defined in the code, so these haven't been doing anything for some time now (at least since 4.0 was released). So let's go ahead and remove those. 2002-01-20 Edin Kadribasic * TODO-4.2.txt: Removed entry implemented in cli sapi. * main/.cvsignore main/Makefile.in sapi/cli/Makefile.in acinclude.m4 configure.in ext/ncurses/config.m4 ext/pcntl/config.m4 ext/readline/config.m4: Modified the build system to make certain extensions (pcntl, ncurses, pcntl) only with cgi/cli sapi's. This was done by adding 3rd optional parameter to PHP_EXTENSION macro which should be set to "cli" if the extension only makes sense for that class of api's. * ext/readline/.cvsignore: Added missing entry to .cvsignore 2002-01-20 Yasuo Ohgaki * header: Get rid of needless spaces * README.CVS-RULES: Revert my last commit 2002-01-19 Edin Kadribasic * TODO: Removed two issues resolved by the introduction of sapi/cli. * sapi/cli/php_cli.c: Merged patch from sapi/cgi. 2002-01-19 Jaroslaw Kolakowski * ext/domxml/php_domxml.c: - Fixed passing parameters to domxml_xslt_process(). Now they can be either strings or XPath expressions. - Several minor fixes in domxml_xslt_process(). 2002-01-19 Martin Jansen * pear/Crypt/HCEMD5.php: * Fix bug #13189. 2002-01-19 Wez Furlong * ext/mailparse/rfc2045cdecode.c: Make the decoder less strict to allow for brain-dead mailers that mark messages as 7bit but then include 8bit chars in the body. Thanks to Dan Fitzpatrick for bringing this to my attention. 2002-01-19 Thomas V.V.Cox * pear/DB/common.php pear/DB.php: Stores limit_from and limit_count as DB_result proporties instead of DB_common. Fixs bug when doing queries inside limitQuery results. * pear/DB/common.php: ws * pear/DB/oci8.php: Removed unecesary check and only change the case of the keys when data is returned (fetchInto()) 2002-01-19 Yasuo Ohgaki * main/main.c: Make --enable-safe-mode useful 2002-01-18 Shane Caraveo * sapi/cgi/cgi_main.c: reimplement extension listing 2002-01-18 Thomas V.V.Cox * pear/DB/tests/driver/02fetch.phpt pear/DB/tests/driver/03simplequery.phpt pear/DB/tests/driver/04numcols.phpt pear/DB/tests/driver/06prepexec.phpt pear/DB/tests/driver/08affectedrows.phpt pear/DB/tests/driver/15quote.phpt: removed unneeded require_once "DB.php"; * pear/DB/odbc.php: - Fix fetch row by number (ODBC starts at 1) - New "navision" syntax (this driver doesn't support fetchs by number, so emulate row limit by skipping rows) 2002-01-18 Markus Fischer * ext/domxml/php_domxml.c: - More WS fixes 2002-01-18 Christian Stocker * ext/domxml/php_domxml.c: shite :) too much WS fixes. leave the licence as it was... * ext/domxml/php_domxml.c: - WS fixes (replaced " " by \t) 2002-01-18 Thomas V.V.Cox * pear/DB/STATUS pear/DB/odbc.php: added affectedRows() and test in numRows() if the backend is capable of not to return this info 2002-01-18 Christian Stocker * ext/domxml/php_domxml.c: - added optional parameters format and level for domxml_dump_node() * ext/domxml/php_domxml.c ext/domxml/php_domxml.h: - added macro DOMXML_PARAM_ONE - added function domxml_dump_node($doc,$node). Dumps a node plus all children into a string. (chregu) * ext/domxml/php_domxml.h ext/domxml/php_domxml.c: - Added function domxml_node_get_content() (chregu) * ext/domxml/config.m4 ext/domxml/php_domxml.c ext/domxml/php_domxml.h: - added DOMXML_PARAM_THREE macro - renamed domxml_dumpmem to domxml_dump_mem, added alias for domxml_dumpmem - domxml_has_attributes was missing in in zend_function_entry - added function domxml_dump_file($filename,[$compression]). Dumps XML to a file and uses compression, if specified (chregu) - added exslt integration (see http://exslt.org for details). To be configured with --with-dom-exslt[=DIR] (and --with-dom-xslt) (chregu, jaroslaw) 2002-01-18 Yasuo Ohgaki * README.CVS-RULES: Fix typo 2002-01-17 Adam Dickmeiss * ext/yaz/php_yaz.c ext/yaz/php_yaz.h: New function yaz_es_result: Z395.0 Extended Services Result. 2002-01-17 Ilia Alshanetsky * ext/shmop/shmop.c: Fixed shmop_read to append \0 to returned string in shmop_read to eliminate Zend warnings 2002-01-17 Thies C. Arntzen * ext/session/session.c: guys, shoot me if i'm wrong, but when we have set register_globals to off we should _not_ touch any global variables at any time, right? so all session register/unregister should only work on $HTTP_SESSION_VARS and $_SESSION. this patch fixes at least one spot where we were touching globals even with register_globals set to off. * ext/oci8/oci8.c: - Added 3 new optional parameters to OCIFetchStatement(). They control the number of rows to skip at the beginning of the cursor, the maximun numer of rows that should be fetched and the format of the returned array. 2002-01-17 Sterling Hughes * NEWS: Fix attribution, its Petr's patch, not mine :) * NEWS: Little cleanup, add information about Sablotron 0.8 * ext/xslt/config.m4: Update for Sablotron .8 2002-01-17 Thomas V.V.Cox * pear/DB/pgsql.php: Test for results in _pgFieldFlags (thanks Brian Abent ) 2002-01-17 Yasuo Ohgaki * ext/domxml/config.m4: Use libxml2 header if there are older version. Reported by 2002-01-17 Jaroslaw Kolakowski * ext/domxml/php_domxml.c ext/domxml/php_domxml.h: Added XsltStylesheet class with methods: - domxml_xslt_stylesheet(string), - domxml_xslt_stylesheet_doc(DomDocument), - domxml_xslt_stylesheet_file(filename), - process(DomDocument,parameters array) - previously domxml_xslt_process(). 2002-01-16 Yasuo Ohgaki * ext/session/session.c: Export php_session_register_module/serializer 2002-01-16 Rasmus Lerdorf * ext/snmp/config.m4: Fix typo 2002-01-16 Marc Boeren * ext/dbx/dbx_mysql.c: mysql_db_query is deprecated, fixed by using mysql_select_db and mysql_query (Mc). 2002-01-16 Bertrand Mansion * pear/HTML/Table.php: Changes by ReneÌ Jensen : - Remove duplicate test - Nicer html output for nested table level comment. 2002-01-16 Yasuo Ohgaki * ext/session/php_session.h: Export php_session_register_module/serializer. 2002-01-16 Thomas V.V.Cox * pear/DB/tests/driver/15quote.phpt: add quote data test 2002-01-15 Andrei Zmievski * ext/pcre/php_pcre.c NEWS: - Fixed a bug with matching string containing null bytes. 2002-01-14 Chris Jarecki * ext/domxml/php_domxml.c: - using macro in xpath_register_ns() - fixed protos in xpath functions 2002-01-14 Martin Jansen * pear/Date/Calc.php: * Fix for bug #15032. 2002-01-14 Stefan Esser * main/SAPI.c: MFH: fix for bug #14776 * main/SAPI.c: fix for bug #14776 2002-01-14 Rui Hirokawa * ext/mbstring/mbregex.c: fixed an error in mbstring caused by confliction with regex. 2002-01-13 Edin Kadribasic * acinclude.m4 sapi/cli/Makefile.in: Fixed build in the directory other than $top_srcdir. 2002-01-13 Thomas V.V.Cox * pear/DB/ibase.php: Added modifyLimitQuery(). Only avaible for the Firebird syntax (ibase(firebird)://user:pass@host/db) (contributed by Ludovico Magnocavallo ) * pear/DB/tests/db_parsedsn.phpt: Two tests more * pear/DB/mysql.php: Added support for socket and port options in connect() * pear/DB/pgsql.php: better DSN handling * pear/DB/tests/db_parsedsn.phpt: Test update * pear/DB.php: New DSN "protcocol(protocol_opts)" format support: phptype://user:pass@protocol(proto_opts)/database ex: pgsql://user@unix()/pear mysql://user@unix(/path/to/socket)/pear pgsql://user:pass@word@tcp(somehost:7777)/pear 2002-01-13 Rasmus Lerdorf * NEWS: 4.1.1 NEWS entry block was missing from the HEAD tree 2002-01-13 Rui Hirokawa * ext/gd/config.m4: fixed some link error of gd's configure. 2002-01-13 Edin Kadribasic * sapi/cli/Makefile.in Makefile.in: This should fix cli build when running 'make install' directly. 2002-01-13 Chris Jarecki * ext/domxml/php_domxml.c ext/domxml/php_domxml.h: - Added xpath_register_ns() function. 2002-01-12 Edin Kadribasic * sapi/cli/Makefile.in: Fixed CLI build when the main SAPI is built as a shered library. * Makefile.in acinclude.m4 configure.in sapi/cli/.cvsignore sapi/cli/Makefile.in sapi/cli/config.m4: Modified the build system to always build CLI SAPI. 2002-01-12 Gavin Sherry * ext/dba/dba_db2.c: My bad. Left some stray debugging code in previous commit. * ext/dba/dba_db2.c: See the update to dba_db3.c * ext/dba/dba_db3.c: This fixes the notorious "mode 'c' fails" bug (see bugs - 10380, 10798, 11732). The bug originates from the fact that mode "c" for db3 sets 'type' to DB_UNKNOWN and mode DB_CREATE when the database already exists. The underlying library raises an error at this logical discrepancy: obviously one cannot create a database of unknown type. 2002-01-12 Vlad Krupin * ext/imap/php_imap.c: Fixed segfault in imap_bodystruct() when called with an invalid message number. Now it fails with a warning instead. 2002-01-11 Jaroslaw Kolakowski * ext/domxml/php_domxml.c ext/domxml/php_domxml.h: Added domxml_node_replace_node() function. 2002-01-11 Rui Hirokawa * ext/mbstring/Makefile.in ext/mbstring/config.m4 ext/mbstring/mbregex.c ext/mbstring/mbregex.h ext/mbstring/mbstring.c ext/mbstring/mbstring.h ext/mbstring/php_mbregex.c: Added multi-byte enabled regex functions. 2002-01-11 Markus Fischer * ext/standard/file.c: - mkdir(): made second (mode) parameter optional, default to 0777 switched to zend_parse_parameters(). 2002-01-11 Thomas V.V.Cox * pear/HTTP.php: - Added HTTP::head($url) which sends a "HEAD" HTTP command to a server and returns the headers as an associative array - Call-time pass-by-reference fixes * pear/tests/pear1.phpt: submit a test that will fail due to php bug #14744 2002-01-10 Frank M. Kromann * ext/fbsql/php_fbsql.c ext/fbsql/php_fbsql.h: Adding functions to get BLOB/CLOB size from a lob_handle. Added descriptions on most protos 2002-01-10 Andrei Zmievski * NEWS ext/standard/array.c: Fix the recursive counting, it was broken for associative or non-sequential arrays. Also update NEWS file. 2002-01-10 Derick Rethans * main/main.c: - Make an E_NOTICE error type show 'Notice' instead of 'Warning'. 2002-01-10 Yasuo Ohgaki * ext/session/mod_mm.c: Fix startup crash 2002-01-10 Markus Fischer * ext/dio/dio.c: - Unified error messages. - Improved argument handling in dio_fcntl(). 2002-01-10 Yasuo Ohgaki * ext/session/mod_mm.c: Revert last commit 2002-01-10 Sascha Schumann * ext/session/mod_mm.c: Improved code for handling PS(save_path) Don't MFH before further testing * ext/session/mod_mm.c: Ws fix * ext/standard/filestat.c: (PHP touch) Operate on a stack buffer.. no need for allocating newtime on the heap. * ext/standard/filestat.c: Add three-parameter touch() which enables users to set mtime/atime to different values. 2002-01-10 Yasuo Ohgaki * ext/pgsql/tests/dropdb.inc: Fix bug in test script * ext/session/mod_mm.c: MFH * ext/session/mod_mm.c: Make use of save_path for mm file. Patch by Henning Schmiedehausen Closes bug 14808 2002-01-10 Sascha Schumann * ext/session/tests/003.phpt ext/session/tests/004.phpt ext/session/tests/005.phpt ext/session/tests/006.phpt: Make these tests succeed with non-standard settings 2002-01-10 Markus Fischer * ext/domxml/php_domxml.h: - Fix compilation. (Christian Stocker) 2002-01-10 Yasuo Ohgaki * header: Year update * EXTENSIONS: shmop got a new maintainer 2002-01-09 jim winstead * ext/standard/tests/math/pow.phpt NEWS ext/standard/basic_functions.c ext/standard/math.c ext/standard/php_math.h: Rename finite/isinf/isnan to more standard is_*() names. * ext/standard/type.h ext/standard/php_type.h ext/standard/type.c ext/standard/basic_functions.h ext/standard/php_standard.h ext/standard/basic_functions.c main/rfc1867.c: Move type-handling functions into ext/standard/type.c (which had a few otherwise unused functions in it). 2002-01-09 Martin Jansen * pear/XML/Parser.php: * Whitespace. 2002-01-09 Markus Fischer * ext/sockets/sockets.c: - Correct some protos. 2002-01-09 Derick Rethans * ext/standard/tests/array/count_recursive.phpt ext/standard/array.c: - Fix bug introduced in earlier patch 2002-01-09 Yasuo Ohgaki * ext/shmop/README ext/shmop/php_shmop.h ext/shmop/shmop.c: MFH. Bugs 10530,10656,14784 2002-01-09 Uwe Steinmann * ext/pgsql/pgsql.c: - fixed typo in deprecated functionname 2002-01-09 Yasuo Ohgaki * ext/shmop/README ext/shmop/config.m4 ext/shmop/php_shmop.h ext/shmop/shmop.c: - shmop_open has a new flag for read/write access, 'w' - eliminated a segfault when trying to write to a SHM_RDONLY segment - eliminated a segfault when an invalid flag which starts with 'a' or 'c' is passed - updated creators' email addresses - changed error messages to say shmop_* instead of shm* to correspond with new shmop_* function names Patch by Ilia Alshanetsky (ilia@prohost.org) 2002-01-09 Jani Taskinen * ext/domxml/php_domxml.h: - Fixed compile with older libxml. * configure.in: - Fixed the creation of pear-get script. * acinclude.m4 configure.in: Reverted Hartmut's patch as it caused more trouble than it solved. * ext/readline/config.m4: whitespace 2002-01-08 Jan Lehnardt * pear/HTML/Form.php pear/HTML/Page.php: fix two warnings, thanks to Erik Hjortsberg 2002-01-08 Jaroslaw Kolakowski * ext/domxml/php_domxml.c ext/domxml/php_domxml.h: A Changed names of functions: - htmldoc() to html_doc(), - htmldocfile() to html_doc_file(), - domxml_htmldumpmem() to domxml_html_dump_mem(), - htmldumpmem() to html_dump_mem(). 2002-01-08 Jani Taskinen * ext/ext_skel: Some whitespace fixes (naugthy me :) and make use of PHP_CHECK_LIBRARY macro instead of AC_CHECK_LIB. 2002-01-08 Sterling Hughes * ext/sockets/sockets.c: Changed proto via Georg Richter's request. 2002-01-08 Jaroslaw Kolakowski * ext/domxml/php_domxml.h ext/domxml/php_domxml.c ext/domxml/config.m4: - Added functions: htmldoc(), htmldocfile(), domxml_htmldumpmem(). - Added error handling for the libxml library. - Added preliminary DOM XSLT support: -- uses the libxslt library, -- operates on DOM objects, not strings, -- functions: domxml_xslt_process(), domxml_xslt_version(). 2002-01-07 James Cox * win32/install.txt: browscap url fix, plus removed ^M references. it should look nice on any os. * win32/install.txt: changed the instructions for php with win32 + apache. Recommending using sapi over cgi binary, since cgi binary and apache don't mix well security wise. 2002-01-07 Yasuo Ohgaki * ext/session/session.c: MFH * NEWS: New PostgreSQL functions 2002-01-07 Egon Schmid * ext/mbstring/mbstring.c: Fixed some protos. 2002-01-07 Rui Hirokawa * ext/mbstring/mbstring.c ext/mbstring/mbstring.h: added mb_get_info() to get internal settings of mbstring. 2002-01-07 Markus Fischer * ext/domxml/php_domxml.c: - Fix domxml_node_unlink_node() proto and return value. 2002-01-07 Thomas V.V.Cox * pear/HTTP.php: ws 2002-01-06 Stig Venaas * ext/ftp/ftp.c ext/ftp/ftp.h: Added IPv6 support * main/network.c main/php_network.h: hostconnect now divides the timeout with no. of addresses. If a connection attempt times out, it goes on to the next. Unless each timeout would be <5s. Added php_any_addr() that fills out the any address for IPv6 and IPv4. 2002-01-06 Thomas V.V.Cox * pear/scripts/pear-get.in pear/scripts/pear.in: use the new Console_Getopt::readPHPArgv() function to read args * pear/Console/Getopt.php: Added readPHPArgv() function that will safely read the $argv PHP array across different PHP configurations. Will take care on register_globals and register_argc_argv ini directives and the new $_SERVER vars 2002-01-06 Edin Kadribasic * sapi/cli/.cvsignore sapi/cli/CREDITS sapi/cli/Makefile.in sapi/cli/config.m4 sapi/cli/getopt.c sapi/cli/php_cli.c sapi/cli/php_getopt.h: Added CLI (command line intrerface) sapi. * main/SAPI.h main/main.c: Added argc and argv in request_info needed for the new cli sapi. Modified registering $argc and $argv to support cli sapi. 2002-01-06 Stig Venaas * ext/sockets/php_sockets.h ext/sockets/sockets.c main/network.c main/php_network.h configure.in: Added some consts for arguments in network.c declarations. Moved php_sockaddr_storage to php_network.h and added check for struct sockaddr_storage 2002-01-06 Thomas V.V.Cox * pear/DB/tests/driver/setup.inc: pgsql->mysql 2002-01-06 Stig Bakken * ChangeLog.2001.gz: * archive the 2001 changelog 2002-01-06 Thomas V.V.Cox * pear/DB/tests/pgsql/09numrows.phpt pear/DB/tests/mysql/09numrows.phpt: this test is no longer here * pear/DB/tests/driver/01connect.phpt pear/DB/tests/driver/02fetch.phpt pear/DB/tests/driver/03simplequery.phpt pear/DB/tests/driver/04numcols.phpt pear/DB/tests/driver/05sequences.phpt pear/DB/tests/driver/06prepexec.phpt pear/DB/tests/driver/08affectedrows.phpt pear/DB/tests/driver/09numrows.phpt pear/DB/tests/driver/10errormap.phpt pear/DB/tests/driver/13limit.phpt pear/DB/tests/driver/14fetchmode_object.phpt pear/DB/tests/driver/README pear/DB/tests/driver/connect.inc pear/DB/tests/driver/mktable.inc pear/DB/tests/driver/setup.inc pear/DB/tests/driver/skipif.inc: Multi-Driver portability test * pear/DB/tests/errors.inc pear/DB/tests/limit.inc pear/DB/tests/numrows.inc pear/DB/tests/tableinfo.inc: test updates * pear/DB/oci8.php: - use count(*) instead of count(a, b) - preserve the error handler when testing the sequence - missing E_ALL fixes * pear/DB/oci8.php: - change the case of column names to lower case when "optimize=portability" (use a slow php array_change_key_case() until PHP get its C native version avaible. Please do it!) - Improved error reporting in connection 2002-01-05 Markus Fischer * ext/domxml/php_domxml.c: - Refuse attribute nodes on add_child() and add list destructor for PI nodes. (Christian Stocker) - Fix append_child() according to add_child(). - Fix some protos, minor code and warning message cosmetics. 2002-01-05 jim winstead * ext/standard/tests/strings/wordwrap.phpt ext/standard/string.c: More tweaking of wordwrap() with the cut parameter set. It was being a little too aggressive and cutting words without breaking at spaces first. (A couple of tests were incorrect.) * ext/standard/tests/strings/wordwrap.phpt ext/standard/string.c: New memcpy()-based wordwrap() implementation. The simple case (single-character break, no forced break) appears to be about 60% faster, and there's simply no comparison for non-simple cases with non-trivial amounts of text. The old algorithm was O(n^2) (with an unfortunately large constant factor) because of the use of strncat(), the new one is O(n). Added some more tests, too. 2002-01-05 Thomas V.V.Cox * pear/scripts/pear-get.in pear/scripts/pear.in: Added check for $argv avaible (thanks Michael Härtl ) 2002-01-05 jim winstead * ext/standard/math.c: Fix the Win32 compile. 2002-01-05 Egon Schmid * ext/standard/math.c ext/standard/basic_functions.c: Fixed some protos. 2002-01-05 jim winstead * ext/standard/math.c: Apparently multi_convert_to_double_ex() didn't quite do what I thought. Still need to handle numeric strings. * ext/standard/tests/math/pow.phpt ext/standard/basic_functions.c ext/standard/math.c ext/standard/php_math.h: Fixed pow(), and added finite(), isinf(), and isnan(). Also fixed pow() tests. * ext/standard/tests/math/pow.phpt: good grief, positive powers of 0 are well-defined. (code fix coming.) * ext/standard/reg.c: Be more aggressive in making sure that substring matches are valid in ereg_replace before trying to use them. 2002-01-05 Zak Greant * ext/standard/tests/array/array_data.txt: Surprising how tests can fail when they don't have any supporting data :) Thanks for the catch Jan and Jim 2002-01-04 Jon Parise * main/rfc1867.c: Nuke unused variable warning (end_arr). 2002-01-04 Stig Venaas * ext/ldap/ldap.c ext/ldap/php_ldap.h: Made ldap_modify() an alias for ldap_mod_replace(). The two were identical. 2002-01-04 jim winstead * ext/standard/tests/strings/wordwrap.phpt ext/standard/string.c: Fixed segfault in wordwrap() when wrapping to zero width and using multi-character break or trying to force cut (bug #12768, now fails and issues a warning because forcing a zero-width cut doesn't make sense). Also converted to new paramater-passing API and avoid making an extra copy of the return values. 2002-01-04 Sterling Hughes * ext/dio/dio.c: Added the O_NOCTTY option, for terminal i/o. 2002-01-04 Hartmut Holzgraefe * configure.in: first PHP_EXTENSION_LIBS casualty :( 2002-01-04 Ben Mansell * sapi/fastcgi/fastcgi.c: Added log_message function to the FastCGI sapi, so you can see error output from scripts 2002-01-04 Hartmut Holzgraefe * ext/ncurses/config.m4: ncurses is useless in webserver modules * ext/xmlrpc/config.m4 ext/xslt/config.m4: more unquoted messages with kommas fixed * ext/mcrypt/config.m4: always quote messages with [...], *especialy* when using kommas in the text * ext/domxml/php_domxml.c: proto fixes * ext/pcntl/config.m4: use predefined function instead of hardcoded test * ext/pcntl/pcntl.c ext/odbc/velocis.c: proto fix * CODING_STANDARDS: small clarification 2002-01-04 Sascha Schumann * genfiles: Remove #line's from var_unserializer.c 2002-01-04 Hartmut Holzgraefe * ext/readline/config.m4: check for library existance before adding them * acinclude.m4: two new check functions for use in config.m4 file 2002-01-04 Sebastian Bergmann * ext/mssql/.cvsignore: Update .cvsignore. 2002-01-03 Frank M. Kromann * ext/mssql/php_mssql.c: Making error handling thread safe. Thanks to Paco Ortiz 2002-01-03 Hartmut Holzgraefe * acinclude.m4 configure.in: make configure more robust if extensions add libraries without checking for their existance first old behaviour was to fail on the next library check with misleading messages, now configure will work but make will fail with a 'lib not found' message * ext/standard/string.c: fix for bug #14832: basename with 2nd parm corrupts source string 2002-01-03 Markus Fischer * ext/ftp/php_ftp.c: - Now use ZE's builtin zend_zval_type_name(). * ext/domxml/php_domxml.c: - domxml_node_add_child(): Perform deep copy before adding child to prevent double memory freeing. * ext/ftp/php_ftp.c: - FTP_BINARY is more common instead of FTP_IMAGE. 2002-01-03 Thies C. Arntzen * ext/standard/dir.c: protos fixes by Wolfgang Drews 2002-01-03 Egon Schmid * ext/ftp/php_ftp.c: Please, no punctuation mark at the end of the description. 2002-01-02 Zak Greant * ext/standard/basic_functions.c: Adding key_exists alias for array_key_exists, at the request of One-Who-Shall-Not-Be-Named-Because-He-Is-On-Vacation 2002-01-02 Stig Bakken * pear/DB/tests/db_error.phpt pear/DB/tests/db_error2.phpt pear/tests/pear_error.phpt: * PEAR.php line number changes again * pear/tests/pear_registry.phpt: * registry files renamed from .inf to .reg, update test * pear/PEAR/Installer.php: * support "pear-get install XML_RPC" * pear/Makefile.in pear/scripts/.cvsignore pear/scripts/pear-get.in pear/scripts/pear.in: * start splitting "pear" command into "pear" and "pear-get" * pear/PEAR/Remote.php: * use new overloading API properly 2002-01-02 Markus Fischer * ext/ftp/php_ftp.c: - Corrected proto for ftp_connect() (new optional parameter for initial custom timeout). * ext/ftp/ftp.c ext/ftp/ftp.h ext/ftp/php_ftp.c ext/ftp/php_ftp.h: - Added ftp_set_option(), ftp_get_option() and support for setting a custom timeout. 2002-01-02 jim winstead * ext/gd/gd.c: jpeg2wbmp,png2wbmp: fix prototypes; _php_image_convert: simplify argument count checking 2002-01-02 Markus Fischer * ext/ftp/php_ftp.c: - Fixed ftp_fget() and ftp_mkdir() protos. * ext/ftp/php_ftp.c: - Corrected proto for ftp_fget(). 2002-01-01 Markus Fischer * ext/ftp/php_ftp.c ext/ftp/php_ftp.h: - Switched to zend_parse_parameters(), unified error/warning messages, use real resources instead of integers, adjusted prototypes (hope I got them all). * NEWS: - Summarize dbase fixes. 2002-01-01 Adam Dickmeiss * ext/yaz/php_yaz.c: Removal of non-essential parameters for non-piggyback search.