]> granicus.if.org Git - php/log
php
23 years ago* archive the 2001 changelog
Stig Bakken [Sun, 6 Jan 2002 05:19:43 +0000 (05:19 +0000)]
* archive the 2001 changelog

23 years agoChangeLog update
<changelog@php.net> [Sun, 6 Jan 2002 01:19:29 +0000 (01:19 +0000)]
ChangeLog update

23 years agoNEWS update
<changelog@php.net> [Sun, 6 Jan 2002 01:19:24 +0000 (01:19 +0000)]
NEWS update

23 years ago- Refuse attribute nodes on add_child() and add list destructor for PI
Markus Fischer [Sat, 5 Jan 2002 23:50:59 +0000 (23:50 +0000)]
- 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.

23 years agoMore tweaking of wordwrap() with the cut parameter set. It was being a
jim winstead [Sat, 5 Jan 2002 23:49:58 +0000 (23:49 +0000)]
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.)

23 years ago- Small fix
Andi Gutmans [Sat, 5 Jan 2002 20:55:56 +0000 (20:55 +0000)]
- Small fix

23 years agoNew memcpy()-based wordwrap() implementation. The simple case
jim winstead [Sat, 5 Jan 2002 20:46:43 +0000 (20:46 +0000)]
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.
@ - Made wordwrap() significantly faster. (Jim)
# test case: $t = join('',file('ChangeLog')); $w = wordwrap($t,10,"\n",1);
# new code completes in less than a second. i'm still waiting for the
# old code to finish.

23 years ago- Allow passing of $this as function arguments.
Andi Gutmans [Sat, 5 Jan 2002 19:59:09 +0000 (19:59 +0000)]
- Allow passing of $this as function arguments.
- Fix a bug which I introduced a couple of months ago

23 years agoAdded check for $argv avaible
Tomas V.V.Cox [Sat, 5 Jan 2002 17:20:08 +0000 (17:20 +0000)]
Added check for $argv avaible
(thanks Michael Härtl <mhaertl@pressline.de>)

23 years ago- Significantly improve the performance of method calls and $this->member
Andi Gutmans [Sat, 5 Jan 2002 15:18:30 +0000 (15:18 +0000)]
- Significantly improve the performance of method calls and $this->member
- lookups.

23 years agoFix the Win32 compile.
jim winstead [Sat, 5 Jan 2002 08:29:53 +0000 (08:29 +0000)]
Fix the Win32 compile.

23 years agoFixed some protos.
Egon Schmid [Sat, 5 Jan 2002 07:54:49 +0000 (07:54 +0000)]
Fixed some protos.

23 years agoApparently multi_convert_to_double_ex() didn't quite do what I
jim winstead [Sat, 5 Jan 2002 03:56:38 +0000 (03:56 +0000)]
Apparently multi_convert_to_double_ex() didn't quite do what I
thought. Still need to handle numeric strings.

23 years agoFixed pow(), and added finite(), isinf(), and isnan(). Also fixed
jim winstead [Sat, 5 Jan 2002 03:45:11 +0000 (03:45 +0000)]
Fixed pow(), and added finite(), isinf(), and isnan(). Also fixed
pow() tests.
@- Fixed pow(), and added finite(), isinf(), and isnan(). (Jim)
# Jeroen was on crack, and apparently flunked arithmetic. Names of new
# functions subject to change if people get persnickety about them.
# (They're currently the same as the underlying C library function
# names. Hope nobody forgets to update the tests if they change the
# names.)
# Oh, and pow() uses the new parameter-passing API now.

23 years agogood grief, positive powers of 0 are well-defined. (code fix coming.)
jim winstead [Sat, 5 Jan 2002 02:16:16 +0000 (02:16 +0000)]
good grief, positive powers of 0 are well-defined. (code fix coming.)

23 years agoBe more aggressive in making sure that substring matches are valid in
jim winstead [Sat, 5 Jan 2002 01:59:11 +0000 (01:59 +0000)]
Be more aggressive in making sure that substring matches are valid in
ereg_replace before trying to use them.
# i could have sworn i fixed this in php3. ereg() has similar logic, i
# guess i just missed ereg_replace. fixing this lets
# ext/standard/tests/reg/012.phpt pass on my debian/unstable box

23 years agoSurprising how tests can fail when they don't have any supporting data :) Thanks...
Zak Greant [Sat, 5 Jan 2002 01:58:44 +0000 (01:58 +0000)]
Surprising how tests can fail when they don't have any supporting data :) Thanks for the catch Jan and Jim

23 years agoChangeLog update
<changelog@php.net> [Sat, 5 Jan 2002 01:10:33 +0000 (01:10 +0000)]
ChangeLog update

23 years agoNEWS update
<changelog@php.net> [Sat, 5 Jan 2002 01:10:30 +0000 (01:10 +0000)]
NEWS update

23 years agoNuke unused variable warning (end_arr).
Jon Parise [Fri, 4 Jan 2002 22:57:36 +0000 (22:57 +0000)]
Nuke unused variable warning (end_arr).

23 years agoMade ldap_modify() an alias for ldap_mod_replace(). The two were identical.
Stig Venaas [Fri, 4 Jan 2002 20:56:03 +0000 (20:56 +0000)]
Made ldap_modify() an alias for ldap_mod_replace(). The two were identical.
#For more info, see my posting on php-dev Dec 25th.

23 years agoFixed segfault in wordwrap() when wrapping to zero width and using
jim winstead [Fri, 4 Jan 2002 19:48:08 +0000 (19:48 +0000)]
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.
# also added tests.
@- Fixed segfault in wordwrap() when wrapping to zero width and using
@  multi-character break or trying to force cut (bug #12768). (Jim)

23 years agoAdded the O_NOCTTY option, for terminal i/o.
Sterling Hughes [Fri, 4 Jan 2002 19:42:31 +0000 (19:42 +0000)]
Added the O_NOCTTY option, for terminal i/o.

23 years agofirst PHP_EXTENSION_LIBS casualty :(
Hartmut Holzgraefe [Fri, 4 Jan 2002 15:00:26 +0000 (15:00 +0000)]
first PHP_EXTENSION_LIBS casualty :(

23 years agoAdded log_message function to the FastCGI sapi, so you can see error
Ben Mansell [Fri, 4 Jan 2002 14:39:46 +0000 (14:39 +0000)]
Added log_message function to the FastCGI sapi, so you can see error
output from scripts

23 years agoncurses is useless in webserver modules
Hartmut Holzgraefe [Fri, 4 Jan 2002 14:15:51 +0000 (14:15 +0000)]
ncurses is useless in webserver modules

23 years agomore unquoted messages with kommas fixed
Hartmut Holzgraefe [Fri, 4 Jan 2002 14:15:25 +0000 (14:15 +0000)]
more unquoted messages with kommas fixed

23 years agoalways quote messages with [...], *especialy* when using kommas in the text
Hartmut Holzgraefe [Fri, 4 Jan 2002 14:13:53 +0000 (14:13 +0000)]
always quote messages with [...], *especialy* when using kommas in the text

23 years agoproto fixes
Hartmut Holzgraefe [Fri, 4 Jan 2002 14:10:05 +0000 (14:10 +0000)]
proto fixes

23 years agouse predefined function instead of hardcoded test
Hartmut Holzgraefe [Fri, 4 Jan 2002 14:08:50 +0000 (14:08 +0000)]
use predefined function instead of hardcoded test

23 years agoproto fix
Hartmut Holzgraefe [Fri, 4 Jan 2002 14:08:25 +0000 (14:08 +0000)]
proto fix

23 years agoproto fix
Hartmut Holzgraefe [Fri, 4 Jan 2002 13:51:03 +0000 (13:51 +0000)]
proto fix

23 years agosmall clarification
Hartmut Holzgraefe [Fri, 4 Jan 2002 13:14:53 +0000 (13:14 +0000)]
small clarification

23 years agoRemove #line's from var_unserializer.c
Sascha Schumann [Fri, 4 Jan 2002 13:10:26 +0000 (13:10 +0000)]
Remove #line's from var_unserializer.c

23 years agocheck for library existance before adding them
Hartmut Holzgraefe [Fri, 4 Jan 2002 12:27:01 +0000 (12:27 +0000)]
check for library existance before adding them

23 years agotwo new check functions for use in config.m4 file
Hartmut Holzgraefe [Fri, 4 Jan 2002 12:26:27 +0000 (12:26 +0000)]
two new check functions for use in config.m4 file

23 years agoUpdate .cvsignore.
Sebastian Bergmann [Fri, 4 Jan 2002 09:50:41 +0000 (09:50 +0000)]
Update .cvsignore.

23 years ago- Improve performance of indirect-referenced function calls
Andi Gutmans [Fri, 4 Jan 2002 09:21:16 +0000 (09:21 +0000)]
- Improve performance of indirect-referenced function calls

23 years ago- Nuke C++ comments
Andi Gutmans [Fri, 4 Jan 2002 08:07:39 +0000 (08:07 +0000)]
- Nuke C++ comments

23 years ago- Separate other kinds of function calls too.
Andi Gutmans [Fri, 4 Jan 2002 08:05:21 +0000 (08:05 +0000)]
- Separate other kinds of function calls too.
- Significantly improve performance of function calls by moving lowercasing
- the function name to compile-time when possible.

23 years ago- Start splitting up different kinds of function calls into different
Andi Gutmans [Fri, 4 Jan 2002 06:44:19 +0000 (06:44 +0000)]
- Start splitting up different kinds of function calls into different
- opcodes.

23 years agoChangeLog update
<changelog@php.net> [Fri, 4 Jan 2002 01:14:02 +0000 (01:14 +0000)]
ChangeLog update

23 years agoMaking error handling thread safe. Thanks to Paco Ortiz <fjortiz@comunet.es>
Frank M. Kromann [Thu, 3 Jan 2002 23:08:21 +0000 (23:08 +0000)]
Making error handling thread safe. Thanks to Paco Ortiz <fjortiz@comunet.es>

23 years agomake configure more robust if extensions add libraries without
Hartmut Holzgraefe [Thu, 3 Jan 2002 20:30:07 +0000 (20:30 +0000)]
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

23 years agofix for bug #14832: basename with 2nd parm corrupts source string
Hartmut Holzgraefe [Thu, 3 Jan 2002 20:20:35 +0000 (20:20 +0000)]
fix for bug #14832: basename with 2nd parm corrupts source string

23 years ago- Now use ZE's builtin zend_zval_type_name().
Markus Fischer [Thu, 3 Jan 2002 14:32:36 +0000 (14:32 +0000)]
- Now use ZE's builtin zend_zval_type_name().

23 years ago- MFZE1 for exit fix, exposing current function name in error messages and
Derick Rethans [Thu, 3 Jan 2002 14:19:13 +0000 (14:19 +0000)]
- MFZE1 for exit fix, exposing current function name in error messages and
  exposing zend_zval_type_name().

23 years ago- domxml_node_add_child(): Perform deep copy before adding child to prevent
Markus Fischer [Thu, 3 Jan 2002 13:20:04 +0000 (13:20 +0000)]
- domxml_node_add_child(): Perform deep copy before adding child to prevent
  double memory freeing.
# I wonder how this could work before.

23 years ago- FTP_BINARY is more common instead of FTP_IMAGE.
Markus Fischer [Thu, 3 Jan 2002 07:57:58 +0000 (07:57 +0000)]
- FTP_BINARY is more common instead of FTP_IMAGE.

23 years agoprotos fixes by Wolfgang Drews
Thies C. Arntzen [Thu, 3 Jan 2002 06:57:22 +0000 (06:57 +0000)]
protos fixes by Wolfgang Drews

23 years agoPlease, no punctuation mark at the end of the description.
Egon Schmid [Thu, 3 Jan 2002 05:55:22 +0000 (05:55 +0000)]
Please, no punctuation mark at the end of the description.

23 years agoChangeLog update
<changelog@php.net> [Thu, 3 Jan 2002 01:14:17 +0000 (01:14 +0000)]
ChangeLog update

23 years agoAdding key_exists alias for array_key_exists, at the request of One-Who-Shall-Not...
Zak Greant [Wed, 2 Jan 2002 21:21:48 +0000 (21:21 +0000)]
Adding key_exists alias for array_key_exists, at the request of One-Who-Shall-Not-Be-Named-Because-He-Is-On-Vacation

23 years ago* PEAR.php line number changes again
Stig Bakken [Wed, 2 Jan 2002 17:19:25 +0000 (17:19 +0000)]
* PEAR.php line number changes again

23 years ago* registry files renamed from .inf to .reg, update test
Stig Bakken [Wed, 2 Jan 2002 17:18:52 +0000 (17:18 +0000)]
* registry files renamed from .inf to .reg, update test

23 years ago* support "pear-get install XML_RPC"
Stig Bakken [Wed, 2 Jan 2002 17:12:26 +0000 (17:12 +0000)]
* support "pear-get install XML_RPC"

23 years ago* start splitting "pear" command into "pear" and "pear-get"
Stig Bakken [Wed, 2 Jan 2002 17:11:34 +0000 (17:11 +0000)]
* start splitting "pear" command into "pear" and "pear-get"

23 years ago* use new overloading API properly
Stig Bakken [Wed, 2 Jan 2002 17:09:59 +0000 (17:09 +0000)]
* use new overloading API properly

23 years ago- Corrected proto for ftp_connect() (new optional parameter for initial
Markus Fischer [Wed, 2 Jan 2002 15:01:15 +0000 (15:01 +0000)]
- Corrected proto for ftp_connect() (new optional parameter for initial
  custom timeout).

23 years ago- Added ftp_set_option(), ftp_get_option() and support for setting a
Markus Fischer [Wed, 2 Jan 2002 14:58:17 +0000 (14:58 +0000)]
- Added ftp_set_option(), ftp_get_option() and support for setting a
  custom timeout.
# Adding custom buffer size would be next, no promises though.

23 years agojpeg2wbmp,png2wbmp: fix prototypes; _php_image_convert: simplify argument count checking
jim winstead [Wed, 2 Jan 2002 01:25:48 +0000 (01:25 +0000)]
jpeg2wbmp,png2wbmp: fix prototypes; _php_image_convert: simplify argument count checking

23 years agoChangeLog update
<changelog@php.net> [Wed, 2 Jan 2002 01:14:31 +0000 (01:14 +0000)]
ChangeLog update

23 years ago- Fixed ftp_fget() and ftp_mkdir() protos.
Markus Fischer [Wed, 2 Jan 2002 01:05:10 +0000 (01:05 +0000)]
- Fixed ftp_fget() and ftp_mkdir() protos.

23 years ago- Corrected proto for ftp_fget().
Markus Fischer [Wed, 2 Jan 2002 00:42:11 +0000 (00:42 +0000)]
- Corrected proto for ftp_fget().

23 years ago- Switched to zend_parse_parameters(), unified error/warning messages,
Markus Fischer [Tue, 1 Jan 2002 22:15:22 +0000 (22:15 +0000)]
- Switched to zend_parse_parameters(), unified error/warning messages,
  use real resources instead of integers, adjusted prototypes (hope I got
  them all).

23 years ago- Summarize dbase fixes.
Markus Fischer [Tue, 1 Jan 2002 21:33:32 +0000 (21:33 +0000)]
- Summarize dbase fixes.

23 years agoRemoval of non-essential parameters for non-piggyback search.
Adam Dickmeiss [Tue, 1 Jan 2002 14:09:03 +0000 (14:09 +0000)]
Removal of non-essential parameters for non-piggyback search.

23 years agoChangeLog update
<changelog@php.net> [Tue, 1 Jan 2002 01:12:07 +0000 (01:12 +0000)]
ChangeLog update

23 years agoNEWS update
<changelog@php.net> [Tue, 1 Jan 2002 01:12:04 +0000 (01:12 +0000)]
NEWS update

23 years agoMatch the table style of the other single-row info entries.
Jon Parise [Mon, 31 Dec 2001 19:46:30 +0000 (19:46 +0000)]
Match the table style of the other single-row info entries.

23 years agoNow dbase_pack() actually truncates the resulting .dbf file to the right
Vlad Krupin [Mon, 31 Dec 2001 12:52:34 +0000 (12:52 +0000)]
Now dbase_pack() actually truncates the resulting .dbf file to the right
size (possibly fixing bug #6852 #3).
@Make dbase_pack() truncate the file to the right size. (Vlad)

23 years agoVerified and fixed bug 6852 #2. Now memo fields are 10 butes long, not 9.
Vlad Krupin [Mon, 31 Dec 2001 10:23:30 +0000 (10:23 +0000)]
Verified and fixed bug 6852 #2. Now memo fields are 10 butes long, not 9.
That does not seem to affect how the code works except when creating a new
structure, in which case 'M' fields used to get created with size 9.
@Fixed bug 6852 #2. Mem fields are now 10 bytesin size, not 9. (Vlad)

23 years agoVerified and fixed bug 6852 #1. No more null byte after terminating 0x0D.
Vlad Krupin [Mon, 31 Dec 2001 09:13:08 +0000 (09:13 +0000)]
Verified and fixed bug 6852 #1. No more null byte after terminating 0x0D.
Verified that the problem is real when creating new files and writing
a record. Both fixed and old versions seem to be able to somehow read
and write already existing files properly though.
@Fixed bug 6852 #1. No more null byte after terminating 0x0D. (Vlad)

23 years agoConsistency.
Sebastian Bergmann [Mon, 31 Dec 2001 07:50:42 +0000 (07:50 +0000)]
Consistency.

23 years agoOops, missed one proto.
Egon Schmid [Mon, 31 Dec 2001 05:37:19 +0000 (05:37 +0000)]
Oops, missed one proto.

23 years ago- Add example of default argument for argument passed by-ref
Andi Gutmans [Mon, 31 Dec 2001 05:28:18 +0000 (05:28 +0000)]
- Add example of default argument for argument passed by-ref

23 years agoFixed some protos.
Egon Schmid [Mon, 31 Dec 2001 05:25:30 +0000 (05:25 +0000)]
Fixed some protos.

23 years agoFixed some protos.
Egon Schmid [Mon, 31 Dec 2001 04:57:25 +0000 (04:57 +0000)]
Fixed some protos.

23 years agoChangeLog update
<changelog@php.net> [Mon, 31 Dec 2001 01:13:10 +0000 (01:13 +0000)]
ChangeLog update

23 years agosome prototypes changed
Georg Richter [Sun, 30 Dec 2001 19:14:12 +0000 (19:14 +0000)]
some prototypes changed

23 years agoGive defaults for pread and pwrite checks when cross compiling
Alex Waugh [Sun, 30 Dec 2001 15:39:01 +0000 (15:39 +0000)]
Give defaults for pread and pwrite checks when cross compiling

23 years agoTypo.
Sebastian Bergmann [Sun, 30 Dec 2001 10:43:27 +0000 (10:43 +0000)]
Typo.

23 years agochdir: corrected proto, converted to zend_parse_parameters
Zak Greant [Sun, 30 Dec 2001 10:13:08 +0000 (10:13 +0000)]
chdir: corrected proto, converted to zend_parse_parameters

23 years agoCorrected bug in php_mysql_fetch_hash() that prevented columns with NULL values from...
Zak Greant [Sun, 30 Dec 2001 10:00:26 +0000 (10:00 +0000)]
Corrected bug in php_mysql_fetch_hash() that prevented columns with NULL values from having both numeric and associative indexes. (Bug 14291)

23 years agochroot: corrected prototype, converted to zend_parse_parameters
Zak Greant [Sun, 30 Dec 2001 09:50:41 +0000 (09:50 +0000)]
chroot: corrected prototype, converted to zend_parse_parameters

23 years agoConverted getenv to use zend_parse_parameters
Zak Greant [Sun, 30 Dec 2001 09:36:24 +0000 (09:36 +0000)]
Converted getenv to use zend_parse_parameters

23 years agoadded libfdftk for link path to make shared module.
Rui Hirokawa [Sun, 30 Dec 2001 09:00:43 +0000 (09:00 +0000)]
added libfdftk for link path to make shared module.

23 years agoFixed a proto.
Egon Schmid [Sun, 30 Dec 2001 08:21:58 +0000 (08:21 +0000)]
Fixed a proto.

23 years agoFixed some protos.
Egon Schmid [Sun, 30 Dec 2001 08:12:29 +0000 (08:12 +0000)]
Fixed some protos.

23 years agoFixed some protos.
Egon Schmid [Sun, 30 Dec 2001 07:29:11 +0000 (07:29 +0000)]
Fixed some protos.

23 years agoFixed some protos.
Egon Schmid [Sun, 30 Dec 2001 06:46:53 +0000 (06:46 +0000)]
Fixed some protos.

23 years agoGet rid of error message
Yasuo Ohgaki [Sun, 30 Dec 2001 01:37:23 +0000 (01:37 +0000)]
Get rid of error message
# These lines should be enabled when save handlers can be initialized
# before session module initialization.

23 years agoChangeLog update
<changelog@php.net> [Sun, 30 Dec 2001 01:10:17 +0000 (01:10 +0000)]
ChangeLog update

23 years agoNEWS update
<changelog@php.net> [Sun, 30 Dec 2001 01:10:14 +0000 (01:10 +0000)]
NEWS update

23 years ago- Removed is_array_multidimensional
Derick Rethans [Sat, 29 Dec 2001 22:59:40 +0000 (22:59 +0000)]
- Removed is_array_multidimensional

23 years ago- Added test for recursive counting
Derick Rethans [Sat, 29 Dec 2001 21:05:03 +0000 (21:05 +0000)]
- Added test for recursive counting

23 years ago- Added extra parameter to count() that recursively counts elements in an
Derick Rethans [Sat, 29 Dec 2001 20:59:59 +0000 (20:59 +0000)]
- Added extra parameter to count() that recursively counts elements in an
  array and added is_array_multidimensional(). (patch by Vlad Bosinceanu
  <glipy@fx.ro>)

23 years ago@ Fix bug in krsort() where an extra character was being compared (Andi)
Andi Gutmans [Sat, 29 Dec 2001 20:47:25 +0000 (20:47 +0000)]
@ Fix bug in krsort() where an extra character was being compared (Andi)
- Fix bug in krsort() where an extra character was being compared (Andi)

23 years ago- Fix bug in XML extension which exists due to a not perfect work around
Andi Gutmans [Sat, 29 Dec 2001 18:10:01 +0000 (18:10 +0000)]
- Fix bug in XML extension which exists due to a not perfect work around
- with ZE1. In ZE2 the correct code seems to work well.

23 years ago- #define to help #ifdef stuff in PHP sources to make them work w/ ZE1 and
Andi Gutmans [Sat, 29 Dec 2001 18:07:08 +0000 (18:07 +0000)]
- #define to help #ifdef stuff in PHP sources to make them work w/ ZE1 and
- 2