Skip to content

Commit

Permalink
MHonArc 2.6.7:
Browse files Browse the repository at this point in the history
(https://www.mhonarc.org/release/MHonArc/tar/MHonArc-2.6.7.tar.gz)

* Bug Fixes:

    Bug ID  Summary
    ------  ------------------------------------------------------------
     4569   Problem with unfolding can mess up boundary processing in
	    multipart messages.
     4594   Initial space on lines removed when using fancyquote.
    ------  ------------------------------------------------------------
    <https://savannah.nongnu.org/bugs/?group=mhonarc>

* Added LANG resource to define locale.  Affects resource filename
  resolution and message subject and author sorting.

* readmail.pl updated to define the following special header field
  keys passed to filter routines:

    x-mha-content-type	  The media type of the entity extracted from
			  content-type entity header
    x-mha-part-number	  The relative part number of the entity with
			  respect to parent entity.  To get the
			  absolute part number, use
			  readmail::get_full_part_number($fields).
    x-mha-parent-header	  Reference to parent header fields hash.

  This, and other data structures, are now mentioned in the MIMEFILTERS
  resource page.

* Text/richtext tag, <samepage>, is quietly dropped in mhtxtenrich.pl.
  • Loading branch information
Earl Hood authored and kfogel committed Jan 15, 2018
1 parent 76301f7 commit 01c75a2
Show file tree
Hide file tree
Showing 25 changed files with 14,728 additions and 161 deletions.
34 changes: 33 additions & 1 deletion CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,38 @@
all changes that will be visible to users of MHonArc.

YYYY/MM/DD
============================================================================
2003/08/07 (2.6.7)

* Bug Fixes:

Bug ID Summary
------ ------------------------------------------------------------
4569 Problem with unfolding can mess up boundary processing in
multipart messages.
4594 Initial space on lines removed when using fancyquote.
------ ------------------------------------------------------------
<https://savannah.nongnu.org/bugs/?group=mhonarc>

* Added LANG resource to define locale. Affects resource filename
resolution and message subject and author sorting.

* readmail.pl updated to define the following special header field
keys passed to filter routines:

x-mha-content-type The media type of the entity extracted from
content-type entity header
x-mha-part-number The relative part number of the entity with
respect to parent entity. To get the
absolute part number, use
readmail::get_full_part_number($fields).
x-mha-parent-header Reference to parent header fields hash.

This, and other data structures, are now mentioned in the MIMEFILTERS
resource page.

* Text/richtext tag, <samepage>, is quietly dropped in mhtxtenrich.pl.

============================================================================
2003/07/21 (2.6.6)

Expand Down Expand Up @@ -2530,4 +2562,4 @@ YYYY/MM/DD

=======================================================================
Earl Hood, [email protected]
$Id: CHANGES,v 1.113 2003/07/21 16:32:02 ehood Exp $
$Id: CHANGES,v 1.116 2003/08/07 21:34:27 ehood Exp $
9 changes: 1 addition & 8 deletions TODO
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ Items are in no particular order:

=> Fix all open bugs. :-)

=> Enhance locale support, especially for message sorting.

=> Add resource to disable use of MD5 if no message-id.

=> Generalize message page layout so converted header and body can
Expand All @@ -22,11 +20,6 @@ Items are in no particular order:
=> "Global" filter options. For example, have something like
"subdir" be applied to all filters that write files.

=> Fix unfolding problem where there is only a single space on
the next line. Can this be done w/o adding extra overhead in
parsing? XXX: Need to remember input case where the unfolding was
a problem.

=> Define $MhaStdout and $MhaStdin. Should help in embedded usage.

=> Support for text/uri-list.
Expand Down Expand Up @@ -59,4 +52,4 @@ Items are in no particular order:
Should be configurable?

===========================================================================
$Id: TODO,v 1.24 2003/01/09 23:42:25 ehood Exp $
$Id: TODO,v 1.25 2003/08/02 06:15:36 ehood Exp $
5 changes: 4 additions & 1 deletion doc/app-rcidx.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ <h2><a name="envars">Environment Variables</a></h2>
<tr valign="top"><td align="right"><b><a href="resources/idxfname.html"><tt>M2H_IDXFNAME</tt></a></b></td><td>&nbsp;Filename for main (first) index page.</td></tr>
<tr valign="top"><td align="right"><b><a href="resources/idxprefix.html"><tt>M2H_IDXPREFIX</tt></a></b></td><td>&nbsp;Filename prefix for multi-page main index.</td></tr>
<tr valign="top"><td align="right"><b><a href="resources/idxsize.html"><tt>M2H_IDXSIZE</tt></a></b></td><td>&nbsp;Size of each index page.</td></tr>
<tr valign="top"><td align="right"><b><a href="resources/lang.html"><tt>M2H_LANG</tt></a></b></td><td>&nbsp;Set locale.</td></tr>
<tr valign="top"><td align="right"><b><a href="resources/localdatefmt.html"><tt>M2H_LOCALDATEFMT</tt></a></b></td><td>&nbsp;Conversion specification for printing local date.</td></tr>
<tr valign="top"><td align="right"><b><a href="resources/lockdelay.html"><tt>M2H_LOCKDELAY</tt></a></b></td><td>&nbsp;Wait time between lock attempts.</td></tr>
<tr valign="top"><td align="right"><b><a href="resources/lockfile.html"><tt>M2H_LOCKFILE</tt></a></b></td><td>&nbsp;Name of the lock file.</td></tr>
Expand Down Expand Up @@ -190,6 +191,7 @@ <h2><a name="elements">Resource Elements</a></h2>
<tr valign="top"><td align="right"><b><a href="resources/labelbeg.html"><tt>&lt;LABELBEG&gt;</tt></a></b></td><td>&nbsp;Beginning markup of the label text of a message field.</td></tr>
<tr valign="top"><td align="right"><b><a href="resources/labelend.html"><tt>&lt;LABELEND&gt;</tt></a></b></td><td>&nbsp;End markup of the label text of a message field.</td></tr>
<tr valign="top"><td align="right"><b><a href="resources/labelstyles.html"><tt>&lt;LABELSTYLES&gt;</tt></a></b></td><td>&nbsp;Define HTML elements to wrap message header field labels.</td></tr>
<tr valign="top"><td align="right"><b><a href="resources/lang.html"><tt>&lt;LANG&gt;</tt></a></b></td><td>&nbsp;Set locale.</td></tr>
<tr valign="top"><td align="right"><b><a href="resources/lastpglink.html"><tt>&lt;LASTTPGLINK&gt;</tt></a></b></td><td>&nbsp;Link markup for last page of main index.</td></tr>
<tr valign="top"><td align="right"><b><a href="resources/listbegin.html"><tt>&lt;LISTBEGIN&gt;</tt></a></b></td><td>&nbsp;Markup to begin main index message listing.</td></tr>
<tr valign="top"><td align="right"><b><a href="resources/listend.html"><tt>&lt;LISTEND&gt;</tt></a></b></td><td>&nbsp;Markup to end main index message listing.</td></tr>
Expand Down Expand Up @@ -407,6 +409,7 @@ <h2><a name="clopts">Command-Line Options</a></h2>
<tr valign="top"><td align="right"><b><a href="resources/idxprefix.html"><tt>-idxprefix</tt></a></b></td><td>&nbsp;Filename prefix for multi-page main index.</td></tr>
<tr valign="top"><td align="right"><b><a href="resources/idxsize.html"><tt>-idxsize</tt></a></b></td><td>&nbsp;Size of each index page.</td></tr>
<tr valign="top"><td align="right"><b><a href="resources/keeponrmm.html"><tt>-keeponrmm</tt></a></b></td><td>&nbsp;Do not physically delete message files when message removed from archive.</td></tr>
<tr valign="top"><td align="right"><b><a href="resources/lang.html"><tt>-lang</tt></a></b></td><td>&nbsp;Set locale.</td></tr>
<tr valign="top"><td align="right"><b><a href="resources/localdatefmt.html"><tt>-localdatefmt</tt></a></b></td><td>&nbsp;Conversion specification for printing local date.</td></tr>
<tr valign="top"><td align="right"><b><a href="resources/lock.html"><tt>-lock</tt><br><tt>-nolock</tt></a></b></td><td>&nbsp;Perform a lock on the archive.</td></tr>
<tr valign="top"><td align="right"><b><a href="resources/lockdelay.html"><tt>-lockdelay</tt></a></b></td><td>&nbsp;Wait time between lock attempts.</td></tr>
Expand Down Expand Up @@ -485,7 +488,7 @@ <h2><a name="clopts">Command-Line Options</a></h2>
<!-- *************************************************************** -->
<hr>
<address>
$Date: 2003/02/22 04:40:10 $ <br>
$Date: 2003/08/02 06:15:36 $ <br>
<img align="top" src="monicon.png" alt="">
<a href="http://www.mhonarc.org"><strong>MHonArc</strong></a><br>
Copyright &#169; 1999, <a href="http://www.mhonarc.org/~ehood/"
Expand Down
3 changes: 2 additions & 1 deletion doc/resources.html
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ <h3><a name="rclist">Resource list</a></h3>
<tr valign="top"><td align="right"><b><a name="labelbeg" href="resources/labelbeg.html">LABELBEG</a></b></td><td>&nbsp;Beginning markup of the label text of a message field.</td></tr>
<tr valign="top"><td align="right"><b><a name="labelend" href="resources/labelend.html">LABELEND</a></b></td><td>&nbsp;End markup of the label text of a message field.</td></tr>
<tr valign="top"><td align="right"><b><a name="labelstyles" href="resources/labelstyles.html">LABELSTYLES</a></b></td><td>&nbsp;Define HTML elements to wrap message header field labels.</td></tr>
<tr valign="top"><td align="right"><b><a name="lang" href="resources/lang.html">LANG</a></b></td><td>&nbsp;Set locale.</td></tr>
<tr valign="top"><td align="right"><b><a name="lastpglink" href="resources/lastpglink.html">LASTPGLINK</a></b></td><td>&nbsp;Link markup for last page of main index.</td></tr>
<tr valign="top"><td align="right"><b><a name="listbegin" href="resources/listbegin.html">LISTBEGIN</a></b></td><td>&nbsp;Markup to begin main index message listing.</td></tr>
<tr valign="top"><td align="right"><b><a name="listend" href="resources/listend.html">LISTEND</a></b></td><td>&nbsp;Markup to end main index message listing.</td></tr>
Expand Down Expand Up @@ -418,7 +419,7 @@ <h3><a name="rclist">Resource list</a></h3>
<!-- *************************************************************** -->
<hr>
<address>
$Date: 2003/02/22 04:40:10 $ <br>
$Date: 2003/08/02 06:15:36 $ <br>
<img align="top" src="monicon.png" alt="">
<a href="http://www.mhonarc.org"
><strong>MHonArc</strong></a><br>
Expand Down
6 changes: 3 additions & 3 deletions doc/resources/include.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ <h2><a name="examples">Examples</a></h2>
each archive resource file include it. For example:
</p>

<pre>
<pre class="code">
<b>&lt;Include&gt;</b>
/usr/local/lib/MHonArc/common.rc
/usr/local/lib/MHonArc/common.mrc
<b>&lt;/Include&gt;</b>
</pre>

Expand All @@ -116,7 +116,7 @@ <h2><a name="seealso">See Also</a></h2>
<!--/x-rc-nav-->
<hr>
<address>
$Date: 2002/12/10 04:08:02 $ <br>
$Date: 2003/08/07 05:59:39 $ <br>
<img align="top" src="../monicon.png" alt="">
<a href="http://www.mhonarc.org/"><strong>MHonArc</strong></a><br>
Copyright &#169; 1997-1998, <a href="http://www.earlhood.com/">Earl Hood</a>, <a href="mailto:[email protected]">[email protected]</a><br>
Expand Down
6 changes: 3 additions & 3 deletions doc/resources/labelstyles.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<body>
<!--x-rc-nav-->
<table border=0><tr valign="top">
<td align="left" width="50%">[Prev:&nbsp;<a href="labelend.html">LABELEND</a>]</td><td><nobr>[<a href="../resources.html#labelstyles">Resources</a>][<a href="../mhonarc.html">TOC</a>]</nobr></td><td align="right" width="50%">[Next:&nbsp;<a href="lastpglink.html">LASTPGLINK</a>]</td></tr></table>
<td align="left" width="50%">[Prev:&nbsp;<a href="labelend.html">LABELEND</a>]</td><td><nobr>[<a href="../resources.html#labelstyles">Resources</a>][<a href="../mhonarc.html">TOC</a>]</nobr></td><td align="right" width="50%">[Next:&nbsp;<a href="lang.html">LANG</a>]</td></tr></table>
<!--/x-rc-nav-->
<hr>
<h1>LABELSTYLES</h1>
Expand Down Expand Up @@ -134,11 +134,11 @@ <h2><a name="seealso">See Also</a></h2>
<hr>
<!--x-rc-nav-->
<table border=0><tr valign="top">
<td align="left" width="50%">[Prev:&nbsp;<a href="labelend.html">LABELEND</a>]</td><td><nobr>[<a href="../resources.html#labelstyles">Resources</a>][<a href="../mhonarc.html">TOC</a>]</nobr></td><td align="right" width="50%">[Next:&nbsp;<a href="lastpglink.html">LASTPGLINK</a>]</td></tr></table>
<td align="left" width="50%">[Prev:&nbsp;<a href="labelend.html">LABELEND</a>]</td><td><nobr>[<a href="../resources.html#labelstyles">Resources</a>][<a href="../mhonarc.html">TOC</a>]</nobr></td><td align="right" width="50%">[Next:&nbsp;<a href="lang.html">LANG</a>]</td></tr></table>
<!--/x-rc-nav-->
<hr>
<address>
$Date: 2002/12/10 04:08:02 $ <br>
$Date: 2003/08/02 06:15:37 $ <br>
<img align="top" src="../monicon.png" alt="">
<a href="http://www.mhonarc.org/"><strong>MHonArc</strong></a><br>
Copyright &#169; 1997-1998, <a href="http://www.earlhood.com/">Earl Hood</a>, <a href="mailto:[email protected]">[email protected]</a><br>
Expand Down
149 changes: 149 additions & 0 deletions doc/resources/lang.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,149 @@
<html>
<head>
<title>MHonArc Resources: LANG</title>
<link rel="stylesheet" type="text/css" href="../docstyles.css">
</head>
<body>

<!--x-rc-nav-->
<table border=0><tr valign="top">
<td align="left" width="50%">[Prev:&nbsp;<a href="labelstyles.html">LABELSTYLES</a>]</td><td><nobr>[<a href="../resources.html#lang">Resources</a>][<a href="../mhonarc.html">TOC</a>]</nobr></td><td align="right" width="50%">[Next:&nbsp;<a href="lastpglink.html">LASTPGLINK</a>]</td></tr></table>
<!--/x-rc-nav-->

<hr>
<h1>LANG</h1>
<!--X-TOC-Start-->
<ul>
<li><a href="#syntax">Syntax</a>
<li><a href="#description">Description</a>
<li><a href="#default">Default Setting</a>
<li><a href="#rcvars">Resource Variables</a>
<li><a href="#examples">Examples</a>
<li><a href="#version">Version</a>
<li><a href="#seealso">See Also</a>
</ul>
<!--X-TOC-End-->

<!-- *************************************************************** -->
<hr>
<h2><a name="syntax">Syntax</a></h2>

<dl>

<dt><strong>Envariable</strong></dt>
<dd><p>
<code>M2H_LANG=</code><var>locale</var>
</p>
</dd>

<dt><strong>Element</strong></dt>
<dd><p>
<code>&lt;LANG&gt;</code><br>
<var>locale</var><br>
<code>&lt;/LANG&gt;</code><br>
</p>
</dd>

<dt><strong>Command-line Option</strong></dt>
<dd><p>
<code>-lang </code><var>locale</var>
</p>
</dd>

</dl>

<!-- *************************************************************** -->
<hr>
<h2><a name="description">Description</a></h2>

<p>LANG sets the locale. Setting the locale affects the following
MHonArc operations:
</p>
<ul>

<li><p>Message sorting: Locale properties for string collation are
applied when sorting messages by subject or author.
</p>

<li><p>Resource file loading: If a locale is specified, locale
defined variations will be checked for. See
<a href="rcfile.html#locale">RCFILE</a> for more information.
</p>

</ul>

<p>The basic format for specifying a locale is:
</p>
<pre><var>language</var>_<var>country</var>.<var>codeset</var>
</pre>
<p>Where <tt><var>codeset</var></tt></tt> and
<tt><var>country</var></tt> are optional. The <tt><var>language</var></tt>
and <tt><var>country</var></tt> are usually from the standards
ISO 3166 and ISO 639, the two-letter abbreviations for the
countries and the languages of the world, respectively. The
<tt><var>codeset</var></tt></tt> represents a specific character
encoding, like ISO8859-1. You will need to consult your local system
documentation for what locales, and their formats, are supported
on your system.
</p>

<!-- *************************************************************** -->
<hr>
<h2><a name="default">Default Setting</a></h2>

<p>The value of the <tt>LC_ALL</tt> or <tt>LANG</tt> environment
variables.
</p>

<!-- *************************************************************** -->
<hr>
<h2><a name="rcvars">Resource Variables</a></h2>

<p>N/A
</p>

<!-- *************************************************************** -->
<hr>
<h2><a name="examples">Examples</a></h2>

<p>None.
</p>

<!-- *************************************************************** -->
<hr>
<h2><a name="version">Version</a></h2>

<p>2.6.7
</p>

<!-- *************************************************************** -->
<hr>
<h2><a name="seealso">See Also</a></h2>

<p>
<a href="rcfile.html">RCFILE</a>,
<a href="textencode.html">TEXTENCODE</a>
</p>
<p>
<a href="http://www.perldoc.com/perl5.8.0/pod/perllocale.html">perllocale</a>
manual page.
</p>

<!-- *************************************************************** -->
<hr>
<!--x-rc-nav-->
<table border=0><tr valign="top">
<td align="left" width="50%">[Prev:&nbsp;<a href="labelstyles.html">LABELSTYLES</a>]</td><td><nobr>[<a href="../resources.html#lang">Resources</a>][<a href="../mhonarc.html">TOC</a>]</nobr></td><td align="right" width="50%">[Next:&nbsp;<a href="lastpglink.html">LASTPGLINK</a>]</td></tr></table>
<!--/x-rc-nav-->
<hr>
<address>
$Date: 2003/08/02 06:15:37 $<br>
<img align="top" src="../monicon.png" alt="">
<a href="http://www.mhonarc.org/"><strong>MHonArc</strong></a><br>
Copyright &#169; 2003, <a href="http://www.earlhood.com/"
>Earl Hood</a>, <a href="mailto:[email protected]"
>[email protected]</a><br>
</address>

</body>
</html>
6 changes: 3 additions & 3 deletions doc/resources/lastpglink.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<body>
<!--x-rc-nav-->
<table border=0><tr valign="top">
<td align="left" width="50%">[Prev:&nbsp;<a href="labelstyles.html">LABELSTYLES</a>]</td><td><nobr>[<a href="../resources.html#lastpglink">Resources</a>][<a href="../mhonarc.html">TOC</a>]</nobr></td><td align="right" width="50%">[Next:&nbsp;<a href="listbegin.html">LISTBEGIN</a>]</td></tr></table>
<td align="left" width="50%">[Prev:&nbsp;<a href="lang.html">LANG</a>]</td><td><nobr>[<a href="../resources.html#lastpglink">Resources</a>][<a href="../mhonarc.html">TOC</a>]</nobr></td><td align="right" width="50%">[Next:&nbsp;<a href="listbegin.html">LISTBEGIN</a>]</td></tr></table>
<!--/x-rc-nav-->
<hr>
<h1>LASTPGLINK</h1>
Expand Down Expand Up @@ -201,11 +201,11 @@ <h2><a name="seealso">See Also</a></h2>
<hr>
<!--x-rc-nav-->
<table border=0><tr valign="top">
<td align="left" width="50%">[Prev:&nbsp;<a href="labelstyles.html">LABELSTYLES</a>]</td><td><nobr>[<a href="../resources.html#lastpglink">Resources</a>][<a href="../mhonarc.html">TOC</a>]</nobr></td><td align="right" width="50%">[Next:&nbsp;<a href="listbegin.html">LISTBEGIN</a>]</td></tr></table>
<td align="left" width="50%">[Prev:&nbsp;<a href="lang.html">LANG</a>]</td><td><nobr>[<a href="../resources.html#lastpglink">Resources</a>][<a href="../mhonarc.html">TOC</a>]</nobr></td><td align="right" width="50%">[Next:&nbsp;<a href="listbegin.html">LISTBEGIN</a>]</td></tr></table>
<!--/x-rc-nav-->
<hr>
<address>
$Date: 2003/01/09 23:42:25 $ <br>
$Date: 2003/08/02 06:15:37 $ <br>
<img align="top" src="../monicon.png" alt="">
<a href="http://www.mhonarc.org/"><strong>MHonArc</strong></a><br>
Copyright &#169; 2001, <a href="http://www.earlhood.com/"
Expand Down
Loading

0 comments on commit 01c75a2

Please sign in to comment.