1
0
mirror of https://github.com/djcb/mu.git synced 2024-06-26 07:29:17 +02:00
Commit Graph

400 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema
d339a4b4bb * refactoring: split off 'mu find' and 'mu index' stuff from mu-cmd into
separate files
2010-01-31 12:12:04 +02:00
Dirk-Jan C. Binnema
a2fd42c8a2 * mu.c => mu.cc: force c++-linking 2010-01-31 12:10:21 +02:00
Dirk-Jan C. Binnema
5b0a9c04ff * src/tests/Makefile.am: add the test mails to EXTRA_DIST 2010-01-29 08:20:36 +02:00
Dirk-Jan C. Binnema
cf0ba86d17 * WIP: mu view 2010-01-29 00:35:05 +02:00
Dirk-Jan C. Binnema
c5dc8f044d * add many unit tests 2010-01-28 22:21:57 +02:00
Dirk-Jan C. Binnema
a411a9964b * add unit tests for mu_maildir_mkdir 2010-01-27 08:15:08 +02:00
Dirk-Jan C. Binnema
2bdfb40faf * add unit test for mu_util_check_dir 2010-01-25 22:21:11 +02:00
Dirk-Jan C. Binnema
3b8f908fa6 * tests: add tests for mu_util_dir_expand and mu_util_guess_maildir 2010-01-25 13:27:02 +02:00
Dirk-Jan C. Binnema
afcd800a2e * set up (unit) test framework using gtester 2010-01-25 10:24:33 +02:00
Dirk-Jan C. Binnema
92202ac6eb * split mu bulding in libmu noinst lib and mu.c. 2010-01-25 09:43:53 +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
9ba4b29bba * mu-maildir: some refactoring, fix clearlinks issue 2010-01-24 14:55:22 +02:00
Dirk-Jan C. Binnema
f752584002 * mu-cmd: enable the 'help' and 'cleanup' commands 2010-01-24 13:15:43 +02:00
Dirk-Jan C. Binnema
0b3de03d9d * mu-query-xapian: support batchsize == 0; use the db->get_doccount in that case 2010-01-24 13:15:04 +02:00
Dirk-Jan C. Binnema
cf6c5d0a84 * cosmetics 2010-01-24 01:37:26 +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
0a90c0e350 * mu-query-xapian.{cc,h}: add batch param, add documentation, cosmetics 2010-01-24 00:51:17 +02:00
Dirk-Jan C. Binnema
74b2cc5e69 * mu-util-xapian: do extra logging, small updates 2010-01-24 00:50:23 +02:00
Dirk-Jan C. Binnema
9967751b1d * rename MuMsgXapian => MuMsgIterXapian 2010-01-23 23:34:27 +02:00
Dirk-Jan C. Binnema
a4720547de * use -n for --nocleanup 2010-01-23 22:02:26 +02:00
Dirk-Jan C. Binnema
a4bdb311ec * introduce --empty and --autoupgrade, and document them 2010-01-23 21:57:57 +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
9e5e63d1ae * cosmetic 2010-01-23 14:13:04 +02:00
Dirk-Jan C. Binnema
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
Dirk-Jan C. Binnema
366fe26fdb * .*_transaction_if => *._trx_if (rename) 2010-01-23 13:41:42 +02:00
Dirk-Jan C. Binnema
f5d785cad2 * mu-log: cosmetic 2010-01-23 12:30:09 +02:00
Dirk-Jan C. Binnema
f6befa53b3 * mu-cmd: some very minor cleanups 2010-01-23 12:29:57 +02:00
Dirk-Jan C. Binnema
3743fb2b39 * mu-store-xapian: don't use terms, only use values 2010-01-22 22:08:04 +02:00
Dirk-Jan C. Binnema
891f0ad3df * mu-store-xapian: truncate overly long Xapian terms to so it doesn't throw 2010-01-22 19:18:23 +02:00
Dirk-Jan C. Binnema
03ff32d9c8 * cosmetic 2010-01-22 19:17:00 +02:00
Dirk-Jan C. Binnema
3a2fc9b7f6 * mu-msg-fields.c, mu.1: index the msg-id as well and document it 2010-01-22 19:16:47 +02:00
Dirk-Jan C. Binnema
16dbed6a11 * mu_msg_gmime_get_field_string: fix MU_MSG_FIELD_ID_MSGID 2010-01-22 19:15:56 +02:00
Dirk-Jan C. Binnema
8b89008c79 * fix logic inversion in mu_util_guess_maildir (debian #566183, issue #14) 2010-01-22 07:14:25 +02:00
Dirk-Jan C. Binnema
2ef4ceb7ed * move config handling to mu-config, add --mode parameter for mkdir 2010-01-21 20:05:19 +02:00
Dirk-Jan C. Binnema
fc64926c63 * mu_maildir_mkdir: add logging 2010-01-21 20:04:30 +02:00
Dirk-Jan C. Binnema
3407e6db3b * mu-cmd: fix wrong help text 2010-01-17 14:03:01 +02:00
Dirk-Jan C. Binnema
fdb69a85a4 * cosmetics 2010-01-16 15:28:17 +02:00
Dirk-Jan C. Binnema
90c9b61d37 * update configuration files 2010-01-16 15:27:41 +02:00
Dirk-Jan C. Binnema
6f48dbed79 * configure.ac, mu-maildir.c: some compatibility updates 2010-01-16 11:32:07 +02:00
Dirk-Jan C. Binnema
5fd98d2e2e *.cc: remove _-prefixed functions (violates ISO-C) 2010-01-15 22:15:09 +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
223e3f95b0 * mu-maildir: tentative support for filesystems without d_type in dirent
(untested)
2010-01-15 08:45:39 +02:00
Dirk-Jan C. Binnema
79ef6fe87a * mu_query_combine: refactor, reduce complexity 2010-01-13 22:35:16 +02:00
Dirk-Jan C. Binnema
5fb08c66d1 * cosmetic 2010-01-11 20:47:01 +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
95bb6f9756 * mu-cmd: fix error in links while-loop, some cleanups 2010-01-10 13:02:13 +02:00
Dirk-Jan C. Binnema
7b01eea5e7 * mu-cmd.c: improve error handling (when mu_index_new fails) 2010-01-10 12:18:15 +02:00
Dirk-Jan C. Binnema
6efcfb4616 * mu-util.h: make exceptions create criticals (just like g_return_if_fail & friends) 2010-01-10 12:11:38 +02:00
Dirk-Jan C. Binnema
460a4ecf65 * mu-cmd.c: query=>find and de-activate the cleanup command for now 2010-01-08 20:55:45 +02:00
Dirk-Jan C. Binnema
c2ff9b3f25 * mu-config: make cleanup the default, and nocleanup an option; + some cosmetics 2010-01-08 20:54:55 +02:00
Dirk-Jan C. Binnema
5a1be9fa01 * mu-index: cosmetics 2010-01-08 20:54:01 +02:00
Dirk-Jan C. Binnema
5e7a920336 * mu-log: cosmetics 2010-01-08 20:53:40 +02:00
Dirk-Jan C. Binnema
b502353017 * mu-maildir.[ch]: cosmetics 2010-01-08 20:53:21 +02:00
Dirk-Jan C. Binnema
4b578ad52b * mu-msg-fields: document public functions 2010-01-08 20:52:50 +02:00
Dirk-Jan C. Binnema
abc3c247ee * mu-msg-str: use G_GNUC_WARN_UNUSED_RESULT where it makes sense 2010-01-08 20:52:11 +02:00
Dirk-Jan C. Binnema
d95193d718 * mu-msg-xapian.cc: plug some exception leaks; bit of cleanup 2010-01-08 20:51:25 +02:00
Dirk-Jan C. Binnema
3252ba6d5d * mu-msg-xapian.h: document the public functions 2010-01-08 20:50:51 +02:00
Dirk-Jan C. Binnema
a87e3cadd5 * mu-query-xapian.cc: plug a few exception-catching wholes 2010-01-08 20:49:55 +02:00
Dirk-Jan C. Binnema
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
Dirk-Jan C. Binnema
3b18fa9682 * mu-store-xapian: catch exceptions in dtor 2010-01-08 20:47:13 +02:00
Dirk-Jan C. Binnema
affe20551a * mu-util.h: don't include config.h 2010-01-08 20:46:04 +02:00
Dirk-Jan C. Binnema
bf6ce56082 * cosmetics 2010-01-08 20:45:28 +02:00
Dirk-Jan C. Binnema
653f730e3b * mu-cmd: print, return error when no matches are found; small cleanups 2010-01-08 08:57:19 +02:00
Dirk-Jan C. Binnema
b5292f8cad * mu-index: cosmetic 2010-01-07 21:52:44 +02:00
Dirk-Jan C. Binnema
eeae067249 * mu-msg-gmime: bit of refactoring, to satisfy cc10 2010-01-07 21:52:31 +02:00
Dirk-Jan C. Binnema
c84e9935ec * update copyright info; add cc10 cyclomatic complexity check 2010-01-07 21:52:10 +02:00
Dirk-Jan C. Binnema
6dc22919af * mu-cmd: logging, output improvements 2010-01-07 09:01:52 +02:00
Dirk-Jan C. Binnema
b267cb95e0 * mu-index: cosmetics 2010-01-07 09:01:24 +02:00
Dirk-Jan C. Binnema
979887a36e * mu-maildir: use ctime instead of mtime, some cosmetics 2010-01-07 09:00:48 +02:00
Dirk-Jan C. Binnema
7c6f09e6fc * mu-msg-gmime: logging improvements 2010-01-07 09:00:08 +02:00
Dirk-Jan C. Binnema
e47606c340 * cosmetics 2010-01-07 08:59:48 +02:00
Dirk-Jan C. Binnema
3e81be3c1e * mu-util: improve xapian exception error logging 2010-01-07 08:42:01 +02:00
Dirk-Jan C. Binnema
165ba1f440 * mu-config.c: better command line options for some options 2010-01-06 21:43:28 +02:00
Dirk-Jan C. Binnema
1f7b7ba0a1 * mu-log.[ch]: still log to the log file with --quiet 2010-01-06 21:42:59 +02:00
Dirk-Jan C. Binnema
fdae866ccd * mu-msg-field.(ch): some cosmetics 2010-01-06 21:41:58 +02:00
Dirk-Jan C. Binnema
9b96a42c81 * mu.c: cleanups, do 'quiet' a bit differently 2010-01-06 21:41:23 +02:00
Dirk-Jan C. Binnema
155a73bf41 * mu-query-xapian: use the new macros, cleanups 2010-01-06 01:30:45 +02:00
Dirk-Jan C. Binnema
302a97b04c * mu-query-xapian: logging fixes 2010-01-06 01:28:00 +02:00
Dirk-Jan C. Binnema
e56743d9c5 * mu-msg-gmime: refactoring, cleanups 2010-01-06 01:27:38 +02:00
Dirk-Jan C. Binnema
f28cb97a5d * mu-msg-flags: better logging 2010-01-06 01:27:03 +02:00
Dirk-Jan C. Binnema
498c6418df * mu-maildir: better logging 2010-01-06 01:26:41 +02:00
Dirk-Jan C. Binnema
5f27884689 * mu-log: handle G_LOG_LEVEL_MESSAGE better 2010-01-06 01:26:18 +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
8262f2c4d8 * mu-config.[ch]: better option checking, default setting, fix some small leaks 2010-01-06 01:24:37 +02:00
Dirk-Jan C. Binnema
d0592a2aa9 * mu-cmd: better parameter checks, improve output 2010-01-06 01:23:00 +02:00
Dirk-Jan C. Binnema
b6ba6176a4 * mu_store_xapian.{cc,h}: use new macros, cleanups. add mu_store_xapian_flush 2010-01-06 01:20:30 +02:00
Dirk-Jan C. Binnema
0bb240cbb0 * mu-util.h: add Xapian exception macros, add MU_WRITE_LOG macro 2010-01-06 01:19:18 +02:00
Dirk-Jan C. Binnema
3b1b4926bf * mu-util.[ch]: add mu_util_check_dir (to check for
existence/readability/writability of dirs
2010-01-06 01:18:24 +02:00
Dirk-Jan C. Binnema
39192b7a42 * mu-query-xapian: fix typo (inverted conditional) 2010-01-05 09:34:30 +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
4bc30783b1 * mu-(query|store)-xapian.cc, mu-util.h: define/use macro for catch blocks to
declutter my code
2010-01-05 08:32:23 +02:00
Dirk-Jan C. Binnema
e28b9dcdf3 * mu-cmd: improve cleanup, index output: print final stats 2010-01-04 22:50:56 +02:00
Dirk-Jan C. Binnema
620b7dc8c3 * mu-index: improve stats 2010-01-04 22:50:26 +02:00
Dirk-Jan C. Binnema
1ce4469bca * mu-index.h: make stats size_t 2010-01-04 22:50:14 +02:00
Dirk-Jan C. Binnema
8aee842759 * mu-store-xapian: fix replacing document (correctly set uid) 2010-01-04 22:49:24 +02:00
Dirk-Jan C. Binnema
dec26eeb77 * mu-cmd: don't print newline when quiet with _cmd_index and _cmd_cleanup 2010-01-04 21:23:03 +02:00
Dirk-Jan C. Binnema
b2c2c44ee6 * mu-cmd: add cleanup command, de-activate 'link' and 'help' 2010-01-04 20:21:03 +02:00
Dirk-Jan C. Binnema
cb2b5b555f * mu-config: add cleanup option, expand all dir parameters (ie, "~") 2010-01-04 20:20:35 +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
Dirk-Jan C. Binnema
d8dba2bb2c * mu-log: create log dir if needed; don't try to close -1 sockets 2010-01-04 20:18:23 +02:00
Dirk-Jan C. Binnema
c45cf39fd2 * mu-maildir: make max file size 32Mb; ignore too big files, but do not raise an error 2010-01-04 20:17:12 +02:00
Dirk-Jan C. Binnema
16c305fcc3 * add mu_util_create_dir_maybe
to create a dir if it does not exist yet; if it does exist, make sure it's a
  read-writeable dir
2010-01-04 20:15:49 +02:00
Dirk-Jan C. Binnema
022d08530e * mu_index: WIP: mu_index_cleanup 2010-01-03 23:54:22 +02:00
Dirk-Jan C. Binnema
13f0df3afc * cosmetics 2010-01-03 23:53:49 +02:00
Dirk-Jan C. Binnema
5f095454b4 * mu-result: remove MU_IGNORE 2010-01-03 23:53:29 +02:00
Dirk-Jan C. Binnema
f754b47e66 * mu-store-xapian: add _foreach func, document all public functions 2010-01-03 23:53:04 +02:00
Dirk-Jan C. Binnema
3942a06cba * mu-msg-xapian: let _next skip messages that are not found on disk 2010-01-03 23:52:19 +02:00
Dirk-Jan C. Binnema
5fad1f2dd7 * mu-cmd: remove help command for now 2010-01-03 23:49:45 +02:00
Dirk-Jan C. Binnema
877be154d0 * mu-cmd support clearlinks / mu_maildir_clear_links 2010-01-03 13:42:23 +02:00
Dirk-Jan C. Binnema
b94c4ae659 * mu-config: add 'clearlinks' option 2010-01-03 13:41:56 +02:00
Dirk-Jan C. Binnema
0dd884f3b8 * WIP: mu_index_cleanup 2010-01-03 13:41:32 +02:00
Dirk-Jan C. Binnema
a36ba0420b * add MU_IGNORE (for use in cleanup) 2010-01-03 13:41:11 +02:00
Dirk-Jan C. Binnema
340dd1f94e * add mu_maildir_clear_links to remove symlinks from a maildir 2010-01-03 13:40:40 +02:00
Dirk-Jan C. Binnema
e0de3a97e4 * update option parsing (don't need 'ascending' anymore) 2010-01-02 16:07:07 +02:00
Dirk-Jan C. Binnema
308160d418 * cosmetic 2010-01-02 16:06:46 +02:00
Dirk-Jan C. Binnema
7c3b89fcc1 * mu-cmd: don't stop when sources for links are missing 2010-01-02 16:06:36 +02:00
Dirk-Jan C. Binnema
09b8437a8a * mu-log: fix logging oversized messages 2010-01-02 16:05:55 +02:00
Dirk-Jan C. Binnema
ae5c92fc7a * mu_maildir_walk: skip the final / from dirnames 2010-01-02 16:05:23 +02:00
Dirk-Jan C. Binnema
b1a9cf8450 * refactoring, cleanup of the configuration / command system 2010-01-02 14:44:26 +02:00
Dirk-Jan C. Binnema
1bfdc73547 * small cleanups 2010-01-01 21:00:09 +02:00
Dirk-Jan C. Binnema
0f5ab59e62 * <many>: refactor command parsing / checking a bit 2010-01-01 20:44:19 +02:00
Dirk-Jan C. Binnema
144fffc4be * mu-maildir: represent srcpath in symlink target, so things work if there are copies 2010-01-01 16:34:40 +02:00
Dirk-Jan C. Binnema
05400c83d8 * mu-maildir: use warnings instead of GErrors 2010-01-01 16:15:41 +02:00
Dirk-Jan C. Binnema
9c64be3d22 * mu-log.c: change log format a bit 2010-01-01 16:15:11 +02:00
Dirk-Jan C. Binnema
4890ad0216 * update copyright year => 2010 2010-01-01 15:56:45 +02:00
Dirk-Jan C. Binnema
5b0fb90230 * move all Maildir funcs to mu-maildir.[ch] 2010-01-01 15:51:50 +02:00
Dirk-Jan C. Binnema
1cd004c9b7 * implement output-as-symlinks-to-messages functionality 2010-01-01 15:37:39 +02:00
Dirk-Jan C. Binnema
366c1ea44f * add symlink support, code refactoring 2009-12-31 19:27:41 +02:00
Dirk-Jan C. Binnema
f8ba8fbd3c * add mkmdir support 2009-12-31 14:25:20 +02:00
Dirk-Jan C. Binnema
6b666d4358 * many: rename mu_path into mu_walk 2009-12-31 12:58:46 +02:00
Dirk-Jan C. Binnema
ce12c93aef * mu-msg-fields: index msg path as well (so we can search them) 2009-12-23 23:44:06 +01:00
Dirk-Jan C. Binnema
fe3612c31b * mu-config: small textual updates 2009-12-23 23:41:56 +01:00
Dirk-Jan C. Binnema
8e2c68c86e * mu-query-xapian.cc: cosmetics 2009-12-23 23:39:49 +01:00
Dirk-Jan C. Binnema
403ff4798d * mu.c: cosmetics 2009-12-23 23:39:22 +01:00
Dirk-Jan C. Binnema
9a55927767 * mu-path: fix the direntries to ignore, add some comments 2009-12-23 10:37:29 +01:00
Dirk-Jan C. Binnema
41e910b7ff * mu-path: only ignore *some* dot-dirs, not all 2009-12-12 19:01:42 +02:00
Dirk-Jan C. Binnema
9792e3c4e1 * mu-config, mu-query: implement sortfield and ascending/descending 2009-12-11 23:55:35 +02:00
Dirk-Jan C. Binnema
1cff4534b8 * mu-util: remove unneeded argv->gslist conversion funcs 2009-12-11 22:08:49 +02:00
Dirk-Jan C. Binnema
390b3db86f * mu-query-xapian: take a char** for combine; improve _get_query err handling 2009-12-11 22:06:49 +02:00
Dirk-Jan C. Binnema
3a7d6dfd34 * mu-query: take a char** instead of a gslist 2009-12-11 22:06:16 +02:00
Dirk-Jan C. Binnema
7dc44abd9d * update to use config->params instead of argv 2009-12-11 22:05:50 +02:00
Dirk-Jan C. Binnema
9e5e2b04e8 * mu-config: gather all the remaining args 2009-12-11 22:04:54 +02:00
Dirk-Jan C. Binnema
2873a92a33 * mu-config: rationalize the command line params a bit 2009-12-11 19:45:37 +02:00
Dirk-Jan C. Binnema
79ecb1a0fd * refactor getting to/cc, combine the logic, less code 2009-12-11 19:44:57 +02:00
Dirk-Jan C. Binnema
39f1936b82 * mu-query-xapian.c: free self in _destroy; small leak fix 2009-12-11 19:44:05 +02:00
Dirk-Jan C. Binnema
ef6d35f555 * mu.c: free the config option (small leak fix) 2009-12-11 19:43:18 +02:00
Dirk-Jan C. Binnema
94715a4bf9 * mu-index.c: cosmetics 2009-12-10 00:11:30 +02:00
Dirk-Jan C. Binnema
7a997a4d98 * mu-msg-gmime: add note 2009-12-10 00:11:09 +02:00
Dirk-Jan C. Binnema
f3993e778c * mu-query: cosmetics 2009-12-10 00:10:43 +02:00
Dirk-Jan C. Binnema
67e299bae5 * mu-path: cosmetics 2009-12-10 00:10:25 +02:00
Dirk-Jan C. Binnema
64ea16b1a8 * mu-msg-fields; mu-store-xapian: fix body indexing 2009-12-09 20:21:28 +02:00
Dirk-Jan C. Binnema
e3a834da74 * mu-util.c: fix _is_readable_dir 2009-12-09 20:01:04 +02:00
Dirk-Jan C. Binnema
b48e44f7c9 * mu-config,mu-util.[ch]: try MAILDIR, they ~/Maildir as a guess for the maildir 2009-12-09 19:53:30 +02:00
Dirk-Jan C. Binnema
1e2054d19b * mu-path: implement ignoring dirs that contain a '.noindex' file 2009-12-09 08:53:51 +02:00
Dirk-Jan C. Binnema
e15ecb291b * mu-msg-fields: documentation, some cosmetics 2009-12-09 08:06:27 +02:00
Dirk-Jan C. Binnema
da79298ade * mu.c: fix leak in argument parsing 2009-12-09 00:54:14 +02:00
Dirk-Jan C. Binnema
42a9414242 * mu-query: don't try to print fields which are not in xapian 2009-12-09 00:05:23 +02:00
Dirk-Jan C. Binnema
0dc999ffb2 * cleanup mu_msg_str_prio 2009-12-09 00:03:53 +02:00
Dirk-Jan C. Binnema
e14703b58e * mu-msg-fields: rewrite the loops a bit 2009-12-09 00:03:14 +02:00
Dirk-Jan C. Binnema
630a800ab2 * mu-config: fix some -Wextra warnings 2009-12-09 00:02:55 +02:00
Dirk-Jan C. Binnema
7a08af1cc6 * mu-msg-xapian: cosmetics 2009-12-09 00:02:39 +02:00
Dirk-Jan C. Binnema
edf898f7d8 * cosmetics 2009-12-09 00:02:10 +02:00
Dirk-Jan C. Binnema
71abd126cd * mu-query-xapian: make the C++ more like C
mixing styles leads to weird errors
2009-12-09 00:01:49 +02:00
Dirk-Jan C. Binnema
3f37abaed3 * mu-query-xapian: escape AND/OR/NOT in query element lists 2009-12-07 00:22:42 +02:00
Dirk-Jan C. Binnema
4ff5878eca * mu-msg-xapian, mu-store-xapian: remove unused vars 2009-12-05 20:11:55 +02:00
Dirk-Jan C. Binnema
91f2befcec * mu-config: set some more sensible defaults 2009-12-05 20:11:18 +02:00
Dirk-Jan C. Binnema
c16cea11c9 * mu-query.*: fix querying after recent changes 2009-12-05 20:10:58 +02:00
Dirk-Jan C. Binnema
81ddde3f34 * mu-index: initialize stat struct to zero 2009-12-05 16:38:47 +02:00
Dirk-Jan C. Binnema
e20424e7ee * mu.c: improve indexing output 2009-12-05 16:38:02 +02:00
Dirk-Jan C. Binnema
817ae22169 * mu-store-xapian.cc: increase transaction size to 2000 2009-12-05 16:37:45 +02:00
Dirk-Jan C. Binnema
107852b79d * mu-query-xapian: fix some error cases (exceptions) 2009-12-05 16:05:15 +02:00
Dirk-Jan C. Binnema
3f169f72aa * mu-log: set the default handler, fixes logging 2009-12-05 16:00:23 +02:00
Dirk-Jan C. Binnema
63a2680873 * mu.c: accept 'info' as alias for 'help' 2009-12-05 13:13:19 +02:00
Dirk-Jan C. Binnema
10999ffdb5 * mu.c: use the mudir from the configuration, instead of the hardcoded hack 2009-12-02 23:17:44 +02:00
Dirk-Jan C. Binnema
ef553bef06 * mu-index.[ch]: take the mu-dir as parameter for mu_index_new
the xapian dir is a subdir of this one. Also remove an unneeded function decl
2009-12-02 23:16:57 +02:00
Dirk-Jan C. Binnema
307a134758 * mu.c: integrate with the new logging loggic 2009-11-30 00:05:05 +02:00
Dirk-Jan C. Binnema
c1ee557b9b * mu-log: nobody owns silence 2009-11-30 00:04:43 +02:00
Dirk-Jan C. Binnema
06ad732d81 * expand dir names (ie. ~/Maildir => /home/user/Maildir); add init/uninit 2009-11-30 00:04:16 +02:00
Dirk-Jan C. Binnema
1b30f4c8e5 * mu-util: use wordexp for shell-like expansion 2009-11-30 00:03:03 +02:00
Dirk-Jan C. Binnema
593a9af318 * mu.c: some cosmetics in --version output 2009-11-29 22:49:45 +02:00
Dirk-Jan C. Binnema
95a2120087 * Makefile.am: add mu-log to the build 2009-11-29 22:49:11 +02:00
Dirk-Jan C. Binnema
bc73f84e5b * mu-log: add initial implementation of mu logging 2009-11-29 22:48:49 +02:00
Dirk-Jan C. Binnema
30d5a1335e * mu-query: cosmetics 2009-11-28 20:56:44 +02:00
Dirk-Jan C. Binnema
bc99a753da * mu, mu-config: add --version, prepare logging support 2009-11-28 20:55:50 +02:00
Dirk-Jan C. Binnema
8c74e0569d * mu-config, mu-query: clear up sortfield handling 2009-11-28 16:48:50 +02:00
Dirk-Jan C. Binnema
8bd5cff58d * mu-path: set max size for mail files to 15000000 bytes 2009-11-28 15:18:28 +02:00
Dirk-Jan C. Binnema
b93402f705 * remove the '--print' option; it's implicit 2009-11-28 14:54:46 +02:00
Dirk-Jan C. Binnema
b4551febd2 * mu-msg-fields: don't store prio, size in Xapian 2009-11-28 14:47:57 +02:00
Dirk-Jan C. Binnema
7d68e6fbbd * mu-store-xapian: fix indexing of body contents 2009-11-28 14:47:11 +02:00
Dirk-Jan C. Binnema
441d1e7cc7 * add mu-config.[ch] 2009-11-28 14:06:37 +02:00
Dirk-Jan C. Binnema
eaf8b1cba5 * overhaul the configuration system (part 1) 2009-11-28 14:06:21 +02:00
Dirk-Jan C. Binnema
7265485fb0 * mu-msg-fields.c, mu-store-xapian.cc: cosmetics 2009-11-26 20:30:15 +02:00
Dirk-Jan C. Binnema
1c666c91a0 * mu-query: remove some unsupported options 2009-11-26 20:29:42 +02:00
Dirk-Jan C. Binnema
fede192a7e * use the mu-index option group; rationalize option parsing, usage message 2009-11-26 20:29:17 +02:00
Dirk-Jan C. Binnema
836af9dcd4 * mu-index: use option group for options, add public function 2009-11-26 20:28:29 +02:00
Dirk-Jan C. Binnema
5affb62d7d * mu-store-xapian: cosmetic 2009-11-26 09:09:50 +02:00
Dirk-Jan C. Binnema
5e33af25c9 * mu-store-xapian: remove the UNLIKELY stuff, which unlikely to help 2009-11-26 09:09:13 +02:00
Dirk-Jan C. Binnema
2d96fcd210 * mu-store-xapian: remove the 'tune' function 2009-11-26 09:02:58 +02:00
Dirk-Jan C. Binnema
2b0aca1bf7 * initial import of mu - the next generation 2009-11-25 22:55:06 +02:00