]>
diplodocus.org Git - nmh/log
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.
David Levine [Wed, 11 Dec 2013 00:45:26 +0000 (18:45 -0600)]
Suppress E_STATEMENT_NOT_REACHED warning from SunStudio cc.
David Levine [Wed, 11 Dec 2013 00:35:08 +0000 (18:35 -0600)]
Added -errtags=yes to SunStudio cc options.
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.
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.
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.
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.
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.
David Levine [Tue, 10 Dec 2013 14:36:15 +0000 (08:36 -0600)]
That worked. Now try +w2 with SunStudio cc.
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.
David Levine [Tue, 10 Dec 2013 13:53:14 +0000 (07:53 -0600)]
That didn't work. Set PATH to pick up SunStudio cc.
David Levine [Tue, 10 Dec 2013 05:45:54 +0000 (23:45 -0600)]
Use SolarisStudio cc if available.
David Levine [Tue, 10 Dec 2013 05:20:27 +0000 (23:20 -0600)]
Added temporary probe to find cc on Solaris.
David Levine [Tue, 10 Dec 2013 00:25:03 +0000 (18:25 -0600)]
Removed temporary favor of cc over gcc.
David Levine [Tue, 10 Dec 2013 00:19:17 +0000 (18:19 -0600)]
Temporarily favor cc over gcc to try it out on Solaris.
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.
Ken Hornstein [Mon, 9 Dec 2013 03:18:46 +0000 (22:18 -0500)]
Clean up comments, and update information on file locking.
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).
Ken Hornstein [Sun, 8 Dec 2013 23:05:42 +0000 (18:05 -0500)]
Fix one of the POP tests to work on wide terminals.
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.
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.
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.
David Levine [Sun, 8 Dec 2013 18:15:18 +0000 (12:15 -0600)]
Try this sed command for squeeze_lines().
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.
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.
David Levine [Sun, 8 Dec 2013 16:29:00 +0000 (10:29 -0600)]
Fixed squeeze_lines() test function to be compatible with POSIX awk.
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).
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.
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.
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.
David Levine [Sat, 7 Dec 2013 00:56:11 +0000 (18:56 -0600)]
Removed bash-isms from inc/test-
deb359167 .
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.
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.
David Levine [Fri, 6 Dec 2013 04:49:54 +0000 (22:49 -0600)]
Merge branch 'master' of git.sv.nongnu.org:/srv/git/nmh
David Levine [Fri, 6 Dec 2013 04:49:49 +0000 (22:49 -0600)]
Renamed test/getfqdn to test/getcanon.
Ken Hornstein [Fri, 6 Dec 2013 04:40:44 +0000 (23:40 -0500)]
I give up for now; revert these debugging commits.
Ken Hornstein [Fri, 6 Dec 2013 04:28:44 +0000 (23:28 -0500)]
One final check to make sure the binary isn't stripped
Ken Hornstein [Fri, 6 Dec 2013 04:15:57 +0000 (23:15 -0500)]
Sigh. Make sure the binaries aren't stripped as well.
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.
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.
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().
David Levine [Fri, 6 Dec 2013 00:38:16 +0000 (18:38 -0600)]
That didn't work, either. Restoring configure.ac.
David Levine [Fri, 6 Dec 2013 00:35:00 +0000 (18:35 -0600)]
That didn't work, try adding -pedantic-errors.
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.
David Levine [Thu, 5 Dec 2013 23:48:08 +0000 (17:48 -0600)]
Clean up mhbuild backup files left by test-header-encode.
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.
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.
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.
David Levine [Thu, 5 Dec 2013 03:48:04 +0000 (21:48 -0600)]
Really fixed mhmail.
David Levine [Thu, 5 Dec 2013 03:18:38 +0000 (21:18 -0600)]
Removed temporary hack.
David Levine [Thu, 5 Dec 2013 03:15:31 +0000 (21:15 -0600)]
Removed temporary hack to enable debug from configure.ac.
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.
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.
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.
David Levine [Thu, 5 Dec 2013 02:54:03 +0000 (20:54 -0600)]
Added temporary diagnostic hack to test-mhmail.
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.
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.
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.
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.
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).
David Levine [Thu, 5 Dec 2013 01:37:00 +0000 (19:37 -0600)]
Undid temporary hacks, it looks like the buildbot is down.
David Levine [Thu, 5 Dec 2013 01:24:57 +0000 (19:24 -0600)]
Temporarily added a few hacks to diagnose problems found by buildbot.
Ken Hornstein [Wed, 4 Dec 2013 23:11:31 +0000 (18:11 -0500)]
Fix another warning.
Ken Hornstein [Wed, 4 Dec 2013 20:49:52 +0000 (15:49 -0500)]
A few more tests; I think that's enough for now.
Ken Hornstein [Wed, 4 Dec 2013 19:29:54 +0000 (14:29 -0500)]
Fix a few warnings.
Ken Hornstein [Wed, 4 Dec 2013 17:57:20 +0000 (12:57 -0500)]
More tests (but not quite finished yet).
Ken Hornstein [Wed, 4 Dec 2013 17:56:54 +0000 (12:56 -0500)]
Fix cut & paste mistake.
Ken Hornstein [Wed, 4 Dec 2013 17:12:55 +0000 (12:12 -0500)]
More man page minor fixup.
Ken Hornstein [Wed, 4 Dec 2013 16:56:34 +0000 (11:56 -0500)]
Slightly clarify mhbuild man page.
Ken Hornstein [Wed, 4 Dec 2013 16:40:52 +0000 (11:40 -0500)]
Minor typo fix.
Ken Hornstein [Wed, 4 Dec 2013 02:57:01 +0000 (21:57 -0500)]
Note changes to mhbuild.
Ken Hornstein [Wed, 4 Dec 2013 02:52:30 +0000 (21:52 -0500)]
Merge branch 'encode-rfc2047'
Ken Hornstein [Wed, 4 Dec 2013 02:52:11 +0000 (21:52 -0500)]
Support for more tests.
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!
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.
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.
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.
Ken Hornstein [Tue, 3 Dec 2013 04:14:47 +0000 (23:14 -0500)]
Use pref_encoding() to select the default encoding for all headers.
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.
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.
Ken Hornstein [Mon, 2 Dec 2013 18:47:34 +0000 (13:47 -0500)]
Document a few more things.
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.
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.
Ken Hornstein [Wed, 27 Nov 2013 17:49:07 +0000 (12:49 -0500)]
More work, but still stuff to do.
Ken Hornstein [Mon, 25 Nov 2013 19:06:38 +0000 (14:06 -0500)]
Fix up a few warnings and problems.
Ken Hornstein [Thu, 21 Nov 2013 20:59:21 +0000 (15:59 -0500)]
More work on address portion of RFC 2047 encoder.
Ken Hornstein [Thu, 14 Nov 2013 20:30:15 +0000 (15:30 -0500)]
A little bit closer to working for address headers.
Ken Hornstein [Thu, 14 Nov 2013 16:43:33 +0000 (11:43 -0500)]
Break out the unquote functionality to a separate function.
Ken Hornstein [Thu, 14 Nov 2013 15:16:22 +0000 (10:16 -0500)]
Fix up the unquote test, with help from Lyndon and Ralph.
Ken Hornstein [Thu, 14 Nov 2013 03:26:09 +0000 (22:26 -0500)]
Test for unquoting, but it doesn't work yet.
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.
Ken Hornstein [Thu, 14 Nov 2013 01:54:22 +0000 (20:54 -0500)]
Document snprintb() a bit.
Ken Hornstein [Thu, 14 Nov 2013 01:54:05 +0000 (20:54 -0500)]
Actually check the output buffer length all of the time.
Ken Hornstein [Wed, 13 Nov 2013 20:51:08 +0000 (15:51 -0500)]
Start work on address header parsing.
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.
Ken Hornstein [Mon, 11 Nov 2013 03:46:49 +0000 (22:46 -0500)]
Document things a bit more.
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!
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.
Ken Hornstein [Sat, 9 Nov 2013 15:39:48 +0000 (10:39 -0500)]
Add support for -changecur and -nochangecur to mhlist(1).
Ken Hornstein [Fri, 8 Nov 2013 03:44:13 +0000 (22:44 -0500)]
A little closer, but still has problems.