]>
granicus.if.org Git - php/log
legale [Sat, 9 Feb 2019 19:27:48 +0000 (20:27 +0100)]
Implement mb_str_split()
RFC: https://wiki.php.net/rfc/mb_str_split
Dmitry Stogov [Tue, 12 Feb 2019 14:40:29 +0000 (17:40 +0300)]
Use TSRM macros
Dmitry Stogov [Tue, 12 Feb 2019 14:39:02 +0000 (17:39 +0300)]
More accurate handling of global registers (allow VM with single global register)
kasper Franz [Tue, 15 Jan 2019 09:19:45 +0000 (09:19 +0000)]
Correct section number in UPGRADING
This make the top list follow the bottom numbering
[ci skip]
Johannes Schlüter [Tue, 12 Feb 2019 14:01:06 +0000 (15:01 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4
Johannes Schlüter [Tue, 12 Feb 2019 14:00:51 +0000 (15:00 +0100)]
Merge remote-tracking branch 'origin/PHP-7.4' into PHP-7.4
Johannes Schlüter [Tue, 12 Feb 2019 14:00:15 +0000 (15:00 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
Johannes Schlüter [Tue, 12 Feb 2019 13:59:59 +0000 (14:59 +0100)]
Merge remote-tracking branch 'origin/PHP-7.3' into PHP-7.3
Johannes Schlüter [Tue, 12 Feb 2019 13:59:27 +0000 (14:59 +0100)]
Merge remote-tracking branch 'origin/PHP-7.2' into PHP-7.2
Nikita Popov [Tue, 12 Feb 2019 12:57:44 +0000 (13:57 +0100)]
Fix FFI test on Windows
Nikita Popov [Tue, 12 Feb 2019 10:43:53 +0000 (11:43 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Tue, 12 Feb 2019 10:43:23 +0000 (11:43 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
DanielCiochiu [Tue, 12 Feb 2019 10:40:46 +0000 (11:40 +0100)]
Fixed bug #75546
By respecting the SILENT flag when checking the visibility of a
class constant.
Dmitry Stogov [Tue, 12 Feb 2019 10:24:14 +0000 (13:24 +0300)]
typo
Nikita Popov [Tue, 12 Feb 2019 09:50:29 +0000 (10:50 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Tue, 12 Feb 2019 09:50:09 +0000 (10:50 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Tue, 12 Feb 2019 09:49:20 +0000 (10:49 +0100)]
Fixed bug #77608
Remove special handling of doubles and escape them as usual instead.
David Carlier [Thu, 7 Feb 2019 14:23:27 +0000 (14:23 +0000)]
Adding bunch of FreeBSD socket options flags specifics.
SO_USER_COOKIE primarly to be traced via dtrace instrumentation.
If SO_USER_COOKIE is available, the rest is so the former is
two years old while the rest is from around 2008.
Nikita Popov [Tue, 12 Feb 2019 09:10:30 +0000 (10:10 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Tue, 12 Feb 2019 09:10:22 +0000 (10:10 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
hsldymq [Wed, 27 Jun 2018 18:25:11 +0000 (02:25 +0800)]
Make pid & uid available while handling realtime signals
Nikita Popov [Tue, 12 Feb 2019 08:57:38 +0000 (09:57 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Tue, 12 Feb 2019 08:57:18 +0000 (09:57 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Tue, 12 Feb 2019 08:54:52 +0000 (09:54 +0100)]
Remove "defensive copy" of DatePeriod properties
get_properties() constructs these as fresh objects with no relation
to the internals, there is no need to clone them again. Additionally
the current implementation leaks memory, because the original objects
are never freed (see PR #3121).
Jachim Coudenys [Mon, 27 Nov 2017 20:14:10 +0000 (21:14 +0100)]
Test mb_str* functions for 'unknown encoding' warnings
Nikita Popov [Tue, 12 Feb 2019 08:29:19 +0000 (09:29 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Tue, 12 Feb 2019 08:28:47 +0000 (09:28 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
Ben Ramsey [Sun, 10 Feb 2019 18:25:19 +0000 (12:25 -0600)]
Fixed bug #77564: Memory leak in exif_process_IFD_TAG
The memory leak occurs when more than one UserComment tag is present in
the EXIF data. It's still considered corrupt EXIF data, but this ensures
the memory is freed before trying to set to already allocated memory.
Dmitry Stogov [Tue, 12 Feb 2019 08:21:09 +0000 (11:21 +0300)]
Fixed possible crash
Dmitry Stogov [Tue, 12 Feb 2019 08:03:55 +0000 (11:03 +0300)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Fixed bug #77599 (Unbuffered queries; native prepared statements memory leak)
Dmitry Stogov [Tue, 12 Feb 2019 07:55:05 +0000 (10:55 +0300)]
Fixed bug #77599 (Unbuffered queries; native prepared statements memory leak)
Dmitry Stogov [Tue, 12 Feb 2019 07:22:13 +0000 (10:22 +0300)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Avoid dependency on "struct flock" fields order.
Dmitry Stogov [Tue, 12 Feb 2019 07:21:59 +0000 (10:21 +0300)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Avoid dependency on "struct flock" fields order.
Dmitry Stogov [Tue, 12 Feb 2019 07:15:16 +0000 (10:15 +0300)]
Avoid dependency on "struct flock" fields order.
Anatol Belski [Tue, 12 Feb 2019 06:30:49 +0000 (22:30 -0800)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Replace broken binary SDK version
Anatol Belski [Tue, 12 Feb 2019 06:30:28 +0000 (22:30 -0800)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Replace broken binary SDK version
Anatol Belski [Tue, 12 Feb 2019 06:28:34 +0000 (22:28 -0800)]
Replace broken binary SDK version
Anatol Belski [Tue, 12 Feb 2019 06:14:17 +0000 (22:14 -0800)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Update SDK version for AppVeyor
Anatol Belski [Tue, 12 Feb 2019 06:13:42 +0000 (22:13 -0800)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Update SDK version for AppVeyor
Anatol Belski [Tue, 12 Feb 2019 06:12:16 +0000 (22:12 -0800)]
Update SDK version for AppVeyor
Christoph M. Becker [Mon, 11 Feb 2019 18:27:27 +0000 (19:27 +0100)]
Deprecate ext/wddx
Cf. <https://wiki.php.net/rfc/deprecate-and-remove-ext-wddx>.
Anatol Belski [Mon, 11 Feb 2019 18:20:28 +0000 (10:20 -0800)]
Fix 32-bit build
Darek Slusarczyk [Mon, 11 Feb 2019 17:47:58 +0000 (18:47 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4
Darek Slusarczyk [Mon, 11 Feb 2019 17:18:57 +0000 (18:18 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
Darek Slusarczyk [Mon, 11 Feb 2019 17:08:21 +0000 (18:08 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
Darek Slusarczyk [Mon, 11 Feb 2019 16:16:49 +0000 (17:16 +0100)]
security fix - by default 'local infile' is disabled:
- set default for mysqli.allow_local_infile=0
- explicitly disable PDO::MYSQL_ATTR_LOCAL_INFILE in case of lack of driver options
- add getAttribute support for PDO::MYSQL_ATTR_LOCAL_INFILE
- update existing tests where needed
- add new tests [checking default value and setting on] the 'local infile' in ext/mysqli and ext/pdo_mysql
Nikita Popov [Mon, 11 Feb 2019 14:50:53 +0000 (15:50 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Mon, 11 Feb 2019 14:50:33 +0000 (15:50 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
Ahmed Abdou [Tue, 29 Jan 2019 07:59:45 +0000 (08:59 +0100)]
Fix bug #51068 (glob:// do not support current path relative)
Fix DirectoryIterator glob://* current path relative queries
Nikita Popov [Mon, 11 Feb 2019 14:35:34 +0000 (15:35 +0100)]
Add bless_tests.php
Helper script to perform certain kinds of trivial test updates.
Nikita Popov [Mon, 11 Feb 2019 14:33:28 +0000 (15:33 +0100)]
Remove oniguruma lines from CONTRIBUTING
Nikita Popov [Mon, 11 Feb 2019 13:59:27 +0000 (14:59 +0100)]
Add UPGRADING notes for oniguruma unbundling
Anatol Belski [Sat, 9 Feb 2019 09:04:56 +0000 (10:04 +0100)]
Unbundle oniguruma in config.w32
Nikita Popov [Tue, 5 Feb 2019 12:56:13 +0000 (13:56 +0100)]
Add MB_ONIGURUMA_VERSION and use it in a version dependent test
Nikita Popov [Tue, 5 Feb 2019 09:43:25 +0000 (10:43 +0100)]
Unbundle oniguruma
And also switch detection over to pkg-config.
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.
Nikita Popov [Mon, 11 Feb 2019 10:33:18 +0000 (11:33 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Mon, 11 Feb 2019 10:32:42 +0000 (11:32 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
johnstevenson [Fri, 1 Feb 2019 19:45:20 +0000 (19:45 +0000)]
Fix #77552: Uninitialized buffer in stat functions
Nikita Popov [Fri, 1 Feb 2019 11:09:29 +0000 (12:09 +0100)]
Disable PEAR by default
Installation of PEAR can be enabled using --with-pear, but will
through a deprecation warning during ./configure.
Nikita Popov [Mon, 11 Feb 2019 08:36:35 +0000 (09:36 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4
Guilliam Xavier [Thu, 31 Jan 2019 11:25:51 +0000 (12:25 +0100)]
Fix tests bareword fallback with error suppression
(cherry picked from commit
aad39879f2d2e89de105c4f87d334ee129b4321c )
(cherry picked from commit
76f8a908bb18aee92b8f3d523b74b06c9d12cb6b )
Xinchen Hui [Mon, 11 Feb 2019 07:42:55 +0000 (15:42 +0800)]
regenerate with re2c 1.0.3
Xinchen Hui [Mon, 11 Feb 2019 07:28:44 +0000 (15:28 +0800)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Fixed bug #77589 (Core dump using parse_ini_string with numeric sections)
Conflicts:
Zend/zend_ini_scanner.c
Xinchen Hui [Mon, 11 Feb 2019 07:27:29 +0000 (15:27 +0800)]
Fixed bug #77589 (Core dump using parse_ini_string with numeric sections)
Section name should not be typed(NULL, FALSE, TRUE etc)
Christopher Jones [Mon, 11 Feb 2019 06:05:36 +0000 (17:05 +1100)]
Merge PDO_OCI tracing attribute PR
Christopher Jones [Mon, 11 Feb 2019 06:03:51 +0000 (17:03 +1100)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Merge PDO_OCI PR
PDO_OCI tracing attribute PR merge
pdo_oci: Add client identifier and module attrs
pdo_oci: Register new attr constants and add tests
pdo_oci: Add PDO_OCI_ATTR_ACTION and CLIENT_INFO
Christopher Jones [Mon, 11 Feb 2019 05:38:23 +0000 (16:38 +1100)]
Merge PDO_OCI PR
Christopher Jones [Mon, 11 Feb 2019 05:36:39 +0000 (16:36 +1100)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
PDO_OCI tracing attribute PR merge
pdo_oci: Add client identifier and module attrs
pdo_oci: Register new attr constants and add tests
pdo_oci: Add PDO_OCI_ATTR_ACTION and CLIENT_INFO
Christopher Jones [Mon, 11 Feb 2019 05:19:13 +0000 (16:19 +1100)]
PDO_OCI tracing attribute PR merge
Cameron Porter [Fri, 25 Jan 2019 17:44:10 +0000 (11:44 -0600)]
pdo_oci: Add client identifier and module attrs
Add tests for the new attributes, and check the setAttribute return
value.
Cameron Porter [Thu, 24 Jan 2019 18:40:26 +0000 (12:40 -0600)]
pdo_oci: Register new attr constants and add tests
Cameron Porter [Thu, 24 Jan 2019 02:14:00 +0000 (20:14 -0600)]
pdo_oci: Add PDO_OCI_ATTR_ACTION and CLIENT_INFO
Add the ability to set the action and client info on the database
session for PDO OCI using PDO attributes.
Mark Niebergall [Sun, 10 Feb 2019 21:43:12 +0000 (22:43 +0100)]
Added test for non existent file for iptcembed
Peter Kokot [Sun, 10 Feb 2019 21:31:32 +0000 (22:31 +0100)]
Fix failing tests for readline() without input
If PHP readline extension is using libedit or readline the output is
different with the readline library also the prompt is output.
Ward Cappelle [Sun, 10 Feb 2019 13:15:49 +0000 (14:15 +0100)]
Expand FTP delete basic test with "unknown file" coverage
A port of the original https://github.com/phpcommunity/phptestfest-php-src/pull/148 pull
request, created earlier during #PHPTestFest (User Group: PHP-WVL & PHPGent).
Expands the existing FTP delete command test with coverage for deletion of
non-existing files (which returns a 550 status code).
Jonathan Stevens [Mon, 20 Nov 2017 20:59:24 +0000 (21:59 +0100)]
Tests for readline() without input
Enrico Zimuel [Tue, 26 Dec 2017 09:21:02 +0000 (10:21 +0100)]
Added test for openssl_pkcs12_export_to_file_error
Tom Van Herreweghe [Mon, 27 Nov 2017 21:02:19 +0000 (22:02 +0100)]
Tests the 'Dynamically loaded extensions are not enabled' warning for dl()
Signed-off-by: Tom Van Herreweghe <tom.van.herreweghe@dx-solutions.be>
Rodrigo Prado [Sat, 25 Nov 2017 00:46:57 +0000 (22:46 -0200)]
Test function quotemeta() - using an empty string is given as str.
Rodrigo Prado de Jesus <royopa [at] gmail [dot] com>
User Group: PHPSP #PHPTestFestBrasil
Test function quotemeta() - using an empty string is given as str.
This test coverage line 2722 from file /ext/standard/string.c and is not a ZPP test.
http://gcov.php.net/PHP_HEAD/lcov_html/ext/standard/string.c.gcov.php#L2722
Er Galvão Abbott [Tue, 31 Oct 2017 03:50:49 +0000 (01:50 -0200)]
Add test case for pcntl_setpriority basic behaviour
Mark Niebergall [Sun, 10 Feb 2019 18:50:58 +0000 (19:50 +0100)]
Added test for xml_parser_set_option
- For skipping white space and triggering invalid encoding value error
Pete Albrecht [Tue, 3 Oct 2017 21:39:22 +0000 (15:39 -0600)]
fnmatch error when pattern or filename too long
i3logix PHP Testfest 2017
Peter Kokot [Sun, 10 Feb 2019 18:18:07 +0000 (19:18 +0100)]
[ci skip] Update changelog
Guilliam Xavier [Sun, 10 Feb 2019 11:29:42 +0000 (12:29 +0100)]
Delete duplicate test file
`Zend/tests/cast_to_array_fixed.phpt` was created as exact duplicate of
`Zend/tests/cast_to_array.phpt`
Peter Kokot [Sat, 9 Feb 2019 23:43:28 +0000 (00:43 +0100)]
Fix failing tests
The run-tests script executes the cleaning section separately and interfers
with the running test itself less. This fixes two failing tests on Windows
platforms.
Peter Kokot [Sat, 9 Feb 2019 11:18:13 +0000 (12:18 +0100)]
Fix failing readline() basic test
Test for readline() basic doesn't seem to capture the STDIN in the
output for some systems such as macOS and Windows.
MarkBaker [Fri, 6 Oct 2017 22:45:19 +0000 (23:45 +0100)]
Tests for __set_state magic method
Tests for __set_state magic method for DateTime, DateTimeImmutable,
DateTimeZone and DatePeriod.
Mark Niebergall [Sat, 9 Feb 2019 16:05:22 +0000 (17:05 +0100)]
Add test for date_time_immutable invalid arguments
Florian Engelhardt [Sat, 16 Sep 2017 20:42:13 +0000 (22:42 +0200)]
Added basic test for ZipArchive::unchangeName()
Florian Engelhardt [Sat, 16 Sep 2017 20:31:08 +0000 (22:31 +0200)]
Added basic test for ZipArchive::unchangeIndex()
Anatol Belski [Sat, 9 Feb 2019 02:42:48 +0000 (18:42 -0800)]
Fix TS build, ref #77377
Anatol Belski [Sat, 9 Feb 2019 02:10:31 +0000 (18:10 -0800)]
Implement FR #77377 handle CTRL+C in Windows
David Stockton [Wed, 4 Oct 2017 06:21:22 +0000 (00:21 -0600)]
Add test for null return on version_compare with bad operator
MarkBaker [Thu, 5 Oct 2017 23:52:45 +0000 (00:52 +0100)]
Test to verify that closures can't be instantiated
Er Galvão Abbott [Sat, 28 Oct 2017 23:23:42 +0000 (21:23 -0200)]
Add test for pcntl_getpriority() basic behaviour
Joel Clermont [Wed, 13 Sep 2017 00:39:47 +0000 (19:39 -0500)]
readline - add basic test
Rodrigo Prado [Wed, 8 Nov 2017 00:06:52 +0000 (22:06 -0200)]
updated typo in test
User Group: PHPSP #phptestfestbrasil
Peter Kokot [Sun, 3 Feb 2019 21:47:49 +0000 (22:47 +0100)]
Update and fix remaining year ranges (2019)
This patch follows previous license year ranges updates. With new
approach source code files now have simplified headers with license
information without year ranges.