]>
granicus.if.org Git - php/log
Gabriel Caruso [Sun, 28 Jan 2018 12:45:37 +0000 (10:45 -0200)]
Remove explicit intval() param count check
Rely on ZPP instead.
Nikita Popov [Sun, 28 Jan 2018 21:04:24 +0000 (22:04 +0100)]
Don't loop over indexes in Phar::extractTo()
Instead use a more idiomatic foreach loop. The behavior is not
strictly the same, but I see no reason why this specific case
should enforce continuously indexed integer keys.
Also handle references in the array while at it.
Gabriel Caruso [Sun, 28 Jan 2018 19:48:59 +0000 (17:48 -0200)]
Fix misspelling vlaues to values
Nikita Popov [Sun, 28 Jan 2018 20:53:38 +0000 (21:53 +0100)]
Merge branch 'PHP-7.2'
Bishop Bettini [Sat, 6 Jan 2018 07:21:30 +0000 (02:21 -0500)]
Fixed bug #54289
If a directory is passed to Phar::extractTo(), loop over all
entries and extract all files with the given prefix.
Anatol Belski [Sat, 27 Jan 2018 16:25:40 +0000 (17:25 +0100)]
Merge branch 'PHP-7.2'
* PHP-7.2:
[ci skip] Update NEWS.
Anatol Belski [Sat, 27 Jan 2018 16:24:29 +0000 (17:24 +0100)]
[ci skip] Update NEWS.
Anatol Belski [Sat, 27 Jan 2018 15:45:27 +0000 (16:45 +0100)]
Merge branch 'PHP-7.2'
* PHP-7.2:
fixed Big_endian issue on s390x for stream test cases
Sam Ding [Tue, 23 Jan 2018 21:46:55 +0000 (16:46 -0500)]
fixed Big_endian issue on s390x for stream test cases
Christoph M. Becker [Sat, 27 Jan 2018 12:14:20 +0000 (13:14 +0100)]
Merge branch 'PHP-7.2' and add NEWS entry
Christoph M. Becker [Sat, 27 Jan 2018 12:12:09 +0000 (13:12 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Revert "Fix #75878: RecursiveTreeIterator::setPostfix has wrong signature"
Christoph M. Becker [Sat, 27 Jan 2018 12:11:30 +0000 (13:11 +0100)]
Revert "Fix #75878: RecursiveTreeIterator::setPostfix has wrong signature"
This reverts commit
4bd7658e1b44b72ff76913036c1b41f74318b065 .
To avoid the BC break we apply the fix to master only.
Christoph M. Becker [Sat, 27 Jan 2018 11:46:10 +0000 (12:46 +0100)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Fix #75878: RecursiveTreeIterator::setPostfix has wrong signature
Christoph M. Becker [Sat, 27 Jan 2018 11:40:20 +0000 (12:40 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fix #75878: RecursiveTreeIterator::setPostfix has wrong signature
Christoph M. Becker [Sat, 27 Jan 2018 11:33:36 +0000 (12:33 +0100)]
Fix #75878: RecursiveTreeIterator::setPostfix has wrong signature
Nikita Popov [Fri, 26 Jan 2018 21:28:54 +0000 (22:28 +0100)]
Merge branch 'PHP-7.2'
Nikita Popov [Fri, 26 Jan 2018 21:28:48 +0000 (22:28 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
Philip Prindeville [Thu, 25 Jan 2018 01:47:19 +0000 (18:47 -0700)]
Be consistent in clearing out in php_iconv_string()
Nat Zimmermann [Wed, 24 Jan 2018 21:29:04 +0000 (21:29 +0000)]
Update `mb_preferred_mime_name` tests
Nat Zimmermann [Wed, 24 Jan 2018 21:01:20 +0000 (21:01 +0000)]
Add unknown encoding warning test for mb_encoding_aliases
Gabriel Caruso [Thu, 25 Jan 2018 06:02:42 +0000 (04:02 -0200)]
Simplify returns in generate-phpt
Nikita Popov [Fri, 26 Jan 2018 21:13:11 +0000 (22:13 +0100)]
Drop the ext/intl/doc directory
Drop outdated documentation stubs. Better intl documentation is
available in the manual...
Anatol Belski [Fri, 26 Jan 2018 20:32:09 +0000 (21:32 +0100)]
Add RtlSecureZeroMemory to explicit_bzero() compile case
just in case one would use the function directly. The use of
ZEND_SECURE_ZERO could be eliminated now, too. Or it can be
kept for BC.
Dmitry Stogov [Fri, 26 Jan 2018 12:25:03 +0000 (15:25 +0300)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Restore initial values on graceful server restart.
Dmitry Stogov [Fri, 26 Jan 2018 12:22:36 +0000 (15:22 +0300)]
Restore initial values on graceful server restart.
Anatol Belski [Thu, 25 Jan 2018 17:55:54 +0000 (18:55 +0100)]
Show the tidyp name, if it was used
Anatol Belski [Thu, 25 Jan 2018 17:54:37 +0000 (18:54 +0100)]
Add missing define after
e7da9685
David Carlier [Mon, 15 Jan 2018 22:07:10 +0000 (22:07 +0000)]
Tidy extension update to be able to either use tidy or tidyp at configure time
Anatol Belski [Thu, 25 Jan 2018 15:18:34 +0000 (16:18 +0100)]
Revoke the gcc only restriction
clang at least 5.0 supports GNU style attributes and intrinsic macros.
In general, compilers claiming this functionality should know, what
they do.
Nat Zimmermann [Mon, 15 Jan 2018 23:06:55 +0000 (23:06 +0000)]
Add tests for `json_decode` with depth below 0
Nikita Popov [Wed, 24 Jan 2018 20:22:50 +0000 (21:22 +0100)]
Merge branch 'PHP-7.2'
Michael Orlitzky [Fri, 19 Jan 2018 23:53:22 +0000 (18:53 -0500)]
ext/session: catch incompatible configure flags earlier.
The session extension has a --with-mm flag that tells it to build
the mm backend ("mm" is the name of the library). However, that
backend is not thread-safe, and mod_mm.c will refuse to compile if
the --enable-maintainer-zts flag was also passed to the configure
script.
Rather than crash halfway through the build, this commit adds a check
to the session extension's config.m4 file. If both --with-mm and
--enable-maintainer-zts are "on," then the configure script will
die and explain that they can't be used together.
PHP-bug: 14269
Anatol Belski [Wed, 24 Jan 2018 17:33:32 +0000 (18:33 +0100)]
Reimplement ASCII conversion using aligned routine
Anatol Belski [Wed, 24 Jan 2018 17:21:24 +0000 (18:21 +0100)]
Macrify the common operation
Derick Rethans [Wed, 24 Jan 2018 13:57:08 +0000 (13:57 +0000)]
Updated to version 2018.3 (2018c)
Derick Rethans [Wed, 24 Jan 2018 13:57:08 +0000 (13:57 +0000)]
Empty merge
Derick Rethans [Wed, 24 Jan 2018 13:57:07 +0000 (13:57 +0000)]
Updated to version 2018.3 (2018c)
Derick Rethans [Wed, 24 Jan 2018 13:57:07 +0000 (13:57 +0000)]
Empty merge
Derick Rethans [Wed, 24 Jan 2018 13:57:06 +0000 (13:57 +0000)]
Updated to version 2018.3 (2018c)
Anatol Belski [Wed, 24 Jan 2018 09:14:28 +0000 (10:14 +0100)]
Move useful macro into zend_portability.h
Anatol Belski [Wed, 24 Jan 2018 08:33:32 +0000 (09:33 +0100)]
Implement intrinsic function resolving per MINIT
Sara Golemon [Tue, 23 Jan 2018 16:12:49 +0000 (11:12 -0500)]
Remove padding just merged since 7.3 isn't released yet.
Also bump PHP_API_VERSION since the struct size has changed.
Sara Golemon [Tue, 23 Jan 2018 16:11:43 +0000 (11:11 -0500)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Fix alignment of PG struct cause by ignore_user_abort big endian fix
Sara Golemon [Tue, 23 Jan 2018 16:11:37 +0000 (11:11 -0500)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fix alignment of PG struct cause by ignore_user_abort big endian fix
Sara Golemon [Tue, 23 Jan 2018 16:06:34 +0000 (11:06 -0500)]
Fix alignment of PG struct cause by ignore_user_abort big endian fix
Sara Golemon [Tue, 23 Jan 2018 14:24:54 +0000 (09:24 -0500)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Use Z_EXPECTED_LONG to initialize FAST_ZPP parsing loop
Sara Golemon [Tue, 23 Jan 2018 14:24:47 +0000 (09:24 -0500)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Use Z_EXPECTED_LONG to initialize FAST_ZPP parsing loop
Sara Golemon [Tue, 23 Jan 2018 14:24:40 +0000 (09:24 -0500)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Use Z_EXPECTED_LONG to initialize FAST_ZPP parsing loop
Sara Golemon [Tue, 23 Jan 2018 14:10:36 +0000 (09:10 -0500)]
Use Z_EXPECTED_LONG to initialize FAST_ZPP parsing loop
Sara Golemon [Tue, 23 Jan 2018 13:59:30 +0000 (08:59 -0500)]
Merge branch 'PHP-7.2'
* PHP-7.2:
BigEndian fix for ignore_user_abort. Use zend_bool to match OnUpdateBool
Sara Golemon [Tue, 23 Jan 2018 13:58:53 +0000 (08:58 -0500)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
BigEndian fix for ignore_user_abort. Use zend_bool to match OnUpdateBool
Sara Golemon [Tue, 23 Jan 2018 13:46:38 +0000 (08:46 -0500)]
BigEndian fix for ignore_user_abort. Use zend_bool to match OnUpdateBool
Dmitry Stogov [Tue, 23 Jan 2018 09:56:22 +0000 (12:56 +0300)]
Access extra data stored in zval through macros
Christoph M. Becker [Mon, 22 Jan 2018 22:39:58 +0000 (23:39 +0100)]
Update to SQLite 3.22.0
Anatol Belski [Mon, 22 Jan 2018 18:15:53 +0000 (19:15 +0100)]
Merge branch 'PHP-7.2'
* PHP-7.2:
[ci skip] Update NEWS
[ci skip] Update NEWS
Anatol Belski [Mon, 22 Jan 2018 18:15:30 +0000 (19:15 +0100)]
[ci skip] Update NEWS
Anatol Belski [Mon, 22 Jan 2018 18:15:02 +0000 (19:15 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
[ci skip] Update NEWS
Anatol Belski [Mon, 22 Jan 2018 18:14:24 +0000 (19:14 +0100)]
[ci skip] Update NEWS
Anatol Belski [Mon, 22 Jan 2018 16:05:03 +0000 (17:05 +0100)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Fixed bug #73725 Unable to retrieve value of varchar(max) type
Anatol Belski [Mon, 22 Jan 2018 16:03:48 +0000 (17:03 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fixed bug #73725 Unable to retrieve value of varchar(max) type
Anatol Belski [Mon, 22 Jan 2018 16:02:54 +0000 (17:02 +0100)]
Fixed bug #73725 Unable to retrieve value of varchar(max) type
Dmitry Stogov [Mon, 22 Jan 2018 13:14:56 +0000 (16:14 +0300)]
Removed commented unoptimized code
Dmitry Stogov [Mon, 22 Jan 2018 13:10:33 +0000 (16:10 +0300)]
Use OBJ_FLAGS() macro to access object flags (even if they are currently stored together with GC_FLAGS)
Dmitry Stogov [Mon, 22 Jan 2018 12:57:00 +0000 (15:57 +0300)]
Use OBJ_FLAGS() macro to access object flags (even if they are currently stored together with GC_FLAGS)
Dmitry Stogov [Mon, 22 Jan 2018 12:32:34 +0000 (15:32 +0300)]
Merge HashTable.u.v.consistency into HashTable.u.v.flags
Dmitry Stogov [Mon, 22 Jan 2018 11:58:16 +0000 (14:58 +0300)]
Use HT_FLAGS() macro
Dmitry Stogov [Mon, 22 Jan 2018 11:14:35 +0000 (14:14 +0300)]
Introduce mcros to access HashTable iterators counter
Dmitry Stogov [Mon, 22 Jan 2018 10:37:48 +0000 (13:37 +0300)]
ws
Dmitry Stogov [Mon, 22 Jan 2018 10:36:15 +0000 (13:36 +0300)]
Access HashTable.u.flags through HT_FLAGS() macro.
David Carlier [Mon, 15 Jan 2018 22:10:58 +0000 (22:10 +0000)]
NetBSD has its own unoptimizable memset version since 2013
checking presence of the function if older versions of NetBSD
Anatol Belski [Fri, 19 Jan 2018 16:58:52 +0000 (17:58 +0100)]
Implement SSE2 based ASCII to UTF-16 conversion
This also eliminates the INT_MAX length restriction.
Dmitry Stogov [Fri, 19 Jan 2018 14:47:26 +0000 (17:47 +0300)]
Get rid of IS_TYPE_COPYABLE.
Dmitry Stogov [Fri, 19 Jan 2018 10:56:31 +0000 (13:56 +0300)]
Use reference-counting instead of duplication
Dmitry Stogov [Fri, 19 Jan 2018 10:41:35 +0000 (13:41 +0300)]
Only persistent referencecounted strings should be duplicated.
Dmitry Stogov [Fri, 19 Jan 2018 10:19:49 +0000 (13:19 +0300)]
Usee reference-counting instead of duplication
Dmitry Stogov [Fri, 19 Jan 2018 10:14:15 +0000 (13:14 +0300)]
Avoid useless duplication
Dmitry Stogov [Thu, 18 Jan 2018 22:29:37 +0000 (01:29 +0300)]
Move invariant code out of loop
Dmitry Stogov [Thu, 18 Jan 2018 22:03:24 +0000 (01:03 +0300)]
Use reference-counting instead of duplication and separation, if really necessary.
Dmitry Stogov [Thu, 18 Jan 2018 09:41:27 +0000 (12:41 +0300)]
Removed IS_TYPE_COPYABLE flag from IS_STRING zvals.
Dmitry Stogov [Thu, 18 Jan 2018 08:36:04 +0000 (11:36 +0300)]
Moved IS_CONSTANT_VISITED_MARK, used for protection from recursive self-referencing class constants, from zval.u1.v.type_flags into zval.u2.access_flags.
Xinchen Hui [Thu, 18 Jan 2018 02:54:16 +0000 (10:54 +0800)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Updated NEWS
Fixed #75838 (Memory leak in pg_escape_bytea())
Xinchen Hui [Thu, 18 Jan 2018 02:53:58 +0000 (10:53 +0800)]
Updated NEWS
Xinchen Hui [Thu, 18 Jan 2018 02:53:39 +0000 (10:53 +0800)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fixed #75838 (Memory leak in pg_escape_bytea())
Xinchen Hui [Thu, 18 Jan 2018 02:53:23 +0000 (10:53 +0800)]
Fixed #75838 (Memory leak in pg_escape_bytea())
Dmitry Stogov [Wed, 17 Jan 2018 23:30:07 +0000 (02:30 +0300)]
Expand SEPARATE_STRING()
Dmitry Stogov [Wed, 17 Jan 2018 23:28:18 +0000 (02:28 +0300)]
Removed useless SEPARATE_STRING() (zend_string_extend() performs separation anyway)
Dmitry Stogov [Wed, 17 Jan 2018 23:27:11 +0000 (02:27 +0300)]
Clenaup SEPARATE_ZVAL...() macros (the behavior is unchanged)
Anatol Belski [Wed, 17 Jan 2018 14:08:22 +0000 (15:08 +0100)]
Add missing closing fold
Dmitry Stogov [Wed, 17 Jan 2018 17:09:28 +0000 (20:09 +0300)]
Eliminate duplication, increment_string() performs it anyway.
Dmitry Stogov [Wed, 17 Jan 2018 15:50:18 +0000 (18:50 +0300)]
Send by reference without duplication
Dmitry Stogov [Wed, 17 Jan 2018 14:58:42 +0000 (17:58 +0300)]
ZVAL_COPY_OR_DUP() instead of ZVAL_DUP()
Dmitry Stogov [Wed, 17 Jan 2018 14:57:59 +0000 (17:57 +0300)]
More effecient array duplication
Dmitry Stogov [Wed, 17 Jan 2018 14:56:04 +0000 (17:56 +0300)]
More effecient array duplication
Dmitry Stogov [Wed, 17 Jan 2018 14:51:18 +0000 (17:51 +0300)]
More effecient conversion
Dmitry Stogov [Wed, 17 Jan 2018 14:48:36 +0000 (17:48 +0300)]
Use ZVAL_COPY() instead og ZVAL_DUP(), because fault is an object
Dmitry Stogov [Wed, 17 Jan 2018 14:46:57 +0000 (17:46 +0300)]
Use zval_copy_ctor_func() instead of _zval_copy_ctor_func().
Anatol Belski [Wed, 17 Jan 2018 13:48:06 +0000 (14:48 +0100)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Add switches for Spectre variant 1 mitigation
Anatol Belski [Wed, 17 Jan 2018 13:47:39 +0000 (14:47 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Add switches for Spectre variant 1 mitigation
Anatol Belski [Wed, 17 Jan 2018 13:31:51 +0000 (14:31 +0100)]
Add switches for Spectre variant 1 mitigation
Dmitry Stogov [Wed, 17 Jan 2018 13:17:43 +0000 (16:17 +0300)]
Scalar types don't have reference counter