1 Return-Path: <sojkam1@fel.cvut.cz>
\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 BE1AC4196F3
\r
6 for <notmuch@notmuchmail.org>; Thu, 8 Apr 2010 07:43:18 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5
\r
12 tests=[BAYES_00=-1.9] autolearn=ham
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id vXLEi3qOCyej for <notmuch@notmuchmail.org>;
\r
16 Thu, 8 Apr 2010 07:43:16 -0700 (PDT)
\r
17 Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36])
\r
18 by olra.theworths.org (Postfix) with ESMTP id 9B3124196F4
\r
19 for <notmuch@notmuchmail.org>; Thu, 8 Apr 2010 07:43:09 -0700 (PDT)
\r
20 Received: from localhost (unknown [192.168.200.4])
\r
21 by max.feld.cvut.cz (Postfix) with ESMTP id 12AB519F3409;
\r
22 Thu, 8 Apr 2010 16:43:09 +0200 (CEST)
\r
23 X-Virus-Scanned: IMAP AMAVIS
\r
24 Received: from max.feld.cvut.cz ([192.168.200.1])
\r
25 by localhost (styx.feld.cvut.cz [192.168.200.4]) (amavisd-new,
\r
27 with ESMTP id 2cbj1kEUqIZt; Thu, 8 Apr 2010 16:43:04 +0200 (CEST)
\r
28 Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34])
\r
29 by max.feld.cvut.cz (Postfix) with ESMTP id 5DD2719F3374;
\r
30 Thu, 8 Apr 2010 16:43:04 +0200 (CEST)
\r
31 Received: from steelpick.2x.cz (k335-30.felk.cvut.cz [147.32.86.30])
\r
32 (Authenticated sender: sojkam1)
\r
33 by imap.feld.cvut.cz (Postfix) with ESMTPSA id 59E4D15C062;
\r
34 Thu, 8 Apr 2010 16:43:04 +0200 (CEST)
\r
35 Received: from wsh by steelpick.2x.cz with local (Exim 4.71)
\r
36 (envelope-from <sojkam1@fel.cvut.cz>)
\r
37 id 1Nzswi-0007cA-67; Thu, 08 Apr 2010 16:43:04 +0200
\r
38 From: Michal Sojka <sojkam1@fel.cvut.cz>
\r
39 To: notmuch@notmuchmail.org
\r
40 Subject: [PATCH 0/4] Mailstore abstraction v4
\r
41 Date: Thu, 8 Apr 2010 16:42:42 +0200
\r
42 Message-Id: <1270737766-29237-1-git-send-email-sojkam1@fel.cvut.cz>
\r
43 X-Mailer: git-send-email 1.7.0.2
\r
44 X-BeenThere: notmuch@notmuchmail.org
\r
45 X-Mailman-Version: 2.1.13
\r
47 List-Id: "Use and development of the notmuch mail system."
\r
48 <notmuch.notmuchmail.org>
\r
49 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
50 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
51 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
52 List-Post: <mailto:notmuch@notmuchmail.org>
\r
53 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
54 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
55 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
56 X-List-Received-Date: Thu, 08 Apr 2010 14:43:19 -0000
\r
60 this is the fourth version of my mailstore abstraction series. I split
\r
61 it into two parts, with the first part being sent here. I think that
\r
62 this part becomes mostly ready for merging.
\r
64 >From the user's point of view, it adds only the 'cat' subcommand and
\r
65 modifies the .el to use it. Thanks to this change it is easy to use
\r
66 Emacs client with the database accessed remotely over SSH. The only
\r
67 additional patch that must be applied is
\r
68 id:m1my03gsmu.fsf@watt.gilman.jhu.edu. The rebased version is at
\r
69 http://rtime.felk.cvut.cz/gitweb/notmuch.git/shortlog/refs/heads/jr/quote-args-in-notmuch-show
\r
70 and can be pulled by 'git pull git://rtime.felk.cvut.cz/notmuch.git
\r
71 jr/quote-args-in-notmuch-show').
\r
73 More importantly, there are bigger changes for developers. Since it
\r
74 might be quite painful to rebase these patches to quickly changing
\r
75 master (as of the last few days) I'd like to have these merged ASAP.
\r
77 So the patches here are the following:
\r
80 Mailstore abstraction interface
\r
81 Conversion to mailstore abstraction
\r
82 Access messages through mail store interface
\r
83 Add 'cat' subcommand
\r
85 My biggest question relates to the first patch, which does an
\r
86 incompatible change to libnotmuch API. After reading RELEASING file, I
\r
87 found that this change is probably not what Carl wants to merge (and I
\r
88 understand that) so I'd like to get some feedback on my suggestion in
\r
91 The subsequent patches are quite straightforward and the comments
\r
92 there should describe what these patches do.
\r
94 These patches are also located at git://rtime.felk.cvut.cz/notmuch.git
\r
95 and tagged by mailstore-abstraction-v4-part1.
\r
97 This is the overall diffstat:
\r
99 emacs/notmuch-show.el | 11 +-
\r
100 lib/Makefile.local | 2 +
\r
101 lib/database-private.h | 1 +
\r
102 lib/database.cc | 29 +-
\r
103 lib/index.cc | 8 +-
\r
104 notmuch-new.c => lib/mailstore-files.c | 418 +++++----------------
\r
105 lib/mailstore-private.h | 59 +++
\r
106 lib/mailstore.c | 80 ++++
\r
107 lib/message-file.c | 8 +-
\r
108 lib/message.cc | 46 ++-
\r
109 lib/notmuch-private.h | 6 +-
\r
110 lib/notmuch.h | 98 +++++-
\r
112 notmuch-client.h | 12 +-
\r
113 notmuch-config.c | 34 ++
\r
114 notmuch-count.c | 3 +-
\r
115 notmuch-dump.c | 3 +-
\r
116 notmuch-new.c | 658 +++-----------------------------
\r
117 notmuch-reply.c | 13 +-
\r
118 notmuch-restore.c | 3 +-
\r
119 notmuch-search-tags.c | 3 +-
\r
120 notmuch-search.c | 3 +-
\r
121 notmuch-show.c | 82 ++++-
\r
122 notmuch-tag.c | 3 +-
\r
124 show-message.c | 14 +-
\r
125 27 files changed, 621 insertions(+), 989 deletions(-)
\r
126 copy notmuch-new.c => lib/mailstore-files.c (61%)
\r
127 create mode 100644 lib/mailstore-private.h
\r
128 create mode 100644 lib/mailstore.c
\r