]>
granicus.if.org Git - php/log
Peter Kokot [Tue, 19 Feb 2019 22:42:12 +0000 (23:42 +0100)]
Remove unused PHP_SYS_LFS m4 macro
This was once named as AC_SYS_LFS and today it is not used in current
PHP code base anymore.
Peter Kokot [Tue, 19 Feb 2019 22:34:24 +0000 (23:34 +0100)]
Remove unused PHP_SOLARIS_PIC_WEIRDNESS m4 macro
This has been once used for Solaris systems and has been removed via
827ad656cb2585d2b9a9cc2d3bb021e8edf34365
Peter Kokot [Tue, 19 Feb 2019 22:25:55 +0000 (23:25 +0100)]
Remove unused PHP_TARGET_RDYNAMIC m4 macro
This has been once used with apache sapi. Since PHP 7.0 it is not used
in the PHP anymore.
Peter Kokot [Tue, 19 Feb 2019 22:19:12 +0000 (23:19 +0100)]
Remove unused AM_SET_LIBTOOL_VARIABLE m4 macro
It was once used with Automake and Zend's build files. Call has been
removed via
e1f101d79840e171f1dcfe17f8ae7a3d0be7e89d
Dmitry Stogov [Wed, 20 Feb 2019 15:18:44 +0000 (18:18 +0300)]
Supress memory leak reports
Nikita Popov [Wed, 20 Feb 2019 15:01:15 +0000 (16:01 +0100)]
Don't use uniqid for temporary POST data files
uniqid() is not necessarily unique when multiple testing processes
run in parallel.
Nikita Popov [Wed, 20 Feb 2019 11:57:50 +0000 (12:57 +0100)]
Add a --shuffle mode to run-tests
Makes it easier to find paralellization issues. Of course only works
if the tests aren't order-dependent...
Dmitry Stogov [Wed, 20 Feb 2019 14:10:10 +0000 (17:10 +0300)]
Remember __COMPILER_HALT_OFFSET__(s) in preloaded scripts
Nikita Popov [Wed, 20 Feb 2019 11:45:27 +0000 (12:45 +0100)]
Support passing single file to bless_tests.php
Or a mix of multiple directories/files. Also make the file executable.
Nikita Popov [Wed, 20 Feb 2019 11:38:40 +0000 (12:38 +0100)]
Use PHP_BINARY by default in run-tests.php
You pretty much always want to run with -P, make it the default.
Nikita Popov [Wed, 20 Feb 2019 11:19:01 +0000 (12:19 +0100)]
Enable parallel tests on Travis
I'll keep an eye on spurious failures resulting from this.
Nikita Popov [Wed, 20 Feb 2019 11:12:11 +0000 (12:12 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Wed, 20 Feb 2019 11:11:56 +0000 (12:11 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
Abyr Valg [Sat, 9 Feb 2019 09:15:55 +0000 (12:15 +0300)]
OpenSSL: Improve non-blocking eof test
Nikita Popov [Wed, 20 Feb 2019 11:06:02 +0000 (12:06 +0100)]
Make zip oo_addpattern test more robust
Use a separate directory for the tests, so that no other tests can
concurrently create files in the same directory.
Nikita Popov [Wed, 20 Feb 2019 10:53:31 +0000 (11:53 +0100)]
Use "modify" error message for FUNC_ARG fetch as well
Avoid differences based on whether a W or FUNC_ARG fetch is performed.
Nikita Popov [Mon, 18 Feb 2019 15:43:22 +0000 (16:43 +0100)]
Implement fine-grained conflict handling
Tests can specify conflict keys, either in --CONFLICTS-- or
a per-directory CONFLICTS file. Non-conflicting tests may be run
in parallel.
Nikita Popov [Tue, 19 Feb 2019 14:13:11 +0000 (15:13 +0100)]
Make proc_open_bug69900.phpt more robust against parallelization
With multiple workers running this might take more than 1ms. Bump
this up to the same threshold that was already used for CI.
Nikita Popov [Tue, 19 Feb 2019 15:15:01 +0000 (16:15 +0100)]
Make ext/spl/tests/bug42364.phpt more robust
If tests are run in parallel, files may be created and deleted in
the directory. Create a separate directory just for this test to
avoid this dependence.
Dmitry Stogov [Wed, 20 Feb 2019 08:47:19 +0000 (11:47 +0300)]
Disable preloading for sensetive opcache tests
Dmitry Stogov [Wed, 20 Feb 2019 08:35:56 +0000 (11:35 +0300)]
Prevent error reporting during preloading request start-up
Nikita Popov [Wed, 20 Feb 2019 08:31:08 +0000 (09:31 +0100)]
Use zend_parse_parameters_none() in XmlWriter::openMemory()
And fix incorrect uses in tests
Dmitry Stogov [Wed, 20 Feb 2019 07:26:56 +0000 (10:26 +0300)]
Added reference to parser generator
Peter Kokot [Mon, 18 Feb 2019 21:40:56 +0000 (22:40 +0100)]
Fix typo
Peter Kokot [Mon, 18 Feb 2019 21:39:00 +0000 (22:39 +0100)]
Simplify even more - use PHP_VERSION directly
Peter Kokot [Mon, 18 Feb 2019 21:11:12 +0000 (22:11 +0100)]
Bump FFI extension version to PHP_VERSION
This simplifies bumping the FFI extension version.
Christopher Jones [Wed, 20 Feb 2019 00:12:08 +0000 (11:12 +1100)]
Correct skipif use for OCI8 password tests
Christopher Jones [Wed, 20 Feb 2019 00:11:16 +0000 (11:11 +1100)]
Merge branch 'PHP-7.3' into PHP-7.4
Christopher Jones [Wed, 20 Feb 2019 00:11:06 +0000 (11:11 +1100)]
Merge branch 'PHP-7.2' into PHP-7.3
Christopher Jones [Wed, 20 Feb 2019 00:10:57 +0000 (11:10 +1100)]
Correct skipif use for OCI8 password tests
Dmitry Stogov [Tue, 19 Feb 2019 23:35:25 +0000 (02:35 +0300)]
Skip tests f oci8 extension is not loaded
Dmitry Stogov [Tue, 19 Feb 2019 23:33:21 +0000 (02:33 +0300)]
Reorder conditions
Dmitry Stogov [Tue, 19 Feb 2019 23:32:29 +0000 (02:32 +0300)]
Use ZEND_ACC_REUSE_GET_ITERATOR flag instead of run-time class modification
Dmitry Stogov [Tue, 19 Feb 2019 21:06:57 +0000 (00:06 +0300)]
Don't preload tests without --FILE-- section
Dmitry Stogov [Tue, 19 Feb 2019 20:50:17 +0000 (23:50 +0300)]
Order of classes may matter
Dmitry Stogov [Tue, 19 Feb 2019 20:17:38 +0000 (23:17 +0300)]
Don't restrict preloading with "open_basedir" directive.
Peter Kokot [Mon, 18 Feb 2019 17:08:54 +0000 (18:08 +0100)]
Rename non-existing site phpdbg.com to localhost
Joe Watkins [Tue, 19 Feb 2019 16:45:13 +0000 (17:45 +0100)]
begin handlers are currently invoked without access to the arguments being sent, this moves the opcode after SEND
Dmitry Stogov [Tue, 19 Feb 2019 16:22:42 +0000 (19:22 +0300)]
Better new-line handling
Dmitry Stogov [Tue, 19 Feb 2019 16:21:36 +0000 (19:21 +0300)]
Fixed memory leak
Nikita Popov [Tue, 19 Feb 2019 16:11:30 +0000 (17:11 +0100)]
Remove some zpp failure tests
These tests exclusively check zpp failure conditions, so drop them.
Dmitry Stogov [Tue, 19 Feb 2019 15:39:44 +0000 (18:39 +0300)]
Check for USER_FUNCTION
Dmitry Stogov [Tue, 19 Feb 2019 15:09:44 +0000 (18:09 +0300)]
Accurate handling of not preloaded classes
Nikita Popov [Tue, 19 Feb 2019 14:16:16 +0000 (15:16 +0100)]
Avoid port conflicts in stream socket tests
Also drop some useless --CLEAN-- sections.
Nikita Popov [Tue, 19 Feb 2019 14:02:26 +0000 (15:02 +0100)]
Remove spurious + before --CREDITS--
Nikita Popov [Tue, 19 Feb 2019 13:51:33 +0000 (14:51 +0100)]
Avoid file conflicts in mail tests
Nikita Popov [Tue, 19 Feb 2019 13:43:52 +0000 (14:43 +0100)]
Avoid file conflicts in XmlWriter tests
Nikita Popov [Tue, 19 Feb 2019 09:35:27 +0000 (10:35 +0100)]
Avoid port conflicts in ext/sockets tests
Nikita Popov [Mon, 18 Feb 2019 14:36:39 +0000 (15:36 +0100)]
Make parallel run-tests compatible with IO capture tests
Inherit the main stdin/stdout/stderr streams into the worker processes.
We don't talk to workers via these pipes, so there shouldn't be a
problem doing this.
Dmitry Stogov [Tue, 19 Feb 2019 14:16:48 +0000 (17:16 +0300)]
Better line handling
Dmitry Stogov [Tue, 19 Feb 2019 14:09:07 +0000 (17:09 +0300)]
Filter preloading warning messages
Dmitry Stogov [Tue, 19 Feb 2019 13:54:51 +0000 (16:54 +0300)]
Don't try to eliminate requre/include with stream wrappers
Dmitry Stogov [Tue, 19 Feb 2019 13:46:56 +0000 (16:46 +0300)]
Stop PHP in case of fatal error during preloading
Dmitry Stogov [Tue, 19 Feb 2019 12:51:12 +0000 (15:51 +0300)]
ws
Christoph M. Becker [Tue, 19 Feb 2019 12:10:04 +0000 (13:10 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Prepare main branch for PHP 7.3.4
Christoph M. Becker [Tue, 19 Feb 2019 12:06:40 +0000 (13:06 +0100)]
Prepare main branch for PHP 7.3.4
Remi Collet [Tue, 19 Feb 2019 11:47:09 +0000 (12:47 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
bump version to 7.2.17-dev
Remi Collet [Tue, 19 Feb 2019 11:47:00 +0000 (12:47 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
bump version to 7.2.17-dev
Remi Collet [Tue, 19 Feb 2019 11:46:52 +0000 (12:46 +0100)]
bump version to 7.2.17-dev
Nikita Popov [Tue, 19 Feb 2019 09:09:06 +0000 (10:09 +0100)]
Merge remote-tracking branch 'php-src/PHP-7.4' into PHP-7.4
Tyson Andre [Mon, 18 Feb 2019 14:35:45 +0000 (09:35 -0500)]
Fixed bug #77631
Do not include unbound anonymous classes in get_declared_classes().
Note that earlier PHP versions would include the anonymous class in
get_declared_classes(), and return false until the class was bound,
but would not crash.
Joe Watkins [Tue, 19 Feb 2019 08:08:38 +0000 (09:08 +0100)]
ZEND_COMPILE_EXTENDED_INFO split Currently a tool may not decide between debugging and profiling behaviour: We split ZEND_COMPILE_EXTENDED_INFO into ZEND_COMPILE_EXTENDED_FCALL and ZEND_COMPILE_EXTENDED_STMT We define ZEND_COMPILE_EXTENDED_INFO as ZEND_COMPILE_EXTENDED_STMT|ZEND_COMPILE_EXTENDED_FCALL
Tyson Andre [Mon, 18 Feb 2019 16:47:09 +0000 (11:47 -0500)]
Fix ffi test on Windows
Fixes a bug in test added in
5661feb1ef929111ef7765672fcb49813eee86fc , by checking that the
relevant SO exists.
Also adds an additional test that is based on zend_printf, and
should work on both Linux and Windows.
Remi Collet [Tue, 19 Feb 2019 08:54:32 +0000 (09:54 +0100)]
fix build with external libpcre2
Remi Collet [Tue, 19 Feb 2019 08:10:06 +0000 (09:10 +0100)]
use pkg-config for libedit
Remi Collet [Tue, 19 Feb 2019 07:51:56 +0000 (08:51 +0100)]
add readline_list_history with libedit >= 3.1 and mingweditline
BlackEagle [Tue, 19 Feb 2019 02:26:00 +0000 (03:26 +0100)]
gd imageloadfont, verify error while reading header
when reading the header verify we get an error when the header is
invalid.
Signed-off-by: BlackEagle <ike.devolder@gmail.com>
Andy McNeice [Tue, 10 Oct 2017 13:51:33 +0000 (13:51 +0000)]
added basic test for UConverter::setSourceEncoding()
Andy McNeice [Tue, 10 Oct 2017 00:15:43 +0000 (00:15 +0000)]
added basic test for UConverter::getDestinationEncoding()
Andy McNeice [Mon, 9 Oct 2017 21:31:46 +0000 (21:31 +0000)]
added basic test for UConverter::getSourceEncoding()
Pedro Magalhães [Mon, 18 Feb 2019 19:58:56 +0000 (19:58 +0000)]
UPGRADING entry for pcntl_unshare [skip ci]
Andrea Faulds [Mon, 18 Feb 2019 19:32:16 +0000 (20:32 +0100)]
run-tests.php: fix typo
Pedro Magalhães [Mon, 21 Jan 2019 23:56:43 +0000 (23:56 +0000)]
Implement pcntl_unshare
Peter Kokot [Mon, 18 Feb 2019 17:16:07 +0000 (18:16 +0100)]
Sync header and footer with the rest of the files
- Local variables for editors have been removed
- Copyright year ranges can be also simplified
Tyson Andre [Mon, 18 Feb 2019 16:35:35 +0000 (11:35 -0500)]
Fix typos in code comments in Zend/ [skip ci]
Tyson Andre [Mon, 18 Feb 2019 03:38:18 +0000 (22:38 -0500)]
Fix arginfo for tidy's global functions
See https://secure.php.net/tidy_getopt , etc.
I can't find any other obvious incorrect reflection.
Tyson Andre [Mon, 18 Feb 2019 16:14:22 +0000 (11:14 -0500)]
Fix typos in code comments [skip ci]
Tyson Andre [Mon, 18 Feb 2019 16:14:42 +0000 (11:14 -0500)]
Fix a typo in the error messages for FFI [skip ci]
Dmitry Stogov [Mon, 18 Feb 2019 15:11:55 +0000 (18:11 +0300)]
Fixed bug #77632 (FFI Segfaults When Called With Variadics)
Dmitry Stogov [Mon, 18 Feb 2019 14:52:33 +0000 (17:52 +0300)]
Use "quick" macro variants for known argument numbers
Andrea Faulds [Sun, 17 Feb 2019 18:47:22 +0000 (19:47 +0100)]
run-tests.php: experimental parallel testing support
Nikita Popov [Mon, 18 Feb 2019 13:04:30 +0000 (14:04 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Mon, 18 Feb 2019 13:04:15 +0000 (14:04 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Mon, 18 Feb 2019 13:01:45 +0000 (14:01 +0100)]
Make MADV_HUGEPAGE conditional on USE_ZEND_ALLOC_HUGE_PAGES
There have been multiple reports of large slowdowns due to the
use of MADV_HUGEPAGE, so make it conditional on
USE_ZEND_ALLOC_HUGE_PAGES, just like MAP_HUGETLB already is.
Dmitry Stogov [Mon, 18 Feb 2019 12:46:24 +0000 (13:46 +0100)]
Fixed bug #77633
Add a new class flag to inherit get_iterator() when implementing
the Iterator/IteratorAggregate interfaces and use it for
ArrayIterator.
Nikita Popov [Thu, 14 Feb 2019 16:25:13 +0000 (17:25 +0100)]
Use mremap in zend_mm_chunk_extend if available
As suggested by https://twitter.com/grsecurity. This saves an
mmap+munmap cycle in case the mapping cannot be extended in-place.
Dmitry Stogov [Mon, 18 Feb 2019 10:46:13 +0000 (13:46 +0300)]
Fixed use-after-free during preloading, when q class with unresolved constant uses a preloaded trait.
Nikita Popov [Mon, 18 Feb 2019 10:15:32 +0000 (11:15 +0100)]
Release constant names during preloading
Nikita Popov [Mon, 18 Feb 2019 08:46:17 +0000 (09:46 +0100)]
Don't suppress errors during in preload testing
Nikita Popov [Mon, 18 Feb 2019 09:44:50 +0000 (10:44 +0100)]
Don't catch opcache_compile_file failures during preloading
Compiler failures are not side-effect free, they may leave behind
parts of the file that were successfully compiled before the
failure occurred. The preloading code is not prepared to deal with
this.
Nikita Popov [Mon, 18 Feb 2019 08:56:39 +0000 (09:56 +0100)]
Handle exception patterns in bless_tests.php
Tom Van Herreweghe [Sun, 17 Feb 2019 19:22:23 +0000 (20:22 +0100)]
Test the warning for giving full path to dl()
MarkBaker [Tue, 10 Oct 2017 19:17:18 +0000 (20:17 +0100)]
Tests for XMLWriter write cdata and raw
MarkBaker [Sat, 7 Oct 2017 12:06:18 +0000 (13:06 +0100)]
SplDoublyLinkedList Iterating a DLL by reference shouldn't be permitted
MarkBaker [Thu, 5 Oct 2017 23:46:59 +0000 (00:46 +0100)]
Range of new tests for xmlreader functionality and exceptions/errors
Peter Kokot [Sat, 16 Feb 2019 20:48:45 +0000 (21:48 +0100)]
Remove unused --copy option from the makedist
The --copy option was once used with Automake. It has been
removed via
128119b9abf3446b3867ed6d6bf1503a54bf45ea .
Peter Kokot [Sat, 6 Oct 2018 19:39:29 +0000 (21:39 +0200)]
Move some scripts from root directory to scripts/dev/
At the time of this commit, there is a dedicated folder for development
related tools and such scripts might fit better there to not bloat the
project root directory too much.
Move snapshot to scripts/dev/snapshot
Andrea Faulds [Sat, 16 Feb 2019 00:54:16 +0000 (01:54 +0100)]
run-tests.php: fix all tab-space indentation inconsistency
Andrea Faulds [Sat, 16 Feb 2019 00:05:04 +0000 (01:05 +0100)]
run-tests.php: move all top-level code into a function
Prerequisite for parallelised testing:
https://github.com/php/php-src/pull/2822
Quoth Nikita @
https://github.com/php/php-src/pull/3789#issuecomment-
462724550 :
> @hikari-no-yume Please feel free to directly commit the first commit
> (to PHP-7.4). That's probably a big and unnecessary source of
> conflicts, and makes reviewing harder as well.
Christoph M. Becker [Fri, 15 Feb 2019 17:57:17 +0000 (18:57 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Fix #77626: Persistence confusion in php_com_import_typelib()