From c141b58e37a1fc5d7edf88113916e046693361e9 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 16 Jun 2016 15:53:01 +0200 Subject: php-pecl-swoole: 1.8.6 --- REFLECTION | 254 ++++++++++++++++++++++++++++++++++----------------- php-pecl-swoole.spec | 21 +++-- 2 files changed, 184 insertions(+), 91 deletions(-) diff --git a/REFLECTION b/REFLECTION index df2aae4..833751b 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #166 swoole version 1.8.5 ] { +Extension [ extension #166 swoole version 1.8.6 ] { - INI { Entry [ swoole.aio_thread_num ] @@ -18,11 +18,10 @@ Extension [ extension #166 swoole version 1.8.5 ] { } } - - Constants [64] { + - Constants [62] { Constant [ integer SWOOLE_BASE ] { 4 } Constant [ integer SWOOLE_THREAD ] { 2 } Constant [ integer SWOOLE_PROCESS ] { 3 } - Constant [ integer SWOOLE_PACKET ] { 16 } Constant [ integer SWOOLE_IPC_UNSOCK ] { 1 } Constant [ integer SWOOLE_IPC_MSGQUEUE ] { 2 } Constant [ integer SWOOLE_IPC_CHANNEL ] { 3 } @@ -64,10 +63,9 @@ Extension [ extension #166 swoole version 1.8.5 ] { 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.5 } + Constant [ string SWOOLE_VERSION ] { 1.8.6 } Constant [ integer SWOOLE_AIO_BASE ] { 0 } - Constant [ integer SWOOLE_AIO_GCC ] { 1 } - Constant [ integer SWOOLE_AIO_LINUX ] { 2 } + Constant [ integer SWOOLE_AIO_LINUX ] { 1 } Constant [ integer SWOOLE_FILELOCK ] { 2 } Constant [ integer SWOOLE_MUTEX ] { 3 } Constant [ integer SWOOLE_SEM ] { 4 } @@ -204,6 +202,15 @@ Extension [ extension #166 swoole version 1.8.5 ] { Parameter #3 [ $timeout ] } } + Function [ function swoole_select ] { + + - Parameters [4] { + Parameter #0 [ $read_array ] + Parameter #1 [ $write_array ] + Parameter #2 [ $error_array ] + Parameter #3 [ $timeout ] + } + } Function [ function swoole_set_process_name ] { - Parameters [1] { @@ -226,23 +233,9 @@ Extension [ extension #166 swoole version 1.8.5 ] { - Parameters [0] { } } - Function [ function swoole_mysql_query ] { - - - Parameters [3] { - Parameter #0 [ $db_link ] - Parameter #1 [ $sql ] - Parameter #2 [ $callback ] - } - } - Function [ function swoole_get_mysqli_sock ] { - - - Parameters [1] { - Parameter #0 [ $db_link ] - } - } } - - Classes [17] { + - Classes [19] { Class [ class swoole_server ] { - Constants [0] { @@ -762,57 +755,6 @@ Extension [ extension #166 swoole version 1.8.5 ] { } } - Class [ class swoole_redis ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [0] { - } - - - Methods [6] { - Method [ public method __construct ] { - } - - Method [ public method __destruct ] { - } - - Method [ public method on ] { - - - Parameters [2] { - Parameter #0 [ $event_name ] - Parameter #1 [ $callback ] - } - } - - Method [ public method connect ] { - - - Parameters [3] { - Parameter #0 [ $host ] - Parameter #1 [ $port ] - Parameter #2 [ $callback ] - } - } - - Method [ public method close ] { - } - - Method [ public method __call ] { - - - Parameters [2] { - Parameter #0 [ $command ] - Parameter #1 [ $params ] - } - } - } - } - Class [ class swoole_process ] { - Constants [0] { @@ -841,7 +783,7 @@ Extension [ extension #166 swoole version 1.8.5 ] { - Properties [0] { } - - Methods [13] { + - Methods [14] { Method [ public method __construct ] { } @@ -851,6 +793,9 @@ Extension [ extension #166 swoole version 1.8.5 ] { Method [ public method useQueue ] { } + Method [ public method statQueue ] { + } + Method [ public method freeQueue ] { } @@ -1114,7 +1059,7 @@ Extension [ extension #166 swoole version 1.8.5 ] { Property [ private $global ] } - - Methods [35] { + - Methods [34] { Method [ public method on ] { - Parameters [2] { @@ -1123,9 +1068,6 @@ Extension [ extension #166 swoole version 1.8.5 ] { } } - Method [ public method setglobal ] { - } - Method [ public method start ] { } @@ -1374,7 +1316,7 @@ Extension [ extension #166 swoole version 1.8.5 ] { - Properties [0] { } - - Methods [8] { + - Methods [9] { Method [ public method cookie ] { } @@ -1398,6 +1340,9 @@ Extension [ extension #166 swoole version 1.8.5 ] { Method [ public method sendfile ] { } + + Method [ public method __destruct ] { + } } } @@ -1415,9 +1360,12 @@ Extension [ extension #166 swoole version 1.8.5 ] { - Properties [0] { } - - Methods [1] { + - Methods [2] { Method [ public method rawcontent ] { } + + Method [ public method __destruct ] { + } } } @@ -1495,7 +1443,7 @@ Extension [ extension #166 swoole version 1.8.5 ] { - Properties [0] { } - - Methods [36] { + - Methods [35] { Method [ public method on ] { - Parameters [2] { @@ -1521,9 +1469,6 @@ Extension [ extension #166 swoole version 1.8.5 ] { } } - Method [ public method setglobal ] { - } - Method [ public method start ] { } @@ -1768,6 +1713,149 @@ Extension [ extension #166 swoole version 1.8.5 ] { - Methods [0] { } } + + Class [ class swoole_mysql ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [6] { + Method [ public method __construct ] { + } + + Method [ public method __destruct ] { + } + + Method [ public method connect ] { + } + + Method [ public method query ] { + } + + Method [ public method close ] { + } + + Method [ public method on ] { + } + } + } + + Class [ class swoole_mysql_exception extends Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [10] { + Method [ method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ public method __wakeup ] { + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + + Class [ class swoole_redis ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [6] { + Method [ public method __construct ] { + } + + Method [ public method __destruct ] { + } + + Method [ public method on ] { + + - Parameters [2] { + Parameter #0 [ $event_name ] + Parameter #1 [ $callback ] + } + } + + Method [ public method connect ] { + + - Parameters [3] { + Parameter #0 [ $host ] + Parameter #1 [ $port ] + Parameter #2 [ $callback ] + } + } + + Method [ public method close ] { + } + + Method [ public method __call ] { + + - Parameters [2] { + Parameter #0 [ $command ] + Parameter #1 [ $params ] + } + } + } + } } } diff --git a/php-pecl-swoole.spec b/php-pecl-swoole.spec index 2fd6ff4..4fde2d9 100644 --- a/php-pecl-swoole.spec +++ b/php-pecl-swoole.spec @@ -34,7 +34,7 @@ Summary: PHP's asynchronous concurrent distributed networking framework Name: %{?sub_prefix}php-pecl-%{pecl_name} -Version: 1.8.5 +Version: 1.8.6 Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: BSD Group: Development/Languages @@ -86,6 +86,10 @@ Obsoletes: php56w-pecl-%{pecl_name} <= %{version} Obsoletes: php70u-pecl-%{pecl_name} <= %{version} Obsoletes: php70w-pecl-%{pecl_name} <= %{version} %endif +%if "%{php_version}" > "7.1" +Obsoletes: php71u-pecl-%{pecl_name} <= %{version} +Obsoletes: php71w-pecl-%{pecl_name} <= %{version} +%endif %endif %if 0%{?fedora} < 20 && 0%{?rhel} < 7 @@ -112,7 +116,9 @@ high performance for PHP. - async read/write file system - async dns lookup - support IPv4/IPv6/UnixSocket/TCP/UDP -- support SSL/TLS encrypted transmission +- support SSL/TLS encrypted transmission + +Documentation: https://rawgit.com/tchiotludo/swoole-ide-helper/english/docs/ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')%{?scl: as Software Collection (%{scl} by %{?scl_vendor}%{!?scl_vendor:rh})}. @@ -158,17 +164,11 @@ EOF %build -# --enable-async-mysql requires mysqlnd, so php >= 5.4 - peclbuild() { %configure \ --with-swoole \ --enable-openssl \ --enable-sockets \ -%if "%{php_version}" > "5.4" - --enable-async-mysql \ -%endif - --enable-async-httpclient \ %if %{with_nghttpd2} --enable-http2 \ %endif @@ -269,6 +269,11 @@ cd ../ZTS %changelog +* Thu Jun 16 2016 Remi Collet - 1.8.6-1 +- Update to 1.8.6 +- drop --enable-async-mysql and --enable-async-httpclient + removed upstream + * Thu May 12 2016 Remi Collet - 1.8.5-1 - Update to 1.8.5 -- cgit