1
0
mirror of https://github.com/djcb/mu.git synced 2024-06-30 08:01:07 +02:00
Commit Graph

112 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema
0cd1e78239 * updates for summary field removal 2011-05-14 18:07:07 +03:00
Dirk-Jan C. Binnema
53b87a79eb * <many> WIP: refactor mu-msg -- mu-msg-file 2011-05-09 02:58:33 +03:00
Dirk-Jan C. Binnema
0758ab6645 * refactoring: merge mu-msg-file with mu-maildir 2011-05-06 08:11:47 +03:00
Dirk-Jan C. Binnema
20168df0c0 * test-mu-cmd.c: fix test case for apparently yet another diff between GMime versions 2011-05-03 08:18:58 +03:00
Dirk-Jan C. Binnema
efa026648b * mu-store.cc: some optimizations, and add the possibility to use the slightly
faster 'add_document' instead of 'replace_document' (it's not used yet though)
2011-04-30 11:31:34 +03:00
Dirk-Jan C. Binnema
f49f36bede * update test_view so we don't fail with gmime 2.4.24 2011-04-16 14:25:40 +03:00
Dirk-Jan C. Binnema
b27a9f47c4 * add 'flag:unread' as a synonym for 'flag:new OR NOT flag:seen'
- update documentation
  - update test cases
  - some cleanups in the C++-code
  - bump the database version, to trigger the --rebuild warning
2011-03-31 23:08:26 +03:00
Dirk-Jan C. Binnema
186e44ca66 * mu-query: some cleanups 2011-03-21 01:56:32 +02:00
Dirk-Jan C. Binnema
d98f1e52ad * mu_runtime: update getting standard dirs / paths, use them 2011-03-19 10:07:32 +02:00
Dirk-Jan C. Binnema
9a600e71c9 * mu-str: add mu_str_guess_first_name, mu_str_guess_last_name and
mu_str_guess_nick, + unit tests

  these function do a simple guess for the first/lastname and nick, so we can
prefill	the results of 'mu cfind' with some first guesses.
2011-03-06 12:14:26 +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
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
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
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
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
eb6ca790fb * update test-mu-store test case 2011-01-12 23:13:36 +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
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
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
cafba1327f * test-mu-cmd.c: add test case for 'mu mkdir' 2011-01-06 13:25:11 +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
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
169196498e * <many>: add option to change the batch size for xapian transactions 2011-01-02 18:05:43 +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
c0e50f8d91 * test-mu-str.c: cosmetics 2010-12-07 23:20:19 +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
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
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
52972f1ec9 * test cases: update for mu-msg / mu-runtime change 2010-11-27 16:07:24 +02:00
Dirk-Jan C. Binnema
dfeb0f7736 * update tests for GError-changes 2010-11-25 21:49:44 +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
b87b5d25fd * use GError to convey error info in MuQuery; update users 2010-11-24 00:47:36 +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
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
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