From f8def80fe07e0de222837b56389d8472891c0356 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 24 Aug 2020 10:01:14 +0200 Subject: v3.1.0 --- PHPINFO | 3 +- REFLECTION | 113 +++++++++++++++++++++++++++++++++++++++++++++++- php-pecl-mailparse.spec | 9 ++-- 3 files changed, 118 insertions(+), 7 deletions(-) diff --git a/PHPINFO b/PHPINFO index 87ebcd2..6f37623 100644 --- a/PHPINFO +++ b/PHPINFO @@ -2,8 +2,7 @@ mailparse mailparse support => enabled -Extension Version => 3.0.4 -Revision => $Revision$ +Extension Version => 3.1.0 Directive => Local Value => Master Value mailparse.def_charset => us-ascii => us-ascii diff --git a/REFLECTION b/REFLECTION index 37222e0..5221e9d 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #80 mailparse version 3.0.4 ] { +Extension [ extension #83 mailparse version 3.1.0 ] { - Dependencies { Dependency [ mbstring (Required) ] @@ -18,34 +18,103 @@ Extension [ extension #80 mailparse version 3.0.4 ] { - Functions { Function [ function mailparse_msg_parse_file ] { + + - Parameters [1] { + Parameter #0 [ $filename ] + } } Function [ function mailparse_msg_get_part ] { + + - Parameters [2] { + Parameter #0 [ $fp ] + Parameter #1 [ $data ] + } } Function [ function mailparse_msg_get_structure ] { + + - Parameters [1] { + Parameter #0 [ $fp ] + } } Function [ function mailparse_msg_get_part_data ] { + + - Parameters [1] { + Parameter #0 [ $fp ] + } } Function [ function mailparse_msg_extract_part ] { + + - Parameters [3] { + Parameter #0 [ $fp ] + Parameter #1 [ $msgbody ] + Parameter #2 [ $callback ] + } } Function [ function mailparse_msg_extract_part_file ] { + + - Parameters [3] { + Parameter #0 [ $fp ] + Parameter #1 [ $filename ] + Parameter #2 [ $callback ] + } } Function [ function mailparse_msg_extract_whole_part_file ] { + + - Parameters [3] { + Parameter #0 [ $fp ] + Parameter #1 [ $filename ] + Parameter #2 [ $callback ] + } } Function [ function mailparse_msg_create ] { + + - Parameters [0] { + } } Function [ function mailparse_msg_free ] { + + - Parameters [1] { + Parameter #0 [ $fp ] + } } Function [ function mailparse_msg_parse ] { + + - Parameters [2] { + Parameter #0 [ $fp ] + Parameter #1 [ $data ] + } } Function [ function mailparse_rfc822_parse_addresses ] { + + - Parameters [1] { + Parameter #0 [ $addresses ] + } } Function [ function mailparse_determine_best_xfer_encoding ] { + + - Parameters [1] { + Parameter #0 [ $fp ] + } } Function [ function mailparse_stream_encode ] { + + - Parameters [3] { + Parameter #0 [ $source_fp ] + Parameter #1 [ $dest_fp ] + Parameter #2 [ $encoding ] + } } Function [ function mailparse_uudecode_all ] { + + - Parameters [1] { + Parameter #0 [ $fp ] + } } Function [ function mailparse_test ] { + + - Parameters [1] { + Parameter #0 [ $header ] + } } } @@ -65,34 +134,74 @@ Extension [ extension #80 mailparse version 3.0.4 ] { } - Methods [10] { - Method [ public method mimemessage ] { + Method [ public method __construct ] { + + - Parameters [2] { + Parameter #0 [ $mode ] + Parameter #1 [ $source ] + } } Method [ public method get_child ] { + + - Parameters [1] { + Parameter #0 [ $item_to_find ] + } } Method [ public method get_child_count ] { + + - Parameters [0] { + } } Method [ public method get_parent ] { + + - Parameters [0] { + } } Method [ public method extract_headers ] { + + - Parameters [2] { + Parameter #0 [ $mode ] + Parameter #1 [ $arg ] + } } Method [ public method extract_body ] { + + - Parameters [2] { + Parameter #0 [ $mode ] + Parameter #1 [ $arg ] + } } Method [ public method enum_uue ] { + + - Parameters [0] { + } } Method [ public method extract_uue ] { + + - Parameters [3] { + Parameter #0 [ $index ] + Parameter #1 [ $mode ] + Parameter #2 [ $arg ] + } } Method [ public method remove ] { + + - Parameters [0] { + } } Method [ public method add_child ] { + + - Parameters [0] { + } } } } diff --git a/php-pecl-mailparse.spec b/php-pecl-mailparse.spec index 18743c4..6973f28 100644 --- a/php-pecl-mailparse.spec +++ b/php-pecl-mailparse.spec @@ -3,7 +3,7 @@ # # Fedora spec file for php-pecl-mailparse # -# Copyright (c) 2008-2019 Remi Collet +# Copyright (c) 2008-2020 Remi Collet # Copyright (c) 2004-2007 Matthias Saou # # License: MIT @@ -26,7 +26,7 @@ Summary: PHP PECL package for parsing and working with email messages Name: %{?sub_prefix}php-pecl-mailparse -Version: 3.0.4 +Version: 3.1.0 Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: PHP URL: https://pecl.php.net/package/mailparse @@ -56,7 +56,7 @@ Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{rele Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{release} %endif -%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel} +%if "%{?packager}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel} # Other third party repo stuff %if "%{php_version}" > "7.2" Obsoletes: php72u-pecl-%{pecl_name} <= %{version} @@ -222,6 +222,9 @@ fi %changelog +* Wed Apr 22 2020 Remi Collet - 3.1.0-1 +- update to 3.1.0 + * Thu Dec 19 2019 Remi Collet - 3.0.4-1 - update to 3.0.4 -- cgit