Commit Graph

41 Commits

Author SHA1 Message Date
djcb ea2ffe23ae mu: fix quoting/unquoting parameters 2017-10-30 22:06:36 +02:00
djcb 509500a9d2 server: update query processing
fix quoting issues with mu4e
2017-10-27 18:43:33 +03:00
djcb 5e9cafea59 integrate new query parser 2017-10-25 23:50:17 +03:00
Sean 'Shaleh' Perry 588d227171 Simplify logic of mu_str_remove_ctrl_in_place. Add tests. 2017-06-24 13:26:10 +02:00
Piotr Trojanek 804a25d668 minor whitespace fixes 2015-09-22 09:09:39 +01:00
djcb 7eb244b3b0 mu: don't use __FUNCTION__, use __func__
__FUNCTION__ is deprecated and gives compilation warnings. __func__ is
standardized in c99.
2015-04-22 21:06:31 +03:00
djcb 455582401e date-parsing: don't lowercase date range strings
Allow them to be received unmolested in mu_date_parse_hdwmy
2015-03-22 10:24:14 +02:00
David C Sterratt f0510fbf35 Potential fix for issue #433: make check fails on Scientific Linux 6 2014-06-05 14:07:13 +01:00
Alex Bennée 29a16d7ae1 lib/mu-str.c: squash white space ctrl chars to spaces
When processing multiple lines for a subject line separated by TAB
characters we don't want to eliminate the control character totally but
replace it with a simple space. I've left the control handling as before
for non-white space characters.

Signed-off-by: Alex Bennée <alex@bennee.com>
2014-05-06 10:04:26 +01:00
djcb 3edf950fc2 * mu_str_asciify_in_place: fix test to decide whether to replace 2014-02-15 13:20:17 +02:00
djcb c36030a086 * handle message-ids a bit specially, update unit tests 2013-10-13 20:05:29 +03:00
djcb 3c3cd31607 * mu-str: fix a leak 2013-07-03 21:56:04 +03:00
djcb 6783e448aa * mu-str: add mu_str_remove_ctrl_in_place 2013-06-24 22:41:34 +03:00
djcb d57b109557 * mu-str: treat '..' in non-range fields differently 2013-06-01 06:07:29 -07:00
djcb b136ca0411 * try harder to match special strings 2013-05-29 07:33:17 -07:00
djcb e97ec2d51c * fix matching backslashes, add some tests 2013-05-27 05:49:43 -07:00
djcb 3dae623879 * add mu_str_replace 2013-05-26 11:16:02 -07:00
djcb 33e6bf0184 * mu-str: comment-out debug print 2013-05-23 07:47:39 +03:00
djcb 59f855b39b * lib: add mu_str_parse_arglist + unit tests 2013-05-20 05:14:35 +03:00
djcb a2eef4fa41 * handle invalid utf8; fixes #211 (hopefully) 2013-05-15 21:36:27 +03:00
djcb 24fa47dbef * cosmetics 2013-05-15 00:05:21 +03:00
djcb 50fc992ae2 * fix list parsing 2013-05-13 23:01:53 +03:00
djcb ba2a56a9dd * lib: fix list parsing 2013-05-13 00:26:14 +03:00
djcb d26f3c0bae * mu-str: simplify, cleanup string pre-processing functions 2013-05-13 00:01:49 +03:00
djcb 7d48ed53a7 * mu: (re)add special handling for '$' (fixes #193) 2013-04-28 21:54:25 +03:00
djcb f8719ba263 * mu: treat as \ as special, too 2013-04-18 20:31:28 +03:00
djcb a5001acff0 * mu: more 'fixing'/'massaging' of queries 2013-04-17 00:09:08 +03:00
djcb f19500a1eb * mu-str: fix potential leak 2013-04-07 16:04:20 +03:00
djcb 855e81db99 * update copyright years 2013-03-30 11:32:07 +02:00
djcb 58599ab8f9 * fix bug normalizing mixed (e.g. Latin etc. and Cyrillic) uf8 text 2012-12-09 13:33:45 +02:00
djcb ef1791ec7c * support single dates (shortcut for ranges) in queries (thanks to Eygene Ryabinkin) 2012-11-17 21:25:09 +02:00
djcb 412de6f4aa * mu: allow 'recip:' in queries as a shortcut for "to:foo OR cc:foo OR bcc:foo" 2012-10-25 12:28:55 +03:00
djcb a01196499f * mu-cfind: some cleanups / better help 2012-10-24 23:47:47 +03:00
djcb 7915cafdee * mu: add the 'mu stats' command (WIP) + some refactoring 2012-10-19 00:51:04 +03:00
djcb 48467099b5 * mu: add 'contact:' as an alias for to:/from:/cc:/bcc: 2012-10-17 18:35:23 +03:00
djcb cf2b81c009 * lib: centralize MAX_PATH stuff 2012-08-03 18:43:59 +03:00
djcb 3c59b97fc9 * mu-str.c: make mu_str_convert_to_utf8 slightly more tolerant 2012-08-01 17:03:55 +03:00
djcb b0fe9770e4 * mu-str.c: much improved mu_str_normalize_subject (to skip Re:, Fwd: etc. for sorting) 2012-06-15 18:21:21 +03:00
djcb 9133750d24 * mu-str.c: fix bug in check_for_field 2012-06-12 11:55:59 +03:00
djcb 423a1d7140 * mu4e: use GStringChunk* for string normalization / escaping
- this should fix the rare bug for some non-Latin unicode blocks,
  simplify some code, and possibly improve performance a bit
2012-06-12 00:11:14 +03:00
djcb 46f10cfde9 * refactoring: split src/ into mu/ and lib/ 2012-05-21 09:25:53 +03:00