]>
granicus.if.org Git - php/log
Peter Kokot [Sat, 6 Apr 2019 22:57:41 +0000 (00:57 +0200)]
[ci skip] Update release process docs to Markdown
- Markdown
- CS syncs
- Some partial readability fixes
- The protocol hasn't been changed
Christoph M. Becker [Sat, 6 Apr 2019 15:38:18 +0000 (17:38 +0200)]
Fix ASAN configuration
Commit
6a624c1 [1] mostly replaced `COMPILER_NAME` with
`COMPILER_NAME_LONG` and `COMPILER_NAME_SHORT`, but not all
occurrences, what broke the Clang ASAN configuration. We fix this by
getting rid of `COMPILER_NAME` altogether.
[1] <http://git.php.net/?p=php-src.git;a=commit;h=
6a624c1dfda0dbfaaff3e453e6cb58de12748fb3 >
Joe Watkins [Fri, 5 Apr 2019 23:30:03 +0000 (01:30 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Follow up #77849 PDOStatement objects in undefined state after clone
Joe Watkins [Fri, 5 Apr 2019 23:27:58 +0000 (01:27 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Follow up #77849 PDOStatement objects in undefined state after clone
Joe Watkins [Fri, 5 Apr 2019 23:26:47 +0000 (01:26 +0200)]
Follow up #77849 PDOStatement objects in undefined state after clone
Joe Watkins [Fri, 5 Apr 2019 22:55:58 +0000 (00:55 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Fix bug #77849 Disable cloning of PDO handle/connection objects to avoid segfault
Joe Watkins [Fri, 5 Apr 2019 22:55:31 +0000 (00:55 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Fix bug #77849 Disable cloning of PDO handle/connection objects to avoid segfault
Cameron Porter [Fri, 5 Apr 2019 18:42:04 +0000 (13:42 -0500)]
Fix bug #77849 Disable cloning of PDO handle/connection objects to avoid segfault
Christoph M. Becker [Fri, 5 Apr 2019 21:16:12 +0000 (23:16 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Update Appveyor CI to php-sdk-2.2.0beta4
Christoph M. Becker [Fri, 5 Apr 2019 21:15:50 +0000 (23:15 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Update Appveyor CI to php-sdk-2.2.0beta4
Christoph M. Becker [Fri, 5 Apr 2019 21:15:22 +0000 (23:15 +0200)]
Update Appveyor CI to php-sdk-2.2.0beta4
Peter Kokot [Fri, 5 Apr 2019 20:37:01 +0000 (22:37 +0200)]
[ci skip] Bring release process docs up 2 date
This syncs the latest version and the PHP-7.4 version release process
docs.
Peter Kokot [Fri, 5 Apr 2019 17:44:56 +0000 (19:44 +0200)]
Add opcache.lockfile_path and opcache.lockfile_path to ini settings
Some default opcache settings were missing.
Markus Staab [Fri, 5 Apr 2019 05:51:30 +0000 (07:51 +0200)]
typo
Dmitry Stogov [Thu, 4 Apr 2019 21:25:45 +0000 (00:25 +0300)]
Optimized "smart branch" instructions
Dmitry Stogov [Thu, 4 Apr 2019 15:18:12 +0000 (18:18 +0300)]
Make is_identical() functions return zend_bool (instead of int)
Dmitry Stogov [Thu, 4 Apr 2019 14:52:17 +0000 (17:52 +0300)]
unused variable
Christoph M. Becker [Thu, 4 Apr 2019 12:24:56 +0000 (14:24 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Fix typos
Christoph M. Becker [Thu, 4 Apr 2019 12:22:36 +0000 (14:22 +0200)]
Fix typos
Matteo Beccati [Wed, 3 Apr 2019 12:36:20 +0000 (14:36 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Ref #76801 remove old file source from file_sources hash in case of file included more than once
Matteo Beccati [Wed, 3 Apr 2019 12:36:11 +0000 (14:36 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Ref #76801 remove old file source from file_sources hash in case of file included more than once
Alessandro Chitolina [Tue, 2 Apr 2019 12:36:59 +0000 (14:36 +0200)]
Ref #76801 remove old file source from file_sources hash in case of file included more than once
Dmitry Stogov [Wed, 3 Apr 2019 09:38:25 +0000 (12:38 +0300)]
Remove RC1 and RCN from scalar types.
Dmitry Stogov [Wed, 3 Apr 2019 08:22:59 +0000 (11:22 +0300)]
Fixed SCCP support for ZEND_ASSIGN_OBJ_REF
Dmitry Stogov [Wed, 3 Apr 2019 00:11:15 +0000 (03:11 +0300)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Fixed CFG construction for SWITCH opcodes
Dmitry Stogov [Wed, 3 Apr 2019 00:09:47 +0000 (03:09 +0300)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Fixed CFG construction for SWITCH opcodes
Dmitry Stogov [Wed, 3 Apr 2019 00:09:03 +0000 (03:09 +0300)]
Fixed CFG construction for SWITCH opcodes
Dmitry Stogov [Tue, 2 Apr 2019 21:44:31 +0000 (00:44 +0300)]
array_merge() may return argument with incremented reference counter
Peter Kokot [Tue, 2 Apr 2019 21:24:21 +0000 (23:24 +0200)]
Clean ext/spl/tests/bug42364.phpt files after tests
Dmitry Stogov [Tue, 2 Apr 2019 20:49:13 +0000 (23:49 +0300)]
Use fastcall calling convention
Dmitry Stogov [Tue, 2 Apr 2019 20:46:21 +0000 (23:46 +0300)]
Improved comparison opcode handlers
Kalle Sommer Nielsen [Tue, 2 Apr 2019 18:18:06 +0000 (21:18 +0300)]
Remove dead JPEG2000 code
Christoph M. Becker [Tue, 2 Apr 2019 14:54:15 +0000 (16:54 +0200)]
Update NEWS
Remi Collet [Tue, 2 Apr 2019 09:06:06 +0000 (11:06 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
fix paste issue
Remi Collet [Tue, 2 Apr 2019 09:05:54 +0000 (11:05 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
fix paste issue
Remi Collet [Tue, 2 Apr 2019 09:05:39 +0000 (11:05 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
fix paste issue
Remi Collet [Tue, 2 Apr 2019 09:03:40 +0000 (11:03 +0200)]
fix paste issue
Christoph M. Becker [Tue, 2 Apr 2019 08:42:35 +0000 (10:42 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Pointer arithmetic on void pointers is illegal
Christoph M. Becker [Tue, 2 Apr 2019 08:41:26 +0000 (10:41 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Pointer arithmetic on void pointers is illegal
Christoph M. Becker [Tue, 2 Apr 2019 08:40:56 +0000 (10:40 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Pointer arithmetic on void pointers is illegal
Christoph M. Becker [Tue, 2 Apr 2019 08:37:40 +0000 (10:37 +0200)]
Pointer arithmetic on void pointers is illegal
We quick-fix this by casting to char*; it might be more appropriate to
use char pointers in the first place.
Stanislav Malyshev [Tue, 2 Apr 2019 07:13:06 +0000 (00:13 -0700)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Fixed bug #77831 - Heap-buffer-overflow in exif_iif_add_value in EXIF
Stanislav Malyshev [Tue, 2 Apr 2019 07:13:00 +0000 (00:13 -0700)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Fixed bug #77831 - Heap-buffer-overflow in exif_iif_add_value in EXIF
Stanislav Malyshev [Tue, 2 Apr 2019 07:12:54 +0000 (00:12 -0700)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fixed bug #77831 - Heap-buffer-overflow in exif_iif_add_value in EXIF
Stanislav Malyshev [Tue, 2 Apr 2019 07:12:26 +0000 (00:12 -0700)]
Fixed bug #77831 - Heap-buffer-overflow in exif_iif_add_value in EXIF
Derick Rethans [Mon, 1 Apr 2019 09:38:41 +0000 (10:38 +0100)]
Updated to version 2019.1 (2019a)
Derick Rethans [Mon, 1 Apr 2019 09:38:41 +0000 (10:38 +0100)]
Empty merge
Derick Rethans [Mon, 1 Apr 2019 09:38:40 +0000 (10:38 +0100)]
Updated to version 2019.1 (2019a)
Stanislav Malyshev [Mon, 1 Apr 2019 07:30:56 +0000 (00:30 -0700)]
Unfortunately, travis CI has old oniguruma library
So we can't test it there.
Stanislav Malyshev [Mon, 1 Apr 2019 07:05:36 +0000 (00:05 -0700)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Update NEWS & UPGRADING
Add fallbacks for older oniguruma versions
Add mbstring.regex_stack_limit to php.ini-*
Implement RF bug #72777 - ensure stack limits on mbstring functions.
Stanislav Malyshev [Mon, 1 Apr 2019 07:03:49 +0000 (00:03 -0700)]
Update NEWS & UPGRADING
Stanislav Malyshev [Mon, 1 Apr 2019 07:00:14 +0000 (00:00 -0700)]
Merge branch 'mb-limit-73' into PHP-7.3
* mb-limit-73:
Add fallbacks for older oniguruma versions
Add mbstring.regex_stack_limit to php.ini-*
Implement RF bug #72777 - ensure stack limits on mbstring functions.
Stanislav Malyshev [Mon, 1 Apr 2019 06:11:30 +0000 (23:11 -0700)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Update NEWS
Stanislav Malyshev [Mon, 1 Apr 2019 06:11:27 +0000 (23:11 -0700)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Update NEWS
Stanislav Malyshev [Mon, 1 Apr 2019 06:11:24 +0000 (23:11 -0700)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Update NEWS
Stanislav Malyshev [Mon, 1 Apr 2019 06:11:15 +0000 (23:11 -0700)]
Update NEWS
Stanislav Malyshev [Mon, 1 Apr 2019 06:10:04 +0000 (23:10 -0700)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Fix bug #77753 - Heap-buffer-overflow in php_ifd_get32s
Stanislav Malyshev [Mon, 1 Apr 2019 06:09:57 +0000 (23:09 -0700)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Fix bug #77753 - Heap-buffer-overflow in php_ifd_get32s
Stanislav Malyshev [Mon, 1 Apr 2019 06:09:18 +0000 (23:09 -0700)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fix bug #77753 - Heap-buffer-overflow in php_ifd_get32s
Stanislav Malyshev [Mon, 18 Mar 2019 05:54:46 +0000 (22:54 -0700)]
Fix bug #77753 - Heap-buffer-overflow in php_ifd_get32s
Anatol Belski [Mon, 1 Apr 2019 00:16:52 +0000 (02:16 +0200)]
Improve ascii check
Anatol Belski [Sun, 31 Mar 2019 20:10:56 +0000 (22:10 +0200)]
Rework conditions and make them more future proof
Anatol Belski [Sun, 31 Mar 2019 15:28:50 +0000 (17:28 +0200)]
Implement stricter CRT check
This aligns with the recommendations about VS2015, VS2017 and VS2019
compatibility.
More info below
https://devblogs.microsoft.com/cppblog/cpp-binary-compatibility-and-pain-free-upgrades-to-visual-studio-2019/
Anatol Belski [Sun, 31 Mar 2019 12:31:57 +0000 (14:31 +0200)]
Fix return
Anatol Belski [Sun, 31 Mar 2019 12:18:12 +0000 (14:18 +0200)]
Rework the VS version evaluation
For the latest versions, refer also to the Visual Studio version, not to
the exact toolset version. The latest Visual Studio versions are moving
fast and the method existed previously is not sutable to keep up
anymore. Instead of refering to the exact toolset, it refers to the
Visual Studio version and implies the latest toolset available there.
That is still not ideal, another situation can arise where VS version is
not changed, but the toolset version is. It might be better to refer to
it a generic way in the future or even omit at all, and improve the
internal compatibility checks instead.
Anatol Belski [Sun, 31 Mar 2019 12:01:36 +0000 (14:01 +0200)]
Implement stricter extension compatibility check
This hardens the dynamic module loading by checking the linker compatibility
between the core and the dynamic module. This likely should be extended
for the CRT as well, as 2015, 2017 and 2019 versions of Visual Studio
all have same DLL name for the CRT.
Christoph M. Becker [Sun, 31 Mar 2019 11:35:50 +0000 (13:35 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Fix #77827: preg_match does not ignore \r in regex flags
Christoph M. Becker [Sun, 31 Mar 2019 11:32:31 +0000 (13:32 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Fix #77827: preg_match does not ignore \r in regex flags
Christoph M. Becker [Sun, 31 Mar 2019 11:31:54 +0000 (13:31 +0200)]
Fix #77827: preg_match does not ignore \r in regex flags
Joe Watkins [Sun, 31 Mar 2019 07:46:36 +0000 (09:46 +0200)]
typo [ci skip]
Joe Watkins [Sun, 31 Mar 2019 07:43:53 +0000 (09:43 +0200)]
correct readme [ci skip]
Stanislav Malyshev [Sat, 30 Mar 2019 21:52:04 +0000 (14:52 -0700)]
Add fallbacks for older oniguruma versions
Anatol Belski [Sat, 30 Mar 2019 22:04:52 +0000 (23:04 +0100)]
Fix memory leak
Anatol Belski [Sat, 30 Mar 2019 20:30:48 +0000 (21:30 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Fix memory leak
Anatol Belski [Sat, 30 Mar 2019 20:27:37 +0000 (21:27 +0100)]
Fix memory leak
Anatol Belski [Sat, 30 Mar 2019 20:07:17 +0000 (21:07 +0100)]
Use wchar_t as native type in C
Peter Kokot [Wed, 27 Mar 2019 19:51:45 +0000 (20:51 +0100)]
Move README files to a dedicated docs directory
The new dedicated docs directory has been introduced after a discussion
on GitHub[1].
Main issue it is addressing is the reduction of too many README files in
the project root directory. The new directory is dedicated for notes and
quick documentation files that either can't be put in the manual or wiki
pages or that relate to the php-src repository specifically and need to
live together with the source code.
Also the `docs` directory is by GitHub used for some repository
configuration files such as pull request templates, and contributing
documentation helper files that are integrated in the interface.
[1]: https://github.com/php/php-src/pull/3988
Matteo Beccati [Sat, 30 Mar 2019 17:30:20 +0000 (18:30 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
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
Matteo Beccati [Sat, 30 Mar 2019 17:29:44 +0000 (18:29 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
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
Peter Kokot [Sat, 30 Mar 2019 15:09:23 +0000 (16:09 +0100)]
[ci skip] Add ffi_parser.c info
Peter Kokot [Mon, 25 Mar 2019 23:00:36 +0000 (00:00 +0100)]
Join README.GIT-RULES and CONTRIBUTING.md
This patch joins two very much related pieces of docs together in a
single file dedicated to all sorts of contributing info.
Some more changes:
- Branches info copied from the current master branch
- LXR and bonsai info removed
- Duplicated info reduced a bit
- Security branch updated to 7.1
- Refactor intro for Git commit rules
- Updated README.GIT-RULES file usage in win32/build/confutils.js
- Refactored configure.ac
Peter Kokot [Sat, 30 Mar 2019 12:59:14 +0000 (13:59 +0100)]
[ci skip] Mention PHP_PROG_BISON and PHP_PROG_RE2C
Anatol Belski [Sat, 30 Mar 2019 11:53:32 +0000 (12:53 +0100)]
Fix handling and extend ext/ffi/tests/044.phpt
Peter Kokot [Sun, 17 Mar 2019 15:22:02 +0000 (16:22 +0100)]
Refactor PHP_PROG_BISON and PHP_PROG_RE2C
This patch refactors these macros to also checks for the required given
versions of bison and re2c.
- PHP_PROG_RE2C and PHP_PROG_BISON take optional args - minmimum version
required, and bison also excluded versions.
- Instead of caching values this uses manual checking and messaging
outputs.
- It looks like the minimum version of RE2C 0.13.4 is working ok so far.
The genfiles script improvements:
- Add make override in genfiles
- Move checkings from makedist to genfiles
- Refactored output messages
- Various minor enhancements
Joe Watkins [Fri, 29 Mar 2019 07:01:31 +0000 (08:01 +0100)]
tsrm environment lock
Dmitry Stogov [Fri, 29 Mar 2019 14:28:57 +0000 (17:28 +0300)]
Partial support for GCC mode attribute.
Matteo Beccati [Fri, 29 Mar 2019 13:24:09 +0000 (14:24 +0100)]
Removed declaration inside for loops
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:33:49 +0000 (14:33 +0300)]
Fixed memory leaks
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: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`.
Stanislav Malyshev [Fri, 29 Mar 2019 05:57:07 +0000 (22:57 -0700)]
Add mbstring.regex_stack_limit to php.ini-*
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:52:39 +0000 (00:52 +0300)]
Ignore "__format__" attribute
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:02:26 +0000 (00:02 +0300)]
Fixed bug #77768 (FFI: Builtin Types Should Not Raise Error On Redeclaration)