History log of /dovecot/src/lib-mail/message-header-encode.h
Revision Date Author Comments Expand
a7dcd5b93e608feeffe980e268eac6c5b9f5b21c 11-May-2014 Timo Sirainen <tss@iki.fi>

lib-mail: message_header_encode() now preserves folding whitespace This function could still use some cleaning up, but good enough for now.. Also it should try to minimize the encoded words, not necessarily encoding everything between the first and the last words that have to be encoded.

5b6e0b6569d5e79ddb868525063cfd04009437b4 11-May-2014 Timo Sirainen <tss@iki.fi>

lib-mail: message_header_encode_[bq]() now explicitly takes the first line length parameter. So this change partially reverts the previous change, because message_header_encode() was actually internally relying on this behavior. The explicit parameter makes it clearer.

63007f6d2a501132d5312aebb7f0d30f1d00d0bd 11-May-2014 Timo Sirainen <tss@iki.fi>

lib-mail: message_header_encode() no longer tries to lookup the first line's length from output string. This function is used only by Pigeonhole, which only uses it for empty output strings, so it's not useful there. Also that behavior is somewhat unexpected and confusing.

a5f1628ad97ad649bfef86c84c3afc1d9cb0f326 05-May-2014 Timo Sirainen <tss@iki.fi>

lib-mail: Added message_header_encode_data() to support encoding also NUL characters.

b22a4a60c59146081d6d32e37aa9e8cd10f4dab2 28-Oct-2009 Timo Sirainen <tss@iki.fi>

Added message header (RFC 2047) encoder. --HG-- branch : HEAD