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

99 Commits

Author SHA1 Message Date
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
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