1 Return-Path: <lrilling@gmail.com>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 8E2D7429E2E
\r
6 for <notmuch@notmuchmail.org>; Wed, 14 Sep 2011 15:23:47 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001,
\r
13 RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id RMvz6qx61sLc for <notmuch@notmuchmail.org>;
\r
17 Wed, 14 Sep 2011 15:23:45 -0700 (PDT)
\r
18 Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com
\r
19 [74.125.82.45]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client
\r
20 certificate requested) by olra.theworths.org (Postfix) with ESMTPS id
\r
21 6B30E429E28 for <notmuch@notmuchmail.org>; Wed, 14 Sep 2011 15:23:45 -0700
\r
23 Received: by mail-ww0-f45.google.com with SMTP id 36so2235195wwi.2
\r
24 for <notmuch@notmuchmail.org>; Wed, 14 Sep 2011 15:23:45 -0700 (PDT)
\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
\r
26 h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to
\r
27 :references; bh=nPZ4dPmHuBtrQCWUhMOY6YD4gi+2c566Wl6VS7TyvCM=;
\r
28 b=ItH4Lyv7DqaeWdZA2VrIzVRy1NpQzmbguGcuXwpIr0z0AlAXuARmwyPna5LAxPw4Pl
\r
29 mWOnRr1WPC2khrWyuuroEUUtppSRPgYQc7bHc0f3sRvNLGmsClsrEmfO46v+91X3MHJF
\r
30 t3zUPwJAF4yCxdBO3AzSFypZMFjWEDdyiR3Cg=
\r
31 Received: by 10.227.53.212 with SMTP id n20mr363422wbg.58.1316039025005;
\r
32 Wed, 14 Sep 2011 15:23:45 -0700 (PDT)
\r
33 Received: from osdor.le-roi-du-couscous.fr ([78.222.14.116])
\r
34 by mx.google.com with ESMTPS id h20sm50709wbo.22.2011.09.14.15.23.44
\r
35 (version=SSLv3 cipher=OTHER); Wed, 14 Sep 2011 15:23:44 -0700 (PDT)
\r
36 Sender: Louis Rilling <lrilling@gmail.com>
\r
37 From: Louis Rilling <l.rilling@av7.net>
\r
38 To: notmuch@notmuchmail.org
\r
39 Subject: [PATCH 1/4] lib: Kill last usage of C++ type bool
\r
40 Date: Thu, 15 Sep 2011 00:23:18 +0200
\r
41 Message-Id: <1316039001-32602-2-git-send-email-l.rilling@av7.net>
\r
42 X-Mailer: git-send-email 1.7.2.5
\r
43 In-Reply-To: <1316039001-32602-1-git-send-email-l.rilling@av7.net>
\r
44 References: <1316039001-32602-1-git-send-email-l.rilling@av7.net>
\r
45 Cc: Michal Sojka <sojka@os.inf.tu-dresden.de>,
\r
46 Austin Clements <amdragon@mit.edu>
\r
47 X-BeenThere: notmuch@notmuchmail.org
\r
48 X-Mailman-Version: 2.1.13
\r
50 List-Id: "Use and development of the notmuch mail system."
\r
51 <notmuch.notmuchmail.org>
\r
52 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
53 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
54 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
55 List-Post: <mailto:notmuch@notmuchmail.org>
\r
56 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
57 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
58 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
59 X-List-Received-Date: Wed, 14 Sep 2011 22:23:48 -0000
\r
61 Signed-off-by: Louis Rilling <l.rilling@av7.net>
\r
63 lib/message.cc | 12 ++++++------
\r
64 1 files changed, 6 insertions(+), 6 deletions(-)
\r
66 diff --git a/lib/message.cc b/lib/message.cc
\r
67 index d993cde..cf651e5 100644
\r
68 --- a/lib/message.cc
\r
69 +++ b/lib/message.cc
\r
70 @@ -49,16 +49,16 @@ struct visible _notmuch_message {
\r
71 struct maildir_flag_tag {
\r
75 + notmuch_bool_t inverse;
\r
78 /* ASCII ordered table of Maildir flags and associated tags */
\r
79 static struct maildir_flag_tag flag2tag[] = {
\r
80 - { 'D', "draft", false},
\r
81 - { 'F', "flagged", false},
\r
82 - { 'P', "passed", false},
\r
83 - { 'R', "replied", false},
\r
84 - { 'S', "unread", true }
\r
85 + { 'D', "draft", FALSE},
\r
86 + { 'F', "flagged", FALSE},
\r
87 + { 'P', "passed", FALSE},
\r
88 + { 'R', "replied", FALSE},
\r
89 + { 'S', "unread", TRUE }
\r
92 /* We end up having to call the destructor explicitly because we had
\r