]>
granicus.if.org Git - php/log
Sara Golemon [Mon, 24 Jul 2017 20:58:21 +0000 (16:58 -0400)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Fix typo in PHP 7.2 changelog
jrfnl [Mon, 24 Jul 2017 20:12:37 +0000 (22:12 +0200)]
Fix typo in PHP 7.2 changelog
Joe Watkins [Mon, 24 Jul 2017 16:25:16 +0000 (17:25 +0100)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Update copyright year to 2017
Joe Watkins [Mon, 24 Jul 2017 16:24:22 +0000 (17:24 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Update copyright year to 2017
Joe Watkins [Mon, 24 Jul 2017 16:24:10 +0000 (17:24 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Update copyright year to 2017
Peter Kokot [Sat, 22 Jul 2017 18:22:04 +0000 (20:22 +0200)]
Update copyright year to 2017
Anatol Belski [Mon, 24 Jul 2017 15:47:00 +0000 (17:47 +0200)]
Merge branch 'PHP-7.2'
* PHP-7.2:
[ci skip] update NEWS
Anatol Belski [Mon, 24 Jul 2017 15:46:31 +0000 (17:46 +0200)]
[ci skip] update NEWS
Anatol Belski [Mon, 24 Jul 2017 15:03:52 +0000 (17:03 +0200)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Add test for bug #74903
Anatol Belski [Mon, 24 Jul 2017 15:03:24 +0000 (17:03 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Add test for bug #74903
Anatol Belski [Mon, 24 Jul 2017 15:02:55 +0000 (17:02 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Add test for bug #74903
Anatol Belski [Mon, 24 Jul 2017 15:02:10 +0000 (17:02 +0200)]
Add test for bug #74903
Anatol Belski [Mon, 24 Jul 2017 14:38:41 +0000 (16:38 +0200)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Followup on
0ec147d3 for another place
Ensure binary mode for OpenSSL I/O
Anatol Belski [Mon, 24 Jul 2017 14:38:05 +0000 (16:38 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Followup on
0ec147d3 for another place
Ensure binary mode for OpenSSL I/O
Anatol Belski [Mon, 24 Jul 2017 14:24:04 +0000 (16:24 +0200)]
Followup on
0ec147d3 for another place
which requires also to move the macros into the header
(cherry picked from commit
b7eb2c060409a8f5809d6e73f53d88844cf9ed09 )
Anatol Belski [Mon, 24 Jul 2017 13:43:48 +0000 (15:43 +0200)]
Ensure binary mode for OpenSSL I/O
Essential for OpenSSL 1.1.0 on Windows, some issues was revealed earlier
and now by openssl_pkcs12_export_to_file_basic.phpt.
(cherry picked from commit
0ec147d301b33b2cb0f347c6e81eb7e75e75b521 )
Anatol Belski [Mon, 24 Jul 2017 14:26:03 +0000 (16:26 +0200)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Followup on
0ec147d3 for another place
Anatol Belski [Mon, 24 Jul 2017 14:24:04 +0000 (16:24 +0200)]
Followup on
0ec147d3 for another place
which requires also to move the macros into the header
Anatol Belski [Mon, 24 Jul 2017 13:46:18 +0000 (15:46 +0200)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Ensure binary mode for OpenSSL I/O
Anatol Belski [Mon, 24 Jul 2017 13:43:48 +0000 (15:43 +0200)]
Ensure binary mode for OpenSSL I/O
Essential for OpenSSL 1.1.0 on Windows, some issues was revealed earlier
and now by openssl_pkcs12_export_to_file_basic.phpt.
Anatol Belski [Mon, 24 Jul 2017 12:52:58 +0000 (14:52 +0200)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Combine conditions for the automatic interactive console activation
Anatol Belski [Mon, 24 Jul 2017 12:47:32 +0000 (14:47 +0200)]
Combine conditions for the automatic interactive console activation
as with bug #74979 it seems to have regressions which were not
present before.
Frank Denis [Mon, 24 Jul 2017 12:26:47 +0000 (14:26 +0200)]
Merge branch 'PHP-7.2'
* PHP-7.2:
sodium ext: don't reinvent sodium_increment() and sodium_add()
Frank Denis [Mon, 24 Jul 2017 12:26:05 +0000 (14:26 +0200)]
sodium ext: don't reinvent sodium_increment() and sodium_add()
Joe Watkins [Mon, 24 Jul 2017 09:47:12 +0000 (10:47 +0100)]
Merge branch 'PHP-7.2'
* PHP-7.2:
openssl: Add openssl_pkcs12_export_to_file tests
Joe Watkins [Mon, 24 Jul 2017 09:47:02 +0000 (10:47 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
openssl: Add openssl_pkcs12_export_to_file tests
Joe Watkins [Mon, 24 Jul 2017 09:46:52 +0000 (10:46 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
openssl: Add openssl_pkcs12_export_to_file tests
Jelle van der Waa [Sat, 22 Jul 2017 20:40:10 +0000 (22:40 +0200)]
openssl: Add openssl_pkcs12_export_to_file tests
Add basic tests for openssl_pkcs12_export_to_file.
Joe Watkins [Mon, 24 Jul 2017 09:44:30 +0000 (10:44 +0100)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Fix typo in UPGRADING for 7.2
Issei.M [Sun, 23 Jul 2017 14:08:49 +0000 (23:08 +0900)]
Fix typo in UPGRADING for 7.2
Joe Watkins [Mon, 24 Jul 2017 09:43:01 +0000 (10:43 +0100)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Update PHP 5 version to 7 in header comments
Joe Watkins [Mon, 24 Jul 2017 09:42:48 +0000 (10:42 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Update PHP 5 version to 7 in header comments
Joe Watkins [Mon, 24 Jul 2017 09:42:35 +0000 (10:42 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Update PHP 5 version to 7 in header comments
Peter Kokot [Sun, 23 Jul 2017 14:39:30 +0000 (16:39 +0200)]
Update PHP 5 version to 7 in header comments
Nikita Popov [Sun, 23 Jul 2017 21:10:53 +0000 (23:10 +0200)]
Add MBFL_SUBSTR_TO_END mode to mbfl_substr
This takes the substr from the offset to the end of the string.
This avoids pointless searching for the end position and also
saves us a length calculation in the strstr family of functions.
Sara Golemon [Sun, 23 Jul 2017 19:17:26 +0000 (15:17 -0400)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Add hash_hmac_algos() for filtered is_crypto methods
Sara Golemon [Sun, 23 Jul 2017 19:14:31 +0000 (15:14 -0400)]
Add hash_hmac_algos() for filtered is_crypto methods
Nikita Popov [Sun, 23 Jul 2017 17:09:36 +0000 (19:09 +0200)]
Remove more obsolete length checks
Nikita Popov [Sun, 23 Jul 2017 16:26:44 +0000 (18:26 +0200)]
Change layout of case mapping table
Previously the case mapping table was segregated by the type of
the character (upper, lower, title) and always stored the other
two variants (key, other1, other2). Now the table is segregated
by the target type (key, other). As only very few characters have
more than one target this only slightly increases the size of the
table.
The advantage of this layout is that we only need to perform a
single table lookup in the case table. Previously, depending on
the case that was hit, either one lookup in the property table,
or two lookups in the property table and one lookup in the case
table were required.
This changes the layout from libunicode in the OpenLDAP project
-- however, the last commit there was over 10 years ago, so I
don't see value in keeping this in sync.
Anatol Belski [Sun, 23 Jul 2017 15:38:28 +0000 (17:38 +0200)]
remove cast
Anatol Belski [Sun, 23 Jul 2017 15:33:18 +0000 (17:33 +0200)]
fix warnings and datatype
ident
Anatol Belski [Sun, 23 Jul 2017 14:36:42 +0000 (16:36 +0200)]
adjust datatype, used for position handling
Anatol Belski [Sun, 23 Jul 2017 12:13:16 +0000 (14:13 +0200)]
Adjust datatypes and reorder which saves 8 bytes on 64-bit
Nikita Popov [Sun, 23 Jul 2017 14:06:25 +0000 (16:06 +0200)]
Merge branch 'PHP-7.2'
Nikita Popov [Sun, 23 Jul 2017 14:05:39 +0000 (16:05 +0200)]
Update Unicode data for Unicode 10
Nikita Popov [Sun, 23 Jul 2017 14:03:11 +0000 (16:03 +0200)]
Update ucgendat for more bidi properties
Handle them the same way as others -- by classifying as Other
Neutral.
Nikita Popov [Sun, 23 Jul 2017 13:36:25 +0000 (15:36 +0200)]
Merge branch 'PHP-7.2'
Nikita Popov [Sun, 23 Jul 2017 13:30:17 +0000 (15:30 +0200)]
Fixed bug #69267 completely
ucgendat.c was assuming that a title-case character is a character
that has both lower and upper-case variants. However, there are
title-case characters that only have a lower-case variant. Use the
Lt general character proprety to determine where in the case map
the character should be placed instead.
Nikita Popov [Sun, 23 Jul 2017 13:00:26 +0000 (15:00 +0200)]
Another fix for bug #69267
mb_strtoupper() was converting lowercase characters into
titlecase characters, instead of uppercase characters. Luckily
there are only very few characters with a distinct titlecase
representation, so this mostly worked out okay...
Nikita Popov [Sun, 23 Jul 2017 12:47:21 +0000 (14:47 +0200)]
Partial fix for bug #69267
This pulls in
60a25c72ba389f53b0621ca250bc99f3b295d43f from the
OpenLDAP project.
Nikita Popov [Sun, 23 Jul 2017 10:22:09 +0000 (12:22 +0200)]
Merge branch 'PHP-7.2'
Nikita Popov [Sun, 23 Jul 2017 10:21:25 +0000 (12:21 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
Nikita Popov [Sun, 23 Jul 2017 10:19:56 +0000 (12:19 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
Christoph M. Becker [Sat, 30 Jul 2016 14:58:43 +0000 (16:58 +0200)]
Fix #71606: Segmentation fault mb_strcut with HTML-ENTITIES
The HTML decoding filter uses the `opaque` member of mbfl_convert_filter
as buffer, but there was no copy constructor defined, what caused double
frees when the filter is copied (what happens multiple times in mb_strcut(),
for instance).
Nikita Popov [Sun, 23 Jul 2017 09:55:46 +0000 (11:55 +0200)]
Merge branch 'PHP-7.2'
Nikita Popov [Sun, 23 Jul 2017 09:33:05 +0000 (11:33 +0200)]
Fix overflow checks in mbfl_memory_device
Also prune out some duplicate code and use strlen() and memcpy()
instead of ad-hoc reimplementations. Remove multiplications by
sizeof(unsigned char), which wrongly imply that this can be
anything but 1.
Nikita Popov [Sun, 23 Jul 2017 09:06:01 +0000 (11:06 +0200)]
Fix bug #73528
Nikita Popov [Sun, 23 Jul 2017 09:01:00 +0000 (11:01 +0200)]
Remove confusing null checks in mb_send_mail
These are required parameters, they cannot be missing.
Nikita Popov [Sun, 23 Jul 2017 09:55:00 +0000 (11:55 +0200)]
Fix use after free in mb_send_mail
Kalle Sommer Nielsen [Sun, 23 Jul 2017 09:28:27 +0000 (11:28 +0200)]
Fix ext_skel's help, the arguments passed are using a space, not an equal sign for values
Anatol Belski [Sun, 23 Jul 2017 09:08:49 +0000 (11:08 +0200)]
Merge branch 'PHP-7.2'
* PHP-7.2:
fix skipif
Anatol Belski [Sun, 23 Jul 2017 09:08:11 +0000 (11:08 +0200)]
fix skipif
Kalle Sommer Nielsen [Sun, 23 Jul 2017 08:41:35 +0000 (10:41 +0200)]
Change Côme's name to Come, sorry but Visual Studio just butchers everything =(
Kalle Sommer Nielsen [Sun, 23 Jul 2017 08:36:35 +0000 (10:36 +0200)]
Redesigned ext_skel to be written entirely in PHP with no dependencies, this means it will now run on Windows without Cygwin and other nonsense.
It no longer includes a way to generate XML documentation (the PHP documentation utilities already got tools for that in svn under phpdoc/doc-base) and it no longer support function stubs.
$ php ext_skel.php --help
php ext_skel.php --ext=<name> [--experimental] [--author=<name>]
[--dir=<path>] [--std] [--onlyunix]
[--onlywindows] [--help]
--ext=<name> The name of the extension defined as <name>
--experimental Passed if this extension is experimental, this creates
the EXPERIMENTAL file in the root of the extension
--author=<name> Your name, this is used if --header is passed and
for the CREDITS file
--dir=<path> Path to the directory for where extension should be
created. Defaults to the directory of where this script
lives
--std If passed, the standard header and vim rules footer used
in extensions that is included in the core, will be used
--onlyunix Only generate configure scripts for Unix
--onlywindows Only generate configure scripts for Windows
--help This help
Example usage:
$ php ext_skel.php --ext test --std --experimental
$ php ext_skel.php --ext kalle --author "Kalle Sommer Nielsen"
$ php ext_skel.php --ext phpfi --dir "/home/kalle/dev/" --onlyunix
Kalle Sommer Nielsen [Sun, 23 Jul 2017 08:02:38 +0000 (10:02 +0200)]
Fix line feeds
Kalle Sommer Nielsen [Sun, 23 Jul 2017 06:48:06 +0000 (08:48 +0200)]
FAST_ZPP variant of zend_parse_parameters_none(), ZEND_PARSE_PARAMETERS_NONE()
Sara Golemon [Sun, 23 Jul 2017 01:33:34 +0000 (21:33 -0400)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Use compatability zend_isnan() instead of POSIX isnan()
Sara Golemon [Sun, 23 Jul 2017 01:33:28 +0000 (21:33 -0400)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Use compatability zend_isnan() instead of POSIX isnan()
Sara Golemon [Sun, 23 Jul 2017 01:33:20 +0000 (21:33 -0400)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Use compatability zend_isnan() instead of POSIX isnan()
Sara Golemon [Sun, 23 Jul 2017 01:28:43 +0000 (21:28 -0400)]
Use compatability zend_isnan() instead of POSIX isnan()
s/isnan/zend_isnan/g
Sara Golemon [Sun, 23 Jul 2017 01:23:35 +0000 (21:23 -0400)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Fix compile-time optimization of NAN comparisons
Sara Golemon [Sun, 23 Jul 2017 01:23:29 +0000 (21:23 -0400)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fix compile-time optimization of NAN comparisons
Sara Golemon [Sun, 23 Jul 2017 01:23:17 +0000 (21:23 -0400)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Fix compile-time optimization of NAN comparisons
Sara Golemon [Sun, 23 Jul 2017 00:58:54 +0000 (20:58 -0400)]
Fix compile-time optimization of NAN comparisons
Anatol Belski [Sat, 22 Jul 2017 22:47:24 +0000 (00:47 +0200)]
touch yet more places for datatypes
Anatol Belski [Sat, 22 Jul 2017 22:22:13 +0000 (00:22 +0200)]
add missing header
Kalle Sommer Nielsen [Sat, 22 Jul 2017 21:55:55 +0000 (23:55 +0200)]
Merge branch 'master' of git.php.net:/php-src
Kalle Sommer Nielsen [Sat, 22 Jul 2017 21:54:15 +0000 (23:54 +0200)]
--with-mp is only available for VS anyway, so don't make the argument available if it doesn't have any effect
Anatol Belski [Sat, 22 Jul 2017 21:53:00 +0000 (23:53 +0200)]
sync libmbfl allocator with the size_t changes
Anatol Belski [Sat, 22 Jul 2017 20:33:18 +0000 (22:33 +0200)]
Mitigation for ssize_t issue in
22a5f554a8766d63fd2c2ce91a90ebacb13c0f6a
and some more
Frank Denis [Sat, 22 Jul 2017 20:09:21 +0000 (22:09 +0200)]
Merge branch 'PHP-7.2'
* PHP-7.2:
sodium ext: require libsodium >= 1.0.8
sodium ext: define crypto_aead_chacha20poly1305_ietf_KEYBYTES if needed
sodium ext: remove redundant and obsolete macros
Frank Denis [Sat, 22 Jul 2017 20:07:53 +0000 (22:07 +0200)]
sodium ext: require libsodium >= 1.0.8
(but really, 1.0.9 should be the bare minimum)
Frank Denis [Sat, 22 Jul 2017 17:57:44 +0000 (19:57 +0200)]
sodium ext: define crypto_aead_chacha20poly1305_ietf_KEYBYTES if needed
Some old libsodium versions didn't had a dedicated constant for the
IETF version of this construction.
Frank Denis [Sat, 22 Jul 2017 15:49:32 +0000 (17:49 +0200)]
sodium ext: remove redundant and obsolete macros
Frank Denis [Sat, 22 Jul 2017 15:49:32 +0000 (17:49 +0200)]
sodium ext: remove redundant and obsolete macros
Nikita Popov [Sat, 22 Jul 2017 15:24:49 +0000 (17:24 +0200)]
Merge branch 'PHP-7.2'
Nikita Popov [Sat, 22 Jul 2017 15:21:48 +0000 (17:21 +0200)]
Fix incorrect propagation of ZEND_BOOL in pass 1
BOOL (next to QM_ASSIGN) is one of the opcodes that can assign to
a temporary that is assigned in multiple branches. Pass 1 does
not check for this, so we should not try to handle it at that
point. Block pass and sccp will be able to treat this correctly.
Nikita Popov [Sat, 22 Jul 2017 12:54:47 +0000 (14:54 +0200)]
Merge branch 'PHP-7.2'
Nikita Popov [Sat, 22 Jul 2017 12:53:23 +0000 (14:53 +0200)]
Fix block removal if there are duplicate successors
Anatol Belski [Sat, 22 Jul 2017 12:15:53 +0000 (14:15 +0200)]
Merge branch 'PHP-7.2'
* PHP-7.2:
[ci skip] update NEWS
[ci skip] update NEWS
[ci skip] update NEWS
Anatol Belski [Sat, 22 Jul 2017 12:15:32 +0000 (14:15 +0200)]
[ci skip] update NEWS
Anatol Belski [Sat, 22 Jul 2017 12:14:22 +0000 (14:14 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
[ci skip] update NEWS
[ci skip] update NEWS
Anatol Belski [Sat, 22 Jul 2017 12:13:51 +0000 (14:13 +0200)]
[ci skip] update NEWS
Anatol Belski [Sat, 22 Jul 2017 12:13:25 +0000 (14:13 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
[ci skip] update NEWS
Anatol Belski [Sat, 22 Jul 2017 12:12:45 +0000 (14:12 +0200)]
[ci skip] update NEWS
Bob Weinand [Sat, 22 Jul 2017 09:17:05 +0000 (11:17 +0200)]
Merge branch 'PHP-7.2'
Bob Weinand [Sat, 22 Jul 2017 09:16:48 +0000 (11:16 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
Bob Weinand [Sat, 22 Jul 2017 09:14:54 +0000 (11:14 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
Bob Weinand [Sat, 22 Jul 2017 09:14:00 +0000 (11:14 +0200)]
Fixed bug #74954 (null deref and segfault in zend_generator_resume())
Anatol Belski [Sat, 22 Jul 2017 08:37:11 +0000 (10:37 +0200)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Fixed bug #74968 PHP crashes when calling mysqli_result::fetch_object with an abstract class