From 8d7839ecb5411d8422b313a98849b7651c22b3d2 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 27 Jun 2020 17:16:03 +0200 Subject: update to 0.9.0 --- PHPINFO | 2 +- REFLECTION | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++++++-- php-brotli.spec | 7 +++++-- 3 files changed, 62 insertions(+), 5 deletions(-) diff --git a/PHPINFO b/PHPINFO index 21bcffd..323c37a 100644 --- a/PHPINFO +++ b/PHPINFO @@ -2,5 +2,5 @@ brotli Brotli support => enabled -Extension Version => 0.8.0 +Extension Version => 0.9.0 Library Version => 1.0.7 diff --git a/REFLECTION b/REFLECTION index 9ba7aa7..00eea17 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #114 brotli version 0.8.0 ] { +Extension [ extension #116 brotli version 0.9.0 ] { - INI { Entry [ brotli.output_compression ] @@ -9,13 +9,15 @@ Extension [ extension #114 brotli version 0.8.0 ] { } } - - Constants [6] { + - Constants [8] { Constant [ int BROTLI_GENERIC ] { 0 } Constant [ int BROTLI_TEXT ] { 1 } Constant [ int BROTLI_FONT ] { 2 } Constant [ int BROTLI_COMPRESS_LEVEL_MIN ] { 0 } Constant [ int BROTLI_COMPRESS_LEVEL_MAX ] { 11 } Constant [ int BROTLI_COMPRESS_LEVEL_DEFAULT ] { 11 } + Constant [ int BROTLI_PROCESS ] { 0 } + Constant [ int BROTLI_FINISH ] { 2 } } - Functions { @@ -49,6 +51,58 @@ Extension [ extension #114 brotli version 0.8.0 ] { Parameter #1 [ $max ] } } + Function [ function brotli_compress_init ] { + + - Parameters [0] { + } + } + Function [ function brotli_compress_add ] { + + - Parameters [3] { + Parameter #0 [ $context ] + Parameter #1 [ $data ] + Parameter #2 [ $mode ] + } + } + Function [ function brotli_uncompress_init ] { + + - Parameters [0] { + } + } + Function [ function brotli_uncompress_add ] { + + - Parameters [3] { + Parameter #0 [ $context ] + Parameter #1 [ $data ] + Parameter #2 [ $mode ] + } + } + Function [ function Brotli\compress_init ] { + + - Parameters [0] { + } + } + Function [ function Brotli\compress_add ] { + + - Parameters [3] { + Parameter #0 [ $context ] + Parameter #1 [ $data ] + Parameter #2 [ $mode ] + } + } + Function [ function Brotli\uncompress_init ] { + + - Parameters [0] { + } + } + Function [ function Brotli\uncompress_add ] { + + - Parameters [3] { + Parameter #0 [ $context ] + Parameter #1 [ $data ] + Parameter #2 [ $mode ] + } + } } } diff --git a/php-brotli.spec b/php-brotli.spec index 2c10110..6e91371 100644 --- a/php-brotli.spec +++ b/php-brotli.spec @@ -23,7 +23,7 @@ %global with_libbrotli 0 %endif -%global gh_commit f8ad32c46936bcc22c601d08f182e5029ad925db +%global gh_commit c1f837567e630b6cb1d2f1f3e9e7913aa393957d %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner kjdev %global gh_project php-ext-brotli @@ -34,7 +34,7 @@ Summary: Brotli Extension for PHP Name: %{?sub_prefix}php-%{pecl_name} -Version: 0.8.0 +Version: 0.9.0 %if 0%{?gh_date:1} Release: 1%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} %else @@ -224,6 +224,9 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Sat Jun 27 2020 Remi Collet - 0.9.0-1 +- update to 0.9.0 + * Fri Jun 5 2020 Remi Collet - 0.8.0-1 - update to 0.8.0 - drop patch merged upstream -- cgit