1 |
wakaba |
1.43 |
2002-08-05 Wakaba <w@suika.fam.cx>
|
2 |
|
|
|
3 |
|
|
* Util.pm:
|
4 |
|
|
- (sprintxf): Use Message::Util::Wide::unquote_if_quoted_string
|
5 |
|
|
instead of Message::Util::unquote_if_quoted_string.
|
6 |
|
|
- (Message::Util::Wide): New package.
|
7 |
|
|
- (%Message::Util::Wide::REG): New hash.
|
8 |
|
|
- (Message::Util::unquote_if_quoted_string): New function.
|
9 |
|
|
- NOTE: "Wide" package is created to support utf8 string
|
10 |
|
|
of perl 5.7.3 or later. Utf8 string does not work
|
11 |
|
|
only for [\x00-\xFF] regex of current functions,
|
12 |
|
|
and this regex is used as (?:.|\x0D|\x0A). (Without
|
13 |
|
|
's' option, "." does not match with newline character.)
|
14 |
|
|
When we can do away problematic code from all
|
15 |
|
|
Message::* modules, we can also do away "Wide" package.
|
16 |
|
|
|
17 |
wakaba |
1.42 |
2002-08-04 Wakaba <w@suika.fam.cx>
|
18 |
|
|
|
19 |
|
|
* Entity.pm: Don't fill_source by default if format =~ http.
|
20 |
|
|
|
21 |
wakaba |
1.41 |
2002-08-01 Wakaba <w@suika.fam.cx>
|
22 |
|
|
|
23 |
|
|
* Entity.pm (list_name, list_count): New methods.
|
24 |
|
|
|
25 |
wakaba |
1.39 |
2002-07-28 Wakaba <w@suika.fam.cx>
|
26 |
|
|
|
27 |
|
|
* Entity.pm (destination, sender): New methods.
|
28 |
wakaba |
1.40 |
* Tool.pm (escape_from, unescape_from): New functions.
|
29 |
wakaba |
1.39 |
|
30 |
wakaba |
1.37 |
2002-07-26 Wakaba <w@suika.fam.cx>
|
31 |
|
|
|
32 |
|
|
* Entity.pm:
|
33 |
|
|
- (fill_missing_fields): New option.
|
34 |
|
|
- (fill_source, fill_destination): New options.
|
35 |
wakaba |
1.38 |
- (hook_stringify_fill_fields): Option removed.
|
36 |
|
|
* Header.pm:
|
37 |
|
|
- (_header_cmp): Removed.
|
38 |
|
|
- (@header_order, %header_order): Removed.
|
39 |
|
|
- (_scan_sort): Use Message::Header::* namespace packages to sort.
|
40 |
wakaba |
1.37 |
|
41 |
wakaba |
1.36 |
2002-07-25 Wakaba <w@suika.fam.cx>
|
42 |
|
|
|
43 |
|
|
* Tool.pm: New module.
|
44 |
|
|
|
45 |
wakaba |
1.35 |
2002-07-22 Wakaba <w@suika.fam.cx>
|
46 |
|
|
|
47 |
|
|
* Util.pm: Some fix for new returned value style
|
48 |
|
|
of Message::MIME::Charset.
|
49 |
|
|
|
50 |
wakaba |
1.34 |
2002-07-21 Wakaba <w@suika.fam.cx>
|
51 |
|
|
|
52 |
|
|
* Entity.pm (import): New.
|
53 |
|
|
|
54 |
wakaba |
1.33 |
2002-07-20 Wakaba <w@suika.fam.cx>
|
55 |
|
|
|
56 |
|
|
* Entity.pm (content_type): Guess media type:
|
57 |
|
|
text/x-message-rfc1153, text/x-pgp-cleatext-singed,
|
58 |
|
|
application/pgp, text/x-message-pem.
|
59 |
|
|
|
60 |
|
|
2002-07-19 Wakaba <w@suika.fam.cx>
|
61 |
|
|
|
62 |
|
|
* Entity.pm:
|
63 |
|
|
- (guess_media_type): New option.
|
64 |
|
|
- (content_type): Guess media type (text/x-message-rfc934)
|
65 |
|
|
if necessary.
|
66 |
|
|
|
67 |
wakaba |
1.32 |
2002-07-13 Wakaba <w@suika.fam.cx>
|
68 |
|
|
|
69 |
|
|
* Util.pm:
|
70 |
|
|
- (get_host_fqdn): New function.
|
71 |
|
|
- (%OPTION): New hash.
|
72 |
|
|
* Entity.pm (stringify): Pass 'format' option
|
73 |
|
|
to the body (when stringify'ing it) with
|
74 |
|
|
-parent_format option, instead of -format option.
|
75 |
|
|
|
76 |
wakaba |
1.30 |
2002-07-08 Wakaba <w@suika.fam.cx>
|
77 |
|
|
|
78 |
|
|
* Entity.pm (parse): Typo fix.
|
79 |
wakaba |
1.31 |
* Header.pm (hook_init_fill_options, hook_stringify_fill_fields):
|
80 |
|
|
New options.
|
81 |
wakaba |
1.30 |
|
82 |
wakaba |
1.29 |
2002-07-07 Wakaba <w@suika.fam.cx>
|
83 |
|
|
|
84 |
|
|
* Entity.pm (check_md5): New method.
|
85 |
|
|
* Entity.pm (fill_md5, fill_md5_name, recalc_md5): New options.
|
86 |
|
|
|
87 |
wakaba |
1.28 |
2002-07-06 Wakaba <w@suika.fam.cx>
|
88 |
|
|
|
89 |
|
|
* Header.pm: Support of RFC 2774 namespace.
|
90 |
|
|
|
91 |
wakaba |
1.27 |
2002-07-04 Wakaba <w@suika.fam.cx>
|
92 |
|
|
|
93 |
|
|
* Util.pm (encode_printable_string, decode_printable_string,
|
94 |
|
|
encode_t71_string, decode_t71_string, encode_restricted_rfc822,
|
95 |
|
|
decode_restricted_rfc822): New functions.
|
96 |
|
|
|
97 |
wakaba |
1.26 |
2002-07-02 Wakaba <w@suika.fam.cx>
|
98 |
|
|
|
99 |
|
|
* Util.pm (decide_newline): New function.
|
100 |
|
|
* Entity.pm (parse): Call Message::Util::decide_newline
|
101 |
|
|
instead of local code.
|
102 |
|
|
|
103 |
wakaba |
1.25 |
2002-06-23 Wakaba <w@suika.fam.cx>
|
104 |
|
|
|
105 |
|
|
* Entity.pm (header_default_charset, header_default_charset_input):
|
106 |
|
|
New options.
|
107 |
|
|
* Header.pm (ditto): Likewise.
|
108 |
|
|
* Util.pm
|
109 |
|
|
- (angle_quoted, angle_qcontent, M_angle_quoted): New regexs
|
110 |
|
|
(Moved from Message::Field::AngleQuoted).
|
111 |
|
|
- (decode_ccontent): Order of arguments of
|
112 |
|
|
Message::MIME::EncodedWord::decode_ccontent is changed.
|
113 |
|
|
- (unquote_if_angle_quoted): New function.
|
114 |
|
|
|
115 |
wakaba |
1.24 |
2002-06-16 wakaba <w@suika.fam.cx>
|
116 |
|
|
|
117 |
|
|
* Header.pm (_n11n_field_name): Check namespace definition's
|
118 |
|
|
case_sensible option.
|
119 |
|
|
* Entity.pm (_add_ua): Removed. (Moved to Message::Field::UA.)
|
120 |
|
|
|
121 |
wakaba |
1.23 |
2002-06-14 wakaba <w@suika.fam.cx>
|
122 |
|
|
|
123 |
|
|
* Entity.pm (parse): See 'strict_linebreak' option
|
124 |
|
|
and guess data's linebreak sequence.
|
125 |
|
|
|
126 |
wakaba |
1.22 |
2002-06-11 wakaba <w@suika.fam.cx>
|
127 |
|
|
|
128 |
|
|
* Header.pm (_item_match): Bug fix of "-by => 'ns'".
|
129 |
|
|
* Partial.pm (reassembly): New function.
|
130 |
|
|
|
131 |
wakaba |
1.21 |
2002-06-10 wakaba <w@suika.fam.cx>
|
132 |
|
|
|
133 |
|
|
* Entity.pm (force_mime_entity): New option.
|
134 |
|
|
* Header.pm (_item_match): -by => 'ns': New option.
|
135 |
|
|
* Partial.pm: New module.
|
136 |
|
|
|
137 |
wakaba |
1.20 |
2002-06-09 wakaba <w@suika.fam.cx>
|
138 |
|
|
|
139 |
|
|
* Entity.pm:
|
140 |
|
|
- (stringify): Minimumize MIME charset name when MIME'izing.
|
141 |
|
|
- (mime-entity): New 'format' type.
|
142 |
|
|
- (default_media_subtype): New option. Now 'default_media_type'
|
143 |
|
|
is used for only (narrower meaning of) media type.
|
144 |
|
|
- (content_type): See 'default_media_type' and
|
145 |
|
|
'default_media_subtype'. (Was hardcoded as 'text/plain'.)
|
146 |
|
|
- (option): '-resucrive': new option.
|
147 |
|
|
* Header.pm (parse, parse_array): Don't discard invalid
|
148 |
|
|
line (non-'field' line). (Treat as "X-Unknown" field.)
|
149 |
|
|
|
150 |
wakaba |
1.19 |
2002-06-01 wakaba <w@suika.fam.cx>
|
151 |
|
|
|
152 |
|
|
* Entity.pm (_encode_body): Some bug fixes and
|
153 |
|
|
better support of CT/CTE/charset.
|
154 |
|
|
(_parse_value): Passes options 'body_default_charset'
|
155 |
|
|
and 'body_default_charset_input' and parameter
|
156 |
|
|
'header' to body class.
|
157 |
|
|
* Util.pm (encode_body_string, encode_header_string):
|
158 |
|
|
Returns minimum charset name if available.
|
159 |
|
|
|
160 |
wakaba |
1.18 |
2002-05-30 wakaba <w@suika.fam.cx>
|
161 |
|
|
|
162 |
|
|
* Entity.pm (_encode_body): Checks charset name
|
163 |
|
|
to decide CTE.
|
164 |
|
|
|
165 |
wakaba |
1.17 |
2002-05-29 wakaba <w@suika.fam.cx>
|
166 |
|
|
|
167 |
|
|
* Entity.pm:
|
168 |
|
|
- (%ENCODE, %DECODE): Removed. (Moved to Message::MIME::Encoding)
|
169 |
|
|
- Uses \x0D\x0A instead of \n. (Temporary. `linebreak-strict'
|
170 |
|
|
and related options should be implemented /strictly/.)
|
171 |
|
|
- (_encode_body): Checks media type to choose CTE.
|
172 |
|
|
- (accept_coderange): New option.
|
173 |
|
|
- (body_default_media_type, body_default_charset): Likewise.
|
174 |
|
|
- (fill_ct): Likewise.
|
175 |
|
|
- Uses %Message::Header::NS_phname2uri instead of direct
|
176 |
|
|
access to namespace definition package.
|
177 |
|
|
- (content_type): Returns (type, subtype) list when wantarray'ed.
|
178 |
|
|
- (media_type): New method. (Alias of content_type)
|
179 |
|
|
* Header.pm (_replace_hash_shift): Checks namespace of field name.
|
180 |
|
|
|
181 |
wakaba |
1.16 |
2002-05-26 wakaba <w@suika.fam.cx>
|
182 |
|
|
|
183 |
|
|
* Header.pm (url_mailto_safe): Removed.
|
184 |
|
|
(Moved to Message::Header::RFC822.)
|
185 |
|
|
|
186 |
|
|
* Makefile: New file.
|
187 |
wakaba |
1.17 |
|
188 |
|
|
* Entity.pm: Uses Win32 if use_config and $^O eq
|
189 |
|
|
MSWin32.
|
190 |
wakaba |
1.16 |
|
191 |
wakaba |
1.15 |
2002-05-25 wakaba <w@suika.fam.cx>
|
192 |
|
|
|
193 |
|
|
* Entity.pm, Header.pm: Supports namespaced header
|
194 |
|
|
field name started with { prefix "-" }. (But
|
195 |
|
|
it is not completely supported yet.)
|
196 |
|
|
* Header/: New directory.
|
197 |
|
|
|
198 |
|
|
* Header.pm: Uses Message::Field::Structured
|
199 |
|
|
as parent module.
|
200 |
|
|
|
201 |
wakaba |
1.14 |
2002-05-16 wakaba <w@suika.fam.cx>
|
202 |
|
|
|
203 |
|
|
* Util.pm:
|
204 |
|
|
- ($REG{NON_http_attribute_char_wsp}): New regex.
|
205 |
|
|
- (wsps_to_sp): New function.
|
206 |
|
|
- (decode_header_string): Don't do away tail WSPs.
|
207 |
|
|
- TODO: Util.pm must have some needless functions.
|
208 |
|
|
|
209 |
wakaba |
1.13 |
2002-05-15 wakaba <w@suika.fam.cx>
|
210 |
|
|
|
211 |
|
|
* Header.pm:
|
212 |
|
|
- Add Resent-User-Agent: field support.
|
213 |
|
|
- Use Message::Field::Addresses instead of
|
214 |
|
|
Message::Field::Address.
|
215 |
|
|
|
216 |
wakaba |
1.12 |
2002-05-14 wakaba <w@suika.fam.cx>
|
217 |
|
|
|
218 |
|
|
* Entity.pm (pod:uri-url-mailto-*): New list-items.
|
219 |
|
|
(stringify): Output mailto: URL when format =~ url-mailto.
|
220 |
|
|
* Header.pm (stringify): Ditto.
|
221 |
|
|
* Util.pm: Bugs are fixed.
|
222 |
|
|
(remove_meaningless_wsp): New function.
|
223 |
|
|
|
224 |
wakaba |
1.11 |
2002-04-21 wakaba <w@suika.fam.cx>
|
225 |
|
|
|
226 |
|
|
* Entity.pm (pod:C<format>): New section.
|
227 |
|
|
|
228 |
wakaba |
1.10 |
2002-04-05 wakaba <w@suika.fam.cx>
|
229 |
|
|
|
230 |
|
|
* Util.pm: Add some functions from Message::Field::Structured.
|
231 |
|
|
|
232 |
wakaba |
1.9 |
2002-04-03 wakaba <w@suika.fam.cx>
|
233 |
|
|
|
234 |
|
|
* Entity.pm, Header.pm: Updated.
|
235 |
|
|
|
236 |
wakaba |
1.8 |
2002-03-31 wakaba <w@suika.fam.cx>
|
237 |
|
|
|
238 |
|
|
* Header.pm: Support Message::Field::URI.
|
239 |
|
|
|
240 |
wakaba |
1.7 |
2002-03-27 wakaba <w@suika.fam.cx>
|
241 |
|
|
|
242 |
|
|
* Fix bug of treatment of FWS sorounding encoded-word.
|
243 |
|
|
(MIME/EncodedWord.pm and related modules.)
|
244 |
|
|
|
245 |
wakaba |
1.6 |
2002-03-26 wakaba <w@suika.fam.cx>
|
246 |
|
|
|
247 |
|
|
* Entity.pm: Adds User-Agent: value when stringify.
|
248 |
|
|
(ua_field_name, ua_use_config): New options.
|
249 |
|
|
(add_ua): New option.
|
250 |
|
|
(_add_ua): New proceder.
|
251 |
|
|
|
252 |
wakaba |
1.5 |
2002-03-25 wakaba <w@suika.fam.cx>
|
253 |
|
|
|
254 |
|
|
* MIME/: New directory.
|
255 |
|
|
* Util.pm: New module.
|
256 |
|
|
* Entity.pm, Header.pm (parse_all): New option.
|
257 |
|
|
(hook_encode_string, hook_decode_string): Likewise.
|
258 |
|
|
|
259 |
wakaba |
1.4 |
2002-03-23 wakaba <w@suika.fam.cx>
|
260 |
|
|
|
261 |
|
|
* Header.pm: Supports Message::Field::CSV,
|
262 |
|
|
Message::Field::ValueParams, Message::Field::ContentType,
|
263 |
|
|
Message::Field::ContentDisposition.
|
264 |
|
|
|
265 |
wakaba |
1.3 |
2002-03-21 wakaba <w@suika.fam.cx>
|
266 |
|
|
|
267 |
|
|
* Body/: New directory.
|
268 |
|
|
|
269 |
wakaba |
1.2 |
2002-03-16 wakaba <w@suika.fam.cx>
|
270 |
|
|
|
271 |
|
|
* Header.pm: Use Message::Field::Date.
|
272 |
|
|
|
273 |
wakaba |
1.1 |
2002-03-13 wakaba <w@suika.fam.cx>
|
274 |
|
|
|
275 |
|
|
* Header.pm: New module.
|
276 |
|
|
* Entity.pm: Likewise.
|
277 |
|
|
|
278 |
|
|
* ChangeLog: New file.
|