Commit Graph

12 Commits

Author SHA1 Message Date
cketti d32d6eed0e Move "magic" from Part.setBody() implementations to MimeMessageHelper.setBody()
Now adding message bodies during parsing won't set/modify headers.
2014-12-08 16:32:23 +01:00
Tobias Baum be954d729c Whitespace, Tabs to Spaces 2014-09-14 11:18:57 +02:00
Joe Steele 5a46575dc2 Generally replace \n with \r\n when part of a message
This builds upon the efforts started 2 commits back where \r\n is used for
all message text and \n is only used when the text is inside an
EolConvertingEditText widget.
2013-10-11 11:39:46 -04:00
Joe Steele e20170c996 Update the tests project.
Target the same SDK version as in K-9 Mail.

Update the .classpath file as modified by the latest Eclipse ADT plugin.

Remove unused import.
2013-10-11 11:24:55 -04:00
Joe Steele c790fa73c1 Don't store the font-family preference with plain text messages.
Dynamically generate the CSS style for <pre> elements
for inclusion in the HTML <head> element when messages
are displayed.

This permits a user to change their font-family preference
for plain text messages and see the results immediately.

Obviously any old locally-stored messages that had their
font-family stored with them will continue to display using
that font-family, irrespective of the user's current
preference setting.
2013-03-01 18:48:46 -05:00
Joe Steele c21ea14af1 Fix unit tests. 2013-03-01 14:34:31 -05:00
cketti e66dd3d521 Fixed unit tests 2012-10-08 14:43:34 +02:00
cketti 609cdf6bc5 Worked around API7/API10 differences in unit test
GMT-dates are formatted without "+00:00" offset in API7 emulators.
2012-06-09 01:39:15 +02:00
cketti 982f78fcc9 Explicitly set the language to be used in unit test 2012-05-30 16:02:00 +02:00
cketti e591674357 Fixed issue with TimeZone.setDefault() 2012-05-18 20:00:15 +02:00
cketti 87c11a4ad2 Updated tests to reflect changes in HtmlConverter.htmlifyMessageHeader() 2012-05-18 19:59:29 +02:00
cketti 03d4cee14a Added tests for MimeUtility.extractTextAndAttachments() 2012-02-18 00:25:14 +01:00