php-src/ChangeLog
2002-01-07 01:13:47 +00:00

325 lines
11 KiB
Plaintext
Raw Blame History

2002-01-06 Stig Venaas <venaas@uninett.no>
* 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 <cox@idecnet.com>
* 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 <edink@proventum.net>
* 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 <venaas@uninett.no>
* 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 <cox@idecnet.com>
* pear/DB/tests/driver/setup.inc: pgsql->mysql
2002-01-06 Stig Bakken <ssb@fast.no>
* ChangeLog.2001.gz: * archive the 2001 changelog
2002-01-06 Thomas V.V.Cox <cox@idecnet.com>
* 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 <mfischer@guru.josefine.at>
* 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 <jimw@apache.org>
* 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 <cox@idecnet.com>
* pear/scripts/pear-get.in
pear/scripts/pear.in: Added check for $argv avaible
(thanks Michael H<>rtl <mhaertl@pressline.de>)
2002-01-05 jim winstead <jimw@apache.org>
* ext/standard/math.c: Fix the Win32 compile.
2002-01-05 Egon Schmid <eschmid@s.netic.de>
* ext/standard/math.c
ext/standard/basic_functions.c: Fixed some protos.
2002-01-05 jim winstead <jimw@apache.org>
* 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 <zak@jobvillage.com>
* 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 <jon@csh.rit.edu>
* main/rfc1867.c: Nuke unused variable warning (end_arr).
2002-01-04 Stig Venaas <venaas@uninett.no>
* 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 <jimw@apache.org>
* 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 <sterling@designmultimedia.com>
* ext/dio/dio.c: Added the O_NOCTTY option, for terminal i/o.
2002-01-04 Hartmut Holzgraefe <hartmut@six.de>
* configure.in: first PHP_EXTENSION_LIBS casualty :(
2002-01-04 Ben Mansell <ben@zeus.com>
* 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 <hartmut@six.de>
* 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 <sascha@schumann.cx>
* genfiles: Remove #line's from var_unserializer.c
2002-01-04 Hartmut Holzgraefe <hartmut@six.de>
* 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 <sb@sebastian-bergmann.de>
* ext/mssql/.cvsignore: Update .cvsignore.
2002-01-03 Frank M. Kromann <frank@frontbase.com>
* ext/mssql/php_mssql.c:
Making error handling thread safe. Thanks to Paco Ortiz <fjortiz@comunet.es>
2002-01-03 Hartmut Holzgraefe <hartmut@six.de>
* 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 <mfischer@guru.josefine.at>
* 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 <thies@thieso.net>
* ext/standard/dir.c: protos fixes by Wolfgang Drews
2002-01-03 Egon Schmid <eschmid@s.netic.de>
* ext/ftp/php_ftp.c:
Please, no punctuation mark at the end of the description.
2002-01-02 Zak Greant <zak@jobvillage.com>
* 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 <ssb@fast.no>
* 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 <mfischer@guru.josefine.at>
* 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 <jimw@apache.org>
* ext/gd/gd.c:
jpeg2wbmp,png2wbmp: fix prototypes; _php_image_convert: simplify argument count checking
2002-01-02 Markus Fischer <mfischer@guru.josefine.at>
* 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 <mfischer@guru.josefine.at>
* 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 <adam@indexdata.dk>
* ext/yaz/php_yaz.c:
Removal of non-essential parameters for non-piggyback search.