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
a2907dc8e5
* mu-output: implement color output for 'mu find'
2011-05-26 23:33:36 +03:00
Dirk-Jan C. Binnema
fe32cf84b1
* mu-str.[ch], mu-util.[ch]: better, simpler ANSI colors through some #defines
2011-05-26 23:32:23 +03:00
Dirk-Jan C. Binnema
5bda5975c9
* mu-cmd-find, mu-output: don't use --summary-len anymore, use --summary
2011-05-25 22:03:43 +03:00
Dirk-Jan C. Binnema
c6d4200b0a
* mu-output: update for color output in some cases
2011-05-25 22:03:09 +03:00
Dirk-Jan C. Binnema
f1ad2ebc51
* update 'mu view' and 'mu cfind' to use colors in some cases
2011-05-25 22:02:24 +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
bc8c1a0289
* add mu_util_color_print for printing color (ANSI) to console
2011-05-25 21:59:34 +03:00
Dirk-Jan C. Binnema
4e904d7c73
* test-mu-cmd.c: updated testcase
2011-05-25 21:58:48 +03:00
Dirk-Jan C. Binnema
24f98ce433
* mu-str.c: fix leak in mu_str_guess_nick
2011-05-25 08:12:58 +03:00
Dirk-Jan C. Binnema
f22b506607
* test-mu-cmd.c, test-mu-contacts.c: fix tiny leaks in test cases
2011-05-25 08:12:27 +03:00
Dirk-Jan C. Binnema
3c20cfc4de
* mu-contacts.c, mu-msg.c: cosmetics
2011-05-25 08:11:50 +03:00
Dirk-Jan C. Binnema
03c94bd82d
* mu-contacts: fix leak in contact_info_new
2011-05-24 23:21:51 +03:00
Dirk-Jan C. Binnema
d2fa1c3596
* mu-str.c: fix out-of-bounds issue with mu_str_ascii_xapian_escape_in_place
2011-05-24 23:15:20 +03:00
Dirk-Jan C. Binnema
167b5b1148
* mu-cmd-index.c: fix progress output (fflush)
2011-05-24 22:41:53 +03:00
Dirk-Jan C. Binnema
0a2f4783af
* mu-maildir: add emacs indentation header
2011-05-24 22:40:20 +03:00
Dirk-Jan C. Binnema
22dc00358e
* mu-log.c: cleanup, don't use now-missing var
2011-05-24 22:39:28 +03:00
Dirk-Jan C. Binnema
b6291e1522
* mu-cmd-find, mu-cmd-cfind: make 'no matches found' uniform
2011-05-24 21:43:44 +03:00
Dirk-Jan C. Binnema
93522893bf
* mu-contacts: use encoded email address as group in gkeyfile (which valid as a
...
groupname), add real email as email= value; use g_keyfile_(get|set)_value
instead of string, so there is no utf-8 problems, just the raw data we got
as address
This should all allow for any kind of email address, even invalid
ones. switch order of name / address in mu_contacts_add
2011-05-24 21:41:52 +03:00
Dirk-Jan C. Binnema
271ec23b4e
* mu-util.h, mu-util-db.cc: make mu_util_xapian_clear also clear the contacts-cache
2011-05-24 21:36:55 +03:00
Dirk-Jan C. Binnema
73752ca4a9
* cosmetics
2011-05-24 21:35:36 +03:00
Dirk-Jan C. Binnema
2c24a43211
* cosmetics
2011-05-23 08:16:09 +03:00
Dirk-Jan C. Binnema
34683157d1
* minor updates / cleanups
2011-05-22 17:39:10 +03:00
Dirk-Jan C. Binnema
744b363d8e
* mu-cmd-extract.c: free list of indices after use
2011-05-22 14:50:03 +03:00
Dirk-Jan C. Binnema
c6812eeb8c
* cosmetics
2011-05-22 14:49:11 +03:00
Dirk-Jan C. Binnema
abf9c632e3
* cleanup some header files
2011-05-22 14:48:31 +03:00
Dirk-Jan C. Binnema
9454d31d50
* mu-str.c: clean up a bit
2011-05-22 13:45:10 +03:00
Dirk-Jan C. Binnema
782e165f9f
* mu-contacts.c: cosmetics
2011-05-22 13:44:34 +03:00
Dirk-Jan C. Binnema
b711e2b051
* mu-config: reindent, remove --xquery
2011-05-22 13:44:12 +03:00
Dirk-Jan C. Binnema
48d52daf0b
* extract based on filename regexp and document it
2011-05-22 13:42:19 +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
e478eeee6d
* reindentation, fix mu_str_ascii_xapian_escape_in_place for '..'
2011-05-22 10:27:12 +03:00
Dirk-Jan C. Binnema
000805ae1f
* mu-query: special-case 'now' and 'today' when used as start of range
2011-05-22 10:26:20 +03:00
Dirk-Jan C. Binnema
c23d6b4dc7
* mu-config.h: fix indentation
2011-05-22 10:25:21 +03:00
Dirk-Jan C. Binnema
e7804314e2
* mu-cmd.c, test-mu-cmd.c: add attachment info to 'mu view' + unit test
2011-05-21 20:20:38 +03:00
Dirk-Jan C. Binnema
c84baa1201
* mu-query.cc, mu-store.cc: cosmetics
2011-05-21 20:20:07 +03:00
Dirk-Jan C. Binnema
6f74e1a42e
* mu-str.c: hack mu_str_ascii_xapian_escape_in_place a bit further to work
...
with filenames (with '.')
2011-05-21 16:08:47 +03:00
Dirk-Jan C. Binnema
ec1b870ca1
* test-mu-query.c: add unit test for searching filenames
2011-05-21 16:07:44 +03:00
Dirk-Jan C. Binnema
0ab861985a
* mu-query.c,mu-store.cc: add support for storing/search message file attachments
2011-05-21 16:06:52 +03:00
Dirk-Jan C. Binnema
e4c5340b37
* mu-msg-part.h: make it C++-friendly
2011-05-21 16:06:11 +03:00
Dirk-Jan C. Binnema
899d2633f3
* mu-msg-field.[ch]: add attach/a MsgFieldId
2011-05-21 16:05:44 +03:00
Dirk-Jan C. Binnema
e103a23c1f
* add test-mu-cmd changes, missed from previous commit
2011-05-21 14:13:56 +03:00
Dirk-Jan C. Binnema
d81c994426
* test-mu-cmd.c: add tests for extra-by-filename for mu-extract
2011-05-21 14:13:15 +03:00
Dirk-Jan C. Binnema
6355e78bc1
* implement saving mime-part by file-name, improve error handling
2011-05-21 14:12:01 +03:00
Dirk-Jan C. Binnema
3d84650f42
* mu-util.c: don't write to stderr when opening fails in mu_util_create_writeable_fd
2011-05-21 14:11:23 +03:00
Dirk-Jan C. Binnema
fa3ee3c058
* make size, date ranges work even if specified e->b. add unit tests.
2011-05-21 09:14:02 +03:00
Dirk-Jan C. Binnema
e607aed8de
* add unit tests for wildcards, size: and date:
2011-05-20 21:32:44 +03:00
Dirk-Jan C. Binnema
620b7e2cae
* mu-store: add some debug stuff
2011-05-20 21:32:16 +03:00
Dirk-Jan C. Binnema
84662ef5f5
* mu-msg-str: deal with size 0, and add add 'b' for byte in size: query params
2011-05-20 21:31:08 +03:00
Dirk-Jan C. Binnema
3aa034f0f2
* mu-msg-field, mu-query: refactor, make queries use boolean only for maildir,
...
path; this enables wildcard searching for other fields
2011-05-20 21:30:04 +03:00