]>
granicus.if.org Git - php/log
Sara Golemon [Sun, 18 Jun 2017 23:53:06 +0000 (19:53 -0400)]
NEWS
Charles R. Portwood II [Sun, 18 Jun 2017 23:17:43 +0000 (19:17 -0400)]
Compatibility with libargon2 versions
20161029 and
20160821
libargon2
20161029 introduces the `type` parameter to the argon2_encodedlen
function that is not present in
20160821 . This change ensures the Argon2
functionality introduced in RFC `argon2_password_hash` is compatible with
both versions, as the library version that package maintainers package may
differ.
chance garcia [Sun, 18 Jun 2017 16:28:31 +0000 (12:28 -0400)]
add test for strptime(): return false on failure
Closes https://github.com/php/php-src/pull/2583
Jakub Zelenka [Sun, 18 Jun 2017 18:09:21 +0000 (19:09 +0100)]
Merge branch 'PHP-7.1'
Jakub Zelenka [Sun, 18 Jun 2017 18:08:51 +0000 (19:08 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
Jelle van der Waa [Thu, 8 Jun 2017 12:31:48 +0000 (14:31 +0200)]
openssl: Add openssl_pkcs12_(read, export) tests
Add basic tests for openssl_pkcs12_read and openssl_pkcs12_export.
openssl_pkcs12_export has two tests disable which currently do not work
as intended and should be fixed.
Jakub Zelenka [Sun, 18 Jun 2017 17:32:19 +0000 (18:32 +0100)]
Merge branch 'PHP-7.1'
Jakub Zelenka [Sun, 18 Jun 2017 17:28:54 +0000 (18:28 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
Jakub Zelenka [Sun, 18 Jun 2017 17:26:48 +0000 (18:26 +0100)]
Regenerate and bump re2c version to 0.16
It also matches the re2c version for Zend language scanner
Anatol Belski [Sat, 17 Jun 2017 00:00:27 +0000 (02:00 +0200)]
Merge branch 'PHP-7.1'
* PHP-7.1:
Next round on AppVeyor reliability.
Anatol Belski [Fri, 16 Jun 2017 23:58:51 +0000 (01:58 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Next round on AppVeyor reliability.
Anatol Belski [Fri, 16 Jun 2017 23:57:47 +0000 (01:57 +0200)]
Next round on AppVeyor reliability.
Jakub Zelenka [Fri, 16 Jun 2017 16:15:11 +0000 (17:15 +0100)]
Merge branch 'PHP-7.1'
Jakub Zelenka [Fri, 16 Jun 2017 16:14:23 +0000 (17:14 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
Jelle van der Waa [Tue, 6 Jun 2017 14:45:39 +0000 (16:45 +0200)]
openssl: Fix spkstr and spki leak in openssl_spki_new
spkstr is not free'd when running the test and valgrind reports a leak
of 32,318 bytes. The free condition is not met since keyresource is not
NULL, apart from that OPENSSL_free actually free's the allocated memory
by OPENSSL_malloc inside OpenSSL.
Valgrind reports 768 bytes leaked in openssl_spki_new when running the
testsuite. Remove the keyresource check to always free spki.
Dmitry Stogov [Thu, 15 Jun 2017 22:42:49 +0000 (01:42 +0300)]
VM refactoring, to avoid passing "execute_data" into helper functions that can access it using global register variable.
Anatol Belski [Thu, 15 Jun 2017 16:44:24 +0000 (18:44 +0200)]
Richard Fussenegger [Mon, 29 May 2017 19:42:59 +0000 (21:42 +0200)]
Fixed php_socket_t to int conversion
This warning was about a possible loss of data due to the downcast of `php_socket_t` to `int`. The former maps to a platform specific type, hence, it might downcast from a 64 bit integer to a 32 bit intger.
Fixed possibly overflowing vars
Due to the change from `int` to `php_socket_t` some variables might overflow now. Changed all variables that might be affected.
Revert "Fixed possibly overflowing vars"
This reverts commit
bf64fd5984409a208ef32108990a6085b6556273 .
Use aliased PHP socket type
Using the alias protects us from changes to the underlying type.
Removed ignored nfds argument
The `nfds` argument to the Win32 `select` function is always ignored, regardless of its actual value. Hence, we should not pass it in the first place. See https://msdn.microsoft.com/en-us/library/windows/desktop/ms740141(v=vs.85).aspx for reference.
Target value is not a pointer
Avoid overflow in loop
Anatol Belski [Sun, 4 Jun 2017 20:15:29 +0000 (22:15 +0200)]
fix ticks init in ts build
Dmitry Stogov [Thu, 15 Jun 2017 19:51:52 +0000 (22:51 +0300)]
Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
code de-duplication in ReflectionType::__toString and ReflectionNamedType::getName
Dmitry Stogov [Thu, 15 Jun 2017 19:50:04 +0000 (22:50 +0300)]
Refactored API for constant array element propagation
Remi Collet [Thu, 15 Jun 2017 13:38:03 +0000 (15:38 +0200)]
code de-duplication in ReflectionType::__toString and ReflectionNamedType::getName
This code duplication introduce an inconsistency in displayed type name
- bool (reflection) vs boolean
- int (reflection) vs integer
And reflection already use zend_get_type_by_const in other methods...
Inconsistenty is kept for BC reason.
Could be fixed in 8.0
Dmitry Stogov [Thu, 15 Jun 2017 13:23:05 +0000 (16:23 +0300)]
Moved "Using $this when not in object context" exception code into single VM helper.
Xinchen Hui [Wed, 14 Jun 2017 02:42:37 +0000 (10:42 +0800)]
Merge branch 'master' of git.php.net:/php-src
* 'master' of git.php.net:/php-src:
Change PHP_OS_FAMILY to "Darwin" instead of "Mac" for Darwin based systems (as suggested by Davey)
Fixed bug #74679 (Incorrect conversion array with WSDL_CACHE_MEMORY)
Use "Mac" instead of "OSX" to identify macOS in PHP_OS_FAMILY
Avoid run-time checks performed at compile-time.
Fixed performance degradaton introduced in
f6ac96b
NEWS
NEWS
Fix bug #74705 for collator_get_sort_key
Fixes bug #74705 Wrong ReflectionInfo for Collator::getSortKey()
NEWS
NEWS
Fixes bug #74708 reflection signatures for random_bytes+random_int
Kalle Sommer Nielsen [Wed, 14 Jun 2017 01:29:06 +0000 (03:29 +0200)]
Change PHP_OS_FAMILY to "Darwin" instead of "Mac" for Darwin based systems (as suggested by Davey)
Dmitry Stogov [Tue, 13 Jun 2017 14:17:57 +0000 (17:17 +0300)]
Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
Use "Mac" instead of "OSX" to identify macOS in PHP_OS_FAMILY
Dmitry Stogov [Tue, 13 Jun 2017 14:17:26 +0000 (17:17 +0300)]
Merge branch 'PHP-7.1'
* PHP-7.1:
Fixed bug #74679 (Incorrect conversion array with WSDL_CACHE_MEMORY)
Dmitry Stogov [Tue, 13 Jun 2017 14:16:13 +0000 (17:16 +0300)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Fixed bug #74679 (Incorrect conversion array with WSDL_CACHE_MEMORY)
Dmitry Stogov [Tue, 13 Jun 2017 14:15:47 +0000 (17:15 +0300)]
Fixed bug #74679 (Incorrect conversion array with WSDL_CACHE_MEMORY)
Sebastian Bergmann [Tue, 13 Jun 2017 13:45:57 +0000 (15:45 +0200)]
Use "Mac" instead of "OSX" to identify macOS in PHP_OS_FAMILY
Dmitry Stogov [Tue, 13 Jun 2017 10:48:58 +0000 (13:48 +0300)]
Avoid run-time checks performed at compile-time.
Dmitry Stogov [Tue, 13 Jun 2017 09:20:14 +0000 (12:20 +0300)]
Fixed performance degradaton introduced in
f6ac96b
Remi Collet [Tue, 13 Jun 2017 06:50:30 +0000 (08:50 +0200)]
Merge branch 'PHP-7.1'
* PHP-7.1:
NEWS
NEWS
Fix bug #74705 for collator_get_sort_key
Fixes bug #74705 Wrong ReflectionInfo for Collator::getSortKey()
Remi Collet [Tue, 13 Jun 2017 06:50:24 +0000 (08:50 +0200)]
NEWS
Remi Collet [Tue, 13 Jun 2017 06:50:10 +0000 (08:50 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
NEWS
Fix bug #74705 for collator_get_sort_key
Fixes bug #74705 Wrong ReflectionInfo for Collator::getSortKey()
Remi Collet [Tue, 13 Jun 2017 06:50:02 +0000 (08:50 +0200)]
NEWS
Remi Collet [Tue, 13 Jun 2017 06:48:17 +0000 (08:48 +0200)]
Fix bug #74705 for collator_get_sort_key
Tyson Andre [Thu, 8 Jun 2017 04:32:57 +0000 (21:32 -0700)]
Fixes bug #74705 Wrong ReflectionInfo for Collator::getSortKey()
https://secure.php.net/manual/en/collator.getsortkey.php
Remi Collet [Tue, 13 Jun 2017 06:15:33 +0000 (08:15 +0200)]
Merge branch 'PHP-7.1'
* PHP-7.1:
NEWS
NEWS
Fixes bug #74708 reflection signatures for random_bytes+random_int
Remi Collet [Tue, 13 Jun 2017 06:15:19 +0000 (08:15 +0200)]
NEWS
Remi Collet [Tue, 13 Jun 2017 06:14:57 +0000 (08:14 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
NEWS
Fixes bug #74708 reflection signatures for random_bytes+random_int
Remi Collet [Tue, 13 Jun 2017 06:14:34 +0000 (08:14 +0200)]
NEWS
Tyson Andre [Thu, 8 Jun 2017 06:50:20 +0000 (23:50 -0700)]
Fixes bug #74708 reflection signatures for random_bytes+random_int
They have 1 and 2 required parameters, respectively
See https://secure.php.net/manual/en/function.random-int.php
Xinchen Hui [Tue, 13 Jun 2017 06:00:53 +0000 (14:00 +0800)]
Avoiding str duplication
Xinchen Hui [Tue, 13 Jun 2017 04:22:00 +0000 (12:22 +0800)]
Merge branch 'PHP-7.1'
* PHP-7.1:
Forgotten NEWs update
Forgotten NEWs update
Xinchen Hui [Tue, 13 Jun 2017 04:21:45 +0000 (12:21 +0800)]
Forgotten NEWs update
Xinchen Hui [Tue, 13 Jun 2017 04:21:27 +0000 (12:21 +0800)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Forgotten NEWs update
Xinchen Hui [Tue, 13 Jun 2017 04:20:42 +0000 (12:20 +0800)]
Forgotten NEWs update
ZiMuyang [Mon, 12 Jun 2017 10:35:13 +0000 (18:35 +0800)]
Delete extra semicolon
Michael Moravec [Fri, 9 Jun 2017 22:35:06 +0000 (00:35 +0200)]
Bump Modules API number for 7.2 to distinguish from 7.1
Xinchen Hui [Mon, 12 Jun 2017 09:21:45 +0000 (17:21 +0800)]
Merge branch 'PHP-7.1'
* PHP-7.1:
Add simple cli test for PATH/HOST ini sections
Fixed bug #74600
Xinchen Hui [Mon, 12 Jun 2017 09:21:35 +0000 (17:21 +0800)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Add simple cli test for PATH/HOST ini sections
Fixed bug #74600
Xinchen Hui [Mon, 12 Jun 2017 09:12:15 +0000 (17:12 +0800)]
Merge branch 'bug74600' of https://github.com/manuelm/php-src into PHP-7.0
* 'bug74600' of https://github.com/manuelm/php-src:
Add simple cli test for PATH/HOST ini sections
Fixed bug #74600
Jakub Zelenka [Sun, 11 Jun 2017 16:27:32 +0000 (17:27 +0100)]
Improve and simplify UTF-8 validation in JSON
Christoph M. Becker [Sun, 11 Jun 2017 15:17:01 +0000 (17:17 +0200)]
Fix #74744: gd.h: stdarg.h include missing for va_list use in gdErrorMethod
Niklas Keller [Sun, 4 Jun 2017 09:19:00 +0000 (11:19 +0200)]
Use any TLS crypto method by default, don't use SSL
Anatol Belski [Fri, 9 Jun 2017 21:48:25 +0000 (23:48 +0200)]
Merge branch 'PHP-7.1'
Anatol Belski [Fri, 9 Jun 2017 21:47:15 +0000 (23:47 +0200)]
group the change for bug #74720
Manuel Mausz [Fri, 9 Jun 2017 21:28:19 +0000 (23:28 +0200)]
Add simple cli test for PATH/HOST ini sections
Anatol Belski [Fri, 9 Jun 2017 15:45:24 +0000 (17:45 +0200)]
add UPGRADING note
Anatol Belski [Fri, 9 Jun 2017 15:42:21 +0000 (17:42 +0200)]
update NEWS
Anatol Belski [Fri, 9 Jun 2017 15:41:51 +0000 (17:41 +0200)]
Merge branch 'PHP-7.1'
* PHP-7.1:
update NEWS
Anatol Belski [Fri, 9 Jun 2017 15:40:45 +0000 (17:40 +0200)]
update NEWS
Anatol Belski [Fri, 9 Jun 2017 15:37:42 +0000 (17:37 +0200)]
Merge branch 'PHP-7.1'
* PHP-7.1:
Fixed bug #74720 pkcs7_en/decrypt does not work if \x1a is used in
Anatol Belski [Fri, 9 Jun 2017 15:35:37 +0000 (17:35 +0200)]
Fixed bug #74720 pkcs7_en/decrypt does not work if \x1a is used in
content
Christoph M. Becker [Fri, 9 Jun 2017 12:21:19 +0000 (14:21 +0200)]
Update to SQLite 3.19.3
Christoph M. Becker [Fri, 9 Jun 2017 12:11:11 +0000 (14:11 +0200)]
Merge branch 'PHP-7.1'
* PHP-7.1:
Use reasonable SQLite3 module version
Christoph M. Becker [Fri, 9 Jun 2017 12:05:04 +0000 (14:05 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Use reasonable SQLite3 module version
Christoph M. Becker [Wed, 7 Jun 2017 13:22:20 +0000 (15:22 +0200)]
Use reasonable SQLite3 module version
Since PECL/sqlite3 has been moved to ext/sqlite3 in 2008, the SQLite3
module version is hardcoded to `0.7-dev`. It doesn't appear to make
much sense to have an own module version for a bundled extensions, but
as other code might rely on it, we don't remove the constant but rather
make it an alias of the PHP version.
Remi Collet [Fri, 9 Jun 2017 07:29:30 +0000 (09:29 +0200)]
prevent multiple include using standard macros
Remi Collet [Fri, 9 Jun 2017 07:22:05 +0000 (09:22 +0200)]
cleanup
ssite_t is used in lot of places, without need for this.
If really needed, should be in global location, not in an extension
Remi Collet [Fri, 9 Jun 2017 06:07:07 +0000 (08:07 +0200)]
cleanup, MEMORY_LIMIT is not used anymore
Manuel Mausz [Thu, 8 Jun 2017 23:43:08 +0000 (01:43 +0200)]
Fixed bug #74600
Make sure the hash entry is an array.
The origin fix broke support for HOST/PATH ini sections. Only the
beginning of the string has to match. Revert this check but use
zend_binary_strncasecmp instead of strncasecmp.
Sara Golemon [Thu, 8 Jun 2017 19:01:15 +0000 (15:01 -0400)]
X.Y.0 releases are more special than X.Y.(1+) releases
Sara Golemon [Thu, 8 Jun 2017 17:27:36 +0000 (13:27 -0400)]
Create announcement entry on web-php even for non-stable
Anatol Belski [Thu, 8 Jun 2017 15:18:15 +0000 (17:18 +0200)]
Merge branch 'PHP-7.1'
* PHP-7.1:
enforce exit status propagation and up the sdk version
Anatol Belski [Thu, 8 Jun 2017 15:16:02 +0000 (17:16 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
enforce exit status propagation and up the sdk version
Anatol Belski [Thu, 8 Jun 2017 15:14:52 +0000 (17:14 +0200)]
enforce exit status propagation and up the sdk version
Dmitry Stogov [Thu, 8 Jun 2017 13:52:39 +0000 (16:52 +0300)]
Introduced "zif_handler" type (zif = zend internal function).
Dmitry Stogov [Thu, 8 Jun 2017 10:03:24 +0000 (13:03 +0300)]
Improved new Zend Parameter Parsing API to avoid useless dereferences.
This derefernce made sense only for explicit paramter passing by reference, but this feature was removed in PHP-7.
The improvement is 100% backward compatible, only few "tricky" functions may be affected (e.g. extract and usort).
Dmitry Stogov [Thu, 8 Jun 2017 10:03:02 +0000 (13:03 +0300)]
Fixed wrong type.
Jakub Zelenka [Sun, 4 Jun 2017 18:29:19 +0000 (19:29 +0100)]
Constify str in add_assoc_string_ex and add_assoc_stringl_ex
Richard Fussenegger [Wed, 7 Jun 2017 20:08:18 +0000 (22:08 +0200)]
Updated some str functions to new parameter API
Richard Fussenegger [Mon, 5 Jun 2017 12:22:47 +0000 (14:22 +0200)]
Clean up .gitignore
Simply test rules using ** globs, remove some outdated rules and
group some rules differently.
Richard Fussenegger [Sat, 3 Jun 2017 18:14:18 +0000 (20:14 +0200)]
Removed empty stub.c file
Sara Golemon [Wed, 7 Jun 2017 13:01:04 +0000 (09:01 -0400)]
Windows builds are no longer copied to downloads.php.net
They have their own home at windows.php.net/downloads
Christoph M. Becker [Wed, 7 Jun 2017 11:56:56 +0000 (13:56 +0200)]
Update to SQLite 3.19.2
Dmitry Stogov [Wed, 7 Jun 2017 10:50:16 +0000 (13:50 +0300)]
preg_replace() optimization
Sara Golemon [Tue, 6 Jun 2017 16:45:20 +0000 (12:45 -0400)]
Remove instructions to email internals-win@
Use the release-managers@ distribution list instead
for a better audience.
Remi Collet [Tue, 6 Jun 2017 15:20:48 +0000 (17:20 +0200)]
Merge branch 'PHP-7.1'
* PHP-7.1:
relax this test again (still encounter erratic failure)
Remi Collet [Tue, 6 Jun 2017 15:20:33 +0000 (17:20 +0200)]
relax this test again (still encounter erratic failure)
Sara Golemon [Tue, 6 Jun 2017 13:27:02 +0000 (13:27 +0000)]
Update NEWS for 7.2.0alpha2
Sara Golemon [Tue, 6 Jun 2017 13:02:29 +0000 (13:02 +0000)]
Update NEWS for PHP 7.2.0alpha1
Dmitry Stogov [Tue, 6 Jun 2017 13:09:26 +0000 (16:09 +0300)]
Avoid string reallocations in html_entity_decode() and htmlspecialchars_decode()
Dmitry Stogov [Tue, 6 Jun 2017 13:08:44 +0000 (16:08 +0300)]
Removed unused variable.
Dmitry Stogov [Tue, 6 Jun 2017 10:56:19 +0000 (13:56 +0300)]
Avoid string reallocations in preg_quote()
Sara Golemon [Mon, 5 Jun 2017 23:33:38 +0000 (16:33 -0700)]
Add note about publishing gpg key
Jakub Zelenka [Sun, 4 Jun 2017 17:22:02 +0000 (18:22 +0100)]
Merge branch 'PHP-7.1'
Jakub Zelenka [Sun, 4 Jun 2017 17:11:49 +0000 (18:11 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
Jakub Zelenka [Sun, 4 Jun 2017 17:08:51 +0000 (18:08 +0100)]
Replace ASN1_STRING_data with ASN1_STRING_get0_data
This is a slightly modified version of the patch from Jelle van der Waa
( @jelly ) so full credit to him.