David Levine [Sat, 26 Mar 2016 22:59:31 +0000 (18:59 -0400)]
Added start_test() and finish_test() functions to test/common.sh.in.
See usage information in the (new) cleanup() function in that file.
This allow us to isolate test failures based on naming of individual
tests within a single test file. As part of this, added set -e to
setup_test(). This required minor updates to test/new/basic and
test/pick/test-stderr to conform. So, migrated test/new/test-basic
to start_test()/finish_test().
David Levine [Sat, 26 Mar 2016 22:59:31 +0000 (18:59 -0400)]
Added start_test() and finish_test() functions to test/common.sh.in.
See usage information in the (new) cleanup() function in that file.
This allow us to isolate test failures based on naming of individual
tests within a single test file. As part of this, added set -e to
setup_test(). This required minor updates to test/new/basic and
test/pick/test-stderr to conform. So, migrated test/new/test-basic
to start_test()/finish_test().
David Levine [Thu, 24 Mar 2016 23:57:15 +0000 (19:57 -0400)]
Changed minchars swit values for -[no]concat switches to show(1)
from negative to 0, so that they can be abbreviated and so that they
appear with -help. Added them to the man page, and fixed text that
was copied from mhshow(1) man page.
Lyndon Nerenberg [Mon, 21 Mar 2016 00:28:27 +0000 (17:28 -0700)]
Another pass at cleaning up (some of) the manpages.
This continues work I started a couple of years ago, but then got
derailed on. There are two main goals behind these updates:
1) replace some low-level troff constructs with more modern
man(7) facilities, and
2) adopt a more consistent visual style to the layout and
formatting of the manpages, particularly in reference to
typeset pages.
This time around I have updated README.manpages to describe the new
guidelines. They are mostly non-intrusive, and serve to clean up
a lot of visual clutter that has crept in over the years.
David Levine [Sun, 21 Feb 2016 16:22:53 +0000 (11:22 -0500)]
Don't consider failure to build a text/plain part to be an error.
This allows mhfixmsg to succeed even if there isn't a suitable
mhfixmsg-format-text/subtype profile entry for every text part in
the message.
David Levine [Sat, 23 Jan 2016 20:14:33 +0000 (15:14 -0500)]
mhical enhancement: If a datetime is missing the time, assume
midnight. If there is no end datetime (DTEND) and the DTSTART
doesn't contain a time, assume that the event is for the entire day.
David Levine [Mon, 30 Nov 2015 03:21:11 +0000 (22:21 -0500)]
Moved addition of -ansi -pedantic to CFLAGS with gcc from
configure.ac to docs/contrib/build_nmh, so that they're not
included by default with builds by users.
David Levine [Wed, 18 Nov 2015 23:35:59 +0000 (18:35 -0500)]
Remove any enclosing quotes from a timezone identifier in an
iCalendar event request. See comment added to format_datetime()
that says that I don't believe that RFC 5545 allows them to be
quoted. But Oliver Kiddle found them in the wild.
Ken Hornstein [Sun, 23 Aug 2015 02:16:22 +0000 (22:16 -0400)]
If str == buffer, then do NOT do a strncpy(buffer, str). Many systems
this works, but on some systems it causes a SIGABRT. POSIX says the
behavior on overlapping copies with str*cpy() is officially undefined.
Ken Hornstein [Tue, 17 Mar 2015 15:02:38 +0000 (11:02 -0400)]
Fix error message to correctly report the program that failed to execute
when doing HTML conversion.
Also, remove perl function prototypes as they are not considered best
practice.
David Levine [Sat, 14 Feb 2015 05:30:03 +0000 (23:30 -0600)]
Filter converted text/html to remove blank lines and leading space
that lynx inserts. Also, changed ISO-8859-1 to US-ASCII because it
is, so it doesn't need to be converted.
David Levine [Fri, 13 Feb 2015 02:22:32 +0000 (20:22 -0600)]
Added showmimeproc to test/common.sh.in so that test-show will test
it in the workspace, not the user's installation. Also added all of
the other procs defined in config/config.c that are currently unused,
just in case they some day are.
Marcin Cieslak [Tue, 10 Feb 2015 14:18:05 +0000 (14:18 +0000)]
Fixed "inc" to be installed setgid mail with dot locking. MAILGROUP=1
was not set in the config.h because we no longer use "LOCKTYPE"
configure variable.
Paul Fox [Sun, 8 Feb 2015 20:22:07 +0000 (15:22 -0500)]
add new message separator header to mhshow
new switches to mhshow (-headerform and -[no]header) control whether
and what is displayed before the display of every message's content.
the default separator looks like "[ Message folder:msg ]". the
implementation parallels the -markform feature.
since mhshow is often started by show, show now passes the -[no]header
options through to mhshow. (also, show no longer attempts to pass
such options through to cat (in the case of -noshowproc)).
David Levine [Sun, 8 Feb 2015 15:21:13 +0000 (09:21 -0600)]
Added support to mhfixmsg -reformat for multipart/related. If it has
only a single part that is not text/plain and can be converted to
text/plain, a text/plain part is added and the type of the part is
changed to multipart/alternative. If the multipart/related has more
than one part but does not have a text/plain part, try to add one.