]>
granicus.if.org Git - php/log
Christoph M. Becker [Fri, 26 Apr 2019 07:09:35 +0000 (09:09 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fix VirtualProtect() related Phar issues
Christoph M. Becker [Fri, 26 Apr 2019 07:09:22 +0000 (09:09 +0200)]
Fix VirtualProtect() related Phar issues
We must not (try to) modify shared values, but rather have to use our
own copies, if unixified filenames are required on Windows. To avoid
excessive string duplication, we add checks whether the filenames are
already unixified (i.e. do not contain backslashes). To improve the
performance if we need to copy strings, we use do_alloca() and friends.
Besides generally being somewhat messy, the handling of unixified
filenames is still suboptimal performance-wise, but we leave this for a
future cleanup, and focus on fixing the issue at hand for now.
We also enable opcache.protect_memory for the AppVeyor CI.
Christoph M. Becker [Thu, 25 Apr 2019 21:29:42 +0000 (23:29 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fix #77940: test using outdated mon_thousands_sep for Swedish
Christoph M. Becker [Thu, 25 Apr 2019 21:29:25 +0000 (23:29 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Fix #77940: test using outdated mon_thousands_sep for Swedish
Christoph M. Becker [Thu, 25 Apr 2019 21:29:03 +0000 (23:29 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Fix #77940: test using outdated mon_thousands_sep for Swedish
Christoph M. Becker [Thu, 25 Apr 2019 21:28:41 +0000 (23:28 +0200)]
Fix #77940: test using outdated mon_thousands_sep for Swedish
Of course, we should expect a comma, not a period.
Christoph M. Becker [Thu, 25 Apr 2019 17:41:01 +0000 (19:41 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fix #77940: test using outdated mon_thousands_sep for Swedish
Christoph M. Becker [Thu, 25 Apr 2019 17:40:37 +0000 (19:40 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Fix #77940: test using outdated mon_thousands_sep for Swedish
Christoph M. Becker [Thu, 25 Apr 2019 17:40:05 +0000 (19:40 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Fix #77940: test using outdated mon_thousands_sep for Swedish
Christoph M. Becker [Thu, 25 Apr 2019 17:39:42 +0000 (19:39 +0200)]
Fix #77940: test using outdated mon_thousands_sep for Swedish
This time so that it works for all Windows 10 versions (hopefully).
Christoph M. Becker [Thu, 25 Apr 2019 07:00:02 +0000 (09:00 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fix #77940: test using outdated mon_thousands_sep for Swedish
Christoph M. Becker [Thu, 25 Apr 2019 06:59:35 +0000 (08:59 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Fix #77940: test using outdated mon_thousands_sep for Swedish
Christoph M. Becker [Thu, 25 Apr 2019 06:59:09 +0000 (08:59 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Fix #77940: test using outdated mon_thousands_sep for Swedish
Christoph M. Becker [Thu, 25 Apr 2019 06:58:13 +0000 (08:58 +0200)]
Fix #77940: test using outdated mon_thousands_sep for Swedish
Christoph M. Becker [Wed, 24 Apr 2019 22:08:05 +0000 (00:08 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fix #77938: socket_get_option error
Christoph M. Becker [Wed, 24 Apr 2019 22:06:15 +0000 (00:06 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Fix #77938: socket_get_option error
Christoph M. Becker [Wed, 24 Apr 2019 22:04:37 +0000 (00:04 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Fix #77938: socket_get_option error
Christoph M. Becker [Wed, 24 Apr 2019 22:03:45 +0000 (00:03 +0200)]
Fix #77938: socket_get_option error
Since tcp_socket/ssl streams are not representable, we suppress the
redirect to fix the test case.
Dmitry Stogov [Wed, 24 Apr 2019 19:28:05 +0000 (22:28 +0300)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Use better macros
Dmitry Stogov [Wed, 24 Apr 2019 19:27:40 +0000 (22:27 +0300)]
Use better macros
Dmitry Stogov [Wed, 24 Apr 2019 19:24:05 +0000 (22:24 +0300)]
Merge branch 'PHP-7.4'
* PHP-7.4:
settype() optimization
Dmitry Stogov [Wed, 24 Apr 2019 19:23:49 +0000 (22:23 +0300)]
settype() optimization
Christoph M. Becker [Wed, 24 Apr 2019 17:22:11 +0000 (19:22 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Remove html_errors from INI Quick Reference as INI values are identical to Engine values
George Peter Banyard [Wed, 24 Apr 2019 14:31:01 +0000 (16:31 +0200)]
Remove html_errors from INI Quick Reference as INI values are identical to Engine values
Dmitry Stogov [Wed, 24 Apr 2019 15:28:40 +0000 (18:28 +0300)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Use ZEND_TRY_ASSIGN_REF_... macros for arguments passed to internal function by reference
Dmitry Stogov [Wed, 24 Apr 2019 15:28:29 +0000 (18:28 +0300)]
Use ZEND_TRY_ASSIGN_REF_... macros for arguments passed to internal function by reference
Dmitry Stogov [Wed, 24 Apr 2019 15:16:47 +0000 (18:16 +0300)]
Use ZEND_TRY_ASSIGN_REF_... macros for arguments passed to internal function by reference
Dmitry Stogov [Wed, 24 Apr 2019 13:14:48 +0000 (16:14 +0300)]
Use ZEND_TRA_ASSIGN_REF_... macros for by reference arguments of internal functions.
David Carlier [Mon, 22 Apr 2019 07:17:12 +0000 (08:17 +0100)]
JIT profiling other BSD build fixes
Remi Collet [Wed, 24 Apr 2019 07:46:36 +0000 (09:46 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
news entry for litespeed
Remi Collet [Wed, 24 Apr 2019 07:46:20 +0000 (09:46 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
news entry for litespeed
Remi Collet [Wed, 24 Apr 2019 07:46:06 +0000 (09:46 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
news entry for litespeed
Remi Collet [Wed, 24 Apr 2019 07:45:48 +0000 (09:45 +0200)]
news entry for litespeed
Dmitry Stogov [Tue, 23 Apr 2019 21:09:12 +0000 (00:09 +0300)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Optimize constant SWITCH_LONG and SWITCH_STRING
Dmitry Stogov [Tue, 23 Apr 2019 21:08:17 +0000 (00:08 +0300)]
Optimize constant SWITCH_LONG and SWITCH_STRING
Dmitry Stogov [Tue, 23 Apr 2019 19:44:30 +0000 (22:44 +0300)]
Fixed test (Warning -> Exception)
Dmitry Stogov [Tue, 23 Apr 2019 19:40:11 +0000 (22:40 +0300)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Don't eliminate BIND_STATIC if it may cause undefined constant warning
Dmitry Stogov [Tue, 23 Apr 2019 19:39:14 +0000 (22:39 +0300)]
Don't eliminate BIND_STATIC if it may cause undefined constant warning
Peter Kokot [Tue, 23 Apr 2019 18:38:57 +0000 (20:38 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Move Autoconf Archive macros to a common m4 dir
Peter Kokot [Tue, 23 Apr 2019 18:37:31 +0000 (20:37 +0200)]
Move Autoconf Archive macros to a common m4 dir
In PHP the build dir is used as a directory for external macros
including Autoconf Archive macros.
Peter Kokot [Tue, 23 Apr 2019 18:32:03 +0000 (20:32 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Move acinclude.m4 to build/php.m4
Peter Kokot [Tue, 12 Mar 2019 23:25:07 +0000 (00:25 +0100)]
Move acinclude.m4 to build/php.m4
The acinclude.m4 file is in a usual Autotools build processed with
Automake's aclocal tool. Since PHP currently doesn't use Automake and
aclocal this file can be moved into the build directory. PHP build
system currently generates a combined aclocal.m4 file that Autoconf
can processes automatically.
However, a newer practice is writing all local macros in separate
dedicated files prefixed with package name, in PHP's case PHP_MACRO_NAME
and putting them in a common `m4` directory. PHP uses currently `build`
directory for this purpose.
Name `php.m4` probably most resembles such file for PHP's case.
PHP manually created the aclocal.m4 file from acinclude.m4 and
build/libtool.m4. Which is also not a particularly good practice [1], so
this patch also removes the generated alocal.m4 usage and uses
m4_include() calls manually in the configure.ac and phpize.m4 files
manually.
- sort order is not important but can be alphabetical
- list of *.m4 files prerequisites for configure script generation
updated
- Moving m4_include() before AC_INIT also removes all comments starting
with hash character (`#`) in the included files.
[1] https://autotools.io/autoconf/macros.html
Peter Kokot [Tue, 23 Apr 2019 18:18:38 +0000 (20:18 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Simplify libxmlrpc bundling and building
Peter Kokot [Mon, 22 Apr 2019 22:20:50 +0000 (00:20 +0200)]
Simplify libxmlrpc bundling and building
The xmlrpc library is a forked, modified and bundled into the PHP source
code. Instead of having a separate *nix build system files in the xmlrpc
library this patch removes unneeded build checks.
- AC_PROG_CC is not needed to be called by the extension itself since it
is already part of the main configure.ac and the phpize's
configure.ac.
- UNDEF_THREADS_HACK is not used in the current codebase.
- Symbols defined by XMLRPC_HEADER_CHECKS are not used in the current
code.
- Symbols defined by XMLRPC_FUNCTION_CHECKS are not used in the current
code.
- AC_PROG_RANLIB is already done by the TSRM's files and isn't needed
for the xmlrpc extension to work.
- AC_PROG_LN_S is already done by the PHP main configure.ac and also
isn't needed by the xmlrpc extension to be built.
Dmitry Stogov [Tue, 23 Apr 2019 14:40:10 +0000 (17:40 +0300)]
Implemented JIT for SWITCH_LONG/SWITCH_STRING
Nikita Popov [Tue, 23 Apr 2019 11:15:09 +0000 (13:15 +0200)]
Merge branch 'PHP-7.4'
Nikita Popov [Thu, 18 Apr 2019 11:46:10 +0000 (13:46 +0200)]
Make DateInterval objects uncomparable
Arbitrary DateInterval objects don't have well-defined comparison
semantics. Throw a warning and treat the objects as uncomparable.
Support for comparing DateInterval objects returned by
DateTime::diff() may be added in the future.
Nikita Popov [Tue, 23 Apr 2019 10:44:26 +0000 (12:44 +0200)]
Merge branch 'PHP-7.4'
bugreportuser [Mon, 8 Apr 2019 14:53:46 +0000 (10:53 -0400)]
Remove duplicate zend_unset_timeout()
Nikita Popov [Tue, 23 Apr 2019 10:43:37 +0000 (12:43 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Tue, 23 Apr 2019 10:43:22 +0000 (12:43 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Tue, 23 Apr 2019 10:43:07 +0000 (12:43 +0200)]
Fixed bug #77843
Nikita Popov [Tue, 23 Apr 2019 09:40:56 +0000 (11:40 +0200)]
Merge branch 'PHP-7.4'
Nikita Popov [Tue, 23 Apr 2019 09:40:43 +0000 (11:40 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Tue, 23 Apr 2019 09:40:13 +0000 (11:40 +0200)]
Fixed bug #77931
Peter Kokot [Tue, 23 Apr 2019 06:59:55 +0000 (08:59 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Remove php.gif from the project root directory
Peter Kokot [Tue, 23 Apr 2019 06:59:44 +0000 (08:59 +0200)]
Merge branch 'pull-request/4046' into PHP-7.4
* pull-request/4046:
Remove php.gif from the project root directory
Peter Kokot [Tue, 23 Apr 2019 06:52:30 +0000 (08:52 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
[ci skip] Remove CLI sapi README
Peter Kokot [Tue, 23 Apr 2019 06:51:23 +0000 (08:51 +0200)]
[ci skip] Remove CLI sapi README
Removing in favour of:
- https://www.php.net/manual/en/features.commandline.introduction.php
- https://www.php.net/manual/en/features.commandline.differences.php
Peter Kokot [Tue, 23 Apr 2019 06:28:53 +0000 (08:28 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Remove sinclude from tsrm.m4
Peter Kokot [Tue, 23 Apr 2019 06:27:11 +0000 (08:27 +0200)]
Remove sinclude from tsrm.m4
This was once part of a standalone TSRM build and is not used in current
build system anymore.
Dmitry Stogov [Mon, 22 Apr 2019 23:21:45 +0000 (02:21 +0300)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Remove unused BIND_STATIC insructions
Dmitry Stogov [Mon, 22 Apr 2019 23:21:08 +0000 (02:21 +0300)]
Remove unused BIND_STATIC insructions
Dmitry Stogov [Mon, 22 Apr 2019 18:07:05 +0000 (21:07 +0300)]
Use _zend_hash_find_known_hash() for IS_CONST operand
Dmitry Stogov [Mon, 22 Apr 2019 17:19:34 +0000 (20:19 +0300)]
Fixed JIT for DEFINED opcode
Christoph M. Becker [Mon, 22 Apr 2019 11:54:23 +0000 (13:54 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Merge link.c and link_win32.c
Christoph M. Becker [Mon, 22 Apr 2019 10:58:09 +0000 (12:58 +0200)]
Merge link.c and link_win32.c
Dmitry Stogov [Mon, 22 Apr 2019 11:29:58 +0000 (14:29 +0300)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Add gcc global register for aarch64
CrazyMiaoo [Mon, 22 Apr 2019 11:29:30 +0000 (14:29 +0300)]
Add gcc global register for aarch64
Christoph M. Becker [Mon, 22 Apr 2019 10:39:12 +0000 (12:39 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fix parameter order
Christoph M. Becker [Mon, 22 Apr 2019 09:46:19 +0000 (11:46 +0200)]
Fix parameter order
The parameter order of `php_sys_link()` should be identical on Windows
and POSIX, bug commit
c9861bd [1] got that wrong.
[1] <http://git.php.net/?p=php-src.git;a=commit;h=
c9861bd7a974ef1555395b879c1035a0bbc12ef1 >
Nikita Popov [Mon, 22 Apr 2019 10:01:04 +0000 (12:01 +0200)]
Fix flag value clash affecting defined() function
Dmitry Stogov [Mon, 22 Apr 2019 08:06:27 +0000 (11:06 +0300)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fixed wrong opline
Dmitry Stogov [Mon, 22 Apr 2019 08:05:56 +0000 (11:05 +0300)]
Fixed wrong opline
George Wang [Sun, 21 Apr 2019 20:00:07 +0000 (16:00 -0400)]
Merge branch 'PHP-7.4'
George Wang [Sun, 21 Apr 2019 19:59:49 +0000 (15:59 -0400)]
Merge branch 'PHP-7.3' into PHP-7.4
George Wang [Sun, 21 Apr 2019 19:59:07 +0000 (15:59 -0400)]
Merge branch 'PHP-7.2' into PHP-7.3
George Wang [Sun, 21 Apr 2019 19:04:54 +0000 (15:04 -0400)]
Improved LSAPI_End_Response_r() .
George Wang [Sun, 21 Apr 2019 18:59:51 +0000 (14:59 -0400)]
Fixed bug in litespeed_finish_request(), disable fastcgi_finish_request() alias for now.
Peter Kokot [Sun, 21 Apr 2019 13:53:44 +0000 (15:53 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Refactor Zend/acinclude.m4 local macro
Peter Kokot [Sat, 20 Apr 2019 22:21:14 +0000 (00:21 +0200)]
Refactor Zend/acinclude.m4 local macro
There is now only a single M4 macro in the legacy acinclude.m4 file. A
separate acinclude file was once used with a standalone Zend engine
building but with current build system this can be simplified a bit.
Peter Kokot [Sun, 21 Apr 2019 13:39:22 +0000 (15:39 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
[ci skip] Fix CS in Markdown files
Peter Kokot [Sun, 21 Apr 2019 13:33:20 +0000 (15:33 +0200)]
[ci skip] Fix CS in Markdown files
Checked and quickfixed with Markdown linter
- 80 columns line width (~)
- code highlighting
- ...
Some most obvious outdated content updated a bit more.
Peter Kokot [Sun, 21 Apr 2019 09:06:57 +0000 (11:06 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Updated visual text elements using markdown
Rodrigo Prado [Sun, 21 Apr 2019 02:53:02 +0000 (23:53 -0300)]
Updated visual text elements using markdown
Peter Kokot [Sun, 21 Apr 2019 01:20:47 +0000 (03:20 +0200)]
Remove php.gif from the project root directory
The PHP logo is also displayed in the main README.md file using a shiny
SVG format so there is no need to use GIF format.
Peter Kokot [Sun, 21 Apr 2019 01:16:17 +0000 (03:16 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
[ci skip] Fix logo location
Peter Kokot [Sun, 21 Apr 2019 01:16:11 +0000 (03:16 +0200)]
[ci skip] Fix logo location
Peter Kokot [Sat, 20 Apr 2019 20:55:42 +0000 (22:55 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
[ci skip] Fix typo
Peter Kokot [Sat, 20 Apr 2019 20:55:37 +0000 (22:55 +0200)]
[ci skip] Fix typo
Peter Kokot [Sat, 20 Apr 2019 20:41:31 +0000 (22:41 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Refactor docs files for bcmath library
Move ucgendata README to generator file header
Peter Kokot [Sat, 20 Apr 2019 20:41:00 +0000 (22:41 +0200)]
Refactor docs files for bcmath library
Peter Kokot [Sat, 20 Apr 2019 20:35:25 +0000 (22:35 +0200)]
Move ucgendata README to generator file header
Peter Kokot [Sat, 20 Apr 2019 20:24:01 +0000 (22:24 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Remove zend.ico
Peter Kokot [Sat, 20 Apr 2019 20:22:56 +0000 (22:22 +0200)]
Remove zend.ico
The usage of the `zend.ico` image file was removed via
4b3e19802385c5874eefd3ba4565f2efbc55dc96 and is in current code base
not used anymore.
Peter Kokot [Sat, 20 Apr 2019 17:32:02 +0000 (19:32 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Added test for imagecolorclosesthwb
Rodrigo Prado [Mon, 15 Apr 2019 01:10:06 +0000 (22:10 -0300)]
Added test for imagecolorclosesthwb
The function was not tested yet.
See http://gcov.php.net/viewer.php?version=PHP_HEAD&func=tested_functions
Peter Kokot [Sat, 20 Apr 2019 17:21:22 +0000 (19:21 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Add test for date timestamp
Vitor Mattos [Sat, 13 Apr 2019 18:13:38 +0000 (15:13 -0300)]
Add test for date timestamp
- [date_timestamp_get] adding coverage for date_timestamp_get alias to
DateTime::getTimestamp feature at PHPRio TestFest
- [date_timestamp_get] adding coverage for date_timestamp_get basic
feature at PHPRio TestFest
- Combine tests into single file
Peter Kokot [Sat, 20 Apr 2019 17:13:35 +0000 (19:13 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Update changelog
Update changelog
Fix #77921: static.php.net doesn't work anymore