small patch to handle 2-digit year representation a little better -- "71"
2001-01-11 Charles Kerr <email address hidden>
* gmime-utils.c (get_year): small patch to handle 2-digit year
representation a little better -- "71" now translates to 1971,
but "01" now translates to 2001. Thanks to Ihar Viarheichyk for
suggesting this change.
d9c294f...
by
Jeffrey Stedfast <email address hidden>
minor fixes...
f90259c...
by
Jeffrey Stedfast <email address hidden>
Don't allow the setting of Content-MD5 headers for multipart/* and
* gmime-part.c (g_mime_part_set_content_md5): Oops, didn't quite
do this right. It should be correct now.
(g_mime_part_verify_content_md5): New function to verify the
Content-MD5.
ba95796...
by
Jeffrey Stedfast <email address hidden>
fixed a gtk-doc warning
20296cc...
by
Jeffrey Stedfast <email address hidden>
updated the documentation
3cd3e0c...
by
Jeffrey Stedfast <email address hidden>
Added support for parsing Content-Location and Content-Md5 headers. Trim
* gmime-parser.c (g_mime_parser_construct_part): Added support for
parsing Content-Location and Content-Md5 headers. Trim excess
trailing \n's. Also fix a bug where the end boundary would get
included as part of the last MIME Part's contents.
(g_strstrbound): Bounded strstr.
* configure.in:
* README: Updated version to 0.4.0
* Makefile.am: Added md5-utils to the build.
* md5-utils.[c,h]: Added.
* gmime-part.c (g_mime_part_to_string): Slightly new
implementation. Also added in support for Content-Location and
Content-Md5 headers.
(g_mime_part_destroy): Return if the mime part is
NULL. Also free the new content_location and content_md5 headers.
(g_mime_part_set_content_md5): Implemented.
(g_mime_part_get_content_md5): Implemented.
(g_mime_part_set_content_location): Implemented.
(g_mime_part_get_content_location): Implemented.
(get_content_type): Append a '\n'.
6417c30...
by
Jeffrey Stedfast <email address hidden>