unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH 0/2] lib: introduce notmuch_database_new
@ 2013-12-01 13:13 Jani Nikula
  2013-12-01 13:13 ` [PATCH 1/2] lib: add return status to database close and destroy Jani Nikula
  2013-12-01 13:14 ` [PATCH 2/2] lib: introduce notmuch_database_new for initializing a database handle Jani Nikula
  0 siblings, 2 replies; 14+ messages in thread
From: Jani Nikula @ 2013-12-01 13:13 UTC (permalink / raw)
  To: notmuch

Hi all -

In preparation of adding some logging hooks into the library (instead of
printing everything to stdout/stderr) we need a way to set that kind of
options before opening/creating the database. Here's a proposed API
change to make that possible in the future.

N.B. This breaks bindings and contrib/notmuch-deliver.

BR,
Jani.


Jani Nikula (2):
  lib: add return status to database close and destroy
  lib: introduce notmuch_database_new for initializing a database handle

 lib/database.cc      | 80 ++++++++++++++++++++++++++++++----------------------
 lib/notmuch.h        | 69 ++++++++++++++++++++++++++++++++++----------
 notmuch-compact.c    | 11 +++++++-
 notmuch-count.c      | 10 +++++--
 notmuch-dump.c       | 10 +++++--
 notmuch-insert.c     | 10 +++++--
 notmuch-new.c        | 14 +++++----
 notmuch-reply.c      | 10 +++++--
 notmuch-restore.c    | 10 +++++--
 notmuch-search.c     | 10 +++++--
 notmuch-show.c       | 10 +++++--
 notmuch-tag.c        | 10 +++++--
 test/random-corpus.c | 10 +++++--
 test/symbol-test.cc  |  3 +-
 14 files changed, 193 insertions(+), 74 deletions(-)

-- 
1.8.4.2

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2014-01-15 14:19 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-01 13:13 [PATCH 0/2] lib: introduce notmuch_database_new Jani Nikula
2013-12-01 13:13 ` [PATCH 1/2] lib: add return status to database close and destroy Jani Nikula
2013-12-04 16:31   ` Austin Clements
2013-12-04 18:40     ` Jani Nikula
2013-12-01 13:14 ` [PATCH 2/2] lib: introduce notmuch_database_new for initializing a database handle Jani Nikula
2013-12-03 11:47   ` David Bremner
2013-12-03 14:11     ` Tomi Ollila
2013-12-03 17:29       ` Jani Nikula
2013-12-03 19:35         ` Tomi Ollila
2013-12-03 17:22     ` Jani Nikula
2013-12-04 23:11   ` Austin Clements
2013-12-05 18:17     ` Jani Nikula
2014-01-14 13:22       ` David Bremner
2014-01-15 14:19         ` David Bremner

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).