]>
granicus.if.org Git - php/log
Xinchen Hui [Thu, 7 Jul 2016 07:25:27 +0000 (15:25 +0800)]
This became unnecessary after #72543 is fixed
Côme Bernigaud [Thu, 7 Jul 2016 03:11:56 +0000 (05:11 +0200)]
Merge branch 'pull-request/1955'
* pull-request/1955:
Add parenthesis to if statements
Correctly add to the length of the final string
Correctly add to the length of the final string
Fix minor spacing issue
Make LDAP_ESCAPE_DN compliant with RFC 4514
Christopher Jones [Thu, 7 Jul 2016 01:53:08 +0000 (11:53 +1000)]
Merge branch 'PHP-7.0'
Christopher Jones [Thu, 7 Jul 2016 01:52:39 +0000 (11:52 +1000)]
Merge branch 'PHP-5.6' into PHP-7.0
Christopher Jones [Thu, 7 Jul 2016 01:52:17 +0000 (11:52 +1000)]
Mask DB usernames from expected test output for test portability
Ferenc Kovacs [Wed, 6 Jul 2016 23:50:32 +0000 (01:50 +0200)]
Merge branch 'PHP-7.0'
Ferenc Kovacs [Wed, 6 Jul 2016 23:49:05 +0000 (01:49 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
Ferenc Kovacs [Wed, 6 Jul 2016 23:46:02 +0000 (01:46 +0200)]
merge NEWS blocks
Nikita Popov [Wed, 6 Jul 2016 23:31:49 +0000 (01:31 +0200)]
Merge branch 'PHP-7.0'
Nikita Popov [Wed, 6 Jul 2016 23:31:04 +0000 (01:31 +0200)]
Add NEWS entries
Lauri Kenttä [Wed, 25 May 2016 19:06:42 +0000 (22:06 +0300)]
base64_decode: fix bug #72264 ('VV= =' shouldn't fail in strict mode)
Lauri Kenttä [Wed, 25 May 2016 16:52:11 +0000 (19:52 +0300)]
base64_decode: remove redundant code
case 1 is already handled in the first lines of the for loop;
it would only be entered in the invalid case where the string
continues past the defined length (ch != 0 but length-- == 0).
case 2 and case 3 are redundant, since k >= j and later the
string is truncated to j characters anyway.
Lauri Kenttä [Wed, 25 May 2016 17:53:47 +0000 (20:53 +0300)]
base64_decode: fix bug #72263 (skips char after padding)
Lauri Kenttä [Wed, 25 May 2016 18:02:41 +0000 (21:02 +0300)]
base64_decode: fix bug #72152 (fail on NUL bytes in strict mode)
This added check is actually for NOT failing in NON-strict mode.
The ch == -2 check later causes the desired failure in strict mode.
Lauri Kenttä [Wed, 25 May 2016 18:15:52 +0000 (21:15 +0300)]
base64_decode: remove redundant check
If length == 0 || *current != '=' is false, the for loop will always
end up in this same point, until the if statement becomes true.
Thus, the if statement is not needed.
Lauri Kenttä [Wed, 25 May 2016 17:28:45 +0000 (20:28 +0300)]
base64_decode: reorder to fix out of bounds read
Ferenc Kovacs [Wed, 6 Jul 2016 23:18:19 +0000 (01:18 +0200)]
Merge branch 'PHP-7.0'
Ferenc Kovacs [Wed, 6 Jul 2016 23:16:58 +0000 (01:16 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
Conflicts:
configure.in
main/php_version.h
Ferenc Kovacs [Wed, 6 Jul 2016 22:09:48 +0000 (00:09 +0200)]
5.6.25 is next
Dmitry Stogov [Wed, 6 Jul 2016 21:59:44 +0000 (00:59 +0300)]
Fixed bug #71539 (Memory error on $arr[$a] =& $arr[$b] if RHS rehashes)
Nikita Popov [Wed, 6 Jul 2016 19:15:05 +0000 (21:15 +0200)]
Forbid use of array() in nested destructuring
Previously array() was only forbidden on the outermost level.
Aaron Piotrowski [Wed, 6 Jul 2016 19:06:01 +0000 (14:06 -0500)]
Update NEWS and UPGRADING
David Walker [Wed, 6 Jul 2016 14:02:49 +0000 (08:02 -0600)]
oops, name test right
David Walker [Wed, 6 Jul 2016 12:54:51 +0000 (06:54 -0600)]
change long to zend_long, for uniformity
David Walker [Wed, 6 Jul 2016 12:45:20 +0000 (06:45 -0600)]
Fix to not attempt to call if handler is long. Idea for this came
from comment on PR.
David Walker [Sat, 2 Jul 2016 16:44:17 +0000 (10:44 -0600)]
Fix #72409 - return previous handler
This patch addresses https://bugs.php.net/bug.php?id=72409
This patch is applied to master compared to PR#1952 which was
patching 5.6.x branch of PHP
This patch takes into account discussions on PR #1978
Addressing that rather than have pcntl_signal() return a value
to create a new function that can be used to get the current
value of the signal handler.
Dmitry Stogov [Wed, 6 Jul 2016 17:46:43 +0000 (20:46 +0300)]
Fixed bug #72543 (Different references behavior comparing to PHP 5)
Derick Rethans [Wed, 6 Jul 2016 10:15:46 +0000 (11:15 +0100)]
Updated to version 2016.6 (2016f)
Derick Rethans [Wed, 6 Jul 2016 10:15:46 +0000 (11:15 +0100)]
Empty merge
Derick Rethans [Wed, 6 Jul 2016 10:15:45 +0000 (11:15 +0100)]
Updated to version 2016.6 (2016f)
Derick Rethans [Wed, 6 Jul 2016 10:15:44 +0000 (11:15 +0100)]
Empty merge
Derick Rethans [Wed, 6 Jul 2016 10:15:42 +0000 (11:15 +0100)]
Updated to version 2016.6 (2016f)
Dmitry Stogov [Wed, 6 Jul 2016 10:11:47 +0000 (13:11 +0300)]
Asynchronous signal handling without TICKs.
Squashed commit of the following:
commit
eda931df181060e202d2c664b4cba73a24afc6a1
Author: Dmitry Stogov <dmitry@zend.com>
Date: Wed Jul 6 10:53:30 2016 +0300
Replace pcntl.async_signals INI direcrive with pcntl_async_signals() function.
commit
bfbf7dd7c2389ebada6c4464b276d9fa33fcfb60
Author: Dmitry Stogov <dmitry@zend.com>
Date: Fri Jun 24 12:25:31 2016 +0300
Asynchronous signal handling without TICKs.
Matteo Beccati [Wed, 6 Jul 2016 05:10:10 +0000 (07:10 +0200)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Rewrite test to avoid sending emails
Matteo Beccati [Wed, 6 Jul 2016 05:08:43 +0000 (07:08 +0200)]
Rewrite test to avoid sending emails
A properly configured email server was generating bounce emails when running
the test.
Aaron Piotrowski [Tue, 5 Jul 2016 21:09:21 +0000 (16:09 -0500)]
Update NEWS and UPGRADING with missed DBA changes
Davey Shafik [Tue, 5 Jul 2016 19:33:22 +0000 (12:33 -0700)]
Bump versions
Davey Shafik [Tue, 5 Jul 2016 19:18:16 +0000 (12:18 -0700)]
Bump versions/dates for release of 7.1.0alpha3
Christoph M. Becker [Tue, 5 Jul 2016 14:59:20 +0000 (16:59 +0200)]
Merge branch 'master' of http://git.php.net/repository/php-src
Nikita Popov [Tue, 5 Jul 2016 14:57:32 +0000 (16:57 +0200)]
Merge branch 'PHP-7.0'
Christoph M. Becker [Tue, 5 Jul 2016 14:51:25 +0000 (16:51 +0200)]
Merge branch 'PHP-7.0'
Nikita Popov [Tue, 5 Jul 2016 14:56:36 +0000 (16:56 +0200)]
Add NEWS entries
Lauri Kenttä [Wed, 25 May 2016 19:06:42 +0000 (22:06 +0300)]
base64_decode: fix bug #72264 ('VV= =' shouldn't fail in strict mode)
Lauri Kenttä [Wed, 25 May 2016 16:52:11 +0000 (19:52 +0300)]
base64_decode: remove redundant code
case 1 is already handled in the first lines of the for loop;
it would only be entered in the invalid case where the string
continues past the defined length (ch != 0 but length-- == 0).
case 2 and case 3 are redundant, since k >= j and later the
string is truncated to j characters anyway.
Lauri Kenttä [Wed, 25 May 2016 17:53:47 +0000 (20:53 +0300)]
base64_decode: fix bug #72263 (skips char after padding)
Lauri Kenttä [Wed, 25 May 2016 18:02:41 +0000 (21:02 +0300)]
base64_decode: fix bug #72152 (fail on NUL bytes in strict mode)
This added check is actually for NOT failing in NON-strict mode.
The ch == -2 check later causes the desired failure in strict mode.
Lauri Kenttä [Wed, 25 May 2016 18:15:52 +0000 (21:15 +0300)]
base64_decode: remove redundant check
If length == 0 || *current != '=' is false, the for loop will always
end up in this same point, until the if statement becomes true.
Thus, the if statement is not needed.
Lauri Kenttä [Wed, 25 May 2016 17:28:45 +0000 (20:28 +0300)]
base64_decode: reorder to fix out of bounds read
Christoph M. Becker [Tue, 5 Jul 2016 14:49:40 +0000 (16:49 +0200)]
Update NEWS
Christoph M. Becker [Tue, 5 Jul 2016 14:43:39 +0000 (16:43 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
# Resolved conflicts:
# ext/spl/spl_directory.c
Valentin VALCIU [Thu, 21 Apr 2016 16:02:52 +0000 (19:02 +0300)]
Fix bug #55701: GlobIterator throws LogicException
GlobIterator throws LogicException with message 'The parent constructor was
not called' on its first operation when the glob expression doesn't match
any file. It also throws on the first operation after the iteration
completes, when the glob expression matches some files.
# Resolved conflicts:
# ext/spl/spl_directory.c
Jeremy Mikola [Tue, 28 Jun 2016 18:30:58 +0000 (14:30 -0400)]
Export php_date_get_interface_ce() for extension use
Nikita Popov [Tue, 5 Jul 2016 14:10:25 +0000 (16:10 +0200)]
Merge branch 'PHP-7.0'
Adam Baratz [Fri, 1 Jul 2016 19:39:02 +0000 (15:39 -0400)]
Use size_t instead of int for loop counter
Valentin V. Bartenev [Thu, 30 Jun 2016 10:39:10 +0000 (13:39 +0300)]
Removed duplicate php.h include in SAPI.h
It's already included a few lines above.
Valentin V. Bartenev [Wed, 29 Jun 2016 17:57:28 +0000 (20:57 +0300)]
Removed a surplus condition in php_register_variable_ex()
The test for equality to " " implies that the character isn't NUL.
Anatol Belski [Tue, 5 Jul 2016 13:58:55 +0000 (15:58 +0200)]
fix error text
Anatol Belski [Tue, 5 Jul 2016 13:43:01 +0000 (15:43 +0200)]
fix datatypes and add range checks
Nikita Popov [Tue, 5 Jul 2016 13:51:11 +0000 (15:51 +0200)]
Closure::fromCallable(): Getting non-static method statically
As this is new functionality, I'm going directly for a TypeError,
rather than a deprecation warning.
Nikita Popov [Tue, 5 Jul 2016 13:43:27 +0000 (15:43 +0200)]
Closure::fromCallable(): Better LSB handling
The previous fix missed the "late" part of "late static binding" :)
Nikita Popov [Tue, 5 Jul 2016 13:22:13 +0000 (15:22 +0200)]
Closure::fromCallable(): Fix late static binding
Anatol Belski [Tue, 5 Jul 2016 10:09:22 +0000 (12:09 +0200)]
re-add range check
Nikita Popov [Tue, 5 Jul 2016 13:13:36 +0000 (15:13 +0200)]
Closure::fromCallable(): Use fake closures
Nikita Popov [Tue, 5 Jul 2016 12:58:29 +0000 (14:58 +0200)]
Closure::fromCallable(): Fix test files and names
Anatol Belski [Tue, 5 Jul 2016 13:04:10 +0000 (15:04 +0200)]
Merge branch 'PHP-7.0'
* PHP-7.0:
fix possible optimization bug
Anatol Belski [Tue, 5 Jul 2016 12:57:16 +0000 (14:57 +0200)]
fix possible optimization bug
Nikita Popov [Tue, 5 Jul 2016 12:53:20 +0000 (14:53 +0200)]
Closure::fromCallable(): Fix stack corruption
So the tests work at least...
Nikita Popov [Tue, 5 Jul 2016 12:32:49 +0000 (14:32 +0200)]
Merge branch 'PHP-7.0'
Nikita Popov [Tue, 5 Jul 2016 12:31:32 +0000 (14:31 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
Conflicts:
Zend/zend_compile.c
Pedro Magalhães [Thu, 30 Jun 2016 07:00:33 +0000 (09:00 +0200)]
Don't enforce LSP if prototype method is private
Fixes bug #72496.
Anatol Belski [Tue, 5 Jul 2016 10:38:14 +0000 (12:38 +0200)]
Merge branch 'PHP-7.0'
* PHP-7.0:
fix typo
Anatol Belski [Tue, 5 Jul 2016 10:36:55 +0000 (12:36 +0200)]
fix typo
Anatol Belski [Tue, 5 Jul 2016 08:34:25 +0000 (10:34 +0200)]
Revert "fix datatype and add range check"
This reverts commit
14bdd8246c50b55d1ddf838b45de34065e8613c4 .
Dmitry Stogov [Tue, 5 Jul 2016 08:30:55 +0000 (11:30 +0300)]
Fixed tests
Anatol Belski [Tue, 5 Jul 2016 08:03:40 +0000 (10:03 +0200)]
fix datatype and add range check
Xinchen Hui [Tue, 5 Jul 2016 07:31:46 +0000 (15:31 +0800)]
Some cleanup:
1. use c89 comments
2. exception should not be swallowd
3. ZVAL_OBJ may have problem if obj is NULL in the feature(who knows)
Aaron Piotrowski [Tue, 5 Jul 2016 07:29:53 +0000 (02:29 -0500)]
Merge branch 'pull-request/1929'
Aaron Piotrowski [Tue, 5 Jul 2016 07:10:33 +0000 (02:10 -0500)]
Update NEWS and UPGRADING
Aaron Piotrowski [Tue, 5 Jul 2016 07:08:39 +0000 (02:08 -0500)]
Merge branch 'throw-error-in-extensions'
Joe Watkins [Tue, 5 Jul 2016 07:03:00 +0000 (08:03 +0100)]
upgrading entry for Closure::fromCallable
Joe Watkins [Tue, 5 Jul 2016 07:01:31 +0000 (08:01 +0100)]
news entry for Closure::fromCallable
Joe Watkins [Tue, 5 Jul 2016 06:57:06 +0000 (07:57 +0100)]
Merge branch 'pull-request/1906'
Anatol Belski [Tue, 5 Jul 2016 06:10:26 +0000 (08:10 +0200)]
Merge branch 'PHP-7.0'
* PHP-7.0:
prepare next version
Anatol Belski [Tue, 5 Jul 2016 06:09:20 +0000 (08:09 +0200)]
prepare next version
Anatol Belski [Mon, 4 Jul 2016 14:48:59 +0000 (16:48 +0200)]
Increase ODBCVER to 3.5 by default
Anatol Belski [Mon, 4 Jul 2016 09:07:54 +0000 (11:07 +0200)]
Merge branch 'PHP-7.0'
* PHP-7.0:
add missing NEWS entry
Anatol Belski [Mon, 4 Jul 2016 09:07:34 +0000 (11:07 +0200)]
add missing news entry
Anatol Belski [Mon, 4 Jul 2016 09:05:49 +0000 (11:05 +0200)]
add missing NEWS entry
Aaron Piotrowski [Mon, 4 Jul 2016 04:35:40 +0000 (23:35 -0500)]
Update NEWS and UPGRADING
Aaron Piotrowski [Mon, 4 Jul 2016 04:12:37 +0000 (23:12 -0500)]
Merge branch 'iterable'
Aaron Piotrowski [Mon, 4 Jul 2016 03:42:10 +0000 (22:42 -0500)]
Merge branch 'master' into iterable
Christoph M. Becker [Mon, 4 Jul 2016 01:20:01 +0000 (03:20 +0200)]
Merge branch 'PHP-7.0'
Christoph M. Becker [Mon, 4 Jul 2016 01:18:50 +0000 (03:18 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Mon, 4 Jul 2016 01:17:17 +0000 (03:17 +0200)]
Fix typo in comment
Ferenc Kovacs [Sun, 3 Jul 2016 21:37:58 +0000 (23:37 +0200)]
Merge branch 'PHP-7.0'
Ferenc Kovacs [Sun, 3 Jul 2016 21:35:00 +0000 (23:35 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
Ferenc Kovacs [Sun, 3 Jul 2016 21:31:32 +0000 (23:31 +0200)]
this was actually fixed in 5.6.23
Xinchen Hui [Sun, 3 Jul 2016 15:57:42 +0000 (23:57 +0800)]
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
* 'PHP-7.0' of git.php.net:/php-src:
update NEWS
extend test
Fixed bug #72534 stream_socket_get_name crashes
Xinchen Hui [Sun, 3 Jul 2016 15:57:23 +0000 (23:57 +0800)]
Update NEWS
Xinchen Hui [Sun, 3 Jul 2016 15:57:02 +0000 (23:57 +0800)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Fixed bug #72538 (readline_redisplay crashes php)