]> granicus.if.org Git - php/log
php
9 years agoAdded two tests to check the main functionallity of recode extension
Daniel Persson [Tue, 1 Sep 2015 19:53:09 +0000 (21:53 +0200)]
Added two tests to check the main functionallity of recode extension

9 years agoDoubles are not refcounted
Hannes Magnusson [Tue, 1 Sep 2015 21:52:04 +0000 (14:52 -0700)]
Doubles are not refcounted

9 years agoFix #32490: constructor of mysqli has wrong name
Christoph M. Becker [Tue, 1 Sep 2015 16:38:11 +0000 (18:38 +0200)]
Fix #32490: constructor of mysqli has wrong name

As of PHP 7 old style constructor names are deprecated, so we rename
mysqli::mysqli() to mysqli::__construct().

9 years agoFixed bug #70397 (Segmentation fault when using Closure::call and yield)
Bob Weinand [Tue, 1 Sep 2015 16:04:00 +0000 (18:04 +0200)]
Fixed bug #70397 (Segmentation fault when using Closure::call and yield)

9 years agofix for --enable-zend-signals and ZTS
Joe Watkins [Tue, 1 Sep 2015 15:51:40 +0000 (16:51 +0100)]
fix for --enable-zend-signals and ZTS
temporary fix to make queue size bigger in zend_signal while I work on it

9 years agoMerge branch 'master' of https://github.com/php/php-src
Joe Watkins [Tue, 1 Sep 2015 10:00:45 +0000 (11:00 +0100)]
Merge branch 'master' of https://github.com/php/php-src

9 years agoFixed possible caching with invalid key value
Dmitry Stogov [Tue, 1 Sep 2015 09:56:33 +0000 (12:56 +0300)]
Fixed possible caching with invalid key value

9 years agofix zend signal and tsrm compat zend-signal-zts
Joe Watkins [Tue, 1 Sep 2015 08:34:54 +0000 (09:34 +0100)]
fix zend signal and tsrm compat

9 years agoFixed one more problem related to bug #70187 (Notice: unserialize(): Unexpected end...
Dmitry Stogov [Tue, 1 Sep 2015 07:39:00 +0000 (10:39 +0300)]
Fixed one more problem related to bug #70187 (Notice: unserialize(): Unexpected end of serialized data)

9 years agoAdded missing set of fcc->initialized flag.
Dmitry Stogov [Tue, 1 Sep 2015 00:15:50 +0000 (03:15 +0300)]
Added missing set of fcc->initialized flag.

9 years agoFix valgrind warning upon displaying lines from eval()ed code in phpdbg
Bob Weinand [Mon, 31 Aug 2015 21:42:15 +0000 (23:42 +0200)]
Fix valgrind warning upon displaying lines from eval()ed code in phpdbg

9 years agoEnsure proper data alignment
Dmitry Stogov [Mon, 31 Aug 2015 10:56:42 +0000 (13:56 +0300)]
Ensure proper data alignment

9 years agoAdd myself into list of authors of the most refactored files.
Dmitry Stogov [Mon, 31 Aug 2015 08:38:16 +0000 (11:38 +0300)]
Add myself into list of authors of the most refactored files.

9 years agoRespect exit status for -rr option with phpdbg
Bob Weinand [Sun, 30 Aug 2015 18:25:10 +0000 (20:25 +0200)]
Respect exit status for -rr option with phpdbg

9 years agoMerge branch 'patch-8' of https://github.com/ovr/php-src
Xinchen Hui [Sun, 30 Aug 2015 15:02:17 +0000 (08:02 -0700)]
Merge branch 'patch-8' of https://github.com/ovr/php-src

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 agoTravisCI - remove unneded code
Dmitry Patsura [Tue, 25 Aug 2015 04:33:15 +0000 (12:33 +0800)]
TravisCI - remove unneded code

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