Commit Graph

120 Commits

Author SHA1 Message Date
0f20ce6273 * fix some of the merge fallout 2011-05-18 22:20:39 +03:00
2e717a92f9 * test-mu-{cmd,msg,query}.c: update (c) year 2011-05-18 22:14:38 +03:00
c6c3dd99c1 * tests/Makefile.am, tests/test-mu-contacts.c: add mu_contacts unit tests 2011-05-18 22:14:24 +03:00
7e721953fd * test-mu-query.c: add specific tests for searching accented chars, as per #38
this seems to work even for "Kröger", even though 'mu view' does not show
  the correct value. It could be some inconsistency in GMime, need to check.
2011-05-18 00:40:10 +03:00
16180ced2a * tests/: add tests for issues mentioned in issue #38
(http://code.google.com/p/mu0/issues/detail?id=38).

  Cannot reproduce the issue though, except when searching for the 'From:' --
this seems to be due to limitation with GMime, if I do:

      mu view testdir/cur/1305664394.2171_402.cthulhu\!2,

   get:
-------------------------------
From: Mü <testmu@testmu.xx>
To: Helmut =?iso-8859-1?q?Kr=F6ger?= <hk@testmu.xxx>
Subject: Motörhead

Test for issue #38, where apparently searching for accented words in subject,
to etc. fails.

What about here? Queensrÿche. Mötley Crüe.
-------------------------------

They decoding issues are of course very mail-client specific.
2011-05-18 00:39:52 +03:00
7a8a519f41 * test-mu-cmd.c: remove debug garbage from test_mu_view_01 2011-05-17 23:25:10 +03:00
9a1ccc3103 * re-enable message summaries 2011-05-15 10:40:29 +03:00
6f33f76797 * merge mu-msg-contact.[ch] with mu-msg.[ch] 2011-05-14 18:14:24 +03:00
0cd1e78239 * updates for summary field removal 2011-05-14 18:07:07 +03:00
53b87a79eb * <many> WIP: refactor mu-msg -- mu-msg-file 2011-05-09 02:58:33 +03:00
0758ab6645 * refactoring: merge mu-msg-file with mu-maildir 2011-05-06 08:11:47 +03:00
20168df0c0 * test-mu-cmd.c: fix test case for apparently yet another diff between GMime versions 2011-05-03 08:18:58 +03:00
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
f49f36bede * update test_view so we don't fail with gmime 2.4.24 2011-04-16 14:25:40 +03:00
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
186e44ca66 * mu-query: some cleanups 2011-03-21 01:56:32 +02:00
d98f1e52ad * mu_runtime: update getting standard dirs / paths, use them 2011-03-19 10:07:32 +02:00
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
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
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
2473c9599c * cosmetics 2011-01-31 09:15:55 +02:00
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
77a1727237 * test-mu-util.c: remove bad test that broke the gentoo build 2011-01-30 10:38:51 +02:00
c76af05a7a * make mag-msg-store a configurable parameter; refactor the setting of the
xapian batch size
2011-01-15 13:27:41 +02:00
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
eb6ca790fb * update test-mu-store test case 2011-01-12 23:13:36 +02:00
22defba76a * test-mu-cmd.c: update test 2011-01-11 23:22:24 +02:00
e0b484e922 * make mu-cmd reference-counted (make mu_msg_destroy internal, use
mu_msg_unref instead)
2011-01-09 18:54:14 +02:00
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
cafba1327f * test-mu-cmd.c: add test case for 'mu mkdir' 2011-01-06 13:25:11 +02:00
f00f1dc01b * add test case for mu view 2011-01-06 13:14:17 +02:00
fade4172fe * many changes to the config system 2011-01-04 23:19:03 +02:00
6483e9d39e * fix test-mu-cmd.c for stricter option checks 2011-01-02 18:45:45 +02:00
169196498e * <many>: add option to change the batch size for xapian transactions 2011-01-02 18:05:43 +02:00
b00a85ec07 * add test_mu_util_get_dtype_with_lstat unit test, cosmetics 2010-12-12 18:33:25 +02:00
a315e15081 * cosmetics 2010-12-12 18:32:37 +02:00
c0e50f8d91 * test-mu-str.c: cosmetics 2010-12-07 23:20:19 +02:00
2d0959ec63 * add mu-msg-file, unit tests 2010-12-07 23:14:11 +02:00
68af173246 * use GError in various mu_maildir function to return error info 2010-12-05 16:29:53 +02:00
8321f6718a * mu_maildir_mkmdir => mu_maildir_mkdir 2010-12-05 15:40:40 +02:00
0b87be5f18 * fix mu_util_dir_expand for non-existant dirs, add unit test 2010-12-04 19:14:31 +02:00
6a3decdc7c * mu_util_dir_expand fix issue #30: wrong use of realpath(3) 2010-12-04 19:08:23 +02:00
104efbca04 * test-mu-store.c: stay within 33 line limit for functions 2010-12-04 12:37:57 +02:00
10b0f321c8 * update some unit test cases 2010-12-03 20:45:01 +02:00
94487cfe9a * add some simply unit tests for mu-runtime, mu-store 2010-12-01 21:57:36 +02:00
3560eecf3a * mu_date_parse_hdwmy => mu_str_date_parse_hdwmy; update unit tests + code 2010-11-30 22:33:15 +02:00
3d3a4f8308 * mu-query.cc, mu-store.cc: use the escaping for some fields; update test case 2010-11-29 21:29:43 +02:00
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
52972f1ec9 * test cases: update for mu-msg / mu-runtime change 2010-11-27 16:07:24 +02:00
dfeb0f7736 * update tests for GError-changes 2010-11-25 21:49:44 +02:00