1
0
mirror of https://github.com/djcb/mu.git synced 2024-06-23 07:16:48 +02:00
Commit Graph

148 Commits

Author SHA1 Message Date
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
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
2c8bd1015d * cosmetic 2010-11-20 16:37:59 +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
a8291f4462 * minor 2010-11-14 18:03:12 +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
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
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
a10525d3c9 * mu_msg_str: sanitize date strings a bit, update test case 2010-11-02 21:14:24 +02:00
Dirk-Jan C. Binnema
d112c2c930 * update testcases for normalization 2010-11-02 00:08:31 +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
0c763c48f1 * tests/Makefile.am: add message 4 to test cases 2010-10-23 12:05:35 +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
109f8e4e3c * update testcase, add attachment, m: testing 2010-10-17 11:21:12 +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
7de56f9399 * clean-up mu_util_dir_expand, add unit test 2010-10-09 11:56:55 +03:00
Dirk-Jan C. Binnema
a5db0a6d81 * tests/: update unit tests 2010-10-04 22:33: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
6a3327e534 * test-mu-query.c: comment-out some debugging stuff 2010-09-13 21:27:33 +03:00
Dirk-Jan C. Binnema
88ed5a9a6f * tests: small cleanups 2010-09-12 23:38:34 +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
c09cb1303b * cleanup, improve, refactor message summary 2010-09-11 11:19:58 +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
32a218d76e * cleanup testcase, update for mu_msg_iter_is_done 2010-09-09 00:09:33 +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
572da91216 * add new test for non-ascii search 2010-09-04 14:37:19 +03:00
Dirk-Jan C. Binnema
b05359d344 * add test mail file, update unit test for number 2010-09-04 14:32:10 +03:00
djcb
c771b9a705 * add missing test-mu-msg.c 2010-08-26 21:21:29 +03:00
djcb
0c04143bbc * rename MuQueryXapian => MuQuery 2010-08-25 21:46:16 +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
djcb
3cdb1f15ed * next step in attachment handling infra; still WIP 2010-08-22 19:31:21 +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
6b1fa8db25 * test-mu-msg-gmime: add some unit tests 2010-08-18 23:45:19 +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
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
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
01db6dcf45 * cosmetic 2010-02-11 20:20:50 +02:00
Dirk-Jan C. Binnema
6f64f013be * test-mu-query.c: updated 2010-02-09 22:11:15 +02:00
Dirk-Jan C. Binnema
e01f37dc57 * tests/: update 2010-02-08 21:25:53 +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
b416714622 * tests/: update test cases a bit 2010-02-04 22:48:13 +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
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
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
4eb9f8049b * tests: add some test cases for querying. add dummy.cc to enforce C++ linking 2010-01-31 14:14:19 +02:00
Dirk-Jan C. Binnema
ee946a7f70 * add missing glib/gstdio.h include 2010-01-31 12:15:00 +02:00
Dirk-Jan C. Binnema
5b0a9c04ff * src/tests/Makefile.am: add the test mails to EXTRA_DIST 2010-01-29 08:20:36 +02:00
Dirk-Jan C. Binnema
c5dc8f044d * add many unit tests 2010-01-28 22:21:57 +02:00
Dirk-Jan C. Binnema
a411a9964b * add unit tests for mu_maildir_mkdir 2010-01-27 08:15:08 +02:00
Dirk-Jan C. Binnema
2bdfb40faf * add unit test for mu_util_check_dir 2010-01-25 22:21:11 +02:00
Dirk-Jan C. Binnema
3b8f908fa6 * tests: add tests for mu_util_dir_expand and mu_util_guess_maildir 2010-01-25 13:27:02 +02:00
Dirk-Jan C. Binnema
afcd800a2e * set up (unit) test framework using gtester 2010-01-25 10:24:33 +02:00