Commit Graph

13 Commits

Author SHA1 Message Date
djcb 8193cc3e4c contacts: rework: install in database
Rewrite the contacts-cache backend in c++

Store the contacts as metadata in the xapian database, rather than in a
separate file.

Update the Store to deal with this.
2019-05-11 13:41:03 +03:00
djcb 93c6ff1f85 mu: protect against overly long keys
We got some errors when some of the key values exceeded the Xapian
maximum; in particular the message-id.

So make all the key-methods check, and truncate the message-id if
necessary.
2018-08-14 21:57:33 +03:00
djcb 5e9cafea59 integrate new query parser 2017-10-25 23:50:17 +03:00
djcb 775eb3f715 mu: write contacts-cache a bit sooner
Write the changes to the cache file after any indexing operation, so `mu
cfind` gets new contacts a bit sooner.
2016-02-21 19:48:21 +02:00
djcb 855e81db99 * update copyright years 2013-03-30 11:32:07 +02:00
djcb f5f8d6de70 * mu_store_needs_upgrade --> mu_store_versions_match 2013-01-06 15:53:42 +02:00
djcb e8f4f5976d * some minor updates in mu-store version check 2013-01-06 12:40:49 +02:00
djcb 11ecc65109 * update (C) years 2012-10-24 11:42:57 +03:00
djcb 279f627c5e * cosmetics 2012-08-01 10:48:56 +03:00
djcb dea26471d0 * fix _MuStore initialization; proliferate API change 2012-06-20 20:33:58 +03:00
djcb 39ff643e48 * store: allow setting my-addresses 2012-06-19 17:59:16 +03:00
djcb 3159d97105 * mu-store*: detect 'my-addresses' in messages, so we can mark contacts as 'personal' 2012-06-18 18:02:12 +03:00
djcb 46f10cfde9 * refactoring: split src/ into mu/ and lib/ 2012-05-21 09:25:53 +03:00