Commit Graph

44 Commits

Author SHA1 Message Date
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
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
djcb a4515de466 * update: some refactoring of commands 2010-08-20 21:07:36 +03:00
djcb d79b93a45d * mu-msg-gmime: fix contacts list bug, update unit tests 2010-08-19 22:44:57 +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
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
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 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 11ed5c7f96 * mu-cmd-find: update for the changes in mu-msg-gmime 2010-02-08 21:23:06 +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 1d75aea016 * mu-find: some fixes for the nothing-matches case 2010-02-02 08:46:55 +02:00
Dirk-Jan C. Binnema 22e9d22c17 * <many>: refactor querying a bit 2010-01-31 20:36:56 +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 d339a4b4bb * refactoring: split off 'mu find' and 'mu index' stuff from mu-cmd into
separate files
2010-01-31 12:12:04 +02:00