From e34a6487f71dd787de0c8cfe8b41811c12a6fd7d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 17 Aug 2017 07:24:53 +0200 Subject: v3.4.0 --- REFLECTION | 343 ++++++++++++++++++++++++++++++++++++++----------- php-pecl-protobuf.spec | 11 +- 2 files changed, 274 insertions(+), 80 deletions(-) diff --git a/REFLECTION b/REFLECTION index f28040d..af9e0d0 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,7 +1,32 @@ -Extension [ extension #118 protobuf version 3.3.2 ] { +Extension [ extension #117 protobuf version 3.4.0 ] { - - Classes [9] { - Class [ class Google\Protobuf\Internal\MapField implements ArrayAccess, Countable ] { + - Classes [14] { + Class [ class Google\Protobuf\DescriptorPool ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [1] { + Method [ static public method getGeneratedPool ] { + } + } + + - Properties [0] { + } + + - Methods [2] { + Method [ public method getDescriptorByClassName ] { + } + + Method [ public method getEnumDescriptorByClassName ] { + } + } + } + + Class [ class Google\Protobuf\Descriptor ] { - Constants [0] { } @@ -16,47 +41,73 @@ Extension [ extension #118 protobuf version 3.3.2 ] { } - Methods [6] { - Method [ public method __construct ] { + Method [ public method getClass ] { } - Method [ public method offsetExists ] { - - - Parameters [1] { - Parameter #0 [ $index ] - } + Method [ public method getFullName ] { } - Method [ public method offsetGet ] { + Method [ public method getField ] { + } - - Parameters [1] { - Parameter #0 [ $index ] - } + Method [ public method getFieldCount ] { } - Method [ public method offsetSet ] { + Method [ public method getOneofDecl ] { + } - - Parameters [2] { - Parameter #0 [ $index ] - Parameter #1 [ $newval ] - } + Method [ public method getOneofDeclCount ] { } + } + } - Method [ public method offsetUnset ] { + Class [ class Google\Protobuf\EnumDescriptor ] { - - Parameters [1] { - Parameter #0 [ $index ] - } + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [2] { + Method [ public method getValue ] { } - Method [ public method count ] { + Method [ public method getValueCount ] { + } + } + } - - Parameters [0] { - } + Class [ class Google\Protobuf\EnumValueDescriptor ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [2] { + Method [ public method getName ] { + } + + Method [ public method getNumber ] { } } } - Class [ class Google\Protobuf\Internal\RepeatedField implements ArrayAccess, IteratorAggregate, Traversable, Countable ] { + Class [ class Google\Protobuf\FieldDescriptor ] { - Constants [0] { } @@ -70,11 +121,104 @@ Extension [ extension #118 protobuf version 3.3.2 ] { - Properties [0] { } - - Methods [8] { - Method [ public method __construct ] { + - Methods [7] { + Method [ public method getName ] { } - Method [ public method append ] { + Method [ public method getNumber ] { + } + + Method [ public method getLabel ] { + } + + Method [ public method getType ] { + } + + Method [ public method isMap ] { + } + + Method [ public method getEnumType ] { + } + + Method [ public method getMessageType ] { + } + } + } + + Class [ class Google\Protobuf\Internal\GPBType ] { + + - Constants [18] { + Constant [ integer DOUBLE ] { 1 } + Constant [ integer FLOAT ] { 2 } + Constant [ integer INT64 ] { 3 } + Constant [ integer UINT64 ] { 4 } + Constant [ integer INT32 ] { 5 } + Constant [ integer FIXED64 ] { 6 } + Constant [ integer FIXED32 ] { 7 } + Constant [ integer BOOL ] { 8 } + Constant [ integer STRING ] { 9 } + Constant [ integer GROUP ] { 10 } + Constant [ integer MESSAGE ] { 11 } + Constant [ integer BYTES ] { 12 } + Constant [ integer UINT32 ] { 13 } + Constant [ integer ENUM ] { 14 } + Constant [ integer SFIXED32 ] { 15 } + Constant [ integer SFIXED64 ] { 16 } + Constant [ integer SINT32 ] { 17 } + Constant [ integer SINT64 ] { 18 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ class Google\Protobuf\Internal\DescriptorPool ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [1] { + Method [ static public method getGeneratedPool ] { + } + } + + - Properties [0] { + } + + - Methods [1] { + Method [ public method internalAddGeneratedFile ] { + } + } + } + + Class [ class Google\Protobuf\Internal\MapField implements ArrayAccess, IteratorAggregate, Traversable, Countable ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [7] { + Method [ public method __construct ] { } Method [ public method offsetExists ] { @@ -120,7 +264,7 @@ Extension [ extension #118 protobuf version 3.3.2 ] { } } - Class [ class Google\Protobuf\Internal\RepeatedFieldIter implements Iterator, Traversable ] { + Class [ class Google\Protobuf\Internal\MapFieldIter implements Iterator, Traversable ] { - Constants [0] { } @@ -167,42 +311,6 @@ Extension [ extension #118 protobuf version 3.3.2 ] { } } - Class [ class Google\Protobuf\Internal\GPBType ] { - - - Constants [18] { - Constant [ integer DOUBLE ] { 1 } - Constant [ integer FLOAT ] { 2 } - Constant [ integer INT64 ] { 3 } - Constant [ integer UINT64 ] { 4 } - Constant [ integer INT32 ] { 5 } - Constant [ integer FIXED64 ] { 6 } - Constant [ integer FIXED32 ] { 7 } - Constant [ integer BOOL ] { 8 } - Constant [ integer STRING ] { 9 } - Constant [ integer GROUP ] { 10 } - Constant [ integer MESSAGE ] { 11 } - Constant [ integer BYTES ] { 12 } - Constant [ integer UINT32 ] { 13 } - Constant [ integer ENUM ] { 14 } - Constant [ integer SFIXED32 ] { 15 } - Constant [ integer SFIXED64 ] { 16 } - Constant [ integer SINT32 ] { 17 } - Constant [ integer SINT64 ] { 18 } - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [0] { - } - - - Methods [0] { - } - } - Class [ class Google\Protobuf\Internal\Message ] { - Constants [0] { @@ -227,10 +335,10 @@ Extension [ extension #118 protobuf version 3.3.2 ] { Method [ public method mergeFromString ] { } - Method [ public method jsonEncode ] { + Method [ public method serializeToJsonString ] { } - Method [ public method jsonDecode ] { + Method [ public method mergeFromJsonString ] { } Method [ public method mergeFrom ] { @@ -250,7 +358,7 @@ Extension [ extension #118 protobuf version 3.3.2 ] { } } - Class [ class Google\Protobuf\Internal\DescriptorPool ] { + Class [ class Google\Protobuf\OneofDescriptor ] { - Constants [0] { } @@ -258,21 +366,25 @@ Extension [ extension #118 protobuf version 3.3.2 ] { - Static properties [0] { } - - Static methods [1] { - Method [ static public method getGeneratedPool ] { - } + - Static methods [0] { } - Properties [0] { } - - Methods [1] { - Method [ public method internalAddGeneratedFile ] { + - Methods [3] { + Method [ public method getName ] { + } + + Method [ public method getField ] { + } + + Method [ public method getFieldCount ] { } } } - Class [ class Google\Protobuf\Internal\Descriptor ] { + Class [ class Google\Protobuf\Internal\RepeatedField implements ArrayAccess, IteratorAggregate, Traversable, Countable ] { - Constants [0] { } @@ -286,11 +398,57 @@ Extension [ extension #118 protobuf version 3.3.2 ] { - Properties [0] { } - - Methods [0] { + - Methods [8] { + Method [ public method __construct ] { + } + + Method [ public method append ] { + } + + Method [ public method offsetExists ] { + + - Parameters [1] { + Parameter #0 [ $index ] + } + } + + Method [ public method offsetGet ] { + + - Parameters [1] { + Parameter #0 [ $index ] + } + } + + Method [ public method offsetSet ] { + + - Parameters [2] { + Parameter #0 [ $index ] + Parameter #1 [ $newval ] + } + } + + Method [ public method offsetUnset ] { + + - Parameters [1] { + Parameter #0 [ $index ] + } + } + + Method [ public method count ] { + + - Parameters [0] { + } + } + + Method [ public method getIterator ] { + + - Parameters [0] { + } + } } } - Class [ class Google\Protobuf\Internal\EnumDescriptor ] { + Class [ class Google\Protobuf\Internal\RepeatedFieldIter implements Iterator, Traversable ] { - Constants [0] { } @@ -304,7 +462,36 @@ Extension [ extension #118 protobuf version 3.3.2 ] { - Properties [0] { } - - Methods [0] { + - Methods [5] { + Method [ public method rewind ] { + + - Parameters [0] { + } + } + + Method [ public method current ] { + + - Parameters [0] { + } + } + + Method [ public method key ] { + + - Parameters [0] { + } + } + + Method [ public method next ] { + + - Parameters [0] { + } + } + + Method [ public method valid ] { + + - Parameters [0] { + } + } } } diff --git a/php-pecl-protobuf.spec b/php-pecl-protobuf.spec index 5bd0451..ac73d04 100644 --- a/php-pecl-protobuf.spec +++ b/php-pecl-protobuf.spec @@ -21,8 +21,8 @@ Summary: Mechanism for serializing structured data Name: %{?sub_prefix}php-pecl-%{pecl_name} -Version: 3.3.2 -Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Version: 3.4.0 +Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: BSD Group: Development/Languages URL: http://pecl.php.net/package/%{pecl_name} @@ -122,6 +122,8 @@ EOF %build +%{?dtsenable} + cd NTS %{_bindir}/phpize %configure \ @@ -140,6 +142,8 @@ make %{?_smp_mflags} %install +%{?dtsenable} + # Install the NTS stuff make -C NTS install INSTALL_ROOT=%{buildroot} install -D -m 644 %{ini_name} %{buildroot}%{php_inidir}/%{ini_name} @@ -213,6 +217,9 @@ fi %changelog +* Thu Aug 17 2017 Remi Collet - 3.4.0-1 +- Update to 3.4.0 + * Tue Jul 18 2017 Remi Collet - 3.3.2-2 - rebuild for PHP 7.2.0beta1 new API -- cgit