Commit Graph

55 Commits

Author SHA1 Message Date
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
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 fe3612c31b * mu-config: small textual updates 2009-12-23 23:41:56 +01:00
Dirk-Jan C. Binnema 9792e3c4e1 * mu-config, mu-query: implement sortfield and ascending/descending 2009-12-11 23:55:35 +02:00
Dirk-Jan C. Binnema 9e5e2b04e8 * mu-config: gather all the remaining args 2009-12-11 22:04:54 +02:00
Dirk-Jan C. Binnema 2873a92a33 * mu-config: rationalize the command line params a bit 2009-12-11 19:45:37 +02:00
Dirk-Jan C. Binnema b48e44f7c9 * mu-config,mu-util.[ch]: try MAILDIR, they ~/Maildir as a guess for the maildir 2009-12-09 19:53:30 +02:00
Dirk-Jan C. Binnema 630a800ab2 * mu-config: fix some -Wextra warnings 2009-12-09 00:02:55 +02:00