]> granicus.if.org Git - php/log
php
14 years ago- #51424, silent warnings on win
Pierre Joye [Tue, 15 Jun 2010 13:43:15 +0000 (13:43 +0000)]
- #51424, silent warnings on win

14 years agoTests for SplTempFileObject
Ben Longden [Tue, 15 Jun 2010 10:50:53 +0000 (10:50 +0000)]
Tests for SplTempFileObject

Basic usage (no params)
Basic usage (with max memory specified)
Variation (passing a neg value to the constructor)
Error (Passing a non long int value to constructor)

14 years ago- Fix #51424, crypt() function hangs after 3rd call
Pierre Joye [Tue, 15 Jun 2010 09:26:22 +0000 (09:26 +0000)]
- Fix #51424, crypt() function hangs after 3rd call

14 years agoFixed bug #52041 (Memory leak when writing on uninitialized variable returned from...
Dmitry Stogov [Tue, 15 Jun 2010 08:22:51 +0000 (08:22 +0000)]
Fixed bug #52041 (Memory leak when writing on uninitialized variable returned from function)

14 years agoFix the test for libmysql, which expects the certificates
Andrey Hristov [Mon, 14 Jun 2010 18:23:17 +0000 (18:23 +0000)]
Fix the test for libmysql, which expects the certificates
to be in the directory where the interpreter is started. When
using mysqlnd they should not include path and will be found
in the directory of the script.

14 years agoAnd a fix for MySQL Server which is pre 5.1.23, which doesn't support
Andrey Hristov [Mon, 14 Jun 2010 18:19:13 +0000 (18:19 +0000)]
And a fix for MySQL Server which is pre 5.1.23, which doesn't support
preserving of the charset when performing change_user. This is libmysql
only code.

14 years agoFixed bug #52082 (character_set_client & character_set_connection reset after
Andrey Hristov [Mon, 14 Jun 2010 17:16:20 +0000 (17:16 +0000)]
Fixed bug #52082 (character_set_client & character_set_connection reset after
mysqli_change_user())

libmysql >= 5.1.23 will PASS, older library versions will fail

14 years ago- drop comment
Pierre Joye [Mon, 14 Jun 2010 09:15:20 +0000 (09:15 +0000)]
- drop comment

14 years ago- #52043,GD doesn't recognize latest libJPEG version
Pierre Joye [Mon, 14 Jun 2010 08:12:10 +0000 (08:12 +0000)]
- #52043,GD doesn't recognize latest libJPEG version

14 years agoFix #52067, chroot and chdir path were not checked at startup. If configured with...
Jérôme Loyet [Sun, 13 Jun 2010 10:30:35 +0000 (10:30 +0000)]
Fix #52067, chroot and chdir path were not checked at startup. If configured with unexistant directories, FPM entered in an error loop.

14 years ago- Fixed bug #49320 (PDO returns null when SQLite connection fails)
Felipe Pena [Sat, 12 Jun 2010 22:04:48 +0000 (22:04 +0000)]
- Fixed bug #49320 (PDO returns null when SQLite connection fails)

14 years ago- Allow write context on array dereferencing from method return
Felipe Pena [Sat, 12 Jun 2010 16:11:10 +0000 (16:11 +0000)]
- Allow write context on array dereferencing from method return
- New tests

14 years ago- Fixed bug #52051 (handling of case sensitivity of old-style constructors changed...
Felipe Pena [Sat, 12 Jun 2010 15:30:21 +0000 (15:30 +0000)]
- Fixed bug #52051 (handling of case sensitivity of old-style constructors changed in 5.3+)

14 years ago- Fixed bug #52057 (ReflectionClass fails on Closure class)
Felipe Pena [Fri, 11 Jun 2010 23:37:55 +0000 (23:37 +0000)]
- Fixed bug #52057 (ReflectionClass fails on Closure class)

14 years ago- Fixed bug #52060 (Memory leak when passing a closure to method_exists())
Felipe Pena [Fri, 11 Jun 2010 23:20:13 +0000 (23:20 +0000)]
- Fixed bug #52060 (Memory leak when passing a closure to method_exists())

14 years ago- Fixed bug #52019 (make lcov doesn't support TESTS variable anymore)
Patrick Allaert [Fri, 11 Jun 2010 14:04:57 +0000 (14:04 +0000)]
- Fixed bug #52019 (make lcov doesn't support TESTS variable anymore)

14 years agoFixed bug #51552 (debug_backtrace() causes segmentation fault and/or memory issues)
Dmitry Stogov [Fri, 11 Jun 2010 08:53:31 +0000 (08:53 +0000)]
Fixed bug #51552 (debug_backtrace() causes segmentation fault and/or memory issues)

14 years agoFixing tests
Ulf Wendel [Thu, 10 Jun 2010 13:40:13 +0000 (13:40 +0000)]
Fixing tests

14 years agoexport mysqlnd_globals_id, per Johannes
Andrey Hristov [Thu, 10 Jun 2010 12:24:03 +0000 (12:24 +0000)]
export mysqlnd_globals_id, per Johannes

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 agofix minor memleak
Antony Dovgal [Wed, 9 Jun 2010 11:04:03 +0000 (11:04 +0000)]
fix minor memleak

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 - 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 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- Fix ZTS build
Felipe Pena [Tue, 8 Jun 2010 18:02:10 +0000 (18:02 +0000)]
- Fix ZTS build

14 years agoFixed issue with statics in traits.
Stefan Marr [Tue, 8 Jun 2010 15:56:36 +0000 (15:56 +0000)]
Fixed issue with statics in traits.
#Please review this change, I moved the routine which copies statics from the closure code to zend_variables.c
#Please also have a look to check whether the TSRMLS_DC is correct, and whether it fits with the rest in zend_variables, because there you are using some macro magic and I am not exactly sure what the reason is for that.

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: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- Added array dereferencing support [DOC]
Felipe Pena [Tue, 8 Jun 2010 00:05:29 +0000 (00:05 +0000)]
- Added array dereferencing support [DOC]
# http://wiki.php.net/rfc/functionarraydereferencing

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- Update
Felipe Pena [Mon, 7 Jun 2010 14:51:12 +0000 (14:51 +0000)]
- Update

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 test
Felipe Pena [Thu, 3 Jun 2010 23:22:39 +0000 (23:22 +0000)]
- Fix test

14 years ago- New ReflectionClass method
Felipe Pena [Thu, 3 Jun 2010 19:08:25 +0000 (19:08 +0000)]
- New ReflectionClass method

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 ago- Added BG(serialize) and BG(unserialize) initialization
Felipe Pena [Thu, 3 Jun 2010 15:08:06 +0000 (15:08 +0000)]
- Added BG(serialize) and BG(unserialize) initialization

14 years ago- One more reflection entry
Johannes Schlüter [Thu, 3 Jun 2010 12:46:14 +0000 (12:46 +0000)]
- One more reflection entry

14 years ago- Added the three new ReflectionClass methods related to traits
Felipe Pena [Thu, 3 Jun 2010 12:31:22 +0000 (12:31 +0000)]
- Added the three new ReflectionClass methods related to traits

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:14:35 +0000 (00:14 +0000)]
- Fix memleak when passing a non string/object parameter

14 years ago- Fix test
Felipe Pena [Thu, 3 Jun 2010 00:13:27 +0000 (00:13 +0000)]
- Fix test

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- Save an object_init_ex() and zval_dtor() calls on ReflectionClass::isCloneable()
Felipe Pena [Wed, 2 Jun 2010 17:07:01 +0000 (17:07 +0000)]
- Save an object_init_ex() and zval_dtor() calls on ReflectionClass::isCloneable()

14 years ago- Removed clone_obj from PDORow object handlers, as zend_objects_store_clone_obj...
Felipe Pena [Wed, 2 Jun 2010 16:54:13 +0000 (16:54 +0000)]
- Removed clone_obj from PDORow object handlers, as zend_objects_store_clone_obj requires a clone handler (ce->clone == NULL -> error) and it is not supplied, hence it is being useless and leading ReflectionClass::isCloneable() to give false positive information

14 years ago- Added ReflectionClass::isCloneable() [DOC]
Felipe Pena [Wed, 2 Jun 2010 15:29:42 +0000 (15:29 +0000)]
- Added ReflectionClass::isCloneable() [DOC]

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 agofix cxx build
Michael Wallner [Wed, 2 Jun 2010 12:49:12 +0000 (12:49 +0000)]
fix cxx build

14 years ago- Fixed build and next_rowset prototype
Felipe Pena [Wed, 2 Jun 2010 12:20:38 +0000 (12:20 +0000)]
- Fixed build and next_rowset prototype

14 years ago- WS
Pierre Joye [Wed, 2 Jun 2010 10:07:26 +0000 (10:07 +0000)]
- WS

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 agoRemove unused variables
Pierrick Charron [Tue, 1 Jun 2010 17:13:50 +0000 (17:13 +0000)]
Remove unused variables

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 agofix fpm build
Michael Wallner [Tue, 1 Jun 2010 13:51:05 +0000 (13:51 +0000)]
fix fpm build

14 years ago* raise warning if zend_fcall_info_init() cannot resolve the callback
Michael Wallner [Tue, 1 Jun 2010 13:16:33 +0000 (13:16 +0000)]
* raise warning if zend_fcall_info_init() cannot resolve the callback
* fix pointer mismatch

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

14 years agoFix bug #50755 & Enable multiple rowsets [DOC]
Stanley Sufficool [Mon, 31 May 2010 18:38:22 +0000 (18:38 +0000)]
Fix bug #50755 & Enable multiple rowsets [DOC]

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 agonew output api NEWS
Michael Wallner [Mon, 31 May 2010 14:33:11 +0000 (14:33 +0000)]
new output api NEWS

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 agofix protos, and unintential double-patched content
Michael Wallner [Mon, 31 May 2010 13:54:13 +0000 (13:54 +0000)]
fix protos, and unintential double-patched content

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 agofix ZTS build
Antony Dovgal [Mon, 31 May 2010 12:02:55 +0000 (12:02 +0000)]
fix ZTS build

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