]>
diplodocus.org Git - nmh/log
Ralph Corderoy [Sat, 20 Jan 2018 08:57:40 +0000 (08:57 +0000)]
test/common.sh.in: Unset libcurl(3)'s proxy environment variables.
Debian's packager, Alexander Zanger, reported test/oauth/test-* problems
due to environment variables for the system's network proxies. David
Levine suggested the unsetting of them. The tests only make HTTP
connections so just the variables affecting those are unset.
Ralph Corderoy [Sat, 20 Jan 2018 07:33:36 +0000 (07:33 +0000)]
test-subpart: Send mhshow's stderr down pipe; don't discard.
Fixes
2f1e191a .
Ralph Corderoy [Sat, 20 Jan 2018 07:28:29 +0000 (07:28 +0000)]
test-textcharset: Send mhshow's stderr down pipe; don't discard.
Fixes
67bb0fc0 .
David Levine [Fri, 19 Jan 2018 02:46:13 +0000 (21:46 -0500)]
Removed quotes around "%{charset}" in mhbuild-convert-text.
They broke test/repl/test-convert on Cygwin. It looks like parameter
quoting differs between mhbuild and mhshow.
Fix to commit
47629e9e87a324531be881cebfca38dd38f8afaa .
David Levine [Fri, 19 Jan 2018 01:21:40 +0000 (20:21 -0500)]
Removed quotes from charset argument to iconv.
Fix to commit
47629e9e87a324531be881cebfca38dd38f8afaa . Ken
noticed that it broke test/repl/test-convert on MacOS X.
David Levine [Fri, 19 Jan 2018 00:03:52 +0000 (19:03 -0500)]
Filter test output to remove added whitespace.
Ralph noticed that lynx added whitespace to the (empty) converted
html document, breaking the test.
Fix to commit
47629e9e87a324531be881cebfca38dd38f8afaa .
David Levine [Thu, 18 Jan 2018 00:36:12 +0000 (19:36 -0500)]
Wrapped uses of %{charset} in mhn.defaults with double quotes.
Ralph Corderoy [Mon, 15 Jan 2018 16:25:35 +0000 (16:25 +0000)]
Add test-fmttest for cpstripped(), cptrimmed(), and cpnumber().
Many more tests could be done, and some, like those below, would produce
known erroneous results, but this is a start and helps spot regressions.
create mode 100755 test/format/test-fmttest
Ralph Corderoy [Sat, 13 Jan 2018 13:54:15 +0000 (13:54 +0000)]
fmttest: Allow `-outsize 0' to mean no output, not default size.
`0' might be arrived at by a script tracking remaining space.
Ralph Corderoy [Wed, 29 Nov 2017 17:28:50 +0000 (17:28 +0000)]
Add Arch Linux to the often-built-and-tested distro list.
And correct a `Mac OS' to have an `X', and `HPUX' to be `HP-UX'.
David Levine [Mon, 15 Jan 2018 22:30:49 +0000 (17:30 -0500)]
Also trap ambiguous post switch.
Fix to commit
d321a6ee82fce5d187f4342199c090909a72e9b8 .
David Levine [Mon, 15 Jan 2018 19:01:09 +0000 (14:01 -0500)]
Fixed rcvdist to pass switch arguments to post(1).
Looks like this has always been broken. Found by Steven Winikoff
when he tried to pass a -port switch, to override the default
submission port.
This is intended to be a temporary fix. The post switches should
be factored out into one place.
David Levine [Sun, 14 Jan 2018 20:04:53 +0000 (15:04 -0500)]
Removed escape before newline.
It was causing a *roff font selection code to appear in the
formatted man page.
Fix to commit
95e0df2af . That commit removed a space after the
escape, which used to cause a double space in the formatted output.
David Levine [Sun, 14 Jan 2018 18:54:19 +0000 (13:54 -0500)]
Added mhfixmsg -[no]decodeheaderfieldbodies switches.
David Levine [Sun, 14 Jan 2018 13:37:33 +0000 (08:37 -0500)]
Note that mhshow-suffix/mhshow- matching is case-insenstive.
Paul Fox [Sun, 7 Jan 2018 18:12:02 +0000 (13:12 -0500)]
implement the long-neglected 'folder -noprint'
David Levine [Mon, 18 Dec 2017 01:41:34 +0000 (20:41 -0500)]
Removed sysconfdir overrides from SPECS examples.
Ken Hornstein [Sun, 10 Dec 2017 05:36:21 +0000 (00:36 -0500)]
Add support for setting nmh directories.
Add new precious variables (nmhlibexecdir and nmhetcdir) that will
permit the user to specify these directories exactly. They default to
$(libexecdir)/nmh and $(sysconfdir)/nmh, respectively.
David Levine [Sat, 2 Dec 2017 20:43:16 +0000 (15:43 -0500)]
Removed version number from OpenBSD, it's in the "recent" section.
David Levine [Sat, 2 Dec 2017 14:44:19 +0000 (09:44 -0500)]
Moved OpenBSD back to "routinely built and tested" category.
David Levine [Tue, 28 Nov 2017 01:56:30 +0000 (20:56 -0500)]
Updated platform lists in MACHINES.
David Levine [Tue, 28 Nov 2017 01:11:30 +0000 (20:11 -0500)]
Removed sbr/dtimep.c from CLEANFILES.
automake puts it in maintainer-clean-generic, which is where it belongs.
Reversal of commit
1353a95720e4049e5f8357cd009b76c0450ec39f .
David Levine [Tue, 28 Nov 2017 00:38:37 +0000 (19:38 -0500)]
Added note to commit checklist to start message with one-line synopsis.
Also, removed obsolete reference to Lyndon's buildbot.
Ralph Corderoy [Mon, 27 Nov 2017 15:20:44 +0000 (15:20 +0000)]
test-mhfixmsg: pwd(1)'s `-P' needed to avoid failure with symlinks.
Steven Winikoff reported to nmh-workers that one of this file's tests
failed in 1.7. It attempts to manipulate the output of mhpath(1)
assuming it starts with the result of `pwd', but symlinks in the latter
may cause this to fail. Use POSIX's `-P' option to ensure no symlinks,
as done in some other tests.
David Levine [Sun, 26 Nov 2017 22:27:48 +0000 (17:27 -0500)]
Use ISO-2022-KR instead of EBCDIC-US in test-charset, because
Robert Elz reported that it is installed on his NetBSD host.
Also, don't run that check without iconv.
Ralph Corderoy [Sun, 26 Nov 2017 12:09:22 +0000 (12:09 +0000)]
Fix tests that assume the backup prefix is a comma.
Steven Winikoff reported to nmh-workers that some tests failed in 1.7
configured with --with-hash-backup because they assume the backup prefix
is comma rather than hash. Alter those tests to use `mhparam sbackup',
as other tests already do. PATH is already set to use the mhparam being
tested.
test-mhfixmsg used find(1) to check for leftover files that globbed
`mhfix*' or `,mhfix*'. Changed to just `*mhfix*' as I think any file
containing that would be unwanted, and it will also spot mhfixmsg
hard-coding the comma prefix.
Ralph Corderoy [Fri, 17 Nov 2017 12:04:01 +0000 (12:04 +0000)]
NEWS: Encourage nmh-announce subscription. Capitalise `Gmail'.
Cherry-picked to
1.7-RC3-6-g3d2c68e3 .
Ralph Corderoy [Sat, 25 Nov 2017 15:42:09 +0000 (15:42 +0000)]
mhshow/test-charset: Protect question mark from shell globbing.
David Levine [Fri, 24 Nov 2017 23:41:23 +0000 (18:41 -0500)]
Reworked parameter value tests to reflect Ralph's (re-?) discovery
that GNU iconv elides the ? from charset names. nmh uses it as a
replacement character when decoding fails.
Ralph Corderoy [Thu, 23 Nov 2017 23:11:58 +0000 (23:11 +0000)]
Makefile.am: Remove `-I./sbr' from sbr_libmh_a_CPPFLAGS.
Doesn't seem to be useful. Present since the switch to automake, so
possibly a leftover from experimentation.
Ralph Corderoy [Wed, 22 Nov 2017 15:12:11 +0000 (15:12 +0000)]
fmttest.c: Clear output buffer after each write.
Otherwise each write outputs the whole buffer again, including what's
already appeared. Instead of the three lines 1, 2, 3, one sees 1, 1, 2,
1, 2, 3.
Ralph Corderoy [Wed, 22 Nov 2017 13:44:01 +0000 (13:44 +0000)]
Rewrite cpnumber() to fix `%2(msg)' with 123 overflowing to `?23'.
Reported in 1.7 by Ken on nmh-workers yesterday.
`It seems this was introduced in commit
92128dacf '.
We now use the C library to format the number, and then manipulate the
result. A temporary charstring_t is no longer used.
Also adds left justification using negative width.
Ken Hornstein [Mon, 20 Nov 2017 00:08:48 +0000 (19:08 -0500)]
Normalize some #include paths.
Include the subdirectory so these files will compile from an object build.
David Levine [Sat, 18 Nov 2017 15:35:19 +0000 (10:35 -0500)]
Move etc/rmmproc.messageid to fix its install permissions.
And removed duplicate docs/contrib/replaliases to fix its install permissions.
Ralph Corderoy [Thu, 16 Nov 2017 00:14:35 +0000 (00:14 +0000)]
fmt_new.c: Move interface to own file.
Ralph Corderoy [Thu, 16 Nov 2017 00:02:00 +0000 (00:02 +0000)]
fmt_addr.c: Move interface to own file.
Ralph Corderoy [Wed, 15 Nov 2017 23:52:08 +0000 (23:52 +0000)]
datetime.c: Make rrule_clock() static; no external callers.
Ralph Corderoy [Wed, 15 Nov 2017 23:36:42 +0000 (23:36 +0000)]
datetime.c: Move interface to own file.
Ralph Corderoy [Wed, 15 Nov 2017 23:29:04 +0000 (23:29 +0000)]
crawl_folders.h: Base header on implementation.
Normally done as part of extracting the new header file from a larger
one, but this file already existed so it had to be moved as one commit
and altered in the next, otherwise git would break its history.
Ralph Corderoy [Wed, 15 Nov 2017 23:25:29 +0000 (23:25 +0000)]
crawl_folders.h: Rename to be alongside implementation.
Ralph Corderoy [Wed, 15 Nov 2017 23:16:13 +0000 (23:16 +0000)]
oauth.c: Alter permissions from 0755 to 0644.
Possibly introduced by
380046d2 .
Ralph Corderoy [Tue, 14 Nov 2017 23:56:16 +0000 (23:56 +0000)]
h/rcvmail.h: Delete. Contained just a couple of pointless macros.
RCV_MOK was 0, RCV_MBX was 1. They were used for exit(3) and done().
`exit(0)' is clearer than another layer of abstraction, and the commands
that used them didn't seem to document the exit statuses anyway. The
included by other means, at least on one platform.
Ralph Corderoy [Tue, 14 Nov 2017 23:41:18 +0000 (23:41 +0000)]
popsbr.h: Base header on implementation.
Normally done as part of extracting the new header file from a larger
one, but this file already existed so it had to be moved as one commit
and altered in the next, otherwise git would break its history.
Ralph Corderoy [Tue, 14 Nov 2017 23:38:41 +0000 (23:38 +0000)]
popsbr.h: Rename to be alongside implementation.
Ralph Corderoy [Mon, 13 Nov 2017 00:06:30 +0000 (00:06 +0000)]
popsbr.h: Remove pop_fd() and pop_set() prototypes.
Function definitions removed in
4ea2f92f .
Ralph Corderoy [Sun, 12 Nov 2017 23:58:29 +0000 (23:58 +0000)]
popsbr.c: Add `static' to function definitions to match prototypes.
parse_proxy(), command(), and multiline() all have prototypes claiming
they're static in popsbr.c, but their later definitions lack that
qualifier.
Ralph Corderoy [Sun, 12 Nov 2017 18:50:32 +0000 (18:50 +0000)]
picksbr.h: Rename to be alongside implementation.
Ralph Corderoy [Sun, 12 Nov 2017 18:40:21 +0000 (18:40 +0000)]
dtime.c: Move interface to own file.
Ralph Corderoy [Sun, 12 Nov 2017 13:50:58 +0000 (13:50 +0000)]
h/prototypes.h: Remove mhlsbr() prototype; no such function.
Function deleted in
c808c5d5 .
Ralph Corderoy [Sun, 12 Nov 2017 13:49:07 +0000 (13:49 +0000)]
whatnowsbr.c: Move interface to own file.
Ralph Corderoy [Sun, 12 Nov 2017 13:46:37 +0000 (13:46 +0000)]
whatnowproc.c: Move interface to own file.
Ralph Corderoy [Sun, 12 Nov 2017 13:44:34 +0000 (13:44 +0000)]
sendsbr.c: Move interface to own file.
Ralph Corderoy [Sun, 12 Nov 2017 13:42:01 +0000 (13:42 +0000)]
distsbr.c: Move interface to own file.
Ralph Corderoy [Sun, 12 Nov 2017 13:38:49 +0000 (13:38 +0000)]
mhlsbr.c: Move interface to own file.
Ralph Corderoy [Sun, 12 Nov 2017 13:35:49 +0000 (13:35 +0000)]
annosbr.c: Move interface to own file.
Ralph Corderoy [Sun, 12 Nov 2017 13:24:05 +0000 (13:24 +0000)]
scansbr.c: Move interface to own file.
Merging in content of existing h/scansbr.h, though that only contained
one of the three prototypes. The other two were in h/prototypes.h.
Ralph Corderoy [Sun, 12 Nov 2017 13:08:02 +0000 (13:08 +0000)]
m_name.c: Move interface to own file.
Ralph Corderoy [Sun, 12 Nov 2017 13:02:28 +0000 (13:02 +0000)]
m_gmprot.c: Move interface to own file.
Ralph Corderoy [Sun, 12 Nov 2017 12:57:35 +0000 (12:57 +0000)]
m_getfld.c: Move interface to own file.
Ralph Corderoy [Sun, 12 Nov 2017 12:31:05 +0000 (12:31 +0000)]
getarguments.c: Move interface to own file.
Ralph Corderoy [Sun, 12 Nov 2017 00:33:55 +0000 (00:33 +0000)]
read_switch_multi*_readline.c: Move interface to own file.
Ralph Corderoy [Sun, 12 Nov 2017 00:31:18 +0000 (00:31 +0000)]
read_switch_multiword.c: Move interface to own file.
Ralph Corderoy [Sun, 12 Nov 2017 00:28:46 +0000 (00:28 +0000)]
read_yes_or_no_if_tty.c: Move interface to own file.
Ralph Corderoy [Sun, 12 Nov 2017 00:26:11 +0000 (00:26 +0000)]
read_switch.c: Move interface declaration to own file.
Ralph Corderoy [Sun, 12 Nov 2017 00:23:44 +0000 (00:23 +0000)]
concat.c: Move interface to own file.
Ralph Corderoy [Sun, 12 Nov 2017 00:20:19 +0000 (00:20 +0000)]
seq_setunseen.c: Move interface to own file.
Ralph Corderoy [Sun, 12 Nov 2017 00:18:03 +0000 (00:18 +0000)]
seq_setprev.c: Move interface to own file.
Ralph Corderoy [Sun, 12 Nov 2017 00:15:47 +0000 (00:15 +0000)]
seq_setcur.c: Move interface to own file.
Ralph Corderoy [Sun, 12 Nov 2017 00:13:35 +0000 (00:13 +0000)]
seq_save.c: Move interface to own file.
Ralph Corderoy [Sun, 12 Nov 2017 00:10:48 +0000 (00:10 +0000)]
seq_read.c: Move interface to own file.
Ralph Corderoy [Sun, 12 Nov 2017 00:05:54 +0000 (00:05 +0000)]
showfile.c: Move interface to own file.
Ralph Corderoy [Sat, 11 Nov 2017 23:59:22 +0000 (23:59 +0000)]
smatch.c: Move interface to own file.
Ralph Corderoy [Sat, 11 Nov 2017 23:53:00 +0000 (23:53 +0000)]
getpass.c: Move interface to own file.
Ralph Corderoy [Sat, 11 Nov 2017 23:47:07 +0000 (23:47 +0000)]
r1bindex.c: Move interface to own file.
Ralph Corderoy [Sat, 11 Nov 2017 23:44:44 +0000 (23:44 +0000)]
refile.c: Move interface to own file.
Ralph Corderoy [Sat, 11 Nov 2017 23:42:31 +0000 (23:42 +0000)]
ruserpass.c: Move interface to own file.
Ralph Corderoy [Sat, 11 Nov 2017 23:39:01 +0000 (23:39 +0000)]
remdir.c: Move interface to own file.
Ralph Corderoy [Sat, 11 Nov 2017 23:34:59 +0000 (23:34 +0000)]
snprintb.c: Move interface to own file.
Ralph Corderoy [Sat, 11 Nov 2017 23:31:23 +0000 (23:31 +0000)]
strindex.c: Move interface to own file.
Ralph Corderoy [Sat, 11 Nov 2017 23:28:30 +0000 (23:28 +0000)]
ssequal.c: Move interface to own file.
Ralph Corderoy [Sat, 11 Nov 2017 17:45:25 +0000 (17:45 +0000)]
credentials.c: Move interface to own file.
Ralph Corderoy [Sat, 11 Nov 2017 17:38:47 +0000 (17:38 +0000)]
encode_rfc2047.c: Move interface to own file.
Ralph Corderoy [Sat, 11 Nov 2017 17:33:36 +0000 (17:33 +0000)]
fmt_rfc2047.c: Move interface to own file.
Ralph Corderoy [Sat, 11 Nov 2017 17:30:37 +0000 (17:30 +0000)]
client.c: Move interface to own file.
Ralph Corderoy [Sat, 11 Nov 2017 17:28:18 +0000 (17:28 +0000)]
closefds.c: Move interface to own file.
Ralph Corderoy [Sat, 11 Nov 2017 17:25:55 +0000 (17:25 +0000)]
copyip.c: Move interface to own file.
Ralph Corderoy [Sat, 11 Nov 2017 17:23:45 +0000 (17:23 +0000)]
cpydata.c: Move interface to own file.
Ralph Corderoy [Sat, 11 Nov 2017 17:21:17 +0000 (17:21 +0000)]
cpydgst.c: Move interface to own file.
Ralph Corderoy [Sat, 11 Nov 2017 17:19:06 +0000 (17:19 +0000)]
discard.c: Move interface to own file.
Ralph Corderoy [Sat, 11 Nov 2017 17:15:05 +0000 (17:15 +0000)]
trimcpy.c: Move interface to own file.
Ralph Corderoy [Sat, 11 Nov 2017 16:22:30 +0000 (16:22 +0000)]
uprf.c: Move interface to own file.
Ralph Corderoy [Sat, 11 Nov 2017 16:18:15 +0000 (16:18 +0000)]
vfgets.c: Move interface to own file.
Ralph Corderoy [Sat, 11 Nov 2017 16:16:14 +0000 (16:16 +0000)]
check_charset.c: Move interface to own file.
Ralph Corderoy [Sat, 11 Nov 2017 16:12:02 +0000 (16:12 +0000)]
getcpy.c: Move interface to own file.
Ralph Corderoy [Sat, 11 Nov 2017 14:49:08 +0000 (14:49 +0000)]
m_draft.c: Move interface to own file.
Ralph Corderoy [Sat, 11 Nov 2017 14:46:28 +0000 (14:46 +0000)]
m_convert.c: Move interface to own file.
Ralph Corderoy [Sat, 11 Nov 2017 14:43:38 +0000 (14:43 +0000)]
m_backup.c: Move interface to own file.
Ralph Corderoy [Sat, 11 Nov 2017 14:40:50 +0000 (14:40 +0000)]
m_atoi.c: Move interface to own file.
Ralph Corderoy [Sat, 11 Nov 2017 14:35:55 +0000 (14:35 +0000)]
getfolder.c: Move interface to own file.
Ralph Corderoy [Sat, 11 Nov 2017 14:30:21 +0000 (14:30 +0000)]
geteditor.c: Move interface to own file.