Commit Graph

605 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema 92108c0b66 * cosmetic 2011-01-06 17:32:42 +02:00
Dirk-Jan C. Binnema c712267c0f * fix json, sexp output 2011-01-06 16:55:43 +02:00
Dirk-Jan C. Binnema f6de417117 * add warning for using --xquery 2011-01-06 16:34:21 +02:00
Dirk-Jan C. Binnema 974f6556fc * mu-util: make warning a bit more user-friendly 2011-01-06 16:22:11 +02:00
Dirk-Jan C. Binnema 9dd93ab668 * mu-cmd-find: some refactoring to pass line33 2011-01-06 16:21:32 +02:00
Dirk-Jan C. Binnema c5b3059442 * add searching for message size ranges 2011-01-06 16:21:09 +02:00
Dirk-Jan C. Binnema f8af665151 * mu-output.c, mu-str.[ch]: fix escaping for JSON, sexps (add mu_str_escape_c_literal) 2011-01-06 13:55:16 +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 d41ae5dfd5 * mu-msg: cosmetic 2011-01-06 13:15:01 +02:00
Dirk-Jan C. Binnema 071b230e60 * mu-cmd.c: fix mu view 2011-01-06 13:14:42 +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 5487989b99 * fix display (iter) of message size 2011-01-06 00:09:26 +02:00
Dirk-Jan C. Binnema 535f1c78fa * initial sexp output support (WIP) 2011-01-05 23:37:53 +02:00
Dirk-Jan C. Binnema 3ab2cd11a9 * initial JSON output support (WIP) 2011-01-05 23:22:41 +02:00
Dirk-Jan C. Binnema 4409b565dc * start of XML output support (WIP) 2011-01-05 22:46:10 +02:00
Dirk-Jan C. Binnema 2303bc4f59 * fix for the removal of mu-util-db.h 2011-01-05 20:45:31 +02:00
Dirk-Jan C. Binnema aa22e5e90d * some further cleanups 2011-01-05 20:38:33 +02:00
Dirk-Jan C. Binnema 6539ae4bd7 * initial plumbing and some documentation for xml/json/sexp output through
--format= parameter.

  also, add --format=links, --format=xquery
2011-01-05 20:35:50 +02:00
Dirk-Jan C. Binnema 56f1664d8c * some further cleanups, add mu-output.h 2011-01-05 00:21:43 +02:00
Dirk-Jan C. Binnema 516caccf10 * fix some small errors, add missing file 2011-01-04 23:52:16 +02:00
Dirk-Jan C. Binnema ce5df2d6e5 * some further cleanups / refactoring 2011-01-04 23:44:18 +02:00
Dirk-Jan C. Binnema f509fd20ec * remove some garbage files 2011-01-04 23:37:01 +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 49077bf7d1 * mu-runtime, mu-util: improve check for muhome dir 2011-01-02 18:45:16 +02:00
Dirk-Jan C. Binnema 091dedf954 * make option parsing specific for the mu command 2011-01-02 18:10:11 +02:00
Dirk-Jan C. Binnema 0101837c38 * mu-cmd-index.c: add a check for the --xbatchsize parameter 2011-01-02 18:09:30 +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 0b88f86e65 * mu-config.c: cosmetics 2011-01-02 14:59:03 +02:00
Dirk-Jan C. Binnema 1f240e55fe * mu-msg-iter: add some casting to prevent compiler warning 2010-12-18 10:44:27 +02:00
Dirk-Jan C. Binnema 6d2cc60a5e * Makefile.am/configure.ac: some changes to make Solaris a bit happier 2010-12-17 08:34:31 +02:00
Dirk-Jan C. Binnema 2950d29ca7 * mu-maildir: use GError, not g_warning 2010-12-17 08:33:48 +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 6820923119 * initialize variable in get_flags_str_s 2010-12-12 18:32:15 +02:00
Dirk-Jan C. Binnema 64fcbe7603 * mu-msg-file: cosmetics 2010-12-11 13:53:50 +02:00
Dirk-Jan C. Binnema 0565587dda * mu-runtime: use mu_util_init_system, some cosmetics 2010-12-11 13:53:20 +02:00
Dirk-Jan C. Binnema d602ad1f47 * mu-error.h: add some error codes 2010-12-11 13:52:36 +02:00
Dirk-Jan C. Binnema d14727c7a8 * dont't require direntry->d_type; this should help the Solaris build.
also, some cleanups
2010-12-11 13:52:03 +02:00
Dirk-Jan C. Binnema c0e50f8d91 * test-mu-str.c: cosmetics 2010-12-07 23:20:19 +02:00
Dirk-Jan C. Binnema 0131b9bd5f * mu-util.h: fix -pedantic warning (variadic macro) 2010-12-07 23:19:45 +02:00
Dirk-Jan C. Binnema 39d71b8e3b * use mu_str_ascii_xapian_escape instead of local version; and non-in-place version 2010-12-07 23:19:13 +02:00
Dirk-Jan C. Binnema 4babb4d036 * mu-msg.c: use mu-msg-file 2010-12-07 23:17:42 +02:00
Dirk-Jan C. Binnema b7e3786af7 * mu-config.c: cosmetics 2010-12-07 23:17:05 +02:00
Dirk-Jan C. Binnema 373973d813 * src/Makefile.am: add mu-msg-file.[ch], -pedantic for c-builds 2010-12-07 23:16:32 +02:00
Dirk-Jan C. Binnema 372e245fc7 * mu_msg_flags_from_file => mu_msg_file_get_flags_from_path 2010-12-07 23:15:38 +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 9325828c77 * src/Makefile.am: put files in alphabetical order 2010-12-04 12:37:38 +02:00
Dirk-Jan C. Binnema 13b1e87cc4 * mu-str-normalize.c: add note about alternative implementation 2010-12-03 20:53:25 +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 ba2918ca41 * unify error printing a bit (starting with lowercase) 2010-11-30 22:20:27 +02:00
Dirk-Jan C. Binnema 2b393ed7c5 * make error messages more consistent 2010-11-30 09:02:29 +02:00
Dirk-Jan C. Binnema 340f2141c4 * cosmetic 2010-11-30 08:33:15 +02:00
Dirk-Jan C. Binnema 61bc73f071 * <many>: use some gcc attributes (if applicable) for optimization 2010-11-30 08:32:59 +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 c6dadad978 * mu-str-normalize.c: combine separate function for downcse / non-downcase
cases into one.
2010-11-29 21:19:45 +02:00
Dirk-Jan C. Binnema d573c57485 * mu-msg-fields.[ch]: add info whether the field should be normalized/escaped 2010-11-29 21:18:37 +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 9916bb3ecc * mu-msg, mu-runtime: make g_mime_init explicit, mu-runtime can do it. 2010-11-27 16:06:55 +02:00
Dirk-Jan C. Binnema 513fe9ef3a * mu-str.h: add note about unicode blocks supported for mu_str_normalize ('Latin-1 Supplement' and 'Latin Extended-A') 2010-11-27 15:06:57 +02:00
Dirk-Jan C. Binnema e0d8d1fcdc * cosmetics 2010-11-27 14:56:25 +02:00
Dirk-Jan C. Binnema 5341e8d4a8 * mu-msg.c: refactor to make functions respect 33-lines limit and use GMIME_ENABLE_RFC2047_WORKAROUNDS 2010-11-27 14:55:25 +02:00
Dirk-Jan C. Binnema c5c51f3798 * mu-index.c: refactor to make functions respect 33-lines limit 2010-11-27 14:54:19 +02:00
Dirk-Jan C. Binnema b200b63a55 * mu-cmd-view.c: refactor to make functions respect 33-lines limit 2010-11-27 14:53:56 +02:00
Dirk-Jan C. Binnema dfeb0f7736 * update tests for GError-changes 2010-11-25 21:49:44 +02:00
Dirk-Jan C. Binnema e22149fa46 * add some GErrors 2010-11-25 21:49:25 +02:00
Dirk-Jan C. Binnema eb4e35f524 * improve date range parsing 2010-11-24 23:30:41 +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 f59ac88118 * mug.c: show error dialogs for errors; focus query when there was a parse error 2010-11-24 09:03:06 +02:00
Dirk-Jan C. Binnema e5089c06a3 * mu-cmd-find.c: update for GErrors in mu_query; fix uninit'd var problem 2010-11-24 00:48:28 +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 21c01f156d * fix sorting, some small cleanups 2010-11-23 23:52:37 +02:00
Dirk-Jan C. Binnema e823b535b1 * mu-query.cc: simplify date searching a bit 2010-11-23 22:06:57 +02:00
Dirk-Jan C. Binnema d0e9f315a8 * minor 2010-11-23 22:06:17 +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 89b85cf7f7 * mu-store.cc, mu-query.cc: improved date-range matching 2010-11-23 00:33:15 +02:00
Dirk-Jan C. Binnema e141908b7c * cosmetics 2010-11-22 21:44:54 +02:00
Dirk-Jan C. Binnema e0cada86d6 * add date-range searches using date:/d: 2010-11-21 18:12:01 +02:00
Dirk-Jan C. Binnema 4a4a2e39d5 * mu-msg.c: improvement for prio 2010-11-21 15:44:23 +02:00
Dirk-Jan C. Binnema 3c0cc47d8b * mu-msg-str.c: minor 2010-11-21 15:43:34 +02:00
Dirk-Jan C. Binnema 04305eadaa * mu-msg-prio: some coding updates 2010-11-21 15:43:11 +02:00
Dirk-Jan C. Binnema 29ed5fbcf3 * make prio: fields now also searchable 2010-11-21 15:42:53 +02:00
Dirk-Jan C. Binnema 79395b11ac * mu-msg-flags.[ch]: minor 2010-11-21 15:42:08 +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 38f39d846e * mu-output-plain.c: update for prio stuff refactoring 2010-11-21 13:43:15 +02:00
Dirk-Jan C. Binnema 0bada3350f * mu-msg-str.c: cosmetics 2010-11-21 13:42:28 +02:00
Dirk-Jan C. Binnema e7d453774c * mu-msg-str.[ch]: remove functionality which is now in mu-msg-prio.[ch] 2010-11-21 13:41:38 +02:00
Dirk-Jan C. Binnema 783d5e4121 * cosmetics 2010-11-21 13:41:01 +02:00
Dirk-Jan C. Binnema e9d6540b1f * mu-msg-flags.[ch]: minor 2010-11-21 13:39:43 +02:00
Dirk-Jan C. Binnema 63f06e756e * mu-msg-fields.h: minor 2010-11-21 13:38:11 +02:00