]> granicus.if.org Git - php/log
php
9 years agoManual CSE to avoid double read
Dmitry Stogov [Fri, 11 Sep 2015 11:13:41 +0000 (14:13 +0300)]
Manual CSE to avoid double read

9 years agoChange this as sixd suggested
Xinchen Hui [Fri, 11 Sep 2015 07:05:56 +0000 (15:05 +0800)]
Change this as sixd suggested

9 years agoMerge branch 'PHP-5.6'
Xinchen Hui [Fri, 11 Sep 2015 05:52:00 +0000 (13:52 +0800)]
Merge branch 'PHP-5.6'

9 years agoAdd test XFAIL for bug #70470
Xinchen Hui [Fri, 11 Sep 2015 05:45:18 +0000 (13:45 +0800)]
Add test XFAIL for bug #70470

9 years agoRemove free_string_zval
Xinchen Hui [Fri, 11 Sep 2015 02:58:24 +0000 (10:58 +0800)]
Remove free_string_zval

9 years agofixed compilation error
Dmitry Stogov [Thu, 10 Sep 2015 17:24:11 +0000 (20:24 +0300)]
fixed compilation error

9 years agoDon't keep dangling pointer.
Dmitry Stogov [Thu, 10 Sep 2015 17:03:42 +0000 (20:03 +0300)]
Don't keep dangling pointer.

9 years agoFixed Sixd :<
Xinchen Hui [Thu, 10 Sep 2015 12:14:22 +0000 (20:14 +0800)]
Fixed Sixd :<

9 years agoMerge branch 'PHP-5.6'
Xinchen Hui [Thu, 10 Sep 2015 11:56:18 +0000 (19:56 +0800)]
Merge branch 'PHP-5.6'

9 years agoFixed bug #70431 (Memory leak in php_ini.c)
Xinchen Hui [Thu, 10 Sep 2015 11:53:37 +0000 (19:53 +0800)]
Fixed bug #70431 (Memory leak in php_ini.c)

9 years agoUse efree_size
Xinchen Hui [Thu, 10 Sep 2015 08:22:07 +0000 (16:22 +0800)]
Use efree_size

9 years agoSimplfy zend_is_true
Xinchen Hui [Thu, 10 Sep 2015 08:13:22 +0000 (16:13 +0800)]
Simplfy zend_is_true

9 years agoAdded folder marks
Xinchen Hui [Thu, 10 Sep 2015 07:01:28 +0000 (15:01 +0800)]
Added folder marks

9 years agoUnexpected
Xinchen Hui [Thu, 10 Sep 2015 06:57:22 +0000 (14:57 +0800)]
Unexpected

9 years agocleanup tmp_member handling
Xinchen Hui [Thu, 10 Sep 2015 06:39:25 +0000 (14:39 +0800)]
cleanup tmp_member handling

9 years agoMerge branch 'master' of git.php.net:php-src
Dmitry Stogov [Wed, 9 Sep 2015 23:53:57 +0000 (02:53 +0300)]
Merge branch 'master' of git.php.net:php-src

* 'master' of git.php.net:php-src:
  Aligned IntlChar protos to their ARG_INFO (related to #70453)
  Skip IntlChar related test if ext/intl is not available

9 years agoChange array sorting implementation to avoid two level callbacks system.
Dmitry Stogov [Wed, 9 Sep 2015 23:51:23 +0000 (02:51 +0300)]
Change array sorting implementation to avoid two level callbacks system.
Simplify zval comparion API.

9 years agoAligned IntlChar protos to their ARG_INFO (related to #70453)
Christoph M. Becker [Wed, 9 Sep 2015 23:38:15 +0000 (01:38 +0200)]
Aligned IntlChar protos to their ARG_INFO (related to #70453)

9 years agoSkip IntlChar related test if ext/intl is not available
Christoph M. Becker [Wed, 9 Sep 2015 23:31:55 +0000 (01:31 +0200)]
Skip IntlChar related test if ext/intl is not available

9 years agoAdded support of LDAP_OPT_TIMEOUT, fixes #69574
Côme Bernigaud [Wed, 9 Sep 2015 16:02:10 +0000 (18:02 +0200)]
Added support of LDAP_OPT_TIMEOUT, fixes #69574

9 years agoBetter array_compare improvement
Dmitry Stogov [Wed, 9 Sep 2015 12:11:03 +0000 (15:11 +0300)]
Better array_compare improvement

9 years agoAdd entry for #70284 in 7.0.0RC2
Lior Kaplan [Wed, 9 Sep 2015 11:22:46 +0000 (14:22 +0300)]
Add entry for #70284 in 7.0.0RC2

9 years agoAdd entry for #70284 in 5.6.13
Lior Kaplan [Wed, 9 Sep 2015 11:20:04 +0000 (14:20 +0300)]
Add entry for #70284 in 5.6.13

9 years agoDon't inline "slow" and rarely used functions.
Dmitry Stogov [Wed, 9 Sep 2015 10:42:35 +0000 (13:42 +0300)]
Don't inline "slow" and rarely used functions.

9 years agoMerge branch 'master' of git.php.net:/php-src
Xinchen Hui [Wed, 9 Sep 2015 10:02:27 +0000 (18:02 +0800)]
Merge branch 'master' of git.php.net:/php-src

9 years agoUseless ZVAL_UNDEF
Xinchen Hui [Wed, 9 Sep 2015 10:00:04 +0000 (18:00 +0800)]
Useless ZVAL_UNDEF

9 years agoImproved array_compare
Xinchen Hui [Wed, 9 Sep 2015 09:56:44 +0000 (17:56 +0800)]
Improved array_compare

9 years agoMerge branch 'PHP-5.6'
Côme Bernigaud [Wed, 9 Sep 2015 09:05:29 +0000 (11:05 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Fix bug in LDAP extensions' saving TIMELIMIT and DEREF

9 years agoAvoid useless EG(exception) checks
Dmitry Stogov [Wed, 9 Sep 2015 08:54:44 +0000 (11:54 +0300)]
Avoid useless EG(exception) checks

9 years agoMerge branch 'PHP-5.5' into PHP-5.6
Côme Bernigaud [Wed, 9 Sep 2015 08:34:46 +0000 (10:34 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fix bug in LDAP extensions' saving TIMELIMIT and DEREF

9 years agoMerge branch 'pull-request/1512' into PHP-5.5
Côme Bernigaud [Wed, 9 Sep 2015 08:30:17 +0000 (10:30 +0200)]
Merge branch 'pull-request/1512' into PHP-5.5

* pull-request/1512:
  Fix bug in LDAP extensions' saving TIMELIMIT and DEREF

9 years agoUnused var
Xinchen Hui [Wed, 9 Sep 2015 07:15:43 +0000 (15:15 +0800)]
Unused var

9 years agounused var
Xinchen Hui [Wed, 9 Sep 2015 07:11:42 +0000 (15:11 +0800)]
unused var

9 years agoMerge branch 'PHP-5.6'
Christoph M. Becker [Wed, 9 Sep 2015 02:33:28 +0000 (04:33 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Skip test for old glibc iconv

9 years agoSkip test for old glibc iconv
Christoph M. Becker [Wed, 9 Sep 2015 02:27:28 +0000 (04:27 +0200)]
Skip test for old glibc iconv

bug32001.phpt has a high failure rate for the submitted reports. According to
several samples it seems the iconv implementation of glibc 2.12 (released
2010-05) is the culprit. It seems appropriate to skip the test for such old
versions.

9 years agoSmall cleanup in pack() implementation
Nikita Popov [Wed, 9 Sep 2015 01:58:37 +0000 (03:58 +0200)]
Small cleanup in pack() implementation

9 years agoFix bug in LDAP extensions' saving TIMELIMIT and DEREF
Tyson Andre [Tue, 8 Sep 2015 22:24:09 +0000 (15:24 -0700)]
Fix bug in LDAP extensions' saving TIMELIMIT and DEREF

LDAP_OPT_TIMELIMIT and LDAP_OPT_DEREF's original values weren't
saved properly because of a bug introduced when copy and pasting.

This lead to the original timeout being changed
when specifying a temporary override (e.g. for ldap_search(..., $timeout))

9 years agoupdated NEWS
Christoph M. Becker [Wed, 9 Sep 2015 01:21:17 +0000 (03:21 +0200)]
updated NEWS

9 years agoMerge branch 'PHP-5.6'
Christoph M. Becker [Wed, 9 Sep 2015 01:19:55 +0000 (03:19 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Fix #70456: mysqlnd doesn't activate TCP keep-alive when connecting to a server

Resolved conflicts:
ext/mysqlnd/mysqlnd_net.c

9 years agoupdated NEWS
Christoph M. Becker [Wed, 9 Sep 2015 01:12:59 +0000 (03:12 +0200)]
updated NEWS

9 years agoDon't inline "Undefined variable" warning reporting.
Dmitry Stogov [Wed, 9 Sep 2015 00:18:52 +0000 (03:18 +0300)]
Don't inline "Undefined variable" warning reporting.

9 years agoFix #70456: mysqlnd doesn't activate TCP keep-alive when connecting to a server
Sergei Turchanov [Thu, 3 Sep 2015 07:24:34 +0000 (17:24 +1000)]
Fix #70456: mysqlnd doesn't activate TCP keep-alive when connecting to a server

libmysqlclient activates TCP keep-alive when connecting to a server. PHP
mysqlnd extension must do the same to maintain compatibility.

9 years agoMerged RFC Random Functions Throwing Exceptions in PHP 7
Bob Weinand [Tue, 8 Sep 2015 22:58:09 +0000 (00:58 +0200)]
Merged RFC Random Functions Throwing Exceptions in PHP 7
Squashes commits from PR #1397

commit cd5dcc8c9eb43603d908abcea69c9e18df0f2ed5
Author: SammyK <sammyk@sammykmedia.com>
Date:   Tue Sep 8 13:53:42 2015 -0500

    Add min max samezies

commit b719499218a4e84efecd4dc1d4235d16142c9793
Author: SammyK <sammyk@sammykmedia.com>
Date:   Wed Sep 2 07:00:25 2015 -0500

    Make random_bytes() throw Error when $length <= 0 and random_int() throw Error when $min > $max

commit 0cca557291c278716ec4b00b32fc2bdc1c1c8848
Author: SammyK <sammyk@sammykmedia.com>
Date:   Wed Sep 2 06:55:59 2015 -0500

    Make random_*() functions throw Error exception when random bytes cannot be obtained

commit 998c7f1e209123605b41139e8d9093075ce16bd6
Author: SammyK <sammyk@sammykmedia.com>
Date:   Wed Sep 2 06:41:20 2015 -0500

    Make random_*() functions throw TypeError when zend_parse_parameters fails

commit 99d305c18820ff55d82d952777cbcdf1cf0158be
Author: SammyK <sammyk@sammykmedia.com>
Date:   Mon Jul 6 19:50:47 2015 -0500

    Make exceptions less specific

commit b042dfab290713366741a663a420cf12bf802f39
Author: SammyK <sammyk@sammykmedia.com>
Date:   Mon Jul 6 17:20:13 2015 -0500

    Upgrade warnings to RuntimeExceptions

9 years agoFixed typo that might cause serious bugs in MM. May be it was the reason of bug ...
Dmitry Stogov [Tue, 8 Sep 2015 14:22:26 +0000 (17:22 +0300)]
Fixed typo that might cause serious bugs in MM. May be it was the reason of bug #70392 (SIGSEGV during PHP shutdown).

9 years agoCheck EG(exception) only if it's really necessary
Dmitry Stogov [Tue, 8 Sep 2015 14:20:52 +0000 (17:20 +0300)]
Check EG(exception) only if it's really necessary

9 years agoFix typo in comment.
Yasuo Ohgaki [Tue, 8 Sep 2015 09:52:31 +0000 (18:52 +0900)]
Fix typo in comment.

9 years agoAdd URL rewrite issue note.
Yasuo Ohgaki [Tue, 8 Sep 2015 09:50:40 +0000 (18:50 +0900)]
Add URL rewrite issue note.

9 years agoAdd more test cases
Yasuo Ohgaki [Tue, 8 Sep 2015 09:44:02 +0000 (18:44 +0900)]
Add more test cases

9 years agoupdated NEWS
Christoph M. Becker [Mon, 7 Sep 2015 21:48:14 +0000 (23:48 +0200)]
updated NEWS

9 years agoFix #70454: IntlChar::forDigit second parameter should be optional
Christoph M. Becker [Mon, 7 Sep 2015 21:46:12 +0000 (23:46 +0200)]
Fix #70454: IntlChar::forDigit second parameter should be optional

ZPP expects "ll" instead of "l|l" what would match the "proto" and the
ARG_INFO.

9 years agoupdated NEWS
Christoph M. Becker [Mon, 7 Sep 2015 21:06:13 +0000 (23:06 +0200)]
updated NEWS

9 years agoFix #70453: IntlChar::foldCase() incorrect arguments and missing constants
Christoph M. Becker [Mon, 7 Sep 2015 21:02:56 +0000 (23:02 +0200)]
Fix #70453: IntlChar::foldCase() incorrect arguments and missing constants

We add missing ARG_INFO for the seconds parameter $options, and add the
respective constants IntlChar::FOLD_CASE_DEFAULT and
::FOLD_CASE_EXCLUDE_SPECIAL_I.

9 years agoupdate NEWS
Anatol Belski [Mon, 7 Sep 2015 15:35:57 +0000 (17:35 +0200)]
update NEWS

9 years agoadd test for bug #70423
Anatol Belski [Mon, 7 Sep 2015 15:29:55 +0000 (17:29 +0200)]
add test for bug #70423

9 years agoFixed bug #70449 (PHP won't compile on 10.4 and 10.5 because of missing constants)
Bob Weinand [Mon, 7 Sep 2015 15:28:29 +0000 (17:28 +0200)]
Fixed bug #70449 (PHP won't compile on 10.4 and 10.5 because of missing constants)

9 years agoupdate NEWS
Anatol Belski [Mon, 7 Sep 2015 15:09:19 +0000 (17:09 +0200)]
update NEWS

9 years agoremove unnecessary check
Anatol Belski [Mon, 7 Sep 2015 13:14:26 +0000 (15:14 +0200)]
remove unnecessary check

as it's unrelated to the size pre calculation

9 years agoFix bug #70423 Warning Internal error: wrong size calculation
Anatol Belski [Mon, 7 Sep 2015 13:02:33 +0000 (15:02 +0200)]
Fix bug #70423 Warning Internal error: wrong size calculation

9 years agoext/zip version is now 1.13.0
Remi Collet [Mon, 7 Sep 2015 12:04:20 +0000 (14:04 +0200)]
ext/zip version is now 1.13.0

9 years agoMerge branch 'PHP-5.6'
Remi Collet [Mon, 7 Sep 2015 11:55:19 +0000 (13:55 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Fix build

9 years agoFix build
Remi Collet [Mon, 7 Sep 2015 11:52:28 +0000 (13:52 +0200)]
Fix build

php_zip.c:1647:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
php_zip.c:1648:3: error: format not a string literal and no format arguments [-Werror=format-security]

9 years agoMake sure closing save handler.
Yasuo Ohgaki [Sun, 6 Sep 2015 19:45:20 +0000 (04:45 +0900)]
Make sure closing save handler.

9 years agoFix #70013: Reference to $_SESSION is lost after a call to session_regenerate_id()
Yasuo Ohgaki [Sun, 6 Sep 2015 08:14:34 +0000 (17:14 +0900)]
Fix #70013: Reference to $_SESSION is lost after a call to session_regenerate_id()

9 years agoUpdate NEWS for OpenSSL
Jakub Zelenka [Sun, 6 Sep 2015 18:13:41 +0000 (19:13 +0100)]
Update NEWS for OpenSSL

9 years agoFix request #70438: Add IV parameter for openssl_seal and openssl_open
Jakub Zelenka [Sun, 6 Sep 2015 18:09:56 +0000 (19:09 +0100)]
Fix request #70438: Add IV parameter for openssl_seal and openssl_open

9 years agoFix OpenSSL record in NEWS file
Jakub Zelenka [Sun, 6 Sep 2015 15:51:06 +0000 (16:51 +0100)]
Fix OpenSSL record in NEWS file

9 years agoMerge branch 'PHP-5.6'
Jakub Zelenka [Sun, 6 Sep 2015 15:42:37 +0000 (16:42 +0100)]
Merge branch 'PHP-5.6'

9 years agoFix bug #60632: openssl_seal fails with AES
Jakub Zelenka [Sun, 6 Sep 2015 15:39:59 +0000 (16:39 +0100)]
Fix bug #60632: openssl_seal fails with AES

9 years agoupdated NEWS
Christoph M. Becker [Sun, 6 Sep 2015 13:37:35 +0000 (15:37 +0200)]
updated NEWS

9 years agoRevert "Fix #70029: nodeValue of DOMElement list content of children nodes"
Christoph M. Becker [Sun, 6 Sep 2015 13:36:43 +0000 (15:36 +0200)]
Revert "Fix #70029: nodeValue of DOMElement list content of children nodes"

This reverts commit 25a52d98d7cb2d4f3b3636eac45c71a1ae03c760.

9 years agoupdated NEWS
Christoph M. Becker [Sat, 5 Sep 2015 12:51:25 +0000 (14:51 +0200)]
updated NEWS

9 years agoMerge branch 'PHP-5.6'
Christoph M. Becker [Sat, 5 Sep 2015 12:43:19 +0000 (14:43 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Fix #68291: 404 on urls with '+'

Resolved conflicts:
sapi/cli/php_cli_server.c

9 years agoupdated NEWS
Christoph M. Becker [Sat, 5 Sep 2015 12:39:24 +0000 (14:39 +0200)]
updated NEWS

9 years agoFix #68291: 404 on urls with '+'
Christoph M. Becker [Sat, 5 Sep 2015 11:52:41 +0000 (13:52 +0200)]
Fix #68291: 404 on urls with '+'

URI paths have to be treated according to RFC 3986 by the CLI web server, not
as application/x-www-form-urlencoded.

9 years agoupdated NEWS
Christoph M. Becker [Sat, 5 Sep 2015 01:22:45 +0000 (03:22 +0200)]
updated NEWS

9 years agoMerge branch 'PHP-5.6'
Christoph M. Becker [Sat, 5 Sep 2015 01:19:43 +0000 (03:19 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Fix #70395: Missing ARG_INFO for openssl_seal()

9 years agoupdated NEWS
Christoph M. Becker [Sat, 5 Sep 2015 01:14:56 +0000 (03:14 +0200)]
updated NEWS

9 years agoFix #70395: Missing ARG_INFO for openssl_seal()
Christoph M. Becker [Tue, 1 Sep 2015 23:13:49 +0000 (01:13 +0200)]
Fix #70395: Missing ARG_INFO for openssl_seal()

This patch adds the missing ARG_INFO for the optional 5th parameter $method.

9 years agoupdated NEWS and UPGRADING
Christoph M. Becker [Sat, 5 Sep 2015 00:03:23 +0000 (02:03 +0200)]
updated NEWS and UPGRADING

9 years agoFix #70029: nodeValue of DOMElement list content of children nodes
Christoph M. Becker [Fri, 10 Jul 2015 11:42:09 +0000 (13:42 +0200)]
Fix #70029: nodeValue of DOMElement list content of children nodes

According to the W3C DOM Core Level 3 specification DOMElement::nodeValue is
supposed to yield null, but currently the DOM extension yield the result of
calling xmlNodeGetContent(), what is the concatenation of the values of the
children of the element. This patch fixes the non standard behavior.

9 years agoupdated NEWS
Christoph M. Becker [Fri, 4 Sep 2015 23:35:16 +0000 (01:35 +0200)]
updated NEWS

9 years agoMerge branch 'PHP-5.6'
Christoph M. Becker [Fri, 4 Sep 2015 23:32:08 +0000 (01:32 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Fix #70001: Assigning to DOMNode::textContent does additional entity encoding

Resolved conflicts:
ext/dom/node.c

9 years agoupdated NEWS
Christoph M. Becker [Fri, 4 Sep 2015 23:27:59 +0000 (01:27 +0200)]
updated NEWS

9 years agoFix #70001: Assigning to DOMNode::textContent does additional entity encoding
Christoph M. Becker [Tue, 7 Jul 2015 12:55:00 +0000 (14:55 +0200)]
Fix #70001: Assigning to DOMNode::textContent does additional entity encoding

Assigning to DOMNode::textContent encodes entities, what does not match the
behavior of DOMText::__construct() and DOMDocument::createTextNode. This patch
changes the behavior of DOMNode::textContent in this regard.

9 years agoupdated NEWS
Christoph M. Becker [Fri, 4 Sep 2015 22:47:09 +0000 (00:47 +0200)]
updated NEWS

9 years agoMerge branch 'PHP-5.6'
Christoph M. Becker [Fri, 4 Sep 2015 22:43:41 +0000 (00:43 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Fix #70322: ZipArchive::close() doesn't indicate errors

9 years agoupdated NEWS
Christoph M. Becker [Fri, 4 Sep 2015 22:37:08 +0000 (00:37 +0200)]
updated NEWS

9 years agoFix #70322: ZipArchive::close() doesn't indicate errors
Christoph M. Becker [Fri, 21 Aug 2015 20:26:26 +0000 (22:26 +0200)]
Fix #70322: ZipArchive::close() doesn't indicate errors

If an archive can't be written, ZipArchive::close() nonetheless returns TRUE.
We fix the return value to properly return success, and additionally raise a
warning on failure.

9 years agoSimplify JSON constants registration
Jakub Zelenka [Fri, 4 Sep 2015 19:00:29 +0000 (20:00 +0100)]
Simplify JSON constants registration

9 years agoAdd my name to authors for previous refactoring
Jakub Zelenka [Fri, 4 Sep 2015 18:56:59 +0000 (19:56 +0100)]
Add my name to authors for previous refactoring

Related to jsond changes

9 years agoMove json_decode options macros bellow encode options
Jakub Zelenka [Fri, 4 Sep 2015 18:37:05 +0000 (19:37 +0100)]
Move json_decode options macros bellow encode options

9 years agojson: fix formating of PHP_JSON* option bitshifts
Ryan McCullagh [Fri, 4 Sep 2015 02:13:10 +0000 (21:13 -0500)]
json: fix formating of PHP_JSON* option bitshifts

9 years agoMerge branch 'pull-request/1497'
Kalle Sommer Nielsen [Fri, 4 Sep 2015 15:59:06 +0000 (17:59 +0200)]
Merge branch 'pull-request/1497'

9 years agoFix build on Windows
Kalle Sommer Nielsen [Fri, 4 Sep 2015 15:49:48 +0000 (17:49 +0200)]
Fix build on Windows

9 years agoMerge remote-tracking branch 'origin/PHP-5.6'
Bob Weinand [Fri, 4 Sep 2015 14:35:15 +0000 (16:35 +0200)]
Merge remote-tracking branch 'origin/PHP-5.6'

9 years agoFix #70361: HTTP stream wrapper doesn't close keep-alive connections
Niklas Keller [Tue, 25 Aug 2015 18:07:20 +0000 (20:07 +0200)]
Fix #70361: HTTP stream wrapper doesn't close keep-alive connections

9 years agoadds missing tokens to list of semi-reserved words and regenerates test suite
Márcio Almada [Fri, 4 Sep 2015 03:45:49 +0000 (00:45 -0300)]
adds missing tokens to list of semi-reserved words and regenerates test suite

9 years agothese need to be exported for extensions that use json
Joe Watkins [Thu, 3 Sep 2015 18:28:34 +0000 (19:28 +0100)]
these need to be exported for extensions that use json

9 years agoprepare NEWS for next
Anatol Belski [Thu, 3 Sep 2015 17:04:39 +0000 (19:04 +0200)]
prepare NEWS for next

9 years agoAlign NEWS entries format
Lior Kaplan [Thu, 3 Sep 2015 16:49:07 +0000 (19:49 +0300)]
Align NEWS entries format