Commit Graph

182 Commits

Author SHA1 Message Date
9967751b1d * rename MuMsgXapian => MuMsgIterXapian 2010-01-23 23:34:27 +02:00
a4720547de * use -n for --nocleanup 2010-01-23 22:02:26 +02:00
a4bdb311ec * introduce --empty and --autoupgrade, and document them 2010-01-23 21:57:57 +02:00
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
9e5e63d1ae * cosmetic 2010-01-23 14:13:04 +02:00
873f1a126a * mu-store-xapian: restore the behavior of storing both values and terms
this will be removed again soon, but the query parser will need some changes
  before that works. see the note in the src
2010-01-23 14:12:45 +02:00
366fe26fdb * .*_transaction_if => *._trx_if (rename) 2010-01-23 13:41:42 +02:00
f5d785cad2 * mu-log: cosmetic 2010-01-23 12:30:09 +02:00
f6befa53b3 * mu-cmd: some very minor cleanups 2010-01-23 12:29:57 +02:00
3743fb2b39 * mu-store-xapian: don't use terms, only use values 2010-01-22 22:08:04 +02:00
891f0ad3df * mu-store-xapian: truncate overly long Xapian terms to so it doesn't throw 2010-01-22 19:18:23 +02:00
03ff32d9c8 * cosmetic 2010-01-22 19:17:00 +02:00
3a2fc9b7f6 * mu-msg-fields.c, mu.1: index the msg-id as well and document it 2010-01-22 19:16:47 +02:00
16dbed6a11 * mu_msg_gmime_get_field_string: fix MU_MSG_FIELD_ID_MSGID 2010-01-22 19:15:56 +02:00
8b89008c79 * fix logic inversion in mu_util_guess_maildir (debian #566183, issue #14) 2010-01-22 07:14:25 +02:00
2ef4ceb7ed * move config handling to mu-config, add --mode parameter for mkdir 2010-01-21 20:05:19 +02:00
fc64926c63 * mu_maildir_mkdir: add logging 2010-01-21 20:04:30 +02:00
3407e6db3b * mu-cmd: fix wrong help text 2010-01-17 14:03:01 +02:00
fdb69a85a4 * cosmetics 2010-01-16 15:28:17 +02:00
90c9b61d37 * update configuration files 2010-01-16 15:27:41 +02:00
6f48dbed79 * configure.ac, mu-maildir.c: some compatibility updates 2010-01-16 11:32:07 +02:00
5fd98d2e2e *.cc: remove _-prefixed functions (violates ISO-C) 2010-01-15 22:15:09 +02:00
da1e9a3841 * *.c: rename _prefixed function into non-prefixed ones (violates ISO) 2010-01-15 22:11:51 +02:00
223e3f95b0 * mu-maildir: tentative support for filesystems without d_type in dirent
(untested)
2010-01-15 08:45:39 +02:00
79ef6fe87a * mu_query_combine: refactor, reduce complexity 2010-01-13 22:35:16 +02:00
5fb08c66d1 * cosmetic 2010-01-11 20:47:01 +02:00
191630b302 * mu-index: add some comment about the new up-to-data check 2010-01-11 20:46:48 +02:00
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
95bb6f9756 * mu-cmd: fix error in links while-loop, some cleanups 2010-01-10 13:02:13 +02:00
7b01eea5e7 * mu-cmd.c: improve error handling (when mu_index_new fails) 2010-01-10 12:18:15 +02:00
6efcfb4616 * mu-util.h: make exceptions create criticals (just like g_return_if_fail & friends) 2010-01-10 12:11:38 +02:00
460a4ecf65 * mu-cmd.c: query=>find and de-activate the cleanup command for now 2010-01-08 20:55:45 +02:00
c2ff9b3f25 * mu-config: make cleanup the default, and nocleanup an option; + some cosmetics 2010-01-08 20:54:55 +02:00
5a1be9fa01 * mu-index: cosmetics 2010-01-08 20:54:01 +02:00
5e7a920336 * mu-log: cosmetics 2010-01-08 20:53:40 +02:00
b502353017 * mu-maildir.[ch]: cosmetics 2010-01-08 20:53:21 +02:00
4b578ad52b * mu-msg-fields: document public functions 2010-01-08 20:52:50 +02:00
abc3c247ee * mu-msg-str: use G_GNUC_WARN_UNUSED_RESULT where it makes sense 2010-01-08 20:52:11 +02:00
d95193d718 * mu-msg-xapian.cc: plug some exception leaks; bit of cleanup 2010-01-08 20:51:25 +02:00
3252ba6d5d * mu-msg-xapian.h: document the public functions 2010-01-08 20:50:51 +02:00
a87e3cadd5 * mu-query-xapian.cc: plug a few exception-catching wholes 2010-01-08 20:49:55 +02:00
287a17f225 * mu-query-xapain.h: use G_GNUC_WARN_UNUSED_RESULT in function that return results that must be freed 2010-01-08 20:49:16 +02:00
3b18fa9682 * mu-store-xapian: catch exceptions in dtor 2010-01-08 20:47:13 +02:00
affe20551a * mu-util.h: don't include config.h 2010-01-08 20:46:04 +02:00
bf6ce56082 * cosmetics 2010-01-08 20:45:28 +02:00
653f730e3b * mu-cmd: print, return error when no matches are found; small cleanups 2010-01-08 08:57:19 +02:00
b5292f8cad * mu-index: cosmetic 2010-01-07 21:52:44 +02:00
eeae067249 * mu-msg-gmime: bit of refactoring, to satisfy cc10 2010-01-07 21:52:31 +02:00
c84e9935ec * update copyright info; add cc10 cyclomatic complexity check 2010-01-07 21:52:10 +02:00
6dc22919af * mu-cmd: logging, output improvements 2010-01-07 09:01:52 +02:00