]> mj.ucw.cz Git - checkmail.git/commitdiff
Released version 1.0.
authorMartin Mares <mj@ucw.cz>
Mon, 25 Jun 2007 20:21:39 +0000 (22:21 +0200)
committerMartin Mares <mj@ucw.cz>
Mon, 25 Jun 2007 20:21:39 +0000 (22:21 +0200)
ChangeLog
Makefile
README
cm.c

index 98a275b28e3be6ee23c67d14c90a081801f42546..f865d92d38409d24e921e250b69c7f6ca186d3a7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,31 @@
+2007-06-25  Martin Mares <mj@ucw.cz>
+
+       * 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 `!<hotkey>' 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  <mj@ucw.cz>
 
        * cm.c (add_snippet): Compress spaces and avoid printing unprintable
index 7b512d6b186a686492f5f9231c1b0cc7a4a6b3ab..11106e0501eacbfba98ba7372f5232ef3bbc32d1 100644 (file)
--- 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 8696017996c122e4c5b936714e75393be5f83857..7863091e3da6ed53f5de5371be977d38b454f6da 100644 (file)
--- 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
+       <hotkey>                        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 0b7fbf17072e0dc04acae97df4dd53e25245e226..38b6983c9001d7f5378181fe5ee8ee9ab6ef9338 100644 (file)
--- 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)