]>
diplodocus.org Git - nmh/log
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.
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.
David Levine [Sun, 3 Nov 2013 18:36:10 +0000 (12:36 -0600)]
Removed spurious space before a period in rcvpack man page.
David Levine [Sun, 3 Nov 2013 18:34:12 +0000 (12:34 -0600)]
Cleaned up the "stripped CRs" mhfixmsg verbose message.
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 [Mon, 28 Oct 2013 18:44:30 +0000 (14:44 -0400)]
Test to make sure mhshow is actually invoking a charset conversion
program if one is defined.
Ken Hornstein [Mon, 28 Oct 2013 02:31:50 +0000 (22:31 -0400)]
Fix bug found by LLVM.
Ken Hornstein [Mon, 28 Oct 2013 02:31:35 +0000 (22:31 -0400)]
Fix up warnings reported by LLVM.
David Levine [Sun, 27 Oct 2013 13:57:55 +0000 (08:57 -0500)]
Interpret a full path argument to mhfixmsg as a filename, not
a message.
Ken Hornstein [Wed, 23 Oct 2013 18:40:02 +0000 (14:40 -0400)]
A little tiny bit closer to working.
David Levine [Wed, 23 Oct 2013 16:24:34 +0000 (11:24 -0500)]
Success! Clean build on the buildbot Solaris11 host.
David Levine [Wed, 23 Oct 2013 16:04:52 +0000 (11:04 -0500)]
Ooops, fixed typo in configure.ac.
David Levine [Wed, 23 Oct 2013 16:02:47 +0000 (11:02 -0500)]
See if this cleans up the Solaris build on the buildbot.
David Levine [Wed, 23 Oct 2013 15:47:23 +0000 (10:47 -0500)]
More probing: print out sbr/dtimep.c.
David Levine [Wed, 23 Oct 2013 15:20:49 +0000 (10:20 -0500)]
OK, Solaris on the buildbot uses flex 2.5.35.
David Levine [Wed, 23 Oct 2013 15:16:31 +0000 (10:16 -0500)]
More probing: added flex -V.
David Levine [Wed, 23 Oct 2013 14:57:16 +0000 (09:57 -0500)]
Added back an enhanced hack to configure.ac to try to diagnose
the flex 2.5.36/.36 bug workaround. Changed test-dist a bit
to help isolate where it just failed. (My last commit message
was incorrect: it was test-dist that failed, not test-comp-format.)
David Levine [Wed, 23 Oct 2013 03:54:08 +0000 (22:54 -0500)]
Reverted commit
9caa7da143644ed93c6ba6351f48fa1327ad4392
because it didn't solve the problem on Solaris, and
apparently broke test-comp-format, though I don't see how.
David Levine [Wed, 23 Oct 2013 00:46:51 +0000 (19:46 -0500)]
Added hack to configure.ac to work around bug in flex 2.5.36 and
2.5.37 that prevents the builds from being completely green.
According to http://sourceforge.net/p/flex/bugs/140/, this should
be fixed in the next release of flex. The hack is confined to
just configure.ac so it'll be easy to remove.
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