Commit Graph

61 Commits

Author SHA1 Message Date
djcb dd574cb8ba * remove the bogus TIMESTAMP field 2012-01-01 13:53:18 +02:00
Dirk-Jan C. Binnema c42821646f * mu-index: don't require a non-NULL callback for mu_index_cleanup 2011-09-18 14:44:59 +03:00
Dirk-Jan C. Binnema 628d154a2c * minor / cosmetic changes 2011-09-12 20:38:40 +03:00
Dirk-Jan C. Binnema 520307a2b1 * mu-index: update for the store changes 2011-09-03 10:45:54 +03:00
Dirk-Jan C. Binnema c1d0ccc8de * mu-index: take a MuStore rather than paths as arg 2011-08-30 22:00:52 +03:00
Dirk-Jan C. Binnema fbc786f2fc * minor changes, trailing whitespace fixes 2011-08-29 23:38:55 +03:00
Dirk-Jan C. Binnema e55eb4ed25 * MuResult/MuExitCode => MuError 2011-08-11 20:20:22 +03:00
Dirk-Jan C. Binnema d291c5a9f5 * some mu_store_store => mu_store_store_msg and the consequences 2011-08-03 23:03:22 +03:00
Dirk-Jan C. Binnema edebc8d07b * log index, cleanup separately, less confusing + cosmetic 2011-07-18 09:05:56 +03:00
Dirk-Jan C. Binnema c6812eeb8c * cosmetics 2011-05-22 14:49:11 +03:00
Dirk-Jan C. Binnema 53b87a79eb * <many> WIP: refactor mu-msg -- mu-msg-file 2011-05-09 02:58:33 +03:00
Dirk-Jan C. Binnema efa026648b * mu-store.cc: some optimizations, and add the possibility to use the slightly
faster 'add_document' instead of 'replace_document' (it's not used yet though)
2011-04-30 11:31:34 +03:00
Dirk-Jan C. Binnema deeaf41f33 * WIP: contact listing / searching.
this is the first part, adding a cache for all the contacts in mails
  (~/.mu/cache/contacts), which is a .ini-type file.
2011-03-02 00:13:24 +02:00
Dirk-Jan C. Binnema 1276b77a17 * mu-index.c: fix needless warning when msg is no longer there 2011-02-04 20:52:49 +02:00
Dirk-Jan C. Binnema c76af05a7a * make mag-msg-store a configurable parameter; refactor the setting of the
xapian batch size
2011-01-15 13:27:41 +02:00
Dirk-Jan C. Binnema 62acc7739d * change MuMaildirWalkMsgCallback so it take a full stat buf* instead of just
the ctime; then do the checking for the file size (st_size) in mu-index

  also, update a unit test which was using an invalid MuMaildirWalkMsgCallback
2011-01-15 11:53:18 +02:00
Dirk-Jan C. Binnema 87f9dc6cb6 * remember last-used maildir, and use it as default for next run 2011-01-12 23:11:51 +02:00
Dirk-Jan C. Binnema e0b484e922 * make mu-cmd reference-counted (make mu_msg_destroy internal, use
mu_msg_unref instead)
2011-01-09 18:54:14 +02:00
Dirk-Jan C. Binnema 2303bc4f59 * fix for the removal of mu-util-db.h 2011-01-05 20:45:31 +02:00
Dirk-Jan C. Binnema 169196498e * <many>: add option to change the batch size for xapian transactions 2011-01-02 18:05:43 +02:00
Dirk-Jan C. Binnema ba2918ca41 * unify error printing a bit (starting with lowercase) 2010-11-30 22:20:27 +02:00
Dirk-Jan C. Binnema c5c51f3798 * mu-index.c: refactor to make functions respect 33-lines limit 2010-11-27 14:54:19 +02:00
Dirk-Jan C. Binnema e22149fa46 * add some GErrors 2010-11-25 21:49:25 +02:00
Dirk-Jan C. Binnema e64e24aa61 * create mu-error.h, update some functions to use GError for errors 2010-11-24 20:04:20 +02:00
Dirk-Jan C. Binnema 7f617e32f0 * mu-index: remove version check warning 2010-11-20 14:42:07 +02:00
Dirk-Jan C. Binnema fb1651e184 * <many> fix small conversion errors (-Wconversion) 2010-09-26 17:29:54 +03:00
Dirk-Jan C. Binnema 3fa552a81e * mu-index: cosmetics 2010-09-26 15:52:42 +03:00
Dirk-Jan C. Binnema ad4005bdf9 * mu-index: cosmetics 2010-09-12 21:39:36 +03:00
Dirk-Jan C. Binnema 081e601c25 * mu-index: use unsigned instead of time_t 2010-09-12 21:19:02 +03:00
Dirk-Jan C. Binnema 1a98b2de64 * mu-cmd-index: minor, cosmetic 2010-09-09 08:18:14 +03:00
djcb 2cd082c06b * rename MuStoreXapian => MuStore 2010-08-25 21:55:08 +03:00
djcb ba2cb41585 * rename mu-util-xapian => mu-util-db (and some leftovers) 2010-08-25 21:40:07 +03:00
djcb 9a510162b5 * many: renaming/refactoring
- mu-msg-gmime => mu-msg
  - mu-msg-part-info => mu-msg-part

    removed some unused functions, updated dependencies
    make check still works
2010-08-25 00:57:16 +03:00
Dirk-Jan C. Binnema c141d9436c * mu-config,mu-index: rename --empty -> --rebuild, small changes for maildir stuff 2010-02-08 21:21:30 +02:00
Dirk-Jan C. Binnema 8448473732 * enforce that maildir paths are absolute 2010-02-04 23:00:34 +02:00
Dirk-Jan C. Binnema 933245928f * mu-index.c, mu-maildir.c, test-mu-query.c: some refactoring to get max line
len <= 35
2010-02-02 08:46:01 +02:00
Dirk-Jan C. Binnema 8ed3eb9276 * mu-index.[ch]: minor changes 2010-01-31 12:13:06 +02:00
Dirk-Jan C. Binnema fb7e358912 * implement signal handler for mu index, and document it 2010-01-25 09:28:08 +02:00
Dirk-Jan C. Binnema c3b90e6364 * implement & use the new batch stuff, small fixes 2010-01-24 00:52:15 +02:00
Dirk-Jan C. Binnema 501ce008d3 * <many>: (WIP) use ~/mu/xapian as the database with an embedded version tag
- add checks in the code to make sure the database is up to date,
    if not, warn the user.
2010-01-23 20:50:06 +02:00
Dirk-Jan C. Binnema da1e9a3841 * *.c: rename _prefixed function into non-prefixed ones (violates ISO) 2010-01-15 22:11:51 +02:00
Dirk-Jan C. Binnema 191630b302 * mu-index: add some comment about the new up-to-data check 2010-01-11 20:46:48 +02:00
Dirk-Jan C. Binnema 044db7ea80 * mu-store/index: better up-to-date check: see if message is in db already
mu-store-xapian: add mu_store_contains_message;
  mu_index: update the check

  we cannot just rely on the timestamp, because messages may be moved from
  elsewhere, e.g. from 'new' to 'cur'
2010-01-11 20:46:14 +02:00
Dirk-Jan C. Binnema 5a1be9fa01 * mu-index: cosmetics 2010-01-08 20:54:01 +02:00
Dirk-Jan C. Binnema b5292f8cad * mu-index: cosmetic 2010-01-07 21:52:44 +02:00
Dirk-Jan C. Binnema b267cb95e0 * mu-index: cosmetics 2010-01-07 09:01:24 +02:00
Dirk-Jan C. Binnema 6f163a755e * mu-index.c: cleanups, make _cleanup work 2010-01-06 01:25:19 +02:00
Dirk-Jan C. Binnema 735cd5d705 * mu-index, mu-store-xapian.cc: activate _remove 2010-01-05 09:08:39 +02:00
Dirk-Jan C. Binnema 620b7dc8c3 * mu-index: improve stats 2010-01-04 22:50:26 +02:00
Dirk-Jan C. Binnema bc03af4b32 * mu-index: improve cleanup (still WIP), improve documentation; add mu_index_clear_stats 2010-01-04 20:19:32 +02:00