Subject: CVS commit: pkgsrc/mail/gmime
To: None <pkgsrc-changes@NetBSD.org>
From: Thomas Klausner <wiz@netbsd.org>
List: pkgsrc-changes
Date: 04/15/2007 13:11:41
Module Name: pkgsrc
Committed By: wiz
Date: Sun Apr 15 13:11:41 UTC 2007
Modified Files:
pkgsrc/mail/gmime: Makefile PLIST distinfo
Removed Files:
pkgsrc/mail/gmime/patches: patch-aa
Log Message:
Update to 2.2.6:
2007-03-28 Jeffrey Stedfast
* README: Bumped version
* configure.in: Bumped version to 2.2.6 - critical release for the
gmime-stream-fs and gmime-stream-file fixes below.
* gmime/gmime-stream-filter.c (stream_reset): Try resetting source
stream first, this way if that fails we don't reset our state
either.
* gmime/gmime-stream-fs.c (stream_reset): Same as below.
* gmime/gmime-stream-file.c (stream_reset): Make sure to always
return 0 or -1, not the value from fseek()ing back to the
beginning of the stream (which might not be position 0).
2007-03-27 Jeffrey Stedfast
* gmime/gmime-gpg-context.c (gpg_ctx_parse_status): If we aren't
in a UTF-8 locale, convert status messages into UTF-8 when using
the status line in the GError.
2007-03-26 Jeffrey Stedfast
* gmime/gmime-utils.c (g_mime_utils_8bit_header_decode)
(g_mime_utils_8bit_header_encode)
(g_mime_utils_8bit_header_encode_phrase): Changed all of these
functions to take `const unsigned char *' like they used to. Fixes
bug #423147.
* gmime/gmime-gpg-context.c (gpg_ctx_new): Initialize flushed and
nodata state variables. Thanks to valgrind for finding these...
* gmime/gmime-content-type.c
(g_mime_content_type_new_from_string): Shouldn't need to
g_strstrip() the type, is_ttoken() won't match against lwsp
chars. Also, instead of simply scanning past lwsp between some
tokens, use decode_lwsp() between *all* tokens so that we handle
comments as well (not that there should be any...).
* gmime-2.0.pc.in: Got rid of the redundant @LIBS@ which contained
the same value as @GMIME_LIBS@.
* configure.in: Added configure checks for large file support.
2007-03-26 Jeffrey Stedfast
* gmime-param.c: #include "gmime-parse-utils.h" and got rid of
this file's own decode_lwsp() implementation.
* internet-address.c: #include "gmime-parse-utils.h" which is
where a bunch of the parser functions have been moved from here.
* gmime-utils.c: #include "gmime-parse-utils.h" for decode_lwsp()
and decode_domain()
(decode_addrspec): Moved here from internet-address.c which had
been exporting the symbol previously (so that decode_domain didn't
have to be copy/pasted). Now this function can be made static -
yay! No more exporting un-namespaced symbols!
* gmime/gmime-message.c: #include "gmime-parse-utils.h" for
decode_lwsp()
* gmime/gmime-parse-utils.[c,h]: New source files containing some
parse utility functions that had been copy/pasted between several
source files previously.
2007-03-25 Jeffrey Stedfast
* README: Bumped version
* configure.in: Bumped version to 2.2.5
2007-03-25 Jeffrey Stedfast
* tests/Makefile.am (local-check): Simplified.
* tests/test-streams.c: Generate our own test data if we aren't
given any.
* tests/test-cat.c: Updated for the new Makefile.am rule.
* gmime/gmime-stream-mmap.c (stream_length): Fixed to return the
correct length when bound_end == -1 but bound_start != 0.
Discovered this thanks to my new testsuite.
* gmime/internet-address.c (decode_mailbox): If we can't find a
local-part and inptr is ',', set *in = inptr; rather than *in =
inptr + 1; Discovered this bug thanks to my new testsuite.
* tests/test-mime.c: Rewritten to use testsuite library.
2007-03-24 Jeffrey Stedfast
* tests/Makefile.am (check-local): Rewritten to actually run the
automated tests.
* tests/test-mbox.c: Rewritten to use testsuite library.
* tests/test-pgp.c: Rewritten to use testsuite library.
* tests/test-pgpmime.c: Rewritten to use testsuite library.
* tests/test-cat.c: Rewritten to use testsuite library.
* tests/test-streams.c: Rewritten to use testsuite library.
* tests/test-iconv.c: Rewritten to use testsuite library.
* tests/testsuite.[c,h]: New automated test-suite helper library.
2007-03-20 Jeffrey Stedfast
* configure.in: Check for the existance of _timezone and nfds_t.
* gmime/gmime-utils.c (mktime_utc): Use _timezone if
HAVE__TIMEZONE is set.
* gmime/gmime.c (g_mime_init): If HAVE_TIMEZONE or HAVE__TIMEZONE
is set, call tzset() to initialise the timezone variable.
2007-03-12 Jeffrey Stedfast
* gmime/gmime-param.c (decode_param): Instead of only checking
that the param value begins with "=?", check if that sequence
exists anywhere in the value. Fixes bug #407522.
* src/uudecode.c (uudecode): Use a strcmp instead of comparing
against a string literal (which was technically correct in this
case, but the prettyification would be nice if "-" was specified
in argv too). Fixes bug #408613.
2007-03-10 Jeffrey Stedfast
* gmime/gmime-message.c (g_mime_message_get_all_recipients): New
convenience function to get To, Cc, and Bcc recipients all in a
single list.
2007-02-19 Jeffrey Stedfast
* gmime/gmime-message.h: Moved g_mime_message_get_body() into the
deprecated block.
2007-02-11 Jeffrey Stedfast
* gmime/gmime-utils.c: Removed the need for the ctype isblank()
function.
* gmime/gmime-param.c (decode_int): Need to use (unsigned char *)
when passing indexes to ctype functions.
2007-02-10 Jeffrey Stedfast
* gmime/gmime-charset.c: Changed the names of the charset format
macros to coincide with the new names output by iconv-charset.c.
(g_mime_charset_iconv_name): Use the new macro names.
* iconv-detect.c: Use %u instead of %d, also changed the names of
the format #defines that we print out.
* gmime/gmime-utils.c (g_mime_utils_quote_string): Optimise a
smidgen.
(g_mime_utils_unquote_string): Fixed, this wasn't working right...
2007-02-09 Jeffrey Stedfast
* gmime/gmime-stream-filter.c (stream_write): Instead of comparing
the return value of the source stream write() to our input length
to write, compare to -1. We can't assume the the value the source
stream will return will be what we expected, all we can do is
check for error.
* gmime/gmime-part.c: Same as below.
* gmime/gmime-filter-basic.c: Fixes to signedness compile warnings
and updated to reflect gmime-utils.h changes.
* gmime/gmime-multipart.c (multipart_set_boundary): Updated to
reflect gmime-utils.h changes.
* gmime/gmime-stream.c (g_mime_stream_writev): If any of the
writes fail, return -1.
* gmime/gmime-utils.c: header_encode_*() and header_decode_*() now
take const char * rather than const unsigned char *
arguments. This has been done in an effort to fix compile warnings
about signed vs unsigned char * pointers. The 'save' argument to
all of the stream encoders/decoders have been changed to a
guint32, again for signed vs unsigned warning fixes.
To generate a diff of this commit:
cvs rdiff -r1.13 -r1.14 pkgsrc/mail/gmime/Makefile
cvs rdiff -r1.7 -r1.8 pkgsrc/mail/gmime/PLIST
cvs rdiff -r1.9 -r1.10 pkgsrc/mail/gmime/distinfo
cvs rdiff -r1.4 -r0 pkgsrc/mail/gmime/patches/patch-aa
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.