]> granicus.if.org Git - php/log
php
14 years agoAdded inTransaction() method to PDO, with specialized support for Postgres
Ilia Alshanetsky [Thu, 10 Jun 2010 12:11:19 +0000 (12:11 +0000)]
Added inTransaction() method to PDO, with specialized support for Postgres

14 years agoFixed bug #51822i (Segfault with strange __destruct() for static class variables)
Dmitry Stogov [Thu, 10 Jun 2010 11:45:51 +0000 (11:45 +0000)]
Fixed bug #51822i (Segfault with strange __destruct() for static class variables)

14 years agoAdded support for copy to/from array/file for pdo_pgsql extension.
Ilia Alshanetsky [Thu, 10 Jun 2010 11:11:29 +0000 (11:11 +0000)]
Added support for copy to/from array/file for pdo_pgsql extension.
# original patch by Denis Gasparin

14 years agovoid functions return nothing
Andrey Hristov [Thu, 10 Jun 2010 09:37:58 +0000 (09:37 +0000)]
void functions return nothing

14 years agoFixed bug #52001 (Memory allocation problems after using variable variables)
Dmitry Stogov [Thu, 10 Jun 2010 09:13:22 +0000 (09:13 +0000)]
Fixed bug #52001 (Memory allocation problems after using variable variables)

14 years agoExplicitly use db-5.0 and don't default to db sym link
Christopher Jones [Wed, 9 Jun 2010 17:33:44 +0000 (17:33 +0000)]
Explicitly use db-5.0 and don't default to db sym link

14 years agoFixed bug #52010 (open_basedir restrictions mismatch on vacuum command).
Ilia Alshanetsky [Wed, 9 Jun 2010 16:04:54 +0000 (16:04 +0000)]
Fixed bug #52010 (open_basedir restrictions mismatch on vacuum command).

14 years agoFixed bug #51273 (Faultstring property does not exist when the faultstring is empty)
Ilia Alshanetsky [Wed, 9 Jun 2010 15:48:22 +0000 (15:48 +0000)]
Fixed bug #51273 (Faultstring property does not exist when the faultstring is empty)

# Patch by dennis at transip dot nl

14 years ago- [DOC] MFH: add session.entropy* support to windows
Pierre Joye [Tue, 8 Jun 2010 22:30:16 +0000 (22:30 +0000)]
- [DOC] MFH: add session.entropy* support to windows

14 years ago- restore previous setting
Pierre Joye [Tue, 8 Jun 2010 22:27:14 +0000 (22:27 +0000)]
- restore previous setting

14 years ago - Fixed Bug #51168 (fails to compile with Sun Studio)
Sriram Natarajan [Tue, 8 Jun 2010 21:23:48 +0000 (21:23 +0000)]
 - Fixed Bug #51168 (fails to compile with Sun Studio)
 # C99 standard supports inline keyword and supported by
 # by major compilers like GCC, HP C, IBM C and Sun C

14 years ago- Fix order
Felipe Pena [Tue, 8 Jun 2010 19:47:04 +0000 (19:47 +0000)]
- Fix order

14 years agosupport both 'warn' and 'warning' as error levels
Antony Dovgal [Tue, 8 Jun 2010 18:59:11 +0000 (18:59 +0000)]
support both 'warn' and 'warning' as error levels

14 years ago- use new function to get random bytes
Pierre Joye [Tue, 8 Jun 2010 18:27:23 +0000 (18:27 +0000)]
- use new function to get random bytes

14 years ago- WS
Pierre Joye [Tue, 8 Jun 2010 18:26:03 +0000 (18:26 +0000)]
- WS

14 years agoMake the tests pass with sql strict mode enabled
Ulf Wendel [Tue, 8 Jun 2010 15:47:51 +0000 (15:47 +0000)]
Make the tests pass with sql strict mode enabled

14 years agoPortability improvement
Ulf Wendel [Tue, 8 Jun 2010 14:57:10 +0000 (14:57 +0000)]
Portability improvement

14 years agoPortability improvements
Ulf Wendel [Tue, 8 Jun 2010 14:29:05 +0000 (14:29 +0000)]
Portability improvements

14 years ago- duplicate entry
Pierre Joye [Tue, 8 Jun 2010 13:48:02 +0000 (13:48 +0000)]
- duplicate entry

14 years ago- [DOC] add session.entropy* support to windows
Pierre Joye [Tue, 8 Jun 2010 13:46:19 +0000 (13:46 +0000)]
- [DOC] add session.entropy* support to windows

14 years agofix bug #50101 (name clash between global and local variable)
Antony Dovgal [Tue, 8 Jun 2010 13:27:30 +0000 (13:27 +0000)]
fix bug #50101 (name clash between global and local variable)

14 years agoMore SQL strict mode updates
Ulf Wendel [Tue, 8 Jun 2010 13:05:49 +0000 (13:05 +0000)]
More SQL strict mode updates

14 years ago- add striped down version of RNG layer to have a reliable random src on windows
Pierre Joye [Tue, 8 Jun 2010 13:00:54 +0000 (13:00 +0000)]
- add striped down version of RNG layer to have a reliable random src on windows

14 years ago- add striped down version of RNG layer to have a reliable random src on windows
Pierre Joye [Tue, 8 Jun 2010 13:00:11 +0000 (13:00 +0000)]
- add striped down version of RNG layer to have a reliable random src on windows

14 years agofix bug #51276 (php_load_extension() is missing when HAVE_LIBDL is undefined)
Antony Dovgal [Tue, 8 Jun 2010 12:54:11 +0000 (12:54 +0000)]
fix bug #51276 (php_load_extension() is missing when HAVE_LIBDL is undefined)

14 years agofix micro-memleaks (happened once per process)
Antony Dovgal [Tue, 8 Jun 2010 12:02:55 +0000 (12:02 +0000)]
fix micro-memleaks (happened once per process)

14 years agoMaking tests pass strict sql mode.
Ulf Wendel [Tue, 8 Jun 2010 10:55:12 +0000 (10:55 +0000)]
Making tests pass strict sql mode.

14 years ago- Let's generate this #ifdef only on zend_vm_execute.h
Felipe Pena [Mon, 7 Jun 2010 23:04:30 +0000 (23:04 +0000)]
- Let's generate this #ifdef only on zend_vm_execute.h

14 years ago- Fix script
Felipe Pena [Mon, 7 Jun 2010 14:37:35 +0000 (14:37 +0000)]
- Fix script

14 years ago- show the free_op1 warning only once, until a fix is applied
Pierre Joye [Mon, 7 Jun 2010 01:37:59 +0000 (01:37 +0000)]
- show the free_op1 warning only once, until a fix is applied

14 years ago- show the free_op1 warning only once, until a fix is applied
Pierre Joye [Sun, 6 Jun 2010 20:32:51 +0000 (20:32 +0000)]
- show the free_op1 warning only once, until a fix is applied

14 years ago- silent warning (unary minus operator applied to unsigned type)
Pierre Joye [Sun, 6 Jun 2010 15:28:30 +0000 (15:28 +0000)]
- silent warning (unary minus operator applied to unsigned type)

14 years ago- label only used when mmap is available
Pierre Joye [Sun, 6 Jun 2010 12:32:25 +0000 (12:32 +0000)]
- label only used when mmap is available

14 years agoNew test for file_exists (bug #39863). It currently xfail's
Christopher Jones [Sat, 5 Jun 2010 19:44:48 +0000 (19:44 +0000)]
New test for file_exists (bug #39863).  It currently xfail's

14 years ago- Fixed bug #51991 (spl_autoload and *nix support with namespace)
Felipe Pena [Fri, 4 Jun 2010 00:10:15 +0000 (00:10 +0000)]
- Fixed bug #51991 (spl_autoload and *nix support with namespace)

14 years ago- Fix proto and argname
Felipe Pena [Thu, 3 Jun 2010 18:39:21 +0000 (18:39 +0000)]
- Fix proto and argname

14 years ago- Added ZipArchive arginfo
Felipe Pena [Thu, 3 Jun 2010 18:23:14 +0000 (18:23 +0000)]
- Added ZipArchive arginfo

14 years agoAdd Berkeley DB 5 support. (An outstanding issue with BDB 4.8 related to 51086 that...
Christopher Jones [Thu, 3 Jun 2010 07:03:05 +0000 (07:03 +0000)]
Add Berkeley DB 5 support.  (An outstanding issue with BDB 4.8 related to 51086 that also affects BDB 5 is not yet resolved)

14 years ago- Fix memleak when passing a non string/object parameter
Felipe Pena [Thu, 3 Jun 2010 00:43:37 +0000 (00:43 +0000)]
- Fix memleak when passing a non string/object parameter

14 years agovim fail
Rasmus Lerdorf [Wed, 2 Jun 2010 19:26:10 +0000 (19:26 +0000)]
vim fail

14 years agoTweak the fix for bug #51847 to still call libintl_setlocale
Rasmus Lerdorf [Wed, 2 Jun 2010 19:24:36 +0000 (19:24 +0000)]
Tweak the fix for bug #51847 to still call libintl_setlocale
when libintl has done that redefine.

14 years ago- silent warning
Pierre Joye [Wed, 2 Jun 2010 19:20:04 +0000 (19:20 +0000)]
- silent warning

14 years ago- fix leak on error in mcrypt_create_iv on windows
Pierre Joye [Wed, 2 Jun 2010 15:27:38 +0000 (15:27 +0000)]
- fix leak on error in mcrypt_create_iv on windows

14 years ago- allow shared build
Pierre Joye [Wed, 2 Jun 2010 10:00:58 +0000 (10:00 +0000)]
- allow shared build

14 years agoFix for bug #51847
Rasmus Lerdorf [Wed, 2 Jun 2010 05:53:13 +0000 (05:53 +0000)]
Fix for bug #51847
Someone in libintl world decided it was a good idea to do:

#undef setlocale
#define setlocale libintl_setlocale

That means, of course, that any use of "setlocale" by the
preprocessor now becomes libintl_setlocale which means we
no longer have a _zif_setlocale symbol in string.o, but we
magically have a _zif_libintl_setlocale symbol.  The linker
is obviously not very happy about this when basic_functions.o
tries to find _zif_setlocale.

So, let's not do that again.

14 years agoBerkeley DB 5's SQL frontend gives a slightly different error than libsqlite
Johannes Schlüter [Tue, 1 Jun 2010 16:39:36 +0000 (16:39 +0000)]
Berkeley DB 5's SQL frontend gives a slightly different error than libsqlite

14 years agodefensive programming, check before using a resource
Andrey Hristov [Tue, 1 Jun 2010 14:16:27 +0000 (14:16 +0000)]
defensive programming, check before using a resource

14 years agoPerform later initialization
Andrey Hristov [Tue, 1 Jun 2010 09:47:46 +0000 (09:47 +0000)]
Perform later initialization

14 years agoMore check for valid MYSQLND_STMT before using it
Andrey Hristov [Mon, 31 May 2010 18:26:19 +0000 (18:26 +0000)]
More check for valid MYSQLND_STMT before using it

14 years agoDon't reference row_packet before checking if dereferencing is possible
Andrey Hristov [Mon, 31 May 2010 18:18:37 +0000 (18:18 +0000)]
Don't reference row_packet before checking if dereferencing is possible

14 years agoCheck if data is correct and initialize in a safe manner
Andrey Hristov [Mon, 31 May 2010 18:10:25 +0000 (18:10 +0000)]
Check if data is correct and initialize in a safe manner

14 years agoHandle problems in the row_decoder, return type used to be void,
Andrey Hristov [Mon, 31 May 2010 17:57:03 +0000 (17:57 +0000)]
Handle problems in the row_decoder, return type used to be void,
now it can return on problems.

14 years agoBail if allocation fails
Andrey Hristov [Mon, 31 May 2010 17:09:13 +0000 (17:09 +0000)]
Bail if allocation fails

14 years agoFix test
Andrey Hristov [Mon, 31 May 2010 16:53:33 +0000 (16:53 +0000)]
Fix test

14 years agotry to workaround problems with non-c99 on HPUX
Andrey Hristov [Mon, 31 May 2010 16:51:03 +0000 (16:51 +0000)]
try to workaround problems with non-c99 on HPUX

14 years agoUpdating test to reflect the latest and more verbose mysqlnd error messages, updating...
Ulf Wendel [Mon, 31 May 2010 13:56:42 +0000 (13:56 +0000)]
Updating test to reflect the latest and more verbose mysqlnd error messages, updating mysqlnd error message as well.

14 years agoFixing test - see also gcov results
Ulf Wendel [Mon, 31 May 2010 13:28:15 +0000 (13:28 +0000)]
Fixing test - see also gcov results

14 years agoFixing test - make sure it checks the same conditions for libmysql and mysqlnd
Ulf Wendel [Mon, 31 May 2010 12:55:59 +0000 (12:55 +0000)]
Fixing test - make sure it checks the same conditions for libmysql and mysqlnd

14 years agoFixing test
Ulf Wendel [Mon, 31 May 2010 12:22:48 +0000 (12:22 +0000)]
Fixing test

14 years agoFixing mysqli_stmt_attr_set @ libmysql
Ulf Wendel [Mon, 31 May 2010 12:10:04 +0000 (12:10 +0000)]
Fixing mysqli_stmt_attr_set @ libmysql

14 years agoImprove EXPECTF to work with other than default schemata
Ulf Wendel [Mon, 31 May 2010 10:52:14 +0000 (10:52 +0000)]
Improve EXPECTF to work with other than default schemata

14 years ago- Added recent Windows versions to php_uname and fix undefined windows version
Pierre Joye [Sun, 30 May 2010 07:46:45 +0000 (07:46 +0000)]
- Added recent Windows versions to php_uname and fix undefined windows version

14 years ago- ws
Pierre Joye [Sun, 30 May 2010 07:36:19 +0000 (07:36 +0000)]
- ws

14 years agofix commit 299383
Jérôme Loyet [Sat, 29 May 2010 22:00:43 +0000 (22:00 +0000)]
fix commit 299383

14 years agotypo (thx to Brian P. Mercer)
Jérôme Loyet [Sat, 29 May 2010 10:39:35 +0000 (10:39 +0000)]
typo (thx to Brian P. Mercer)

14 years agoFixed bug #50976 (Soap headers Authorization not allowed)
Dmitry Stogov [Fri, 28 May 2010 12:18:03 +0000 (12:18 +0000)]
Fixed bug #50976 (Soap headers Authorization not allowed)

14 years agoFixed bug #50762 (in WSDL mode Soap Header handler function only being called if...
Dmitry Stogov [Fri, 28 May 2010 10:52:16 +0000 (10:52 +0000)]
Fixed bug #50762 (in WSDL mode Soap Header handler function only being called if defined in WSDL). (mephius at gmail dot com)

14 years agoThese files talk about PHP 3, flex, CVS, ... interesting to archeologists only
Johannes Schlüter [Thu, 27 May 2010 23:12:44 +0000 (23:12 +0000)]
These files talk about PHP 3, flex, CVS, ... interesting to archeologists only

14 years agoUpdate EXTENSIONS file
Johannes Schlüter [Thu, 27 May 2010 23:08:39 +0000 (23:08 +0000)]
Update EXTENSIONS file

14 years agoUpdate credits
Johannes Schlüter [Thu, 27 May 2010 22:51:28 +0000 (22:51 +0000)]
Update credits

14 years agoMake the credits script more verbose
Johannes Schlüter [Thu, 27 May 2010 22:50:31 +0000 (22:50 +0000)]
Make the credits script more verbose

14 years agoFrom user's perspective this was added
Johannes Schlüter [Thu, 27 May 2010 22:41:36 +0000 (22:41 +0000)]
From user's perspective this was added

14 years agobug: include paths were not evaluated to to full path
Jérôme Loyet [Thu, 27 May 2010 22:31:28 +0000 (22:31 +0000)]
bug: include paths were not evaluated to to full path

14 years agotypo
Jérôme Loyet [Thu, 27 May 2010 22:18:58 +0000 (22:18 +0000)]
typo

14 years agoOpen server bug: mysqlnd works around it, libmysql fails. Let's skip because MySQL...
Ulf Wendel [Thu, 27 May 2010 13:01:17 +0000 (13:01 +0000)]
Open server bug: mysqlnd works around it, libmysql fails. Let's skip because MySQL Server version tests are tricky and error prone.

14 years agoCheck before use, because mysqlnd can return NULL
Andrey Hristov [Thu, 27 May 2010 12:44:10 +0000 (12:44 +0000)]
Check before use, because mysqlnd can return NULL
and this will crash. However, this can happen only in case of OOM.

14 years agoDon't use NULL pointer, always check before use
Andrey Hristov [Thu, 27 May 2010 12:39:12 +0000 (12:39 +0000)]
Don't use NULL pointer, always check before use

14 years agoTest fixes and updates to work with a wider range of MySQL server configs
Ulf Wendel [Thu, 27 May 2010 12:09:39 +0000 (12:09 +0000)]
Test fixes and updates to work with a wider range of MySQL server configs

14 years agoFix possible crashes, in case of OOM, due to half-baken
Andrey Hristov [Thu, 27 May 2010 12:05:02 +0000 (12:05 +0000)]
Fix possible crashes, in case of OOM, due to half-baken
objects.

14 years agoFix crashes in the allocator in case of OOM.
Andrey Hristov [Thu, 27 May 2010 12:00:48 +0000 (12:00 +0000)]
Fix crashes in the allocator in case of OOM.

14 years agoFix deallocation which can crash if the object is half-baken.
Andrey Hristov [Thu, 27 May 2010 08:51:46 +0000 (08:51 +0000)]
Fix deallocation which can crash if the object is half-baken.
Happens during OOM.

14 years agomerge FPM SAPI from trunk (as agreed with Johannes)
Antony Dovgal [Wed, 26 May 2010 15:14:43 +0000 (15:14 +0000)]
merge FPM SAPI from trunk (as agreed with Johannes)

14 years agoDon't use conn->net without checking if it is NULL, because
Andrey Hristov [Wed, 26 May 2010 13:47:43 +0000 (13:47 +0000)]
Don't use conn->net without checking if it is NULL, because
it can be NULL in OOM conditions. This would cause a crash.

14 years agoFix test
Andrey Hristov [Wed, 26 May 2010 13:36:49 +0000 (13:36 +0000)]
Fix test

14 years agoAdd checks to check the underlying pointer in the resource.
Andrey Hristov [Wed, 26 May 2010 07:28:43 +0000 (07:28 +0000)]
Add checks to check the underlying pointer in the resource.
It can happen that the underlying pointer is freed (like in
the case of connection reconnect), and then it cannot be allocated
anymore, which means that NULL will be used consequently by the
functions that fetch the resource and the crash is immediate.

14 years ago- Fixed bug #51899 (Parse error in parse_ini_file() function when empy value followed...
Felipe Pena [Wed, 26 May 2010 02:18:17 +0000 (02:18 +0000)]
- Fixed bug #51899 (Parse error in parse_ini_file() function when empy value followed by no newline)

14 years ago- Fixed bug #51905 (ReflectionParameter fails if default value is an array with an...
Felipe Pena [Wed, 26 May 2010 00:00:58 +0000 (00:00 +0000)]
- Fixed bug #51905 (ReflectionParameter fails if default value is an array with an access to self::)

14 years agoHandle the situation when MYSQLND_PROTOCOL's methods return NULL.
Andrey Hristov [Tue, 25 May 2010 23:18:13 +0000 (23:18 +0000)]
Handle the situation when MYSQLND_PROTOCOL's methods return NULL.
mysqlnd should not crash but gracefully return with an error.

14 years agoHandle the situation when mysql_init()/mysqlnd_init()
Andrey Hristov [Tue, 25 May 2010 22:55:10 +0000 (22:55 +0000)]
Handle the situation when mysql_init()/mysqlnd_init()
return NULL. It is a rare case of OOM but PHP shouldn't crash, if possible.

14 years ago- Fixed bug #51911 (ReflectionParameter::getDefaultValue() memory leaks with constant...
Felipe Pena [Tue, 25 May 2010 22:46:17 +0000 (22:46 +0000)]
- Fixed bug #51911 (ReflectionParameter::getDefaultValue() memory leaks with constant array)

14 years agoGracefully handle OOM in mysqlnd_stmt_init. Release the handle
Andrey Hristov [Tue, 25 May 2010 22:42:25 +0000 (22:42 +0000)]
Gracefully handle OOM in mysqlnd_stmt_init. Release the handle
and return NULL.

14 years agoInit should return status value because initialization can fail.
Andrey Hristov [Tue, 25 May 2010 22:40:47 +0000 (22:40 +0000)]
Init should return status value because initialization can fail.
In this case mysqlnd_init() should return NULL to the end-user.

14 years agoUse the specialized macro for this case
Andrey Hristov [Tue, 25 May 2010 22:38:11 +0000 (22:38 +0000)]
Use the specialized macro for this case

14 years agoUse only memory that has been allocated
Andrey Hristov [Tue, 25 May 2010 22:36:33 +0000 (22:36 +0000)]
Use only memory that has been allocated

14 years agoAccess memory which was really allocated
Andrey Hristov [Tue, 25 May 2010 22:34:47 +0000 (22:34 +0000)]
Access memory which was really allocated

14 years agoFix shared build
Andrey Hristov [Tue, 25 May 2010 21:54:21 +0000 (21:54 +0000)]
Fix shared build

14 years agoHandle OOM in the code that generates PS Execute requests
Andrey Hristov [Tue, 25 May 2010 19:19:29 +0000 (19:19 +0000)]
Handle OOM in the code that generates PS Execute requests
to the server. Fixes crashes in case of OOM.

14 years agoFix metadata duplicatin which wasn't crash-safe in case of OOM.
Andrey Hristov [Tue, 25 May 2010 18:14:37 +0000 (18:14 +0000)]
Fix metadata duplicatin which wasn't crash-safe in case of OOM.

14 years agoCheck for -1 as well here
Rasmus Lerdorf [Mon, 24 May 2010 23:52:11 +0000 (23:52 +0000)]
Check for -1 as well here

14 years agoLet's have a sane error message here instead of some cryptic zlib error
Rasmus Lerdorf [Mon, 24 May 2010 23:27:39 +0000 (23:27 +0000)]
Let's have a sane error message here instead of some cryptic zlib error