]>
granicus.if.org Git - php/log
Michael Wallner [Tue, 1 Jun 2010 13:51:05 +0000 (13:51 +0000)]
fix fpm build
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
Andrey Hristov [Tue, 1 Jun 2010 09:47:46 +0000 (09:47 +0000)]
Perform later initialization
Stanley Sufficool [Mon, 31 May 2010 18:38:22 +0000 (18:38 +0000)]
Fix bug #50755 & Enable multiple rowsets [DOC]
Andrey Hristov [Mon, 31 May 2010 18:26:19 +0000 (18:26 +0000)]
More check for valid MYSQLND_STMT before using it
Andrey Hristov [Mon, 31 May 2010 18:18:37 +0000 (18:18 +0000)]
Don't reference row_packet before checking if dereferencing is possible
Andrey Hristov [Mon, 31 May 2010 18:10:25 +0000 (18:10 +0000)]
Check if data is correct and initialize in a safe manner
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.
Andrey Hristov [Mon, 31 May 2010 17:09:13 +0000 (17:09 +0000)]
Bail if allocation fails
Andrey Hristov [Mon, 31 May 2010 16:53:33 +0000 (16:53 +0000)]
Fix test
Andrey Hristov [Mon, 31 May 2010 16:51:03 +0000 (16:51 +0000)]
try to workaround problems with non-c99 on HPUX
Michael Wallner [Mon, 31 May 2010 14:33:11 +0000 (14:33 +0000)]
new output api NEWS
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.
Michael Wallner [Mon, 31 May 2010 13:54:13 +0000 (13:54 +0000)]
fix protos, and unintential double-patched content
Ulf Wendel [Mon, 31 May 2010 13:28:15 +0000 (13:28 +0000)]
Fixing test - see also gcov results
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
Ulf Wendel [Mon, 31 May 2010 12:22:48 +0000 (12:22 +0000)]
Fixing test
Ulf Wendel [Mon, 31 May 2010 12:10:04 +0000 (12:10 +0000)]
Fixing mysqli_stmt_attr_set @ libmysql
Antony Dovgal [Mon, 31 May 2010 12:02:55 +0000 (12:02 +0000)]
fix ZTS build
Ulf Wendel [Mon, 31 May 2010 10:52:14 +0000 (10:52 +0000)]
Improve EXPECTF to work with other than default schemata
Michael Wallner [Mon, 31 May 2010 10:29:43 +0000 (10:29 +0000)]
* implement new output API, fixing some bugs and implementing some feature
requests--let's see what I can dig out of the bugtracker for NEWS--
and while crossing the road:
* implemented new zlib API
* fixed up ext/tidy (what was "s&" in zend_parse_parameters() supposed to do?)
Thanks to Jani and Felipe for pioneering.
Johannes Schlüter [Sun, 30 May 2010 09:34:02 +0000 (09:34 +0000)]
- token_get_all now returns false on error, not "", returns array on success
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
Pierre Joye [Sun, 30 May 2010 07:36:19 +0000 (07:36 +0000)]
- ws
Johannes Schlüter [Sun, 30 May 2010 01:00:45 +0000 (01:00 +0000)]
- More trait reflection work
#- I'm not happy about ReflectionClass::getTraitAliases, yet
Felipe Pena [Sat, 29 May 2010 22:08:51 +0000 (22:08 +0000)]
- Fixed ReflectionClass::isTrait() checking (to not identify abstract class as Trait)
Jérôme Loyet [Sat, 29 May 2010 22:00:43 +0000 (22:00 +0000)]
fix commit 299383
Felipe Pena [Sat, 29 May 2010 21:55:19 +0000 (21:55 +0000)]
- Missing Trait check fix
Felipe Pena [Sat, 29 May 2010 21:48:56 +0000 (21:48 +0000)]
- Fixed wrong abstract class identification (it was identified as a Trait)
Johannes Schlüter [Sat, 29 May 2010 21:28:24 +0000 (21:28 +0000)]
- Add some folding marks
Johannes Schlüter [Sat, 29 May 2010 20:40:58 +0000 (20:40 +0000)]
- Make reflection aware of traits
Johannes Schlüter [Sat, 29 May 2010 20:34:25 +0000 (20:34 +0000)]
- Fix tests
Johannes Schlüter [Sat, 29 May 2010 20:01:08 +0000 (20:01 +0000)]
- A method called like a trait is no constructor
Jérôme Loyet [Sat, 29 May 2010 10:39:35 +0000 (10:39 +0000)]
typo (thx to Brian P. Mercer)
Dmitry Stogov [Fri, 28 May 2010 12:18:03 +0000 (12:18 +0000)]
Fixed bug #50976 (Soap headers Authorization not allowed)
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)
Kalle Sommer Nielsen [Thu, 27 May 2010 23:24:06 +0000 (23:24 +0000)]
Fixed compiler warning (pointer mismatch)
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
Johannes Schlüter [Thu, 27 May 2010 23:08:39 +0000 (23:08 +0000)]
Update EXTENSIONS file
Johannes Schlüter [Thu, 27 May 2010 22:51:28 +0000 (22:51 +0000)]
Update credits
Johannes Schlüter [Thu, 27 May 2010 22:50:31 +0000 (22:50 +0000)]
Make the credits script more verbose
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
Jérôme Loyet [Thu, 27 May 2010 20:59:21 +0000 (20:59 +0000)]
typo
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.
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.
Andrey Hristov [Thu, 27 May 2010 12:39:12 +0000 (12:39 +0000)]
Don't use NULL pointer, always check before use
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
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.
Andrey Hristov [Thu, 27 May 2010 12:00:48 +0000 (12:00 +0000)]
Fix crashes in the allocator in case of OOM.
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.
Pierrick Charron [Wed, 26 May 2010 16:17:15 +0000 (16:17 +0000)]
Remove unused variable
Dmitry Stogov [Wed, 26 May 2010 15:42:59 +0000 (15:42 +0000)]
Conditional compilation is replaced by macro
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.
Andrey Hristov [Wed, 26 May 2010 13:36:49 +0000 (13:36 +0000)]
Fix test
Andrey Hristov [Wed, 26 May 2010 13:30:19 +0000 (13:30 +0000)]
Remove a function that has no usage. The zval cache was disabled/removed
in 5.3.0-RC3.
Ilia Alshanetsky [Wed, 26 May 2010 11:00:05 +0000 (11:00 +0000)]
Fixed test
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.
Michael Wallner [Wed, 26 May 2010 07:24:37 +0000 (07:24 +0000)]
Added support for object references in recursive serialize() calls. FR #36424
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)
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::)
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.
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.
Felipe Pena [Tue, 25 May 2010 22:46:17 +0000 (22:46 +0000)]
- Fixed bug #51911 (ReflectionParameter::getDefaultValue() memory leaks with constant array)
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.
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.
Andrey Hristov [Tue, 25 May 2010 22:38:11 +0000 (22:38 +0000)]
Use the specialized macro for this case
Andrey Hristov [Tue, 25 May 2010 22:36:33 +0000 (22:36 +0000)]
Use only memory that has been allocated
Andrey Hristov [Tue, 25 May 2010 22:34:47 +0000 (22:34 +0000)]
Access memory which was really allocated
Andrey Hristov [Tue, 25 May 2010 21:54:21 +0000 (21:54 +0000)]
Fix shared build
Antony Dovgal [Tue, 25 May 2010 20:16:14 +0000 (20:16 +0000)]
fix zend_std_get_static_property() in ZTS mode
Antony Dovgal [Tue, 25 May 2010 19:19:45 +0000 (19:19 +0000)]
use correct condition in the if
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.
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.
Dmitry Stogov [Tue, 25 May 2010 11:38:48 +0000 (11:38 +0000)]
Fixed compatibility with "Run Time Cache" patch
Dmitry Stogov [Tue, 25 May 2010 09:00:20 +0000 (09:00 +0000)]
- Interned string related callbacks moved turned from compiler_globals into real globals
- Updated API version number
Martin Jansen [Tue, 25 May 2010 05:01:03 +0000 (05:01 +0000)]
Changed test case to use our new dummy MX records.
Stanislav Malyshev [Tue, 25 May 2010 01:25:51 +0000 (01:25 +0000)]
fix C++ builds on Mac
Rasmus Lerdorf [Mon, 24 May 2010 23:52:11 +0000 (23:52 +0000)]
Check for -1 as well here
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
Ilia Alshanetsky [Mon, 24 May 2010 20:04:12 +0000 (20:04 +0000)]
Improved test
Ilia Alshanetsky [Mon, 24 May 2010 18:52:36 +0000 (18:52 +0000)]
Fixed tests
Ilia Alshanetsky [Mon, 24 May 2010 18:32:59 +0000 (18:32 +0000)]
Added support for numeric & scalar type hint as defined within
http://wiki.php.net/rfc/typecheckingstrictandweak RFC
Dmitry Stogov [Mon, 24 May 2010 17:07:52 +0000 (17:07 +0000)]
Fixed ZTS build
Dmitry Stogov [Mon, 24 May 2010 14:46:31 +0000 (14:46 +0000)]
Fixed exception handling in GOTO VM
Dmitry Stogov [Mon, 24 May 2010 14:11:39 +0000 (14:11 +0000)]
Added caches to eliminate repeatable run-time bindings of functions, classes, constants, methods and properties
Kalle Sommer Nielsen [Mon, 24 May 2010 07:44:00 +0000 (07:44 +0000)]
Allow ereg to be built as shared on Windows
## I know that we may remove ereg in trunk, but since the core doesn't depend on
## ereg, then I don't see any reason not to allow this
Ilia Alshanetsky [Sun, 23 May 2010 18:09:32 +0000 (18:09 +0000)]
Allow arbitrary number of space characters between type-hint and method/function parameter
Sara Golemon [Fri, 21 May 2010 23:29:34 +0000 (23:29 +0000)]
Ooops, return values...
Sara Golemon [Fri, 21 May 2010 22:59:58 +0000 (22:59 +0000)]
Add JSON_BIGINT_AS_STRING for json_decode() to parse large numbers
as strings rather than casting to double and loosing precision.
Andrey Hristov [Fri, 21 May 2010 13:37:18 +0000 (13:37 +0000)]
Check set->data for validity before using it.
Prevents crashes after OOM.
Andrey Hristov [Fri, 21 May 2010 13:06:52 +0000 (13:06 +0000)]
When OOM hits the wire, don't crash.
Andrey Hristov [Fri, 21 May 2010 11:09:28 +0000 (11:09 +0000)]
Fix for Bug #51870
PDO::fetchAll after a PDO::execute with bindings lead to a segv.
It is only in unreleased code and thus doesn't deserve a NEWS entry
Kalle Sommer Nielsen [Fri, 21 May 2010 09:01:00 +0000 (09:01 +0000)]
Remove this RC file, it should be named template.rc anyway and the default template.rc already covers what this .rc file did
Ilia Alshanetsky [Thu, 20 May 2010 22:53:38 +0000 (22:53 +0000)]
Fixed tests
Johannes Schlüter [Thu, 20 May 2010 20:55:33 +0000 (20:55 +0000)]
- Improved CLI Interactive readline shell (Johannes)
. Added cli.pager ini setting to set a pager for output.
. Added cli.prompt ini settingto configure the shell prompt.
. Added shortcut #inisetting=value to change ini settings at run-time.
. Don't terminate shell on fatal errors.
A pager can be a an shell command which will receive the command output on its
STDIN channel
php > #cli.pager=less
php > phpinfo();
(output will appear in the pager)
php > #cli.pager=grep -i readline
php > phpcredits();
Readline => Thies C. Arntzen
php > #cli.pager=
(output appears again direct on the terminal)
A prompt can contain a few escape sequences like
php > #cli.prompt=\e[032m\v \e[031m\b \e[34m\> \e[0m
5.3.99-dev php > //Colorful prompt with version number
A prompt can also contaian PHP code in backticks
php > #cli.prompt=`echo gethostname();` \b \>
guybrush php >
Ilia Alshanetsky [Thu, 20 May 2010 20:17:49 +0000 (20:17 +0000)]
Fixed a memory leak
Ilia Alshanetsky [Thu, 20 May 2010 19:37:52 +0000 (19:37 +0000)]
Added support for JSON_NUMERIC_CHECK option in json_encode() that converts
numeric strings to integers.
Derick Rethans [Thu, 20 May 2010 19:18:35 +0000 (19:18 +0000)]
- Added scalar typehinting.
Christopher Jones [Thu, 20 May 2010 17:55:58 +0000 (17:55 +0000)]
New current()/next() test
Felipe Pena [Thu, 20 May 2010 17:28:16 +0000 (17:28 +0000)]
- Added arginfo