2002-11-13 Wakaba * Util.pm (%FMT2STR, sprintxf): Aliasnized. (Moved to new module Message::Util::Formatter.) * Util/: New directory. 2002-08-05 Wakaba * Util.pm: - (sprintxf): Use Message::Util::Wide::unquote_if_quoted_string instead of Message::Util::unquote_if_quoted_string. - (Message::Util::Wide): New package. - (%Message::Util::Wide::REG): New hash. - (Message::Util::unquote_if_quoted_string): New function. - NOTE: "Wide" package is created to support utf8 string of perl 5.7.3 or later. Utf8 string does not work only for [\x00-\xFF] regex of current functions, and this regex is used as (?:.|\x0D|\x0A). (Without 's' option, "." does not match with newline character.) When we can do away problematic code from all Message::* modules, we can also do away "Wide" package. 2002-08-04 Wakaba * Entity.pm: Don't fill_source by default if format =~ http. 2002-08-01 Wakaba * Entity.pm (list_name, list_count): New methods. 2002-07-28 Wakaba * Entity.pm (destination, sender): New methods. * Tool.pm (escape_from, unescape_from): New functions. 2002-07-26 Wakaba * Entity.pm: - (fill_missing_fields): New option. - (fill_source, fill_destination): New options. - (hook_stringify_fill_fields): Option removed. * Header.pm: - (_header_cmp): Removed. - (@header_order, %header_order): Removed. - (_scan_sort): Use Message::Header::* namespace packages to sort. 2002-07-25 Wakaba * Tool.pm: New module. 2002-07-22 Wakaba * Util.pm: Some fix for new returned value style of Message::MIME::Charset. 2002-07-21 Wakaba * Entity.pm (import): New. 2002-07-20 Wakaba * Entity.pm (content_type): Guess media type: text/x-message-rfc1153, text/x-pgp-cleatext-singed, application/pgp, text/x-message-pem. 2002-07-19 Wakaba * Entity.pm: - (guess_media_type): New option. - (content_type): Guess media type (text/x-message-rfc934) if necessary. 2002-07-13 Wakaba * Util.pm: - (get_host_fqdn): New function. - (%OPTION): New hash. * Entity.pm (stringify): Pass 'format' option to the body (when stringify'ing it) with -parent_format option, instead of -format option. 2002-07-08 Wakaba * Entity.pm (parse): Typo fix. * Header.pm (hook_init_fill_options, hook_stringify_fill_fields): New options. 2002-07-07 Wakaba * Entity.pm (check_md5): New method. * Entity.pm (fill_md5, fill_md5_name, recalc_md5): New options. 2002-07-06 Wakaba * Header.pm: Support of RFC 2774 namespace. 2002-07-04 Wakaba * Util.pm (encode_printable_string, decode_printable_string, encode_t71_string, decode_t71_string, encode_restricted_rfc822, decode_restricted_rfc822): New functions. 2002-07-02 Wakaba * Util.pm (decide_newline): New function. * Entity.pm (parse): Call Message::Util::decide_newline instead of local code. 2002-06-23 Wakaba * Entity.pm (header_default_charset, header_default_charset_input): New options. * Header.pm (ditto): Likewise. * Util.pm - (angle_quoted, angle_qcontent, M_angle_quoted): New regexs (Moved from Message::Field::AngleQuoted). - (decode_ccontent): Order of arguments of Message::MIME::EncodedWord::decode_ccontent is changed. - (unquote_if_angle_quoted): New function. 2002-06-16 wakaba * Header.pm (_n11n_field_name): Check namespace definition's case_sensible option. * Entity.pm (_add_ua): Removed. (Moved to Message::Field::UA.) 2002-06-14 wakaba * Entity.pm (parse): See 'strict_linebreak' option and guess data's linebreak sequence. 2002-06-11 wakaba * Header.pm (_item_match): Bug fix of "-by => 'ns'". * Partial.pm (reassembly): New function. 2002-06-10 wakaba * Entity.pm (force_mime_entity): New option. * Header.pm (_item_match): -by => 'ns': New option. * Partial.pm: New module. 2002-06-09 wakaba * Entity.pm: - (stringify): Minimumize MIME charset name when MIME'izing. - (mime-entity): New 'format' type. - (default_media_subtype): New option. Now 'default_media_type' is used for only (narrower meaning of) media type. - (content_type): See 'default_media_type' and 'default_media_subtype'. (Was hardcoded as 'text/plain'.) - (option): '-resucrive': new option. * Header.pm (parse, parse_array): Don't discard invalid line (non-'field' line). (Treat as "X-Unknown" field.) 2002-06-01 wakaba * Entity.pm (_encode_body): Some bug fixes and better support of CT/CTE/charset. (_parse_value): Passes options 'body_default_charset' and 'body_default_charset_input' and parameter 'header' to body class. * Util.pm (encode_body_string, encode_header_string): Returns minimum charset name if available. 2002-05-30 wakaba * Entity.pm (_encode_body): Checks charset name to decide CTE. 2002-05-29 wakaba * Entity.pm: - (%ENCODE, %DECODE): Removed. (Moved to Message::MIME::Encoding) - Uses \x0D\x0A instead of \n. (Temporary. `linebreak-strict' and related options should be implemented /strictly/.) - (_encode_body): Checks media type to choose CTE. - (accept_coderange): New option. - (body_default_media_type, body_default_charset): Likewise. - (fill_ct): Likewise. - Uses %Message::Header::NS_phname2uri instead of direct access to namespace definition package. - (content_type): Returns (type, subtype) list when wantarray'ed. - (media_type): New method. (Alias of content_type) * Header.pm (_replace_hash_shift): Checks namespace of field name. 2002-05-26 wakaba * Header.pm (url_mailto_safe): Removed. (Moved to Message::Header::RFC822.) * Makefile: New file. * Entity.pm: Uses Win32 if use_config and $^O eq MSWin32. 2002-05-25 wakaba * Entity.pm, Header.pm: Supports namespaced header field name started with { prefix "-" }. (But it is not completely supported yet.) * Header/: New directory. * Header.pm: Uses Message::Field::Structured as parent module. 2002-05-16 wakaba * Util.pm: - ($REG{NON_http_attribute_char_wsp}): New regex. - (wsps_to_sp): New function. - (decode_header_string): Don't do away tail WSPs. - TODO: Util.pm must have some needless functions. 2002-05-15 wakaba * Header.pm: - Add Resent-User-Agent: field support. - Use Message::Field::Addresses instead of Message::Field::Address. 2002-05-14 wakaba * Entity.pm (pod:uri-url-mailto-*): New list-items. (stringify): Output mailto: URL when format =~ url-mailto. * Header.pm (stringify): Ditto. * Util.pm: Bugs are fixed. (remove_meaningless_wsp): New function. 2002-04-21 wakaba * Entity.pm (pod:C): New section. 2002-04-05 wakaba * Util.pm: Add some functions from Message::Field::Structured. 2002-04-03 wakaba * Entity.pm, Header.pm: Updated. 2002-03-31 wakaba * Header.pm: Support Message::Field::URI. 2002-03-27 wakaba * Fix bug of treatment of FWS sorounding encoded-word. (MIME/EncodedWord.pm and related modules.) 2002-03-26 wakaba * Entity.pm: Adds User-Agent: value when stringify. (ua_field_name, ua_use_config): New options. (add_ua): New option. (_add_ua): New proceder. 2002-03-25 wakaba * MIME/: New directory. * Util.pm: New module. * Entity.pm, Header.pm (parse_all): New option. (hook_encode_string, hook_decode_string): Likewise. 2002-03-23 wakaba * Header.pm: Supports Message::Field::CSV, Message::Field::ValueParams, Message::Field::ContentType, Message::Field::ContentDisposition. 2002-03-21 wakaba * Body/: New directory. 2002-03-16 wakaba * Header.pm: Use Message::Field::Date. 2002-03-13 wakaba * Header.pm: New module. * Entity.pm: Likewise. * ChangeLog: New file.