Commit | Line | Data |
---|---|---|
8d138742 CE |
1 | 2009-11-22 Sam Varshavchik <mrsam@courier-mta.com> |
2 | ||
3 | * rfc822.c: Removed rfc822_praddr(). | |
4 | ||
5 | * rfc822_getaddr.c (rfc822_getaddr): Implement rfc822_getaddr() by | |
6 | calling rfc822_display_addr_tobuf(), instead of rfc822_praddr(). | |
7 | ||
8 | * testsuite.c (doaddr): Remove rfc822_addrlist() and rfc822_namelist(). | |
9 | ||
10 | 2009-11-21 Sam Varshavchik <mrsam@courier-mta.com> | |
11 | ||
12 | * rfc822_getaddr.c: Remove rfc822_prname() and rfc822_prname_orlist(), | |
13 | replaced by rfc822_display_name() with a NULL character set. | |
14 | ||
15 | * rfc2047u.c (rfc822_display_name): Semantical change -- without | |
16 | an explicit name, display the address as the name. If the requested | |
17 | character set is NULL, do not decode RFC2047-encoded content, return | |
18 | it as is. | |
19 | ||
20 | 2009-11-17 Sam Varshavchik <mrsam@courier-mta.com> | |
21 | ||
22 | * rfc2047u.c (rfc2047_print_unicodeaddr): Fix several formatting | |
23 | issues with deprecated RFC 822 distribution lists: spurious comma | |
24 | adter the last address, pass the space after the ':' as a separator | |
25 | character. | |
26 | ||
27 | * rfc2047.c (counts2/save): Fix line-wrapping of encoded addresses. | |
28 | ||
29 | * rfc2047u.c (rfc822_display_addr_tobuf): New function. | |
30 | ||
31 | 2009-11-14 Sam Varshavchik <mrsam@courier-mta.com> | |
32 | ||
33 | * rfc822.c (rfc822_print_common): Rewrite. | |
34 | ||
35 | * rfc2047u.c (rfc822_display_name_int): Fixed various rules for | |
36 | encoding names to be more MIME compliant. | |
37 | (rfc822_display_addr_str): Renamed from rfc822_display_addr(), for a | |
38 | consistent API. | |
39 | (rfc822_display_addr): New function, decode the wire format of a single | |
40 | address. Names are MIME decoded, addresses are IDN-decoded. | |
41 | (rfc2047_print_unicodeaddr): Do not output a dummy name for an | |
42 | address without one. | |
43 | (rfc822_display_addr_str_tobuf): New function, version of | |
44 | rfc822_display_addr_str() that collects the output into a buffer. | |
45 | ||
46 | * rfc2047.c (rfc822_encode_domain): New function -- IDN-encode a domain, | |
47 | with an optional "user@". | |
48 | (rfc2047_encode_header_addr): Renamed rfc2047_encode_header(), for a | |
49 | consistent API. | |
50 | (rfc2047_encode_header_tobuf): New function, encode a header from | |
51 | displayed format to wire format. Names are encoded using RFC 2047, | |
52 | addresses using IDN. | |
53 | ||
54 | 2009-11-08 Sam Varshavchik <mrsam@courier-mta.com> | |
55 | ||
56 | * rfc2047.h: Expose raw RFC 2047 decoding function, | |
57 | rfc2047_decoder(). | |
58 | ||
59 | * rfc822hdr.c (rfc822hdr_is_addr): New function. | |
60 | ||
61 | * rfc822.c (tokenize): Tweak the logic for collecting RFC 2047 atoms. | |
62 | ||
63 | * rfc2047u.c (rfc822_display_name): New function, | |
64 | replaces rfc2047_print(). | |
65 | (rfc822_display_name_tobuf): New function, | |
66 | replaces rfc2047_print(). | |
67 | (rfc822_display_namelist): New function, | |
68 | replaces rfc822_namelist(). | |
69 | (rfc822_display_addr): New function, replaces rfc2047_print(). | |
70 | (rfc2047_print_unicodeaddr): Renamed from rfc2047_print_unicode(). | |
71 | (rfc822_display_hdrvalue): New function, replaces rfc2047_decode(), | |
72 | rfc2047_decode_simple(), rfc2047_decode_enhanced(). | |
73 | (rfc822_display_hdrvalue_tobuf): New function, ditto. | |
74 | ||
75 | * rfc2047.c: Removed rfc2047_decode(), rfc2047_decode_simple(), | |
76 | rfc2047_decode_enhanced(), rfc2047_print(). | |
77 | ||
78 | * Makefile.am: Link against GNU IDN library. | |
79 | ||
80 | 2008-11-30 Sam Varshavchik <mrsam@courier-mta.com> | |
81 | ||
82 | * imaprefs.c (dorefcreate): Clean up usage of rfc822_threadsearchmsg(). | |
83 | A malloc() failure wasn't checked correctly. | |
84 | ||
ac40fd9e | 85 | 2008-06-13 Mr. Sam <mrsam@courier-mta.com> |
86 | ||
87 | * rfc822_getaddr.c: Backslashed special characters in address names | |
88 | weren't being dequoted correctly by rfc822_getname() and | |
89 | rfc822_getname_orlist(). | |
90 | ||
d9898ee8 | 91 | 2007-02-25 Mr. Sam <mrsam@courier-mta.com> |
92 | ||
93 | * rfc822.c (parseaddr): rfc822a_alloc() would corrupt and misparse | |
94 | RFC2047-encoded atoms. | |
95 | ||
96 | 2006-01-21 Mr. Sam <mrsam@courier-mta.com> | |
97 | ||
98 | * rfc2047.c (encodebase64): Fix compiler warning. | |
99 | ||
100 | * rfc822.c (parseaddr): Ditto. | |
101 | ||
102 | 2005-11-15 Mr. Sam <mrsam@courier-mta.com> | |
103 | ||
104 | * encode.c (quoted_printable): encode spaces that precede a newline. | |
105 | ||
106 | 2004-08-29 Mr. Sam <mrsam@courier-mta.com> | |
107 | ||
108 | * imapsubj.c (rfc822_coresubj_keepblobs): New function to strip | |
109 | non-core subject appendages, but keep [blobs]. | |
110 | ||
111 | 2004-05-29 Mr. Sam <mrsam@courier-mta.com> | |
112 | ||
113 | * rfc2047.c (rfc2047_encode_callback): Use base64 to MIME-encode | |
114 | instead of quoted-printable, where it's more efficient to do so. | |
115 | ||
116 | 2004-04-14 Mr. Sam <mrsam@courier-mta.com> | |
117 | ||
118 | * rfc2047.c (rfc2047_encode_callback): Fix bug introduced in 0411. | |
119 | ||
120 | 2004-04-11 Mr. Sam <mrsam@courier-mta.com> | |
121 | ||
122 | * rfc2047.c (a_rfc2047_encode_str): Improve compliance with RFC 2047 | |
123 | for MIME-encoded recipient lists. | |
124 | (rfc2047_encode_callback): New argument: qp_allow - function that | |
125 | indicates acceptable characters in QP-encoded words. | |
126 | (rfc2047_encode_str): Ditto. | |
127 | (rfc2047_qp_allow_any, rfc2047_qp_allow_comment) | |
128 | (rfc2047_qp_allow_word): Possible arguments to qp_allow for various | |
129 | situations. | |
130 | ||
131 | 2004-04-09 Mr. Sam <mrsam@courier-mta.com> | |
132 | ||
133 | * encode.c: Moved rfc2045/rfc2045encode.c here, renamed all functions | |
134 | to use the libmail_ prefix. | |
135 | ||
136 | 2003-11-18 Tim Rice <tim@multitalents.net> | |
137 | ||
138 | * configure.in: Fix MSG_WARN. | |
139 | ||
140 | 2003-10-20 Mr. Sam <mrsam@courier-mta.com> | |
141 | ||
142 | * rfc2047u.c (rfc2047_print_unicode): Unicode-aware version of | |
143 | rfc2047_print(). | |
144 | ||
145 | 2003-07-08 Mr. Sam <mrsam@courier-mta.com> | |
146 | ||
147 | * imaprefs.c (rfc822_threadmsgrefs): New rfc822_threadmsgrefs takes | |
148 | an array of References: headers, instead of a single References: | |
149 | string. | |
150 | ||
151 | 2003-03-20 Mr. Sam <mrsam@courier-mta.com> | |
152 | ||
153 | * rfc2047.c (rfc2047_encode_callback): Fix MIME encoding of "_". | |
154 | ||
155 | 2002-12-23 Mr. Sam <mrsam@courier-mta.com> | |
156 | ||
157 | * rfc2047.c (rfc2047_encode_callback): Fix loop on broken | |
158 | locales where isspace(U+0x00A0) is true. | |
159 | ||
160 | 2002-09-19 Mr. Sam <mrsam@courier-mta.com> | |
161 | ||
162 | * RFC 2231 support. | |
163 | ||
164 | 2002-08-08 Mr. Sam <mrsam@courier-mta.com> | |
165 | ||
166 | * rfc2047.c (rfc2047_encode_callback): Fix MIME encoding of words | |
167 | with = and ? characters. | |
168 | ||
169 | 2002-05-20 Mr. Sam <mrsam@courier-mta.com> | |
170 | ||
171 | * rfc822_parsedt.c (rfc822_parsedt): Ignore obviously invalid years | |
172 | (someone else can worry about Y10K). | |
173 | ||
174 | 2002-04-07 Mr. Sam <mrsam@courier-mta.com> | |
175 | ||
176 | * rfc822_mkdate.c (rfc822_mkdate_buf): Explicit (int) cast gets | |
177 | the file compiled under Cygwin. | |
178 | ||
179 | 2002-03-09 Mr. Sam <mrsam@courier-mta.com> | |
180 | ||
181 | * rfc2047.c (rfc2047_encode_callback): Fix MIME-encoding of spaces. | |
182 | ||
183 | 2002-03-04 Mr. Sam <mrsam@courier-mta.com> | |
184 | ||
185 | * rfc822.c (rfc822_prname_orlist): Dequote quoted-strings. | |
186 | ||
187 | 2001-06-27 Mr. Sam <mrsam@courier-mta.com> | |
188 | ||
189 | * rfc2047.c (a_rfc2047_encode_str): Fix incorrect MIME encoding of | |
190 | address name in old-style RFC-822 format. | |
191 | ||
192 | 2001-04-17 Mr. Sam <mrsam@courier-mta.com> | |
193 | ||
194 | * rfc822.c (rfc822t_alloc): Explicitly cast arg to (void *). | |
195 | ||
196 | 2000-12-22 Mr. Sam <mrsam@courier-mta.com> | |
197 | ||
198 | * reftest.c: Fix dependency on qsort sorting order of identical keys. | |
199 | ||
200 | 2000-12-11 Mr. Sam <mrsam@courier-mta.com> | |
201 | ||
202 | * imapsubj.c (stripsubj): Recode subject stripping. | |
203 | ||
204 | 2000-11-18 Mr. Sam <mrsam@gwl.email-scan.com> | |
205 | ||
206 | * imaprefs.c: Update to draft-05.txt-bis (sort top level siblings | |
207 | by date. | |
208 | ||
209 | Mon Apr 5 00:58:37 EDT 1999 | |
210 | ||
211 | * Yes, I've decided to start a Change Log. librfc822 now has a life of its | |
212 | own, so it might as well have it. | |
213 | ||
214 | * Courier needs tokens in a link list, not an array. Rewrote most token | |
215 | handling code. | |
216 | ||
217 | * Fixed some issues with handling of () comments. | |
218 | ||
219 | * Changed *pr* functions to pass along a caller-provided void, also for | |
220 | courier. librfc822 should now be threadable (like, who cares...) | |
221 | ||
222 | * Added a testsuite |