* uip/mhlistsbr.c, uip/mhlsbr.c, uip/picksbr.c: cast
[mmh] / ChangeLog
index f3eb541..38ba7e4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,114 @@
+2009-12-29  David Levine <levinedl@acm.org>
+
+       * uip/mhlistsbr.c, uip/mhlsbr.c, uip/picksbr.c: cast
+       pointers to unsigned long before casting to unsigned int
+       to avoid warnings on 64-bit about casting from pointer
+       to int of different size.
+
+       * uip/new.c: cast folder_len to int to avoid warning on
+       64-bit about passing a size_t to an int conversion specifier.
+
+2009-12-25  David Levine <levinedl@acm.org>
+
+       * uip/inc.c: gcc 4.4.1 noticed that maildir could have been
+       used before initialization.  In fact, if that code was ever
+       reached, maildir would never have been initialized.  It's in
+       an adios call, so replaced with NULL.
+
+2009-12-21  David Levine <levinedl@acm.org>
+
+       * mts/smtp/smtp.c: In sm_auth_sasl (), removed zeroing of
+       sasl_inbuffer because it could be used in sm_fget ().  Also,
+       removed allocation of sasl_inbuffer because that was done in
+       either smtp_init () or sendmail_init ().
+
+2009-01-17  Eric Gillespie  <epg@pretzelnet.org>
+
+       * etc/mhn.defaults.sh: Never try to make mhshow start xterm.
+
+2009-01-16  Eric Gillespie  <epg@pretzelnet.org>
+
+       * test/runtest, test/tests/inc/test-deb359167,
+       test/tests/inc/test-eom-align, test/tests/manpages/test-manpages:
+       Load common.sh via absolute path, otherwise some /bin/sh
+       (e.g. dash) can't load it.
+
+       * uip/Makefile.in, uip/new.c, test/tests/new/test-basic: Add new
+       program, and fn/fp/unseen symlinks.
+
+       * test/{runtest,setup-test}: Move MH profile under Mail directory
+       so each test script will have its own to muck with, if needed.
+
+       * h/Makefile.in, h/crawl_folders.h, sbr/Makefile.in,
+       sbr/crawl_folders.c, uip/folder.c: Extract the folder crawling
+       code from folder.c into new crawl_folders function, using a
+       callback to assemble the folder info in folder.c.  Drop compare
+       function and use strcmp instead.  Rename addfold and addir to
+       add_folder and add_children (add dir vs. add folder?
+       confusing names).
+
+2008-12-26  Peter Maydell  <pmaydell@chiark.greenend.org.uk>
+
+       * sbr/m_getfld.c: fix two bugs which could cause us to walk off
+       the beginning of the stdio or prefix-string buffer when checking
+       for presence of the end-of-message delimiter in some situations.
+       This might cause inc to dump core if you were unlucky. (This was
+       Debian bug 359167.)
+       * test/tests/inc/{md5sums,msgheader.txt,test-deb359167,
+       test-eom-align,fromline.txt,filler.txt,deb359167.mbox}: new tests
+       both for the specific problem and to try to check various alignments
+       of the eom string with the stdio buffer ending.
+       * test/common.sh: new file for common utility functions for the
+       test scripts. Moved findprog out of manpage test script into this
+       new file. Added some functions for doing progress indicators.
+
+2008-12-25  Peter Maydell  <pmaydell@chiark.greenend.org.uk>
+
+       * test/runtest: automatically run setup-test if it hasn't already
+       been done. Improve error handling in test script with 'set -e'.
+
+2008-10-23  David Levine <levinedl@acm.org>
+
+       * h/mh.h: raised NAMESZ from 128 to 999.  RFC 2822 limits line
+       lengths to 998 characters, so a header name can be at most that long.
+       m_getfld limits header names to 2 less than NAMESZ, which is fine,
+       because header names must be followed by a colon.  Add one for
+       terminating NULL.
+
+2008-10-23  David Levine <levinedl@acm.org>
+
+       * sbr/m_getfld.c: in warning message, use NAMESZ-2 instead of
+       NAMESZ-1 bytes because the message says "exceeds", not
+       "is greater than or equal to".
+
+2008-10-23  David Levine <levinedl@acm.org>
+
+       * docs/MAIL.FILTERING: added note on removing procmail -f or
+       -r options to try to suppress generation of a "From " line on
+       incoming messages.
+
+2008-08-14  Eric Gillespie  <epg@pretzelnet.org>
+
+       * test/setup-test: Don't run autogen.sh unless needed.  Build in a
+       blddir under the temporary directory so as not to interfere with
+       whatever the developer may be doing in the source directory.
+       If the temporary directory already exists, rebuild and install it.
+
+2008-08-13  Eric Gillespie  <epg@pretzelnet.org>
+
+       * sbr/ambigsw.c: Send print_sw output to stderr.  This avoids
+       strange problems with scan `pick -bogus`, not to mention being
+       nicer anyway.
+
+       * sbr/getans.c, sbr/print_help.c, uip/msh.c: Send print_sw output
+       to stdout.
+
+       * h/prototypes.h, sbr/print_sw.c (print_sw): Add FILE * argument
+       and send output there rather than to stdout.
+
+       * test/tests/pick/test-stderr: Add test that error messages don't
+       end up going to stdout.
+
 2008-08-13  Eric Gillespie  <epg@pretzelnet.org>
 
        * uip/pick.c: Print matching messages immediately, instead of