From a60c7efcc86c0c6d8c6523803e514fd1d02c1ed9 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 14 Dec 2017 12:03:40 +0100 Subject: v2.0.10 (first stable) --- REFLECTION | 271 ++++++++++++++++++++++++++++++++++++++++++++------ php-pecl-swoole2.spec | 7 +- 2 files changed, 247 insertions(+), 31 deletions(-) diff --git a/REFLECTION b/REFLECTION index 596f9b9..7025bed 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #138 swoole version 2.0.9 ] { +Extension [ extension #143 swoole version 2.0.10 ] { - INI { Entry [ swoole.aio_thread_num ] @@ -18,7 +18,7 @@ Extension [ extension #138 swoole version 2.0.9 ] { } } - - Constants [68] { + - Constants [70] { Constant [ integer SWOOLE_BASE ] { 4 } Constant [ integer SWOOLE_THREAD ] { 2 } Constant [ integer SWOOLE_PROCESS ] { 3 } @@ -63,7 +63,7 @@ Extension [ extension #138 swoole version 2.0.9 ] { Constant [ integer SWOOLE_DTLSv1_CLIENT_METHOD ] { 17 } Constant [ integer SWOOLE_EVENT_READ ] { 512 } Constant [ integer SWOOLE_EVENT_WRITE ] { 1024 } - Constant [ string SWOOLE_VERSION ] { 2.0.9 } + Constant [ string SWOOLE_VERSION ] { 2.0.10 } Constant [ integer SWOOLE_REDIS_MODE_MULTI ] { 0 } Constant [ integer SWOOLE_REDIS_MODE_PIPELINE ] { 1 } Constant [ integer SWOOLE_REDIS_TYPE_NOT_FOUND ] { 0 } @@ -87,6 +87,8 @@ Extension [ extension #138 swoole version 2.0.9 ] { Constant [ integer WEBSOCKET_STATUS_FRAME ] { 3 } Constant [ integer WEBSOCKET_STATUS_ACTIVE ] { 3 } Constant [ integer SWOOLE_FAST_PACK ] { 1 } + Constant [ integer UNSERIALIZE_OBJECT_TO_ARRAY ] { 1 } + Constant [ integer UNSERIALIZE_OBJECT_TO_STDCLASS ] { 2 } } - Functions { @@ -152,6 +154,12 @@ Extension [ extension #138 swoole version 2.0.9 ] { Parameter #0 [ $callback ] } } + Function [ function swoole_event_cycle ] { + + - Parameters [1] { + Parameter #0 [ $callback ] + } + } Function [ function swoole_timer_after ] { - Parameters [3] { @@ -222,8 +230,8 @@ Extension [ extension #138 swoole version 2.0.9 ] { Function [ function swoole_async_dns_lookup ] { - Parameters [2] { - Parameter #0 [ $domain_name ] - Parameter #1 [ $content ] + Parameter #0 [ $hostname ] + Parameter #1 [ $callback ] } } Function [ function swoole_async_dns_lookup_coro ] { @@ -279,7 +287,7 @@ Extension [ extension #138 swoole version 2.0.9 ] { } } - - Classes [35] { + - Classes [36] { Class [ class Swoole\Server ] { - Constants [0] { @@ -323,7 +331,7 @@ Extension [ extension #138 swoole version 2.0.9 ] { Property [ public $worker_pid ] } - - Methods [40] { + - Methods [42] { Method [ public method __construct ] { - Parameters [4] { @@ -631,6 +639,12 @@ Extension [ extension #138 swoole version 2.0.9 ] { Parameter #1 [ $uid ] } } + + Method [ public method __sleep ] { + } + + Method [ public method __wakeup ] { + } } } @@ -690,7 +704,7 @@ Extension [ extension #138 swoole version 2.0.9 ] { - Static properties [0] { } - - Static methods [7] { + - Static methods [8] { Method [ static public method add ] { - Parameters [4] { @@ -744,6 +758,13 @@ Extension [ extension #138 swoole version 2.0.9 ] { Parameter #0 [ $callback ] } } + + Method [ static public method cycle ] { + + - Parameters [1] { + Parameter #0 [ $callback ] + } + } } - Properties [0] { @@ -761,7 +782,7 @@ Extension [ extension #138 swoole version 2.0.9 ] { - Static properties [0] { } - - Static methods [7] { + - Static methods [8] { Method [ static public method read ] { - Parameters [4] { @@ -803,8 +824,8 @@ Extension [ extension #138 swoole version 2.0.9 ] { Method [ static public method dnsLookup ] { - Parameters [2] { - Parameter #0 [ $domain_name ] - Parameter #1 [ $content ] + Parameter #0 [ $hostname ] + Parameter #1 [ $callback ] } } @@ -821,6 +842,14 @@ Extension [ extension #138 swoole version 2.0.9 ] { Parameter #0 [ array $settings ] } } + + Method [ static public method exec ] { + + - Parameters [2] { + Parameter #0 [ $command ] + Parameter #1 [ $callback ] + } + } } - Properties [0] { @@ -998,7 +1027,7 @@ Extension [ extension #138 swoole version 2.0.9 ] { Property [ public $setting ] } - - Methods [5] { + - Methods [7] { Method [ private method __construct ] { - Parameters [0] { @@ -1026,6 +1055,12 @@ Extension [ extension #138 swoole version 2.0.9 ] { } } + Method [ public method __sleep ] { + } + + Method [ public method __wakeup ] { + } + Method [ public method getSocket ] { - Parameters [0] { @@ -1238,12 +1273,14 @@ Extension [ extension #138 swoole version 2.0.9 ] { - Static methods [0] { } - - Properties [2] { + - Properties [4] { Property [ public $errCode ] Property [ public $sock ] + Property [ public $type ] + Property [ public $setting ] } - - Methods [16] { + - Methods [18] { Method [ public method __construct ] { - Parameters [1] { @@ -1347,6 +1384,12 @@ Extension [ extension #138 swoole version 2.0.9 ] { } } + Method [ public method __sleep ] { + } + + Method [ public method __wakeup ] { + } + Method [ public method getSocket ] { - Parameters [0] { @@ -1366,12 +1409,16 @@ Extension [ extension #138 swoole version 2.0.9 ] { - Static methods [0] { } - - Properties [2] { + - Properties [6] { + Property [ public $setting ] + Property [ public $host ] + Property [ public $port ] + Property [ public $sock ] Property [ public $errCode ] Property [ public $errMsg ] } - - Methods [151] { + - Methods [153] { Method [ public method __construct ] { } @@ -1824,6 +1871,12 @@ Extension [ extension #138 swoole version 2.0.9 ] { Method [ public method script ] { } + + Method [ public method __sleep ] { + } + + Method [ public method __wakeup ] { + } } } @@ -1850,7 +1903,7 @@ Extension [ extension #138 swoole version 2.0.9 ] { Property [ public $errno ] } - - Methods [9] { + - Methods [14] { Method [ public method __construct ] { - Parameters [0] { @@ -1892,6 +1945,24 @@ Extension [ extension #138 swoole version 2.0.9 ] { } } + Method [ public method begin ] { + + - Parameters [0] { + } + } + + Method [ public method commit ] { + + - Parameters [0] { + } + } + + Method [ public method rollback ] { + + - Parameters [0] { + } + } + Method [ public method setDefer ] { - Parameters [1] { @@ -1910,6 +1981,12 @@ Extension [ extension #138 swoole version 2.0.9 ] { - Parameters [0] { } } + + Method [ public method __sleep ] { + } + + Method [ public method __wakeup ] { + } } } @@ -1981,12 +2058,22 @@ Extension [ extension #138 swoole version 2.0.9 ] { - Static methods [0] { } - - Properties [2] { + - Properties [12] { + 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 $headers ] + Property [ public $cookies ] + Property [ public $body ] } - - Methods [16] { + - Methods [18] { Method [ public method __construct ] { } @@ -2034,6 +2121,12 @@ Extension [ extension #138 swoole version 2.0.9 ] { Method [ public method recv ] { } + + Method [ public method __sleep ] { + } + + Method [ public method __wakeup ] { + } } } @@ -2317,7 +2410,7 @@ Extension [ extension #138 swoole version 2.0.9 ] { Property [ public $id ] } - - Methods [14] { + - Methods [15] { Method [ public method __construct ] { - Parameters [3] { @@ -2333,6 +2426,13 @@ Extension [ extension #138 swoole version 2.0.9 ] { } } + Method [ public method setTimeout ] { + + - Parameters [1] { + Parameter #0 [ $seconds ] + } + } + Method [ public method useQueue ] { - Parameters [2] { @@ -2434,7 +2534,7 @@ Extension [ extension #138 swoole version 2.0.9 ] { - Properties [0] { } - - Methods [21] { + - Methods [23] { Method [ public method __construct ] { - Parameters [2] { @@ -2553,6 +2653,12 @@ Extension [ extension #138 swoole version 2.0.9 ] { } } + Method [ public method __sleep ] { + } + + Method [ public method __wakeup ] { + } + Method [ public method rewind ] { - Parameters [0] { @@ -2726,7 +2832,7 @@ Extension [ extension #138 swoole version 2.0.9 ] { - Properties [0] { } - - Methods [8] { + - Methods [10] { Method [ public method __construct ] { - Parameters [1] { @@ -2782,6 +2888,77 @@ Extension [ extension #138 swoole version 2.0.9 ] { Parameter #1 [ $new_value ] } } + + Method [ public method __sleep ] { + } + + Method [ public method __wakeup ] { + } + } + } + + Class [ class Swoole\Atomic\Long ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [8] { + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ $value ] + } + } + + Method [ public method add ] { + + - Parameters [1] { + Parameter #0 [ $add_value ] + } + } + + Method [ public method sub ] { + + - Parameters [1] { + Parameter #0 [ $sub_value ] + } + } + + Method [ public method get ] { + + - Parameters [0] { + } + } + + Method [ public method set ] { + + - Parameters [1] { + Parameter #0 [ $value ] + } + } + + Method [ public method cmpset ] { + + - Parameters [2] { + Parameter #0 [ $cmp_value ] + Parameter #1 [ $new_value ] + } + } + + Method [ public method __sleep ] { + } + + Method [ public method __wakeup ] { + } } } @@ -2830,7 +3007,7 @@ Extension [ extension #138 swoole version 2.0.9 ] { Property [ public $setting ] } - - Methods [40] { + - Methods [42] { Method [ public method on ] { - Parameters [2] { @@ -2845,6 +3022,12 @@ Extension [ extension #138 swoole version 2.0.9 ] { } } + Method [ public method __sleep ] { + } + + Method [ public method __wakeup ] { + } + Method [ public method __construct ] { - Parameters [4] { @@ -3159,7 +3342,7 @@ Extension [ extension #138 swoole version 2.0.9 ] { Property [ public $trailer ] } - - Methods [11] { + - Methods [13] { Method [ public method initHeader ] { - Parameters [0] { @@ -3247,6 +3430,12 @@ Extension [ extension #138 swoole version 2.0.9 ] { } } + Method [ public method __sleep ] { + } + + Method [ public method __wakeup ] { + } + Method [ public method __destruct ] { - Parameters [0] { @@ -3278,13 +3467,19 @@ Extension [ extension #138 swoole version 2.0.9 ] { Property [ public $tmpfiles ] } - - Methods [2] { + - Methods [4] { Method [ public method rawcontent ] { - Parameters [0] { } } + Method [ public method __sleep ] { + } + + Method [ public method __wakeup ] { + } + Method [ public method __destruct ] { - Parameters [0] { @@ -3307,7 +3502,7 @@ Extension [ extension #138 swoole version 2.0.9 ] { - Properties [0] { } - - Methods [10] { + - Methods [12] { Method [ public method __construct ] { - Parameters [1] { @@ -3377,6 +3572,12 @@ Extension [ extension #138 swoole version 2.0.9 ] { - Parameters [0] { } } + + Method [ public method __sleep ] { + } + + Method [ public method __wakeup ] { + } } } @@ -3441,7 +3642,7 @@ Extension [ extension #138 swoole version 2.0.9 ] { Property [ public $setting ] } - - Methods [41] { + - Methods [43] { Method [ public method on ] { - Parameters [2] { @@ -3473,6 +3674,12 @@ Extension [ extension #138 swoole version 2.0.9 ] { } } + Method [ public method __sleep ] { + } + + Method [ public method __wakeup ] { + } + Method [ public method __construct ] { - Parameters [4] { @@ -4431,7 +4638,7 @@ Extension [ extension #138 swoole version 2.0.9 ] { Property [ public $worker_pid ] } - - Methods [41] { + - Methods [43] { Method [ public method start ] { - Parameters [0] { @@ -4749,6 +4956,12 @@ Extension [ extension #138 swoole version 2.0.9 ] { Parameter #1 [ $uid ] } } + + Method [ public method __sleep ] { + } + + Method [ public method __wakeup ] { + } } } } diff --git a/php-pecl-swoole2.spec b/php-pecl-swoole2.spec index fa2b6c9..7b5f75b 100644 --- a/php-pecl-swoole2.spec +++ b/php-pecl-swoole2.spec @@ -30,7 +30,7 @@ Summary: PHP's asynchronous concurrent distributed networking framework Name: %{?sub_prefix}php-pecl-%{pecl_name}2 -Version: 2.0.9 +Version: 2.0.10 Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: BSD Group: Development/Languages @@ -308,8 +308,11 @@ cd ../ZTS %changelog +* Thu Dec 14 2017 Remi Collet - 2.0.10-1 +- Update to 2.0.10 (stable) + * Thu Aug 31 2017 Remi Collet - 2.0.9-1 -- Update to 2.0.9 +- Update to 2.0.9 (beta) * Fri Aug 4 2017 Remi Collet - 2.0.8-1 - Update to 2.0.8 (beta) -- cgit