]> diplodocus.org Git - nmh/log
nmh
12 years agoUpdate the manpage style guide to be consistent about setting program names in
Lyndon Nerenberg [Sun, 16 Mar 2014 19:19:54 +0000 (12:19 -0700)]
Update the manpage style guide to be consistent about setting program names in
boldface always.

12 years agoFixed formatting of program name in mh-mime(7) man page. Removed
David Levine [Sun, 16 Mar 2014 15:40:27 +0000 (10:40 -0500)]
Fixed formatting of program name in mh-mime(7) man page.  Removed
CONTEXT section from mkstemp(1) man page.

12 years agoMoved "mhparam iconv" description to mhparam(1) man page and put
David Levine [Sun, 16 Mar 2014 15:15:41 +0000 (10:15 -0500)]
Moved "mhparam iconv" description to mhparam(1) man page and put
references to it in mh-mime(7), mhfixmsg(1), and mhshow(1) man pages.
Updated mhparam man page description of other configuration
parameters.  Added "Message Rewrite" section to mh-mime page.

12 years agoFixed some of the issues noted by clang --analyze with
David Levine [Sat, 15 Mar 2014 01:25:06 +0000 (20:25 -0500)]
Fixed some of the issues noted by clang --analyze with
mhfixmsg.c and mkstemp.c.

12 years agoFixed fixup of sbr/dtimep.c with flex 2.5.36.
David Levine [Sat, 15 Mar 2014 01:22:07 +0000 (20:22 -0500)]
Fixed fixup of sbr/dtimep.c with flex 2.5.36.

12 years agoModified probe to output sbr/dtimep.c. The flex version is 2.5.36.
David Levine [Sat, 15 Mar 2014 00:56:38 +0000 (19:56 -0500)]
Modified probe to output sbr/dtimep.c.  The flex version is 2.5.36.

12 years agoAdded probe to configure.ac to output flex version (for fed18arm7 build).
David Levine [Sat, 15 Mar 2014 00:16:23 +0000 (19:16 -0500)]
Added probe to configure.ac to output flex version (for fed18arm7 build).

12 years agoCompare character with EOF using signed comparison because
David Levine [Sat, 15 Mar 2014 00:04:45 +0000 (19:04 -0500)]
Compare character with EOF using signed comparison because
EOF can be (and is likely) negative.  This showed up on
arm7, which apparently uses unsigned char for char.

12 years agoSigh. Make localmbox work even if we're not using -debug.
Ken Hornstein [Fri, 14 Mar 2014 19:22:12 +0000 (15:22 -0400)]
Sigh.  Make localmbox work even if we're not using -debug.

12 years agoWhoops, missed a warning groff found.
Ken Hornstein [Fri, 14 Mar 2014 19:21:49 +0000 (15:21 -0400)]
Whoops, missed a warning groff found.

12 years agoFix some typos and make some style changes suggested by Ralph Corderoy
Ken Hornstein [Fri, 14 Mar 2014 18:59:39 +0000 (14:59 -0400)]
Fix some typos and make some style changes suggested by Ralph Corderoy

12 years agoAdd support for printing iconv and localmbox.
Ken Hornstein [Fri, 14 Mar 2014 16:31:23 +0000 (12:31 -0400)]
Add support for printing iconv and localmbox.

12 years agoUpdate for mh-mime.
Ken Hornstein [Thu, 13 Mar 2014 19:53:05 +0000 (15:53 -0400)]
Update for mh-mime.

12 years agoCreate new mh-mime man page, with overview of how MIME handling works in nmh.
Ken Hornstein [Thu, 13 Mar 2014 19:51:32 +0000 (15:51 -0400)]
Create new mh-mime man page, with overview of how MIME handling works in nmh.

12 years agoUpdate and fix some formatting issues.
Ken Hornstein [Thu, 13 Mar 2014 19:11:22 +0000 (15:11 -0400)]
Update and fix some formatting issues.

12 years agoFixed test-mkstemp to work on platforms that don't have mkstemps(3),
David Levine [Tue, 11 Mar 2014 01:26:51 +0000 (20:26 -0500)]
Fixed test-mkstemp to work on platforms that don't have mkstemps(3),
such as CentOS 5.

12 years agoCheck for text/html display programs in this order: w3m, lynx, elinks.
David Levine [Tue, 11 Mar 2014 01:24:46 +0000 (20:24 -0500)]
Check for text/html display programs in this order:  w3m, lynx, elinks.

12 years agoFix minor typo.
Ken Hornstein [Fri, 7 Mar 2014 17:04:46 +0000 (12:04 -0500)]
Fix minor typo.

12 years agoImport Dave Crocker's brief history of email development at Rand.
Lyndon Nerenberg [Fri, 7 Mar 2014 17:05:17 +0000 (09:05 -0800)]
Import Dave Crocker's brief history of email development at Rand.
(Added with his permission.)

12 years agoFixed test/getcwidth.c to build without MULTIBYTE_SUPPORT.
David Levine [Fri, 7 Mar 2014 02:32:14 +0000 (20:32 -0600)]
Fixed test/getcwidth.c to build without MULTIBYTE_SUPPORT.
Found by cppcheck.

12 years agoFixed a few very minor issues that cppcheck noticed.
David Levine [Fri, 7 Mar 2014 02:15:45 +0000 (20:15 -0600)]
Fixed a few very minor issues that cppcheck noticed.

12 years agoRemoved declaration of unused sm_reply from post.c.
David Levine [Fri, 7 Mar 2014 01:46:30 +0000 (19:46 -0600)]
Removed declaration of unused sm_reply from post.c.

12 years agoMade a couple of globals static in smtp.c.
David Levine [Fri, 7 Mar 2014 01:45:37 +0000 (19:45 -0600)]
Made a couple of globals static in smtp.c.

12 years agoChanged unused symbol that gen-ctype-checked creates with NDEBUG
David Levine [Fri, 7 Mar 2014 01:43:47 +0000 (19:43 -0600)]
Changed unused symbol that gen-ctype-checked creates with NDEBUG
from a data object to a function, to remove a global from libmh.a.

12 years agoAdded remedy for compile warnings when built with --with-tls on
David Levine [Fri, 7 Mar 2014 01:39:10 +0000 (19:39 -0600)]
Added remedy for compile warnings when built with --with-tls on
Mac OS 10.7 or later.

12 years agoRemove backup file at end of test-ext-params, and a temp file.
David Levine [Fri, 7 Mar 2014 01:35:22 +0000 (19:35 -0600)]
Remove backup file at end of test-ext-params, and a temp file.

12 years agoPut in check so "attach" is rejected when the draft already has MIME headers.
Ken Hornstein [Thu, 6 Mar 2014 20:45:19 +0000 (15:45 -0500)]
Put in check so "attach" is rejected when the draft already has MIME headers.

12 years agoUpdate test to match reality
Ken Hornstein [Thu, 6 Mar 2014 20:31:01 +0000 (15:31 -0500)]
Update test to match reality

12 years agoUpdate documentation to match reality.
Ken Hornstein [Thu, 6 Mar 2014 20:25:55 +0000 (15:25 -0500)]
Update documentation to match reality.

12 years agoPrevent crash if editfile() is called and both "*ed" and editsave
Ken Hornstein [Thu, 6 Mar 2014 19:59:35 +0000 (14:59 -0500)]
Prevent crash if editfile() is called and both "*ed" and editsave
are NULL.  This can happen if you call "mime" and then run "edit" without
any arguments, if you're running whatnow standalone.

12 years agoRemove unneeded assignment.
Ken Hornstein [Thu, 6 Mar 2014 19:34:34 +0000 (14:34 -0500)]
Remove unneeded assignment.

12 years agoFix up some warnings and problems when iconv doesn't exist.
Ken Hornstein [Thu, 6 Mar 2014 04:31:31 +0000 (23:31 -0500)]
Fix up some warnings and problems when iconv doesn't exist.

12 years agoMerge branch 'extended-params'
Ken Hornstein [Thu, 6 Mar 2014 04:17:17 +0000 (23:17 -0500)]
Merge branch 'extended-params'

12 years agoUpdate pending-release-notes.
Ken Hornstein [Thu, 6 Mar 2014 02:27:25 +0000 (21:27 -0500)]
Update pending-release-notes.

12 years agoMore tests for extended-parameter parsing.
Ken Hornstein [Thu, 6 Mar 2014 02:26:02 +0000 (21:26 -0500)]
More tests for extended-parameter parsing.

12 years agoAdd extra argument to add_param() so it can use the passed-in pointers
Ken Hornstein [Wed, 5 Mar 2014 23:22:56 +0000 (18:22 -0500)]
Add extra argument to add_param() so it can use the passed-in pointers
directly without making copies first.

12 years agoA more complicated RFC 2231 parsing example.
Ken Hornstein [Wed, 5 Mar 2014 20:43:33 +0000 (15:43 -0500)]
A more complicated RFC 2231 parsing example.

12 years agoWhoops, a little TOO hasty on the last bugfix; put back an assignment.
Ken Hornstein [Wed, 5 Mar 2014 20:42:59 +0000 (15:42 -0500)]
Whoops, a little TOO hasty on the last bugfix; put back an assignment.

12 years agoSwitch over to using the token parser instead of isspace(), and
Ken Hornstein [Wed, 5 Mar 2014 20:11:54 +0000 (15:11 -0500)]
Switch over to using the token parser instead of isspace(), and
make sure we have our pointer correct when doing an encoded parameter
that isn't the first one.

12 years agoMove language tag parser into the block so it only gets
Ken Hornstein [Wed, 5 Mar 2014 19:36:43 +0000 (14:36 -0500)]
Move language tag parser into the block so it only gets
invoked on index 0.

12 years agoChange disposition output slightly.
Ken Hornstein [Wed, 5 Mar 2014 19:04:47 +0000 (14:04 -0500)]
Change disposition output slightly.

12 years agoUpdate information to mention RFC 2231.
Ken Hornstein [Wed, 5 Mar 2014 18:48:45 +0000 (13:48 -0500)]
Update information to mention RFC 2231.

12 years agoAdd message/external-body test.
Ken Hornstein [Wed, 5 Mar 2014 18:40:13 +0000 (13:40 -0500)]
Add message/external-body test.

12 years agoUpdate mhlist and other relevant utilities to output disposition information
Ken Hornstein [Wed, 5 Mar 2014 18:03:30 +0000 (13:03 -0500)]
Update mhlist and other relevant utilities to output disposition information
with a new -disposition switch.

12 years agoSome tests for RFC 2231 decoding; seems like it works, but need to stress
Ken Hornstein [Wed, 5 Mar 2014 04:44:09 +0000 (23:44 -0500)]
Some tests for RFC 2231 decoding; seems like it works, but need to stress
it some more.

12 years agoFix up some error reporting, and reassemble partial parameters correctly.
Ken Hornstein [Wed, 5 Mar 2014 04:43:26 +0000 (23:43 -0500)]
Fix up some error reporting, and reassemble partial parameters correctly.

12 years agoFix up a few pointer mishaps; this should now get everything right!
Ken Hornstein [Wed, 5 Mar 2014 03:49:13 +0000 (22:49 -0500)]
Fix up a few pointer mishaps; this should now get everything right!

12 years agoWhoops, forgot to set the name element of the partial parameter structure.
Ken Hornstein [Wed, 5 Mar 2014 03:37:10 +0000 (22:37 -0500)]
Whoops, forgot to set the name element of the partial parameter structure.

12 years agoA few minor fixups; the parser now passes the test suite!
Ken Hornstein [Wed, 5 Mar 2014 00:53:23 +0000 (19:53 -0500)]
A few minor fixups; the parser now passes the test suite!

12 years agoFixes for the MIME parser; kinda works for regular parameters, but
Ken Hornstein [Tue, 4 Mar 2014 18:45:19 +0000 (13:45 -0500)]
Fixes for the MIME parser; kinda works for regular parameters, but
still needs some fixes.

12 years agoMore work on extended parameter parser. Does not compile yet.
Ken Hornstein [Tue, 4 Mar 2014 02:52:35 +0000 (21:52 -0500)]
More work on extended parameter parser.  Does not compile yet.

12 years agoIn test/common.sh.in trap, cd to $MH_TEST_DIR before trying
David Levine [Mon, 3 Mar 2014 15:14:09 +0000 (07:14 -0800)]
In test/common.sh.in trap, cd to $MH_TEST_DIR before trying
to remove its Mail subdirectory.  rm on Solaris won't remove
it if it's in the path of the current working directory.

12 years agoMake parse_header_attrs() a private function (there are no longer any
Ken Hornstein [Mon, 3 Mar 2014 05:43:46 +0000 (00:43 -0500)]
Make parse_header_attrs() a private function (there are no longer any
public consumers of it).

12 years agoConvert unqp() to decode_qp(), and make it a public function. Also,
Ken Hornstein [Mon, 3 Mar 2014 05:42:56 +0000 (00:42 -0500)]
Convert unqp() to decode_qp(), and make it a public function.  Also,
handle the case where decode_qp() is passed a character outside of
the normal ASCII range.

12 years agoAdded mkstemp(1), wrapper around mkstemp(3)/mkstemps(3), to
David Levine [Mon, 3 Mar 2014 04:38:57 +0000 (22:38 -0600)]
Added mkstemp(1), wrapper around mkstemp(3)/mkstemps(3), to
auxexec, for use by mhmail.

12 years agoAdded convenience function die() to mhmail.
David Levine [Mon, 3 Mar 2014 02:29:20 +0000 (20:29 -0600)]
Added convenience function die() to mhmail.

12 years agoSwitch over get_ctinfo() to determine the filename based on the filename if
Ken Hornstein [Mon, 3 Mar 2014 02:04:55 +0000 (21:04 -0500)]
Switch over get_ctinfo() to determine the filename based on the filename if
one was not provided.  Remove some unneeded functions as part of this work.

12 years agoAdded recommendation to use nmh-storage profile setting or
David Levine [Sun, 2 Mar 2014 18:00:13 +0000 (12:00 -0600)]
Added recommendation to use nmh-storage profile setting or
non-default -clobber with mhstore -always.

12 years agoAdded check of -noverbose to test-mhstore.
David Levine [Sun, 2 Mar 2014 16:09:18 +0000 (10:09 -0600)]
Added check of -noverbose to test-mhstore.

12 years agoAdded commented explaining use of ci_attrs[0] in
David Levine [Sun, 2 Mar 2014 15:30:01 +0000 (09:30 -0600)]
Added commented explaining use of ci_attrs[0] in
build_multipart_alt() of mhfixmsg.

12 years agoWhoops, forgot to TEST THIS OUT first.
Ken Hornstein [Sun, 2 Mar 2014 05:07:10 +0000 (00:07 -0500)]
Whoops, forgot to TEST THIS OUT first.

12 years agoFor some reason viamail listed mhoutsbr as a dependency. It turned out it
Ken Hornstein [Sun, 2 Mar 2014 05:06:13 +0000 (00:06 -0500)]
For some reason viamail listed mhoutsbr as a dependency.  It turned out it
wasn't required, so we removed it so we don't have to pull in a complete MIME
parser into viamail.

12 years agoMore cleaned and conversion to the new parameter API.
Ken Hornstein [Sun, 2 Mar 2014 04:51:19 +0000 (23:51 -0500)]
More cleaned and conversion to the new parameter API.

12 years agoAdd a new get_param_value(); redo iconv() parameter conversion code.
Ken Hornstein [Sun, 2 Mar 2014 04:24:47 +0000 (23:24 -0500)]
Add a new get_param_value(); redo iconv() parameter conversion code.
Start having code use get_param() and get_param_value() rather than
walking the whole parameter linked list.

12 years agoRemoved recommendation from mhstore man page that users not put
David Levine [Sat, 1 Mar 2014 19:55:24 +0000 (13:55 -0600)]
Removed recommendation from mhstore man page that users not put
-auto in their profile.  Added recommendation that users not use
the %a escape string.

12 years agoAdded description of switches.
David Levine [Sat, 1 Mar 2014 19:30:50 +0000 (13:30 -0600)]
Added description of switches.

12 years agomhstore(1) now obeys its -noverbose switch.
David Levine [Sat, 1 Mar 2014 18:00:18 +0000 (12:00 -0600)]
mhstore(1) now obeys its -noverbose switch.

12 years agoFix to commit a2806483a53fcdb62ca8e2bec4f4e023355f4470
David Levine [Sat, 1 Mar 2014 14:32:20 +0000 (08:32 -0600)]
Fix to commit a2806483a53fcdb62ca8e2bec4f4e023355f4470
to properly handle quoting when text follows quoted
text in a mhshow display string.

12 years agoMoved discussion when no messages are matched from BUGS section
David Levine [Sat, 1 Mar 2014 14:30:27 +0000 (08:30 -0600)]
Moved discussion when no messages are matched from BUGS section
to new subsection under DESCRIPTION, per Ralph's suggestion.

12 years agoRemoved a couple of unnecessary vector typedefs from h/mh.h.
David Levine [Sat, 1 Mar 2014 04:59:09 +0000 (22:59 -0600)]
Removed a couple of unnecessary vector typedefs from h/mh.h.

12 years agoUpdated MACHINES and SPECS/nmh.spec to reflect packages
David Levine [Sat, 1 Mar 2014 04:05:37 +0000 (22:05 -0600)]
Updated MACHINES and SPECS/nmh.spec to reflect packages
available for CentOS Linux.

12 years agoFix iconv return value test warning.
Ken Hornstein [Fri, 28 Feb 2014 02:43:18 +0000 (21:43 -0500)]
Fix iconv return value test warning.

12 years agoSupport complete encoding for encoding Content-Type parameters. Start
Ken Hornstein [Fri, 28 Feb 2014 02:38:09 +0000 (21:38 -0500)]
Support complete encoding for encoding Content-Type parameters.  Start
work on retrieving parameters and converting them to the correct charset.

12 years agoUse RFC 2047 encoding for Content-Description, and make sure to encode
Ken Hornstein [Thu, 27 Feb 2014 16:50:33 +0000 (11:50 -0500)]
Use RFC 2047 encoding for Content-Description, and make sure to encode
MIME parameters correctly when building the Content-Disposition header.

12 years agoRe-do length calculation for parameter output, and adapt test for new code.
Ken Hornstein [Thu, 27 Feb 2014 03:58:26 +0000 (22:58 -0500)]
Re-do length calculation for parameter output, and adapt test for new code.

12 years agoFixed quoting of filename, expanded C-T parameter values, etc.,
David Levine [Thu, 27 Feb 2014 03:48:29 +0000 (21:48 -0600)]
Fixed quoting of filename, expanded C-T parameter values, etc.,
in mhshow.  Removed the workarounds that had built up when it
was broken.

12 years agoCloser, but not quite right yet.
Ken Hornstein [Thu, 27 Feb 2014 02:13:30 +0000 (21:13 -0500)]
Closer, but not quite right yet.

12 years agoUpdated mhparam, man pages, and test-mhparam to reflect split
David Levine [Thu, 27 Feb 2014 01:58:43 +0000 (19:58 -0600)]
Updated mhparam, man pages, and test-mhparam to reflect split
of locking methods into datalocking and spoollocking.

12 years agoAdd test for long + encoded line; does not pass right now.
Ken Hornstein [Wed, 26 Feb 2014 02:31:18 +0000 (21:31 -0500)]
Add test for long + encoded line; does not pass right now.

12 years agoMake sure we include space in the list of characters we need to encode in
Ken Hornstein [Wed, 26 Feb 2014 02:30:52 +0000 (21:30 -0500)]
Make sure we include space in the list of characters we need to encode in
a parameter line.

12 years agoRemove unused variable, and make sure we free c_dispo_type.
Ken Hornstein [Wed, 26 Feb 2014 02:28:45 +0000 (21:28 -0500)]
Remove unused variable, and make sure we free c_dispo_type.

12 years agoA new test for longer lines.
Ken Hornstein [Wed, 26 Feb 2014 02:15:51 +0000 (21:15 -0500)]
A new test for longer lines.

12 years agoCalculate "characters to use in for current line" based on starting a new
Ken Hornstein [Wed, 26 Feb 2014 02:14:51 +0000 (21:14 -0500)]
Calculate "characters to use in for current line" based on starting a new
line, rather than the number of characters in the previous line.

12 years agoFirst basic test of extended parameter output: working!
Ken Hornstein [Tue, 25 Feb 2014 20:23:56 +0000 (15:23 -0500)]
First basic test of extended parameter output: working!

12 years agoBeginnings of test suite for RFC 2231 support; does not work yet.
Ken Hornstein [Tue, 25 Feb 2014 02:34:12 +0000 (21:34 -0500)]
Beginnings of test suite for RFC 2231 support; does not work yet.

12 years agoFixed m_getfld() to not return EOF indicator, so that files need
David Levine [Tue, 25 Feb 2014 02:18:17 +0000 (20:18 -0600)]
Fixed m_getfld() to not return EOF indicator, so that files need
not end with a newline.

12 years agoMake sure we don't modify the original text when processing the disposition
Ken Hornstein [Mon, 24 Feb 2014 18:39:19 +0000 (13:39 -0500)]
Make sure we don't modify the original text when processing the disposition
header.

12 years agoAdded mh-folders to nmh(7) man page. Split out Formats section of
David Levine [Mon, 24 Feb 2014 00:52:52 +0000 (18:52 -0600)]
Added mh-folders to nmh(7) man page.  Split out Formats section of
nmh man page.

12 years agoFix up error reporting for the hook code.
Ken Hornstein [Mon, 24 Feb 2014 02:29:52 +0000 (21:29 -0500)]
Fix up error reporting for the hook code.

12 years agoIt compiles now! And actually sort of works, but still a LOT more
Ken Hornstein [Sat, 22 Feb 2014 05:07:55 +0000 (00:07 -0500)]
It compiles now!  And actually sort of works, but still a LOT more
that needs to be done before it is complete.

12 years agoGetting closer to getting something working.
Ken Hornstein [Fri, 21 Feb 2014 19:49:07 +0000 (14:49 -0500)]
Getting closer to getting something working.

12 years agoMore work on handling encoded params; still does not compile.
Ken Hornstein [Thu, 20 Feb 2014 19:55:01 +0000 (14:55 -0500)]
More work on handling encoded params; still does not compile.

12 years agoCast argument to isspace() to unsigned char instead of int.
David Levine [Thu, 20 Feb 2014 04:01:45 +0000 (22:01 -0600)]
Cast argument to isspace() to unsigned char instead of int.

12 years agoFix to commit ed3214f1518b36c8b96a1a17be4af0a708ea25e3
David Levine [Thu, 20 Feb 2014 03:55:19 +0000 (21:55 -0600)]
Fix to commit ed3214f1518b36c8b96a1a17be4af0a708ea25e3
to not try to quote filenames in multipart parts.

12 years agoGeneralized %{charset} display string escape to any Content-Type
David Levine [Thu, 20 Feb 2014 03:36:16 +0000 (21:36 -0600)]
Generalized %{charset} display string escape to any Content-Type
parameter.  Also, always quote the expanded value, whether or not
the escape was quoted in the profile.

12 years agoAdded reason to mhfixmsg's printout when it fails to decode binary
David Levine [Thu, 20 Feb 2014 02:09:28 +0000 (20:09 -0600)]
Added reason to mhfixmsg's printout when it fails to decode binary
content.

12 years agoRefined commit ed3214f1518b36c8b96a1a17be4af0a708ea25e3 to only
David Levine [Thu, 20 Feb 2014 00:57:29 +0000 (18:57 -0600)]
Refined commit ed3214f1518b36c8b96a1a17be4af0a708ea25e3 to only
accept single quotes wrapping %f and %F display escapes.

12 years agoMigrated show_content_aux2() to argsplit().
David Levine [Wed, 19 Feb 2014 03:26:52 +0000 (21:26 -0600)]
Migrated show_content_aux2() to argsplit().

12 years agoRemoved redundant quoting of %f and %F in display strings. Now,
David Levine [Wed, 19 Feb 2014 03:16:06 +0000 (21:16 -0600)]
Removed redundant quoting of %f and %F in display strings.  Now,
the code checks to see if those escapes are quoted before quoting
them.  Removed quoting of them in mhn.defaults.sh because it isn't
(and wasn't) necessary.

12 years agoRemoved leading "exec " inserted in show_content_aux2(), which
David Levine [Wed, 19 Feb 2014 01:16:39 +0000 (19:16 -0600)]
Removed leading "exec " inserted in show_content_aux2(), which
allows use of shell expansion on Content-Type parameters in
mhshow display straings.