djcb
688507f193
lib: fix a few compiler warnings
...
WARN_C(XX)FLAGS is really strict.
2017-01-03 00:37:19 +02: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
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
7eb244b3b0
mu: don't use __FUNCTION__, use __func__
...
__FUNCTION__ is deprecated and gives compilation warnings. __func__ is
standardized in c99.
2015-04-22 21:06:31 +03:00
djcb
ff25bf1a25
Don't use g_clear_pointer yet, it's too new.
...
Do it the old way.
2014-09-26 15:22:07 +03: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
26b184c710
* mu-store-priv: when rebuilding, remove the contacts-cache file, too
2013-04-07 16:04:49 +03: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
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
423a1d7140
* mu4e: use GStringChunk* for string normalization / escaping
...
- this should fix the rare bug for some non-Latin unicode blocks,
simplify some code, and possibly improve performance a bit
2012-06-12 00:11:14 +03:00
djcb
46f10cfde9
* refactoring: split src/ into mu/ and lib/
2012-05-21 09:25:53 +03:00