]> granicus.if.org Git - php/log
php
9 years ago Merge branch 'master' of https://github.com/softwarespot/php-src
Xinchen Hui [Sun, 30 Aug 2015 15:00:15 +0000 (08:00 -0700)]
Merge branch 'master' of https://github.com/softwarespot/php-src

9 years agoMerge branch 'PHP-5.6'
Xinchen Hui [Sun, 30 Aug 2015 12:34:31 +0000 (05:34 -0700)]
Merge branch 'PHP-5.6'

9 years agoMerge branch 'PHP-5.6' of git.php.net:/php-src into PHP-5.6
Xinchen Hui [Sun, 30 Aug 2015 12:34:15 +0000 (05:34 -0700)]
Merge branch 'PHP-5.6' of git.php.net:/php-src into PHP-5.6

9 years agoMerge branch 'PHP-5.6'
Xinchen Hui [Sun, 30 Aug 2015 12:31:36 +0000 (05:31 -0700)]
Merge branch 'PHP-5.6'

Conflicts:
ext/pdo/pdo_dbh.c
ext/pdo/php_pdo_driver.h

9 years agoFixed bug #70389 (PDO constructor changes unrelated variables)
Xinchen Hui [Sun, 30 Aug 2015 12:02:13 +0000 (05:02 -0700)]
Fixed bug #70389 (PDO constructor changes unrelated variables)

9 years agofix possible overflow
Anatol Belski [Sat, 29 Aug 2015 18:14:07 +0000 (20:14 +0200)]
fix possible overflow

9 years agouse non deprecated symbols
Anatol Belski [Sat, 29 Aug 2015 18:12:31 +0000 (20:12 +0200)]
use non deprecated symbols

9 years agoMerge branch 'PHP-5.6'
Matteo Beccati [Sat, 29 Aug 2015 08:48:53 +0000 (10:48 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Added missing skipif for phar+zlib test

9 years agoAdded missing skipif for phar+zlib test
Matteo Beccati [Sat, 29 Aug 2015 08:41:31 +0000 (10:41 +0200)]
Added missing skipif for phar+zlib test

9 years agoFixed bug #70386 Can't compile on NetBSD because of missing WCONTINUED
Matteo Beccati [Sat, 29 Aug 2015 06:04:03 +0000 (08:04 +0200)]
Fixed bug #70386 Can't compile on NetBSD because of missing WCONTINUED

since 90114a3e93f5209b3d880d154fdb61d3d0c67185

9 years agoFix bug #62441
Nikita Popov [Fri, 28 Aug 2015 16:58:49 +0000 (18:58 +0200)]
Fix bug #62441

These checks were introduced by 8646d9afce989718cde927c526684bbbc1c96e97
back when name resolution was working differently.

9 years agoFix HT_ASSERT ht->nInternalPointer checks
Nikita Popov [Wed, 26 Aug 2015 20:07:48 +0000 (22:07 +0200)]
Fix HT_ASSERT ht->nInternalPointer checks

The & was on the wrong side...

9 years agoHANDLE_BLOCK_INTERRUPTIONS() is not used by SAPIs anymore. It may be useful only...
Dmitry Stogov [Fri, 28 Aug 2015 13:10:07 +0000 (16:10 +0300)]
HANDLE_BLOCK_INTERRUPTIONS() is not used by SAPIs anymore. It may be useful only when PHP configured with --enable-zend-signals.

9 years agoMerge branch 'PHP-5.6'
Anatol Belski [Fri, 28 Aug 2015 12:49:14 +0000 (14:49 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  fix dir separator in test
  fix path separator in test
  fix test

9 years agoRemoved signal protection (set to NULL before free() to avoid dangling pointers)
Dmitry Stogov [Fri, 28 Aug 2015 12:32:50 +0000 (15:32 +0300)]
Removed signal protection (set to NULL before free() to avoid dangling pointers)

9 years agoSimplified integer overflow checks
Dmitry Stogov [Fri, 28 Aug 2015 09:47:21 +0000 (12:47 +0300)]
Simplified integer overflow checks

9 years agofix dir separator in test
Anatol Belski [Fri, 28 Aug 2015 09:39:26 +0000 (11:39 +0200)]
fix dir separator in test

9 years agoRemoved useless signal protection
Dmitry Stogov [Fri, 28 Aug 2015 09:39:18 +0000 (12:39 +0300)]
Removed useless signal protection

9 years agofix path separator in test
Anatol Belski [Fri, 28 Aug 2015 09:38:16 +0000 (11:38 +0200)]
fix path separator in test

9 years agofix test
Anatol Belski [Fri, 28 Aug 2015 09:29:38 +0000 (11:29 +0200)]
fix test

9 years agoMerge branch 'PHP-5.6'
Adam Harvey [Thu, 27 Aug 2015 23:01:33 +0000 (16:01 -0700)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Fix NEWS indentation.
  Don't detect FreeBSD 10 as FreeBSD 1 in libtool.m4.

9 years agoFix NEWS indentation.
Adam Harvey [Thu, 27 Aug 2015 23:00:36 +0000 (16:00 -0700)]
Fix NEWS indentation.

9 years agoDon't detect FreeBSD 10 as FreeBSD 1 in libtool.m4.
Adam Harvey [Thu, 27 Aug 2015 22:59:59 +0000 (15:59 -0700)]
Don't detect FreeBSD 10 as FreeBSD 1 in libtool.m4.

Fixes bug #70370 (Bundled libtool.m4 doesn't handle FreeBSD 10 when building
extensions).

9 years agoRemove merged bug #55259 info from PHP 7 NEWS
Jakub Zelenka [Thu, 27 Aug 2015 20:44:38 +0000 (21:44 +0100)]
Remove merged bug #55259 info from PHP 7 NEWS

9 years agoMerge branch 'PHP-5.6'
Jakub Zelenka [Thu, 27 Aug 2015 20:43:57 +0000 (21:43 +0100)]
Merge branch 'PHP-5.6'

9 years agoUpdate NEWS with info about bug #55259
Jakub Zelenka [Thu, 27 Aug 2015 20:37:59 +0000 (21:37 +0100)]
Update NEWS with info about bug #55259

9 years agoPrevent double load on fast path (manual common subexpression elimination)
Dmitry Stogov [Thu, 27 Aug 2015 20:02:15 +0000 (23:02 +0300)]
Prevent double load on fast path (manual common subexpression elimination)

9 years agoMerge branch 'PHP-5.6'
Jakub Zelenka [Thu, 27 Aug 2015 19:17:33 +0000 (20:17 +0100)]
Merge branch 'PHP-5.6'

9 years agoremove redundant ;
Xinchen Hui [Thu, 27 Aug 2015 05:05:41 +0000 (13:05 +0800)]
remove redundant ;

9 years agoEnable format checking for strpprintf
Xinchen Hui [Thu, 27 Aug 2015 03:42:50 +0000 (11:42 +0800)]
Enable format checking for strpprintf

9 years agoFixed printing
Xinchen Hui [Thu, 27 Aug 2015 03:34:52 +0000 (11:34 +0800)]
Fixed printing

9 years agoRemoved trailing whitespace
softwarespot [Wed, 26 Aug 2015 19:24:46 +0000 (22:24 +0300)]
Removed trailing whitespace

9 years agomake overflow checks as unexpected
Anatol Belski [Wed, 26 Aug 2015 19:03:55 +0000 (21:03 +0200)]
make overflow checks as unexpected

it's supposed to mark an error case

9 years agoUse new range checks in openssl ext
Jakub Zelenka [Wed, 26 Aug 2015 18:55:16 +0000 (19:55 +0100)]
Use new range checks in openssl ext

9 years agoMark parse error functions as cold
Dmitry Stogov [Wed, 26 Aug 2015 15:29:42 +0000 (18:29 +0300)]
Mark parse error functions as cold

9 years agoRemoved unused functions
Dmitry Stogov [Wed, 26 Aug 2015 15:29:23 +0000 (18:29 +0300)]
Removed unused functions

9 years agofix year in the header
Anatol Belski [Wed, 26 Aug 2015 15:10:23 +0000 (17:10 +0200)]
fix year in the header

9 years agoadd range check to ext/soap
Anatol Belski [Wed, 26 Aug 2015 12:18:42 +0000 (14:18 +0200)]
add range check to ext/soap

9 years agoadd some range checks to pcre
Anatol Belski [Tue, 25 Aug 2015 20:47:23 +0000 (22:47 +0200)]
add some range checks to pcre

9 years agomore range checks in ext/tidy
Anatol Belski [Tue, 25 Aug 2015 19:33:38 +0000 (21:33 +0200)]
more range checks in ext/tidy

9 years agoadd range checks to ext/tidy
Anatol Belski [Tue, 25 Aug 2015 18:32:43 +0000 (20:32 +0200)]
add range checks to ext/tidy

9 years agoadd some range checks to ext/dom
Anatol Belski [Tue, 25 Aug 2015 15:54:27 +0000 (17:54 +0200)]
add some range checks to ext/dom

9 years agofix test
Anatol Belski [Tue, 25 Aug 2015 15:38:11 +0000 (17:38 +0200)]
fix test

9 years agoadd range checks to simplexml
Anatol Belski [Tue, 25 Aug 2015 15:37:35 +0000 (17:37 +0200)]
add range checks to simplexml

9 years agofix typo
Anatol Belski [Tue, 25 Aug 2015 13:30:57 +0000 (15:30 +0200)]
fix typo

9 years agoinclude range checks with the portability header
Anatol Belski [Tue, 25 Aug 2015 09:58:13 +0000 (11:58 +0200)]
include range checks with the portability header

9 years agoadded basic stuff with the zend_range_check.h
Anatol Belski [Tue, 25 Aug 2015 09:40:44 +0000 (11:40 +0200)]
added basic stuff with the zend_range_check.h

9 years agoAvoid duplication
Dmitry Stogov [Wed, 26 Aug 2015 11:53:41 +0000 (14:53 +0300)]
Avoid duplication

9 years agoMerge branch 'master' of https://git.php.net/repository/php-src
Christopher Jones [Wed, 26 Aug 2015 11:24:05 +0000 (21:24 +1000)]
Merge branch 'master' of https://git.php.net/repository/php-src

9 years agoSquash some more PHP 7 diffs and improve test portability (Senthil)
Christopher Jones [Wed, 26 Aug 2015 11:22:58 +0000 (21:22 +1000)]
Squash some more PHP 7 diffs and improve test portability (Senthil)

9 years agoFix Typos: exteption -> exception
Niklas Keller [Wed, 26 Aug 2015 05:30:56 +0000 (07:30 +0200)]
Fix Typos: exteption -> exception

9 years agoMerge branch 'master' of https://git.php.net/repository/php-src
Christopher Jones [Wed, 26 Aug 2015 04:35:41 +0000 (14:35 +1000)]
Merge branch 'master' of https://git.php.net/repository/php-src

9 years agoFixed bug #70187 (Notice: unserialize(): Unexpected end of serialized data)
Dmitry Stogov [Wed, 26 Aug 2015 00:27:05 +0000 (03:27 +0300)]
Fixed bug #70187 (Notice: unserialize(): Unexpected end of serialized data)

9 years agoFix zend_vm_call_opcode_handler (e.g. Generators throwing exceptions) with IP/FP...
Bob Weinand [Tue, 25 Aug 2015 23:25:25 +0000 (00:25 +0100)]
Fix zend_vm_call_opcode_handler (e.g. Generators throwing exceptions) with IP/FP registers

9 years agoAvoid array duplication
Dmitry Stogov [Tue, 25 Aug 2015 19:40:33 +0000 (22:40 +0300)]
Avoid array duplication

9 years agoFix bug #55259 (openssl extension does not get the DH parameters from DH key resource)
Jakub Zelenka [Tue, 25 Aug 2015 19:26:11 +0000 (20:26 +0100)]
Fix bug #55259 (openssl extension does not get the DH parameters from DH key resource)

9 years agoRemove superfluous forward declaration
Christoph M. Becker [Tue, 25 Aug 2015 12:26:55 +0000 (14:26 +0200)]
Remove superfluous forward declaration

mysqli_get_cache_stats() has been removed with commit f9ad56e; we're finally
getting rid of its remaining forward declaration.

9 years agofix build, use exported symbol
Anatol Belski [Tue, 25 Aug 2015 08:39:43 +0000 (10:39 +0200)]
fix build, use exported symbol

9 years agoAssign CPU registers for GOTO and SWITCH executor as well
Dmitry Stogov [Mon, 24 Aug 2015 23:38:06 +0000 (02:38 +0300)]
Assign CPU registers for GOTO and SWITCH executor as well

9 years agoupdated NEWS
Christoph M. Becker [Mon, 24 Aug 2015 21:16:21 +0000 (23:16 +0200)]
updated NEWS

9 years agoMerge branch 'PHP-5.6'
Christoph M. Becker [Mon, 24 Aug 2015 21:11:03 +0000 (23:11 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Fix #67131: setcookie() conditional for empty values not met

Resolved conflicts:
ext/standard/head.c

9 years agoupdated NEWS
Christoph M. Becker [Mon, 24 Aug 2015 21:05:18 +0000 (23:05 +0200)]
updated NEWS

9 years agoFix #67131: setcookie() conditional for empty values not met
Christoph M. Becker [Mon, 24 Aug 2015 21:03:50 +0000 (23:03 +0200)]
Fix #67131: setcookie() conditional for empty values not met

PHP applies a workaround for old MSIE where setting an empty cookie value would
not delete the cookie. This workaround is only triggered if an empty string (or
a value that converts to an empty string) is actually given as $value parameter
of setcookie. If the $value parameter is omitted, an empty cookie value is
sent. This commit fixes the inconsistent behavior.

9 years agoIn 95% cases we initialize "empty" array (with 8 hash slots).
Dmitry Stogov [Mon, 24 Aug 2015 19:07:28 +0000 (22:07 +0300)]
In 95% cases we initialize "empty" array (with 8 hash slots).

9 years agoMark error functions as "cold"
Dmitry Stogov [Mon, 24 Aug 2015 15:07:59 +0000 (18:07 +0300)]
Mark error functions as "cold"

9 years agoFixed bug #70342 (changing configuration with ignore_user_abort(true) isn't working)
Xinchen Hui [Mon, 24 Aug 2015 13:09:16 +0000 (21:09 +0800)]
Fixed bug #70342 (changing configuration with ignore_user_abort(true) isn't working)

9 years agoFix oplog with eval()ed code
Bob Weinand [Mon, 24 Aug 2015 11:28:35 +0000 (12:28 +0100)]
Fix oplog with eval()ed code

9 years agoOptimize fast path
Dmitry Stogov [Mon, 24 Aug 2015 09:47:06 +0000 (12:47 +0300)]
Optimize fast path

9 years agoMerge branch 'PHP-5.6'
Anatol Belski [Sun, 23 Aug 2015 20:56:51 +0000 (22:56 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  fix test
  fix test
  fix test
  fix test

9 years agoadded test for gzgetss()
marcosptf [Thu, 20 Aug 2015 11:34:29 +0000 (08:34 -0300)]
added test for gzgetss()

9 years agofix test
Anatol Belski [Sun, 23 Aug 2015 11:06:51 +0000 (13:06 +0200)]
fix test

backport from master

9 years agofix test
Anatol Belski [Sun, 23 Aug 2015 11:06:00 +0000 (13:06 +0200)]
fix test

backport from master

9 years agofix test
Anatol Belski [Sun, 23 Aug 2015 11:04:36 +0000 (13:04 +0200)]
fix test

9 years agofix test
Anatol Belski [Sun, 23 Aug 2015 11:03:26 +0000 (13:03 +0200)]
fix test

backported from master

9 years agoMerge branch 'master' of git.php.net:php-src
Xinchen Hui [Sun, 23 Aug 2015 12:42:10 +0000 (20:42 +0800)]
Merge branch 'master' of git.php.net:php-src

9 years agoFixed Bug #70332 (Wrong behavior while returning reference on object)
Xinchen Hui [Sun, 23 Aug 2015 12:17:26 +0000 (20:17 +0800)]
Fixed Bug #70332 (Wrong behavior while returning reference on object)

This fix is actually made for array acessing bug fix (#70262) which is
discarded since we have another better fix, anyway now seems this is still useful

9 years agoMerge remote-tracking branch 'origin/PHP-5.6'
Bob Weinand [Sun, 23 Aug 2015 11:19:31 +0000 (12:19 +0100)]
Merge remote-tracking branch 'origin/PHP-5.6'

9 years agoFix phpdbg_break_next()
Bob Weinand [Sun, 23 Aug 2015 11:07:14 +0000 (12:07 +0100)]
Fix phpdbg_break_next()

9 years agoFix phpdbg_break_next() and add test
Bob Weinand [Sun, 23 Aug 2015 10:58:32 +0000 (11:58 +0100)]
Fix phpdbg_break_next() and add test

9 years agoFixed bug #70330 (Segmentation Fault with multiple "curl_copy_handle")
Xinchen Hui [Sun, 23 Aug 2015 05:01:47 +0000 (13:01 +0800)]
Fixed bug #70330 (Segmentation Fault with multiple "curl_copy_handle")

9 years agoRe-Fixed bug #70321 (Magic getter breaks reference to array property)
Xinchen Hui [Sun, 23 Aug 2015 03:40:49 +0000 (11:40 +0800)]
Re-Fixed bug #70321 (Magic getter breaks reference to array property)

9 years agoRevert "Fixed bug #70321 (Magic getter breaks reference to array property)"
Xinchen Hui [Sun, 23 Aug 2015 02:40:28 +0000 (10:40 +0800)]
Revert "Fixed bug #70321 (Magic getter breaks reference to array property)"

This reverts commit 66754585f889e56ddaf3442fd4ac7b9adf93417b.

9 years agoFixed bug #70321 (Magic getter breaks reference to array property)
Bob Weinand [Sat, 22 Aug 2015 22:54:59 +0000 (23:54 +0100)]
Fixed bug #70321 (Magic getter breaks reference to array property)
Note that the UNEXPECTED(zv) was turned into EXPECTED(zv), as zv is mostly set in the context where it is used and usually anyway is checked first with OP*_TYPE == IS_VAR; or maybe just completely remove that (UN)EXPECTED at this place...

9 years agoFix issues with phpdbg SIGINT handler
Bob Weinand [Fri, 21 Aug 2015 22:36:31 +0000 (23:36 +0100)]
Fix issues with phpdbg SIGINT handler
Also fix valgrind warnings in allocator when not using mmap()ed memory

9 years agomake this test Windows only
Anatol Belski [Fri, 21 Aug 2015 17:47:17 +0000 (19:47 +0200)]
make this test Windows only

as we're not in control of the libxml builds everywhere

9 years agohere string isn't supported by every shell
Anatol Belski [Fri, 21 Aug 2015 17:11:53 +0000 (19:11 +0200)]
here string isn't supported by every shell

9 years ago$() isn't supported on every shell
Ferenc Kovacs [Fri, 21 Aug 2015 16:27:03 +0000 (18:27 +0200)]
$() isn't supported on every shell

9 years agoMerge branch 'PHP-5.6'
Anatol Belski [Fri, 21 Aug 2015 13:48:03 +0000 (15:48 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  fix tests
  fix dir separator
  fix dir separator in test
  fix dir separator in test

9 years agofix tests
Anatol Belski [Fri, 21 Aug 2015 13:13:39 +0000 (15:13 +0200)]
fix tests

9 years agofix dir separator
Anatol Belski [Fri, 21 Aug 2015 12:08:33 +0000 (14:08 +0200)]
fix dir separator

9 years agofix dir separator in test
Anatol Belski [Fri, 21 Aug 2015 12:05:58 +0000 (14:05 +0200)]
fix dir separator in test

9 years agofix dir separator in test
Anatol Belski [Fri, 21 Aug 2015 12:04:08 +0000 (14:04 +0200)]
fix dir separator in test

9 years agounnecessary 1 byte allocted
Xinchen Hui [Fri, 21 Aug 2015 10:28:02 +0000 (18:28 +0800)]
unnecessary 1 byte allocted

9 years agoadd test for bug 70309
Anatol Belski [Fri, 21 Aug 2015 09:47:00 +0000 (11:47 +0200)]
add test for bug 70309

9 years agonote to UPGRADING
Anatol Belski [Thu, 20 Aug 2015 16:48:52 +0000 (18:48 +0200)]
note to UPGRADING

9 years agoFix invalid range error by gawk in order_by_dek.awk
Bob Weinand [Tue, 4 Nov 2014 12:17:35 +0000 (13:17 +0100)]
Fix invalid range error by gawk in order_by_dek.awk

9 years agoRemove assumption that extensions are in ext/ext-name
Bob Weinand [Sun, 2 Nov 2014 22:25:49 +0000 (23:25 +0100)]
Remove assumption that extensions are in ext/ext-name
Fixes also a weird ln (symlink) hack for phpdbg

9 years agoMove __STDC_CONSTANT_MACROS/__STDC_LIMIT_MACROS defs earlier
Sara Golemon [Thu, 20 Aug 2015 21:40:08 +0000 (14:40 -0700)]
Move __STDC_CONSTANT_MACROS/__STDC_LIMIT_MACROS defs earlier

These defines should apply to windows as well,
so move them out of the non-windows specific section
and always define them for C++ compilations.

9 years agoFix bogus traces with ReflectionGenerator::getTrace()
Bob Weinand [Thu, 20 Aug 2015 21:24:28 +0000 (23:24 +0200)]
Fix bogus traces with ReflectionGenerator::getTrace()

9 years agoEnable definitions of stdint.h limits/constants used by Zend/zend_long.h
Sara Golemon [Thu, 20 Aug 2015 18:09:43 +0000 (11:09 -0700)]
Enable definitions of stdint.h limits/constants used by Zend/zend_long.h

Define __STDC_LIMITS_MACROS and __STDC_CONSTANT_MACROS
prior to including stdint.h for the first time so that it
defines the INT64_MAX / INT64_C / etc... macros we use elsewhere
when building for C++ (C already gets these).