]> granicus.if.org Git - php/log
php
7 years agoMerge branch 'PHP-7.2'
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

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
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

7 years agoBigEndian 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

7 years agoAccess extra data stored in zval through macros
Dmitry Stogov [Tue, 23 Jan 2018 09:56:22 +0000 (12:56 +0300)]
Access extra data stored in zval through macros

7 years agoUpdate to SQLite 3.22.0
Christoph M. Becker [Mon, 22 Jan 2018 22:39:58 +0000 (23:39 +0100)]
Update to SQLite 3.22.0

7 years agoMerge branch 'PHP-7.2'
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

7 years ago[ci skip] Update NEWS
Anatol Belski [Mon, 22 Jan 2018 18:15:30 +0000 (19:15 +0100)]
[ci skip] Update NEWS

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
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

7 years ago[ci skip] Update NEWS
Anatol Belski [Mon, 22 Jan 2018 18:14:24 +0000 (19:14 +0100)]
[ci skip] Update NEWS

7 years agoMerge branch 'PHP-7.2'
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

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
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

7 years agoFixed 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

7 years agoRemoved commented unoptimized code
Dmitry Stogov [Mon, 22 Jan 2018 13:14:56 +0000 (16:14 +0300)]
Removed commented unoptimized code

7 years agoUse OBJ_FLAGS() macro to access object flags (even if they are currently stored toget...
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)

7 years agoUse OBJ_FLAGS() macro to access object flags (even if they are currently stored toget...
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)

7 years agoMerge HashTable.u.v.consistency into HashTable.u.v.flags
Dmitry Stogov [Mon, 22 Jan 2018 12:32:34 +0000 (15:32 +0300)]
Merge HashTable.u.v.consistency into HashTable.u.v.flags

7 years agoUse HT_FLAGS() macro
Dmitry Stogov [Mon, 22 Jan 2018 11:58:16 +0000 (14:58 +0300)]
Use HT_FLAGS() macro

7 years agoIntroduce mcros to access HashTable iterators counter
Dmitry Stogov [Mon, 22 Jan 2018 11:14:35 +0000 (14:14 +0300)]
Introduce mcros to access HashTable iterators counter

7 years agows
Dmitry Stogov [Mon, 22 Jan 2018 10:37:48 +0000 (13:37 +0300)]
ws

7 years agoAccess HashTable.u.flags through HT_FLAGS() macro.
Dmitry Stogov [Mon, 22 Jan 2018 10:36:15 +0000 (13:36 +0300)]
Access HashTable.u.flags through HT_FLAGS() macro.

7 years agoNetBSD has its own unoptimizable memset version since 2013
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

7 years agoImplement SSE2 based ASCII to UTF-16 conversion
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.

7 years agoGet rid of IS_TYPE_COPYABLE.
Dmitry Stogov [Fri, 19 Jan 2018 14:47:26 +0000 (17:47 +0300)]
Get rid of IS_TYPE_COPYABLE.

7 years agoUse reference-counting instead of duplication
Dmitry Stogov [Fri, 19 Jan 2018 10:56:31 +0000 (13:56 +0300)]
Use reference-counting instead of duplication

7 years agoOnly persistent referencecounted strings should be duplicated.
Dmitry Stogov [Fri, 19 Jan 2018 10:41:35 +0000 (13:41 +0300)]
Only persistent referencecounted  strings should be duplicated.

7 years agoUsee reference-counting instead of duplication
Dmitry Stogov [Fri, 19 Jan 2018 10:19:49 +0000 (13:19 +0300)]
Usee reference-counting instead of duplication

7 years agoAvoid useless duplication
Dmitry Stogov [Fri, 19 Jan 2018 10:14:15 +0000 (13:14 +0300)]
Avoid useless duplication

7 years agoMove invariant code out of loop
Dmitry Stogov [Thu, 18 Jan 2018 22:29:37 +0000 (01:29 +0300)]
Move invariant code out of loop

7 years agoUse reference-counting instead of duplication and separation, if really necessary.
Dmitry Stogov [Thu, 18 Jan 2018 22:03:24 +0000 (01:03 +0300)]
Use reference-counting instead of duplication and separation, if really necessary.

7 years agoRemoved IS_TYPE_COPYABLE flag from IS_STRING zvals.
Dmitry Stogov [Thu, 18 Jan 2018 09:41:27 +0000 (12:41 +0300)]
Removed IS_TYPE_COPYABLE flag from IS_STRING zvals.

7 years agoMoved IS_CONSTANT_VISITED_MARK, used for protection from recursive self-referencing...
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.

7 years agoMerge branch 'PHP-7.2'
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())

7 years agoUpdated NEWS
Xinchen Hui [Thu, 18 Jan 2018 02:53:58 +0000 (10:53 +0800)]
Updated NEWS

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
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())

7 years agoFixed #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())

7 years agoExpand SEPARATE_STRING()
Dmitry Stogov [Wed, 17 Jan 2018 23:30:07 +0000 (02:30 +0300)]
Expand SEPARATE_STRING()

7 years agoRemoved useless SEPARATE_STRING() (zend_string_extend() performs separation anyway)
Dmitry Stogov [Wed, 17 Jan 2018 23:28:18 +0000 (02:28 +0300)]
Removed useless SEPARATE_STRING() (zend_string_extend() performs separation anyway)

7 years agoClenaup SEPARATE_ZVAL...() macros (the behavior is unchanged)
Dmitry Stogov [Wed, 17 Jan 2018 23:27:11 +0000 (02:27 +0300)]
Clenaup SEPARATE_ZVAL...() macros (the behavior is unchanged)

7 years agoAdd missing closing fold
Anatol Belski [Wed, 17 Jan 2018 14:08:22 +0000 (15:08 +0100)]
Add missing closing fold

7 years agoEliminate duplication, increment_string() performs it anyway.
Dmitry Stogov [Wed, 17 Jan 2018 17:09:28 +0000 (20:09 +0300)]
Eliminate duplication, increment_string() performs it anyway.

7 years agoSend by reference without duplication
Dmitry Stogov [Wed, 17 Jan 2018 15:50:18 +0000 (18:50 +0300)]
Send by reference without duplication

7 years agoZVAL_COPY_OR_DUP() instead of ZVAL_DUP()
Dmitry Stogov [Wed, 17 Jan 2018 14:58:42 +0000 (17:58 +0300)]
ZVAL_COPY_OR_DUP() instead of ZVAL_DUP()

7 years agoMore effecient array duplication
Dmitry Stogov [Wed, 17 Jan 2018 14:57:59 +0000 (17:57 +0300)]
More effecient array duplication

7 years agoMore effecient array duplication
Dmitry Stogov [Wed, 17 Jan 2018 14:56:04 +0000 (17:56 +0300)]
More effecient array duplication

7 years agoMore effecient conversion
Dmitry Stogov [Wed, 17 Jan 2018 14:51:18 +0000 (17:51 +0300)]
More effecient conversion

7 years agoUse ZVAL_COPY() instead og ZVAL_DUP(), because fault is an object
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

7 years agoUse zval_copy_ctor_func() instead of _zval_copy_ctor_func().
Dmitry Stogov [Wed, 17 Jan 2018 14:46:57 +0000 (17:46 +0300)]
Use zval_copy_ctor_func() instead of _zval_copy_ctor_func().

7 years agoMerge branch 'PHP-7.2'
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

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
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

7 years agoAdd 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

7 years agoScalar types don't have reference counter
Dmitry Stogov [Wed, 17 Jan 2018 13:17:43 +0000 (16:17 +0300)]
Scalar types don't have reference counter

7 years agoEliminate duplication
Dmitry Stogov [Wed, 17 Jan 2018 12:52:52 +0000 (15:52 +0300)]
Eliminate duplication

7 years agoUse ZVAL_DUP() instead of zval_copy_ctor()
Dmitry Stogov [Wed, 17 Jan 2018 11:59:15 +0000 (14:59 +0300)]
Use ZVAL_DUP() instead of zval_copy_ctor()

7 years agoResource is not copyable (just refcounted)
Dmitry Stogov [Wed, 17 Jan 2018 11:57:42 +0000 (14:57 +0300)]
Resource is not copyable (just refcounted)

7 years agoFixed bug #74719
alexanderholman [Fri, 5 Jan 2018 00:42:06 +0000 (00:42 +0000)]
Fixed bug #74719

Allow stream context arguments for fopen, rename, unlink, mkdir
and rmdir to be null.

7 years agoSimplified conversion
Dmitry Stogov [Wed, 17 Jan 2018 11:19:13 +0000 (14:19 +0300)]
Simplified conversion

7 years agoEliminate separations
Dmitry Stogov [Wed, 17 Jan 2018 11:12:06 +0000 (14:12 +0300)]
Eliminate separations

7 years agoEliminate useless separations
Dmitry Stogov [Wed, 17 Jan 2018 11:11:40 +0000 (14:11 +0300)]
Eliminate useless separations

7 years agoMerge branch 'master' of git.php.net:/php-src
Xinchen Hui [Wed, 17 Jan 2018 10:04:07 +0000 (18:04 +0800)]
Merge branch 'master' of git.php.net:/php-src

* 'master' of git.php.net:/php-src:
  Eliminate useless separations
  Avoid separation and simlifyed conversion
  Eliminate useless separation
  Eliminate useless separation
  Eliminate useless separations
  A cheaper way to clone reference value.

7 years agoEliminate useless separations
Dmitry Stogov [Wed, 17 Jan 2018 09:45:23 +0000 (12:45 +0300)]
Eliminate useless separations

7 years agoAvoid separation and simlifyed conversion
Dmitry Stogov [Wed, 17 Jan 2018 09:37:42 +0000 (12:37 +0300)]
Avoid separation and simlifyed conversion

7 years agoDon't use ifunc if compiling with __SSE4_2__ deinfed
Xinchen Hui [Wed, 17 Jan 2018 09:31:10 +0000 (17:31 +0800)]
Don't use ifunc if compiling with __SSE4_2__ deinfed

7 years agoEliminate useless separation
Dmitry Stogov [Wed, 17 Jan 2018 09:25:49 +0000 (12:25 +0300)]
Eliminate useless separation

7 years agoEliminate useless separation
Dmitry Stogov [Wed, 17 Jan 2018 09:09:38 +0000 (12:09 +0300)]
Eliminate useless separation

7 years agoEliminate useless separations
Dmitry Stogov [Wed, 17 Jan 2018 08:59:01 +0000 (11:59 +0300)]
Eliminate useless separations

7 years agoA cheaper way to clone reference value.
Dmitry Stogov [Wed, 17 Jan 2018 07:59:50 +0000 (10:59 +0300)]
A cheaper way to clone reference value.

7 years agoFixed build extension by phpize
Xinchen Hui [Wed, 17 Jan 2018 07:09:04 +0000 (15:09 +0800)]
Fixed build extension by phpize

7 years agoUse SEPARATE_ARRAY
Dmitry Stogov [Wed, 17 Jan 2018 00:08:22 +0000 (03:08 +0300)]
Use SEPARATE_ARRAY

7 years agoUse SERPARATE_ARRAY
Dmitry Stogov [Wed, 17 Jan 2018 00:02:29 +0000 (03:02 +0300)]
Use SERPARATE_ARRAY

7 years agoUse SEPARATE_ARRAY
Dmitry Stogov [Wed, 17 Jan 2018 00:01:56 +0000 (03:01 +0300)]
Use SEPARATE_ARRAY

7 years agoReplaced separation with destructor
Dmitry Stogov [Wed, 17 Jan 2018 00:01:00 +0000 (03:01 +0300)]
Replaced separation with destructor

7 years agoRemoved useless separation
Dmitry Stogov [Wed, 17 Jan 2018 00:00:11 +0000 (03:00 +0300)]
Removed useless separation

7 years agoAvoid array duplication and in-place modification
Dmitry Stogov [Tue, 16 Jan 2018 23:25:36 +0000 (02:25 +0300)]
Avoid array duplication and in-place modification

7 years agoA cheaper way to reset type flags.
Dmitry Stogov [Tue, 16 Jan 2018 22:58:51 +0000 (01:58 +0300)]
A cheaper way to reset type flags.

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Tue, 16 Jan 2018 18:50:36 +0000 (19:50 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  7.0.15 next
  Fixed NEWS

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Tue, 16 Jan 2018 18:49:23 +0000 (19:49 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  7.0.15 next

7 years ago7.0.15 next
Anatol Belski [Tue, 16 Jan 2018 18:47:35 +0000 (19:47 +0100)]
7.0.15 next

7 years agoAdded zendi_smart_streq() for smart string equality check
Dmitry Stogov [Tue, 16 Jan 2018 14:24:00 +0000 (17:24 +0300)]
Added zendi_smart_streq() for smart string equality check

7 years agoInline function
Dmitry Stogov [Tue, 16 Jan 2018 11:13:49 +0000 (14:13 +0300)]
Inline function

7 years agoThe cpu setup is still needed when ifunc is supported
Anatol Belski [Tue, 16 Jan 2018 10:55:19 +0000 (11:55 +0100)]
The cpu setup is still needed when ifunc is supported

7 years agoMerge branch 'master' of git.php.net:php-src
Dmitry Stogov [Tue, 16 Jan 2018 10:51:50 +0000 (13:51 +0300)]
Merge branch 'master' of git.php.net:php-src

* 'master' of git.php.net:php-src:
  Separate the cpuinfo initialization part and call it at startup

7 years agoAvoid EG(vm_interrupt) check on forward JMP
Dmitry Stogov [Tue, 16 Jan 2018 10:50:36 +0000 (13:50 +0300)]
Avoid EG(vm_interrupt) check on forward JMP

7 years agoSeparate the cpuinfo initialization part and call it at startup
Anatol Belski [Tue, 16 Jan 2018 10:27:18 +0000 (11:27 +0100)]
Separate the cpuinfo initialization part and call it at startup

7 years agoFix __cpuidex usage
Anatol Belski [Tue, 16 Jan 2018 09:56:46 +0000 (10:56 +0100)]
Fix __cpuidex usage

7 years agoFixed NEWS
Xinchen Hui [Tue, 16 Jan 2018 09:31:44 +0000 (17:31 +0800)]
Fixed NEWS

7 years agoMerge branch 'PHP-7.2'
Remi Collet [Tue, 16 Jan 2018 08:55:23 +0000 (09:55 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  next is 7.2.3

7 years agonext is 7.2.3
Remi Collet [Tue, 16 Jan 2018 08:54:57 +0000 (09:54 +0100)]
next is 7.2.3

7 years agoReplace checks with asserts
Dmitry Stogov [Tue, 16 Jan 2018 08:39:51 +0000 (11:39 +0300)]
Replace checks with asserts

7 years agoRemoved reference to the obsolete zend_vm_use_old_executor()
Dmitry Stogov [Tue, 16 Jan 2018 07:44:15 +0000 (10:44 +0300)]
Removed reference to the obsolete zend_vm_use_old_executor()

7 years agoMerge branch 'master' of git.php.net:php-src
Dmitry Stogov [Tue, 16 Jan 2018 07:34:15 +0000 (10:34 +0300)]
Merge branch 'master' of git.php.net:php-src

* 'master' of git.php.net:php-src:
  Added missed header file
  Added ZEND_API zend_cpu_supports

7 years agoUse fastcall calling convention
Dmitry Stogov [Tue, 16 Jan 2018 07:33:41 +0000 (10:33 +0300)]
Use fastcall calling convention

7 years agoAdded missed header file
Xinchen Hui [Tue, 16 Jan 2018 06:56:43 +0000 (14:56 +0800)]
Added missed header file

7 years agoMerge branch 'master' of git.php.net:/php-src
Xinchen Hui [Tue, 16 Jan 2018 06:54:05 +0000 (14:54 +0800)]
Merge branch 'master' of git.php.net:/php-src

* 'master' of git.php.net:/php-src:
  Removed recursive call
  Put ZEND_FASTCALL into the proper place.

7 years agoAdded ZEND_API zend_cpu_supports
Xinchen Hui [Tue, 16 Jan 2018 06:44:06 +0000 (14:44 +0800)]
Added ZEND_API zend_cpu_supports

7 years agoRemoved recursive call
Dmitry Stogov [Tue, 16 Jan 2018 06:44:49 +0000 (09:44 +0300)]
Removed recursive call

7 years agoPut ZEND_FASTCALL into the proper place.
Dmitry Stogov [Tue, 16 Jan 2018 06:44:10 +0000 (09:44 +0300)]
Put ZEND_FASTCALL into the proper place.

7 years agoOptimize zval_dtor_func()
Dmitry Stogov [Mon, 15 Jan 2018 21:57:47 +0000 (00:57 +0300)]
Optimize zval_dtor_func()

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Mon, 15 Jan 2018 16:49:46 +0000 (17:49 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  [ci skip] Update NEWS
  [ci skip] Update NEWS

7 years ago[ci skip] Update NEWS
Anatol Belski [Mon, 15 Jan 2018 16:48:08 +0000 (17:48 +0100)]
[ci skip] Update NEWS

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Mon, 15 Jan 2018 16:47:29 +0000 (17:47 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  [ci skip] Update NEWS