Commit Graph

587 Commits

Author SHA1 Message Date
10142c66cd * mu-cmd-find.c: cosmetic 2010-11-15 08:43:30 +02:00
4f788f6cc2 * mu-msg-str.[ch], add mu_msg_str_normalize_in_place and some further optimizations 2010-11-14 22:04:16 +02:00
bbfe1cbd2d * mu-maildir.c: some micro-optimizations 2010-11-14 21:53:24 +02:00
38b85ad161 * mu-msg-fields: store terms for message flags (so they become searchable) 2010-11-14 21:52:44 +02:00
a8291f4462 * minor 2010-11-14 18:03:12 +02:00
de77c4b5ad * mu-msg.c: improve attachment detection 2010-11-14 18:02:57 +02:00
4019965d8e * mu-msg.c: update for mu_msg_field changes 2010-11-14 16:41:16 +02:00
ece60f2e82 * mu-msg-flags: overhaul; cleaned up things, and should be a bit faster 2010-11-14 16:40:43 +02:00
fdc67a021b * mu-query: pre-process query also when doing --xquery; makes thing more consistent 2010-11-14 16:39:21 +02:00
141b7298e9 * add 'mu_runtime' for initialization, keeping global state during runtime. update many. 2010-11-14 13:55:04 +02:00
3794182e05 * add basic implementation for bookmark support.
basically, add a file named ~/.mu/bookmarks which looks something like
  ----
  [mu]
  testarch=subject:test maildir:/archive
  inbox=maildir:/inbox
  ----

  now, one can do a query, e.g.

    mu find -b testarch

  which is equivalend to

    mu find subject:test maildir:/archive

 if both a bookmark and a 'normal' search expression are specified,
 the will be concatenated.

 bookmarks starting with mu_ are reserved for mu itself.
2010-11-13 14:16:38 +02:00
be9157f3e9 * mu-msg-str.c: add Latin-Extended-A for normalization, update unit test 2010-11-12 22:36:13 +02:00
fe68f403f8 * mu-maildir.c: update comment 2010-11-12 22:35:21 +02:00
88a5d0e2fa * mu_msg_str_normalize: better handle empty strings 2010-11-11 22:12:03 +02:00
e2b7d71cd4 * cosmetics 2010-11-11 22:07:08 +02:00
fb30c1e2eb * mu-query.cc: now always search for normalized, lower-case values 2010-11-11 22:06:19 +02:00
94bf9a68c7 * mu-store: store strings for searching now in normalized, lowercase form 2010-11-11 22:05:55 +02:00
a3822ec850 * cosmetic 2010-11-11 22:05:24 +02:00
3c5314e4ed * tests: updated 2010-11-11 22:05:10 +02:00
be0683526f * mu-msg-str: re-implement mu_msg_str_normalize by hand to actually work, add
unit tests
2010-11-11 22:04:47 +02:00
fd2df0199c * test-mu-query.c: add some more test 2010-11-09 00:26:24 +02:00
2861e622c9 * mu-maildir.c: cosmetics 2010-11-08 08:46:24 +02:00
fb46b4fddc * mu-maildir.c: use lstat, not stat in readdir_with_stat_fallback; this fixes
issue #28.
2010-11-07 19:14:01 +02:00
a7a76e7989 * mu_msg_str: add mu_msg_str_display_contact[_s], to guess the name-part from
the values in To/Cc/Bcc/From fields. (ie. '"Foo Bar" <foo@bar.cuux>' => 'Foo Bar')
2010-11-07 19:01:34 +02:00
1d9eeeb1a6 * mu-msg.h: cosmetics 2010-11-07 18:25:12 +02:00
93cf7856d1 * mu-msg-str.[ch]: add mu_msg_str_display_date_s, displays time for time with
24h, date otherwise
2010-11-07 18:24:48 +02:00
f867185ad3 * cosmetic 2010-11-07 18:02:25 +02:00
b1a799df4a * mu-msg-iter: add mu_msg_iter_get_maildir 2010-11-07 18:01:04 +02:00
df57723ec7 * mu-msg-list: make unread mailheaders bold, important ones read. Fix
mu-msg-iter.cc while doing so.
2010-11-03 23:02:40 +02:00
ef4116efc2 * make mu_msg_str_date[_s] take an strftime-like argument for the format;
update callers
2010-11-03 07:43:46 +02:00
a16a01cb2c * cosmetic 2010-11-02 21:18:50 +02:00
b68a093092 * cosmetic 2010-11-02 21:15:35 +02:00
1b75761984 * cosmetic 2010-11-02 21:15:18 +02:00
99cf282d3b * cosmetic 2010-11-02 21:14:46 +02:00
a10525d3c9 * mu_msg_str: sanitize date strings a bit, update test case 2010-11-02 21:14:24 +02:00
a4ea979aaa * fix mu_msg_iter_get_date 2010-11-02 21:13:45 +02:00
3b87a0f9e6 * add mu_util_guess_mu_homedir and mu_util_guess_xapian_dir and use them 2010-11-02 21:12:18 +02:00
d112c2c930 * update testcases for normalization 2010-11-02 00:08:31 +02:00
e15bb738ea * store normalized version of strings as well (value) 2010-11-02 00:06:17 +02:00
7fe29ebfc3 * cosmetic 2010-11-02 00:05:49 +02:00
23f1275a24 * add mu_msg_str_normalize (to remove accents from strings, optionally lowercase) 2010-11-02 00:05:27 +02:00
1e93d614a9 * fix typo 2010-10-31 11:35:00 +02:00
117e5bc76e * refactor output a bit (mu-cmd-find) 2010-10-31 11:34:01 +02:00
12f02ea08f * mu-cmd-extract,test-mu-util: cleanups to pass line33/cc10 2010-10-30 15:14:14 +03:00
976e0d03dc * add FLAG_XAPIAN_VALUE for MU_MSG_FIELD_ID_MSGID so the 'i' format field
works. this fixes issue #27
2010-10-23 12:29:06 +03:00
23869e2066 * mu-config: small fix 2010-10-23 12:12:14 +03:00
0c763c48f1 * tests/Makefile.am: add message 4 to test cases 2010-10-23 12:05:35 +03:00
f9b50541e3 * mu-cmd-extract: don't be too picky for attachments 2010-10-23 12:04:58 +03:00
f57a11828d * update documentation for extract 2010-10-23 12:04:14 +03:00
3f971f69ba * test-mu-cmd: add some extract test cases 2010-10-23 12:03:42 +03:00