]>
diplodocus.org Git - nmh/log
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.
David Levine [Fri, 15 Feb 2013 03:53:50 +0000 (21:53 -0600)]
Added a couple of global variables to mhparse.c to allow
suppression of the warning about bogus multipart content,
and detection of it.
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.
David Levine [Thu, 14 Feb 2013 03:11:59 +0000 (21:11 -0600)]
Added support for multiple message/file arguments to
rmmproc.message.id. Added mention of it to rmm man page.
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:42:50 +0000 (14:42 -0500)]
Remove support for -mail, -saml, -send, and -soml switches in send
and whatnow. The code in post implementing these options was removed
as part of commit
537e02c38f4bb .
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 [Wed, 13 Feb 2013 15:47:26 +0000 (10:47 -0500)]
Document argsplit changes in mh-profile man page.
David Levine [Wed, 13 Feb 2013 04:03:54 +0000 (22:03 -0600)]
Fixed typo in mhlist man page. Also removed sendfiles(1)
from its SEE ALSO list.
Ken Hornstein [Wed, 13 Feb 2013 01:05:17 +0000 (20:05 -0500)]
Remove installproc from the test since we don't have it anymore.
Ken Hornstein [Tue, 12 Feb 2013 20:39:18 +0000 (15:39 -0500)]
Remove "installproc" since it is no longer used.
Ken Hornstein [Tue, 12 Feb 2013 20:37:00 +0000 (15:37 -0500)]
Final conversion to new argsplit() code.
Ken Hornstein [Mon, 11 Feb 2013 20:57:31 +0000 (15:57 -0500)]
Add a new test for the MIME functionality in burst.
David Levine [Mon, 11 Feb 2013 02:55:54 +0000 (20:55 -0600)]
Multipart parts might have content before the first subpart
and/or after the last subpart that hasn't been stored anywhere
else, so do that at the end of InitMultiPart(), and output it
in output_content().
David Levine [Mon, 11 Feb 2013 01:05:37 +0000 (19:05 -0600)]
Added etc/rmmproc.messageid, which shows how to try to move
a message or file to a file that's named based on Message-ID.
Ken Hornstein [Fri, 8 Feb 2013 20:46:31 +0000 (15:46 -0500)]
Make burst(1) be able to burst MIME-formatted messages with message/rfc822
parts in them.
Ken Hornstein [Fri, 8 Feb 2013 18:02:00 +0000 (13:02 -0500)]
Create a central prototype for free_content().
Ken Hornstein [Thu, 7 Feb 2013 19:34:12 +0000 (14:34 -0500)]
More conversion to argsplit().
Ken Hornstein [Thu, 7 Feb 2013 16:31:45 +0000 (11:31 -0500)]
Move etc/gen-ctype-checked into an Automake primary so dependency information
can properly be recorded for it.
David Levine [Thu, 7 Feb 2013 02:39:06 +0000 (20:39 -0600)]
When debugging is enabled, replace the ctype functions with
macros that index into arrays. This allows the compiler to
catch use of char, instead of unsigned char, arguments to
those functions. gcc uses -Wchar-subscripts, which is enabled
with the -Wall that we use by default. Thanks to Tom Lane for
suggesting this approach.
This feature can be enabled by undef'ing NDEBUG in config.h.
configure --enable-debug does that. We can now use the same
mechanism to enable and disable assert(3), too.
David Levine [Thu, 7 Feb 2013 02:31:18 +0000 (20:31 -0600)]
Added global variable skip_mp_cte_check to turn off that check
for incorrect encoding of multipart messages in InitMultiPart().
David Levine [Thu, 7 Feb 2013 02:28:29 +0000 (20:28 -0600)]
output_content() assumed that ci->ci_values[0] was the boundary,
but that's not always the case. Added search for the boundary
in ci->ci_attrs[].
Ken Hornstein [Wed, 6 Feb 2013 20:51:04 +0000 (15:51 -0500)]
More work to convert programs over to the use of argsplit().
Ken Hornstein [Wed, 6 Feb 2013 16:12:56 +0000 (11:12 -0500)]
Make sure these stdarg lists are properly terminated with pointer-context
NULLs.
Ken Hornstein [Wed, 6 Feb 2013 02:06:35 +0000 (21:06 -0500)]
Remove warning suppression we no longer need. Hooray!
Ken Hornstein [Wed, 6 Feb 2013 02:00:40 +0000 (21:00 -0500)]
FINALLY clean up our signed/unsigned character warning mess. In short, we
have switched to using "char" almost everywhere, and casting char to
unsigned char when using the ctype macros/functions.
David Levine [Tue, 5 Feb 2013 22:20:53 +0000 (16:20 -0600)]
Changed m_getfld() to use char instead of unsigned char.
David Levine [Tue, 5 Feb 2013 21:25:23 +0000 (15:25 -0600)]
Changed m_getfld() to use char instead of unsigned char.
Ken Hornstein [Tue, 5 Feb 2013 18:01:09 +0000 (13:01 -0500)]
Start of the signed/unsigned char cleanup.
David Levine [Mon, 4 Feb 2013 04:51:00 +0000 (22:51 -0600)]
Tweaked logic in brkstring.c and showfile.c to get rid of the
remaining "statement not reached" warnings from Solaris cc.
Ken Hornstein [Sat, 2 Feb 2013 19:28:39 +0000 (14:28 -0500)]
Make sure we don't link getcwidth with the nmh libraries.
David Levine [Sat, 2 Feb 2013 18:56:53 +0000 (12:56 -0600)]
Added support for "-" to indicate stdout to output_message().
David Levine [Sat, 2 Feb 2013 18:54:55 +0000 (12:54 -0600)]
Removed unlink of "core" from signal handler of mhlist, mhn,
mhshow, and mhstore. Those programs shouldn't remove a file
that has nothing to do with them.
David Levine [Sat, 2 Feb 2013 18:40:59 +0000 (12:40 -0600)]
Removed myuid and mygid variables, they're no longer used and
the Solaris C compiler complained about their initializers.
Ken Hornstein [Sat, 2 Feb 2013 18:30:24 +0000 (13:30 -0500)]
Cast wchar_t to long unsigned int to deal with differing types of
wchar_t across systems.
David Levine [Sat, 2 Feb 2013 17:55:23 +0000 (11:55 -0600)]
Suppress warning from test-manpages that groff can't break a line if
the user's prefix is too long.
David Levine [Sat, 2 Feb 2013 16:54:32 +0000 (10:54 -0600)]
The Solaris compiler was right about unreachable statements.
Fixed all of them in uip/.
David Levine [Sat, 2 Feb 2013 16:21:14 +0000 (10:21 -0600)]
Added l modifier to X printf conversions of wchar_t's.
David Levine [Sat, 2 Feb 2013 16:18:24 +0000 (10:18 -0600)]
Removed unused vec[0] relic from before argsplit conversion.
David Levine [Sat, 2 Feb 2013 16:12:57 +0000 (10:12 -0600)]
Added trailing newline to sed input in mhmail when processing
-headerfield argument, to squelch complain from Solaris sed.
David Levine [Sat, 2 Feb 2013 15:59:28 +0000 (09:59 -0600)]
Set MHTMPDIR to try to keep all test-related files together.
David Levine [Sat, 2 Feb 2013 15:58:20 +0000 (09:58 -0600)]
More test-mhmail probing.
David Levine [Sat, 2 Feb 2013 15:23:49 +0000 (09:23 -0600)]
Try this test-mhmail probe.
David Levine [Sat, 2 Feb 2013 14:43:32 +0000 (08:43 -0600)]
More test-mhmail probing.
David Levine [Sat, 2 Feb 2013 14:26:43 +0000 (08:26 -0600)]
Modified test-mhmail probe.
David Levine [Sat, 2 Feb 2013 14:15:15 +0000 (08:15 -0600)]
Added temporary probe to test-mhmail.
Ken Hornstein [Sat, 2 Feb 2013 06:10:06 +0000 (01:10 -0500)]
Convert post over to use new argsplit code.
Ken Hornstein [Sat, 2 Feb 2013 05:48:54 +0000 (00:48 -0500)]
Handle the case where (on Solaris) the width of U+2019 is 2 (which seems
TOTALLY bizarre to me, but there you have it).
Ken Hornstein [Sat, 2 Feb 2013 05:33:51 +0000 (00:33 -0500)]
Rework multibyte test so it will calculate the width of all of the
Unicode characters we are using.
David Levine [Sat, 2 Feb 2013 05:24:27 +0000 (23:24 -0600)]
In setup_test(), set PATH after install.
David Levine [Sat, 2 Feb 2013 05:12:09 +0000 (23:12 -0600)]
Added set -x to test-ali.
David Levine [Sat, 2 Feb 2013 04:52:00 +0000 (22:52 -0600)]
Maybe the mkdir in setup_test() needs a -p?
David Levine [Sat, 2 Feb 2013 04:39:49 +0000 (22:39 -0600)]
More test-ali diagnostics for Solaris.
David Levine [Sat, 2 Feb 2013 04:25:51 +0000 (22:25 -0600)]
Use test -t 1 instead of test -w in test-pick.
David Levine [Sat, 2 Feb 2013 04:24:48 +0000 (22:24 -0600)]
More setup_test() and test-ali attempts on Solaris.
David Levine [Sat, 2 Feb 2013 00:46:02 +0000 (18:46 -0600)]
Removed the ls of folder from setup_test().
David Levine [Sat, 2 Feb 2013 00:35:13 +0000 (18:35 -0600)]
Try full path to folder in setup_test().
David Levine [Sat, 2 Feb 2013 00:16:26 +0000 (18:16 -0600)]
Maybe the PATH needs to be exported again in setup_test()?
David Levine [Fri, 1 Feb 2013 23:37:02 +0000 (17:37 -0600)]
So folder does exist the first time through setup_test().
Let's see its stdout.
David Levine [Fri, 1 Feb 2013 23:20:37 +0000 (17:20 -0600)]
Suppressed display of info message when test-eom-align isn't
run with stdout to a terminal.
David Levine [Fri, 1 Feb 2013 23:19:40 +0000 (17:19 -0600)]
Temporarily added ls of folder to setup_test().
David Levine [Fri, 1 Feb 2013 21:08:32 +0000 (15:08 -0600)]
In setup_test(), create the Mail directory if it doesn't
already exist.
Ken Hornstein [Fri, 1 Feb 2013 20:41:00 +0000 (15:41 -0500)]
Ignore the return status of diff, so we don't exit if diff fails when using
set -e.
Ken Hornstein [Fri, 1 Feb 2013 20:18:47 +0000 (15:18 -0500)]
Add some diagnostics to determine what is going wrong.
David Levine [Fri, 1 Feb 2013 20:08:45 +0000 (14:08 -0600)]
It looks like the first test fails on Solaris because it
can't find folder. So, added a test/sleep before its first
use, in setup_test().
Ken Hornstein [Fri, 1 Feb 2013 20:03:16 +0000 (15:03 -0500)]
If the multibyte width test fails, dump the values of wcwidth() for the
complete BMP.
David Levine [Fri, 1 Feb 2013 19:38:36 +0000 (13:38 -0600)]
Added diagnostic to setup_test() to try to figure out
why the first test fails on the Solaris buildbot.
David Levine [Fri, 1 Feb 2013 19:36:23 +0000 (13:36 -0600)]
Restored test-ali to its prior condition. It failed on the
Solaris buildbot because it was the first test.
Ken Hornstein [Fri, 1 Feb 2013 19:06:49 +0000 (14:06 -0500)]
Make sure we created the test file even if we don't have iconv support;
it's needed for two tests.
Ken Hornstein [Fri, 1 Feb 2013 18:42:51 +0000 (13:42 -0500)]
Move ICONV_ENABLED so it always gets initialized even if the header check
for iconv.h fails.
Ken Hornstein [Fri, 1 Feb 2013 18:25:17 +0000 (13:25 -0500)]
If we don't have iconv, skip the multibyte test that requires character
set conversion.
Ken Hornstein [Fri, 1 Feb 2013 17:30:45 +0000 (12:30 -0500)]
Finally switch over from vfork() to fork() completely.
Ken Hornstein [Fri, 1 Feb 2013 17:11:59 +0000 (12:11 -0500)]
More code converted to use argsplit().
Lyndon Nerenberg [Fri, 1 Feb 2013 15:25:44 +0000 (07:25 -0800)]
Fix configure tests for -Wfoo option support.
Drooped support for -Wunused-macros and -Wno-unused-macros. The
warnings serve no useful purpose, and causing subsequent configure
checks for -Wfoo flags to get messed up.
Split each test of -Wfoo into a separate check. Include -Werror in
the individual flag tests to ensure the test compile fails if the
other flag isn't supported. Without this, clang issues a diagnostic
message about the flag being ignored, but otherwise carries on, fooling
configure into thinking the flag is in fact supported.
Lyndon Nerenberg [Fri, 1 Feb 2013 12:44:29 +0000 (04:44 -0800)]
Merge branch 'master' into savannah
Lyndon Nerenberg [Fri, 1 Feb 2013 08:20:44 +0000 (00:20 -0800)]
Update manpages to use .TP for tagged paragraphs (part I).
This replaces .fc/.nf and friends with the man(7) .TP macro.
This commit covers about half of the man pages. The rest will
follow in a couple of days.
Lyndon Nerenberg [Fri, 1 Feb 2013 08:20:44 +0000 (00:20 -0800)]
Update manpages to use .TP for tagged paragraphs (part I).
This replaces .fc/.nf and friends with the man(7) .TP macro.
This commit covers about half of the man pages. The rest will
follow in a couple of days.
Lyndon Nerenberg [Fri, 1 Feb 2013 05:28:51 +0000 (21:28 -0800)]
Update the manpage template documentation.
Update the section ordering to follow the UNIX order. This
pulls nmh-specific sections into the body of the manpage, and
pushes FILES, SEE ALSO, and BUGS to the end.
Clarifies a few other minor points.
David Levine [Fri, 1 Feb 2013 04:32:26 +0000 (22:32 -0600)]
More probing of test-ali on Solaris: exit before the
setup_test call, which has the folder invocation.
David Levine [Fri, 1 Feb 2013 04:30:36 +0000 (22:30 -0600)]
OK, test-pick should be good on Solaris now.
David Levine [Fri, 1 Feb 2013 03:27:46 +0000 (21:27 -0600)]
Added exit to test-ali, temporarily, to isolate failure on
Solaris.
David Levine [Fri, 1 Feb 2013 03:24:53 +0000 (21:24 -0600)]
More homing in on the test-pick warning. Also, removed
warning to user that the tty test is being skipped, it's
not that important.
David Levine [Fri, 1 Feb 2013 02:10:59 +0000 (20:10 -0600)]
Removed an used sed invocation from test-mhmail. I don't
know if it was causing the warnings on Solaris, we'll see.
Ken Hornstein [Fri, 1 Feb 2013 02:04:43 +0000 (21:04 -0500)]
Fix some warnings for Solaris.
David Levine [Fri, 1 Feb 2013 02:04:50 +0000 (20:04 -0600)]
it looks like the write to /dev/tty is causing the warning from
test-pick on Solaris, here's an attempt to squelch that.
David Levine [Fri, 1 Feb 2013 01:44:47 +0000 (19:44 -0600)]
Removed sizes from mhlist output. Apparently tar files are
so much smaller on Solaris that they cause the check of its
output to break. The test also compares the contents of
the tar file, so it's still adequate.
David Levine [Fri, 1 Feb 2013 01:43:09 +0000 (19:43 -0600)]
Redirected stderr to /dev/null in the test for presence of
/dev/tty. Solaris warns that it can't create the device.
This may not fix it, but it should help isolate which part of
the test is causing the warning.
Ken Hornstein [Fri, 1 Feb 2013 01:01:27 +0000 (20:01 -0500)]
Set the locale for one of the "pick" invocations to UTF-8, so we can decode
the UTF-8 header correctly in the test.
Lyndon Nerenberg [Thu, 31 Jan 2013 11:56:55 +0000 (03:56 -0800)]
Use cmp(1) to compare acheieved and expected test results.
'diff -c' on Solaris 11 generate a spurious 'No differences encountered'
message (on stdout, no less!) when the compared files are identical. This
changes the test logic to compare with 'cmp -s', and then perform a
'diff -c' if the results don't match expectations.
Lyndon Nerenberg [Thu, 31 Jan 2013 09:44:03 +0000 (01:44 -0800)]
Wrap 'pick -subject foobar 13' test with set +e/-e.
The command was failing silently on FreeBSD, leading to
premature script termination.
Lyndon Nerenberg [Thu, 31 Jan 2013 07:55:26 +0000 (23:55 -0800)]
Change the MD5FMT macro in configure.ac to not emit filename.
Lyndon Nerenberg [Thu, 31 Jan 2013 07:07:17 +0000 (23:07 -0800)]
How hard can it be to write a portable shell function that does nothing?
Pretty hard, apparently :-P
Lyndon Nerenberg [Thu, 31 Jan 2013 05:45:16 +0000 (21:45 -0800)]
Hush progress indicator during tests when stdout is not a tty.
This eliminates 100 lines of logfile spam during buildbot runs.
Lyndon Nerenberg [Thu, 31 Jan 2013 03:58:16 +0000 (19:58 -0800)]
Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/nmh into nmh
Lyndon Nerenberg [Thu, 31 Jan 2013 03:57:22 +0000 (19:57 -0800)]
IPPROTO_TCP requires <netinet/in.h>
At least on BSD it does.
Ken Hornstein [Wed, 30 Jan 2013 20:47:32 +0000 (15:47 -0500)]
More changes to use argsplit() for helper programs.
Ken Hornstein [Tue, 29 Jan 2013 20:58:34 +0000 (15:58 -0500)]
Switch the editor invocation over to use argsplit().
Ken Hornstein [Tue, 29 Jan 2013 20:30:36 +0000 (15:30 -0500)]
The start of the use of argsplit() to process command strings.
David Levine [Tue, 29 Jan 2013 03:38:39 +0000 (21:38 -0600)]
Changed m_getfld() buffer size to 4096 from 8192, to benefit
scan(1). We could consider using a larger buffer size when
readying message bodies. But I expect any benefit would be
overshadowed by the way parse_mime() currently reads MIME
messages: it reopens the file for each part.