]>
granicus.if.org Git - php/log
Felipe Pena [Sun, 7 Aug 2011 13:04:02 +0000 (13:04 +0000)]
- Revert r314387
(property_info.name has the mangled name)
Xinchen Hui [Sun, 7 Aug 2011 11:13:27 +0000 (11:13 +0000)]
Initialize variable with fixed value for avoiding compile warnings
Pierrick Charron [Sun, 7 Aug 2011 06:37:22 +0000 (06:37 +0000)]
Remove unused variables
Pierrick Charron [Sun, 7 Aug 2011 06:19:43 +0000 (06:19 +0000)]
function_name cannot be false
Pierrick Charron [Sun, 7 Aug 2011 06:04:11 +0000 (06:04 +0000)]
class entry is never used
Pierrick Charron [Sun, 7 Aug 2011 05:46:31 +0000 (05:46 +0000)]
Pointer returned is never used
Gwynne Raskind [Sun, 7 Aug 2011 05:20:49 +0000 (05:20 +0000)]
Fix build under Clang 2.9 - see LLVM bug #9164 (http://llvm.org/bugs/show_bug.cgi?id=9164). Tested with GCC and Clang on Darwin and Ubuntu.
Rasmus Lerdorf [Sun, 7 Aug 2011 03:25:19 +0000 (03:25 +0000)]
Good catch Coverity
Rasmus Lerdorf [Sun, 7 Aug 2011 00:50:46 +0000 (00:50 +0000)]
Since we have fci_cache = &fci_cache_local inside that block
and fci_cache is then later used outside the block, fci_cache_local
can't be block-scoped here
Rasmus Lerdorf [Sun, 7 Aug 2011 00:36:26 +0000 (00:36 +0000)]
I'm pretty sure you didn't mean to multiple by the size of a char* there
since that makes no sense. output is an array of char, not an array of
char*
Pierre, please review
Rasmus Lerdorf [Sun, 7 Aug 2011 00:25:22 +0000 (00:25 +0000)]
Use snprintf here instead to make the static analyzers happy.
Rasmus Lerdorf [Sun, 7 Aug 2011 00:18:38 +0000 (00:18 +0000)]
These naked strcpy()s scare me
Rasmus Lerdorf [Sun, 7 Aug 2011 00:01:17 +0000 (00:01 +0000)]
Use property_info.name here instead since *name might be free'ed at this point
@dmitry please review
Rasmus Lerdorf [Sat, 6 Aug 2011 23:42:52 +0000 (23:42 +0000)]
Avoid a potential double-free here
Rasmus Lerdorf [Sat, 6 Aug 2011 23:34:13 +0000 (23:34 +0000)]
Not our issue, but fixing here for now and reporting upstream
Rasmus Lerdorf [Sat, 6 Aug 2011 21:10:29 +0000 (21:10 +0000)]
Fix another Coverity warning by initializing this to NULL prior to the strtok_r call
Felipe Pena [Sat, 6 Aug 2011 15:57:36 +0000 (15:57 +0000)]
- Added change to UPGRADING
Rui Hirokawa [Sat, 6 Aug 2011 15:24:31 +0000 (15:24 +0000)]
MFH: changed mapping of 0xa5 for SJIS-mac to prevent XSS.
Felipe Pena [Sat, 6 Aug 2011 14:47:44 +0000 (14:47 +0000)]
- Added ZEND_MOD_END macro to use in the end of zend_module_dep[]
Rui Hirokawa [Sat, 6 Aug 2011 12:19:33 +0000 (12:19 +0000)]
MFH: fixed encoding conversion when http_input=auto.
Rui Hirokawa [Sat, 6 Aug 2011 04:28:26 +0000 (04:28 +0000)]
MFH: improved error handling for ill-formed utf-8 based on the Unicode recommendation.
Rui Hirokawa [Sat, 6 Aug 2011 02:22:38 +0000 (02:22 +0000)]
MFH: added ill-formed utf-8 check for 0xEDXXXX.
Rui Hirokawa [Sat, 6 Aug 2011 01:49:10 +0000 (01:49 +0000)]
MFH (updated libmbfl version to 1.3.1).
Felipe Pena [Sat, 6 Aug 2011 01:22:27 +0000 (01:22 +0000)]
- Added missing PHP_FE_END/ZEND_FE_END
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
Rasmus Lerdorf [Fri, 5 Aug 2011 22:39:40 +0000 (22:39 +0000)]
efree match_sets on an error here - found by Coverity
Rasmus Lerdorf [Fri, 5 Aug 2011 22:26:16 +0000 (22:26 +0000)]
Another potential missing va_end() found by Coverity
Christopher Jones [Fri, 5 Aug 2011 22:18:50 +0000 (22:18 +0000)]
Improve test portabilty
Rasmus Lerdorf [Fri, 5 Aug 2011 22:18:42 +0000 (22:18 +0000)]
Fix missing va_end() found by Coverity
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
Rui Hirokawa [Fri, 5 Aug 2011 04:34:16 +0000 (04:34 +0000)]
MFH (added check for invalid utf-8 encoding).
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.
Felipe Pena [Thu, 4 Aug 2011 10:56:59 +0000 (10:56 +0000)]
- Added missing check (thanks neweracracker at gmail dot com)
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
Felipe Pena [Thu, 4 Aug 2011 00:59:43 +0000 (00:59 +0000)]
- Fixed possible efree(NULL) (bug #55296)
Stanislav Malyshev [Wed, 3 Aug 2011 17:14:26 +0000 (17:14 +0000)]
back to dev
Stanislav Malyshev [Wed, 3 Aug 2011 17:12:44 +0000 (17:12 +0000)]
5.4.0alpha3
Stanislav Malyshev [Wed, 3 Aug 2011 16:50:27 +0000 (16:50 +0000)]
update NEWS
Pierre Joye [Wed, 3 Aug 2011 13:19:03 +0000 (13:19 +0000)]
- update libcurl to 7.21.7
Rui Hirokawa [Wed, 3 Aug 2011 11:55:43 +0000 (11:55 +0000)]
fixed error handling on SJIS_Mobile (for SB/KDDI).
Rui Hirokawa [Wed, 3 Aug 2011 11:51:08 +0000 (11:51 +0000)]
fixed error handling on SJIS_Mobile.
Andrey Hristov [Tue, 2 Aug 2011 15:30:58 +0000 (15:30 +0000)]
Remove a warning by explicitly compiling out a non-used variable
Andrey Hristov [Tue, 2 Aug 2011 14:18:56 +0000 (14:18 +0000)]
completely compile out a currently non-needed function
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
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!!)
Dmitry Stogov [Tue, 2 Aug 2011 07:38:23 +0000 (07:38 +0000)]
Fixed bug #55339 (Segfault with allow_call_time_pass_reference = Off)
Rui Hirokawa [Tue, 2 Aug 2011 03:50:10 +0000 (03:50 +0000)]
MFH (updated libmbfl for 1.3.0.).
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)
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)
Dmitry Stogov [Mon, 1 Aug 2011 12:08:44 +0000 (12:08 +0000)]
Added support for Class::{expr}() syntax (Pierrick)
Dmitry Stogov [Mon, 1 Aug 2011 11:21:23 +0000 (11:21 +0000)]
Fixed bug #50816 (Using class constants in array definition fails).
Stanislav Malyshev [Mon, 1 Aug 2011 04:29:37 +0000 (04:29 +0000)]
fix params parsing
Stanislav Malyshev [Mon, 1 Aug 2011 03:42:02 +0000 (03:42 +0000)]
fix tests
Stanislav Malyshev [Mon, 1 Aug 2011 01:00:57 +0000 (01:00 +0000)]
fix failing tests
Stanislav Malyshev [Sun, 31 Jul 2011 23:14:04 +0000 (23:14 +0000)]
fix termination in sha-512 too
Stanislav Malyshev [Sun, 31 Jul 2011 22:43:21 +0000 (22:43 +0000)]
retore open_basedir check for unlink
Stanislav Malyshev [Sun, 31 Jul 2011 21:47:03 +0000 (21:47 +0000)]
fix salt truncation bug in sha256
Pierre Joye [Sun, 31 Jul 2011 20:50:09 +0000 (20:50 +0000)]
- blowfish 1.2 update, 2nd part
Felipe Pena [Sun, 31 Jul 2011 18:51:15 +0000 (18:51 +0000)]
- Fixed tests
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]
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.
Stefan Marr [Sun, 31 Jul 2011 16:35:09 +0000 (16:35 +0000)]
Added: SKIP when tokenizer extension is not available
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.
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)
Pierre Joye [Thu, 28 Jul 2011 21:16:51 +0000 (21:16 +0000)]
- Fix #55301 (sybase part, take #2) check if malloc succeded
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)
Pierre Joye [Thu, 28 Jul 2011 11:01:04 +0000 (11:01 +0000)]
- Fix #55301 (mssql 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
Pierre Joye [Thu, 28 Jul 2011 10:52:45 +0000 (10:52 +0000)]
- Fix #55301 (url scanner 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
Pierre Joye [Thu, 28 Jul 2011 10:39:08 +0000 (10:39 +0000)]
- Fix #55301 (interbase 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
Pierre Joye [Thu, 28 Jul 2011 10:34:16 +0000 (10:34 +0000)]
- Fix #55301 (com_dotnet 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
Gopal Vijayaraghavan [Wed, 27 Jul 2011 23:34:49 +0000 (23:34 +0000)]
Allow zend_is_interned_string to be pluggable
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)
Pierre Joye [Wed, 27 Jul 2011 14:23:06 +0000 (14:23 +0000)]
- Fix #55295, check if malloc failed
David Soria Parra [Wed, 27 Jul 2011 14:17:45 +0000 (14:17 +0000)]
Check if given string is long enough in zend_*_strtod
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
Pierre Joye [Wed, 27 Jul 2011 11:58:39 +0000 (11:58 +0000)]
- WS
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
Andrey Hristov [Wed, 27 Jul 2011 10:26:59 +0000 (10:26 +0000)]
longer error messages, don't cut them
Peter Cowburn [Wed, 27 Jul 2011 08:48:08 +0000 (08:48 +0000)]
added (recursive)callbackfilteriterator to spl_classes() (bug #55287)
Pierre Joye [Wed, 27 Jul 2011 00:18:35 +0000 (00:18 +0000)]
- upgrading entry for binary number format
Pierre Joye [Wed, 27 Jul 2011 00:16:53 +0000 (00:16 +0000)]
- correct 1st name
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
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
Pierre Joye [Tue, 26 Jul 2011 23:58:18 +0000 (23:58 +0000)]
- news for bug #55124
David Soria Parra [Tue, 26 Jul 2011 23:49:37 +0000 (23:49 +0000)]
Fix #55269 (--enable-dtrace fail on FreeBSD)
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
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.
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.
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...
Ulf Wendel [Tue, 26 Jul 2011 09:30:49 +0000 (09:30 +0000)]
Fix mysqlnd detection
Pierre Joye [Tue, 26 Jul 2011 09:27:53 +0000 (09:27 +0000)]
- simplify
Pierre Joye [Tue, 26 Jul 2011 07:30:41 +0000 (07:30 +0000)]
- use cwd_expand now
Christopher Jones [Mon, 25 Jul 2011 23:40:57 +0000 (23:40 +0000)]
Fix cast warning seen on some platforms
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
Christopher Jones [Mon, 25 Jul 2011 17:25:47 +0000 (17:25 +0000)]
Remove old testname. This file now diverges from PHP_5_3
Christopher Jones [Mon, 25 Jul 2011 17:22:48 +0000 (17:22 +0000)]
Update skipif