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

512 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema
e3599d4d4f * mu-msg.c: improve error handling for message with text|html body 2010-09-13 23:58:48 +03:00
Dirk-Jan C. Binnema
50a3715654 * mu-cmd-index: make the little -\|/ rotation a bit slower 2010-09-13 23:46:33 +03:00
Dirk-Jan C. Binnema
1255c0e2de * mu-cmd-index.c: improve C-c output a bit 2010-09-13 23:39:37 +03:00
Dirk-Jan C. Binnema
6a3327e534 * test-mu-query.c: comment-out some debugging stuff 2010-09-13 21:27:33 +03:00
Dirk-Jan C. Binnema
4bfa9e0e5f * mu-msg: better error handling for invalid messages 2010-09-13 21:26:20 +03:00
Dirk-Jan C. Binnema
cd34353b27 * mu-cmd-index: simplify cmd-index, cmd-cleanup a bit 2010-09-13 21:25:30 +03:00
Dirk-Jan C. Binnema
88ed5a9a6f * tests: small cleanups 2010-09-12 23:38:34 +03:00
Dirk-Jan C. Binnema
ad4005bdf9 * mu-index: cosmetics 2010-09-12 21:39:36 +03:00
Dirk-Jan C. Binnema
1a8de6e1db * mu-maildir: return right MuResult from callback 2010-09-12 21:39:15 +03:00
Dirk-Jan C. Binnema
26f216efef * mu-cmd-index: improve time display 2010-09-12 21:38:01 +03:00
Dirk-Jan C. Binnema
893130e88e * mu-store: commit after 6666 message instead of 2000, speeds things up 2010-09-12 21:19:38 +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
9a32d86851 * mu-cmd-index: show some timing information for the indexing 2010-09-12 21:18:30 +03:00
Dirk-Jan C. Binnema
2fef78abc1 * mu-msg-contact: check for type of internetaddress (fixes some warning) +
small cleanups
2010-09-12 21:00:45 +03:00
Dirk-Jan C. Binnema
35bb2d143a * tests: updated for changes elsewhere, add new tests for searching messages 2010-09-12 16:33:18 +03:00
Dirk-Jan C. Binnema
1daf46f4ab * mark mu_msg_str_summarize with G_GNUC_WARN_UNUSED_RESULT 2010-09-12 16:32:22 +03:00
Dirk-Jan C. Binnema
5e50ed5dba * mu-index: cosmetic improvements in output 2010-09-12 16:31:39 +03:00
Dirk-Jan C. Binnema
7268fcf253 * mu-cmd-find.c: update for changes in mu-msg-fields 2010-09-12 16:31:12 +03:00
Dirk-Jan C. Binnema
80d3fb22b2 * mu-query: pre-process queries to work around some mismatches with xapian
query parsing
2010-09-12 16:30:29 +03:00
Dirk-Jan C. Binnema
bb3d9cc0b0 * mu-store/mu-msg-fields: special handling for To:/Cc:/From: so we can better
search for them.
2010-09-12 16:28:34 +03:00
Dirk-Jan C. Binnema
d9b5f2514a * mu-msg-contact: use the G_(BEGIN|END)_DECLS so it can be used from c++ 2010-09-12 16:26:02 +03:00
Dirk-Jan C. Binnema
41aa7370b8 * mu-log: remove unneeded \n in output 2010-09-12 16:25:06 +03:00
Dirk-Jan C. Binnema
9d1939240d * mu-cmd-index.c: replace printf with g_print 2010-09-12 13:39:19 +03:00
Dirk-Jan C. Binnema
4ecb207e15 * mu-cmd-index: shorten >33 line function 2010-09-11 11:25:43 +03:00
Dirk-Jan C. Binnema
c09cb1303b * cleanup, improve, refactor message summary 2010-09-11 11:19:58 +03:00
Dirk-Jan C. Binnema
aa1c7e9831 * mu-cmd-view.c: fix showing of body 2010-09-10 20:37:58 +03:00
Dirk-Jan C. Binnema
fd93663e8a * mu-msg.c: cosmetic 2010-09-10 20:37:38 +03:00
Dirk-Jan C. Binnema
80a08462d8 * update / add unit tests 2010-09-10 20:37:06 +03:00
Dirk-Jan C. Binnema
57fc2441a8 * <many>: make gmime initialization/de-initialization implicit (remove mu_msg_init/mu_msg_uninit) 2010-09-10 08:18:04 +03:00
Dirk-Jan C. Binnema
55981b27df * mu-query.cc: make queries a bit more eager to match (WIP)
ie., convert to lowercase, do STEM_SOME, not STEM_ALL
  this needs tweaking, more testing, but passed current unit tests
2010-09-09 08:21:01 +03:00
Dirk-Jan C. Binnema
b4d7ea5a36 * mu-maildir.c: minor, cosmetic 2010-09-09 08:19:00 +03:00
Dirk-Jan C. Binnema
1a98b2de64 * mu-cmd-index: minor, cosmetic 2010-09-09 08:18:14 +03:00
Dirk-Jan C. Binnema
42cdf60504 * mu-cmd-index: mention cleanup phase in user output 2010-09-09 08:17:50 +03:00
Dirk-Jan C. Binnema
ae50a6364e * mu-cmd-find: use mu_msg_iter_is_done 2010-09-09 08:17:00 +03:00
Dirk-Jan C. Binnema
3cc7d4ee89 * mu.cc: minor changes 2010-09-09 08:15:41 +03:00
Dirk-Jan C. Binnema
3a4bfe1362 * move some system-initialization to mu_util_init_system;
set G_SLICE env far to always-malloc on FreeBSD, as g_slice does not work
  correctly there.
2010-09-09 00:12:06 +03:00
Dirk-Jan C. Binnema
32a218d76e * cleanup testcase, update for mu_msg_iter_is_done 2010-09-09 00:09:33 +03:00
Dirk-Jan C. Binnema
d1f4ebde0b * rename mu_msg_iter_is_null => mu_msg_iter_is_done 2010-09-09 00:09:00 +03:00
Dirk-Jan C. Binnema
c6ebff4928 * use '-m' shortcut only for --maildir, not for --muhome... 2010-09-06 23:44:23 +03:00
Dirk-Jan C. Binnema
b7410acce8 * mu-cmd-index.c, mu-cmd-view.c, mu-msg-part.c: fix some overly long functions 2010-09-05 21:39:07 +03:00
Dirk-Jan C. Binnema
51790dd888 * mu-query: transfer queries to lowercase; this fixes some false-negatives 2010-09-05 21:21:26 +03:00
Dirk-Jan C. Binnema
60be96510f * test-mu-query.c: add test for mu_msg_iter_get_msg, summary 2010-09-05 13:01:33 +03:00
Dirk-Jan C. Binnema
8a285c7d0d * src/Makefile.am: add -Wdeclaration-after-statement to the warning flags for c-code 2010-09-05 12:39:08 +03:00
Dirk-Jan C. Binnema
956720df61 * mu.cc: add some comment about setlocale 2010-09-05 12:38:11 +03:00
Dirk-Jan C. Binnema
3b514b066f * mu-msg-(fields|flags): cosmetics 2010-09-05 12:37:47 +03:00
Dirk-Jan C. Binnema
b8f5451b06 * mu-msg-iter.{cc,h}: some cleanups, documentation updates 2010-09-05 12:37:12 +03:00
Dirk-Jan C. Binnema
572da91216 * add new test for non-ascii search 2010-09-04 14:37:19 +03:00
Dirk-Jan C. Binnema
c55831f7c7 * mu.cc: add some comment regarding setlocale 2010-09-04 14:32:33 +03:00
Dirk-Jan C. Binnema
b05359d344 * add test mail file, update unit test for number 2010-09-04 14:32:10 +03:00
Dirk-Jan C. Binnema
6b3272fb8c * mu.cc: setlocale (LC_ALL, "") to make non-ascii searches work 2010-09-04 12:58:45 +03:00
Dirk-Jan C. Binnema
0ad1fb1165 * update mu extract implementation, support --overwrite and --targetdir (WIP,
needs testing)
2010-09-01 23:35:34 +03:00
Dirk-Jan C. Binnema
a512cb64f4 * fix typo that broke unit test 2010-08-29 22:15:25 +03:00
Dirk-Jan C. Binnema
15ad934d81 * update attachment-extraction (ie., 'mu extract'); still WIP, but basics are working 2010-08-29 22:13:06 +03:00
Dirk-Jan C. Binnema
a7a08dde7f * add some extra error checking for the right command 2010-08-29 16:39:27 +03:00
Dirk-Jan C. Binnema
d5329d3696 * mu-config: add some config options for mu extract 2010-08-29 16:30:55 +03:00
Dirk-Jan C. Binnema
01ff6d4fc1 * remove some of the lesser-used single-char versions of command line args 2010-08-27 08:26:41 +03:00
Dirk-Jan C. Binnema
89f2182f03 * some minor cleanups 2010-08-27 00:25:07 +03:00
djcb
c771b9a705 * add missing test-mu-msg.c 2010-08-26 21:21:29 +03:00
djcb
2cd082c06b * rename MuStoreXapian => MuStore 2010-08-25 21:55:08 +03:00
djcb
0c04143bbc * rename MuQueryXapian => MuQuery 2010-08-25 21:46:16 +03:00
djcb
ba2cb41585 * rename mu-util-xapian => mu-util-db (and some leftovers) 2010-08-25 21:40:07 +03:00
djcb
b50a3dc245 * rename MuMsgIterXapian => MuMsgIter 2010-08-25 21:29:53 +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
f1bbb3fb96 * WIP: more attachment handling changes 2010-08-24 21:10:00 +03:00
Dirk-Jan C. Binnema
1b75323e1c * many: small cosmetic / documentation updates 2010-08-23 08:23:58 +03:00
djcb
43b1c0fcf1 * WIP: rough implementation of attachment extraction 2010-08-22 22:50:19 +03:00
djcb
db7c78cc2e * mu-msg-contact: small renaming 2010-08-22 19:31:54 +03:00
djcb
3cdb1f15ed * next step in attachment handling infra; still WIP 2010-08-22 19:31:21 +03:00
Dirk-Jan C. Binnema
596317b8dc * WIP: added MuMsgPartInfo (WIP) 2010-08-21 20:44:13 +03:00
Dirk-Jan C. Binnema
fc40900037 * some cleanup + beginnings of extract functionality 2010-08-20 21:38:54 +03:00
djcb
a4515de466 * update: some refactoring of commands 2010-08-20 21:07:36 +03:00
Dirk-Jan C. Binnema
7ea074431c * mu-msg-gmime: further cleanups 2010-08-19 23:14:13 +03:00
djcb
478a2ab3eb * mu-msg-gmime: cosmetics 2010-08-19 22:51:55 +03:00
djcb
d79b93a45d * mu-msg-gmime: fix contacts list bug, update unit tests 2010-08-19 22:44:57 +03:00
djcb
93590436c1 * MuMsgContact refactoring (split off) 2010-08-19 22:15:19 +03:00
Dirk-Jan C. Binnema
5fb3e7fd36 * mu-msg-util: some minor cosmetic fixes 2010-08-18 23:45:50 +03:00
Dirk-Jan C. Binnema
6b1fa8db25 * test-mu-msg-gmime: add some unit tests 2010-08-18 23:45:19 +03:00
Dirk-Jan C. Binnema
5e3aa6024f * mu-msg-gmime: slight doc update 2010-08-18 22:49:46 +03:00
Dirk-Jan C. Binnema
69c93430b9 * refactor: add mu_msg_iter_xapian_get_msg_gmime and use it 2010-08-18 22:49:10 +03:00
Dirk-Jan C. Binnema
145fd8f75c * WIP: start work on attachment handling in mu-msg-gmime
(and some cleanup)
2010-08-18 00:33:37 +03:00
Dirk-Jan C. Binnema
52e6fa5f32 * add some mu-msg-gmime unit tests 2010-08-18 00:18:42 +03:00
Dirk-Jan C. Binnema
bf163e3db5 * testdir/tmp: better file to ignore 2010-08-17 00:42:22 +03:00
Dirk-Jan C. Binnema
6b20dbd38e * don't require gio anymore, not even optionally 2010-08-17 00:41:37 +03:00
djcb
908ff418d5 * cosmetics 2010-08-15 20:44:10 +03:00
djcb
c576756f23 * add --summary-len option for mu view, and document it. 2010-08-15 20:43:58 +03:00
djcb
19217eef50 * mu-cmd-find: add support for summaries to 'mu find' (WIP) 2010-08-15 14:59:55 +03:00
djcb
f163db1c3a * cosmetic 2010-08-15 14:59:16 +03:00
djcb
6976d663f4 * cosmetic 2010-08-15 14:59:02 +03:00
djcb
00212179f1 * add the --summary-len options (defaults at zero)
(the '--summary' option has been removed, instead it's implied from
summary-len > 0)
2010-08-15 14:58:34 +03:00
djcb
9e24a093a7 * add mu_msg_gmime_get_summary, some cosmetics
mu_msg_gmime_get_summary returns the first /n/ lines of the message, with
  newlines removed. maybe this would need filling (word wrap), but that's not
  implemented yet.
2010-08-15 14:55:25 +03:00
djcb
2e6685bdeb * cosmetic: fix include tag 2010-08-15 13:33:32 +03:00
djcb
48affa6500 * mu-cmd-index: fix some casting warnings 2010-08-15 13:33:15 +03:00
djcb
30ee022b04 * mu-msg-str: use g_format_size_for_display when we have GLib >= 2.16 2010-08-15 13:32:43 +03:00
djcb
5a9904618a * mu-cmd, mu-cmd-index: small improvements in strings for users 2010-08-14 15:31:55 +03:00
djcb
6408c6345f * add --summary and --summary-len cmdline params
note: the underlying functionality is not there yet
2010-08-14 15:29:46 +03:00
djcb
488fef2d04 * unbreak the unit tests for git checkouts
the git version was broken because git doesn't accept empty dirs;
  added tmp/dummy to fix this.
2010-08-14 15:19:08 +03:00
Dirk-Jan C. Binnema
3f8a3ba97f * mu-log: it's not an error when moving the log file failed due to no gio 2010-08-14 13:21:24 +03:00
Dirk-Jan C. Binnema
12736b03db * mu-cmd-find: use g_debug, not g_warning when text body not found 2010-08-14 13:20:42 +03:00
Dirk-Jan C. Binnema
9b83bfe5eb * mu-index: cosmetic 2010-07-30 20:58:51 +03:00
Dirk-Jan C. Binnema
3787392c88 * candidate fix for the MacOS wordexp issue 2010-07-30 20:56:50 +03:00
Dirk-Jan C. Binnema
024c7535fb * mu-log: small cosmetics 2010-07-30 20:52:30 +03:00
Dirk-Jan C. Binnema
f2cc543baf * fix error handling of shell expansion (candidate fix for issue #23) 2010-07-26 12:12:43 +03:00
Dirk-Jan C. Binnema
7e2b3ff7a0 * mu_msg_iter_xapian_get_field_numeric: explicitly cast to gint64
this might resolve some build problems
2010-07-26 00:29:10 +03:00
Dirk-Jan C. Binnema
d621a8a502 * explicitly #include <signal.h> in mu-cmd-index.c 2010-07-25 19:13:56 +03:00
Dirk-Jan C. Binnema
38f5c8abeb * make requirement for GIO optional (issue #22) 2010-07-24 20:28:39 +03:00
Dirk-Jan C. Binnema
7895a1376b * tests/test-mu-query: add 'count_matches' function; add test_mu_query_03
(currently failing)
2010-03-02 17:27:08 +02:00
Dirk-Jan C. Binnema
abfde3a5b9 * mu-cmd-find.c: update help text (it's --rebuild, not --empty) 2010-02-20 14:36:43 +02:00
Dirk-Jan C. Binnema
451be4394d * mu-maildir: start maildirs (for the maildir: search param) with a slash
(well, G_DIR_SEPARATOR); thus, we can find mails in the 'root' maildir as
  well. When indexing under (say) ~/Maildir, a mail in cur will have maildir
  '/', and in foo/cur will have '/foo'
2010-02-15 20:24:00 +02:00
Dirk-Jan C. Binnema
01d6fbb257 * mu-cmd-index: restart 'processed' at 0 when cleaning up after indexing 2010-02-13 18:45:44 +02:00
Dirk-Jan C. Binnema
2846a40025 * mu-cmd-index.c: clear the stats before cleanup only when run as a separate
command
2010-02-13 14:08:45 +02:00
Dirk-Jan C. Binnema
01db6dcf45 * cosmetic 2010-02-11 20:20:50 +02:00
Dirk-Jan C. Binnema
302f7ea9d5 * mu-store-xapian.cc: remove obsolete comment 2010-02-11 20:20:34 +02:00
Dirk-Jan C. Binnema
5228495e56 * mu-msg-gmime.c: remove obsolete TODO 2010-02-11 20:20:03 +02:00
Dirk-Jan C. Binnema
d7bcf3df36 * mu-config.c: remove extra space 2010-02-11 20:19:43 +02:00
Dirk-Jan C. Binnema
2637989d93 * mu-cmd.c: small update in help text 2010-02-11 20:19:20 +02:00
Dirk-Jan C. Binnema
6f64f013be * test-mu-query.c: updated 2010-02-09 22:11:15 +02:00
Dirk-Jan C. Binnema
5414c396af * mu-msg-fields,mu.1: update some field codes, documentation 2010-02-09 22:10:58 +02:00
Dirk-Jan C. Binnema
a4471e6bdd * mu-maildir.c: small refactoring to satisfy 'make line33' 2010-02-09 21:53:12 +02:00
Dirk-Jan C. Binnema
c5dc61986a * cosmetics 2010-02-08 23:17:47 +02:00
Dirk-Jan C. Binnema
9a4340406b * mu-msg-gmime: fix leak when converting to utf8 2010-02-08 23:17:35 +02:00
Dirk-Jan C. Binnema
e01f37dc57 * tests/: update 2010-02-08 21:25:53 +02:00
Dirk-Jan C. Binnema
0dd39fcc57 * mu-query-xapian: minor update for name changes 2010-02-08 21:24:10 +02:00
Dirk-Jan C. Binnema
f520e41a62 * mu-store-xapian: more clearly separate index/term/value 2010-02-08 21:23:41 +02:00
Dirk-Jan C. Binnema
11ed5c7f96 * mu-cmd-find: update for the changes in mu-msg-gmime 2010-02-08 21:23:06 +02:00
Dirk-Jan C. Binnema
b19dabefba * mu-cmd-index: update for --empty => --rebuild 2010-02-08 21:22:30 +02: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
8f825b4816 * mu-msg-field: add support for maildir field; more clear separate
index/term/value for xapian
2010-02-08 21:20:11 +02:00
Dirk-Jan C. Binnema
b77004774c * mu-log: remove some crap from the to-screen logging 2010-02-08 21:19:17 +02:00
Dirk-Jan C. Binnema
b2c8f38c0c * mu-maildir: feed the maildir name to message callback
(ie., when the full path is ~/Maildir/foo/bar/cur/msg, the maildir is foo/bar)
2010-02-08 21:18:46 +02:00
Dirk-Jan C. Binnema
0dfd2060e3 * mu-msg-gmime: add support for the Maildir field 2010-02-08 21:17:11 +02:00
Dirk-Jan C. Binnema
5190a8bc58 * fix the wrong dirs that broke test cases 2010-02-05 18:54:27 +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
b416714622 * tests/: update test cases a bit 2010-02-04 22:48:13 +02:00
Dirk-Jan C. Binnema
dbcc57baa5 * mu-msg-iter-xapian: cosmetics 2010-02-04 22:47:16 +02:00
Dirk-Jan C. Binnema
d5e8aefc78 * mu-msg-gmime: update comments a bit 2010-02-04 22:46:54 +02:00
Dirk-Jan C. Binnema
3b1fbb79e9 * mu-log: refactor a bit to stay within cc-limits 2010-02-04 22:44:42 +02:00
Dirk-Jan C. Binnema
9206894e02 * implement 'mu view' 2010-02-04 22:44:05 +02:00
Dirk-Jan C. Binnema
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
Dirk-Jan C. Binnema
a2d1692dda * implement automatic log file cleanup, document it 2010-02-03 21:01:08 +02:00
Dirk-Jan C. Binnema
7af1775c3d * mu-config: add some missing struct members in init 2010-02-02 21:54:00 +02:00
Dirk-Jan C. Binnema
5b6101ef15 * mu-cmd-index.c: don't require a writeable Maildir 2010-02-02 21:53:28 +02:00
Dirk-Jan C. Binnema
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
Dirk-Jan C. Binnema
a4ca5304a6 * refactor convert_to_utf8 (GMimePart *part, char *buffer) 2010-02-02 21:50:35 +02:00
Dirk-Jan C. Binnema
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
Dirk-Jan C. Binnema
3b253adf43 * test-mu-common.[ch]: centralize some common test code 2010-02-02 21:47:19 +02:00
Dirk-Jan C. Binnema
14c61ba502 * rename msg files to use the ! rather than : separator, which broke distcheck 2010-02-02 21:46:40 +02:00
Dirk-Jan C. Binnema
1d75aea016 * mu-find: some fixes for the nothing-matches case 2010-02-02 08:46:55 +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
fe3aa7772a * mu_msg_gmime: refactor part_to_string; set function line number check to < 40 2010-01-31 23:55:22 +02:00
Dirk-Jan C. Binnema
22e9d22c17 * <many>: refactor querying a bit 2010-01-31 20:36:56 +02:00
Dirk-Jan C. Binnema
a5ea077357 * test-mu-query.c: add some test cases 2010-01-31 17:37:14 +02:00
Dirk-Jan C. Binnema
3c74b9aa6e * mu-query-xapian: fix silly typo (s/ANO/AND/) that screwed up some searches 2010-01-31 14:17:23 +02:00
Dirk-Jan C. Binnema
e017e658de * mu-util-xapian.cc: don't log db version for each query 2010-01-31 14:16:25 +02:00
Dirk-Jan C. Binnema
db55e8cf7d * mu-cmd.c: move cmd_view stub to mu_cmd_find 2010-01-31 14:15:43 +02:00
Dirk-Jan C. Binnema
9725f41258 * mu-cmd-find: add some documentation, mu_cmd_view stub 2010-01-31 14:14:56 +02:00
Dirk-Jan C. Binnema
4eb9f8049b * tests: add some test cases for querying. add dummy.cc to enforce C++ linking 2010-01-31 14:14:19 +02:00
Dirk-Jan C. Binnema
c4bac8306e * mu-cmd-index: add documentation, don't print \n in quiet mode 2010-01-31 13:34:04 +02:00
Dirk-Jan C. Binnema
ee946a7f70 * add missing glib/gstdio.h include 2010-01-31 12:15:00 +02:00
Dirk-Jan C. Binnema
12dc28e3e9 * update database up-to-date and/or empty checks 2010-01-31 12:14:25 +02:00
Dirk-Jan C. Binnema
143f8c007d * cosmetics 2010-01-31 12:13:46 +02:00
Dirk-Jan C. Binnema
8ed3eb9276 * mu-index.[ch]: minor changes 2010-01-31 12:13:06 +02:00
Dirk-Jan C. Binnema
8cbd6384a7 * mu-log: fix C++ linking 2010-01-31 12:12:41 +02:00
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