Commit Graph

91 Commits

Author SHA1 Message Date
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 48cf82f823 * mu-cmd.c, mu-config.c: enable 'mu add' and 'mu remove' and fix line33 check 2011-08-10 23:57:34 +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 50fad7dc39 * cosmetics 2011-07-26 08:43:33 +03:00
Dirk-Jan C. Binnema 6090bf8ad0 * cosmetic 2011-07-22 21:11:50 +03:00
Dirk-Jan C. Binnema 838bb25d4e Merge branch 'master' into find-exec 2011-07-10 14:12:03 +03:00
Dirk-Jan C. Binnema 31d568e076 * rename the --separate option into --terminate (mu view), update test cases 2011-07-10 14:07:35 +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 a31ea71e0a * basic implementation of --exec for mu find (WIP) 2011-07-06 23:35:52 +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 b98af916b5 * mu-config.c: small docu update 2011-03-19 10:08:20 +02:00
Dirk-Jan C. Binnema 1a504b50a4 * mu-config: some refactoring to satisfy make line33 2011-03-06 12:15:43 +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 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