From e3aea2dc42987bfcc6b46f7a920a543f41adbe3a Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 28 Jul 2016 07:30:05 +0200 Subject: php-pecl-swoole: 1.8.8 --- REFLECTION | 177 +++++++++++++++++++++++++++++++++++++++++++++++---- php-pecl-swoole.spec | 10 ++- 2 files changed, 172 insertions(+), 15 deletions(-) diff --git a/REFLECTION b/REFLECTION index 75144e7..24f96db 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #113 swoole version 1.8.7 ] { +Extension [ extension #114 swoole version 1.8.8 ] { - INI { Entry [ swoole.aio_thread_num ] @@ -18,7 +18,7 @@ Extension [ extension #113 swoole version 1.8.7 ] { } } - - Constants [62] { + - Constants [58] { Constant [ integer SWOOLE_BASE ] { 4 } Constant [ integer SWOOLE_THREAD ] { 2 } Constant [ integer SWOOLE_PROCESS ] { 3 } @@ -63,7 +63,7 @@ Extension [ extension #113 swoole version 1.8.7 ] { Constant [ integer SWOOLE_DTLSv1_CLIENT_METHOD ] { 17 } Constant [ integer SWOOLE_EVENT_READ ] { 512 } Constant [ integer SWOOLE_EVENT_WRITE ] { 1024 } - Constant [ string SWOOLE_VERSION ] { 1.8.7 } + Constant [ string SWOOLE_VERSION ] { 1.8.8 } Constant [ integer SWOOLE_AIO_BASE ] { 0 } Constant [ integer SWOOLE_AIO_LINUX ] { 1 } Constant [ integer SWOOLE_FILELOCK ] { 2 } @@ -71,10 +71,6 @@ Extension [ extension #113 swoole version 1.8.7 ] { Constant [ integer SWOOLE_SEM ] { 4 } Constant [ integer SWOOLE_RWLOCK ] { 1 } Constant [ integer SWOOLE_SPINLOCK ] { 5 } - Constant [ integer HTTP_GLOBAL_GET ] { 2 } - Constant [ integer HTTP_GLOBAL_POST ] { 4 } - Constant [ integer HTTP_GLOBAL_COOKIE ] { 8 } - Constant [ integer HTTP_GLOBAL_ALL ] { 126 } Constant [ integer WEBSOCKET_OPCODE_TEXT ] { 1 } Constant [ integer WEBSOCKET_OPCODE_BINARY ] { 2 } Constant [ integer WEBSOCKET_STATUS_CONNECTION ] { 1 } @@ -239,9 +235,11 @@ Extension [ extension #113 swoole version 1.8.7 ] { - Parameters [0] { } } + Function [ function swoole_load_module ] { + } } - - Classes [19] { + - Classes [21] { Class [ class swoole_server ] { - Constants [0] { @@ -256,7 +254,7 @@ Extension [ extension #113 swoole version 1.8.7 ] { - Properties [0] { } - - Methods [34] { + - Methods [36] { Method [ public method __construct ] { - Parameters [4] { @@ -362,6 +360,13 @@ Extension [ extension #113 swoole version 1.8.7 ] { } } + Method [ public method confirm ] { + + - Parameters [1] { + Parameter #0 [ $fd ] + } + } + Method [ public method task ] { - Parameters [2] { @@ -379,6 +384,14 @@ Extension [ extension #113 swoole version 1.8.7 ] { } } + Method [ public method taskWaitMulti ] { + + - Parameters [2] { + Parameter #0 [ $tasks ] + Parameter #1 [ $timeout ] + } + } + Method [ public method finish ] { - Parameters [1] { @@ -550,6 +563,71 @@ Extension [ extension #113 swoole version 1.8.7 ] { } } + Class [ class swoole_event ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [7] { + Method [ static public method add ] { + + - Parameters [2] { + Parameter #0 [ $fd ] + Parameter #1 [ $cb ] + } + } + + Method [ static public method del ] { + + - Parameters [1] { + Parameter #0 [ $fd ] + } + } + + Method [ static public method set ] { + + - Parameters [0] { + } + } + + Method [ static public method exit ] { + + - Parameters [0] { + } + } + + Method [ static public method write ] { + + - Parameters [2] { + Parameter #0 [ $fd ] + Parameter #1 [ $data ] + } + } + + Method [ static public method wait ] { + + - Parameters [0] { + } + } + + Method [ static public method defer ] { + + - Parameters [1] { + Parameter #0 [ $callback ] + } + } + } + + - Properties [0] { + } + + - Methods [0] { + } + } + Class [ class swoole_connection_iterator implements Iterator, Traversable, Countable ] { - Constants [0] { @@ -617,7 +695,7 @@ Extension [ extension #113 swoole version 1.8.7 ] { - Properties [0] { } - - Methods [4] { + - Methods [5] { Method [ private method __construct ] { } @@ -629,6 +707,9 @@ Extension [ extension #113 swoole version 1.8.7 ] { Method [ public method on ] { } + + Method [ public method getSocket ] { + } } } @@ -653,7 +734,7 @@ Extension [ extension #113 swoole version 1.8.7 ] { Property [ public $reuse ] } - - Methods [16] { + - Methods [21] { Method [ public method __construct ] { } @@ -684,6 +765,21 @@ Extension [ extension #113 swoole version 1.8.7 ] { Method [ public method wakeup ] { } + Method [ public method pause ] { + } + + Method [ public method resume ] { + } + + Method [ public method enableSSL ] { + } + + Method [ public method getPeerCert ] { + } + + Method [ public method verifyPeerCert ] { + } + Method [ public method isConnected ] { } @@ -1072,7 +1168,7 @@ Extension [ extension #113 swoole version 1.8.7 ] { Property [ private $global ] } - - Methods [34] { + - Methods [36] { Method [ public method on ] { - Parameters [2] { @@ -1175,6 +1271,13 @@ Extension [ extension #113 swoole version 1.8.7 ] { } } + Method [ public method confirm ] { + + - Parameters [1] { + Parameter #0 [ $fd ] + } + } + Method [ public method task ] { - Parameters [2] { @@ -1192,6 +1295,14 @@ Extension [ extension #113 swoole version 1.8.7 ] { } } + Method [ public method taskWaitMulti ] { + + - Parameters [2] { + Parameter #0 [ $tasks ] + Parameter #1 [ $timeout ] + } + } + Method [ public method finish ] { - Parameters [1] { @@ -1456,7 +1567,7 @@ Extension [ extension #113 swoole version 1.8.7 ] { - Properties [0] { } - - Methods [35] { + - Methods [37] { Method [ public method on ] { - Parameters [2] { @@ -1569,6 +1680,13 @@ Extension [ extension #113 swoole version 1.8.7 ] { } } + Method [ public method confirm ] { + + - Parameters [1] { + Parameter #0 [ $fd ] + } + } + Method [ public method task ] { - Parameters [2] { @@ -1586,6 +1704,14 @@ Extension [ extension #113 swoole version 1.8.7 ] { } } + Method [ public method taskWaitMulti ] { + + - Parameters [2] { + Parameter #0 [ $tasks ] + Parameter #1 [ $timeout ] + } + } + Method [ public method finish ] { - Parameters [1] { @@ -1819,6 +1945,31 @@ Extension [ extension #113 swoole version 1.8.7 ] { } } + Class [ class swoole_module ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [1] { + Method [ public method __call ] { + + - Parameters [2] { + Parameter #0 [ $func ] + Parameter #1 [ $params ] + } + } + } + } + Class [ class swoole_redis ] { - Constants [0] { diff --git a/php-pecl-swoole.spec b/php-pecl-swoole.spec index f7cd859..503f91a 100644 --- a/php-pecl-swoole.spec +++ b/php-pecl-swoole.spec @@ -26,7 +26,8 @@ %endif %if 0%{?fedora} >= 22 || 0%{?rhel} >= 6 -%global with_nghttpd2 1 +# See https://github.com/swoole/swoole-src/issues/787 +%global with_nghttpd2 0 %else %global with_nghttpd2 0 %endif @@ -34,7 +35,7 @@ Summary: PHP's asynchronous concurrent distributed networking framework Name: %{?sub_prefix}php-pecl-%{pecl_name} -Version: 1.8.7 +Version: 1.8.8 Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: BSD Group: Development/Languages @@ -269,6 +270,11 @@ cd ../ZTS %changelog +* Thu Jul 28 2016 Remi Collet - 1.8.8-1 +- Update to 1.8.8 +- drop --enable-http2 build option (broken) + open https://github.com/swoole/swoole-src/issues/787 + * Fri Jul 01 2016 Remi Collet - 1.8.7-1 - Update to 1.8.7 -- cgit