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.