]>
granicus.if.org Git - php/log
Matteo Beccati [Fri, 29 Mar 2019 13:11:46 +0000 (14:11 +0100)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fixed SKIPIF when --disable-mbregex is used
Matteo Beccati [Fri, 29 Mar 2019 13:09:39 +0000 (14:09 +0100)]
Fixed SKIPIF when --disable-mbregex is used
Dmitry Stogov [Fri, 29 Mar 2019 11:34:07 +0000 (14:34 +0300)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fixed memory leaks
Dmitry Stogov [Fri, 29 Mar 2019 11:33:49 +0000 (14:33 +0300)]
Fixed memory leaks
Dmitry Stogov [Fri, 29 Mar 2019 11:16:18 +0000 (14:16 +0300)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Allow usage of incomplete types for external variables, function parameters and return values
Dmitry Stogov [Fri, 29 Mar 2019 11:14:56 +0000 (14:14 +0300)]
Allow usage of incomplete types for external variables, function parameters and return values
Christoph M. Becker [Fri, 29 Mar 2019 08:59:24 +0000 (09:59 +0100)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fix test expectation
Christoph M. Becker [Fri, 29 Mar 2019 08:58:37 +0000 (09:58 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Fix test expectation
Christoph M. Becker [Fri, 29 Mar 2019 08:56:58 +0000 (09:56 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Fix test expectation
Christoph M. Becker [Fri, 29 Mar 2019 08:45:38 +0000 (09:45 +0100)]
Fix test expectation
The `W32_SM_SENDMAIL_FROM_MALFORMED` error message will only be shown
if the `$additional_headers` parameter is passed to `mail`, which is
not the case for this test. Instead we have to expect `BAD_MSG_RPATH`.
Dmitry Stogov [Thu, 28 Mar 2019 23:38:12 +0000 (02:38 +0300)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Added support for more GCC extensions: attributes, __extension__, __asm__ (ignored)
Dmitry Stogov [Thu, 28 Mar 2019 23:36:55 +0000 (02:36 +0300)]
Added support for more GCC extensions: attributes, __extension__, __asm__ (ignored)
Dmitry Stogov [Thu, 28 Mar 2019 21:53:06 +0000 (00:53 +0300)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Ignore "__format__" attribute
Dmitry Stogov [Thu, 28 Mar 2019 21:52:39 +0000 (00:52 +0300)]
Ignore "__format__" attribute
Dmitry Stogov [Thu, 28 Mar 2019 21:16:51 +0000 (00:16 +0300)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Allow incomplete array variables - extern const char * const sys_errlist[]
Dmitry Stogov [Thu, 28 Mar 2019 21:15:12 +0000 (00:15 +0300)]
Allow incomplete array variables - extern const char * const sys_errlist[]
Dmitry Stogov [Thu, 28 Mar 2019 21:03:18 +0000 (00:03 +0300)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fixed bug #77768 (FFI: Builtin Types Should Not Raise Error On Redeclaration)
Dmitry Stogov [Thu, 28 Mar 2019 21:02:26 +0000 (00:02 +0300)]
Fixed bug #77768 (FFI: Builtin Types Should Not Raise Error On Redeclaration)
Peter Kokot [Thu, 28 Mar 2019 16:45:02 +0000 (17:45 +0100)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Remove php7.spec.in file
Peter Kokot [Wed, 27 Mar 2019 22:36:59 +0000 (23:36 +0100)]
Remove php7.spec.in file
RPM specification file was introduced via
7c2f1384d45876bbdef255c4a57301e6406f6964 for PHP to include official
RPM packages long time agon. With removal of the makerpm script via
3d51d4c90c77a30a7b88aae7184dcce4b6e26b07 and Linux repositories to
manage such updated and customized info in their repositories this file
is most likely not needed anymore.
Nikita Popov [Thu, 28 Mar 2019 09:15:06 +0000 (10:15 +0100)]
Merge branch 'PHP-7.4'
Nikita Popov [Thu, 28 Mar 2019 09:14:14 +0000 (10:14 +0100)]
Add additional protected visibility prototype test
See https://github.com/php/php-src/pull/3993 for context.
Nikita Popov [Thu, 28 Mar 2019 08:31:18 +0000 (09:31 +0100)]
Merge branch 'PHP-7.4'
Nikita Popov [Thu, 28 Mar 2019 08:29:08 +0000 (09:29 +0100)]
Revert "Switch to bison location tracking"
This reverts commit
e528762c1c59bc0bd0bd6d78246c14269630cf0f .
Dmitry reports that this has a non-trivial impact on parsing
overhead, especially on 32-bit systems. As we don't have a strong
need for this change right now, I'm reverting it.
See also comments on
https://github.com/php/php-src/commit/
e528762c1c59bc0bd0bd6d78246c14269630cf0f .
Stanislav Malyshev [Thu, 28 Mar 2019 07:45:52 +0000 (00:45 -0700)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Validate subject encoding in mb_split and mb_ereg_match
Validate pattern against mbregex encoding
SQLite3: add DEFENSIVE config for SQLite >= 3.26.0 as a mitigation strategy against potential security flaws
Stanislav Malyshev [Thu, 28 Mar 2019 07:44:42 +0000 (00:44 -0700)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Validate subject encoding in mb_split and mb_ereg_match
Validate pattern against mbregex encoding
SQLite3: add DEFENSIVE config for SQLite >= 3.26.0 as a mitigation strategy against potential security flaws
Stanislav Malyshev [Thu, 28 Mar 2019 07:37:36 +0000 (00:37 -0700)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Validate subject encoding in mb_split and mb_ereg_match
Validate pattern against mbregex encoding
SQLite3: add DEFENSIVE config for SQLite >= 3.26.0 as a mitigation strategy against potential security flaws
Stanislav Malyshev [Thu, 28 Mar 2019 07:35:22 +0000 (00:35 -0700)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Validate subject encoding in mb_split and mb_ereg_match
Validate pattern against mbregex encoding
SQLite3: add DEFENSIVE config for SQLite >= 3.26.0 as a mitigation strategy against potential security flaws
Joe Watkins [Thu, 28 Mar 2019 06:35:50 +0000 (07:35 +0100)]
Merge branch 'PHP-7.4'
* PHP-7.4:
fix build: readline support must be disabled by default in phpdbg
Joe Watkins [Thu, 28 Mar 2019 06:35:33 +0000 (07:35 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
fix build: readline support must be disabled by default in phpdbg
Joe Watkins [Thu, 28 Mar 2019 06:35:15 +0000 (07:35 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
fix build: readline support must be disabled by default in phpdbg
Joe Watkins [Thu, 28 Mar 2019 06:34:45 +0000 (07:34 +0100)]
fix build: readline support must be disabled by default in phpdbg
Nikita Popov [Mon, 11 Feb 2019 11:31:59 +0000 (12:31 +0100)]
Validate subject encoding in mb_split and mb_ereg_match
We were already validating the subject encoding in most functions,
but not these two.
Nikita Popov [Mon, 11 Feb 2019 11:10:40 +0000 (12:10 +0100)]
Validate pattern against mbregex encoding
Oniguruma does not consistently perform this validation itself (at least
on older versions), so make sure we check pattern encoding validity on the
PHP side.
Dmitry Stogov [Thu, 28 Mar 2019 00:01:58 +0000 (03:01 +0300)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Support for __restrict and few GCC attributes
Dmitry Stogov [Thu, 28 Mar 2019 00:01:20 +0000 (03:01 +0300)]
Support for __restrict and few GCC attributes
Dmitry Stogov [Wed, 27 Mar 2019 22:22:11 +0000 (01:22 +0300)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Use semantic predicates to simplify lookahead and reduce backtracking
Dmitry Stogov [Wed, 27 Mar 2019 22:21:06 +0000 (01:21 +0300)]
Use semantic predicates to simplify lookahead and reduce backtracking
Nikita Popov [Wed, 27 Mar 2019 17:11:00 +0000 (18:11 +0100)]
Merge branch 'PHP-7.4'
Nikita Popov [Wed, 27 Mar 2019 17:09:09 +0000 (18:09 +0100)]
Treat abstract ctors the same, regardless of origin
Abstract ctor signatures should always be respected by all children,
independently of whether it comes from an interface or an abstract
class. Previously abstract ctor signatures (if they didn't come from
an interface) were only checked to one level of inheritance.
Nikita Popov [Wed, 27 Mar 2019 12:05:04 +0000 (13:05 +0100)]
Merge branch 'PHP-7.4'
Nikita Popov [Wed, 27 Mar 2019 12:02:28 +0000 (13:02 +0100)]
Fix lineno for more inheritance errors
And also include explicit linenos in tests.
Nikita Popov [Wed, 27 Mar 2019 11:43:23 +0000 (12:43 +0100)]
Merge branch 'PHP-7.4'
Nikita Popov [Wed, 27 Mar 2019 11:42:35 +0000 (12:42 +0100)]
Make line numbers for inheritance errors more precise
Use the line of the conflicting child method, rather than either the
first or last line of the class.
Joe Watkins [Wed, 27 Mar 2019 09:39:04 +0000 (10:39 +0100)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Consider phpdbg as cli
Joe Watkins [Wed, 27 Mar 2019 09:38:56 +0000 (10:38 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Consider phpdbg as cli
Joe Watkins [Wed, 27 Mar 2019 09:38:45 +0000 (10:38 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Consider phpdbg as cli
Samuele Kaplun [Tue, 18 Sep 2018 12:49:36 +0000 (14:49 +0200)]
Consider phpdbg as cli
* When configuring extensions, considers the PHPDBG SAPI as CLI thus
allowing e.g. to have the pcntl extension available within PHPDBG.
Signed-off-by: Samuele Kaplun <kaplun@protonmail.com>
Joe Watkins [Wed, 27 Mar 2019 09:09:34 +0000 (10:09 +0100)]
Merge branch 'PHP-7.4' of git://github.com/php/php-src into PHP-7.4
Joe Watkins [Wed, 27 Mar 2019 09:09:10 +0000 (10:09 +0100)]
Merge branch 'master' of git://github.com/php/php-src
Joe Watkins [Wed, 27 Mar 2019 09:04:47 +0000 (10:04 +0100)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fix #77805 phpdbg build fails when readline is shared
Joe Watkins [Wed, 27 Mar 2019 09:04:18 +0000 (10:04 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Fix #77805 phpdbg build fails when readline is shared
Joe Watkins [Wed, 27 Mar 2019 09:03:50 +0000 (10:03 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Fix #77805 phpdbg build fails when readline is shared
Joe Watkins [Wed, 27 Mar 2019 08:58:40 +0000 (09:58 +0100)]
Fix #77805 phpdbg build fails when readline is shared
Sara Golemon [Wed, 27 Mar 2019 04:37:31 +0000 (00:37 -0400)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Validate interoperability between libsodium and libargon for argon2i(d) hashing
Increase default time cost for argon2 password hashing
Sara Golemon [Wed, 27 Mar 2019 04:07:34 +0000 (00:07 -0400)]
Validate interoperability between libsodium and libargon for argon2i(d) hashing
Sara Golemon [Wed, 27 Mar 2019 04:07:55 +0000 (00:07 -0400)]
Increase default time cost for argon2 password hashing
Joe Watkins [Tue, 26 Mar 2019 23:02:52 +0000 (00:02 +0100)]
Merge branch 'PHP-7.4'
* PHP-7.4:
more work on phpdbg conditional breaks
Joe Watkins [Tue, 26 Mar 2019 23:02:43 +0000 (00:02 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
more work on phpdbg conditional breaks
Joe Watkins [Tue, 26 Mar 2019 23:02:31 +0000 (00:02 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
more work on phpdbg conditional breaks
Joe Watkins [Tue, 26 Mar 2019 23:02:15 +0000 (00:02 +0100)]
more work on phpdbg conditional breaks
Joe Watkins [Tue, 26 Mar 2019 22:07:06 +0000 (23:07 +0100)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fix #77800 phpdbg segfaults on conditional breakpoints
Joe Watkins [Tue, 26 Mar 2019 22:06:34 +0000 (23:06 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Fix #77800 phpdbg segfaults on conditional breakpoints
Joe Watkins [Tue, 26 Mar 2019 22:06:00 +0000 (23:06 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Fix #77800 phpdbg segfaults on conditional breakpoints
Joe Watkins [Tue, 26 Mar 2019 22:05:06 +0000 (23:05 +0100)]
Fix #77800 phpdbg segfaults on conditional breakpoints
Peter Kokot [Tue, 26 Mar 2019 21:31:24 +0000 (22:31 +0100)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Add minimum required PHP version to run-tests.php
Peter Kokot [Mon, 25 Mar 2019 19:50:14 +0000 (20:50 +0100)]
Add minimum required PHP version to run-tests.php
This integrates a simple minimum PHP version info in the tool and to
also define the minimum version that the tool syntax should support.
Joe Watkins [Tue, 26 Mar 2019 17:28:18 +0000 (18:28 +0100)]
remove last enable-maintainer-zts mention from source
Nikita Popov [Tue, 26 Mar 2019 14:48:02 +0000 (15:48 +0100)]
Merge branch 'PHP-7.4'
Nikita Popov [Tue, 26 Mar 2019 14:46:09 +0000 (15:46 +0100)]
Add zend_error_at API that accepts a filename and lineno
Use this for the opcache preloading warnings, as an example usage.
Ivan Enderlin [Tue, 26 Mar 2019 13:14:29 +0000 (14:14 +0100)]
Fix typos in the documentation
Nikita Popov [Tue, 26 Mar 2019 09:11:47 +0000 (10:11 +0100)]
Merge branch 'PHP-7.4'
Nikita Popov [Mon, 25 Mar 2019 14:46:43 +0000 (15:46 +0100)]
Make PCRE cache per-request on CLI
There will only be one request on the CLI SAPI, so there is no
advantage to having a persistent PCRE cache. Using a non-persistent
cache allows us to use arbitrary strings as cache keys.
Peter Kokot [Mon, 25 Mar 2019 22:00:50 +0000 (23:00 +0100)]
Merge branch 'PHP-7.4'
* PHP-7.4:
[ci skip] Join contributing and patches docs
Peter Kokot [Sat, 23 Mar 2019 18:05:37 +0000 (19:05 +0100)]
[ci skip] Join contributing and patches docs
This joins two similar contextual information together in the main
CONTRIBUTING.md file.
Additionally:
- http links updated to https where possible
- sentences and sections refactored more so they make some sence. GitHub
pull requests are preferred way for contributing code.
- reorder paragraphs and contextual info
- s/mail list/mailing list
- PHP internals refactorings
- use canonical https://www.php.net
Peter Kokot [Mon, 25 Mar 2019 20:59:04 +0000 (21:59 +0100)]
Merge branch 'PHP-7.4'
* PHP-7.4:
[ci skip] Update NEWS
[ci skip] Update NEWS
Fix #77794: Incorrect Date header format in built-in server
Peter Kokot [Mon, 25 Mar 2019 20:57:39 +0000 (21:57 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
[ci skip] Update NEWS
[ci skip] Update NEWS
Fix #77794: Incorrect Date header format in built-in server
Peter Kokot [Mon, 25 Mar 2019 20:57:20 +0000 (21:57 +0100)]
[ci skip] Update NEWS
Peter Kokot [Mon, 25 Mar 2019 20:56:39 +0000 (21:56 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
[ci skip] Update NEWS
Fix #77794: Incorrect Date header format in built-in server
Peter Kokot [Mon, 25 Mar 2019 20:46:41 +0000 (21:46 +0100)]
[ci skip] Update NEWS
Niklas Keller [Sun, 24 Mar 2019 18:39:25 +0000 (19:39 +0100)]
Fix #77794: Incorrect Date header format in built-in server
- Fix the date format to be compliant with https://tools.ietf.org/html/rfc7231#section-7.1.1.2
- Fix date format length and use GMT time
- Previously, local time was used instead of GMT.
- Remove extra whitespace
- Simplify string appends in php_cli_server.c
Dmitry Stogov [Mon, 25 Mar 2019 18:45:39 +0000 (21:45 +0300)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Regenerate parser
Dmitry Stogov [Mon, 25 Mar 2019 18:45:10 +0000 (21:45 +0300)]
Regenerate parser
Derick Rethans [Mon, 25 Mar 2019 16:02:40 +0000 (16:02 +0000)]
Update README.RELEASE_PROCESS
Nikita Popov [Mon, 25 Mar 2019 16:46:33 +0000 (17:46 +0100)]
Merge branch 'PHP-7.4'
Nikita Popov [Mon, 25 Mar 2019 16:46:28 +0000 (17:46 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Mon, 25 Mar 2019 16:45:03 +0000 (17:45 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
Vlad Temian [Tue, 19 Mar 2019 16:36:45 +0000 (18:36 +0200)]
Fix bug #77680: Correctly implement recursive mkdir on FTP stream
If the root directory was missing, an extra CWD without arguments was
made. Also, the MKD contained an empty string.
Now the CWD will use / and MKDs will be issued starting from the root
directory.
Nikita Popov [Mon, 25 Mar 2019 16:36:38 +0000 (17:36 +0100)]
Merge branch 'PHP-7.4'
Nikita Popov [Mon, 25 Mar 2019 16:34:29 +0000 (17:34 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Mon, 25 Mar 2019 16:33:17 +0000 (17:33 +0100)]
Fixed bug #77793
By making sure that we always first increment the refcount of the
new value before we destroy the old one.
Nikita Popov [Mon, 25 Mar 2019 15:43:50 +0000 (16:43 +0100)]
Merge branch 'PHP-7.4'
Nikita Popov [Mon, 25 Mar 2019 15:43:33 +0000 (16:43 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Mon, 25 Mar 2019 15:42:48 +0000 (16:42 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Mon, 25 Mar 2019 15:41:21 +0000 (16:41 +0100)]
Fixed bug #72175
Make sure we don't close the connection we're trying to reuse...
Nikita Popov [Mon, 25 Mar 2019 13:22:25 +0000 (14:22 +0100)]
Merge branch 'PHP-7.4'
Nikita Popov [Mon, 25 Mar 2019 13:15:26 +0000 (14:15 +0100)]
Don't use parallel testing with -j1
Nikita Popov [Mon, 25 Mar 2019 13:13:10 +0000 (14:13 +0100)]
Drop lightning for concurrent worker count
This looked rather awkward even on terminals that have full unicode
support.
Nikita Popov [Mon, 25 Mar 2019 12:58:56 +0000 (13:58 +0100)]
Merge branch 'PHP-7.4'
Tyson Andre [Sat, 23 Mar 2019 20:47:10 +0000 (16:47 -0400)]
Make run-tests.php compatible with php 7.0-7.2
Motivation:
As an extension author, I want to speed up running tests in php <=7.3,
both locally and in CI (e.g. with valgrind).
This can be done by manually copying php 7.4's run-tests.php script
to replace the one generated by `phpize`
- list() doesn't work in php 7.0
- negative string offset doesn't work in php 7.2
If run-tests.php can be copied from php-src without any manual patches,
that would be the easiest.
Related to #2822 - I didn't see any discussion for/against compatibility
with older php versions