]>
diplodocus.org Git - nmh/log
Ken Hornstein [Sun, 19 Jan 2014 18:47:07 +0000 (13:47 -0500)]
Document the -dist flag.
Ken Hornstein [Sun, 19 Jan 2014 16:59:25 +0000 (11:59 -0500)]
Change error message so "Unknown error 0" doesn't get printed if there
is an error parsing an address.
Ken Hornstein [Sun, 19 Jan 2014 16:52:47 +0000 (11:52 -0500)]
Add a test for dist to make sure it works with headers that need RFC-2047
encoding.
David Levine [Sun, 19 Jan 2014 16:48:14 +0000 (10:48 -0600)]
Updated MACHINES to show package requirements on Linux and Cygwin.
Ken Hornstein [Sun, 19 Jan 2014 06:11:59 +0000 (01:11 -0500)]
Add support for not outputting any MIME headers when using dist.
Ken Hornstein [Sun, 19 Jan 2014 05:50:49 +0000 (00:50 -0500)]
Allow mhbuild to work when the message body is empty. You know, that
was actually a giant pain!
Ken Hornstein [Sun, 19 Jan 2014 04:34:41 +0000 (23:34 -0500)]
Removed unused argument "file" to user_content().
Ken Hornstein [Sat, 18 Jan 2014 06:17:12 +0000 (01:17 -0500)]
Beginning of work to run mhbuild always. A bit more complicated than I
originally expected.
Ken Hornstein [Sat, 18 Jan 2014 05:38:39 +0000 (00:38 -0500)]
Explictly return the exit code, so we can portably guarantee that
pidstatus() will return 0 on a successful command execution.
David Levine [Sat, 18 Jan 2014 00:42:52 +0000 (18:42 -0600)]
Removed -a option from whatnow attach, in anticipation of
removal of send -attachformat.
Ken Hornstein [Fri, 17 Jan 2014 20:45:31 +0000 (15:45 -0500)]
Add support for -auto flag to mhbuild.
Ken Hornstein [Fri, 17 Jan 2014 19:20:12 +0000 (14:20 -0500)]
Remove WHATNOW #ifdefs; that code was obsolete a long time ago.
David Levine [Fri, 17 Jan 2014 03:48:01 +0000 (21:48 -0600)]
Moved readline check to after termcap/curses check in configure.ac.
This way, $TERMLIB can be included in the readline check. That's
neeed on CentOS 5.9.
David Levine [Fri, 17 Jan 2014 01:55:58 +0000 (19:55 -0600)]
Moved readconfig() of mhn.defaults into construct_build_directive().
This way, platforms that don't define MIMETYPEPROC will display
the proper directive with attach -v.
David Levine [Wed, 15 Jan 2014 02:09:40 +0000 (20:09 -0600)]
Added check to get_file_info() in attach.c for failed fgets() call.
It can happen on Cygwin for mysterious reasons,
http://cygwin.com/faq/faq.html#faq.using.bloda.
David Levine [Wed, 15 Jan 2014 01:39:42 +0000 (19:39 -0600)]
Removed the tests of attach -v -a from test-attach-detach, and
added -prompt '' to try to get the test to pass on Mac OS X.
David Levine [Tue, 14 Jan 2014 13:41:28 +0000 (07:41 -0600)]
Modified last check added to test-scan-multibyte so that it
also works without iconv support.
David Levine [Tue, 14 Jan 2014 02:29:19 +0000 (20:29 -0600)]
Skip the last check that I added to test-scan-multibyte if we don't
have iconv support because it requires converting from ISO-8859-1 to
UTF-8.
David Levine [Tue, 14 Jan 2014 02:08:55 +0000 (20:08 -0600)]
In cpstripped(), check for negative return value from wcwidth().
David Levine [Mon, 13 Jan 2014 22:33:44 +0000 (14:33 -0800)]
Better fix for test-attach-detach on platforms without readline.
David Levine [Mon, 13 Jan 2014 21:35:41 +0000 (13:35 -0800)]
Fixed build on Solaris by only checking for -Wno-unused-result with gcc.
David Levine [Sun, 12 Jan 2014 18:18:47 +0000 (12:18 -0600)]
Hacked test-attach-detach to pass on Solaris.
David Levine [Sun, 12 Jan 2014 17:45:16 +0000 (11:45 -0600)]
Final fix to test-attach-detach: on some platforms, there's no
charset for a text/plain file.
David Levine [Sun, 12 Jan 2014 17:32:11 +0000 (11:32 -0600)]
Really fix mode of file that's used in test-attach-detach.
David Levine [Sun, 12 Jan 2014 17:26:07 +0000 (11:26 -0600)]
One final fix to test-attach-detach.
David Levine [Sun, 12 Jan 2014 17:22:57 +0000 (11:22 -0600)]
Fixed test-attach-detach to work with any umask, and without readline.
David Levine [Sun, 12 Jan 2014 16:18:20 +0000 (10:18 -0600)]
Added -v and -a switches to whatnow attach so the user can see
the mhbuild directive that send(1) will use.
David Levine [Sat, 11 Jan 2014 22:30:42 +0000 (16:30 -0600)]
Refined the POSTLINK used on OpenBSD so that it leaves the warnings,
but capitalizes the "w" so that they don't color the buildbot waterfall.
David Levine [Sat, 11 Jan 2014 22:00:14 +0000 (16:00 -0600)]
Refined the autoconf test for -Wno-unused-result so that
it's only used where we need it (currently Ubuntu gcc 4.8.1
with -O2).
David Levine [Sat, 11 Jan 2014 17:22:50 +0000 (11:22 -0600)]
Calculate port numbers in test suite based on uid so that different
users can run the test suite on a host simultaneously.
David Levine [Sat, 11 Jan 2014 17:02:19 +0000 (11:02 -0600)]
Updated Cygwin and Linux build notes.
David Levine [Sat, 11 Jan 2014 17:01:21 +0000 (11:01 -0600)]
Added more .exe files to .gitignore.
David Levine [Sat, 11 Jan 2014 16:15:27 +0000 (10:15 -0600)]
Work around OpenBSD 5.4 file(1), which reports the --mime-encoding
of text files as "binary".
David Levine [Sat, 11 Jan 2014 15:22:36 +0000 (09:22 -0600)]
Reworked attach to add charset to Content-Type string for
text content.
David Levine [Sat, 11 Jan 2014 14:09:20 +0000 (08:09 -0600)]
Changed how build_nmh deals with older mhparam that doesn't
report SASL/TLS.
David Levine [Sat, 11 Jan 2014 14:00:55 +0000 (08:00 -0600)]
Reorganized autoconf test for -Qunused-warnings so that it
outputs something when configuring on any platform.
Ken Hornstein [Sat, 11 Jan 2014 06:41:44 +0000 (01:41 -0500)]
Change test-mhmail so it can handle a MIMETYPEPROC that doesn't output
the character set.
Ken Hornstein [Sat, 11 Jan 2014 06:11:45 +0000 (01:11 -0500)]
Switch over to using --mime-type, since --mime seems to include a
charset for non-text MIME types.
David Levine [Sat, 11 Jan 2014 05:41:04 +0000 (23:41 -0600)]
Fixed POSTLINK (on OpenBSD) now that it doesn't use -Qunused-arguments.
Ken Hornstein [Sat, 11 Jan 2014 05:32:54 +0000 (00:32 -0500)]
More tests, but not quite there yet.
Ken Hornstein [Fri, 10 Jan 2014 18:31:05 +0000 (13:31 -0500)]
Don't error out if the message body is empty.
David Levine [Sat, 11 Jan 2014 05:25:19 +0000 (23:25 -0600)]
Only add -Qunused-arguments to LDFLAGS if compiler is clang.
David Levine [Sat, 11 Jan 2014 04:49:24 +0000 (20:49 -0800)]
Reworked LFLAGS hack for flex 2.5.35 and 2.5.36 to work on
Ubuntu. And use sed instead of ed.
David Levine [Sat, 11 Jan 2014 01:36:34 +0000 (19:36 -0600)]
No longer add -g or -s to LDFLAGS. autoconf handles -g. And "make
install-strip" is the approved way to install stripped executables.
David Levine [Sat, 11 Jan 2014 01:03:56 +0000 (19:03 -0600)]
Added -Wno-unused-result to silence warnings on Ubuntu.
Ken Hornstein [Fri, 10 Jan 2014 05:45:38 +0000 (00:45 -0500)]
Make sure we use the 'short' filename and add newlines where appropriate.
Ken Hornstein [Fri, 10 Jan 2014 04:17:25 +0000 (23:17 -0500)]
A bit closer, but don't run the test just yet.
Ken Hornstein [Thu, 9 Jan 2014 21:03:21 +0000 (16:03 -0500)]
Preliminary Attach: header support. Untested just yet.
David Levine [Thu, 9 Jan 2014 02:54:50 +0000 (20:54 -0600)]
OpenBSD 5 needs an other-libraries (fourth argument) to the
AC_CHECK_LIB for SSL_library_init, because it doesn't automatically
append -lcrypto when linking with -lssl.
David Levine [Thu, 9 Jan 2014 02:14:57 +0000 (20:14 -0600)]
Hard-code the config/version.c target, instead of using $@, so its
rule works for the distcheck target with Solaris (System V) make.
distcheck uses VPATH, causes that make to prepend the VPATH to $@.
David Levine [Thu, 9 Jan 2014 01:02:58 +0000 (19:02 -0600)]
Replace use of awk with sed in test-anno because it failed
on Solaris (gawk).
David Levine [Thu, 9 Jan 2014 00:23:10 +0000 (18:23 -0600)]
Detect whether or not to use -n with tail in build_nmh.
Synched that to uip/mhmail.
David Levine [Wed, 8 Jan 2014 04:51:41 +0000 (22:51 -0600)]
Fixed typo in last commit of test-curses.
David Levine [Wed, 8 Jan 2014 04:49:51 +0000 (22:49 -0600)]
Added -Txterm-color to tput invocations that didn't have it.
David Levine [Wed, 8 Jan 2014 04:27:55 +0000 (22:27 -0600)]
In test-curses, use termcap codes if terminfo capabilities
are not supported, such as on FreeBSD 9.
David Levine [Wed, 8 Jan 2014 02:18:52 +0000 (20:18 -0600)]
Added sbr/dtimep.c to CLEANFILES so that make distcheck passes on
FreeBSD 9.
David Levine [Wed, 8 Jan 2014 01:51:58 +0000 (19:51 -0600)]
Clarified advisory message it test-mhfixmsg if a text browser
isn't available.
Ken Hornstein [Wed, 8 Jan 2014 04:15:39 +0000 (23:15 -0500)]
Update this for From, Resent-From, and Envelope-From. Also document
Attach even though the code hasn't been written yet.
Ken Hornstein [Tue, 7 Jan 2014 16:45:24 +0000 (11:45 -0500)]
Prevent message status allocation code from overflowing if we get a
message number that is too high; simply abort instead.
David Levine [Tue, 7 Jan 2014 02:49:18 +0000 (20:49 -0600)]
Replaced hidden make_mime_composition_file_entry() used by attach()
with public construct_build_directive().
David Levine [Tue, 7 Jan 2014 01:14:20 +0000 (19:14 -0600)]
Here's a better fix for the whatnow tests: set and export
TERM at the beginning of each test so that valgrind can be
supported.
David Levine [Mon, 6 Jan 2014 17:30:42 +0000 (11:30 -0600)]
Removed remaining run_prog's from tests that set an
environment variable.
Ken Hornstein [Mon, 6 Jan 2014 16:20:47 +0000 (11:20 -0500)]
Add a test for the new curses-based format escapes.
David Levine [Sun, 5 Jan 2014 20:48:18 +0000 (14:48 -0600)]
Fixed description of send -attach switch in whatnow: its argument
is the header file name, not a filename.
David Levine [Sun, 5 Jan 2014 16:01:48 +0000 (10:01 -0600)]
Removed remaining globals in uip/attach.c.
David Levine [Sun, 5 Jan 2014 15:51:53 +0000 (09:51 -0600)]
Got rid of a couple of globals used by attach get_line().
David Levine [Sun, 5 Jan 2014 15:39:11 +0000 (09:39 -0600)]
Moved the functions that implement whatnow attach from
uip/sendsbr.c to new uip/attach.c.
David Levine [Sun, 5 Jan 2014 14:28:58 +0000 (08:28 -0600)]
In whatnow help, don't show that detached can be abbreviated
with "de", because that conflicts with "delete".
Ken Hornstein [Sun, 5 Jan 2014 01:44:21 +0000 (20:44 -0500)]
Whoops, I'm supposed to NUL-terminate the string, not set the actual pointer
itself!
Ken Hornstein [Sat, 4 Jan 2014 19:01:58 +0000 (14:01 -0500)]
Make sure scan.curses is installed & distributed.
Ken Hornstein [Sat, 4 Jan 2014 05:59:38 +0000 (00:59 -0500)]
Support for sending color escape sequences retrieved from terminfo(5).
Ken Hornstein [Fri, 3 Jan 2014 20:55:10 +0000 (15:55 -0500)]
Add support for %(hascolor), and a new function for parameterized
terminfo capabilities.
Ken Hornstein [Fri, 3 Jan 2014 19:40:35 +0000 (14:40 -0500)]
Document %(nodate), and update things a bit.
Ken Hornstein [Fri, 3 Jan 2014 16:43:16 +0000 (11:43 -0500)]
Garbage collect some Autoconf cruft that has been around a lot longer
than necessary.
Ken Hornstein [Fri, 3 Jan 2014 16:06:29 +0000 (11:06 -0500)]
Also make sure outc() uses TPUTS_PUTC_ARG.
Ken Hornstein [Fri, 3 Jan 2014 16:05:18 +0000 (11:05 -0500)]
Whoops, I forgot that AC_CACHE_CHECK calls AC_MSG_RESULT.
Ken Hornstein [Fri, 3 Jan 2014 15:44:59 +0000 (10:44 -0500)]
Create an autoconf test to determine the argument of the tputs() callback.
Ken Hornstein [Fri, 3 Jan 2014 14:27:39 +0000 (09:27 -0500)]
Remove checks for termcap.h and ncurses/termcap.h, since we're not using
those header files anymore.
Ken Hornstein [Fri, 3 Jan 2014 05:42:05 +0000 (00:42 -0500)]
Sigh. Fix up missing conversion from clear->ti_clear.
Ken Hornstein [Fri, 3 Jan 2014 05:30:15 +0000 (00:30 -0500)]
I guess we can't include both termcap and terminfo headers on Solaris.
Ken Hornstein [Fri, 3 Jan 2014 05:15:56 +0000 (00:15 -0500)]
include curses.h so this (hopefully) now works on Solaris.
Ken Hornstein [Fri, 3 Jan 2014 04:59:57 +0000 (23:59 -0500)]
Convert all of the terminal functions over to terminfo(5) instead of
the older termcap.
Move the terminal-specific code from fmt_compile.c to terminal.c, so it
is all in one place.
Ken Hornstein [Thu, 2 Jan 2014 20:55:33 +0000 (15:55 -0500)]
Garbage collect unused code.
Ken Hornstein [Thu, 2 Jan 2014 20:52:49 +0000 (15:52 -0500)]
Remove baudrate-handing code.
Ken Hornstein [Thu, 2 Jan 2014 20:04:17 +0000 (15:04 -0500)]
Always emit an STR instruction for terminal escape sequences, otherwise you
can get unintended results (like printint the previous contents of the str
register, which is almost certainly what you don't want).
Ken Hornstein [Thu, 2 Jan 2014 20:00:46 +0000 (15:00 -0500)]
Switch from the M-X format for characters with the high bit set to
\xXX instead when printing format strings and other characters.
Ken Hornstein [Thu, 2 Jan 2014 19:46:52 +0000 (14:46 -0500)]
Fix problem with %(putlit) and %(zputlit) causing a SIGSEGV
if str is NULL.
Ken Hornstein [Thu, 2 Jan 2014 18:54:07 +0000 (13:54 -0500)]
Drop support for different behavior on hardcopy terminals. It's 2014,
I'm assuming this is not a valid concern anymore.
Ken Hornstein [Thu, 2 Jan 2014 16:38:20 +0000 (11:38 -0500)]
Move the termsbr code into the libmh library, where it belongs.
David Levine [Wed, 1 Jan 2014 19:43:51 +0000 (13:43 -0600)]
Give up on fmt_compile.c for now.
David Levine [Wed, 1 Jan 2014 19:21:56 +0000 (13:21 -0600)]
That didn't work. Try including termcap.h first, instead of
ncurses/termcap.h.
David Levine [Wed, 1 Jan 2014 19:18:08 +0000 (13:18 -0600)]
Changed several globals to be static, to avoid collision,
notably with "filter" in libtermcap.so, on Solaris.
David Levine [Wed, 1 Jan 2014 19:16:48 +0000 (13:16 -0600)]
Try including termcap.h before curses.h to see if that solves
the tputs() mismatch on Solaris.
Ken Hornstein [Tue, 31 Dec 2013 20:29:40 +0000 (15:29 -0500)]
It looks like some systems also need curses.h as well as term.h
Ken Hornstein [Tue, 31 Dec 2013 20:20:22 +0000 (15:20 -0500)]
Add support for outputing a few (limited) terminal attributes in format
sequences. Needs documentation and some expansion.
Ken Hornstein [Tue, 31 Dec 2013 20:19:21 +0000 (15:19 -0500)]
Make sure that branching instructions are traced even if we're executing the
branch (previously, they would only be traced if they did not execute the
branch).
Ken Hornstein [Tue, 31 Dec 2013 05:13:21 +0000 (00:13 -0500)]
Change fmttest to use litputs() on str and output buffers during tracing.
David Levine [Sun, 29 Dec 2013 14:01:28 +0000 (08:01 -0600)]
Generalized the valgrind suppression for sendmsg via readLine.
David Levine [Sun, 29 Dec 2013 00:24:54 +0000 (18:24 -0600)]
Added test/valgrind.supp to EXTRA_DIST in Makefile.am so that
NMH_VALGRIND=1 works with make distcheck.
David Levine [Sun, 29 Dec 2013 00:23:49 +0000 (18:23 -0600)]
Removed one run_prog from test-pick because it loses the setting
of the LC_CTYPE environment variable.