Mailfromd NEWS -- history of user-visible changes. 2007-05-27
Copyright (C) 2005, 2006, 2007 Sergey Poznyakoff
See the end of file for copying conditions.
Please send mailfromd bug reports to <bug-mailfromd@gnu.org.ua>
Version 4.0.90
* National Language Support.
The program include National Language Support. Polish and Ukrainian
translations are available.
* NLS Functions
NLS functions allow to localize your filter scripts for a particular
language. The following functions are implemented: bindtextdomain,
dgettext, dngettext, textdomain, gettext, ngettext. In addition,
macros _() and N_() are also provided.
* GNU Emacs MFL Mode
This release comes with the file `mfl-mode.el', providing MFL mode for
GNU Emacs. This mode facilitates editing MFL source files. By
default, the new mode is installed whenever configure determines the
presense of GNU Emacs on your machine. See the documentation, node
`Using MFL Mode' for the detailed discussion of this mode including
customization information.
* Input files are preprocessed before compilation. Default preprocessor is
M4, but this can be changed (or disabled) at configuration time (see
`DEFAULT_PREPROCESSOR' variable and `--with-preprocessor' command
line option).
* New atom $#
Returns the number of the arguments passed to the function.
* New atom @parm
Returns the position of parameter `parm' in the function argument
list. It can be used, for example, to check whether an optional
argument value is passed to the function, e.g.:
func foo(string x; number n)
do
if $# > @n
/* `n' is passed */
...
The default preprocessor setup script provides a macro `define'
designed to be used for this purpose:
func foo(string x; number n)
do
if defined(n)
/* `n' is passed */
...
* sprintf
The built-in function `sprintf' is available with the same semantics
as its C counterpart.
* Discontinued support for deprecated feature:
** `&code' form to specify an exception code is discontinued.
** pragma options retry, io-retry, and connect-retry
* Bugfixes:
** Built-in listen ignored optional second argument.
** Debug specification incorrectly gave preverence to the global level
over the source level. This is fixed, so that `--debug=40,dns=10'
means level 10 for calls from `dns.c', and level 40 for all the rest.
Version 4.0, 2007-05-12
Note for users of 3.1.x: see also the notes for previous alpha
(3.1.9x) versions.
* SIGHUP handling
SIGHUP instructs `mailfromd' to restart itself.
* rc.mailfromd reload
The `reload' option given to `rc.mailfromd' instructs it to send
SIGHUP to the running instance of the program.
* mtasim
The `mtasim' utility is an MTA simulator for testing and debugging
mailfromd filter scripts. It supports stdio (-bs) and daemon (-bd)
modes, has GNU readline support and `expect' facility, which makes it
useful in automated test cases.
See the documentation, chapter `mtasim'.
* `begin'
|