From 41431f181c9101db6f3328e2ceadb76a77ccd54a Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 29 Aug 2017 15:18:41 +0200 Subject: v1.9.20 --- REFLECTION | 346 +++++++++++++++++++++++++++++++++++++++++++++++---- php-pecl-swoole.spec | 5 +- 2 files changed, 327 insertions(+), 24 deletions(-) diff --git a/REFLECTION b/REFLECTION index f3c9901..419a491 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #80 swoole version 1.9.18 ] { +Extension [ extension #80 swoole version 1.9.20 ] { - INI { Entry [ swoole.aio_thread_num ] @@ -63,7 +63,7 @@ Extension [ extension #80 swoole version 1.9.18 ] { Constant [ integer SWOOLE_DTLSv1_CLIENT_METHOD ] { 17 } Constant [ integer SWOOLE_EVENT_READ ] { 512 } Constant [ integer SWOOLE_EVENT_WRITE ] { 1024 } - Constant [ string SWOOLE_VERSION ] { 1.9.18 } + Constant [ string SWOOLE_VERSION ] { 1.9.20 } Constant [ integer SWOOLE_AIO_BASE ] { 0 } Constant [ integer SWOOLE_AIO_LINUX ] { 1 } Constant [ integer SWOOLE_FILELOCK ] { 2 } @@ -265,7 +265,7 @@ Extension [ extension #80 swoole version 1.9.18 ] { } } - - Classes [28] { + - Classes [29] { Class [ class swoole_server ] { - Constants [0] { @@ -277,7 +277,36 @@ Extension [ extension #80 swoole version 1.9.18 ] { - Static methods [0] { } - - Properties [0] { + - Properties [29] { + Property [ public $onConnect ] + Property [ public $onReceive ] + Property [ public $onClose ] + Property [ public $onPacket ] + Property [ public $onBufferFull ] + Property [ public $onBufferEmpty ] + Property [ public $onStart ] + Property [ public $onShutdown ] + Property [ public $onWorkerStart ] + Property [ public $onWorkerStop ] + Property [ public $onWorkerExit ] + Property [ public $onWorkerError ] + Property [ public $onTask ] + Property [ public $onFinish ] + Property [ public $onManagerStart ] + Property [ public $onManagerStop ] + Property [ public $onPipeMessage ] + Property [ public $setting ] + Property [ public $connections ] + Property [ public $host ] + Property [ public $port ] + Property [ public $type ] + Property [ public $mode ] + Property [ public $ports ] + Property [ public $master_pid ] + Property [ public $manager_pid ] + Property [ public $worker_id ] + Property [ public $taskworker ] + Property [ public $worker_pid ] } - Methods [39] { @@ -922,7 +951,22 @@ Extension [ extension #80 swoole version 1.9.18 ] { - Static methods [0] { } - - Properties [0] { + - Properties [15] { + Property [ public $onConnect ] + Property [ public $onReceive ] + Property [ public $onClose ] + Property [ public $onPacket ] + Property [ public $onBufferFull ] + Property [ public $onBufferEmpty ] + Property [ public $onRequest ] + Property [ public $onHandShake ] + Property [ public $onMessage ] + Property [ public $onOpen ] + Property [ public $host ] + Property [ public $port ] + Property [ public $type ] + Property [ public $sock ] + Property [ public $setting ] } - Methods [5] { @@ -976,11 +1020,21 @@ Extension [ extension #80 swoole version 1.9.18 ] { - Static methods [0] { } - - Properties [4] { + - Properties [14] { 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 ] } - Methods [22] { @@ -1151,9 +1205,26 @@ Extension [ extension #80 swoole version 1.9.18 ] { - Static methods [0] { } - - Properties [2] { + - Properties [19] { + Property [ public $type ] Property [ public $errCode ] Property [ public $sock ] + Property [ public $statusCode ] + Property [ public $host ] + Property [ public $port ] + Property [ public $requestMethod ] + Property [ public $requestHeaders ] + Property [ public $requestBody ] + Property [ public $uploadFiles ] + Property [ public $set_cookie_headers ] + Property [ public $downloadFile ] + Property [ public $headers ] + Property [ public $cookies ] + Property [ public $body ] + Property [ public $onConnect ] + Property [ public $onError ] + Property [ public $onMessage ] + Property [ public $onClose ] } - Methods [17] { @@ -1349,7 +1420,13 @@ Extension [ extension #80 swoole version 1.9.18 ] { } } - - Properties [0] { + - Properties [6] { + Property [ public $pipe ] + Property [ public $callback ] + Property [ public $msgQueueId ] + Property [ public $msgQueueKey ] + Property [ public $pid ] + Property [ public $id ] } - Methods [14] { @@ -1452,7 +1529,7 @@ Extension [ extension #80 swoole version 1.9.18 ] { } } - Class [ class swoole_table implements Iterator, Traversable, Countable ] { + Class [ class swoole_table implements ArrayAccess, Iterator, Traversable, Countable ] { - Constants [3] { Constant [ integer TYPE_INT ] { 1 } @@ -1469,11 +1546,12 @@ Extension [ extension #80 swoole version 1.9.18 ] { - Properties [0] { } - - Methods [16] { + - Methods [21] { Method [ public method __construct ] { - - Parameters [1] { + - Parameters [2] { Parameter #0 [ $table_size ] + Parameter #1 [ $conflict_proportion ] } } @@ -1529,9 +1607,8 @@ Extension [ extension #80 swoole version 1.9.18 ] { Method [ public method exist ] { - - Parameters [2] { + - Parameters [1] { Parameter #0 [ $key ] - Parameter #1 [ $field ] } } @@ -1553,6 +1630,41 @@ Extension [ extension #80 swoole version 1.9.18 ] { } } + Method [ public method getMemorySize ] { + + - Parameters [0] { + } + } + + Method [ public method offsetExists ] { + + - Parameters [1] { + Parameter #0 [ $offset ] + } + } + + Method [ public method offsetGet ] { + + - Parameters [1] { + Parameter #0 [ $offset ] + } + } + + Method [ public method offsetSet ] { + + - Parameters [2] { + Parameter #0 [ $offset ] + Parameter #1 [ $value ] + } + } + + Method [ public method offsetUnset ] { + + - Parameters [1] { + Parameter #0 [ $offset ] + } + } + Method [ public method rewind ] { - Parameters [0] { @@ -1585,6 +1697,60 @@ Extension [ extension #80 swoole version 1.9.18 ] { } } + Class [ class swoole_table_row implements ArrayAccess ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [2] { + Property [ public $key ] + Property [ public $value ] + } + + - Methods [5] { + Method [ public method offsetExists ] { + + - Parameters [1] { + Parameter #0 [ $offset ] + } + } + + Method [ public method offsetGet ] { + + - Parameters [1] { + Parameter #0 [ $offset ] + } + } + + Method [ public method offsetSet ] { + + - Parameters [2] { + Parameter #0 [ $offset ] + Parameter #1 [ $value ] + } + } + + Method [ public method offsetUnset ] { + + - Parameters [1] { + Parameter #0 [ $offset ] + } + } + + Method [ public method __destruct ] { + + - Parameters [0] { + } + } + } + } + Class [ class swoole_lock ] { - Constants [5] { @@ -1742,8 +1908,38 @@ Extension [ extension #80 swoole version 1.9.18 ] { - Static methods [0] { } - - Properties [1] { - Property [ private $global ] + - Properties [31] { + Property [ public $onConnect ] + Property [ public $onReceive ] + Property [ public $onClose ] + Property [ public $onPacket ] + Property [ public $onBufferFull ] + Property [ public $onBufferEmpty ] + Property [ public $onStart ] + Property [ public $onShutdown ] + Property [ public $onWorkerStart ] + Property [ public $onWorkerStop ] + Property [ public $onWorkerExit ] + Property [ public $onWorkerError ] + Property [ public $onTask ] + Property [ public $onFinish ] + Property [ public $onManagerStart ] + Property [ public $onManagerStop ] + Property [ public $onPipeMessage ] + Property [ public $connections ] + Property [ public $host ] + Property [ public $port ] + Property [ public $type ] + Property [ public $mode ] + Property [ public $ports ] + Property [ public $master_pid ] + Property [ public $manager_pid ] + Property [ public $worker_id ] + Property [ public $taskworker ] + Property [ public $worker_pid ] + Property [ public $onRequest ] + Property [ public $onHandshake ] + Property [ public $setting ] } - Methods [39] { @@ -2060,7 +2256,11 @@ Extension [ extension #80 swoole version 1.9.18 ] { - Static methods [0] { } - - Properties [0] { + - Properties [4] { + Property [ public $fd ] + Property [ public $header ] + Property [ public $cookie ] + Property [ public $trailer ] } - Methods [11] { @@ -2170,7 +2370,16 @@ Extension [ extension #80 swoole version 1.9.18 ] { - Static methods [0] { } - - Properties [0] { + - Properties [9] { + Property [ public $fd ] + Property [ public $header ] + Property [ public $server ] + Property [ public $request ] + Property [ public $cookie ] + Property [ public $get ] + Property [ public $files ] + Property [ public $post ] + Property [ public $tmpfiles ] } - Methods [2] { @@ -2302,7 +2511,38 @@ Extension [ extension #80 swoole version 1.9.18 ] { } } - - Properties [0] { + - Properties [31] { + Property [ public $onConnect ] + Property [ public $onReceive ] + Property [ public $onClose ] + Property [ public $onPacket ] + Property [ public $onBufferFull ] + Property [ public $onBufferEmpty ] + Property [ public $onStart ] + Property [ public $onShutdown ] + Property [ public $onWorkerStart ] + Property [ public $onWorkerStop ] + Property [ public $onWorkerExit ] + Property [ public $onWorkerError ] + Property [ public $onTask ] + Property [ public $onFinish ] + Property [ public $onManagerStart ] + Property [ public $onManagerStop ] + Property [ public $onPipeMessage ] + Property [ public $connections ] + Property [ public $host ] + Property [ public $port ] + Property [ public $type ] + Property [ public $mode ] + Property [ public $ports ] + Property [ public $master_pid ] + Property [ public $manager_pid ] + Property [ public $worker_id ] + Property [ public $taskworker ] + Property [ public $worker_pid ] + Property [ public $onRequest ] + Property [ public $onHandshake ] + Property [ public $setting ] } - Methods [40] { @@ -2653,11 +2893,18 @@ Extension [ extension #80 swoole version 1.9.18 ] { - Static methods [0] { } - - Properties [4] { + - Properties [11] { + Property [ public $serverInfo ] + Property [ public $sock ] + Property [ public $connected ] Property [ public $errno ] Property [ public $connect_errno ] + Property [ public $error ] + Property [ public $connect_error ] Property [ public $insert_id ] Property [ public $affected_rows ] + Property [ public $onConnect ] + Property [ public $onClose ] } - Methods [11] { @@ -2887,11 +3134,23 @@ Extension [ extension #80 swoole version 1.9.18 ] { - Static methods [0] { } - - Properties [4] { + - 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 [33] { @@ -3087,7 +3346,10 @@ Extension [ extension #80 swoole version 1.9.18 ] { - Static methods [0] { } - - Properties [0] { + - Properties [3] { + Property [ public $statusCode ] + Property [ public $body ] + Property [ public $streamId ] } - Methods [0] { @@ -3143,7 +3405,16 @@ Extension [ extension #80 swoole version 1.9.18 ] { - Static methods [0] { } - - Properties [0] { + - Properties [9] { + Property [ public $onConnect ] + Property [ public $onClose ] + Property [ public $onMessage ] + Property [ public $setting ] + Property [ public $host ] + Property [ public $port ] + Property [ public $sock ] + Property [ public $errCode ] + Property [ public $errMsg ] } - Methods [7] { @@ -3224,7 +3495,36 @@ Extension [ extension #80 swoole version 1.9.18 ] { } } - - Properties [0] { + - Properties [29] { + Property [ public $onConnect ] + Property [ public $onReceive ] + Property [ public $onClose ] + Property [ public $onPacket ] + Property [ public $onBufferFull ] + Property [ public $onBufferEmpty ] + Property [ public $onStart ] + Property [ public $onShutdown ] + Property [ public $onWorkerStart ] + Property [ public $onWorkerStop ] + Property [ public $onWorkerExit ] + Property [ public $onWorkerError ] + Property [ public $onTask ] + Property [ public $onFinish ] + Property [ public $onManagerStart ] + Property [ public $onManagerStop ] + Property [ public $onPipeMessage ] + Property [ public $setting ] + Property [ public $connections ] + Property [ public $host ] + Property [ public $port ] + Property [ public $type ] + Property [ public $mode ] + Property [ public $ports ] + Property [ public $master_pid ] + Property [ public $manager_pid ] + Property [ public $worker_id ] + Property [ public $taskworker ] + Property [ public $worker_pid ] } - Methods [40] { diff --git a/php-pecl-swoole.spec b/php-pecl-swoole.spec index 0245851..9a6a61d 100644 --- a/php-pecl-swoole.spec +++ b/php-pecl-swoole.spec @@ -32,7 +32,7 @@ Summary: PHP's asynchronous concurrent distributed networking framework Name: %{?sub_prefix}php-pecl-%{pecl_name} -Version: 1.9.19 +Version: 1.9.20 Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: BSD Group: Development/Languages @@ -312,6 +312,9 @@ cd ../ZTS %changelog +* Tue Aug 29 2017 Remi Collet - 1.9.20-1 +- Update to 1.9.20 + * Tue Aug 29 2017 Remi Collet - 1.9.19-1 - Update to 1.9.19 - open https://github.com/swoole/swoole-src/issues/1337 -- cgit