]>
granicus.if.org Git - php/log
Peter Kokot [Fri, 1 Mar 2019 18:24:06 +0000 (19:24 +0100)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Remove obsolescent AC_HEADER_STDC and memcpy check
Peter Kokot [Wed, 27 Feb 2019 23:41:30 +0000 (00:41 +0100)]
Remove obsolescent AC_HEADER_STDC and memcpy check
Autoconf 2.59d (released in 2006) [1] started promoting several macros
as not relevant for newer systems anymore, including the `AC_HEADER_STDC`.
This macro checks if given system has C89 compliant header files such
as `<string.h>`, `<stdlib.h>`, `<stdarg.h>`, `<float.h>`,... and defines
the `STDC_HEADERS` symbol [2]. Case is that current systems should be
well supported with at least C89 standard headers [3].
Given headers are still additionally checked with the `AC_PROG_CC`
macro, yet not needed anyway.
Additionally, the HAVE_MEMCPY check has been removed. The memcpy
function is standardized by C89 and later.
Refs:
[1] http://git.savannah.gnu.org/cgit/autoconf.git/tree/NEWS
[2] https://www.gnu.org/software/autoconf/manual/autoconf-2.69/autoconf.html
[3] https://port70.net/~nsz/c/c89/c89-draft.html#4.1.2
Nikita Popov [Fri, 1 Mar 2019 15:14:20 +0000 (16:14 +0100)]
Merge branch 'PHP-7.4'
[ci skip]
c9s [Fri, 1 Mar 2019 06:15:32 +0000 (14:15 +0800)]
Fix out-dated docs and typo
[ci skip]
Nikita Popov [Fri, 1 Mar 2019 14:35:18 +0000 (15:35 +0100)]
Merge branch 'PHP-7.4'
Nikita Popov [Fri, 1 Mar 2019 14:32:02 +0000 (15:32 +0100)]
Use separate files for SplFileObject::setCsvControl() tests
Nikita Popov [Fri, 1 Mar 2019 13:56:36 +0000 (14:56 +0100)]
Merge branch 'PHP-7.4'
Nikita Popov [Fri, 1 Mar 2019 13:55:24 +0000 (14:55 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Fri, 1 Mar 2019 13:55:15 +0000 (14:55 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
Jay Satiro [Fri, 1 Mar 2019 06:37:00 +0000 (01:37 -0500)]
curl_error: return an empty string if no error occurred
CURLOPT_ERRORBUFFER doc says "Do not rely on the contents of the
buffer unless an error code was returned." [1]
Prior to this change the error buffer was returned even if no error had
occurred, and that buffer may contain incorrect information in such a
case. [2]
[1]: https://curl.haxx.se/libcurl/c/CURLOPT_ERRORBUFFER.html
[2]: https://github.com/curl/curl/issues/3629
Nikita Popov [Fri, 1 Mar 2019 13:52:09 +0000 (14:52 +0100)]
Merge branch 'PHP-7.4'
Nikita Popov [Fri, 1 Mar 2019 13:52:02 +0000 (14:52 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Fri, 1 Mar 2019 13:51:37 +0000 (14:51 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
Kevin Adler [Mon, 18 Feb 2019 16:32:38 +0000 (10:32 -0600)]
Fix bug #77677: WCOREDUMP not available on all systems
Add #ifdef WCOREDUMP around all uses.
Also Change core dump message to yes/no/unknown in lsapilib.
Nikita Popov [Fri, 1 Mar 2019 13:35:41 +0000 (14:35 +0100)]
Merge branch 'PHP-7.4'
Nikita Popov [Fri, 1 Mar 2019 13:35:26 +0000 (14:35 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Fri, 1 Mar 2019 13:32:11 +0000 (14:32 +0100)]
Check for NULL GC type in objects_store_del
This might happen if OBJ_RELEASE is used on an object that was already
released by GC. Specific cases of this issue were previously fixed in
ffaee27478a9cb338e40edeb5acf233f9cb67111 and
72104d2b6ecbbabd18de15f10739be5ce3dc9ce0 , however the issue still
affects 3rd-party extensions using OBJ_RELEASE.
The whole GC type NULL + OBJ_IS_VALID + IS_FREE_CALLED system seems
overly complicated and can probably be simplified in 7.4.
Dmitry Stogov [Fri, 1 Mar 2019 11:34:58 +0000 (14:34 +0300)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Unused parameter
Dmitry Stogov [Fri, 1 Mar 2019 11:34:17 +0000 (14:34 +0300)]
Unused parameter
Dmitry Stogov [Fri, 1 Mar 2019 11:12:16 +0000 (14:12 +0300)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Keep original debug info
Dmitry Stogov [Fri, 1 Mar 2019 11:11:37 +0000 (14:11 +0300)]
Keep original debug info
Dmitry Stogov [Fri, 1 Mar 2019 09:16:30 +0000 (12:16 +0300)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Enable Posix Shared Memory on Linux
Dmitry Stogov [Fri, 1 Mar 2019 09:15:56 +0000 (12:15 +0300)]
Enable Posix Shared Memory on Linux
Nikita Popov [Fri, 1 Mar 2019 09:11:28 +0000 (10:11 +0100)]
Convert extract() prefix to string zpp arg
Peter Kokot [Fri, 1 Mar 2019 01:02:32 +0000 (02:02 +0100)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Test for function posix_getpwnam() basic functionality
Rodrigo Prado [Fri, 1 Mar 2019 01:01:52 +0000 (02:01 +0100)]
Test for function posix_getpwnam() basic functionality
The coverage for the function posix_getpwnam() that was not covered yet.
http://gcov.php.net/PHP_HEAD/lcov_html/ext/posix/posix.c.gcov.php#1182
Rodrigo Prado de Jesus <royopa [at] gmail [dot] com>
User Group: PHPSP #PHPTestFestBrasil
Kalle Sommer Nielsen [Thu, 28 Feb 2019 23:41:19 +0000 (01:41 +0200)]
NEWS
Kalle Sommer Nielsen [Thu, 28 Feb 2019 23:24:53 +0000 (01:24 +0200)]
Removed pdo_odbc.db2_instance_name
Peter Kokot [Thu, 28 Feb 2019 21:08:42 +0000 (22:08 +0100)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fix file permissions
Peter Kokot [Thu, 28 Feb 2019 21:07:16 +0000 (22:07 +0100)]
Fix file permissions
Git can track executable (0755) and non-executable (0644) file modes.
This patch fixes file permissions in the php-src repository according to
the predefined executable files with 0755 permissions (shell scripts)
and all others with 0644 permissions.
Peter Kokot [Thu, 28 Feb 2019 20:18:06 +0000 (21:18 +0100)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Remove PHP_DECLARED_TIMEZONE and HAVE_DECLARED_TIMEZONE
Peter Kokot [Wed, 27 Feb 2019 21:36:11 +0000 (22:36 +0100)]
Remove PHP_DECLARED_TIMEZONE and HAVE_DECLARED_TIMEZONE
The HAVE_DECLARED_TIMEZONE symbol usage has been introduced in
2fd8cbff2ac301a90fc417bff206bd0a65e8692c
and then removed via
667a9b9bce87e422d9b092ce23f1b536c8fd4ece .
Nikita Popov [Thu, 28 Feb 2019 16:24:13 +0000 (17:24 +0100)]
Merge branch 'PHP-7.4'
Nikita Popov [Thu, 28 Feb 2019 16:23:18 +0000 (17:23 +0100)]
Free map_base_ptr during post_startup
Nikita Popov [Thu, 28 Feb 2019 15:43:24 +0000 (16:43 +0100)]
Merge branch 'PHP-7.4'
Nikita Popov [Thu, 28 Feb 2019 15:35:35 +0000 (16:35 +0100)]
Don't remove CONST CAST in CONCAT operand
CONCAT assumes that CONST operands are strings, so we cannot
blindly remove CAST operands.
Nikita Popov [Thu, 28 Feb 2019 15:30:05 +0000 (16:30 +0100)]
Remove unnecessary convert_to_string_safe macro
I'm assuming that the reason this existed was to avoid modifying
an interned string. However, the current code handles this case
fine already.
Nikita Popov [Thu, 28 Feb 2019 15:15:13 +0000 (16:15 +0100)]
Merge branch 'PHP-7.4'
Nikita Popov [Thu, 28 Feb 2019 15:14:25 +0000 (16:14 +0100)]
Fix leak in resolve_property_types
We need to free the original string as well, not just the lowercased
one.
Nikita Popov [Thu, 28 Feb 2019 14:46:58 +0000 (15:46 +0100)]
Merge branch 'PHP-7.4'
Nikita Popov [Thu, 28 Feb 2019 14:45:47 +0000 (15:45 +0100)]
Don't return inside _DO_THROW macro
Returning inside _DO_THROW() is kind of pointless if we are going
to comment most uses with "this is gonna return".
Nikita Popov [Thu, 28 Feb 2019 11:59:38 +0000 (12:59 +0100)]
Remove more leftovers of mysqli embedded server
Derick Rethans [Thu, 28 Feb 2019 13:52:46 +0000 (13:52 +0000)]
Merge branch 'PHP-7.4'
Derick Rethans [Thu, 28 Feb 2019 13:52:33 +0000 (13:52 +0000)]
Merge branch 'PHP-7.3' into PHP-7.4
Derick Rethans [Thu, 28 Feb 2019 13:51:10 +0000 (13:51 +0000)]
Merge branch 'PHP-7.2' into PHP-7.3
Derick Rethans [Thu, 28 Feb 2019 13:50:58 +0000 (13:50 +0000)]
Merge branch 'DateIntervalBogusData' into PHP-7.2
Derick Rethans [Thu, 28 Feb 2019 13:50:35 +0000 (13:50 +0000)]
Fixed bug #50020 (DateInterval:createDateFromString() silently fails)
Anatol Belski [Thu, 28 Feb 2019 13:04:29 +0000 (14:04 +0100)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Sync with
7be0e06b482e5bf14eaf4fe9a882d8b72d644038
Anatol Belski [Thu, 28 Feb 2019 13:03:49 +0000 (14:03 +0100)]
Christoph M. Becker [Thu, 28 Feb 2019 12:18:49 +0000 (13:18 +0100)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Remove dead code
Christoph M. Becker [Thu, 28 Feb 2019 12:11:41 +0000 (13:11 +0100)]
Remove dead code
`_php_image_output()` is only ever called for `PHP_GDIMG_CONVERT_WBM`,
`PHP_GDIMG_TYPE_GD` and `PHP_GDIMG_TYPE_GD2`. All other image types
solely use the more flexible `_php_image_output_ctx()`.
Nikita Popov [Thu, 28 Feb 2019 11:56:00 +0000 (12:56 +0100)]
Merge branch 'PHP-7.4'
Nikita Popov [Thu, 28 Feb 2019 11:51:19 +0000 (12:51 +0100)]
Remove mysqli embedded server support
This code is not compatible with PHP 7.0. The fact that nobody
complained that the mysqli embedded server functionality doesn't
build anymore seems like a strong signal that we can drop it...
Anatol Belski [Thu, 28 Feb 2019 11:53:31 +0000 (12:53 +0100)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Sync with behavior change in OpenSSL 1.1.1b
Anatol Belski [Thu, 28 Feb 2019 11:53:05 +0000 (12:53 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Sync with behavior change in OpenSSL 1.1.1b
Anatol Belski [Thu, 28 Feb 2019 11:52:28 +0000 (12:52 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Sync with behavior change in OpenSSL 1.1.1b
Anatol Belski [Thu, 28 Feb 2019 11:48:47 +0000 (12:48 +0100)]
Sync with behavior change in OpenSSL 1.1.1b
A behavior change in revealed by some openssl_decrypt() based test,
where an encrypt API is used with a decrypt context. The EVP_Cipher*
functions will automatically choose the right operation depending on the
context passed.
Nikita Popov [Thu, 28 Feb 2019 11:07:34 +0000 (12:07 +0100)]
Use zpp string argument in imagecreatefromstring()
Instead of accepting a zval and casting it.
Nikita Popov [Thu, 28 Feb 2019 09:58:19 +0000 (10:58 +0100)]
Merge branch 'PHP-7.4'
Nikita Popov [Thu, 28 Feb 2019 09:57:24 +0000 (10:57 +0100)]
Disable test parallelization on AppVeyor with opcache
This is too unstable due to shared opcache state. Disabling it until
this issue is resolved to reduce the number of spurious failures.
Nikita Popov [Thu, 28 Feb 2019 09:12:40 +0000 (10:12 +0100)]
Mark ext/xmlreader/tests/bug70309.phpt as online test
The relax NG schema is fetched from a remote server. We could
include it in the repo, but it's 500KB. A minimized test case would
be better.
Also, apparently this bug has never been reported upstream and just
patched in the libxml we build on Windows?
Nikita Popov [Thu, 28 Feb 2019 08:59:19 +0000 (09:59 +0100)]
Merge branch 'PHP-7.4'
Nikita Popov [Thu, 28 Feb 2019 08:59:07 +0000 (09:59 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Thu, 28 Feb 2019 08:58:30 +0000 (09:58 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Thu, 28 Feb 2019 08:58:01 +0000 (09:58 +0100)]
Fixed bug #77669
Bob Weinand [Thu, 28 Feb 2019 08:11:50 +0000 (09:11 +0100)]
Merge branch 'PHP-7.4'
Bob Weinand [Thu, 28 Feb 2019 08:10:07 +0000 (09:10 +0100)]
Fix test (order of warning / notice changes due to delaying until runtime)
Peter Kokot [Thu, 28 Feb 2019 00:09:30 +0000 (01:09 +0100)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Remove unused package2.xml file
Remove not needed PHP_PDO_PEAR_CHECK m4 macro
Peter Kokot [Wed, 27 Feb 2019 22:45:52 +0000 (23:45 +0100)]
Remove unused package2.xml file
Peter Kokot [Wed, 27 Feb 2019 22:37:33 +0000 (23:37 +0100)]
Remove not needed PHP_PDO_PEAR_CHECK m4 macro
Peter Kokot [Wed, 27 Feb 2019 21:54:23 +0000 (22:54 +0100)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Remove ZEND_FP_EXCEPT macro and HAVE_FP_EXCEPT
Peter Kokot [Wed, 27 Feb 2019 20:39:26 +0000 (21:39 +0100)]
Remove ZEND_FP_EXCEPT macro and HAVE_FP_EXCEPT
Usage of the HAVE_FP_EXCEPT symbol has been removed via
c3340584128a9c8b75e2c1aa5630911ad2dc9b9f and isn't used in current code
anymore.
Peter Kokot [Wed, 27 Feb 2019 20:20:49 +0000 (21:20 +0100)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Remove unused PHP_AC_BROKEN_SNPRINTF m4 macro
Peter Kokot [Sat, 23 Feb 2019 22:39:21 +0000 (23:39 +0100)]
Remove unused PHP_AC_BROKEN_SNPRINTF m4 macro
The snprintf function is part of the C99 standard and newer systems in
most cases all support it as defined in the standard. However, some old
Windows and HP-UX systems the function behaves differently. These checks
were also removed and PHP now uses a replacement for the snprintf
function. With gradual transition to C99 usage as a minimum requirement,
it will also be able to be replaced to system's snprintf function
directly.
Additionally in this context the unused HAVE_VSNPRINTF and check for
vsnprintf have been removed. PHP uses its own vsnprintf implementation
for now until more reliable C99 compliant function can be used from the
C libraries.
Peter Kokot [Wed, 27 Feb 2019 19:13:25 +0000 (20:13 +0100)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Remove deprecated PHP_EXTENSION m4 macro
Peter Kokot [Sat, 23 Feb 2019 23:35:36 +0000 (00:35 +0100)]
Remove deprecated PHP_EXTENSION m4 macro
The PHP_EXTENSION macro was used before the introduction of the updated
build system in the
9d9d39a0de3bec962c343051011f5a2ed7d7b242 . The
extensions at that time possibly still used the Makefile.in and Automake
and the PHP_EXTENSION macro has been replaced with the PHP_NEW_EXTENSION
macro.
Today, the once deprecated macro can be removed in favor of only
PHP_NEW_EXTENSION macro.
Bob Weinand [Wed, 27 Feb 2019 17:47:03 +0000 (18:47 +0100)]
Merge branch 'PHP-7.4'
Bob Weinand [Wed, 27 Feb 2019 17:46:31 +0000 (18:46 +0100)]
Delay array to string conversion notice until runtime
Bob Weinand [Wed, 27 Feb 2019 12:02:32 +0000 (13:02 +0100)]
Merge branch 'PHP-7.4'
Bob Weinand [Wed, 27 Feb 2019 12:02:14 +0000 (13:02 +0100)]
Uncomment cleanup for runtime_compile_time_binary_operands.phpt
rjhdby [Mon, 25 Feb 2019 14:46:30 +0000 (17:46 +0300)]
Add runtime_compile_time_binary_operands.phpt
Joe Watkins [Wed, 27 Feb 2019 08:18:20 +0000 (09:18 +0100)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fix #77673 ReflectionClass::getDefaultProperties returns spooky array
Joe Watkins [Wed, 27 Feb 2019 08:18:04 +0000 (09:18 +0100)]
Merge branch 'PHP-7.4' of git://github.com/php/php-src into PHP-7.4
Joe Watkins [Wed, 27 Feb 2019 08:17:09 +0000 (09:17 +0100)]
Fix #77673 ReflectionClass::getDefaultProperties returns spooky array
Nikita Popov [Tue, 26 Feb 2019 16:27:16 +0000 (17:27 +0100)]
Merge branch 'PHP-7.4'
Nikita Popov [Tue, 26 Feb 2019 16:26:16 +0000 (17:26 +0100)]
Sync types in .gdbinit, improve property dumping
If an object doesn't have a property table, we need to go through
the property into table and read the corresponding slots.
Nikita Popov [Mon, 25 Feb 2019 16:45:35 +0000 (17:45 +0100)]
Merge branch 'PHP-7.4'
Benjamin Eberlei [Sat, 23 Feb 2019 20:14:12 +0000 (21:14 +0100)]
Make regex replacements in zend_vm_gen.php more obvious
Change specializing preg_replace code in VM to be map of search to
replacement for easier understanding.
Nikita Popov [Thu, 31 Jan 2019 11:25:51 +0000 (12:25 +0100)]
Fix tests bareword fallback with error suppression
Re-merge commit
a369326003995c137046c908e79b6ab482d34cec into PHP-7.4
(cherry picked from commit
aad39879f2d2e89de105c4f87d334ee129b4321c )
(cherry picked from commit
76f8a908bb18aee92b8f3d523b74b06c9d12cb6b )
Nikita Popov [Mon, 25 Feb 2019 12:03:26 +0000 (13:03 +0100)]
Merge branch 'PHP-7.4'
Nikita Popov [Mon, 25 Feb 2019 12:02:58 +0000 (13:02 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Mon, 25 Feb 2019 12:01:18 +0000 (13:01 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Mon, 25 Feb 2019 12:00:16 +0000 (13:00 +0100)]
Fix assertion in Exception::getMessage() if $message is a ref
And same for other properties. Encountered in Symfony.
Nikita Popov [Mon, 25 Feb 2019 08:36:20 +0000 (09:36 +0100)]
Merge branch 'PHP-7.4'
Nikita Popov [Mon, 25 Feb 2019 08:34:20 +0000 (09:34 +0100)]
Fix some directory collisions in dir tests
Nikita Popov [Mon, 25 Feb 2019 08:24:45 +0000 (09:24 +0100)]
Fix some port collisions in sockets tests
Xinchen Hui [Mon, 25 Feb 2019 07:04:13 +0000 (15:04 +0800)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Fixed compiler warning
Xinchen Hui [Mon, 25 Feb 2019 07:04:04 +0000 (15:04 +0800)]
Fixed compiler warning
Xinchen Hui [Mon, 25 Feb 2019 07:00:44 +0000 (15:00 +0800)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Update NEWS
Fixed bug #77660 (Segmentation fault on break
2147483648 )
Xinchen Hui [Mon, 25 Feb 2019 07:00:37 +0000 (15:00 +0800)]
Update NEWS