lib/index: Implement new indexer

Implement a new message indexer consisting of a single-threaded scanner
and a multi-threaded indexer.

This allows for a number of optimizations as well as background
indexing, though this initial version should be behave similar to the
old indexer.
This commit is contained in:
Dirk-Jan C. Binnema
2020-06-27 11:39:43 +03:00
parent 0e50bfc02c
commit 4e6bd7dfdf
12 changed files with 918 additions and 675 deletions

View File

@ -1,5 +1,5 @@
/*
** Copyright (C) 2010-2017 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
** Copyright (C) 2010-2020 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
**
** This program is free software; you can redistribute it and/or modify it
** under the terms of the GNU General Public License as published by the
@ -17,9 +17,7 @@
**
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif /*HAVE_CONFIG*/
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
@ -28,7 +26,6 @@
#include <utils/mu-util.h>
#include <mu-store.hh>
#include <mu-runtime.h>
#include <mu-index.h>
#include "mug-msg-list-view.h"
#include "mug-query-bar.h"