Commit Graph

65 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema 0a6161a71c * centralize formatstr parsing, cleanup 2011-07-27 08:20:06 +03:00
Dirk-Jan C. Binnema 9dad2d6175 * mu-cmd-find: improve --format=sexp output 2011-07-26 08:42:50 +03:00
Dirk-Jan C. Binnema 37aaa18d6b * cosmetics 2011-07-21 21:58:27 +03:00
Dirk-Jan C. Binnema eb62f52e02 * mu-cmd/-cfind/-find: use the split-off date funcs 2011-07-21 00:31:17 +03:00
Dirk-Jan C. Binnema 5441b1945f * cleanup --exec implementation 2011-07-10 14:48:45 +03:00
Dirk-Jan C. Binnema a31ea71e0a * basic implementation of --exec for mu find (WIP) 2011-07-06 23:35:52 +03:00
Dirk-Jan C. Binnema ca6212944c * mu-cmd-find.c: some preparation for mu find --exec= (WIP) 2011-07-06 02:11:55 +03:00
Dirk-Jan C. Binnema 2d1f8366d5 * start using message threading (--threads/-t param for mu find) 2011-06-30 23:45:53 +03:00
Dirk-Jan C. Binnema 9c6014e40b * remove debug output, fix code for cc10, line33 2011-06-24 12:39:46 +03:00
Dirk-Jan C. Binnema 937fc20cab * mu-msg-find: improve display of threaded messages 2011-06-24 10:21:41 +03:00
Dirk-Jan C. Binnema eb9b0c6de8 * update threading implementation (WIP still) 2011-06-24 00:21:54 +03:00
Dirk-Jan C. Binnema 707a1ea1c2 * mu-cmd-find.c, mu-cmd.c: make sure we pass 'make line33' 2011-06-19 21:24:08 +03:00
Dirk-Jan C. Binnema d28319bc27 * mu-find: enable threaded output 2011-06-19 21:04:03 +03:00
Dirk-Jan C. Binnema e0c522c6a0 * mu-cmd-find: use the semi-working message threading 2011-06-18 18:49: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 de24a59d8c * mu-cmd-find.c: fix compiler warning 2011-06-15 08:15:13 +03:00
Dirk-Jan C. Binnema 8531a78301 * merge mu-output with mu-cmd-find 2011-06-02 11:18:47 +03:00
Dirk-Jan C. Binnema 0c462c9100 * mu-cmd-find: use color option with update mu-output 2011-05-26 23:37:49 +03:00
Dirk-Jan C. Binnema 5bda5975c9 * mu-cmd-find, mu-output: don't use --summary-len anymore, use --summary 2011-05-25 22:03:43 +03:00
Dirk-Jan C. Binnema b6291e1522 * mu-cmd-find, mu-cmd-cfind: make 'no matches found' uniform 2011-05-24 21:43:44 +03:00
Dirk-Jan C. Binnema 2c24a43211 * cosmetics 2011-05-23 08:16:09 +03:00
Dirk-Jan C. Binnema f7a39155c8 * completely remove '--xquery', re-indent mu-config.c 2011-05-22 10:40:12 +03:00
Dirk-Jan C. Binnema d98f1e52ad * mu_runtime: update getting standard dirs / paths, use them 2011-03-19 10:07: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 f1cedf7341 * mu-cmd-find.c: refactor a bit so we pass line33 2011-01-09 15:12:27 +02:00
Dirk-Jan C. Binnema f6de417117 * add warning for using --xquery 2011-01-06 16:34:21 +02:00
Dirk-Jan C. Binnema 9dd93ab668 * mu-cmd-find: some refactoring to pass line33 2011-01-06 16:21:32 +02:00
Dirk-Jan C. Binnema 5487989b99 * fix display (iter) of message size 2011-01-06 00:09:26 +02:00
Dirk-Jan C. Binnema 6539ae4bd7 * initial plumbing and some documentation for xml/json/sexp output through
--format= parameter.

  also, add --format=links, --format=xquery
2011-01-05 20:35:50 +02:00
Dirk-Jan C. Binnema 56f1664d8c * some further cleanups, add mu-output.h 2011-01-05 00:21:43 +02:00
Dirk-Jan C. Binnema fade4172fe * many changes to the config system 2011-01-04 23:19:03 +02:00
Dirk-Jan C. Binnema ba2918ca41 * unify error printing a bit (starting with lowercase) 2010-11-30 22:20:27 +02:00
Dirk-Jan C. Binnema 2b393ed7c5 * make error messages more consistent 2010-11-30 09:02:29 +02:00
Dirk-Jan C. Binnema e5089c06a3 * mu-cmd-find.c: update for GErrors in mu_query; fix uninit'd var problem 2010-11-24 00:48:28 +02:00
Dirk-Jan C. Binnema 21c01f156d * fix sorting, some small cleanups 2010-11-23 23:52:37 +02:00
Dirk-Jan C. Binnema d0e9f315a8 * minor 2010-11-23 22:06:17 +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 5818c40d7f * <many>: fix source code checks; move mu_msg_str_normalize to separate file 2010-11-20 17:27:17 +02:00
Dirk-Jan C. Binnema b69cf8f589 * <many>: update for mu-msg-field change 2010-11-20 14:43:04 +02:00
Dirk-Jan C. Binnema 10142c66cd * mu-cmd-find.c: cosmetic 2010-11-15 08:43:30 +02:00
Dirk-Jan C. Binnema 141b7298e9 * add 'mu_runtime' for initialization, keeping global state during runtime. update many. 2010-11-14 13:55:04 +02:00
Dirk-Jan C. Binnema 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
Dirk-Jan C. Binnema 117e5bc76e * refactor output a bit (mu-cmd-find) 2010-10-31 11:34:01 +02: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 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 ae50a6364e * mu-cmd-find: use mu_msg_iter_is_done 2010-09-09 08:17:00 +03:00
Dirk-Jan C. Binnema a7a08dde7f * add some extra error checking for the right command 2010-08-29 16:39:27 +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