* uip/.cvsignore: added "new".
[mmh] / ChangeLog
index 2cc1ba7..6847b8f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,163 @@
+2010-08-31  David Levine <levinedl@acm.org>
+
+       * uip/.cvsignore:  added "new".
+
+2010-02-03  Earl Hood <earl@earlhood.com>
+
+       * Bug #15213, #18635: The use of the insecure m_scratch() and
+         m_tmpfil() functions have been replaced by m_mktemp()
+         or m_mktemp2() functions (defined in sbr/m_mktemp.c).
+         The new functions use mkstemp() to securely create
+         temporary files to avoid the numerous race conditions
+         that exist with the old functions.  This does assume
+         that mkstemp() is available.  Unsure if we need to
+         create an alternative implementation if mkstemp() is
+         not available.  More information about new temp file
+         functions in m_mktemp.c, including the support for
+         MHTMPDIR, TMPDIR, and TMP envvars.
+
+2010-02-02  Earl Hood <earl@earlhood.com>
+
+       * mts/smtp/smtp.c: added SASL support if mts configuration
+         setting is set to "sendmail".  This is useful if sendmail
+         conf option is to a custom script that creates a proxy
+         connection to an smtp server.
+
+       * sbr/mts.c: added support for MHMTSCONF and MHMTSUSERCONF
+         envvars.  The former specifies an alternative system
+         mts.conf to use.  The later specifies a user-specific
+         mts.conf to use.  This one will be read after the system
+         conf, so the user's conf only needs to set options they
+         want to override.  The MHMTSUSERCONF allows a user to set
+         personal alternative mail submission methods w/o affecting
+         other users on the system.
+
+       * uip/whom.c: added SASL-based options so address checking
+         can work against a server that requires SASL.
+
+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
+       waiting until the very end to print anything.
+       Ensure valid sequence name as soon as we parse it from command,
+       instead of searching the messages first.
+
+2008-08-13  Eric Gillespie  <epg@pretzelnet.org>
+
+       * uip/Makefile.in, uip/popi.c: Remove popi.c, which has been dead
+       since PatchSet 257 (2000/06/12 11:07:34 UTC).
+
 2008-08-13  Eric Gillespie  <epg@pretzelnet.org>
 
        * h/mhparse.h: Move interfaces also used by mhbuildsbr.c here