unofficial mirror of meta@public-inbox.org
 help / color / mirror / Atom feed
* [PATCH 0/2] use Email::Address::XS if available
@ 2019-12-14  1:02 Eric Wong
  2019-12-14  1:02 ` [PATCH 1/2] address: use comment as name if no phrase available Eric Wong
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Eric Wong @ 2019-12-14  1:02 UTC (permalink / raw)
  To: meta

Email::Address::XS is loaded by default on modern Email::MIME
(which we depend on), so we might as well use it.  1/2 also
improves the pure-Perl fallback to match optimal ::XS behavior.

Eric Wong (2):
  address: use comment as name if no phrase available
  address: use Email::Address::XS if available

 MANIFEST                     |  1 +
 lib/PublicInbox/Address.pm   | 34 ++++++++++---------
 lib/PublicInbox/AddressPP.pm | 38 +++++++++++++++++++++
 t/address.t                  | 66 ++++++++++++++++++++++--------------
 4 files changed, 98 insertions(+), 41 deletions(-)
 create mode 100644 lib/PublicInbox/AddressPP.pm


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-12-14  5:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-14  1:02 [PATCH 0/2] use Email::Address::XS if available Eric Wong
2019-12-14  1:02 ` [PATCH 1/2] address: use comment as name if no phrase available Eric Wong
2019-12-14  1:02 ` [PATCH 2/2] address: use Email::Address::XS if available Eric Wong
2019-12-14  5:22 ` [PATCH 3/2] address: explicitly reject local-only addresses Eric Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).