Fix -part option to mhshow/mhlist/mhstore to find sub-parts of the specified
[mmh] / ChangeLog
index 2c4102a..b29df86 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,407 @@
+2004-12-17  Oliver Kiddle  <okiddle@yahoo.co.uk>
+
+       * uip/mhmisc.c Fix -part option to mhshow/mhlist/mhstore to
+       find sub-parts of the specified part
+
+2003-9-30  Glenn Burkhardt <glenn@aoi-industries.com>
+       * Fix 'pick' so handling of options "-list" and "-seq" are
+       independent.
+       * Fix 'inc' realloc error when bringing in more than 100 msgs
+       to empty folder.
+       * Patches submitted by Nick Rusnov from Debian archive applied:
+
+       Debian Bug#
+          136976 - Handle binary content messages
+          143427 - mh-format.man typo
+          144098 - 'spost; should have same behavior as 'post'
+                   w.r.t. mts.conf masquerade line
+          149745 - slocal ignores 'N' result of previous command
+          152728 - increase SMTP timeouts to conform to RFC 1123
+                   The timeouts suggested by the RFC seem long
+                   to me - but the RFC is still listed as active.
+          181867 - typo for nmh.man
+       
+2003-08-10  Jeffrey C Honig  <jch@honig.net>
+
+       * Fix problem where parsing of address/date fields in fmt_compile
+       is optimized to the first instance.  The first instance may be in
+       contitional code which will result in cached data to
+       be used.  Instead, convert c_flags to a flags field from a boolean
+       and parse on the first use.
+       * Remove some unused flag bits.
+
+Fri Jul 01 22:02:00 2003 Glenn Burkhardt <glenn@aoi-industries.com>
+
+       * Applied fixes for configuration problems with Solaris and
+         systems with gdbm instead of db1 (includes bug #2024)
+       * Fixes for bugs 
+         #578  - repl leaks umask 
+         #1393 - sortm core dumps 
+         #1650 - msh leaks file descriptors
+         #1730 - Double free() in mhfree.c:free_encoding()
+         #3356 - In-Reply-To header in default replcomps should be 
+                 RFC2822 compliant 
+       * Revised man page for mh-format (bug #2031)
+       * New replcomps, etc, with Fcc: +outbox in default versions
+       
+Sat Mar 17 03:18:15 2001 Dan Harkless <dan-nmh@dilvish.speed.net>
+
+       * Ken Hornstein's configure.in Cyrus SASL checks were doing 
+       `x"$with_cyrus_sasl" != "no"' instead of `... != x"no"'.
+
+Tue Mar 06 21:04:27 2001 Dan Harkless <dan-nmh@dilvish.speed.net>
+
+       * Found some historical information about MH in RFC 808.
+       Supplemented it with info from Jerry Peek's MH book and added it
+       to docs/README.about.
+
+Tue Feb 6 20:35:40 2001 Shantonu Sen <ssen@mit.edu>
+
+       * sbr/dtime.c Use the same Y2K correction code as dtimep.lex
+
+       * sbr/dtimep.lex Restrict the parser to accept either
+       a numerical timezone offset, or a symbolic one (e.g. EST),
+       but not both (Since "2000 -400 EDT" might cause a double
+       subtraction of 60 minutes if both are parsed. One should be
+       enough).
+
+Mon Feb 05 20:22:54 2001 Dan Harkless <dan-nmh@dilvish.speed.net>
+
+       * -L isn't sufficient for specifying the path of the Cyrus SASL
+       shared library.  That'll allow us to link successfully, but on
+       many/most OSes that won't allow us to find libsasl at runtime.  On
+       Solaris, we need to specify the library path with -R as well (or
+       else the user will have to use the $LD_LIBRARY_PATH kludge, which
+       is considered harmful).  This fix should be extended to other OSes
+       as well.
+
+       * Print whether we have SASL support in the "nmh configuration"
+       summary configure prints out.
+
+       * Say in README.developers to use `\date' in case anyone is like
+       me and has `date' aliased in their shell to use a nonstandard (but
+       subjectively more readable) format.
+
+Thu Jan 25 21:15:52 2001 Shantonu Sen <ssen@mit.edu>
+
+       * man/mh-chart.man has updated synposes of
+       all nmh commands.
+
+Tue Jan 23 20:26:15 2001 Shantonu Sen <ssen@mit.edu>
+
+       * etc/digestcomps tried to force dates into a
+       19xx when it's not necessary.
+       
+Fri Jan 19 21:22:08 2001 Shantonu Sen <ssen@mit.edu>
+
+       * First round of manpage updates finished. They
+       are standardized on -man macros, with minimal
+       roff mark-up.
+
+       * man/tmac.h.in is no longer needed, since the
+       manpages do not depend on them anymore. Note:
+       strict "man" programs that didn't allow ".so"
+       sourcing outside the man tree will now format
+       the man pages correctly.
+
+       * man/vmh.1 is no longer built, since uip/vmh isn't
+       
+Tue Jan 9 6:01:22 2001 Shantonu Sen <ssen@mit.edu>
+
+       * Finished manpages ali-prev
+
+       * Removed deprecated files from the repository.
+       Specifically, those rooted in zotnet/ and mts/sendmail
+       mts/mmdf. "cvs update -dP" will give a pruned directory
+       structure.
+
+       * Updated docs/Makefile.in to include README.manpages, and
+       uip/Makefile.in to include popi.c (which isn't being built,
+       though). This allows "make nmhdist" to create an archive that
+       is file-for-file identical to the current cvs repository.
+
+Sun Dec 31 20:48:50 2000 Shantonu Sen <ssen@mit.edu>
+
+       * Create docs/README.manpages, which details
+       the formatting rules I've been using.
+
+       * Finished ali-inc.
+       
+Sat Dec 30 9:50:13 2000 Shantonu Sen <ssen@mit.edu>
+
+       * Created a new file "DATE" to hold the date
+       of the most recent nmh release. This date will be
+       used in the manpages.
+
+       * Updated docs/README.developers to add the step
+       of updating DATE. Also, updated configure to
+       read in the contents of the file as the variable
+       $DATE.
+
+       * Started work on updating man pages, with only
+       ali finished so far. Changes: 1) no dependence
+       on an external macro file, 2) uses only
+       -man macros (although I may be mistaken in this),
+       3) syntax in the SYNOPSIS is a little more
+       in line with standard UNIX documentation, such as
+       bold flags and italicized parameters.
+
+Sun Dec 24 10:06:30 2000 Shantonu Sen <ssen@mit.edu>
+
+       * Updated INSTALL with information about the
+       --with-locking option.
+
+       * Fixed the Hesiod tests in configure.in. In
+       systems where res_send was in -lresolv, this
+       information was not being communicated to the
+       HESIOD_LIBS var. Now, if res_send is not found
+       in the default libraries, it's assumed to be
+       in -lresolv, and thus -lresolv is appended to
+       HESIOD_LIBS, which will need that to avoid
+       undefined symbols problems.
+
+       * Fixed the Kerberos tests in configure.in. New
+       versions of Kerberos 5 have renamed -lcrypto
+       to -lk5crypto (circa krb5 1.1 or thereabouts). The
+       new test tries to determine if -lk5crypto exists. If so,
+       this is a new krb5 system. If not, test for -lcrypto
+       and the rest of old krb5. If that fails, look
+       for a genuine krb4 installation.
+       
+Fri Dec 22 22:08:51 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
+
+       * -apop and -noapop were not documented in msgchk.man.
+       -snoop was documented but didn't appear in the usage SYNOPSIS.
+
+Fri Dec 22 23:42:16 2000 Shantonu Sen <ssen@mit.edu>
+
+       * Made a new ./configure option called
+       "--with-locking" that allows the file
+       locking mechanism to be chosen there instead of
+       requiring a manual edit of config.h.
+
+       * If the option is not explicitly set, or an
+       invalid option is specified, "dot" locking is
+       chosen. Valid options are "dot", "fcntl",
+       "flock", and "lockf". We need a way to tell
+       the user that these are the valid options, and
+       change the flag "--with-locking" if it's not
+       descriptive enough.
+
+Fri Dec 22 19:21:29 2000 Shantonu Sen <ssen@mit.edu>
+
+       * Remove the lex-specific memory hints at the
+       beginning of sbr/dtimep.lex. We've already
+       committed to supporting flex only, since
+       lex does not easily allow us to parse a single
+       string, as well as other problems documented
+       below and on nmh-workers.
+
+       * Added a switch statement to configure.in to
+       test for Mac OS X. If this is the case, LDFLAGS
+       should not contain "-s" since the linker rejects
+       the flag.
+
+       * Updated MACHINES to include Mac OS X Public Beta,
+       as well as Linux 2.4 running glibc 2.2.
+
+Wed Dec 20 16:00:46 2000 Shantonu Sen <ssen@mit.edu>
+
+       * Marked deprecated directories in docs/README.developers
+       as deprecated, with pointers to the new code location.
+       Eventually these deprecated directories should go away.
+
+Tue Dec 19 19:16:37 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
+
+       * -apop and -noapop were not documented in inc.man.  -snoop was
+       documented but didn't appear in the usage SYNOPSIS.
+
+Thu Dec 14 14:32:09 2000 Shantonu Sen <ssen@mit.edu>
+
+       * Updated config.guess and config.sub to the most recent
+       versions on ftp://ftp.gnu.org/pub/gnu/config, dated
+       12-07-00. This should prevent configure from failing
+       on newer operating systems because config.{guess,sub}
+       couldn't correctly identify them.
+
+Thu Dec 14 1:30:44 2000 Shantonu Sen <ssen@mit.edu>
+
+       * Fixed the circular dependency created when I moved
+       zotnet/mts to mts/generic and merged them into libmts.
+       mts/generic/client.c and mts/generic/mts.c are now in sbr/
+       (and thus in libmh), which makes libmh self-contained and
+       not depending on an external archive.
+
+       * All include statements now look for mts.h in h/. The
+       Makefiles and configure script have been modified so that
+       mts/generic is no longer built.
+
+Mon Dec 11 22:08:07 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
+
+       * When Shantonu made the new libmts.a, he swapped $(MTSLIB) and
+       libmh.a in sbr/Makefile.in so that libmh.a comes first, but this
+       causes the build to fail on Solaris, because libmts.a has to get
+       ruserpass() out of libmh.a.  Swapping them back to the way Ken
+       Hornstein's patch (which I applied on Jul 20) put them, with
+       libmh.a correctly coming second.  If there are times when libmts.a
+       needs to come second, then it would appear there's a circular
+       dependency and someone (Shantonu?) did an mts merge incorrectly.
+
+Fri Sep 8 01:36:23 2000 Shantonu Sen <ssen@mit.edu>
+
+       * Took out bad time textual time zones like BST and JST.
+       I found them online somewhere, but am not sure if they're
+       correct.        
+       
+Fri Sep 8 00:36:48 2000 Shantonu Sen <ssen@mit.edu>
+
+       * Moved zotnet/mts to mts/generic. This code reorganization
+       makes the entire zotnet tree deprecated -- bboards is unneeded,
+       mf was was moved to sbr, tws was rewritten and moved to sbr, and
+       now finally mts.
+
+       * Created a new static library called libmts.a used during
+       compilation which includes the generic mts code and the
+       smtp/sendmail code. This supercedes the functionality of the
+       old libsmtp.a and the remains of libzot.a.
+
+       * Updated header includes to reference the new location of mts.h
+       in mts/generic/mts.h. Also, update the configure and top-level
+       Makefile not to descend into zotnet. Also, they don't descend
+       into mts/mmdf and mts/sendmail (the sendmail code has been
+       merged into the smtp code).
+
+       * Added #include <h/nmh.h> to h/md5.h, since my compile was
+       complaining about implicitly-declared memcpy and memset, which
+       appear to be in strings.h. In any event, nmh.h should take care
+       of it for us.
+
+       * When doing a "make nmhdist", notice that the generated
+       snapshot does not include zotnet of the mts directories as noted
+       above. Since they are no longer compiled, and I don't see any
+       obvious code path to get to them, end-users should probably
+       not need them. If you think otherwise, turn Makefile generation
+       back on in configure.in and turn on recursion into those dirs
+       in the appropriate Makefile.in
+
+Wed Sep 6 22:40:03 2000 Shantonu Sen <ssen@mit.edu>
+
+       * Tracked down the problem in the new dtimep where time
+       zones were being radically misreported. It was because the
+       parser knew about military time zones (such as M or E) but in
+       some cases did not know about the textual representation of
+       some zones (like MET). When it encountered one of these, the
+       date parser misread MET as the military time zone T (well, first
+       zone M, then E, and finally T). I took military zones out, and
+       things seem much better. Also, the default behavior of parsing
+       time zones appears to default to GMT in the absence of better
+       info, which is less bogus than assuming the mail came from the
+       current time zone, which was the behavior in 1.04.
+
+Thu Aug 10 13:22:13 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
+
+       * Decided that limiting the message number columns to 3 on my
+       scan.MMDDYY and scan.YYYYMMDD (to try to regain space taken by
+       extra date info) was ill-conceived.  It's not that tough to get
+       past 999 messages, though I imagine it's rather rare to exceed
+       9999.  Changed these to 4.  Also put the "replied / encrypted"
+       column back in YYYYMMDD -- I've never seen it show anything but a
+       space, but that space is useful if you use scan, grep, and awk
+       (with the default field separator) to grab message numbers (I know
+       -- pick should really be used for these purposes...).
+
+Mon Aug  7 20:11:09 CEST 2000 Ruud de Rooij <ruud@ruud.org>
+
+       * Modify umask set by mhshow to enable user execute bit, so that
+       viewers that create temporary directories (e.g., lynx) will be
+       able to access them.
+
+Thu Aug 03 17:14:08 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
+
+       * TODO: Allow multiple simultaneous differing contexts, probably
+       each tied to a parent (terminal) process.
+
+Tue Aug  1 10:48:05 EDT 2000 Kimmo Suominen <kim@tac.nyc.ny.us>
+
+       * Makefile install rules should not look for generated files in
+       the source tree -- this will happen to work when configuring and
+       building inside the source tree but will fail when using an
+       external build tree.  Fixed etc/Makefile.in.
+
+Mon Jul 24 16:20:45 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
+
+       * When Shantonu wrote the new, more portable dtimep.lex, he left
+       out the #ifdef DSTXXX stuff for some reason.  Not a good idea, as
+       that code is required for proper printing of numeric-offset
+       timezones that have daylight saving time.  Without that code,
+       -0700 during DST gets printed as MST instead of PDT.
+
+       * Renamed DSTXXX as ADJUST_NUMERIC_ONLY_TZ_OFFSETS_WRT_DST and
+       added an explanatory comment by its #definition.
+
+       * Updated README.developers with the fact that zotnet/tws is going away.
+
+Thu Jul 20 20:30:52 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
+
+       * Moved Kimmo's new "--with-hash-backup" to be output with the
+       rest of the --with options in the configure --help output.  Also,
+       people did not preserve my alphabetization of the --with options
+       when they added new ones.  Re-alphabetized.
+
+       * One more pass at README.developers now that it's clear that my
+       previously-suggested one-line autoconf-file commit can cause
+       unnecessary local makes and an out-of-sync stamp-h.in file, but
+       would not cause problems for other people using the CVS files.
+
+       * Ken Hornstein's SASL patch was not integrated properly with
+       Ruud's new merged mts/sendmail code.  Kimmo has since fixed nmh so
+       it compiles, but according to Ken, the SASL stuff still does not
+       work.  Integrating a patch from him for this.
+
+       * Last pass at README.developers -- Kimmo's 5-step commit was
+       overkill.  You only need 3 steps, since configure.in is the only
+       autoconf file with the RCS $Id keyword.
+
+       * Applied Kurt J. Lidl <lidl@eng.us.uu.net>'s $MAILHOST patch:
+
+           I have a small patch that would be nice to be included --
+           basically, it allows the usage of the "MAILHOST" environment
+           variable, without having to have HESIOD turned on.  I need
+           this functionality for my environment, where we have identical
+           /usr/local on all my machines (so I cannot just hardcode into
+           the mts.conf file), and I have multiple POP mail servers for
+           my users.
+
+       Modified inc.man to reflect that along with "pophost:" and -host, 
+       $MAILHOST can now activate POP mail inclusion as well.
+
+       * Fixed warnings from diff on first-time install of nmh.  Also
+       added 'echo's clarifying the etc file installation activities.
+
+Tue Jul 18 19:36:59 EDT 2000 Kimmo Suominen <kim@tac.nyc.ny.us>
+
+       * Added the answer to Dan's question in README.developers.
+
+Mon Jul 17 19:10:36 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
+
+       * Clarified and made some corrections to Kimmo's README.developers
+       changes (BTW, if anyone can explain why the RCS Ids are able to cause
+       problems with the dependencies, please fill in the explanation --
+       I never encountered a problem with the old single-commit method).
+
+Sat Jul 15 23:13:49 EDT 2000 Kimmo Suominen <kim@tac.nyc.ny.us>
+
+       * Add configure option --with-hash-backup so the backup prefix can
+       be easily changed from "," to "#".
+
+       * Simplified sbr/Makefile.in so that it works with any make.
+
+       * Use mkstemp in sbr/lock_file.c.
+
+       * Commits of autoconf-related files apparently can't all be done
+       in one shot due to RCS Ids changing when committing -- updated
+       README.developers.
+
 Tue Jul 11 14:18:01 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
 
        * Clarified post.man and send.man for those not completely up on
 Tue Jul 11 14:18:01 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
 
        * Clarified post.man and send.man for those not completely up on
@@ -5,7 +409,7 @@ Tue Jul 11 14:18:01 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
        SMTP" means that encryption is supported for the authentication
        but not for the subsequent data stream.
 
        SMTP" means that encryption is supported for the authentication
        but not for the subsequent data stream.
 
-Sat Jul  8 01:36:19 2000 Kimmo Suominen <kim@tac.nyc.ny.us>
+Sat Jul  8 01:36:19 EDT 2000 Kimmo Suominen <kim@tac.nyc.ny.us>
 
        * Applied Ken Hornstein <kenh@cmf.nrl.navy.mil>'s patches
        implementing SASL support for POP3 and SMTP.  If nmh is compiled
 
        * Applied Ken Hornstein <kenh@cmf.nrl.navy.mil>'s patches
        implementing SASL support for POP3 and SMTP.  If nmh is compiled