Dirk-Jan C. Binnema
17f2e3bdf9
* WIP: add bbdb export support
2011-03-05 17:41:13 +02:00
Dirk-Jan C. Binnema
1e9ec55034
* use differerent exit codes for error, no matches as >0 matches; as per man page
2011-03-05 15:07:49 +02:00
Dirk-Jan C. Binnema
35e9e0ea8b
* add mu-cmd-cfind.c to Makefile.am
2011-03-05 09:42:52 +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
6226754a25
* WIP: mu-contacts; add the following: return timestamp callback and add regexp filtering capabilities
2011-03-03 21:22:11 +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
0bc10837fe
* fix mu-cmd-index.c, mu-store.c to honor line33
2011-03-02 23:03:24 +02:00
Dirk-Jan C. Binnema
01c9410d0f
* WIP(2): mu-contact.[ch], basic implementation
2011-03-02 22:39:32 +02:00
Dirk-Jan C. Binnema
deeaf41f33
* WIP: contact listing / searching.
...
this is the first part, adding a cache for all the contacts in mails
(~/.mu/cache/contacts), which is a .ini-type file.
2011-03-02 00:13:24 +02:00
Dirk-Jan C. Binnema
ad5aae2c6b
* mu-runtime.c: fix small memleak
2011-02-06 10:50:39 +02:00
Dirk-Jan C. Binnema
d015b04c2a
* mu-msg.c: convert html mail to utf-8, too. this fixes the display of
...
non-utf8 html with chars outside ascii
2011-02-06 10:49:36 +02:00
Dirk-Jan C. Binnema
1276b77a17
* mu-index.c: fix needless warning when msg is no longer there
2011-02-04 20:52:49 +02:00
Dirk-Jan C. Binnema
b1a17a1b9b
* mu_store_get_timestamp: fix memleak
2011-02-04 20:47:56 +02:00
Dirk-Jan C. Binnema
965b34fd70
* test_mu_view_01: the test depended on a MIME-decoding bug in gmime; since that bug has
...
been fixed in newer versions, accept the outcome of that, too.
2011-01-31 20:56:28 +02:00
Dirk-Jan C. Binnema
2473c9599c
* cosmetics
2011-01-31 09:15:55 +02:00
Dirk-Jan C. Binnema
8352f6a1bf
* mu-util.c: use /etc/passwd (and likewise) to determine homedir in preference
...
over $HOME
2011-01-31 09:15:42 +02:00
Dirk-Jan C. Binnema
96d0b4b1d4
* test-mu-cmd.c: always set a tempdir for muhome; this fixes running unit
...
tests as a different user, and prevents unit test logs to end up in your
normal log
2011-01-31 09:14:54 +02:00
Dirk-Jan C. Binnema
5997973d41
* mu-cmd-extract.c: only check for writability of targetdir if we're actually
...
going to write something; this fixes running unit tests in a unwritable env
2011-01-31 09:13:26 +02:00
Dirk-Jan C. Binnema
354cc421ea
* src/Makefile.am: use BUILD_TESTS
2011-01-31 09:12:31 +02:00
Dirk-Jan C. Binnema
77a1727237
* test-mu-util.c: remove bad test that broke the gentoo build
2011-01-30 10:38:51 +02:00
Dirk-Jan C. Binnema
6842c8c8a1
* mu_str_display_contact_s: split, so 'make cc10' is honored
2011-01-29 15:00:46 +02:00
Dirk-Jan C. Binnema
3ea01df556
* cosmetics
2011-01-29 12:45:21 +02:00
Dirk-Jan C. Binnema
a2dbe365c6
* unbreak mu-str
2011-01-21 20:13:18 -05:00
Dirk-Jan C. Binnema
aab3226d90
* remove '-characters, () from contact displays
2011-01-21 20:11:11 -05:00
Dirk-Jan C. Binnema
27965456ad
* mu-maildir: some cleanups, shorten names for link creation
2011-01-16 13:54:32 +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
62acc7739d
* change MuMaildirWalkMsgCallback so it take a full stat buf* instead of just
...
the ctime; then do the checking for the file size (st_size) in mu-index
also, update a unit test which was using an invalid MuMaildirWalkMsgCallback
2011-01-15 11:53:18 +02:00
Dirk-Jan C. Binnema
91cbdd6b71
* add mu_util_xapian_is_locked and use it
2011-01-14 07:47:19 +02:00
Dirk-Jan C. Binnema
1b69d1a835
* cosmetics
2011-01-13 21:41:19 +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
4aa838f6f6
* mug2: implement database reindex
2011-01-13 00:27:27 +02:00
Dirk-Jan C. Binnema
321cae64b9
* updato to build system, don't require too new libtool
2011-01-12 23:14:17 +02:00
Dirk-Jan C. Binnema
eb6ca790fb
* update test-mu-store test case
2011-01-12 23:13:36 +02:00
Dirk-Jan C. Binnema
d1bf8b3c73
* improve checks for database version
2011-01-12 23:13:03 +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
0b7d136033
* mu-cmd-extract: update date
2011-01-12 23:10:15 +02:00
Dirk-Jan C. Binnema
fa6e834cb7
* mu-cmd, mu-extract.c: split off mu-extract stuff in separate file
2011-01-12 23:09:09 +02:00
Dirk-Jan C. Binnema
22defba76a
* test-mu-cmd.c: update test
2011-01-11 23:22:24 +02:00
Dirk-Jan C. Binnema
679f56b047
* mu-str: minor
2011-01-11 23:22:00 +02:00
Dirk-Jan C. Binnema
5d6fe733a0
* add mu_util_is_local_file, improve mu_util_play:
...
add some checks whether the file is 'local' or on some remote place (http://
etc.), and explicitly mention what is acceptible in mu_util_play; for
security reasons sometimes local, and sometimes remote
2011-01-11 23:21:24 +02:00
Dirk-Jan C. Binnema
f2e8927f6f
* mu-msg-fields: store escaped versions of maildirs, so matching works for 'strangely named' ones
2011-01-11 23:18:55 +02:00
Dirk-Jan C. Binnema
9d630daf73
* mu-cmd: fix saving of attachments
2011-01-11 23:17:37 +02:00
Dirk-Jan C. Binnema
81fe752515
* mu-msg-part: cleanups & fixes, added mu_msg_part_looks_like_attachment
2011-01-11 23:17:03 +02:00
Dirk-Jan C. Binnema
923549e2bb
* <many>: updates for new MIME-part handling
2011-01-11 00:46:46 +02:00
Dirk-Jan C. Binnema
da16959a33
* mu-msg, mu-msg-part: overhaul of mime-part handling
2011-01-11 00:45:03 +02:00
Dirk-Jan C. Binnema
a778d233c0
* add mode_t arg to mu_util_create_dir_maybe, add mu_util_cache_dir
2011-01-11 00:44:03 +02:00
Dirk-Jan C. Binnema
65e4f8b896
* add mu_util_create_tmpdir
2011-01-09 18:55:54 +02:00
Dirk-Jan C. Binnema
56cfe14062
* mu-msg-part: cosmetics
2011-01-09 18:55:18 +02:00
Dirk-Jan C. Binnema
e0b484e922
* make mu-cmd reference-counted (make mu_msg_destroy internal, use
...
mu_msg_unref instead)
2011-01-09 18:54:14 +02:00
Dirk-Jan C. Binnema
f1cedf7341
* mu-cmd-find.c: refactor a bit so we pass line33
2011-01-09 15:12:27 +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
b46d591796
* start working on some mu-based widgets (widgets/), create toys2/mug2 for testing
2011-01-08 12:48:25 +02:00
Dirk-Jan C. Binnema
580b357e3d
* fix mu output_sexp
2011-01-07 08:32:09 +02:00
Dirk-Jan C. Binnema
8b9df09a65
* cosmetics
2011-01-07 08:31:36 +02:00
Dirk-Jan C. Binnema
92108c0b66
* cosmetic
2011-01-06 17:32:42 +02:00
Dirk-Jan C. Binnema
c712267c0f
* fix json, sexp output
2011-01-06 16:55:43 +02:00
Dirk-Jan C. Binnema
f6de417117
* add warning for using --xquery
2011-01-06 16:34:21 +02:00
Dirk-Jan C. Binnema
974f6556fc
* mu-util: make warning a bit more user-friendly
2011-01-06 16:22:11 +02:00
Dirk-Jan C. Binnema
9dd93ab668
* mu-cmd-find: some refactoring to pass line33
2011-01-06 16:21:32 +02:00
Dirk-Jan C. Binnema
c5b3059442
* add searching for message size ranges
2011-01-06 16:21:09 +02:00
Dirk-Jan C. Binnema
f8af665151
* mu-output.c, mu-str.[ch]: fix escaping for JSON, sexps (add mu_str_escape_c_literal)
2011-01-06 13:55:16 +02:00
Dirk-Jan C. Binnema
cafba1327f
* test-mu-cmd.c: add test case for 'mu mkdir'
2011-01-06 13:25:11 +02:00
Dirk-Jan C. Binnema
d41ae5dfd5
* mu-msg: cosmetic
2011-01-06 13:15:01 +02:00
Dirk-Jan C. Binnema
071b230e60
* mu-cmd.c: fix mu view
2011-01-06 13:14:42 +02:00
Dirk-Jan C. Binnema
f00f1dc01b
* add test case for mu view
2011-01-06 13:14:17 +02:00
Dirk-Jan C. Binnema
5487989b99
* fix display (iter) of message size
2011-01-06 00:09:26 +02:00
Dirk-Jan C. Binnema
535f1c78fa
* initial sexp output support (WIP)
2011-01-05 23:37:53 +02:00
Dirk-Jan C. Binnema
3ab2cd11a9
* initial JSON output support (WIP)
2011-01-05 23:22:41 +02:00
Dirk-Jan C. Binnema
4409b565dc
* start of XML output support (WIP)
2011-01-05 22:46:10 +02:00
Dirk-Jan C. Binnema
2303bc4f59
* fix for the removal of mu-util-db.h
2011-01-05 20:45:31 +02:00
Dirk-Jan C. Binnema
aa22e5e90d
* some further cleanups
2011-01-05 20:38:33 +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
516caccf10
* fix some small errors, add missing file
2011-01-04 23:52:16 +02:00
Dirk-Jan C. Binnema
ce5df2d6e5
* some further cleanups / refactoring
2011-01-04 23:44:18 +02:00
Dirk-Jan C. Binnema
f509fd20ec
* remove some garbage files
2011-01-04 23:37:01 +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
6483e9d39e
* fix test-mu-cmd.c for stricter option checks
2011-01-02 18:45:45 +02:00
Dirk-Jan C. Binnema
49077bf7d1
* mu-runtime, mu-util: improve check for muhome dir
2011-01-02 18:45:16 +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
0101837c38
* mu-cmd-index.c: add a check for the --xbatchsize parameter
2011-01-02 18:09:30 +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
0b88f86e65
* mu-config.c: cosmetics
2011-01-02 14:59:03 +02:00
Dirk-Jan C. Binnema
1f240e55fe
* mu-msg-iter: add some casting to prevent compiler warning
2010-12-18 10:44:27 +02:00
Dirk-Jan C. Binnema
6d2cc60a5e
* Makefile.am/configure.ac: some changes to make Solaris a bit happier
2010-12-17 08:34:31 +02:00
Dirk-Jan C. Binnema
2950d29ca7
* mu-maildir: use GError, not g_warning
2010-12-17 08:33:48 +02:00
Dirk-Jan C. Binnema
b00a85ec07
* add test_mu_util_get_dtype_with_lstat unit test, cosmetics
2010-12-12 18:33:25 +02:00
Dirk-Jan C. Binnema
a315e15081
* cosmetics
2010-12-12 18:32:37 +02:00
Dirk-Jan C. Binnema
6820923119
* initialize variable in get_flags_str_s
2010-12-12 18:32:15 +02:00
Dirk-Jan C. Binnema
64fcbe7603
* mu-msg-file: cosmetics
2010-12-11 13:53:50 +02:00
Dirk-Jan C. Binnema
0565587dda
* mu-runtime: use mu_util_init_system, some cosmetics
2010-12-11 13:53:20 +02:00
Dirk-Jan C. Binnema
d602ad1f47
* mu-error.h: add some error codes
2010-12-11 13:52:36 +02:00
Dirk-Jan C. Binnema
d14727c7a8
* dont't require direntry->d_type; this should help the Solaris build.
...
also, some cleanups
2010-12-11 13:52:03 +02:00
Dirk-Jan C. Binnema
c0e50f8d91
* test-mu-str.c: cosmetics
2010-12-07 23:20:19 +02:00
Dirk-Jan C. Binnema
0131b9bd5f
* mu-util.h: fix -pedantic warning (variadic macro)
2010-12-07 23:19:45 +02:00
Dirk-Jan C. Binnema
39d71b8e3b
* use mu_str_ascii_xapian_escape instead of local version; and non-in-place version
2010-12-07 23:19:13 +02:00
Dirk-Jan C. Binnema
4babb4d036
* mu-msg.c: use mu-msg-file
2010-12-07 23:17:42 +02:00
Dirk-Jan C. Binnema
b7e3786af7
* mu-config.c: cosmetics
2010-12-07 23:17:05 +02:00
Dirk-Jan C. Binnema
373973d813
* src/Makefile.am: add mu-msg-file.[ch], -pedantic for c-builds
2010-12-07 23:16:32 +02:00
Dirk-Jan C. Binnema
372e245fc7
* mu_msg_flags_from_file => mu_msg_file_get_flags_from_path
2010-12-07 23:15:38 +02:00
Dirk-Jan C. Binnema
2d0959ec63
* add mu-msg-file, unit tests
2010-12-07 23:14:11 +02:00
Dirk-Jan C. Binnema
68af173246
* use GError in various mu_maildir function to return error info
2010-12-05 16:29:53 +02:00
Dirk-Jan C. Binnema
8321f6718a
* mu_maildir_mkmdir => mu_maildir_mkdir
2010-12-05 15:40:40 +02:00
Dirk-Jan C. Binnema
0b87be5f18
* fix mu_util_dir_expand for non-existant dirs, add unit test
2010-12-04 19:14:31 +02:00
Dirk-Jan C. Binnema
6a3decdc7c
* mu_util_dir_expand fix issue #30 : wrong use of realpath(3)
2010-12-04 19:08:23 +02:00
Dirk-Jan C. Binnema
104efbca04
* test-mu-store.c: stay within 33 line limit for functions
2010-12-04 12:37:57 +02:00
Dirk-Jan C. Binnema
9325828c77
* src/Makefile.am: put files in alphabetical order
2010-12-04 12:37:38 +02:00
Dirk-Jan C. Binnema
13b1e87cc4
* mu-str-normalize.c: add note about alternative implementation
2010-12-03 20:53:25 +02:00
Dirk-Jan C. Binnema
10b0f321c8
* update some unit test cases
2010-12-03 20:45:01 +02:00
Dirk-Jan C. Binnema
94487cfe9a
* add some simply unit tests for mu-runtime, mu-store
2010-12-01 21:57:36 +02:00
Dirk-Jan C. Binnema
3560eecf3a
* mu_date_parse_hdwmy => mu_str_date_parse_hdwmy; update unit tests + code
2010-11-30 22:33:15 +02:00
Dirk-Jan C. Binnema
ba2918ca41
* unify error printing a bit (starting with lowercase)
2010-11-30 22:20:27 +02:00
Dirk-Jan C. Binnema
2b393ed7c5
* make error messages more consistent
2010-11-30 09:02:29 +02:00
Dirk-Jan C. Binnema
340f2141c4
* cosmetic
2010-11-30 08:33:15 +02:00
Dirk-Jan C. Binnema
61bc73f071
* <many>: use some gcc attributes (if applicable) for optimization
2010-11-30 08:32:59 +02:00
Dirk-Jan C. Binnema
3d3a4f8308
* mu-query.cc, mu-store.cc: use the escaping for some fields; update test case
2010-11-29 21:29:43 +02:00
Dirk-Jan C. Binnema
bb5b1304e5
* mu-str.[ch]: add mu_str_ascii_xapian_escape_in_place, for escaping some
...
Xapian fields; also add some tests
2010-11-29 21:21:55 +02:00
Dirk-Jan C. Binnema
c6dadad978
* mu-str-normalize.c: combine separate function for downcse / non-downcase
...
cases into one.
2010-11-29 21:19:45 +02:00
Dirk-Jan C. Binnema
d573c57485
* mu-msg-fields.[ch]: add info whether the field should be normalized/escaped
2010-11-29 21:18:37 +02:00
Dirk-Jan C. Binnema
52972f1ec9
* test cases: update for mu-msg / mu-runtime change
2010-11-27 16:07:24 +02:00
Dirk-Jan C. Binnema
9916bb3ecc
* mu-msg, mu-runtime: make g_mime_init explicit, mu-runtime can do it.
2010-11-27 16:06:55 +02:00
Dirk-Jan C. Binnema
513fe9ef3a
* mu-str.h: add note about unicode blocks supported for mu_str_normalize ('Latin-1 Supplement' and 'Latin Extended-A')
2010-11-27 15:06:57 +02:00
Dirk-Jan C. Binnema
e0d8d1fcdc
* cosmetics
2010-11-27 14:56:25 +02:00
Dirk-Jan C. Binnema
5341e8d4a8
* mu-msg.c: refactor to make functions respect 33-lines limit and use GMIME_ENABLE_RFC2047_WORKAROUNDS
2010-11-27 14:55:25 +02:00
Dirk-Jan C. Binnema
c5c51f3798
* mu-index.c: refactor to make functions respect 33-lines limit
2010-11-27 14:54:19 +02:00
Dirk-Jan C. Binnema
b200b63a55
* mu-cmd-view.c: refactor to make functions respect 33-lines limit
2010-11-27 14:53:56 +02:00
Dirk-Jan C. Binnema
dfeb0f7736
* update tests for GError-changes
2010-11-25 21:49:44 +02:00
Dirk-Jan C. Binnema
e22149fa46
* add some GErrors
2010-11-25 21:49:25 +02:00
Dirk-Jan C. Binnema
eb4e35f524
* improve date range parsing
2010-11-24 23:30:41 +02:00
Dirk-Jan C. Binnema
e64e24aa61
* create mu-error.h, update some functions to use GError for errors
2010-11-24 20:04:20 +02:00
Dirk-Jan C. Binnema
f59ac88118
* mug.c: show error dialogs for errors; focus query when there was a parse error
2010-11-24 09:03:06 +02:00
Dirk-Jan C. Binnema
e5089c06a3
* mu-cmd-find.c: update for GErrors in mu_query; fix uninit'd var problem
2010-11-24 00:48:28 +02:00
Dirk-Jan C. Binnema
b87b5d25fd
* use GError to convey error info in MuQuery; update users
2010-11-24 00:47:36 +02:00
Dirk-Jan C. Binnema
21c01f156d
* fix sorting, some small cleanups
2010-11-23 23:52:37 +02:00
Dirk-Jan C. Binnema
e823b535b1
* mu-query.cc: simplify date searching a bit
2010-11-23 22:06:57 +02:00
Dirk-Jan C. Binnema
d0e9f315a8
* minor
2010-11-23 22:06:17 +02:00
Dirk-Jan C. Binnema
819fe8c93f
* minor
2010-11-23 22:05:55 +02:00
Dirk-Jan C. Binnema
0f2b4e2d3c
* rename mu_msg_str => mu_str
2010-11-23 00:44:18 +02:00
Dirk-Jan C. Binnema
89b85cf7f7
* mu-store.cc, mu-query.cc: improved date-range matching
2010-11-23 00:33:15 +02:00
Dirk-Jan C. Binnema
e141908b7c
* cosmetics
2010-11-22 21:44:54 +02:00
Dirk-Jan C. Binnema
e0cada86d6
* add date-range searches using date:/d:
2010-11-21 18:12:01 +02:00
Dirk-Jan C. Binnema
4a4a2e39d5
* mu-msg.c: improvement for prio
2010-11-21 15:44:23 +02:00
Dirk-Jan C. Binnema
3c0cc47d8b
* mu-msg-str.c: minor
2010-11-21 15:43:34 +02:00
Dirk-Jan C. Binnema
04305eadaa
* mu-msg-prio: some coding updates
2010-11-21 15:43:11 +02:00
Dirk-Jan C. Binnema
29ed5fbcf3
* make prio: fields now also searchable
2010-11-21 15:42:53 +02:00
Dirk-Jan C. Binnema
79395b11ac
* mu-msg-flags.[ch]: minor
2010-11-21 15:42:08 +02:00
Dirk-Jan C. Binnema
085d0732c1
* unit tests: updated for other changes
2010-11-21 15:41:25 +02:00
Dirk-Jan C. Binnema
f114d2f511
* testcases: update for other changes, add some tests
2010-11-21 13:43:40 +02:00
Dirk-Jan C. Binnema
38f39d846e
* mu-output-plain.c: update for prio stuff refactoring
2010-11-21 13:43:15 +02:00
Dirk-Jan C. Binnema
0bada3350f
* mu-msg-str.c: cosmetics
2010-11-21 13:42:28 +02:00
Dirk-Jan C. Binnema
e7d453774c
* mu-msg-str.[ch]: remove functionality which is now in mu-msg-prio.[ch]
2010-11-21 13:41:38 +02:00
Dirk-Jan C. Binnema
783d5e4121
* cosmetics
2010-11-21 13:41:01 +02:00
Dirk-Jan C. Binnema
e9d6540b1f
* mu-msg-flags.[ch]: minor
2010-11-21 13:39:43 +02:00
Dirk-Jan C. Binnema
63f06e756e
* mu-msg-fields.h: minor
2010-11-21 13:38:11 +02:00
Dirk-Jan C. Binnema
5ad35ab766
* mu-msg-prio.[ch]: add implementation
2010-11-21 13:36:22 +02:00
Dirk-Jan C. Binnema
5f0774e810
* mu-runtime.[ch]: update documentation
2010-11-20 20:29:11 +02:00
Dirk-Jan C. Binnema
5f84cb5025
* mu-msg-contact.[ch]: add _new, _destroy functions
2010-11-20 20:28:54 +02:00
Dirk-Jan C. Binnema
2c639e3122
* test-mu-cmd.c: add some test cases
2010-11-20 18:42:32 +02:00
Dirk-Jan C. Binnema
e8556fd303
* mu-msg.c / test-mu-msg.c: improve attachment detection
2010-11-20 18:41:57 +02:00
Dirk-Jan C. Binnema
da7140a602
* mu-msg-iter.cc: remove debugging stuff
2010-11-20 17:51:24 +02:00
Dirk-Jan C. Binnema
c688cad8fc
* fix mu_msg_field_type_is_numeric + unit test
2010-11-20 17:50:35 +02:00
Dirk-Jan C. Binnema
5818c40d7f
* <many>: fix source code checks; move mu_msg_str_normalize to separate file
2010-11-20 17:27:17 +02:00
Dirk-Jan C. Binnema
2c8bd1015d
* cosmetic
2010-11-20 16:37:59 +02:00
Dirk-Jan C. Binnema
c1b143c958
* cosmetic
2010-11-20 16:37:43 +02:00
Dirk-Jan C. Binnema
20e39933e5
* many: fix unit tests, add synonyms (WIP -- not working yet)
2010-11-20 16:37:23 +02:00
Dirk-Jan C. Binnema
208322527b
* mu-log: don't complain when unit is called when not already initialized
2010-11-20 16:14:26 +02:00
Dirk-Jan C. Binnema
d1494028e7
* update testcases for mu-msg-field
2010-11-20 14:43:35 +02:00
Dirk-Jan C. Binnema
b69cf8f589
* <many>: update for mu-msg-field change
2010-11-20 14:43:04 +02:00
Dirk-Jan C. Binnema
7f617e32f0
* mu-index: remove version check warning
2010-11-20 14:42:07 +02:00
Dirk-Jan C. Binnema
de1deb4e80
* mu-msg-fields: cleanup, use MuMsgFieldId rather than MuMsgField*
2010-11-20 14:41:21 +02:00
Dirk-Jan C. Binnema
d4a2a3333f
* mu-bookmarks.[ch]: bookmarks implemenation was still missing from git
2010-11-15 23:25:06 +02:00
Dirk-Jan C. Binnema
56c8a66672
* mu-cmd-index.c: cosmetic
2010-11-15 08:43:46 +02:00
Dirk-Jan C. Binnema
10142c66cd
* mu-cmd-find.c: cosmetic
2010-11-15 08:43:30 +02:00
Dirk-Jan C. Binnema
4f788f6cc2
* mu-msg-str.[ch], add mu_msg_str_normalize_in_place and some further optimizations
2010-11-14 22:04:16 +02:00
Dirk-Jan C. Binnema
bbfe1cbd2d
* mu-maildir.c: some micro-optimizations
2010-11-14 21:53:24 +02:00
Dirk-Jan C. Binnema
38b85ad161
* mu-msg-fields: store terms for message flags (so they become searchable)
2010-11-14 21:52:44 +02:00
Dirk-Jan C. Binnema
a8291f4462
* minor
2010-11-14 18:03:12 +02:00
Dirk-Jan C. Binnema
de77c4b5ad
* mu-msg.c: improve attachment detection
2010-11-14 18:02:57 +02:00
Dirk-Jan C. Binnema
4019965d8e
* mu-msg.c: update for mu_msg_field changes
2010-11-14 16:41:16 +02:00
Dirk-Jan C. Binnema
ece60f2e82
* mu-msg-flags: overhaul; cleaned up things, and should be a bit faster
2010-11-14 16:40:43 +02:00
Dirk-Jan C. Binnema
fdc67a021b
* mu-query: pre-process query also when doing --xquery; makes thing more consistent
2010-11-14 16:39:21 +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
be9157f3e9
* mu-msg-str.c: add Latin-Extended-A for normalization, update unit test
2010-11-12 22:36:13 +02:00
Dirk-Jan C. Binnema
fe68f403f8
* mu-maildir.c: update comment
2010-11-12 22:35:21 +02:00
Dirk-Jan C. Binnema
88a5d0e2fa
* mu_msg_str_normalize: better handle empty strings
2010-11-11 22:12:03 +02:00
Dirk-Jan C. Binnema
e2b7d71cd4
* cosmetics
2010-11-11 22:07:08 +02:00
Dirk-Jan C. Binnema
fb30c1e2eb
* mu-query.cc: now always search for normalized, lower-case values
2010-11-11 22:06:19 +02:00
Dirk-Jan C. Binnema
94bf9a68c7
* mu-store: store strings for searching now in normalized, lowercase form
2010-11-11 22:05:55 +02:00
Dirk-Jan C. Binnema
a3822ec850
* cosmetic
2010-11-11 22:05:24 +02:00
Dirk-Jan C. Binnema
3c5314e4ed
* tests: updated
2010-11-11 22:05:10 +02:00
Dirk-Jan C. Binnema
be0683526f
* mu-msg-str: re-implement mu_msg_str_normalize by hand to actually work, add
...
unit tests
2010-11-11 22:04:47 +02:00
Dirk-Jan C. Binnema
fd2df0199c
* test-mu-query.c: add some more test
2010-11-09 00:26:24 +02:00
Dirk-Jan C. Binnema
2861e622c9
* mu-maildir.c: cosmetics
2010-11-08 08:46:24 +02:00
Dirk-Jan C. Binnema
fb46b4fddc
* mu-maildir.c: use lstat, not stat in readdir_with_stat_fallback; this fixes
...
issue #28 .
2010-11-07 19:14:01 +02:00
Dirk-Jan C. Binnema
a7a76e7989
* mu_msg_str: add mu_msg_str_display_contact[_s], to guess the name-part from
...
the values in To/Cc/Bcc/From fields. (ie. '"Foo Bar" <foo@bar.cuux>' => 'Foo Bar')
2010-11-07 19:01:34 +02:00
Dirk-Jan C. Binnema
1d9eeeb1a6
* mu-msg.h: cosmetics
2010-11-07 18:25:12 +02:00
Dirk-Jan C. Binnema
93cf7856d1
* mu-msg-str.[ch]: add mu_msg_str_display_date_s, displays time for time with
...
24h, date otherwise
2010-11-07 18:24:48 +02:00
Dirk-Jan C. Binnema
f867185ad3
* cosmetic
2010-11-07 18:02:25 +02:00
Dirk-Jan C. Binnema
b1a799df4a
* mu-msg-iter: add mu_msg_iter_get_maildir
2010-11-07 18:01:04 +02:00
Dirk-Jan C. Binnema
df57723ec7
* mu-msg-list: make unread mailheaders bold, important ones read. Fix
...
mu-msg-iter.cc while doing so.
2010-11-03 23:02:40 +02:00
Dirk-Jan C. Binnema
ef4116efc2
* make mu_msg_str_date[_s] take an strftime-like argument for the format;
...
update callers
2010-11-03 07:43:46 +02:00
Dirk-Jan C. Binnema
a16a01cb2c
* cosmetic
2010-11-02 21:18:50 +02:00
Dirk-Jan C. Binnema
b68a093092
* cosmetic
2010-11-02 21:15:35 +02:00
Dirk-Jan C. Binnema
1b75761984
* cosmetic
2010-11-02 21:15:18 +02:00
Dirk-Jan C. Binnema
99cf282d3b
* cosmetic
2010-11-02 21:14:46 +02:00
Dirk-Jan C. Binnema
a10525d3c9
* mu_msg_str: sanitize date strings a bit, update test case
2010-11-02 21:14:24 +02:00
Dirk-Jan C. Binnema
a4ea979aaa
* fix mu_msg_iter_get_date
2010-11-02 21:13:45 +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
d112c2c930
* update testcases for normalization
2010-11-02 00:08:31 +02:00
Dirk-Jan C. Binnema
e15bb738ea
* store normalized version of strings as well (value)
2010-11-02 00:06:17 +02:00
Dirk-Jan C. Binnema
7fe29ebfc3
* cosmetic
2010-11-02 00:05:49 +02:00
Dirk-Jan C. Binnema
23f1275a24
* add mu_msg_str_normalize (to remove accents from strings, optionally lowercase)
2010-11-02 00:05:27 +02:00
Dirk-Jan C. Binnema
1e93d614a9
* fix typo
2010-10-31 11:35:00 +02:00
Dirk-Jan C. Binnema
117e5bc76e
* refactor output a bit (mu-cmd-find)
2010-10-31 11:34:01 +02:00
Dirk-Jan C. Binnema
12f02ea08f
* mu-cmd-extract,test-mu-util: cleanups to pass line33/cc10
2010-10-30 15:14:14 +03:00
Dirk-Jan C. Binnema
976e0d03dc
* add FLAG_XAPIAN_VALUE for MU_MSG_FIELD_ID_MSGID so the 'i' format field
...
works. this fixes issue #27
2010-10-23 12:29:06 +03:00
Dirk-Jan C. Binnema
23869e2066
* mu-config: small fix
2010-10-23 12:12:14 +03:00
Dirk-Jan C. Binnema
0c763c48f1
* tests/Makefile.am: add message 4 to test cases
2010-10-23 12:05:35 +03:00
Dirk-Jan C. Binnema
f9b50541e3
* mu-cmd-extract: don't be too picky for attachments
2010-10-23 12:04:58 +03:00
Dirk-Jan C. Binnema
f57a11828d
* update documentation for extract
2010-10-23 12:04:14 +03:00
Dirk-Jan C. Binnema
3f971f69ba
* test-mu-cmd: add some extract test cases
2010-10-23 12:03:42 +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
109f8e4e3c
* update testcase, add attachment, m: testing
2010-10-17 11:21:12 +03:00
Dirk-Jan C. Binnema
c3dafe2329
* mu-cmd-extract.c: check targetdir for writability
2010-10-17 11:20:02 +03:00
Dirk-Jan C. Binnema
3f2023ed92
* tests: fix make distcheck
2010-10-09 15:36:32 +03:00
Dirk-Jan C. Binnema
7eb407dca3
* cosmetic: mail3
2010-10-09 15:12:49 +03:00
Dirk-Jan C. Binnema
093d65320d
* mu-query: try stemming
2010-10-09 15:12:35 +03:00
Dirk-Jan C. Binnema
e161fb6065
* mu-cmd: some cosmetical updates in the output
2010-10-09 13:19:47 +03:00
Dirk-Jan C. Binnema
4e06349e65
* mu-cmd-index: cosmetic
2010-10-09 12:53:02 +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
89b65df13b
* small logging cleanups, don't g_debug before we initialized logging
2010-10-09 12:44:48 +03:00
Dirk-Jan C. Binnema
7de56f9399
* clean-up mu_util_dir_expand, add unit test
2010-10-09 11:56:55 +03:00
Dirk-Jan C. Binnema
b09535ea0e
* mu-cmd-index.cc: clean up progress printing, make sure it passes make line33
...
and make cc10
2010-10-05 08:11:52 +03:00
Dirk-Jan C. Binnema
a5db0a6d81
* tests/: update unit tests
2010-10-04 22:33:22 +03:00
Dirk-Jan C. Binnema
64985d7791
* fix progress info display for indexing
2010-10-04 22:31:44 +03:00
Dirk-Jan C. Binnema
fb1651e184
* <many> fix small conversion errors (-Wconversion)
2010-09-26 17:29:54 +03:00
Dirk-Jan C. Binnema
3fa552a81e
* mu-index: cosmetics
2010-09-26 15:52:42 +03:00
Dirk-Jan C. Binnema
6cb61593ad
* mu-store: add mu_store_count
2010-09-26 15:52:22 +03:00
Dirk-Jan C. Binnema
f2770c5957
* added some more test cases
2010-09-26 15:52:07 +03:00
Dirk-Jan C. Binnema
82176c8991
* unit-tests: small updates to tests
2010-09-26 15:23:17 +03:00
Dirk-Jan C. Binnema
5ac9c55df6
* mu-cmd-index.c: small cleanup, keep func len <= 33
2010-09-23 00:03:44 +03:00
Dirk-Jan C. Binnema
4a51ea530e
* mu-config.c: cosmetic
2010-09-23 00:03:21 +03:00
Dirk-Jan C. Binnema
99c0d620d4
* mu-util.[ch]: use realpath to resolve dirs, some cosmetics
2010-09-23 00:03:04 +03:00
Dirk-Jan C. Binnema
3375066c4f
* mu-cmd-index: use isatty, do not write progress info to stdout unless it's a tty
2010-09-15 20:59:42 +03:00
Dirk-Jan C. Binnema
18e2cf2912
* mu-msg.cc: better handling of invalid mail files
2010-09-15 20:17:47 +03:00
Dirk-Jan C. Binnema
0490023baf
* mu-cmd-index: print indexing updates only once 25, this reduces printing
...
overhead (of course, --quiet is still faster)
2010-09-15 20:17:29 +03:00
Dirk-Jan C. Binnema
e3599d4d4f
* mu-msg.c: improve error handling for message with text|html body
2010-09-13 23:58:48 +03:00
Dirk-Jan C. Binnema
50a3715654
* mu-cmd-index: make the little -\|/ rotation a bit slower
2010-09-13 23:46:33 +03:00
Dirk-Jan C. Binnema
1255c0e2de
* mu-cmd-index.c: improve C-c output a bit
2010-09-13 23:39:37 +03:00
Dirk-Jan C. Binnema
6a3327e534
* test-mu-query.c: comment-out some debugging stuff
2010-09-13 21:27:33 +03:00
Dirk-Jan C. Binnema
4bfa9e0e5f
* mu-msg: better error handling for invalid messages
2010-09-13 21:26:20 +03:00
Dirk-Jan C. Binnema
cd34353b27
* mu-cmd-index: simplify cmd-index, cmd-cleanup a bit
2010-09-13 21:25:30 +03:00
Dirk-Jan C. Binnema
88ed5a9a6f
* tests: small cleanups
2010-09-12 23:38:34 +03:00
Dirk-Jan C. Binnema
ad4005bdf9
* mu-index: cosmetics
2010-09-12 21:39:36 +03:00
Dirk-Jan C. Binnema
1a8de6e1db
* mu-maildir: return right MuResult from callback
2010-09-12 21:39:15 +03:00
Dirk-Jan C. Binnema
26f216efef
* mu-cmd-index: improve time display
2010-09-12 21:38:01 +03:00
Dirk-Jan C. Binnema
893130e88e
* mu-store: commit after 6666 message instead of 2000, speeds things up
2010-09-12 21:19:38 +03:00
Dirk-Jan C. Binnema
081e601c25
* mu-index: use unsigned instead of time_t
2010-09-12 21:19:02 +03:00
Dirk-Jan C. Binnema
9a32d86851
* mu-cmd-index: show some timing information for the indexing
2010-09-12 21:18:30 +03:00
Dirk-Jan C. Binnema
2fef78abc1
* mu-msg-contact: check for type of internetaddress (fixes some warning) +
...
small cleanups
2010-09-12 21:00:45 +03:00
Dirk-Jan C. Binnema
35bb2d143a
* tests: updated for changes elsewhere, add new tests for searching messages
2010-09-12 16:33:18 +03:00
Dirk-Jan C. Binnema
1daf46f4ab
* mark mu_msg_str_summarize with G_GNUC_WARN_UNUSED_RESULT
2010-09-12 16:32:22 +03:00
Dirk-Jan C. Binnema
5e50ed5dba
* mu-index: cosmetic improvements in output
2010-09-12 16:31:39 +03:00
Dirk-Jan C. Binnema
7268fcf253
* mu-cmd-find.c: update for changes in mu-msg-fields
2010-09-12 16:31:12 +03:00
Dirk-Jan C. Binnema
80d3fb22b2
* mu-query: pre-process queries to work around some mismatches with xapian
...
query parsing
2010-09-12 16:30:29 +03:00
Dirk-Jan C. Binnema
bb3d9cc0b0
* mu-store/mu-msg-fields: special handling for To:/Cc:/From: so we can better
...
search for them.
2010-09-12 16:28:34 +03:00
Dirk-Jan C. Binnema
d9b5f2514a
* mu-msg-contact: use the G_(BEGIN|END)_DECLS so it can be used from c++
2010-09-12 16:26:02 +03:00
Dirk-Jan C. Binnema
41aa7370b8
* mu-log: remove unneeded \n in output
2010-09-12 16:25:06 +03:00
Dirk-Jan C. Binnema
9d1939240d
* mu-cmd-index.c: replace printf with g_print
2010-09-12 13:39:19 +03:00
Dirk-Jan C. Binnema
4ecb207e15
* mu-cmd-index: shorten >33 line function
2010-09-11 11:25:43 +03:00
Dirk-Jan C. Binnema
c09cb1303b
* cleanup, improve, refactor message summary
2010-09-11 11:19:58 +03:00
Dirk-Jan C. Binnema
aa1c7e9831
* mu-cmd-view.c: fix showing of body
2010-09-10 20:37:58 +03:00
Dirk-Jan C. Binnema
fd93663e8a
* mu-msg.c: cosmetic
2010-09-10 20:37:38 +03:00
Dirk-Jan C. Binnema
80a08462d8
* update / add unit tests
2010-09-10 20:37:06 +03:00
Dirk-Jan C. Binnema
57fc2441a8
* <many>: make gmime initialization/de-initialization implicit (remove mu_msg_init/mu_msg_uninit)
2010-09-10 08:18:04 +03:00
Dirk-Jan C. Binnema
55981b27df
* mu-query.cc: make queries a bit more eager to match (WIP)
...
ie., convert to lowercase, do STEM_SOME, not STEM_ALL
this needs tweaking, more testing, but passed current unit tests
2010-09-09 08:21:01 +03:00
Dirk-Jan C. Binnema
b4d7ea5a36
* mu-maildir.c: minor, cosmetic
2010-09-09 08:19:00 +03:00
Dirk-Jan C. Binnema
1a98b2de64
* mu-cmd-index: minor, cosmetic
2010-09-09 08:18:14 +03:00
Dirk-Jan C. Binnema
42cdf60504
* mu-cmd-index: mention cleanup phase in user output
2010-09-09 08:17:50 +03:00
Dirk-Jan C. Binnema
ae50a6364e
* mu-cmd-find: use mu_msg_iter_is_done
2010-09-09 08:17:00 +03:00
Dirk-Jan C. Binnema
3cc7d4ee89
* mu.cc: minor changes
2010-09-09 08:15:41 +03:00
Dirk-Jan C. Binnema
3a4bfe1362
* move some system-initialization to mu_util_init_system;
...
set G_SLICE env far to always-malloc on FreeBSD, as g_slice does not work
correctly there.
2010-09-09 00:12:06 +03:00
Dirk-Jan C. Binnema
32a218d76e
* cleanup testcase, update for mu_msg_iter_is_done
2010-09-09 00:09:33 +03:00
Dirk-Jan C. Binnema
d1f4ebde0b
* rename mu_msg_iter_is_null => mu_msg_iter_is_done
2010-09-09 00:09:00 +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
b7410acce8
* mu-cmd-index.c, mu-cmd-view.c, mu-msg-part.c: fix some overly long functions
2010-09-05 21:39:07 +03:00
Dirk-Jan C. Binnema
51790dd888
* mu-query: transfer queries to lowercase; this fixes some false-negatives
2010-09-05 21:21:26 +03:00
Dirk-Jan C. Binnema
60be96510f
* test-mu-query.c: add test for mu_msg_iter_get_msg, summary
2010-09-05 13:01:33 +03:00
Dirk-Jan C. Binnema
8a285c7d0d
* src/Makefile.am: add -Wdeclaration-after-statement to the warning flags for c-code
2010-09-05 12:39:08 +03:00
Dirk-Jan C. Binnema
956720df61
* mu.cc: add some comment about setlocale
2010-09-05 12:38:11 +03:00
Dirk-Jan C. Binnema
3b514b066f
* mu-msg-(fields|flags): cosmetics
2010-09-05 12:37:47 +03:00
Dirk-Jan C. Binnema
b8f5451b06
* mu-msg-iter.{cc,h}: some cleanups, documentation updates
2010-09-05 12:37:12 +03:00
Dirk-Jan C. Binnema
572da91216
* add new test for non-ascii search
2010-09-04 14:37:19 +03:00
Dirk-Jan C. Binnema
c55831f7c7
* mu.cc: add some comment regarding setlocale
2010-09-04 14:32:33 +03:00
Dirk-Jan C. Binnema
b05359d344
* add test mail file, update unit test for number
2010-09-04 14:32:10 +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
a512cb64f4
* fix typo that broke unit test
2010-08-29 22:15:25 +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
a7a08dde7f
* add some extra error checking for the right command
2010-08-29 16:39:27 +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
c771b9a705
* add missing test-mu-msg.c
2010-08-26 21:21:29 +03:00
djcb
2cd082c06b
* rename MuStoreXapian => MuStore
2010-08-25 21:55:08 +03:00
djcb
0c04143bbc
* rename MuQueryXapian => MuQuery
2010-08-25 21:46:16 +03:00
djcb
ba2cb41585
* rename mu-util-xapian => mu-util-db (and some leftovers)
2010-08-25 21:40:07 +03:00
djcb
b50a3dc245
* rename MuMsgIterXapian => MuMsgIter
2010-08-25 21:29:53 +03:00
djcb
9a510162b5
* many: renaming/refactoring
...
- mu-msg-gmime => mu-msg
- mu-msg-part-info => mu-msg-part
removed some unused functions, updated dependencies
make check still works
2010-08-25 00:57:16 +03:00
Dirk-Jan C. Binnema
f1bbb3fb96
* WIP: more attachment handling changes
2010-08-24 21:10:00 +03:00
Dirk-Jan C. Binnema
1b75323e1c
* many: small cosmetic / documentation updates
2010-08-23 08:23:58 +03:00
djcb
43b1c0fcf1
* WIP: rough implementation of attachment extraction
2010-08-22 22:50:19 +03:00
djcb
db7c78cc2e
* mu-msg-contact: small renaming
2010-08-22 19:31:54 +03:00
djcb
3cdb1f15ed
* next step in attachment handling infra; still WIP
2010-08-22 19:31:21 +03:00
Dirk-Jan C. Binnema
596317b8dc
* WIP: added MuMsgPartInfo (WIP)
2010-08-21 20:44:13 +03:00
Dirk-Jan C. Binnema
fc40900037
* some cleanup + beginnings of extract functionality
2010-08-20 21:38:54 +03:00
djcb
a4515de466
* update: some refactoring of commands
2010-08-20 21:07:36 +03:00
Dirk-Jan C. Binnema
7ea074431c
* mu-msg-gmime: further cleanups
2010-08-19 23:14:13 +03:00
djcb
478a2ab3eb
* mu-msg-gmime: cosmetics
2010-08-19 22:51:55 +03:00
djcb
d79b93a45d
* mu-msg-gmime: fix contacts list bug, update unit tests
2010-08-19 22:44:57 +03:00
djcb
93590436c1
* MuMsgContact refactoring (split off)
2010-08-19 22:15:19 +03:00
Dirk-Jan C. Binnema
5fb3e7fd36
* mu-msg-util: some minor cosmetic fixes
2010-08-18 23:45:50 +03:00
Dirk-Jan C. Binnema
6b1fa8db25
* test-mu-msg-gmime: add some unit tests
2010-08-18 23:45:19 +03:00
Dirk-Jan C. Binnema
5e3aa6024f
* mu-msg-gmime: slight doc update
2010-08-18 22:49:46 +03:00
Dirk-Jan C. Binnema
69c93430b9
* refactor: add mu_msg_iter_xapian_get_msg_gmime and use it
2010-08-18 22:49:10 +03:00
Dirk-Jan C. Binnema
145fd8f75c
* WIP: start work on attachment handling in mu-msg-gmime
...
(and some cleanup)
2010-08-18 00:33:37 +03:00
Dirk-Jan C. Binnema
52e6fa5f32
* add some mu-msg-gmime unit tests
2010-08-18 00:18:42 +03:00
Dirk-Jan C. Binnema
bf163e3db5
* testdir/tmp: better file to ignore
2010-08-17 00:42:22 +03:00
Dirk-Jan C. Binnema
6b20dbd38e
* don't require gio anymore, not even optionally
2010-08-17 00:41:37 +03:00
djcb
908ff418d5
* cosmetics
2010-08-15 20:44:10 +03:00
djcb
c576756f23
* add --summary-len option for mu view, and document it.
2010-08-15 20:43:58 +03:00
djcb
19217eef50
* mu-cmd-find: add support for summaries to 'mu find' (WIP)
2010-08-15 14:59:55 +03:00
djcb
f163db1c3a
* cosmetic
2010-08-15 14:59:16 +03:00
djcb
6976d663f4
* cosmetic
2010-08-15 14:59:02 +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
9e24a093a7
* add mu_msg_gmime_get_summary, some cosmetics
...
mu_msg_gmime_get_summary returns the first /n/ lines of the message, with
newlines removed. maybe this would need filling (word wrap), but that's not
implemented yet.
2010-08-15 14:55:25 +03:00
djcb
2e6685bdeb
* cosmetic: fix include tag
2010-08-15 13:33:32 +03:00
djcb
48affa6500
* mu-cmd-index: fix some casting warnings
2010-08-15 13:33:15 +03:00
djcb
30ee022b04
* mu-msg-str: use g_format_size_for_display when we have GLib >= 2.16
2010-08-15 13:32:43 +03:00
djcb
5a9904618a
* mu-cmd, mu-cmd-index: small improvements in strings for users
2010-08-14 15:31:55 +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
djcb
488fef2d04
* unbreak the unit tests for git checkouts
...
the git version was broken because git doesn't accept empty dirs;
added tmp/dummy to fix this.
2010-08-14 15:19:08 +03:00
Dirk-Jan C. Binnema
3f8a3ba97f
* mu-log: it's not an error when moving the log file failed due to no gio
2010-08-14 13:21:24 +03:00
Dirk-Jan C. Binnema
12736b03db
* mu-cmd-find: use g_debug, not g_warning when text body not found
2010-08-14 13:20:42 +03:00
Dirk-Jan C. Binnema
9b83bfe5eb
* mu-index: cosmetic
2010-07-30 20:58:51 +03:00
Dirk-Jan C. Binnema
3787392c88
* candidate fix for the MacOS wordexp issue
2010-07-30 20:56:50 +03:00
Dirk-Jan C. Binnema
024c7535fb
* mu-log: small cosmetics
2010-07-30 20:52:30 +03:00
Dirk-Jan C. Binnema
f2cc543baf
* fix error handling of shell expansion (candidate fix for issue #23 )
2010-07-26 12:12:43 +03:00
Dirk-Jan C. Binnema
7e2b3ff7a0
* mu_msg_iter_xapian_get_field_numeric: explicitly cast to gint64
...
this might resolve some build problems
2010-07-26 00:29:10 +03:00
Dirk-Jan C. Binnema
d621a8a502
* explicitly #include <signal.h> in mu-cmd-index.c
2010-07-25 19:13:56 +03:00
Dirk-Jan C. Binnema
38f5c8abeb
* make requirement for GIO optional (issue #22 )
2010-07-24 20:28:39 +03:00
Dirk-Jan C. Binnema
7895a1376b
* tests/test-mu-query: add 'count_matches' function; add test_mu_query_03
...
(currently failing)
2010-03-02 17:27:08 +02:00
Dirk-Jan C. Binnema
abfde3a5b9
* mu-cmd-find.c: update help text (it's --rebuild, not --empty)
2010-02-20 14:36:43 +02:00
Dirk-Jan C. Binnema
451be4394d
* mu-maildir: start maildirs (for the maildir: search param) with a slash
...
(well, G_DIR_SEPARATOR); thus, we can find mails in the 'root' maildir as
well. When indexing under (say) ~/Maildir, a mail in cur will have maildir
'/', and in foo/cur will have '/foo'
2010-02-15 20:24:00 +02:00
Dirk-Jan C. Binnema
01d6fbb257
* mu-cmd-index: restart 'processed' at 0 when cleaning up after indexing
2010-02-13 18:45:44 +02:00
Dirk-Jan C. Binnema
2846a40025
* mu-cmd-index.c: clear the stats before cleanup only when run as a separate
...
command
2010-02-13 14:08:45 +02:00
Dirk-Jan C. Binnema
01db6dcf45
* cosmetic
2010-02-11 20:20:50 +02:00
Dirk-Jan C. Binnema
302f7ea9d5
* mu-store-xapian.cc: remove obsolete comment
2010-02-11 20:20:34 +02:00
Dirk-Jan C. Binnema
5228495e56
* mu-msg-gmime.c: remove obsolete TODO
2010-02-11 20:20:03 +02:00
Dirk-Jan C. Binnema
d7bcf3df36
* mu-config.c: remove extra space
2010-02-11 20:19:43 +02:00
Dirk-Jan C. Binnema
2637989d93
* mu-cmd.c: small update in help text
2010-02-11 20:19:20 +02:00
Dirk-Jan C. Binnema
6f64f013be
* test-mu-query.c: updated
2010-02-09 22:11:15 +02:00
Dirk-Jan C. Binnema
5414c396af
* mu-msg-fields,mu.1: update some field codes, documentation
2010-02-09 22:10:58 +02:00
Dirk-Jan C. Binnema
a4471e6bdd
* mu-maildir.c: small refactoring to satisfy 'make line33'
2010-02-09 21:53:12 +02:00
Dirk-Jan C. Binnema
c5dc61986a
* cosmetics
2010-02-08 23:17:47 +02:00
Dirk-Jan C. Binnema
9a4340406b
* mu-msg-gmime: fix leak when converting to utf8
2010-02-08 23:17:35 +02:00
Dirk-Jan C. Binnema
e01f37dc57
* tests/: update
2010-02-08 21:25:53 +02:00
Dirk-Jan C. Binnema
0dd39fcc57
* mu-query-xapian: minor update for name changes
2010-02-08 21:24:10 +02:00
Dirk-Jan C. Binnema
f520e41a62
* mu-store-xapian: more clearly separate index/term/value
2010-02-08 21:23:41 +02:00
Dirk-Jan C. Binnema
11ed5c7f96
* mu-cmd-find: update for the changes in mu-msg-gmime
2010-02-08 21:23:06 +02:00
Dirk-Jan C. Binnema
b19dabefba
* mu-cmd-index: update for --empty => --rebuild
2010-02-08 21:22:30 +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
8f825b4816
* mu-msg-field: add support for maildir field; more clear separate
...
index/term/value for xapian
2010-02-08 21:20:11 +02:00
Dirk-Jan C. Binnema
b77004774c
* mu-log: remove some crap from the to-screen logging
2010-02-08 21:19:17 +02:00
Dirk-Jan C. Binnema
b2c8f38c0c
* mu-maildir: feed the maildir name to message callback
...
(ie., when the full path is ~/Maildir/foo/bar/cur/msg, the maildir is foo/bar)
2010-02-08 21:18:46 +02:00
Dirk-Jan C. Binnema
0dfd2060e3
* mu-msg-gmime: add support for the Maildir field
2010-02-08 21:17:11 +02:00
Dirk-Jan C. Binnema
5190a8bc58
* fix the wrong dirs that broke test cases
2010-02-05 18:54:27 +02:00
Dirk-Jan C. Binnema
8448473732
* enforce that maildir paths are absolute
2010-02-04 23:00:34 +02:00
Dirk-Jan C. Binnema
b416714622
* tests/: update test cases a bit
2010-02-04 22:48:13 +02:00
Dirk-Jan C. Binnema
dbcc57baa5
* mu-msg-iter-xapian: cosmetics
2010-02-04 22:47:16 +02:00
Dirk-Jan C. Binnema
d5e8aefc78
* mu-msg-gmime: update comments a bit
2010-02-04 22:46:54 +02:00
Dirk-Jan C. Binnema
3b1fbb79e9
* mu-log: refactor a bit to stay within cc-limits
2010-02-04 22:44:42 +02:00
Dirk-Jan C. Binnema
9206894e02
* implement 'mu view'
2010-02-04 22:44:05 +02:00
Dirk-Jan C. Binnema
fa08d66380
* remove mu_query_xapian_combine; let Xapian handle it. add
...
mu_util_str_from_strv for combining strings
2010-02-03 21:06:31 +02:00
Dirk-Jan C. Binnema
a2d1692dda
* implement automatic log file cleanup, document it
2010-02-03 21:01:08 +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
5b6101ef15
* mu-cmd-index.c: don't require a writeable Maildir
2010-02-02 21:53:28 +02:00
Dirk-Jan C. Binnema
529c5b84db
* src/Makefile.am: add AM_CFLAGS, AM_CXXFLAGS with strict warnings
...
(but no -Werror as we don't want to break builds if some compiler other than
mine barfs)
2010-02-02 21:52:59 +02:00
Dirk-Jan C. Binnema
a4ca5304a6
* refactor convert_to_utf8 (GMimePart *part, char *buffer)
2010-02-02 21:50:35 +02:00
Dirk-Jan C. Binnema
ea2802f1ce
* update some test files / cleanup Makefile.am to work with distcheck
...
(mainly fix the false assumptions on the build dirs)
2010-02-02 21:48:41 +02:00
Dirk-Jan C. Binnema
3b253adf43
* test-mu-common.[ch]: centralize some common test code
2010-02-02 21:47:19 +02:00
Dirk-Jan C. Binnema
14c61ba502
* rename msg files to use the ! rather than : separator, which broke distcheck
2010-02-02 21:46:40 +02:00
Dirk-Jan C. Binnema
1d75aea016
* mu-find: some fixes for the nothing-matches case
2010-02-02 08:46:55 +02:00
Dirk-Jan C. Binnema
933245928f
* mu-index.c, mu-maildir.c, test-mu-query.c: some refactoring to get max line
...
len <= 35
2010-02-02 08:46:01 +02:00
Dirk-Jan C. Binnema
fe3aa7772a
* mu_msg_gmime: refactor part_to_string; set function line number check to < 40
2010-01-31 23:55:22 +02:00
Dirk-Jan C. Binnema
22e9d22c17
* <many>: refactor querying a bit
2010-01-31 20:36:56 +02:00
Dirk-Jan C. Binnema
a5ea077357
* test-mu-query.c: add some test cases
2010-01-31 17:37:14 +02:00
Dirk-Jan C. Binnema
3c74b9aa6e
* mu-query-xapian: fix silly typo (s/ANO/AND/) that screwed up some searches
2010-01-31 14:17:23 +02:00