<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guile-email/tests, branch v0.2.0</title>
<subtitle>Guile email parser</subtitle>
<id>http://git.systemreboot.net/guile-email/atom?h=v0.2.0</id>
<link rel='self' href='http://git.systemreboot.net/guile-email/atom?h=v0.2.0'/>
<link rel='alternate' type='text/html' href='http://git.systemreboot.net/guile-email/'/>
<updated>2019-08-08T21:16:22+00:00</updated>
<entry>
<title>tests: Remove unnecessary execution permission.</title>
<updated>2019-08-08T21:16:22+00:00</updated>
<author>
<name>Arun Isaac</name>
</author>
<published>2019-08-08T21:16:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.systemreboot.net/guile-email/commit/?id=db39b0db7dcf5bd48f0456c554164faee1bc8bf7'/>
<id>urn:sha1:db39b0db7dcf5bd48f0456c554164faee1bc8bf7</id>
<content type='text'>
* tests/quoted-printable.scm: Remove execution permission.
</content>
</entry>
<entry>
<title>tests: Add examples from RFC5322 A.1.1 and A.1.2.</title>
<updated>2019-07-28T06:56:22+00:00</updated>
<author>
<name>Arun Isaac</name>
</author>
<published>2019-07-28T06:56:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.systemreboot.net/guile-email/commit/?id=c85e6917ea21631857d93f58e60d910e07317131'/>
<id>urn:sha1:c85e6917ea21631857d93f58e60d910e07317131</id>
<content type='text'>
* tests/email.scm ("RFC5322 A.1.1. A message from one person to
another with simple addressing", "RFC5322 A.1.2. Different types of
mailboxes"): New tests.
</content>
</entry>
<entry>
<title>tests: Add read-while eof-object test.</title>
<updated>2019-07-28T06:43:44+00:00</updated>
<author>
<name>Arun Isaac</name>
</author>
<published>2019-07-28T06:02:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.systemreboot.net/guile-email/commit/?id=97d4fb537a6ca5a2ffe4da18bd1cbde2d4084fd0'/>
<id>urn:sha1:97d4fb537a6ca5a2ffe4da18bd1cbde2d4084fd0</id>
<content type='text'>
* tests/utils.scm ("read-while returns eof-object on end of file"):
New test.
</content>
</entry>
<entry>
<title>utils: Return eof-object from read-bytes-till on end of file.</title>
<updated>2019-07-28T06:43:44+00:00</updated>
<author>
<name>Arun Isaac</name>
</author>
<published>2019-07-28T05:59:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.systemreboot.net/guile-email/commit/?id=b6c904c1b57533e7a3dd4e15ed58708a06e94bc8'/>
<id>urn:sha1:b6c904c1b57533e7a3dd4e15ed58708a06e94bc8</id>
<content type='text'>
* email/utils.scm (read-bytes-till): Return eof-object, not #vu8(), on
end of file.
* tests/utils.scm: New file.
* Makefile.am (SCM_TESTS): Register it.
</content>
</entry>
<entry>
<title>tests: Add example from RFC2046 5.1.1.</title>
<updated>2019-07-28T06:43:43+00:00</updated>
<author>
<name>Arun Isaac</name>
</author>
<published>2019-07-27T18:38:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.systemreboot.net/guile-email/commit/?id=837f40590396617df78983cfddc586156b1abce9'/>
<id>urn:sha1:837f40590396617df78983cfddc586156b1abce9</id>
<content type='text'>
* tests/email.scm ("RFC2046 5.1.1. Common syntax"): New test.
</content>
</entry>
<entry>
<title>email: Decode MIME entities without headers.</title>
<updated>2019-07-28T06:43:43+00:00</updated>
<author>
<name>Arun Isaac</name>
</author>
<published>2019-07-27T14:55:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.systemreboot.net/guile-email/commit/?id=9ac10570fca04800f04a439e484f41421864b99f'/>
<id>urn:sha1:9ac10570fca04800f04a439e484f41421864b99f</id>
<content type='text'>
* email/email.scm (email-&gt;headers+body): If there are no headers,
return "" as headers not an eof-object.
(parse-email-body): Parse headers of parent entity or email to
parse-mime-entity.
(add-default-mime-entity-headers): New function.
(parse-mime-entity): Use add-default-mime-entity-headers instead of
add-default-headers. Handle MIME entities without headers.
* tests/email.scm ("decode MIME entity without headers"): New test.
</content>
</entry>
<entry>
<title>email: Support email with mixed encoding of characters.</title>
<updated>2019-07-28T06:43:43+00:00</updated>
<author>
<name>Arun Isaac</name>
</author>
<published>2019-07-25T20:23:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.systemreboot.net/guile-email/commit/?id=ac83c2a00c13702bc365cd0f3074239fa63d743f'/>
<id>urn:sha1:ac83c2a00c13702bc365cd0f3074239fa63d743f</id>
<content type='text'>
Prior to this, parse-email would accept email in the form of a
string. A string is constrained to use the same encoding for all its
characters whereas an email can have characters encoded using
different encoding schemes. Therefore, it is more correct that
parse-email deals with bytevectors instead of strings.

* email/utils.scm (read-bytes-till): New function.
* email/email.scm (body-&gt;mime-entities, email-&gt;headers+body,
decode-body): Deal with emails as bytevectors instead of strings.
(parse-mime-entity): Rename text argument to bv.
(parse-email, parse-email-body): Overload to handle input in the form
of a string or bytevector.
* doc/guile-email.texi (Parsing e-mail): Document overloading of
parse-email and parse-email-body.
* tests/email.scm ("handle truncated multipart message gracefully"):
Deal in bytevectors instead of strings.
("email with 8 bit encoding and non UTF-8 charset", "multipart email
with a 8 bit encoding and non UTF-8 charset part"): New tests.
* tests/email-with-8bit-encoding-and-non-utf8-charset,
tests/multipart-email-with-a-8bit-encoding-and-non-utf8-charset-part:
New files.

Reported-by: Jack Hill &lt;jackhill@jackhill.us&gt;
</content>
</entry>
<entry>
<title>email: Decode MIME encoded words in Subject header.</title>
<updated>2019-07-21T16:10:37+00:00</updated>
<author>
<name>Arun Isaac</name>
</author>
<published>2019-07-21T16:10:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.systemreboot.net/guile-email/commit/?id=7c6f220e95feb3bc79f48aca16b5ca691a561d97'/>
<id>urn:sha1:7c6f220e95feb3bc79f48aca16b5ca691a561d97</id>
<content type='text'>
Prior to this, MIME encoded words in the Subject header were not
decoded.

* email/email.scm (parse-email-headers): Decode MIME encoded words in
Subject header.
* tests/email.scm ("decode MIME encoded words in Subject header"): New
test.

Reported-by: Ricardo Wurmus &lt;rekado@elephly.net&gt;
</content>
</entry>
<entry>
<title>tests: Add test for decoding MIME encoded phrases.</title>
<updated>2019-07-21T16:09:24+00:00</updated>
<author>
<name>Arun Isaac</name>
</author>
<published>2019-07-21T16:09:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.systemreboot.net/guile-email/commit/?id=aec25de053a0eabe58f1c5b0d6ff66d296e2c5ca'/>
<id>urn:sha1:aec25de053a0eabe58f1c5b0d6ff66d296e2c5ca</id>
<content type='text'>
* tests/email.scm ("decode MIME encoded phrases that contain multiple
MIME encoded words each with their own encoding"): New test.
</content>
</entry>
<entry>
<title>tests: Add tests for decoding MIME encoded words.</title>
<updated>2018-11-13T18:53:07+00:00</updated>
<author>
<name>Arun Isaac</name>
</author>
<published>2018-11-13T18:53:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.systemreboot.net/guile-email/commit/?id=6f15087ac668f49e31bd1d138f67438b8e9e49ed'/>
<id>urn:sha1:6f15087ac668f49e31bd1d138f67438b8e9e49ed</id>
<content type='text'>
* tests/email.scm ("decode MIME encoded word: wikipedia example",
"decode MIME encoded phrases that mix ASCII text and MIME encoded
words"): New tests.
</content>
</entry>
</feed>
