Commit Graph

577 Commits

Author SHA1 Message Date
3b1fbb79e9 * mu-log: refactor a bit to stay within cc-limits 2010-02-04 22:44:42 +02:00
9206894e02 * implement 'mu view' 2010-02-04 22:44:05 +02:00
fa08d66380 * remove mu_query_xapian_combine; let Xapian handle it. add
mu_util_str_from_strv for combining strings
2010-02-03 21:06:31 +02:00
a2d1692dda * implement automatic log file cleanup, document it 2010-02-03 21:01:08 +02:00
7af1775c3d * mu-config: add some missing struct members in init 2010-02-02 21:54:00 +02:00
5b6101ef15 * mu-cmd-index.c: don't require a writeable Maildir 2010-02-02 21:53:28 +02:00
529c5b84db * src/Makefile.am: add AM_CFLAGS, AM_CXXFLAGS with strict warnings
(but no -Werror as we don't want to break builds if some compiler other than
  mine barfs)
2010-02-02 21:52:59 +02:00
a4ca5304a6 * refactor convert_to_utf8 (GMimePart *part, char *buffer) 2010-02-02 21:50:35 +02:00
ea2802f1ce * update some test files / cleanup Makefile.am to work with distcheck
(mainly fix the false assumptions on the build dirs)
2010-02-02 21:48:41 +02:00
3b253adf43 * test-mu-common.[ch]: centralize some common test code 2010-02-02 21:47:19 +02:00
14c61ba502 * rename msg files to use the ! rather than : separator, which broke distcheck 2010-02-02 21:46:40 +02:00
1d75aea016 * mu-find: some fixes for the nothing-matches case 2010-02-02 08:46:55 +02:00
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
fe3aa7772a * mu_msg_gmime: refactor part_to_string; set function line number check to < 40 2010-01-31 23:55:22 +02:00
22e9d22c17 * <many>: refactor querying a bit 2010-01-31 20:36:56 +02:00
a5ea077357 * test-mu-query.c: add some test cases 2010-01-31 17:37:14 +02:00
3c74b9aa6e * mu-query-xapian: fix silly typo (s/ANO/AND/) that screwed up some searches 2010-01-31 14:17:23 +02:00
e017e658de * mu-util-xapian.cc: don't log db version for each query 2010-01-31 14:16:25 +02:00
db55e8cf7d * mu-cmd.c: move cmd_view stub to mu_cmd_find 2010-01-31 14:15:43 +02:00
9725f41258 * mu-cmd-find: add some documentation, mu_cmd_view stub 2010-01-31 14:14:56 +02:00
4eb9f8049b * tests: add some test cases for querying. add dummy.cc to enforce C++ linking 2010-01-31 14:14:19 +02:00
c4bac8306e * mu-cmd-index: add documentation, don't print \n in quiet mode 2010-01-31 13:34:04 +02:00
ee946a7f70 * add missing glib/gstdio.h include 2010-01-31 12:15:00 +02:00
12dc28e3e9 * update database up-to-date and/or empty checks 2010-01-31 12:14:25 +02:00
143f8c007d * cosmetics 2010-01-31 12:13:46 +02:00
8ed3eb9276 * mu-index.[ch]: minor changes 2010-01-31 12:13:06 +02:00
8cbd6384a7 * mu-log: fix C++ linking 2010-01-31 12:12:41 +02:00
d339a4b4bb * refactoring: split off 'mu find' and 'mu index' stuff from mu-cmd into
separate files
2010-01-31 12:12:04 +02:00
a2fd42c8a2 * mu.c => mu.cc: force c++-linking 2010-01-31 12:10:21 +02:00
5b0a9c04ff * src/tests/Makefile.am: add the test mails to EXTRA_DIST 2010-01-29 08:20:36 +02:00
cf0ba86d17 * WIP: mu view 2010-01-29 00:35:05 +02:00
c5dc8f044d * add many unit tests 2010-01-28 22:21:57 +02:00
a411a9964b * add unit tests for mu_maildir_mkdir 2010-01-27 08:15:08 +02:00
2bdfb40faf * add unit test for mu_util_check_dir 2010-01-25 22:21:11 +02:00
3b8f908fa6 * tests: add tests for mu_util_dir_expand and mu_util_guess_maildir 2010-01-25 13:27:02 +02:00
afcd800a2e * set up (unit) test framework using gtester 2010-01-25 10:24:33 +02:00
92202ac6eb * split mu bulding in libmu noinst lib and mu.c. 2010-01-25 09:43:53 +02:00
fb7e358912 * implement signal handler for mu index, and document it 2010-01-25 09:28:08 +02:00
9ba4b29bba * mu-maildir: some refactoring, fix clearlinks issue 2010-01-24 14:55:22 +02:00
f752584002 * mu-cmd: enable the 'help' and 'cleanup' commands 2010-01-24 13:15:43 +02:00
0b3de03d9d * mu-query-xapian: support batchsize == 0; use the db->get_doccount in that case 2010-01-24 13:15:04 +02:00
cf6c5d0a84 * cosmetics 2010-01-24 01:37:26 +02:00
c3b90e6364 * implement & use the new batch stuff, small fixes 2010-01-24 00:52:15 +02:00
0a90c0e350 * mu-query-xapian.{cc,h}: add batch param, add documentation, cosmetics 2010-01-24 00:51:17 +02:00
74b2cc5e69 * mu-util-xapian: do extra logging, small updates 2010-01-24 00:50:23 +02:00
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