Commit Graph

14 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 fe8b3430c6 mu: optimize indexing (get_uid_term)
Some users were report seeing get_uid_term high in the profiles; so
optimize this:

- make mu_util_get_hash a static inline function (used by get_uid_term)
- don't use 'realpath' in get_uid_term, seem that's the main culprit
- some slight faster string handling there too.
2015-11-17 10:55:56 +02:00
djcb 3c7061338d Rework getting database version (#469)
It seems we don't get the correct database version in some case with
some compilers, optimization flags. Suspecting some stale ->c_str().
2014-09-23 07:32:39 +03:00
djcb 0277967b53 * mu-store-read: cleanup function a bit
(fruitlessly trying to track down
       https://code.google.com/p/mu0/issues/detail?id=80)
2013-12-21 10:14:31 -08: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 a625371da2 * lib/: a the thread-id field, store it in the database 2012-12-25 16:43:34 +02:00
djcb 11ecc65109 * update (C) years 2012-10-24 11:42:57 +03:00
djcb 441c5a1b9b * mu-store-read: fix realpath checking 2012-08-19 09:54:51 +03:00
djcb abfcc4a2f3 * updates for mu_msg_get_body_(text|html) api change 2012-08-09 09:38:58 +03:00
djcb 57b26259f7 * mu-store-read.cc: use realpath when determining path, getting rid of
e.g. /foo//bar double slashes
2012-08-03 18:44:43 +03:00
djcb 279f627c5e * cosmetics 2012-08-01 10:48:56 +03:00
djcb 46f10cfde9 * refactoring: split src/ into mu/ and lib/ 2012-05-21 09:25:53 +03:00