summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2260
-rw-r--r--Changes25
-rw-r--r--INSTALL68
-rw-r--r--Makefile.in29
-rw-r--r--Muttrc.in7
-rw-r--r--NEWS184
-rw-r--r--OPS4
-rw-r--r--README42
-rw-r--r--TODO169
-rw-r--r--acconfig.h6
-rw-r--r--addrbook.c1
-rw-r--r--alias.c52
-rw-r--r--attach.c272
-rw-r--r--attach.h2
-rw-r--r--bind.c200
-rw-r--r--browser.c231
-rw-r--r--buffy.c21
-rw-r--r--color.c643
-rw-r--r--commands.c100
-rw-r--r--compose.c300
-rwxr-xr-xconfig.guess890
-rw-r--r--config.h.in12
-rwxr-xr-xconfig.sub952
-rwxr-xr-xconfigure461
-rw-r--r--configure.in81
-rw-r--r--copy.c21
-rw-r--r--curs_lib.c11
-rw-r--r--curs_main.c111
-rw-r--r--date.c1
-rw-r--r--doc/Makefile.in22
-rw-r--r--doc/PGP-Notes.txt16
-rw-r--r--doc/dotlock.man.in144
-rw-r--r--doc/manual.sgml912
-rw-r--r--doc/manual.txt912
-rw-r--r--doc/mutt.man.in (renamed from doc/mutt.man)226
-rw-r--r--dotlock.c714
-rw-r--r--dotlock.h43
-rw-r--r--edit.c22
-rw-r--r--enter.c102
-rw-r--r--from.c20
-rw-r--r--functions.h6
-rw-r--r--globals.h10
-rw-r--r--handler.c177
-rw-r--r--hash.c12
-rw-r--r--hdrline.c71
-rw-r--r--headers.c2
-rw-r--r--help.c76
-rw-r--r--history.c126
-rw-r--r--history.h41
-rw-r--r--hook.c41
-rw-r--r--imap.c713
-rw-r--r--imap.h1
-rw-r--r--init.c130
-rw-r--r--init.h13
-rw-r--r--keymap.c171
-rw-r--r--keymap.h4
-rw-r--r--lib.c122
-rw-r--r--mailbox.h4
-rw-r--r--main.c60
-rw-r--r--mbox.c114
-rw-r--r--menu.c17
-rw-r--r--mh.c4
-rw-r--r--mime.h7
-rw-r--r--mutt.h122
-rw-r--r--mutt_menu.h2
-rw-r--r--mutt_socket.h39
-rw-r--r--mx.c235
-rw-r--r--mx.h1
-rw-r--r--pager.c14
-rw-r--r--pager.h2
-rw-r--r--parse.c36
-rw-r--r--patch.slang-1.2.2.keypad.176
-rw-r--r--pattern.c17
-rw-r--r--pgp.c14
-rw-r--r--pgppubring.c24
-rw-r--r--pop.c23
-rw-r--r--postpone.c13
-rw-r--r--protos.h44
-rw-r--r--query.c1
-rwxr-xr-xreap.pl2
-rw-r--r--recvattach.c402
-rw-r--r--reldate.h2
-rw-r--r--rfc1524.c206
-rw-r--r--rfc1524.h4
-rw-r--r--rfc2047.c22
-rw-r--r--rfc822.c64
-rw-r--r--sample.muttrc1
-rw-r--r--send.c115
-rw-r--r--sendlib.c228
-rw-r--r--snprintf.c7
-rw-r--r--socket.c112
-rw-r--r--sort.h2
-rw-r--r--status.c3
-rw-r--r--thread.c66
94 files changed, 8996 insertions, 5114 deletions
diff --git a/ChangeLog b/ChangeLog
index 2a49ca45..fc2c1211 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,1806 +1,899 @@
-Changes since 0.88
-------------------
+Mon Aug 24 09:24:28 1998 Thomas Roessler <roessler@guug.de>
+
+ * 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 <roessler@guug.de>
+
+ * 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 <roessler@guug.de>
+
+ * 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.
-- [patch-0.88.me.buffy_zero.1] 0 length mbox and MMDF mailboxes should never
- be marked as having new mail in them
+Fri Aug 21 08:17:09 1998 Thomas Roessler <roessler@guug.de>
+
+ * 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 <roessler@guug.de>
+
+ * 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ä
+ <jmy@flashback.net>)
+
+ * 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 <roessler@guug.de>
+
+ * rfc822.c: Bringing 128-byte strings to "STRING".
-- [patch-0.88.me.enter_string.1] rewrote ci_enter_string() to remove
- duplicated redraw code, and renamed to mutt_enter_string()
+ * sendlib.c: Use add_option, not add_arg, for
+ strings such as "--".
-- [patch-0.88.ld.ctx_changed.1] fixed problem with setting the changed flag
- for the mailbox when recovering from an externally modified mailbox
+ * sendlib.c: Pass an "--" argument to sendmail
+ before the address arguments, so addresses with a
+ leading dash don't lead to problems. (From Liviu.)
-- [patch-0.88.pk.signed.1] fixed comparison between short and unsigned short
- in the pager
+ * 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.)
-- [patch-0.88.me.set_no.1] makes "unset no<var>" equivalent to "set <var>"
+Sat Aug 15 18:27:45 1998 Thomas Roessler <roessler@guug.de>
-- [patch-0.88.me.state_flag] removes the OPTVERIFYSIG pseudo-option and
- replaces it with a "flags" member in the STATE structure
+ * imap.c: read() can't read buffers larger than
+ SSIZE_MAX.
-- [patch-0.88.me.short] use 'int' instead of 'unsigned short' for message
- numbers to allow mutt to read mailboxes larger than 65535 messages
+ * hook.c: [patch-0.94.3i.tlr.empty_hook.1] Ignore
+ empty hooks instead of segfaulting.
-- [patch-0.88.me.hold.1] removed the $hold variable. the same functionality
- is provided by "set nomove"
+ * protos.h, init.c, Attic/history.h:
+ [patch-0.94.3i.tlr.history.1] Adding history class
+ support.
-- [patch-0.88.me.buffy_notify.1] move the notification of new mail out of
- mutt_buffy_check() into a separate routine
+ * Attic/history.c: [patch-0.94.3i.tlr.history.1]
+ Adding history class support.
-- [patch-0.88.me.empty_fields.1] skip processing of empty header fields in
- _mutt_read_rfc822_header()
+ * enter.c, TODO, Makefile.in:
+ [patch-0.94.3i.tlr.history.1] Adding history class
+ support.
-- [patch-0.88.me.var_table.1] use the .data field instead of .bit for
- storing the option for DT_BOOL and DT_QUAD vars
+ * 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.
-- [patch-0.88.me.rx_not.1] regexps in the *-hook commands can now optionally
- be prefixed with a "!" (exclamation point) to indicate that the hook
- should be executed when the target does NOT match the following pattern
+ * init.h: Change attach_format's default to limit
+ the attachment description's length.
-- [patch-0.88.me.sig.2] removes the $local_site, $remote_sig and $local_sig
- variables. the same functionality is provided by using a send-hook to set
- the $signature variable:
- send-hook . set signature=~/.sig-local
- send-hook !hmc\\.edu set signature=~/.sig-remote
+Thu Aug 13 22:09:16 1998 Thomas Roessler <roessler@guug.de>
-- [patch-0.88.me.from.1] honor $reverse_name even when $use_from is unset
+ * pgppubring.c: Fixing another memory leak in the
+ pubring parser.
-- [patch-0.88.bj.status_color.1] removed hack needed to reset the background
- color before the buffy_notify patch
+ * 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:
-- [patch-0.88.me.parse_param.2] whitespace after a MIME content-type
- parameter was not stripped (eg. "charset =us-ascii" would result in the
- parameter "charset " in the structure)
+ 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.
-Changes since 0.88.1
---------------------
+ Now hit Enter on the message/rfc822 attachment
+ to view it. Quit out of the pager.
-- split up mutt.h into several smaller files with groups of related data
- in order to reduce the dependencies on mutt.h
+ The description field has now changed to the
+ Subject: of the forwarded message. Pressing 'd'
+ still brings up the 'Forwarded message from....'
+ string.
-- removed the $point_new variable
+ (Noted by Vikas.)
-- the .not member of the REGEXP struct was not initialized for the *-hook
- commands, thus causing them not to work properly
+ * 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).
-- removed bogus ! handling code in the DT_RX variables
+ The problem was noted independently by Peter
+ Radcliffe <pir@pir.net> and by Dave Holland
+ <dave@zenda.demon.co.uk> (Debian Bug #25687).
-- [patch-0.88.ld.magic.1] fix to return type MBOX for the default magic
- for zero length files if $mbox_type is something other than "mbox" or
- "mmdf"
+ * pgppubring.c: [patch-0.94.3i.tlr.pubring_leak.1]
+ Fixing a memory leak. Bug noted by Liviu Daia.
-Changes since 0.88.2
---------------------
+ * reldate.h: 0.94.3i.
-- [patch-0.88.2.kd.buffy_pop.2] support for --enable-buffy-size and
- --enable-pop were broken after the reorganization of mutt.h
+ * configure.in, configure, ChangeLog: Preparing
+ 0.94.3i.
-- [patch-0.88.2.me.ignore_rx.1] removes the ignore and unignore commands and
- replaces them with the $ignore and $unignore variables, which are regular
- expressions used for matching lines to weed/show
+ * compose.c: indentation cosmetics.
-- [patch-0.88.2.me.followup.1] adds support for the Mail-Reply-To: and
- Mail-Followup-To: header fields
+ * compose.c: Update menu->data when OP_COMPOSE_EDIT_HDRS is called.
+ From Vikas.
-- [patch-0.88.me.hdrline.1] fixed segfault with %t in $hdr_format if neither
- the to: or cc: field exists
+ * compose.c: Update the encoding after using ispell from the compose
+ menu. From Vikas.
-- [patch-0.88.me.abort_subject.1] print error message if
- $abort_nosubject=yes and the user deletes the default subject and tries to
- send instead of just silently ignoring the send
+ * 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.
-- [patch-0.88.me.long_re.1] increased the max length for regexp's in
- send-hook's to be 256 chars
+ * rfc822.c: Fixing a buffer overflow in rfc822_cat(). tmplen could
+ underflow.
-- [patch-0.88.bj.isprint.1] treat chars >= 0xa0 as printable
+Wed Aug 12 11:50:59 1998 Thomas Roessler <roessler@guug.de>
-- [patch-0.88.me.half_page.1] adds the half-up and half-down functions to
- the index and generic key maps. scrolls the page 1/2 screen up or down
+ * init.c: Yet another memory leak fix from Liviu.
-- [patch-0.88.me.useraddr.1] $alternates would not be consulted when the
- address to be matches was not fully qualified
+ * rfc2047.c: Fixing a stupid buffer overflow plus some flawed logic.
-- [patch-0.88.me.from_quote.1] add support for messages separators in mbox
- mailboxes where the mailbox part of the return-path is a quoted-string
- eg: From "michael elkins"@cs.hmc.edu Sat Nov 22 15:55:07 PST 1997
+ * 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.
-- [patch-0.88.me.mx.1] moved code for adding the From_ line to new messages
- in mbox/mmdf mailboxes to mx_open_new_message(), and removes the
- postponed_mail() func from send.c in favor of mutt_num_postponed()
+ * 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.
-- [patch-0.88.2.me.post_err.1] abort exiting the compose menu if there was a
- problem writing the message to the $postponed mailbox
+Tue Aug 11 08:14:38 1998 Thomas Roessler <roessler@guug.de>
-- [patch-0.88.2.me.find_lists.1] if the to: list was missing, the cc: list
- was not searched for mailing lists when doing a list-reply
+ * Attic/BUGS: Yet another outstanding bug.
-- [patch-0.88.2.me.buffy_notify.1] makes mutt keep track of the number of
- mailboxes for which the user has not been notified of new mail so that
- mutt_buffy_notify() can exit immediately without traversing the mailbox
- list if there are no pending notifications
+ * doc/manual.txt: This now contains the latest changes to manual.sgml.
-- [patch-0.88.2.bugfix.mtsirkin.buffy_size.1] fixed some bugs with the
- buffy_size pacth
+ * sendlib.c, rfc2047.c, rfc1524.c, pgppubring.c, pager.c, hdrline.c:
+ Fixing various nits noted by Liviu and his colleagues.
-Changes since 0.88.3
---------------------
+Mon Aug 10 15:30:02 1998 Thomas Roessler <roessler@guug.de>
-- undid previous patch-0.88.2.me.ignore_rx.1 which changed `ignore' and
- `unignore' to regexp vars instead of commands
+ * sendlib.c: This patches makes the message-id persistant when
+ postponing messages. (From: Janos Farkas)
-- [patch-0.88.3.me.attach_file.2] with $edit_hdrs set, files can be attached
- to the message by placing `Attach: <filename>' in the message header while
- editing the message
+ * 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)
-- [patch-0.88.3.me.find_lists.1] fixed bug in the list-reply function
+ * color.c: Drop the free_rx parameter from muitt_free_color_line(),
+ as it's always 1.
-- [patch-0.88.3.me.followup.1] the mail-followup-to: field should be set for
- all types of messages, not just group-reply
+ * color.c: Adding mutt_free_color_line() and replacing varous
+ "manual" free()s of color lines by calls to this function.
-- [patch-0.88.3.pk.fccdate.1] the date in fcc:'s to mbox/mmdf mailboxes was
- incorrect
+ * bind.c: Removing bind.c. Pointed out by Gero Treuner
+ <gero@faveve.uni-stuttgart.de>.
-- [patch-0.88.3.bugfix.mtsirkin.buffy_size.1] fixed some more bugs in the
- buffy_size handling
+Sun Aug 9 18:43:45 1998 Thomas Roessler <roessler@guug.de>
-- [patch-0.88.3.me.menu.1] adds the $menu_scroll which causes mutt not to do
- an implicit next-page when doing a next-message on the last message
- displayed on the screen, and adds the current-top, current-middle,
- current-bottom functions to reposition the current message at the top,
- middle and bottom of the screen, respectively
+ * color.c: With SLang, init_pair is (void), so we must not check its
+ return value.
-- [patch-0.88.3.me.buffy.1] avoid the double-stat() in mutt_buffy_check() by
- saving the magic in the BUFFY struct
+ * 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.
-- [patch-0.88.3.me.buffy_config.1] the interval that mutt will check for new
- mail in the `mailboxes' list is now configurable via the $mail_check
- variable (default: 3 seconds)
+Sat Aug 8 21:40:12 1998 Thomas Roessler <roessler@guug.de>
-- [patch-0.88.3.me.hook.1] fixed the !-handling in the *-hook commands to
- allow specification of ! (shortcut for $spoolfile) in folder-hook by
- placing quotes around it (eg., folder-hook '!' set signature=~/.signature)
+ * rfc2047.c: Fixing the "=?" detection in rfc2047_encode_string(). Bug
+ noted by David Jeske <jeske@home.chat.net>.
-Changes since 0.88.4
---------------------
+ * 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ä
+ <jmy@flashback.net>.
-- changed default value of $move to `no'
+ * alias.c: Entering an un-parsable address when creating an alias
+ would make mutt segfault. Noted by brian