Michael Wallner
11d24c1593
* 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.
2010-05-31 10:29:43 +00:00
Johannes Schlüter
27299b7e40
- token_get_all now returns false on error, not "", returns array on success
2010-05-30 09:34:02 +00:00
Pierre Joye
91721f73f2
- Added recent Windows versions to php_uname and fix undefined windows version
2010-05-30 07:46:45 +00:00
Pierre Joye
5dba22d79e
- ws
2010-05-30 07:36:19 +00:00
Johannes Schlüter
4158f7e122
- More trait reflection work
...
#- I'm not happy about ReflectionClass::getTraitAliases, yet
2010-05-30 01:00:45 +00:00
Felipe Pena
2d63683ec3
- Fixed ReflectionClass::isTrait() checking (to not identify abstract class as Trait)
2010-05-29 22:08:51 +00:00
Jérôme Loyet
27c2c35953
fix commit 299383
2010-05-29 22:00:43 +00:00
Felipe Pena
23dfc1fa9d
- Missing Trait check fix
2010-05-29 21:55:19 +00:00
Felipe Pena
3c4ff06ca7
- Fixed wrong abstract class identification (it was identified as a Trait)
2010-05-29 21:48:56 +00:00
Johannes Schlüter
97b7620aed
- Add some folding marks
2010-05-29 21:28:24 +00:00
Johannes Schlüter
19afc82e28
- Make reflection aware of traits
2010-05-29 20:40:58 +00:00
Johannes Schlüter
1afd50766c
- Fix tests
2010-05-29 20:34:25 +00:00
Johannes Schlüter
0262fdf3e9
- A method called like a trait is no constructor
2010-05-29 20:01:08 +00:00
Jérôme Loyet
bc4c3fdd83
typo (thx to Brian P. Mercer)
2010-05-29 10:39:35 +00:00
Dmitry Stogov
1fe3984cc4
Fixed bug #50976 (Soap headers Authorization not allowed)
2010-05-28 12:18:03 +00:00
Dmitry Stogov
5f678b58e6
Fixed bug #50762 (in WSDL mode Soap Header handler function only being called if defined in WSDL). (mephius at gmail dot com)
2010-05-28 10:52:16 +00:00
Kalle Sommer Nielsen
49d74ebc6e
Fixed compiler warning (pointer mismatch)
2010-05-27 23:24:06 +00:00
Johannes Schlüter
91d5aaa51d
These files talk about PHP 3, flex, CVS, ... interesting to archeologists only
2010-05-27 23:12:44 +00:00
Johannes Schlüter
3c820fb6a4
Update EXTENSIONS file
2010-05-27 23:08:39 +00:00
Johannes Schlüter
4136336c02
Update credits
2010-05-27 22:51:28 +00:00
Johannes Schlüter
2d63af8c60
Make the credits script more verbose
2010-05-27 22:50:31 +00:00
Jérôme Loyet
8cf687608e
bug: include paths were not evaluated to to full path
2010-05-27 22:31:28 +00:00
Jérôme Loyet
167f758aca
typo
2010-05-27 20:59:21 +00:00
Ulf Wendel
cc3db5cc65
Open server bug: mysqlnd works around it, libmysql fails. Let's skip because MySQL Server version tests are tricky and error prone.
2010-05-27 13:01:17 +00:00
Andrey Hristov
1228c92303
Check before use, because mysqlnd can return NULL
...
and this will crash. However, this can happen only in case of OOM.
2010-05-27 12:44:10 +00:00
Andrey Hristov
3251e54f0f
Don't use NULL pointer, always check before use
2010-05-27 12:39:12 +00:00
Ulf Wendel
b094e5296b
Test fixes and updates to work with a wider range of MySQL server configs
2010-05-27 12:09:39 +00:00
Andrey Hristov
ae9ac28ec2
Fix possible crashes, in case of OOM, due to half-baken
...
objects.
2010-05-27 12:05:02 +00:00
Andrey Hristov
95d4f2ac66
Fix crashes in the allocator in case of OOM.
2010-05-27 12:00:48 +00:00
Andrey Hristov
4de0da5a56
Fix deallocation which can crash if the object is half-baken.
...
Happens during OOM.
2010-05-27 08:51:46 +00:00
Pierrick Charron
0b9263da93
Remove unused variable
2010-05-26 16:17:15 +00:00
Dmitry Stogov
578d3159c6
Conditional compilation is replaced by macro
2010-05-26 15:42:59 +00:00
Andrey Hristov
0e8b380941
Don't use conn->net without checking if it is NULL, because
...
it can be NULL in OOM conditions. This would cause a crash.
2010-05-26 13:47:43 +00:00
Andrey Hristov
44acaec542
Fix test
2010-05-26 13:36:49 +00:00
Andrey Hristov
f9ad56eab9
Remove a function that has no usage. The zval cache was disabled/removed
...
in 5.3.0-RC3.
2010-05-26 13:30:19 +00:00
Ilia Alshanetsky
16c90b0a2d
Fixed test
2010-05-26 11:00:05 +00:00
Andrey Hristov
ce682f1b26
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.
2010-05-26 07:28:43 +00:00
Michael Wallner
89e93723fb
Added support for object references in recursive serialize() calls. FR #36424
2010-05-26 07:24:37 +00:00
Felipe Pena
de531056f7
- Fixed bug #51899 (Parse error in parse_ini_file() function when empy value followed by no newline)
2010-05-26 02:18:17 +00:00
Felipe Pena
79d2aaf0f1
- Fixed bug #51905 (ReflectionParameter fails if default value is an array with an access to self::)
2010-05-26 00:00:58 +00:00
Andrey Hristov
433cb868d6
Handle the situation when MYSQLND_PROTOCOL's methods return NULL.
...
mysqlnd should not crash but gracefully return with an error.
2010-05-25 23:18:13 +00:00
Andrey Hristov
f4f5a50751
Handle the situation when mysql_init()/mysqlnd_init()
...
return NULL. It is a rare case of OOM but PHP shouldn't crash, if possible.
2010-05-25 22:55:10 +00:00
Felipe Pena
1168cdc323
- Fixed bug #51911 (ReflectionParameter::getDefaultValue() memory leaks with constant array)
2010-05-25 22:46:17 +00:00
Andrey Hristov
708b31a510
Gracefully handle OOM in mysqlnd_stmt_init. Release the handle
...
and return NULL.
2010-05-25 22:42:25 +00:00
Andrey Hristov
6d434e70a4
Init should return status value because initialization can fail.
...
In this case mysqlnd_init() should return NULL to the end-user.
2010-05-25 22:40:47 +00:00
Andrey Hristov
b3c553fa99
Use the specialized macro for this case
2010-05-25 22:38:11 +00:00
Andrey Hristov
b434301f7b
Use only memory that has been allocated
2010-05-25 22:36:33 +00:00
Andrey Hristov
decdfeeeb2
Access memory which was really allocated
2010-05-25 22:34:47 +00:00
Andrey Hristov
844b435655
Fix shared build
2010-05-25 21:54:21 +00:00
Antony Dovgal
435aa876fc
fix zend_std_get_static_property() in ZTS mode
2010-05-25 20:16:14 +00:00