]>
granicus.if.org Git - php/log
Peter Kokot [Thu, 23 Aug 2018 22:33:02 +0000 (00:33 +0200)]
Replace HAVE_ST_BLOCKS with HAVE_STRUCT_STAT_ST_BLOCKS
Since Autoconf 2.50+ macro AC_STRUCT_ST_BLOCKS defines the new
HAVE_STRUCT_STAT_ST_BLOCKS symbol and has deprecated the previous
HAVE_ST_BLOCKS.
PHP 5.3 required Autoconf 2.13 (released in 1999) or newer, since PHP
5.4 the autoconf 2.59 (released in 2003) or newer was required, and
since PHP 7.2, autoconf 2.64 (released in 2008) or newer is required.
Dmitry Stogov [Fri, 24 Aug 2018 12:40:53 +0000 (15:40 +0300)]
ZEND_DECLARE_CLASS, ZEND_DECLARE_INHERITED_CLASS and ZEND_DECLARE_INHERITED_CLASS_DELAYED don't need return value anymore.
Dmitry Stogov [Fri, 24 Aug 2018 12:18:38 +0000 (15:18 +0300)]
Perform "early-binding" directly during compilation
Dmitry Stogov [Thu, 23 Aug 2018 21:20:57 +0000 (00:20 +0300)]
Keep information about unresolved parent class in zend_class_entry->parent_name
Anatol Belski [Thu, 23 Aug 2018 19:28:08 +0000 (21:28 +0200)]
Merge branch 'PHP-7.3'
* PHP-7.3:
mkdist.php: recursively check dll dependencies
Anatol Belski [Thu, 23 Aug 2018 19:27:43 +0000 (21:27 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
mkdist.php: recursively check dll dependencies
Anatol Belski [Thu, 23 Aug 2018 19:26:40 +0000 (21:26 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
mkdist.php: recursively check dll dependencies
Dylan K. Taylor [Tue, 21 Aug 2018 14:23:02 +0000 (15:23 +0100)]
mkdist.php: recursively check dll dependencies
Fix duplication of recursively checked deps
Dmitry Stogov [Thu, 23 Aug 2018 14:16:28 +0000 (17:16 +0300)]
Keep information about unresolved interfaces in zend_class_entry->interface_names.
Move interface implementation code into ZEND_DECLARE_*CLASS opcodes.
Remove ZEND_ADD_INTERFACE and ZEND_VERIFY_ABSTRACT_CLASS opcodes.
Christoph M. Becker [Thu, 23 Aug 2018 10:52:31 +0000 (12:52 +0200)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Simplify regression test
Christoph M. Becker [Thu, 23 Aug 2018 10:51:11 +0000 (12:51 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Simplify regression test
Christoph M. Becker [Thu, 23 Aug 2018 10:49:26 +0000 (12:49 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Simplify regression test
Christoph M. Becker [Thu, 23 Aug 2018 10:44:06 +0000 (12:44 +0200)]
Simplify regression test
There's no need to actually try to trigger an out-of-memory condition
to proof the leak; instead we can simply rely on the Zend MM to report
the memory leaks in debug mode (at least on Linux). Therefore we
simplify the regression test, which also makes it run much faster.
Dmitry Stogov [Wed, 22 Aug 2018 23:02:26 +0000 (02:02 +0300)]
Replace zend_class_entry->traits by persistent zend_class_entry->trait_names.
Move trait binding code into ZEND_DECLARE_*CLASS opcodes.
Remove ZEND_ADD_TRIAIT and ZEND_BIND_TRAITS opcodes.
Dmitry Stogov [Wed, 22 Aug 2018 14:07:31 +0000 (17:07 +0300)]
Change zend_lookup_class_ex() and zend_fetch_class_by_name() prototypes to accept optional lower-case class name as zend_string*, instead of zval*.
Christoph M. Becker [Wed, 22 Aug 2018 13:40:26 +0000 (15:40 +0200)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Fix #68825: Exception in DirectoryIterator::getLinkTarget()
Christoph M. Becker [Wed, 22 Aug 2018 13:39:34 +0000 (15:39 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Fix #68825: Exception in DirectoryIterator::getLinkTarget()
Christoph M. Becker [Wed, 22 Aug 2018 13:38:02 +0000 (15:38 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fix #68825: Exception in DirectoryIterator::getLinkTarget()
Christoph M. Becker [Sun, 19 Aug 2018 12:03:47 +0000 (14:03 +0200)]
Fix #68825: Exception in DirectoryIterator::getLinkTarget()
intern->file_name may not have been properly set when
DirectoryIterator::getLinkTarget() is called, so we make sure it is
before using it.
Christoph M. Becker [Wed, 22 Aug 2018 12:32:04 +0000 (14:32 +0200)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Increase memory_limit to prevent test failures
Christoph M. Becker [Wed, 22 Aug 2018 12:31:36 +0000 (14:31 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Increase memory_limit to prevent test failures
Christoph M. Becker [Wed, 22 Aug 2018 12:30:23 +0000 (14:30 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Increase memory_limit to prevent test failures
Christoph M. Becker [Wed, 22 Aug 2018 12:29:28 +0000 (14:29 +0200)]
Increase memory_limit to prevent test failures
Christoph M. Becker [Wed, 22 Aug 2018 12:08:46 +0000 (14:08 +0200)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Fix #76773 - Methods with a concrete scope need to be added again
Chris Wright [Tue, 21 Aug 2018 16:40:06 +0000 (17:40 +0100)]
Fix #76773 - Methods with a concrete scope need to be added again
Christoph M. Becker [Wed, 22 Aug 2018 11:57:44 +0000 (13:57 +0200)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Fix #76767: ‘asm’ operand has impossible constraints in zend_operators.h
Ondřej Surý [Mon, 20 Aug 2018 08:06:53 +0000 (08:06 +0000)]
Fix #76767: ‘asm’ operand has impossible constraints in zend_operators.h
We disable assembly code with gcc 4.8 on i386.
Christoph M. Becker [Wed, 22 Aug 2018 11:51:55 +0000 (13:51 +0200)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Fix #76778: array_reduce leaks memory if callback throws exception
Christoph M. Becker [Wed, 22 Aug 2018 11:50:46 +0000 (13:50 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Fix #76778: array_reduce leaks memory if callback throws exception
Christoph M. Becker [Wed, 22 Aug 2018 11:48:32 +0000 (13:48 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fix #76778: array_reduce leaks memory if callback throws exception
Nikita Popov [Wed, 22 Aug 2018 11:43:52 +0000 (13:43 +0200)]
Merge branch 'PHP-7.3'
Nikita Popov [Wed, 22 Aug 2018 11:39:33 +0000 (13:39 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
Christoph M. Becker [Wed, 22 Aug 2018 11:32:55 +0000 (13:32 +0200)]
Fix #76778: array_reduce leaks memory if callback throws exception
We have to release the result variable in the error case, too.
Massimiliano Braglia [Tue, 21 Aug 2018 15:44:02 +0000 (17:44 +0200)]
Fixed bug #75797
Fix zend_register_class_alias_ex() to use non-persistent strings
for (non-persistent) userland classes.
Dmitry Stogov [Wed, 22 Aug 2018 11:01:14 +0000 (14:01 +0300)]
Use zend_class_entry/zend_function type names instead of _zend_class_entry/_zend_function tags.
Christoph M. Becker [Wed, 22 Aug 2018 10:55:17 +0000 (12:55 +0200)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Fixed bug #76777 and added test
Christoph M. Becker [Wed, 22 Aug 2018 10:53:57 +0000 (12:53 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Fixed bug #76777 and added test
Christoph M. Becker [Wed, 22 Aug 2018 10:52:11 +0000 (12:52 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fixed bug #76777 and added test
Ville Hukkamaki [Wed, 22 Aug 2018 04:19:14 +0000 (06:19 +0200)]
Fixed bug #76777 and added test
Set undefined values to null rather than undefined.
Dmitry Stogov [Wed, 22 Aug 2018 10:45:56 +0000 (13:45 +0300)]
Introduced ZEND_COMPILE_IGNORE_OTHER_FILES compiler option, to allow "separate" file compilation (unaffected but previously compiled files), without CG(function_table)/CG(class_table) manipulation.
Nikita Popov [Wed, 22 Aug 2018 09:38:28 +0000 (11:38 +0200)]
Unify unpack checking in compile_special_func()
Instead of handling this separately for each specialized function,
do one check directly in zend_compile_special_func().
Nikita Popov [Wed, 22 Aug 2018 09:22:23 +0000 (11:22 +0200)]
Merge branch 'PHP-7.3'
David Carlier [Tue, 21 Aug 2018 22:51:54 +0000 (23:51 +0100)]
Don't report mmap failure if it is expected
When using mmap with MAP_FIXED_NOREPLACE or MAP_FIXED|MAP_EXCL
an mmap failure is not an error condition, so do not print an
error message in this case.
Dmitry Stogov [Wed, 22 Aug 2018 07:44:34 +0000 (10:44 +0300)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Stop using zend_function->reserved[] space.
Dmitry Stogov [Wed, 22 Aug 2018 07:43:51 +0000 (10:43 +0300)]
Stop using zend_function->reserved[] space.
Dmitry Stogov [Wed, 22 Aug 2018 05:24:28 +0000 (08:24 +0300)]
Removed op_array->static_variables duplication code. They can't be "shared" during comilation.
Nikita Popov [Tue, 21 Aug 2018 11:43:29 +0000 (13:43 +0200)]
Drop dead code
var_ast is always a ZEND_AST_ZVAL.
Dmitry Stogov [Tue, 21 Aug 2018 10:21:56 +0000 (13:21 +0300)]
Cleanup
Dmitry Stogov [Tue, 21 Aug 2018 09:22:04 +0000 (12:22 +0300)]
Don't use second operand of BIND_STATIC instruction.
Nikita Popov [Tue, 21 Aug 2018 06:34:15 +0000 (08:34 +0200)]
Merge branch 'PHP-7.3'
David Carlier [Sun, 19 Aug 2018 19:32:28 +0000 (20:32 +0100)]
Support fixed address mmap without replacement
We did not use MAP_FIXED here, because it may replace an existing
mapping. This commit adds support for MAP_FIXED_NOREPLACE (available
on newer Linux kernels) and MAP_FIXED|MAP_EXCL (available on FreeBSD),
which avoid this issue.
Dmitry Stogov [Tue, 21 Aug 2018 06:02:22 +0000 (09:02 +0300)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Removed dead code
Dmitry Stogov [Tue, 21 Aug 2018 06:01:54 +0000 (09:01 +0300)]
Removed dead code
Nikita Popov [Tue, 21 Aug 2018 04:27:27 +0000 (06:27 +0200)]
Merge branch 'PHP-7.3'
David Carlier [Mon, 13 Aug 2018 16:45:36 +0000 (17:45 +0100)]
Avoid directly adding to string literal
This fixes a Clang warning.
Dmitry Stogov [Mon, 20 Aug 2018 13:11:40 +0000 (16:11 +0300)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Avoid hash lookups in BIND_STATIC and BIND_LEXICAL opcode handlers. Encode static variable offset into opline->extended_value.
Dmitry Stogov [Mon, 20 Aug 2018 13:10:09 +0000 (16:10 +0300)]
Avoid hash lookups in BIND_STATIC and BIND_LEXICAL opcode handlers.
Encode static variable offset into opline->extended_value.
Christoph M. Becker [Mon, 20 Aug 2018 10:56:54 +0000 (12:56 +0200)]
Merge branch 'PHP-7.3'
Aaron Stone [Sun, 19 Aug 2018 16:48:52 +0000 (09:48 -0700)]
[ci skip] Correct minor typo (GC_GLAGS to GC_FLAGS)
Gabriel Caruso [Mon, 20 Aug 2018 00:33:41 +0000 (21:33 -0300)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Make array parsing parameters error messages consistency with ZPP failure
Gabriel Caruso [Sun, 5 Aug 2018 00:42:03 +0000 (21:42 -0300)]
Make array parsing parameters error messages consistency with ZPP failure
Jakub Zelenka [Sun, 19 Aug 2018 19:20:46 +0000 (20:20 +0100)]
Merge branch 'PHP-7.3'
Jakub Zelenka [Sun, 19 Aug 2018 19:19:48 +0000 (20:19 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
Jakub Zelenka [Sun, 19 Aug 2018 19:19:01 +0000 (20:19 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
Jakub Zelenka [Sun, 19 Aug 2018 19:14:26 +0000 (20:14 +0100)]
Fix bug #76705 (unusable ssl => peer_fingerprint in stream_context_create())
Christoph M. Becker [Sun, 19 Aug 2018 11:52:48 +0000 (13:52 +0200)]
Map ERROR_PRIVILEGE_NOT_HELD to EACCES
Attempting to create a symlink on Windows via the CLI SAPI without
administrative rights is likely to fail with ERROR_PRIVILEGE_NOT_HELD.
Therefore we map this Windows error to EACCES to get better diagnostics
and to avoid the assert() failure in debug mode.
Anatol Belski [Sat, 18 Aug 2018 18:06:14 +0000 (20:06 +0200)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Use stable deps on AppVeyor for now
Anatol Belski [Sat, 18 Aug 2018 18:05:51 +0000 (20:05 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Use stable deps on AppVeyor for now
Anatol Belski [Sat, 18 Aug 2018 18:04:19 +0000 (20:04 +0200)]
Use stable deps on AppVeyor for now
as long as the latest image is not synced with VC++ 15.8
Christoph M. Becker [Sat, 18 Aug 2018 12:39:35 +0000 (14:39 +0200)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Add regression test for bug #68175
Fix #68175: RegexIterator pregFlags are NULL instead of 0
Christoph M. Becker [Sat, 18 Aug 2018 12:38:44 +0000 (14:38 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Add regression test for bug #68175
Fix #68175: RegexIterator pregFlags are NULL instead of 0
Christoph M. Becker [Sat, 18 Aug 2018 12:37:04 +0000 (14:37 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Add regression test for bug #68175
Fix #68175: RegexIterator pregFlags are NULL instead of 0
Christoph M. Becker [Sat, 18 Aug 2018 12:26:02 +0000 (14:26 +0200)]
Add regression test for bug #68175
Tim Siebels [Tue, 7 Oct 2014 11:02:12 +0000 (13:02 +0200)]
Fix #68175: RegexIterator pregFlags are NULL instead of 0
Anatol Belski [Fri, 17 Aug 2018 16:38:07 +0000 (18:38 +0200)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Add test for bug #76738
Anatol Belski [Fri, 17 Aug 2018 16:10:39 +0000 (18:10 +0200)]
Add test for bug #76738
Original repro. It's unwieldy, but it's otherwise hard to trigger
the wrong buffer handling behavior.
Anatol Belski [Fri, 17 Aug 2018 14:23:27 +0000 (16:23 +0200)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Fix memory leak
Anatol Belski [Fri, 17 Aug 2018 14:22:35 +0000 (16:22 +0200)]
Fix memory leak
Anatol Belski [Fri, 17 Aug 2018 13:47:03 +0000 (15:47 +0200)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Update binary SDK version for AppVeyor
Anatol Belski [Fri, 17 Aug 2018 13:46:28 +0000 (15:46 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Update binary SDK version for AppVeyor
Anatol Belski [Fri, 17 Aug 2018 13:45:31 +0000 (15:45 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Update binary SDK version for AppVeyor
Anatol Belski [Fri, 17 Aug 2018 13:44:10 +0000 (15:44 +0200)]
Update binary SDK version for AppVeyor
Christoph M. Becker [Fri, 17 Aug 2018 11:06:58 +0000 (13:06 +0200)]
Merge branch 'PHP-7.3'
Christoph M. Becker [Fri, 17 Aug 2018 11:06:27 +0000 (13:06 +0200)]
[ci skip] Update NEWS
Bug #76285 was supposed to have been fixed for 7.3.0alpha3, but that
has been reverted for 7.3.0beta2 due to bug #76738. Now that we have a
working fix in master, we backport the respective commits.
Anatol Belski [Tue, 14 Aug 2018 12:33:19 +0000 (14:33 +0200)]
Anatol Belski [Tue, 14 Aug 2018 12:14:05 +0000 (14:14 +0200)]
Followup fix for
ef9ed19e , see also bug #76738
(cherry picked from commit
083285f22a74989689f97d1d53476e7eaec35acc )
Xinchen Hui [Wed, 4 Jul 2018 03:15:32 +0000 (11:15 +0800)]
Fixed build
(cherry picked from commit
36f05a80d7cf11fffb827c7f0b6c8e73d3846e8e )
Andrew Nester [Tue, 1 May 2018 12:04:46 +0000 (12:04 +0000)]
DOMDocument::formatOutput attribute sometimes ignored
(cherry picked from commit
ef9ed19ec7f141311feea1d42467f5773cfc09bc )
Xinchen Hui [Fri, 17 Aug 2018 08:20:37 +0000 (16:20 +0800)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Fixed same bug #76755 in setrawcookie
Xinchen Hui [Fri, 17 Aug 2018 08:19:26 +0000 (16:19 +0800)]
Fixed same bug #76755 in setrawcookie
Xinchen Hui [Fri, 17 Aug 2018 07:22:50 +0000 (15:22 +0800)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Cheaper checking
Xinchen Hui [Fri, 17 Aug 2018 07:21:48 +0000 (15:21 +0800)]
Cheaper checking
Xinchen Hui [Fri, 17 Aug 2018 06:56:43 +0000 (14:56 +0800)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Micro optimization & fixed invalid key handling
Xinchen Hui [Fri, 17 Aug 2018 06:56:24 +0000 (14:56 +0800)]
Micro optimization & fixed invalid key handling
Xinchen Hui [Fri, 17 Aug 2018 05:46:08 +0000 (13:46 +0800)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Fixed bug #76755 (setcookie does not accept "double" type for expire time)
Xinchen Hui [Fri, 17 Aug 2018 05:45:43 +0000 (13:45 +0800)]
Fixed bug #76755 (setcookie does not accept "double" type for expire time)
Xinchen Hui [Fri, 17 Aug 2018 05:36:34 +0000 (13:36 +0800)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Update NEWS
Update NEWS
Fixed bug #76754 (parent private constant in extends class memory leak)
Xinchen Hui [Fri, 17 Aug 2018 05:36:12 +0000 (13:36 +0800)]
Update NEWS
Xinchen Hui [Fri, 17 Aug 2018 05:36:03 +0000 (13:36 +0800)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Update NEWS
Fixed bug #76754 (parent private constant in extends class memory leak)
Xinchen Hui [Fri, 17 Aug 2018 05:35:46 +0000 (13:35 +0800)]
Update NEWS