]>
granicus.if.org Git - php/log
Gustavo Lopes [Sat, 23 Feb 2013 16:59:28 +0000 (17:59 +0100)]
Merge branch 'dval_to_lval' into PHP-5.5
* dval_to_lval:
Fix rounding of zend_dval_to_lval
Fix zend_dval_to_lval outside 64bit integers range
Gustavo Lopes [Fri, 22 Feb 2013 23:41:39 +0000 (00:41 +0100)]
Fix rounding of zend_dval_to_lval
Now rounding is always towards zero; the rounding can be though as if
occurring on the original double. Only relevant for the 32-bit long
variant.
Gustavo Lopes [Sun, 17 Feb 2013 22:40:26 +0000 (23:40 +0100)]
Fix zend_dval_to_lval outside 64bit integers range
PHP should preserve the least significant bits when casting from double
to long. Zend.m4 contains this:
AC_DEFINE([ZEND_DVAL_TO_LVAL_CAST_OK], 1, [Define if double cast to long preserves least significant bits])
If ZEND_DVAL_TO_LVAL_CAST_OK is not defined, zend_operators.h had an
inline implementation of zend_dval_to_lval() that would do a cast to an
int64_t (when sizeof(long) == 4), then a cast to unsigned long and
finally the cast to long.
While this works well for doubles inside the range of values of the type
used in the first cast (int64_t in the 32-bit version and unsigned long
in the 64-bit version), if outside the range, it is undefined behavior
that WILL give varying and not particularly useful results.
This commit uses fmod() to first put the double in a range that can
safely be cast to unsigned long and then casts this unsigned long to
long. This last cast is implementation defined, but it's very likely
that this gives the expected result (i.e. the internal 2's complement
representation is unchanged) on all platforms that PHP supports. In any
case, the previous implementationa already had this assumption.
This alternative code path is indeed significantly slower than simply
casting the double (almost an order of magnitude), but that should not
matter because casting doubles with a very high absolute value is a
rare event.
Andrey Hristov [Fri, 22 Feb 2013 12:50:04 +0000 (13:50 +0100)]
relax the check
Andrey Hristov [Fri, 22 Feb 2013 12:17:46 +0000 (13:17 +0100)]
Add some parameter checks
Johannes Schlüter [Thu, 21 Feb 2013 15:50:59 +0000 (16:50 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5
Johannes Schlüter [Thu, 21 Feb 2013 15:49:28 +0000 (16:49 +0100)]
Fix #60840 (undefined symbol: mysqlnd_debug_std_no_trace_funcs)
Johannes Schlüter [Thu, 21 Feb 2013 14:10:47 +0000 (15:10 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5
Johannes Schlüter [Thu, 21 Feb 2013 14:10:15 +0000 (15:10 +0100)]
Merge branch 'PHP-5.3' into PHP-5.4
Johannes Schlüter [Thu, 21 Feb 2013 14:08:58 +0000 (15:08 +0100)]
Fix TSRM (after
afc1debb )
Dmitry Stogov [Thu, 21 Feb 2013 12:08:07 +0000 (16:08 +0400)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
PHAR should modify entry timestamp when it's modified
Dmitry Stogov [Thu, 21 Feb 2013 11:57:26 +0000 (15:57 +0400)]
Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
PHAR should modify entry timestamp when it's modified
Dmitry Stogov [Thu, 21 Feb 2013 11:55:20 +0000 (15:55 +0400)]
PHAR should modify entry timestamp when it's modified
Sara Golemon [Thu, 21 Feb 2013 11:22:09 +0000 (03:22 -0800)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
http-stream test requires network connectivity
Sara Golemon [Thu, 21 Feb 2013 11:21:49 +0000 (03:21 -0800)]
Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
http-stream test requires network connectivity
Sara Golemon [Thu, 21 Feb 2013 11:21:23 +0000 (03:21 -0800)]
http-stream test requires network connectivity
Xinchen Hui [Thu, 21 Feb 2013 10:20:48 +0000 (18:20 +0800)]
Merge branch 'PHP-5.4' into PHP-5.5
Xinchen Hui [Thu, 21 Feb 2013 10:18:41 +0000 (18:18 +0800)]
Fixed bug #64235 (Insteadof not work for class method in 5.4.11)
As we discussed with stefan, we think previous of allowing use with
classes is a bug, should be forbided, anyway, the error message should
be improved.
Anatol Belski [Thu, 21 Feb 2013 09:59:50 +0000 (10:59 +0100)]
added back the older vc9 favours
Anatol Belski [Thu, 21 Feb 2013 09:32:56 +0000 (10:32 +0100)]
updated lib versions
Anatol Belski [Thu, 21 Feb 2013 09:29:55 +0000 (10:29 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
updated lib versions
updated lib versions
Anatol Belski [Thu, 21 Feb 2013 09:27:37 +0000 (10:27 +0100)]
updated lib versions
Anatol Belski [Thu, 21 Feb 2013 09:26:38 +0000 (10:26 +0100)]
Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
updated lib versions
Stanislav Malyshev [Thu, 21 Feb 2013 08:56:00 +0000 (00:56 -0800)]
news for bug #49348
Stanislav Malyshev [Thu, 21 Feb 2013 08:52:46 +0000 (00:52 -0800)]
Merge branch 'bug49348' into PHP-5.5
* bug49348:
fix tests
fix bug #49348 - issue notice on get_property_ptr_ptr when used for read
Anatol Belski [Thu, 21 Feb 2013 08:46:50 +0000 (09:46 +0100)]
updated lib versions
Dmitry Stogov [Wed, 20 Feb 2013 18:30:59 +0000 (22:30 +0400)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
Fixed external entity loading
Dmitry Stogov [Wed, 20 Feb 2013 18:27:41 +0000 (22:27 +0400)]
Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
Fixed external entity loading
Conflicts:
ext/libxml/libxml.c
ext/libxml/php_libxml.h
Dmitry Stogov [Wed, 20 Feb 2013 18:14:59 +0000 (22:14 +0400)]
Fixed external entity loading
Johannes Schlüter [Wed, 20 Feb 2013 10:58:01 +0000 (11:58 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5
Johannes Schlüter [Wed, 20 Feb 2013 10:57:11 +0000 (11:57 +0100)]
Merge branch 'PHP-5.3' into PHP-5.4
Johannes Schlüter [Wed, 20 Feb 2013 10:56:29 +0000 (11:56 +0100)]
5.3.22 NEWS
David Soria Parra [Tue, 19 Feb 2013 18:42:27 +0000 (19:42 +0100)]
Start new NEWS section for beta1
David Soria Parra [Tue, 19 Feb 2013 18:26:33 +0000 (19:26 +0100)]
News for PHP 5.5.0 Alpha 5
Anatol Belski [Tue, 19 Feb 2013 08:05:27 +0000 (09:05 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
fix the test for curl 7.29.0+
Anatol Belski [Tue, 19 Feb 2013 08:04:52 +0000 (09:04 +0100)]
Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
fix the test for curl 7.29.0+
Anatol Belski [Tue, 19 Feb 2013 08:04:06 +0000 (09:04 +0100)]
fix the test for curl 7.29.0+
Stanislav Malyshev [Tue, 19 Feb 2013 07:01:42 +0000 (23:01 -0800)]
fix tests
Stanislav Malyshev [Tue, 19 Feb 2013 04:56:02 +0000 (20:56 -0800)]
fix bug #49348 - issue notice on get_property_ptr_ptr when used for read
Dmitry Stogov [Mon, 18 Feb 2013 12:20:49 +0000 (16:20 +0400)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
Fixed bug #64070 (Inheritance with Traits failed with error)
Conflicts:
NEWS
Zend/zend_compile.c
Dmitry Stogov [Mon, 18 Feb 2013 12:07:51 +0000 (16:07 +0400)]
Fixed bug #64070 (Inheritance with Traits failed with error)
Gustavo Lopes [Sun, 17 Feb 2013 12:23:07 +0000 (13:23 +0100)]
Cleanup some multicast code; fix for mac os x?
When I moved some stuff from sockets.c to multicast.c, I did not copy
some conditional defines for systems without the RFC 3678 API.
I moved such defines to multicast.h so both sockets.c and multicast.c
can benefit from them and I prefixed them with PHP_ so that it's less
confusing: now PHP_MCAST_* are defined to either the MCAST_* RFC 3678
APIs or to legacy APIs and MCAST_* always mean the (possibly undefined)
system definitions.
Stanislav Malyshev [Sun, 17 Feb 2013 21:33:48 +0000 (13:33 -0800)]
fix protos
Stanislav Malyshev [Sun, 17 Feb 2013 21:29:34 +0000 (13:29 -0800)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
fix bug #61930: openssl corrupts ssl key resource when using openssl_get_publickey()
Stanislav Malyshev [Sun, 17 Feb 2013 21:28:42 +0000 (13:28 -0800)]
fix bug #61930: openssl corrupts ssl key resource when using openssl_get_publickey()
Anatol Belski [Sun, 17 Feb 2013 19:29:20 +0000 (20:29 +0100)]
fix free vs. curl_free
Stanislav Malyshev [Sun, 17 Feb 2013 10:38:25 +0000 (02:38 -0800)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
update NEWS
Stanislav Malyshev [Sun, 17 Feb 2013 10:37:58 +0000 (02:37 -0800)]
update NEWS
Stanislav Malyshev [Sun, 17 Feb 2013 09:19:08 +0000 (01:19 -0800)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
Added HTTP codes as of RFC 6585
Jonh Wendell [Fri, 8 Feb 2013 16:09:11 +0000 (14:09 -0200)]
Added HTTP codes as of RFC 6585
Added descriptions for the new HTTP codes:
- 428 Precondition Required
- 429 Too Many Requests
- 431 Request Header Fields Too Large
- 511 Network Authentication Required
Xinchen Hui [Sun, 17 Feb 2013 03:06:33 +0000 (11:06 +0800)]
Merge branch 'PHP-5.4' into PHP-5.5
Xinchen Hui [Sun, 17 Feb 2013 03:05:34 +0000 (11:05 +0800)]
Merge branch 'PHP-5.3' into PHP-5.4
Xinchen Hui [Sun, 17 Feb 2013 03:04:36 +0000 (11:04 +0800)]
Fixed bug #64228 (RecursiveDirectoryIterator always assumes SKIP_DOTS)
Xinchen Hui [Sat, 16 Feb 2013 14:29:14 +0000 (22:29 +0800)]
Merge branch 'PHP-5.4' into PHP-5.5
Xinchen Hui [Sat, 16 Feb 2013 14:28:28 +0000 (22:28 +0800)]
Xinchen Hui [Sat, 16 Feb 2013 14:22:22 +0000 (22:22 +0800)]
Exceptions triggered by undefined variable should be handled before FATAL error
this is a enhancement of the fix for bug #64135
Boris Lytochkin [Thu, 14 Feb 2013 19:12:53 +0000 (23:12 +0400)]
Fixed bug #64124 (IPv6 malformed)
Boris Lytochkin [Thu, 14 Feb 2013 19:08:08 +0000 (23:08 +0400)]
+Fixed bug #64124 (IPv6 malformed). (Boris Lytochkin)
Dmitry Stogov [Wed, 13 Feb 2013 18:07:57 +0000 (22:07 +0400)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
Proper bit reset code
Dmitry Stogov [Wed, 13 Feb 2013 18:07:21 +0000 (22:07 +0400)]
Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
Proper bit reset code
Dmitry Stogov [Wed, 13 Feb 2013 18:06:37 +0000 (22:06 +0400)]
Proper bit reset code
Ard Biesheuvel [Wed, 13 Feb 2013 12:50:53 +0000 (13:50 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5
Ard Biesheuvel [Wed, 13 Feb 2013 11:22:50 +0000 (12:22 +0100)]
Fixed bug #64197 (_Offsetof() macro used but not defined on ARM/Clang)
Updated the code to test for __ARMCC_VERSION instead of __arm, as
that is a more reliable indicator of whether the ARMCC compiler is
being used.
Ard Biesheuvel [Fri, 18 Jan 2013 09:13:10 +0000 (10:13 +0100)]
Update config.sub/config.guess to latest GPLv2 upstream version
This adds the ability to configure/build for/on 64-bit ARMv8,
which uses the host triplet 'aarch64-linux-gnu'.
Source:
http://git.savannah.gnu.org/gitweb/?p=config.git;h=
306afce
Ard Biesheuvel [Mon, 11 Feb 2013 14:54:59 +0000 (15:54 +0100)]
NEWS update
Ard Biesheuvel [Mon, 11 Feb 2013 13:36:58 +0000 (14:36 +0100)]
Low-level ARM optimizations
- added ARM versions of zend_mm_high_bit()/zend_mm_low_bit()
- improved safe_address()
Ard Biesheuvel [Mon, 11 Feb 2013 12:53:27 +0000 (13:53 +0100)]
Improve x86 inline assembler
- added cc annotation to inline asm that clobbers the condition
flags
- remove hardcoded constants (IS_LONG,IS_DOUBLE)
- remove hardcoded offsets (zval->value, zval->type)
Andrey Hristov [Mon, 11 Feb 2013 11:07:10 +0000 (12:07 +0100)]
build fixes
Remi Collet [Mon, 11 Feb 2013 08:13:52 +0000 (09:13 +0100)]
NEWS
Remi Collet [Mon, 11 Feb 2013 08:13:27 +0000 (09:13 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
Fixed bug #64142 (dval to lval different behavior on ppc64)
Remi Collet [Mon, 11 Feb 2013 08:10:51 +0000 (09:10 +0100)]
Fixed bug #64142 (dval to lval different behavior on ppc64)
See discussion on internals
http://marc.info/?t=
136042277700003 &r=1&w=2
Stanislav Malyshev [Sun, 10 Feb 2013 07:05:35 +0000 (23:05 -0800)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
update NEWS
mb_split() can now handle empty matches like preg_split() does.
Stanislav Malyshev [Sun, 10 Feb 2013 07:02:26 +0000 (23:02 -0800)]
update NEWS
Moriyoshi Koizumi [Sun, 10 Feb 2013 06:04:23 +0000 (15:04 +0900)]
mb_split() can now handle empty matches like preg_split() does.
Moriyoshi Koizumi [Sun, 10 Feb 2013 06:04:23 +0000 (15:04 +0900)]
mb_split() can now handle empty matches like preg_split() does.
Andrey Hristov [Fri, 8 Feb 2013 17:33:45 +0000 (18:33 +0100)]
news for mysqli_savepoint and mysql_release_savepoint
Andrey Hristov [Fri, 8 Feb 2013 17:28:22 +0000 (18:28 +0100)]
update test case
Andrey Hristov [Fri, 8 Feb 2013 17:09:50 +0000 (18:09 +0100)]
mysqli_savepoint()/mysqli_release_savepoint()
Andrey Hristov [Fri, 8 Feb 2013 16:05:25 +0000 (17:05 +0100)]
Add the constants needed for mysqli_commit(), _rollback() and
begin_transaction()
Andrey Hristov [Fri, 8 Feb 2013 15:36:17 +0000 (16:36 +0100)]
Add savepoint and rollback to savepoint support
Andrey Hristov [Fri, 8 Feb 2013 10:12:54 +0000 (11:12 +0100)]
add the news about recent commits
Andrey Hristov [Thu, 7 Feb 2013 19:35:30 +0000 (20:35 +0100)]
Merge branch 'PHP-5.5' of ssh://git.php.net/php-src into PHP-5.5
Andrey Hristov [Thu, 7 Feb 2013 17:45:49 +0000 (18:45 +0100)]
Add support for begin_transaction in libmysql mode.
Add support for flags and name for commit/rollback in libmysql mode
Boris Lytochkin [Thu, 7 Feb 2013 17:43:37 +0000 (21:43 +0400)]
Merge branch 'PHP-5.4' of https://git.php.net/push/php-src into PHP-5.4
Boris Lytochkin [Thu, 7 Feb 2013 17:42:07 +0000 (21:42 +0400)]
Merge branch 'PHP-5.5' of https://git.php.net/push/php-src into PHP-5.5
Andrey Hristov [Thu, 7 Feb 2013 17:29:19 +0000 (18:29 +0100)]
Export new calls
Xinchen Hui [Thu, 7 Feb 2013 15:49:35 +0000 (23:49 +0800)]
Forgot test script
Xinchen Hui [Thu, 7 Feb 2013 15:45:28 +0000 (23:45 +0800)]
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
Xinchen Hui [Thu, 7 Feb 2013 15:44:46 +0000 (23:44 +0800)]
Fixed bug #64135 (Exceptions from set_error_handler are not always propagated)
Andrey Hristov [Thu, 7 Feb 2013 15:24:08 +0000 (16:24 +0100)]
Add the name in a comment at commit/rollback, if provided
Andrey Hristov [Thu, 7 Feb 2013 15:05:27 +0000 (16:05 +0100)]
Add support for commit and rollback options.
Add support for explicitly starting a transaction - modes also available.
Using the API makes the life of load balancer mysqlnd plugins easier/possible.
Dmitry Stogov [Thu, 7 Feb 2013 12:09:49 +0000 (16:09 +0400)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
Disabled external entities loading
Dmitry Stogov [Thu, 7 Feb 2013 12:09:12 +0000 (16:09 +0400)]
Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
Disabled external entities loading
Dmitry Stogov [Thu, 7 Feb 2013 12:07:05 +0000 (16:07 +0400)]
Disabled external entities loading
Boris Lytochkin [Thu, 7 Feb 2013 10:49:45 +0000 (14:49 +0400)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
fix bug #64124 (IPv6 malformed)
Boris Lytochkin [Thu, 7 Feb 2013 10:48:28 +0000 (14:48 +0400)]
fix bug #64124 (IPv6 malformed)
hostname returned from zend_parse_parameters() was modified in
netsnmp_session_init() that caused imput parameter modification along with
unpredictable changes when parameter is a constant sctring.
One typo in comment was fixed.
Dmitry Stogov [Thu, 7 Feb 2013 09:12:01 +0000 (13:12 +0400)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
Check if soap.wsdl_cache_dir confirms to open_basedir
Dmitry Stogov [Thu, 7 Feb 2013 09:10:04 +0000 (13:10 +0400)]
Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
Check if soap.wsdl_cache_dir confirms to open_basedir
Dmitry Stogov [Thu, 7 Feb 2013 09:04:47 +0000 (13:04 +0400)]
Check if soap.wsdl_cache_dir confirms to open_basedir
Anatoliy Belsky [Wed, 6 Feb 2013 15:22:27 +0000 (16:22 +0100)]
make libvpx optional