]> granicus.if.org Git - php/log
php
19 years agobfn
foobar [Wed, 30 Nov 2005 12:35:55 +0000 (12:35 +0000)]
bfn

19 years agoBFN
Andrey Hristov [Wed, 30 Nov 2005 11:38:11 +0000 (11:38 +0000)]
BFN

19 years agofix a crash and a leak.
Andrey Hristov [Wed, 30 Nov 2005 11:35:03 +0000 (11:35 +0000)]
fix a crash and a leak.
4.1.15 (client) -> 5.x (server) because of the incompatibility because of
decimal in the protocol binding may fail. Don't close the statement in
that case because subsequent ->execute() will crash or any other function
that will try to use already freed (and in debug mode thrashed) pointer.
#probably more problems exist because of the 4.1.x -> 5.x protocol
#incompatibility

19 years agoMFH: fix possible crash in pdo_mysql_stmt_dtor()
Antony Dovgal [Wed, 30 Nov 2005 11:33:07 +0000 (11:33 +0000)]
MFH: fix possible crash in pdo_mysql_stmt_dtor()

19 years ago*** empty log message ***
Dmitry Stogov [Wed, 30 Nov 2005 10:30:38 +0000 (10:30 +0000)]
*** empty log message ***

19 years agoFixed bug #35373 (HP-UX "alias not allowed in this configuration")
Dmitry Stogov [Wed, 30 Nov 2005 10:29:44 +0000 (10:29 +0000)]
Fixed bug #35373 (HP-UX "alias not allowed in this configuration")

19 years agoFixed bug #35470 (Assigning global using variable name from array doesn't function)
Dmitry Stogov [Wed, 30 Nov 2005 10:09:37 +0000 (10:09 +0000)]
Fixed bug #35470 (Assigning global using variable name from array doesn't function)

19 years agoFix dep usage; it must appear after the PHP_NEW_EXTENSION line.
Wez Furlong [Wed, 30 Nov 2005 04:50:03 +0000 (04:50 +0000)]
Fix dep usage; it must appear after the PHP_NEW_EXTENSION line.
pdo and spl are both optional dependencies.

19 years agoFix bugs #35379 and #35432 by erroring out when the user configures PHP
Wez Furlong [Wed, 30 Nov 2005 04:47:24 +0000 (04:47 +0000)]
Fix bugs #35379 and #35432 by erroring out when the user configures PHP
extensions with conflicting options.

Jani, feel free to refine the way that extensions are detected as shared :)

For this to be foolproof, we either need to guarantee that the extensions have
their PHP_NEW_EXTENSION invoked in the right sequence.  Eg: PDO should be
handled in the configure script before any of the extensions that depend on it
are handled... tricky.

By happy coincidence, the alphabet ensures that pdo is configured before all
the pdo_ extensions, and also before sqlite, so this works for now.

19 years agoFix PECL Bug #6102; fails to configure for instant client on OSX.
Wez Furlong [Wed, 30 Nov 2005 03:18:09 +0000 (03:18 +0000)]
Fix PECL Bug #6102; fails to configure for instant client on OSX.
In addition, make it work for the instant client install on my gentoo box.

19 years agoMFH: - Added --enable-gcov configure option to enable C-level code coverage.
foobar [Tue, 29 Nov 2005 23:20:01 +0000 (23:20 +0000)]
MFH: - Added --enable-gcov configure option to enable C-level code coverage.

19 years agoFixed ZTS build
Ilia Alshanetsky [Tue, 29 Nov 2005 23:10:15 +0000 (23:10 +0000)]
Fixed ZTS build

19 years ago- automake is not needed
foobar [Tue, 29 Nov 2005 22:41:15 +0000 (22:41 +0000)]
- automake is not needed

19 years agoMFH
foobar [Tue, 29 Nov 2005 22:39:19 +0000 (22:39 +0000)]
MFH

19 years agoAdded missing support for 'B' format identifier to date() function.
Ilia Alshanetsky [Tue, 29 Nov 2005 20:43:53 +0000 (20:43 +0000)]
Added missing support for 'B' format identifier to date() function.

19 years agoFixed bug #35425 (idate() function ignores timezone settings).
Ilia Alshanetsky [Tue, 29 Nov 2005 20:19:56 +0000 (20:19 +0000)]
Fixed bug #35425 (idate() function ignores timezone settings).

19 years agoremaining part of the fix (-o -> ||)
Antony Dovgal [Tue, 29 Nov 2005 18:35:26 +0000 (18:35 +0000)]
remaining part of the fix (-o -> ||)

19 years agochange "-o" to "||" (fixes potential problems on weird systems where test doesn't...
Antony Dovgal [Tue, 29 Nov 2005 18:26:02 +0000 (18:26 +0000)]
change "-o" to "||" (fixes potential problems on weird systems where test doesn't support -o)

19 years agoFixed compiler warnings
Ilia Alshanetsky [Tue, 29 Nov 2005 18:17:46 +0000 (18:17 +0000)]
Fixed compiler warnings

19 years ago- Always use the right sed
foobar [Tue, 29 Nov 2005 17:32:40 +0000 (17:32 +0000)]
- Always use the right sed

19 years agocleanup + fix link problems with old mysql versions
foobar [Tue, 29 Nov 2005 17:31:13 +0000 (17:31 +0000)]
cleanup + fix link problems with old mysql versions

19 years agoFixed tests
Ilia Alshanetsky [Tue, 29 Nov 2005 16:25:16 +0000 (16:25 +0000)]
Fixed tests

19 years agoFixed bug #35427 (str_word_count() handles '-' incorrectly).
Ilia Alshanetsky [Tue, 29 Nov 2005 16:14:19 +0000 (16:14 +0000)]
Fixed bug #35427 (str_word_count() handles '-' incorrectly).

19 years ago- Update bundled libtool to 1.5.20
foobar [Tue, 29 Nov 2005 15:58:54 +0000 (15:58 +0000)]
- Update bundled libtool to 1.5.20

19 years agobe very clear what you fixed
foobar [Tue, 29 Nov 2005 08:16:00 +0000 (08:16 +0000)]
be very clear what you fixed

19 years ago- Regenerated with working re2c and with proper options
foobar [Tue, 29 Nov 2005 08:10:59 +0000 (08:10 +0000)]
- Regenerated with working re2c and with proper options

19 years agoproto fixups
Wez Furlong [Tue, 29 Nov 2005 04:06:03 +0000 (04:06 +0000)]
proto fixups

19 years ago- BFN
Marcus Boerger [Tue, 29 Nov 2005 03:35:33 +0000 (03:35 +0000)]
- BFN

19 years ago- MFH Add class SplFileInfo as base for DirectoryIterator and SplFileObject
Marcus Boerger [Tue, 29 Nov 2005 03:33:59 +0000 (03:33 +0000)]
- MFH Add class SplFileInfo as base for DirectoryIterator and SplFileObject
# As discussed with ilia before 5.1.0

19 years ago- BFN (reorder + missed another one)
Marcus Boerger [Tue, 29 Nov 2005 03:11:26 +0000 (03:11 +0000)]
- BFN (reorder + missed another one)

19 years ago- BFN (not to forget this one)
Marcus Boerger [Tue, 29 Nov 2005 02:58:20 +0000 (02:58 +0000)]
- BFN (not to forget this one)

19 years ago- BFN
Marcus Boerger [Tue, 29 Nov 2005 02:53:48 +0000 (02:53 +0000)]
- BFN

19 years ago- MFH
Marcus Boerger [Tue, 29 Nov 2005 02:51:07 +0000 (02:51 +0000)]
- MFH
  . Fix memleaks
  . Add tests
  . Add functions: getNamespaces(), getDocNamespaces()
  . Fixed var_dump()
  . Fixed bugs: #35028 XML object fails FALSE test
# This plan was decided before 5.1.0 came out with ilia and checked again
# just now. The extension currently shows no more memleaks or errors using
# the test suite.

19 years agoAdded PDO::pgsqlLOBCreate(), PDO::pgsqlLOBOpen() and PDO::pgsqlLOBUnlink().
Wez Furlong [Tue, 29 Nov 2005 02:11:39 +0000 (02:11 +0000)]
Added PDO::pgsqlLOBCreate(), PDO::pgsqlLOBOpen() and PDO::pgsqlLOBUnlink().

19 years agoFixed bug #35414 (strtotime() no longer works with ordinal suffix).
Ilia Alshanetsky [Tue, 29 Nov 2005 01:23:29 +0000 (01:23 +0000)]
Fixed bug #35414 (strtotime() no longer works with ordinal suffix).

19 years agoFixed bug #35422 (strtotime() does not parse times with UTC as timezone).
Ilia Alshanetsky [Mon, 28 Nov 2005 23:49:25 +0000 (23:49 +0000)]
Fixed bug #35422 (strtotime() does not parse times with UTC as timezone).

19 years agoMFH
foobar [Mon, 28 Nov 2005 23:04:01 +0000 (23:04 +0000)]
MFH

19 years agoFixed bug #35456 (+ 1 [time unit] format did not work).
Ilia Alshanetsky [Mon, 28 Nov 2005 22:24:01 +0000 (22:24 +0000)]
Fixed bug #35456 (+ 1 [time unit] format did not work).

19 years agoMFH: - Fixed bug #35409 (undefined reference to 'rl_completion_matches').
foobar [Mon, 28 Nov 2005 16:51:16 +0000 (16:51 +0000)]
MFH: - Fixed bug #35409 (undefined reference to 'rl_completion_matches').

19 years agoFixed bug #35393 (changing static protected members from outside the class, one more...
Dmitry Stogov [Mon, 28 Nov 2005 14:33:03 +0000 (14:33 +0000)]
Fixed bug #35393 (changing static protected members from outside the class, one more reference issue)

19 years agomysql 4.1.x gives strange result. the result in the test is generated with
Andrey Hristov [Mon, 28 Nov 2005 13:35:54 +0000 (13:35 +0000)]
mysql 4.1.x gives strange result. the result in the test is generated with
5.0.16 (valid for 5.1.3).

19 years agoMFH: - Fixed bug #35381 (ssl library is not initialized properly)
foobar [Mon, 28 Nov 2005 11:37:43 +0000 (11:37 +0000)]
MFH: - Fixed bug #35381 (ssl library is not initialized properly)

19 years agoFixed bug #35399 (Since fix of bug #35273 SOAP decoding of soapenc:base64binary fails)
Dmitry Stogov [Mon, 28 Nov 2005 10:08:34 +0000 (10:08 +0000)]
Fixed bug #35399 (Since fix of bug #35273 SOAP decoding of soapenc:base64binary fails)

19 years agoprep for release
Wez Furlong [Mon, 28 Nov 2005 06:39:53 +0000 (06:39 +0000)]
prep for release

19 years agoAPI for connection dependent objects to add/del refs to dbh's.
Wez Furlong [Mon, 28 Nov 2005 05:23:22 +0000 (05:23 +0000)]
API for connection dependent objects to add/del refs to dbh's.

19 years ago- Fixed wrong usage of AC_TRY_COMPILE() macro
foobar [Sun, 27 Nov 2005 23:22:43 +0000 (23:22 +0000)]
- Fixed wrong usage of AC_TRY_COMPILE() macro

19 years agouse || instead of -o to support weird systems with old `test`
Antony Dovgal [Sun, 27 Nov 2005 22:59:54 +0000 (22:59 +0000)]
use || instead of -o to support weird systems with old `test`

19 years agoupdate changelog here too
Wez Furlong [Sun, 27 Nov 2005 21:18:24 +0000 (21:18 +0000)]
update changelog here too

19 years agoBFN
Wez Furlong [Sun, 27 Nov 2005 21:17:17 +0000 (21:17 +0000)]
BFN

19 years agoFix #35431; LAZY fetch and fetchAll == crash.
Wez Furlong [Sun, 27 Nov 2005 21:01:58 +0000 (21:01 +0000)]
Fix #35431; LAZY fetch and fetchAll == crash.
Lazy makes no sense with fetchAll; disallow it.

19 years agoMFH: fix #35430 (PDO crashes on incorrect FETCH_FUNC use)
Antony Dovgal [Sun, 27 Nov 2005 21:01:02 +0000 (21:01 +0000)]
MFH: fix #35430 (PDO crashes on incorrect FETCH_FUNC use)

19 years agoImproved safe_mode/open_basedir check.
Ilia Alshanetsky [Sun, 27 Nov 2005 20:07:36 +0000 (20:07 +0000)]
Improved safe_mode/open_basedir check.

19 years agoMFH: plug memory leak
Antony Dovgal [Sun, 27 Nov 2005 18:36:11 +0000 (18:36 +0000)]
MFH: plug memory leak
fix config.m4

19 years agoBack to dev
Ilia Alshanetsky [Sun, 27 Nov 2005 17:29:54 +0000 (17:29 +0000)]
Back to dev

19 years agoBack from future
foobar [Sun, 27 Nov 2005 16:33:18 +0000 (16:33 +0000)]
Back from future

19 years agoremoved no longer relevant portion.
Ilia Alshanetsky [Sun, 27 Nov 2005 15:39:09 +0000 (15:39 +0000)]
removed no longer relevant portion.

19 years agoAdjust news
Ilia Alshanetsky [Sun, 27 Nov 2005 15:38:07 +0000 (15:38 +0000)]
Adjust news

19 years ago5.1.1
Ilia Alshanetsky [Sun, 27 Nov 2005 14:19:40 +0000 (14:19 +0000)]
5.1.1

19 years agofix news
foobar [Sun, 27 Nov 2005 13:24:53 +0000 (13:24 +0000)]
fix news

19 years ago- BFN
Marcus Boerger [Sun, 27 Nov 2005 12:24:55 +0000 (12:24 +0000)]
- BFN

19 years ago- Fixed bug #35423 RecursiveDirectoryIterator doesnt appear to recurse with Recursive...
Marcus Boerger [Sun, 27 Nov 2005 12:22:54 +0000 (12:22 +0000)]
- Fixed bug #35423 RecursiveDirectoryIterator doesnt appear to recurse with RecursiveFilterIterator

19 years agoBFN
Rob Richards [Sun, 27 Nov 2005 12:22:04 +0000 (12:22 +0000)]
BFN

19 years agoFixed bug #35316 (Application exception trying to create COM object)
Rob Richards [Sun, 27 Nov 2005 12:19:04 +0000 (12:19 +0000)]
Fixed bug #35316 (Application exception trying to create COM object)

19 years ago- MFH Editor blocks
Marcus Boerger [Sun, 27 Nov 2005 12:16:14 +0000 (12:16 +0000)]
- MFH Editor blocks

19 years ago- MFH Synch with what we decided for 5 and what we are practicing since 5
Marcus Boerger [Sun, 27 Nov 2005 11:06:07 +0000 (11:06 +0000)]
- MFH Synch with what we decided for 5 and what we are practicing since 5

19 years agoDisabled native date class, to prevent pear::date conflict.
Ilia Alshanetsky [Sun, 27 Nov 2005 06:51:43 +0000 (06:51 +0000)]
Disabled native date class, to prevent pear::date conflict.

19 years agotokenizer fixes for bug #35382
Ilia Alshanetsky [Sun, 27 Nov 2005 06:41:32 +0000 (06:41 +0000)]
tokenizer fixes for bug #35382
Bug fixing news

19 years agoFixed bug #35411 (Regression with \{$ handling).
Ilia Alshanetsky [Sun, 27 Nov 2005 06:39:31 +0000 (06:39 +0000)]
Fixed bug #35411 (Regression with \{$ handling).
Fixed bug #35382 (Comment in end of file produces fatal error).

19 years agoupdate the todo list
Wez Furlong [Sat, 26 Nov 2005 21:29:31 +0000 (21:29 +0000)]
update the todo list

19 years agogoing stable
Wez Furlong [Sat, 26 Nov 2005 21:25:39 +0000 (21:25 +0000)]
going stable

19 years agogoing to release 1.0.1
Wez Furlong [Sat, 26 Nov 2005 21:22:49 +0000 (21:22 +0000)]
going to release 1.0.1

19 years agoDoh, need to canonicalize parameter names (by prefixing with :) before
Wez Furlong [Sat, 26 Nov 2005 21:20:52 +0000 (21:20 +0000)]
Doh, need to canonicalize parameter names (by prefixing with :) before
attempting to remap them to positional args.

19 years agoBug fixing news
Ilia Alshanetsky [Sat, 26 Nov 2005 21:04:42 +0000 (21:04 +0000)]
Bug fixing news

19 years agoNo longer dev
Ilia Alshanetsky [Sat, 26 Nov 2005 21:03:44 +0000 (21:03 +0000)]
No longer dev

19 years agoset to 1.0 stable.
Wez Furlong [Sat, 26 Nov 2005 20:50:08 +0000 (20:50 +0000)]
set to 1.0 stable.

19 years agofix test
foobar [Sat, 26 Nov 2005 13:38:28 +0000 (13:38 +0000)]
fix test

19 years ago- MFH Add new test
Marcus Boerger [Sat, 26 Nov 2005 13:23:27 +0000 (13:23 +0000)]
- MFH Add new test

19 years ago- BFN
Marcus Boerger [Sat, 26 Nov 2005 13:12:52 +0000 (13:12 +0000)]
- BFN

19 years ago- MFH Fix bug #35406 eval hangs when evall'ed code ends with comment w/o newline
Marcus Boerger [Sat, 26 Nov 2005 13:11:26 +0000 (13:11 +0000)]
- MFH Fix bug #35406 eval hangs when evall'ed code ends with comment w/o newline

19 years agofix Timezone class too
Antony Dovgal [Sat, 26 Nov 2005 12:35:27 +0000 (12:35 +0000)]
fix Timezone class too

19 years agoMFH: fix #35402 (New date class causes crash in get_object_vars())
Antony Dovgal [Sat, 26 Nov 2005 09:40:54 +0000 (09:40 +0000)]
MFH: fix #35402 (New date class causes crash in get_object_vars())

19 years agoTypo
Rasmus Lerdorf [Sat, 26 Nov 2005 06:22:14 +0000 (06:22 +0000)]
Typo

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