]>
diplodocus.org Git - nmh/log
Ken Hornstein [Fri, 22 Feb 2013 03:38:18 +0000 (22:38 -0500)]
Add a lot more text to the man page; it should be in reasonable shape now.
Ken Hornstein [Fri, 22 Feb 2013 03:37:47 +0000 (22:37 -0500)]
Update instruction output to be a bit more cleaner
Ken Hornstein [Thu, 21 Feb 2013 20:53:06 +0000 (15:53 -0500)]
Flesh this out so finally it's halfway useful.
Ken Hornstein [Thu, 21 Feb 2013 20:52:36 +0000 (15:52 -0500)]
Rearrange options a bit and support the -nodump flag. Also clean up how
-raw mode works.
Ken Hornstein [Thu, 21 Feb 2013 20:52:09 +0000 (15:52 -0500)]
Bring this up to best practices.
Ken Hornstein [Thu, 21 Feb 2013 03:37:50 +0000 (22:37 -0500)]
Minor updates for fmttest man page.
Ken Hornstein [Wed, 20 Feb 2013 20:53:54 +0000 (15:53 -0500)]
Basic format tracing support; seems to work!
Ken Hornstein [Wed, 20 Feb 2013 20:19:11 +0000 (15:19 -0500)]
Support for the address duplication done by repl, and also clean up
some stuff.
Ken Hornstein [Wed, 20 Feb 2013 17:01:05 +0000 (12:01 -0500)]
Support callbacks into the format engine. This is so we can add in proper
hooks for %(formataddr), %(concataddr), and (eventually) tracing.
Ken Hornstein [Wed, 20 Feb 2013 02:54:14 +0000 (21:54 -0500)]
The beginnings of a fmttest man page.
Ken Hornstein [Tue, 19 Feb 2013 01:51:46 +0000 (20:51 -0500)]
fmttest is actually starting to get useful now. Some changes were required
to the format code to make this code cleaner.
Ken Hornstein [Sat, 16 Feb 2013 05:31:16 +0000 (00:31 -0500)]
Slightly more useful, but still more work to do.
Ken Hornstein [Fri, 15 Feb 2013 20:58:21 +0000 (15:58 -0500)]
Add more functionality to fmttest; it's starting to get semi-useful.
Ken Hornstein [Thu, 14 Feb 2013 18:50:28 +0000 (13:50 -0500)]
More work on fmttest, but still plenty more to go.
Ken Hornstein [Thu, 14 Feb 2013 18:49:54 +0000 (13:49 -0500)]
Correct man page information for %(width) format instruction.
Ken Hornstein [Wed, 13 Feb 2013 20:53:13 +0000 (15:53 -0500)]
Clean up argument handling to fmttest, as a precursor to actually getting
it done.
Ken Hornstein [Wed, 13 Feb 2013 19:24:11 +0000 (14:24 -0500)]
Convert fmttest over to the new argument processing world order.
Ken Hornstein [Mon, 21 Jan 2013 15:58:07 +0000 (10:58 -0500)]
Merge branch 'master' into format-test
Ken Hornstein [Mon, 21 Jan 2013 15:32:37 +0000 (10:32 -0500)]
Fix a bug leading to message corruption with inc when incorporation more
than one message at a time.
When I reworked the scan() code to remove the use of stdio internals,
two code paths were created. The inc code path consumed another buffer
from the nxtbuf list for processing the message body. At the end of
scan() there was code to push back all of the consumed buffers to the
nxtbuf list. The extra buffer consumed in the inc code path wasn't
being pushed back, and as a result the nxtbuf list would end up with
duplicate pointers in it. This would result in two components sharing
the same text buffer, which caused the message corruption.
When I looked at this closer, I realized that there was no reason to
push those buffers back to the list; nxtbuf gets reset to compbuffers
at the start of every call to scan(), and nxtbuf isn't used after the
buffers are pushed back. Some researched revealed that this was the
same back in the original MH code. I decided it was simplest to simply
delete the buffer recycling code.
Ken Hornstein [Mon, 21 Jan 2013 03:23:58 +0000 (22:23 -0500)]
Fix memory leak in arglist code
David Levine [Sun, 20 Jan 2013 14:38:18 +0000 (08:38 -0600)]
Added scan and inc from mbox with multiple messages.
David Levine [Sun, 20 Jan 2013 13:49:58 +0000 (07:49 -0600)]
Updated test-inc-scanout on master to match version of
m_getfld branch.
Ken Hornstein [Fri, 18 Jan 2013 21:03:26 +0000 (16:03 -0500)]
Beginning of implementation of new argsplit() function to handle arguments
to profile-defined commands.
David Levine [Wed, 16 Jan 2013 01:38:16 +0000 (19:38 -0600)]
Check that a character array isn't empty before looking for its
next-to-last element.
David Levine [Wed, 16 Jan 2013 00:14:46 +0000 (18:14 -0600)]
In build_nmh, removed configuration of pager and editor.
And replaced use of which(1) with a self-contained function.
Ken Hornstein [Tue, 15 Jan 2013 20:30:17 +0000 (15:30 -0500)]
Support the VISUAL and EDITOR environment variables, and remove support
for configuring a default editor with --with-editor.
Ken Hornstein [Tue, 15 Jan 2013 18:22:13 +0000 (13:22 -0500)]
Remove the --with-pager configure option and replace it with a default
of "more".
Ken Hornstein [Fri, 11 Jan 2013 16:13:44 +0000 (11:13 -0500)]
We never use the autoconf checks for errno.h, crypt.h, or netdb.h, so
remove them.
Ken Hornstein [Fri, 11 Jan 2013 16:07:51 +0000 (11:07 -0500)]
At this point we're assuming at least C89 support, so there's no reason
we should check for support for const and standard header files.
Ken Hornstein [Thu, 10 Jan 2013 19:18:15 +0000 (14:18 -0500)]
Convert the MIME content cache switches over to the smatch() New World Order.
David Levine [Thu, 10 Jan 2013 14:00:20 +0000 (08:00 -0600)]
Added explicit third initializer to some swit struct values
to silence gcc -Wmissing-field-initialziers warning.
Ken Hornstein [Thu, 10 Jan 2013 03:04:23 +0000 (22:04 -0500)]
Convert all argument processing over to using X-Macros for cleanup.
Based on a suggestion by Ralph Corderoy.
Ken Hornstein [Mon, 7 Jan 2013 22:41:27 +0000 (17:41 -0500)]
Fix bug where a "cur" sequence that was outside the folder allocation limits
could trigger a core dump on some systems.
David Levine [Sun, 6 Jan 2013 21:04:24 +0000 (15:04 -0600)]
Removed support for #ifdef LBL. It was broken anyways,
sometime between MH 6.8.5 and the Apr 1999 entry into CVS.
Also removed the addtoseq format function that could only be
accessed with it.
David Levine [Sun, 6 Jan 2013 15:38:21 +0000 (09:38 -0600)]
Fixed test-utf8-body to actually contain the UTF-8 character
instead of the single byte, 8-bit character. This was caught
using Heirloom shell with a UTF-8 locale: when it wrote the
test draft from a here document, it converted the single byte
character to UTF-8. This verifies that behavior:
LANG=en_US.utf-8 /usr/lib/heirloom/5bin/sh -c "od -x <<EOF
`printf '\xA1'`
EOF
"
David Levine [Sat, 5 Jan 2013 15:55:35 +0000 (09:55 -0600)]
Expanded warning message for invalid Content-Transfer-Encoding.
David Levine [Sat, 5 Jan 2013 00:50:06 +0000 (18:50 -0600)]
Added reference to RFC-1864 to mhbuild man page.
Ken Hornstein [Fri, 4 Jan 2013 20:12:15 +0000 (15:12 -0500)]
Remove support for -ebcdicsafe/-noebcdicsafe switches in various utilities.
Ken Hornstein [Fri, 4 Jan 2013 20:03:32 +0000 (15:03 -0500)]
Create a dependency for mh-chart.man on all of the man page sources so
it gets rebuilt correctly if the man pages change.
David Levine [Fri, 4 Jan 2013 03:59:44 +0000 (21:59 -0600)]
In cpstripped() and cptrimmed(), if a multibyte character is
found, only count it as taking up one character in the
destination buffer (if it has enought room). This way,
scan(1)'s output won't be jagged if there are any subjects,
for example, that have multibyte characters.
Added a test for this to test-scan-multibyte, and moved the
test for an invalid multibyte sequence from test-scan to it.
David Levine [Fri, 4 Jan 2013 03:51:56 +0000 (21:51 -0600)]
Removed empty file name .null from the historical mh-6.8.5 tree.
David Levine [Thu, 3 Jan 2013 02:07:43 +0000 (20:07 -0600)]
Fixed decoding of header fields when they contain a character that
can't be converted. Added test case to test-scan. valgrind also
noticed that things went amiss.
David Levine [Thu, 3 Jan 2013 00:13:59 +0000 (18:13 -0600)]
Remove test .netrc file at the end of test-pop.
Ken Hornstein [Wed, 2 Jan 2013 20:23:29 +0000 (15:23 -0500)]
Switch to using native automake rules for cscope.
Ken Hornstein [Wed, 2 Jan 2013 03:06:33 +0000 (22:06 -0500)]
Change TLS support to only link the TLS libraries with the programs that
need them.
Ken Hornstein [Tue, 1 Jan 2013 07:40:30 +0000 (02:40 -0500)]
Clean up (and hopefully improve) the autoconf iconv tests.
Ken Hornstein [Tue, 1 Jan 2013 06:50:06 +0000 (01:50 -0500)]
Still MORE autoconf cleanup.
Ken Hornstein [Tue, 1 Jan 2013 06:27:08 +0000 (01:27 -0500)]
Autoconf/automake cleanup
Ken Hornstein [Tue, 1 Jan 2013 06:01:32 +0000 (01:01 -0500)]
Document removal of --enable-nmh-debug
Ken Hornstein [Tue, 1 Jan 2013 06:00:03 +0000 (01:00 -0500)]
Finally deprecate --enable-nmh-debug
Ken Hornstein [Mon, 31 Dec 2012 01:17:01 +0000 (20:17 -0500)]
Note changes to autoconf requirements here.
Ken Hornstein [Mon, 31 Dec 2012 00:40:42 +0000 (19:40 -0500)]
We are now requiring autoconf 2.68 and automake 1.13.
Lyndon Nerenberg [Sun, 30 Dec 2012 20:19:47 +0000 (12:19 -0800)]
Note that the minimum required version of automake is 1.12.
Lyndon Nerenberg [Sun, 30 Dec 2012 17:38:46 +0000 (09:38 -0800)]
Ignore top-level ar-lib file.
This is detritus from the AM_PROG_AR macro I added to configure.ac.
Lyndon Nerenberg [Sun, 30 Dec 2012 09:27:49 +0000 (01:27 -0800)]
Add an AM_PROG_AR program check to configure.ac This quells a
warning when configuring on FreeBSD 10.
David Levine [Wed, 26 Dec 2012 20:03:20 +0000 (14:03 -0600)]
Tweaked last commit to test/common.sh.in to eliminate a mv.
David Levine [Wed, 26 Dec 2012 17:09:28 +0000 (11:09 -0600)]
Added note about PATH when running "make check" on Cygwin.
David Levine [Wed, 26 Dec 2012 17:04:23 +0000 (11:04 -0600)]
Fixed test-slocal to work with mmdfldir set to /dev/null, and on
Cygwin, which needs the full path to tee(1).
David Levine [Wed, 12 Dec 2012 05:24:19 +0000 (23:24 -0600)]
Removed a few #ifndef JLR/#endif pairs because they're not needed.
David Levine [Wed, 12 Dec 2012 01:45:29 +0000 (19:45 -0600)]
Removed some dead code, all inside #if 0's. I tried to not remove
anything useful, so there are a few #if 0's remaining.
Lyndon Nerenberg [Tue, 11 Dec 2012 04:54:15 +0000 (20:54 -0800)]
Import a copy of Markus Schnalke's master's thesis: The Modern Mail Handler.
(Added with Markus' permission.)
Ken Hornstein [Tue, 11 Dec 2012 04:23:44 +0000 (23:23 -0500)]
Remove the peeking into the stdio internals inside of scan(). Hm, this
was more complicated than I originally thought.
Ken Hornstein [Mon, 10 Dec 2012 21:01:59 +0000 (16:01 -0500)]
The beginnings of a program to test format functions/files.
David Levine [Mon, 10 Dec 2012 03:26:49 +0000 (21:26 -0600)]
Added release notes for releases 1.4 and 1.3 to tail of NEWS.
Paul Fox [Fri, 7 Dec 2012 15:27:52 +0000 (10:27 -0500)]
mhshow: properly treat unknown multipart subtypes as "mixed"
David Levine [Thu, 6 Dec 2012 15:46:18 +0000 (09:46 -0600)]
Added test of -nosequence to test-pick.
Paul Fox [Thu, 6 Dec 2012 02:47:12 +0000 (21:47 -0500)]
pick: add -nosequence command line switch
David Levine [Tue, 4 Dec 2012 00:45:55 +0000 (18:45 -0600)]
Note in dist, mh-profile, and repl man pages that the @ link
is only created with -atfile.
David Levine [Mon, 3 Dec 2012 14:54:21 +0000 (08:54 -0600)]
Fix to
25581a94c5113eb78b2baf7110408df96efc4418 : always set $editalt,
even without -atfile.
Jerrad Pierce [Mon, 3 Dec 2012 03:02:11 +0000 (21:02 -0600)]
Added docs/contrib/vpick.
David Levine [Sun, 2 Dec 2012 15:19:21 +0000 (09:19 -0600)]
Cleaned up sendfiles(1) man page just a bit.
Ralph Corderoy [Sun, 2 Dec 2012 15:05:37 +0000 (09:05 -0600)]
Corrected the last addition to man/nmh.man. Might be nicer to explain
the warty truth from the off.
David Levine [Sat, 1 Dec 2012 16:53:36 +0000 (10:53 -0600)]
Updated the TODO file.
David Levine [Sat, 1 Dec 2012 16:52:27 +0000 (10:52 -0600)]
Copied atexit() code from fakesmtp.c to fakepop.c so that its
pid file gets cleaned up. Also copied the sig handler.
David Levine [Sat, 1 Dec 2012 00:42:40 +0000 (18:42 -0600)]
Fixed formatting glitch in msh.man.
Jerrad Pierce [Sat, 1 Dec 2012 00:40:52 +0000 (18:40 -0600)]
Added description of @folder format to nmh.man.
Ken Hornstein [Thu, 29 Nov 2012 20:28:12 +0000 (15:28 -0500)]
Merge branch 'master' of git.sv.nongnu.org:/srv/git/nmh
Paul Fox [Thu, 29 Nov 2012 19:54:49 +0000 (14:54 -0500)]
show: remove unused variable
this should have been part of the previous removal of unreachable code.
Paul Fox [Thu, 29 Nov 2012 18:59:55 +0000 (13:59 -0500)]
show: remove unreachable code
the stanza in question has been impossible to reach for some time. i
believe its purpose was to give a non-mh display proc full pathname
arguments to work with. since we've chdir'd to the folder, giving it
message numbers (i.e., relative pathnames) is fine.
Paul Fox [Tue, 27 Nov 2012 05:20:55 +0000 (00:20 -0500)]
show: remove MAXARGS limit when running any of the helper procs
use app_msgarg() to maintain both the msgs[] and vec[] string vectors.
Paul Fox [Tue, 27 Nov 2012 04:43:00 +0000 (23:43 -0500)]
forw: remove MAXARGS limit when running mhlproc
use app_msgarg() to maintain both the msgs[] and vec[] string vectors.
Paul Fox [Tue, 27 Nov 2012 14:53:56 +0000 (09:53 -0500)]
burst: eliminate use of MAXARGS
use the already available app_msgarg() utility to make this easy.
(the MAXARGS limit was highly unlikely to be exceeded, in practice.)
Ken Hornstein [Wed, 28 Nov 2012 16:21:50 +0000 (11:21 -0500)]
Update about changes to rmmproc support.
Paul Fox [Tue, 27 Nov 2012 17:05:56 +0000 (12:05 -0500)]
app_msgarg: de-obfuscate
add some whitespace and break things up. and add comment to reflect
that this might be (and is) used for more than just msg parameters.
Paul Fox [Tue, 27 Nov 2012 02:00:28 +0000 (21:00 -0500)]
Artificial argv limits.
when i skimmed the code earlier, i was looking at all the uses of
MAXARGS -- many of which are used to size local arrays. converting
them all to be dynamically-sized might be a fair amount of work.
but looking at rmm.c, refile.c, and folder_delmsgs(), i don't think
that issue applies. the patch below fixes the problem, and makes
rmmproc and refile do the right thing (well, at least, the modern
thing). NB: i didn't test to the limit where execvp should return
E2BIG.
as for the rest of mh -- it's certainly possible to hit the MAXARGS
limit with other commands (show, for instance), but i suspect the
frequency is much lower, and those, too, can be fixed as needed.
paul
>From
9636bc0e1697829966f51d2c301cd5d730c38c0a Mon Sep 17 00:00:00 2001
From: Paul Fox <pgf@foxharp.boston.ma.us>
Date: Mon, 26 Nov 2012 20:49:55 -0500
Subject: [PATCH] rmm/refile: remove the MAXARGS limit when running rmmproc
Ken Hornstein [Mon, 26 Nov 2012 16:25:31 +0000 (11:25 -0500)]
Since pick now uses decode_rfc2047, we need to be sure to link in the
iconv library (if we need it).
David Levine [Sun, 25 Nov 2012 15:17:15 +0000 (09:17 -0600)]
In pick(1), attempt to decode each header field as if it were
MIME encoded.
David Levine [Sun, 25 Nov 2012 15:06:20 +0000 (09:06 -0600)]
In pick(1), attempt to decode each header field as if it were
MIME encoded.
Ken Hornstein [Sun, 25 Nov 2012 05:49:04 +0000 (00:49 -0500)]
A new test for the POP support in inc. Very simple for now, but it seems
to at least check the basic functionality.
Ken Hornstein [Sun, 25 Nov 2012 04:50:31 +0000 (23:50 -0500)]
Add support for a -nosasl switch.
David Levine [Sat, 24 Nov 2012 15:08:31 +0000 (09:08 -0600)]
Fixed pick(1) to properly unfold multiple-line header fields
by removing newlines instead of replacing them with spaces
[Bug #15215].
Bill Wohler [Sat, 24 Nov 2012 06:41:06 +0000 (01:41 -0500)]
The big news for this update is nmh 1.5.
Ken Hornstein [Sat, 24 Nov 2012 01:54:28 +0000 (20:54 -0500)]
Fix the race condition with fakesmtp so it works without needing retries.
Ken Hornstein [Sat, 24 Nov 2012 00:59:37 +0000 (19:59 -0500)]
Document changes to inc.
Ken Hornstein [Sat, 24 Nov 2012 00:58:34 +0000 (19:58 -0500)]
Document the -port switch to inc. Also, fix the -port switch to inc so
it actually works.
David Levine [Fri, 23 Nov 2012 15:27:44 +0000 (09:27 -0600)]
Added test-slocal.
David Levine [Fri, 23 Nov 2012 15:26:21 +0000 (09:26 -0600)]
slocal used to support two different formats for three of
its arguments:
[address info sender]
[-addr address] [-info data] [-sender sender]
But it hasn't properly supported the first form since at
least April 1999. So, I removed that first form from the
man page and the broken support from the code. Score
another for the test suite!
David Levine [Fri, 23 Nov 2012 15:25:15 +0000 (09:25 -0600)]
Added Message-Id to messages in test suite.
David Levine [Tue, 20 Nov 2012 01:19:59 +0000 (19:19 -0600)]
Fixed a couple of signed-unsigned comparisons.
Oliver Kiddle [Mon, 19 Nov 2012 23:47:24 +0000 (00:47 +0100)]
Yozo TODA: fix for mhshow-charset- directives in .mh_profile being broken