From 1f946001760a5e69868578f1c7a039c0fc0ec283 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 4 Mar 2022 06:50:58 +0100 Subject: update to 1.2.0 --- PHPINFO | 2 +- REFLECTION | 777 ++++++++++++++++++++++++++++++++++++++++++++++------- php-pecl-teds.spec | 5 +- 3 files changed, 681 insertions(+), 103 deletions(-) diff --git a/PHPINFO b/PHPINFO index 774118b..4f85831 100644 --- a/PHPINFO +++ b/PHPINFO @@ -2,4 +2,4 @@ teds teds support => enabled -teds version => 1.1.2 +teds version => 1.2.0 diff --git a/REFLECTION b/REFLECTION index b82a9dd..b30939d 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #99 teds version 1.1.2 ] { +Extension [ extension #99 teds version 1.2.0 ] { - Functions { Function [ function Teds\any ] { @@ -107,7 +107,7 @@ Extension [ extension #99 teds version 1.1.2 ] { } } - - Classes [22] { + - Classes [25] { Interface [ interface Teds\Collection extends Traversable, Countable ] { - Constants [0] { @@ -181,7 +181,7 @@ Extension [ extension #99 teds version 1.1.2 ] { - Properties [0] { } - - Methods [16] { + - Methods [19] { Method [ abstract public method get ] { - Parameters [1] { @@ -199,6 +199,15 @@ Extension [ extension #99 teds version 1.1.2 ] { - Return [ void ] } + Method [ abstract public method insert ] { + + - Parameters [2] { + Parameter #0 [ int $offset ] + Parameter #1 [ mixed ...$values ] + } + - Return [ void ] + } + Method [ abstract public method push ] { - Parameters [1] { @@ -229,6 +238,20 @@ Extension [ extension #99 teds version 1.1.2 ] { - Return [ mixed ] } + Method [ abstract public method first ] { + + - Parameters [0] { + } + - Return [ mixed ] + } + + Method [ abstract public method last ] { + + - Parameters [0] { + } + - Return [ mixed ] + } + Method [ abstract public method values ] { - Parameters [0] { @@ -564,7 +587,7 @@ Extension [ extension #99 teds version 1.1.2 ] { } } - Class [ final class Teds\BitSet implements IteratorAggregate, Traversable, Teds\Sequence, ArrayAccess, Countable, Teds\Collection, JsonSerializable ] { + Class [ final class Teds\BitVector implements IteratorAggregate, Traversable, Teds\Sequence, ArrayAccess, Countable, Teds\Collection, JsonSerializable ] { - Constants [0] { } @@ -578,7 +601,7 @@ Extension [ extension #99 teds version 1.1.2 ] { - Parameters [1] { Parameter #0 [ string $data ] } - - Return [ Teds\BitSet ] + - Return [ Teds\BitVector ] } Method [ static public method fromBinaryString ] { @@ -586,7 +609,7 @@ Extension [ extension #99 teds version 1.1.2 ] { - Parameters [1] { Parameter #0 [ string $data ] } - - Return [ Teds\BitSet ] + - Return [ Teds\BitVector ] } Method [ static public method __set_state ] { @@ -594,14 +617,14 @@ Extension [ extension #99 teds version 1.1.2 ] { - Parameters [1] { Parameter #0 [ array $array ] } - - Return [ Teds\BitSet ] + - Return [ Teds\BitVector ] } } - Properties [0] { } - - Methods [42] { + - Methods [43] { Method [ public method __construct ] { - Parameters [1] { @@ -682,6 +705,15 @@ Extension [ extension #99 teds version 1.1.2 ] { - Return [ void ] } + Method [ public method insert ] { + + - Parameters [2] { + Parameter #0 [ int $offset ] + Parameter #1 [ mixed ...$values ] + } + - Return [ void ] + } + Method [ public method pushBits ] { - Parameters [1] { @@ -690,14 +722,14 @@ Extension [ extension #99 teds version 1.1.2 ] { - Return [ void ] } - Method [ public method first ] { + Method [ public method first ] { - Parameters [0] { } - Return [ bool ] } - Method [ public method last ] { + Method [ public method last ] { - Parameters [0] { } @@ -1126,7 +1158,7 @@ Extension [ extension #99 teds version 1.1.2 ] { - Properties [0] { } - - Methods [28] { + - Methods [29] { Method [ public method __construct ] { - Parameters [1] { @@ -1207,7 +1239,7 @@ Extension [ extension #99 teds version 1.1.2 ] { - Return [ mixed ] } - Method [ public method first ] { + Method [ public method first ] { - Parameters [0] { } @@ -1221,7 +1253,7 @@ Extension [ extension #99 teds version 1.1.2 ] { - Return [ mixed ] } - Method [ public method last ] { + Method [ public method last ] { - Parameters [0] { } @@ -1266,6 +1298,15 @@ Extension [ extension #99 teds version 1.1.2 ] { - Return [ void ] } + Method [ public method insert ] { + + - Parameters [2] { + Parameter #0 [ int $offset ] + Parameter #1 [ mixed ...$values ] + } + - Return [ void ] + } + Method [ public method offsetGet ] { - Parameters [1] { @@ -1533,11 +1574,11 @@ Extension [ extension #99 teds version 1.1.2 ] { - Properties [0] { } - - Methods [27] { + - Methods [28] { Method [ public method __construct ] { - Parameters [1] { - Parameter #0 [ iterable $iterator ] + Parameter #0 [ iterable $iterator = [] ] } } @@ -1608,7 +1649,444 @@ Extension [ extension #99 teds version 1.1.2 ] { - Return [ void ] } - Method [ public method push ] { + Method [ public method insert ] { + + - Parameters [2] { + Parameter #0 [ int $offset ] + Parameter #1 [ mixed ...$values ] + } + - Return [ void ] + } + + Method [ public method push ] { + + - Parameters [1] { + Parameter #0 [ mixed ...$values ] + } + - Return [ void ] + } + + Method [ public method pop ] { + + - Parameters [0] { + } + - Return [ mixed ] + } + + Method [ public method unshift ] { + + - Parameters [1] { + Parameter #0 [ mixed ...$values ] + } + - Return [ void ] + } + + Method [ public method shift ] { + + - Parameters [0] { + } + - Return [ mixed ] + } + + Method [ public method first ] { + + - Parameters [0] { + } + - Return [ mixed ] + } + + Method [ public method last ] { + + - Parameters [0] { + } + - Return [ mixed ] + } + + Method [ public method clear ] { + + - Parameters [0] { + } + - Return [ void ] + } + + Method [ public method offsetGet ] { + + - Parameters [1] { + Parameter #0 [ mixed $offset ] + } + - Return [ mixed ] + } + + Method [ public method offsetExists ] { + + - Parameters [1] { + Parameter #0 [ mixed $offset ] + } + - Return [ bool ] + } + + Method [ public method containsKey ] { + + - Parameters [1] { + Parameter #0 [ mixed $offset ] + } + - Return [ bool ] + } + + Method [ public method offsetSet ] { + + - Parameters [2] { + Parameter #0 [ mixed $offset ] + Parameter #1 [ mixed $value ] + } + - Return [ void ] + } + + Method [ public method offsetUnset ] { + + - Parameters [1] { + Parameter #0 [ mixed $offset ] + } + - Return [ void ] + } + + Method [ public method indexOf ] { + + - Parameters [1] { + Parameter #0 [ mixed $value ] + } + - Return [ ?int ] + } + + Method [ public method contains ] { + + - Parameters [1] { + Parameter #0 [ mixed $value ] + } + - Return [ bool ] + } + + Method [ public method map ] { + + - Parameters [1] { + Parameter #0 [ callable $callback ] + } + - Return [ Teds\ImmutableSequence ] + } + + Method [ public method filter ] { + + - Parameters [1] { + Parameter #0 [ ?callable $callback = null ] + } + - Return [ Teds\ImmutableSequence ] + } + + Method [ public method jsonSerialize ] { + + - Parameters [0] { + } + - Return [ array ] + } + } + } + + Class [ final class Teds\ImmutableSortedStringSet implements IteratorAggregate, Traversable, Teds\Set, Countable, Teds\Collection, JsonSerializable ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [2] { + Method [ static public method unserialize ] { + + - Parameters [1] { + Parameter #0 [ string $data ] + } + - Return [ Teds\ImmutableSortedStringSet ] + } + + Method [ static public method __set_state ] { + + - Parameters [1] { + Parameter #0 [ array $array ] + } + - Return [ Teds\ImmutableSortedStringSet ] + } + } + + - Properties [0] { + } + + - Methods [18] { + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ iterable $iterator = [] ] + } + } + + Method [ public method getIterator ] { + + - Parameters [0] { + } + - Return [ InternalIterator ] + } + + Method [ public method count ] { + + - Parameters [0] { + } + - Return [ int ] + } + + Method [ public method isEmpty ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ public method __serialize ] { + + - Parameters [0] { + } + - Return [ array ] + } + + Method [ public method __unserialize ] { + + - Parameters [1] { + Parameter #0 [ array $data ] + } + - Return [ void ] + } + + Method [ public method serialize ] { + + - Parameters [0] { + } + - Return [ string ] + } + + Method [ public method add ] { + + - Parameters [1] { + Parameter #0 [ mixed $value ] + } + - Return [ bool ] + } + + Method [ public method remove ] { + + - Parameters [1] { + Parameter #0 [ mixed $value ] + } + - Return [ bool ] + } + + Method [ public method clear ] { + + - Parameters [0] { + } + - Return [ void ] + } + + Method [ public method first ] { + + - Parameters [0] { + } + - Return [ string ] + } + + Method [ public method last ] { + + - Parameters [0] { + } + - Return [ string ] + } + + Method [ public method toArray ] { + + - Parameters [0] { + } + - Return [ array ] + } + + Method [ public method values ] { + + - Parameters [0] { + } + - Return [ array ] + } + + Method [ public method get ] { + + - Parameters [1] { + Parameter #0 [ int $offset ] + } + - Return [ string ] + } + + Method [ public method indexOf ] { + + - Parameters [1] { + Parameter #0 [ string $value ] + } + - Return [ ?int ] + } + + Method [ public method contains ] { + + - Parameters [1] { + Parameter #0 [ mixed $value ] + } + - Return [ bool ] + } + + Method [ public method jsonSerialize ] { + + - Parameters [0] { + } + - Return [ array ] + } + } + } + + Class [ final class Teds\IntVector implements IteratorAggregate, Traversable, Teds\Sequence, ArrayAccess, Countable, Teds\Collection, JsonSerializable ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [2] { + Method [ static public method unserialize ] { + + - Parameters [1] { + Parameter #0 [ string $data ] + } + - Return [ Teds\IntVector ] + } + + Method [ static public method __set_state ] { + + - Parameters [1] { + Parameter #0 [ array $array ] + } + - Return [ Teds\IntVector ] + } + } + + - Properties [0] { + } + + - Methods [30] { + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ iterable $iterator = [] ] + } + } + + Method [ public method getIterator ] { + + - Parameters [0] { + } + - Return [ InternalIterator ] + } + + Method [ public method count ] { + + - Parameters [0] { + } + - Return [ int ] + } + + Method [ public method isEmpty ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ public method capacity ] { + + - Parameters [0] { + } + - Return [ int ] + } + + Method [ public method __serialize ] { + + - Parameters [0] { + } + - Return [ array ] + } + + Method [ public method __unserialize ] { + + - Parameters [1] { + Parameter #0 [ array $data ] + } + - Return [ void ] + } + + Method [ public method serialize ] { + + - Parameters [0] { + } + - Return [ string ] + } + + Method [ public method push ] { + + - Parameters [1] { + Parameter #0 [ mixed ...$values ] + } + - Return [ void ] + } + + Method [ public method pushInts ] { + + - Parameters [1] { + Parameter #0 [ int ...$values ] + } + - Return [ void ] + } + + Method [ public method pop ] { + + - Parameters [0] { + } + - Return [ int ] + } + + Method [ public method first ] { + + - Parameters [0] { + } + - Return [ int ] + } + + Method [ public method last ] { + + - Parameters [0] { + } + - Return [ int ] + } + + Method [ public method clear ] { + + - Parameters [0] { + } + - Return [ void ] + } + + Method [ public method unshift ] { - Parameters [1] { Parameter #0 [ mixed ...$values ] @@ -1616,45 +2094,58 @@ Extension [ extension #99 teds version 1.1.2 ] { - Return [ void ] } - Method [ public method pop ] { + Method [ public method insert ] { - - Parameters [0] { + - Parameters [2] { + Parameter #0 [ int $offset ] + Parameter #1 [ mixed ...$values ] } - - Return [ mixed ] + - Return [ void ] } - Method [ public method unshift ] { + Method [ public method shift ] { - - Parameters [1] { - Parameter #0 [ mixed ...$values ] + - Parameters [0] { } - - Return [ void ] + - Return [ int ] } - Method [ public method shift ] { + Method [ public method toArray ] { - Parameters [0] { } - - Return [ mixed ] + - Return [ array ] } - Method [ public method first ] { + Method [ public method values ] { - Parameters [0] { } - - Return [ mixed ] + - Return [ array ] } - Method [ public method last ] { + Method [ public method get ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ int $offset ] } - - Return [ mixed ] + - Return [ int ] } - Method [ public method clear ] { + Method [ public method set ] { - - Parameters [0] { + - Parameters [2] { + Parameter #0 [ int $offset ] + Parameter #1 [ mixed $value ] + } + - Return [ void ] + } + + Method [ public method setInt ] { + + - Parameters [2] { + Parameter #0 [ int $offset ] + Parameter #1 [ int $value ] } - Return [ void ] } @@ -1703,7 +2194,7 @@ Extension [ extension #99 teds version 1.1.2 ] { Method [ public method indexOf ] { - Parameters [1] { - Parameter #0 [ mixed $value ] + Parameter #0 [ int $value ] } - Return [ ?int ] } @@ -1716,22 +2207,6 @@ Extension [ extension #99 teds version 1.1.2 ] { - Return [ bool ] } - Method [ public method map ] { - - - Parameters [1] { - Parameter #0 [ callable $callback ] - } - - Return [ Teds\ImmutableSequence ] - } - - Method [ public method filter ] { - - - Parameters [1] { - Parameter #0 [ ?callable $callback = null ] - } - - Return [ Teds\ImmutableSequence ] - } - Method [ public method jsonSerialize ] { - Parameters [0] { @@ -1741,7 +2216,7 @@ Extension [ extension #99 teds version 1.1.2 ] { } } - Class [ final class Teds\IntVector implements IteratorAggregate, Traversable, Teds\Sequence, ArrayAccess, Countable, Teds\Collection, JsonSerializable ] { + Class [ final class Teds\SortedIntVectorSet implements IteratorAggregate, Traversable, Teds\Set, Countable, Teds\Collection, JsonSerializable ] { - Constants [0] { } @@ -1762,7 +2237,7 @@ Extension [ extension #99 teds version 1.1.2 ] { - Properties [0] { } - - Methods [28] { + - Methods [20] { Method [ public method __construct ] { - Parameters [1] { @@ -1813,23 +2288,37 @@ Extension [ extension #99 teds version 1.1.2 ] { - Return [ void ] } - Method [ public method push ] { + Method [ public method pop ] { + + - Parameters [0] { + } + - Return [ int ] + } + + Method [ public method add ] { - Parameters [1] { - Parameter #0 [ mixed ...$values ] + Parameter #0 [ mixed $value ] } - - Return [ void ] + - Return [ bool ] } - Method [ public method pushInts ] { + Method [ public method remove ] { - Parameters [1] { - Parameter #0 [ int ...$values ] + Parameter #0 [ mixed $value ] + } + - Return [ bool ] + } + + Method [ public method clear ] { + + - Parameters [0] { } - Return [ void ] } - Method [ public method pop ] { + Method [ public method shift ] { - Parameters [0] { } @@ -1850,107 +2339,175 @@ Extension [ extension #99 teds version 1.1.2 ] { - Return [ int ] } - Method [ public method clear ] { + Method [ public method toArray ] { - Parameters [0] { } - - Return [ void ] + - Return [ array ] } - Method [ public method unshift ] { + Method [ public method values ] { - - Parameters [1] { - Parameter #0 [ mixed ...$values ] + - Parameters [0] { } - - Return [ void ] + - Return [ array ] } - Method [ public method shift ] { + Method [ public method get ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ int $offset ] } - Return [ int ] } - Method [ public method toArray ] { + Method [ public method indexOf ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ int $value ] } - - Return [ array ] + - Return [ ?int ] } - Method [ public method values ] { + Method [ public method contains ] { + + - Parameters [1] { + Parameter #0 [ mixed $value ] + } + - Return [ bool ] + } + + Method [ public method jsonSerialize ] { - Parameters [0] { } - Return [ array ] } + } + } + + Class [ final class Teds\ImmutableSortedIntSet implements IteratorAggregate, Traversable, Teds\Set, Countable, Teds\Collection, JsonSerializable ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [1] { + Method [ static public method __set_state ] { + + - Parameters [1] { + Parameter #0 [ array $array ] + } + - Return [ Teds\ImmutableSortedIntSet ] + } + } - Method [ public method get ] { + - Properties [0] { + } + + - Methods [17] { + Method [ public method __construct ] { - Parameters [1] { - Parameter #0 [ int $offset ] + Parameter #0 [ iterable $iterator = [] ] + } + } + + Method [ public method getIterator ] { + + - Parameters [0] { + } + - Return [ InternalIterator ] + } + + Method [ public method count ] { + + - Parameters [0] { } - Return [ int ] } - Method [ public method set ] { + Method [ public method isEmpty ] { - - Parameters [2] { - Parameter #0 [ int $offset ] - Parameter #1 [ mixed $value ] + - Parameters [0] { } - - Return [ void ] + - Return [ bool ] } - Method [ public method setInt ] { + Method [ public method __serialize ] { - - Parameters [2] { - Parameter #0 [ int $offset ] - Parameter #1 [ int $value ] + - Parameters [0] { } - - Return [ void ] + - Return [ array ] } - Method [ public method offsetGet ] { + Method [ public method __unserialize ] { - Parameters [1] { - Parameter #0 [ mixed $offset ] + Parameter #0 [ array $data ] } - - Return [ mixed ] + - Return [ void ] } - Method [ public method offsetExists ] { + Method [ public method add ] { - Parameters [1] { - Parameter #0 [ mixed $offset ] + Parameter #0 [ mixed $value ] } - Return [ bool ] } - Method [ public method containsKey ] { + Method [ public method remove ] { - Parameters [1] { - Parameter #0 [ mixed $offset ] + Parameter #0 [ mixed $value ] } - Return [ bool ] } - Method [ public method offsetSet ] { + Method [ public method clear ] { - - Parameters [2] { - Parameter #0 [ mixed $offset ] - Parameter #1 [ mixed $value ] + - Parameters [0] { } - Return [ void ] } - Method [ public method offsetUnset ] { + Method [ public method first ] { + + - Parameters [0] { + } + - Return [ int ] + } + + Method [ public method last ] { + + - Parameters [0] { + } + - Return [ int ] + } + + Method [ public method toArray ] { + + - Parameters [0] { + } + - Return [ array ] + } + + Method [ public method values ] { + + - Parameters [0] { + } + - Return [ array ] + } + + Method [ public method get ] { - Parameters [1] { - Parameter #0 [ mixed $offset ] + Parameter #0 [ int $offset ] } - - Return [ void ] + - Return [ int ] } Method [ public method indexOf ] { @@ -2228,7 +2785,7 @@ Extension [ extension #99 teds version 1.1.2 ] { - Properties [0] { } - - Methods [26] { + - Methods [27] { Method [ public method __construct ] { - Parameters [1] { @@ -2279,14 +2836,14 @@ Extension [ extension #99 teds version 1.1.2 ] { - Return [ void ] } - Method [ public method first ] { + Method [ public method first ] { - Parameters [0] { } - Return [ mixed ] } - Method [ public method last ] { + Method [ public method last ] { - Parameters [0] { } @@ -2316,6 +2873,15 @@ Extension [ extension #99 teds version 1.1.2 ] { - Return [ void ] } + Method [ public method insert ] { + + - Parameters [2] { + Parameter #0 [ int $offset ] + Parameter #1 [ mixed ...$values ] + } + - Return [ void ] + } + Method [ public method shift ] { - Parameters [0] { @@ -3898,7 +4464,7 @@ Extension [ extension #99 teds version 1.1.2 ] { - Properties [0] { } - - Methods [31] { + - Methods [32] { Method [ public method __construct ] { - Parameters [1] { @@ -4010,14 +4576,14 @@ Extension [ extension #99 teds version 1.1.2 ] { - Return [ mixed ] } - Method [ public method first ] { + Method [ public method first ] { - Parameters [0] { } - Return [ mixed ] } - Method [ public method last ] { + Method [ public method last ] { - Parameters [0] { } @@ -4055,6 +4621,15 @@ Extension [ extension #99 teds version 1.1.2 ] { - Return [ void ] } + Method [ public method insert ] { + + - Parameters [2] { + Parameter #0 [ int $offset ] + Parameter #1 [ mixed ...$values ] + } + - Return [ void ] + } + Method [ public method offsetGet ] { - Parameters [1] { diff --git a/php-pecl-teds.spec b/php-pecl-teds.spec index 6a5ea23..04a128c 100644 --- a/php-pecl-teds.spec +++ b/php-pecl-teds.spec @@ -19,7 +19,7 @@ %global pecl_name teds %global ini_name 40-%{pecl_name}.ini -%global upstream_version 1.1.2 +%global upstream_version 1.2.0 #global upstream_prever a1 Summary: Tentative Extra Data Structures @@ -194,6 +194,9 @@ fi %changelog +* Fri Mar 4 2022 Remi Collet - 1.2.0-1 +- update to 1.2.0 + * Mon Feb 21 2022 Remi Collet - 1.1.2-1 - update to 1.1.2 -- cgit