]>
diplodocus.org Git - nmh/log
David Levine [Sun, 24 Mar 2013 18:37:47 +0000 (13:37 -0500)]
Finished replacing mh_strcasecmp() with strcasecmp(). Removed
sbr/strcasecmp.c.
David Levine [Sun, 24 Mar 2013 18:23:59 +0000 (13:23 -0500)]
More replacements of mh_strcasecmp() with strcasecmp().
David Levine [Sun, 24 Mar 2013 16:45:42 +0000 (11:45 -0500)]
More replacements of mh_strcasecmp() with strcasecmp().
David Levine [Sun, 24 Mar 2013 16:28:51 +0000 (11:28 -0500)]
More replacements of mh_strcasecmp() with strcasecmp().
David Levine [Sun, 24 Mar 2013 16:15:27 +0000 (11:15 -0500)]
More replacements of mh_strcasecmp() with strcasecmp().
David Levine [Sun, 24 Mar 2013 15:36:18 +0000 (10:36 -0500)]
More replacements 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().
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().
Ken Hornstein [Fri, 22 Mar 2013 04:28:35 +0000 (00:28 -0400)]
Make some formatting changes to conform to our manpage style.
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.
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.
Ken Hornstein [Fri, 22 Mar 2013 01:49:29 +0000 (21:49 -0400)]
Minor formatting fix for fmttest man page.
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.
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.
Ken Hornstein [Thu, 21 Mar 2013 21:19:46 +0000 (17:19 -0400)]
Change mhfixmsg to the new world folder_read() API.
Ken Hornstein [Thu, 21 Mar 2013 21:14:30 +0000 (17:14 -0400)]
Merge branch 'newlock'
Ken Hornstein [Thu, 21 Mar 2013 21:12:42 +0000 (17:12 -0400)]
More documentation about locking changes.
Ken Hornstein [Thu, 21 Mar 2013 21:12:13 +0000 (17:12 -0400)]
Support for sequence file locking in inc(1).
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.
David Levine [Thu, 21 Mar 2013 14:13:13 +0000 (09:13 -0500)]
Replaced reference to mktemp(3) with mkstemp(3) in
rmmproc.messageid.
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.
David Levine [Thu, 21 Mar 2013 01:52:10 +0000 (20:52 -0500)]
Removed hard-coded locking selection from SPECS/nmh.spec.
David Levine [Thu, 21 Mar 2013 01:25:31 +0000 (20:25 -0500)]
Fixed typo in rmf man page.
David Levine [Tue, 19 Mar 2013 12:32:24 +0000 (07:32 -0500)]
Added -[no]rmmproc switches to rmm and mhfixmsg.
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.
David Levine [Tue, 19 Mar 2013 01:00:10 +0000 (20:00 -0500)]
Added -[no]rmmproc switches to rmm and mhfixmsg.
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).
Ken Hornstein [Mon, 18 Mar 2013 14:38:06 +0000 (10:38 -0400)]
Add ICONVLIB to build rule for mhfixmsg
David Levine [Mon, 18 Mar 2013 13:54:55 +0000 (08:54 -0500)]
Fixed use of WIFEXITED in mhfixmsg.c.
David Levine [Mon, 18 Mar 2013 02:55:56 +0000 (21:55 -0500)]
Fixed procmail example in mhfixmsg man page.
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.
David Levine [Sun, 17 Mar 2013 15:32:57 +0000 (10:32 -0500)]
Added mhfixmsg(1).
David Levine [Sun, 17 Mar 2013 15:29:26 +0000 (10:29 -0500)]
Fixed typo in fmmtest man page.
Ken Hornstein [Sat, 16 Mar 2013 04:04:38 +0000 (00:04 -0400)]
Add information about locking support entries to the man pages.
Ken Hornstein [Sat, 16 Mar 2013 03:45:54 +0000 (23:45 -0400)]
Support for locking tests in the test suite.
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.
Ken Hornstein [Fri, 15 Mar 2013 19:57:56 +0000 (15:57 -0400)]
Mostly complete now, but not yet functional.
David Levine [Fri, 15 Mar 2013 13:50:23 +0000 (08:50 -0500)]
Corrected comment describing copy_seqs().
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.
David Levine [Fri, 15 Mar 2013 01:58:31 +0000 (20:58 -0500)]
Added -[no]retainsequences switches to refile(1).
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.
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.
Ken Hornstein [Thu, 14 Mar 2013 19:57:07 +0000 (15:57 -0400)]
More locking updates; still doesn't 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.
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.
Ken Hornstein [Tue, 12 Mar 2013 16:57:41 +0000 (12:57 -0400)]
Change sample disposition from "application" to "attachment"
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.)
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.
David Levine [Fri, 8 Mar 2013 12:40:07 +0000 (06:40 -0600)]
Fixed spelling of "preserve" in refile man page.
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.
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.
Ken Hornstein [Tue, 5 Mar 2013 19:30:51 +0000 (14:30 -0500)]
Update with more information.
David Levine [Mon, 4 Mar 2013 03:45:09 +0000 (21:45 -0600)]
Added a bit more on sequences to 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.
David Levine [Sun, 3 Mar 2013 15:49:05 +0000 (09:49 -0600)]
Fixed typo in rmmproc.messageid.
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.
David Levine [Thu, 28 Feb 2013 01:31:31 +0000 (19:31 -0600)]
Added tolower(), toupper(), and toascii() to
gen-ctype-checked.c.
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.
David Levine [Wed, 27 Feb 2013 01:08:38 +0000 (19:08 -0600)]
Added nmh_strcasestr() because POSIX doesn't have strcasestr().
Ken Hornstein [Tue, 26 Feb 2013 18:19:06 +0000 (13:19 -0500)]
Support RFC 2231 language tags in RFC 2047 header strings.
David Levine [Tue, 26 Feb 2013 05:02:05 +0000 (23:02 -0600)]
Added cpytrim() function. Unlike trimcpy(), it does not modify
its argument.
David Levine [Tue, 26 Feb 2013 04:46:00 +0000 (22:46 -0600)]
Added const qualifier to arguments of concat() and copy().
David Levine [Mon, 25 Feb 2013 03:55:28 +0000 (21:55 -0600)]
Added find_str() and rfind_str() to sbr/utils.c
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}.
Ken Hornstein [Fri, 22 Feb 2013 05:52:50 +0000 (00:52 -0500)]
Add support for LS_UNQUOTE instruction.
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.
Ken Hornstein [Fri, 22 Feb 2013 04:56:02 +0000 (23:56 -0500)]
Whoops, forgot a \ when adding fmttest.man to man_SRCS.
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.
Ken Hornstein [Fri, 22 Feb 2013 03:55:41 +0000 (22:55 -0500)]
Document new fmttest program.
Ken Hornstein [Fri, 22 Feb 2013 03:55:23 +0000 (22:55 -0500)]
Fix a few issues resulting from m_getfld() API changes.
Ken Hornstein [Fri, 22 Feb 2013 03:40:48 +0000 (22:40 -0500)]
Merge branch 'format-test'
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.
Ken Hornstein [Fri, 22 Feb 2013 03:37:47 +0000 (22:37 -0500)]
Update instruction output to be a bit more cleaner
David Levine [Fri, 22 Feb 2013 03:01:55 +0000 (21:01 -0600)]
Fixed write8Bit() to use fread()/fwrite() instead of
fgets()/fputs().
Ken Hornstein [Thu, 21 Feb 2013 20:53:06 +0000 (15:53 -0500)]
Flesh this out so finally it's halfway useful.
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.
Ken Hornstein [Thu, 21 Feb 2013 20:52:09 +0000 (15:52 -0500)]
Bring this up to best practices.
Ken Hornstein [Thu, 21 Feb 2013 03:37:50 +0000 (22:37 -0500)]
Minor updates for fmttest man page.
Ken Hornstein [Wed, 20 Feb 2013 20:53:54 +0000 (15:53 -0500)]
Basic format tracing support; seems to work!
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.
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.
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.
Ken Hornstein [Wed, 20 Feb 2013 02:54:14 +0000 (21:54 -0500)]
The beginnings of a fmttest man page.
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.
Ken Hornstein [Tue, 19 Feb 2013 18:51:47 +0000 (13:51 -0500)]
Apply David Levine's fix from whomfile() to sendfile() as well.
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.
David Levine [Tue, 19 Feb 2013 03:24:29 +0000 (21:24 -0600)]
Added locking discussion to rcvstore(1) man page.
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.
David Levine [Mon, 18 Feb 2013 04:04:51 +0000 (22:04 -0600)]
"RFC-2045 to RFC-2049" instead of "thru".
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.
David Levine [Sat, 16 Feb 2013 14:23:10 +0000 (08:23 -0600)]
Added mention of rcvstore(1) to inc(1) man page.
David Levine [Sat, 16 Feb 2013 14:21:10 +0000 (08:21 -0600)]
Plugged small memory leak in etcpath().
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.
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.
Ken Hornstein [Sat, 16 Feb 2013 05:31:16 +0000 (00:31 -0500)]
Slightly more useful, but still more work to do.
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.
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.
Ken Hornstein [Thu, 14 Feb 2013 18:50:28 +0000 (13:50 -0500)]
More work on fmttest, but still plenty more to go.
Ken Hornstein [Thu, 14 Feb 2013 18:49:54 +0000 (13:49 -0500)]
Correct man page information for %(width) format instruction.
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.