]>
diplodocus.org Git - nmh/log
Ken Hornstein [Fri, 24 Jan 2014 18:17:56 +0000 (13:17 -0500)]
Move uip/attach.c to sbr/mime_type.c; it was used by enough programs
that it deserved to be in libmh.
Ken Hornstein [Fri, 24 Jan 2014 17:38:03 +0000 (12:38 -0500)]
In my over-eager trimming I didn't realize the fallback code that
used the mhshow-suffix configuration information to determine the
MIME type was removed; put that back into mime_type().
Ken Hornstein [Fri, 24 Jan 2014 02:48:24 +0000 (21:48 -0500)]
Switch from volatile char * to the more correct char *volatile.
David Levine [Fri, 24 Jan 2014 01:58:41 +0000 (19:58 -0600)]
Separate export from assignment in test-dist and test-attach.
Ken Hornstein [Thu, 23 Jan 2014 19:55:21 +0000 (14:55 -0500)]
Whoops, forgot to initialize the linked list next pointer to NULL.
Ken Hornstein [Thu, 23 Jan 2014 19:55:06 +0000 (14:55 -0500)]
Make sure we include tiny.jpg we need for the test suite.
Ken Hornstein [Thu, 23 Jan 2014 19:40:44 +0000 (14:40 -0500)]
Try to suppress warnings from changes (but why is this thing complaining
about drft being clobbered now??)
Ken Hornstein [Thu, 23 Jan 2014 19:24:35 +0000 (14:24 -0500)]
Hm, maybe I can't put environment variable assignments in front of
functions?
Ken Hornstein [Thu, 23 Jan 2014 19:01:53 +0000 (14:01 -0500)]
Whoops, forgot a newline.
Ken Hornstein [Thu, 23 Jan 2014 18:35:31 +0000 (13:35 -0500)]
Merge branch 'mhbuild-always'
Ken Hornstein [Thu, 23 Jan 2014 18:35:03 +0000 (13:35 -0500)]
Document changes to mhbuild and send.
Ken Hornstein [Thu, 23 Jan 2014 05:34:18 +0000 (00:34 -0500)]
Garbage collect unused code.
Ken Hornstein [Thu, 23 Jan 2014 05:32:18 +0000 (00:32 -0500)]
Remove automimeproc functionality; it's redundant now.
Ken Hornstein [Thu, 23 Jan 2014 05:31:55 +0000 (00:31 -0500)]
Update the pending-release-notes for changes.
Ken Hornstein [Thu, 23 Jan 2014 05:07:54 +0000 (00:07 -0500)]
Flesh out test-attach, and set it to run as part of the test suite.
Ken Hornstein [Wed, 22 Jan 2014 23:59:07 +0000 (18:59 -0500)]
Fix mhmail so it works with the new world order.
Ken Hornstein [Wed, 22 Jan 2014 20:22:07 +0000 (15:22 -0500)]
Convert whatnow over to using the new Attach header.
Mark the old -attach switches as deprecated (and make them not show
up in help). Still more documentation cleanup to do.
Ken Hornstein [Wed, 22 Jan 2014 17:06:49 +0000 (12:06 -0500)]
Fixed this to use Attach instead of Nmh-Attachment.
Ken Hornstein [Wed, 22 Jan 2014 03:35:35 +0000 (22:35 -0500)]
Make viamail read the user's profile; this is required because sendsbr()
wants to call mhbuild, which can be overridden via the user's profile
(which is required for the test suite to work).
David Levine [Wed, 22 Jan 2014 02:50:11 +0000 (20:50 -0600)]
Enable asserts when debug is enabled, in build_nmh.
Ken Hornstein [Wed, 22 Jan 2014 01:12:29 +0000 (20:12 -0500)]
Fix a bunch of tests for the mhbuild changes; still more to do.
David Levine [Tue, 21 Jan 2014 02:53:10 +0000 (20:53 -0600)]
Expanded mhpath(1) man page discussion of its handling of out-of-range
message numbers, and fixed a couple of formatting glitches.
David Levine [Mon, 20 Jan 2014 16:52:07 +0000 (10:52 -0600)]
Use LC_ALL instead of LC_CTYPE in test-pick because LC_ALL has
precendence.
David Levine [Mon, 20 Jan 2014 16:31:16 +0000 (10:31 -0600)]
Fixed three LC_ALL settings:
1) Replaced en_US.ISO8859-1 with C because that's sufficient to show
decoding with an invalid multibyte sequence.
2) Removed redundant LC_ALL=en_US.UTF-8; that is set for the entire test.
3) Removed the last en_US.ISO8859-1 because it hid what the test was
trying to show.
Ken Hornstein [Mon, 20 Jan 2014 06:27:15 +0000 (01:27 -0500)]
Remove autoconf checks for nl_langinfo() and langinfo.h
Ken Hornstein [Mon, 20 Jan 2014 06:15:55 +0000 (01:15 -0500)]
Completely deprecate support for MM_CHARSET.
Ken Hornstein [Mon, 20 Jan 2014 04:21:32 +0000 (23:21 -0500)]
Remove the --disable-locale configure option and make locale support
unconditional.
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.