]> diplodocus.org Git - nmh/log
nmh
11 years agoRemoved #include of signal.h because it's in h/signals.h.
David Levine [Sat, 14 Feb 2015 03:30:41 +0000 (21:30 -0600)]
Removed #include of signal.h because it's in h/signals.h.

11 years agoReset done in inc_done() to prevent endless loop when setegid()
Marcin Cieslak [Sat, 14 Feb 2015 03:01:09 +0000 (21:01 -0600)]
Reset done in inc_done() to prevent endless loop when setegid()
fails (in which case adios() is called, which calls done()).

11 years agoThat didn't work, so removed offset.
David Levine [Fri, 13 Feb 2015 03:33:05 +0000 (21:33 -0600)]
That didn't work, so removed offset.

11 years agoUse +0000 isntead of -0000 offset because FreeBSD displays it that way.
David Levine [Fri, 13 Feb 2015 03:27:45 +0000 (21:27 -0600)]
Use +0000 isntead of -0000 offset because FreeBSD displays it that way.

11 years agoReplaced setgid() calls with setegid() so that it works with dot
Marcin Cieslak [Fri, 13 Feb 2015 03:09:26 +0000 (21:09 -0600)]
Replaced setgid() calls with setegid() so that it works with dot
locking on FreeBSD.  setegid() should be supported on modern POSIX
systems.

11 years agoAdded showmimeproc to test/common.sh.in so that test-show will test
David Levine [Fri, 13 Feb 2015 02:22:32 +0000 (20:22 -0600)]
Added showmimeproc to test/common.sh.in so that test-show will test
it in the workspace, not the user's installation.  Also added all of
the other procs defined in config/config.c that are currently unused,
just in case they some day are.

11 years agoRemoved a few more msh (MS_MSH and mshproc) and vmh (vmhproc) relics.
David Levine [Fri, 13 Feb 2015 02:03:11 +0000 (20:03 -0600)]
Removed a few more msh (MS_MSH and mshproc) and vmh (vmhproc) relics.

11 years agoReplaced individual assignment of array elements, one of which was
David Levine [Thu, 12 Feb 2015 03:38:51 +0000 (21:38 -0600)]
Replaced individual assignment of array elements, one of which was
out of range, with array initialization.

11 years agoFixed the error message in lockit() when it fails to create tmp file.
Marcin Cieslak [Tue, 10 Feb 2015 14:18:05 +0000 (14:18 +0000)]
Fixed the error message in lockit() when it fails to create tmp file.

11 years agoFixed "inc" to be installed setgid mail with dot locking. MAILGROUP=1
Marcin Cieslak [Tue, 10 Feb 2015 14:18:05 +0000 (14:18 +0000)]
Fixed "inc" to be installed setgid mail with dot locking.  MAILGROUP=1
was not set in the config.h because we no longer use "LOCKTYPE"
configure variable.

11 years agoupdate tests for new message separator header from mhshow
Paul Fox [Sun, 8 Feb 2015 20:13:31 +0000 (15:13 -0500)]
update tests for new message separator header from mhshow

also added test names to tests, in any file i touched

11 years agoupdate man pages for new mhshow message separator header
Paul Fox [Sun, 8 Feb 2015 21:06:44 +0000 (16:06 -0500)]
update man pages for new mhshow message separator header

11 years agoadd new message separator header to mhshow
Paul Fox [Sun, 8 Feb 2015 20:22:07 +0000 (15:22 -0500)]
add new message separator header to mhshow

new switches to mhshow (-headerform and -[no]header) control whether
and what is displayed before the display of every message's content.
the default separator looks like "[ Message folder:msg ]".  the
implementation parallels the -markform feature.

since mhshow is often started by show, show now passes the -[no]header
options through to mhshow.  (also, show no longer attempts to pass
such options through to cat (in the case of -noshowproc)).

11 years agofix typo in mh-format.man
Paul Fox [Fri, 6 Feb 2015 18:03:36 +0000 (13:03 -0500)]
fix typo in mh-format.man

11 years agoTest that show always shows message numbers.
Eric Gillespie [Thu, 5 Feb 2015 20:46:28 +0000 (12:46 -0800)]
Test that show always shows message numbers.

show shows message numbers in two different formats when showing one
non-MIME, multiple non-MIME messages, or one MIME message.

show does not show any message numbers when showing multiple messages
any of which is MIME.

This is not a new bug, just one that has bothered me since I started
using mhshow with 1.6.

11 years agotest/common.sh: allow giving individual tests a name
Paul Fox [Fri, 6 Feb 2015 16:57:58 +0000 (11:57 -0500)]
test/common.sh: allow giving individual tests a name

11 years agoman pages -- clarify what -part and -type do when used together
Paul Fox [Fri, 6 Feb 2015 16:32:44 +0000 (11:32 -0500)]
man pages -- clarify what -part and -type do when used together

11 years agoAdded support to mhfixmsg -reformat for multipart/related. If it has
David Levine [Sun, 8 Feb 2015 15:21:13 +0000 (09:21 -0600)]
Added support to mhfixmsg -reformat for multipart/related.  If it has
only a single part that is not text/plain and can be converted to
text/plain, a text/plain part is added and the type of the part is
changed to multipart/alternative.  If the multipart/related has more
than one part but does not have a text/plain part, try to add one.

11 years agoRemoved unused local variable from move_preferred_part().
David Levine [Thu, 5 Feb 2015 01:05:16 +0000 (19:05 -0600)]
Removed unused local variable from move_preferred_part().

11 years agopending-release-notes: add mhshow's "-prefer", and mh-format's %(kibi/kilo)
Paul Fox [Wed, 4 Feb 2015 23:52:53 +0000 (18:52 -0500)]
pending-release-notes: add mhshow's "-prefer", and mh-format's %(kibi/kilo)

11 years agotest-subpart: add mhlist and mhshow tests for -type/-part/-prefer
Paul Fox [Wed, 4 Feb 2015 19:44:36 +0000 (14:44 -0500)]
test-subpart: add mhlist and mhshow tests for -type/-part/-prefer

11 years agoupdate mhshow, mhlist, and mhstore man pages for -prefer switch
Paul Fox [Wed, 4 Feb 2015 17:07:27 +0000 (12:07 -0500)]
update mhshow, mhlist, and mhstore man pages for -prefer switch

11 years agoimplement -prefer, for multipart/alternative preferences
Paul Fox [Wed, 4 Feb 2015 02:55:41 +0000 (21:55 -0500)]
implement -prefer, for multipart/alternative preferences

11 years agomhshow.man: more detail on use of -part and -type switches
Paul Fox [Wed, 4 Feb 2015 04:03:46 +0000 (23:03 -0500)]
mhshow.man: more detail on use of -part and -type switches

11 years agomhshow: ensure that -part always shows every part requested
Paul Fox [Tue, 3 Feb 2015 17:39:53 +0000 (12:39 -0500)]
mhshow: ensure that -part always shows every part requested

previously, "mhshow -part 1 -part 1.3" would show 1.1 but not 1.3.

11 years agomhshow: fix display of alternatives after certain nested multiparts
Paul Fox [Sat, 31 Jan 2015 00:52:24 +0000 (19:52 -0500)]
mhshow: fix display of alternatives after certain nested multiparts

adjust return codes so that we now have a clear indication of whether
there was a hard error (NOTOK), a failure to display due to type
mismatch (DONE), or complete success (OK).  use those codes in
show_multi_internal() to decide whether we're finished with this
multipart or not.

prior to this change, it was impossible to show part 1.2 of a
message constructed like the following, because the disinction
between (the new, as described above) DONE and OK states was
lost while processing multipart/related part 1.1.
 msg part  type/subtype              size description
  28       multipart/mixed           1040
     1     multipart/alternative      623
     1.1   multipart/related          275
     1.1.1 text/html                  105
     1.2   text/plain                  33
     2     text/plain                  83

this fix is related to 9cc2510 and c9794733.  hopefully it's right
this time.

11 years agomhshow: simplify code -- the DONE status was adding no value
Paul Fox [Sat, 31 Jan 2015 01:14:59 +0000 (20:14 -0500)]
mhshow: simplify code -- the DONE status was adding no value

11 years agodrop the second argument to part_ok(), since it is always 1
Paul Fox [Sat, 31 Jan 2015 00:41:37 +0000 (19:41 -0500)]
drop the second argument to part_ok(), since it is always 1

the second argument hasn't been used since "historical" times.
also add some commentary to part_ok().

11 years agoAdd a note about new bindir option to mhparam.
Lyndon Nerenberg [Tue, 27 Jan 2015 23:17:20 +0000 (15:17 -0800)]
Add a note about new bindir option to mhparam.

11 years ago'mhparam bindir' now prints NMH's idea of $(bindir).
Lyndon Nerenberg [Tue, 27 Jan 2015 23:07:19 +0000 (15:07 -0800)]
'mhparam bindir' now prints NMH's idea of $(bindir).

11 years agoHave show_content_aux2(), and therefore show_content_aux(), return
David Levine [Mon, 12 Jan 2015 01:05:11 +0000 (19:05 -0600)]
Have show_content_aux2(), and therefore show_content_aux(), return
the status of the process used to show, instead of (usually) OK.

11 years agoFixed typo in mh-format.man page, which I wouldn't have noticed
David Levine [Sat, 10 Jan 2015 23:23:54 +0000 (17:23 -0600)]
Fixed typo in mh-format.man page, which I wouldn't have noticed
if I didn't go back in to update its date.

11 years agoAdded multiply format function, requested by Norm.
David Levine [Sat, 10 Jan 2015 23:12:49 +0000 (17:12 -0600)]
Added multiply format function, requested by Norm.

11 years agoMore cleanup of the cp in tests/common.sh.in.
David Levine [Mon, 29 Dec 2014 12:06:59 +0000 (06:06 -0600)]
More cleanup of the cp in tests/common.sh.in.

11 years agoReplaced explicit list of files to be copied in test/common.sh.in
David Levine [Mon, 29 Dec 2014 03:12:06 +0000 (21:12 -0600)]
Replaced explicit list of files to be copied in test/common.sh.in
with *.  It wasn't trivial, per the comments in the file about
portability to posh, but close.

11 years agoOK, this fixes the problem referenced in the last commit. It
David Levine [Sun, 28 Dec 2014 21:51:36 +0000 (15:51 -0600)]
OK, this fixes the problem referenced in the last commit.  It
removes the copy of the etc files only during make distcheck.

11 years agoReverted commit a2b00e7053ca3be3d1389588580c71498222a267. It caused
David Levine [Sun, 28 Dec 2014 19:42:35 +0000 (13:42 -0600)]
Reverted commit a2b00e7053ca3be3d1389588580c71498222a267.  It caused
make check to pull etc files from where they were already installed,
not from the test directory.

11 years agoRemoved export of most of the variables in test/common.sh.in. The
David Levine [Sun, 28 Dec 2014 18:46:22 +0000 (12:46 -0600)]
Removed export of most of the variables in test/common.sh.in.  The
test scripts source common.sh so they don't need them to be exported.

11 years agoRemoved copy of all of the etc files from test/common.sh.in.
David Levine [Sun, 28 Dec 2014 18:32:14 +0000 (12:32 -0600)]
Removed copy of all of the etc files from test/common.sh.in.
Instead, for make distcheck, pass the location of the installed etc
directory via DISTCHECK_CONFIGURE_FLAGS, configure, and
TESTS_ENVIRONMENT to a new nmhetcdirinst variable.  Outside of make
distcheck, nmhetcdir is valid by itself.

11 years agoRearranged the variable settings at the top of test/common.sh.in.
David Levine [Sun, 28 Dec 2014 18:12:40 +0000 (12:12 -0600)]
Rearranged the variable settings at the top of test/common.sh.in.

11 years agoChanged direct access to etc files in a couple of tests to be the
David Levine [Sat, 27 Dec 2014 17:25:48 +0000 (11:25 -0600)]
Changed direct access to etc files in a couple of tests to be the
installed (for the test) versions, not the copies made by common.sh.

11 years agoReplaced nmhexecdir with nmhlibexecdir in test/common.sh.in (and
David Levine [Sat, 27 Dec 2014 17:19:43 +0000 (11:19 -0600)]
Replaced nmhexecdir with nmhlibexecdir in test/common.sh.in (and
test-mhparam) for consisitency with the Makefile.

11 years agoAdded -fixtype switch to mhfixmsg(1). It ensures that each part of
David Levine [Thu, 25 Dec 2014 17:10:52 +0000 (11:10 -0600)]
Added -fixtype switch to mhfixmsg(1).  It ensures that each part of
a message has the correct MIME type shown in its Content-Type header.

11 years agoAdded const to char * arguments of uprf().
David Levine [Thu, 25 Dec 2014 17:04:28 +0000 (11:04 -0600)]
Added const to char * arguments of uprf().

11 years agoAdded ct_str_type() and ct_str_subtype() functions, to translate
David Levine [Thu, 25 Dec 2014 06:05:36 +0000 (00:05 -0600)]
Added ct_str_type() and ct_str_subtype() functions, to translate
MIME type and subtype names to the the internal MIME parser codes.

11 years agoMerged two adjacent if (verbose) blocks.
David Levine [Thu, 25 Dec 2014 06:04:34 +0000 (00:04 -0600)]
Merged two adjacent if (verbose) blocks.

11 years agoFixed memory leak in mime_type(). get_file_info() always allocates
David Levine [Thu, 25 Dec 2014 00:25:43 +0000 (18:25 -0600)]
Fixed memory leak in mime_type().  get_file_info() always allocates
its return value.

11 years agoAlways initialize those two variables made static in commit
David Levine [Wed, 24 Dec 2014 20:35:41 +0000 (14:35 -0600)]
Always initialize those two variables made static in commit
771706ac9fed2b902bd4d3ddccb15ee27b0f58ae in case they were
set in previous calls.

11 years agoAnd removed another improperly copied comment.
David Levine [Mon, 22 Dec 2014 01:50:58 +0000 (19:50 -0600)]
And removed another improperly copied comment.

11 years agoRemoved improperly copied comment from test-mhfixmsg.
David Levine [Mon, 22 Dec 2014 01:46:25 +0000 (19:46 -0600)]
Removed improperly copied comment from test-mhfixmsg.

11 years agoAdded mention of profile components that are described
David Levine [Sun, 21 Dec 2014 22:21:27 +0000 (16:21 -0600)]
Added mention of profile components that are described
in other man pages.  Suggested by Michael Richardson.

11 years agoRearranged code to avoid "might be clobbered by longjmp" warnings from
David Levine [Sun, 21 Dec 2014 16:31:41 +0000 (10:31 -0600)]
Rearranged code to avoid "might be clobbered by longjmp" warnings from
gcc 4.9.2

11 years agoRemoved unnecessary #includes of setjmp.h.
David Levine [Sun, 21 Dec 2014 16:22:41 +0000 (10:22 -0600)]
Removed unnecessary #includes of setjmp.h.

11 years agoSet COLUMNS in test-cd if using readline so that its wrapping doesn't
David Levine [Sat, 20 Dec 2014 16:42:11 +0000 (10:42 -0600)]
Set COLUMNS in test-cd if using readline so that its wrapping doesn't
disturb the test output.  The problem arose with a long workspace path.

11 years agoFixed format engine output of negative number with 0 fill character.
David Levine [Thu, 18 Dec 2014 02:43:37 +0000 (20:43 -0600)]
Fixed format engine output of negative number with 0 fill character.
Improper output was reported by Bob Carragher.

11 years agoRearranged mhn.defaults.sh a bit: consolidated web-browser specific
David Levine [Sat, 13 Dec 2014 14:30:35 +0000 (08:30 -0600)]
Rearranged mhn.defaults.sh a bit:  consolidated web-browser specific
settings and put most of the mhstore-store- directives in a here doc.

11 years agoClarified in repl(1) man page that -noformat is only the
David Levine [Sat, 13 Dec 2014 14:04:13 +0000 (08:04 -0600)]
Clarified in repl(1) man page that -noformat is only the
default when no -filter switch is used.

11 years agoOnly remove extraneous trailing semicolon from Content-Type and
David Levine [Sat, 6 Dec 2014 15:30:52 +0000 (09:30 -0600)]
Only remove extraneous trailing semicolon from Content-Type and
Content-Disposition headers because those are the only ones that
parse_mime() warns about, but it does appear on others.

11 years agoTerminate last arg in proxy argv n popsbr.c:parse_proxy().
Eric Gillespie [Sat, 6 Dec 2014 05:08:40 +0000 (21:08 -0800)]
Terminate last arg in proxy argv n popsbr.c:parse_proxy().

This bug seems to have existed since this code was born.  I guess
others have been lucky?

11 years agoSet all Content structure elements to NULL as they are free()'d; in a few
Ken Hornstein [Tue, 2 Dec 2014 18:41:55 +0000 (13:41 -0500)]
Set all Content structure elements to NULL as they are free()'d; in a few
cases a content structure is reused and you can get into problems with
double-free()ing elements depending on your MIME composition content syntax.

11 years agoMerge commit '8206fbf', due to my screwup of committing it on a detached
Ken Hornstein [Tue, 2 Dec 2014 18:12:45 +0000 (13:12 -0500)]
Merge commit '8206fbf', due to my screwup of committing it on a detached
HEAD after a git-bisect.

11 years agoTurns out those warnings for ali(1) actually happen when the prefix is
Ken Hornstein [Tue, 2 Dec 2014 18:00:47 +0000 (13:00 -0500)]
Turns out those warnings for ali(1) actually happen when the prefix is
33 characters, not 35.

11 years agoExplicitly depend on $(srcdir)/config/version.h rather than depend
Ken Hornstein [Tue, 2 Dec 2014 14:35:02 +0000 (09:35 -0500)]
Explicitly depend on $(srcdir)/config/version.h rather than depend
on VPATH.

11 years agocast isspace() arg to unsigned char in previous commit
Paul Fox [Mon, 1 Dec 2014 18:32:26 +0000 (13:32 -0500)]
cast isspace() arg to unsigned char in previous commit

11 years agohandle extraneous trailing ';' characters that are followed by whitespace
Paul Fox [Mon, 1 Dec 2014 13:57:44 +0000 (08:57 -0500)]
handle extraneous trailing ';' characters that are followed by whitespace

11 years agomhfixmsg now removes an extraneous trailing semicolon from header
David Levine [Mon, 1 Dec 2014 03:35:19 +0000 (21:35 -0600)]
mhfixmsg now removes an extraneous trailing semicolon from header
parameter lists.

11 years agoUse Nmh-Attach for attach header field name, and accept Attach.
David Levine [Sun, 23 Nov 2014 01:00:32 +0000 (19:00 -0600)]
Use Nmh-Attach for attach header field name, and accept Attach.

11 years agoHave to check for missing type parameter in message/related part
David Levine [Sun, 23 Nov 2014 00:55:39 +0000 (18:55 -0600)]
Have to check for missing type parameter in message/related part
even though it's required according to RFC 2387 Sec. 3.1.

11 years agoExpanded explanation of mhfixmsg return status in its man page.
David Levine [Sun, 23 Nov 2014 00:54:48 +0000 (18:54 -0600)]
Expanded explanation of mhfixmsg return status in its man page.

11 years agoLook at type of parent multipart/related when determining whether
David Levine [Fri, 21 Nov 2014 04:28:28 +0000 (22:28 -0600)]
Look at type of parent multipart/related when determining whether
a non-plain text part already has a text/plain sibling.

11 years agoAdded support for multipart/related to MIME parser.
David Levine [Fri, 21 Nov 2014 04:27:58 +0000 (22:27 -0600)]
Added support for multipart/related to MIME parser.

11 years agoAdded some checks to mhfixmsg.c to avoid dereferecing null pointers
David Levine [Fri, 21 Nov 2014 02:25:14 +0000 (20:25 -0600)]
Added some checks to mhfixmsg.c to avoid dereferecing null pointers
after a failed transformation.

11 years agoFixed double fclose() in InitMultiPart() and leaks introduced in
David Levine [Fri, 21 Nov 2014 01:48:58 +0000 (19:48 -0600)]
Fixed double fclose() in InitMultiPart() and leaks introduced in
commit 5be8db81.

11 years agoprevent spurious errors when requesting specific message parts
Paul Fox [Thu, 20 Nov 2014 20:41:34 +0000 (15:41 -0500)]
prevent spurious errors when requesting specific message parts

no one should be reporting NOTOK for failure to display parts that
weren't actually requested.  failure should be reserved for parts that
we really attempted to display.

(this fix is an extension of c9794733.)

11 years agoUpdated simple integration example in mhfixmsg(1) man page
David Levine [Thu, 20 Nov 2014 03:04:33 +0000 (21:04 -0600)]
Updated simple integration example in mhfixmsg(1) man page
and added return status values.

11 years agoUpdated test-mhfixmsg to support -[no]changecur.
David Levine [Thu, 20 Nov 2014 02:17:45 +0000 (20:17 -0600)]
Updated test-mhfixmsg to support -[no]changecur.

11 years agoAdded -[no]changecur switches to mhfixmsg(1).
David Levine [Thu, 20 Nov 2014 02:13:01 +0000 (20:13 -0600)]
Added -[no]changecur switches to mhfixmsg(1).

11 years agoUpdated test-repl to compare with new -help message.
David Levine [Mon, 17 Nov 2014 00:13:47 +0000 (18:13 -0600)]
Updated test-repl to compare with new -help message.

11 years agoFixed repl help message to show "-[no]cc all|to|cc|me" instead of
David Levine [Sun, 16 Nov 2014 23:14:32 +0000 (17:14 -0600)]
Fixed repl help message to show "-[no]cc all|to|cc|me" instead of
different options for -cc and -nocc.

11 years agoFixed leak in content_charset(): if get_param() found the charset,
David Levine [Sun, 16 Nov 2014 23:10:52 +0000 (17:10 -0600)]
Fixed leak in content_charset():  if get_param() found the charset,
it returns a copy.

11 years agoMoved mhstore declarations from uip/mhn.c, uip/mhstore.c, and
David Levine [Sat, 15 Nov 2014 16:20:42 +0000 (10:20 -0600)]
Moved mhstore declarations from uip/mhn.c, uip/mhstore.c, and
uip/mhstoresbr.c to h/mhparse.h.

11 years agoRemoved "If this draft originated on the local host, then" phrase
David Levine [Sat, 15 Nov 2014 14:40:36 +0000 (08:40 -0600)]
Removed "If this draft originated on the local host, then" phrase
from mh-alias man page.  Alias resolution applies no matter where
the draft originated.

11 years agoChanged content_charset() to not cache, so the user can always, and
David Levine [Sat, 8 Nov 2014 05:08:13 +0000 (23:08 -0600)]
Changed content_charset() to not cache, so the user can always, and
should, free the return value.

11 years agoCleaned up leaks from calls to content_charset() in mhfixmsg.
David Levine [Sat, 8 Nov 2014 04:46:17 +0000 (22:46 -0600)]
Cleaned up leaks from calls to content_charset() in mhfixmsg.

11 years agoAdded deallocation of cts to freects_done().
David Levine [Sat, 8 Nov 2014 04:42:34 +0000 (22:42 -0600)]
Added deallocation of cts to freects_done().

11 years agoFixed repl(1) man page to show "msg" instead of "msgs" because
David Levine [Wed, 5 Nov 2014 03:47:13 +0000 (21:47 -0600)]
Fixed repl(1) man page to show "msg" instead of "msgs" because
it only allows reply to one message.

11 years agoFixed mlistfree() so that it doesn't dereference a free'd list node
David Levine [Tue, 4 Nov 2014 23:04:30 +0000 (17:04 -0600)]
Fixed mlistfree() so that it doesn't dereference a free'd list node
in order to find the next node.

11 years agoFixed commit 6cc9e85e73ff6f6c67ae6e645d184bbf57ecc2f0 to properly
David Levine [Tue, 4 Nov 2014 23:00:28 +0000 (17:00 -0600)]
Fixed commit 6cc9e85e73ff6f6c67ae6e645d184bbf57ecc2f0 to properly
return other than the first mbox/address if there's a match in
getmymbox/getmyaddr.

11 years agoFixed memory management in mhstore. The main problem was a double
David Levine [Thu, 30 Oct 2014 02:27:55 +0000 (21:27 -0500)]
Fixed memory management in mhstore.  The main problem was a double
free when both -file and -outfile switches were used on a MIME
message.

11 years agoAdded initial "MH-Profile-Version: 1.0\n" line to newly created
David Levine [Thu, 30 Oct 2014 00:37:18 +0000 (19:37 -0500)]
Added initial "MH-Profile-Version: 1.0\n" line to newly created
profiles.  The main purpose of this first line is to fool file(1).
Without it, if the first line of the profile is Path:, file 5.19
reports its type as message/news.  With it, it reports the type as
text/plain.

11 years agoRenamed getmymbox mh-format escape function to getmyaddr, and
David Levine [Tue, 28 Oct 2014 02:20:07 +0000 (21:20 -0500)]
Renamed getmymbox mh-format escape function to getmyaddr, and
added new getmymbox that returns the user's address with any
personal name.

11 years agoAdded getmymbox function escape.
David Levine [Sun, 26 Oct 2014 15:41:04 +0000 (10:41 -0500)]
Added getmymbox function escape.

11 years agoFixed memory leak in do_name() when multiple dates are parsed.
David Levine [Sun, 26 Oct 2014 01:41:55 +0000 (20:41 -0500)]
Fixed memory leak in do_name() when multiple dates are parsed.

11 years agoAdded free_fs(), corresponding to new_fs().
David Levine [Sun, 26 Oct 2014 01:38:20 +0000 (20:38 -0500)]
Added free_fs(), corresponding to new_fs().

11 years agoFixed dst format escape to return 1 instead of 16, to agree with its
David Levine [Sat, 25 Oct 2014 23:54:50 +0000 (18:54 -0500)]
Fixed dst format escape to return 1 instead of 16, to agree with its
documentation.

11 years agoAdded mhstore-store-text/html formatting string to mhn.defaults.
David Levine [Sat, 25 Oct 2014 04:25:58 +0000 (23:25 -0500)]
Added mhstore-store-text/html formatting string to mhn.defaults.

11 years agoFixed typo in mhstore man page.
David Levine [Sat, 25 Oct 2014 04:19:54 +0000 (23:19 -0500)]
Fixed typo in mhstore man page.

11 years agoReworked charstring_buffer_copy() to not use strdup() so that
David Levine [Sat, 25 Oct 2014 03:22:47 +0000 (22:22 -0500)]
Reworked charstring_buffer_copy() to not use strdup() so that
charstrings with null bytes can be supported.  Added
charstring_append_cstring().

11 years agoAdded mh_xcalloc().
David Levine [Sat, 11 Oct 2014 14:22:52 +0000 (09:22 -0500)]
Added mh_xcalloc().

11 years agoThe units of the zone format escape are minutes, not hours.
David Levine [Sat, 11 Oct 2014 14:17:14 +0000 (09:17 -0500)]
The units of the zone format escape are minutes, not hours.