]> diplodocus.org Git - nmh/log
nmh
13 years agoStarted replacing uses of mh_strcasecmp() with strcasecmp().
David Levine [Sun, 24 Mar 2013 14:09:02 +0000 (09:09 -0500)]
Started replacing uses of mh_strcasecmp() with strcasecmp().

13 years agoChange folder_delmsgs() to save context and sequence files (and make
Ken Hornstein [Sun, 24 Mar 2013 02:59:24 +0000 (22:59 -0400)]
Change folder_delmsgs() to save context and sequence files (and make
sure those changes are before calling rmmproc().  Update programs
that use folder_delmsgs() to make all changes to sequences and
the context before calling folder_delmsgs().

13 years agoMake some formatting changes to conform to our manpage style.
Ken Hornstein [Fri, 22 Mar 2013 04:28:35 +0000 (00:28 -0400)]
Make some formatting changes to conform to our manpage style.

13 years agoAlways update sequences and context in mhfixmsg, not just when
David Levine [Fri, 22 Mar 2013 13:33:40 +0000 (08:33 -0500)]
Always update sequences and context in mhfixmsg, not just when
there is a rmmproc.

13 years agoFixes from M. Levinson:
David Levine [Fri, 22 Mar 2013 02:05:09 +0000 (21:05 -0500)]
Fixes from M. Levinson:
1) Fixed typo in elinks option in etc/mhn.defaults.sh.
2) Added #include <sys/wait.h> to mhfixmsg.c.
3) Fixed seg fault when there's no corresponding profile entry
   for a message part in mhfixmsg.
4) If rename() fails in write_content() of mhfixmsg, attempt to
   copy and then remove the file.

13 years agoMinor formatting fix for fmttest man page.
Ken Hornstein [Fri, 22 Mar 2013 01:49:29 +0000 (21:49 -0400)]
Minor formatting fix for fmttest man page.

13 years agoWent through the sources and checked where etcpath() is
Alexander Zangerl [Fri, 22 Mar 2013 01:22:21 +0000 (20:22 -0500)]
Went through the sources and checked where etcpath() is
used, and added/cloned an explanatory bit of text from the
fmttest man page to the files section for all affected
programs.

13 years agoMake sure to mark the sequence file as closed in the msgs struct.
Ken Hornstein [Thu, 21 Mar 2013 22:28:21 +0000 (18:28 -0400)]
Make sure to mark the sequence file as closed in the msgs struct.

13 years agoChange mhfixmsg to the new world folder_read() API.
Ken Hornstein [Thu, 21 Mar 2013 21:19:46 +0000 (17:19 -0400)]
Change mhfixmsg to the new world folder_read() API.

13 years agoMerge branch 'newlock'
Ken Hornstein [Thu, 21 Mar 2013 21:14:30 +0000 (17:14 -0400)]
Merge branch 'newlock'

13 years agoMore documentation about locking changes.
Ken Hornstein [Thu, 21 Mar 2013 21:12:42 +0000 (17:12 -0400)]
More documentation about locking changes.

13 years agoSupport for sequence file locking in inc(1).
Ken Hornstein [Thu, 21 Mar 2013 21:12:13 +0000 (17:12 -0400)]
Support for sequence file locking in inc(1).

13 years agoDon't lock and write the sequence files until after the searching
Ken Hornstein [Thu, 21 Mar 2013 17:47:04 +0000 (13:47 -0400)]
Don't lock and write the sequence files until after the searching
is complete.

13 years agoReplaced reference to mktemp(3) with mkstemp(3) in
David Levine [Thu, 21 Mar 2013 14:13:13 +0000 (09:13 -0500)]
Replaced reference to mktemp(3) with mkstemp(3) in
rmmproc.messageid.

13 years agoAdded support for Content-Disposition header (RFC 2183) to
David Levine [Thu, 21 Mar 2013 02:48:57 +0000 (21:48 -0500)]
Added support for Content-Disposition header (RFC 2183) to
mhstore(1) and mhn(1) when used with -auto.

13 years agoRemoved hard-coded locking selection from SPECS/nmh.spec.
David Levine [Thu, 21 Mar 2013 01:52:10 +0000 (20:52 -0500)]
Removed hard-coded locking selection from SPECS/nmh.spec.

13 years agoFixed typo in rmf man page.
David Levine [Thu, 21 Mar 2013 01:25:31 +0000 (20:25 -0500)]
Fixed typo in rmf man page.

13 years agoAdded -[no]rmmproc switches to rmm and mhfixmsg.
David Levine [Tue, 19 Mar 2013 12:32:24 +0000 (07:32 -0500)]
Added -[no]rmmproc switches to rmm and mhfixmsg.

13 years agoMake sure the building of config/config.o and sbr/mts.o depend on
Ken Hornstein [Tue, 19 Mar 2013 05:02:45 +0000 (01:02 -0400)]
Make sure the building of config/config.o and sbr/mts.o depend on
the Makefile so changes to the Makefile are properly reflected in the build.

13 years agoAdded -[no]rmmproc switches to rmm and mhfixmsg.
David Levine [Tue, 19 Mar 2013 01:00:10 +0000 (20:00 -0500)]
Added -[no]rmmproc switches to rmm and mhfixmsg.

13 years agoAdd code for (and convert world to) the new world lock order.
Ken Hornstein [Mon, 18 Mar 2013 19:29:35 +0000 (15:29 -0400)]
Add code for (and convert world to) the new world lock order.

Still need to add some code to make inc and pick behave better (not hold locks
for as long).

13 years agoAdd ICONVLIB to build rule for mhfixmsg
Ken Hornstein [Mon, 18 Mar 2013 14:38:06 +0000 (10:38 -0400)]
Add ICONVLIB to build rule for mhfixmsg

13 years agoFixed use of WIFEXITED in mhfixmsg.c.
David Levine [Mon, 18 Mar 2013 13:54:55 +0000 (08:54 -0500)]
Fixed use of WIFEXITED in mhfixmsg.c.

13 years agoFixed procmail example in mhfixmsg man page.
David Levine [Mon, 18 Mar 2013 02:55:56 +0000 (21:55 -0500)]
Fixed procmail example in mhfixmsg man page.

13 years agoRemoved color-tests from AM_INIT_AUTOMAKE because the build
David Levine [Sun, 17 Mar 2013 20:40:36 +0000 (15:40 -0500)]
Removed color-tests from AM_INIT_AUTOMAKE because the build
breaks if not supported, and automake 1.13 enables it by
default.

13 years agoAdded mhfixmsg(1).
David Levine [Sun, 17 Mar 2013 15:32:57 +0000 (10:32 -0500)]
Added mhfixmsg(1).

13 years agoFixed typo in fmmtest man page.
David Levine [Sun, 17 Mar 2013 15:29:26 +0000 (10:29 -0500)]
Fixed typo in fmmtest man page.

13 years agoAdd information about locking support entries to the man pages.
Ken Hornstein [Sat, 16 Mar 2013 04:04:38 +0000 (00:04 -0400)]
Add information about locking support entries to the man pages.

13 years agoSupport for locking tests in the test suite.
Ken Hornstein [Sat, 16 Mar 2013 03:45:54 +0000 (23:45 -0400)]
Support for locking tests in the test suite.

13 years agoTurns out the close function can be called with FILE * == NULL, so handle
Ken Hornstein [Fri, 15 Mar 2013 23:42:43 +0000 (19:42 -0400)]
Turns out the close function can be called with FILE * == NULL, so handle
that case.

13 years agoMostly complete now, but not yet functional.
Ken Hornstein [Fri, 15 Mar 2013 19:57:56 +0000 (15:57 -0400)]
Mostly complete now, but not yet functional.

13 years agoCorrected comment describing copy_seqs().
David Levine [Fri, 15 Mar 2013 13:50:23 +0000 (08:50 -0500)]
Corrected comment describing copy_seqs().

13 years agoChanged c_cefile member of struct Content from pointer to
David Levine [Fri, 15 Mar 2013 03:02:30 +0000 (22:02 -0500)]
Changed c_cefile member of struct Content from pointer to
struct cefile.  The memory cost will be negligible and it
simplifies the MIME parser code a bit.

13 years agoAdded -[no]retainsequences switches to refile(1).
David Levine [Fri, 15 Mar 2013 01:58:31 +0000 (20:58 -0500)]
Added -[no]retainsequences switches to refile(1).

13 years agoChanged loop in dumpwidth() to go from [0, 0xffff) because
David Levine [Fri, 15 Mar 2013 01:37:49 +0000 (20:37 -0500)]
Changed loop in dumpwidth() to go from [0, 0xffff) because
wchar_t is 2 bytes wide on Cygwin.  gcc noticed that the loop
would never terminate because 0xffff would increment to 0.

13 years agoChanged detection of warning in build_nmh for sign mismatch
David Levine [Fri, 15 Mar 2013 00:08:15 +0000 (19:08 -0500)]
Changed detection of warning in build_nmh for sign mismatch
in sbr/dtimep.c to work with older gcc.

13 years agoMore locking updates; still doesn't compile yet.
Ken Hornstein [Thu, 14 Mar 2013 19:57:07 +0000 (15:57 -0400)]
More locking updates; still doesn't compile yet.

13 years agoStart of the changes for the new lock code. Does not compile yet.
Ken Hornstein [Thu, 14 Mar 2013 01:02:48 +0000 (21:02 -0400)]
Start of the changes for the new lock code.  Does not compile yet.

13 years agoAdd support for RFC-2017, message/external-body content which contains URLs.
Ken Hornstein [Tue, 12 Mar 2013 18:22:49 +0000 (14:22 -0400)]
Add support for RFC-2017, message/external-body content which contains URLs.

13 years agoChange sample disposition from "application" to "attachment"
Ken Hornstein [Tue, 12 Mar 2013 16:57:41 +0000 (12:57 -0400)]
Change sample disposition from "application" to "attachment"

13 years agoAdded check that writesomecmd() isn't at the end of argp before
David Levine [Mon, 11 Mar 2013 23:57:01 +0000 (18:57 -0500)]
Added check that writesomecmd() isn't at the end of argp before
dereferencing ++argp.  I'm surprised that no one, including me,
tripped over this before:  whatnow(1) would seg fault when
handling, e.g., detach -n 4.  But until I upgraded to Fedora 18,
I never noticed it.  (valgrind did.)

13 years agoIgnore the sign mismatch warning when sbr/dtimep.c is built with
David Levine [Mon, 11 Mar 2013 23:42:16 +0000 (18:42 -0500)]
Ignore the sign mismatch warning when sbr/dtimep.c is built with
flex 2.5.36 or 2.5.37.

13 years agoFixed spelling of "preserve" in refile man page.
David Levine [Fri, 8 Mar 2013 12:40:07 +0000 (06:40 -0600)]
Fixed spelling of "preserve" in refile man page.

13 years agoIn the locking discussion of mh-folders(5), discourage direct
David Levine [Fri, 8 Mar 2013 02:11:22 +0000 (20:11 -0600)]
In the locking discussion of mh-folders(5), discourage direct
access to the nmh state files.

13 years agoAdded lockmethod pseudocomponent to mhparam so that users
David Levine [Wed, 6 Mar 2013 02:17:08 +0000 (20:17 -0600)]
Added lockmethod pseudocomponent to mhparam so that users
can easily find out what locking method was configured in.

13 years agoUpdate with more information.
Ken Hornstein [Tue, 5 Mar 2013 19:30:51 +0000 (14:30 -0500)]
Update with more information.

13 years agoAdded a bit more on sequences to mh-folders.man.
David Levine [Mon, 4 Mar 2013 03:45:09 +0000 (21:45 -0600)]
Added a bit more on sequences to mh-folders.man.

13 years agoAdded beginnings of storage format spec to new mh-folders.man.
David Levine [Sun, 3 Mar 2013 15:53:10 +0000 (09:53 -0600)]
Added beginnings of storage format spec to new mh-folders.man.

13 years agoFixed typo in rmmproc.messageid.
David Levine [Sun, 3 Mar 2013 15:49:05 +0000 (09:49 -0600)]
Fixed typo in rmmproc.messageid.

13 years agoReworked internals of MIME parser's reverse_parts() and made it
David Levine [Thu, 28 Feb 2013 01:32:38 +0000 (19:32 -0600)]
Reworked internals of MIME parser's reverse_parts() and made it
public.

13 years agoAdded tolower(), toupper(), and toascii() to
David Levine [Thu, 28 Feb 2013 01:31:31 +0000 (19:31 -0600)]
Added tolower(), toupper(), and toascii() to
gen-ctype-checked.c.

13 years agoAdded a handful of functions to the parser to allow access to
David Levine [Wed, 27 Feb 2013 01:23:58 +0000 (19:23 -0600)]
Added a handful of functions to the parser to allow access to
init functions and string representations of enum valus for
content types and encodings.

13 years agoAdded nmh_strcasestr() because POSIX doesn't have strcasestr().
David Levine [Wed, 27 Feb 2013 01:08:38 +0000 (19:08 -0600)]
Added nmh_strcasestr() because POSIX doesn't have strcasestr().

13 years agoSupport RFC 2231 language tags in RFC 2047 header strings.
Ken Hornstein [Tue, 26 Feb 2013 18:19:06 +0000 (13:19 -0500)]
Support RFC 2231 language tags in RFC 2047 header strings.

13 years agoAdded cpytrim() function. Unlike trimcpy(), it does not modify
David Levine [Tue, 26 Feb 2013 05:02:05 +0000 (23:02 -0600)]
Added cpytrim() function.  Unlike trimcpy(), it does not modify
its argument.

13 years agoAdded const qualifier to arguments of concat() and copy().
David Levine [Tue, 26 Feb 2013 04:46:00 +0000 (22:46 -0600)]
Added const qualifier to arguments of concat() and copy().

13 years agoAdded find_str() and rfind_str() to sbr/utils.c
David Levine [Mon, 25 Feb 2013 03:55:28 +0000 (21:55 -0600)]
Added find_str() and rfind_str() to sbr/utils.c

13 years agoAdded const qualifier to char * arguments of add(), addlist(),
David Levine [Mon, 25 Feb 2013 03:38:33 +0000 (21:38 -0600)]
Added const qualifier to char * arguments of add(), addlist(),
and folder_exists() in sbr/utils.{h,c}.

13 years agoAdd support for LS_UNQUOTE instruction.
Ken Hornstein [Fri, 22 Feb 2013 05:52:50 +0000 (00:52 -0500)]
Add support for LS_UNQUOTE instruction.

13 years agoFix the code to print out an unknown instruction. Wow, this never worked
Ken Hornstein [Fri, 22 Feb 2013 05:47:47 +0000 (00:47 -0500)]
Fix the code to print out an unknown instruction.  Wow, this never worked
back from the original fmtdump.

13 years agoWhoops, forgot a \ when adding fmttest.man to man_SRCS.
Ken Hornstein [Fri, 22 Feb 2013 04:56:02 +0000 (23:56 -0500)]
Whoops, forgot a \ when adding fmttest.man to man_SRCS.

13 years agoQuote the arguments to the .I macro so the manpage test doesn't complain.
Ken Hornstein [Fri, 22 Feb 2013 04:03:31 +0000 (23:03 -0500)]
Quote the arguments to the .I macro so the manpage test doesn't complain.

13 years agoDocument new fmttest program.
Ken Hornstein [Fri, 22 Feb 2013 03:55:41 +0000 (22:55 -0500)]
Document new fmttest program.

13 years agoFix a few issues resulting from m_getfld() API changes.
Ken Hornstein [Fri, 22 Feb 2013 03:55:23 +0000 (22:55 -0500)]
Fix a few issues resulting from m_getfld() API changes.

13 years agoMerge branch 'format-test'
Ken Hornstein [Fri, 22 Feb 2013 03:40:48 +0000 (22:40 -0500)]
Merge branch 'format-test'

13 years agoAdd a lot more text to the man page; it should be in reasonable shape now.
Ken Hornstein [Fri, 22 Feb 2013 03:38:18 +0000 (22:38 -0500)]
Add a lot more text to the man page; it should be in reasonable shape now.

13 years agoUpdate instruction output to be a bit more cleaner
Ken Hornstein [Fri, 22 Feb 2013 03:37:47 +0000 (22:37 -0500)]
Update instruction output to be a bit more cleaner

13 years agoFixed write8Bit() to use fread()/fwrite() instead of
David Levine [Fri, 22 Feb 2013 03:01:55 +0000 (21:01 -0600)]
Fixed write8Bit() to use fread()/fwrite() instead of
fgets()/fputs().

13 years agoFlesh this out so finally it's halfway useful.
Ken Hornstein [Thu, 21 Feb 2013 20:53:06 +0000 (15:53 -0500)]
Flesh this out so finally it's halfway useful.

13 years agoRearrange options a bit and support the -nodump flag. Also clean up how
Ken Hornstein [Thu, 21 Feb 2013 20:52:36 +0000 (15:52 -0500)]
Rearrange options a bit and support the -nodump flag.  Also clean up how
-raw mode works.

13 years agoBring this up to best practices.
Ken Hornstein [Thu, 21 Feb 2013 20:52:09 +0000 (15:52 -0500)]
Bring this up to best practices.

13 years agoMinor updates for fmttest man page.
Ken Hornstein [Thu, 21 Feb 2013 03:37:50 +0000 (22:37 -0500)]
Minor updates for fmttest man page.

13 years agoBasic format tracing support; seems to work!
Ken Hornstein [Wed, 20 Feb 2013 20:53:54 +0000 (15:53 -0500)]
Basic format tracing support; seems to work!

13 years agoSupport for the address duplication done by repl, and also clean up
Ken Hornstein [Wed, 20 Feb 2013 20:19:11 +0000 (15:19 -0500)]
Support for the address duplication done by repl, and also clean up
some stuff.

13 years agoSupport callbacks into the format engine. This is so we can add in proper
Ken Hornstein [Wed, 20 Feb 2013 17:01:05 +0000 (12:01 -0500)]
Support callbacks into the format engine.  This is so we can add in proper
hooks for %(formataddr), %(concataddr), and (eventually) tracing.

13 years agoMake generating the ChangeLog work if you're building a distribution from
Ken Hornstein [Wed, 20 Feb 2013 02:57:32 +0000 (21:57 -0500)]
Make generating the ChangeLog work if you're building a distribution from
an object directory.

13 years agoThe beginnings of a fmttest man page.
Ken Hornstein [Wed, 20 Feb 2013 02:54:14 +0000 (21:54 -0500)]
The beginnings of a fmttest man page.

13 years agoIn m_getfld.c, cast the returns of valid characters to
David Levine [Wed, 20 Feb 2013 01:45:25 +0000 (19:45 -0600)]
In m_getfld.c, cast the returns of valid characters to
unsigned char.  This differentiates them from EOF and matches
the behavior prior to the recent m_getfld() rework.  But that
behavior is very broken on 8-bit input.

13 years agoApply David Levine's fix from whomfile() to sendfile() as well.
Ken Hornstein [Tue, 19 Feb 2013 18:51:47 +0000 (13:51 -0500)]
Apply David Levine's fix from whomfile() to sendfile() as well.

13 years agoRemoved addition of whomproc to the vec array in whomfile()
David Levine [Tue, 19 Feb 2013 03:32:24 +0000 (21:32 -0600)]
Removed addition of whomproc to the vec array in whomfile()
now that argsplit() does it.

13 years agoAdded locking discussion to rcvstore(1) man page.
David Levine [Tue, 19 Feb 2013 03:24:29 +0000 (21:24 -0600)]
Added locking discussion to rcvstore(1) man page.

13 years agofmttest is actually starting to get useful now. Some changes were required
Ken Hornstein [Tue, 19 Feb 2013 01:51:46 +0000 (20:51 -0500)]
fmttest is actually starting to get useful now.  Some changes were required
to the format code to make this code cleaner.

13 years ago"RFC-2045 to RFC-2049" instead of "thru".
David Levine [Mon, 18 Feb 2013 04:04:51 +0000 (22:04 -0600)]
"RFC-2045 to RFC-2049" instead of "thru".

13 years agoWhen output_content() outputs a non-MIME message with no body,
David Levine [Sat, 16 Feb 2013 14:27:29 +0000 (08:27 -0600)]
When output_content() outputs a non-MIME message with no body,
suppress the newline after the headers.

13 years agoAdded mention of rcvstore(1) to inc(1) man page.
David Levine [Sat, 16 Feb 2013 14:23:10 +0000 (08:23 -0600)]
Added mention of rcvstore(1) to inc(1) man page.

13 years agoPlugged small memory leak in etcpath().
David Levine [Sat, 16 Feb 2013 14:21:10 +0000 (08:21 -0600)]
Plugged small memory leak in etcpath().

13 years agoIn InitMultiPart(), always set bogus_mp_content if boundaries
David Levine [Sat, 16 Feb 2013 14:19:45 +0000 (08:19 -0600)]
In InitMultiPart(), always set bogus_mp_content if boundaries
don't match.

13 years agoRemove dead UUCP address parsing code. Sadly, this is not the complete
Ken Hornstein [Sat, 16 Feb 2013 05:37:36 +0000 (00:37 -0500)]
Remove dead UUCP address parsing code.  Sadly, this is not the complete
removal of UUCP support, but it's a good start.

13 years agoSlightly more useful, but still more work to do.
Ken Hornstein [Sat, 16 Feb 2013 05:31:16 +0000 (00:31 -0500)]
Slightly more useful, but still more work to do.

13 years agoAdd more functionality to fmttest; it's starting to get semi-useful.
Ken Hornstein [Fri, 15 Feb 2013 20:58:21 +0000 (15:58 -0500)]
Add more functionality to fmttest; it's starting to get semi-useful.

13 years agoAdded a couple of global variables to mhparse.c to allow
David Levine [Fri, 15 Feb 2013 03:53:50 +0000 (21:53 -0600)]
Added a couple of global variables to mhparse.c to allow
suppression of the warning about bogus multipart content,
and detection of it.

13 years agoMore work on fmttest, but still plenty more to go.
Ken Hornstein [Thu, 14 Feb 2013 18:50:28 +0000 (13:50 -0500)]
More work on fmttest, but still plenty more to go.

13 years agoCorrect man page information for %(width) format instruction.
Ken Hornstein [Thu, 14 Feb 2013 18:49:54 +0000 (13:49 -0500)]
Correct man page information for %(width) format instruction.

13 years agoAdded support for multiple message/file arguments to
David Levine [Thu, 14 Feb 2013 03:11:59 +0000 (21:11 -0600)]
Added support for multiple message/file arguments to
rmmproc.message.id.  Added mention of it to rmm man page.

13 years agoClean up argument handling to fmttest, as a precursor to actually getting
Ken Hornstein [Wed, 13 Feb 2013 20:53:13 +0000 (15:53 -0500)]
Clean up argument handling to fmttest, as a precursor to actually getting
it done.

13 years agoRemove support for -mail, -saml, -send, and -soml switches in send
Ken Hornstein [Wed, 13 Feb 2013 19:42:50 +0000 (14:42 -0500)]
Remove support for -mail, -saml, -send, and -soml switches in send
and whatnow.  The code in post implementing these options was removed
as part of commit 537e02c38f4bb.

13 years agoConvert fmttest over to the new argument processing world order.
Ken Hornstein [Wed, 13 Feb 2013 19:24:11 +0000 (14:24 -0500)]
Convert fmttest over to the new argument processing world order.

13 years agoDocument argsplit changes in mh-profile man page.
Ken Hornstein [Wed, 13 Feb 2013 15:47:26 +0000 (10:47 -0500)]
Document argsplit changes in mh-profile man page.

13 years agoFixed typo in mhlist man page. Also removed sendfiles(1)
David Levine [Wed, 13 Feb 2013 04:03:54 +0000 (22:03 -0600)]
Fixed typo in mhlist man page.  Also removed sendfiles(1)
from its SEE ALSO list.

13 years agoRemove installproc from the test since we don't have it anymore.
Ken Hornstein [Wed, 13 Feb 2013 01:05:17 +0000 (20:05 -0500)]
Remove installproc from the test since we don't have it anymore.