diff options
author | Remi Collet <remi@remirepo.net> | 2018-03-07 09:26:54 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2018-03-07 09:26:54 +0100 |
commit | f05f3d190247ff38ce226e02c8a1e4603e2a79d4 (patch) | |
tree | 043cbd5b691f36edad6a01a5a075d9a07a0ebc37 | |
parent | 3adc3402377ad80f903f5718141a50779d936fd1 (diff) |
v2.1.1
-rw-r--r-- | REFLECTION | 48 | ||||
-rw-r--r-- | php-pecl-swoole2.spec | 8 |
2 files changed, 46 insertions, 10 deletions
@@ -1,4 +1,4 @@ -Extension [ <persistent> extension #145 swoole version 2.1.0 ] { +Extension [ <persistent> extension #144 swoole version 2.1.1 ] { - INI { Entry [ swoole.aio_thread_num <ALL> ] @@ -21,7 +21,7 @@ Extension [ <persistent> extension #145 swoole version 2.1.0 ] { } } - - Constants [119] { + - Constants [121] { Constant [ integer SWOOLE_BASE ] { 4 } Constant [ integer SWOOLE_THREAD ] { 2 } Constant [ integer SWOOLE_PROCESS ] { 3 } @@ -66,7 +66,7 @@ Extension [ <persistent> extension #145 swoole version 2.1.0 ] { Constant [ integer SWOOLE_DTLSv1_CLIENT_METHOD ] { 17 } Constant [ integer SWOOLE_EVENT_READ ] { 512 } Constant [ integer SWOOLE_EVENT_WRITE ] { 1024 } - Constant [ string SWOOLE_VERSION ] { 2.1.0 } + Constant [ string SWOOLE_VERSION ] { 2.1.1 } Constant [ integer SWOOLE_ERROR_MALLOC_FAIL ] { 501 } Constant [ integer SWOOLE_ERROR_SYSTEM_CALL_FAIL ] { 502 } Constant [ integer SWOOLE_ERROR_PHP_FATAL_ERROR ] { 503 } @@ -95,6 +95,8 @@ Extension [ <persistent> extension #145 swoole version 2.1.0 ] { Constant [ integer SWOOLE_ERROR_DATA_LENGTH_TOO_LARGE ] { 1202 } Constant [ integer SWOOLE_ERROR_TASK_PACKAGE_TOO_BIG ] { 2001 } Constant [ integer SWOOLE_ERROR_TASK_DISPATCH_FAIL ] { 2002 } + Constant [ integer SWOOLE_ERROR_AIO_BAD_REQUEST ] { 4001 } + Constant [ integer SWOOLE_ERROR_CLIENT_NO_CONNECTION ] { 5001 } Constant [ integer SWOOLE_ERROR_HTTP2_STREAM_ID_TOO_BIG ] { 3001 } Constant [ integer SWOOLE_ERROR_HTTP2_STREAM_NO_HEADER ] { 3002 } Constant [ integer SWOOLE_ERROR_SOCKS5_UNSUPPORT_VERSION ] { 7001 } @@ -298,6 +300,12 @@ Extension [ <persistent> extension #145 swoole version 2.1.0 ] { Parameter #0 [ <required> $func ] } } + Function [ <internal:swoole> function swoole_coroutine_exec ] { + + - Parameters [1] { + Parameter #0 [ <required> $command ] + } + } Function [ <internal:swoole> function go ] { - Parameters [1] { @@ -1369,7 +1377,7 @@ Extension [ <persistent> extension #145 swoole version 2.1.0 ] { Property [ <default> public $setting ] } - - Methods [18] { + - Methods [19] { Method [ <internal:swoole, ctor> public method __construct ] { - Parameters [1] { @@ -1405,6 +1413,13 @@ Extension [ <persistent> extension #145 swoole version 2.1.0 ] { } } + Method [ <internal:swoole> public method peek ] { + + - Parameters [1] { + Parameter #0 [ <optional> $length ] + } + } + Method [ <internal:swoole> public method send ] { - Parameters [2] { @@ -1498,11 +1513,12 @@ Extension [ <persistent> extension #145 swoole version 2.1.0 ] { - Static methods [0] { } - - Properties [6] { + - Properties [7] { Property [ <default> public $setting ] Property [ <default> public $host ] Property [ <default> public $port ] Property [ <default> public $sock ] + Property [ <default> public $connected ] Property [ <default> public $errCode ] Property [ <default> public $errMsg ] } @@ -2342,8 +2358,9 @@ Extension [ <persistent> extension #145 swoole version 2.1.0 ] { - Methods [4] { Method [ <internal:swoole> public method execute ] { - - Parameters [1] { + - Parameters [2] { Parameter #0 [ <required> $params ] + Parameter #1 [ <optional> $timeout ] } } @@ -2592,7 +2609,7 @@ Extension [ <persistent> extension #145 swoole version 2.1.0 ] { - Static properties [0] { } - - Static methods [13] { + - Static methods [15] { Method [ <internal:swoole> static public method create ] { - Parameters [1] { @@ -2600,6 +2617,13 @@ Extension [ <persistent> extension #145 swoole version 2.1.0 ] { } } + Method [ <internal:swoole> static public method exec ] { + + - Parameters [1] { + Parameter #0 [ <required> $command ] + } + } + Method [ <internal:swoole> static public method set ] { - Parameters [1] { @@ -2648,6 +2672,13 @@ Extension [ <persistent> extension #145 swoole version 2.1.0 ] { } } + Method [ <internal:swoole> static public method fgets ] { + + - Parameters [1] { + Parameter #0 [ <required> $handle ] + } + } + Method [ <internal:swoole> static public method fwrite ] { - Parameters [3] { @@ -4790,7 +4821,8 @@ Extension [ <persistent> extension #145 swoole version 2.1.0 ] { } } - - Properties [0] { + - Properties [1] { + Property [ <default> public $capacity ] } - Methods [9] { diff --git a/php-pecl-swoole2.spec b/php-pecl-swoole2.spec index 84e4a6f..9d6bc04 100644 --- a/php-pecl-swoole2.spec +++ b/php-pecl-swoole2.spec @@ -34,12 +34,13 @@ Summary: PHP's asynchronous concurrent distributed networking framework Name: %{?sub_prefix}php-pecl-%{pecl_name}2 -Version: 2.1.0 +Version: 2.1.1 Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: BSD URL: http://pecl.php.net/package/%{pecl_name} Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz +BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel > 7 BuildRequires: %{?scl_prefix}php-pear BuildRequires: %{?scl_prefix}php-sockets @@ -233,7 +234,7 @@ do install -Dpm 644 NTS/$i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i done -%if 0%{?fedora} < 24 +%if 0%{?fedora} < 24 && 0%{?rhel} < 8 # when pear installed alone, after us %triggerin -- %{?scl_prefix}php-pear if [ -x %{__pecl} ] ; then @@ -300,6 +301,9 @@ cd ../ZTS %changelog +* Wed Mar 7 2018 Remi Collet <remi@remirepo.net> - 2.1.1-1 +- update to 2.1.1 + * Fri Feb 9 2018 Remi Collet <remi@remirepo.net> - 2.1.0-1 - Update to 2.1.0 - add swoole.use_shortname option in provided configuration |