1
0
mirror of https://github.com/djcb/mu.git synced 2024-06-23 07:16:48 +02:00
Commit Graph

59 Commits

Author SHA1 Message Date
djcb
bc6f9ebbb8 * fix glib warnings (compile time, runtime): add error gquark, don't use g_atexit 2012-04-01 13:08:02 +03:00
djcb
e7e84ed08a * updates for new mu_str escaping function, better error handling 2012-03-30 19:02:46 +03:00
djcb
ba10026dc2 * some warning fixes for gcc 4.1.1 2012-03-14 00:07:29 +02:00
djcb
f699f2e73b * mu-query: fix leak in date parsing 2012-01-12 00:23:04 +02:00
djcb
8bc4d3c113 * <many>: add possibility to limit max number of search results 2011-12-07 08:15:48 +02:00
djcb
2b5b2f8262 * mu-query.cc: fix behaviour of empty queries 2011-11-27 16:23:46 +02:00
djcb
c9f72ba3c7 * fix searching for strings with spaces (e.g. maildir:"sent items") 2011-11-24 00:12:29 +02:00
djcb
ff4ca20a6f * cosmetics 2011-11-13 12:49:24 +02:00
Dirk-Jan C. Binnema
74a9a5df23 * mu-cmd-query: use the new threading/revert support 2011-09-30 08:36:37 +03:00
Dirk-Jan C. Binnema
e2fc573d42 * src/, man/, NEWS: rename --descending into --reverse 2011-09-22 21:00:52 +03:00
Dirk-Jan C. Binnema
eecd21cc5b * mu-query: improve error handling 2011-09-12 20:48:30 +03:00
Dirk-Jan C. Binnema
53c2c91d3a * mu-query.cc: some cleanups, cosmetics 2011-09-03 10:49:51 +03:00
Dirk-Jan C. Binnema
5e9ea1fa23 * mu-query*: take a store rather than a path as argument 2011-08-30 22:02:08 +03:00
Dirk-Jan C. Binnema
fbc786f2fc * minor changes, trailing whitespace fixes 2011-08-29 23:38:55 +03:00
Dirk-Jan C. Binnema
e55eb4ed25 * MuResult/MuExitCode => MuError 2011-08-11 20:20:22 +03:00
Dirk-Jan C. Binnema
37aaa18d6b * cosmetics 2011-07-21 21:58:27 +03:00
Dirk-Jan C. Binnema
70e13d7e94 * mu-query: clean up date parsing, use the separate date functions in mu-date 2011-07-21 00:38:00 +03:00
Dirk-Jan C. Binnema
6c62a066c8 * make time & size checking a bit stricter, report errors to user 2011-07-16 12:50:17 +03:00
Dirk-Jan C. Binnema
329a524af7 * mu-query: special-case the empty search expr to mean 'match-all' 2011-07-13 08:18:42 +03:00
Dirk-Jan C. Binnema
9e73fa863e * clean up mu-query; don't preprocess twice... 2011-07-13 08:07:52 +03:00
Dirk-Jan C. Binnema
a2bc4540e0 * implement sorting of threads on arbitrary fields (WIP) 2011-07-02 11:27:08 +03:00
Dirk-Jan C. Binnema
9a5888f7c8 * enable the --threads/t argument for mu-find / queries 2011-06-19 21:03:33 +03:00
Dirk-Jan C. Binnema
794825e297 * remove the needless batching in mu-msg-iter, mu-query, update callers 2011-06-16 10:18:34 +03:00
Dirk-Jan C. Binnema
000805ae1f * mu-query: special-case 'now' and 'today' when used as start of range 2011-05-22 10:26:20 +03:00
Dirk-Jan C. Binnema
c84baa1201 * mu-query.cc, mu-store.cc: cosmetics 2011-05-21 20:20:07 +03:00
Dirk-Jan C. Binnema
0ab861985a * mu-query.c,mu-store.cc: add support for storing/search message file attachments 2011-05-21 16:06:52 +03:00
Dirk-Jan C. Binnema
fa3ee3c058 * make size, date ranges work even if specified e->b. add unit tests. 2011-05-21 09:14:02 +03:00
Dirk-Jan C. Binnema
3aa034f0f2 * mu-msg-field, mu-query: refactor, make queries use boolean only for maildir,
path; this enables wildcard searching for other fields
2011-05-20 21:30:04 +03:00
Dirk-Jan C. Binnema
57498fb1a2 * mu-msg-iter-priv.cc: get rid of this with some void** casting tricks... 2011-05-18 23:51:52 +03:00
Dirk-Jan C. Binnema
df984f3106 * mu-query.cc: enable wildcard queries (Xapian::QueryParser::FLAG_WILDCARD) 2011-05-09 12:00:50 +03:00
Dirk-Jan C. Binnema
adf45c4ee0 * mu-msg-iter.cc, mu-query.cc, mu-store.cc: use more c++ facilities 2011-03-22 23:37:01 +02:00
Dirk-Jan C. Binnema
186e44ca66 * mu-query: some cleanups 2011-03-21 01:56:32 +02:00
Dirk-Jan C. Binnema
d1bf8b3c73 * improve checks for database version 2011-01-12 23:13:03 +02:00
Dirk-Jan C. Binnema
b46d591796 * start working on some mu-based widgets (widgets/), create toys2/mug2 for testing 2011-01-08 12:48:25 +02:00
Dirk-Jan C. Binnema
c5b3059442 * add searching for message size ranges 2011-01-06 16:21:09 +02:00
Dirk-Jan C. Binnema
2303bc4f59 * fix for the removal of mu-util-db.h 2011-01-05 20:45:31 +02:00
Dirk-Jan C. Binnema
ce5df2d6e5 * some further cleanups / refactoring 2011-01-04 23:44:18 +02:00
Dirk-Jan C. Binnema
3560eecf3a * mu_date_parse_hdwmy => mu_str_date_parse_hdwmy; update unit tests + code 2010-11-30 22:33:15 +02:00
Dirk-Jan C. Binnema
3d3a4f8308 * mu-query.cc, mu-store.cc: use the escaping for some fields; update test case 2010-11-29 21:29:43 +02:00
Dirk-Jan C. Binnema
e22149fa46 * add some GErrors 2010-11-25 21:49:25 +02:00
Dirk-Jan C. Binnema
eb4e35f524 * improve date range parsing 2010-11-24 23:30:41 +02:00
Dirk-Jan C. Binnema
b87b5d25fd * use GError to convey error info in MuQuery; update users 2010-11-24 00:47:36 +02:00
Dirk-Jan C. Binnema
21c01f156d * fix sorting, some small cleanups 2010-11-23 23:52:37 +02:00
Dirk-Jan C. Binnema
e823b535b1 * mu-query.cc: simplify date searching a bit 2010-11-23 22:06:57 +02:00
Dirk-Jan C. Binnema
0f2b4e2d3c * rename mu_msg_str => mu_str 2010-11-23 00:44:18 +02:00
Dirk-Jan C. Binnema
89b85cf7f7 * mu-store.cc, mu-query.cc: improved date-range matching 2010-11-23 00:33:15 +02:00
Dirk-Jan C. Binnema
e0cada86d6 * add date-range searches using date:/d: 2010-11-21 18:12:01 +02:00
Dirk-Jan C. Binnema
29ed5fbcf3 * make prio: fields now also searchable 2010-11-21 15:42:53 +02:00
Dirk-Jan C. Binnema
783d5e4121 * cosmetics 2010-11-21 13:41:01 +02:00
Dirk-Jan C. Binnema
20e39933e5 * many: fix unit tests, add synonyms (WIP -- not working yet) 2010-11-20 16:37:23 +02:00