Commit Graph

148 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema 4dfe33609b * add mu_msg_iter_reset (to reset iter to the beginning), add tests 2011-06-16 10:18:34 +03:00
Dirk-Jan C. Binnema 794825e297 * remove the needless batching in mu-msg-iter, mu-query, update callers 2011-06-16 10:18:34 +03:00
Dirk-Jan C. Binnema 927737cc09 * test-mu-query.c: add some tests for querying tags 2011-06-16 07:59:23 +03:00
Dirk-Jan C. Binnema a9161d1cd5 * add unit tests for reading tags 2011-06-16 00:49:30 +03:00
Dirk-Jan C. Binnema 2ef079968a * add mu_str_from_list, mu_str_to_list and mu_str_list_free + unit tests 2011-06-15 23:44:52 +03:00
Dirk-Jan C. Binnema 57ebeda135 * add optional separator (\f, form-feed) between multiple messages in 'mu
view' when using --separate (fixes issue #41)
2011-06-14 00:08:13 +03:00
Dirk-Jan C. Binnema 0dcc122c0f * add test mail 2011-05-29 13:57:27 +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 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 e478eeee6d * reindentation, fix mu_str_ascii_xapian_escape_in_place for '..' 2011-05-22 10:27:12 +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 ec1b870ca1 * test-mu-query.c: add unit test for searching filenames 2011-05-21 16:07: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 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 ce7c354f74 * make test-mu-cfind.c work on other days but 2011-05-19 too... 2011-05-20 08:20:11 +03:00
Dirk-Jan C. Binnema f6f5b457dd * update test-mu-msg.c 2011-05-19 23:02:11 +03:00
Dirk-Jan C. Binnema d99a814c93 * tests: fix up merge fallout 2011-05-19 22:56:55 +03:00
Dirk-Jan C. Binnema 9d31d8aaca * update test-cases 2011-05-19 22:49:13 +03:00
Dirk-Jan C. Binnema 68294e4d5c * tests: add unit-tests for 'mu cfind'; fix up merge 2011-05-19 22:24:12 +03:00
Dirk-Jan C. Binnema f6ff982e92 * tests: add unit-tests for 'mu cfind'; fix up merge 2011-05-19 20:56:29 +03:00
Dirk-Jan C. Binnema 51fb5fe8e9 * tests: add unit-tests for 'mu cfind' 2011-05-19 19:55:50 +03:00
Dirk-Jan C. Binnema f02a043741 * mu-msg-iter.{cc,h}: clear-up api, update callers 2011-05-19 00:26:14 +03:00
Dirk-Jan C. Binnema 0f20ce6273 * fix some of the merge fallout 2011-05-18 22:20:39 +03:00
Dirk-Jan C. Binnema 2e717a92f9 * test-mu-{cmd,msg,query}.c: update (c) year 2011-05-18 22:14:38 +03:00
Dirk-Jan C. Binnema c6c3dd99c1 * tests/Makefile.am, tests/test-mu-contacts.c: add mu_contacts unit tests 2011-05-18 22:14:24 +03:00
Dirk-Jan C. Binnema fa0882ed90 * test-mu-{cmd,msg,query}.c: update (c) year 2011-05-18 21:21:10 +03:00
Dirk-Jan C. Binnema 0f71852aea * tests/Makefile.am, tests/test-mu-contacts.c: add mu_contacts unit tests 2011-05-18 21:20:17 +03:00
Dirk-Jan C. Binnema 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
Dirk-Jan C. Binnema 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
Dirk-Jan C. Binnema ca9dc6ee6b * 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:15:52 +03:00
Dirk-Jan C. Binnema 3d79ba8c13 * 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:00:10 +03:00
Dirk-Jan C. Binnema 7a8a519f41 * test-mu-cmd.c: remove debug garbage from test_mu_view_01 2011-05-17 23:25:10 +03:00
Dirk-Jan C. Binnema 9a1ccc3103 * re-enable message summaries 2011-05-15 10:40:29 +03:00
Dirk-Jan C. Binnema 6f33f76797 * merge mu-msg-contact.[ch] with mu-msg.[ch] 2011-05-14 18:14:24 +03:00
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