Sun Oct 11 22:11:00 1998 Thomas Roessler * doc/Makefile.in, contrib/Makefile.in: Makefile clean-up as suggested by Marco d'Itri. * doc/dotlock.man.in, doc/Makefile.in: Install dotlock's manual page under the correct name. Thu Oct 8 13:22:16 1998 Thomas Roessler * README: Reference some of the new doc files. * doc/Makefile.in: Some more changes to the installation process. * doc/Makefile.in: Fix the uninstall target; add some magic to build and install the HTML version of the manual if we can. * doc/applying-patches.txt, doc/devel-notes.txt, doc/PGP-Notes.txt, doc/Makefile.in: Some more documentation; install the html version of the manual if it's there. * doc/manual.sgml: The manual was wrong on the default binding for extract-keys. Wed Oct 7 22:19:27 1998 Thomas Roessler * doc/manual.sgml, pop.c, mutt.h, init.h, Muttrc.in: POP3 LAST support. From Jason Lavoie by way of Michael Elkins. * po/mutt.pot, po/cat-id-tbl.c: Clean-up commit. * gnupgparse.c: Redirect stdin and stderr to /dev/null when invoking gpgm for listing key IDs. * socket.c, mutt_socket.h, imap.c: First fix of the IMAP expunge handling. From Brandon Long. * keymap.c, curs_lib.c: Fix macro functions for the pager menu. * keymap.c: The attached patch fixes a minor inconsistency between the display of special key-names in the help screen and their actual usage. The help screen now shows the special keys exactly as you would/could/should use them in the muttrc/command-line. (From: Vikas Agnihotri ) * keymap.c: Fix the error message for unbound keys. From Vikas. * charsets/Makefile.in: s/make/$(MAKE)/ * charsets/Makefile.in: UnixWare needs our own version of strcasecmp/strncasecmp. * browser.c: Clean up behind an aborted sort-by prompt on the file browser. From Vikas. * hdrline.c: The attached patch fixes a minor bug in $index_format's %B and %b where they didnt respect the given prefix. In addition, the manual says that %B is supposed to fall back to %b if the message is not sent to a known mailing list. The code was not doing that. (From: Vikas Agnihotri , noted on comp.mail.mutt by unny@rz114s0.rz.uni-karlsruhe.de (Vladimir Klebanov)). * doc/PGP-Notes.txt: pgp_language is obsolete. Noted by Heiko Schlichting. Tue Oct 6 15:10:53 1998 Thomas Roessler * keymap.c: Macro function fixes. * curs_lib.c: With slang, ERR != -1. * po/mutt.pot, po/de.po: Message fix. * attach.c: Fix another pipe-related hang in mutt_view_attachment(). Mon Oct 5 21:37:15 1998 Thomas Roessler * configure, aclocal.m4: Another fix to libintl detection. * keymap.c, curs_lib.c: macro_function.2-3, from Vikas. * handler.c: File descriptor leak alert. * handler.c: Avoid a hang due to blocking pipe writes in the auto view code. * keymap.c, curs_main.c, curs_lib.c: Make exec grok >= 1 parameters; fix double ops problem in index_menu(). * po/ru.po, po/mutt.pot, po/de.po, po/cat-id-tbl.c: L10n changes corresponding to the macro-function patch. * flags.c, compose.c: Some fixes to the macro-function patch. * po/ru.po: Adding the Russian Localization. * recvattach.c, query.c, protos.h, postpone.c, pgpkey.c, pager.c, mutt_curses.h, mutt.h, menu.c, keymap.c, init.h, init.c, globals.h, flags.c, enter.c, curs_main.c, curs_lib.c, configure.in, configure, compose.c, commands.c, browser.c, addrbook.c, aclocal.m4: Vikas' macro_function patch. * charsets/gen_charsets: I'm told that some systems don't like "#!/bin/sh" at the beginning of a script, but need "#! /bin/sh". Sun Oct 4 15:02:32 1998 Thomas Roessler * charsets/gen_charsets, configure.in, configure: Fixing some make-related problems noted by Petri Kaukasoina . * po/mutt.pot, send.c: Fix group-reply's behaviour. * doc/Attic/style-guide, doc/devel-notes.txt: Replace style-guide by some more general notes on mutt development. * Makefile.in: Propagate fixes from Makefile.am. * ChangeLog: Preparing 0.94.10. * rx/Makefile.in: subdir=rx was missing here. * po/mutt.pot, po/de.po: Noise. * configure.in, configure, Makefile.am: More fixes to the build process. This version was tested to build cleanly under SuSE Linux and IRIX. Sun Oct 4 09:26:36 1998 Thomas Roessler * rx/Makefile.in: subdir=rx was missing here. * po/mutt.pot, po/de.po: Noise. * configure.in, configure, Makefile.am: More fixes to the build process. This version was tested to build cleanly under SuSE Linux and IRIX. Sat Oct 3 22:08:09 1998 Thomas Roessler * doc/Attic/manual.txt: manual.txt can be rebuilt when making the dist - no need to keep this in the repository. * ChangeLog: Preparing ChangeLog for 0.94.10. * contrib/Makefile.in: Ups. * rx/Makefile.in, po/mutt.pot, po/de.po, po/cat-id-tbl.c, po/Makefile.in.in, doc/Attic/language50.txt, doc/Attic/language.txt, contrib/patch.slang-1.2.2.keypad.1, contrib/sample.mailcap, contrib/sample.muttrc, doc/Makefile.in, contrib/Mush.rc, contrib/Pine.rc, contrib/language.txt, contrib/language50.txt, charsets/gen_charsets, charsets/Makefile.in, Attic/sample.muttrc, Attic/sample.mailcap, Attic/reap.pl, pop.c, Attic/patch.slang-1.2.2.keypad.1, Attic/depend.awk, configure.in, configure, Attic/Pine.rc, Attic/Mush.rc, Makefile.in, Makefile.am, ChangeLog: Source tree and make process changes. make dist and make maintainer-clean should now work as they are supposed to. Sat Oct 3 22:06:19 1998 Thomas Roessler * contrib/Makefile.in: Ups. This one was missing from the last commit. * rx/Makefile.in, po/mutt.pot, po/de.po, po/cat-id-tbl.c, po/Makefile.in.in, doc/Attic/language50.txt, doc/Attic/language.txt, contrib/patch.slang-1.2.2.keypad.1, contrib/sample.mailcap, contrib/sample.muttrc, doc/Makefile.in, contrib/Mush.rc, contrib/Pine.rc, contrib/language.txt, contrib/language50.txt, charsets/gen_charsets, charsets/Makefile.in, Attic/sample.muttrc, Attic/sample.mailcap, Attic/reap.pl, pop.c, Attic/patch.slang-1.2.2.keypad.1, Attic/depend.awk, configure.in, configure, Attic/Pine.rc, Attic/Mush.rc, Makefile.in, Makefile.am, ChangeLog: Source tree and make process changes. make dist and make maintainer-clean should now work as they are supposed to. * help.c: Remove an unprotected gettext() call. * missing: *** empty log message *** * missing: Persuade CVS to get the file modes right. * INSTALL: Adding a note on SparcLinux problems when gcc is called with the -pedantic flag. Fri Oct 2 17:39:47 1998 Thomas Roessler * po/mutt.pot, po/de.po: A small fix to get autoview messages properly colored. * pattern.c, mutt.h, Makefile.in: patch-0.92.8.sec.match_all.1 * rx/Attic/Makefile: The Makefile here is supposed to be generated by autoconf. * rx/Makefile.in, rx/Attic/Makefile, po/mutt.pot, configure.in, configure, Makefile.in, Makefile.am: Fixing some build-related problems, and preparing 0.94.9p1. * doc/manual.txt, doc/manual.sgml, hdrline.c: Roland Rosenfeld's first name patch. * mutt.h, compose.c: More () fixes. * mutt.h, edit.c, curs_lib.c, browser.c: With SLang, addstr() is a macro. This means we should put additional braces around _()-style arguments. Thu Oct 1 20:16:56 1998 Thomas Roessler * po/mutt.pot, po/de.po, po/cat-id-tbl.c, po/POTFILES.in, doc/Makefile.in: Translate help strings. * charsets/Makefile.in, postpone.c, pager.c, help.c, compose.c, Makefile.in: Translate help strigns. * intl/VERSION, intl/Attic/libintl.h, intl/Attic/libintl.glibc, intl/Attic/intlh.inst.in, intl/Attic/COPYING, intl/Attic/BUGS, intl/Attic/AUTHORS: *** empty log message *** * po/mutt.pot, po/de.po, po/cat-id-tbl.c, po/POTFILES.in, recvattach.c, query.c, pager.c, curs_main.c, compose.c, browser.c, addrbook.c: Translate the various help lines. * mutt.h, lib.c, handler.c: Gero Treuner's reply_quote patch. * po/mutt.pot, po/de.po, po/cat-id-tbl.c, po/POTFILES.in: Add l10n for handler.c. * po/mutt.pot, po/de.po, po/cat-id-tbl.c, curs_lib.c: Make mutt_yesorno() language sensitive. * po/de.po: Various German-language related fixes. * reldate.h, configure.in, configure, TODO, Makefile.in, ChangeLog: Preparing 0.94.9i. * po/de.po: German l10n, first take. * intl/Attic/AUTHORS, intl/Attic/BUGS, intl/Attic/COPYING: Adding legalese. * po/mutt.pot, po/de.po, po/cat-id-tbl.c, main.c: More i18n fixes. * po/mutt.pot, po/de.po, po/cat-id-tbl.c: Adapting the catalog files to 0.94.8. * charsets/Makefile.in, configure.in, configure, Makefile.in, Makefile.am: Various automake and installation fixes. * po/Makefile.in.in, po/POTFILES.in, po/cat-id-tbl.c, po/de.po, po/mutt.pot, po/stamp-cat-id, intl/Attic/intlh.inst.in, intl/Attic/libintl.glibc, intl/Attic/libintl.h, intl/ChangeLog, intl/Makefile.in, intl/bindtextdom.c, intl/cat-compat.c, intl/dcgettext.c, intl/dgettext.c, intl/explodename.c, intl/finddomain.c, intl/gettext.c, intl/gettext.h, intl/gettextP.h, intl/hash-string.h, intl/intl-compat.c, intl/l10nflist.c, intl/libgettext.h, intl/linux-msg.sed, intl/loadinfo.h, intl/loadmsgcat.c, intl/localealias.c, intl/po2tbl.sed.in, intl/textdomain.c, intl/xopen-msg.sed, doc/Makefile.in, thread.c, stamp-h.in, status.c, sort.c, signal.c, sendlib.c, send.c, score.c, rfc1524.c, recvattach.c, query.c, postpone.c, pop.c, pgppubring.c, pgpkey.c, pgp.c, pattern.c, parse.c, pager.c, mx.c, missing, mutt.h, mh.c, menu.c, mbox.c, main.c, lib.c, keymap.c, init.c, imap.c, hook.c, help.c, headers.c, handler.c, gen_defs, flags.c, edit.c, date.c, curs_main.c, curs_lib.c, copy.c, configure.in, configure, config.h.in, compose.c, commands.c, color.c, buffy.c, browser.c, attach.c, alias.c, aclocal.m4, addrbook.c, acconfig.h, ABOUT-NLS, Makefile.am, Makefile.in: Adding gettext support, based on the patch by Marco d'Itri. * TODO: add a note about the currently-missing mh_sequences support. Thu Oct 1 11:22:51 1998 Thomas Roessler * po/de.po: German l10n, first take. * intl/AUTHORS, intl/BUGS, intl/COPYING: Adding legalese. * po/mutt.pot, po/de.po, po/cat-id-tbl.c, main.c: More i18n fixes. * po/mutt.pot, po/de.po, po/cat-id-tbl.c: Adapting the catalog files to 0.94.8. * charsets/Makefile.in, configure.in, configure, Makefile.in, Makefile.am: Various automake and installation fixes. * po/Makefile.in.in, po/POTFILES.in, po/cat-id-tbl.c, po/de.po, po/mutt.pot, po/stamp-cat-id, intl/ChangeLog, intl/Makefile.in, intl/bindtextdom.c, intl/cat-compat.c, intl/dcgettext.c, intl/dgettext.c, intl/explodename.c, intl/finddomain.c, intl/gettext.c, intl/gettext.h, intl/gettextP.h, intl/hash-string.h, intl/intl-compat.c, intl/intlh.inst.in, intl/l10nflist.c, intl/libgettext.h, intl/libintl.glibc, intl/libintl.h, intl/linux-msg.sed, intl/loadinfo.h, intl/loadmsgcat.c, intl/localealias.c, intl/po2tbl.sed.in, intl/textdomain.c, intl/xopen-msg.sed, doc/Makefile.in, thread.c, stamp-h.in, status.c, sort.c, signal.c, sendlib.c, send.c, score.c, rfc1524.c, recvattach.c, query.c, postpone.c, pop.c, pgppubring.c, pgpkey.c, pgp.c, pattern.c, parse.c, pager.c, mx.c, missing, mutt.h, mh.c, menu.c, mbox.c, main.c, lib.c, keymap.c, init.c, imap.c, hook.c, help.c, headers.c, handler.c, gen_defs, flags.c, edit.c, date.c, curs_main.c, curs_lib.c, copy.c, configure.in, configure, config.h.in, compose.c, commands.c, color.c, buffy.c, browser.c, attach.c, alias.c, aclocal.m4, addrbook.c, acconfig.h, ABOUT-NLS, Makefile.am, Makefile.in: Adding gettext support, based on the patch by Marco d'Itri. * TODO: add a note about the currently-missing mh_sequences support. * send.c: Fix the PgpSignMicalg vanishing when recalling postponed messages. Bug squashed by Bjørn Fischer. Wed Sep 30 13:56:24 1998 Thomas Roessler * doc/manual.txt, doc/manual.sgml: SGML fix. * postpone.c, headers.c: Don't generate a NULL micalg parameter when getting postponed messages. * functions.h: Removing some superfluous key bindings from functions.h. (From: Gero Treuner ) * doc/manual.sgml, init.c: Add some more support for version-dependant configuration files. * copy.c: When forwarding a mail (nomime_forw) and you have forw_quote set, mutt inserts a blank line between header and body of the forwarded message. * compose.c: Tell the user how to attach messages when using the attach-message feature. * doc/manual.sgml, pattern.c, mutt.h: Add ~g and ~G patterns for PGP signed and encrypted messages. * doc/manual.sgml: Documentation for Vikas' latest features. Tue Sep 29 15:40:01 1998 Thomas Roessler * status.c: _Really_ fix an unset or too short StChars varialbe. (From Vikas.) * rfc822.c: Fix a segmentation fault occuring with certain badly-formed RFC822-like addresses. * hdrline.c: Make status characters work again. * doc/manual.txt, doc/manual.sgml: Documenting some more variables. * Muttrc.in: Add newly added variables to the default system muttrc. * status.c: Catch short StChars values. * mutt.h, init.c, hdrline.c: Add caching for a message's flags. * charsets/parse_i18n.c, charsets/gen_charsets, charsets/Makefile.in, Makefile.in: patch-0.94.7i.rr.charsets_fix.1, from Roland Rosenfeld. * doc/manual.txt, doc/manual.sgml, configure.in, configure: Some nits from Gero Treuner. Mon Sep 28 17:40:47 1998 Thomas Roessler * pager.c, curs_main.c: Vikas' pipe-redraw fix. * doc/manual.txt, doc/manual.sgml, doc/Makefile.in, GPL, main.c, COPYRIGHT, Attic/COPYING: A first take at bringing copyright notices and credits into synch with reality. * reldate.h, configure.in, configure, TODO, Makefile.in, ChangeLog: Preparing 0.94.8i. Sat Sep 26 10:13:39 1998 Thomas Roessler * mh.c: Changing the index_hint handling for mh folders once again. * mh.c: Resort the incoming folder from mh_sync_mailbox() also when new mail arrived. Sat Sep 26 10:13:39 1998 Thomas Roessler * mh.c: Changing the index_hint handling for mh folders once again. * mh.c: Resort the incoming folder from mh_sync_mailbox() also when new mail arrived. Fri Sep 25 06:56:35 1998 Thomas Roessler * pager.c: patch.mutt-0.94.5i.ld.quote_levels.3-4 Thu Sep 24 23:19:50 1998 Thomas Roessler * pager.c: A new quote_levels patch from liviu. * sendlib.c: Rewrite the base64-encoder used for messages. This should be unified with the encoder in rfc2047.c at some point. * pager.c: Undoing Livius quote-levels patch for now. * sendlib.c, mutt.h, charset.h, charset.c: [patch-0.94.7i.gt.charset-send.1.gz] With the new charset support in mutt there are better chances to say whether a mail to send consists of characters of the ASCII set only (the charset should be "us-ascii" then) or of other characters from the given charset (this charset should be given then): ASCII characters have the unicode values from 0 to 127. * init.c: Fix a segmentation fault with mismatched backticks. * init.c: Vikas' merged completion patch, level 3. Wed Sep 23 20:01:06 1998 Thomas Roessler * pager.c, mutt_regex.h, init.h: Liviu Daia's smiley patch. * status.c, sendlib.c, recvattach.c, protos.h, pager.h, pager.c, mutt.h, main.c, init.h, curs_main.c, curs_lib.c, compose.c, commands.c: Disable recursive invocations of the attach-message function. * mh.c: Really fix the index hints. * mh.c: Correct the index_hint handling in mh_check_mailbox(). * sendlib.c: RFC2047-encode the mail-followup-to header. * TODO: Remove the maildir/mh resynch entry. * pager.c: There is a long-standing problem in Mutt, related to coloring the various levels of quoting: if the attributions are missing, like this: >>> blah blah from A >> blah blah from B > blah blah from C then the "quoted" color object is associated with ">>>", "quoted1" with ">>" and "quoted2" with ">" --- which is not what most people expect. The reason is Mutt doesn't count the quote characters (since there is no way to distinguish between a single quote ">> " and a ">" followed by a "> "), and it allocates colors as it finds new types of quote prefixes. The attached patch fixes this problem still without counting the quote characters. Tue Sep 22 22:54:52 1998 Thomas Roessler * mx.h, mx.c, mutt.h, mh.c, mbox.c, buffy.c: A first take at corrected mh/maildir support. * mx.c, mh.c: Some fixes and code clean-ups. * mutt.h, mh.c, init.h: Introduce the $mh_purge option. * sendlib.c: Produce "undisclosed-recipients:;" instead of ""undisclosed-recipients:;":;" when the user gives no To-Header. * mx.c: When generating new messages in MH folders, the initial number should be "1", not "2". Fix from Gero Treuner. * init.c: patch-0.94.7i.vikas.jmy.misc_complete.2 Mon Sep 21 12:49:50 1998 Thomas Roessler * sendlib.c: Avoid a dangling pointer in mutt_message_to_7bit(). Sun Sep 20 12:05:39 1998 Thomas Roessler * pager.c: Byrial Jensen's bold-underline patch. * charsets/parse_i18n.c: parse_i18n.c doesn't really need snprintf. Fri Sep 18 05:45:56 1998 Thomas Roessler * reldate.h, configure.in, configure, ChangeLog: Preparing 0.94.7i. * protos.h, init.c, enter.c: Applying the third generation of command completion patches. Fri Sep 18 05:40:24 1998 Thomas Roessler * protos.h, init.c, enter.c: Applying the third generation of command completion patches. Wed Sep 16 20:08:25 1998 Thomas Roessler * curs_lib.c: Attached is a minor fix to mutt_getch in curs_lib.c - as of 0.93.2i, if +'metakey' and 'timeout' were both set, mutt_getch was returning an ESC rather than -1, which resulted in 'key not bound' messages every 'timeout' seconds. (From: Tim Walberg ) * copy.c: [patch-0.94.6i.oe.dprint2.1] Fix a segmentation fault when running in -d2 mode. * keymap.c: Use for function keys as well as for other special keys. Additionally, this patch makes it possible to use all special keys inside a key _sequence_. * sendlib.c, mutt.h, curs_main.c, compose.c: Introduce the OPTUSEHEADERDATE pseudo-option to control mutt_write_rfc822_header()'s behaviour for the purposes of the edit_message feature. * init.c: When parsing aliases, don't consider ';' a token delimiter. Tue Sep 15 21:41:51 1998 Thomas Roessler * init.c: Undoing Vikas' complete patch and applying patch-0.94.6i.jmy.cycle_complete.1 instead. * handler.c: _Really_ fix CRLF handling. * charset.c: Fix the crlf handling. * pgppubring.c: UTF8-decode PGP user ID packets. * rfc2047.c, mutt.h, lib.c, handler.c, charset.h, charset.c: Adding basic UTF-8 support. * copy.c: When using mutt_copy_header with CH_TXTPLAIN, generate a content-type _with_ a character set parameter. * Makefile.in: Correcting a typo in the clean target. * charsets/parse_i18n.c, charsets/gen_charsets, charsets/Makefile.in, handler.c, charset.h, charset.c: Add charset alias support and fix various errors in the character set code. * charset.c: Fix mutt_display_char to map '\0' to itself regardless of the translation table we use. * charsets/Makefile.in, charsets/gen_charsets, charsets/parse_i18n.c, Attic/gen-charset.c, configure.in, configure, charset.h, charset.c, Makefile.in: Generate the character set tables from i18n files. * imap.c: Finally fix imap_quote_string(). * compose.c: [patch-0.94.6i.gt.arrow.1] Add M_ARROWCURSOR on the compose menu. Mon Sep 14 21:33:34 1998 Thomas Roessler * imap.c: Fix IMAP quoting. * Muttrc.in: Speling corection for Muttrc.in. * init.c: [patch-0.94.6.vikas.complete.1] Fix a completion-related buffer overflow. Sun Sep 13 15:29:54 1998 Thomas Roessler * reldate.h, configure.in, configure, ChangeLog: Preparing 0.94.6i. * sendlib.c, rfc2047.c, recvattach.c, hash.h, Attic/gen-charset.c, handler.c, configure.in, configure, commands.c, charset.h, charset.c, Makefile.in: This patch adds on-demand loading of character set tables, changes the default location of $SHAREDIR, and fixes some compilation problems occuring on machines without PGP installed. Sun Sep 13 15:27:03 1998 Thomas Roessler * sendlib.c, rfc2047.c, recvattach.c, hash.h, gen-charset.c, handler.c, configure.in, configure, commands.c, charset.h, charset.c, Makefile.in: This patch adds on-demand loading of character set tables, changes the default location of $SHAREDIR, and fixes some compilation problems occuring on machines without PGP installed. Sat Sep 12 19:58:56 1998 Thomas Roessler * sendlib.c: Fixing a silly typo in the edit-message code. * rfc2047.c, charset.c, charset.h, handler.c, Makefile.in: [patch-0.93.2i.ru.mmultiple_charsets.gz] This patch adds support for international character sets. Currently, mutt knows about the following character sets and is able to convert between them: iso-8859-1, ..., iso-8859-9, koi8-r, windows-1251, x-cp866. (From: Ruslan Ermilov ) * recvattach.c, protos.h, pattern.c, mutt.h, init.c, history.h, enter.c, commands.c: When entering a 'set' command on the command-line, pressing TAB after string_var= will insert the current value of that variable. Note that this works only for variables of type 'string'. Also fixes the following buglets in command-completion: 1. doesnt work if you started the command-line with whitespace 2. Seems to think that 'Set', 'ReSeT', etc are valid commands (since it checks for 'strcasecmp' instead of 'strcmp' when completing the variable names Also fixes the following buglets in command-completion: (From: Vikas Agnihotri ) * enter.c: Use the proper history class when entering mutt commands. * imap.c: [patch-0.94.5i.jmy.imap_quote.1] * sendlib.c, send.c, protos.h, postpone.c, parse.c, mutt.h, lib.c, functions.h, curs_main.c, compose.c, OPS: Adding the edit-message feature. * hdrline.c: [patch-0.94.5.vikas.collapse_format.2] - introduce %M for the number of messages which is hidden in a thread. Tue Sep 8 19:32:57 1998 Thomas Roessler * TODO: Bogus bug. Actually, by setting use_mailcap=no, it _is_ possible to view the header of a single-part message with a non-autoview body type. * recvattach.c: This patch makes the view attachment menu show all message/rfc822 parts as a new level, not only the multipart messages. This makes it possible to display a message/rfc822 part which includes only a image/jpeg part or something else which cant be viewed in the pager. (From: Jimmy Mäkelä ) * recvattach.c, pgp.c, copy.c: Change the interface of pgp_decrypt_mime() to enable this function to do some sanity checks. Mon Sep 7 20:47:25 1998 Thomas Roessler * recvattach.c: Don't descend into multipart/encrypted on the recvattach menu. * sendlib.c, recvattach.c, pgp.h, pgp.c, lib.c, handler.c, commands.c: [patch-0.94.5i.tlr.pgp_fixes.1] This patch fixes various pgp-related issues. In particular, mutt won't segfault when trying to decrypt-save messages from the index, and the presence of a PGP-encrypted body part on the attachment menu will no longer confuse the MIME parser. * curs_lib.c: Clear the "Exit Mutt" prompt. * doc/manual.txt, doc/manual.sgml: SGML typo. * rfc822.c: Some testing. * enter.c: Yet another fix to the alias and query completion stuff: Skip leading white space when constructing the addresses. * enter.c: Don't use as an address delimiter when using query-complete and alias-complete. * rfc1524.c: Quote MIME parameters when doing %{MIME-parameter} substitution. * sendlib.c, recvattach.c, protos.h, pgp.h, pgp.c, pager.c, mutt.h, init.h, handler.c, functions.h, curs_main.c, copy.h, copy.c, commands.c, OPS.PGP: Introducing decrypt-save, decrypt-copy, and $forw{ard,}-decrypt. Based on work by Emil Laurentiu. * mbox.c: [patch-0.94.4i.matthewf.writingmessages-fix.1] Fix the display when synchronizing mbox mail folders. * query.c, protos.h, pattern.c, lib.c, curs_lib.c: Fix simple patterns. * protos.h, mx.c, browser.c: Put the S_ISLNK definition into protos.h. * pgp.c: Fixing convert_to_7bit(). From Liviu Daia. Sun Sep 6 11:35:34 1998 Thomas Roessler * lib.c: Fixing the quoting of shell specials in mutt_expand_fmt(). * query.c: Change snprintf to mutt_expand_fmt when expanding the query command. * protos.h, lib.c, attach.c, TODO: [patch-0.94.5i.tlr.safe_symlink.1] Introduce safe_symlink() for /tmp-safe symlinking in the nametemplate code. * reldate.h, configure.in, configure, TODO, ChangeLog: Preparing 0.94.5i. Fri Sep 4 15:53:27 1998 Thomas Roessler * sendlib.c: Catch MIME parameters with p->value == NULL. * sendlib.c: Fixing a memory leak in mutt_prepare_envelope(). Fri Sep 4 15:53:27 1998 Thomas Roessler * sendlib.c: Catch MIME parameters with p->value == NULL. * sendlib.c: Fixing a memory leak in mutt_prepare_envelope(). Tue Sep 1 06:54:53 1998 Thomas Roessler * imap.c: IMAP fixes from Nathan Neulinger. (<19980831170941.A7327@umr.edu> on mutt-dev.) Mon Aug 31 16:46:29 1998 Thomas Roessler * send.c: Fix a small problem with Liviu's attach_fcc patch. * compose.c: Updating to patch-0.94.4.vikas.attach_message.3. * thread.c, protos.h, mutt.h, init.h, hdrline.c, curs_main.c: Updating to patch-0.94.4.vikas.collapse.3. Sat Aug 29 08:27:02 1998 Thomas Roessler * doc/manual.txt, doc/manual.sgml: Correct an editor key binding example. Fri Aug 28 19:09:24 1998 Thomas Roessler * send.c, pgp.h, pgp.c: Cleaning up the fcc_attach hack. From Liviu. * functions.h, browser.c, OPS: [patch-0.94.4i.tlr.display_filename.1] Introduce a new function "display-filename" which displays the currently selected file's name on the message line. * attach.c: [patch-0.94.4i.tlr.get_attachment.1-2] Get the attachment time stamping business right. * protos.h, functions.h, compose.c, attach.c, OPS: [patch-0.94.4i.tlr.get_attachment.1] Create a new "get-attachment" function on the compose menu which will copy an attachment to a temporary file. * compose.c: [patch-0.94.4.vikas.attach_message.1] Cleaning up some of the attach-message code. * thread.c: removing superfluous include statements. Thu Aug 27 23:51:58 1998 Thomas Roessler * curs_main.c: code cosmetics. * thread.c, sort.c, protos.h, pattern.c, mx.c, mutt.h, mbox.c, init.h, hdrline.c, functions.h, curs_main.c, OPS: [patch-0.94.4.vikas.collapse.2] Vikas' collapse-thread patch. * recvattach.c, postpone.c, mutt.h, lib.c, curs_main.c, browser.c, addrbook.c: [patch-0.94.4i.gt.arrowcursor.1] Padding to the end of line/right jusitifying does not work in menus when $arrow_cursor is set, because the extra space needed for the arrow is not taken into account. (From Gero Treuner ) * Attic/testmsg, rfc1524.c: [patch-0.94.4i.tlr.shell_quote.1-2] Fix a brain-dead segmentation fault when freeing non-allocated memory. * doc/Attic/mutt.sgml: Mh. This seems to have shown up again while cleaning up the CVS branches. * sendlib.c, send.c, protos.h, pgp.h, pgp.c: Make $fcc_attach work correctly when sending PGP-encrypted messages. Hack by Liviu. * doc/manual.txt, doc/manual.sgml: Document attach_format. (From: Gero Treuner ) * rfc1524.c, protos.h, pgpinvoke.c, mx.c, lib.c, curs_lib.c: [patch-0.94.4i.tlr.shell_quote.1] Try to quote file name arguments and the like for shell commands. * pgpkey.c: Minor nit: if you enter the wrong key ID at Mutt's prompt, Mutt should erase the old value --- otherwise people might think it has just hung there. (From Liviu Daia.) Wed Aug 26 21:12:23 1998 Thomas Roessler * rfc822.c: Another possible memory leak in rfc822_parse_adrlist. The problem and the patch are pretty much the same as with the last fix applied to this file - it's just ',' instaed of ';' this time. * rfc822.c, TODO: [patch-0.94.4i.tlr.rfc822_leak.1] Fixing a memory leak in the rfc822_parse_adrlist(). Some explanations seem to be in order here. Let's look at the code: 386 else if (*s == ';') 387 { 388 if (phraselen) 389 { 390 phrase[phraselen] = 0; 391 add_addrspec (&top, &last, phrase, comment, &commentlen, sizeof (comment) - 1); 392 } 393 else if (commentlen && !last->personal) 394 { 395 comment[commentlen] = 0; 396 last->personal = safe_strdup (comment); 397 } 398 #ifdef EXACT_ADDRESS 399 if (last && !last->val) Line 399 contains the change; previously, it looked like this: 399' if (last) 400 last->val = mutt_substrdup (begin, s); 401 #endif 402 403 /* add group terminator */ 404 cur = rfc822_new_address (); 405 if (last) 406 { 407 last->next = cur; 408 last = cur; 409 } 410 411 phraselen = 0; 412 commentlen = 0; 413 s++; 414 begin = s; 415 SKIPWS (begin); 416 } OK, what happens? There are essentially two situations here: -> We have already parsed a complete address specification and know about this fact, but there was no new address information. This is the case if we are parsing through addresses like undisclosed-recipients:; or recipients: a, b, c,; (Note the extra ',' before the ';'!) In this case, some of the other code in rfc822.c has already filled in last->val, and we really shouldn't overwrite that with a NULL pointer. -> The ';' finishes an address spec, like in recipients: a; In this case, last is either set by add_addrspec(), or it has already been set by some of the previous code (comment handling, ...). Anyway, last->val is still NULL, so it is correct to write the complete addr spec to last->val. * imap.c: Error message cosmetics. Tue Aug 25 22:34:58 1998 Thomas Roessler * rfc1524.c, attach.c, TODO: [patch-0.94.4i.tlr.nametemplate.1] Fix nametemplate support: We should not move the user's files around just to make them match mailcap's idea of their file name. This patch uses symbolic links instead. * curs_main.c: [patch-0.94.4i.tlr.synch_fault.1] Start up two mutts. Delete the last message in both of them. Synchronize the mailbox in both of them. Segmentation fault. * TODO: adding a few notes. * commands.c: If you issue "decode-save" on an encrypted message without reading it first, Mutt won't prompt you for a passphrase, and it will happily write an empty message, deleting the original. (From an unnamed colleague of Liviu Daia.) * imap.c: [patch-0.94.4i.tlr.imap_newline.2] Use cr nl instead of single nl when uploading a message to an imap server. * sendlib.c, protos.h, postpone.c, compose.c: [patch-0.94.4i.tlr.encoding.1] Fix content-transfer-encoding updates when renaming files from the compose menu and when recalling postponed messages. * imap.c: s/free/FREE/ Mon Aug 24 19:40:35 1998 Thomas Roessler * TODO, Attic/BUGS: Compile BUGS and TODO into a comprehensive issue list. * Attic/BUGS: Clean up the bug list. * reldate.h, configure.in, configure, ChangeLog: 0.94.4i. * doc/manual.txt, doc/manual.sgml: Documenting $hidden_host. * thread.c, curs_main.c: Fix "previous-subthread" in reverse-threads mode, allow next-(sub)thread and previous-(sub)thread to work in limited mode. (From: Liviu Daia) * doc/manual.txt, doc/manual.sgml: Documenting $hidden_host. * thread.c, curs_main.c: Fix "previous-subthread" in reverse-threads mode, allow next-(sub)thread and previous-(sub)thread to work in limited mode. (From: Liviu Daia) Sun Aug 23 10:05:41 1998 Thomas Roessler * sendlib.c, send.c, protos.h, mutt.h, main.c, init.h, init.c, configure.in, configure, config.h.in, alias.c, acconfig.h, INSTALL: [patch-0.94.3i.tlr.hidden_host.1] Replace the --enable-hidden-host configure switch by a configuration variable $hidden_host which can be changed at run-time. This variable will _not_ affect the generation of message-IDs since we'll get into uniqueness problems if we just use the domain here. Needs to be documented. * doc/manual.txt: Committing the latest manual changes. * Attic/socket.c, imap.c: [patch-0.94.3.bl.imap_buffy.1-2] Fixing the buffered read stuff. * Attic/mutt_socket.h: Ups, this one was missing from Brandon's IMAP patch. Sat Aug 22 14:24:18 1998 Thomas Roessler * help.c: [patch-0.94.3i.gt.beautify_help.1.gz] General help beautification. From Gero Treuner. * doc/manual.sgml, keymap.h, keymap.c, help.c, Muttrc.in: [patch-0.94.3i.gt.description.1] Introduce macro descriptions. * doc/manual.sgml, init.h, init.c, browser.c: Add a negation operator "!" to $mask's syntax (as in the *-hooks). From Liviu. * recvattach.c: Make Vikas' attach_split and Brandon's other_type patches fit together. * recvattach.c, mutt.h, init.h, globals.h, compose.c: [patch-0.94.3.vikas.attach_split.3] Re-introduce attach_split. * Attic/socket.c: [patch-0.94.3.bl.imap_buffy.1] Adding Brandon's IMAP buffy support. * mx.c, mutt.h, mailbox.h, imap.h, imap.c, curs_lib.c, configure.in, configure, buffy.c, browser.c, Attic/BUGS: [patch-0.94.3.bl.imap_buffy.1] Adding Brandon's IMAP buffy support. Fri Aug 21 08:17:09 1998 Thomas Roessler * browser.c: Enter the file browser, type a mask which doesn't match any file in the current directory, clean the mask. Segfault. Fix from Liviu Daia. Thu Aug 20 22:32:46 1998 Thomas Roessler * sendlib.c, recvattach.c, parse.c, mutt.h, mime.h, lib.c, handler.c, globals.h, compose.c, commands.c, attach.c, Attic/BUGS: [patch-0.94.3.bl.other_types.1] This patch adds support for the model MIME type. Additionally, along the lines of "strict in what you generate, accepting in what you receive", this patch will keep the name of major mime types it doesn't recognize (instead of using x-unknown). * compose.c, Attic/BUGS: [patch-0.94.3i.jmy.attachmessage-fix.1] This patch fixes a bug in the allocation of space for new pointers to the attachments, it would make mutt seg-fault when attaching 5 or more messages at the same time. (From: Jimmy Mäkelä ) * handler.c: [SECURITY] mutt_sanitize_filename() should be called when creating temporary files for autoview. (From: Liviu Daia.) * sendlib.c, send.c, attach.c: Try this: set $mime_forward, forward a PGP-encrypted message, then in the "compose" menu try to view the forwarded message. If you didn't enter a passphrase before, Mutt won't ask for it either. (From: Liviu Daia) * sendlib.c, attach.c: When you forward a message with $mime_forward set, or when you attach a message with the "attach-message" command from the "compose" menu, there is a memory leak. The real reason for this leak is that multipart attachments are not supported in the "compose" menu, so you need to go through quite a few contortions in order to handle message/rfc822 attachments. Consequently, the patch below is just an ugly hack. (From: Liviu Daia) Sun Aug 16 06:22:51 1998 Thomas Roessler * rfc822.c: Bringing 128-byte strings to "STRING". * sendlib.c: Use add_option, not add_arg, for strings such as "--". * sendlib.c: Pass an "--" argument to sendmail before the address arguments, so addresses with a leading dash don't lead to problems. (From Liviu.) * sendlib.c, rfc822.c, rfc1524.c, parse.c, mx.c, main.c, lib.c, keymap.c, hash.c, handler.c, edit.c, curs_lib.c, alias.c: Replacing a bunch of free() and malloc() calls by safe_free() and safe_malloc(). (From Liviu.) Sat Aug 15 18:27:45 1998 Thomas Roessler * imap.c: read() can't read buffers larger than SSIZE_MAX. * hook.c: [patch-0.94.3i.tlr.empty_hook.1] Ignore empty hooks instead of segfaulting. * protos.h, init.c, Attic/history.h: [patch-0.94.3i.tlr.history.1] Adding history class support. * Attic/history.c: [patch-0.94.3i.tlr.history.1] Adding history class support. * enter.c, TODO, Makefile.in: [patch-0.94.3i.tlr.history.1] Adding history class support. * sendlib.c: [patch-0.94.3i.tlr.attach_msg_fmt.1-2] When generating a message/rfc822 type attachment, parse its header so that the attachment format routines can properly display the default description. * init.h: Change attach_format's default to limit the attachment description's length. Thu Aug 13 22:09:16 1998 Thomas Roessler * pgppubring.c: Fixing another memory leak in the pubring parser. * recvattach.c, Attic/BUGS: [patch-0.94.3i.tlr.attach_msg_fmt.1] When parsing the "%d" format option in the attachment format, use the message format as a fall-back if no explicit description is provided. This fixes the following bug: set mime_forward. Forward any mesage. The compose menu will show the description as "Forwarded message from ...." which is fine. Pressing 'd' to edit the description brings up the above string for editing. Now hit Enter on the message/rfc822 attachment to view it. Quit out of the pager. The description field has now changed to the Subject: of the forwarded message. Pressing 'd' still brings up the 'Forwarded message from....' string. (Noted by Vikas.) * doc/manual.txt, doc/manual.sgml, sendlib.c, mutt.h, init.h: [patch-0.94.3i.tlr.write_bcc.1] This patch adds an option $write_bcc which controls whether the Bcc header is written out or not. This can be used to work around broken MTA's (Exim seems to leave Bcc headers in). The problem was noted independently by Peter Radcliffe and by Dave Holland (Debian Bug #25687). * pgppubring.c: [patch-0.94.3i.tlr.pubring_leak.1] Fixing a memory leak. Bug noted by Liviu Daia. * reldate.h: 0.94.3i. * configure.in, configure, ChangeLog: Preparing 0.94.3i. * compose.c: indentation cosmetics. * compose.c: Update menu->data when OP_COMPOSE_EDIT_HDRS is called. From Vikas. * compose.c: Update the encoding after using ispell from the compose menu. From Vikas. * sendlib.c, send.c, protos.h, pgppubring.c, pattern.c, lib.c, curs_main.c, compose.c, attach.c: Various nits from Liviu; encoding fixes. * rfc822.c: Fixing a buffer overflow in rfc822_cat(). tmplen could underflow. Wed Aug 12 11:50:59 1998 Thomas Roessler * init.c: Yet another memory leak fix from Liviu. * rfc2047.c: Fixing a stupid buffer overflow plus some flawed logic. * functions.h, compose.c, OPS: Adding an update-encoding function to the compose menu. This is useful if the user has externally modified an attachment and _wants_ to adjust the encoding afterwards. Also, this patch fixes some redraw-related problems in the compose menu. * sendlib.c, mutt.h, compose.c, Attic/BUGS: When changing or deleting attachments, the compose menu now notices this and complains or asks accordingly. Partially from Vikas. Tue Aug 11 08:14:38 1998 Thomas Roessler * Attic/BUGS: Yet another outstanding bug. * doc/manual.txt: This now contains the latest changes to manual.sgml. * sendlib.c, rfc2047.c, rfc1524.c, pgppubring.c, pager.c, hdrline.c: Fixing various nits noted by Liviu and his colleagues. Mon Aug 10 15:30:02 1998 Thomas Roessler * sendlib.c: This patches makes the message-id persistant when postponing messages. (From: Janos Farkas) * doc/manual.sgml, sample.muttrc, lib.c, init.h: This patch introduces "unhdr_order" to reset the hdr_order command's effect. (From: Janos Farkas) * color.c: Drop the free_rx parameter from muitt_free_color_line(), as it's always 1. * color.c: Adding mutt_free_color_line() and replacing varous "manual" free()s of color lines by calls to this function. * bind.c: Removing bind.c. Pointed out by Gero Treuner . Sun Aug 9 18:43:45 1998 Thomas Roessler * color.c: With SLang, init_pair is (void), so we must not check its return value. * color.c: Restructuring color.c. This patch fixes the "default" problem from 0.94.2i and makes the code more comprehensible than that version and more consie than 0.94.1i. Sat Aug 8 21:40:12 1998 Thomas Roessler * rfc2047.c: Fixing the "=?" detection in rfc2047_encode_string(). Bug noted by David Jeske . * compose.c: If you press t to add a recipient in the compose menu, then press tab, q, and aborts with ctrl-g, mutt won't redraw the menu. Noted by Jimmy Mäkelä . * alias.c: Entering an un-parsable address when creating an alias would make mutt segfault. Noted by brian moore . * browser.c: If you press tab in the file-browser to see the inboxes and the current row is greater than the inbox-screens max-rows then the screen gets garbled. (From: Jimmy Mäkelä ) * doc/manual.txt, doc/manual.sgml: I made the manual more up to date: * new version * new mailing list and home page addresses * made the terminology a bit more consistent regarding 'pattern' and 'regular expression' * added a note about expanding UNIX environments * added a note about <, >, in range patterns like ~m * added a note about the urlview program * changed tables to not use tabs, because it doesn't work right in my favourite web browsers lynx and netscape (From: Gero Treuner ) * pattern.c: This patch makes pattern ranges more logical. Before '~m <5' would show message 1-5, with this patch it shows 1-4. Inclusive ranges is still avaible if you use '~m -5'. (From: Jimmy Mäkelä ) * init.c: Various improvements to the mutt_command_complete function. From Stephen Hack . * browser.c: If you specify 'mailboxes ""' mutt will seg-fault. (From: Jimmy Mäkelä ) * color.c: Fixing a memory leak. Thanks, Liviu. * commands.c: When printing a message, headers are now sorted according to hdr_order. From Liviu. * browser.c: Fixing an off-by-one buffer overflow in browser.c. Noted by Liviu. * lib.c, attach.c: This patch adds some more "safe" characters to mutt_sanitize_filename and fixes its usage in mutt_view_attachment(). (From: Liviu Daia ) * status.c, sort.h, sendlib.c, send.c, query.c, protos.h, postpone.c, pager.h, pager.c, mutt_menu.h, menu.c, main.c, init.c, headers.c, functions.h, curs_main.c, curs_lib.c, compose.c, commands.c, browser.c, addrbook.c, OPS: Adding the attach message patch. From Vikas Agnihotri . * Makefile.in: There is no "compile" rule for dotlock in the Makefile. (From: Dan Nelson ) * imap.c: Thispatch to imap.c allows the user to specify a port number in the folder name in the general form {hostname:portnum}foldername. (From: Andy Sloane ) * imap.c: imap_close_connection() was being called even though the client was using mulitple mailboxes over the same connection. (From: Brandon Long ) Fri Jul 31 08:17:50 1998 Thomas Roessler * rfc1524.c: Changing an sprintf to an snprintf (which it was meant to be.) * protos.h: mutt_sanitize_filename takes char *, not const char *. * protos.h, lib.c, attach.c: Introducing mutt_sanitize_filename(). The code is similar to patch-0.91.1i.tlr.rfc1524_sanitize.1 and to Peter Holzer's patch against 0.91. * rfc1524.h, rfc1524.c, postpone.c, attach.c: Avoid possible buffer overflows in mutt_adv_mktemp(). * sendlib.c: Interpret sysexits-style exit values from sendmail. * configure.in, configure, config.h.in, acconfig.h: Check for sysexits.h. Thu Jul 30 09:30:38 1998 Thomas Roessler * edit.c: When reading in files, be_snarf_file() wouldn't recognize '~' as the user's home directory. Wed Jul 29 10:54:09 1998 Thomas Roessler * README, Changes: Finalizing 0.93.2i. * configure.in, configure: Bumping to 0.93.2(i). * parse.c: Fixing a buffer overflow in parse.c which presented a serious security thread. Noted by Paul Boehm . Tue Jul 28 08:21:49 1998 Thomas Roessler * Attic/patch.slang-1.2.2.keypad.1: Adding a patch for a SLang bug. * INSTALL: Adding a patch for a SLang bug. * mx.c: Doing 'mutt -f NoSuchFile' just flickers the screen and silently exits. Earlier (0.92.14 at least), it used to spit out the error 'NoSuchFile: no such file or directory (errno = 2)'. (Noted and tracked down by Vikas Agnihotri ) * color.c: The index cache should be updated even without color support. Mon Jul 27 13:39:39 1998 Thomas Roessler * Attic/BUGS: Adding a notice about some more nits. * main.c: Change the error reporting mail address from to . * protos.h, init.h, color.c: This patch fixes index "color" patterns when using a non-color capable curses library. While working on color support, I've thrown together the mutt_parse_color() and mutt_parse_mono() functions as they are sharing most of their code. Additionally, a new directive called "unmono" is introduced. The implementation consists in adding a flag and very few lines of code (plus ifdefs) to mutt_parse_uncolor(). * snprintf.c, rfc1524.h, rfc1524.c, date.c: Fixing some minor nits: missing #includes in date.c and snprintf.c, and a not-so-nice declaration of rfc1524_new_entry(). Noted by Digital cc and gcc. Fri Jul 24 08:12:46 1998 Thomas Roessler * copy.c, attach.c: Fiddling around with message/rfc822 attachments once again. Thu Jul 23 20:57:50 1998 Thomas Roessler * status.c, sendlib.c, send.c, rfc2047.c, pop.c, pager.c, mx.c, mh.c, mbox.c, lib.c, init.c, imap.c, edit.c, curs_lib.c, compose.c, commands.c, color.c, browser.c, attach.c, alias.c: Guard lots of global (char *) variable deferences against NULL pointers. * copy.c, attach.c: Yet another patch about saving message/rfc822 attachments. * main.c, send.c: Fixing potential NULL pointer deferences. Wed Jul 22 22:47:57 1998 Thomas Roessler * recvattach.c: Another fix from Liviu. * recvattach.c, from.c, attach.c: Another patch from liviu to fix the message/rfc822 behaviour. * recvattach.c, mx.c, attach.c: This patch fixes the saving of message/rfc822 attachments to mail folders. Additionally, it fixes an outstanding bug with From_ lines being written to MH folders. (From: Liviu Daia ) * menu.c, functions.h, browser.c, OPS: 1. When I hit 'c' (change dir) in browser, it gives me the directory, but without the final '/', so I have to add '/' to add a subdirectory name. This patch fixes it. 2. check-new now will recheck mailbox folders for new mail. 3. added a function toggle-mailboxes which toggles in browser between mailboxes view and directory view. (bound to TAB by default). (From: "Michael S. Tsirkin" ) * send.c: Correct an error message in send.c. (From: Byrial Jensen ) * sendlib.c, recvattach.c, protos.h, postpone.c, pager.c, mx.c, mutt.h, lib.c, keymap.c, handler.c, compose.c, commands.c, attach.h, attach.c: These changes fix some of the bugs which were recently reported to mutt-dev. To be more specific, message-type attachments are saved to mail folders from the receive attachment menu, some of the sending code has been made more robust against disappearing attachments, and "tag" is rebound to "T" on the compose menu. (Some part of this patch comes from Vikas Agnihotri .) * send.c: Avoid a potential segmentation fault when trying to postpone, but Postponed equals NULL. * Attic/BUGS: This file is intended to contain known bugs which still have to be fixed. * doc/manual.txt: Committing the changes previously made to manual.sgml. * imap.c: Include Message-ID and Reply-To headers when fetching a message's headers from an IMAP server. (From: Andy Sloane ) Tue Jul 21 07:54:03 1998 Thomas Roessler * recvattach.c: The old behaviour of the %d (for description) specifier is recreated by this patch. (From: Byrial Jensen ) * protos.h, lib.c, attach.c: You should never _ever_ do something like this: [process A] ---[piped write until EOF]---> [process B] [process A] <---[piped read until EOF]--- [process B] Basically, what happens is something like this: A feeds data to B; B processes the data, and feeds it to the pipe until the pipe buffer is full; at this point, A writes to its pipe until its buffer is full too, and if it still has more data to write, that's it, it never gets to the read part to flush B's buffer --- both processes are blocked on write. This patch fixes such a situation in the compose menu. (From: Liviu Daia ) Mon Jul 20 21:01:05 1998 Thomas Roessler * reap.pl: Perl lies in /usr/bin on my machines. * pop.c: It seems that if you don't enter any password at all when prompted for the POP password, Mutt will die with a segmentation fault also. (Bug reported by Steve Mayer via the Debian bug tracking system, fix from Thomas Roessler.) * postpone.c: When you send a message which have been postponed before sending, then all its attachments (if there are more than one) will have a content-disposition header which includes a filename, even if there isn't a real filename but only random choosen temporary one. (From: Byrial Jensen ) Sat Jul 18 09:18:31 1998 Thomas Roessler * recvattach.c: "Set mime_forward, and forward a message --- Mutt will segfault." The obvious fix for this is to check for aptr->content->hdr in mutt_attach_fmt() before invoking _mutt_make_string(). Anyway, I suspect that the real fix may involve something like parsing the rfc822 attachment in question. * sendlib.c: Postponing messages behaves funny when the $postponed folder is in Maildir format; I traced this down to the fact that postponed messages are saved in "cur" while mutt_num_postponed() is looking at "new". (From: Liviu Daia ) Fri Jul 17 08:37:02 1998 Thomas Roessler * compose.c: Removing the old snd_entry() code. * doc/manual.sgml, protos.h, pgp.c, mutt.h, init.h, hook.c: When sending encrypted messages, it may arrive that Mutt can't determine the PGP key of the recipient (presumably because her address has changed, but she hasn't updated her PGP key yet). In this situation it's convenient to be able to associate a keyID with an address automatically. The attached patch is an attempt to implement this idea using a "pgp-hook". (From: Liviu Daia ). * recvattach.c: Removing the old attach_entry() code. * recvattach.c, protos.h, mutt.h, init.h, globals.h, compose.c: This patch adds a string variable $attach_format which controls the look of the compose and attach menus. Unfortunately, I was not able to make things so that it would look exactly the same as the hardcoded versions, so the default format is a bit different, but I think it is quite usable. (From Michael Elkins ). * functions.h, browser.c, OPS: This patch allows you to view files from the browser window, useful if you are searching for a file to attach to your message. It uses the standard mailcap stuff (and the lookup mime types) to use the correct "viewer" for the file. (From Brandon Long ) * doc/Attic/dotlock.man.in, doc/Makefile.in, configure.in, configure, Makefile.in: Dotlock-related changes: We call it mutt.dotlock to avoid conflicts with certain NFS versions' dotlocking utilities (pointed out by Liviu Daia). Additionally, we need to compile it as an external utility on systems which don't have an fchdir(2) system call. Thu Jul 16 16:39:53 1998 Thomas Roessler * mx.c: Fixing a small typographic error. * mx.c: Mutt doesn't retry locking if it doesn't succeed at once. The code in mx_lock_file is supposed to retry but it doesn't work because of a mistake in operator precedence. (From: Petri Kaukasoina ) * Attic/dotlock.c: The dotlock.c file tries to include if _POSIX_PATH_MAX isn't defined but it doesn't include , where this symbol should be defined. (From Marc.Baudoin@solsoft.com) * send.c: When several messages are tagged and the user applies reply, group-reply, or list-reply to these messages, the reply's references and in-reply-to headers are constructed from the tagged message which comes last in the current index. This patch constructs the references header from _all_ messages' message-id and references headers. (tlr) * reldate.h, configure.in, configure, Changes, ChangeLog: Preparing mutt 0.94. * imap.c: "My two remaining issues are the speed at which it downloads the headers, and support of PREAUTH. I'm enclosing a patch (to stock mutt-0.92.13i) which addresses these issues." (From Brian Marcotte ) * color.c: This patch fixes two problems reported on mutt-users. (1) the error message about "default colors not supported" when not using a color xterm should not be printed. The existing code did not check the value of has_colors() in conjunction with use_default_colors() (2) mutt would crash when sending mail in batch mode because use_default_colors() could be used without doing an initscr() (From Michael Elkins.) Wed Jul 15 17:15:46 1998 Thomas Roessler * mx.h, mx.c, main.c, Attic/dotlock.h, Attic/dotlock.c, configure.in, configure, Makefile.in: Finalizing the external dotlock support: If group mail privileges are needed, the dotlock is compiled as a separate program. If there is no need for privileges, it remains a module which is compiled into mutt. Also, there is no more need for the SLang buffer overflow work-around in main(). We drop it, but let mutt bail out instead if it's installed setgid something. * doc/Attic/dotlock.man.in, Attic/dotlock.c: Fix the race condition in dotlock.c. * doc/Attic/mutt.man.in: Putting the manual page under autoconf control. * doc/Attic/mutt.man.in: file mutt.man.in was initially added on branch mutt-0-94. * doc/mutt.man: Putting the manual page under autoconf control. * doc/Attic/dotlock.man.in: Adding external dotlocking. For bugs, see the manual page and the comments in dotlock.c. * doc/Attic/dotlock.man.in: file dotlock.man.in was initially added on branch mutt-0-94. * doc/Makefile.in, protos.h, mx.c, mbox.c, main.c, globals.h, Attic/dotlock.h: Adding external dotlocking. For bugs, see the manual page and the comments in dotlock.c. * Attic/dotlock.h: file dotlock.h was initially added on branch mutt-0-94. * Attic/dotlock.c: Adding external dotlocking. For bugs, see the manual page and the comments in dotlock.c. * Attic/dotlock.c: file dotlock.c was initially added on branch mutt-0-94. * configure.in, configure, Makefile.in: Adding external dotlocking. For bugs, see the manual page and the comments in dotlock.c. * doc/mutt.man: More roff fixes. * doc/mutt.man: More groff fixes. Tue Jul 14 16:01:07 1998 Thomas Roessler * reldate.h, configure.in, configure, Changes, ChangeLog: Preparing mutt 0.93.1i. * rfc2047.c, mime.h, handler.c: More unsigned fixes. * pattern.c, parse.c: Changing (int) casts in is* arguments to (unsigned char). * rfc2047.c: Removing a superfluous (unsigned char) cast in an IsPrint argument. Mon Jul 13 10:50:39 1998 Thomas Roessler * doc/mutt.sgml, doc/mutt.man, doc/Makefile.in: Since manual page generation seems to be broken in the SGML-tools package, we remove the SGML version of mutt.man and make the troff source the master copy. Suggested by Roland Rosenfeld who also provided the corrected mutt.man file. Sun Jul 12 13:15:31 1998 Thomas Roessler * protos.h: Replace calloc by safe_calloc in new_pattern. Sat Jul 11 05:10:29 1998 Thomas Roessler * doc/manual.txt, doc/manual.sgml: Key bindings documentation. Fri Jul 10 17:58:26 1998 Thomas Roessler * NEWS: s/fwd_decode/forward_decode/ (Noted by Lars Hecking) * pop.c: tmp[] wasn't initialized when asking for the POP password. * buffy.c: On SunOS 4.1, one must include unistd.h in order to declare SEEK_END. (Fabrice Noilhan) * mutt.h: include if limits.h doesn't defile _POSIX_PATH_MAX. * Changes, ChangeLog: *** empty log message *** * doc/PGP-Notes.txt: Adding a notice about core dumps. * reldate.h, README, INSTALL: Preparing 0.93i. * handler.c: Fix text/enriched decoding: if there's a tag mismatch in the last paragraph in the attachment, the whole paragraph wouldn't be displayed. Thu Jul 9 19:51:36 1998 Thomas Roessler * configure.in, configure, Attic/config.sub: Use CC -Ae -D_HPUX_SOURCE on HP/UX. * Attic/config.sub: file config.sub was initially added on branch mutt-0-93. * Attic/config.guess: Use CC -Ae -D_HPUX_SOURCE on HP/UX. * Attic/config.guess: file config.guess was initially added on branch mutt-0-93. * INSTALL: Use CC -Ae -D_HPUX_SOURCE on HP/UX. Wed Jul 8 21:59:43 1998 Thomas Roessler * snprintf.c, pattern.c, parse.c, mx.c, mh.c, lib.c, keymap.c, init.c, from.c, edit.c, curs_main.c: Changing (int) casts in is* arguments to (unsigned char) casts to avoid mis-casting of signed chars. (From Michael Elkins.) Tue Jul 7 09:22:40 1998 Thomas Roessler * rfc822.c: Change one int to size_t in rfc822.c. * rfc822.c: Fix the parsing of route addresses a la RFC 822. Patch from Michael Elkins. * snprintf.c, sendlib.c, pattern.c, parse.c, mx.c, mh.c, lib.c, keymap.c, init.c, from.c, edit.c, curs_main.c: Cast the arguments of the is* functions to int. Patch from Michael Elkins. Thu Jul 2 21:15:18 1998 Thomas Roessler * hdrline.c: Using the correct version of O'Shaughnessy Evans' %O patch. * configure.in, configure, Changes, ChangeLog: Preparig 0.92.14i * doc/manual.txt, doc/manual.sgml: s/∖/\/ * hdrline.c: Adding the %O expansion. * doc/manual.sgml: Applying the various manual_nits patches. Wed Jul 1 17:01:50 1998 Thomas Roessler * curs_main.c: Fixing a reverse-threading problem. * imap.c: Fixing an imap-related segmentation fault. Tue Jun 30 06:38:02 1998 Thomas Roessler * reldate.h, Changes, ChangeLog: These are the last tiny bits of preparing 0.92.13i. * configure.in, configure, TODO, README, NEWS: Updating some of the documentation for 0.93. * doc/Attic/NEWS: *** empty log message *** * doc/Attic/NEWS: file NEWS was initially added on branch mutt-0-93. * doc/manual.txt: Incorporate the recent changes to manual.sgml. * main.c: Work around a buffer overflow in SLang. (This is the same bug which is fixed by 0.91.2i.) Fri Jun 26 10:31:28 1998 Thomas Roessler * doc/manual.sgml, send.c, init.h, globals.h, Muttrc.in: Removing $empty_to. Thu Jun 25 22:31:46 1998 Thomas Roessler * hdrline.c: Moved a break statement where it belongs. * mx.c: Fix an imap-related typo. * handler.c: Don't generate non-terminated last lines when quoting 8bit-"encoded" text-plain body parts. * Makefile.in: Don't use GNU make specific features. Sun Jun 21 07:13:03 1998 Thomas Roessler * doc/mutt.man, doc/Makefile.in, reldate.h, configure.in, configure, Changes, ChangeLog: Bumping the release to 0.92.12i. Sat Jun 20 06:12:38 1998 Thomas Roessler * doc/manual.txt: *** empty log message *** * handler.c: Fixing the quoted-printable decoder. * handler.c, copy.c: Make mutt handle messages containing null bytes. * doc/manual.sgml: documenting alias-path Fri Jun 19 12:52:16 1998 Thomas Roessler * sendlib.c, send.c, protos.h, postpone.c, pattern.c, menu.c, main.c, headers.c, functions.h, curs_main.c, compose.c, OPS: Removing the Attach-Menu feature for the next release version. Thu Jun 18 20:37:59 1998 Thomas Roessler * protos.h, lib.c, alias.c: Bradon long's alias_path patch, for the sake of Elm compatibility. Tue Jun 16 20:59:20 1998 Thomas Roessler * mx.c: Avoid pointless error messages from mx_get_magic() when called from an mx_open_mailbox_append() on a non-existing mailbox. * doc/manual.txt, doc/Makefile.in, configure.in, configure, Makefile.in: Have "make install" install manual.txt as well. * doc/Attic/makefile, doc/Makefile.in: Putting Makefile under autoconf control. * main.c: Switch the error reporting address from mutt-users to mutt-dev. * reldate.h, configure.in, configure, Changes, ChangeLog: Bump the version to 0.92.11i. * imap.h: Check in a proper version of imap.h. * color.c: Fix the "unknown color" bug reported by Vikas. * mx.c: Remove a spurious #include "imap.h" from mx.c. * doc/style-guide: Add a note about the global Muttrc to style-guide. * configure.in, Muttrc.in, configure, Attic/Muttrc, Makefile.in: The global Muttrc contains a list of default settings which can be used as a starting-point for the user's own configuration. * pgppubring.c, pgp.h, gnupgparse.c: Removing some duplicate code from gnupgparse.c and pgppubring.c. * pgpinvoke.c, gnupgparse.c: Include part of Werner Koch's latest GPG patches. * Changes: *** empty log message *** * configure.in, configure, Changes, ChangeLog: Preparing 0.92.10i. * doc/PGP-Notes.txt: Including Roland's new procmail recipe. * protos.h, pattern.c, menu.c, curs_main.c, compose.c, addrbook.c: Including Vikas' search code for the "attach message" menu. Mon Jun 15 15:19:49 1998 Thomas Roessler * mx.c, main.c, mailbox.h, imap.c, commands.c: Brandon's IMAP patch.