]> diplodocus.org Git - nmh/log
nmh
12 years agoOK, use SunStudio cc, if present, on Solaris if user didn't set CC.
David Levine [Wed, 11 Dec 2013 01:05:32 +0000 (19:05 -0600)]
OK, use SunStudio cc, if present, on Solaris if user didn't set CC.
And with it, use -v and suppress the statement not reached warning.

12 years agoSuppress E_STATEMENT_NOT_REACHED warning from SunStudio cc.
David Levine [Wed, 11 Dec 2013 00:45:26 +0000 (18:45 -0600)]
Suppress E_STATEMENT_NOT_REACHED warning from SunStudio cc.

12 years agoAdded -errtags=yes to SunStudio cc options.
David Levine [Wed, 11 Dec 2013 00:35:08 +0000 (18:35 -0600)]
Added -errtags=yes to SunStudio cc options.

12 years agoRemoved a bunch of unreachable break statements found by
David Levine [Wed, 11 Dec 2013 00:22:23 +0000 (18:22 -0600)]
Removed a bunch of unreachable break statements found by
SunStudio cc -v.  Also fixed an "end-of-loop code not
reached" condition in uip/dropsbr.c.  That one is significant
because it meant that retries were not attempted when attempting
to open and lock a file.

12 years agoNeed full path to cc on Solaris buildbot host, at this point.
David Levine [Tue, 10 Dec 2013 22:43:20 +0000 (16:43 -0600)]
Need full path to cc on Solaris buildbot host, at this point.

12 years agoTry -v with SunStudio cc. Also, try setting CC instead of modifying
David Levine [Tue, 10 Dec 2013 22:16:59 +0000 (16:16 -0600)]
Try -v with SunStudio cc.  Also, try setting CC instead of modifying
AC_PROC_CC to pick up cc on the buildbot Solaris host.

12 years agoRemove the Solaris cc hack; the buildbot should have the correct
Lyndon Nerenberg [Tue, 10 Dec 2013 22:05:08 +0000 (14:05 -0800)]
Remove the Solaris cc hack; the buildbot should have the correct
cc in its $PATH now.

12 years agoRemoved +w from SunStudio cc, it caused compilation failure.
David Levine [Tue, 10 Dec 2013 14:40:59 +0000 (08:40 -0600)]
Removed +w from SunStudio cc, it caused compilation failure.
Maybe it can only be used with CC.

12 years agoThat worked. Now try +w2 with SunStudio cc.
David Levine [Tue, 10 Dec 2013 14:36:15 +0000 (08:36 -0600)]
That worked.  Now try +w2 with SunStudio cc.

12 years agoOf course that didn't work. Try specifying the SunStudio
David Levine [Tue, 10 Dec 2013 14:15:22 +0000 (08:15 -0600)]
Of course that didn't work.  Try specifying the SunStudio
compiler in CC.

12 years agoThat didn't work. Set PATH to pick up SunStudio cc.
David Levine [Tue, 10 Dec 2013 13:53:14 +0000 (07:53 -0600)]
That didn't work.  Set PATH to pick up SunStudio cc.

12 years agoUse SolarisStudio cc if available.
David Levine [Tue, 10 Dec 2013 05:45:54 +0000 (23:45 -0600)]
Use SolarisStudio cc if available.

12 years agoAdded temporary probe to find cc on Solaris.
David Levine [Tue, 10 Dec 2013 05:20:27 +0000 (23:20 -0600)]
Added temporary probe to find cc on Solaris.

12 years agoRemoved temporary favor of cc over gcc.
David Levine [Tue, 10 Dec 2013 00:25:03 +0000 (18:25 -0600)]
Removed temporary favor of cc over gcc.

12 years agoTemporarily favor cc over gcc to try it out on Solaris.
David Levine [Tue, 10 Dec 2013 00:19:17 +0000 (18:19 -0600)]
Temporarily favor cc over gcc to try it out on Solaris.

12 years agoCommit 9c663383ab54e0290781ac1c25d790ce03160e08 introduced
David Levine [Mon, 9 Dec 2013 05:17:50 +0000 (23:17 -0600)]
Commit 9c663383ab54e0290781ac1c25d790ce03160e08 introduced
a backward incompatibility to build_nmh.  Refuse to support
-y if the current nmh installation has an mhparam that doesn't
support the sasl and tls components.

12 years agoClean up comments, and update information on file locking.
Ken Hornstein [Mon, 9 Dec 2013 03:18:46 +0000 (22:18 -0500)]
Clean up comments, and update information on file locking.

12 years agoRemoved dependence of build_nmh on ldd by adding sasl and tls
David Levine [Mon, 9 Dec 2013 01:02:28 +0000 (19:02 -0600)]
Removed dependence of build_nmh on ldd by adding sasl and tls
components to mhparam(1).

12 years agoFix one of the POP tests to work on wide terminals.
Ken Hornstein [Sun, 8 Dec 2013 23:05:42 +0000 (18:05 -0500)]
Fix one of the POP tests to work on wide terminals.

12 years agoRemoved temporary diagnostic to determine gcc version on Solaris
David Levine [Sun, 8 Dec 2013 19:27:33 +0000 (13:27 -0600)]
Removed temporary diagnostic to determine gcc version on Solaris
buildbot host.  It's 4.5.2.  4.6.0 and later return an error
status with an unrecognized option, which we rely on for the test
for -Qunused-arguments.  4.5.2 doesn't.  But that option doesn't
produce any errors, just warnings that don't contain "warning".
So ignore it.

12 years agoAdded temporary diagnostic to see what version of gcc is
David Levine [Sun, 8 Dec 2013 19:16:19 +0000 (13:16 -0600)]
Added temporary diagnostic to see what version of gcc is
used on the buildbot Solaris host.

12 years agoWith the fix of 4929cad323afc87404752a1e88664a7f42cbb737,
David Levine [Sun, 8 Dec 2013 18:50:39 +0000 (12:50 -0600)]
With the fix of 4929cad323afc87404752a1e88664a7f42cbb737,
prepare_space() no longer needs to insert initial space.

12 years agoTry this sed command for squeeze_lines().
David Levine [Sun, 8 Dec 2013 18:15:18 +0000 (12:15 -0600)]
Try this sed command for squeeze_lines().

12 years agoAdded -eval 'set document.browse.margin_width = 0' to elinks
David Levine [Sun, 8 Dec 2013 17:19:13 +0000 (11:19 -0600)]
Added -eval 'set document.browse.margin_width = 0' to elinks
command in mhfixmsg-format-text/html in mhn.defaults, to disable
indentation of converted text.  Thanks to Rickard Carlsson for
this suggestion.

12 years agoThat didn't work, so try this awk command from Robert Elz.
David Levine [Sun, 8 Dec 2013 16:56:35 +0000 (10:56 -0600)]
That didn't work, so try this awk command from Robert Elz.

12 years agoFixed squeeze_lines() test function to be compatible with POSIX awk.
David Levine [Sun, 8 Dec 2013 16:29:00 +0000 (10:29 -0600)]
Fixed squeeze_lines() test function to be compatible with POSIX awk.

12 years agoFixed test-mhfixmsg to work with elinks, which inserted leading
David Levine [Sun, 8 Dec 2013 02:27:37 +0000 (20:27 -0600)]
Fixed test-mhfixmsg to work with elinks, which inserted leading
space on a line.  Thanks to Valdis for reporting that and to
Ralph for the awk and sed magic to emulate diff -w (and cat -s).

12 years agoAdded notes to README.developers about write access to
David Levine [Sat, 7 Dec 2013 16:44:31 +0000 (10:44 -0600)]
Added notes to README.developers about write access to
the git repo and git rebase.

12 years agoReplaced hard-coded use of "," with `mhparam sbackup` in
David Levine [Sat, 7 Dec 2013 16:39:16 +0000 (10:39 -0600)]
Replaced hard-coded use of "," with `mhparam sbackup` in
test-header-encode.

12 years agoDisable clang complaint about unused -ansi when linking by
David Levine [Sat, 7 Dec 2013 15:34:05 +0000 (09:34 -0600)]
Disable clang complaint about unused -ansi when linking by
adding -Qunused-arguments to LDFLAGS, if supported.

12 years agoRemoved bash-isms from inc/test-deb359167.
David Levine [Sat, 7 Dec 2013 00:56:11 +0000 (18:56 -0600)]
Removed bash-isms from inc/test-deb359167.

12 years agoSkip inc/test-deb359167 on FreeBSD >= 10 because its valgrind
David Levine [Sat, 7 Dec 2013 00:43:20 +0000 (18:43 -0600)]
Skip inc/test-deb359167 on FreeBSD >= 10 because its valgrind
throws a strange error.  Code provided by Lyndon.

12 years agotest/common.sh.in: use awk to pick off first output field.
Lyndon Nerenberg [Fri, 6 Dec 2013 22:52:03 +0000 (14:52 -0800)]
test/common.sh.in: use awk to pick off first output field.

md5 and md5sum are inconsistent in their use of SP vs HT as a field separator.
cut(1) can only handle a single field delimiter character; awk is more forgiving.

12 years agoMerge branch 'master' of git.sv.nongnu.org:/srv/git/nmh
David Levine [Fri, 6 Dec 2013 04:49:54 +0000 (22:49 -0600)]
Merge branch 'master' of git.sv.nongnu.org:/srv/git/nmh

12 years agoRenamed test/getfqdn to test/getcanon.
David Levine [Fri, 6 Dec 2013 04:49:49 +0000 (22:49 -0600)]
Renamed test/getfqdn to test/getcanon.

12 years agoI give up for now; revert these debugging commits.
Ken Hornstein [Fri, 6 Dec 2013 04:40:44 +0000 (23:40 -0500)]
I give up for now; revert these debugging commits.

12 years agoOne final check to make sure the binary isn't stripped
Ken Hornstein [Fri, 6 Dec 2013 04:28:44 +0000 (23:28 -0500)]
One final check to make sure the binary isn't stripped

12 years agoSigh. Make sure the binaries aren't stripped as well.
Ken Hornstein [Fri, 6 Dec 2013 04:15:57 +0000 (23:15 -0500)]
Sigh. Make sure the binaries aren't stripped as well.

12 years agoSwitch to default of -g so hopefully we can get something useful from the
Ken Hornstein [Fri, 6 Dec 2013 03:56:57 +0000 (22:56 -0500)]
Switch to default of -g so hopefully we can get something useful from the
FreeBSD buildbot valgrind output.

12 years agoSigh, I always forget this is errno.h, not sys/errno.h.
Ken Hornstein [Fri, 6 Dec 2013 03:48:04 +0000 (22:48 -0500)]
Sigh, I always forget this is errno.h, not sys/errno.h.

12 years agoHave getfqdn fall back to printing out the given hostname if the DNS lookup
Ken Hornstein [Fri, 6 Dec 2013 02:59:22 +0000 (21:59 -0500)]
Have getfqdn fall back to printing out the given hostname if the DNS lookup
fails, to replicate the behavior of LocalName().

12 years agoThat didn't work, either. Restoring configure.ac.
David Levine [Fri, 6 Dec 2013 00:38:16 +0000 (18:38 -0600)]
That didn't work, either.  Restoring configure.ac.

12 years agoThat didn't work, try adding -pedantic-errors.
David Levine [Fri, 6 Dec 2013 00:35:00 +0000 (18:35 -0600)]
That didn't work, try adding -pedantic-errors.

12 years agoThe linker on FreeBSD 10 doesn't like -ansi. So added a
David Levine [Fri, 6 Dec 2013 00:10:01 +0000 (18:10 -0600)]
The linker on FreeBSD 10 doesn't like -ansi.  So added a
configure check to not put -ansi in CFLAGS if the linker
doesn't like it.  Though may need to add -pedantic-errors.
There doesn't seem to be an easy way to get automake to
not put CFLAGS in the link command.

12 years agoClean up mhbuild backup files left by test-header-encode.
David Levine [Thu, 5 Dec 2013 23:48:08 +0000 (17:48 -0600)]
Clean up mhbuild backup files left by test-header-encode.

12 years agoBetter fix than commit 605d80e7cf0d02d4bab9387f03b4e1d43177e33e
David Levine [Thu, 5 Dec 2013 14:02:27 +0000 (08:02 -0600)]
Better fix than commit 605d80e7cf0d02d4bab9387f03b4e1d43177e33e
for test-mhfixmsg:  always overwrite HOME environment variable
if mhfixmsg uses w3m.

12 years agoFix to commit 7e40862e6a4da7810a46aa1e28b05e527fdc208a:
David Levine [Thu, 5 Dec 2013 13:04:51 +0000 (07:04 -0600)]
Fix to commit 7e40862e6a4da7810a46aa1e28b05e527fdc208a:
only one of the variables should have ICONV_CONST.

12 years agoIn test-mhfixmsg, make sure that $HOME is writeable, in case
David Levine [Thu, 5 Dec 2013 04:25:14 +0000 (22:25 -0600)]
In test-mhfixmsg, make sure that $HOME is writeable, in case
nmh has been configured to use w3m.

12 years agoReally fixed mhmail.
David Levine [Thu, 5 Dec 2013 03:48:04 +0000 (21:48 -0600)]
Really fixed mhmail.

12 years agoRemoved temporary hack.
David Levine [Thu, 5 Dec 2013 03:18:38 +0000 (21:18 -0600)]
Removed temporary hack.

12 years agoRemoved temporary hack to enable debug from configure.ac.
David Levine [Thu, 5 Dec 2013 03:15:31 +0000 (21:15 -0600)]
Removed temporary hack to enable debug from configure.ac.

12 years agoFixed test-mhmail failure on Solaris: its tail doesn't suport -n.
David Levine [Thu, 5 Dec 2013 03:13:55 +0000 (21:13 -0600)]
Fixed test-mhmail failure on Solaris:  its tail doesn't suport -n.

12 years agoUpdate pending-release-notes regarding removal of the -normalize and
Ken Hornstein [Thu, 5 Dec 2013 03:03:23 +0000 (22:03 -0500)]
Update pending-release-notes regarding removal of the -normalize and
-nonormalize switches.

12 years agoGarbage collect "normalize".
Ken Hornstein [Thu, 5 Dec 2013 02:56:50 +0000 (21:56 -0500)]
Garbage collect "normalize".

The code to normalize addresses (look up the hostnames in DNS for the
"official" hostnames) was disabled when we made DUMB the default configuration
in 1.5.  Since them, the -normalize switch was still around in various
utilities, but it didn't do anything.  Remove all of those switches and
garbage collect various other bits of the "normalize" functionality.

At the same time, improve getm() a bit; it now takes an argument specifying
the length of the error buffer.

12 years agoAdded temporary diagnostic hack to test-mhmail.
David Levine [Thu, 5 Dec 2013 02:54:03 +0000 (20:54 -0600)]
Added temporary diagnostic hack to test-mhmail.

12 years agoThe buildbot is up, put in hacks to enable debug and print out hostname.
David Levine [Thu, 5 Dec 2013 02:40:59 +0000 (20:40 -0600)]
The buildbot is up, put in hacks to enable debug and print out hostname.

12 years agoFixed m_getfld() bug introduced in commit
David Levine [Thu, 5 Dec 2013 02:30:04 +0000 (20:30 -0600)]
Fixed m_getfld() bug introduced in commit
0c7ac5073c24f01663fadc78b5112c86d52e4452.  This bug caused parsing
of messages with long (>= 8K) header field values to fail.  The fix
was easy:  decrement the counter of bytes read when decrementing the
current read position, in FLDPLUS state.

12 years agoUse ICONV_CONST in declaration of variable that's passed to
David Levine [Thu, 5 Dec 2013 02:29:05 +0000 (20:29 -0600)]
Use ICONV_CONST in declaration of variable that's passed to
iconv(), to quiet warning in FreeBSD 10.

12 years agoAdded identifier to each check in test-mhlist to help diagnose
David Levine [Thu, 5 Dec 2013 01:49:36 +0000 (19:49 -0600)]
Added identifier to each check in test-mhlist to help diagnose
test failure.

12 years agoAdded comment about not supporting trailing semicolons
David Levine [Thu, 5 Dec 2013 01:38:11 +0000 (19:38 -0600)]
Added comment about not supporting trailing semicolons
for aliases (in alias file).

12 years agoUndid temporary hacks, it looks like the buildbot is down.
David Levine [Thu, 5 Dec 2013 01:37:00 +0000 (19:37 -0600)]
Undid temporary hacks, it looks like the buildbot is down.

12 years agoTemporarily added a few hacks to diagnose problems found by buildbot.
David Levine [Thu, 5 Dec 2013 01:24:57 +0000 (19:24 -0600)]
Temporarily added a few hacks to diagnose problems found by buildbot.

12 years agoFix another warning.
Ken Hornstein [Wed, 4 Dec 2013 23:11:31 +0000 (18:11 -0500)]
Fix another warning.

12 years agoA few more tests; I think that's enough for now.
Ken Hornstein [Wed, 4 Dec 2013 20:49:52 +0000 (15:49 -0500)]
A few more tests; I think that's enough for now.

12 years agoFix a few warnings.
Ken Hornstein [Wed, 4 Dec 2013 19:29:54 +0000 (14:29 -0500)]
Fix a few warnings.

12 years agoMore tests (but not quite finished yet).
Ken Hornstein [Wed, 4 Dec 2013 17:57:20 +0000 (12:57 -0500)]
More tests (but not quite finished yet).

12 years agoFix cut & paste mistake.
Ken Hornstein [Wed, 4 Dec 2013 17:56:54 +0000 (12:56 -0500)]
Fix cut & paste mistake.

12 years agoMore man page minor fixup.
Ken Hornstein [Wed, 4 Dec 2013 17:12:55 +0000 (12:12 -0500)]
More man page minor fixup.

12 years agoSlightly clarify mhbuild man page.
Ken Hornstein [Wed, 4 Dec 2013 16:56:34 +0000 (11:56 -0500)]
Slightly clarify mhbuild man page.

12 years agoMinor typo fix.
Ken Hornstein [Wed, 4 Dec 2013 16:40:52 +0000 (11:40 -0500)]
Minor typo fix.

12 years agoNote changes to mhbuild.
Ken Hornstein [Wed, 4 Dec 2013 02:57:01 +0000 (21:57 -0500)]
Note changes to mhbuild.

12 years agoMerge branch 'encode-rfc2047'
Ken Hornstein [Wed, 4 Dec 2013 02:52:30 +0000 (21:52 -0500)]
Merge branch 'encode-rfc2047'

12 years agoSupport for more tests.
Ken Hornstein [Wed, 4 Dec 2013 02:52:11 +0000 (21:52 -0500)]
Support for more tests.

12 years agoWhoops, shouldn't use autoincrement with a macro; forgot about side
Ken Hornstein [Wed, 4 Dec 2013 02:36:39 +0000 (21:36 -0500)]
Whoops, shouldn't use autoincrement with a macro; forgot about side
effects!

12 years agoFirst round of tests! Still want to do more before it gets merged.
Ken Hornstein [Tue, 3 Dec 2013 20:52:00 +0000 (15:52 -0500)]
First round of tests!  Still want to do more before it gets merged.

12 years agoAdd support for a -file switch to handle messages that are not in folders.
Ken Hornstein [Tue, 3 Dec 2013 20:21:29 +0000 (15:21 -0500)]
Add support for a -file switch to handle messages that are not in folders.

12 years agoDon't put a space after the trailing semicolon for group termination.
Ken Hornstein [Tue, 3 Dec 2013 04:34:02 +0000 (23:34 -0500)]
Don't put a space after the trailing semicolon for group termination.

12 years agoUse pref_encoding() to select the default encoding for all headers.
Ken Hornstein [Tue, 3 Dec 2013 04:14:47 +0000 (23:14 -0500)]
Use pref_encoding() to select the default encoding for all headers.

12 years agoDo proper group handling, and fix a bug in the q-p encoder.
Ken Hornstein [Tue, 3 Dec 2013 04:11:27 +0000 (23:11 -0500)]
Do proper group handling, and fix a bug in the q-p encoder.

12 years agoI think we're very close to get address encoding working, but still have
Ken Hornstein [Mon, 2 Dec 2013 20:49:35 +0000 (15:49 -0500)]
I think we're very close to get address encoding working, but still have
to test it more.

12 years agoDocument a few more things.
Ken Hornstein [Mon, 2 Dec 2013 18:47:34 +0000 (13:47 -0500)]
Document a few more things.

12 years agoSince our last caller of getlocaladdr() was removed, garbage-collect this
Ken Hornstein [Mon, 2 Dec 2013 18:41:51 +0000 (13:41 -0500)]
Since our last caller of getlocaladdr() was removed, garbage-collect this
function.

12 years agoRemove code to set the signature buffer; it turns out that with our
Ken Hornstein [Mon, 2 Dec 2013 18:39:34 +0000 (13:39 -0500)]
Remove code to set the signature buffer; it turns out that with our
refactoring for 1.5, it was no longer used.

12 years agoMore work, but still stuff to do.
Ken Hornstein [Wed, 27 Nov 2013 17:49:07 +0000 (12:49 -0500)]
More work, but still stuff to do.

12 years agoFix up a few warnings and problems.
Ken Hornstein [Mon, 25 Nov 2013 19:06:38 +0000 (14:06 -0500)]
Fix up a few warnings and problems.

12 years agoMore work on address portion of RFC 2047 encoder.
Ken Hornstein [Thu, 21 Nov 2013 20:59:21 +0000 (15:59 -0500)]
More work on address portion of RFC 2047 encoder.

12 years agoA little bit closer to working for address headers.
Ken Hornstein [Thu, 14 Nov 2013 20:30:15 +0000 (15:30 -0500)]
A little bit closer to working for address headers.

12 years agoBreak out the unquote functionality to a separate function.
Ken Hornstein [Thu, 14 Nov 2013 16:43:33 +0000 (11:43 -0500)]
Break out the unquote functionality to a separate function.

12 years agoFix up the unquote test, with help from Lyndon and Ralph.
Ken Hornstein [Thu, 14 Nov 2013 15:16:22 +0000 (10:16 -0500)]
Fix up the unquote test, with help from Lyndon and Ralph.

12 years agoTest for unquoting, but it doesn't work yet.
Ken Hornstein [Thu, 14 Nov 2013 03:26:09 +0000 (22:26 -0500)]
Test for unquoting, but it doesn't work yet.

12 years agoSwitch fmttest over to using snprintb() instead of the private custom version
Ken Hornstein [Thu, 14 Nov 2013 01:54:48 +0000 (20:54 -0500)]
Switch fmttest over to using snprintb() instead of the private custom version
we originally cribbed from fmtdump.

12 years agoDocument snprintb() a bit.
Ken Hornstein [Thu, 14 Nov 2013 01:54:22 +0000 (20:54 -0500)]
Document snprintb() a bit.

12 years agoActually check the output buffer length all of the time.
Ken Hornstein [Thu, 14 Nov 2013 01:54:05 +0000 (20:54 -0500)]
Actually check the output buffer length all of the time.

12 years agoStart work on address header parsing.
Ken Hornstein [Wed, 13 Nov 2013 20:51:08 +0000 (15:51 -0500)]
Start work on address header parsing.

12 years agoFix up date mode so it works without providing a format string.
Ken Hornstein [Wed, 13 Nov 2013 16:03:12 +0000 (11:03 -0500)]
Fix up date mode so it works without providing a format string.

12 years agoDocument things a bit more.
Ken Hornstein [Mon, 11 Nov 2013 03:46:49 +0000 (22:46 -0500)]
Document things a bit more.

12 years agoA number of bug fixes:
Ken Hornstein [Sun, 10 Nov 2013 05:46:23 +0000 (00:46 -0500)]
A number of bug fixes:

- Fix macro to calculate the number of characters that will fit
  within a specified base64 encoding length.
- Refactor code to handle leading spaces, and insert a leading space
  correctly after the start of a header.

With all this, it seems to work!

12 years agoDon't increment the buffer pointer for the NUL string terminator; this
Ken Hornstein [Sat, 9 Nov 2013 19:27:12 +0000 (14:27 -0500)]
Don't increment the buffer pointer for the NUL string terminator; this
lets us concatenate new text on the end of the current output buffer.

12 years agoAdd support for -changecur and -nochangecur to mhlist(1).
Ken Hornstein [Sat, 9 Nov 2013 15:39:48 +0000 (10:39 -0500)]
Add support for -changecur and -nochangecur to mhlist(1).

12 years agoA little closer, but still has problems.
Ken Hornstein [Fri, 8 Nov 2013 03:44:13 +0000 (22:44 -0500)]
A little closer, but still has problems.