little util to scan mailboxes for any and every address they contain.
authorMichael Zucci <zucchi@src.gnome.org>
Fri, 24 Nov 2000 07:06:45 +0000 (07:06 +0000)
committerMichael Zucci <zucchi@src.gnome.org>
Fri, 24 Nov 2000 07:06:45 +0000 (07:06 +0000)
commit59263bb65c28dbfebbe31de5ada612874cfce8b9
treec28b427efeead071ec2fa90624c0d1b266bff0bd
parentd62fbfddaf923878563305528d2455f422cba2da
little util to scan mailboxes for any and every address they contain.

* tests/data/getaddr.pl: little util to scan mailboxes for any and
every address they contain.

* tests/message/test2.c (main): Added a bunch of stuff to test
decoding/reencoding/etc of internationalised addresses.

* tests/message/lib/address-data.h: Copy of some unicode/other
testing data.  **Beware** of editing this file in emacs, it'll
probably try and convert all the characters to something
unusable.

* tests/lib/camel-test.c (camel_test_break): Add a debugger hook
point.

* camel-mime-utils.c (quoted_encode): Check for space and convert
to _ separately.
(header_decode_mailbox): Fixed the 'check comments for realname'
code, problem was the domain getting code was skipping all
whitespace/comments before we could get a look-in.  This is
approximate but fairly robust.
(header_decode_text): Dont use the c-type isspace func here, we
want a specific whitespace only.
(header_decode_text): If we have decoded words next to each other,
do not insert whitespaces between them, which is what rfc2047 requires.
(header_decode_text): Make c unsigned too.
camel/ChangeLog
camel/camel-mime-utils.c
camel/tests/README
camel/tests/data/getaddr.pl [new file with mode: 0755]
camel/tests/lib/address-data.h [new file with mode: 0644]
camel/tests/lib/camel-test.c
camel/tests/message/test2.c