]>
diplodocus.org Git - nmh/log
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 [Wed, 13 Nov 2013 20:51:08 +0000 (15:51 -0500)]
Start work on address header parsing.
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 [Fri, 8 Nov 2013 03:44:13 +0000 (22:44 -0500)]
A little closer, but still has problems.
Ken Hornstein [Fri, 8 Nov 2013 03:43:50 +0000 (22:43 -0500)]
Fix handling of -headerencoding switch.
Ken Hornstein [Thu, 7 Nov 2013 21:02:14 +0000 (16:02 -0500)]
Getting closer to getting base64 header encoding working.
Ken Hornstein [Thu, 31 Oct 2013 15:51:52 +0000 (11:51 -0400)]
Beginning stubs to support base64 header encoding.
Ken Hornstein [Thu, 31 Oct 2013 15:37:52 +0000 (11:37 -0400)]
Support the -headerencoding switch to select the header encoding algorithm.
Ken Hornstein [Thu, 31 Oct 2013 15:36:46 +0000 (11:36 -0400)]
Switch to the (correct) casting of char to unsigned char for is*() macros.
Ken Hornstein [Thu, 31 Oct 2013 00:44:19 +0000 (20:44 -0400)]
Fix some space calculation/whitespace handling bugs.
Ken Hornstein [Wed, 30 Oct 2013 19:32:03 +0000 (15:32 -0400)]
Fix qpspecial() macro test, and do proper casts to handle signed chars.
Ken Hornstein [Wed, 30 Oct 2013 18:04:16 +0000 (14:04 -0400)]
It looks like simple quoted-printable encoding of headers works!
Ken Hornstein [Wed, 30 Oct 2013 02:52:06 +0000 (22:52 -0400)]
Remove unused argument.
Ken Hornstein [Wed, 30 Oct 2013 02:42:51 +0000 (22:42 -0400)]
Fix up a few miscalculations.
Ken Hornstein [Tue, 29 Oct 2013 19:58:35 +0000 (15:58 -0400)]
A hopefully-functional quoted-printable encoder
Ken Hornstein [Wed, 23 Oct 2013 18:40:02 +0000 (14:40 -0400)]
A little tiny bit closer to working.
Ken Hornstein [Tue, 22 Oct 2013 03:51:57 +0000 (23:51 -0400)]
Minor comment update.
Ken Hornstein [Mon, 21 Oct 2013 20:01:02 +0000 (16:01 -0400)]
Start of RFC 2047 encoding code. Not complete in the slightest.
Ken Hornstein [Mon, 21 Oct 2013 16:48:23 +0000 (12:48 -0400)]
Some comments describing the MIME structures.
David Levine [Sat, 19 Oct 2013 14:58:14 +0000 (09:58 -0500)]
Added volatile qualifier in a couple of places to get rid of
"might be clobbered" warning from when -Wno-clobbered isn't
supported. And I removed the check for Wno-clobbered from
configure.ac. It's no longer needed on any of the platforms
I use, we'll see if others need it.
David Levine [Sat, 19 Oct 2013 14:19:58 +0000 (09:19 -0500)]
Allow mhfixmsg to strip carriage returns from ISO-8850, UTF-8,
and Windows-12xx text, in addition to ASCII.
David Levine [Sat, 19 Oct 2013 14:17:22 +0000 (09:17 -0500)]
Added docs/README-iCalendar.
Ken Hornstein [Fri, 18 Oct 2013 02:03:07 +0000 (22:03 -0400)]
Implemented -build switch for comp, at the request of the MH-E developers.
Ken Hornstein [Fri, 18 Oct 2013 01:44:52 +0000 (21:44 -0400)]
Minor comment cleanup.
Ken Hornstein [Thu, 17 Oct 2013 19:43:15 +0000 (15:43 -0400)]
Update the mh-sequence(5) man page with details of the format of the
sequence file. Also mention that nonexistant messages will be removed
from sequences.
Ken Hornstein [Wed, 16 Oct 2013 00:21:32 +0000 (20:21 -0400)]
Add locking support to the version of the sequence file reading code used
by the "new" command. Based on a patch by Harvey Eneman.
Ken Hornstein [Tue, 15 Oct 2013 19:02:18 +0000 (15:02 -0400)]
Remove support for NOPUBLICSEQ.
Ken Hornstein [Tue, 15 Oct 2013 18:48:19 +0000 (14:48 -0400)]
Remove unneeded stat() call; was a leftover from the original MH
code where the owner of the folder was checked against the results of
getuid().
David Levine [Sun, 6 Oct 2013 13:45:22 +0000 (08:45 -0500)]
The Content-Disposition type needs to be "inline" for MS Outlook and
BlackBerry calendar programs to properly handle a text/calendar
attachment. So do that with attachformat values of 1 and 2.
David Levine [Thu, 19 Sep 2013 23:30:19 +0000 (18:30 -0500)]
Added script name to test-mhfixmsg printout.
David Levine [Thu, 19 Sep 2013 13:13:24 +0000 (08:13 -0500)]
Don't check -replacetextplain in test-mhfixmsg if skipping -reformat
check.
David Levine [Thu, 19 Sep 2013 02:40:19 +0000 (21:40 -0500)]
Run output of -replacetextplain test through uniq.
David Levine [Mon, 19 Aug 2013 05:42:01 +0000 (00:42 -0500)]
Added -replacetextplain switch to mhfixmsg. If enabled, -reformat
will replace any existing text/plain part, such as those that are
empty or that don't match their corresponding text/html part.
David Levine [Tue, 2 Jul 2013 23:33:37 +0000 (18:33 -0500)]
Added unsigned char cast of char argument to isascii() call.
Ken Hornstein [Mon, 1 Jul 2013 19:44:22 +0000 (15:44 -0400)]
Reject email addresses which contain 8-bit characters.
Ken Hornstein [Mon, 1 Jul 2013 19:07:16 +0000 (15:07 -0400)]
Add warnings about the use of %(decode) on addresses.
Ken Hornstein [Mon, 1 Jul 2013 18:31:51 +0000 (14:31 -0400)]
If mbtowc() fails to handle a character, replace the offending character
with a '?' and continue.
David Levine [Mon, 1 Jul 2013 12:11:27 +0000 (07:11 -0500)]
In test-mhfixmsg, run output through uniq before head instead of after.
David Levine [Mon, 1 Jul 2013 03:29:12 +0000 (22:29 -0500)]
Punted on comparing that html part in test-mhfixmsg: it
can get reformatted legally.
David Levine [Mon, 1 Jul 2013 02:20:00 +0000 (21:20 -0500)]
Try this formatting change to test-mhfixmsg.
David Levine [Mon, 1 Jul 2013 01:46:18 +0000 (20:46 -0500)]
One more formatting chagned to the input in test-mhfixmsg. One of
the lines is one character longer than the others and that's about
where the problem shows up, so yanked a character out of it.
Lyndon Nerenberg [Mon, 1 Jul 2013 01:11:42 +0000 (18:11 -0700)]
Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/nmh
Lyndon Nerenberg [Mon, 1 Jul 2013 01:11:13 +0000 (18:11 -0700)]
Revert "Move a variable manipulation outside the context of setjmp() to quell a compiler warning."
Turns out it didn't fix it after all.
This reverts commit
0152658e840581077e5cd575b5195faf18b9df8b .
David Levine [Mon, 1 Jul 2013 01:11:08 +0000 (20:11 -0500)]
Changed formatting of the input in test-mhfixmsg that breaks
on Solaris 11, maybe this will fix it.
Lyndon Nerenberg [Mon, 1 Jul 2013 00:59:59 +0000 (17:59 -0700)]
Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/nmh
Lyndon Nerenberg [Mon, 1 Jul 2013 00:59:31 +0000 (17:59 -0700)]
Move a variable manipulation outside the context of setjmp() to quell a compiler warning.
David Levine [Mon, 1 Jul 2013 00:40:34 +0000 (19:40 -0500)]
Restored test-mhfixmsg. Not sure what to do about failure on Solaris.
Lyndon Nerenberg [Mon, 1 Jul 2013 00:24:48 +0000 (17:24 -0700)]
Copy a parameter off the call stack to quell a longjmp warning.
David Levine [Mon, 1 Jul 2013 00:14:46 +0000 (19:14 -0500)]
Merge branch 'master' of git.sv.nongnu.org:/srv/git/nmh
David Levine [Mon, 1 Jul 2013 00:12:58 +0000 (19:12 -0500)]
See if the rest of test-mhfixmsg will pass on Solaris.
Lyndon Nerenberg [Sun, 30 Jun 2013 23:58:23 +0000 (16:58 -0700)]
Remove spurious return statements after exit().
These are holdovers from a long forgotten era.
David Levine [Sun, 30 Jun 2013 23:50:50 +0000 (18:50 -0500)]
OK, fixed test-mhfixmsg on Solaris 11, where BUFSIZ is 1024.
The problem was in the content_encoding() function of mhfixmsg:
it would restart its counter of the characters on a line whenever
new characters were read in. The fix was easy, just move the
initialization of that counter outside of the fread() loop.
David Levine [Sun, 30 Jun 2013 23:28:56 +0000 (18:28 -0500)]
Added to the Solaris debug printout.
David Levine [Sun, 30 Jun 2013 23:11:43 +0000 (18:11 -0500)]
Removed exit() after a longjmp() in uip/sendsbr.c to quiet
compile warning on Solaris 11.
David Levine [Sun, 30 Jun 2013 23:03:28 +0000 (18:03 -0500)]
More debugging of test-mhfixmsg on Solaris.
David Levine [Sun, 30 Jun 2013 22:50:44 +0000 (17:50 -0500)]
Fixed removal of <> in test-dist and test-rcvdist.
David Levine [Sun, 30 Jun 2013 21:44:23 +0000 (16:44 -0500)]
Remove any <> surrounding localmbox in test-dist and test-rcvdist,
so that the tests pass when the user doesn't have a SIGNATURE set.
David Levine [Sun, 30 Jun 2013 21:35:39 +0000 (16:35 -0500)]
That didn't work, fixed location of mhn.defaults in test.
David Levine [Sun, 30 Jun 2013 21:19:56 +0000 (16:19 -0500)]
Added debug printouts to see why the test fails on Solaris 11.
Lyndon Nerenberg [Sun, 30 Jun 2013 20:14:12 +0000 (13:14 -0700)]
Prefer /usr/sbin/sendmail over /usr/lib/sendmail.
If the site installs a sendmail replacement, or updates to a newer
version, odds are better for the new sendmail preferring to install in
/usr/sbin over /usr/lib.
Lyndon Nerenberg [Sun, 30 Jun 2013 19:39:46 +0000 (12:39 -0700)]
Add compilation guard around lkopen_flock.
Oracle Solaris 11 doesn't have flock().
Lyndon Nerenberg [Sun, 30 Jun 2013 19:16:07 +0000 (12:16 -0700)]
If we're searching for commands, prefer xpg4 versions on Solaris.
David Levine [Wed, 12 Jun 2013 01:30:31 +0000 (20:30 -0500)]
Removed hyphen from all occurrences of RFC-*.
David Levine [Wed, 12 Jun 2013 01:17:29 +0000 (20:17 -0500)]
Changed all bare occurrences of 822/2822 to RFC 822/RFC 2822.
Reported by Norm.
David Levine [Wed, 12 Jun 2013 00:46:51 +0000 (19:46 -0500)]
Changed "separated by spaces" in mh-sequence man page to
"as separate arguments", as suggested by Norm.
David Levine [Wed, 12 Jun 2013 00:45:47 +0000 (19:45 -0500)]
Changed a couple of occurrences of "white-space" to "whitespace"
to be consistent with other man pages.
Lyndon Nerenberg [Sun, 26 May 2013 19:37:40 +0000 (12:37 -0700)]
conflict(8): style - move deprecation notice into DESCRIPTION.
Lyndon Nerenberg [Sun, 26 May 2013 19:28:24 +0000 (12:28 -0700)]
Remove SYNOPSIS from nmh(7).
Lyndon Nerenberg [Sun, 26 May 2013 19:23:00 +0000 (12:23 -0700)]
Delete SYNOPSIS from section 5 manpages.
This isn't applicable to section 5 manpages.
Lyndon Nerenberg [Sun, 26 May 2013 19:17:41 +0000 (12:17 -0700)]
Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/nmh
Lyndon Nerenberg [Sun, 26 May 2013 19:17:31 +0000 (12:17 -0700)]
Fix typo.
David Levine [Sun, 26 May 2013 16:11:48 +0000 (11:11 -0500)]
Added note to pending-release-notes that "*" address-group is
obsolescent. Split obsolete and deprecated features into
separate sections.
Lyndon Nerenberg [Sun, 26 May 2013 03:19:50 +0000 (20:19 -0700)]
Stupid typo in manpage.
Lyndon Nerenberg [Sun, 26 May 2013 03:14:04 +0000 (20:14 -0700)]
Clean up mh-alias(5) manpage.
Word-smithing, update to use *.example domains for addresses,
literal text in bold rather than italic, use typographers quotes on
single character references, etc.
Re-organize sections to match documentation convention.
Mark "*" address-group as obsolescent.
David Levine [Sun, 12 May 2013 13:29:34 +0000 (08:29 -0500)]
Fixed strip_crs() in mhfixmsg to work even if it's the
only modification to the message. Also, fixed the test
so that it succeeds even if there is no lynx, w3m, etc.
David Levine [Tue, 7 May 2013 01:14:57 +0000 (20:14 -0500)]
Fixed number of bytes to fread() in strip_crs() in mhfixmsg.
Lyndon Nerenberg [Sun, 5 May 2013 21:41:34 +0000 (14:41 -0700)]
More .ta -> .TP manpage cleanup.
David Levine [Sat, 4 May 2013 15:38:35 +0000 (10:38 -0500)]
Per Ralph's suggestion, added note that "moreproc" is not
supported in user profile display strings.
David Levine [Sat, 4 May 2013 15:30:21 +0000 (10:30 -0500)]
Replaced hard-coded "more" with DEFAULT_PAGER in show_text().
David Levine [Sat, 4 May 2013 14:36:42 +0000 (09:36 -0500)]
When the mhfixmsg -decodetext switch is enabled, each carriage
return character that precedes a linefeed character is removed
from ASCII-encoded text parts.
David Levine [Sat, 4 May 2013 14:03:27 +0000 (09:03 -0500)]
Removed unused declaration of "nolist" from mhshow.c.
David Levine [Sat, 4 May 2013 14:01:42 +0000 (09:01 -0500)]
Replaced raw hack to add the credentials profile entry in post.c
with new add_profile_entry() function.
David Levine [Fri, 3 May 2013 01:36:21 +0000 (20:36 -0500)]
Fixed failure reported by Valdis of post to retrieve login and
password with legacy credentials.
David Levine [Thu, 2 May 2013 01:40:55 +0000 (20:40 -0500)]
Fixed problem with m_getfld() with long headers reported by
Paul Fox. The problem occurred with the 512th byte of the
header was a newline: it then skipped the next character.
David Levine [Thu, 2 May 2013 01:38:48 +0000 (20:38 -0500)]
Set the return status from the check() function of the test
suite if the check failed.
David Levine [Wed, 1 May 2013 01:59:55 +0000 (20:59 -0500)]
Removed remaining #includes of stdio.h and stdlib.h because
they're #include'd by h/nmh.h.
David Levine [Wed, 1 May 2013 01:54:43 +0000 (20:54 -0500)]
Applied what was done to uip/send.c in commit
af429a902add614e35cd76d15172a4ccb70a3be1 to uip/viamail.c and
uip/whatnowsbr.c, because they call sendsbr() directly.
David Levine [Mon, 29 Apr 2013 00:42:09 +0000 (19:42 -0500)]
Removed some #includes of stdio.h, ctype.h, stdlib.h, and
string.h because they're #include'd by h/nmh.h.
David Levine [Mon, 29 Apr 2013 00:32:44 +0000 (19:32 -0500)]
Removed some #includes of unistd.h and stdio.h because they're
in h/nmh.h.
David Levine [Mon, 29 Apr 2013 00:26:58 +0000 (19:26 -0500)]
Redirect some outputs in the test suite to standard error.
David Levine [Sun, 28 Apr 2013 19:59:34 +0000 (14:59 -0500)]
Fix to commit
af429a902add614e35cd76d15172a4ccb70a3be1 to
use the user found by nmh_get_credentials() in sm_auth_sasl().
David Levine [Sun, 28 Apr 2013 18:07:31 +0000 (13:07 -0500)]
Tweaked check of -outfile in test-mhstore.
David Levine [Sun, 28 Apr 2013 17:49:44 +0000 (12:49 -0500)]
Allow -clobber with mhstore -outfile.
David Levine [Sun, 28 Apr 2013 16:29:47 +0000 (11:29 -0500)]
Added -outfile switch to mhstore(1).