]>
granicus.if.org Git - php/log
Anatol Belski [Fri, 28 Sep 2018 14:46:47 +0000 (16:46 +0200)]
Enforce C++11 in ext/intl
ICU 59 already requires C++11 by default. The minimum version required
by the core is 50, which is compiled with at least C++11 in many distros
as package defs tell. Headers for ICU versions between ICU 50 and 58 look
fine when included for C++11 compilation, the linking is thereof not affected.
The macro PHP_CXX_COMPILE_STDCXX is based on
https://www.gnu.org/software/autoconf-archive/ax_cxx_compile_stdcxx.html
The patch consists on allowing to read the corresponding switch in a user
defined variable instead of enforcing CXXFLAGS globally. That way, every
ext or SAPI can decide, which C++ standard is to be used. The
documentation is provided in the m4 file.
C++11 is already somewhat older standard, C++14 were better. However
issues with GCC < 5.0 and some other compilers are possibly to hit back.
Still there's some time to check for C++14 for ext/intl, too. Having said
that, C++11 in ext/intl and a mechanism to determine features is a good step
towards better C++ support.
Bob Weinand [Sun, 7 Oct 2018 09:20:38 +0000 (11:20 +0200)]
Initialize ce->parent_name to NULL
bugreportuser [Sat, 6 Oct 2018 15:05:40 +0000 (09:05 -0600)]
mysqli_fork: Fix undefined variable
Pedro Magalhães [Sat, 6 Oct 2018 14:59:05 +0000 (15:59 +0100)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Remove unstable dns tests
Pedro Magalhães [Sat, 6 Oct 2018 14:58:51 +0000 (15:58 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Remove unstable dns tests
Pedro Magalhães [Sat, 6 Oct 2018 14:58:32 +0000 (15:58 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Remove unstable dns tests
Pedro Magalhães [Fri, 5 Oct 2018 15:24:55 +0000 (16:24 +0100)]
Remove unstable dns tests
Pedro Magalhães [Sat, 6 Oct 2018 14:46:30 +0000 (15:46 +0100)]
Merge branch 'PHP-8.3'
* PHP-7.3:
Fix #76888 - Remove unstable test
Pedro Magalhães [Sat, 6 Oct 2018 14:46:11 +0000 (15:46 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Fix #76888 - Remove unstable test
Pedro Magalhães [Fri, 5 Oct 2018 00:09:39 +0000 (01:09 +0100)]
Fix #76888 - Remove unstable test
Pedro Magalhães [Sat, 6 Oct 2018 13:58:11 +0000 (14:58 +0100)]
Use the locally defined constants for dns record types
Christoph M. Becker [Sat, 6 Oct 2018 10:44:50 +0000 (12:44 +0200)]
[ci skip] Update NEWS and UPGRADING wrt. unbundling libsqlite
Christoph M. Becker [Sat, 6 Oct 2018 10:36:55 +0000 (12:36 +0200)]
Unbundle libsqlite3
Since there is no need to patch libsqlite3 for our purposes, and since
libsqlite3 ≥ 3.3.9 (which is our current requirement) is widely
available on distros, there is no reason anymore to bundle the library.
Besides removing the bundled libsqlite, and adapting the configuration
respectively, we also fix the use of the SQLITE_ENABLE_COLUMN_METADATA
compile time constant to detect whether sqlite3_column_table_name() is
available by a working feature detection (otherwise bug_42589.phpt
would fail). We also skip bug73068.phpt for libsqlite 3.11.0 to
3.14.1 which have a bug (<https://sqlite.org/src/info/
ef360601 >).
We also completely drop support for the obscure pdo_sqlite_external
extension (which could have been enabled on Windows only by passing
`--pdo-sqlite-external` to configure), since it is not needed anymore.
Furthermore, we remove references to the bundled libsqlite from
Makefile.gcov, CONTRIBUTING.md and README.REDIST.BINS.
Christoph M. Becker [Sat, 6 Oct 2018 10:01:22 +0000 (12:01 +0200)]
Fix PHPT ENV sections
run-tests.php assumes the contents of an ENV section are a simple list
of key-value-pairs, instead of evaluating the section contents as PHP
script which server-tests.php did. Since server-tests.php is gone, we
remove the superfluous and confusing scripting.
Nikita Popov [Sat, 6 Oct 2018 09:22:24 +0000 (11:22 +0200)]
Merge branch 'PHP-7.3'
Michael Moravec [Fri, 5 Oct 2018 22:07:41 +0000 (00:07 +0200)]
Fix bug #76979: define() error message does not mention resources as valid values
Christoph M. Becker [Sat, 6 Oct 2018 09:06:59 +0000 (11:06 +0200)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Fix #76975: preg_match difference between 7.3 and < 7.3 - II
Christoph M. Becker [Sat, 6 Oct 2018 09:05:41 +0000 (11:05 +0200)]
Fix #76975: preg_match difference between 7.3 and < 7.3 - II
[ci skip]
Anatol Belski [Fri, 5 Oct 2018 21:01:20 +0000 (23:01 +0200)]
Merge branch 'PHP-7.3'
* PHP-7.3:
[ci skip] Update NEWS
[ci skip] Update NEWS
[ci skip] Update NEWS
Add test for bug #76942
Anatol Belski [Fri, 5 Oct 2018 21:01:03 +0000 (23:01 +0200)]
[ci skip] Update NEWS
Anatol Belski [Fri, 5 Oct 2018 21:00:24 +0000 (23:00 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
[ci skip] Update NEWS
[ci skip] Update NEWS
Add test for bug #76942
Anatol Belski [Fri, 5 Oct 2018 20:59:55 +0000 (22:59 +0200)]
[ci skip] Update NEWS
Anatol Belski [Fri, 5 Oct 2018 20:57:45 +0000 (22:57 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
[ci skip] Update NEWS
Add test for bug #76942
Anatol Belski [Fri, 5 Oct 2018 20:57:27 +0000 (22:57 +0200)]
[ci skip] Update NEWS
Anatol Belski [Fri, 5 Oct 2018 20:51:58 +0000 (22:51 +0200)]
Add test for bug #76942
Anatol Belski [Fri, 5 Oct 2018 20:54:03 +0000 (22:54 +0200)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Add test for bug #76942
Fixed Bug #76942 U_ARGUMENT_TYPE_MISMATCH
Anatol Belski [Fri, 5 Oct 2018 20:53:11 +0000 (22:53 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Add test for bug #76942
Fixed Bug #76942 U_ARGUMENT_TYPE_MISMATCH
Anatol Belski [Fri, 5 Oct 2018 20:52:53 +0000 (22:52 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Add test for bug #76942
Fixed Bug #76942 U_ARGUMENT_TYPE_MISMATCH
Anatol Belski [Fri, 5 Oct 2018 20:51:58 +0000 (22:51 +0200)]
Add test for bug #76942
Anatol Belski [Fri, 5 Oct 2018 20:50:34 +0000 (22:50 +0200)]
Fixed Bug #76942 U_ARGUMENT_TYPE_MISMATCH
ref bug #74484
Nikita Popov [Fri, 5 Oct 2018 19:34:04 +0000 (21:34 +0200)]
Merge branch 'PHP-7.3'
twosee [Mon, 1 Oct 2018 11:22:25 +0000 (19:22 +0800)]
Optimize MySQL statement execute without parameters
Nikita Popov [Fri, 5 Oct 2018 16:42:45 +0000 (18:42 +0200)]
Merge branch 'PHP-7.3'
Nikita Popov [Fri, 5 Oct 2018 16:41:42 +0000 (18:41 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Fri, 5 Oct 2018 16:41:16 +0000 (18:41 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
Manuel Mausz [Thu, 4 Oct 2018 16:40:26 +0000 (18:40 +0200)]
Fix #76972: FTP data truncation due to forceful ssl socket shutdown
Do a correct bidirectional shutdown instead
Pedro Magalhães [Fri, 5 Oct 2018 15:38:06 +0000 (16:38 +0100)]
Use the locally defined constants for dns record types
Pedro Magalhães [Thu, 4 Oct 2018 22:28:53 +0000 (23:28 +0100)]
Use HT_MIN_SIZE when duplicating an empty array
Nikita Popov [Thu, 4 Oct 2018 19:42:46 +0000 (21:42 +0200)]
Remove unused backpatch_count field
Anatol Belski [Thu, 4 Oct 2018 17:17:22 +0000 (19:17 +0200)]
Ensure target is \0 terminated
Nikita Popov [Thu, 4 Oct 2018 08:56:43 +0000 (10:56 +0200)]
Clarify that the get_properties handler is required
Some places were checking for non-null get_properties, some weren't.
Make it clear that the handler is required and such checks are not
necessary.
Nikita Popov [Thu, 4 Oct 2018 08:58:20 +0000 (10:58 +0200)]
Fix incorrect printf modifier after size_t changes
Remi Collet [Thu, 4 Oct 2018 09:46:37 +0000 (11:46 +0200)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Allow to disable pcre.jit when system library is used as it is for now broken on some arch (s390x...)
Remi Collet [Thu, 4 Oct 2018 09:45:35 +0000 (11:45 +0200)]
Allow to disable pcre.jit when system library is used
as it is for now broken on some arch (s390x...)
Pierrick Charron [Thu, 4 Oct 2018 01:19:05 +0000 (21:19 -0400)]
Merge branch 'PHP-7.3'
Pierrick Charron [Thu, 4 Oct 2018 01:18:47 +0000 (21:18 -0400)]
Update NEWS [ci skip]
Pierrick Charron [Wed, 3 Oct 2018 23:44:46 +0000 (19:44 -0400)]
Merge branch 'PHP-7.3'
Pierrick Charron [Wed, 3 Oct 2018 23:43:59 +0000 (19:43 -0400)]
Add constants from curl 7.50 to 7.55
Christoph M. Becker [Wed, 3 Oct 2018 22:47:52 +0000 (00:47 +0200)]
Fix PRIMARY MAINTAINER and MAINTENANCE fields
We have to distinguish between `PRIMARY_MAINTAINER` and `MAINTENANCE`.
Furthermore, all extensions should have both fields.
Christoph M. Becker [Wed, 3 Oct 2018 22:30:40 +0000 (00:30 +0200)]
Merge branch 'PHP-7.3'
* PHP-7.3:
libzip has been unbundled in master only
Christoph M. Becker [Wed, 3 Oct 2018 22:30:10 +0000 (00:30 +0200)]
libzip has been unbundled in master only
Cf. <https://github.com/php/php-src/pull/3532>.
Anatol Belski [Wed, 3 Oct 2018 21:10:30 +0000 (23:10 +0200)]
Reuse delivered length
Fix length calculation
Anatol Belski [Wed, 3 Oct 2018 19:17:52 +0000 (21:17 +0200)]
Add compatibility bit
readlink in PHP doesn't error on regular files.
Dmitry Stogov [Wed, 3 Oct 2018 17:15:30 +0000 (20:15 +0300)]
Removed wrong reference counting
Anatol Belski [Wed, 3 Oct 2018 17:11:31 +0000 (19:11 +0200)]
Update UPGRADING [ci skip]
Anatol Belski [Wed, 3 Oct 2018 16:56:08 +0000 (18:56 +0200)]
Refactor php_sys_readlink
Also move the implementation into win32 where it belongs
Anatol Belski [Wed, 3 Oct 2018 16:54:47 +0000 (18:54 +0200)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Update NEWS [ci skip]
Anatol Belski [Wed, 3 Oct 2018 16:54:08 +0000 (18:54 +0200)]
Update NEWS [ci skip]
Anatol Belski [Wed, 3 Oct 2018 16:52:21 +0000 (18:52 +0200)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Update NEWS [ci skip]
Update NEWS [ci skip]
Update NEWS [ci skip]
Anatol Belski [Wed, 3 Oct 2018 16:51:48 +0000 (18:51 +0200)]
Update NEWS [ci skip]
Anatol Belski [Wed, 3 Oct 2018 16:50:24 +0000 (18:50 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Update NEWS [ci skip]
Update NEWS [ci skip]
Anatol Belski [Wed, 3 Oct 2018 16:49:52 +0000 (18:49 +0200)]
Update NEWS [ci skip]
Anatol Belski [Wed, 3 Oct 2018 16:49:13 +0000 (18:49 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Update NEWS [ci skip]
Anatol Belski [Wed, 3 Oct 2018 16:48:40 +0000 (18:48 +0200)]
Update NEWS [ci skip]
Dmitry Stogov [Wed, 3 Oct 2018 15:32:25 +0000 (18:32 +0300)]
More careful handling of function prototypes
Dmitry Stogov [Wed, 3 Oct 2018 14:43:08 +0000 (17:43 +0300)]
Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
Avoid code duplication and don't miss env restore
Anatol Belski [Wed, 3 Oct 2018 12:36:09 +0000 (14:36 +0200)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Avoid code duplication and don't miss env restore
Anatol Belski [Wed, 3 Oct 2018 12:35:38 +0000 (14:35 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Avoid code duplication and don't miss env restore
Anatol Belski [Wed, 3 Oct 2018 12:34:08 +0000 (14:34 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Avoid code duplication and don't miss env restore
Anatol Belski [Wed, 3 Oct 2018 12:32:52 +0000 (14:32 +0200)]
Avoid code duplication and don't miss env restore
Dmitry Stogov [Wed, 3 Oct 2018 12:01:53 +0000 (15:01 +0300)]
Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
Hopefully last round of size_t fixes, this makes the remaining php_hash_ops use size_t over an int
Kalle Sommer Nielsen [Wed, 3 Oct 2018 11:36:30 +0000 (13:36 +0200)]
Merge branch 'master' of git.php.net:/php-src
Kalle Sommer Nielsen [Wed, 3 Oct 2018 11:36:05 +0000 (13:36 +0200)]
Hopefully last round of size_t fixes, this makes the remaining php_hash_ops use size_t over an int
Dmitry Stogov [Wed, 3 Oct 2018 11:35:36 +0000 (14:35 +0300)]
typo
Remi Collet [Wed, 3 Oct 2018 10:59:46 +0000 (12:59 +0200)]
Merge branch 'PHP-7.3'
* PHP-7.3:
bump zip extension version
Remi Collet [Wed, 3 Oct 2018 10:59:31 +0000 (12:59 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
bump zip extension version
Remi Collet [Wed, 3 Oct 2018 10:59:01 +0000 (12:59 +0200)]
bump zip extension version
Anatol Belski [Wed, 3 Oct 2018 10:15:54 +0000 (12:15 +0200)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Fixed bug #76948 Failed shutdown/reboot or end session in Windows
Anatol Belski [Wed, 3 Oct 2018 10:15:15 +0000 (12:15 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Fixed bug #76948 Failed shutdown/reboot or end session in Windows
Anatol Belski [Wed, 3 Oct 2018 10:13:22 +0000 (12:13 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fixed bug #76948 Failed shutdown/reboot or end session in Windows
Anatol Belski [Wed, 3 Oct 2018 10:11:43 +0000 (12:11 +0200)]
Fixed bug #76948 Failed shutdown/reboot or end session in Windows
Kalle Sommer Nielsen [Wed, 3 Oct 2018 09:36:30 +0000 (11:36 +0200)]
Merge branch 'master' of git.php.net:/php-src
Kalle Sommer Nielsen [Wed, 3 Oct 2018 09:36:11 +0000 (11:36 +0200)]
Remove $ext_shared usage for ext/hash in the Unix build script (Thanks Christoph for the notice)
Dmitry Stogov [Wed, 3 Oct 2018 09:33:36 +0000 (12:33 +0300)]
Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
Second round of fixing compiler warnings in ext/hash. Lots of the signatures that previously was unsigned int is now size_t, there was a fair bit of inconsistency there already and this commit should make it all sync nicely
Write to correct smart_str
Revert "Fix compiler warnings in ext/hash"
Kalle Sommer Nielsen [Wed, 3 Oct 2018 09:33:15 +0000 (11:33 +0200)]
Merge branch 'master' of git.php.net:/php-src
Kalle Sommer Nielsen [Wed, 3 Oct 2018 09:32:57 +0000 (11:32 +0200)]
Second round of fixing compiler warnings in ext/hash. Lots of the signatures that previously was unsigned int is now size_t, there was a fair bit of inconsistency there already and this commit should make it all sync nicely
Dmitry Stogov [Wed, 3 Oct 2018 09:32:33 +0000 (12:32 +0300)]
Avoid method compatibility check with itself
Dmitry Stogov [Wed, 3 Oct 2018 09:31:47 +0000 (12:31 +0300)]
Added assertions
Nikita Popov [Wed, 3 Oct 2018 09:03:55 +0000 (11:03 +0200)]
Write to correct smart_str
Mixed this up during the migration to ZEND_HASH_FOREACH.
Nikita Popov [Wed, 3 Oct 2018 08:50:38 +0000 (10:50 +0200)]
Merge branch 'PHP-7.3'
Nikita Popov [Wed, 3 Oct 2018 08:50:27 +0000 (10:50 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Wed, 3 Oct 2018 08:50:16 +0000 (10:50 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
Nikita Popov [Wed, 3 Oct 2018 08:48:42 +0000 (10:48 +0200)]
Reflection: Copy invoke function also in the variadic case
It doesn't matter how the parameters are provided, we always have
to copy the trampoline invoke function.
Nikita Popov [Tue, 2 Oct 2018 21:28:38 +0000 (23:28 +0200)]
Remove uses of apply_with_arguments API in reflection
Instead of ZEND_HASH_FOREACH. As a side-effect, this fixes a latent
bug in _addmethod, where a zval was interpreted as a zval*.
Also apply some optimizations to getProperties() while at it: For
declared properties, use the HT key instead of unmangling the
property name. For dynamic properties check INDIRECT instead of
looking up prop info to determine if the property is dynamic.
Kalle Sommer Nielsen [Wed, 3 Oct 2018 08:37:20 +0000 (10:37 +0200)]
Revert "Fix compiler warnings in ext/hash"
This reverts commit
596fbf7393777cb14006813111875db5b0a21d3b .
Kalle Sommer Nielsen [Wed, 3 Oct 2018 06:48:27 +0000 (08:48 +0200)]
Fix compiler warnings in ext/hash
Kalle Sommer Nielsen [Wed, 3 Oct 2018 06:48:11 +0000 (08:48 +0200)]
Update hash tests for consistency in their titles and remove the skipif sections (except for the mhash related tests)
Kalle Sommer Nielsen [Wed, 3 Oct 2018 06:47:07 +0000 (08:47 +0200)]
Implemented RFC "Always available hash extension"
Anatol Belski [Tue, 2 Oct 2018 22:22:34 +0000 (00:22 +0200)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Fixed bug #76947 file_put_contents() blocks the directory of the file (__DIR__)
Anatol Belski [Tue, 2 Oct 2018 22:15:43 +0000 (00:15 +0200)]
Fixed bug #76947 file_put_contents() blocks the directory of the file (__DIR__)
The condition was wrong. The target buffer size only matters, when some
output is going to be copied into it.