]> granicus.if.org Git - php/log
php
13 years agoMFH: added ill-formed utf-8 check for 0xEDXXXX.
Rui Hirokawa [Sat, 6 Aug 2011 02:22:38 +0000 (02:22 +0000)]
MFH: added ill-formed utf-8 check for 0xEDXXXX.

13 years agoMFH (updated libmbfl version to 1.3.1).
Rui Hirokawa [Sat, 6 Aug 2011 01:49:10 +0000 (01:49 +0000)]
MFH (updated libmbfl version to 1.3.1).

13 years ago- Added missing PHP_FE_END/ZEND_FE_END
Felipe Pena [Sat, 6 Aug 2011 01:22:27 +0000 (01:22 +0000)]
- Added missing PHP_FE_END/ZEND_FE_END

13 years ago- Fixed bug #55313 (Number of retries not set when params specified)
Felipe Pena [Sat, 6 Aug 2011 00:59:21 +0000 (00:59 +0000)]
- Fixed bug #55313 (Number of retries not set when params specified)
  patch by: kevin at kevinlocke dot name

13 years agoefree match_sets on an error here - found by Coverity
Rasmus Lerdorf [Fri, 5 Aug 2011 22:39:40 +0000 (22:39 +0000)]
efree match_sets on an error here - found by Coverity

13 years agoAnother potential missing va_end() found by Coverity
Rasmus Lerdorf [Fri, 5 Aug 2011 22:26:16 +0000 (22:26 +0000)]
Another potential missing va_end() found by Coverity

13 years agoImprove test portabilty
Christopher Jones [Fri, 5 Aug 2011 22:18:50 +0000 (22:18 +0000)]
Improve test portabilty

13 years agoFix missing va_end() found by Coverity
Rasmus Lerdorf [Fri, 5 Aug 2011 22:18:42 +0000 (22:18 +0000)]
Fix missing va_end() found by Coverity

13 years agoFix for bug #55283 SSL options set by mysqli_ssl_set ignored for MySQLi persistent...
Andrey Hristov [Fri, 5 Aug 2011 13:39:30 +0000 (13:39 +0000)]
Fix for bug #55283 SSL options set by mysqli_ssl_set ignored for MySQLi persistent connections

13 years agoMFH (added check for invalid utf-8 encoding).
Rui Hirokawa [Fri, 5 Aug 2011 04:34:16 +0000 (04:34 +0000)]
MFH (added check for invalid utf-8 encoding).

13 years agoMFH (removed obsolete/invalid 5,6 byte encoding of UTF-8 from mbstring/libmbfl based...
Rui Hirokawa [Thu, 4 Aug 2011 12:51:40 +0000 (12:51 +0000)]
MFH (removed obsolete/invalid 5,6 byte encoding of UTF-8 from mbstring/libmbfl based on Unicode 5.2.

13 years ago- Added missing check (thanks neweracracker at gmail dot com)
Felipe Pena [Thu, 4 Aug 2011 10:56:59 +0000 (10:56 +0000)]
- Added missing check (thanks neweracracker at gmail dot com)

13 years agoAdd mysqli_error_list() that returns an array with errors. Typically only
Andrey Hristov [Thu, 4 Aug 2011 09:51:26 +0000 (09:51 +0000)]
Add mysqli_error_list() that returns an array with errors. Typically only
one and just one for libmysql. mysqlnd can return generate more than one error
during its work and with mysqli_error() only the last error is being reported.
In the array returned by mysqli_error_list() / $mysqli->error_list, all errors will be found.
The list is reset when the next command is executed

13 years ago- Fixed possible efree(NULL) (bug #55296)
Felipe Pena [Thu, 4 Aug 2011 00:59:43 +0000 (00:59 +0000)]
- Fixed possible efree(NULL) (bug #55296)

13 years agoback to dev
Stanislav Malyshev [Wed, 3 Aug 2011 17:14:26 +0000 (17:14 +0000)]
back to dev

13 years ago5.4.0alpha3
Stanislav Malyshev [Wed, 3 Aug 2011 17:12:44 +0000 (17:12 +0000)]
5.4.0alpha3

13 years agoupdate NEWS
Stanislav Malyshev [Wed, 3 Aug 2011 16:50:27 +0000 (16:50 +0000)]
update NEWS

13 years ago- update libcurl to 7.21.7
Pierre Joye [Wed, 3 Aug 2011 13:19:03 +0000 (13:19 +0000)]
- update libcurl to 7.21.7

13 years agofixed error handling on SJIS_Mobile (for SB/KDDI).
Rui Hirokawa [Wed, 3 Aug 2011 11:55:43 +0000 (11:55 +0000)]
fixed error handling on SJIS_Mobile (for SB/KDDI).

13 years agofixed error handling on SJIS_Mobile.
Rui Hirokawa [Wed, 3 Aug 2011 11:51:08 +0000 (11:51 +0000)]
fixed error handling on SJIS_Mobile.

13 years agoRemove a warning by explicitly compiling out a non-used variable
Andrey Hristov [Tue, 2 Aug 2011 15:30:58 +0000 (15:30 +0000)]
Remove a warning by explicitly compiling out a non-used variable

13 years agocompletely compile out a currently non-needed function
Andrey Hristov [Tue, 2 Aug 2011 14:18:56 +0000 (14:18 +0000)]
completely compile out a currently non-needed function

13 years agocompile out both parts of the code that are currently unused - fixes a compilation...
Andrey Hristov [Tue, 2 Aug 2011 14:02:21 +0000 (14:02 +0000)]
compile out both parts of the code that are currently unused - fixes a compilation warning

13 years agofix warnings due to change in zend_property_info (structure extended in the middle!!)
Andrey Hristov [Tue, 2 Aug 2011 13:41:20 +0000 (13:41 +0000)]
fix warnings due to change in zend_property_info (structure extended in the middle!!)

13 years agoFixed bug #55339 (Segfault with allow_call_time_pass_reference = Off)
Dmitry Stogov [Tue, 2 Aug 2011 07:38:23 +0000 (07:38 +0000)]
Fixed bug #55339 (Segfault with allow_call_time_pass_reference = Off)

13 years agoMFH (updated libmbfl for 1.3.0.).
Rui Hirokawa [Tue, 2 Aug 2011 03:50:10 +0000 (03:50 +0000)]
MFH (updated libmbfl for 1.3.0.).

13 years ago- Fixed bug #55340 (segfault when using some arguments -- bug introduced by commit...
Jérôme Loyet [Tue, 2 Aug 2011 00:58:51 +0000 (00:58 +0000)]
- Fixed bug #55340 (segfault when using some arguments -- bug introduced by commit r313351)

13 years agoFixed bug #55305 (ref lost: 1st ref instantiated in class def, 2nd ref made w/o insta...
Dmitry Stogov [Mon, 1 Aug 2011 15:23:16 +0000 (15:23 +0000)]
Fixed bug #55305 (ref lost: 1st ref instantiated in class def, 2nd ref made w/o instantiating)

13 years agoAdded support for Class::{expr}() syntax (Pierrick)
Dmitry Stogov [Mon, 1 Aug 2011 12:08:44 +0000 (12:08 +0000)]
Added support for Class::{expr}() syntax (Pierrick)

13 years agoFixed bug #50816 (Using class constants in array definition fails).
Dmitry Stogov [Mon, 1 Aug 2011 11:21:23 +0000 (11:21 +0000)]
Fixed bug #50816 (Using class constants in array definition fails).

13 years agofix params parsing
Stanislav Malyshev [Mon, 1 Aug 2011 04:29:37 +0000 (04:29 +0000)]
fix params parsing

13 years agofix tests
Stanislav Malyshev [Mon, 1 Aug 2011 03:42:02 +0000 (03:42 +0000)]
fix tests

13 years agofix failing tests
Stanislav Malyshev [Mon, 1 Aug 2011 01:00:57 +0000 (01:00 +0000)]
fix failing tests

13 years agofix termination in sha-512 too
Stanislav Malyshev [Sun, 31 Jul 2011 23:14:04 +0000 (23:14 +0000)]
fix termination in sha-512 too

13 years agoretore open_basedir check for unlink
Stanislav Malyshev [Sun, 31 Jul 2011 22:43:21 +0000 (22:43 +0000)]
retore open_basedir check for unlink

13 years agofix salt truncation bug in sha256
Stanislav Malyshev [Sun, 31 Jul 2011 21:47:03 +0000 (21:47 +0000)]
fix salt truncation bug in sha256

13 years ago- blowfish 1.2 update, 2nd part
Pierre Joye [Sun, 31 Jul 2011 20:50:09 +0000 (20:50 +0000)]
- blowfish 1.2 update, 2nd part

13 years ago- Fixed tests
Felipe Pena [Sun, 31 Jul 2011 18:51:15 +0000 (18:51 +0000)]
- Fixed tests

13 years agoFixed Bug #55214 use of __CLASS__ within trait returns trait name not class name...
Stefan Marr [Sun, 31 Jul 2011 18:18:56 +0000 (18:18 +0000)]
Fixed Bug #55214  use of __CLASS__ within trait returns trait name not class name [TRAITS] [DOC]

13 years agoAdded __TRAIT__ magic constant [TRAITS] [DOC]
Stefan Marr [Sun, 31 Jul 2011 17:39:30 +0000 (17:39 +0000)]
Added __TRAIT__ magic constant [TRAITS] [DOC]
# __TRAIT__ behaves like __CLASS__ more or less but is constraint to traits.
# Since traits are not types, there are not many valid use cases, and trying
# to use __TRAIT__ to make traits more like classes is discouraged.

13 years agoAdded: SKIP when tokenizer extension is not available
Stefan Marr [Sun, 31 Jul 2011 16:35:09 +0000 (16:35 +0000)]
Added: SKIP when tokenizer extension is not available

13 years agoFixed test which was assuming that E_STRICT is not on by default.
Stefan Marr [Sun, 31 Jul 2011 16:15:40 +0000 (16:15 +0000)]
Fixed test which was assuming that E_STRICT is not on by default.

13 years ago- Fixed bug #55326 (Trait method copying misindentifies serialization callbacks)
Felipe Pena [Sun, 31 Jul 2011 12:27:47 +0000 (12:27 +0000)]
- Fixed bug #55326 (Trait method copying misindentifies serialization callbacks)
  patch by: Gustavo Lopes (cataphract@php)

13 years ago- Fix #55301 (sybase part, take #2) check if malloc succeded
Pierre Joye [Thu, 28 Jul 2011 21:16:51 +0000 (21:16 +0000)]
- Fix #55301 (sybase part, take #2) check if malloc succeded

13 years agoReverted Gopal's patch that allowed plugable interned string check
Dmitry Stogov [Thu, 28 Jul 2011 12:01:42 +0000 (12:01 +0000)]
Reverted Gopal's patch that allowed plugable interned string check
1. It introduced a significant slowdown
2. It didn't fix the real problem in APC (I'm goint to commit the fix)

13 years ago- Fix #55301 (mssql part) check if malloc succeded
Pierre Joye [Thu, 28 Jul 2011 11:01:04 +0000 (11:01 +0000)]
- Fix #55301 (mssql part) check if malloc succeded

13 years ago- Fix #55301 (sybase part) check if malloc succeded
Pierre Joye [Thu, 28 Jul 2011 10:57:31 +0000 (10:57 +0000)]
- Fix #55301 (sybase part) check if malloc succeded

13 years ago- Fix #55301 (url scanner part) check if malloc succeded
Pierre Joye [Thu, 28 Jul 2011 10:52:45 +0000 (10:52 +0000)]
- Fix #55301 (url scanner part) check if malloc succeded

13 years ago- Fix #55301 (readline part) check if malloc succeded
Pierre Joye [Thu, 28 Jul 2011 10:42:45 +0000 (10:42 +0000)]
- Fix #55301 (readline part) check if malloc succeded

13 years ago- Fix #55301 (interbase part) check if malloc succeded
Pierre Joye [Thu, 28 Jul 2011 10:39:08 +0000 (10:39 +0000)]
- Fix #55301 (interbase part) check if malloc succeded

13 years ago- Fix #55301 (pdo_odbc part) check if malloc succeded
Pierre Joye [Thu, 28 Jul 2011 10:37:04 +0000 (10:37 +0000)]
- Fix #55301 (pdo_odbc part) check if malloc succeded

13 years ago- Fix #55301 (com_dotnet part) check if malloc succeded
Pierre Joye [Thu, 28 Jul 2011 10:34:16 +0000 (10:34 +0000)]
- Fix #55301 (com_dotnet part) check if malloc succeded

13 years ago- Fix #55301 (curl part) check if malloc succeded
Pierre Joye [Thu, 28 Jul 2011 10:31:34 +0000 (10:31 +0000)]
- Fix #55301 (curl part) check if malloc succeded

13 years agoAllow zend_is_interned_string to be pluggable
Gopal Vijayaraghavan [Wed, 27 Jul 2011 23:34:49 +0000 (23:34 +0000)]
Allow zend_is_interned_string to be pluggable

13 years ago- do safemode/open basedir checks 1st, and use only expand not realpath (it is done...
Pierre Joye [Wed, 27 Jul 2011 14:58:30 +0000 (14:58 +0000)]
- do safemode/open basedir checks 1st, and use only expand not realpath (it is done by the safemode/openbasedir check already)

13 years ago- Fix #55295, check if malloc failed
Pierre Joye [Wed, 27 Jul 2011 14:23:06 +0000 (14:23 +0000)]
- Fix #55295, check if malloc failed

13 years agoCheck if given string is long enough in zend_*_strtod
David Soria Parra [Wed, 27 Jul 2011 14:17:45 +0000 (14:17 +0000)]
Check if given string is long enough in zend_*_strtod

13 years ago- do not resolve the link if all we want is to open that file
Pierre Joye [Wed, 27 Jul 2011 12:20:32 +0000 (12:20 +0000)]
- do not resolve the link if all we want is to open that file

13 years ago- WS
Pierre Joye [Wed, 27 Jul 2011 11:58:39 +0000 (11:58 +0000)]
- WS

13 years ago- do not resolve the link if all we want is to open that file
Pierre Joye [Wed, 27 Jul 2011 11:57:44 +0000 (11:57 +0000)]
- do not resolve the link if all we want is to open that file

13 years agolonger error messages, don't cut them
Andrey Hristov [Wed, 27 Jul 2011 10:26:59 +0000 (10:26 +0000)]
longer error messages, don't cut them

13 years agoadded (recursive)callbackfilteriterator to spl_classes() (bug #55287)
Peter Cowburn [Wed, 27 Jul 2011 08:48:08 +0000 (08:48 +0000)]
added (recursive)callbackfilteriterator to spl_classes() (bug #55287)

13 years ago- upgrading entry for binary number format
Pierre Joye [Wed, 27 Jul 2011 00:18:35 +0000 (00:18 +0000)]
- upgrading entry for binary number format

13 years ago- correct 1st name
Pierre Joye [Wed, 27 Jul 2011 00:16:53 +0000 (00:16 +0000)]
- correct 1st name

13 years ago- add binary suport, FR #50638, as defined in RFC https://wiki.php.net/rfc/binnotatio...
Pierre Joye [Wed, 27 Jul 2011 00:14:02 +0000 (00:14 +0000)]
- add binary suport, FR #50638, as defined in RFC https://wiki.php.net/rfc/binnotation4ints, patch by Jonah Harris

13 years agoAdd explicit casts to remove some of Pierre's snapshot build warnings
Christopher Jones [Wed, 27 Jul 2011 00:04:47 +0000 (00:04 +0000)]
Add explicit casts to remove some of Pierre's snapshot build warnings

13 years ago- news for bug #55124
Pierre Joye [Tue, 26 Jul 2011 23:58:18 +0000 (23:58 +0000)]
- news for bug #55124

13 years agoFix #55269 (--enable-dtrace fail on FreeBSD)
David Soria Parra [Tue, 26 Jul 2011 23:49:37 +0000 (23:49 +0000)]
Fix #55269 (--enable-dtrace fail on FreeBSD)

13 years ago- Fixed bug 55124, recursive mkdir fails with current (dot) directory in path
Pierre Joye [Tue, 26 Jul 2011 17:44:20 +0000 (17:44 +0000)]
- Fixed bug 55124, recursive mkdir fails with current (dot) directory in path

13 years agoDouble check if line is sill usable and connected to last successfully selected db.
Ulf Wendel [Tue, 26 Jul 2011 16:14:59 +0000 (16:14 +0000)]
Double check if line is sill usable and connected to last successfully selected db.

13 years agoCheck what happens if switching DB via API fails. Expected: no change of current...
Ulf Wendel [Tue, 26 Jul 2011 15:37:59 +0000 (15:37 +0000)]
Check what happens if switching DB via API fails. Expected: no change of current DB/schema.

13 years agoWould be nice if tests get updated whenever a feature is added by the person adding...
Ulf Wendel [Tue, 26 Jul 2011 09:33:01 +0000 (09:33 +0000)]
Would be nice if tests get updated whenever a feature is added by the person adding the feature...

13 years agoFix mysqlnd detection
Ulf Wendel [Tue, 26 Jul 2011 09:30:49 +0000 (09:30 +0000)]
Fix mysqlnd detection

13 years ago- simplify
Pierre Joye [Tue, 26 Jul 2011 09:27:53 +0000 (09:27 +0000)]
- simplify

13 years ago- use cwd_expand now
Pierre Joye [Tue, 26 Jul 2011 07:30:41 +0000 (07:30 +0000)]
- use cwd_expand now

13 years agoFix cast warning seen on some platforms
Christopher Jones [Mon, 25 Jul 2011 23:40:57 +0000 (23:40 +0000)]
Fix cast warning seen on some platforms

13 years agoPatch r313663 and r313665 to allow PECL builds to work with earlier releases
Christopher Jones [Mon, 25 Jul 2011 17:30:09 +0000 (17:30 +0000)]
Patch r313663 and r313665 to allow PECL builds to work with earlier releases

13 years agoRemove old testname. This file now diverges from PHP_5_3
Christopher Jones [Mon, 25 Jul 2011 17:25:47 +0000 (17:25 +0000)]
Remove old testname. This file now diverges from PHP_5_3

13 years agoUpdate skipif
Christopher Jones [Mon, 25 Jul 2011 17:22:48 +0000 (17:22 +0000)]
Update skipif

13 years ago- add expand_filepath_with_mode (not used anywhere yet but will be used for file...
Pierre Joye [Mon, 25 Jul 2011 16:50:07 +0000 (16:50 +0000)]
- add expand_filepath_with_mode (not used anywhere yet but will be used for file ops (fopen&co) to avoid extra links resolution and other non required ops on open

13 years agoFix #55121 Segfault with multipart/form-data POST
Florian Anderiasch [Mon, 25 Jul 2011 16:45:39 +0000 (16:45 +0000)]
Fix #55121 Segfault with multipart/form-data POST

13 years agoTest update. 5.4+ is more verbose.
Ulf Wendel [Mon, 25 Jul 2011 15:07:54 +0000 (15:07 +0000)]
Test update. 5.4+ is more verbose.

13 years agoTest update. 5.4+ throws a catchable fatal error, 5.3 does not.
Ulf Wendel [Mon, 25 Jul 2011 14:53:01 +0000 (14:53 +0000)]
Test update. 5.4+ throws a catchable fatal error, 5.3 does not.

13 years ago- Fix compiler warning
Felipe Pena [Mon, 25 Jul 2011 11:51:43 +0000 (11:51 +0000)]
- Fix compiler warning

13 years ago- Use ZEND_FE_END macro here
Felipe Pena [Mon, 25 Jul 2011 11:50:10 +0000 (11:50 +0000)]
- Use ZEND_FE_END macro here

13 years ago- Make usage of new PHP_FE_END macro
Felipe Pena [Mon, 25 Jul 2011 11:35:02 +0000 (11:35 +0000)]
- Make usage of new PHP_FE_END macro

13 years ago- Added new macro to be used in the end of zend_function_entry declaration (Gwynne)
Felipe Pena [Mon, 25 Jul 2011 11:30:53 +0000 (11:30 +0000)]
- Added new macro to be used in the end of zend_function_entry declaration (Gwynne)

13 years agoWhen you add something that changes the phpinfo output, please
Rasmus Lerdorf [Mon, 25 Jul 2011 05:32:08 +0000 (05:32 +0000)]
When you add something that changes the phpinfo output, please
update this test.

13 years agoAdded forgotten tests cases for class_uses() from commit rev. 313640
Stefan Marr [Sun, 24 Jul 2011 10:20:08 +0000 (10:20 +0000)]
Added forgotten tests cases for class_uses() from commit rev. 313640

13 years agoNo E_STRICT in production
Stanislav Malyshev [Sun, 24 Jul 2011 05:42:29 +0000 (05:42 +0000)]
No E_STRICT in production

13 years agoChange E_ALL to include E_STRICT
Stanislav Malyshev [Sat, 23 Jul 2011 22:07:22 +0000 (22:07 +0000)]
Change E_ALL to include E_STRICT

13 years ago- MQ section
Pierre Joye [Sat, 23 Jul 2011 20:45:18 +0000 (20:45 +0000)]
- MQ section

13 years ago- add short array syntax, missing files and info
Pierre Joye [Sat, 23 Jul 2011 20:27:08 +0000 (20:27 +0000)]
- add short array syntax, missing files and info

13 years ago- add short array syntax as defined in https://wiki.php.net/rfc/shortsyntaxforarrays...
Pierre Joye [Sat, 23 Jul 2011 20:23:21 +0000 (20:23 +0000)]
- add short array syntax as defined in https://wiki.php.net/rfc/shortsyntaxforarrays, 2nd solution using => only

13 years agoAdded missing class_uses(..) function to SPL to mirror class_implements(..).
Stefan Marr [Sat, 23 Jul 2011 19:08:43 +0000 (19:08 +0000)]
Added missing class_uses(..) function to SPL to mirror class_implements(..).

# Was pointed out as missing in bug #55266.

13 years agoFixed incorrect initialization when copied op_array.vars was NULL (TRAITS)
Stefan Marr [Sat, 23 Jul 2011 18:12:31 +0000 (18:12 +0000)]
Fixed incorrect initialization when copied op_array.vars was NULL (TRAITS)

13 years agoFixed bug in the handling of conflicting property initializers for traits.
Stefan Marr [Sat, 23 Jul 2011 13:48:07 +0000 (13:48 +0000)]
Fixed bug in the handling of conflicting property initializers for traits.
# Bug was uncovered by discussion in http://news.php.net/php.internals/54129
# Forgot to check the actual value of the initializer comparison, only checked
# whether comparison was successful which is not enough.

13 years agoAdded test case which was only added to trunk, bug seems to be fixed already.
Stefan Marr [Sat, 23 Jul 2011 13:42:58 +0000 (13:42 +0000)]
Added test case which was only added to trunk, bug seems to be fixed already.

13 years ago- Give index.php a precedence over index.html. Patch by davidc.
Moriyoshi Koizumi [Sat, 23 Jul 2011 11:29:26 +0000 (11:29 +0000)]
- Give index.php a precedence over index.html.  Patch by davidc.

13 years agoWhen we have a blocking SSL socket, respect the timeout option.
Scott MacVicar [Sat, 23 Jul 2011 01:29:44 +0000 (01:29 +0000)]
When we have a blocking SSL socket, respect the timeout option.

reading from SSL sockets could block indefinitely due to the lack
of timeout