Commit Graph

65 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema 86971d53d8 * WIP: basic 'mu cfind' command + start of man page 2011-03-05 00:59:35 +02:00
Dirk-Jan C. Binnema b9be7f210c * WIP: rudimentary implementation of the 'cfind' command, to find contacts 2011-03-02 23:26:54 +02:00
Dirk-Jan C. Binnema c76af05a7a * make mag-msg-store a configurable parameter; refactor the setting of the
xapian batch size
2011-01-15 13:27:41 +02:00
Dirk-Jan C. Binnema a9a2e1f94f * mu-config: better argument check, print usage info when no command is provided 2011-01-13 21:41:07 +02:00
Dirk-Jan C. Binnema 87f9dc6cb6 * remember last-used maildir, and use it as default for next run 2011-01-12 23:11:51 +02:00
Dirk-Jan C. Binnema 623ec34ab8 * improvements in attachment / mime-part handling:
- add mu_util_play for 'playing' (opening) attachments; depends on xdg-open
  - stricter check for mu extract cmdline params
  - don't allow overwriting unless --overwrite was specified
  - mu extract now has a --play option to 'play' (open) attachments
  - added unit test to verify --overwrite
  - some cleanups in attachment/mime-part handling
2011-01-09 14:55:25 +02:00
Dirk-Jan C. Binnema f6de417117 * add warning for using --xquery 2011-01-06 16:34:21 +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 091dedf954 * make option parsing specific for the mu command 2011-01-02 18:10:11 +02:00
Dirk-Jan C. Binnema 0b88f86e65 * mu-config.c: cosmetics 2011-01-02 14:59:03 +02:00
Dirk-Jan C. Binnema b7e3786af7 * mu-config.c: cosmetics 2010-12-07 23:17:05 +02:00
Dirk-Jan C. Binnema 2b393ed7c5 * make error messages more consistent 2010-11-30 09:02:29 +02:00
Dirk-Jan C. Binnema 21c01f156d * fix sorting, some small cleanups 2010-11-23 23:52:37 +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 3b87a0f9e6 * add mu_util_guess_mu_homedir and mu_util_guess_xapian_dir and use them 2010-11-02 21:12:18 +02:00
Dirk-Jan C. Binnema 23869e2066 * mu-config: small fix 2010-10-23 12:12:14 +03:00
Dirk-Jan C. Binnema f57a11828d * update documentation for extract 2010-10-23 12:04:14 +03:00
Dirk-Jan C. Binnema f50846bdfb * mu-config: set default target dir to "." 2010-10-17 11:26:32 +03:00
Dirk-Jan C. Binnema 76815e4416 * mu-config: don't set opts->(maildir|linksdir) to NULL if it's invalid; do
checking later
2010-10-09 12:51:20 +03:00
Dirk-Jan C. Binnema 4a51ea530e * mu-config.c: cosmetic 2010-09-23 00:03:21 +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 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 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 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 908ff418d5 * cosmetics 2010-08-15 20:44:10 +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 6408c6345f * add --summary and --summary-len cmdline params
note: the underlying functionality is not there yet
2010-08-14 15:29:46 +03:00
Dirk-Jan C. Binnema d7bcf3df36 * mu-config.c: remove extra space 2010-02-11 20:19:43 +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 7af1775c3d * mu-config: add some missing struct members in init 2010-02-02 21:54:00 +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 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 2ef4ceb7ed * move config handling to mu-config, add --mode parameter for mkdir 2010-01-21 20:05:19 +02:00
Dirk-Jan C. Binnema da1e9a3841 * *.c: rename _prefixed function into non-prefixed ones (violates ISO) 2010-01-15 22:11:51 +02:00
Dirk-Jan C. Binnema c2ff9b3f25 * mu-config: make cleanup the default, and nocleanup an option; + some cosmetics 2010-01-08 20:54:55 +02:00
Dirk-Jan C. Binnema 165ba1f440 * mu-config.c: better command line options for some options 2010-01-06 21:43:28 +02:00
Dirk-Jan C. Binnema 8262f2c4d8 * mu-config.[ch]: better option checking, default setting, fix some small leaks 2010-01-06 01:24:37 +02:00
Dirk-Jan C. Binnema cb2b5b555f * mu-config: add cleanup option, expand all dir parameters (ie, "~") 2010-01-04 20:20:35 +02:00
Dirk-Jan C. Binnema 13f0df3afc * cosmetics 2010-01-03 23:53:49 +02:00
Dirk-Jan C. Binnema b94c4ae659 * mu-config: add 'clearlinks' option 2010-01-03 13:41:56 +02:00
Dirk-Jan C. Binnema e0de3a97e4 * update option parsing (don't need 'ascending' anymore) 2010-01-02 16:07:07 +02:00
Dirk-Jan C. Binnema b1a9cf8450 * refactoring, cleanup of the configuration / command system 2010-01-02 14:44:26 +02:00