1
0
mirror of https://github.com/djcb/mu.git synced 2024-06-20 06:46:50 +02:00
Commit Graph

51 Commits

Author SHA1 Message Date
djcb
98ca74f9a8 * mu-msg-str.c: improve xapian-escaping, string-eating 2012-01-21 11:18:29 +02:00
djcb
15f7be5f1c * mu-str: add mu_str_utf8ify 2012-01-12 00:19:35 +02:00
djcb
c9f72ba3c7 * fix searching for strings with spaces (e.g. maildir:"sent items") 2011-11-24 00:12:29 +02:00
djcb
c6685a9d8c * mu-str.c: minor cleanup 2011-11-13 12:47:28 +02:00
djcb
92e543c803 * fix unit tests (i.e.. fix re-indexing messages bug) 2011-10-24 00:20:05 +03:00
Dirk-Jan C. Binnema
658b34d5b4 * mu-str: mu_str_xapian_ascii_escape_in_place: escape "/" as well 2011-09-30 08:37:34 +03:00
Dirk-Jan C. Binnema
628d154a2c * minor / cosmetic changes 2011-09-12 20:38:40 +03:00
Dirk-Jan C. Binnema
e95908cd93 * add mu-server (previous commit) functions for parsing commands 2011-08-29 23:36:10 +03:00
Dirk-Jan C. Binnema
a571a3f877 * MuMsgFlags => MuFlags 2011-08-11 22:44:23 +03:00
Dirk-Jan C. Binnema
424d012085 * mu-str.h make mu_str_escape_c_literal optionionally quote "" its result 2011-07-31 12:14:22 +03:00
Dirk-Jan C. Binnema
58227acda4 * mu-str.[ch]: remove date-related stuff (now in mu-date.[ch]) 2011-07-21 00:35:43 +03:00
Dirk-Jan C. Binnema
5695077514 * mu-msg-file.c, mu-str.[ch]: ensure we only return valid UTF8 (because GMime
returns invalid UTF8 from invalidly encoded messages in some cases)
2011-07-17 14:35:59 +03:00
Dirk-Jan C. Binnema
6c62a066c8 * make time & size checking a bit stricter, report errors to user 2011-07-16 12:50:17 +03:00
Dirk-Jan C. Binnema
f2de56d4ca Merge branch 'procmule' 2011-07-15 23:53:23 +03:00
Dirk-Jan C. Binnema
2b55256712 * mu-str.c: add some dummy bytes, so -Wstack-protector does not complain 2011-07-15 08:41:04 +03:00
Dirk-Jan C. Binnema
6e15e3a8e1 Merge branch 'master' into procmule 2011-07-10 20:11:35 +03:00
Dirk-Jan C. Binnema
86d7968bc2 * make mu_msg_to_list optionally strip leading/trailing whitespace 2011-07-06 02:12:59 +03:00
Dirk-Jan C. Binnema
0b7693d077 * guilify mu; first steps, and a new toy called 'muile' 2011-07-05 00:18:43 +03:00
Dirk-Jan C. Binnema
58fdfa9bc1 * let mu_str_subject_normalize work with static strings as well 2011-07-02 12:48:46 +03:00
Dirk-Jan C. Binnema
eb7b7e4ea0 * mu-str: fix bug in mu_str_date_parse_hdwmy 2011-06-30 23:46:21 +03:00
Dirk-Jan C. Binnema
16d6a7bd45 * mu-msg-str.c: fix memory error in date parsing 2011-06-27 21:31:34 +03:00
Dirk-Jan C. Binnema
35f7e2cd95 * mu-str: add simplistic mu_str_subject_normalize (WIP) 2011-06-18 18:43:09 +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
4629e26609 * mu-str.c: convert strftime output to utf8 if needed 2011-06-01 21:55:32 +03:00
Dirk-Jan C. Binnema
61f462c4ad * prepare for 0.9.6 2011-05-28 12:29:53 +03:00
Dirk-Jan C. Binnema
fe32cf84b1 * mu-str.[ch], mu-util.[ch]: better, simpler ANSI colors through some #defines 2011-05-26 23:32:23 +03:00
Dirk-Jan C. Binnema
24f98ce433 * mu-str.c: fix leak in mu_str_guess_nick 2011-05-25 08:12:58 +03:00
Dirk-Jan C. Binnema
d2fa1c3596 * mu-str.c: fix out-of-bounds issue with mu_str_ascii_xapian_escape_in_place 2011-05-24 23:15:20 +03:00
Dirk-Jan C. Binnema
2c24a43211 * cosmetics 2011-05-23 08:16:09 +03:00
Dirk-Jan C. Binnema
9454d31d50 * mu-str.c: clean up a bit 2011-05-22 13:45:10 +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
6f74e1a42e * mu-str.c: hack mu_str_ascii_xapian_escape_in_place a bit further to work
with filenames (with '.')
2011-05-21 16:08:47 +03:00
Dirk-Jan C. Binnema
84662ef5f5 * mu-msg-str: deal with size 0, and add add 'b' for byte in size: query params 2011-05-20 21:31:08 +03: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
6842c8c8a1 * mu_str_display_contact_s: split, so 'make cc10' is honored 2011-01-29 15:00:46 +02:00
Dirk-Jan C. Binnema
a2dbe365c6 * unbreak mu-str 2011-01-21 20:13:18 -05:00
Dirk-Jan C. Binnema
aab3226d90 * remove '-characters, () from contact displays 2011-01-21 20:11:11 -05:00
Dirk-Jan C. Binnema
679f56b047 * mu-str: minor 2011-01-11 23:22:00 +02:00
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
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
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
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
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
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
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
eb4e35f524 * improve date range parsing 2010-11-24 23:30:41 +02:00
Dirk-Jan C. Binnema
819fe8c93f * minor 2010-11-23 22:05:55 +02:00