Dirk-Jan C. Binnema
4920b56671
update to use fmt-based apis
...
Not complete, but a first big stab converting users of Mu::Error and
various g_warning & friends, format to the new libfmt-based APIs.
2023-07-05 23:10:13 +03:00
Dirk-Jan C. Binnema
c5f3894374
message: double-check part-type in Multipart
...
Avoid exception for some messages (unsigned messages with signed
attachment).
2023-07-05 20:39:47 +03:00
Dirk-Jan C. Binnema
026a19bcfa
message: allow extracting message parts to file
...
And add unit-test.
Fixes #2467
2023-04-06 07:19:26 +03:00
Dirk-Jan C. Binnema
fc88158357
message: update references() implementation
...
Clean up the implementation at bit, and filter out 'fake' message-ids,
such as the ones from protonmail.
Update documentation.
Add Mu::Message::thread_id().
This fixes #2312 .
2022-08-11 23:01:29 +03:00
Dirk-Jan C. Binnema
40669aae49
message/mime-object: add MimeObject::headers
...
To get a list of all header values.
2022-06-10 23:28:43 +03:00
Dirk-Jan C. Binnema
493549a896
mime-object: fix some pedantic compiler warnings
2022-05-18 00:14:01 +03:00
Dirk-Jan C. Binnema
eb22ec450c
message: Don't assume there's a sub-message
...
Also add unit-test.
Fixes: issue #2256 .
2022-05-12 19:59:10 +03:00
Dirk-Jan C. Binnema
4fc05261ce
message: implement rfc2047-encoding addresses
...
For address names with commas, quotes etc.
2022-05-06 22:17:53 +03:00
Dirk-Jan C. Binnema
263e122a13
contacts: expose contact type
...
Instead of the Field::Id, keep a specific Contact::Type so we can distinguish
Sender, ReplyTo as well.
Update dependents.
Some cleanup.
2022-05-05 01:38:25 +03:00
Dirk-Jan C. Binnema
17d2926cd0
message: improve support for decryption
...
Found a small leak:
https://github.com/jstedfast/gmime/pull/124/commits
2022-04-18 22:26:04 +03:00
Dirk-Jan C. Binnema
7c51bc68d4
option: rename to to_string_opt and to_string_view_opt
...
to_option_string -> to_string_opt
to_string_view -> to_string_view_opt
2022-04-18 22:04:33 +03:00
Dirk-Jan C. Binnema
de8dd048e8
message: add basic support for encrypted parts
2022-04-16 16:20:38 +03:00
Dirk-Jan C. Binnema
4e65cac631
message: mime-object: extend support for crypto
2022-04-16 16:20:38 +03:00
Dirk-Jan C. Binnema
ab3dd3de58
mime-object: add support for MimeMessagePart
2022-03-28 22:53:05 +03:00
Dirk-Jan C. Binnema
5a28cdfba4
message: some fixes for github ci build
2022-03-26 20:30:42 +02:00
Dirk-Jan C. Binnema
37988b5a26
message: update implementation
...
Add more of the Message class (and various helpers), which are to replace all
the `mu-msg-*` code.
Add more tests.
2022-03-26 17:19:10 +02:00