Commit Graph

43 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema b55e191421 update for lib/utils split
Update sources with the new paths
2019-12-22 15:26:45 +02:00
Dirk-Jan C. Binnema 83d6484f86 lib/mu-store: rework implementation
* mu-store.h, mu-store-read.cc, mu-store-write.cc, mu-store-priv.hh have been reworked
   in mu-store.{cc,hh}, it the mix of c/c++ improved
 * update all the dependent modules
 * make it easier to upgrade an database in place (without user intervention)
 * remove the xbatch-size option
2019-07-30 08:51:04 +03:00
djcb 53c1b0a069 mu: make attachment test a bit looser
Consider all 'inline' text parts attachments too, unless they're
'text/plain' or something that looks like a signature.

It's a heuristic so we might get some new corner-cases.. let's see.
2018-12-30 18:46:43 +02:00
djcb aa70bf1920 Merge branch 'pr-1111'
Fix a bunch of conflicts, tests.
2018-08-18 10:29:40 +03:00
djcb aafeb82a6e mu: decode rfc-2047-encoded mailing lists
Fixes #1292.

Note: does require rebuilding the mu database (--rebuild).
2018-08-14 22:38:27 +03:00
djcb 93c6ff1f85 mu: protect against overly long keys
We got some errors when some of the key values exceeded the Xapian
maximum; in particular the message-id.

So make all the key-methods check, and truncate the message-id if
necessary.
2018-08-14 21:57:33 +03:00
Yuri D'Elia 61341486d2 Support gmime 3.0 2017-07-30 16:47:38 +02:00
djcb 902d081c88 mu: mark some more inline parts as attachments
Recognize some more inline parts as attachments.
2016-11-24 22:51:23 +02: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
Foivos S. Zakkak 3cfb5b0795 Add FIXME comment for lost "signed" flag 2015-02-16 02:12:16 +02:00
djcb edfdef44a4 index: improve error message when file does not seem to be an email 2013-10-13 19:58:25 +03:00
djcb b7324d5af6 * cleanup: drop gmime-2.4 support 2013-07-21 14:44:44 +03:00
djcb 3eb748737c * mu-msg-file: set the MU_FLAG_LIST flag, if the message looks like an ML-message 2013-07-03 21:55:17 +03:00
djcb 97909566df * mu-contacts, mu-msg-file: better deal with contacts with control chars 2013-06-24 22:42:18 +03:00
djcb f787f3b9ee * lib: cleanup header fields a bit more; fixes #209 2013-05-15 00:08:38 +03:00
djcb 3dc98724b3 * mu: provide fake-msgids for messages without; this fixes the problem where e.g. draft messages
were not visible when using --include-related
2013-04-09 21:20:25 +03:00
djcb 21a216acd2 * cosmetic 2013-04-07 16:05:10 +03:00
djcb 855e81db99 * update copyright years 2013-03-30 11:32:07 +02:00
djcb e387311c72 * mu-msg-file: guess 'mailing list' for feed2imap messages 2012-12-26 12:48:32 +02:00
djcb 19a0c1c478 * mu-msg, mu-msg-file: update doc for get_references a bit 2012-12-25 16:44:26 +02:00
djcb 4f37e979e1 * some small improvements for the mailing list support 2012-12-22 21:57:49 +02:00
djcb d47a687a4d * lib/: add support for getting mailing lists 2012-12-20 23:35:53 +02:00
djcb 1872d210c9 * add support for searching the mailing list of a message 2012-12-17 22:24:19 +02:00
djcb 11ecc65109 * update (C) years 2012-10-24 11:42:57 +03:00
djcb 0b32a63537 * guile: fix getting message bodies 2012-09-17 11:13:37 +03:00
djcb cd0589b1b3 * lib: consider more things to be attachments 2012-09-08 12:46:55 +03:00
djcb 9d6ef76f5f * crypto: improve signature checking code 2012-09-01 20:03:48 +03:00
djcb 3823dd5a6c * mu-msg-file: don't use g_clear_object, it requires glib 2.28 2012-08-11 11:55:06 +03:00
djcb 4fa0c57d29 * mu-msg-file.c: don't try to over-optimize charset decoding; it broke iso-2022-jp 2012-08-10 17:13:05 +03:00
djcb 96bcf42277 * lib: get_tags: support X-Label, X-Keywords and Keywords 2012-08-10 10:07:35 +03:00
djcb 51fe7fcae8 * lib: refactor attachment checking 2012-08-09 11:45:04 +03:00
djcb 6d91589791 * lib: fix initialization in get_tags 2012-08-09 10:07:23 +03:00
djcb cb17e22d48 * lib/tests: support X-Label and X-Keywords, update unit test 2012-08-09 10:01:06 +03:00
djcb 86bf7b7165 * lib: cleanup mu_msg_get_body_(html|text) (WIP) 2012-08-09 09:38:22 +03:00
djcb c3391b3929 * lib: cleanups: remove mu-msg-cache (WIP) 2012-08-08 19:13:59 +03:00
djcb a91fa644d5 * lib: correctly handle embedded text parts 2012-08-07 11:43:54 +03:00
djcb dc211648a8 * mu-msg-file: don't try to decrypt when this is not desirable 2012-08-05 12:28:47 +03:00
djcb cf2b81c009 * lib: centralize MAX_PATH stuff 2012-08-03 18:43:59 +03:00
djcb 8d517021bb * mu-msg-file: cleanup message path (realpath) 2012-08-01 23:21:59 +03:00
djcb 6a7562422f * MuMsgPart refactoring / cleanups 2012-08-01 10:45:03 +03:00
djcb 8432156765 * crypto: implement automagic decryption when so requested
(mainly by adding some smartness to various part_foreach functions, adding
  mu_msg_(get|set)_auto_decrypt to mark a message for auto-decryption)
2012-07-27 18:04:17 +03:00
djcb 84682bfe2c * mu-msg-view: better detection of signed/encrypted parts 2012-07-24 23:38:57 +03:00
djcb 46f10cfde9 * refactoring: split src/ into mu/ and lib/ 2012-05-21 09:25:53 +03:00