Hi all,below is a small patch against today's HEAD cvs (Changelog "2004-08-06 Pawel Salek") with a few small fixes and enhancements. Details:
* libbalsa/address.h: remove duplicate function prototype. * libbalsa/body.[hc]: add a "was encrypted" flag to the body structure. * libbalsa/rfc3156.c:remember if a rfc 3156 body has been encrypted, recognise combined signed and encrypted rfc 3156 (according to section 6.2; enigmail uses this method) bodies and remember the signature status, be sure to always unref old sig infos in rfc 2440 verify/decrypt, fix bad return value.
* src/balsa-message.c:various MDN fixes to make it fully (hopefully) rfc 3798 compliant: use the best charset according to recipient and subject and not always iso-8859-1, fix Reporting-UA report field (fqdn instead of recipient), add Original- Recipient report field if necessary, set only the rfc822 address part in the Final-Recipient field. Please note that currently a Original-Recipient header is not passed to balsa, making that part of the fix a no-op, but it shuold of course be fixed on the appropriate level (gmime?).
* src/information-dialog.c:make sure that *any* information (e.g. strings containing system or library error strings which are iso-8859) is utf8 clean before being displayed. This *might* make several other calls to libbalsa_utf8_sanitize obsolete, but I didn't check that.
Any comments? Cheers, Albrecht. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Albrecht Dreß - Johanna-Kirchner-Straße 13 - D-53123 Bonn (Germany) Phone (+49) 228 6199571 - mailto:albrecht dress arcor de _________________________________________________________________________
Attachment:
balsa-patch-2004-08-07.gz
Description: GNU Zip compressed data
Attachment:
pgpCHrhetaCyF.pgp
Description: PGP signature