]>
granicus.if.org Git - php/log
Nikita Popov [Wed, 3 Jul 2019 09:03:41 +0000 (11:03 +0200)]
Merge branch 'PHP-7.4'
Nikita Popov [Wed, 3 Jul 2019 09:01:59 +0000 (11:01 +0200)]
Skip pcntl_sigwaitinfo() test under asan/msan
This test often fails under asan/msan with a timeout for unknown
reasons.
Nikita Popov [Wed, 3 Jul 2019 09:00:23 +0000 (11:00 +0200)]
Merge branch 'PHP-7.4'
Nikita Popov [Wed, 3 Jul 2019 08:59:26 +0000 (10:59 +0200)]
Fixed bug #78239
Nikita Popov [Wed, 3 Jul 2019 08:22:41 +0000 (10:22 +0200)]
Merge branch 'PHP-7.4'
Nikita Popov [Wed, 3 Jul 2019 08:20:32 +0000 (10:20 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Wed, 3 Jul 2019 08:19:31 +0000 (10:19 +0200)]
Fixed bug #78230
Christoph M. Becker [Wed, 3 Jul 2019 08:03:59 +0000 (10:03 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fix #78241: touch() does not handle dates after 2038 in PHP 64-bit
Christoph M. Becker [Wed, 3 Jul 2019 08:02:44 +0000 (10:02 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Fix #78241: touch() does not handle dates after 2038 in PHP 64-bit
Christoph M. Becker [Wed, 3 Jul 2019 08:00:05 +0000 (10:00 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Fix #78241: touch() does not handle dates after 2038 in PHP 64-bit
Christoph M. Becker [Wed, 3 Jul 2019 07:59:17 +0000 (09:59 +0200)]
Fix #78241: touch() does not handle dates after 2038 in PHP 64-bit
`time_t` defaults to `_time64` (which is 64bit signed) even on x86, but
`Int32x32To64()` truncates it to signed 32bit. We replace the macro
with the "manual" calculation.
Dmitry Stogov [Wed, 3 Jul 2019 07:50:14 +0000 (10:50 +0300)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Optimization of INC/DEC helpers
Dmitry Stogov [Wed, 3 Jul 2019 07:33:03 +0000 (10:33 +0300)]
Optimization of INC/DEC helpers
Joe Watkins [Wed, 3 Jul 2019 06:23:27 +0000 (08:23 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Removed mysqlnd stats from phpinfo page
Pieter Hordijk [Wed, 15 May 2019 14:13:34 +0000 (17:13 +0300)]
Removed mysqlnd stats from phpinfo page
All information can already be retrieved using the APIs at https://www.php.net/manual/en/mysqlnd.stats.php. Closes https://bugs.php.net/bug.php?id=60594
Joe Watkins [Wed, 3 Jul 2019 06:16:47 +0000 (08:16 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Enable option checking on CI
Peter Kokot [Tue, 2 Jul 2019 20:29:54 +0000 (22:29 +0200)]
Enable option checking on CI
This adds the Autoconf's --enable-option-checking=fatal option so
when non existing option from the PHP's configure options is used
a fatal error happens.
Joe Watkins [Wed, 3 Jul 2019 06:14:19 +0000 (08:14 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Remove libtool and automake from azure installs
Peter Kokot [Wed, 3 Jul 2019 00:14:12 +0000 (02:14 +0200)]
Remove libtool and automake from azure installs
These two deps are not needed to build PHP.
Peter Kokot [Tue, 2 Jul 2019 20:22:07 +0000 (22:22 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Remove PHP_CHECK_CONFIGURE_OPTIONS
Peter Kokot [Tue, 2 Jul 2019 20:15:24 +0000 (22:15 +0200)]
Remove PHP_CHECK_CONFIGURE_OPTIONS
Instead of building a custom macro for checking configure options,
Autoconf 2.62+ already outputs a warning at the beginning and the end
of the output of configure script. It automatically detects correct
and wrong options better.
This is related also to bug #55634.
So now instead a better way is the default Autoconf approach:
This outputs a warning at the beginning and end of the configure output:
./configure --with-non-existing
This results in fatal error:
./configure --non-existing
configure: error: unrecognized option: `--non-existing'
Try `./configure --help' for more information
The `--enable-option-checking=fatal` results in fatal error for all non
existing options:
./configure --with-non-existing --enable-option-checking=fatal
configure: error: unrecognized options: --with-non-existing
Closes GH-4348
Peter Kokot [Tue, 2 Jul 2019 20:10:24 +0000 (22:10 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Remove some old BeOS artefacts
Peter Kokot [Mon, 1 Jul 2019 20:20:13 +0000 (22:20 +0200)]
Remove some old BeOS artefacts
- checking for beos systems is no longer relevant in configure.ac
- usage of undefined constant BETHREADS removed.
Closes GH-4346
Peter Kokot [Tue, 2 Jul 2019 20:05:41 +0000 (22:05 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Remove check for ApplicationServices/ApplicationServices.h
Peter Kokot [Tue, 2 Jul 2019 20:05:00 +0000 (22:05 +0200)]
Remove check for ApplicationServices/ApplicationServices.h
The symbol HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H is not used
and check not needed.
Closes GH-4336
Nikita Popov [Tue, 2 Jul 2019 14:22:42 +0000 (16:22 +0200)]
Merge branch 'PHP-7.4'
Jan Altensen [Tue, 2 Jul 2019 13:24:31 +0000 (15:24 +0200)]
azure: exclude some documentation paths
Closes GH-4352.
Nikita Popov [Tue, 2 Jul 2019 14:12:43 +0000 (16:12 +0200)]
Merge branch 'PHP-7.4'
Nikita Popov [Tue, 2 Jul 2019 14:12:36 +0000 (16:12 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Tue, 2 Jul 2019 14:12:24 +0000 (16:12 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Tue, 2 Jul 2019 14:10:56 +0000 (16:10 +0200)]
Backport test fix
Closes GH-3816.
Christoph M. Becker [Tue, 2 Jul 2019 13:09:59 +0000 (15:09 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fix NEWS
Christoph M. Becker [Tue, 2 Jul 2019 13:09:27 +0000 (15:09 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Fix NEWS
Christoph M. Becker [Tue, 2 Jul 2019 13:08:10 +0000 (15:08 +0200)]
Fix NEWS
Bug #78185 fixed a regression in PHP 7.3.7RC2, so should not be listed
here.
Joe Watkins [Tue, 2 Jul 2019 11:19:25 +0000 (13:19 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
simple ignore arguments in exceptions implementation
Joe Watkins [Mon, 17 Jun 2019 18:51:52 +0000 (20:51 +0200)]
simple ignore arguments in exceptions implementation
Nikita Popov [Tue, 2 Jul 2019 11:03:45 +0000 (13:03 +0200)]
Merge branch 'PHP-7.4'
Robert Kopack [Tue, 2 Jul 2019 10:59:01 +0000 (12:59 +0200)]
Implement SQLite extended result code functionality
Nikita Popov [Tue, 2 Jul 2019 10:32:55 +0000 (12:32 +0200)]
Merge branch 'PHP-7.4'
[ci skip]
SjonHortensius [Tue, 2 Jul 2019 10:22:48 +0000 (12:22 +0200)]
update NEWS [ci skip]
add #2684
Nikita Popov [Tue, 2 Jul 2019 10:28:51 +0000 (12:28 +0200)]
Merge branch 'PHP-7.4'
Nikita Popov [Tue, 2 Jul 2019 10:28:46 +0000 (12:28 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Tue, 2 Jul 2019 10:28:37 +0000 (12:28 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
Alex Scott [Tue, 11 Jun 2019 14:31:07 +0000 (18:31 +0400)]
Fix bug #78138: opcache.validate_permission incorrectly works with PHAR files
opcache incorrectly handles PHAR files when opcache.validate_permission
option enabled, because it calls
access("phar://path-to/file.phar/path/inside.php", R_OK);
rather than
access("path-to/file.phar", R_OK)
Nikita Popov [Tue, 2 Jul 2019 10:10:32 +0000 (12:10 +0200)]
Merge branch 'PHP-7.4'
Sjon Hortensius [Mon, 14 Aug 2017 09:41:47 +0000 (11:41 +0200)]
PDO: support username & password specified in DSN
Nikita Popov [Tue, 2 Jul 2019 09:59:21 +0000 (11:59 +0200)]
Merge branch 'PHP-7.4'
David Carlier [Mon, 1 Jul 2019 19:23:02 +0000 (20:23 +0100)]
Fix opcache huge page mapping on FreeBSD
Too much room were given process mappings and were not unmapped.
Closes GH-4345.
Nikita Popov [Tue, 2 Jul 2019 08:17:25 +0000 (10:17 +0200)]
Merge branch 'PHP-7.4'
Nikita Popov [Tue, 2 Jul 2019 08:16:55 +0000 (10:16 +0200)]
Fix clang build
Nikita Popov [Mon, 1 Jul 2019 17:02:39 +0000 (19:02 +0200)]
Update proto comment for proc_open
Nikita Popov [Mon, 1 Jul 2019 17:01:50 +0000 (19:01 +0200)]
Remove unused (module|request)_shutdown_for_exec
Dmitry Stogov [Tue, 2 Jul 2019 08:03:46 +0000 (11:03 +0300)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fixed build without global register variables
Dmitry Stogov [Tue, 2 Jul 2019 08:03:22 +0000 (11:03 +0300)]
Fixed build without global register variables
Dmitry Stogov [Mon, 1 Jul 2019 22:17:05 +0000 (01:17 +0300)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Separate slow code
Dmitry Stogov [Mon, 1 Jul 2019 22:16:34 +0000 (01:16 +0300)]
Separate slow code
Dmitry Stogov [Mon, 1 Jul 2019 22:15:39 +0000 (01:15 +0300)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Use string destructor instead of general zval_ptr_dtor_nogc()
Dmitry Stogov [Mon, 1 Jul 2019 22:14:33 +0000 (01:14 +0300)]
Use string destructor instead of general zval_ptr_dtor_nogc()
Dmitry Stogov [Mon, 1 Jul 2019 22:13:23 +0000 (01:13 +0300)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Eliminate exception checks
Dmitry Stogov [Mon, 1 Jul 2019 22:11:41 +0000 (01:11 +0300)]
Eliminate exception checks
Christoph M. Becker [Mon, 1 Jul 2019 17:45:32 +0000 (19:45 +0200)]
Fix SKIPIF conditions
The SKIPIF sections are executed in the directory where run-tests.php
is located; therefore a relative path like `../skipif.inc` won't work
as desired.
Christoph M. Becker [Mon, 1 Jul 2019 16:14:55 +0000 (18:14 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Add missing SKIPIFs
Christoph M. Becker [Mon, 1 Jul 2019 16:13:14 +0000 (18:13 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Add missing SKIPIFs
Christoph M. Becker [Mon, 1 Jul 2019 16:12:28 +0000 (18:12 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Add missing SKIPIFs
Christoph M. Becker [Mon, 1 Jul 2019 16:11:13 +0000 (18:11 +0200)]
Add missing SKIPIFs
All these tests are meant to run with OPcache available, and some will
even fail inevitably without it, so we add OPcache as SKIPIF
requirement.
Nikita Popov [Mon, 1 Jul 2019 15:28:01 +0000 (17:28 +0200)]
Merge branch 'PHP-7.4'
Nikita Popov [Mon, 1 Jul 2019 08:26:29 +0000 (10:26 +0200)]
Setup msan on azure
This uses a separate job template, because msan requires all used
libraries (apart from glibc) to be instrumented, so we can't link
any external libraries unless we recompile them. As such, we need
a much more minimal configure.
Nikita Popov [Mon, 1 Jul 2019 14:25:28 +0000 (16:25 +0200)]
Generate less code in compile time binary op test
Don't generate try {} blocks for the operations that don't throw.
Nikita Popov [Mon, 1 Jul 2019 11:20:03 +0000 (13:20 +0200)]
Skip perf-sensitive fileinfo tests
Christoph M. Becker [Mon, 1 Jul 2019 15:25:31 +0000 (17:25 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Add missing SKIPIFs
Christoph M. Becker [Mon, 1 Jul 2019 15:24:33 +0000 (17:24 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Add missing SKIPIFs
Christoph M. Becker [Mon, 1 Jul 2019 15:22:55 +0000 (17:22 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Add missing SKIPIFs
Christoph M. Becker [Mon, 1 Jul 2019 13:01:24 +0000 (15:01 +0200)]
Add missing SKIPIFs
All these tests are meant to run with OPcache available, and some will
even fail inevitably without it, so we add OPcache as SKIPIF
requirement.
Nikita Popov [Mon, 1 Jul 2019 14:55:39 +0000 (16:55 +0200)]
Merge branch 'PHP-7.4'
David Carlier [Mon, 1 Jul 2019 14:07:55 +0000 (14:07 +0000)]
opcache huge pages: Little fix for FreeBSD
Calculating the vm entries size beforehand, as we could
possibly miss few entries.
Closes GH-4344.
Christoph M. Becker [Mon, 1 Jul 2019 14:45:49 +0000 (16:45 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fix brittle test
Christoph M. Becker [Mon, 1 Jul 2019 14:44:54 +0000 (16:44 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Fix brittle test
Christoph M. Becker [Mon, 1 Jul 2019 14:43:47 +0000 (16:43 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Fix brittle test
Christoph M. Becker [Mon, 1 Jul 2019 14:41:20 +0000 (16:41 +0200)]
Fix brittle test
This test is easily tripped by former test runs with other PHP
versions. To avoid such false positives, we check that there is at
least one respective OPcache file, and that all found OPcache user ID
folders have exactly 32 hexadecimal digits.
Nikita Popov [Mon, 1 Jul 2019 14:14:58 +0000 (16:14 +0200)]
Merge branch 'PHP-7.4'
Nikita Popov [Mon, 1 Jul 2019 14:13:50 +0000 (16:13 +0200)]
Initialize last_line in phpdbg globals
Dmitry Stogov [Mon, 1 Jul 2019 13:57:55 +0000 (16:57 +0300)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Micro-optimization
Dmitry Stogov [Mon, 1 Jul 2019 13:57:25 +0000 (16:57 +0300)]
Micro-optimization
Dmitry Stogov [Mon, 1 Jul 2019 12:51:36 +0000 (15:51 +0300)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fixed GOTO VM
Dmitry Stogov [Mon, 1 Jul 2019 12:50:53 +0000 (15:50 +0300)]
Fixed GOTO VM
Peter Kokot [Mon, 1 Jul 2019 11:26:17 +0000 (13:26 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Remove TSRM_BASIC_CHECKS
Peter Kokot [Mon, 1 Jul 2019 11:23:41 +0000 (13:23 +0200)]
Remove TSRM_BASIC_CHECKS
This macro is not needed anymore. The AC_PROG_CC is done in the main
configure.ac file and the ranlib check is done by the bundled libtool
macros.
Closes GH-4339
Peter Kokot [Mon, 1 Jul 2019 11:21:44 +0000 (13:21 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Remove not needed checks for functions
Peter Kokot [Mon, 1 Jul 2019 11:20:35 +0000 (13:20 +0200)]
Remove not needed checks for functions
The following functions don't need to be checked anymore since the
they are not used across the code or the symbols aren't used anymore:
- cuserid (not used)
- lrand48 (not used and removed via
6d6ef7aacc7f9b17709d2f93b70b359c75011f89 )
- random (check is not used)
- srand48 (not used)
- srandom (not used)
- strdup (check is not used)
and the unused check symbols:
- HAVE_CUSERID
- HAVE_LRAND48
- HAVE_RANDOM
- HAVE_SRAND48
- HAVE_SRANDOM
- HAVE_STRDUP
Closes GH-4338
Peter Kokot [Mon, 1 Jul 2019 11:18:08 +0000 (13:18 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Remove unused check for struct cmsghdr
Peter Kokot [Mon, 1 Jul 2019 11:13:51 +0000 (13:13 +0200)]
Remove unused check for struct cmsghdr
The result of this check is to whether to define the HAVE_CMSGHDR symbol
or not. The HAVE_CMSGHDR is never used in the code and it has been
removed via
90289924c031c5b0b2aa1f99ecf317640c926a62 .
Closes GH-4337
Nikita Popov [Mon, 1 Jul 2019 10:47:49 +0000 (12:47 +0200)]
Merge branch 'PHP-7.4'
Nikita Popov [Mon, 1 Jul 2019 10:18:21 +0000 (12:18 +0200)]
Clarify #if indentation in time limit implemementation
Nikita Popov [Mon, 1 Jul 2019 09:54:05 +0000 (11:54 +0200)]
Run file_put_contents_variantion8 in separate directory
There are other tests that try to read these files.
Nikita Popov [Mon, 1 Jul 2019 09:14:54 +0000 (11:14 +0200)]
Merge branch 'PHP-7.4'
Nikita Popov [Mon, 1 Jul 2019 09:13:12 +0000 (11:13 +0200)]
Fix unused variable warnings when mbregex disabled
Nikita Popov [Mon, 1 Jul 2019 09:02:31 +0000 (11:02 +0200)]
Msan: Unpoison buffer written by file cache
It would be great if this were fully initialized, but it's not
really a problem either (as long as we don't care about reproducible
file cache), so ignore this for now.
Nikita Popov [Mon, 1 Jul 2019 08:44:44 +0000 (10:44 +0200)]
Don't use fast_memcpy under msan
Nikita Popov [Mon, 1 Jul 2019 08:37:34 +0000 (10:37 +0200)]
Msan: Unpoison getrandom() syscall result
Nikita Popov [Mon, 1 Jul 2019 08:15:06 +0000 (10:15 +0200)]
Undef opline result on mod/shift error in jit