Commit Graph

56 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema 4ce44f6973 * add 'mu server', which starts a process that accepts some commands
specifically designed for communication with emacs
2011-09-03 10:41:24 +03:00
Dirk-Jan C. Binnema c7d7965f0d * mu-config: move command handling to mu-cmd 2011-08-30 21:58:35 +03:00
Dirk-Jan C. Binnema 93ec32dcbf * mu-config.[ch]: support the new mu-server command 2011-08-29 23:36:36 +03:00
Dirk-Jan C. Binnema 557a5e291c * mu mv updates:
- rename --printtarget into --print-target
  - support 'delta' flags
  - add --ignore-dups to silently ignore the src = target case
2011-08-16 23:42:47 +03:00
Dirk-Jan C. Binnema e55eb4ed25 * MuResult/MuExitCode => MuError 2011-08-11 20:20:22 +03:00
Dirk-Jan C. Binnema 82be4974b7 * add 'mu add' and 'mu remove' commands for adding, removing messages from the database 2011-08-03 23:00:48 +03:00
Dirk-Jan C. Binnema bdf1237c34 * mu-mv: optionally, let it update the database (--updatedb) and print the
target file on stdout (--printtarget)
2011-08-02 21:27:32 +03:00
Dirk-Jan C. Binnema 2c1f3dafbd * mu-cmd, mu-config: add --flags parameter to 'mu move', to change the message flags 2011-08-02 08:14:19 +03:00
Dirk-Jan C. Binnema 47073006d2 * added the mu mv command for moving, removing messages (WIP) 2011-08-01 22:42:23 +03:00
Dirk-Jan C. Binnema 5c2417a041 * minor stuff / cosmetics 2011-07-31 12:16:00 +03:00
Dirk-Jan C. Binnema 0a6161a71c * centralize formatstr parsing, cleanup 2011-07-27 08:20:06 +03:00
Dirk-Jan C. Binnema de150bd9f7 * rename the --separate option into --terminator (mu view) 2011-07-07 22:59:44 +03:00
Dirk-Jan C. Binnema 88d761e6fb * beginning of mu find --exec config (WIP) 2011-07-06 02:09:46 +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 57ebeda135 * add optional separator (\f, form-feed) between multiple messages in 'mu
view' when using --separate (fixes issue #41)
2011-06-14 00:08:13 +03:00
Dirk-Jan C. Binnema c60e03a16d * mu-config.[ch]: do tty-checking here (for --color), add mu_config_param_num
(for param-checking)
2011-05-26 23:35:34 +03:00
Dirk-Jan C. Binnema 2b56e46260 * mu-config: add the --color option, to enable color output in some cases (or, alternatively, set the MU_COLOR env var to non-empty) 2011-05-25 22:01:05 +03:00
Dirk-Jan C. Binnema b711e2b051 * mu-config: reindent, remove --xquery 2011-05-22 13:44:12 +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 c23d6b4dc7 * mu-config.h: fix indentation 2011-05-22 10:25:21 +03:00
Dirk-Jan C. Binnema f8fd420215 * add support for using mu cfind as an external address book for 'mutt' + document 2011-03-06 12:40:08 +02:00
Dirk-Jan C. Binnema b6cfe6f748 * mu-cmd-cfind: split off into separate mu-cmd- file 2011-03-05 09:42:06 +02:00
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 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 fade4172fe * many changes to the config system 2011-01-04 23:19:03 +02:00
Dirk-Jan C. Binnema 169196498e * <many>: add option to change the batch size for xapian transactions 2011-01-02 18:05:43 +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 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
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 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 a4bdb311ec * introduce --empty and --autoupgrade, and document them 2010-01-23 21:57:57 +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 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 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 b94c4ae659 * mu-config: add 'clearlinks' option 2010-01-03 13:41:56 +02:00
Dirk-Jan C. Binnema b1a9cf8450 * refactoring, cleanup of the configuration / command system 2010-01-02 14:44:26 +02:00
Dirk-Jan C. Binnema 0f5ab59e62 * <many>: refactor command parsing / checking a bit 2010-01-01 20:44:19 +02:00
Dirk-Jan C. Binnema 4890ad0216 * update copyright year => 2010 2010-01-01 15:56:45 +02:00
Dirk-Jan C. Binnema 1cd004c9b7 * implement output-as-symlinks-to-messages functionality 2010-01-01 15:37:39 +02:00
Dirk-Jan C. Binnema f8ba8fbd3c * add mkmdir support 2009-12-31 14:25:20 +02:00
Dirk-Jan C. Binnema 9792e3c4e1 * mu-config, mu-query: implement sortfield and ascending/descending 2009-12-11 23:55:35 +02:00