From 337485d217e91ce42ac9a5b5ea67621f2d697aca Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 19 Sep 2018 07:48:27 +0200 Subject: v4.2.1 --- PHPINFO | 2 +- REFLECTION | 311 +++++++++++++------------------------------------- php-pecl-swoole4.spec | 6 +- 3 files changed, 84 insertions(+), 235 deletions(-) diff --git a/PHPINFO b/PHPINFO index 056c5f4..e31d42e 100644 --- a/PHPINFO +++ b/PHPINFO @@ -2,7 +2,7 @@ swoole swoole support => enabled -Version => 4.1.2 +Version => 4.2.1 Author => Swoole Group[email: team@swoole.com] coroutine => enabled trace-log => enabled diff --git a/REFLECTION b/REFLECTION index cc45892..4abb5d0 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #148 swoole version 4.1.2 ] { +Extension [ extension #148 swoole version 4.2.1 ] { - INI { Entry [ swoole.enable_coroutine ] @@ -69,7 +69,7 @@ Extension [ extension #148 swoole version 4.1.2 ] { Constant [ integer SWOOLE_DTLSv1_CLIENT_METHOD ] { 17 } Constant [ integer SWOOLE_EVENT_READ ] { 512 } Constant [ integer SWOOLE_EVENT_WRITE ] { 1024 } - Constant [ string SWOOLE_VERSION ] { 4.1.2 } + Constant [ string SWOOLE_VERSION ] { 4.2.1 } Constant [ integer SWOOLE_ERROR_MALLOC_FAIL ] { 501 } Constant [ integer SWOOLE_ERROR_SYSTEM_CALL_FAIL ] { 502 } Constant [ integer SWOOLE_ERROR_PHP_FATAL_ERROR ] { 503 } @@ -3641,7 +3641,7 @@ Extension [ extension #148 swoole version 4.1.2 ] { - Properties [0] { } - - Methods [6] { + - Methods [7] { Method [ public method __construct ] { - Parameters [3] { @@ -3665,6 +3665,12 @@ Extension [ extension #148 swoole version 4.1.2 ] { } } + Method [ public method getProcess ] { + + - Parameters [0] { + } + } + Method [ public method listen ] { - Parameters [3] { @@ -3928,8 +3934,9 @@ Extension [ extension #148 swoole version 4.1.2 ] { Method [ static public method enableCoroutine ] { - - Parameters [1] { + - Parameters [2] { Parameter #0 [ $enable ] + Parameter #1 [ $flags ] } } } @@ -5182,7 +5189,23 @@ Extension [ extension #148 swoole version 4.1.2 ] { - Static properties [0] { } - - Static methods [0] { + - Static methods [2] { + Method [ static public method pack ] { + + - Parameters [4] { + Parameter #0 [ $data ] + Parameter #1 [ $opcode ] + Parameter #2 [ $finish ] + Parameter #3 [ $mask ] + } + } + + Method [ static public method unpack ] { + + - Parameters [1] { + Parameter #0 [ $data ] + } + } } - Properties [4] { @@ -5192,7 +5215,57 @@ Extension [ extension #148 swoole version 4.1.2 ] { Property [ public $finish ] } - - Methods [0] { + - Methods [1] { + Method [ public method __toString ] { + + - Parameters [0] { + } + } + } + } + + Class [ class Swoole\WebSocket\CloseFrame extends Swoole\WebSocket\Frame ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [2] { + Method [ static public method pack ] { + + - Parameters [4] { + Parameter #0 [ $data ] + Parameter #1 [ $opcode ] + Parameter #2 [ $finish ] + Parameter #3 [ $mask ] + } + } + + Method [ static public method unpack ] { + + - Parameters [1] { + Parameter #0 [ $data ] + } + } + } + + - Properties [6] { + Property [ public $fd ] + Property [ public $data ] + Property [ public $finish ] + Property [ public $opcode ] + Property [ public $code ] + Property [ public $reason ] + } + + - Methods [1] { + Method [ public method __toString ] { + + - Parameters [0] { + } + } } } @@ -5646,232 +5719,6 @@ Extension [ extension #148 swoole version 4.1.2 ] { } } - Class [ class Swoole\Http2\Client extends Swoole\Client ] { - - - Constants [7] { - Constant [ public integer MSG_OOB ] { 1 } - Constant [ public integer MSG_PEEK ] { 2 } - Constant [ public integer MSG_DONTWAIT ] { 64 } - Constant [ public integer MSG_WAITALL ] { 256 } - Constant [ public integer SHUT_RDWR ] { 2 } - Constant [ public integer SHUT_RD ] { 0 } - Constant [ public integer SHUT_WR ] { 1 } - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [16] { - Property [ public $errCode ] - Property [ public $sock ] - Property [ public $reuse ] - Property [ public $reuseCount ] - Property [ public $type ] - Property [ public $id ] - Property [ public $setting ] - Property [ public $onConnect ] - Property [ public $onError ] - Property [ public $onReceive ] - Property [ public $onClose ] - Property [ public $onBufferFull ] - Property [ public $onBufferEmpty ] - Property [ public $onSSLReady ] - Property [ public $requestHeaders ] - Property [ public $cookies ] - } - - - Methods [34] { - Method [ public method __construct ] { - } - - Method [ public method __destruct ] { - } - - Method [ public method setHeaders ] { - } - - Method [ public method setCookies ] { - } - - Method [ public method get ] { - } - - Method [ public method post ] { - } - - Method [ public method onConnect ] { - } - - Method [ public method onError ] { - } - - Method [ public method onReceive ] { - } - - Method [ public method onClose ] { - } - - Method [ public method openStream ] { - } - - Method [ public method push ] { - } - - Method [ public method closeStream ] { - } - - Method [ public method set ] { - - - Parameters [1] { - Parameter #0 [ array $settings ] - } - } - - Method [ public method connect ] { - - - Parameters [4] { - Parameter #0 [ $host ] - Parameter #1 [ $port ] - Parameter #2 [ $timeout ] - Parameter #3 [ $sock_flag ] - } - } - - Method [ public method recv ] { - - - Parameters [2] { - Parameter #0 [ $size ] - Parameter #1 [ $flag ] - } - } - - Method [ public method send ] { - - - Parameters [2] { - Parameter #0 [ $data ] - Parameter #1 [ $flag ] - } - } - - Method [ public method pipe ] { - - - Parameters [1] { - Parameter #0 [ $dst_socket ] - } - } - - Method [ public method sendfile ] { - - - Parameters [3] { - Parameter #0 [ $filename ] - Parameter #1 [ $offset ] - Parameter #2 [ $length ] - } - } - - Method [ public method sendto ] { - - - Parameters [3] { - Parameter #0 [ $ip ] - Parameter #1 [ $port ] - Parameter #2 [ $data ] - } - } - - Method [ public method sleep ] { - - - Parameters [0] { - } - } - - Method [ public method wakeup ] { - - - Parameters [0] { - } - } - - Method [ public method pause ] { - - - Parameters [0] { - } - } - - Method [ public method resume ] { - - - Parameters [0] { - } - } - - Method [ public method shutdown ] { - - - Parameters [1] { - Parameter #0 [ $how ] - } - } - - Method [ public method enableSSL ] { - - - Parameters [1] { - Parameter #0 [ $callback ] - } - } - - Method [ public method getPeerCert ] { - - - Parameters [0] { - } - } - - Method [ public method verifyPeerCert ] { - - - Parameters [0] { - } - } - - Method [ public method isConnected ] { - - - Parameters [0] { - } - } - - Method [ public method getsockname ] { - - - Parameters [0] { - } - } - - Method [ public method getpeername ] { - - - Parameters [0] { - } - } - - Method [ public method close ] { - - - Parameters [1] { - Parameter #0 [ $force ] - } - } - - Method [ public method on ] { - - - Parameters [2] { - Parameter #0 [ $event_name ] - Parameter #1 [ $callback ] - } - } - - Method [ public method getSocket ] { - - - Parameters [0] { - } - } - } - } - Class [ class Swoole\Coroutine\Http2\Client ] { - Constants [0] { diff --git a/php-pecl-swoole4.spec b/php-pecl-swoole4.spec index 012e9c3..ecf0375 100644 --- a/php-pecl-swoole4.spec +++ b/php-pecl-swoole4.spec @@ -36,7 +36,7 @@ Summary: PHP's asynchronous concurrent distributed networking framework Name: %{?sub_prefix}php-pecl-%{pecl_name}4 -Version: 4.2.0 +Version: 4.2.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} @@ -331,7 +331,6 @@ cd ../ZTS %files devel %doc %{pecl_testdir}/%{pecl_name} %doc %{pecl_docdir}/%{pecl_name}/examples -%doc %{pecl_docdir}/%{pecl_name}/.github/ISSUE_TEMPLATE %doc %{pecl_docdir}/%{pecl_name}/include/readme %{php_incldir}/ext/%{pecl_name} @@ -341,6 +340,9 @@ cd ../ZTS %changelog +* Wed Sep 19 2018 Remi Collet - 4.2.1-1 +- update to 4.2.1 + * Tue Sep 18 2018 Remi Collet - 4.2.0-1 - update to 4.2.0 - open https://github.com/swoole/swoole-src/issues/1982 -- cgit