]> granicus.if.org Git - php/log
php
19 years ago5th argument of mb_encode_mimeheader() was not acceptable.
Rui Hirokawa [Fri, 25 Nov 2005 21:55:25 +0000 (21:55 +0000)]
5th argument of mb_encode_mimeheader() was not acceptable.

19 years agofix configure
Wez Furlong [Fri, 25 Nov 2005 17:07:49 +0000 (17:07 +0000)]
fix configure

19 years agoMFH: Fixed wrong usage of ZEND_EXTENSION_API_NO (these are not Zend exts :)
foobar [Fri, 25 Nov 2005 16:01:41 +0000 (16:01 +0000)]
MFH: Fixed wrong usage of ZEND_EXTENSION_API_NO (these are not Zend exts :)

19 years agoUse right define: ZEND_MODULE_API_NO as these are PHP modules, not Zend extensions
Wez Furlong [Fri, 25 Nov 2005 15:42:26 +0000 (15:42 +0000)]
Use right define: ZEND_MODULE_API_NO as these are PHP modules, not Zend extensions

19 years agoMFH: fix #35391 (pdo_mysql::exec does not return number of affected rows)
Antony Dovgal [Fri, 25 Nov 2005 12:56:04 +0000 (12:56 +0000)]
MFH: fix #35391 (pdo_mysql::exec does not return number of affected rows)

19 years agoMFH: ICC doesn't support __attribute__ for pointers
Antony Dovgal [Fri, 25 Nov 2005 12:25:05 +0000 (12:25 +0000)]
MFH: ICC doesn't support __attribute__ for pointers

19 years agoUpdate the TODO list.
Wez Furlong [Fri, 25 Nov 2005 07:23:55 +0000 (07:23 +0000)]
Update the TODO list.

19 years agoactually, bytea is not required for LOBs in postgres; good!
Wez Furlong [Fri, 25 Nov 2005 03:37:01 +0000 (03:37 +0000)]
actually, bytea is not required for LOBs in postgres; good!

19 years agoAddresses #35338.
Wez Furlong [Fri, 25 Nov 2005 03:35:04 +0000 (03:35 +0000)]
Addresses #35338.

Postgres client API is pretty poor, so we have zero idea about the actual
parameter types in a statement.

We now defer the preparation of a statement until the first call to execute is
made.  At that point, we have the parameters defined by the calling script, so
we can use the typing specified there when we perform the prepare.

For PDO_PARAM_LOB parameters, we set the binary formatting flag.

We can't just set this flag for all parameters, because its meaning is not
"string data, counted length" but "data is in native format".  If this flag is
set for a numeric column and we send the number 1 formatted as a string, then
we will get an "insufficient data left in message" error message, because the
library was expecting sizeof(int4) bytes but only saw 1 byte for "1".

This is infuriating because we have no way to determine the datatypes for
parameters, and the type we explicitly set has to match the type in the
database.  The only choice we're left with is telling postgres to deduce the
type; we still have no idea what type was deduced.

19 years agoPDO support for LOBs in the postgres driver currently assumes bytea columns.
Wez Furlong [Fri, 25 Nov 2005 03:24:32 +0000 (03:24 +0000)]
PDO support for LOBs in the postgres driver currently assumes bytea columns.

19 years agoBug: when stringify fetch mode is on, and the driver returns a string instead
Wez Furlong [Fri, 25 Nov 2005 03:23:17 +0000 (03:23 +0000)]
Bug: when stringify fetch mode is on, and the driver returns a string instead
of a stream for a LOB parameter, PDO would incorrectly return NULL for that
column.

19 years agoAdd pdo_odbc.db2_instance_name ini setting when built against DB2.
Wez Furlong [Fri, 25 Nov 2005 02:33:04 +0000 (02:33 +0000)]
Add pdo_odbc.db2_instance_name ini setting when built against DB2.
This is a convenience for setting up the DB2 environment more easily.

19 years agofix test - unsigned it is casted to 0 in mysql sql_mode
Andrey Hristov [Fri, 25 Nov 2005 01:13:56 +0000 (01:13 +0000)]
fix test - unsigned it is casted to 0 in mysql sql_mode

19 years agoFix for #35332.
Wez Furlong [Fri, 25 Nov 2005 00:29:04 +0000 (00:29 +0000)]
Fix for #35332.
The problem is caused by the user mixing positional and named parameters.
PDO was blindly adding the parameters, unaware that the same parameters were
already allocated by position.

What we do now is register the parameter with the driver before adding it to
any hash.  This gives the driver an opportunity to normalize the name and
parameter number.  PDO can then ensure that only one entry is occupied in the
hash for a given parameter.

19 years agowell, what do you know, it does do something.
Wez Furlong [Fri, 25 Nov 2005 00:20:12 +0000 (00:20 +0000)]
well, what do you know, it does do something.

19 years agoFixed bug #35170 (PHP_AUTH_DIGEST differs under Apache 1.x and 2.x).
Ilia Alshanetsky [Fri, 25 Nov 2005 00:02:16 +0000 (00:02 +0000)]
Fixed bug #35170 (PHP_AUTH_DIGEST differs under Apache 1.x and 2.x).

19 years agoprep for release
Wez Furlong [Thu, 24 Nov 2005 22:33:20 +0000 (22:33 +0000)]
prep for release

19 years agoprep for release
Wez Furlong [Thu, 24 Nov 2005 22:25:37 +0000 (22:25 +0000)]
prep for release

19 years agoCLASSTYPE is an internal flag.
Wez Furlong [Thu, 24 Nov 2005 21:46:56 +0000 (21:46 +0000)]
CLASSTYPE is an internal flag.
Closes PECL #5640.

19 years agoFix PECL Bug #6014; config fails on PHP 5.0.3
Wez Furlong [Thu, 24 Nov 2005 21:38:09 +0000 (21:38 +0000)]
Fix PECL Bug #6014; config fails on PHP 5.0.3

19 years ago- NEWS, NEWS, NEWS
Marcus Boerger [Thu, 24 Nov 2005 20:06:11 +0000 (20:06 +0000)]
- NEWS, NEWS, NEWS

19 years ago- MFH Reflection class consts (not removing globals consts in 5.1*) (by Johannes)
Marcus Boerger [Thu, 24 Nov 2005 19:56:11 +0000 (19:56 +0000)]
- MFH Reflection class consts (not removing globals consts in 5.1*) (by Johannes)

19 years agoFix bug that breaks pdo_mysql when built shared (was not being linked to the
Wez Furlong [Thu, 24 Nov 2005 18:56:16 +0000 (18:56 +0000)]
Fix bug that breaks pdo_mysql when built shared (was not being linked to the
mysql libraries).

If you have another mysql module loaded, this would not have been noticable.

19 years agoFixed bug #35358 (Incorrect error messages for PDO class constants).
Ilia Alshanetsky [Thu, 24 Nov 2005 16:21:43 +0000 (16:21 +0000)]
Fixed bug #35358 (Incorrect error messages for PDO class constants).

19 years agoFixed bug #35360 (exceptions in interactive mode (php -a) may cause crash)
Dmitry Stogov [Thu, 24 Nov 2005 11:33:11 +0000 (11:33 +0000)]
Fixed bug #35360 (exceptions in interactive mode (php -a) may cause crash)

19 years agoMFH: Add an additional field $frame['object'] to the result array of debug_backtrace...
Sebastian Bergmann [Thu, 24 Nov 2005 05:07:28 +0000 (05:07 +0000)]
MFH: Add an additional field $frame['object'] to the result array of debug_backtrace() that contains a reference to the respective object when the frame was called from an object.

19 years agoMFH (r-1.2) Sync tests with new defaults
Sara Golemon [Thu, 24 Nov 2005 04:37:47 +0000 (04:37 +0000)]
MFH (r-1.2) Sync tests with new defaults

19 years ago- Fix build for new ming versions
Marcus Boerger [Thu, 24 Nov 2005 00:51:44 +0000 (00:51 +0000)]
- Fix build for new ming versions
# Maybe we should check if it is safe to MFH all the corresponding changes
# in head. But why is this out of sync anyway?

19 years agoBack to dev
Ilia Alshanetsky [Wed, 23 Nov 2005 21:25:37 +0000 (21:25 +0000)]
Back to dev

19 years agoRolling 5.1.0
Ilia Alshanetsky [Wed, 23 Nov 2005 20:53:33 +0000 (20:53 +0000)]
Rolling 5.1.0

19 years agochange zend_read_property() to allocate property zval too
Antony Dovgal [Wed, 23 Nov 2005 18:51:44 +0000 (18:51 +0000)]
change zend_read_property() to allocate property zval too

19 years agoMFH: fixed 5307 unexpected header can be injected to mb_send_mail().
Rui Hirokawa [Wed, 23 Nov 2005 15:17:29 +0000 (15:17 +0000)]
MFH: fixed 5307 unexpected header can be injected to mb_send_mail().

19 years agofix tag
foobar [Wed, 23 Nov 2005 15:01:54 +0000 (15:01 +0000)]
fix tag

19 years agofix #35336 (crash on PDO::FETCH_CLASS + __set())
Antony Dovgal [Wed, 23 Nov 2005 11:15:11 +0000 (11:15 +0000)]
fix #35336 (crash on PDO::FETCH_CLASS + __set())

19 years agoBug #33732 (Wrong behavior of constants in class and interface extending)
Dmitry Stogov [Wed, 23 Nov 2005 09:26:43 +0000 (09:26 +0000)]
Bug #33732 (Wrong behavior of constants in class and interface extending)

19 years agoBFN
Rob Richards [Wed, 23 Nov 2005 03:13:57 +0000 (03:13 +0000)]
BFN

19 years agoFixed bug #35342 (isset(DOMNodeList->length) returns false)
Rob Richards [Wed, 23 Nov 2005 03:12:47 +0000 (03:12 +0000)]
Fixed bug #35342 (isset(DOMNodeList->length) returns false)
add test

19 years agoFixed bug #35046 (phpinfo() uses improper css enclosure).
Ilia Alshanetsky [Wed, 23 Nov 2005 00:15:08 +0000 (00:15 +0000)]
Fixed bug #35046 (phpinfo() uses improper css enclosure).

19 years agoAdded 5.1 upgrading notes.
Ilia Alshanetsky [Tue, 22 Nov 2005 23:49:13 +0000 (23:49 +0000)]
Added 5.1 upgrading notes.

# Big thanks to Steph Fox for taking the time to make this list possible.

19 years agofix #35341 (Fix for bug #33760 breaks build with older curl)
Antony Dovgal [Tue, 22 Nov 2005 22:53:34 +0000 (22:53 +0000)]
fix #35341 (Fix for bug #33760 breaks build with older curl)

19 years agoWiden allowable range of values for 'window' bits.
Sara Golemon [Tue, 22 Nov 2005 22:05:38 +0000 (22:05 +0000)]
Widen allowable range of values for 'window' bits.
Make -MAX_WBITS default (to match gzinflate() and gzdeflate())

19 years agoRemoved {} E_STRICT pending furher discussion, may be introduced later on.
Ilia Alshanetsky [Tue, 22 Nov 2005 19:46:13 +0000 (19:46 +0000)]
Removed {} E_STRICT pending furher discussion, may be introduced later on.

19 years agoFixed command error in ftp:// wrapper.
Ilia Alshanetsky [Tue, 22 Nov 2005 03:01:39 +0000 (03:01 +0000)]
Fixed command error in ftp:// wrapper.

# Thanks to Stefan Esser for discovering the problem.

19 years agoFixed test
Ilia Alshanetsky [Tue, 22 Nov 2005 01:57:02 +0000 (01:57 +0000)]
Fixed test

19 years ago- fix make install
Michael Wallner [Tue, 22 Nov 2005 00:50:36 +0000 (00:50 +0000)]
- fix make install

19 years ago/Gz and /RTC1 is for debug builds
Frank M. Kromann [Tue, 22 Nov 2005 00:29:56 +0000 (00:29 +0000)]
/Gz and /RTC1 is for debug builds

19 years agoMFH: - Fixed header installing under phpize builds
foobar [Mon, 21 Nov 2005 23:08:02 +0000 (23:08 +0000)]
MFH: - Fixed header installing under phpize builds

19 years ago- MFH Fixed Bug #35286 tokenizer ext drops final comment (by greg)
Marcus Boerger [Mon, 21 Nov 2005 19:24:38 +0000 (19:24 +0000)]
- MFH Fixed Bug #35286 tokenizer ext drops final comment (by greg)

19 years agotest -e does not work with solaris
foobar [Mon, 21 Nov 2005 19:06:04 +0000 (19:06 +0000)]
test -e does not work with solaris

19 years ago- Fixed bug #35143 (gettimeofday() ignores current time zone).
Derick Rethans [Sun, 20 Nov 2005 20:14:24 +0000 (20:14 +0000)]
- Fixed bug #35143 (gettimeofday() ignores current time zone).
- Fixed tests due to class constants patch.

19 years agoFixed bug #35303 (PDO prepare() crashes with invalid parameters).
Ilia Alshanetsky [Sun, 20 Nov 2005 20:06:28 +0000 (20:06 +0000)]
Fixed bug #35303 (PDO prepare() crashes with invalid parameters).

19 years agoMFH: - Fixed bug #35243 (php_mblen() crashes when compiled with thread-safety on...
foobar [Sun, 20 Nov 2005 18:07:28 +0000 (18:07 +0000)]
MFH: - Fixed bug #35243 (php_mblen() crashes when compiled with thread-safety on Linux)

19 years agoUse /RTC1 instead of /GZ for MS VisualStudio 2005.
Sebastian Bergmann [Sun, 20 Nov 2005 17:03:14 +0000 (17:03 +0000)]
Use /RTC1 instead of /GZ for MS VisualStudio 2005.

19 years ago- MFH Fix parameter parsing
Marcus Boerger [Sun, 20 Nov 2005 13:05:15 +0000 (13:05 +0000)]
- MFH Fix parameter parsing

19 years agofix news
foobar [Sun, 20 Nov 2005 08:13:34 +0000 (08:13 +0000)]
fix news

19 years agoMFH: fix #35293 (PDO segfaults when using persistent connections)
Antony Dovgal [Sat, 19 Nov 2005 16:41:08 +0000 (16:41 +0000)]
MFH: fix #35293 (PDO segfaults when using persistent connections)

19 years agoMFH: fixed #35253 length of the encoded string vilolates a RFC.
Rui Hirokawa [Sat, 19 Nov 2005 08:25:32 +0000 (08:25 +0000)]
MFH: fixed #35253 length of the encoded string vilolates a RFC.

19 years agoMFH: Fix #33201 Crash when fetching some data types
Frank M. Kromann [Fri, 18 Nov 2005 21:23:20 +0000 (21:23 +0000)]
MFH: Fix #33201 Crash when fetching some data types

19 years agoMFH Fix #33963. mssql_bind fails on input parameters
Frank M. Kromann [Fri, 18 Nov 2005 20:48:46 +0000 (20:48 +0000)]
MFH Fix #33963. mssql_bind fails on input parameters

19 years agoMFH: Fix #32009 crash when mssql_bind() is called more than once
Frank M. Kromann [Fri, 18 Nov 2005 20:40:52 +0000 (20:40 +0000)]
MFH: Fix #32009 crash when mssql_bind() is called more than once

19 years agoMFH: Fix #33153 Crash in mssql_next_result().
Frank M. Kromann [Fri, 18 Nov 2005 19:14:32 +0000 (19:14 +0000)]
MFH: Fix #33153 Crash in mssql_next_result().

19 years agoFixed bug #35278 (Multiple virtual() calls crash Apache 2 php module).
Ilia Alshanetsky [Fri, 18 Nov 2005 18:59:49 +0000 (18:59 +0000)]
Fixed bug #35278 (Multiple virtual() calls crash Apache 2 php module).

19 years agophp4 -> php5
foobar [Fri, 18 Nov 2005 16:09:50 +0000 (16:09 +0000)]
php4 -> php5

19 years ago- Make sure --with-readline is used only when --with-libedit is not used.
foobar [Fri, 18 Nov 2005 15:07:39 +0000 (15:07 +0000)]
- Make sure --with-readline is used only when --with-libedit is not used.

19 years agoFixed bug #35273 (Error in mapping soap - java types)
Dmitry Stogov [Fri, 18 Nov 2005 11:00:15 +0000 (11:00 +0000)]
Fixed bug #35273 (Error in mapping soap - java types)

19 years agoback to dev
foobar [Fri, 18 Nov 2005 09:51:44 +0000 (09:51 +0000)]
back to dev

19 years ago- Not in this branch
Marcus Boerger [Thu, 17 Nov 2005 22:35:27 +0000 (22:35 +0000)]
- Not in this branch

19 years agoMissing }}}
Rasmus Lerdorf [Thu, 17 Nov 2005 21:56:04 +0000 (21:56 +0000)]
Missing }}}

19 years agoRC6
Ilia Alshanetsky [Thu, 17 Nov 2005 21:27:58 +0000 (21:27 +0000)]
RC6

19 years agofix news
foobar [Thu, 17 Nov 2005 21:15:19 +0000 (21:15 +0000)]
fix news

19 years agoMoved date constants into the date class, they all class constants now.
Ilia Alshanetsky [Thu, 17 Nov 2005 21:05:30 +0000 (21:05 +0000)]
Moved date constants into the date class, they all class constants now.

19 years agoMFH: Resolve Apache 2 regression with sub-request handling on non-linux
Ilia Alshanetsky [Thu, 17 Nov 2005 21:00:28 +0000 (21:00 +0000)]
MFH: Resolve Apache 2 regression with sub-request handling on non-linux
systems.

19 years agoMFH (r-1.51) #32371 php://input sometimes returns duplicate data
Sara Golemon [Thu, 17 Nov 2005 19:40:38 +0000 (19:40 +0000)]
MFH (r-1.51) #32371 php://input sometimes returns duplicate data

19 years agoMFH: make GCC happy and suppress the warning
Antony Dovgal [Thu, 17 Nov 2005 19:21:32 +0000 (19:21 +0000)]
MFH: make GCC happy and suppress the warning

19 years agoFixed test.
Ilia Alshanetsky [Thu, 17 Nov 2005 18:25:16 +0000 (18:25 +0000)]
Fixed test.

19 years agoFixed bug #35248 (sqlite_query() doesnt set error_msg when return value is
Ilia Alshanetsky [Thu, 17 Nov 2005 14:38:36 +0000 (14:38 +0000)]
Fixed bug #35248 (sqlite_query() doesnt set error_msg when return value is
being used).

19 years agoMFH: fix #35079 (stream_set_blocking(true) toggles, not enables blocking)
Antony Dovgal [Thu, 17 Nov 2005 14:19:40 +0000 (14:19 +0000)]
MFH: fix #35079 (stream_set_blocking(true) toggles, not enables blocking)
patch by askalski at gmail dot com

19 years ago- Fixed bug #35218 (strtotime no longer ignores timezone comments like "(PST)")
Derick Rethans [Thu, 17 Nov 2005 13:04:31 +0000 (13:04 +0000)]
- Fixed bug #35218 (strtotime no longer ignores timezone comments like "(PST)")

19 years ago- Fixed typo
Derick Rethans [Thu, 17 Nov 2005 12:33:36 +0000 (12:33 +0000)]
- Fixed typo

19 years agoMFH: Renamed config.m4 to config0.m4
foobar [Thu, 17 Nov 2005 10:02:42 +0000 (10:02 +0000)]
MFH: Renamed config.m4 to config0.m4
# PCRE configure tests must be run before e.g. ext/filter

19 years agoMFH
foobar [Thu, 17 Nov 2005 09:58:28 +0000 (09:58 +0000)]
MFH

19 years agoMFH: - Fix compile failure when ext/readline is compiled as shared (bug #35249)
foobar [Thu, 17 Nov 2005 08:37:31 +0000 (08:37 +0000)]
MFH: - Fix compile failure when ext/readline is compiled as shared (bug #35249)

19 years agoAllow zend_parse_parameters to handle non-well formed integers, but raise
Ilia Alshanetsky [Thu, 17 Nov 2005 00:19:23 +0000 (00:19 +0000)]
Allow zend_parse_parameters to handle non-well formed integers, but raise
E_NOTICE in the process.

19 years agoMFH
foobar [Wed, 16 Nov 2005 22:14:32 +0000 (22:14 +0000)]
MFH

19 years ago{} to [] test fixes
Ilia Alshanetsky [Wed, 16 Nov 2005 16:57:27 +0000 (16:57 +0000)]
{} to [] test fixes

19 years agoback to dev
Ilia Alshanetsky [Wed, 16 Nov 2005 15:41:59 +0000 (15:41 +0000)]
back to dev

19 years agoUpdated tests to use [] instead of {}
Ilia Alshanetsky [Wed, 16 Nov 2005 15:13:20 +0000 (15:13 +0000)]
Updated tests to use [] instead of {}

19 years agoBy popular demand the {} message is now an E_STRICT.
Ilia Alshanetsky [Wed, 16 Nov 2005 15:10:56 +0000 (15:10 +0000)]
By popular demand the {} message is now an E_STRICT.

19 years agoAdded depreciation notice for {} string offset access.
Ilia Alshanetsky [Wed, 16 Nov 2005 14:55:21 +0000 (14:55 +0000)]
Added depreciation notice for {} string offset access.

19 years ago5.1.0RC5
Ilia Alshanetsky [Wed, 16 Nov 2005 14:18:11 +0000 (14:18 +0000)]
5.1.0RC5

19 years agoFixed bug #35239 (Objects can lose references)
Dmitry Stogov [Wed, 16 Nov 2005 11:52:27 +0000 (11:52 +0000)]
Fixed bug #35239 (Objects can lose references)

19 years agoFixed bug #35229 (call_user_func() crashes when arguement_stack is nearly full)
Dmitry Stogov [Wed, 16 Nov 2005 09:31:21 +0000 (09:31 +0000)]
Fixed bug #35229 (call_user_func() crashes when arguement_stack is nearly full)

19 years agoCloses PECL #5944; binding an invalid parameter can lead to segfaults.
Wez Furlong [Wed, 16 Nov 2005 06:32:33 +0000 (06:32 +0000)]
Closes PECL #5944; binding an invalid parameter can lead to segfaults.
Modified patch provided by curt@php.net.

19 years ago- MFH Add new test
Marcus Boerger [Tue, 15 Nov 2005 21:33:10 +0000 (21:33 +0000)]
- MFH Add new test

19 years agoextend the entry a bit :)
foobar [Tue, 15 Nov 2005 16:53:14 +0000 (16:53 +0000)]
extend the entry a bit :)

19 years agobfp
foobar [Tue, 15 Nov 2005 16:51:24 +0000 (16:51 +0000)]
bfp

19 years agoAllow "null" default value for arguments with array type hint
Dmitry Stogov [Tue, 15 Nov 2005 16:49:40 +0000 (16:49 +0000)]
Allow "null" default value for arguments with array type hint

19 years ago- Allow "= null" default for parameters with a class type-hint.
Derick Rethans [Tue, 15 Nov 2005 15:59:49 +0000 (15:59 +0000)]
- Allow "= null" default for parameters with a class type-hint.

19 years agoFixed memory leak on php-cli -h
Ilia Alshanetsky [Tue, 15 Nov 2005 15:27:26 +0000 (15:27 +0000)]
Fixed memory leak on php-cli -h

19 years agoMFH: Fixed possible crash in http:// wrapper.
Ilia Alshanetsky [Tue, 15 Nov 2005 14:46:34 +0000 (14:46 +0000)]
MFH: Fixed possible crash in http:// wrapper.