]>
diplodocus.org Git - nmh/log
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.
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 [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.
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.
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.
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 .
Ken Hornstein [Wed, 13 Feb 2013 19:24:11 +0000 (14:24 -0500)]
Convert fmttest over to the new argument processing world order.
Ken Hornstein [Wed, 13 Feb 2013 15:47:26 +0000 (10:47 -0500)]
Document argsplit changes in mh-profile man page.
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.
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.
Ken Hornstein [Tue, 12 Feb 2013 20:39:18 +0000 (15:39 -0500)]
Remove "installproc" since it is no longer used.
Ken Hornstein [Tue, 12 Feb 2013 20:37:00 +0000 (15:37 -0500)]
Final conversion to new argsplit() code.
Ken Hornstein [Mon, 11 Feb 2013 20:57:31 +0000 (15:57 -0500)]
Add a new test for the MIME functionality in burst.
David Levine [Mon, 11 Feb 2013 02:55:54 +0000 (20:55 -0600)]
Multipart parts might have content before the first subpart
and/or after the last subpart that hasn't been stored anywhere
else, so do that at the end of InitMultiPart(), and output it
in output_content().
David Levine [Mon, 11 Feb 2013 01:05:37 +0000 (19:05 -0600)]
Added etc/rmmproc.messageid, which shows how to try to move
a message or file to a file that's named based on Message-ID.
Ken Hornstein [Fri, 8 Feb 2013 20:46:31 +0000 (15:46 -0500)]
Make burst(1) be able to burst MIME-formatted messages with message/rfc822
parts in them.
Ken Hornstein [Fri, 8 Feb 2013 18:02:00 +0000 (13:02 -0500)]
Create a central prototype for free_content().
Ken Hornstein [Thu, 7 Feb 2013 19:34:12 +0000 (14:34 -0500)]
More conversion to argsplit().
Ken Hornstein [Thu, 7 Feb 2013 16:31:45 +0000 (11:31 -0500)]
Move etc/gen-ctype-checked into an Automake primary so dependency information
can properly be recorded for it.
David Levine [Thu, 7 Feb 2013 02:39:06 +0000 (20:39 -0600)]
When debugging is enabled, replace the ctype functions with
macros that index into arrays. This allows the compiler to
catch use of char, instead of unsigned char, arguments to
those functions. gcc uses -Wchar-subscripts, which is enabled
with the -Wall that we use by default. Thanks to Tom Lane for
suggesting this approach.
This feature can be enabled by undef'ing NDEBUG in config.h.
configure --enable-debug does that. We can now use the same
mechanism to enable and disable assert(3), too.
David Levine [Thu, 7 Feb 2013 02:31:18 +0000 (20:31 -0600)]
Added global variable skip_mp_cte_check to turn off that check
for incorrect encoding of multipart messages in InitMultiPart().
David Levine [Thu, 7 Feb 2013 02:28:29 +0000 (20:28 -0600)]
output_content() assumed that ci->ci_values[0] was the boundary,
but that's not always the case. Added search for the boundary
in ci->ci_attrs[].
Ken Hornstein [Wed, 6 Feb 2013 20:51:04 +0000 (15:51 -0500)]
More work to convert programs over to the use of argsplit().
Ken Hornstein [Wed, 6 Feb 2013 16:12:56 +0000 (11:12 -0500)]
Make sure these stdarg lists are properly terminated with pointer-context
NULLs.
Ken Hornstein [Wed, 6 Feb 2013 02:06:35 +0000 (21:06 -0500)]
Remove warning suppression we no longer need. Hooray!
Ken Hornstein [Wed, 6 Feb 2013 02:00:40 +0000 (21:00 -0500)]
FINALLY clean up our signed/unsigned character warning mess. In short, we
have switched to using "char" almost everywhere, and casting char to
unsigned char when using the ctype macros/functions.
David Levine [Tue, 5 Feb 2013 22:20:53 +0000 (16:20 -0600)]
Changed m_getfld() to use char instead of unsigned char.
David Levine [Tue, 5 Feb 2013 21:25:23 +0000 (15:25 -0600)]
Changed m_getfld() to use char instead of unsigned char.
Ken Hornstein [Tue, 5 Feb 2013 18:01:09 +0000 (13:01 -0500)]
Start of the signed/unsigned char cleanup.
David Levine [Mon, 4 Feb 2013 04:51:00 +0000 (22:51 -0600)]
Tweaked logic in brkstring.c and showfile.c to get rid of the
remaining "statement not reached" warnings from Solaris cc.
Ken Hornstein [Sat, 2 Feb 2013 19:28:39 +0000 (14:28 -0500)]
Make sure we don't link getcwidth with the nmh libraries.
David Levine [Sat, 2 Feb 2013 18:56:53 +0000 (12:56 -0600)]
Added support for "-" to indicate stdout to output_message().
David Levine [Sat, 2 Feb 2013 18:54:55 +0000 (12:54 -0600)]
Removed unlink of "core" from signal handler of mhlist, mhn,
mhshow, and mhstore. Those programs shouldn't remove a file
that has nothing to do with them.
David Levine [Sat, 2 Feb 2013 18:40:59 +0000 (12:40 -0600)]
Removed myuid and mygid variables, they're no longer used and
the Solaris C compiler complained about their initializers.
Ken Hornstein [Sat, 2 Feb 2013 18:30:24 +0000 (13:30 -0500)]
Cast wchar_t to long unsigned int to deal with differing types of
wchar_t across systems.
David Levine [Sat, 2 Feb 2013 17:55:23 +0000 (11:55 -0600)]
Suppress warning from test-manpages that groff can't break a line if
the user's prefix is too long.
David Levine [Sat, 2 Feb 2013 16:54:32 +0000 (10:54 -0600)]
The Solaris compiler was right about unreachable statements.
Fixed all of them in uip/.
David Levine [Sat, 2 Feb 2013 16:21:14 +0000 (10:21 -0600)]
Added l modifier to X printf conversions of wchar_t's.
David Levine [Sat, 2 Feb 2013 16:18:24 +0000 (10:18 -0600)]
Removed unused vec[0] relic from before argsplit conversion.
David Levine [Sat, 2 Feb 2013 16:12:57 +0000 (10:12 -0600)]
Added trailing newline to sed input in mhmail when processing
-headerfield argument, to squelch complain from Solaris sed.