From 1e179fb88e4fb9ae3facd742d5b6f05fa8373f3b Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Mon, 25 Jun 2007 22:21:39 +0200 Subject: [PATCH] Released version 1.0. --- ChangeLog | 28 ++++++++++++++++++++++++++++ Makefile | 2 +- README | 16 +++++++++++----- cm.c | 2 +- 4 files changed, 41 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 98a275b..f865d92 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,31 @@ +2007-06-25 Martin Mares + + * Non-ASCII characters encoded as per RFC 2047 are now deciphered + and converted to the native character set. (We use parsing code + from Mutt 1.5.16, slightly adapted for our use.) + + * The system locale and iconv routines are used for operations with + charsets. We use the not too well documented "//TRANSLIT" suffix to + make iconv perform transliteration when it encounters a character, + which cannot be represented in the destination charset. This is + a GNU extension, but we hope that it gets ignored on other systems. + + * Mail sender addresses are now parsed (again using Mutt's routines) + and you can use the `m' and `p' options to select whether you + want to display the full name of the sender, the address of his/her + mailbox or both. + + * Mailboxes can be assigned hotkeys, which override the default + key bindings. This is available as the `!' option. + + * If a mailbox contains no new messages, you can choose to highlight + flagged messages (those with `X-Status: F' header, see the `F' + command in Mutt) instead. See the `f' option. + + * Folded headers are now parsed properly. + + * Released as 1.0. + 2006-06-03 Martin Mares * cm.c (add_snippet): Compress spaces and avoid printing unprintable diff --git a/Makefile b/Makefile index 7b512d6..11106e0 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Winline $(DEBUG) -std=gnu99 -DVERSION=$(VERSION) -DYEAR=$(YEAR) LDFLAGS=-lncurses -VERSION=0.5 +VERSION=1.0 YEAR=2007 all: cm diff --git a/README b/README index 8696017..7863091 100644 --- a/README +++ b/README @@ -13,13 +13,17 @@ and new messages. It can be freely used and distributed according to the terms of the GNU General Public License version 2, as published by the Free Software Foundation. -Requirements: libncurses and a decent C99 compiler (preferably GCC). +Build requirements: libncurses, locales and iconv and a decent C99 compiler +(preferably GCC). + +Usage: + see `cm --help' Keys: - q quit + q / Ctrl-C quit arrow keys / vi-like movement moves through the list ENTER invokes mutt (or a program specified - with the -m option) on the current box + with the -m option) on the current mailbox TAB jumps to the next mailbox with some new messages (mailboxes with higher priority are preferred) @@ -30,6 +34,9 @@ Keys: 0...9 sets minimum priority of mailboxes to show (0=show all) b, B enable/disable beeping + activate a specific mailbox and invoke mutt + on it (hotkeys are defined as mailbox options + and they override the default key bindings) Examples: @@ -40,8 +47,7 @@ Examples: Caveats: - CheckMail currently does no mailbox locking, but the incremental update mechanism - is able to recover from mailboxes caught in the middle of mail delivery. Will be - fixed soon. + is able to recover from mailboxes caught in the middle of mail delivery. Please send all bug reports and suggestions to mj@ucw.cz. diff --git a/cm.c b/cm.c index 0b7fbf1..38b6983 100644 --- a/cm.c +++ b/cm.c @@ -315,7 +315,7 @@ scan_mbox(struct mbox *b, struct stat *st) return; } - /* FIXME: Locking! */ + /* FIXME: Should we do some locking? */ mb_fd = open(b->path, O_RDONLY); if (mb_fd < 0) -- 2.39.2