1
0
mirror of https://github.com/djcb/mu.git synced 2024-06-24 07:26:49 +02:00
Commit Graph

156 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema
28db904fb2 * update/add unit tests for threading 2011-06-30 23:43:08 +03:00
Dirk-Jan C. Binnema
a3bd931aaf * overhaul/clean-up container code, add path object; seems to work now 2011-06-26 13:12:40 +03:00
Dirk-Jan C. Binnema
9c6014e40b * remove debug output, fix code for cc10, line33 2011-06-24 12:39:46 +03:00
Dirk-Jan C. Binnema
95bb29b653 * update / add test cases for threading 2011-06-24 00:24:04 +03:00
Dirk-Jan C. Binnema
a356dbec10 * update test case for the new thread param for queries 2011-06-19 21:05:12 +03:00
Dirk-Jan C. Binnema
dfcbd854f0 * update test-cases 2011-06-18 18:49:46 +03:00
Dirk-Jan C. Binnema
583afc2749 * make mu-msg-file return references in same order as found in msgs; update
unit test
2011-06-16 10:21:35 +03:00
Dirk-Jan C. Binnema
9b0067aa4a * add mailing list test msg for unit tests 2011-06-16 10:21:35 +03:00
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